From 7dc345f2e49bcfeb1e0551a02fd18f6ab9751805 Mon Sep 17 00:00:00 2001 From: Mister-Hope Date: Sun, 21 Apr 2024 16:33:45 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20walinejs?= =?UTF-8?q?/waline@9f3ff584eb368f12c8bb1e8770ce9822bf01aaaf=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- api/assets/main.bundle.js | 2 +- api/index.html | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/404.html b/404.html index 4e15f67443..da83fdd7aa 100644 --- a/404.html +++ b/404.html @@ -34,7 +34,7 @@ -
跳至主要內容
+
跳至主要內容
diff --git a/api/assets/main.bundle.js b/api/assets/main.bundle.js index 994e48f788..e31664d095 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 u=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,o={},i={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function A(C){return C instanceof l?new l(C.type,A(C.content),C.alias):Array.isArray(C)?C.map(A):C.replace(/&/g,"&").replace(/"+M.content+""};function m(A,C,_,P){A.lastIndex=C;var M=A.exec(_);if(M&&P&&M[1]){var I=M[1].length;M.index+=I,M[0]=M[0].slice(I)}return M}function a(A,C,_,P,M,I){for(var N in _)if(!(!_.hasOwnProperty(N)||!_[N])){var T=_[N];T=Array.isArray(T)?T:[T];for(var R=0;R=I.reach);q+=H.value.length,H=H.next){var ie=H.value;if(C.length>A.length)return;if(!(ie instanceof l)){var fe=1,Z;if(O){if(Z=m(z,q,A,G),!Z||Z.index>=A.length)break;var je=Z.index,Ee=Z.index+Z[0].length,Ae=q;for(Ae+=H.value.length;je>=Ae;)H=H.next,Ae+=H.value.length;if(Ae-=H.value.length,q=Ae,H.value instanceof l)continue;for(var xe=H;xe!==C.tail&&(AeI.reach&&(I.reach=Dt);var pe=H.prev;Et&&(pe=d(C,pe,Et),q+=Et.length),p(C,pe,fe);var Pe=new l(N,W?i.tokenize(pt,W):pt,$,pt);if(H=d(C,pe,Pe),At&&d(C,H,At),fe>1){var Se={cause:N+","+R,reach:Dt};a(A,C,_,H.prev,q,Se),I&&Se.reach>I.reach&&(I.reach=Se.reach)}}}}}}function v(){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 d(A,C,_){var P=C.next,M={value:_,prev:C,next:P};return C.next=M,P.prev=M,A.length++,M}function p(A,C,_){for(var P=C.next,M=0;M<_&&P!==A.tail;M++)P=P.next;C.next=P,P.prev=C,A.length-=M}function E(A){for(var C=[],_=A.head.next;_!==A.tail;)C.push(_.value),_=_.next;return C}if(!n.document)return n.addEventListener&&(i.disableWorkerMessageHandler||n.addEventListener("message",function(A){var C=JSON.parse(A.data),_=C.language,P=C.code,M=C.immediateClose;n.postMessage(i.highlight(P,i.languages[_],_)),M&&n.close()},!1)),i;var y=i.util.currentScript();y&&(i.filename=y.src,y.hasAttribute("data-manual")&&(i.manual=!0));function S(){i.manual||i.highlightAll()}if(!i.manual){var b=document.readyState;b==="loading"||b==="interactive"&&y&&y.defer?document.addEventListener("DOMContentLoaded",S):window.requestAnimationFrame?window.requestAnimationFrame(S):window.setTimeout(S,16)}return i}(c);w.exports&&(w.exports=r),typeof s.g!="undefined"&&(s.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(u,h){var o={};o["language-"+h]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[h]},o.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:o}};i["language-"+h]={pattern:/[\s\S]+/,inside:r.languages[h]};var l={};l[u]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return u}),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,u){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:[u,"language-"+u],inside:r.languages[u]},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 u=/(?:"(?:\\(?:\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+"|"+u.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\\((?:"+u.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+u.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+u.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:u,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 h=n.languages.markup;h&&(h.tag.addInlined("style","css"),h.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",u=function(y,S){return"\u2716 Error "+y+" while fetching file: "+S},h="\u2716 Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},i="data-src-status",l="loading",m="loaded",a="failed",v="pre[data-src]:not(["+i+'="'+m+'"]):not(['+i+'="'+l+'"])';function d(y,S,b){var A=new XMLHttpRequest;A.open("GET",y,!0),A.onreadystatechange=function(){A.readyState==4&&(A.status<400&&A.responseText?S(A.responseText):A.status>=400?b(u(A.status,A.statusText)):b(h))},A.send(null)}function p(y){var S=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(S){var b=Number(S[1]),A=S[2],C=S[3];return A?C?[b,Number(C)]:[b,void 0]:[b,b]}}r.hooks.add("before-highlightall",function(y){y.selector+=", "+v}),r.hooks.add("before-sanity-check",function(y){var S=y.element;if(S.matches(v)){y.code="",S.setAttribute(i,l);var b=S.appendChild(document.createElement("CODE"));b.textContent=n;var A=S.getAttribute("data-src"),C=y.language;if(C==="none"){var _=(/\.(\w+)$/.exec(A)||[,"none"])[1];C=o[_]||_}r.util.setLanguage(b,C),r.util.setLanguage(S,C);var P=r.plugins.autoloader;P&&P.loadLanguages(C),d(A,function(M){S.setAttribute(i,m);var I=p(S.getAttribute("data-range"));if(I){var N=M.split(/\r\n?|\n/g),T=I[0],R=I[1]==null?N.length:I[1];T<0&&(T+=N.length),T=Math.max(0,Math.min(T-1,N.length)),R<0&&(R+=N.length),R=Math.max(0,Math.min(R,N.length)),M=N.slice(T,R).join(` `),S.hasAttribute("data-start")||S.setAttribute("data-start",String(T+1))}b.textContent=M,r.highlightElement(b)},function(M){S.setAttribute(i,a),b.textContent=M})}}),r.plugins.fileHighlight={highlight:function(S){for(var b=(S||document).querySelectorAll(v),A=0,C;C=b[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)}}()},5329:(w,g,s)=>{const c=Symbol("SemVer ANY");class r{static get ANY(){return c}constructor(v,d){if(d=n(d),v instanceof r){if(v.loose===!!d.loose)return v;v=v.value}v=v.trim().split(/\s+/).join(" "),i("comparator",v,d),this.options=d,this.loose=!!d.loose,this.parse(v),this.semver===c?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(v){const d=this.options.loose?u[h.COMPARATORLOOSE]:u[h.COMPARATOR],p=v.match(d);if(!p)throw new TypeError(`Invalid comparator: ${v}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new l(p[2],this.options.loose):this.semver=c}toString(){return this.value}test(v){if(i("Comparator.test",v,this.options.loose),this.semver===c||v===c)return!0;if(typeof v=="string")try{v=new l(v,this.options)}catch(d){return!1}return o(v,this.operator,this.semver,this.options)}intersects(v,d){if(!(v instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new m(v.value,d).test(this.value):v.operator===""?v.value===""?!0:new m(this.value,d).test(v.semver):(d=n(d),d.includePrerelease&&(this.value==="<0.0.0-0"||v.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||v.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&v.operator.startsWith(">")||this.operator.startsWith("<")&&v.operator.startsWith("<")||this.semver.version===v.semver.version&&this.operator.includes("=")&&v.operator.includes("=")||o(this.semver,"<",v.semver,d)&&this.operator.startsWith(">")&&v.operator.startsWith("<")||o(this.semver,">",v.semver,d)&&this.operator.startsWith("<")&&v.operator.startsWith(">")))}}w.exports=r;const n=s(3682),{safeRe:u,t:h}=s(7493),o=s(1848),i=s(8397),l=s(1353),m=s(6664)},6664:(w,g,s)=>{class c{constructor($,k){if(k=u(k),$ instanceof c)return $.loose===!!k.loose&&$.includePrerelease===!!k.includePrerelease?$:new c($.raw,k);if($ instanceof h)return this.raw=$.value,this.set=[[$]],this.format(),this;if(this.options=k,this.loose=!!k.loose,this.includePrerelease=!!k.includePrerelease,this.raw=$.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(z=>this.parseRange(z.trim())).filter(z=>z.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const z=this.set[0];if(this.set=this.set.filter(H=>!y(H[0])),this.set.length===0)this.set=[z];else if(this.set.length>1){for(const H of this.set)if(H.length===1&&S(H[0])){this.set=[H];break}}}this.format()}format(){return this.range=this.set.map($=>$.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange($){const z=((this.options.includePrerelease&&p)|(this.options.loose&&E))+":"+$,H=n.get(z);if(H)return H;const q=this.options.loose,ie=q?l[m.HYPHENRANGELOOSE]:l[m.HYPHENRANGE];$=$.replace(ie,W(this.options.includePrerelease)),o("hyphen replace",$),$=$.replace(l[m.COMPARATORTRIM],a),o("comparator trim",$),$=$.replace(l[m.TILDETRIM],v),o("tilde trim",$),$=$.replace(l[m.CARETTRIM],d),o("caret trim",$);let fe=$.split(" ").map(xe=>A(xe,this.options)).join(" ").split(/\s+/).map(xe=>B(xe,this.options));q&&(fe=fe.filter(xe=>(o("loose invalid filter",xe,this.options),!!xe.match(l[m.COMPARATORLOOSE])))),o("range list",fe);const Z=new Map,Ee=fe.map(xe=>new h(xe,this.options));for(const xe of Ee){if(y(xe))return[xe];Z.set(xe.value,xe)}Z.size>1&&Z.has("")&&Z.delete("");const Ae=[...Z.values()];return n.set(z,Ae),Ae}intersects($,k){if(!($ instanceof c))throw new TypeError("a Range is required");return this.set.some(z=>b(z,k)&&$.set.some(H=>b(H,k)&&z.every(q=>H.every(ie=>q.intersects(ie,k)))))}test($){if(!$)return!1;if(typeof $=="string")try{$=new i($,this.options)}catch(k){return!1}for(let k=0;kO.value==="<0.0.0-0",S=O=>O.value==="",b=(O,$)=>{let k=!0;const z=O.slice();let H=z.pop();for(;k&&z.length;)k=z.every(q=>H.intersects(q,$)),H=z.pop();return k},A=(O,$)=>(o("comp",O,$),O=M(O,$),o("caret",O),O=_(O,$),o("tildes",O),O=N(O,$),o("xrange",O),O=R(O,$),o("stars",O),O),C=O=>!O||O.toLowerCase()==="x"||O==="*",_=(O,$)=>O.trim().split(/\s+/).map(k=>P(k,$)).join(" "),P=(O,$)=>{const k=$.loose?l[m.TILDELOOSE]:l[m.TILDE];return O.replace(k,(z,H,q,ie,fe)=>{o("tilde",O,z,H,q,ie,fe);let Z;return C(H)?Z="":C(q)?Z=`>=${H}.0.0 <${+H+1}.0.0-0`:C(ie)?Z=`>=${H}.${q}.0 <${H}.${+q+1}.0-0`:fe?(o("replaceTilde pr",fe),Z=`>=${H}.${q}.${ie}-${fe} <${H}.${+q+1}.0-0`):Z=`>=${H}.${q}.${ie} <${H}.${+q+1}.0-0`,o("tilde return",Z),Z})},M=(O,$)=>O.trim().split(/\s+/).map(k=>I(k,$)).join(" "),I=(O,$)=>{o("caret",O,$);const k=$.loose?l[m.CARETLOOSE]:l[m.CARET],z=$.includePrerelease?"-0":"";return O.replace(k,(H,q,ie,fe,Z)=>{o("caret",O,H,q,ie,fe,Z);let Ee;return C(q)?Ee="":C(ie)?Ee=`>=${q}.0.0${z} <${+q+1}.0.0-0`:C(fe)?q==="0"?Ee=`>=${q}.${ie}.0${z} <${q}.${+ie+1}.0-0`:Ee=`>=${q}.${ie}.0${z} <${+q+1}.0.0-0`:Z?(o("replaceCaret pr",Z),q==="0"?ie==="0"?Ee=`>=${q}.${ie}.${fe}-${Z} <${q}.${ie}.${+fe+1}-0`:Ee=`>=${q}.${ie}.${fe}-${Z} <${q}.${+ie+1}.0-0`:Ee=`>=${q}.${ie}.${fe}-${Z} <${+q+1}.0.0-0`):(o("no pr"),q==="0"?ie==="0"?Ee=`>=${q}.${ie}.${fe}${z} <${q}.${ie}.${+fe+1}-0`:Ee=`>=${q}.${ie}.${fe}${z} <${q}.${+ie+1}.0-0`:Ee=`>=${q}.${ie}.${fe} <${+q+1}.0.0-0`),o("caret return",Ee),Ee})},N=(O,$)=>(o("replaceXRanges",O,$),O.split(/\s+/).map(k=>T(k,$)).join(" ")),T=(O,$)=>{O=O.trim();const k=$.loose?l[m.XRANGELOOSE]:l[m.XRANGE];return O.replace(k,(z,H,q,ie,fe,Z)=>{o("xRange",O,z,H,q,ie,fe,Z);const Ee=C(q),Ae=Ee||C(ie),xe=Ae||C(fe),je=xe;return H==="="&&je&&(H=""),Z=$.includePrerelease?"-0":"",Ee?H===">"||H==="<"?z="<0.0.0-0":z="*":H&&je?(Ae&&(ie=0),fe=0,H===">"?(H=">=",Ae?(q=+q+1,ie=0,fe=0):(ie=+ie+1,fe=0)):H==="<="&&(H="<",Ae?q=+q+1:ie=+ie+1),H==="<"&&(Z="-0"),z=`${H+q}.${ie}.${fe}${Z}`):Ae?z=`>=${q}.0.0${Z} <${+q+1}.0.0-0`:xe&&(z=`>=${q}.${ie}.0${Z} <${q}.${+ie+1}.0-0`),o("xRange return",z),z})},R=(O,$)=>(o("replaceStars",O,$),O.trim().replace(l[m.STAR],"")),B=(O,$)=>(o("replaceGTE0",O,$),O.trim().replace(l[$.includePrerelease?m.GTE0PRE:m.GTE0],"")),W=O=>($,k,z,H,q,ie,fe,Z,Ee,Ae,xe,je,pt)=>(C(z)?k="":C(H)?k=`>=${z}.0.0${O?"-0":""}`:C(q)?k=`>=${z}.${H}.0${O?"-0":""}`:ie?k=`>=${k}`:k=`>=${k}${O?"-0":""}`,C(Ee)?Z="":C(Ae)?Z=`<${+Ee+1}.0.0-0`:C(xe)?Z=`<${Ee}.${+Ae+1}.0-0`:je?Z=`<=${Ee}.${Ae}.${xe}-${je}`:O?Z=`<${Ee}.${Ae}.${+xe+1}-0`:Z=`<=${Z}`,`${k} ${Z}`.trim()),G=(O,$,k)=>{for(let z=0;z0){const H=O[z].semver;if(H.major===$.major&&H.minor===$.minor&&H.patch===$.patch)return!0}return!1}return!0}},1353:(w,g,s)=>{const c=s(8397),{MAX_LENGTH:r,MAX_SAFE_INTEGER:n}=s(6331),{safeRe:u,t:h}=s(7493),o=s(3682),{compareIdentifiers:i}=s(4522);class l{constructor(a,v){if(v=o(v),a instanceof l){if(a.loose===!!v.loose&&a.includePrerelease===!!v.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>r)throw new TypeError(`version is longer than ${r} characters`);c("SemVer",a,v),this.options=v,this.loose=!!v.loose,this.includePrerelease=!!v.includePrerelease;const d=a.trim().match(v.loose?u[h.LOOSE]:u[h.FULL]);if(!d)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+d[1],this.minor=+d[2],this.patch=+d[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");d[4]?this.prerelease=d[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){const E=+p;if(E>=0&&E=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(v===this.prerelease.join(".")&&d===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(p)}}if(v){let E=[v,p];d===!1&&(E=[v]),i(this.prerelease[0],v)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}w.exports=l},7229:(w,g,s)=>{const c=s(295),r=(n,u)=>{const h=c(n.trim().replace(/^[=v]+/,""),u);return h?h.version:null};w.exports=r},1848:(w,g,s)=>{const c=s(3052),r=s(8360),n=s(7701),u=s(1142),h=s(4514),o=s(8155),i=(l,m,a,v)=>{switch(m){case"===":return typeof l=="object"&&(l=l.version),typeof a=="object"&&(a=a.version),l===a;case"!==":return typeof l=="object"&&(l=l.version),typeof a=="object"&&(a=a.version),l!==a;case"":case"=":case"==":return c(l,a,v);case"!=":return r(l,a,v);case">":return n(l,a,v);case">=":return u(l,a,v);case"<":return h(l,a,v);case"<=":return o(l,a,v);default:throw new TypeError(`Invalid operator: ${m}`)}};w.exports=i},5835:(w,g,s)=>{const c=s(1353),r=s(295),{safeRe:n,t:u}=s(7493),h=(o,i)=>{if(o instanceof c)return o;if(typeof o=="number"&&(o=String(o)),typeof o!="string")return null;i=i||{};let l=null;if(!i.rtl)l=o.match(i.includePrerelease?n[u.COERCEFULL]:n[u.COERCE]);else{const E=i.includePrerelease?n[u.COERCERTLFULL]:n[u.COERCERTL];let y;for(;(y=E.exec(o))&&(!l||l.index+l[0].length!==o.length);)(!l||y.index+y[0].length!==l.index+l[0].length)&&(l=y),E.lastIndex=y.index+y[1].length+y[2].length;E.lastIndex=-1}if(l===null)return null;const m=l[2],a=l[3]||"0",v=l[4]||"0",d=i.includePrerelease&&l[5]?`-${l[5]}`:"",p=i.includePrerelease&&l[6]?`+${l[6]}`:"";return r(`${m}.${a}.${v}${d}${p}`,i)};w.exports=h},4382:(w,g,s)=>{const c=s(1353),r=(n,u,h)=>{const o=new c(n,h),i=new c(u,h);return o.compare(i)||o.compareBuild(i)};w.exports=r},560:(w,g,s)=>{const c=s(9055),r=(n,u)=>c(n,u,!0);w.exports=r},9055:(w,g,s)=>{const c=s(1353),r=(n,u,h)=>new c(n,h).compare(new c(u,h));w.exports=r},6641:(w,g,s)=>{const c=s(295),r=(n,u)=>{const h=c(n,null,!0),o=c(u,null,!0),i=h.compare(o);if(i===0)return null;const l=i>0,m=l?h:o,a=l?o:h,v=!!m.prerelease.length;if(!!a.prerelease.length&&!v)return!a.patch&&!a.minor?"major":m.patch?"patch":m.minor?"minor":"major";const p=v?"pre":"";return h.major!==o.major?p+"major":h.minor!==o.minor?p+"minor":h.patch!==o.patch?p+"patch":"prerelease"};w.exports=r},3052:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)===0;w.exports=r},7701:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)>0;w.exports=r},1142:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)>=0;w.exports=r},3688:(w,g,s)=>{const c=s(1353),r=(n,u,h,o,i)=>{typeof h=="string"&&(i=o,o=h,h=void 0);try{return new c(n instanceof c?n.version:n,h).inc(u,o,i).version}catch(l){return null}};w.exports=r},4514:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)<0;w.exports=r},8155:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)<=0;w.exports=r},9961:(w,g,s)=>{const c=s(1353),r=(n,u)=>new c(n,u).major;w.exports=r},7149:(w,g,s)=>{const c=s(1353),r=(n,u)=>new c(n,u).minor;w.exports=r},8360:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(n,u,h)!==0;w.exports=r},295:(w,g,s)=>{const c=s(1353),r=(n,u,h=!1)=>{if(n instanceof c)return n;try{return new c(n,u)}catch(o){if(!h)return null;throw o}};w.exports=r},918:(w,g,s)=>{const c=s(1353),r=(n,u)=>new c(n,u).patch;w.exports=r},7408:(w,g,s)=>{const c=s(295),r=(n,u)=>{const h=c(n,u);return h&&h.prerelease.length?h.prerelease:null};w.exports=r},3199:(w,g,s)=>{const c=s(9055),r=(n,u,h)=>c(u,n,h);w.exports=r},5342:(w,g,s)=>{const c=s(4382),r=(n,u)=>n.sort((h,o)=>c(o,h,u));w.exports=r},2625:(w,g,s)=>{const c=s(6664),r=(n,u,h)=>{try{u=new c(u,h)}catch(o){return!1}return u.test(n)};w.exports=r},2510:(w,g,s)=>{const c=s(4382),r=(n,u)=>n.sort((h,o)=>c(h,o,u));w.exports=r},4318:(w,g,s)=>{const c=s(295),r=(n,u)=>{const h=c(n,u);return h?h.version:null};w.exports=r},9582:(w,g,s)=>{const c=s(7493),r=s(6331),n=s(1353),u=s(4522),h=s(295),o=s(4318),i=s(7229),l=s(3688),m=s(6641),a=s(9961),v=s(7149),d=s(918),p=s(7408),E=s(9055),y=s(3199),S=s(560),b=s(4382),A=s(2510),C=s(5342),_=s(7701),P=s(4514),M=s(3052),I=s(8360),N=s(1142),T=s(8155),R=s(1848),B=s(5835),W=s(5329),G=s(6664),O=s(2625),$=s(7832),k=s(67),z=s(8473),H=s(1476),q=s(5199),ie=s(4042),fe=s(5014),Z=s(7803),Ee=s(1467),Ae=s(274),xe=s(5875);w.exports={parse:h,valid:o,clean:i,inc:l,diff:m,major:a,minor:v,patch:d,prerelease:p,compare:E,rcompare:y,compareLoose:S,compareBuild:b,sort:A,rsort:C,gt:_,lt:P,eq:M,neq:I,gte:N,lte:T,cmp:R,coerce:B,Comparator:W,Range:G,satisfies:O,toComparators:$,maxSatisfying:k,minSatisfying:z,minVersion:H,validRange:q,outside:ie,gtr:fe,ltr:Z,intersects:Ee,simplifyRange:Ae,subset:xe,SemVer:n,re:c.re,src:c.src,tokens:c.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:u.compareIdentifiers,rcompareIdentifiers:u.rcompareIdentifiers}},6331:w=>{const g="2.0.0",c=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,n=256-6,u=["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:c,RELEASE_TYPES:u,SEMVER_SPEC_VERSION:g,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},8397:w=>{const g=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...s)=>console.error("SEMVER",...s):()=>{};w.exports=g},4522:w=>{const g=/^[0-9]+$/,s=(r,n)=>{const u=g.test(r),h=g.test(n);return u&&h&&(r=+r,n=+n),r===n?0:u&&!h?-1:h&&!u?1:rs(n,r);w.exports={compareIdentifiers:s,rcompareIdentifiers:c}},3682:w=>{const g=Object.freeze({loose:!0}),s=Object.freeze({}),c=r=>r?typeof r!="object"?g:r:s;w.exports=c},7493:(w,g,s)=>{const{MAX_SAFE_COMPONENT_LENGTH:c,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:n}=s(6331),u=s(8397);g=w.exports={};const h=g.re=[],o=g.safeRe=[],i=g.src=[],l=g.t={};let m=0;const a="[a-zA-Z0-9-]",v=[["\\s",1],["\\d",n],[a,r]],d=E=>{for(const[y,S]of v)E=E.split(`${y}*`).join(`${y}{0,${S}}`).split(`${y}+`).join(`${y}{1,${S}}`);return E},p=(E,y,S)=>{const b=d(y),A=m++;u(E,A,y),l[E]=A,i[A]=y,h[A]=new RegExp(y,S?"g":void 0),o[A]=new RegExp(b,S?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${a}*`),p("MAINVERSION",`(${i[l.NUMERICIDENTIFIER]})\\.(${i[l.NUMERICIDENTIFIER]})\\.(${i[l.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${i[l.NUMERICIDENTIFIERLOOSE]})\\.(${i[l.NUMERICIDENTIFIERLOOSE]})\\.(${i[l.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${i[l.NUMERICIDENTIFIER]}|${i[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${i[l.NUMERICIDENTIFIERLOOSE]}|${i[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${i[l.PRERELEASEIDENTIFIER]}(?:\\.${i[l.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${i[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[l.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${a}+`),p("BUILD",`(?:\\+(${i[l.BUILDIDENTIFIER]}(?:\\.${i[l.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${i[l.MAINVERSION]}${i[l.PRERELEASE]}?${i[l.BUILD]}?`),p("FULL",`^${i[l.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${i[l.MAINVERSIONLOOSE]}${i[l.PRERELEASELOOSE]}?${i[l.BUILD]}?`),p("LOOSE",`^${i[l.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${i[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${i[l.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${i[l.XRANGEIDENTIFIER]})(?:\\.(${i[l.XRANGEIDENTIFIER]})(?:\\.(${i[l.XRANGEIDENTIFIER]})(?:${i[l.PRERELEASE]})?${i[l.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${i[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[l.XRANGEIDENTIFIERLOOSE]})(?:${i[l.PRERELEASELOOSE]})?${i[l.BUILD]}?)?)?`),p("XRANGE",`^${i[l.GTLT]}\\s*${i[l.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${i[l.GTLT]}\\s*${i[l.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${c}})(?:\\.(\\d{1,${c}}))?(?:\\.(\\d{1,${c}}))?`),p("COERCE",`${i[l.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",i[l.COERCEPLAIN]+`(?:${i[l.PRERELEASE]})?(?:${i[l.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",i[l.COERCE],!0),p("COERCERTLFULL",i[l.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${i[l.LONETILDE]}\\s+`,!0),g.tildeTrimReplace="$1~",p("TILDE",`^${i[l.LONETILDE]}${i[l.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${i[l.LONETILDE]}${i[l.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${i[l.LONECARET]}\\s+`,!0),g.caretTrimReplace="$1^",p("CARET",`^${i[l.LONECARET]}${i[l.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${i[l.LONECARET]}${i[l.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${i[l.GTLT]}\\s*(${i[l.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${i[l.GTLT]}\\s*(${i[l.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${i[l.GTLT]}\\s*(${i[l.LOOSEPLAIN]}|${i[l.XRANGEPLAIN]})`,!0),g.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${i[l.XRANGEPLAIN]})\\s+-\\s+(${i[l.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${i[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[l.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5014:(w,g,s)=>{const c=s(4042),r=(n,u,h)=>c(n,u,">",h);w.exports=r},1467:(w,g,s)=>{const c=s(6664),r=(n,u,h)=>(n=new c(n,h),u=new c(u,h),n.intersects(u,h));w.exports=r},7803:(w,g,s)=>{const c=s(4042),r=(n,u,h)=>c(n,u,"<",h);w.exports=r},67:(w,g,s)=>{const c=s(1353),r=s(6664),n=(u,h,o)=>{let i=null,l=null,m=null;try{m=new r(h,o)}catch(a){return null}return u.forEach(a=>{m.test(a)&&(!i||l.compare(a)===-1)&&(i=a,l=new c(i,o))}),i};w.exports=n},8473:(w,g,s)=>{const c=s(1353),r=s(6664),n=(u,h,o)=>{let i=null,l=null,m=null;try{m=new r(h,o)}catch(a){return null}return u.forEach(a=>{m.test(a)&&(!i||l.compare(a)===1)&&(i=a,l=new c(i,o))}),i};w.exports=n},1476:(w,g,s)=>{const c=s(1353),r=s(6664),n=s(7701),u=(h,o)=>{h=new r(h,o);let i=new c("0.0.0");if(h.test(i)||(i=new c("0.0.0-0"),h.test(i)))return i;i=null;for(let l=0;l{const d=new c(v.semver.version);switch(v.operator){case">":d.prerelease.length===0?d.patch++:d.prerelease.push(0),d.raw=d.format();case"":case">=":(!a||n(d,a))&&(a=d);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${v.operator}`)}}),a&&(!i||n(i,a))&&(i=a)}return i&&h.test(i)?i:null};w.exports=u},4042:(w,g,s)=>{const c=s(1353),r=s(5329),{ANY:n}=r,u=s(6664),h=s(2625),o=s(7701),i=s(4514),l=s(8155),m=s(1142),a=(v,d,p,E)=>{v=new c(v,E),d=new u(d,E);let y,S,b,A,C;switch(p){case">":y=o,S=l,b=i,A=">",C=">=";break;case"<":y=i,S=m,b=o,A="<",C="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(h(v,d,E))return!1;for(let _=0;_{N.semver===n&&(N=new r(">=0.0.0")),M=M||N,I=I||N,y(N.semver,M.semver,E)?M=N:b(N.semver,I.semver,E)&&(I=N)}),M.operator===A||M.operator===C||(!I.operator||I.operator===A)&&S(v,I.semver))return!1;if(I.operator===C&&b(v,I.semver))return!1}return!0};w.exports=a},274:(w,g,s)=>{const c=s(2625),r=s(9055);w.exports=(n,u,h)=>{const o=[];let i=null,l=null;const m=n.sort((p,E)=>r(p,E,h));for(const p of m)c(p,u,h)?(l=p,i||(i=p)):(l&&o.push([i,l]),l=null,i=null);i&&o.push([i,null]);const a=[];for(const[p,E]of o)p===E?a.push(p):!E&&p===m[0]?a.push("*"):E?p===m[0]?a.push(`<=${E}`):a.push(`${p} - ${E}`):a.push(`>=${p}`);const v=a.join(" || "),d=typeof u.raw=="string"?u.raw:String(u);return v.length{const c=s(6664),r=s(5329),{ANY:n}=r,u=s(2625),h=s(9055),o=(d,p,E={})=>{if(d===p)return!0;d=new c(d,E),p=new c(p,E);let y=!1;e:for(const S of d.set){for(const b of p.set){const A=m(S,b,E);if(y=y||A!==null,A)continue e}if(y)return!1}return!0},i=[new r(">=0.0.0-0")],l=[new r(">=0.0.0")],m=(d,p,E)=>{if(d===p)return!0;if(d.length===1&&d[0].semver===n){if(p.length===1&&p[0].semver===n)return!0;E.includePrerelease?d=i:d=l}if(p.length===1&&p[0].semver===n){if(E.includePrerelease)return!0;p=l}const y=new Set;let S,b;for(const T of d)T.operator===">"||T.operator===">="?S=a(S,T,E):T.operator==="<"||T.operator==="<="?b=v(b,T,E):y.add(T.semver);if(y.size>1)return null;let A;if(S&&b){if(A=h(S.semver,b.semver,E),A>0)return null;if(A===0&&(S.operator!==">="||b.operator!=="<="))return null}for(const T of y){if(S&&!u(T,String(S),E)||b&&!u(T,String(b),E))return null;for(const R of p)if(!u(T,String(R),E))return!1;return!0}let C,_,P,M,I=b&&!E.includePrerelease&&b.semver.prerelease.length?b.semver:!1,N=S&&!E.includePrerelease&&S.semver.prerelease.length?S.semver:!1;I&&I.prerelease.length===1&&b.operator==="<"&&I.prerelease[0]===0&&(I=!1);for(const T of p){if(M=M||T.operator===">"||T.operator===">=",P=P||T.operator==="<"||T.operator==="<=",S){if(N&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===N.major&&T.semver.minor===N.minor&&T.semver.patch===N.patch&&(N=!1),T.operator===">"||T.operator===">="){if(C=a(S,T,E),C===T&&C!==S)return!1}else if(S.operator===">="&&!u(S.semver,String(T),E))return!1}if(b){if(I&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===I.major&&T.semver.minor===I.minor&&T.semver.patch===I.patch&&(I=!1),T.operator==="<"||T.operator==="<="){if(_=v(b,T,E),_===T&&_!==b)return!1}else if(b.operator==="<="&&!u(b.semver,String(T),E))return!1}if(!T.operator&&(b||S)&&A!==0)return!1}return!(S&&P&&!b&&A!==0||b&&M&&!S&&A!==0||N||I)},a=(d,p,E)=>{if(!d)return p;const y=h(d.semver,p.semver,E);return y>0?d:y<0||p.operator===">"&&d.operator===">="?p:d},v=(d,p,E)=>{if(!d)return p;const y=h(d.semver,p.semver,E);return y<0?d:y>0||p.operator==="<"&&d.operator==="<="?p:d};w.exports=o},7832:(w,g,s)=>{const c=s(6664),r=(n,u)=>new c(n,u).set.map(h=>h.map(o=>o.value).join(" ").trim().split(" "));w.exports=r},5199:(w,g,s)=>{const c=s(6664),r=(n,u)=>{try{return new c(n,u).range||"*"}catch(h){return null}};w.exports=r},7311:w=>{"use strict";w.exports=function(g){g.prototype[Symbol.iterator]=function*(){for(let s=this.head;s;s=s.next)yield s.value}}},536:(w,g,s)=>{"use strict";w.exports=c,c.Node=h,c.create=c;function c(o){var i=this;if(i instanceof c||(i=new c),i.tail=null,i.head=null,i.length=0,o&&typeof o.forEach=="function")o.forEach(function(a){i.push(a)});else if(arguments.length>0)for(var l=0,m=arguments.length;l1)l=i;else if(this.head)m=this.head.next,l=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var a=0;m!==null;a++)l=o(l,m.value,a),m=m.next;return l},c.prototype.reduceReverse=function(o,i){var l,m=this.tail;if(arguments.length>1)l=i;else if(this.tail)m=this.tail.prev,l=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var a=this.length-1;m!==null;a--)l=o(l,m.value,a),m=m.prev;return l},c.prototype.toArray=function(){for(var o=new Array(this.length),i=0,l=this.head;l!==null;i++)o[i]=l.value,l=l.next;return o},c.prototype.toArrayReverse=function(){for(var o=new Array(this.length),i=0,l=this.tail;l!==null;i++)o[i]=l.value,l=l.prev;return o},c.prototype.slice=function(o,i){i=i||this.length,i<0&&(i+=this.length),o=o||0,o<0&&(o+=this.length);var l=new c;if(ithis.length&&(i=this.length);for(var m=0,a=this.head;a!==null&&mthis.length&&(i=this.length);for(var m=this.length,a=this.tail;a!==null&&m>i;m--)a=a.prev;for(;a!==null&&m>o;m--,a=a.prev)l.push(a.value);return l},c.prototype.splice=function(o,i,...l){o>this.length&&(o=this.length-1),o<0&&(o=this.length+o);for(var m=0,a=this.head;a!==null&&m{var g=w&&w.__esModule?()=>w.default:()=>w;return rt.d(g,{a:g}),g},rt.d=(w,g)=>{for(var s in g)rt.o(g,s)&&!rt.o(w,s)&&Object.defineProperty(w,s,{enumerable:!0,get:g[s]})},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),s=rt(2935),c=rt(9582),r=rt.n(c),n=rt(4499),u=rt.n(n),h=rt(2902),o=rt(9144),i=rt(1310),l=rt(8978),m=rt(5172),a=rt(3870),v=rt.n(a),d=rt(8520),p=rt(8121),E=rt(8228),y=rt(3474),S=rt(5696),b=rt(4295),A=rt(1439),C=rt(6941);class _{hydrate(he,Re){const Te=new URL(he,typeof window=="undefined"?"https://dummy.base":window.location.origin),j={};Te.pathname.split("/").forEach((me,de)=>{if(me.charAt(0)===":"){const ve=me.slice(1);typeof Re[ve]!="undefined"&&(Te.pathname=Te.pathname.replace(me,encodeURIComponent(Re[ve])),j[ve]=Re[ve])}});for(const me in Re)(typeof j[me]=="undefined"||Te.searchParams.has(me))&&Te.searchParams.set(me,Re[me]);return Te.toString()}}function P(){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"),Te=he.data("name"),j=he.data("version");T(Re,Te,j,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"),Te=he.data("name"),j=he.data("version");R(Re,Te,j)})}function M(Le){return Le.replace(/{(.+?)}/g,":$1")}function I(Le,he){const Re=Le.find(".sample-request-url").val(),Te=new _,j=M(Re);return Te.hydrate(j,he)}function N(Le){const he={};["header","query","body"].forEach(Te=>{const j={};try{Le.find(g()(`[data-family="${Te}"]:visible`)).each((me,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;j[ve]=Fe})}catch(me){return}he[Te]=j});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 T(Le,he,Re,Te){const j=g()(`article[data-group="${Le}"][data-name="${he}"][data-version="${Re}"]`),me=N(j),de={};if(de.url=I(j,me.query),de.headers=me.header,de.headers["Content-Type"]==="application/json")de.data=me.body;else if(de.headers["Content-Type"]==="multipart/form-data"){const He=new FormData;for(const[Ue,Ye]of Object.entries(me.body))He.append(Ue,Ye);de.data=He,de.processData=!1,delete de.headers["Content-Type"],de.contentType=!1}de.type=Te,de.success=ve,de.error=Fe,g().ajax(de),j.find(".sample-request-response").fadeTo(200,1),j.find(".sample-request-response-json").html("Loading...");function ve(He,Ue,Ye){let et;try{et=JSON.parse(Ye.responseText),et=JSON.stringify(et,null,4)}catch(ot){et=Ye.responseText}j.find(".sample-request-response-json").text(et),v().highlightAll()}function Fe(He,Ue,Ye){let et="Error "+He.status+": "+Ye,ot;try{ot=JSON.parse(He.responseText),ot=JSON.stringify(ot,null,4)}catch(gt){ot=He.responseText}ot&&(et+=` `+ot),j.find(".sample-request-response").is(":visible")&&j.find(".sample-request-response").fadeTo(1,.1),j.find(".sample-request-response").fadeTo(250,1),j.find(".sample-request-response-json").text(et),v().highlightAll()}}function R(Le,he,Re){const Te=g()('article[data-group="'+Le+'"][data-name="'+he+'"][data-version="'+Re+'"]');Te.find(".sample-request-response-json").html(""),Te.find(".sample-request-response").hide(),Te.find(".sample-request-input").each((me,de)=>{de.value=de.placeholder!==de.dataset.name?de.placeholder:""});const j=Te.find(".sample-request-url");j.val(j.prop("defaultValue"))}const B={"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!"},O={"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!"},$={"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!"},k={"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!"},ie={"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!"},fe={"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!"},Z={"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!"},Ee={"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!"},Ae={"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!"},xe={ca:B,cn:Ae,cs:W,de:G,es:O,en:{},fr:$,it:k,nl:z,pl:H,pt:q,pt_br:q,ro:ie,ru:fe,tr:Z,vi:Ee,zh:Ae,zh_cn:Ae},je=((tt=window.navigator.language)!=null?tt:"en-GB").toLowerCase().substr(0,2);let pt=xe[je]?xe[je]:xe.en;function Et(Le){const he=pt[Le];return he===void 0?Le:he}function At(Le){if(!Object.prototype.hasOwnProperty.call(xe,Le))throw new Error(`Invalid value for language setting! Available values are ${Object.keys(xe).join(",")}`);pt=xe[Le]}const Dt=Le=>{let he={};const Re=(me,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},me),Te=(me,de,ve)=>{me?Array.isArray(me)?me.length?me[0][de]=ve:me.push({[de]:ve}):me[de]=ve:he[de]=ve};Le.forEach(me=>{const{parentNode:de,field:ve,type:Fe}=me[0],He=de?Re(he,de.path):void 0,Ue=He?ve.substring(de.path.length+1):ve,Ye=Fe.indexOf("[]")!==-1;Fe.indexOf("Object")!==-1?Te(He,Ue,Ye?[]:{}):Te(He,Ue,Ye?[]:me[1])});const j=Object.keys(he);return j.length===1&&Le[0][0].optional&&(he=he[j[0]]),pe(he)};function pe(Le){return JSON.stringify(Le,null,4)}function Pe(Le){const he=[];return Le.forEach(Re=>{let Te;switch(Re.type.toLowerCase()){case"string":Te=Re.defaultValue||"";break;case"boolean":Te=Boolean(Re.defaultValue)||!1;break;case"number":Te=parseInt(Re.defaultValue||0,10);break;case"date":Te=Re.defaultValue||new Date().toLocaleDateString(window.navigator.language);break}he.push([Re,Te])}),Dt(he)}var Se=rt(2617);class Me extends Se{constructor(he){super(),this.testMode=he}diffMain(he,Re,Te,j){return super.diff_main(this._stripHtml(he),this._stripHtml(Re),Te,j)}diffLineMode(he,Re){const Te=this.diff_linesToChars_(he,Re),j=Te.chars1,me=Te.chars2,de=Te.lineArray,ve=super.diff_main(j,me,!1);return this.diff_charsToLines_(ve,de),ve}diffPrettyHtml(he){const Re=[],Te=/&/g,j=//g,de=/\n/g;for(let ve=0;ve");switch(Fe){case Se.DIFF_INSERT:Re[ve]=""+Ue+"";break;case Se.DIFF_DELETE:Re[ve]=""+Ue+"";break;case Se.DIFF_EQUAL:Re[ve]=""+Ue+"";break}}return Re.join("")}diffPrettyCode(he){const Re=[],Te=/\n/g;for(let j=0;j'+et+""}),j)}),u().registerHelper("setInputType",function(j){switch(j){case"File":case"Email":case"Color":case"Number":case"Date":return j[0].toLowerCase()+j.substring(1);case"Boolean":return"checkbox";default:return"text"}});let Le;u().registerHelper("startTimer",function(j){return Le=new Date,""}),u().registerHelper("stopTimer",function(j){return console.log(new Date-Le),""}),u().registerHelper("__",function(j){return Et(j)}),u().registerHelper("cl",function(j){return console.log(j),""}),u().registerHelper("underscoreToSpace",function(j){return j.replace(/(_+)/g," ")}),u().registerHelper("removeDblQuotes",function(j){return j.replace(/"/g,"")}),u().registerHelper("assign",function(j){if(arguments.length>0){const me=typeof arguments[1];let de=null;(me==="string"||me==="number"||me==="boolean")&&(de=arguments[1]),u().registerHelper(j,function(){return de})}return""}),u().registerHelper("nl2br",function(j){return Re(j)}),u().registerHelper("ifNotObject",function(j,me){return j&&j.indexOf("Object")!==0?me.fn(this):me.inverse(this)}),u().registerHelper("ifCond",function(j,me,de,ve){switch(me){case"==":return j==de?ve.fn(this):ve.inverse(this);case"===":return j===de?ve.fn(this):ve.inverse(this);case"!=":return j!=de?ve.fn(this):ve.inverse(this);case"!==":return j!==de?ve.fn(this):ve.inverse(this);case"<":return j":return j>de?ve.fn(this):ve.inverse(this);case">=":return j>=de?ve.fn(this):ve.inverse(this);case"&&":return j&&de?ve.fn(this):ve.inverse(this);case"||":return j||de?ve.fn(this):ve.inverse(this);default:return ve.inverse(this)}});const he={};u().registerHelper("subTemplate",function(j,me){he[j]||(he[j]=u().compile(document.getElementById("template-"+j).innerHTML));const de=he[j],ve=g().extend({},this,me.hash);return new(u()).SafeString(de(ve))}),u().registerHelper("toLowerCase",function(j){return j&&typeof j=="string"?j.toLowerCase():""}),u().registerHelper("dot2bracket",function(j){const{parentNode:me,field:de,isArray:ve}=j;let Fe="";if(me){let He=j;do{const Ue=He.parentNode;Ue.isArray&&(Fe=`[]${Fe}`),Ue.parentNode?Fe=`[${Ue.field.substring(Ue.parentNode.path.length+1)}]${Fe}`:Fe=Ue.field+Fe,He=He.parentNode}while(He.parentNode);Fe+=`[${de.substring(me.path.length+1)}]`}else Fe=de,ve&&(Fe+="[]");return Fe}),u().registerHelper("nestObject",function(j){const{parentNode:me,field:de}=j;return me?"  ".repeat(me.path.split(".").length)+de.substring(me.path.length+1):de});function Re(j){return(""+j).replace(/(?:^|<\/pre>)[^]*?(?:
|$)/g,me=>me.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1
$2"))}u().registerHelper("each_compare_list_field",function(j,me,de){const ve=de.hash.field,Fe=[];j&&j.forEach(function(Ue){const Ye=Ue;Ye.key=Ue[ve],Fe.push(Ye)});const He=[];return me&&me.forEach(function(Ue){const Ye=Ue;Ye.key=Ue[ve],He.push(Ye)}),Te("key",Fe,He,de)}),u().registerHelper("each_compare_keys",function(j,me,de){const ve=[];j&&Object.keys(j).forEach(function(Ue){const Ye={};Ye.value=j[Ue],Ye.key=Ue,ve.push(Ye)});const Fe=[];return me&&Object.keys(me).forEach(function(Ue){const Ye={};Ye.value=me[Ue],Ye.key=Ue,Fe.push(Ye)}),Te("key",ve,Fe,de)}),u().registerHelper("body2json",function(j,me){return Pe(j)}),u().registerHelper("each_compare_field",function(j,me,de){return Te("field",j,me,de)}),u().registerHelper("each_compare_title",function(j,me,de){return Te("title",j,me,de)}),u().registerHelper("reformat",function(j,me){if(me==="json")try{return JSON.stringify(JSON.parse(j.trim()),null," ")}catch(de){}return j}),u().registerHelper("showDiff",function(j,me,de){let ve="";if(j===me)ve=j;else{if(!j)return me;if(!me)return j;const Fe=new Me;if(de==="code"){const He=Fe.diffLineMode(me,j);ve=Fe.diffPrettyCode(He)}else{const He=Fe.diffMain(me,j);Fe.diffCleanupSemantic(He),ve=Fe.diffPrettyHtml(He),ve=ve.replace(/¶/gm,""),de==="nl2br"&&(ve=Re(ve))}}return ve});function Te(j,me,de,ve){const Fe=[];let He=0;me&&me.forEach(function(et){let ot=!1;if(de&&de.forEach(function(gt){if(et[j]===gt[j]){const Bt={typeSame:!0,source:et,compare:gt,index:He};Fe.push(Bt),ot=!0,He++}}),!ot){const gt={typeIns:!0,source:et,index:He};Fe.push(gt),He++}}),de&&de.forEach(function(et){let ot=!1;if(me&&me.forEach(function(gt){gt[j]===et[j]&&(ot=!0)}),!ot){const gt={typeDel:!0,compare:et,index:He};Fe.push(gt),He++}});let Ue="";const Ye=Fe.length;for(const et in Fe)parseInt(et,10)===Ye-1&&(Fe[et]._last=!0),Ue=Ue+ve.fn(Fe[et]);return Ue}}document.addEventListener("DOMContentLoaded",()=>{Ht(),P(),v().highlightAll()});function Ht(){var Ke;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 Apr 21 2024 16:31:46 GMT+0000 (Coordinated Universal Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Re=u().compile(g()("#template-header").html()),Te=u().compile(g()("#template-footer").html()),j=u().compile(g()("#template-article").html()),me=u().compile(g()("#template-compare-article").html()),de=u().compile(g()("#template-generator").html()),ve=u().compile(g()("#template-project").html()),Fe=u().compile(g()("#template-sections").html()),He=u().compile(g()("#template-sidenav").html()),Ue={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};he.template=Object.assign(Ue,(Ke=he.template)!=null?Ke:{}),he.template.forceLanguage&&At(he.template.forceLanguage);const Ye=(0,s.groupBy)(Le,re=>re.group),et={};g().each(Ye,(re,ne)=>{et[re]=(0,s.groupBy)(ne,le=>le.name)});const ot=[];g().each(et,(re,ne)=>{let le=[];g().each(ne,(oe,_e)=>{const ke=_e[0].title;ke&&le.push(ke.toLowerCase()+"#~#"+oe)}),le.sort(),he.order&&(le=Ne(le,he.order,"#~#")),le.forEach(oe=>{const ke=oe.split("#~#")[1];ne[ke].forEach(Ie=>{ot.push(Ie)})})}),Le=ot;let gt={};const Bt={};let Ot={};Ot[he.version]=1,g().each(Le,(re,ne)=>{gt[ne.group]=1,Bt[ne.group]=ne.groupTitle||ne.group,Ot[ne.version]=1}),gt=Object.keys(gt),gt.sort(),he.order&&(gt=we(Bt,he.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const Tt=[];gt.forEach(re=>{Tt.push({group:re,isHeader:!0,title:Bt[re]});let ne="";Le.forEach(le=>{le.group===re&&(ne!==le.name?Tt.push({title:le.title,group:re,name:le.name,type:le.type,version:le.version,url:le.url}):Tt.push({title:le.title,group:re,hidden:!0,name:le.name,type:le.type,version:le.version,url:le.url}),ne=le.name)})});function pn(re,ne,le){let oe=!1;if(!ne)return oe;const _e=ne.match(/(.+?)<\/h(1|2)>/gi);return _e&&_e.forEach(function(ke){const Ie=ke.substring(2,3),lt=ke.replace(/<.+?>/g,""),xt=ke.match(/id="api-([^-]+)(?:-(.+))?"/),Rt=xt?xt[1]:null,vt=xt?xt[2]:null;Ie==="1"&<&&Rt&&(re.splice(le,0,{group:Rt,isHeader:!0,title:lt,isFixed:!0}),le++,oe=!0),Ie==="2"&<&&Rt&&vt&&(re.splice(le,0,{group:Rt,name:vt,isHeader:!1,title:lt,isFixed:!1,version:"1.0"}),le++)}),oe}let hn;if(he.header&&(hn=pn(Tt,he.header.content,0),hn||Tt.unshift({group:"_header",isHeader:!0,title:he.header.title==null?Et("General"):he.header.title,isFixed:!0})),he.footer){const re=Tt.length;hn=pn(Tt,he.footer.content,Tt.length),!hn&&he.footer.title!=null&&Tt.splice(re,0,{group:"_footer",isHeader:!0,title:he.footer.title,isFixed:!0})}const Tn=he.title?he.title:"apiDoc: "+he.name+" - "+he.version;g()(document).attr("title",Tn),g()("#loader").remove();const Fn={nav:Tt};g()("#sidenav").append(He(Fn)),g()("#generator").append(de(he)),(0,s.extend)(he,{versions:Ot}),g()("#project").append(ve(he)),he.header&&g()("#header").append(Re(he.header)),he.footer&&(g()("#footer").append(Te(he.footer)),he.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const kt={};let Bn="";gt.forEach(function(re){const ne=[];let le="",oe={},_e=re,ke="";kt[re]={},Le.forEach(function(Ie){re===Ie.group&&(le!==Ie.name?(Le.forEach(function(lt){re===lt.group&&Ie.name===lt.name&&(Object.prototype.hasOwnProperty.call(kt[Ie.group],Ie.name)||(kt[Ie.group][Ie.name]=[]),kt[Ie.group][Ie.name].push(lt.version))}),oe={article:Ie,versions:kt[Ie.group][Ie.name]}):oe={article:Ie,hidden:!0,versions:kt[Ie.group][Ie.name]},he.sampleUrl&&he.sampleUrl===!0&&(he.sampleUrl=window.location.origin),he.url&&oe.article.url.substr(0,4).toLowerCase()!=="http"&&(oe.article.url=he.url+oe.article.url),se(oe,Ie),Ie.groupTitle&&(_e=Ie.groupTitle),Ie.groupDescription&&(ke=Ie.groupDescription),ne.push({article:j(oe),group:Ie.group,name:Ie.name,aloneDisplay:he.template.aloneDisplay}),le=Ie.name)}),oe={group:re,title:_e,description:ke,articles:ne,aloneDisplay:he.template.aloneDisplay},Bn+=Fe(oe)}),g()("#sections").append(Bn),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(re){re.preventDefault();const ne=this.getAttribute("href");if(he.template.aloneDisplay){const le=document.querySelector(".sidenav > li.active");le&&le.classList.remove("active"),this.parentNode.classList.add("active")}else{const le=document.querySelector(ne);le&&g()("html,body").animate({scrollTop:le.offsetTop},400)}window.location.hash=ne});function St(re){let ne=!1;return g().each(re,le=>{ne=ne||(0,s.some)(re[le],oe=>oe.type)}),ne}function kn(){g()('button[data-toggle="popover"]').popover().click(function(ne){ne.preventDefault()});const re=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),he.template.withCompare&&g()("#sidenav li[data-version='"+re+"']").each(function(){const ne=g()(this).data("group"),le=g()(this).data("name"),oe=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").length,_e=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").index(g()(this));(oe===1||_e===oe-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(ne){ne.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 ne="."+g()(this).attr("data-group")+"-group",le="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(ne).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(le).removeClass("hide")}),g()(".show-api").click(function(){const ne=this.getAttribute("href").substring(1),le=document.getElementById("version").textContent.trim(),oe=`.${this.dataset.name}-article`,_e=`[id="${ne}-${le}"]`,ke=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()(ke).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ie=g()(oe);g()(_e).length&&(Ie=g()(_e).parent()),Ie.removeClass("hide"),ne.match(/_(header|footer)/)&&document.getElementById(ne).classList.remove("hide")})),he.template.aloneDisplay||g()("body").scrollspy("refresh"),he.template.aloneDisplay){const ne=decodeURI(window.location.hash);if(ne!=null&&ne.length!==0){const le=document.getElementById("version").textContent.trim(),oe=document.querySelector(`li .${ne.slice(1)}-init`),_e=document.querySelector(`li[data-version="${le}"] .show-api.${ne.slice(1)}-init`);let ke=oe;_e&&(ke=_e),ke.click()}}}function U(re){typeof re=="undefined"?re=g()("#version strong").html():g()("#version strong").html(re),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const ne={};document.querySelectorAll("article[data-version]").forEach(le=>{const oe=le.dataset.group,_e=le.dataset.name,ke=le.dataset.version,Ie=oe+_e;!ne[Ie]&&r().lte(ke,re)&&(ne[Ie]=!0,document.querySelector(`article[data-group="${oe}"][data-name="${_e}"][data-version="${ke}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${oe}"][data-name="${_e}"][data-version="${ke}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${oe}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(le){const oe=g()(this).data("group");g()("section#api-"+oe).removeClass("hide"),g()("section#api-"+oe+" article:visible").length===0?g()("section#api-"+oe).addClass("hide"):g()("section#api-"+oe).removeClass("hide")})}if(U(),g()("#versions li.version a").on("click",function(re){re.preventDefault(),U(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",Q),g().urlParam=function(re){const ne=new RegExp("[\\?&]"+re+"=([^&#]*)").exec(window.location.href);return ne&&ne[1]?ne[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const re=decodeURI(window.location.hash);g()(re).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(re).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const re=document.querySelector(".row-offcanvas");re&&re.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(re=>{const ne=re.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((le,oe)=>g()(oe).toggle(g()(oe).text().toLowerCase().indexOf(ne)>-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(re,ne){let le=null;return(...oe)=>{clearTimeout(le),le=setTimeout(re.bind(this,...oe),ne||0)}}function Q(re){re.preventDefault();const ne=g()(this).parents("article"),le=g()(this).html(),oe=ne.find(".version"),_e=oe.find("strong").html();oe.find("strong").html(le);const ke=ne.data("group"),Ie=ne.data("name"),lt=ne.data("version"),xt=ne.data("compare-version");if(xt!==le&&!(!xt&<===le)){if(xt&&kt[ke][Ie][0]===le||lt===le)Ce(ke,Ie,lt);else{let Rt={},vt={};g().each(et[ke][Ie],function(or,Vn){Vn.version===lt&&(Rt=Vn),Vn.version===le&&(vt=Vn)});const st={article:Rt,compare:vt,versions:kt[ke][Ie]};st.article.id=st.article.group+"-"+st.article.name+"-"+st.article.version,st.article.id=st.article.id.replace(/\./g,"_"),st.compare.id=st.compare.group+"-"+st.compare.name+"-"+st.compare.version,st.compare.id=st.compare.id.replace(/\./g,"_");let nt=Rt;nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields)),nt=vt,st._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),st._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),st._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),st._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),st._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields));const pi=me(st);ne.after(pi),ne.next().find(".versions li.version a").on("click",Q),g()("#sidenav li[data-group='"+ke+"'][data-name='"+Ie+"'][data-version='"+_e+"']").addClass("has-modifications"),ne.remove()}kn(),v().highlightAll()}}function ee(re){re.preventDefault(),g()("article:visible .versions").each(function(){const le=g()(this).parents("article").data("version");let oe=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(re).forEach(_e=>{re[_e].replace(/_/g," ")===oe&&le.push(_e)})}),Object.keys(re).forEach(oe=>{le.indexOf(oe)===-1&&le.push(oe)}),le}kn()}})()})(); +`;switch(me){case Se.DIFF_INSERT:Re[j]=de.replace(/^(.)/gm,"+ $1")+ve;break;case Se.DIFF_DELETE:Re[j]=de.replace(/^(.)/gm,"- $1")+ve;break;case Se.DIFF_EQUAL:Re[j]=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(){u().registerHelper("markdown",function(j){return j&&(j=j.replace(/((\[(.*?)\])?\(#)((.+?):(.+?))(\))/mg,function(me,de,ve,Fe,He,Ue,Ye){const et=Fe||Ue+"/"+Ye;return''+et+""}),j)}),u().registerHelper("setInputType",function(j){switch(j){case"File":case"Email":case"Color":case"Number":case"Date":return j[0].toLowerCase()+j.substring(1);case"Boolean":return"checkbox";default:return"text"}});let Le;u().registerHelper("startTimer",function(j){return Le=new Date,""}),u().registerHelper("stopTimer",function(j){return console.log(new Date-Le),""}),u().registerHelper("__",function(j){return Et(j)}),u().registerHelper("cl",function(j){return console.log(j),""}),u().registerHelper("underscoreToSpace",function(j){return j.replace(/(_+)/g," ")}),u().registerHelper("removeDblQuotes",function(j){return j.replace(/"/g,"")}),u().registerHelper("assign",function(j){if(arguments.length>0){const me=typeof arguments[1];let de=null;(me==="string"||me==="number"||me==="boolean")&&(de=arguments[1]),u().registerHelper(j,function(){return de})}return""}),u().registerHelper("nl2br",function(j){return Re(j)}),u().registerHelper("ifNotObject",function(j,me){return j&&j.indexOf("Object")!==0?me.fn(this):me.inverse(this)}),u().registerHelper("ifCond",function(j,me,de,ve){switch(me){case"==":return j==de?ve.fn(this):ve.inverse(this);case"===":return j===de?ve.fn(this):ve.inverse(this);case"!=":return j!=de?ve.fn(this):ve.inverse(this);case"!==":return j!==de?ve.fn(this):ve.inverse(this);case"<":return j":return j>de?ve.fn(this):ve.inverse(this);case">=":return j>=de?ve.fn(this):ve.inverse(this);case"&&":return j&&de?ve.fn(this):ve.inverse(this);case"||":return j||de?ve.fn(this):ve.inverse(this);default:return ve.inverse(this)}});const he={};u().registerHelper("subTemplate",function(j,me){he[j]||(he[j]=u().compile(document.getElementById("template-"+j).innerHTML));const de=he[j],ve=g().extend({},this,me.hash);return new(u()).SafeString(de(ve))}),u().registerHelper("toLowerCase",function(j){return j&&typeof j=="string"?j.toLowerCase():""}),u().registerHelper("dot2bracket",function(j){const{parentNode:me,field:de,isArray:ve}=j;let Fe="";if(me){let He=j;do{const Ue=He.parentNode;Ue.isArray&&(Fe=`[]${Fe}`),Ue.parentNode?Fe=`[${Ue.field.substring(Ue.parentNode.path.length+1)}]${Fe}`:Fe=Ue.field+Fe,He=He.parentNode}while(He.parentNode);Fe+=`[${de.substring(me.path.length+1)}]`}else Fe=de,ve&&(Fe+="[]");return Fe}),u().registerHelper("nestObject",function(j){const{parentNode:me,field:de}=j;return me?"  ".repeat(me.path.split(".").length)+de.substring(me.path.length+1):de});function Re(j){return(""+j).replace(/(?:^|<\/pre>)[^]*?(?:
|$)/g,me=>me.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1
$2"))}u().registerHelper("each_compare_list_field",function(j,me,de){const ve=de.hash.field,Fe=[];j&&j.forEach(function(Ue){const Ye=Ue;Ye.key=Ue[ve],Fe.push(Ye)});const He=[];return me&&me.forEach(function(Ue){const Ye=Ue;Ye.key=Ue[ve],He.push(Ye)}),Te("key",Fe,He,de)}),u().registerHelper("each_compare_keys",function(j,me,de){const ve=[];j&&Object.keys(j).forEach(function(Ue){const Ye={};Ye.value=j[Ue],Ye.key=Ue,ve.push(Ye)});const Fe=[];return me&&Object.keys(me).forEach(function(Ue){const Ye={};Ye.value=me[Ue],Ye.key=Ue,Fe.push(Ye)}),Te("key",ve,Fe,de)}),u().registerHelper("body2json",function(j,me){return Pe(j)}),u().registerHelper("each_compare_field",function(j,me,de){return Te("field",j,me,de)}),u().registerHelper("each_compare_title",function(j,me,de){return Te("title",j,me,de)}),u().registerHelper("reformat",function(j,me){if(me==="json")try{return JSON.stringify(JSON.parse(j.trim()),null," ")}catch(de){}return j}),u().registerHelper("showDiff",function(j,me,de){let ve="";if(j===me)ve=j;else{if(!j)return me;if(!me)return j;const Fe=new Me;if(de==="code"){const He=Fe.diffLineMode(me,j);ve=Fe.diffPrettyCode(He)}else{const He=Fe.diffMain(me,j);Fe.diffCleanupSemantic(He),ve=Fe.diffPrettyHtml(He),ve=ve.replace(/¶/gm,""),de==="nl2br"&&(ve=Re(ve))}}return ve});function Te(j,me,de,ve){const Fe=[];let He=0;me&&me.forEach(function(et){let ot=!1;if(de&&de.forEach(function(gt){if(et[j]===gt[j]){const Bt={typeSame:!0,source:et,compare:gt,index:He};Fe.push(Bt),ot=!0,He++}}),!ot){const gt={typeIns:!0,source:et,index:He};Fe.push(gt),He++}}),de&&de.forEach(function(et){let ot=!1;if(me&&me.forEach(function(gt){gt[j]===et[j]&&(ot=!0)}),!ot){const gt={typeDel:!0,compare:et,index:He};Fe.push(gt),He++}});let Ue="";const Ye=Fe.length;for(const et in Fe)parseInt(et,10)===Ye-1&&(Fe[et]._last=!0),Ue=Ue+ve.fn(Fe[et]);return Ue}}document.addEventListener("DOMContentLoaded",()=>{Ht(),P(),v().highlightAll()});function Ht(){var Ke;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 Apr 21 2024 16:33:38 GMT+0000 (Coordinated Universal Time)",url:"https://apidocjs.com",version:"1.2.0"}};dt();const Re=u().compile(g()("#template-header").html()),Te=u().compile(g()("#template-footer").html()),j=u().compile(g()("#template-article").html()),me=u().compile(g()("#template-compare-article").html()),de=u().compile(g()("#template-generator").html()),ve=u().compile(g()("#template-project").html()),Fe=u().compile(g()("#template-sections").html()),He=u().compile(g()("#template-sidenav").html()),Ue={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};he.template=Object.assign(Ue,(Ke=he.template)!=null?Ke:{}),he.template.forceLanguage&&At(he.template.forceLanguage);const Ye=(0,s.groupBy)(Le,re=>re.group),et={};g().each(Ye,(re,ne)=>{et[re]=(0,s.groupBy)(ne,le=>le.name)});const ot=[];g().each(et,(re,ne)=>{let le=[];g().each(ne,(oe,_e)=>{const ke=_e[0].title;ke&&le.push(ke.toLowerCase()+"#~#"+oe)}),le.sort(),he.order&&(le=Ne(le,he.order,"#~#")),le.forEach(oe=>{const ke=oe.split("#~#")[1];ne[ke].forEach(Ie=>{ot.push(Ie)})})}),Le=ot;let gt={};const Bt={};let Ot={};Ot[he.version]=1,g().each(Le,(re,ne)=>{gt[ne.group]=1,Bt[ne.group]=ne.groupTitle||ne.group,Ot[ne.version]=1}),gt=Object.keys(gt),gt.sort(),he.order&&(gt=we(Bt,he.order)),Ot=Object.keys(Ot),Ot.sort(r().compare),Ot.reverse();const Tt=[];gt.forEach(re=>{Tt.push({group:re,isHeader:!0,title:Bt[re]});let ne="";Le.forEach(le=>{le.group===re&&(ne!==le.name?Tt.push({title:le.title,group:re,name:le.name,type:le.type,version:le.version,url:le.url}):Tt.push({title:le.title,group:re,hidden:!0,name:le.name,type:le.type,version:le.version,url:le.url}),ne=le.name)})});function pn(re,ne,le){let oe=!1;if(!ne)return oe;const _e=ne.match(/(.+?)<\/h(1|2)>/gi);return _e&&_e.forEach(function(ke){const Ie=ke.substring(2,3),lt=ke.replace(/<.+?>/g,""),xt=ke.match(/id="api-([^-]+)(?:-(.+))?"/),Rt=xt?xt[1]:null,vt=xt?xt[2]:null;Ie==="1"&<&&Rt&&(re.splice(le,0,{group:Rt,isHeader:!0,title:lt,isFixed:!0}),le++,oe=!0),Ie==="2"&<&&Rt&&vt&&(re.splice(le,0,{group:Rt,name:vt,isHeader:!1,title:lt,isFixed:!1,version:"1.0"}),le++)}),oe}let hn;if(he.header&&(hn=pn(Tt,he.header.content,0),hn||Tt.unshift({group:"_header",isHeader:!0,title:he.header.title==null?Et("General"):he.header.title,isFixed:!0})),he.footer){const re=Tt.length;hn=pn(Tt,he.footer.content,Tt.length),!hn&&he.footer.title!=null&&Tt.splice(re,0,{group:"_footer",isHeader:!0,title:he.footer.title,isFixed:!0})}const Tn=he.title?he.title:"apiDoc: "+he.name+" - "+he.version;g()(document).attr("title",Tn),g()("#loader").remove();const Fn={nav:Tt};g()("#sidenav").append(He(Fn)),g()("#generator").append(de(he)),(0,s.extend)(he,{versions:Ot}),g()("#project").append(ve(he)),he.header&&g()("#header").append(Re(he.header)),he.footer&&(g()("#footer").append(Te(he.footer)),he.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const kt={};let Bn="";gt.forEach(function(re){const ne=[];let le="",oe={},_e=re,ke="";kt[re]={},Le.forEach(function(Ie){re===Ie.group&&(le!==Ie.name?(Le.forEach(function(lt){re===lt.group&&Ie.name===lt.name&&(Object.prototype.hasOwnProperty.call(kt[Ie.group],Ie.name)||(kt[Ie.group][Ie.name]=[]),kt[Ie.group][Ie.name].push(lt.version))}),oe={article:Ie,versions:kt[Ie.group][Ie.name]}):oe={article:Ie,hidden:!0,versions:kt[Ie.group][Ie.name]},he.sampleUrl&&he.sampleUrl===!0&&(he.sampleUrl=window.location.origin),he.url&&oe.article.url.substr(0,4).toLowerCase()!=="http"&&(oe.article.url=he.url+oe.article.url),se(oe,Ie),Ie.groupTitle&&(_e=Ie.groupTitle),Ie.groupDescription&&(ke=Ie.groupDescription),ne.push({article:j(oe),group:Ie.group,name:Ie.name,aloneDisplay:he.template.aloneDisplay}),le=Ie.name)}),oe={group:re,title:_e,description:ke,articles:ne,aloneDisplay:he.template.aloneDisplay},Bn+=Fe(oe)}),g()("#sections").append(Bn),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(re){re.preventDefault();const ne=this.getAttribute("href");if(he.template.aloneDisplay){const le=document.querySelector(".sidenav > li.active");le&&le.classList.remove("active"),this.parentNode.classList.add("active")}else{const le=document.querySelector(ne);le&&g()("html,body").animate({scrollTop:le.offsetTop},400)}window.location.hash=ne});function St(re){let ne=!1;return g().each(re,le=>{ne=ne||(0,s.some)(re[le],oe=>oe.type)}),ne}function kn(){g()('button[data-toggle="popover"]').popover().click(function(ne){ne.preventDefault()});const re=g()("#version strong").html();if(g()("#sidenav li").removeClass("is-new"),he.template.withCompare&&g()("#sidenav li[data-version='"+re+"']").each(function(){const ne=g()(this).data("group"),le=g()(this).data("name"),oe=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").length,_e=g()("#sidenav li[data-group='"+ne+"'][data-name='"+le+"']").index(g()(this));(oe===1||_e===oe-1)&&g()(this).addClass("is-new")}),g()(".nav-tabs-examples a").click(function(ne){ne.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 ne="."+g()(this).attr("data-group")+"-group",le="."+g()(this).attr("data-group")+"-article";g()(".show-api-group").addClass("hide"),g()(ne).removeClass("hide"),g()(".show-api-article").addClass("hide"),g()(le).removeClass("hide")}),g()(".show-api").click(function(){const ne=this.getAttribute("href").substring(1),le=document.getElementById("version").textContent.trim(),oe=`.${this.dataset.name}-article`,_e=`[id="${ne}-${le}"]`,ke=`.${this.dataset.group}-group`;g()(".show-api-group").addClass("hide"),g()(ke).removeClass("hide"),g()(".show-api-article").addClass("hide");let Ie=g()(oe);g()(_e).length&&(Ie=g()(_e).parent()),Ie.removeClass("hide"),ne.match(/_(header|footer)/)&&document.getElementById(ne).classList.remove("hide")})),he.template.aloneDisplay||g()("body").scrollspy("refresh"),he.template.aloneDisplay){const ne=decodeURI(window.location.hash);if(ne!=null&&ne.length!==0){const le=document.getElementById("version").textContent.trim(),oe=document.querySelector(`li .${ne.slice(1)}-init`),_e=document.querySelector(`li[data-version="${le}"] .show-api.${ne.slice(1)}-init`);let ke=oe;_e&&(ke=_e),ke.click()}}}function U(re){typeof re=="undefined"?re=g()("#version strong").html():g()("#version strong").html(re),g()("article").addClass("hide"),g()("#sidenav li:not(.nav-fixed)").addClass("hide");const ne={};document.querySelectorAll("article[data-version]").forEach(le=>{const oe=le.dataset.group,_e=le.dataset.name,ke=le.dataset.version,Ie=oe+_e;!ne[Ie]&&r().lte(ke,re)&&(ne[Ie]=!0,document.querySelector(`article[data-group="${oe}"][data-name="${_e}"][data-version="${ke}"]`).classList.remove("hide"),document.querySelector(`#sidenav li[data-group="${oe}"][data-name="${_e}"][data-version="${ke}"]`).classList.remove("hide"),document.querySelector(`#sidenav li.nav-header[data-group="${oe}"]`).classList.remove("hide"))}),g()("article[data-version]").each(function(le){const oe=g()(this).data("group");g()("section#api-"+oe).removeClass("hide"),g()("section#api-"+oe+" article:visible").length===0?g()("section#api-"+oe).addClass("hide"):g()("section#api-"+oe).removeClass("hide")})}if(U(),g()("#versions li.version a").on("click",function(re){re.preventDefault(),U(g()(this).html())}),g()("#compareAllWithPredecessor").on("click",ee),g()("article .versions li.version a").on("click",Q),g().urlParam=function(re){const ne=new RegExp("[\\?&]"+re+"=([^&#]*)").exec(window.location.href);return ne&&ne[1]?ne[1]:null},g().urlParam("compare")&&g()("#compareAllWithPredecessor").trigger("click"),window.location.hash){const re=decodeURI(window.location.hash);g()(re).length>0&&g()("html,body").animate({scrollTop:parseInt(g()(re).offset().top)},0)}document.querySelector('[data-toggle="offcanvas"]').addEventListener("click",function(){const re=document.querySelector(".row-offcanvas");re&&re.classList.toggle("active")}),g()("#scrollingNav .sidenav-search input.search").focus(),g()('[data-action="filter-search"]').on("keyup",V(re=>{const ne=re.currentTarget.value.toLowerCase();g()(".sidenav a.nav-list-item").filter((le,oe)=>g()(oe).toggle(g()(oe).text().toLowerCase().indexOf(ne)>-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(re,ne){let le=null;return(...oe)=>{clearTimeout(le),le=setTimeout(re.bind(this,...oe),ne||0)}}function Q(re){re.preventDefault();const ne=g()(this).parents("article"),le=g()(this).html(),oe=ne.find(".version"),_e=oe.find("strong").html();oe.find("strong").html(le);const ke=ne.data("group"),Ie=ne.data("name"),lt=ne.data("version"),xt=ne.data("compare-version");if(xt!==le&&!(!xt&<===le)){if(xt&&kt[ke][Ie][0]===le||lt===le)Ce(ke,Ie,lt);else{let Rt={},vt={};g().each(et[ke][Ie],function(or,Vn){Vn.version===lt&&(Rt=Vn),Vn.version===le&&(vt=Vn)});const st={article:Rt,compare:vt,versions:kt[ke][Ie]};st.article.id=st.article.group+"-"+st.article.name+"-"+st.article.version,st.article.id=st.article.id.replace(/\./g,"_"),st.compare.id=st.compare.group+"-"+st.compare.name+"-"+st.compare.version,st.compare.id=st.compare.id.replace(/\./g,"_");let nt=Rt;nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields)),nt=vt,st._hasTypeInHeaderFields!==!0&&nt.header&&nt.header.fields&&(st._hasTypeInHeaderFields=St(nt.header.fields)),st._hasTypeInParameterFields!==!0&&nt.parameter&&nt.parameter.fields&&(st._hasTypeInParameterFields=St(nt.parameter.fields)),st._hasTypeInErrorFields!==!0&&nt.error&&nt.error.fields&&(st._hasTypeInErrorFields=St(nt.error.fields)),st._hasTypeInSuccessFields!==!0&&nt.success&&nt.success.fields&&(st._hasTypeInSuccessFields=St(nt.success.fields)),st._hasTypeInInfoFields!==!0&&nt.info&&nt.info.fields&&(st._hasTypeInInfoFields=St(nt.info.fields));const pi=me(st);ne.after(pi),ne.next().find(".versions li.version a").on("click",Q),g()("#sidenav li[data-group='"+ke+"'][data-name='"+Ie+"'][data-version='"+_e+"']").addClass("has-modifications"),ne.remove()}kn(),v().highlightAll()}}function ee(re){re.preventDefault(),g()("article:visible .versions").each(function(){const le=g()(this).parents("article").data("version");let oe=null;g()(this).find("li.version a").each(function(){g()(this).html(){Object.keys(re).forEach(_e=>{re[_e].replace(/_/g," ")===oe&&le.push(_e)})}),Object.keys(re).forEach(oe=>{le.indexOf(oe)===-1&&le.push(oe)}),le}kn()}})()})(); diff --git a/api/index.html b/api/index.html index 59a0f6097a..2cdd1b80c2 100644 --- a/api/index.html +++ b/api/index.html @@ -5,15 +5,15 @@ - - - - - - - - - + + + + + + + + + @@ -1042,6 +1042,6 @@

{{__ "Request Body"}}

- +