From e1bd102b47d5f4df55723a9bc7876a442084a2aa Mon Sep 17 00:00:00 2001 From: Mister-Hope Date: Sun, 13 Oct 2024 03:07:31 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20walinejs?= =?UTF-8?q?/waline@ea3996e40d358c10e241b0520112e8cbdad49981=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/assets/main.bundle.js | 2 +- api/index.html | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/assets/main.bundle.js b/api/assets/main.bundle.js index dad1589625..ec95a44bbd 100644 --- a/api/assets/main.bundle.js +++ b/api/assets/main.bundle.js @@ -89,4 +89,4 @@ function print() { __p += __j.call(arguments, '') } */var r=function(n){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,h={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function A(C){return C instanceof c?new c(C.type,A(C.content),C.alias):Array.isArray(C)?C.map(A):C.replace(/&/g,"&").replace(/"+k.content+""};function y(A,C,_,I){A.lastIndex=C;var k=A.exec(_);if(k&&I&&k[1]){var R=k[1].length;k.index+=R,k[0]=k[0].slice(R)}return k}function s(A,C,_,I,k,R){for(var D in _)if(!(!_.hasOwnProperty(D)||!_[D])){var b=_[D];b=Array.isArray(b)?b:[b];for(var N=0;N=R.reach);Q+=H.value.length,H=H.next){var ne=H.value;if(C.length>A.length)return;if(!(ne instanceof c)){var se=1,j;if($){if(j=y(z,Q,A,G),!j||j.index>=A.length)break;var ke=j.index,me=j.index+j[0].length,Ee=Q;for(Ee+=H.value.length;ke>=Ee;)H=H.next,Ee+=H.value.length;if(Ee-=H.value.length,Q=Ee,H.value instanceof c)continue;for(var Te=H;Te!==C.tail&&(EeR.reach&&(R.reach=Dt);var pe=H.prev;Et&&(pe=p(C,pe,Et),Q+=Et.length),f(C,pe,se);var Pe=new c(D,W?a.tokenize(st,W):st,U,st);if(H=p(C,pe,Pe),At&&p(C,H,At),se>1){var Se={cause:D+","+N,reach:Dt};s(A,C,_,H.prev,Q,Se),R&&Se.reach>R.reach&&(R.reach=Se.reach)}}}}}}function m(){var A={value:null,prev:null,next:null},C={value:null,prev:A,next:null};A.next=C,this.head=A,this.tail=C,this.length=0}function p(A,C,_){var I=C.next,k={value:_,prev:C,next:I};return C.next=k,I.prev=k,A.length++,k}function f(A,C,_){for(var I=C.next,k=0;k<_&&I!==A.tail;k++)I=I.next;C.next=I,I.prev=C,A.length-=k}function E(A){for(var C=[],_=A.head.next;_!==A.tail;)C.push(_.value),_=_.next;return C}if(!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(A){var C=JSON.parse(A.data),_=C.language,I=C.code,k=C.immediateClose;n.postMessage(a.highlight(I,a.languages[_],_)),k&&n.close()},!1)),a;var v=a.util.currentScript();v&&(a.filename=v.src,v.hasAttribute("data-manual")&&(a.manual=!0));function S(){a.manual||a.highlightAll()}if(!a.manual){var T=document.readyState;T==="loading"||T==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",S):window.requestAnimationFrame?window.requestAnimationFrame(S):window.setTimeout(S,16)}return a}(u);w.exports&&(w.exports=r),typeof i.g!="undefined"&&(i.g.Prism=r),r.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(l,d){var h={};h["language-"+d]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[d]},h.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:h}};a["language-"+d]={pattern:/[\s\S]+/,inside:r.languages[d]};var c={};c[l]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return l}),"i"),lookbehind:!0,greedy:!0,inside:a},r.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,l){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[l,"language-"+l],inside:r.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(n){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+l.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var d=n.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading\u2026",l=function(v,S){return"\u2716 Error "+v+" while fetching file: "+S},d="\u2716 Error: File does not exist or is empty",h={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},a="data-src-status",c="loading",y="loaded",s="failed",m="pre[data-src]:not(["+a+'="'+y+'"]):not(['+a+'="'+c+'"])';function p(v,S,T){var A=new XMLHttpRequest;A.open("GET",v,!0),A.onreadystatechange=function(){A.readyState==4&&(A.status<400&&A.responseText?S(A.responseText):A.status>=400?T(l(A.status,A.statusText)):T(d))},A.send(null)}function f(v){var S=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(S){var T=Number(S[1]),A=S[2],C=S[3];return A?C?[T,Number(C)]:[T,void 0]:[T,T]}}r.hooks.add("before-highlightall",function(v){v.selector+=", "+m}),r.hooks.add("before-sanity-check",function(v){var S=v.element;if(S.matches(m)){v.code="",S.setAttribute(a,c);var T=S.appendChild(document.createElement("CODE"));T.textContent=n;var A=S.getAttribute("data-src"),C=v.language;if(C==="none"){var _=(/\.(\w+)$/.exec(A)||[,"none"])[1];C=h[_]||_}r.util.setLanguage(T,C),r.util.setLanguage(S,C);var I=r.plugins.autoloader;I&&I.loadLanguages(C),p(A,function(k){S.setAttribute(a,y);var R=f(S.getAttribute("data-range"));if(R){var D=k.split(/\r\n?|\n/g),b=R[0],N=R[1]==null?D.length:R[1];b<0&&(b+=D.length),b=Math.max(0,Math.min(b-1,D.length)),N<0&&(N+=D.length),N=Math.max(0,Math.min(N,D.length)),k=D.slice(b,N).join(` `),S.hasAttribute("data-start")||S.setAttribute("data-start",String(b+1))}T.textContent=k,r.highlightElement(T)},function(k){S.setAttribute(a,s),T.textContent=k})}}),r.plugins.fileHighlight={highlight:function(S){for(var T=(S||document).querySelectorAll(m),A=0,C;C=T[A++];)r.highlightElement(C)}};var E=!1;r.fileHighlight=function(){E||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),E=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()},3662:(w,g,i)=>{const u=Symbol("SemVer ANY");class r{static get ANY(){return u}constructor(m,p){if(p=n(p),m instanceof r){if(m.loose===!!p.loose)return m;m=m.value}m=m.trim().split(/\s+/).join(" "),a("comparator",m,p),this.options=p,this.loose=!!p.loose,this.parse(m),this.semver===u?this.value="":this.value=this.operator+this.semver.version,a("comp",this)}parse(m){const p=this.options.loose?l[d.COMPARATORLOOSE]:l[d.COMPARATOR],f=m.match(p);if(!f)throw new TypeError(`Invalid comparator: ${m}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new c(f[2],this.options.loose):this.semver=u}toString(){return this.value}test(m){if(a("Comparator.test",m,this.options.loose),this.semver===u||m===u)return!0;if(typeof m=="string")try{m=new c(m,this.options)}catch(p){return!1}return h(m,this.operator,this.semver,this.options)}intersects(m,p){if(!(m instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new y(m.value,p).test(this.value):m.operator===""?m.value===""?!0:new y(this.value,p).test(m.semver):(p=n(p),p.includePrerelease&&(this.value==="<0.0.0-0"||m.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||m.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&m.operator.startsWith(">")||this.operator.startsWith("<")&&m.operator.startsWith("<")||this.semver.version===m.semver.version&&this.operator.includes("=")&&m.operator.includes("=")||h(this.semver,"<",m.semver,p)&&this.operator.startsWith(">")&&m.operator.startsWith("<")||h(this.semver,">",m.semver,p)&&this.operator.startsWith("<")&&m.operator.startsWith(">")))}}w.exports=r;const n=i(6305),{safeRe:l,t:d}=i(3532),h=i(7825),a=i(6742),c=i(3642),y=i(3393)},3393:(w,g,i)=>{const u=/\s+/g;class r{constructor(M,z){if(z=d(z),M instanceof r)return M.loose===!!z.loose&&M.includePrerelease===!!z.includePrerelease?M:new r(M.raw,z);if(M instanceof h)return this.raw=M.value,this.set=[[M]],this.formatted=void 0,this;if(this.options=z,this.loose=!!z.loose,this.includePrerelease=!!z.includePrerelease,this.raw=M.trim().replace(u," "),this.set=this.raw.split("||").map(H=>this.parseRange(H.trim())).filter(H=>H.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const H=this.set[0];if(this.set=this.set.filter(Q=>!S(Q[0])),this.set.length===0)this.set=[H];else if(this.set.length>1){for(const Q of this.set)if(Q.length===1&&T(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let M=0;M0&&(this.formatted+="||");const z=this.set[M];for(let H=0;H0&&(this.formatted+=" "),this.formatted+=z[H].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(M){const H=((this.options.includePrerelease&&E)|(this.options.loose&&v))+":"+M,Q=l.get(H);if(Q)return Q;const ne=this.options.loose,se=ne?y[s.HYPHENRANGELOOSE]:y[s.HYPHENRANGE];M=M.replace(se,G(this.options.includePrerelease)),a("hyphen replace",M),M=M.replace(y[s.COMPARATORTRIM],m),a("comparator trim",M),M=M.replace(y[s.TILDETRIM],p),a("tilde trim",M),M=M.replace(y[s.CARETTRIM],f),a("caret trim",M);let j=M.split(" ").map(ke=>C(ke,this.options)).join(" ").split(/\s+/).map(ke=>W(ke,this.options));ne&&(j=j.filter(ke=>(a("loose invalid filter",ke,this.options),!!ke.match(y[s.COMPARATORLOOSE])))),a("range list",j);const me=new Map,Ee=j.map(ke=>new h(ke,this.options));for(const ke of Ee){if(S(ke))return[ke];me.set(ke.value,ke)}me.size>1&&me.has("")&&me.delete("");const Te=[...me.values()];return l.set(H,Te),Te}intersects(M,z){if(!(M instanceof r))throw new TypeError("a Range is required");return this.set.some(H=>A(H,z)&&M.set.some(Q=>A(Q,z)&&H.every(ne=>Q.every(se=>ne.intersects(se,z)))))}test(M){if(!M)return!1;if(typeof M=="string")try{M=new c(M,this.options)}catch(z){return!1}for(let z=0;zU.value==="<0.0.0-0",T=U=>U.value==="",A=(U,M)=>{let z=!0;const H=U.slice();let Q=H.pop();for(;z&&H.length;)z=H.every(ne=>Q.intersects(ne,M)),Q=H.pop();return z},C=(U,M)=>(a("comp",U,M),U=R(U,M),a("caret",U),U=I(U,M),a("tildes",U),U=b(U,M),a("xrange",U),U=F(U,M),a("stars",U),U),_=U=>!U||U.toLowerCase()==="x"||U==="*",I=(U,M)=>U.trim().split(/\s+/).map(z=>k(z,M)).join(" "),k=(U,M)=>{const z=M.loose?y[s.TILDELOOSE]:y[s.TILDE];return U.replace(z,(H,Q,ne,se,j)=>{a("tilde",U,H,Q,ne,se,j);let me;return _(Q)?me="":_(ne)?me=`>=${Q}.0.0 <${+Q+1}.0.0-0`:_(se)?me=`>=${Q}.${ne}.0 <${Q}.${+ne+1}.0-0`:j?(a("replaceTilde pr",j),me=`>=${Q}.${ne}.${se}-${j} <${Q}.${+ne+1}.0-0`):me=`>=${Q}.${ne}.${se} <${Q}.${+ne+1}.0-0`,a("tilde return",me),me})},R=(U,M)=>U.trim().split(/\s+/).map(z=>D(z,M)).join(" "),D=(U,M)=>{a("caret",U,M);const z=M.loose?y[s.CARETLOOSE]:y[s.CARET],H=M.includePrerelease?"-0":"";return U.replace(z,(Q,ne,se,j,me)=>{a("caret",U,Q,ne,se,j,me);let Ee;return _(ne)?Ee="":_(se)?Ee=`>=${ne}.0.0${H} <${+ne+1}.0.0-0`:_(j)?ne==="0"?Ee=`>=${ne}.${se}.0${H} <${ne}.${+se+1}.0-0`:Ee=`>=${ne}.${se}.0${H} <${+ne+1}.0.0-0`:me?(a("replaceCaret pr",me),ne==="0"?se==="0"?Ee=`>=${ne}.${se}.${j}-${me} <${ne}.${se}.${+j+1}-0`:Ee=`>=${ne}.${se}.${j}-${me} <${ne}.${+se+1}.0-0`:Ee=`>=${ne}.${se}.${j}-${me} <${+ne+1}.0.0-0`):(a("no pr"),ne==="0"?se==="0"?Ee=`>=${ne}.${se}.${j}${H} <${ne}.${se}.${+j+1}-0`:Ee=`>=${ne}.${se}.${j}${H} <${ne}.${+se+1}.0-0`:Ee=`>=${ne}.${se}.${j} <${+ne+1}.0.0-0`),a("caret return",Ee),Ee})},b=(U,M)=>(a("replaceXRanges",U,M),U.split(/\s+/).map(z=>N(z,M)).join(" ")),N=(U,M)=>{U=U.trim();const z=M.loose?y[s.XRANGELOOSE]:y[s.XRANGE];return U.replace(z,(H,Q,ne,se,j,me)=>{a("xRange",U,H,Q,ne,se,j,me);const Ee=_(ne),Te=Ee||_(se),ke=Te||_(j),st=ke;return Q==="="&&st&&(Q=""),me=M.includePrerelease?"-0":"",Ee?Q===">"||Q==="<"?H="<0.0.0-0":H="*":Q&&st?(Te&&(se=0),j=0,Q===">"?(Q=">=",Te?(ne=+ne+1,se=0,j=0):(se=+se+1,j=0)):Q==="<="&&(Q="<",Te?ne=+ne+1:se=+se+1),Q==="<"&&(me="-0"),H=`${Q+ne}.${se}.${j}${me}`):Te?H=`>=${ne}.0.0${me} <${+ne+1}.0.0-0`:ke&&(H=`>=${ne}.${se}.0${me} <${ne}.${+se+1}.0-0`),a("xRange return",H),H})},F=(U,M)=>(a("replaceStars",U,M),U.trim().replace(y[s.STAR],"")),W=(U,M)=>(a("replaceGTE0",U,M),U.trim().replace(y[M.includePrerelease?s.GTE0PRE:s.GTE0],"")),G=U=>(M,z,H,Q,ne,se,j,me,Ee,Te,ke,st)=>(_(H)?z="":_(Q)?z=`>=${H}.0.0${U?"-0":""}`:_(ne)?z=`>=${H}.${Q}.0${U?"-0":""}`:se?z=`>=${z}`:z=`>=${z}${U?"-0":""}`,_(Ee)?me="":_(Te)?me=`<${+Ee+1}.0.0-0`:_(ke)?me=`<${Ee}.${+Te+1}.0-0`:st?me=`<=${Ee}.${Te}.${ke}-${st}`:U?me=`<${Ee}.${Te}.${+ke+1}-0`:me=`<=${me}`,`${z} ${me}`.trim()),$=(U,M,z)=>{for(let H=0;H0){const Q=U[H].semver;if(Q.major===M.major&&Q.minor===M.minor&&Q.patch===M.patch)return!0}return!1}return!0}},3642:(w,g,i)=>{const u=i(6742),{MAX_LENGTH:r,MAX_SAFE_INTEGER:n}=i(5120),{safeRe:l,t:d}=i(3532),h=i(6305),{compareIdentifiers:a}=i(6001);class c{constructor(s,m){if(m=h(m),s instanceof c){if(s.loose===!!m.loose&&s.includePrerelease===!!m.includePrerelease)return s;s=s.version}else if(typeof s!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>r)throw new TypeError(`version is longer than ${r} characters`);u("SemVer",s,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;const p=s.trim().match(m.loose?l[d.LOOSE]:l[d.FULL]);if(!p)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+p[1],this.minor=+p[2],this.patch=+p[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");p[4]?this.prerelease=p[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const E=+f;if(E>=0&&E=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(m===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(m){let E=[m,f];p===!1&&(E=[m]),a(this.prerelease[0],m)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${s}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}w.exports=c},6788:(w,g,i)=>{const u=i(5086),r=(n,l)=>{const d=u(n.trim().replace(/^[=v]+/,""),l);return d?d.version:null};w.exports=r},7825:(w,g,i)=>{const u=i(3251),r=i(4081),n=i(5330),l=i(603),d=i(8517),h=i(7238),a=(c,y,s,m)=>{switch(y){case"===":return typeof c=="object"&&(c=c.version),typeof s=="object"&&(s=s.version),c===s;case"!==":return typeof c=="object"&&(c=c.version),typeof s=="object"&&(s=s.version),c!==s;case"":case"=":case"==":return u(c,s,m);case"!=":return r(c,s,m);case">":return n(c,s,m);case">=":return l(c,s,m);case"<":return d(c,s,m);case"<=":return h(c,s,m);default:throw new TypeError(`Invalid operator: ${y}`)}};w.exports=a},28:(w,g,i)=>{const u=i(3642),r=i(5086),{safeRe:n,t:l}=i(3532),d=(h,a)=>{if(h instanceof u)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;a=a||{};let c=null;if(!a.rtl)c=h.match(a.includePrerelease?n[l.COERCEFULL]:n[l.COERCE]);else{const E=a.includePrerelease?n[l.COERCERTLFULL]:n[l.COERCERTL];let v;for(;(v=E.exec(h))&&(!c||c.index+c[0].length!==h.length);)(!c||v.index+v[0].length!==c.index+c[0].length)&&(c=v),E.lastIndex=v.index+v[1].length+v[2].length;E.lastIndex=-1}if(c===null)return null;const y=c[2],s=c[3]||"0",m=c[4]||"0",p=a.includePrerelease&&c[5]?`-${c[5]}`:"",f=a.includePrerelease&&c[6]?`+${c[6]}`:"";return r(`${y}.${s}.${m}${p}${f}`,a)};w.exports=d},1643:(w,g,i)=>{const u=i(3642),r=(n,l,d)=>{const h=new u(n,d),a=new u(l,d);return h.compare(a)||h.compareBuild(a)};w.exports=r},5305:(w,g,i)=>{const u=i(1210),r=(n,l)=>u(n,l,!0);w.exports=r},1210:(w,g,i)=>{const u=i(3642),r=(n,l,d)=>new u(n,d).compare(new u(l,d));w.exports=r},3266:(w,g,i)=>{const u=i(5086),r=(n,l)=>{const d=u(n,null,!0),h=u(l,null,!0),a=d.compare(h);if(a===0)return null;const c=a>0,y=c?d:h,s=c?h:d,m=!!y.prerelease.length;if(!!s.prerelease.length&&!m)return!s.patch&&!s.minor?"major":y.patch?"patch":y.minor?"minor":"major";const f=m?"pre":"";return d.major!==h.major?f+"major":d.minor!==h.minor?f+"minor":d.patch!==h.patch?f+"patch":"prerelease"};w.exports=r},3251:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)===0;w.exports=r},5330:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)>0;w.exports=r},603:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)>=0;w.exports=r},1205:(w,g,i)=>{const u=i(3642),r=(n,l,d,h,a)=>{typeof d=="string"&&(a=h,h=d,d=void 0);try{return new u(n instanceof u?n.version:n,d).inc(l,h,a).version}catch(c){return null}};w.exports=r},8517:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)<0;w.exports=r},7238:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)<=0;w.exports=r},1060:(w,g,i)=>{const u=i(3642),r=(n,l)=>new u(n,l).major;w.exports=r},9128:(w,g,i)=>{const u=i(3642),r=(n,l)=>new u(n,l).minor;w.exports=r},4081:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(n,l,d)!==0;w.exports=r},5086:(w,g,i)=>{const u=i(3642),r=(n,l,d=!1)=>{if(n instanceof u)return n;try{return new u(n,l)}catch(h){if(!d)return null;throw h}};w.exports=r},5439:(w,g,i)=>{const u=i(3642),r=(n,l)=>new u(n,l).patch;w.exports=r},3159:(w,g,i)=>{const u=i(5086),r=(n,l)=>{const d=u(n,l);return d&&d.prerelease.length?d.prerelease:null};w.exports=r},5500:(w,g,i)=>{const u=i(1210),r=(n,l,d)=>u(l,n,d);w.exports=r},435:(w,g,i)=>{const u=i(1643),r=(n,l)=>n.sort((d,h)=>u(h,d,l));w.exports=r},2676:(w,g,i)=>{const u=i(3393),r=(n,l,d)=>{try{l=new u(l,d)}catch(h){return!1}return l.test(n)};w.exports=r},7021:(w,g,i)=>{const u=i(1643),r=(n,l)=>n.sort((d,h)=>u(d,h,l));w.exports=r},7139:(w,g,i)=>{const u=i(5086),r=(n,l)=>{const d=u(n,l);return d?d.version:null};w.exports=r},8571:(w,g,i)=>{const u=i(3532),r=i(5120),n=i(3642),l=i(6001),d=i(5086),h=i(7139),a=i(6788),c=i(1205),y=i(3266),s=i(1060),m=i(9128),p=i(5439),f=i(3159),E=i(1210),v=i(5500),S=i(5305),T=i(1643),A=i(7021),C=i(435),_=i(5330),I=i(8517),k=i(3251),R=i(4081),D=i(603),b=i(7238),N=i(7825),F=i(28),W=i(3662),G=i(3393),$=i(2676),U=i(6617),M=i(5110),z=i(9412),H=i(6375),Q=i(6600),ne=i(8437),se=i(3237),j=i(5308),me=i(9974),Ee=i(7275),Te=i(3114);w.exports={parse:d,valid:h,clean:a,inc:c,diff:y,major:s,minor:m,patch:p,prerelease:f,compare:E,rcompare:v,compareLoose:S,compareBuild:T,sort:A,rsort:C,gt:_,lt:I,eq:k,neq:R,gte:D,lte:b,cmp:N,coerce:F,Comparator:W,Range:G,satisfies:$,toComparators:U,maxSatisfying:M,minSatisfying:z,minVersion:H,validRange:Q,outside:ne,gtr:se,ltr:j,intersects:me,simplifyRange:Ee,subset:Te,SemVer:n,re:u.re,src:u.src,tokens:u.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},5120:w=>{const g="2.0.0",u=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,n=256-6,l=["major","premajor","minor","preminor","patch","prepatch","prerelease"];w.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_SAFE_INTEGER:u,RELEASE_TYPES:l,SEMVER_SPEC_VERSION:g,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},6742:w=>{const g=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};w.exports=g},6001:w=>{const g=/^[0-9]+$/,i=(r,n)=>{const l=g.test(r),d=g.test(n);return l&&d&&(r=+r,n=+n),r===n?0:l&&!d?-1:d&&!l?1:ri(n,r);w.exports={compareIdentifiers:i,rcompareIdentifiers:u}},5136:w=>{class g{constructor(){this.max=1e3,this.map=new Map}get(u){const r=this.map.get(u);if(r!==void 0)return this.map.delete(u),this.map.set(u,r),r}delete(u){return this.map.delete(u)}set(u,r){if(!this.delete(u)&&r!==void 0){if(this.map.size>=this.max){const l=this.map.keys().next().value;this.delete(l)}this.map.set(u,r)}return this}}w.exports=g},6305:w=>{const g=Object.freeze({loose:!0}),i=Object.freeze({}),u=r=>r?typeof r!="object"?g:r:i;w.exports=u},3532:(w,g,i)=>{const{MAX_SAFE_COMPONENT_LENGTH:u,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:n}=i(5120),l=i(6742);g=w.exports={};const d=g.re=[],h=g.safeRe=[],a=g.src=[],c=g.t={};let y=0;const s="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",n],[s,r]],p=E=>{for(const[v,S]of m)E=E.split(`${v}*`).join(`${v}{0,${S}}`).split(`${v}+`).join(`${v}{1,${S}}`);return E},f=(E,v,S)=>{const T=p(v),A=y++;l(E,A,v),c[E]=A,a[A]=v,d[A]=new RegExp(v,S?"g":void 0),h[A]=new RegExp(T,S?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${s}*`),f("MAINVERSION",`(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})\\.(${a[c.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})\\.(${a[c.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${a[c.NUMERICIDENTIFIER]}|${a[c.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${a[c.NUMERICIDENTIFIERLOOSE]}|${a[c.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${a[c.PRERELEASEIDENTIFIER]}(?:\\.${a[c.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${a[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[c.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${s}+`),f("BUILD",`(?:\\+(${a[c.BUILDIDENTIFIER]}(?:\\.${a[c.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${a[c.MAINVERSION]}${a[c.PRERELEASE]}?${a[c.BUILD]}?`),f("FULL",`^${a[c.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${a[c.MAINVERSIONLOOSE]}${a[c.PRERELEASELOOSE]}?${a[c.BUILD]}?`),f("LOOSE",`^${a[c.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${a[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${a[c.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:\\.(${a[c.XRANGEIDENTIFIER]})(?:${a[c.PRERELEASE]})?${a[c.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[c.XRANGEIDENTIFIERLOOSE]})(?:${a[c.PRERELEASELOOSE]})?${a[c.BUILD]}?)?)?`),f("XRANGE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${a[c.GTLT]}\\s*${a[c.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${u}})(?:\\.(\\d{1,${u}}))?(?:\\.(\\d{1,${u}}))?`),f("COERCE",`${a[c.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",a[c.COERCEPLAIN]+`(?:${a[c.PRERELEASE]})?(?:${a[c.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",a[c.COERCE],!0),f("COERCERTLFULL",a[c.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${a[c.LONETILDE]}\\s+`,!0),g.tildeTrimReplace="$1~",f("TILDE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${a[c.LONETILDE]}${a[c.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${a[c.LONECARET]}\\s+`,!0),g.caretTrimReplace="$1^",f("CARET",`^${a[c.LONECARET]}${a[c.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${a[c.LONECARET]}${a[c.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${a[c.GTLT]}\\s*(${a[c.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${a[c.GTLT]}\\s*(${a[c.LOOSEPLAIN]}|${a[c.XRANGEPLAIN]})`,!0),g.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${a[c.XRANGEPLAIN]})\\s+-\\s+(${a[c.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${a[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[c.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},3237:(w,g,i)=>{const u=i(8437),r=(n,l,d)=>u(n,l,">",d);w.exports=r},9974:(w,g,i)=>{const u=i(3393),r=(n,l,d)=>(n=new u(n,d),l=new u(l,d),n.intersects(l,d));w.exports=r},5308:(w,g,i)=>{const u=i(8437),r=(n,l,d)=>u(n,l,"<",d);w.exports=r},5110:(w,g,i)=>{const u=i(3642),r=i(3393),n=(l,d,h)=>{let a=null,c=null,y=null;try{y=new r(d,h)}catch(s){return null}return l.forEach(s=>{y.test(s)&&(!a||c.compare(s)===-1)&&(a=s,c=new u(a,h))}),a};w.exports=n},9412:(w,g,i)=>{const u=i(3642),r=i(3393),n=(l,d,h)=>{let a=null,c=null,y=null;try{y=new r(d,h)}catch(s){return null}return l.forEach(s=>{y.test(s)&&(!a||c.compare(s)===1)&&(a=s,c=new u(a,h))}),a};w.exports=n},6375:(w,g,i)=>{const u=i(3642),r=i(3393),n=i(5330),l=(d,h)=>{d=new r(d,h);let a=new u("0.0.0");if(d.test(a)||(a=new u("0.0.0-0"),d.test(a)))return a;a=null;for(let c=0;c{const p=new u(m.semver.version);switch(m.operator){case">":p.prerelease.length===0?p.patch++:p.prerelease.push(0),p.raw=p.format();case"":case">=":(!s||n(p,s))&&(s=p);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${m.operator}`)}}),s&&(!a||n(a,s))&&(a=s)}return a&&d.test(a)?a:null};w.exports=l},8437:(w,g,i)=>{const u=i(3642),r=i(3662),{ANY:n}=r,l=i(3393),d=i(2676),h=i(5330),a=i(8517),c=i(7238),y=i(603),s=(m,p,f,E)=>{m=new u(m,E),p=new l(p,E);let v,S,T,A,C;switch(f){case">":v=h,S=c,T=a,A=">",C=">=";break;case"<":v=a,S=y,T=h,A="<",C="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(d(m,p,E))return!1;for(let _=0;_{D.semver===n&&(D=new r(">=0.0.0")),k=k||D,R=R||D,v(D.semver,k.semver,E)?k=D:T(D.semver,R.semver,E)&&(R=D)}),k.operator===A||k.operator===C||(!R.operator||R.operator===A)&&S(m,R.semver))return!1;if(R.operator===C&&T(m,R.semver))return!1}return!0};w.exports=s},7275:(w,g,i)=>{const u=i(2676),r=i(1210);w.exports=(n,l,d)=>{const h=[];let a=null,c=null;const y=n.sort((f,E)=>r(f,E,d));for(const f of y)u(f,l,d)?(c=f,a||(a=f)):(c&&h.push([a,c]),c=null,a=null);a&&h.push([a,null]);const s=[];for(const[f,E]of h)f===E?s.push(f):!E&&f===y[0]?s.push("*"):E?f===y[0]?s.push(`<=${E}`):s.push(`${f} - ${E}`):s.push(`>=${f}`);const m=s.join(" || "),p=typeof l.raw=="string"?l.raw:String(l);return m.length{const u=i(3393),r=i(3662),{ANY:n}=r,l=i(2676),d=i(1210),h=(p,f,E={})=>{if(p===f)return!0;p=new u(p,E),f=new u(f,E);let v=!1;e:for(const S of p.set){for(const T of f.set){const A=y(S,T,E);if(v=v||A!==null,A)continue e}if(v)return!1}return!0},a=[new r(">=0.0.0-0")],c=[new r(">=0.0.0")],y=(p,f,E)=>{if(p===f)return!0;if(p.length===1&&p[0].semver===n){if(f.length===1&&f[0].semver===n)return!0;E.includePrerelease?p=a:p=c}if(f.length===1&&f[0].semver===n){if(E.includePrerelease)return!0;f=c}const v=new Set;let S,T;for(const b of p)b.operator===">"||b.operator===">="?S=s(S,b,E):b.operator==="<"||b.operator==="<="?T=m(T,b,E):v.add(b.semver);if(v.size>1)return null;let A;if(S&&T){if(A=d(S.semver,T.semver,E),A>0)return null;if(A===0&&(S.operator!==">="||T.operator!=="<="))return null}for(const b of v){if(S&&!l(b,String(S),E)||T&&!l(b,String(T),E))return null;for(const N of f)if(!l(b,String(N),E))return!1;return!0}let C,_,I,k,R=T&&!E.includePrerelease&&T.semver.prerelease.length?T.semver:!1,D=S&&!E.includePrerelease&&S.semver.prerelease.length?S.semver:!1;R&&R.prerelease.length===1&&T.operator==="<"&&R.prerelease[0]===0&&(R=!1);for(const b of f){if(k=k||b.operator===">"||b.operator===">=",I=I||b.operator==="<"||b.operator==="<=",S){if(D&&b.semver.prerelease&&b.semver.prerelease.length&&b.semver.major===D.major&&b.semver.minor===D.minor&&b.semver.patch===D.patch&&(D=!1),b.operator===">"||b.operator===">="){if(C=s(S,b,E),C===b&&C!==S)return!1}else if(S.operator===">="&&!l(S.semver,String(b),E))return!1}if(T){if(R&&b.semver.prerelease&&b.semver.prerelease.length&&b.semver.major===R.major&&b.semver.minor===R.minor&&b.semver.patch===R.patch&&(R=!1),b.operator==="<"||b.operator==="<="){if(_=m(T,b,E),_===b&&_!==T)return!1}else if(T.operator==="<="&&!l(T.semver,String(b),E))return!1}if(!b.operator&&(T||S)&&A!==0)return!1}return!(S&&I&&!T&&A!==0||T&&k&&!S&&A!==0||D||R)},s=(p,f,E)=>{if(!p)return f;const v=d(p.semver,f.semver,E);return v>0?p:v<0||f.operator===">"&&p.operator===">="?f:p},m=(p,f,E)=>{if(!p)return f;const v=d(p.semver,f.semver,E);return v<0?p:v>0||f.operator==="<"&&p.operator==="<="?f:p};w.exports=h},6617:(w,g,i)=>{const u=i(3393),r=(n,l)=>new u(n,l).set.map(d=>d.map(h=>h.value).join(" ").trim().split(" "));w.exports=r},6600:(w,g,i)=>{const u=i(3393),r=(n,l)=>{try{return new u(n,l).range||"*"}catch(d){return null}};w.exports=r}},xs={};function rt(w){var g=xs[w];if(g!==void 0)return g.exports;var i=xs[w]={id:w,loaded:!1,exports:{}};return jo[w].call(i.exports,i,i.exports,rt),i.loaded=!0,i.exports}rt.n=w=>{var g=w&&w.__esModule?()=>w.default:()=>w;return rt.d(g,{a:g}),g},rt.d=(w,g)=>{for(var i in g)rt.o(g,i)&&!rt.o(w,i)&&Object.defineProperty(w,i,{enumerable:!0,get:g[i]})},rt.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(w){if(typeof window=="object")return window}}(),rt.o=(w,g)=>Object.prototype.hasOwnProperty.call(w,g),rt.nmd=w=>(w.paths=[],w.children||(w.children=[]),w);var ag={};(()=>{var tt;"use strict";var w=rt(3677),g=rt.n(w),i=rt(2935),u=rt(8571),r=rt.n(u),n=rt(4499),l=rt.n(n),d=rt(2902),h=rt(9144),a=rt(1310),c=rt(8978),y=rt(5172),s=rt(3870),m=rt.n(s),p=rt(8520),f=rt(8121),E=rt(8228),v=rt(3474),S=rt(5696),T=rt(4295),A=rt(1439),C=rt(6941);class _{hydrate(he,Re){const be=new URL(he,typeof window=="undefined"?"https://dummy.base":window.location.origin),Z={};be.pathname.split("/").forEach((ye,de)=>{if(ye.charAt(0)===":"){const ve=ye.slice(1);typeof Re[ve]!="undefined"&&(be.pathname=be.pathname.replace(ye,encodeURIComponent(Re[ve])),Z[ve]=Re[ve])}});for(const ye in Re)(typeof Z[ye]=="undefined"||be.searchParams.has(ye))&&be.searchParams.set(ye,Re[ye]);return be.toString()}}function I(){g()(".sample-request-send").off("click"),g()(".sample-request-send").on("click",function(Le){Le.preventDefault();const he=g()(this).parents("article"),Re=he.data("group"),be=he.data("name"),Z=he.data("version");b(Re,be,Z,g()(this).data("type"))}),g()(".sample-request-clear").off("click"),g()(".sample-request-clear").on("click",function(Le){Le.preventDefault();const he=g()(this).parents("article"),Re=he.data("group"),be=he.data("name"),Z=he.data("version");N(Re,be,Z)})}function k(Le){return Le.replace(/{(.+?)}/g,":$1")}function R(Le,he){const Re=Le.find(".sample-request-url").val(),be=new _,Z=k(Re);return be.hydrate(Z,he)}function D(Le){const he={};["header","query","body"].forEach(be=>{const Z={};try{Le.find(g()(`[data-family="${be}"]:visible`)).each((ye,de)=>{const ve=de.dataset.name;let Fe=de.value;if(de.type==="checkbox")if(de.checked)Fe="on";else return!0;if(!Fe&&!de.dataset.optional&&de.type!=="checkbox")return g()(de).addClass("border-danger"),!0;Z[ve]=Fe})}catch(ye){return}he[be]=Z});const Re=Le.find(g()('[data-family="body-json"]'));return Re.is(":visible")?(he.body=Re.val(),he.header["Content-Type"]="application/json"):he.header["Content-Type"]="multipart/form-data",he}function b(Le,he,Re,be){const Z=g()(`article[data-group="${Le}"][data-name="${he}"][data-version="${Re}"]`),ye=D(Z),de={};if(de.url=R(Z,ye.query),de.headers=ye.header,de.headers["Content-Type"]==="application/json")de.data=ye.body;else if(de.headers["Content-Type"]==="multipart/form-data"){const Ke=new FormData;for(const[He,Ve]of Object.entries(ye.body))Ke.append(He,Ve);de.data=Ke,de.processData=!1,delete de.headers["Content-Type"],de.contentType=!1}de.type=be,de.success=ve,de.error=Fe,g().ajax(de),Z.find(".sample-request-response").fadeTo(200,1),Z.find(".sample-request-response-json").html("Loading...");function ve(Ke,He,Ve){let et;try{et=JSON.parse(Ve.responseText),et=JSON.stringify(et,null,4)}catch(lt){et=Ve.responseText}Z.find(".sample-request-response-json").text(et),m().highlightAll()}function Fe(Ke,He,Ve){let et="Error "+Ke.status+": "+Ve,lt;try{lt=JSON.parse(Ke.responseText),lt=JSON.stringify(lt,null,4)}catch(gt){lt=Ke.responseText}lt&&(et+=` `+lt),Z.find(".sample-request-response").is(":visible")&&Z.find(".sample-request-response").fadeTo(1,.1),Z.find(".sample-request-response").fadeTo(250,1),Z.find(".sample-request-response-json").text(et),m().highlightAll()}}function N(Le,he,Re){const be=g()('article[data-group="'+Le+'"][data-name="'+he+'"][data-version="'+Re+'"]');be.find(".sample-request-response-json").html(""),be.find(".sample-request-response").hide(),be.find(".sample-request-input").each((ye,de)=>{de.value=de.placeholder!==de.dataset.name?de.placeholder:""});const Z=be.find(".sample-request-url");Z.val(Z.prop("defaultValue"))}const F={"Allowed values:":"Valors permesos:","Compare all with predecessor":"Comparar tot amb versi\xF3 anterior","compare changes to:":"comparar canvis amb:","compared to":"comparat amb","Default value:":"Valor per defecte:",Description:"Descripci\xF3",Field:"Camp",General:"General","Generated with":"Generat amb",Name:"Nom","No response values.":"Sense valors en la resposta.",optional:"opcional",Parameter:"Par\xE0metre","Permission:":"Permisos:",Response:"Resposta",Send:"Enviar","Send a Sample Request":"Enviar una petici\xF3 d'exemple","show up to version:":"mostrar versi\xF3:","Size range:":"Tamany de rang:","Toggle navigation":"Canvia la navegaci\xF3",Type:"Tipus",url:"url",Copy:"Copiar","Press Ctrl+C to copy":"Premeu Ctrl+C per copiar","copied!":"Copiat!"},W={"Allowed values:":"Povolen\xE9 hodnoty:","Compare all with predecessor":"Porovnat v\u0161e s p\u0159edchoz\xEDmi verzemi","compare changes to:":"porovnat zm\u011Bny s:","compared to":"porovnat s","Default value:":"V\xFDchoz\xED hodnota:",Description:"Popis",Field:"Pole",General:"Obecn\xE9","Generated with":"Vygenerov\xE1no pomoc\xED",Name:"N\xE1zev","No response values.":"Nebyly vr\xE1ceny \u017E\xE1dn\xE9 hodnoty.",optional:"voliteln\xE9",Parameter:"Parametr","Permission:":"Opr\xE1vn\u011Bn\xED:",Response:"Odpov\u011B\u010F",Send:"Odeslat","Send a Sample Request":"Odeslat uk\xE1zkov\xFD po\u017Eadavek","show up to version:":"zobrazit po verzi:","Size range:":"Rozsah velikosti:","Toggle navigation":"P\u0159epnout navigaci",Type:"Typ",url:"url",Copy:"Kop\xEDrovat","Press Ctrl+C to copy":"Stisknut\xEDm kombinace kl\xE1ves Ctrl+C zkop\xEDrujte","copied!":"Zkop\xEDrovan\xFD!"},G={"Allowed values:":"Erlaubte Werte:","Compare all with predecessor":"Vergleiche alle mit ihren Vorg\xE4ngern","compare changes to:":"vergleiche \xC4nderungen mit:","compared to":"verglichen mit","Default value:":"Standardwert:",Description:"Beschreibung",Field:"Feld",General:"Allgemein","Generated with":"Erstellt mit",Name:"Name","No response values.":"Keine R\xFCckgabewerte.",optional:"optional",Parameter:"Parameter","Permission:":"Berechtigung:",Response:"Antwort",Send:"Senden","Send a Sample Request":"Eine Beispielanfrage senden","show up to version:":"zeige bis zur Version:","Size range:":"Gr\xF6\xDFenbereich:","Toggle navigation":"Navigation ein-/ausblenden",Type:"Typ",url:"url",Copy:"Kopieren","Press Ctrl+C to copy":"Dr\xFCcken Sie Ctrl+C zum kopieren","Copied!":"Kopiert!"},$={"Allowed values:":"Valores permitidos:","Compare all with predecessor":"Comparar todo con versi\xF3n anterior","compare changes to:":"comparar cambios con:","compared to":"comparado con","Default value:":"Valor por defecto:",Description:"Descripci\xF3n",Field:"Campo",General:"General","Generated with":"Generado con",Name:"Nombre","No response values.":"Sin valores en la respuesta.",optional:"opcional",Parameter:"Par\xE1metro","Permission:":"Permisos:",Response:"Respuesta",Send:"Enviar","Send a Sample Request":"Enviar una petici\xF3n de ejemplo","show up to version:":"mostrar a versi\xF3n:","Size range:":"Tama\xF1o de rango:","Toggle navigation":"Alternar navegaci\xF3n",Type:"Tipo",url:"url",Copy:"Copiar","Press Ctrl+C to copy":"Presione Ctrl+C para copiar","copied!":"\xA1Copiado!"},U={"Allowed values:":"Valeurs autoris\xE9es :",Body:"Corps","Compare all with predecessor":"Tout comparer avec ...","compare changes to:":"comparer les changements \xE0 :","compared to":"comparer \xE0","Default value:":"Valeur par d\xE9faut :",Description:"Description",Field:"Champ",General:"G\xE9n\xE9ral","Generated with":"G\xE9n\xE9r\xE9 avec",Header:"En-t\xEAte",Headers:"En-t\xEAtes",Name:"Nom","No response values.":"Aucune valeur de r\xE9ponse.","No value":"Aucune valeur",optional:"optionnel",Parameter:"Param\xE8tre",Parameters:"Param\xE8tres","Permission:":"Permission :","Query Parameter(s)":"Param\xE8tre(s) de la requ\xEAte","Query Parameters":"Param\xE8tres de la requ\xEAte","Request Body":"Corps de la requ\xEAte",required:"requis",Response:"R\xE9ponse",Send:"Envoyer","Send a Sample Request":"Envoyer une requ\xEAte repr\xE9sentative","show up to version:":"Montrer \xE0 partir de la version :","Size range:":"Ordre de grandeur :","Toggle navigation":"Basculer la navigation",Type:"Type",url:"url",Copy:"Copier","Press Ctrl+C to copy":"Appuyez sur Ctrl+C pour copier","copied!":"Copi\xE9!"},M={"Allowed values:":"Valori permessi:","Compare all with predecessor":"Confronta tutto con versioni precedenti","compare changes to:":"confronta modifiche con:","compared to":"confrontato con","Default value:":"Valore predefinito:",Description:"Descrizione",Field:"Campo",General:"Generale","Generated with":"Creato con",Name:"Nome","No response values.":"Nessun valore di risposta.",optional:"opzionale",Parameter:"Parametro","Permission:":"Permessi:",Response:"Risposta",Send:"Invia","Send a Sample Request":"Invia una richiesta di esempio","show up to version:":"mostra alla versione:","Size range:":"Intervallo dimensione:","Toggle navigation":"Attiva/disattiva la navigazione",Type:"Tipo",url:"url",Copy:"Copiare","Press Ctrl+C to copy":"Premere CTRL+C per copiare","copied!":"Copiato!"},z={"Allowed values:":"Toegestane waarden:","Compare all with predecessor":"Vergelijk alle met voorgaande versie","compare changes to:":"vergelijk veranderingen met:","compared to":"vergelijk met","Default value:":"Standaard waarde:",Description:"Omschrijving",Field:"Veld",General:"Algemeen","Generated with":"Gegenereerd met",Name:"Naam","No response values.":"Geen response waardes.",optional:"optioneel",Parameter:"Parameter","Permission:":"Permissie:",Response:"Antwoorden",Send:"Sturen","Send a Sample Request":"Stuur een sample aanvragen","show up to version:":"toon tot en met versie:","Size range:":"Maatbereik:","Toggle navigation":"Navigatie in-/uitschakelen",Type:"Type",url:"url",Copy:"Kopi\xEBren","Press Ctrl+C to copy":"Druk op Ctrl+C om te kopi\xEBren","copied!":"Gekopieerd!"},H={"Allowed values:":"Dozwolone warto\u015Bci:","Compare all with predecessor":"Por\xF3wnaj z poprzednimi wersjami","compare changes to:":"por\xF3wnaj zmiany do:","compared to":"por\xF3wnaj do:","Default value:":"Warto\u015B\u0107 domy\u015Blna:",Description:"Opis",Field:"Pole",General:"Generalnie","Generated with":"Wygenerowano z",Name:"Nazwa","No response values.":"Brak odpowiedzi.",optional:"opcjonalny",Parameter:"Parametr","Permission:":"Uprawnienia:",Response:"Odpowied\u017A",Send:"Wy\u015Blij","Send a Sample Request":"Wy\u015Blij przyk\u0142adowe \u017C\u0105danie","show up to version:":"poka\u017C do wersji:","Size range:":"Zakres rozmiaru:","Toggle navigation":"Prze\u0142\u0105cz nawigacj\u0119",Type:"Typ",url:"url",Copy:"Kopiowa\u0107","Press Ctrl+C to copy":"Naci\u015Bnij Ctrl+C, aby skopiowa\u0107","copied!":"Kopiowane!"},Q={"Allowed values:":"Valores permitidos:","Compare all with predecessor":"Compare todos com antecessores","compare changes to:":"comparar altera\xE7\xF5es com:","compared to":"comparado com","Default value:":"Valor padr\xE3o:",Description:"Descri\xE7\xE3o",Field:"Campo",General:"Geral","Generated with":"Gerado com",Name:"Nome","No response values.":"Sem valores de resposta.",optional:"opcional",Parameter:"Par\xE2metro","Permission:":"Permiss\xE3o:",Response:"Resposta",Send:"Enviar","Send a Sample Request":"Enviar um Exemplo de Pedido","show up to version:":"aparecer para a vers\xE3o:","Size range:":"Faixa de tamanho:","Toggle navigation":"Alternar navega\xE7\xE3o",Type:"Tipo",url:"url",Copy:"Copiar","Press Ctrl+C to copy":"Pressione Ctrl+C para copiar","copied!":"Copiado!"},ne={"Allowed values:":"Valori permise:","Compare all with predecessor":"Compar\u0103 toate cu versiunea precedent\u0103","compare changes to:":"compar\u0103 cu versiunea:","compared to":"comparat cu","Default value:":"Valoare implicit\u0103:",Description:"Descriere",Field:"C\xE2mp",General:"General","Generated with":"Generat cu",Name:"Nume","No response values.":"Nici o valoare returnat\u0103.",optional:"op\u021Bional",Parameter:"Parametru","Permission:":"Permisiune:",Response:"R\u0103spuns",Send:"Trimite","Send a Sample Request":"Trimite o cerere de prob\u0103","show up to version:":"arat\u0103 p\xE2n\u0103 la versiunea:","Size range:":"Interval permis:","Toggle navigation":"Comutarea navig\u0103rii",Type:"Tip",url:"url",Copy:"Copie","Press Ctrl+C to copy":"Ap\u0103sa\u021Bi Ctrl+C pentru a copia","copied!":"Copiat!"},se={"Allowed values:":"\u0414\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F:","Compare all with predecessor":"\u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439","compare changes to:":"\u0441\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441:","compared to":"\u0432 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0438 \u0441","Default value:":"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E:",Description:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",Field:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",General:"\u041E\u0431\u0449\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F","Generated with":"\u0421\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E",Name:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435","No response values.":"\u041D\u0435\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u043E\u0442\u0432\u0435\u0442\u0430.",optional:"\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439",Parameter:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440","Permission:":"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043E:",Response:"\u041E\u0442\u0432\u0435\u0442",Send:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C","Send a Sample Request":"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0441\u0442\u043E\u0432\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441","show up to version:":"\u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0435\u0440\u0441\u0438\u044E:","Size range:":"\u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F:","Toggle navigation":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438",Type:"\u0422\u0438\u043F",url:"URL",Copy:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C","Press Ctrl+C to copy":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Ctrl+C, \u0447\u0442\u043E\u0431\u044B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C","copied!":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E!"},j={"Allowed values:":"\u0130zin verilen de\u011Ferler:","Compare all with predecessor":"T\xFCm\xFCn\xFC \xF6ncekiler ile kar\u015F\u0131la\u015Ft\u0131r","compare changes to:":"de\u011Fi\u015Fiklikleri kar\u015F\u0131la\u015Ft\u0131r:","compared to":"kar\u015F\u0131la\u015Ft\u0131r","Default value:":"Varsay\u0131lan de\u011Fer:",Description:"A\xE7\u0131klama",Field:"Alan",General:"Genel","Generated with":"Olu\u015Fturan",Name:"\u0130sim","No response values.":"D\xF6n\xFC\u015F verisi yok.",optional:"opsiyonel",Parameter:"Parametre","Permission:":"\u0130zin:",Response:"D\xF6n\xFC\u015F",Send:"G\xF6nder","Send a Sample Request":"\xD6rnek istek g\xF6nder","show up to version:":"bu versiyona kadar g\xF6ster:","Size range:":"Boyut aral\u0131\u011F\u0131:","Toggle navigation":"Navigasyonu de\u011Fi\u015Ftir",Type:"Tip",url:"url",Copy:"Kopya etmek","Press Ctrl+C to copy":"Kopyalamak i\xE7in Ctrl+C tu\u015Flar\u0131na bas\u0131n","copied!":"Kopya -lanan!"},me={"Allowed values:":"Gi\xE1 tr\u1ECB ch\u1EA5p nh\u1EADn:","Compare all with predecessor":"So s\xE1nh v\u1EDBi t\u1EA5t c\u1EA3 phi\xEAn b\u1EA3n tr\u01B0\u1EDBc","compare changes to:":"so s\xE1nh s\u1EF1 thay \u0111\u1ED5i v\u1EDBi:","compared to":"so s\xE1nh v\u1EDBi","Default value:":"Gi\xE1 tr\u1ECB m\u1EB7c \u0111\u1ECBnh:",Description:"Ch\xFA th\xEDch",Field:"Tr\u01B0\u1EDDng d\u1EEF li\u1EC7u",General:"T\u1ED5ng quan","Generated with":"\u0110\u01B0\u1EE3c t\u1EA1o b\u1EDFi",Name:"T\xEAn","No response values.":"Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 tr\u1EA3 v\u1EC1.",optional:"T\xF9y ch\u1ECDn",Parameter:"Tham s\u1ED1","Permission:":"Quy\u1EC1n h\u1EA1n:",Response:"K\u1EBFt qu\u1EA3",Send:"G\u1EEDi","Send a Sample Request":"G\u1EEDi m\u1ED9t y\xEAu c\u1EA7u m\u1EABu","show up to version:":"hi\u1EC3n th\u1ECB phi\xEAn b\u1EA3n:","Size range:":"K\xEDch c\u1EE1:","Toggle navigation":"Chuy\u1EC3n \u0111\u1ED5i \u0111i\u1EC1u h\u01B0\u1EDBng",Type:"Ki\u1EC3u",url:"li\xEAn k\u1EBFt",Copy:"B\u1EA3n sao","Press Ctrl+C to copy":"Nh\u1EA5n Ctrl+C \u0111\u1EC3 sao ch\xE9p","copied!":"Sao ch\xE9p!"},Ee={"Allowed values:":"\u5141\u8BB8\u503C:",Body:"\u8BF7\u6C42\u4F53","Compare all with predecessor":"\u4E0E\u6240\u6709\u4E4B\u524D\u7684\u7248\u672C\u6BD4\u8F83","compare changes to:":"\u5C06\u5F53\u524D\u7248\u672C\u4E0E\u6307\u5B9A\u7248\u672C\u6BD4\u8F83:","compared to":"\u76F8\u6BD4\u4E8E","Default value:":"\u9ED8\u8BA4\u503C:",DEPRECATED:"\u5F03\u7528",Description:"\u63CF\u8FF0","Error 4xx":"\u8BF7\u6C42\u5931\u8D25\uFF084xx\uFF09",Field:"\u5B57\u6BB5","Filter...":"\u7B5B\u9009\u2026",General:"\u6982\u8981","Generated with":"\u6784\u5EFA\u4E8E",Header:"\u8BF7\u6C42\u5934",Headers:"\u8BF7\u6C42\u5934",Name:"\u540D\u79F0","No response values.":"\u65E0\u8FD4\u56DE\u503C.","No value":"\u7A7A\u503C",optional:"\u53EF\u9009",Parameter:"\u53C2\u6570",Parameters:"\u53C2\u6570","Permission:":"\u6743\u9650:","Query Parameter(s)":"\u67E5\u8BE2\u53C2\u6570","Query Parameters":"\u67E5\u8BE2\u53C2\u6570","Request Body":"\u8BF7\u6C42\u6570\u636E",required:"\u5FC5\u9700",Reset:"\u91CD\u7F6E",Response:"\u8FD4\u56DE",Send:"\u53D1\u9001","Send a Sample Request":"\u53D1\u9001\u793A\u4F8B\u8BF7\u6C42","show up to version:":"\u663E\u793A\u6307\u5B9A\u7248\u672C:","Size range:":"\u53D6\u503C\u8303\u56F4:","Success 200":"\u8BF7\u6C42\u6210\u529F\uFF08200\uFF09","Toggle navigation":"\u5207\u63DB\u5C0E\u822A",Type:"\u7C7B\u578B",url:"\u5730\u5740",Copy:"\u590D\u5236\u6587\u672C","Press Ctrl+C to copy":"\u6309Ctrl+C\u590D\u5236","copied!":"\u6587\u672C\u5DF2\u590D\u5236!"},Te={ca:F,cn:Ee,cs:W,de:G,es:$,en:{},fr:U,it:M,nl:z,pl:H,pt:Q,pt_br:Q,ro:ne,ru:se,tr:j,vi:me,zh:Ee,zh_cn:Ee},ke=((tt=window.navigator.language)!=null?tt:"en-GB").toLowerCase().substr(0,2);let st=Te[ke]?Te[ke]:Te.en;function Et(Le){const he=st[Le];return he===void 0?Le:he}function At(Le){if(!Object.prototype.hasOwnProperty.call(Te,Le))throw new Error(`Invalid value for language setting! Available values are ${Object.keys(Te).join(",")}`);st=Te[Le]}const Dt=Le=>{let he={};const Re=(ye,de)=>de.split(".").reduce((ve,Fe)=>{if(ve){if(ve[Fe])return ve[Fe];if(Array.isArray(ve)&&ve[0]&&ve[0][Fe])return ve[0][Fe]}return null},ye),be=(ye,de,ve)=>{ye?Array.isArray(ye)?ye.length?ye[0][de]=ve:ye.push({[de]:ve}):ye[de]=ve:he[de]=ve};Le.forEach(ye=>{const{parentNode:de,field:ve,type:Fe}=ye[0],Ke=de?Re(he,de.path):void 0,He=Ke?ve.substring(de.path.length+1):ve,Ve=Fe.indexOf("[]")!==-1;Fe.indexOf("Object")!==-1?be(Ke,He,Ve?[]:{}):be(Ke,He,Ve?[]:ye[1])});const Z=Object.keys(he);return Z.length===1&&Le[0][0].optional&&(he=he[Z[0]]),pe(he)};function pe(Le){return JSON.stringify(Le,null,4)}function Pe(Le){const he=[];return Le.forEach(Re=>{let be;switch(Re.type.toLowerCase()){case"string":be=Re.defaultValue||"";break;case"boolean":be=Boolean(Re.defaultValue)||!1;break;case"number":be=parseInt(Re.defaultValue||0,10);break;case"date":be=Re.defaultValue||new Date().toLocaleDateString(window.navigator.language);break}he.push([Re,be])}),Dt(he)}var Se=rt(2617);class Me extends Se{constructor(he){super(),this.testMode=he}diffMain(he,Re,be,Z){return super.diff_main(this._stripHtml(he),this._stripHtml(Re),be,Z)}diffLineMode(he,Re){const be=this.diff_linesToChars_(he,Re),Z=be.chars1,ye=be.chars2,de=be.lineArray,ve=super.diff_main(Z,ye,!1);return this.diff_charsToLines_(ve,de),ve}diffPrettyHtml(he){const Re=[],be=/&/g,Z=//g,de=/\n/g;for(let ve=0;ve");switch(Fe){case Se.DIFF_INSERT:Re[ve]=""+He+"";break;case Se.DIFF_DELETE:Re[ve]=""+He+"";break;case Se.DIFF_EQUAL:Re[ve]=""+He+"";break}}return Re.join("")}diffPrettyCode(he){const Re=[],be=/\n/g;for(let Z=0;Z'+et+""}),Z)}),l().registerHelper("setInputType",function(Z){switch(Z){case"File":case"Email":case"Color":case"Number":case"Date":return Z[0].toLowerCase()+Z.substring(1);case"Boolean":return"checkbox";default:return"text"}});let Le;l().registerHelper("startTimer",function(Z){return Le=new Date,""}),l().registerHelper("stopTimer",function(Z){return console.log(new Date-Le),""}),l().registerHelper("__",function(Z){return Et(Z)}),l().registerHelper("cl",function(Z){return console.log(Z),""}),l().registerHelper("underscoreToSpace",function(Z){return Z.replace(/(_+)/g," ")}),l().registerHelper("removeDblQuotes",function(Z){return Z.replace(/"/g,"")}),l().registerHelper("assign",function(Z){if(arguments.length>0){const ye=typeof arguments[1];let de=null;(ye==="string"||ye==="number"||ye==="boolean")&&(de=arguments[1]),l().registerHelper(Z,function(){return de})}return""}),l().registerHelper("nl2br",function(Z){return Re(Z)}),l().registerHelper("ifNotObject",function(Z,ye){return Z&&Z.indexOf("Object")!==0?ye.fn(this):ye.inverse(this)}),l().registerHelper("ifCond",function(Z,ye,de,ve){switch(ye){case"==":return Z==de?ve.fn(this):ve.inverse(this);case"===":return Z===de?ve.fn(this):ve.inverse(this);case"!=":return Z!=de?ve.fn(this):ve.inverse(this);case"!==":return Z!==de?ve.fn(this):ve.inverse(this);case"<":return Z":return Z>de?ve.fn(this):ve.inverse(this);case">=":return Z>=de?ve.fn(this):ve.inverse(this);case"&&":return Z&&de?ve.fn(this):ve.inverse(this);case"||":return Z||de?ve.fn(this):ve.inverse(this);default:return ve.inverse(this)}});const he={};l().registerHelper("subTemplate",function(Z,ye){he[Z]||(he[Z]=l().compile(document.getElementById("template-"+Z).innerHTML));const de=he[Z],ve=g().extend({},this,ye.hash);return new(l()).SafeString(de(ve))}),l().registerHelper("toLowerCase",function(Z){return Z&&typeof Z=="string"?Z.toLowerCase():""}),l().registerHelper("dot2bracket",function(Z){const{parentNode:ye,field:de,isArray:ve}=Z;let Fe="";if(ye){let Ke=Z;do{const He=Ke.parentNode;He.isArray&&(Fe=`[]${Fe}`),He.parentNode?Fe=`[${He.field.substring(He.parentNode.path.length+1)}]${Fe}`:Fe=He.field+Fe,Ke=Ke.parentNode}while(Ke.parentNode);Fe+=`[${de.substring(ye.path.length+1)}]`}else Fe=de,ve&&(Fe+="[]");return Fe}),l().registerHelper("nestObject",function(Z){const{parentNode:ye,field:de}=Z;return ye?"  ".repeat(ye.path.split(".").length)+de.substring(ye.path.length+1):de});function Re(Z){return(""+Z).replace(/(?:^|<\/pre>)[^]*?(?:
|$)/g,ye=>ye.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1
$2"))}l().registerHelper("each_compare_list_field",function(Z,ye,de){const ve=de.hash.field,Fe=[];Z&&Z.forEach(function(He){const Ve=He;Ve.key=He[ve],Fe.push(Ve)});const Ke=[];return ye&&ye.forEach(function(He){const Ve=He;Ve.key=He[ve],Ke.push(Ve)}),be("key",Fe,Ke,de)}),l().registerHelper("each_compare_keys",function(Z,ye,de){const ve=[];Z&&Object.keys(Z).forEach(function(He){const Ve={};Ve.value=Z[He],Ve.key=He,ve.push(Ve)});const Fe=[];return ye&&Object.keys(ye).forEach(function(He){const Ve={};Ve.value=ye[He],Ve.key=He,Fe.push(Ve)}),be("key",ve,Fe,de)}),l().registerHelper("body2json",function(Z,ye){return Pe(Z)}),l().registerHelper("each_compare_field",function(Z,ye,de){return be("field",Z,ye,de)}),l().registerHelper("each_compare_title",function(Z,ye,de){return be("title",Z,ye,de)}),l().registerHelper("reformat",function(Z,ye){if(ye==="json")try{return JSON.stringify(JSON.parse(Z.trim()),null," ")}catch(de){}return Z}),l().registerHelper("showDiff",function(Z,ye,de){let ve="";if(Z===ye)ve=Z;else{if(!Z)return ye;if(!ye)return Z;const Fe=new Me;if(de==="code"){const Ke=Fe.diffLineMode(ye,Z);ve=Fe.diffPrettyCode(Ke)}else{const Ke=Fe.diffMain(ye,Z);Fe.diffCleanupSemantic(Ke),ve=Fe.diffPrettyHtml(Ke),ve=ve.replace(/¶/gm,""),de==="nl2br"&&(ve=Re(ve))}}return ve});function be(Z,ye,de,ve){const Fe=[];let Ke=0;ye&&ye.forEach(function(et){let lt=!1;if(de&&de.forEach(function(gt){if(et[Z]===gt[Z]){const kt={typeSame:!0,source:et,compare:gt,index:Ke};Fe.push(kt),lt=!0,Ke++}}),!lt){const gt={typeIns:!0,source:et,index:Ke};Fe.push(gt),Ke++}}),de&&de.forEach(function(et){let lt=!1;if(ye&&ye.forEach(function(gt){gt[Z]===et[Z]&&(lt=!0)}),!lt){const gt={typeDel:!0,compare:et,index:Ke};Fe.push(gt),Ke++}});let He="";const Ve=Fe.length;for(const et in Fe)parseInt(et,10)===Ve-1&&(Fe[et]._last=!0),He=He+ve.fn(Fe[et]);return He}}document.addEventListener("DOMContentLoaded",()=>{Ht(),I(),m().highlightAll()});function Ht(){var Ge;let Le=[{type:"DELETE",url:"/api/comment/:id",title:"delete comment",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"comment.js",groupTitle:"Comment",name:"DeleteApiCommentId"},{type:"GET",url:"/api/comment",title:"Get comment list for client",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"path",isArray:!1,description:"

comment url path

"},{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"sortBy",isArray:!1,description:"

comment sort type, one of 'insertedAt_desc', 'insertedAt_asc', 'like_desc'

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"page",isArray:!1,description:"

return current comments list page

"},{group:"200",type:"Number",optional:!1,field:"pageSize",isArray:!1,description:"

to return error message if error

"},{group:"200",type:"Object[]",optional:!1,field:"data",isArray:!0,description:"

comments list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.type",isArray:!1,description:"

comment login user type

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",isArray:!0,description:"

children comments list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiComment"},{type:"GET",url:"/api/comment?type=count",title:"Get comment count for articles",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

a array string join by comma just like a or a,b, return site comment count if url empty

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{examples:[{title:"Single Path Response:",content:"300",type:"Number"},{title:"Multiple Path Response:",content:"[300, 100]",type:"Number"}]},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeCount"},{type:"GET",url:"/api/comment?type=list",title:"Get comment list for admin",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:""},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.page",isArray:!1,description:"

comments list current page

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.pageSize",isArray:!1,description:"

comments list page size

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.totalPages",isArray:!1,description:"

comments list total pages

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.spamCount",isArray:!1,description:"

spam comments count

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.waitingCount",isArray:!1,description:"

waiting comments count

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",isArray:!0,description:"

comments list data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.ip",isArray:!1,description:"

comment user ip address

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.status",isArray:!1,description:"

comment status, approved, waiting or spam

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.ua",isArray:!1,description:"

comment user agent

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.url",isArray:!1,description:"

comment article link

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeList"},{type:"GET",url:"/api/comment?type=recent",title:"Get recent comments",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"count",isArray:!1,description:"

return comments number, default value is 10

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Object[]",optional:!1,field:"response",isArray:!0,description:""},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeRecent"},{type:"POST",url:"/api/comment",title:"post comment",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"nick",isArray:!1,description:"

post comment user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"mail",isArray:!1,description:"

post comment user mail address

"},{group:"Parameter",type:"String",optional:!1,field:"link",isArray:!1,description:"

post comment user link

"},{group:"Parameter",type:"String",optional:!1,field:"comment",isArray:!1,description:"

post comment text

"},{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

the article url path of comment

"},{group:"Parameter",type:"String",optional:!1,field:"ua",isArray:!1,description:"

browser user agent

"},{group:"Parameter",type:"String",optional:!1,field:"pid",isArray:!1,description:"

parent comment id

"},{group:"Parameter",type:"String",optional:!1,field:"rid",isArray:!1,description:"

root comment id

"},{group:"Parameter",type:"String",optional:!1,field:"at",isArray:!1,description:"

parent comment user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

return comment data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"PostApiComment"},{type:"PUT",url:"/api/comment/:id",title:"update comment data",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!0,field:"nick",isArray:!1,description:"

post comment user nick name

"},{group:"Parameter",type:"String",optional:!0,field:"mail",isArray:!1,description:"

post comment user mail address

"},{group:"Parameter",type:"String",optional:!0,field:"link",isArray:!1,description:"

post comment user link

"},{group:"Parameter",type:"String",optional:!0,field:"comment",isArray:!1,description:"

post comment text

"},{group:"Parameter",type:"String",optional:!0,field:"url",isArray:!1,description:"

the article url path of comment

"},{group:"Parameter",type:"Boolean",optional:!0,field:"like",isArray:!1,description:"

like comment

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"comment.js",groupTitle:"Comment",name:"PutApiCommentId"},{type:"GET",url:"/api/oauth",title:"oauth api",group:"OAuth",version:"0.0.1",filename:"oauth.js",groupTitle:"OAuth",name:"GetApiOauth"},{type:"DELETE",url:"/api/db",title:"clean site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"DeleteApiDb"},{type:"GET",url:"/api/db",title:"export site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"GetApiDb"},{type:"POST",url:"/api/db",title:"import site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"PostApiDb"},{type:"PUT",url:"/api/db",title:"update site table data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"PutApiDb"},{type:"DELETE",url:"/api/token",title:"user logout",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"token.js",groupTitle:"User",name:"DeleteApiToken"},{type:"GET",url:"/api/token",title:"get login user info",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

user info

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.avatar",isArray:!1,description:"

user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.createdAt",isArray:!1,description:"

user register time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.display_name",isArray:!1,description:"

user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.email",isArray:!1,description:"

user email address

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.github",isArray:!1,description:"

user github account name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.mailMd5",isArray:!1,description:"

user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.objectId",isArray:!1,description:"

user id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.type",isArray:!1,description:"

user type, administrator or guest

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.url",isArray:!1,description:"

user link

"}]}},filename:"token.js",groupTitle:"User",name:"GetApiToken"},{type:"GET",url:"/api/user",title:"user top list without admin",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object[]",optional:!1,field:"data",isArray:!0,description:"

user list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.level",isArray:!1,description:"

comment user level

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.count",isArray:!1,description:"

user comment count

"}]}},filename:"user.js",groupTitle:"User",name:"GetApiUser"},{type:"GET",url:"/api/user?token",title:"user list with admin login",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

user list

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.page",isArray:!1,description:"

user list current page

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.pageSize",isArray:!1,description:"

user list page size

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.totalPages",isArray:!1,description:"

user list total pages

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",isArray:!0,description:"

user list data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.level",isArray:!1,description:"

comment user level

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.label",isArray:!1,description:"

comment user label

"}]}},filename:"user.js",groupTitle:"User",name:"GetApiUserToken"},{type:"POST",url:"/api/token",title:"user login",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"email",isArray:!1,description:"

login user email

"},{group:"Parameter",type:"String",optional:!1,field:"password",isArray:!1,description:"

login user password

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"token.js",groupTitle:"User",name:"PostApiToken"},{type:"POST",url:"/api/user",title:"user register",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"display_name",isArray:!1,description:"

user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"email",isArray:!1,description:"

user email

"},{group:"Parameter",type:"String",optional:!1,field:"password",isArray:!1,description:"

user password

"},{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

user link

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"user.js",groupTitle:"User",name:"PostApiUser"},{type:"PUT",url:"/api/user",title:"update user profile",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!0,field:"display_name",isArray:!1,description:"

user new nick name

"},{group:"Parameter",type:"String",optional:!0,field:"url",isArray:!1,description:"

user new link

"},{group:"Parameter",type:"String",optional:!0,field:"password",isArray:!1,description:"

user new password

"},{group:"Parameter",type:"String",optional:!0,field:"github",isArray:!1,description:"

user github account name

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"user.js",groupTitle:"User",name:"PutApiUser"}];const he={name:"waline-root",version:"0.0.0",description:"REST Api",title:"Waline API Documentation",sampleUrl:!1,defaultVersion:"0.0.0",apidoc:"0.3.0",generator:{name:"apidoc",time:"Wed Oct 09 2024 11:04:11 GMT+0000 (Coordinated Universal Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Re=l().compile(g()("#template-header").html()),be=l().compile(g()("#template-footer").html()),Z=l().compile(g()("#template-article").html()),ye=l().compile(g()("#template-compare-article").html()),de=l().compile(g()("#template-generator").html()),ve=l().compile(g()("#template-project").html()),Fe=l().compile(g()("#template-sections").html()),Ke=l().compile(g()("#template-sidenav").html()),He={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};he.template=Object.assign(He,(Ge=he.template)!=null?Ge:{}),he.template.forceLanguage&&At(he.template.forceLanguage);const Ve=(0,i.groupBy)(Le,ie=>ie.group),et={};g().each(Ve,(ie,re)=>{et[ie]=(0,i.groupBy)(re,ue=>ue.name)});const lt=[];g().each(et,(ie,re)=>{let ue=[];g().each(re,(le,_e)=>{const $e=_e[0].title;$e&&ue.push($e.toLowerCase()+"#~#"+le)}),ue.sort(),he.order&&(ue=Ne(ue,he.order,"#~#")),ue.forEach(le=>{const $e=le.split("#~#")[1];re[$e].forEach(Ie=>{lt.push(Ie)})})}),Le=lt;let gt={};const kt={};let Ot={};Ot[he.version]=1,g().each(Le,(ie,re)=>{gt[re.group]=1,kt[re.group]=re.groupTitle||re.group,Ot[re.version]=1}),gt=Object.keys(gt),gt.sort(),he.order&&(gt=we(kt,he.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const bt=[];gt.forEach(ie=>{bt.push({group:ie,isHeader:!0,title:kt[ie]});let re="";Le.forEach(ue=>{ue.group===ie&&(re!==ue.name?bt.push({title:ue.title,group:ie,name:ue.name,type:ue.type,version:ue.version,url:ue.url}):bt.push({title:ue.title,group:ie,hidden:!0,name:ue.name,type:ue.type,version:ue.version,url:ue.url}),re=ue.name)})});function pn(ie,re,ue){let le=!1;if(!re)return le;const _e=re.match(/(.+?)<\/h(1|2)>/gi);return _e&&_e.forEach(function($e){const Ie=$e.substring(2,3),ut=$e.replace(/<.+?>/g,""),xt=$e.match(/id="api-([^-]+)(?:-(.+))?"/),Rt=xt?xt[1]:null,mt=xt?xt[2]:null;Ie==="1"&&ut&&Rt&&(ie.splice(ue,0,{group:Rt,isHeader:!0,title:ut,isFixed:!0}),ue++,le=!0),Ie==="2"&&ut&&Rt&&mt&&(ie.splice(ue,0,{group:Rt,name:mt,isHeader:!1,title:ut,isFixed:!1,version:"1.0"}),ue++)}),le}let hn;if(he.header&&(hn=pn(bt,he.header.content,0),hn||bt.unshift({group:"_header",isHeader:!0,title:he.header.title==null?Et("General"):he.header.title,isFixed:!0})),he.footer){const ie=bt.length;hn=pn(bt,he.footer.content,bt.length),!hn&&he.footer.title!=null&&bt.splice(ie,0,{group:"_footer",isHeader:!0,title:he.footer.title,isFixed:!0})}const bn=he.title?he.title:"apiDoc: "+he.name+" - "+he.version;g()(document).attr("title",bn),g()("#loader").remove();const Fn={nav:bt};g()("#sidenav").append(Ke(Fn)),g()("#generator").append(de(he)),(0,i.extend)(he,{versions:Ot}),g()("#project").append(ve(he)),he.header&&g()("#header").append(Re(he.header)),he.footer&&(g()("#footer").append(be(he.footer)),he.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const Bt={};let kn="";gt.forEach(function(ie){const re=[];let ue="",le={},_e=ie,$e="";Bt[ie]={},Le.forEach(function(Ie){ie===Ie.group&&(ue!==Ie.name?(Le.forEach(function(ut){ie===ut.group&&Ie.name===ut.name&&(Object.prototype.hasOwnProperty.call(Bt[Ie.group],Ie.name)||(Bt[Ie.group][Ie.name]=[]),Bt[Ie.group][Ie.name].push(ut.version))}),le={article:Ie,versions:Bt[Ie.group][Ie.name]}):le={article:Ie,hidden:!0,versions:Bt[Ie.group][Ie.name]},he.sampleUrl&&he.sampleUrl===!0&&(he.sampleUrl=window.location.origin),he.url&&le.article.url.substr(0,4).toLowerCase()!=="http"&&(le.article.url=he.url+le.article.url),ae(le,Ie),Ie.groupTitle&&(_e=Ie.groupTitle),Ie.groupDescription&&($e=Ie.groupDescription),re.push({article:Z(le),group:Ie.group,name:Ie.name,aloneDisplay:he.template.aloneDisplay}),ue=Ie.name)}),le={group:ie,title:_e,description:$e,articles:re,aloneDisplay:he.template.aloneDisplay},kn+=Fe(le)}),g()("#sections").append(kn),he.template.aloneDisplay||(document.body.dataset.spy="scroll",g()("body").scrollspy({target:"#scrollingNav"})),g()(".form-control").on("focus change",function(){g()(this).removeClass("border-danger")}),g()(".sidenav").find("a").on("click",function(ie){ie.preventDefault();const re=this.getAttribute("href");if(he.template.aloneDisplay){const ue=document.querySelector(".sidenav > li.active");ue&&ue.classList.remove("active"),this.parentNode.classList.add("active")}else{const ue=document.querySelector(re);ue&&g()("html,body").animate({scrollTop:ue.offsetTop},400)}window.location.hash=re});function St(ie){let re=!1;return g().each(ie,ue=>{re=re||(0,i.some)(ie[ue],le=>le.type)}),re}function Bn(){g()('button[data-toggle="popover"]').popover().click(function(re){re.preventDefault()});const ie=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),he.template.withCompare&&g()("#sidenav li[data-version='"+ie+"']").each(function(){const re=g()(this).data("group"),ue=g()(this).data("name"),le=g()("#sidenav li[data-group='"+re+"'][data-name='"+ue+"']").length,_e=g()("#sidenav li[data-group='"+re+"'][data-name='"+ue+"']").index(g()(this));(le===1||_e===le-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(re){re.preventDefault(),g()(this).tab("show")}),g()(".nav-tabs-examples").find("a:first").tab("show"),g()(".sample-request-content-type-switch").change(function(){g()(this).val()==="body-form-data"?(g()("#sample-request-body-json-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-form-input-"+g()(this).data("id")).show()):(g()("#sample-request-body-form-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-json-input-"+g()(this).data("id")).show())}),he.template.aloneDisplay&&(g()(".show-group").click(function(){const re="."+g()(this).attr("data-group")+"-group",ue="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(re).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(ue).removeClass("hide")}),g()(".show-api").click(function(){const re=this.getAttribute("href").substring(1),ue=document.getElementById("version").textContent.trim(),le=`.${this.dataset.name}-article`,_e=`[id="${re}-${ue}"]`,$e=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()($e).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ie=g()(le);g()(_e).length&&(Ie=g()(_e).parent()),Ie.removeClass("hide"),re.match(/_(header|footer)/)&&document.getElementById(re).classList.remove("hide")})),he.template.aloneDisplay||g()("body").scrollspy("refresh"),he.template.aloneDisplay){const re=decodeURI(window.location.hash);if(re!=null&&re.length!==0){const ue=document.getElementById("version").textContent.trim(),le=document.querySelector(`li .${re.slice(1)}-init`),_e=document.querySelector(`li[data-version="${ue}"] .show-api.${re.slice(1)}-init`);let $e=le;_e&&($e=_e),$e.click()}}}function B(ie){typeof ie=="undefined"?ie=g()("#version strong").html():g()("#version strong").html(ie),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const re={};document.querySelectorAll("article[data-version]").forEach(ue=>{const le=ue.dataset.group,_e=ue.dataset.name,$e=ue.dataset.version,Ie=le+_e;!re[Ie]&&r().lte($e,ie)&&(re[Ie]=!0,document.querySelector(`article[data-group="${le}"][data-name="${_e}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${le}"][data-name="${_e}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${le}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(ue){const le=g()(this).data("group");g()("section#api-"+le).removeClass("hide"),g()("section#api-"+le+" article:visible").length===0?g()("section#api-"+le).addClass("hide"):g()("section#api-"+le).removeClass("hide")})}if(B(),g()("#versions li.version a").on("click",function(ie){ie.preventDefault(),B(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",q),g().urlParam=function(ie){const re=new RegExp("[\\?&]"+ie+"=([^&#]*)").exec(window.location.href);return re&&re[1]?re[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const ie=decodeURI(window.location.hash);g()(ie).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(ie).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const ie=document.querySelector(".row-offcanvas");ie&&ie.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(ie=>{const re=ie.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((ue,le)=>g()(le).toggle(g()(le).text().toLowerCase().indexOf(re)>-1))},200)),g()("span.search-reset").on("click",function(){g()("#scrollingNav .sidenav-search input.search").val("").focus(),g()(".sidenav").find("a.nav-list-item").show()});function V(ie,re){let ue=null;return(...le)=>{clearTimeout(ue),ue=setTimeout(ie.bind(this,...le),re||0)}}function q(ie){ie.preventDefault();const re=g()(this).parents("article"),ue=g()(this).html(),le=re.find(".version"),_e=le.find("strong").html();le.find("strong").html(ue);const $e=re.data("group"),Ie=re.data("name"),ut=re.data("version"),xt=re.data("compare-version");if(xt!==ue&&!(!xt&&ut===ue)){if(xt&&Bt[$e][Ie][0]===ue||ut===ue)xe($e,Ie,ut);else{let Rt={},mt={};g().each(et[$e][Ie],function(or,Vn){Vn.version===ut&&(Rt=Vn),Vn.version===ue&&(mt=Vn)});const at={article:Rt,compare:mt,versions:Bt[$e][Ie]};at.article.id=at.article.group+"-"+at.article.name+"-"+at.article.version,at.article.id=at.article.id.replace(/\./g,"_"),at.compare.id=at.compare.group+"-"+at.compare.name+"-"+at.compare.version,at.compare.id=at.compare.id.replace(/\./g,"_");let nt=Rt;nt.header&&nt.header.fields&&(at._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(at._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(at._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(at._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(at._hasTypeInInfoFields=St(nt.info.fields)),nt=mt,at._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(at._hasTypeInHeaderFields=St(nt.header.fields)),at._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(at._hasTypeInParameterFields=St(nt.parameter.fields)),at._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(at._hasTypeInErrorFields=St(nt.error.fields)),at._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(at._hasTypeInSuccessFields=St(nt.success.fields)),at._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(at._hasTypeInInfoFields=St(nt.info.fields));const pi=ye(at);re.after(pi),re.next().find(".versions li.version a").on("click",q),g()("#sidenav li[data-group='"+$e+"'][data-name='"+Ie+"'][data-version='"+_e+"']").addClass("has-modifications"),re.remove()}Bn(),m().highlightAll()}}function ee(ie){ie.preventDefault(),g()("article:visible .versions").each(function(){const ue=g()(this).parents("article").data("version");let le=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(ie).forEach(_e=>{ie[_e].replace(/_/g," ")===le&&ue.push(_e)})}),Object.keys(ie).forEach(le=>{ue.indexOf(le)===-1&&ue.push(le)}),ue}Bn()}})()})(); +`;switch(ye){case Se.DIFF_INSERT:Re[Z]=de.replace(/^(.)/gm,"+ $1")+ve;break;case Se.DIFF_DELETE:Re[Z]=de.replace(/^(.)/gm,"- $1")+ve;break;case Se.DIFF_EQUAL:Re[Z]=de.replace(/^(.)/gm," $1");break}}return Re.join("")}diffCleanupSemantic(he){return this.diff_cleanupSemantic(he)}_stripHtml(he){if(this.testMode)return he;const Re=document.createElement("div");return Re.innerHTML=he,Re.textContent||Re.innerText||""}}function dt(){l().registerHelper("markdown",function(Z){return Z&&(Z=Z.replace(/((\[(.*?)\])?\(#)((.+?):(.+?))(\))/mg,function(ye,de,ve,Fe,Ke,He,Ve){const et=Fe||He+"/"+Ve;return''+et+""}),Z)}),l().registerHelper("setInputType",function(Z){switch(Z){case"File":case"Email":case"Color":case"Number":case"Date":return Z[0].toLowerCase()+Z.substring(1);case"Boolean":return"checkbox";default:return"text"}});let Le;l().registerHelper("startTimer",function(Z){return Le=new Date,""}),l().registerHelper("stopTimer",function(Z){return console.log(new Date-Le),""}),l().registerHelper("__",function(Z){return Et(Z)}),l().registerHelper("cl",function(Z){return console.log(Z),""}),l().registerHelper("underscoreToSpace",function(Z){return Z.replace(/(_+)/g," ")}),l().registerHelper("removeDblQuotes",function(Z){return Z.replace(/"/g,"")}),l().registerHelper("assign",function(Z){if(arguments.length>0){const ye=typeof arguments[1];let de=null;(ye==="string"||ye==="number"||ye==="boolean")&&(de=arguments[1]),l().registerHelper(Z,function(){return de})}return""}),l().registerHelper("nl2br",function(Z){return Re(Z)}),l().registerHelper("ifNotObject",function(Z,ye){return Z&&Z.indexOf("Object")!==0?ye.fn(this):ye.inverse(this)}),l().registerHelper("ifCond",function(Z,ye,de,ve){switch(ye){case"==":return Z==de?ve.fn(this):ve.inverse(this);case"===":return Z===de?ve.fn(this):ve.inverse(this);case"!=":return Z!=de?ve.fn(this):ve.inverse(this);case"!==":return Z!==de?ve.fn(this):ve.inverse(this);case"<":return Z":return Z>de?ve.fn(this):ve.inverse(this);case">=":return Z>=de?ve.fn(this):ve.inverse(this);case"&&":return Z&&de?ve.fn(this):ve.inverse(this);case"||":return Z||de?ve.fn(this):ve.inverse(this);default:return ve.inverse(this)}});const he={};l().registerHelper("subTemplate",function(Z,ye){he[Z]||(he[Z]=l().compile(document.getElementById("template-"+Z).innerHTML));const de=he[Z],ve=g().extend({},this,ye.hash);return new(l()).SafeString(de(ve))}),l().registerHelper("toLowerCase",function(Z){return Z&&typeof Z=="string"?Z.toLowerCase():""}),l().registerHelper("dot2bracket",function(Z){const{parentNode:ye,field:de,isArray:ve}=Z;let Fe="";if(ye){let Ke=Z;do{const He=Ke.parentNode;He.isArray&&(Fe=`[]${Fe}`),He.parentNode?Fe=`[${He.field.substring(He.parentNode.path.length+1)}]${Fe}`:Fe=He.field+Fe,Ke=Ke.parentNode}while(Ke.parentNode);Fe+=`[${de.substring(ye.path.length+1)}]`}else Fe=de,ve&&(Fe+="[]");return Fe}),l().registerHelper("nestObject",function(Z){const{parentNode:ye,field:de}=Z;return ye?"  ".repeat(ye.path.split(".").length)+de.substring(ye.path.length+1):de});function Re(Z){return(""+Z).replace(/(?:^|<\/pre>)[^]*?(?:
|$)/g,ye=>ye.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1
$2"))}l().registerHelper("each_compare_list_field",function(Z,ye,de){const ve=de.hash.field,Fe=[];Z&&Z.forEach(function(He){const Ve=He;Ve.key=He[ve],Fe.push(Ve)});const Ke=[];return ye&&ye.forEach(function(He){const Ve=He;Ve.key=He[ve],Ke.push(Ve)}),be("key",Fe,Ke,de)}),l().registerHelper("each_compare_keys",function(Z,ye,de){const ve=[];Z&&Object.keys(Z).forEach(function(He){const Ve={};Ve.value=Z[He],Ve.key=He,ve.push(Ve)});const Fe=[];return ye&&Object.keys(ye).forEach(function(He){const Ve={};Ve.value=ye[He],Ve.key=He,Fe.push(Ve)}),be("key",ve,Fe,de)}),l().registerHelper("body2json",function(Z,ye){return Pe(Z)}),l().registerHelper("each_compare_field",function(Z,ye,de){return be("field",Z,ye,de)}),l().registerHelper("each_compare_title",function(Z,ye,de){return be("title",Z,ye,de)}),l().registerHelper("reformat",function(Z,ye){if(ye==="json")try{return JSON.stringify(JSON.parse(Z.trim()),null," ")}catch(de){}return Z}),l().registerHelper("showDiff",function(Z,ye,de){let ve="";if(Z===ye)ve=Z;else{if(!Z)return ye;if(!ye)return Z;const Fe=new Me;if(de==="code"){const Ke=Fe.diffLineMode(ye,Z);ve=Fe.diffPrettyCode(Ke)}else{const Ke=Fe.diffMain(ye,Z);Fe.diffCleanupSemantic(Ke),ve=Fe.diffPrettyHtml(Ke),ve=ve.replace(/¶/gm,""),de==="nl2br"&&(ve=Re(ve))}}return ve});function be(Z,ye,de,ve){const Fe=[];let Ke=0;ye&&ye.forEach(function(et){let lt=!1;if(de&&de.forEach(function(gt){if(et[Z]===gt[Z]){const kt={typeSame:!0,source:et,compare:gt,index:Ke};Fe.push(kt),lt=!0,Ke++}}),!lt){const gt={typeIns:!0,source:et,index:Ke};Fe.push(gt),Ke++}}),de&&de.forEach(function(et){let lt=!1;if(ye&&ye.forEach(function(gt){gt[Z]===et[Z]&&(lt=!0)}),!lt){const gt={typeDel:!0,compare:et,index:Ke};Fe.push(gt),Ke++}});let He="";const Ve=Fe.length;for(const et in Fe)parseInt(et,10)===Ve-1&&(Fe[et]._last=!0),He=He+ve.fn(Fe[et]);return He}}document.addEventListener("DOMContentLoaded",()=>{Ht(),I(),m().highlightAll()});function Ht(){var Ge;let Le=[{type:"DELETE",url:"/api/comment/:id",title:"delete comment",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"comment.js",groupTitle:"Comment",name:"DeleteApiCommentId"},{type:"GET",url:"/api/comment",title:"Get comment list for client",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"path",isArray:!1,description:"

comment url path

"},{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"sortBy",isArray:!1,description:"

comment sort type, one of 'insertedAt_desc', 'insertedAt_asc', 'like_desc'

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"page",isArray:!1,description:"

return current comments list page

"},{group:"200",type:"Number",optional:!1,field:"pageSize",isArray:!1,description:"

to return error message if error

"},{group:"200",type:"Object[]",optional:!1,field:"data",isArray:!0,description:"

comments list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.type",isArray:!1,description:"

comment login user type

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",isArray:!0,description:"

children comments list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.children",parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.children",type:"Object[]",isArray:!0},field:"data.children.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiComment"},{type:"GET",url:"/api/comment?type=count",title:"Get comment count for articles",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

a array string join by comma just like a or a,b, return site comment count if url empty

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{examples:[{title:"Single Path Response:",content:"300",type:"Number"},{title:"Multiple Path Response:",content:"[300, 100]",type:"Number"}]},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeCount"},{type:"GET",url:"/api/comment?type=list",title:"Get comment list for admin",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:""},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.page",isArray:!1,description:"

comments list current page

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.pageSize",isArray:!1,description:"

comments list page size

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.totalPages",isArray:!1,description:"

comments list total pages

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.spamCount",isArray:!1,description:"

spam comments count

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.waitingCount",isArray:!1,description:"

waiting comments count

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",isArray:!0,description:"

comments list data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.ip",isArray:!1,description:"

comment user ip address

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.status",isArray:!1,description:"

comment status, approved, waiting or spam

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.ua",isArray:!1,description:"

comment user agent

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.url",isArray:!1,description:"

comment article link

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeList"},{type:"GET",url:"/api/comment?type=recent",title:"Get recent comments",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"count",isArray:!1,description:"

return comments number, default value is 10

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Object[]",optional:!1,field:"response",isArray:!0,description:""},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"response",field:"response",type:"Object[]",isArray:!0},field:"response.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"GetApiCommentTypeRecent"},{type:"POST",url:"/api/comment",title:"post comment",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"nick",isArray:!1,description:"

post comment user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"mail",isArray:!1,description:"

post comment user mail address

"},{group:"Parameter",type:"String",optional:!1,field:"link",isArray:!1,description:"

post comment user link

"},{group:"Parameter",type:"String",optional:!1,field:"comment",isArray:!1,description:"

post comment text

"},{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

the article url path of comment

"},{group:"Parameter",type:"String",optional:!1,field:"ua",isArray:!1,description:"

browser user agent

"},{group:"Parameter",type:"String",optional:!1,field:"pid",isArray:!1,description:"

parent comment id

"},{group:"Parameter",type:"String",optional:!1,field:"rid",isArray:!1,description:"

root comment id

"},{group:"Parameter",type:"String",optional:!1,field:"at",isArray:!1,description:"

parent comment user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

return comment data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.mail",isArray:!1,description:"

comment user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.objectId",isArray:!1,description:"

comment id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.browser",isArray:!1,description:"

comment user browser

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.os",isArray:!1,description:"

comment user os

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.insertedAt",isArray:!1,description:"

comment created time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.type",isArray:!1,description:"

comment login user type

"}]}},filename:"comment.js",groupTitle:"Comment",name:"PostApiComment"},{type:"PUT",url:"/api/comment/:id",title:"update comment data",group:"Comment",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!0,field:"nick",isArray:!1,description:"

post comment user nick name

"},{group:"Parameter",type:"String",optional:!0,field:"mail",isArray:!1,description:"

post comment user mail address

"},{group:"Parameter",type:"String",optional:!0,field:"link",isArray:!1,description:"

post comment user link

"},{group:"Parameter",type:"String",optional:!0,field:"comment",isArray:!1,description:"

post comment text

"},{group:"Parameter",type:"String",optional:!0,field:"url",isArray:!1,description:"

the article url path of comment

"},{group:"Parameter",type:"Boolean",optional:!0,field:"like",isArray:!1,description:"

like comment

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"comment.js",groupTitle:"Comment",name:"PutApiCommentId"},{type:"GET",url:"/api/oauth",title:"oauth api",group:"OAuth",version:"0.0.1",filename:"oauth.js",groupTitle:"OAuth",name:"GetApiOauth"},{type:"DELETE",url:"/api/db",title:"clean site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"DeleteApiDb"},{type:"GET",url:"/api/db",title:"export site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"GetApiDb"},{type:"POST",url:"/api/db",title:"import site data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"PostApiDb"},{type:"PUT",url:"/api/db",title:"update site table data",group:"Site",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},filename:"db.js",groupTitle:"Site",name:"PutApiDb"},{type:"DELETE",url:"/api/token",title:"user logout",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"token.js",groupTitle:"User",name:"DeleteApiToken"},{type:"GET",url:"/api/token",title:"get login user info",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

user info

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.avatar",isArray:!1,description:"

user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.createdAt",isArray:!1,description:"

user register time

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.display_name",isArray:!1,description:"

user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.email",isArray:!1,description:"

user email address

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.github",isArray:!1,description:"

user github account name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.mailMd5",isArray:!1,description:"

user mail md5

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.objectId",isArray:!1,description:"

user id

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.type",isArray:!1,description:"

user type, administrator or guest

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.url",isArray:!1,description:"

user link

"}]}},filename:"token.js",groupTitle:"User",name:"GetApiToken"},{type:"GET",url:"/api/user",title:"user top list without admin",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object[]",optional:!1,field:"data",isArray:!0,description:"

user list

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.level",isArray:!1,description:"

comment user level

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data",field:"data",type:"Object[]",isArray:!0},field:"data.count",isArray:!1,description:"

user comment count

"}]}},filename:"user.js",groupTitle:"User",name:"GetApiUser"},{type:"GET",url:"/api/user?token",title:"user list with admin login",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"page",isArray:!1,description:"

page

"},{group:"Parameter",type:"String",optional:!1,field:"pageSize",isArray:!1,description:"

page size

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"},{group:"200",type:"Object",optional:!1,field:"data",isArray:!1,description:"

user list

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.page",isArray:!1,description:"

user list current page

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.pageSize",isArray:!1,description:"

user list page size

"},{group:"200",type:"Number",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.totalPages",isArray:!1,description:"

user list total pages

"},{group:"200",type:"Object[]",optional:!1,parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",isArray:!0,description:"

user list data

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.nick",isArray:!1,description:"

comment user nick name

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.link",isArray:!1,description:"

comment user link

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.avatar",isArray:!1,description:"

comment user avatar

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.level",isArray:!1,description:"

comment user level

"},{group:"200",type:"String",optional:!1,parentNode:{path:"data.data",parentNode:{path:"data",field:"data",type:"Object",isArray:!1},field:"data.data",type:"Object[]",isArray:!0},field:"data.data.label",isArray:!1,description:"

comment user label

"}]}},filename:"user.js",groupTitle:"User",name:"GetApiUserToken"},{type:"POST",url:"/api/token",title:"user login",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"email",isArray:!1,description:"

login user email

"},{group:"Parameter",type:"String",optional:!1,field:"password",isArray:!1,description:"

login user password

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"token.js",groupTitle:"User",name:"PostApiToken"},{type:"POST",url:"/api/user",title:"user register",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!1,field:"display_name",isArray:!1,description:"

user nick name

"},{group:"Parameter",type:"String",optional:!1,field:"email",isArray:!1,description:"

user email

"},{group:"Parameter",type:"String",optional:!1,field:"password",isArray:!1,description:"

user password

"},{group:"Parameter",type:"String",optional:!1,field:"url",isArray:!1,description:"

user link

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"user.js",groupTitle:"User",name:"PostApiUser"},{type:"PUT",url:"/api/user",title:"update user profile",group:"User",version:"0.0.1",parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!0,field:"display_name",isArray:!1,description:"

user new nick name

"},{group:"Parameter",type:"String",optional:!0,field:"url",isArray:!1,description:"

user new link

"},{group:"Parameter",type:"String",optional:!0,field:"password",isArray:!1,description:"

user new password

"},{group:"Parameter",type:"String",optional:!0,field:"github",isArray:!1,description:"

user github account name

"},{group:"Parameter",type:"String",optional:!1,field:"lang",isArray:!1,description:"

language

"}]}},success:{fields:{200:[{group:"200",type:"Number",optional:!1,field:"errno",isArray:!1,description:"

0

"},{group:"200",type:"String",optional:!1,field:"errmsg",isArray:!1,description:"

return error message if error

"}]}},filename:"user.js",groupTitle:"User",name:"PutApiUser"}];const he={name:"waline-root",version:"0.0.0",description:"REST Api",title:"Waline API Documentation",sampleUrl:!1,defaultVersion:"0.0.0",apidoc:"0.3.0",generator:{name:"apidoc",time:"Sun Oct 13 2024 03:07:26 GMT+0000 (Coordinated Universal Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Re=l().compile(g()("#template-header").html()),be=l().compile(g()("#template-footer").html()),Z=l().compile(g()("#template-article").html()),ye=l().compile(g()("#template-compare-article").html()),de=l().compile(g()("#template-generator").html()),ve=l().compile(g()("#template-project").html()),Fe=l().compile(g()("#template-sections").html()),Ke=l().compile(g()("#template-sidenav").html()),He={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};he.template=Object.assign(He,(Ge=he.template)!=null?Ge:{}),he.template.forceLanguage&&At(he.template.forceLanguage);const Ve=(0,i.groupBy)(Le,ie=>ie.group),et={};g().each(Ve,(ie,re)=>{et[ie]=(0,i.groupBy)(re,ue=>ue.name)});const lt=[];g().each(et,(ie,re)=>{let ue=[];g().each(re,(le,_e)=>{const $e=_e[0].title;$e&&ue.push($e.toLowerCase()+"#~#"+le)}),ue.sort(),he.order&&(ue=Ne(ue,he.order,"#~#")),ue.forEach(le=>{const $e=le.split("#~#")[1];re[$e].forEach(Ie=>{lt.push(Ie)})})}),Le=lt;let gt={};const kt={};let Ot={};Ot[he.version]=1,g().each(Le,(ie,re)=>{gt[re.group]=1,kt[re.group]=re.groupTitle||re.group,Ot[re.version]=1}),gt=Object.keys(gt),gt.sort(),he.order&&(gt=we(kt,he.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const bt=[];gt.forEach(ie=>{bt.push({group:ie,isHeader:!0,title:kt[ie]});let re="";Le.forEach(ue=>{ue.group===ie&&(re!==ue.name?bt.push({title:ue.title,group:ie,name:ue.name,type:ue.type,version:ue.version,url:ue.url}):bt.push({title:ue.title,group:ie,hidden:!0,name:ue.name,type:ue.type,version:ue.version,url:ue.url}),re=ue.name)})});function pn(ie,re,ue){let le=!1;if(!re)return le;const _e=re.match(/(.+?)<\/h(1|2)>/gi);return _e&&_e.forEach(function($e){const Ie=$e.substring(2,3),ut=$e.replace(/<.+?>/g,""),xt=$e.match(/id="api-([^-]+)(?:-(.+))?"/),Rt=xt?xt[1]:null,mt=xt?xt[2]:null;Ie==="1"&&ut&&Rt&&(ie.splice(ue,0,{group:Rt,isHeader:!0,title:ut,isFixed:!0}),ue++,le=!0),Ie==="2"&&ut&&Rt&&mt&&(ie.splice(ue,0,{group:Rt,name:mt,isHeader:!1,title:ut,isFixed:!1,version:"1.0"}),ue++)}),le}let hn;if(he.header&&(hn=pn(bt,he.header.content,0),hn||bt.unshift({group:"_header",isHeader:!0,title:he.header.title==null?Et("General"):he.header.title,isFixed:!0})),he.footer){const ie=bt.length;hn=pn(bt,he.footer.content,bt.length),!hn&&he.footer.title!=null&&bt.splice(ie,0,{group:"_footer",isHeader:!0,title:he.footer.title,isFixed:!0})}const bn=he.title?he.title:"apiDoc: "+he.name+" - "+he.version;g()(document).attr("title",bn),g()("#loader").remove();const Fn={nav:bt};g()("#sidenav").append(Ke(Fn)),g()("#generator").append(de(he)),(0,i.extend)(he,{versions:Ot}),g()("#project").append(ve(he)),he.header&&g()("#header").append(Re(he.header)),he.footer&&(g()("#footer").append(be(he.footer)),he.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const Bt={};let kn="";gt.forEach(function(ie){const re=[];let ue="",le={},_e=ie,$e="";Bt[ie]={},Le.forEach(function(Ie){ie===Ie.group&&(ue!==Ie.name?(Le.forEach(function(ut){ie===ut.group&&Ie.name===ut.name&&(Object.prototype.hasOwnProperty.call(Bt[Ie.group],Ie.name)||(Bt[Ie.group][Ie.name]=[]),Bt[Ie.group][Ie.name].push(ut.version))}),le={article:Ie,versions:Bt[Ie.group][Ie.name]}):le={article:Ie,hidden:!0,versions:Bt[Ie.group][Ie.name]},he.sampleUrl&&he.sampleUrl===!0&&(he.sampleUrl=window.location.origin),he.url&&le.article.url.substr(0,4).toLowerCase()!=="http"&&(le.article.url=he.url+le.article.url),ae(le,Ie),Ie.groupTitle&&(_e=Ie.groupTitle),Ie.groupDescription&&($e=Ie.groupDescription),re.push({article:Z(le),group:Ie.group,name:Ie.name,aloneDisplay:he.template.aloneDisplay}),ue=Ie.name)}),le={group:ie,title:_e,description:$e,articles:re,aloneDisplay:he.template.aloneDisplay},kn+=Fe(le)}),g()("#sections").append(kn),he.template.aloneDisplay||(document.body.dataset.spy="scroll",g()("body").scrollspy({target:"#scrollingNav"})),g()(".form-control").on("focus change",function(){g()(this).removeClass("border-danger")}),g()(".sidenav").find("a").on("click",function(ie){ie.preventDefault();const re=this.getAttribute("href");if(he.template.aloneDisplay){const ue=document.querySelector(".sidenav > li.active");ue&&ue.classList.remove("active"),this.parentNode.classList.add("active")}else{const ue=document.querySelector(re);ue&&g()("html,body").animate({scrollTop:ue.offsetTop},400)}window.location.hash=re});function St(ie){let re=!1;return g().each(ie,ue=>{re=re||(0,i.some)(ie[ue],le=>le.type)}),re}function Bn(){g()('button[data-toggle="popover"]').popover().click(function(re){re.preventDefault()});const ie=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),he.template.withCompare&&g()("#sidenav li[data-version='"+ie+"']").each(function(){const re=g()(this).data("group"),ue=g()(this).data("name"),le=g()("#sidenav li[data-group='"+re+"'][data-name='"+ue+"']").length,_e=g()("#sidenav li[data-group='"+re+"'][data-name='"+ue+"']").index(g()(this));(le===1||_e===le-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(re){re.preventDefault(),g()(this).tab("show")}),g()(".nav-tabs-examples").find("a:first").tab("show"),g()(".sample-request-content-type-switch").change(function(){g()(this).val()==="body-form-data"?(g()("#sample-request-body-json-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-form-input-"+g()(this).data("id")).show()):(g()("#sample-request-body-form-input-"+g()(this).data("id")).hide(),g()("#sample-request-body-json-input-"+g()(this).data("id")).show())}),he.template.aloneDisplay&&(g()(".show-group").click(function(){const re="."+g()(this).attr("data-group")+"-group",ue="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(re).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(ue).removeClass("hide")}),g()(".show-api").click(function(){const re=this.getAttribute("href").substring(1),ue=document.getElementById("version").textContent.trim(),le=`.${this.dataset.name}-article`,_e=`[id="${re}-${ue}"]`,$e=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()($e).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ie=g()(le);g()(_e).length&&(Ie=g()(_e).parent()),Ie.removeClass("hide"),re.match(/_(header|footer)/)&&document.getElementById(re).classList.remove("hide")})),he.template.aloneDisplay||g()("body").scrollspy("refresh"),he.template.aloneDisplay){const re=decodeURI(window.location.hash);if(re!=null&&re.length!==0){const ue=document.getElementById("version").textContent.trim(),le=document.querySelector(`li .${re.slice(1)}-init`),_e=document.querySelector(`li[data-version="${ue}"] .show-api.${re.slice(1)}-init`);let $e=le;_e&&($e=_e),$e.click()}}}function B(ie){typeof ie=="undefined"?ie=g()("#version strong").html():g()("#version strong").html(ie),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const re={};document.querySelectorAll("article[data-version]").forEach(ue=>{const le=ue.dataset.group,_e=ue.dataset.name,$e=ue.dataset.version,Ie=le+_e;!re[Ie]&&r().lte($e,ie)&&(re[Ie]=!0,document.querySelector(`article[data-group="${le}"][data-name="${_e}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${le}"][data-name="${_e}"][data-version="${$e}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${le}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(ue){const le=g()(this).data("group");g()("section#api-"+le).removeClass("hide"),g()("section#api-"+le+" article:visible").length===0?g()("section#api-"+le).addClass("hide"):g()("section#api-"+le).removeClass("hide")})}if(B(),g()("#versions li.version a").on("click",function(ie){ie.preventDefault(),B(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",q),g().urlParam=function(ie){const re=new RegExp("[\\?&]"+ie+"=([^&#]*)").exec(window.location.href);return re&&re[1]?re[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const ie=decodeURI(window.location.hash);g()(ie).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(ie).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const ie=document.querySelector(".row-offcanvas");ie&&ie.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(ie=>{const re=ie.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((ue,le)=>g()(le).toggle(g()(le).text().toLowerCase().indexOf(re)>-1))},200)),g()("span.search-reset").on("click",function(){g()("#scrollingNav .sidenav-search input.search").val("").focus(),g()(".sidenav").find("a.nav-list-item").show()});function V(ie,re){let ue=null;return(...le)=>{clearTimeout(ue),ue=setTimeout(ie.bind(this,...le),re||0)}}function q(ie){ie.preventDefault();const re=g()(this).parents("article"),ue=g()(this).html(),le=re.find(".version"),_e=le.find("strong").html();le.find("strong").html(ue);const $e=re.data("group"),Ie=re.data("name"),ut=re.data("version"),xt=re.data("compare-version");if(xt!==ue&&!(!xt&&ut===ue)){if(xt&&Bt[$e][Ie][0]===ue||ut===ue)xe($e,Ie,ut);else{let Rt={},mt={};g().each(et[$e][Ie],function(or,Vn){Vn.version===ut&&(Rt=Vn),Vn.version===ue&&(mt=Vn)});const at={article:Rt,compare:mt,versions:Bt[$e][Ie]};at.article.id=at.article.group+"-"+at.article.name+"-"+at.article.version,at.article.id=at.article.id.replace(/\./g,"_"),at.compare.id=at.compare.group+"-"+at.compare.name+"-"+at.compare.version,at.compare.id=at.compare.id.replace(/\./g,"_");let nt=Rt;nt.header&&nt.header.fields&&(at._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(at._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(at._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(at._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(at._hasTypeInInfoFields=St(nt.info.fields)),nt=mt,at._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(at._hasTypeInHeaderFields=St(nt.header.fields)),at._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(at._hasTypeInParameterFields=St(nt.parameter.fields)),at._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(at._hasTypeInErrorFields=St(nt.error.fields)),at._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(at._hasTypeInSuccessFields=St(nt.success.fields)),at._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(at._hasTypeInInfoFields=St(nt.info.fields));const pi=ye(at);re.after(pi),re.next().find(".versions li.version a").on("click",q),g()("#sidenav li[data-group='"+$e+"'][data-name='"+Ie+"'][data-version='"+_e+"']").addClass("has-modifications"),re.remove()}Bn(),m().highlightAll()}}function ee(ie){ie.preventDefault(),g()("article:visible .versions").each(function(){const ue=g()(this).parents("article").data("version");let le=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(ie).forEach(_e=>{ie[_e].replace(/_/g," ")===le&&ue.push(_e)})}),Object.keys(ie).forEach(le=>{ue.indexOf(le)===-1&&ue.push(le)}),ue}Bn()}})()})(); diff --git a/api/index.html b/api/index.html index 65ce1e6aec..b52643b801 100644 --- a/api/index.html +++ b/api/index.html @@ -5,15 +5,15 @@ - - - - - - - - - + + + + + + + + + @@ -1042,6 +1042,6 @@

{{__ "Request Body"}}

- +