@chocolatey-software/docs 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/docs.css +1154 -270
- package/dist/css/docs.min.css +2 -2
- package/dist/scripts/docs.js +12547 -3120
- package/dist/scripts/docs.min.js +117 -16
- package/package.json +29 -33
package/dist/scripts/docs.min.js
CHANGED
|
@@ -1,22 +1,122 @@
|
|
|
1
|
-
(()=>{(()=>{var Cu=Object.create,fo=Object.defineProperty,Tu=Object.getOwnPropertyDescriptor,po=Object.getOwnPropertyNames,ju=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty,Mr=(t,n)=>function(){return n||(0,t[po(t)[0]])((n={exports:{}}).exports,n),n.exports},Pu=(t,n,r,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of po(n))!Iu.call(t,s)&&s!==r&&fo(t,s,{get:()=>n[s],enumerable:!(o=Tu(n,s))||o.enumerable});return t},Hr=(t,n,r)=>(r=t!=null?Cu(ju(t)):{},Pu(n||!t||!t.__esModule?fo(r,"default",{value:t,enumerable:!0}):r,t)),Du=Mr({"src/scripts/lib/prism.js"(t,n){var r=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{},o=(function(s){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,d={},m={manual:s.Prism&&s.Prism.manual,disableWorkerMessageHandler:s.Prism&&s.Prism.disableWorkerMessageHandler,util:{encode:function w(E){return E instanceof y?new y(E.type,w(E.content),E.alias):Array.isArray(E)?E.map(w):E.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(w){return Object.prototype.toString.call(w).slice(8,-1)},objId:function(w){return w.__id||Object.defineProperty(w,"__id",{value:++h}),w.__id},clone:function w(E,L){L=L||{};var M,B;switch(m.util.type(E)){case"Object":if(B=m.util.objId(E),L[B])return L[B];M={},L[B]=M;for(var u in E)E.hasOwnProperty(u)&&(M[u]=w(E[u],L));return M;case"Array":return B=m.util.objId(E),L[B]?L[B]:(M=[],L[B]=M,E.forEach(function(W,F){M[F]=w(W,L)}),M);default:return E}},getLanguage:function(w){for(;w;){var E=l.exec(w.className);if(E)return E[1].toLowerCase();w=w.parentElement}return"none"},setLanguage:function(w,E){w.className=w.className.replace(RegExp(l,"gi"),""),w.classList.add("language-"+E)},currentScript:function(){if(typeof document=="undefined")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(M){var w=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(M.stack)||[])[1];if(w){var E=document.getElementsByTagName("script");for(var L in E)if(E[L].src==w)return E[L]}return null}},isActive:function(w,E,L){for(var M="no-"+E;w;){var B=w.classList;if(B.contains(E))return!0;if(B.contains(M))return!1;w=w.parentElement}return!!L}},languages:{plain:d,plaintext:d,text:d,txt:d,extend:function(w,E){var L=m.util.clone(m.languages[w]);for(var M in E)L[M]=E[M];return L},insertBefore:function(w,E,L,M){M=M||m.languages;var B=M[w],u={};for(var W in B)if(B.hasOwnProperty(W)){if(W==E)for(var F in L)L.hasOwnProperty(F)&&(u[F]=L[F]);L.hasOwnProperty(W)||(u[W]=B[W])}var X=M[w];return M[w]=u,m.languages.DFS(m.languages,function(oe,Ae){Ae===X&&oe!=w&&(this[oe]=u)}),u},DFS:function w(E,L,M,B){B=B||{};var u=m.util.objId;for(var W in E)if(E.hasOwnProperty(W)){L.call(E,W,E[W],M||W);var F=E[W],X=m.util.type(F);X==="Object"&&!B[u(F)]?(B[u(F)]=!0,w(F,L,null,B)):X==="Array"&&!B[u(F)]&&(B[u(F)]=!0,w(F,L,W,B))}}},plugins:{},highlightAll:function(w,E){m.highlightAllUnder(document,w,E)},highlightAllUnder:function(w,E,L){var M={callback:L,container:w,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};m.hooks.run("before-highlightall",M),M.elements=Array.prototype.slice.apply(M.container.querySelectorAll(M.selector)),m.hooks.run("before-all-elements-highlight",M);for(var B=0,u;u=M.elements[B++];)m.highlightElement(u,E===!0,M.callback)},highlightElement:function(w,E,L){var M=m.util.getLanguage(w),B=m.languages[M];m.util.setLanguage(w,M);var u=w.parentElement;u&&u.nodeName.toLowerCase()==="pre"&&m.util.setLanguage(u,M);var W=w.textContent,F={element:w,language:M,grammar:B,code:W};function X(Ae){F.highlightedCode=Ae,m.hooks.run("before-insert",F),F.element.innerHTML=F.highlightedCode,m.hooks.run("after-highlight",F),m.hooks.run("complete",F),L&&L.call(F.element)}if(m.hooks.run("before-sanity-check",F),u=F.element.parentElement,u&&u.nodeName.toLowerCase()==="pre"&&!u.hasAttribute("tabindex")&&u.setAttribute("tabindex","0"),!F.code){m.hooks.run("complete",F),L&&L.call(F.element);return}if(m.hooks.run("before-highlight",F),!F.grammar){X(m.util.encode(F.code));return}if(E&&s.Worker){var oe=new Worker(m.filename);oe.onmessage=function(Ae){X(Ae.data)},oe.postMessage(JSON.stringify({language:F.language,code:F.code,immediateClose:!0}))}else X(m.highlight(F.code,F.grammar,F.language))},highlight:function(w,E,L){var M={code:w,grammar:E,language:L};if(m.hooks.run("before-tokenize",M),!M.grammar)throw new Error('The language "'+M.language+'" has no grammar.');return M.tokens=m.tokenize(M.code,M.grammar),m.hooks.run("after-tokenize",M),y.stringify(m.util.encode(M.tokens),M.language)},tokenize:function(w,E){var L=E.rest;if(L){for(var M in L)E[M]=L[M];delete E.rest}var B=new _;return O(B,B.head,w),v(w,B,E,B.head,0),k(B)},hooks:{all:{},add:function(w,E){var L=m.hooks.all;L[w]=L[w]||[],L[w].push(E)},run:function(w,E){var L=m.hooks.all[w];if(!(!L||!L.length))for(var M=0,B;B=L[M++];)B(E)}},Token:y};s.Prism=m;function y(w,E,L,M){this.type=w,this.content=E,this.alias=L,this.length=(M||"").length|0}y.stringify=function w(E,L){if(typeof E=="string")return E;if(Array.isArray(E)){var M="";return E.forEach(function(X){M+=w(X,L)}),M}var B={type:E.type,content:w(E.content,L),tag:"span",classes:["token",E.type],attributes:{},language:L},u=E.alias;u&&(Array.isArray(u)?Array.prototype.push.apply(B.classes,u):B.classes.push(u)),m.hooks.run("wrap",B);var W="";for(var F in B.attributes)W+=" "+F+'="'+(B.attributes[F]||"").replace(/"/g,""")+'"';return"<"+B.tag+' class="'+B.classes.join(" ")+'"'+W+">"+B.content+"</"+B.tag+">"};function S(w,E,L,M){w.lastIndex=E;var B=w.exec(L);if(B&&M&&B[1]){var u=B[1].length;B.index+=u,B[0]=B[0].slice(u)}return B}function v(w,E,L,M,B,u){for(var W in L)if(!(!L.hasOwnProperty(W)||!L[W])){var F=L[W];F=Array.isArray(F)?F:[F];for(var X=0;X<F.length;++X){if(u&&u.cause==W+","+X)return;var oe=F[X],Ae=oe.inside,re=!!oe.lookbehind,xe=!!oe.greedy,Q=oe.alias;if(xe&&!oe.pattern.global){var K=oe.pattern.toString().match(/[imsuy]*$/)[0];oe.pattern=RegExp(oe.pattern.source,K+"g")}for(var G=oe.pattern||oe,ie=M.next,Z=B;ie!==E.tail&&!(u&&Z>=u.reach);Z+=ie.value.length,ie=ie.next){var pe=ie.value;if(E.length>w.length)return;if(!(pe instanceof y)){var ne=1,V;if(xe){if(V=S(G,Z,w,re),!V||V.index>=w.length)break;var le=V.index,Y=V.index+V[0].length,ee=Z;for(ee+=ie.value.length;le>=ee;)ie=ie.next,ee+=ie.value.length;if(ee-=ie.value.length,Z=ee,ie.value instanceof y)continue;for(var ce=ie;ce!==E.tail&&(ee<Y||typeof ce.value=="string");ce=ce.next)ne++,ee+=ce.value.length;ne--,pe=w.slice(Z,ee),V.index-=Z}else if(V=S(G,0,pe,re),!V)continue;var le=V.index,Ue=V[0],Ye=pe.slice(0,le),gt=pe.slice(le+Ue.length),$e=Z+pe.length;u&&$e>u.reach&&(u.reach=$e);var _t=ie.prev;Ye&&(_t=O(E,_t,Ye),Z+=Ye.length),D(E,_t,ne);var nt=new y(W,Ae?m.tokenize(Ue,Ae):Ue,Q,Ue);if(ie=O(E,_t,nt),gt&&O(E,ie,gt),ne>1){var At={cause:W+","+X,reach:$e};v(w,E,L,ie.prev,Z,At),u&&At.reach>u.reach&&(u.reach=At.reach)}}}}}}function _(){var w={value:null,prev:null,next:null},E={value:null,prev:w,next:null};w.next=E,this.head=w,this.tail=E,this.length=0}function O(w,E,L){var M=E.next,B={value:L,prev:E,next:M};return E.next=B,M.prev=B,w.length++,B}function D(w,E,L){for(var M=E.next,B=0;B<L&&M!==w.tail;B++)M=M.next;E.next=M,M.prev=E,w.length-=B}function k(w){for(var E=[],L=w.head.next;L!==w.tail;)E.push(L.value),L=L.next;return E}if(!s.document)return s.addEventListener&&(m.disableWorkerMessageHandler||s.addEventListener("message",function(w){var E=JSON.parse(w.data),L=E.language,M=E.code,B=E.immediateClose;s.postMessage(m.highlight(M,m.languages[L],L)),B&&s.close()},!1)),m;var A=m.util.currentScript();A&&(m.filename=A.src,A.hasAttribute("data-manual")&&(m.manual=!0));function P(){m.manual||m.highlightAll()}if(!m.manual){var j=document.readyState;j==="loading"||j==="interactive"&&A&&A.defer?document.addEventListener("DOMContentLoaded",P):window.requestAnimationFrame?window.requestAnimationFrame(P):window.setTimeout(P,16)}return m})(r);typeof n!="undefined"&&n.exports&&(n.exports=o),typeof global!="undefined"&&(global.Prism=o),o.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",function(s){s.type==="entity"&&(s.attributes.title=s.content.replace(/&/,"&"))}),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(l,h){var d={};d["language-"+h]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:o.languages[h]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var m={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};m["language-"+h]={pattern:/[\s\S]+/,inside:o.languages[h]};var y={};y[l]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return l}),"i"),lookbehind:!0,greedy:!0,inside:m},o.languages.insertBefore("markup","cdata",y)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(s,l){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+s+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[l,"language-"+l],inside:o.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,(function(s){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;s.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+l.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},s.languages.css.atrule.inside.rest=s.languages.css;var h=s.languages.markup;h&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css"))})(o),o.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:/[{}[\];(),.:]/},o.languages.javascript=o.languages.extend("clike",{"class-name":[o.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}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.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:o.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:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.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:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.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:o.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"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.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")),o.languages.js=o.languages.javascript,(function(s){var l="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",h={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:h,environment:{pattern:RegExp("\\$"+l),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};s.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:h}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},h.inside=s.languages.bash;for(var m=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=d.variable[1].inside,S=0;S<m.length;S++)y[m[S]]=s.languages.bash[m[S]];s.languages.sh=s.languages.bash,s.languages.shell=s.languages.bash})(o),(function(s){function l(V,Y){return V.replace(/<<(\d+)>>/g,function(ee,ce){return"(?:"+Y[+ce]+")"})}function h(V,Y,ee){return RegExp(l(V,Y),ee||"")}function d(V,Y){for(var ee=0;ee<Y;ee++)V=V.replace(/<<self>>/g,function(){return"(?:"+V+")"});return V.replace(/<<self>>/g,"[^\\s\\S]")}var m={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function y(V){return"\\b(?:"+V.trim().replace(/ /g,"|")+")\\b"}var S=y(m.typeDeclaration),v=RegExp(y(m.type+" "+m.typeDeclaration+" "+m.contextual+" "+m.other)),_=y(m.typeDeclaration+" "+m.contextual+" "+m.other),O=y(m.type+" "+m.typeDeclaration+" "+m.other),D=d(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),k=d(/\((?:[^()]|<<self>>)*\)/.source,2),A=/@?\b[A-Za-z_]\w*\b/.source,P=l(/<<0>>(?:\s*<<1>>)?/.source,[A,D]),j=l(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[_,P]),w=/\[\s*(?:,\s*)*\]/.source,E=l(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[j,w]),L=l(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[D,k,w]),M=l(/\(<<0>>+(?:,<<0>>+)+\)/.source,[L]),B=l(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[M,j,w]),u={keyword:v,punctuation:/[<>()?,.:[\]]/},W=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,F=/"(?:\\.|[^\\"\r\n])*"/.source,X=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;s.languages.csharp=s.languages.extend("clike",{string:[{pattern:h(/(^|[^$\\])<<0>>/.source,[X]),lookbehind:!0,greedy:!0},{pattern:h(/(^|[^@$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:h(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[j]),lookbehind:!0,inside:u},{pattern:h(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[A,B]),lookbehind:!0,inside:u},{pattern:h(/(\busing\s+)<<0>>(?=\s*=)/.source,[A]),lookbehind:!0},{pattern:h(/(\b<<0>>\s+)<<1>>/.source,[S,P]),lookbehind:!0,inside:u},{pattern:h(/(\bcatch\s*\(\s*)<<0>>/.source,[j]),lookbehind:!0,inside:u},{pattern:h(/(\bwhere\s+)<<0>>/.source,[A]),lookbehind:!0},{pattern:h(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[E]),lookbehind:!0,inside:u},{pattern:h(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[B,O,A]),inside:u}],keyword:v,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),s.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),s.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:h(/([(,]\s*)<<0>>(?=\s*:)/.source,[A]),lookbehind:!0,alias:"punctuation"}}),s.languages.insertBefore("csharp","class-name",{namespace:{pattern:h(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[A]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:h(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[k]),lookbehind:!0,alias:"class-name",inside:u},"return-type":{pattern:h(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[B,j]),inside:u,alias:"class-name"},"constructor-invocation":{pattern:h(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[B]),lookbehind:!0,inside:u,alias:"class-name"},"generic-method":{pattern:h(/<<0>>\s*<<1>>(?=\s*\()/.source,[A,D]),inside:{function:h(/^<<0>>/.source,[A]),generic:{pattern:RegExp(D),alias:"class-name",inside:u}}},"type-list":{pattern:h(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[S,P,A,B,v.source,k,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:h(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[P,k]),lookbehind:!0,greedy:!0,inside:s.languages.csharp},keyword:v,"class-name":{pattern:RegExp(B),greedy:!0,inside:u},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var oe=F+"|"+W,Ae=l(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[oe]),re=d(l(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ae]),2),xe=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Q=l(/<<0>>(?:\s*\(<<1>>*\))?/.source,[j,re]);s.languages.insertBefore("csharp","class-name",{attribute:{pattern:h(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[xe,Q]),lookbehind:!0,greedy:!0,inside:{target:{pattern:h(/^<<0>>(?=\s*:)/.source,[xe]),alias:"keyword"},"attribute-arguments":{pattern:h(/\(<<0>>*\)/.source,[re]),inside:s.languages.csharp},"class-name":{pattern:RegExp(j),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var K=/:[^}\r\n]+/.source,G=d(l(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ae]),2),ie=l(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[G,K]),Z=d(l(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[oe]),2),pe=l(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Z,K]);function ne(V,Y){return{interpolation:{pattern:h(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[V]),lookbehind:!0,inside:{"format-string":{pattern:h(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Y,K]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:s.languages.csharp}}},string:/[\s\S]+/}}s.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:h(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ie]),lookbehind:!0,greedy:!0,inside:ne(ie,G)},{pattern:h(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[pe]),lookbehind:!0,greedy:!0,inside:ne(pe,Z)}],char:{pattern:RegExp(W),greedy:!0}}),s.languages.dotnet=s.languages.cs=s.languages.csharp})(o),(function(s){s.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var l={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(l).forEach(function(h){var d=l[h],m=[];/^\w+$/.test(h)||m.push(/\w+/.exec(h)[0]),h==="diff"&&m.push("bold"),s.languages.diff[h]={pattern:RegExp("^(?:["+d+`].*(?:\r
|
|
1
|
+
(()=>{(()=>{var Ph=Object.create,jc=Object.defineProperty,jh=Object.getOwnPropertyDescriptor,Nc=Object.getOwnPropertyNames,Nh=Object.getPrototypeOf,Rh=Object.prototype.hasOwnProperty,fi=(e,t)=>function(){return t||(0,e[Nc(e)[0]])((t={exports:{}}).exports,t),t.exports},zh=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Nc(t))!Rh.call(e,u)&&u!==n&&jc(e,u,{get:()=>t[u],enumerable:!(r=jh(t,u))||r.enumerable});return e},di=(e,t,n)=>(n=e!=null?Ph(Nh(e)):{},zh(t||!e||!e.__esModule?jc(n,"default",{value:e,enumerable:!0}):n,e)),Lh=fi({"src/scripts/lib/prism.js"(e,t){var n=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{},r=(function(u){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},c={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function S(x){return x instanceof l?new l(x.type,S(x.content),x.alias):Array.isArray(x)?x.map(S):x.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(S){return Object.prototype.toString.call(S).slice(8,-1)},objId:function(S){return S.__id||Object.defineProperty(S,"__id",{value:++i}),S.__id},clone:function S(x,O){O=O||{};var I,B;switch(c.util.type(x)){case"Object":if(B=c.util.objId(x),O[B])return O[B];I={},O[B]=I;for(var d in x)x.hasOwnProperty(d)&&(I[d]=S(x[d],O));return I;case"Array":return B=c.util.objId(x),O[B]?O[B]:(I=[],O[B]=I,x.forEach(function(q,N){I[N]=S(q,O)}),I);default:return x}},getLanguage:function(S){for(;S;){var x=a.exec(S.className);if(x)return x[1].toLowerCase();S=S.parentElement}return"none"},setLanguage:function(S,x){S.className=S.className.replace(RegExp(a,"gi"),""),S.classList.add("language-"+x)},currentScript:function(){if(typeof document=="undefined")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(I){var S=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(I.stack)||[])[1];if(S){var x=document.getElementsByTagName("script");for(var O in x)if(x[O].src==S)return x[O]}return null}},isActive:function(S,x,O){for(var I="no-"+x;S;){var B=S.classList;if(B.contains(x))return!0;if(B.contains(I))return!1;S=S.parentElement}return!!O}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(S,x){var O=c.util.clone(c.languages[S]);for(var I in x)O[I]=x[I];return O},insertBefore:function(S,x,O,I){I=I||c.languages;var B=I[S],d={};for(var q in B)if(B.hasOwnProperty(q)){if(q==x)for(var N in O)O.hasOwnProperty(N)&&(d[N]=O[N]);O.hasOwnProperty(q)||(d[q]=B[q])}var Z=I[S];return I[S]=d,c.languages.DFS(c.languages,function(z,H){H===Z&&z!=S&&(this[z]=d)}),d},DFS:function S(x,O,I,B){B=B||{};var d=c.util.objId;for(var q in x)if(x.hasOwnProperty(q)){O.call(x,q,x[q],I||q);var N=x[q],Z=c.util.type(N);Z==="Object"&&!B[d(N)]?(B[d(N)]=!0,S(N,O,null,B)):Z==="Array"&&!B[d(N)]&&(B[d(N)]=!0,S(N,O,q,B))}}},plugins:{},highlightAll:function(S,x){c.highlightAllUnder(document,S,x)},highlightAllUnder:function(S,x,O){var I={callback:O,container:S,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",I),I.elements=Array.prototype.slice.apply(I.container.querySelectorAll(I.selector)),c.hooks.run("before-all-elements-highlight",I);for(var B=0,d;d=I.elements[B++];)c.highlightElement(d,x===!0,I.callback)},highlightElement:function(S,x,O){var I=c.util.getLanguage(S),B=c.languages[I];c.util.setLanguage(S,I);var d=S.parentElement;d&&d.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(d,I);var q=S.textContent,N={element:S,language:I,grammar:B,code:q};function Z(H){N.highlightedCode=H,c.hooks.run("before-insert",N),N.element.innerHTML=N.highlightedCode,c.hooks.run("after-highlight",N),c.hooks.run("complete",N),O&&O.call(N.element)}if(c.hooks.run("before-sanity-check",N),d=N.element.parentElement,d&&d.nodeName.toLowerCase()==="pre"&&!d.hasAttribute("tabindex")&&d.setAttribute("tabindex","0"),!N.code){c.hooks.run("complete",N),O&&O.call(N.element);return}if(c.hooks.run("before-highlight",N),!N.grammar){Z(c.util.encode(N.code));return}if(x&&u.Worker){var z=new Worker(c.filename);z.onmessage=function(H){Z(H.data)},z.postMessage(JSON.stringify({language:N.language,code:N.code,immediateClose:!0}))}else Z(c.highlight(N.code,N.grammar,N.language))},highlight:function(S,x,O){var I={code:S,grammar:x,language:O};if(c.hooks.run("before-tokenize",I),!I.grammar)throw new Error('The language "'+I.language+'" has no grammar.');return I.tokens=c.tokenize(I.code,I.grammar),c.hooks.run("after-tokenize",I),l.stringify(c.util.encode(I.tokens),I.language)},tokenize:function(S,x){var O=x.rest;if(O){for(var I in O)x[I]=O[I];delete x.rest}var B=new g;return y(B,B.head,S),p(S,B,x,B.head,0),D(B)},hooks:{all:{},add:function(S,x){var O=c.hooks.all;O[S]=O[S]||[],O[S].push(x)},run:function(S,x){var O=c.hooks.all[S];if(!(!O||!O.length))for(var I=0,B;B=O[I++];)B(x)}},Token:l};u.Prism=c;function l(S,x,O,I){this.type=S,this.content=x,this.alias=O,this.length=(I||"").length|0}l.stringify=function S(x,O){if(typeof x=="string")return x;if(Array.isArray(x)){var I="";return x.forEach(function(Z){I+=S(Z,O)}),I}var B={type:x.type,content:S(x.content,O),tag:"span",classes:["token",x.type],attributes:{},language:O},d=x.alias;d&&(Array.isArray(d)?Array.prototype.push.apply(B.classes,d):B.classes.push(d)),c.hooks.run("wrap",B);var q="";for(var N in B.attributes)q+=" "+N+'="'+(B.attributes[N]||"").replace(/"/g,""")+'"';return"<"+B.tag+' class="'+B.classes.join(" ")+'"'+q+">"+B.content+"</"+B.tag+">"};function h(S,x,O,I){S.lastIndex=x;var B=S.exec(O);if(B&&I&&B[1]){var d=B[1].length;B.index+=d,B[0]=B[0].slice(d)}return B}function p(S,x,O,I,B,d){for(var q in O)if(!(!O.hasOwnProperty(q)||!O[q])){var N=O[q];N=Array.isArray(N)?N:[N];for(var Z=0;Z<N.length;++Z){if(d&&d.cause==q+","+Z)return;var z=N[Z],H=z.inside,L=!!z.lookbehind,K=!!z.greedy,J=z.alias;if(K&&!z.pattern.global){var W=z.pattern.toString().match(/[imsuy]*$/)[0];z.pattern=RegExp(z.pattern.source,W+"g")}for(var ee=z.pattern||z,ue=I.next,ye=B;ue!==x.tail&&!(d&&ye>=d.reach);ye+=ue.value.length,ue=ue.next){var oe=ue.value;if(x.length>S.length)return;if(!(oe instanceof l)){var ae=1,Y;if(K){if(Y=h(ee,ye,S,L),!Y||Y.index>=S.length)break;var pe=Y.index,ie=Y.index+Y[0].length,re=ye;for(re+=ue.value.length;pe>=re;)ue=ue.next,re+=ue.value.length;if(re-=ue.value.length,ye=re,ue.value instanceof l)continue;for(var de=ue;de!==x.tail&&(re<ie||typeof de.value=="string");de=de.next)ae++,re+=de.value.length;ae--,oe=S.slice(ye,re),Y.index-=ye}else if(Y=h(ee,0,oe,L),!Y)continue;var pe=Y.index,ve=Y[0],ke=oe.slice(0,pe),ze=oe.slice(pe+ve.length),Se=ye+oe.length;d&&Se>d.reach&&(d.reach=Se);var je=ue.prev;ke&&(je=y(x,je,ke),ye+=ke.length),F(x,je,ae);var Me=new l(q,H?c.tokenize(ve,H):ve,J,ve);if(ue=y(x,je,Me),ze&&y(x,ue,ze),ae>1){var ft={cause:q+","+Z,reach:Se};p(S,x,O,ue.prev,ye,ft),d&&ft.reach>d.reach&&(d.reach=ft.reach)}}}}}}function g(){var S={value:null,prev:null,next:null},x={value:null,prev:S,next:null};S.next=x,this.head=S,this.tail=x,this.length=0}function y(S,x,O){var I=x.next,B={value:O,prev:x,next:I};return x.next=B,I.prev=B,S.length++,B}function F(S,x,O){for(var I=x.next,B=0;B<O&&I!==S.tail;B++)I=I.next;x.next=I,I.prev=x,S.length-=B}function D(S){for(var x=[],O=S.head.next;O!==S.tail;)x.push(O.value),O=O.next;return x}if(!u.document)return u.addEventListener&&(c.disableWorkerMessageHandler||u.addEventListener("message",function(S){var x=JSON.parse(S.data),O=x.language,I=x.code,B=x.immediateClose;u.postMessage(c.highlight(I,c.languages[O],O)),B&&u.close()},!1)),c;var _=c.util.currentScript();_&&(c.filename=_.src,_.hasAttribute("data-manual")&&(c.manual=!0));function T(){c.manual||c.highlightAll()}if(!c.manual){var w=document.readyState;w==="loading"||w==="interactive"&&_&&_.defer?document.addEventListener("DOMContentLoaded",T):window.requestAnimationFrame?window.requestAnimationFrame(T):window.setTimeout(T,16)}return c})(n);typeof t!="undefined"&&t.exports&&(t.exports=r),typeof global!="undefined"&&(global.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\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:/<!\[CDATA\[[\s\S]*?\]\]>/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(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(a,i){var o={};o["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[i]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var c={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};c["language-"+i]={pattern:/[\s\S]+/,inside:r.languages[i]};var l={};l[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:c},r.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,a){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\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:[a,"language-"+a],inside:r.languages[a]},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(u){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.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\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,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:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var i=u.languages.markup;i&&(i.tag.addInlined("style","css"),i.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(u){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:i,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};u.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=u.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=o.variable[1].inside,h=0;h<c.length;h++)l[c[h]]=u.languages.bash[c[h]];u.languages.sh=u.languages.bash,u.languages.shell=u.languages.bash})(r),(function(u){function a(Y,ie){return Y.replace(/<<(\d+)>>/g,function(re,de){return"(?:"+ie[+de]+")"})}function i(Y,ie,re){return RegExp(a(Y,ie),re||"")}function o(Y,ie){for(var re=0;re<ie;re++)Y=Y.replace(/<<self>>/g,function(){return"(?:"+Y+")"});return Y.replace(/<<self>>/g,"[^\\s\\S]")}var c={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(Y){return"\\b(?:"+Y.trim().replace(/ /g,"|")+")\\b"}var h=l(c.typeDeclaration),p=RegExp(l(c.type+" "+c.typeDeclaration+" "+c.contextual+" "+c.other)),g=l(c.typeDeclaration+" "+c.contextual+" "+c.other),y=l(c.type+" "+c.typeDeclaration+" "+c.other),F=o(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),D=o(/\((?:[^()]|<<self>>)*\)/.source,2),_=/@?\b[A-Za-z_]\w*\b/.source,T=a(/<<0>>(?:\s*<<1>>)?/.source,[_,F]),w=a(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[g,T]),S=/\[\s*(?:,\s*)*\]/.source,x=a(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[w,S]),O=a(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[F,D,S]),I=a(/\(<<0>>+(?:,<<0>>+)+\)/.source,[O]),B=a(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[I,w,S]),d={keyword:p,punctuation:/[<>()?,.:[\]]/},q=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,N=/"(?:\\.|[^\\"\r\n])*"/.source,Z=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;u.languages.csharp=u.languages.extend("clike",{string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[Z]),lookbehind:!0,greedy:!0},{pattern:i(/(^|[^@$\\])<<0>>/.source,[N]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[w]),lookbehind:!0,inside:d},{pattern:i(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[_,B]),lookbehind:!0,inside:d},{pattern:i(/(\busing\s+)<<0>>(?=\s*=)/.source,[_]),lookbehind:!0},{pattern:i(/(\b<<0>>\s+)<<1>>/.source,[h,T]),lookbehind:!0,inside:d},{pattern:i(/(\bcatch\s*\(\s*)<<0>>/.source,[w]),lookbehind:!0,inside:d},{pattern:i(/(\bwhere\s+)<<0>>/.source,[_]),lookbehind:!0},{pattern:i(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[x]),lookbehind:!0,inside:d},{pattern:i(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[B,y,_]),inside:d}],keyword:p,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),u.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),u.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:i(/([(,]\s*)<<0>>(?=\s*:)/.source,[_]),lookbehind:!0,alias:"punctuation"}}),u.languages.insertBefore("csharp","class-name",{namespace:{pattern:i(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[_]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:i(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[D]),lookbehind:!0,alias:"class-name",inside:d},"return-type":{pattern:i(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[B,w]),inside:d,alias:"class-name"},"constructor-invocation":{pattern:i(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[B]),lookbehind:!0,inside:d,alias:"class-name"},"generic-method":{pattern:i(/<<0>>\s*<<1>>(?=\s*\()/.source,[_,F]),inside:{function:i(/^<<0>>/.source,[_]),generic:{pattern:RegExp(F),alias:"class-name",inside:d}}},"type-list":{pattern:i(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[h,T,_,B,p.source,D,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:i(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[T,D]),lookbehind:!0,greedy:!0,inside:u.languages.csharp},keyword:p,"class-name":{pattern:RegExp(B),greedy:!0,inside:d},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var z=N+"|"+q,H=a(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),L=o(a(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),K=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,J=a(/<<0>>(?:\s*\(<<1>>*\))?/.source,[w,L]);u.languages.insertBefore("csharp","class-name",{attribute:{pattern:i(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[K,J]),lookbehind:!0,greedy:!0,inside:{target:{pattern:i(/^<<0>>(?=\s*:)/.source,[K]),alias:"keyword"},"attribute-arguments":{pattern:i(/\(<<0>>*\)/.source,[L]),inside:u.languages.csharp},"class-name":{pattern:RegExp(w),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var W=/:[^}\r\n]+/.source,ee=o(a(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[H]),2),ue=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ee,W]),ye=o(a(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[z]),2),oe=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ye,W]);function ae(Y,ie){return{interpolation:{pattern:i(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Y]),lookbehind:!0,inside:{"format-string":{pattern:i(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[ie,W]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:u.languages.csharp}}},string:/[\s\S]+/}}u.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:i(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ue]),lookbehind:!0,greedy:!0,inside:ae(ue,ee)},{pattern:i(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[oe]),lookbehind:!0,greedy:!0,inside:ae(oe,ye)}],char:{pattern:RegExp(q),greedy:!0}}),u.languages.dotnet=u.languages.cs=u.languages.csharp})(r),(function(u){u.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var a={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(a).forEach(function(i){var o=a[i],c=[];/^\w+$/.test(i)||c.push(/\w+/.exec(i)[0]),i==="diff"&&c.push("bold"),u.languages.diff[i]={pattern:RegExp("^(?:["+o+`].*(?:\r
|
|
2
2
|
?|
|
|
3
|
-
|(?![\\s\\S])))+`,"m"),alias:m,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(h)[0]}}}}),Object.defineProperty(s.languages.diff,"PREFIXES",{value:l})})(o),o.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},o.languages.webmanifest=o.languages.json,(function(s){var l=s.languages.powershell={"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0},comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:{function:{pattern:/(^|[^`])\$\((?:\$\(.*?\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:{}},"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0}}},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};l.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:l},boolean:l.boolean,variable:l.variable}})(o),(function(s){s.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var l=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:s.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];s.languages.puppet.heredoc[0].inside.interpolation=l,s.languages.puppet.string.inside["double-quoted"].inside.interpolation=l})(o),o.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.python["string-interpolation"].inside.interpolation.inside.rest=o.languages.python,o.languages.py=o.languages.python,(function(s){s.languages.ruby=s.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),s.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var l={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:s.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete s.languages.ruby.function;var h="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",d=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;s.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+h+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:l,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:l,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+d),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+d+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),s.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+h),greedy:!0,inside:{interpolation:l,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:l,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:l,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+h),greedy:!0,inside:{interpolation:l,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:l,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete s.languages.ruby.string,s.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),s.languages.rb=s.languages.ruby})(o),o.languages.scss=o.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),o.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),o.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),o.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),o.languages.scss.atrule.inside.rest=o.languages.scss,(function(s){var l=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");s.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return l}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:s.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},s.languages["sh-session"]=s.languages.shellsession=s.languages["shell-session"]})(o),(function(s){function l(y,S){s.languages[y]&&s.languages.insertBefore(y,"comment",{"doc-comment":S})}var h=s.languages.markup.tag,d={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:h}},m={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:h}};l("csharp",d),l("fsharp",d),l("vbnet",m)})(o),(function(s){var l=/[*&][^\s[\]{},]+/,h=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+h.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+h.source+")?)",m=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function S(v,_){_=(_||"").replace(/m/g,"")+"m";var O=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<value>>/g,function(){return v});return RegExp(O,_)}s.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return d})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return d}).replace(/<<key>>/g,function(){return"(?:"+m+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:S(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:S(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:S(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:S(y),lookbehind:!0,greedy:!0},number:{pattern:S(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:h,important:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},s.languages.yml=s.languages.yaml})(o),(function(s){var l={pattern:/[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}/i,alias:"constant"};s.languages["log-file"]={"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0},verbose:[{pattern:/\b(Trace)\b:/i,greedy:!0},{pattern:/\[(verbose|verb|vrb|vb|v)\]/i,greedy:!0}],debug:[{pattern:/\b(DEBUG|Debug)\b|\b(debug)\:/i,greedy:!0},{pattern:/\[(debug|dbug|dbg|de|d)\]/i,greedy:!0}],info:[{pattern:/\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\b | \b(^[^\.\.]+$)\b | \b(info|information)\:/,greedy:!0},{pattern:/\[(information|info|inf|in|i)\]/i,greedy:!0}],warning:[{pattern:/\b(WARNING|WARN|Warn|WW)\b|\b(warning)\:/i,greedy:!0},{pattern:/\[(warning|warn|wrn|wn|w)\]/i,greedy:!0}],error:[{pattern:/\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\b|\b(error)\:/i,greedy:!0},{pattern:/\[(error|eror|err|er|e|fatal|fatl|ftl|fa|f)\]/i,greedy:!0}],date:[{pattern:/\b\d{4}-\d{2}-\d{2}(T|\b)/i,greedy:!0},{pattern:/\b\d{2}[^\w\s]\d{2}[^\w\s]\d{4}\b/i,greedy:!0},{pattern:/\d{1,2}:\d{2}(:\d{2}([.,]\d{1,})?)?(Z| ?[+-]\d{1,2}:\d{2})?\b/i,greedy:!0}],guid:l,"text-string":[{pattern:/[a-zA-Z]'[a-zA-Z]/i,greedy:!0},{pattern:/[a-zA-Z]\('[a-zA-Z]/i,greedy:!0}],string:[{pattern:/"[^"]*"/i,greedy:!0,inside:{"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0}}},{pattern:/'[^']*'/i,greedy:!0}],exceptiontype:{pattern:/\b([a-zA-Z.]*Exception)\b/i,greedy:!0},"text-constant":{pattern:/(\\[\w-]+.\w+)/i,greedy:!0},constant:[{pattern:/\b([0-9]+|true|false|null)\b/i,greedy:!0},{pattern:/\b(http|https|ftp|file):\/\S+\b\/?/i,greedy:!0},{pattern:/([\w-]+\.)+([\w-])+(?![\w/\\])/i,greedy:!0}]},s.languages.log=s.languages["log-file"]})(o),(function(){if(typeof o=="undefined"||typeof document=="undefined")return;var s="line-numbers",l=/\n(?!$)/g,h=o.plugins.lineNumbers={getLine:function(S,v){if(!(S.tagName!=="PRE"||!S.classList.contains(s))){var _=S.querySelector(".line-numbers-rows");if(_){var O=parseInt(S.getAttribute("data-start"),10)||1,D=O+(_.children.length-1);v<O&&(v=O),v>D&&(v=D);var k=v-O;return _.children[k]}}},resize:function(S){d([S])},assumeViewportIndependence:!0};function d(S){if(S=S.filter(function(_){var O=m(_),D=O["white-space"];return D==="pre-wrap"||D==="pre-line"}),S.length!=0){var v=S.map(function(_){var O=_.querySelector("code"),D=_.querySelector(".line-numbers-rows");if(!(!O||!D)){var k=_.querySelector(".line-numbers-sizer"),A=O.textContent.split(l);k||(k=document.createElement("span"),k.className="line-numbers-sizer",O.appendChild(k)),k.innerHTML="0",k.style.display="block";var P=k.getBoundingClientRect().height;return k.innerHTML="",{element:_,lines:A,lineHeights:[],oneLinerHeight:P,sizer:k}}}).filter(Boolean);v.forEach(function(_){var O=_.sizer,D=_.lines,k=_.lineHeights,A=_.oneLinerHeight;k[D.length-1]=void 0,D.forEach(function(P,j){if(P&&P.length>1){var w=O.appendChild(document.createElement("span"));w.style.display="block",w.textContent=P}else k[j]=A})}),v.forEach(function(_){for(var O=_.sizer,D=_.lineHeights,k=0,A=0;A<D.length;A++)D[A]===void 0&&(D[A]=O.children[k++].getBoundingClientRect().height)}),v.forEach(function(_){var O=_.sizer,D=_.element.querySelector(".line-numbers-rows");O.style.display="none",O.innerHTML="",_.lineHeights.forEach(function(k,A){D.children[A].style.height=k+"px"})})}}function m(S){return S?window.getComputedStyle?getComputedStyle(S):S.currentStyle||null:null}var y=void 0;window.addEventListener("resize",function(){h.assumeViewportIndependence&&y===window.innerWidth||(y=window.innerWidth,d(Array.prototype.slice.call(document.querySelectorAll("pre."+s))))}),o.hooks.add("complete",function(S){if(S.code){var v=S.element,_=v.parentNode;if(!(!_||!/pre/i.test(_.nodeName))&&!v.querySelector(".line-numbers-rows")&&o.util.isActive(v,s)){v.classList.remove(s),_.classList.add(s);var O=S.code.match(l),D=O?O.length+1:1,k,A=new Array(D+1).join("<span></span>");k=document.createElement("span"),k.setAttribute("aria-hidden","true"),k.className="line-numbers-rows",k.innerHTML=A,_.hasAttribute("data-start")&&(_.style.counterReset="linenumber "+(parseInt(_.getAttribute("data-start"),10)-1)),S.element.appendChild(k),d([_]),o.hooks.run("line-numbers",S)}}}),o.hooks.add("line-numbers",function(S){S.plugins=S.plugins||{},S.plugins.lineNumbers=!0})})(),(function(){if(typeof o=="undefined"||typeof document=="undefined")return;var s=[],l={},h=function(){};o.plugins.toolbar={};var d=o.plugins.toolbar.registerButton=function(S,v){var _;if(typeof v=="function"?_=v:_=function(O){var D;return typeof v.onClick=="function"?(D=document.createElement("button"),D.type="button",D.addEventListener("click",function(){v.onClick.call(this,O)})):typeof v.url=="string"?(D=document.createElement("a"),D.href=v.url):D=document.createElement("span"),v.className&&D.classList.add(v.className),D.textContent=v.text,D},S in l){console.warn('There is a button with the key "'+S+'" registered already.');return}s.push(l[S]=_)};function m(S){for(;S;){var v=S.getAttribute("data-toolbar-order");if(v!=null)return v=v.trim(),v.length?v.split(/\s*,\s*/g):[];S=S.parentElement}}var y=o.plugins.toolbar.hook=function(S){var v=S.element.parentNode;if(!(!v||!/pre/i.test(v.nodeName))&&!v.parentNode.classList.contains("code-toolbar")){var _=document.createElement("div");_.classList.add("code-toolbar"),v.parentNode.insertBefore(_,v),_.appendChild(v);var O=document.createElement("div");O.classList.add("toolbar");var D=s,k=m(S.element);k&&(D=k.map(function(A){return l[A]||h})),D.forEach(function(A){var P=A(S);if(P){var j=document.createElement("div");j.classList.add("toolbar-item"),j.appendChild(P),O.appendChild(j)}}),_.appendChild(O)}};d("label",function(S){var v=S.element.parentNode;if(!(!v||!/pre/i.test(v.nodeName))&&v.hasAttribute("data-label")){var _,O,D=v.getAttribute("data-label");try{O=document.querySelector("template#"+D)}catch(k){}return O?_=O.content:(v.hasAttribute("data-url")?(_=document.createElement("a"),_.href=v.getAttribute("data-url")):_=document.createElement("span"),_.textContent=D),_}}),o.hooks.add("complete",y)})(),(function(){if(typeof o=="undefined"||typeof document=="undefined")return;if(!o.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function s(y,S){y.addEventListener("click",function(){h(S)})}function l(y){var S=document.createElement("textarea");S.value=y.getText(),S.style.top="0",S.style.left="0",S.style.position="fixed",document.body.appendChild(S),S.focus(),S.select();try{var v=document.execCommand("copy");setTimeout(function(){v?y.success():y.error()},1)}catch(_){setTimeout(function(){y.error(_)},1)}document.body.removeChild(S)}function h(y){navigator.clipboard?navigator.clipboard.writeText(y.getText()).then(y.success,function(){l(y)}):l(y)}function d(y){window.getSelection().selectAllChildren(y)}function m(y){var S={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},v="data-prismjs-";for(var _ in S){for(var O=v+_,D=y;D&&!D.hasAttribute(O);)D=D.parentElement;D&&(S[_]=D.getAttribute(O))}return S}o.plugins.toolbar.registerButton("copy-to-clipboard",function(y){var S=y.element,v=m(S),_=document.createElement("button");_.className="copy-to-clipboard-button",_.setAttribute("type","button");var O=document.createElement("span");return _.appendChild(O),k("copy"),s(_,{getText:function(){return S.textContent},success:function(){k("copy-success"),D()},error:function(){k("copy-error"),setTimeout(function(){d(S)},1),D()}}),_;function D(){setTimeout(function(){k("copy")},v["copy-timeout"])}function k(A){O.textContent=v[A],_.setAttribute("data-copy-state",A)}})})(),(function(){if(typeof o!="undefined"){var s=/^diff-([\w-]+)/i,l=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/g,h=RegExp(/(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(/__/g,function(){return l.source}),"gi"),d=!1;o.hooks.add("before-sanity-check",function(m){var y=m.language;s.test(y)&&!m.grammar&&(m.grammar=o.languages[y]=o.languages.diff)}),o.hooks.add("before-tokenize",function(m){!d&&!o.languages.diff&&!o.plugins.autoloader&&(d=!0,console.warn("Prism's Diff Highlight plugin requires the Diff language definition (prism-diff.js).Make sure the language definition is loaded or use Prism's Autoloader plugin."));var y=m.language;s.test(y)&&!o.languages[y]&&(o.languages[y]=o.languages.diff)}),o.hooks.add("wrap",function(m){var y,S;if(m.language!=="diff"){var v=s.exec(m.language);if(!v)return;y=v[1],S=o.languages[y]}var _=o.languages.diff&&o.languages.diff.PREFIXES;if(_&&m.type in _){var O=m.content.replace(l,""),D=O.replace(/</g,"<").replace(/&/g,"&"),k=D.replace(/(^|[\r\n])./g,"$1"),A;S?A=o.highlight(k,S,y):A=o.util.encode(k);var P=new o.Token("prefix",_[m.type],[/\w+/.exec(m.type)[0]]),j=o.Token.stringify(P,m.language),w=[],E;for(h.lastIndex=0;E=h.exec(A);)w.push(j+E[0]);/(?:^|[\r\n]).$/.test(D)&&w.push(j),m.content=w.join(""),S&&m.classes.push("language-"+y)}})}})()}}),Nu=Mr({"node_modules/clipboard/dist/clipboard.js"(t,n){(function(o,s){typeof t=="object"&&typeof n=="object"?n.exports=s():typeof define=="function"&&define.amd?define([],s):typeof t=="object"?t.ClipboardJS=s():o.ClipboardJS=s()})(t,function(){return(function(){var r={686:(function(l,h,d){"use strict";d.d(h,{default:function(){return pe}});var m=d(279),y=d.n(m),S=d(370),v=d.n(S),_=d(817),O=d.n(_);function D(ne){try{return document.execCommand(ne)}catch(V){return!1}}var k=function(V){var Y=O()(V);return D("cut"),Y},A=k;function P(ne){var V=document.documentElement.getAttribute("dir")==="rtl",Y=document.createElement("textarea");Y.style.fontSize="12pt",Y.style.border="0",Y.style.padding="0",Y.style.margin="0",Y.style.position="absolute",Y.style[V?"right":"left"]="-9999px";var ee=window.pageYOffset||document.documentElement.scrollTop;return Y.style.top="".concat(ee,"px"),Y.setAttribute("readonly",""),Y.value=ne,Y}var j=function(V,Y){var ee=P(V);Y.container.appendChild(ee);var ce=O()(ee);return D("copy"),ee.remove(),ce},w=function(V){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ee="";return typeof V=="string"?ee=j(V,Y):V instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(V==null?void 0:V.type)?ee=j(V.value,Y):(ee=O()(V),D("copy")),ee},E=w;function L(ne){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(Y){return typeof Y}:L=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},L(ne)}var M=function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=V.action,ee=Y===void 0?"copy":Y,ce=V.container,le=V.target,Ue=V.text;if(ee!=="copy"&&ee!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(le!==void 0)if(le&&L(le)==="object"&&le.nodeType===1){if(ee==="copy"&&le.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ee==="cut"&&(le.hasAttribute("readonly")||le.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Ue)return E(Ue,{container:ce});if(le)return ee==="cut"?A(le):E(le,{container:ce})},B=M;function u(ne){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(Y){return typeof Y}:u=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},u(ne)}function W(ne,V){if(!(ne instanceof V))throw new TypeError("Cannot call a class as a function")}function F(ne,V){for(var Y=0;Y<V.length;Y++){var ee=V[Y];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(ne,ee.key,ee)}}function X(ne,V,Y){return V&&F(ne.prototype,V),Y&&F(ne,Y),ne}function oe(ne,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(V&&V.prototype,{constructor:{value:ne,writable:!0,configurable:!0}}),V&&Ae(ne,V)}function Ae(ne,V){return Ae=Object.setPrototypeOf||function(ee,ce){return ee.__proto__=ce,ee},Ae(ne,V)}function re(ne){var V=K();return function(){var ee=G(ne),ce;if(V){var le=G(this).constructor;ce=Reflect.construct(ee,arguments,le)}else ce=ee.apply(this,arguments);return xe(this,ce)}}function xe(ne,V){return V&&(u(V)==="object"||typeof V=="function")?V:Q(ne)}function Q(ne){if(ne===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ne}function K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ne){return!1}}function G(ne){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},G(ne)}function ie(ne,V){var Y="data-clipboard-".concat(ne);if(V.hasAttribute(Y))return V.getAttribute(Y)}var Z=(function(ne){oe(Y,ne);var V=re(Y);function Y(ee,ce){var le;return W(this,Y),le=V.call(this),le.resolveOptions(ce),le.listenClick(ee),le}return X(Y,[{key:"resolveOptions",value:function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ce.action=="function"?ce.action:this.defaultAction,this.target=typeof ce.target=="function"?ce.target:this.defaultTarget,this.text=typeof ce.text=="function"?ce.text:this.defaultText,this.container=u(ce.container)==="object"?ce.container:document.body}},{key:"listenClick",value:function(ce){var le=this;this.listener=v()(ce,"click",function(Ue){return le.onClick(Ue)})}},{key:"onClick",value:function(ce){var le=ce.delegateTarget||ce.currentTarget,Ue=this.action(le)||"copy",Ye=B({action:Ue,container:this.container,target:this.target(le),text:this.text(le)});this.emit(Ye?"success":"error",{action:Ue,text:Ye,trigger:le,clearSelection:function(){le&&le.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ce){return ie("action",ce)}},{key:"defaultTarget",value:function(ce){var le=ie("target",ce);if(le)return document.querySelector(le)}},{key:"defaultText",value:function(ce){return ie("text",ce)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ce){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return E(ce,le)}},{key:"cut",value:function(ce){return A(ce)}},{key:"isSupported",value:function(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],le=typeof ce=="string"?[ce]:ce,Ue=!!document.queryCommandSupported;return le.forEach(function(Ye){Ue=Ue&&!!document.queryCommandSupported(Ye)}),Ue}}]),Y})(y()),pe=Z}),828:(function(l){var h=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var d=Element.prototype;d.matches=d.matchesSelector||d.mozMatchesSelector||d.msMatchesSelector||d.oMatchesSelector||d.webkitMatchesSelector}function m(y,S){for(;y&&y.nodeType!==h;){if(typeof y.matches=="function"&&y.matches(S))return y;y=y.parentNode}}l.exports=m}),438:(function(l,h,d){var m=d(828);function y(_,O,D,k,A){var P=v.apply(this,arguments);return _.addEventListener(D,P,A),{destroy:function(){_.removeEventListener(D,P,A)}}}function S(_,O,D,k,A){return typeof _.addEventListener=="function"?y.apply(null,arguments):typeof D=="function"?y.bind(null,document).apply(null,arguments):(typeof _=="string"&&(_=document.querySelectorAll(_)),Array.prototype.map.call(_,function(P){return y(P,O,D,k,A)}))}function v(_,O,D,k){return function(A){A.delegateTarget=m(A.target,O),A.delegateTarget&&k.call(_,A)}}l.exports=S}),879:(function(l,h){h.node=function(d){return d!==void 0&&d instanceof HTMLElement&&d.nodeType===1},h.nodeList=function(d){var m=Object.prototype.toString.call(d);return d!==void 0&&(m==="[object NodeList]"||m==="[object HTMLCollection]")&&"length"in d&&(d.length===0||h.node(d[0]))},h.string=function(d){return typeof d=="string"||d instanceof String},h.fn=function(d){var m=Object.prototype.toString.call(d);return m==="[object Function]"}}),370:(function(l,h,d){var m=d(879),y=d(438);function S(D,k,A){if(!D&&!k&&!A)throw new Error("Missing required arguments");if(!m.string(k))throw new TypeError("Second argument must be a String");if(!m.fn(A))throw new TypeError("Third argument must be a Function");if(m.node(D))return v(D,k,A);if(m.nodeList(D))return _(D,k,A);if(m.string(D))return O(D,k,A);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function v(D,k,A){return D.addEventListener(k,A),{destroy:function(){D.removeEventListener(k,A)}}}function _(D,k,A){return Array.prototype.forEach.call(D,function(P){P.addEventListener(k,A)}),{destroy:function(){Array.prototype.forEach.call(D,function(P){P.removeEventListener(k,A)})}}}function O(D,k,A){return y(document.body,D,k,A)}l.exports=S}),817:(function(l){function h(d){var m;if(d.nodeName==="SELECT")d.focus(),m=d.value;else if(d.nodeName==="INPUT"||d.nodeName==="TEXTAREA"){var y=d.hasAttribute("readonly");y||d.setAttribute("readonly",""),d.select(),d.setSelectionRange(0,d.value.length),y||d.removeAttribute("readonly"),m=d.value}else{d.hasAttribute("contenteditable")&&d.focus();var S=window.getSelection(),v=document.createRange();v.selectNodeContents(d),S.removeAllRanges(),S.addRange(v),m=S.toString()}return m}l.exports=h}),279:(function(l){function h(){}h.prototype={on:function(d,m,y){var S=this.e||(this.e={});return(S[d]||(S[d]=[])).push({fn:m,ctx:y}),this},once:function(d,m,y){var S=this;function v(){S.off(d,v),m.apply(y,arguments)}return v._=m,this.on(d,v,y)},emit:function(d){var m=[].slice.call(arguments,1),y=((this.e||(this.e={}))[d]||[]).slice(),S=0,v=y.length;for(S;S<v;S++)y[S].fn.apply(y[S].ctx,m);return this},off:function(d,m){var y=this.e||(this.e={}),S=y[d],v=[];if(S&&m)for(var _=0,O=S.length;_<O;_++)S[_].fn!==m&&S[_].fn._!==m&&v.push(S[_]);return v.length?y[d]=v:delete y[d],this}},l.exports=h,l.exports.TinyEmitter=h})},o={};function s(l){if(o[l])return o[l].exports;var h=o[l]={exports:{}};return r[l](h,h.exports,s),h.exports}return(function(){s.n=function(l){var h=l&&l.__esModule?(function(){return l.default}):(function(){return l});return s.d(h,{a:h}),h}})(),(function(){s.d=function(l,h){for(var d in h)s.o(h,d)&&!s.o(l,d)&&Object.defineProperty(l,d,{enumerable:!0,get:h[d]})}})(),(function(){s.o=function(l,h){return Object.prototype.hasOwnProperty.call(l,h)}})(),s(686)})().default})}}),Lu=Mr({"node_modules/anchor-js/anchor.js"(t,n){(function(r,o){"use strict";typeof define=="function"&&define.amd?define([],o):typeof n=="object"&&n.exports?n.exports=o():(r.AnchorJS=o(),r.anchors=new r.AnchorJS)})(globalThis,function(){"use strict";function r(o){this.options=o||{},this.elements=[];function s(d){d.icon=Object.prototype.hasOwnProperty.call(d,"icon")?d.icon:"\uE9CB",d.visible=Object.prototype.hasOwnProperty.call(d,"visible")?d.visible:"hover",d.placement=Object.prototype.hasOwnProperty.call(d,"placement")?d.placement:"right",d.ariaLabel=Object.prototype.hasOwnProperty.call(d,"ariaLabel")?d.ariaLabel:"Anchor",d.class=Object.prototype.hasOwnProperty.call(d,"class")?d.class:"",d.base=Object.prototype.hasOwnProperty.call(d,"base")?d.base:"",d.truncate=Object.prototype.hasOwnProperty.call(d,"truncate")?Math.floor(d.truncate):64,d.titleText=Object.prototype.hasOwnProperty.call(d,"titleText")?d.titleText:""}s(this.options),this.add=function(d){var m,y,S,v,_,O,D,k,A,P,j,w=[];if(s(this.options),d||(d="h2, h3, h4, h5, h6"),m=l(d),m.length===0)return this;for(h(),y=document.querySelectorAll("[id]"),S=[].map.call(y,function(E){return E.id}),_=0;_<m.length;_++){if(this.hasAnchorJSLink(m[_])){w.push(_);continue}if(m[_].hasAttribute("id"))v=m[_].getAttribute("id");else if(m[_].hasAttribute("data-anchor-id"))v=m[_].getAttribute("data-anchor-id");else{k=this.urlify(m[_].textContent),A=k,D=0;do O!==void 0&&(A=k+"-"+D),O=S.indexOf(A),D+=1;while(O!==-1);O=void 0,S.push(A),m[_].setAttribute("id",A),v=A}P=document.createElement("a"),P.className="anchorjs-link "+this.options.class,P.setAttribute("aria-label",this.options.ariaLabel),P.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(P.title=this.options.titleText),j=document.querySelector("base")?window.location.pathname+window.location.search:"",j=this.options.base||j,P.href=j+"#"+v,this.options.visible==="always"&&(P.style.opacity="1"),this.options.icon==="\uE9CB"&&(P.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(P.style.lineHeight="inherit")),this.options.placement==="left"?(P.style.position="absolute",P.style.marginLeft="-1.25em",P.style.paddingRight=".25em",P.style.paddingLeft=".25em",m[_].insertBefore(P,m[_].firstChild)):(P.style.marginLeft=".1875em",P.style.paddingRight=".1875em",P.style.paddingLeft=".1875em",m[_].appendChild(P))}for(_=0;_<w.length;_++)m.splice(w[_]-_,1);return this.elements=this.elements.concat(m),this},this.remove=function(d){for(var m,y,S=l(d),v=0;v<S.length;v++)y=S[v].querySelector(".anchorjs-link"),y&&(m=this.elements.indexOf(S[v]),m!==-1&&this.elements.splice(m,1),S[v].removeChild(y));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(d){var m=document.createElement("textarea");m.innerHTML=d,d=m.value;var y=/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g;return this.options.truncate||s(this.options),d.trim().replace(/'/gi,"").replace(y,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(d){var m=d.firstChild&&(" "+d.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,y=d.lastChild&&(" "+d.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return m||y||!1};function l(d){var m;if(typeof d=="string"||d instanceof String)m=[].slice.call(document.querySelectorAll(d));else if(Array.isArray(d)||d instanceof NodeList)m=[].slice.call(d);else throw new TypeError("The selector provided to AnchorJS was invalid.");return m}function h(){if(document.head.querySelector("style.anchorjs")===null){var d=document.createElement("style"),m=".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",y=":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",S='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',v="[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",_;d.className="anchorjs",d.appendChild(document.createTextNode("")),_=document.head.querySelector('[rel="stylesheet"],style'),_===void 0?document.head.appendChild(d):document.head.insertBefore(d,_),d.sheet.insertRule(m,d.sheet.cssRules.length),d.sheet.insertRule(y,d.sheet.cssRules.length),d.sheet.insertRule(v,d.sheet.cssRules.length),d.sheet.insertRule(S,d.sheet.cssRules.length)}}}return r})}}),Ru=Mr({"node_modules/jquery/dist/jquery.js"(t,n){(function(r,o){"use strict";typeof n=="object"&&typeof n.exports=="object"?n.exports=r.document?o(r,!0):function(s){if(!s.document)throw new Error("jQuery requires a window with a document");return o(s)}:o(r)})(typeof window!="undefined"?window:t,function(r,o){"use strict";var s=[],l=Object.getPrototypeOf,h=s.slice,d=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},m=s.push,y=s.indexOf,S={},v=S.toString,_=S.hasOwnProperty,O=_.toString,D=O.call(Object),k={},A=function(i){return typeof i=="function"&&typeof i.nodeType!="number"&&typeof i.item!="function"},P=function(i){return i!=null&&i===i.window},j=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function E(e,i,a){a=a||j;var c,f,p=a.createElement("script");if(p.text=e,i)for(c in w)f=i[c]||i.getAttribute&&i.getAttribute(c),f&&p.setAttribute(c,f);a.head.appendChild(p).parentNode.removeChild(p)}function L(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?S[v.call(e)]||"object":typeof e}var M="3.7.1",B=/HTML$/i,u=function(e,i){return new u.fn.init(e,i)};u.fn=u.prototype={jquery:M,constructor:u,length:0,toArray:function(){return h.call(this)},get:function(e){return e==null?h.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var i=u.merge(this.constructor(),e);return i.prevObject=this,i},each:function(e){return u.each(this,e)},map:function(e){return this.pushStack(u.map(this,function(i,a){return e.call(i,a,i)}))},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(u.grep(this,function(e,i){return(i+1)%2}))},odd:function(){return this.pushStack(u.grep(this,function(e,i){return i%2}))},eq:function(e){var i=this.length,a=+e+(e<0?i:0);return this.pushStack(a>=0&&a<i?[this[a]]:[])},end:function(){return this.prevObject||this.constructor()},push:m,sort:s.sort,splice:s.splice},u.extend=u.fn.extend=function(){var e,i,a,c,f,p,g=arguments[0]||{},C=1,x=arguments.length,N=!1;for(typeof g=="boolean"&&(N=g,g=arguments[C]||{},C++),typeof g!="object"&&!A(g)&&(g={}),C===x&&(g=this,C--);C<x;C++)if((e=arguments[C])!=null)for(i in e)c=e[i],!(i==="__proto__"||g===c)&&(N&&c&&(u.isPlainObject(c)||(f=Array.isArray(c)))?(a=g[i],f&&!Array.isArray(a)?p=[]:!f&&!u.isPlainObject(a)?p={}:p=a,f=!1,g[i]=u.extend(N,p,c)):c!==void 0&&(g[i]=c));return g},u.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var i,a;return!e||v.call(e)!=="[object Object]"?!1:(i=l(e),i?(a=_.call(i,"constructor")&&i.constructor,typeof a=="function"&&O.call(a)===D):!0)},isEmptyObject:function(e){var i;for(i in e)return!1;return!0},globalEval:function(e,i,a){E(e,{nonce:i&&i.nonce},a)},each:function(e,i){var a,c=0;if(W(e))for(a=e.length;c<a&&i.call(e[c],c,e[c])!==!1;c++);else for(c in e)if(i.call(e[c],c,e[c])===!1)break;return e},text:function(e){var i,a="",c=0,f=e.nodeType;if(!f)for(;i=e[c++];)a+=u.text(i);return f===1||f===11?e.textContent:f===9?e.documentElement.textContent:f===3||f===4?e.nodeValue:a},makeArray:function(e,i){var a=i||[];return e!=null&&(W(Object(e))?u.merge(a,typeof e=="string"?[e]:e):m.call(a,e)),a},inArray:function(e,i,a){return i==null?-1:y.call(i,e,a)},isXMLDoc:function(e){var i=e&&e.namespaceURI,a=e&&(e.ownerDocument||e).documentElement;return!B.test(i||a&&a.nodeName||"HTML")},merge:function(e,i){for(var a=+i.length,c=0,f=e.length;c<a;c++)e[f++]=i[c];return e.length=f,e},grep:function(e,i,a){for(var c,f=[],p=0,g=e.length,C=!a;p<g;p++)c=!i(e[p],p),c!==C&&f.push(e[p]);return f},map:function(e,i,a){var c,f,p=0,g=[];if(W(e))for(c=e.length;p<c;p++)f=i(e[p],p,a),f!=null&&g.push(f);else for(p in e)f=i(e[p],p,a),f!=null&&g.push(f);return d(g)},guid:1,support:k}),typeof Symbol=="function"&&(u.fn[Symbol.iterator]=s[Symbol.iterator]),u.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,i){S["[object "+i+"]"]=i.toLowerCase()});function W(e){var i=!!e&&"length"in e&&e.length,a=L(e);return A(e)||P(e)?!1:a==="array"||i===0||typeof i=="number"&&i>0&&i-1 in e}function F(e,i){return e.nodeName&&e.nodeName.toLowerCase()===i.toLowerCase()}var X=s.pop,oe=s.sort,Ae=s.splice,re="[\\x20\\t\\r\\n\\f]",xe=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g");u.contains=function(e,i){var a=i&&i.parentNode;return e===a||!!(a&&a.nodeType===1&&(e.contains?e.contains(a):e.compareDocumentPosition&&e.compareDocumentPosition(a)&16))};var Q=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function K(e,i){return i?e==="\0"?"\uFFFD":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}u.escapeSelector=function(e){return(e+"").replace(Q,K)};var G=j,ie=m;(function(){var e,i,a,c,f,p=ie,g,C,x,N,$,z=u.expando,q=0,J=0,ye=fi(),Ie=fi(),we=fi(),it=fi(),Ze=function(b,I){return b===I&&(f=!0),0},Ht="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ft="(?:\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Te="\\["+re+"*("+Ft+")(?:"+re+"*([*^$|!~]?=)"+re+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ft+"))|)"+re+"*\\]",An=":("+Ft+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Te+")*)|.*)\\)|)",Pe=new RegExp(re+"+","g"),Qe=new RegExp("^"+re+"*,"+re+"*"),Lr=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),io=new RegExp(re+"|>"),$t=new RegExp(An),Rr=new RegExp("^"+Ft+"$"),Bt={ID:new RegExp("^#("+Ft+")"),CLASS:new RegExp("^\\.("+Ft+")"),TAG:new RegExp("^("+Ft+"|[*])"),ATTR:new RegExp("^"+Te),PSEUDO:new RegExp("^"+An),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+Ht+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},an=/^(?:input|select|textarea|button)$/i,un=/^h\d$/i,Ot=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,oo=/[+~]/,Yt=new RegExp("\\\\[\\da-fA-F]{1,6}"+re+"?|\\\\([^\\r\\n\\f])","g"),Xt=function(b,I){var R="0x"+b.slice(1)-65536;return I||(R<0?String.fromCharCode(R+65536):String.fromCharCode(R>>10|55296,R&1023|56320))},ul=function(){sn()},sl=di(function(b){return b.disabled===!0&&F(b,"fieldset")},{dir:"parentNode",next:"legend"});function cl(){try{return g.activeElement}catch(b){}}try{p.apply(s=h.call(G.childNodes),G.childNodes),s[G.childNodes.length].nodeType}catch(b){p={apply:function(I,R){ie.apply(I,h.call(R))},call:function(I){ie.apply(I,h.call(arguments,1))}}}function Le(b,I,R,H){var U,te,ae,fe,ue,Oe,ve,be=I&&I.ownerDocument,ke=I?I.nodeType:9;if(R=R||[],typeof b!="string"||!b||ke!==1&&ke!==9&&ke!==11)return R;if(!H&&(sn(I),I=I||g,x)){if(ke!==11&&(ue=Ot.exec(b)))if(U=ue[1]){if(ke===9)if(ae=I.getElementById(U)){if(ae.id===U)return p.call(R,ae),R}else return R;else if(be&&(ae=be.getElementById(U))&&Le.contains(I,ae)&&ae.id===U)return p.call(R,ae),R}else{if(ue[2])return p.apply(R,I.getElementsByTagName(b)),R;if((U=ue[3])&&I.getElementsByClassName)return p.apply(R,I.getElementsByClassName(U)),R}if(!it[b+" "]&&(!N||!N.test(b))){if(ve=b,be=I,ke===1&&(io.test(b)||Lr.test(b))){for(be=oo.test(b)&&ao(I.parentNode)||I,(be!=I||!k.scope)&&((fe=I.getAttribute("id"))?fe=u.escapeSelector(fe):I.setAttribute("id",fe=z)),Oe=qr(b),te=Oe.length;te--;)Oe[te]=(fe?"#"+fe:":scope")+" "+pi(Oe[te]);ve=Oe.join(",")}try{return p.apply(R,be.querySelectorAll(ve)),R}catch(he){it(b,!0)}finally{fe===z&&I.removeAttribute("id")}}}return ku(b.replace(xe,"$1"),I,R,H)}function fi(){var b=[];function I(R,H){return b.push(R+" ")>i.cacheLength&&delete I[b.shift()],I[R+" "]=H}return I}function Dt(b){return b[z]=!0,b}function Un(b){var I=g.createElement("fieldset");try{return!!b(I)}catch(R){return!1}finally{I.parentNode&&I.parentNode.removeChild(I),I=null}}function ll(b){return function(I){return F(I,"input")&&I.type===b}}function fl(b){return function(I){return(F(I,"input")||F(I,"button"))&&I.type===b}}function xu(b){return function(I){return"form"in I?I.parentNode&&I.disabled===!1?"label"in I?"label"in I.parentNode?I.parentNode.disabled===b:I.disabled===b:I.isDisabled===b||I.isDisabled!==!b&&sl(I)===b:I.disabled===b:"label"in I?I.disabled===b:!1}}function wn(b){return Dt(function(I){return I=+I,Dt(function(R,H){for(var U,te=b([],R.length,I),ae=te.length;ae--;)R[U=te[ae]]&&(R[U]=!(H[U]=R[U]))})})}function ao(b){return b&&typeof b.getElementsByTagName!="undefined"&&b}function sn(b){var I,R=b?b.ownerDocument||b:G;return R==g||R.nodeType!==9||!R.documentElement||(g=R,C=g.documentElement,x=!u.isXMLDoc(g),$=C.matches||C.webkitMatchesSelector||C.msMatchesSelector,C.msMatchesSelector&&G!=g&&(I=g.defaultView)&&I.top!==I&&I.addEventListener("unload",ul),k.getById=Un(function(H){return C.appendChild(H).id=u.expando,!g.getElementsByName||!g.getElementsByName(u.expando).length}),k.disconnectedMatch=Un(function(H){return $.call(H,"*")}),k.scope=Un(function(){return g.querySelectorAll(":scope")}),k.cssHas=Un(function(){try{return g.querySelector(":has(*,:jqfake)"),!1}catch(H){return!0}}),k.getById?(i.filter.ID=function(H){var U=H.replace(Yt,Xt);return function(te){return te.getAttribute("id")===U}},i.find.ID=function(H,U){if(typeof U.getElementById!="undefined"&&x){var te=U.getElementById(H);return te?[te]:[]}}):(i.filter.ID=function(H){var U=H.replace(Yt,Xt);return function(te){var ae=typeof te.getAttributeNode!="undefined"&&te.getAttributeNode("id");return ae&&ae.value===U}},i.find.ID=function(H,U){if(typeof U.getElementById!="undefined"&&x){var te,ae,fe,ue=U.getElementById(H);if(ue){if(te=ue.getAttributeNode("id"),te&&te.value===H)return[ue];for(fe=U.getElementsByName(H),ae=0;ue=fe[ae++];)if(te=ue.getAttributeNode("id"),te&&te.value===H)return[ue]}return[]}}),i.find.TAG=function(H,U){return typeof U.getElementsByTagName!="undefined"?U.getElementsByTagName(H):U.querySelectorAll(H)},i.find.CLASS=function(H,U){if(typeof U.getElementsByClassName!="undefined"&&x)return U.getElementsByClassName(H)},N=[],Un(function(H){var U;C.appendChild(H).innerHTML="<a id='"+z+"' href='' disabled='disabled'></a><select id='"+z+"-\r\\' disabled='disabled'><option selected=''></option></select>",H.querySelectorAll("[selected]").length||N.push("\\["+re+"*(?:value|"+Ht+")"),H.querySelectorAll("[id~="+z+"-]").length||N.push("~="),H.querySelectorAll("a#"+z+"+*").length||N.push(".#.+[+~]"),H.querySelectorAll(":checked").length||N.push(":checked"),U=g.createElement("input"),U.setAttribute("type","hidden"),H.appendChild(U).setAttribute("name","D"),C.appendChild(H).disabled=!0,H.querySelectorAll(":disabled").length!==2&&N.push(":enabled",":disabled"),U=g.createElement("input"),U.setAttribute("name",""),H.appendChild(U),H.querySelectorAll("[name='']").length||N.push("\\["+re+"*name"+re+"*="+re+`*(?:''|"")`)}),k.cssHas||N.push(":has"),N=N.length&&new RegExp(N.join("|")),Ze=function(H,U){if(H===U)return f=!0,0;var te=!H.compareDocumentPosition-!U.compareDocumentPosition;return te||(te=(H.ownerDocument||H)==(U.ownerDocument||U)?H.compareDocumentPosition(U):1,te&1||!k.sortDetached&&U.compareDocumentPosition(H)===te?H===g||H.ownerDocument==G&&Le.contains(G,H)?-1:U===g||U.ownerDocument==G&&Le.contains(G,U)?1:c?y.call(c,H)-y.call(c,U):0:te&4?-1:1)}),g}Le.matches=function(b,I){return Le(b,null,null,I)},Le.matchesSelector=function(b,I){if(sn(b),x&&!it[I+" "]&&(!N||!N.test(I)))try{var R=$.call(b,I);if(R||k.disconnectedMatch||b.document&&b.document.nodeType!==11)return R}catch(H){it(I,!0)}return Le(I,g,null,[b]).length>0},Le.contains=function(b,I){return(b.ownerDocument||b)!=g&&sn(b),u.contains(b,I)},Le.attr=function(b,I){(b.ownerDocument||b)!=g&&sn(b);var R=i.attrHandle[I.toLowerCase()],H=R&&_.call(i.attrHandle,I.toLowerCase())?R(b,I,!x):void 0;return H!==void 0?H:b.getAttribute(I)},Le.error=function(b){throw new Error("Syntax error, unrecognized expression: "+b)},u.uniqueSort=function(b){var I,R=[],H=0,U=0;if(f=!k.sortStable,c=!k.sortStable&&h.call(b,0),oe.call(b,Ze),f){for(;I=b[U++];)I===b[U]&&(H=R.push(U));for(;H--;)Ae.call(b,R[H],1)}return c=null,b},u.fn.uniqueSort=function(){return this.pushStack(u.uniqueSort(h.apply(this)))},i=u.expr={cacheLength:50,createPseudo:Dt,match:Bt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(b){return b[1]=b[1].replace(Yt,Xt),b[3]=(b[3]||b[4]||b[5]||"").replace(Yt,Xt),b[2]==="~="&&(b[3]=" "+b[3]+" "),b.slice(0,4)},CHILD:function(b){return b[1]=b[1].toLowerCase(),b[1].slice(0,3)==="nth"?(b[3]||Le.error(b[0]),b[4]=+(b[4]?b[5]+(b[6]||1):2*(b[3]==="even"||b[3]==="odd")),b[5]=+(b[7]+b[8]||b[3]==="odd")):b[3]&&Le.error(b[0]),b},PSEUDO:function(b){var I,R=!b[6]&&b[2];return Bt.CHILD.test(b[0])?null:(b[3]?b[2]=b[4]||b[5]||"":R&&$t.test(R)&&(I=qr(R,!0))&&(I=R.indexOf(")",R.length-I)-R.length)&&(b[0]=b[0].slice(0,I),b[2]=R.slice(0,I)),b.slice(0,3))}},filter:{TAG:function(b){var I=b.replace(Yt,Xt).toLowerCase();return b==="*"?function(){return!0}:function(R){return F(R,I)}},CLASS:function(b){var I=ye[b+" "];return I||(I=new RegExp("(^|"+re+")"+b+"("+re+"|$)"))&&ye(b,function(R){return I.test(typeof R.className=="string"&&R.className||typeof R.getAttribute!="undefined"&&R.getAttribute("class")||"")})},ATTR:function(b,I,R){return function(H){var U=Le.attr(H,b);return U==null?I==="!=":I?(U+="",I==="="?U===R:I==="!="?U!==R:I==="^="?R&&U.indexOf(R)===0:I==="*="?R&&U.indexOf(R)>-1:I==="$="?R&&U.slice(-R.length)===R:I==="~="?(" "+U.replace(Pe," ")+" ").indexOf(R)>-1:I==="|="?U===R||U.slice(0,R.length+1)===R+"-":!1):!0}},CHILD:function(b,I,R,H,U){var te=b.slice(0,3)!=="nth",ae=b.slice(-4)!=="last",fe=I==="of-type";return H===1&&U===0?(function(ue){return!!ue.parentNode}):function(ue,Oe,ve){var be,ke,he,He,bt,ct=te!==ae?"nextSibling":"previousSibling",kt=ue.parentNode,Ut=fe&&ue.nodeName.toLowerCase(),zn=!ve&&!fe,dt=!1;if(kt){if(te){for(;ct;){for(he=ue;he=he[ct];)if(fe?F(he,Ut):he.nodeType===1)return!1;bt=ct=b==="only"&&!bt&&"nextSibling"}return!0}if(bt=[ae?kt.firstChild:kt.lastChild],ae&&zn){for(ke=kt[z]||(kt[z]={}),be=ke[b]||[],He=be[0]===q&&be[1],dt=He&&be[2],he=He&&kt.childNodes[He];he=++He&&he&&he[ct]||(dt=He=0)||bt.pop();)if(he.nodeType===1&&++dt&&he===ue){ke[b]=[q,He,dt];break}}else if(zn&&(ke=ue[z]||(ue[z]={}),be=ke[b]||[],He=be[0]===q&&be[1],dt=He),dt===!1)for(;(he=++He&&he&&he[ct]||(dt=He=0)||bt.pop())&&!((fe?F(he,Ut):he.nodeType===1)&&++dt&&(zn&&(ke=he[z]||(he[z]={}),ke[b]=[q,dt]),he===ue)););return dt-=U,dt===H||dt%H===0&&dt/H>=0}}},PSEUDO:function(b,I){var R,H=i.pseudos[b]||i.setFilters[b.toLowerCase()]||Le.error("unsupported pseudo: "+b);return H[z]?H(I):H.length>1?(R=[b,b,"",I],i.setFilters.hasOwnProperty(b.toLowerCase())?Dt(function(U,te){for(var ae,fe=H(U,I),ue=fe.length;ue--;)ae=y.call(U,fe[ue]),U[ae]=!(te[ae]=fe[ue])}):function(U){return H(U,0,R)}):H}},pseudos:{not:Dt(function(b){var I=[],R=[],H=lo(b.replace(xe,"$1"));return H[z]?Dt(function(U,te,ae,fe){for(var ue,Oe=H(U,null,fe,[]),ve=U.length;ve--;)(ue=Oe[ve])&&(U[ve]=!(te[ve]=ue))}):function(U,te,ae){return I[0]=U,H(I,null,ae,R),I[0]=null,!R.pop()}}),has:Dt(function(b){return function(I){return Le(b,I).length>0}}),contains:Dt(function(b){return b=b.replace(Yt,Xt),function(I){return(I.textContent||u.text(I)).indexOf(b)>-1}}),lang:Dt(function(b){return Rr.test(b||"")||Le.error("unsupported lang: "+b),b=b.replace(Yt,Xt).toLowerCase(),function(I){var R;do if(R=x?I.lang:I.getAttribute("xml:lang")||I.getAttribute("lang"))return R=R.toLowerCase(),R===b||R.indexOf(b+"-")===0;while((I=I.parentNode)&&I.nodeType===1);return!1}}),target:function(b){var I=r.location&&r.location.hash;return I&&I.slice(1)===b.id},root:function(b){return b===C},focus:function(b){return b===cl()&&g.hasFocus()&&!!(b.type||b.href||~b.tabIndex)},enabled:xu(!1),disabled:xu(!0),checked:function(b){return F(b,"input")&&!!b.checked||F(b,"option")&&!!b.selected},selected:function(b){return b.parentNode&&b.parentNode.selectedIndex,b.selected===!0},empty:function(b){for(b=b.firstChild;b;b=b.nextSibling)if(b.nodeType<6)return!1;return!0},parent:function(b){return!i.pseudos.empty(b)},header:function(b){return un.test(b.nodeName)},input:function(b){return an.test(b.nodeName)},button:function(b){return F(b,"input")&&b.type==="button"||F(b,"button")},text:function(b){var I;return F(b,"input")&&b.type==="text"&&((I=b.getAttribute("type"))==null||I.toLowerCase()==="text")},first:wn(function(){return[0]}),last:wn(function(b,I){return[I-1]}),eq:wn(function(b,I,R){return[R<0?R+I:R]}),even:wn(function(b,I){for(var R=0;R<I;R+=2)b.push(R);return b}),odd:wn(function(b,I){for(var R=1;R<I;R+=2)b.push(R);return b}),lt:wn(function(b,I,R){var H;for(R<0?H=R+I:R>I?H=I:H=R;--H>=0;)b.push(H);return b}),gt:wn(function(b,I,R){for(var H=R<0?R+I:R;++H<I;)b.push(H);return b})}},i.pseudos.nth=i.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ll(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=fl(e);function Ou(){}Ou.prototype=i.filters=i.pseudos,i.setFilters=new Ou;function qr(b,I){var R,H,U,te,ae,fe,ue,Oe=Ie[b+" "];if(Oe)return I?0:Oe.slice(0);for(ae=b,fe=[],ue=i.preFilter;ae;){(!R||(H=Qe.exec(ae)))&&(H&&(ae=ae.slice(H[0].length)||ae),fe.push(U=[])),R=!1,(H=Lr.exec(ae))&&(R=H.shift(),U.push({value:R,type:H[0].replace(xe," ")}),ae=ae.slice(R.length));for(te in i.filter)(H=Bt[te].exec(ae))&&(!ue[te]||(H=ue[te](H)))&&(R=H.shift(),U.push({value:R,type:te,matches:H}),ae=ae.slice(R.length));if(!R)break}return I?ae.length:ae?Le.error(b):Ie(b,fe).slice(0)}function pi(b){for(var I=0,R=b.length,H="";I<R;I++)H+=b[I].value;return H}function di(b,I,R){var H=I.dir,U=I.next,te=U||H,ae=R&&te==="parentNode",fe=J++;return I.first?(function(ue,Oe,ve){for(;ue=ue[H];)if(ue.nodeType===1||ae)return b(ue,Oe,ve);return!1}):(function(ue,Oe,ve){var be,ke,he=[q,fe];if(ve){for(;ue=ue[H];)if((ue.nodeType===1||ae)&&b(ue,Oe,ve))return!0}else for(;ue=ue[H];)if(ue.nodeType===1||ae)if(ke=ue[z]||(ue[z]={}),U&&F(ue,U))ue=ue[H]||ue;else{if((be=ke[te])&&be[0]===q&&be[1]===fe)return he[2]=be[2];if(ke[te]=he,he[2]=b(ue,Oe,ve))return!0}return!1})}function uo(b){return b.length>1?function(I,R,H){for(var U=b.length;U--;)if(!b[U](I,R,H))return!1;return!0}:b[0]}function pl(b,I,R){for(var H=0,U=I.length;H<U;H++)Le(b,I[H],R);return R}function hi(b,I,R,H,U){for(var te,ae=[],fe=0,ue=b.length,Oe=I!=null;fe<ue;fe++)(te=b[fe])&&(!R||R(te,H,U))&&(ae.push(te),Oe&&I.push(fe));return ae}function so(b,I,R,H,U,te){return H&&!H[z]&&(H=so(H)),U&&!U[z]&&(U=so(U,te)),Dt(function(ae,fe,ue,Oe){var ve,be,ke,he,He=[],bt=[],ct=fe.length,kt=ae||pl(I||"*",ue.nodeType?[ue]:ue,[]),Ut=b&&(ae||!I)?hi(kt,He,b,ue,Oe):kt;if(R?(he=U||(ae?b:ct||H)?[]:fe,R(Ut,he,ue,Oe)):he=Ut,H)for(ve=hi(he,bt),H(ve,[],ue,Oe),be=ve.length;be--;)(ke=ve[be])&&(he[bt[be]]=!(Ut[bt[be]]=ke));if(ae){if(U||b){if(U){for(ve=[],be=he.length;be--;)(ke=he[be])&&ve.push(Ut[be]=ke);U(null,he=[],ve,Oe)}for(be=he.length;be--;)(ke=he[be])&&(ve=U?y.call(ae,ke):He[be])>-1&&(ae[ve]=!(fe[ve]=ke))}}else he=hi(he===fe?he.splice(ct,he.length):he),U?U(null,fe,he,Oe):p.apply(fe,he)})}function co(b){for(var I,R,H,U=b.length,te=i.relative[b[0].type],ae=te||i.relative[" "],fe=te?1:0,ue=di(function(be){return be===I},ae,!0),Oe=di(function(be){return y.call(I,be)>-1},ae,!0),ve=[function(be,ke,he){var He=!te&&(he||ke!=a)||((I=ke).nodeType?ue(be,ke,he):Oe(be,ke,he));return I=null,He}];fe<U;fe++)if(R=i.relative[b[fe].type])ve=[di(uo(ve),R)];else{if(R=i.filter[b[fe].type].apply(null,b[fe].matches),R[z]){for(H=++fe;H<U&&!i.relative[b[H].type];H++);return so(fe>1&&uo(ve),fe>1&&pi(b.slice(0,fe-1).concat({value:b[fe-2].type===" "?"*":""})).replace(xe,"$1"),R,fe<H&&co(b.slice(fe,H)),H<U&&co(b=b.slice(H)),H<U&&pi(b))}ve.push(R)}return uo(ve)}function dl(b,I){var R=I.length>0,H=b.length>0,U=function(te,ae,fe,ue,Oe){var ve,be,ke,he=0,He="0",bt=te&&[],ct=[],kt=a,Ut=te||H&&i.find.TAG("*",Oe),zn=q+=kt==null?1:Math.random()||.1,dt=Ut.length;for(Oe&&(a=ae==g||ae||Oe);He!==dt&&(ve=Ut[He])!=null;He++){if(H&&ve){for(be=0,!ae&&ve.ownerDocument!=g&&(sn(ve),fe=!x);ke=b[be++];)if(ke(ve,ae||g,fe)){p.call(ue,ve);break}Oe&&(q=zn)}R&&((ve=!ke&&ve)&&he--,te&&bt.push(ve))}if(he+=He,R&&He!==he){for(be=0;ke=I[be++];)ke(bt,ct,ae,fe);if(te){if(he>0)for(;He--;)bt[He]||ct[He]||(ct[He]=X.call(ue));ct=hi(ct)}p.apply(ue,ct),Oe&&!te&&ct.length>0&&he+I.length>1&&u.uniqueSort(ue)}return Oe&&(q=zn,a=kt),bt};return R?Dt(U):U}function lo(b,I){var R,H=[],U=[],te=we[b+" "];if(!te){for(I||(I=qr(b)),R=I.length;R--;)te=co(I[R]),te[z]?H.push(te):U.push(te);te=we(b,dl(U,H)),te.selector=b}return te}function ku(b,I,R,H){var U,te,ae,fe,ue,Oe=typeof b=="function"&&b,ve=!H&&qr(b=Oe.selector||b);if(R=R||[],ve.length===1){if(te=ve[0]=ve[0].slice(0),te.length>2&&(ae=te[0]).type==="ID"&&I.nodeType===9&&x&&i.relative[te[1].type]){if(I=(i.find.ID(ae.matches[0].replace(Yt,Xt),I)||[])[0],I)Oe&&(I=I.parentNode);else return R;b=b.slice(te.shift().value.length)}for(U=Bt.needsContext.test(b)?0:te.length;U--&&(ae=te[U],!i.relative[fe=ae.type]);)if((ue=i.find[fe])&&(H=ue(ae.matches[0].replace(Yt,Xt),oo.test(te[0].type)&&ao(I.parentNode)||I))){if(te.splice(U,1),b=H.length&&pi(te),!b)return p.apply(R,H),R;break}}return(Oe||lo(b,ve))(H,I,!x,R,!I||oo.test(b)&&ao(I.parentNode)||I),R}k.sortStable=z.split("").sort(Ze).join("")===z,sn(),k.sortDetached=Un(function(b){return b.compareDocumentPosition(g.createElement("fieldset"))&1}),u.find=Le,u.expr[":"]=u.expr.pseudos,u.unique=u.uniqueSort,Le.compile=lo,Le.select=ku,Le.setDocument=sn,Le.tokenize=qr,Le.escape=u.escapeSelector,Le.getText=u.text,Le.isXML=u.isXMLDoc,Le.selectors=u.expr,Le.support=u.support,Le.uniqueSort=u.uniqueSort})();var Z=function(e,i,a){for(var c=[],f=a!==void 0;(e=e[i])&&e.nodeType!==9;)if(e.nodeType===1){if(f&&u(e).is(a))break;c.push(e)}return c},pe=function(e,i){for(var a=[];e;e=e.nextSibling)e.nodeType===1&&e!==i&&a.push(e);return a},ne=u.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Y(e,i,a){return A(i)?u.grep(e,function(c,f){return!!i.call(c,f,c)!==a}):i.nodeType?u.grep(e,function(c){return c===i!==a}):typeof i!="string"?u.grep(e,function(c){return y.call(i,c)>-1!==a}):u.filter(i,e,a)}u.filter=function(e,i,a){var c=i[0];return a&&(e=":not("+e+")"),i.length===1&&c.nodeType===1?u.find.matchesSelector(c,e)?[c]:[]:u.find.matches(e,u.grep(i,function(f){return f.nodeType===1}))},u.fn.extend({find:function(e){var i,a,c=this.length,f=this;if(typeof e!="string")return this.pushStack(u(e).filter(function(){for(i=0;i<c;i++)if(u.contains(f[i],this))return!0}));for(a=this.pushStack([]),i=0;i<c;i++)u.find(e,f[i],a);return c>1?u.uniqueSort(a):a},filter:function(e){return this.pushStack(Y(this,e||[],!1))},not:function(e){return this.pushStack(Y(this,e||[],!0))},is:function(e){return!!Y(this,typeof e=="string"&&ne.test(e)?u(e):e||[],!1).length}});var ee,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,le=u.fn.init=function(e,i,a){var c,f;if(!e)return this;if(a=a||ee,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?c=[null,e,null]:c=ce.exec(e),c&&(c[1]||!i))if(c[1]){if(i=i instanceof u?i[0]:i,u.merge(this,u.parseHTML(c[1],i&&i.nodeType?i.ownerDocument||i:j,!0)),V.test(c[1])&&u.isPlainObject(i))for(c in i)A(this[c])?this[c](i[c]):this.attr(c,i[c]);return this}else return f=j.getElementById(c[2]),f&&(this[0]=f,this.length=1),this;else return!i||i.jquery?(i||a).find(e):this.constructor(i).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(A(e))return a.ready!==void 0?a.ready(e):e(u)}return u.makeArray(e,this)};le.prototype=u.fn,ee=u(j);var Ue=/^(?:parents|prev(?:Until|All))/,Ye={children:!0,contents:!0,next:!0,prev:!0};u.fn.extend({has:function(e){var i=u(e,this),a=i.length;return this.filter(function(){for(var c=0;c<a;c++)if(u.contains(this,i[c]))return!0})},closest:function(e,i){var a,c=0,f=this.length,p=[],g=typeof e!="string"&&u(e);if(!ne.test(e)){for(;c<f;c++)for(a=this[c];a&&a!==i;a=a.parentNode)if(a.nodeType<11&&(g?g.index(a)>-1:a.nodeType===1&&u.find.matchesSelector(a,e))){p.push(a);break}}return this.pushStack(p.length>1?u.uniqueSort(p):p)},index:function(e){return e?typeof e=="string"?y.call(u(e),this[0]):y.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,i){return this.pushStack(u.uniqueSort(u.merge(this.get(),u(e,i))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function gt(e,i){for(;(e=e[i])&&e.nodeType!==1;);return e}u.each({parent:function(e){var i=e.parentNode;return i&&i.nodeType!==11?i:null},parents:function(e){return Z(e,"parentNode")},parentsUntil:function(e,i,a){return Z(e,"parentNode",a)},next:function(e){return gt(e,"nextSibling")},prev:function(e){return gt(e,"previousSibling")},nextAll:function(e){return Z(e,"nextSibling")},prevAll:function(e){return Z(e,"previousSibling")},nextUntil:function(e,i,a){return Z(e,"nextSibling",a)},prevUntil:function(e,i,a){return Z(e,"previousSibling",a)},siblings:function(e){return pe((e.parentNode||{}).firstChild,e)},children:function(e){return pe(e.firstChild)},contents:function(e){return e.contentDocument!=null&&l(e.contentDocument)?e.contentDocument:(F(e,"template")&&(e=e.content||e),u.merge([],e.childNodes))}},function(e,i){u.fn[e]=function(a,c){var f=u.map(this,i,a);return e.slice(-5)!=="Until"&&(c=a),c&&typeof c=="string"&&(f=u.filter(c,f)),this.length>1&&(Ye[e]||u.uniqueSort(f),Ue.test(e)&&f.reverse()),this.pushStack(f)}});var $e=/[^\x20\t\r\n\f]+/g;function _t(e){var i={};return u.each(e.match($e)||[],function(a,c){i[c]=!0}),i}u.Callbacks=function(e){e=typeof e=="string"?_t(e):u.extend({},e);var i,a,c,f,p=[],g=[],C=-1,x=function(){for(f=f||e.once,c=i=!0;g.length;C=-1)for(a=g.shift();++C<p.length;)p[C].apply(a[0],a[1])===!1&&e.stopOnFalse&&(C=p.length,a=!1);e.memory||(a=!1),i=!1,f&&(a?p=[]:p="")},N={add:function(){return p&&(a&&!i&&(C=p.length-1,g.push(a)),(function $(z){u.each(z,function(q,J){A(J)?(!e.unique||!N.has(J))&&p.push(J):J&&J.length&&L(J)!=="string"&&$(J)})})(arguments),a&&!i&&x()),this},remove:function(){return u.each(arguments,function($,z){for(var q;(q=u.inArray(z,p,q))>-1;)p.splice(q,1),q<=C&&C--}),this},has:function($){return $?u.inArray($,p)>-1:p.length>0},empty:function(){return p&&(p=[]),this},disable:function(){return f=g=[],p=a="",this},disabled:function(){return!p},lock:function(){return f=g=[],!a&&!i&&(p=a=""),this},locked:function(){return!!f},fireWith:function($,z){return f||(z=z||[],z=[$,z.slice?z.slice():z],g.push(z),i||x()),this},fire:function(){return N.fireWith(this,arguments),this},fired:function(){return!!c}};return N};function nt(e){return e}function At(e){throw e}function oi(e,i,a,c){var f;try{e&&A(f=e.promise)?f.call(e).done(i).fail(a):e&&A(f=e.then)?f.call(e,i,a):i.apply(void 0,[e].slice(c))}catch(p){a.apply(void 0,[p])}}u.extend({Deferred:function(e){var i=[["notify","progress",u.Callbacks("memory"),u.Callbacks("memory"),2],["resolve","done",u.Callbacks("once memory"),u.Callbacks("once memory"),0,"resolved"],["reject","fail",u.Callbacks("once memory"),u.Callbacks("once memory"),1,"rejected"]],a="pending",c={state:function(){return a},always:function(){return f.done(arguments).fail(arguments),this},catch:function(p){return c.then(null,p)},pipe:function(){var p=arguments;return u.Deferred(function(g){u.each(i,function(C,x){var N=A(p[x[4]])&&p[x[4]];f[x[1]](function(){var $=N&&N.apply(this,arguments);$&&A($.promise)?$.promise().progress(g.notify).done(g.resolve).fail(g.reject):g[x[0]+"With"](this,N?[$]:arguments)})}),p=null}).promise()},then:function(p,g,C){var x=0;function N($,z,q,J){return function(){var ye=this,Ie=arguments,we=function(){var Ze,Ht;if(!($<x)){if(Ze=q.apply(ye,Ie),Ze===z.promise())throw new TypeError("Thenable self-resolution");Ht=Ze&&(typeof Ze=="object"||typeof Ze=="function")&&Ze.then,A(Ht)?J?Ht.call(Ze,N(x,z,nt,J),N(x,z,At,J)):(x++,Ht.call(Ze,N(x,z,nt,J),N(x,z,At,J),N(x,z,nt,z.notifyWith))):(q!==nt&&(ye=void 0,Ie=[Ze]),(J||z.resolveWith)(ye,Ie))}},it=J?we:function(){try{we()}catch(Ze){u.Deferred.exceptionHook&&u.Deferred.exceptionHook(Ze,it.error),$+1>=x&&(q!==At&&(ye=void 0,Ie=[Ze]),z.rejectWith(ye,Ie))}};$?it():(u.Deferred.getErrorHook?it.error=u.Deferred.getErrorHook():u.Deferred.getStackHook&&(it.error=u.Deferred.getStackHook()),r.setTimeout(it))}}return u.Deferred(function($){i[0][3].add(N(0,$,A(C)?C:nt,$.notifyWith)),i[1][3].add(N(0,$,A(p)?p:nt)),i[2][3].add(N(0,$,A(g)?g:At))}).promise()},promise:function(p){return p!=null?u.extend(p,c):c}},f={};return u.each(i,function(p,g){var C=g[2],x=g[5];c[g[1]]=C.add,x&&C.add(function(){a=x},i[3-p][2].disable,i[3-p][3].disable,i[0][2].lock,i[0][3].lock),C.add(g[3].fire),f[g[0]]=function(){return f[g[0]+"With"](this===f?void 0:this,arguments),this},f[g[0]+"With"]=C.fireWith}),c.promise(f),e&&e.call(f,f),f},when:function(e){var i=arguments.length,a=i,c=Array(a),f=h.call(arguments),p=u.Deferred(),g=function(C){return function(x){c[C]=this,f[C]=arguments.length>1?h.call(arguments):x,--i||p.resolveWith(c,f)}};if(i<=1&&(oi(e,p.done(g(a)).resolve,p.reject,!i),p.state()==="pending"||A(f[a]&&f[a].then)))return p.then();for(;a--;)oi(f[a],g(a),p.reject);return p.promise()}});var ai=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;u.Deferred.exceptionHook=function(e,i){r.console&&r.console.warn&&e&&ai.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},u.readyException=function(e){r.setTimeout(function(){throw e})};var _e=u.Deferred();u.fn.ready=function(e){return _e.then(e).catch(function(i){u.readyException(i)}),this},u.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--u.readyWait:u.isReady)||(u.isReady=!0,!(e!==!0&&--u.readyWait>0)&&_e.resolveWith(j,[u]))}}),u.ready.then=_e.then;function je(){j.removeEventListener("DOMContentLoaded",je),r.removeEventListener("load",je),u.ready()}j.readyState==="complete"||j.readyState!=="loading"&&!j.documentElement.doScroll?r.setTimeout(u.ready):(j.addEventListener("DOMContentLoaded",je),r.addEventListener("load",je));var Me=function(e,i,a,c,f,p,g){var C=0,x=e.length,N=a==null;if(L(a)==="object"){f=!0;for(C in a)Me(e,i,C,a[C],!0,p,g)}else if(c!==void 0&&(f=!0,A(c)||(g=!0),N&&(g?(i.call(e,c),i=null):(N=i,i=function($,z,q){return N.call(u($),q)})),i))for(;C<x;C++)i(e[C],a,g?c:c.call(e[C],C,i(e[C],a)));return f?e:N?i.call(e):x?i(e[0],a):p},at=/^-ms-/,lt=/-([a-z])/g;function mt(e,i){return i.toUpperCase()}function me(e){return e.replace(at,"ms-").replace(lt,mt)}var qe=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Ne(){this.expando=u.expando+Ne.uid++}Ne.uid=1,Ne.prototype={cache:function(e){var i=e[this.expando];return i||(i={},qe(e)&&(e.nodeType?e[this.expando]=i:Object.defineProperty(e,this.expando,{value:i,configurable:!0}))),i},set:function(e,i,a){var c,f=this.cache(e);if(typeof i=="string")f[me(i)]=a;else for(c in i)f[me(c)]=i[c];return f},get:function(e,i){return i===void 0?this.cache(e):e[this.expando]&&e[this.expando][me(i)]},access:function(e,i,a){return i===void 0||i&&typeof i=="string"&&a===void 0?this.get(e,i):(this.set(e,i,a),a!==void 0?a:i)},remove:function(e,i){var a,c=e[this.expando];if(c!==void 0){if(i!==void 0)for(Array.isArray(i)?i=i.map(me):(i=me(i),i=i in c?[i]:i.match($e)||[]),a=i.length;a--;)delete c[i[a]];(i===void 0||u.isEmptyObject(c))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var i=e[this.expando];return i!==void 0&&!u.isEmptyObject(i)}};var se=new Ne,Ve=new Ne,Et=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/[A-Z]/g;function ut(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:Et.test(e)?JSON.parse(e):e}function de(e,i,a){var c;if(a===void 0&&e.nodeType===1)if(c="data-"+i.replace(wt,"-$&").toLowerCase(),a=e.getAttribute(c),typeof a=="string"){try{a=ut(a)}catch(f){}Ve.set(e,i,a)}else a=void 0;return a}u.extend({hasData:function(e){return Ve.hasData(e)||se.hasData(e)},data:function(e,i,a){return Ve.access(e,i,a)},removeData:function(e,i){Ve.remove(e,i)},_data:function(e,i,a){return se.access(e,i,a)},_removeData:function(e,i){se.remove(e,i)}}),u.fn.extend({data:function(e,i){var a,c,f,p=this[0],g=p&&p.attributes;if(e===void 0){if(this.length&&(f=Ve.get(p),p.nodeType===1&&!se.get(p,"hasDataAttrs"))){for(a=g.length;a--;)g[a]&&(c=g[a].name,c.indexOf("data-")===0&&(c=me(c.slice(5)),de(p,c,f[c])));se.set(p,"hasDataAttrs",!0)}return f}return typeof e=="object"?this.each(function(){Ve.set(this,e)}):Me(this,function(C){var x;if(p&&C===void 0)return x=Ve.get(p,e),x!==void 0||(x=de(p,e),x!==void 0)?x:void 0;this.each(function(){Ve.set(this,e,C)})},null,i,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ve.remove(this,e)})}}),u.extend({queue:function(e,i,a){var c;if(e)return i=(i||"fx")+"queue",c=se.get(e,i),a&&(!c||Array.isArray(a)?c=se.access(e,i,u.makeArray(a)):c.push(a)),c||[]},dequeue:function(e,i){i=i||"fx";var a=u.queue(e,i),c=a.length,f=a.shift(),p=u._queueHooks(e,i),g=function(){u.dequeue(e,i)};f==="inprogress"&&(f=a.shift(),c--),f&&(i==="fx"&&a.unshift("inprogress"),delete p.stop,f.call(e,g,p)),!c&&p&&p.empty.fire()},_queueHooks:function(e,i){var a=i+"queueHooks";return se.get(e,a)||se.access(e,a,{empty:u.Callbacks("once memory").add(function(){se.remove(e,[i+"queue",a])})})}}),u.fn.extend({queue:function(e,i){var a=2;return typeof e!="string"&&(i=e,e="fx",a--),arguments.length<a?u.queue(this[0],e):i===void 0?this:this.each(function(){var c=u.queue(this,e,i);u._queueHooks(this,e),e==="fx"&&c[0]!=="inprogress"&&u.dequeue(this,e)})},dequeue:function(e){return this.each(function(){u.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,i){var a,c=1,f=u.Deferred(),p=this,g=this.length,C=function(){--c||f.resolveWith(p,[p])};for(typeof e!="string"&&(i=e,e=void 0),e=e||"fx";g--;)a=se.get(p[g],e+"queueHooks"),a&&a.empty&&(c++,a.empty.add(C));return C(),f.promise(i)}});var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),Ge=["Top","Right","Bottom","Left"],et=j.documentElement,ft=function(e){return u.contains(e.ownerDocument,e)},Gt={composed:!0};et.getRootNode&&(ft=function(e){return u.contains(e.ownerDocument,e)||e.getRootNode(Gt)===e.ownerDocument});var mn=function(e,i){return e=i||e,e.style.display==="none"||e.style.display===""&&ft(e)&&u.css(e,"display")==="none"};function wr(e,i,a,c){var f,p,g=20,C=c?function(){return c.cur()}:function(){return u.css(e,i,"")},x=C(),N=a&&a[3]||(u.cssNumber[i]?"":"px"),$=e.nodeType&&(u.cssNumber[i]||N!=="px"&&+x)&&ze.exec(u.css(e,i));if($&&$[3]!==N){for(x=x/2,N=N||$[3],$=+x||1;g--;)u.style(e,i,$+N),(1-p)*(1-(p=C()/x||.5))<=0&&(g=0),$=$/p;$=$*2,u.style(e,i,$+N),a=a||[]}return a&&($=+$||+x||0,f=a[1]?$+(a[1]+1)*a[2]:+a[2],c&&(c.unit=N,c.start=$,c.end=f)),f}var Zt={};function Sr(e){var i,a=e.ownerDocument,c=e.nodeName,f=Zt[c];return f||(i=a.body.appendChild(a.createElement(c)),f=u.css(i,"display"),i.parentNode.removeChild(i),f==="none"&&(f="block"),Zt[c]=f,f)}function en(e,i){for(var a,c,f=[],p=0,g=e.length;p<g;p++)c=e[p],c.style&&(a=c.style.display,i?(a==="none"&&(f[p]=se.get(c,"display")||null,f[p]||(c.style.display="")),c.style.display===""&&mn(c)&&(f[p]=Sr(c))):a!=="none"&&(f[p]="none",se.set(c,"display",a)));for(p=0;p<g;p++)f[p]!=null&&(e[p].style.display=f[p]);return e}u.fn.extend({show:function(){return en(this,!0)},hide:function(){return en(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){mn(this)?u(this).show():u(this).hide()})}});var tn=/^(?:checkbox|radio)$/i,Er=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,qn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=j.createDocumentFragment(),i=e.appendChild(j.createElement("div")),a=j.createElement("input");a.setAttribute("type","radio"),a.setAttribute("checked","checked"),a.setAttribute("name","t"),i.appendChild(a),k.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,i.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!i.cloneNode(!0).lastChild.defaultValue,i.innerHTML="<option></option>",k.option=!!i.lastChild})();var Be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td,k.option||(Be.optgroup=Be.option=[1,"<select multiple='multiple'>","</select>"]);function De(e,i){var a;return typeof e.getElementsByTagName!="undefined"?a=e.getElementsByTagName(i||"*"):typeof e.querySelectorAll!="undefined"?a=e.querySelectorAll(i||"*"):a=[],i===void 0||i&&F(e,i)?u.merge([e],a):a}function Ke(e,i){for(var a=0,c=e.length;a<c;a++)se.set(e[a],"globalEval",!i||se.get(i[a],"globalEval"))}var Tt=/<|&#?\w+;/;function Xe(e,i,a,c,f){for(var p,g,C,x,N,$,z=i.createDocumentFragment(),q=[],J=0,ye=e.length;J<ye;J++)if(p=e[J],p||p===0)if(L(p)==="object")u.merge(q,p.nodeType?[p]:p);else if(!Tt.test(p))q.push(i.createTextNode(p));else{for(g=g||z.appendChild(i.createElement("div")),C=(Er.exec(p)||["",""])[1].toLowerCase(),x=Be[C]||Be._default,g.innerHTML=x[1]+u.htmlPrefilter(p)+x[2],$=x[0];$--;)g=g.lastChild;u.merge(q,g.childNodes),g=z.firstChild,g.textContent=""}for(z.textContent="",J=0;p=q[J++];){if(c&&u.inArray(p,c)>-1){f&&f.push(p);continue}if(N=ft(p),g=De(z.appendChild(p),"script"),N&&Ke(g),a)for($=0;p=g[$++];)qn.test(p.type||"")&&a.push(p)}return z}var rt=/^([^.]*)(?:\.(.+)|)/;function pt(){return!0}function st(){return!1}function Je(e,i,a,c,f,p){var g,C;if(typeof i=="object"){typeof a!="string"&&(c=c||a,a=void 0);for(C in i)Je(e,C,a,c,i[C],p);return e}if(c==null&&f==null?(f=a,c=a=void 0):f==null&&(typeof a=="string"?(f=c,c=void 0):(f=c,c=a,a=void 0)),f===!1)f=st;else if(!f)return e;return p===1&&(g=f,f=function(x){return u().off(x),g.apply(this,arguments)},f.guid=g.guid||(g.guid=u.guid++)),e.each(function(){u.event.add(this,i,f,c,a)})}u.event={global:{},add:function(e,i,a,c,f){var p,g,C,x,N,$,z,q,J,ye,Ie,we=se.get(e);if(qe(e))for(a.handler&&(p=a,a=p.handler,f=p.selector),f&&u.find.matchesSelector(et,f),a.guid||(a.guid=u.guid++),(x=we.events)||(x=we.events=Object.create(null)),(g=we.handle)||(g=we.handle=function(it){return typeof u!="undefined"&&u.event.triggered!==it.type?u.event.dispatch.apply(e,arguments):void 0}),i=(i||"").match($e)||[""],N=i.length;N--;)C=rt.exec(i[N])||[],J=Ie=C[1],ye=(C[2]||"").split(".").sort(),J&&(z=u.event.special[J]||{},J=(f?z.delegateType:z.bindType)||J,z=u.event.special[J]||{},$=u.extend({type:J,origType:Ie,data:c,handler:a,guid:a.guid,selector:f,needsContext:f&&u.expr.match.needsContext.test(f),namespace:ye.join(".")},p),(q=x[J])||(q=x[J]=[],q.delegateCount=0,(!z.setup||z.setup.call(e,c,ye,g)===!1)&&e.addEventListener&&e.addEventListener(J,g)),z.add&&(z.add.call(e,$),$.handler.guid||($.handler.guid=a.guid)),f?q.splice(q.delegateCount++,0,$):q.push($),u.event.global[J]=!0)},remove:function(e,i,a,c,f){var p,g,C,x,N,$,z,q,J,ye,Ie,we=se.hasData(e)&&se.get(e);if(!(!we||!(x=we.events))){for(i=(i||"").match($e)||[""],N=i.length;N--;){if(C=rt.exec(i[N])||[],J=Ie=C[1],ye=(C[2]||"").split(".").sort(),!J){for(J in x)u.event.remove(e,J+i[N],a,c,!0);continue}for(z=u.event.special[J]||{},J=(c?z.delegateType:z.bindType)||J,q=x[J]||[],C=C[2]&&new RegExp("(^|\\.)"+ye.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=p=q.length;p--;)$=q[p],(f||Ie===$.origType)&&(!a||a.guid===$.guid)&&(!C||C.test($.namespace))&&(!c||c===$.selector||c==="**"&&$.selector)&&(q.splice(p,1),$.selector&&q.delegateCount--,z.remove&&z.remove.call(e,$));g&&!q.length&&((!z.teardown||z.teardown.call(e,ye,we.handle)===!1)&&u.removeEvent(e,J,we.handle),delete x[J])}u.isEmptyObject(x)&&se.remove(e,"handle events")}},dispatch:function(e){var i,a,c,f,p,g,C=new Array(arguments.length),x=u.event.fix(e),N=(se.get(this,"events")||Object.create(null))[x.type]||[],$=u.event.special[x.type]||{};for(C[0]=x,i=1;i<arguments.length;i++)C[i]=arguments[i];if(x.delegateTarget=this,!($.preDispatch&&$.preDispatch.call(this,x)===!1)){for(g=u.event.handlers.call(this,x,N),i=0;(f=g[i++])&&!x.isPropagationStopped();)for(x.currentTarget=f.elem,a=0;(p=f.handlers[a++])&&!x.isImmediatePropagationStopped();)(!x.rnamespace||p.namespace===!1||x.rnamespace.test(p.namespace))&&(x.handleObj=p,x.data=p.data,c=((u.event.special[p.origType]||{}).handle||p.handler).apply(f.elem,C),c!==void 0&&(x.result=c)===!1&&(x.preventDefault(),x.stopPropagation()));return $.postDispatch&&$.postDispatch.call(this,x),x.result}},handlers:function(e,i){var a,c,f,p,g,C=[],x=i.delegateCount,N=e.target;if(x&&N.nodeType&&!(e.type==="click"&&e.button>=1)){for(;N!==this;N=N.parentNode||this)if(N.nodeType===1&&!(e.type==="click"&&N.disabled===!0)){for(p=[],g={},a=0;a<x;a++)c=i[a],f=c.selector+" ",g[f]===void 0&&(g[f]=c.needsContext?u(f,this).index(N)>-1:u.find(f,this,null,[N]).length),g[f]&&p.push(c);p.length&&C.push({elem:N,handlers:p})}}return N=this,x<i.length&&C.push({elem:N,handlers:i.slice(x)}),C},addProp:function(e,i){Object.defineProperty(u.Event.prototype,e,{enumerable:!0,configurable:!0,get:A(i)?function(){if(this.originalEvent)return i(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(a){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:a})}})},fix:function(e){return e[u.expando]?e:new u.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var i=this||e;return tn.test(i.type)&&i.click&&F(i,"input")&&jt(i,"click",!0),!1},trigger:function(e){var i=this||e;return tn.test(i.type)&&i.click&&F(i,"input")&&jt(i,"click"),!0},_default:function(e){var i=e.target;return tn.test(i.type)&&i.click&&F(i,"input")&&se.get(i,"click")||F(i,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function jt(e,i,a){if(!a){se.get(e,i)===void 0&&u.event.add(e,i,pt);return}se.set(e,i,!1),u.event.add(e,i,{namespace:!1,handler:function(c){var f,p=se.get(this,i);if(c.isTrigger&1&&this[i]){if(p)(u.event.special[i]||{}).delegateType&&c.stopPropagation();else if(p=h.call(arguments),se.set(this,i,p),this[i](),f=se.get(this,i),se.set(this,i,!1),p!==f)return c.stopImmediatePropagation(),c.preventDefault(),f}else p&&(se.set(this,i,u.event.trigger(p[0],p.slice(1),this)),c.stopPropagation(),c.isImmediatePropagationStopped=pt)}})}u.removeEvent=function(e,i,a){e.removeEventListener&&e.removeEventListener(i,a)},u.Event=function(e,i){if(!(this instanceof u.Event))return new u.Event(e,i);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?pt:st,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,i&&u.extend(this,i),this.timeStamp=e&&e.timeStamp||Date.now(),this[u.expando]=!0},u.Event.prototype={constructor:u.Event,isDefaultPrevented:st,isPropagationStopped:st,isImmediatePropagationStopped:st,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=pt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=pt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=pt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},u.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},u.event.addProp),u.each({focus:"focusin",blur:"focusout"},function(e,i){function a(c){if(j.documentMode){var f=se.get(this,"handle"),p=u.event.fix(c);p.type=c.type==="focusin"?"focus":"blur",p.isSimulated=!0,f(c),p.target===p.currentTarget&&f(p)}else u.event.simulate(i,c.target,u.event.fix(c))}u.event.special[e]={setup:function(){var c;if(jt(this,e,!0),j.documentMode)c=se.get(this,i),c||this.addEventListener(i,a),se.set(this,i,(c||0)+1);else return!1},trigger:function(){return jt(this,e),!0},teardown:function(){var c;if(j.documentMode)c=se.get(this,i)-1,c?se.set(this,i,c):(this.removeEventListener(i,a),se.remove(this,i));else return!1},_default:function(c){return se.get(c.target,e)},delegateType:i},u.event.special[i]={setup:function(){var c=this.ownerDocument||this.document||this,f=j.documentMode?this:c,p=se.get(f,i);p||(j.documentMode?this.addEventListener(i,a):c.addEventListener(e,a,!0)),se.set(f,i,(p||0)+1)},teardown:function(){var c=this.ownerDocument||this.document||this,f=j.documentMode?this:c,p=se.get(f,i)-1;p?se.set(f,i,p):(j.documentMode?this.removeEventListener(i,a):c.removeEventListener(e,a,!0),se.remove(f,i))}}}),u.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){u.event.special[e]={delegateType:i,bindType:i,handle:function(a){var c,f=this,p=a.relatedTarget,g=a.handleObj;return(!p||p!==f&&!u.contains(f,p))&&(a.type=g.origType,c=g.handler.apply(this,arguments),a.type=i),c}}}),u.fn.extend({on:function(e,i,a,c){return Je(this,e,i,a,c)},one:function(e,i,a,c){return Je(this,e,i,a,c,1)},off:function(e,i,a){var c,f;if(e&&e.preventDefault&&e.handleObj)return c=e.handleObj,u(e.delegateTarget).off(c.namespace?c.origType+"."+c.namespace:c.origType,c.selector,c.handler),this;if(typeof e=="object"){for(f in e)this.off(f,i,e[f]);return this}return(i===!1||typeof i=="function")&&(a=i,i=void 0),a===!1&&(a=st),this.each(function(){u.event.remove(this,e,a,i)})}});var xr=/<script|<style|<link/i,Kt=/checked\s*(?:[^=]|=\s*.checked.)/i,Mn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Hn(e,i){return F(e,"table")&&F(i.nodeType!==11?i:i.firstChild,"tr")&&u(e).children("tbody")[0]||e}function ui(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Or(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fn(e,i){var a,c,f,p,g,C,x;if(i.nodeType===1){if(se.hasData(e)&&(p=se.get(e),x=p.events,x)){se.remove(i,"handle events");for(f in x)for(a=0,c=x[f].length;a<c;a++)u.event.add(i,f,x[f][a])}Ve.hasData(e)&&(g=Ve.access(e),C=u.extend({},g),Ve.set(i,C))}}function nn(e,i){var a=i.nodeName.toLowerCase();a==="input"&&tn.test(e.type)?i.checked=e.checked:(a==="input"||a==="textarea")&&(i.defaultValue=e.defaultValue)}function xt(e,i,a,c){i=d(i);var f,p,g,C,x,N,$=0,z=e.length,q=z-1,J=i[0],ye=A(J);if(ye||z>1&&typeof J=="string"&&!k.checkClone&&Kt.test(J))return e.each(function(Ie){var we=e.eq(Ie);ye&&(i[0]=J.call(this,Ie,we.html())),xt(we,i,a,c)});if(z&&(f=Xe(i,e[0].ownerDocument,!1,e,c),p=f.firstChild,f.childNodes.length===1&&(f=p),p||c)){for(g=u.map(De(f,"script"),ui),C=g.length;$<z;$++)x=f,$!==q&&(x=u.clone(x,!0,!0),C&&u.merge(g,De(x,"script"))),a.call(e[$],x,$);if(C)for(N=g[g.length-1].ownerDocument,u.map(g,Or),$=0;$<C;$++)x=g[$],qn.test(x.type||"")&&!se.access(x,"globalEval")&&u.contains(N,x)&&(x.src&&(x.type||"").toLowerCase()!=="module"?u._evalUrl&&!x.noModule&&u._evalUrl(x.src,{nonce:x.nonce||x.getAttribute("nonce")},N):E(x.textContent.replace(Mn,""),x,N))}return e}function kr(e,i,a){for(var c,f=i?u.filter(i,e):e,p=0;(c=f[p])!=null;p++)!a&&c.nodeType===1&&u.cleanData(De(c)),c.parentNode&&(a&&ft(c)&&Ke(De(c,"script")),c.parentNode.removeChild(c));return e}u.extend({htmlPrefilter:function(e){return e},clone:function(e,i,a){var c,f,p,g,C=e.cloneNode(!0),x=ft(e);if(!k.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!u.isXMLDoc(e))for(g=De(C),p=De(e),c=0,f=p.length;c<f;c++)nn(p[c],g[c]);if(i)if(a)for(p=p||De(e),g=g||De(C),c=0,f=p.length;c<f;c++)Fn(p[c],g[c]);else Fn(e,C);return g=De(C,"script"),g.length>0&&Ke(g,!x&&De(e,"script")),C},cleanData:function(e){for(var i,a,c,f=u.event.special,p=0;(a=e[p])!==void 0;p++)if(qe(a)){if(i=a[se.expando]){if(i.events)for(c in i.events)f[c]?u.event.remove(a,c):u.removeEvent(a,c,i.handle);a[se.expando]=void 0}a[Ve.expando]&&(a[Ve.expando]=void 0)}}}),u.fn.extend({detach:function(e){return kr(this,e,!0)},remove:function(e){return kr(this,e)},text:function(e){return Me(this,function(i){return i===void 0?u.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=i)})},null,e,arguments.length)},append:function(){return xt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Hn(this,e);i.appendChild(e)}})},prepend:function(){return xt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var i=Hn(this,e);i.insertBefore(e,i.firstChild)}})},before:function(){return xt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return xt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,i=0;(e=this[i])!=null;i++)e.nodeType===1&&(u.cleanData(De(e,!1)),e.textContent="");return this},clone:function(e,i){return e=e==null?!1:e,i=i==null?e:i,this.map(function(){return u.clone(this,e,i)})},html:function(e){return Me(this,function(i){var a=this[0]||{},c=0,f=this.length;if(i===void 0&&a.nodeType===1)return a.innerHTML;if(typeof i=="string"&&!xr.test(i)&&!Be[(Er.exec(i)||["",""])[1].toLowerCase()]){i=u.htmlPrefilter(i);try{for(;c<f;c++)a=this[c]||{},a.nodeType===1&&(u.cleanData(De(a,!1)),a.innerHTML=i);a=0}catch(p){}}a&&this.empty().append(i)},null,e,arguments.length)},replaceWith:function(){var e=[];return xt(this,arguments,function(i){var a=this.parentNode;u.inArray(this,e)<0&&(u.cleanData(De(this)),a&&a.replaceChild(i,this))},e)}}),u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,i){u.fn[e]=function(a){for(var c,f=[],p=u(a),g=p.length-1,C=0;C<=g;C++)c=C===g?this:this.clone(!0),u(p[C])[i](c),m.apply(f,c.get());return this.pushStack(f)}});var rn=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),vn=/^--/,Mt=function(e){var i=e.ownerDocument.defaultView;return(!i||!i.opener)&&(i=r),i.getComputedStyle(e)},yn=function(e,i,a){var c,f,p={};for(f in i)p[f]=e.style[f],e.style[f]=i[f];c=a.call(e);for(f in i)e.style[f]=p[f];return c},Cr=new RegExp(Ge.join("|"),"i");(function(){function e(){if(N){x.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",N.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",et.appendChild(x).appendChild(N);var $=r.getComputedStyle(N);a=$.top!=="1%",C=i($.marginLeft)===12,N.style.right="60%",p=i($.right)===36,c=i($.width)===36,N.style.position="absolute",f=i(N.offsetWidth/3)===12,et.removeChild(x),N=null}}function i($){return Math.round(parseFloat($))}var a,c,f,p,g,C,x=j.createElement("div"),N=j.createElement("div");N.style&&(N.style.backgroundClip="content-box",N.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle=N.style.backgroundClip==="content-box",u.extend(k,{boxSizingReliable:function(){return e(),c},pixelBoxStyles:function(){return e(),p},pixelPosition:function(){return e(),a},reliableMarginLeft:function(){return e(),C},scrollboxSize:function(){return e(),f},reliableTrDimensions:function(){var $,z,q,J;return g==null&&($=j.createElement("table"),z=j.createElement("tr"),q=j.createElement("div"),$.style.cssText="position:absolute;left:-11111px;border-collapse:separate",z.style.cssText="box-sizing:content-box;border:1px solid",z.style.height="1px",q.style.height="9px",q.style.display="block",et.appendChild($).appendChild(z).appendChild(q),J=r.getComputedStyle(z),g=parseInt(J.height,10)+parseInt(J.borderTopWidth,10)+parseInt(J.borderBottomWidth,10)===z.offsetHeight,et.removeChild($)),g}}))})();function Qt(e,i,a){var c,f,p,g,C=vn.test(i),x=e.style;return a=a||Mt(e),a&&(g=a.getPropertyValue(i)||a[i],C&&g&&(g=g.replace(xe,"$1")||void 0),g===""&&!ft(e)&&(g=u.style(e,i)),!k.pixelBoxStyles()&&rn.test(g)&&Cr.test(i)&&(c=x.width,f=x.minWidth,p=x.maxWidth,x.minWidth=x.maxWidth=x.width=g,g=a.width,x.width=c,x.minWidth=f,x.maxWidth=p)),g!==void 0?g+"":g}function It(e,i){return{get:function(){if(e()){delete this.get;return}return(this.get=i).apply(this,arguments)}}}var Tr=["Webkit","Moz","ms"],vt=j.createElement("div").style,jr={};function Ir(e){for(var i=e[0].toUpperCase()+e.slice(1),a=Tr.length;a--;)if(e=Tr[a]+i,e in vt)return e}function on(e){var i=u.cssProps[e]||jr[e];return i||(e in vt?e:jr[e]=Ir(e)||e)}var $n=/^(none|table(?!-c[ea]).+)/,si={position:"absolute",visibility:"hidden",display:"block"},lu={letterSpacing:"0",fontWeight:"400"};function fu(e,i,a){var c=ze.exec(i);return c?Math.max(0,c[2]-(a||0))+(c[3]||"px"):i}function Qi(e,i,a,c,f,p){var g=i==="width"?1:0,C=0,x=0,N=0;if(a===(c?"border":"content"))return 0;for(;g<4;g+=2)a==="margin"&&(N+=u.css(e,a+Ge[g],!0,f)),c?(a==="content"&&(x-=u.css(e,"padding"+Ge[g],!0,f)),a!=="margin"&&(x-=u.css(e,"border"+Ge[g]+"Width",!0,f))):(x+=u.css(e,"padding"+Ge[g],!0,f),a!=="padding"?x+=u.css(e,"border"+Ge[g]+"Width",!0,f):C+=u.css(e,"border"+Ge[g]+"Width",!0,f));return!c&&p>=0&&(x+=Math.max(0,Math.ceil(e["offset"+i[0].toUpperCase()+i.slice(1)]-p-x-C-.5))||0),x+N}function pu(e,i,a){var c=Mt(e),f=!k.boxSizingReliable()||a,p=f&&u.css(e,"boxSizing",!1,c)==="border-box",g=p,C=Qt(e,i,c),x="offset"+i[0].toUpperCase()+i.slice(1);if(rn.test(C)){if(!a)return C;C="auto"}return(!k.boxSizingReliable()&&p||!k.reliableTrDimensions()&&F(e,"tr")||C==="auto"||!parseFloat(C)&&u.css(e,"display",!1,c)==="inline")&&e.getClientRects().length&&(p=u.css(e,"boxSizing",!1,c)==="border-box",g=x in e,g&&(C=e[x])),C=parseFloat(C)||0,C+Qi(e,i,a||(p?"border":"content"),g,c,C)+"px"}u.extend({cssHooks:{opacity:{get:function(e,i){if(i){var a=Qt(e,"opacity");return a===""?"1":a}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,i,a,c){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var f,p,g,C=me(i),x=vn.test(i),N=e.style;if(x||(i=on(C)),g=u.cssHooks[i]||u.cssHooks[C],a!==void 0){if(p=typeof a,p==="string"&&(f=ze.exec(a))&&f[1]&&(a=wr(e,i,f),p="number"),a==null||a!==a)return;p==="number"&&!x&&(a+=f&&f[3]||(u.cssNumber[C]?"":"px")),!k.clearCloneStyle&&a===""&&i.indexOf("background")===0&&(N[i]="inherit"),(!g||!("set"in g)||(a=g.set(e,a,c))!==void 0)&&(x?N.setProperty(i,a):N[i]=a)}else return g&&"get"in g&&(f=g.get(e,!1,c))!==void 0?f:N[i]}},css:function(e,i,a,c){var f,p,g,C=me(i),x=vn.test(i);return x||(i=on(C)),g=u.cssHooks[i]||u.cssHooks[C],g&&"get"in g&&(f=g.get(e,!0,a)),f===void 0&&(f=Qt(e,i,c)),f==="normal"&&i in lu&&(f=lu[i]),a===""||a?(p=parseFloat(f),a===!0||isFinite(p)?p||0:f):f}}),u.each(["height","width"],function(e,i){u.cssHooks[i]={get:function(a,c,f){if(c)return $n.test(u.css(a,"display"))&&(!a.getClientRects().length||!a.getBoundingClientRect().width)?yn(a,si,function(){return pu(a,i,f)}):pu(a,i,f)},set:function(a,c,f){var p,g=Mt(a),C=!k.scrollboxSize()&&g.position==="absolute",x=C||f,N=x&&u.css(a,"boxSizing",!1,g)==="border-box",$=f?Qi(a,i,f,N,g):0;return N&&C&&($-=Math.ceil(a["offset"+i[0].toUpperCase()+i.slice(1)]-parseFloat(g[i])-Qi(a,i,"border",!1,g)-.5)),$&&(p=ze.exec(c))&&(p[3]||"px")!=="px"&&(a.style[i]=c,c=u.css(a,i)),fu(a,c,$)}}}),u.cssHooks.marginLeft=It(k.reliableMarginLeft,function(e,i){if(i)return(parseFloat(Qt(e,"marginLeft"))||e.getBoundingClientRect().left-yn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),u.each({margin:"",padding:"",border:"Width"},function(e,i){u.cssHooks[e+i]={expand:function(a){for(var c=0,f={},p=typeof a=="string"?a.split(" "):[a];c<4;c++)f[e+Ge[c]+i]=p[c]||p[c-2]||p[0];return f}},e!=="margin"&&(u.cssHooks[e+i].set=fu)}),u.fn.extend({css:function(e,i){return Me(this,function(a,c,f){var p,g,C={},x=0;if(Array.isArray(c)){for(p=Mt(a),g=c.length;x<g;x++)C[c[x]]=u.css(a,c[x],!1,p);return C}return f!==void 0?u.style(a,c,f):u.css(a,c)},e,i,arguments.length>1)}});function yt(e,i,a,c,f){return new yt.prototype.init(e,i,a,c,f)}u.Tween=yt,yt.prototype={constructor:yt,init:function(e,i,a,c,f,p){this.elem=e,this.prop=a,this.easing=f||u.easing._default,this.options=i,this.start=this.now=this.cur(),this.end=c,this.unit=p||(u.cssNumber[a]?"":"px")},cur:function(){var e=yt.propHooks[this.prop];return e&&e.get?e.get(this):yt.propHooks._default.get(this)},run:function(e){var i,a=yt.propHooks[this.prop];return this.options.duration?this.pos=i=u.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=i=e,this.now=(this.end-this.start)*i+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),a&&a.set?a.set(this):yt.propHooks._default.set(this),this}},yt.prototype.init.prototype=yt.prototype,yt.propHooks={_default:{get:function(e){var i;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(i=u.css(e.elem,e.prop,""),!i||i==="auto"?0:i)},set:function(e){u.fx.step[e.prop]?u.fx.step[e.prop](e):e.elem.nodeType===1&&(u.cssHooks[e.prop]||e.elem.style[on(e.prop)]!=null)?u.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},yt.propHooks.scrollTop=yt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},u.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},u.fx=yt.prototype.init,u.fx.step={};var Bn,ci,Mc=/^(?:toggle|show|hide)$/,Hc=/queueHooks$/;function Yi(){ci&&(j.hidden===!1&&r.requestAnimationFrame?r.requestAnimationFrame(Yi):r.setTimeout(Yi,u.fx.interval),u.fx.tick())}function du(){return r.setTimeout(function(){Bn=void 0}),Bn=Date.now()}function li(e,i){var a,c=0,f={height:e};for(i=i?1:0;c<4;c+=2-i)a=Ge[c],f["margin"+a]=f["padding"+a]=e;return i&&(f.opacity=f.width=e),f}function hu(e,i,a){for(var c,f=(Pt.tweeners[i]||[]).concat(Pt.tweeners["*"]),p=0,g=f.length;p<g;p++)if(c=f[p].call(a,i,e))return c}function Fc(e,i,a){var c,f,p,g,C,x,N,$,z="width"in i||"height"in i,q=this,J={},ye=e.style,Ie=e.nodeType&&mn(e),we=se.get(e,"fxshow");a.queue||(g=u._queueHooks(e,"fx"),g.unqueued==null&&(g.unqueued=0,C=g.empty.fire,g.empty.fire=function(){g.unqueued||C()}),g.unqueued++,q.always(function(){q.always(function(){g.unqueued--,u.queue(e,"fx").length||g.empty.fire()})}));for(c in i)if(f=i[c],Mc.test(f)){if(delete i[c],p=p||f==="toggle",f===(Ie?"hide":"show"))if(f==="show"&&we&&we[c]!==void 0)Ie=!0;else continue;J[c]=we&&we[c]||u.style(e,c)}if(x=!u.isEmptyObject(i),!(!x&&u.isEmptyObject(J))){z&&e.nodeType===1&&(a.overflow=[ye.overflow,ye.overflowX,ye.overflowY],N=we&&we.display,N==null&&(N=se.get(e,"display")),$=u.css(e,"display"),$==="none"&&(N?$=N:(en([e],!0),N=e.style.display||N,$=u.css(e,"display"),en([e]))),($==="inline"||$==="inline-block"&&N!=null)&&u.css(e,"float")==="none"&&(x||(q.done(function(){ye.display=N}),N==null&&($=ye.display,N=$==="none"?"":$)),ye.display="inline-block")),a.overflow&&(ye.overflow="hidden",q.always(function(){ye.overflow=a.overflow[0],ye.overflowX=a.overflow[1],ye.overflowY=a.overflow[2]})),x=!1;for(c in J)x||(we?"hidden"in we&&(Ie=we.hidden):we=se.access(e,"fxshow",{display:N}),p&&(we.hidden=!Ie),Ie&&en([e],!0),q.done(function(){Ie||en([e]),se.remove(e,"fxshow");for(c in J)u.style(e,c,J[c])})),x=hu(Ie?we[c]:0,c,q),c in we||(we[c]=x.start,Ie&&(x.end=x.start,x.start=0))}}function $c(e,i){var a,c,f,p,g;for(a in e)if(c=me(a),f=i[c],p=e[a],Array.isArray(p)&&(f=p[1],p=e[a]=p[0]),a!==c&&(e[c]=p,delete e[a]),g=u.cssHooks[c],g&&"expand"in g){p=g.expand(p),delete e[c];for(a in p)a in e||(e[a]=p[a],i[a]=f)}else i[c]=f}function Pt(e,i,a){var c,f,p=0,g=Pt.prefilters.length,C=u.Deferred().always(function(){delete x.elem}),x=function(){if(f)return!1;for(var z=Bn||du(),q=Math.max(0,N.startTime+N.duration-z),J=q/N.duration||0,ye=1-J,Ie=0,we=N.tweens.length;Ie<we;Ie++)N.tweens[Ie].run(ye);return C.notifyWith(e,[N,ye,q]),ye<1&&we?q:(we||C.notifyWith(e,[N,1,0]),C.resolveWith(e,[N]),!1)},N=C.promise({elem:e,props:u.extend({},i),opts:u.extend(!0,{specialEasing:{},easing:u.easing._default},a),originalProperties:i,originalOptions:a,startTime:Bn||du(),duration:a.duration,tweens:[],createTween:function(z,q){var J=u.Tween(e,N.opts,z,q,N.opts.specialEasing[z]||N.opts.easing);return N.tweens.push(J),J},stop:function(z){var q=0,J=z?N.tweens.length:0;if(f)return this;for(f=!0;q<J;q++)N.tweens[q].run(1);return z?(C.notifyWith(e,[N,1,0]),C.resolveWith(e,[N,z])):C.rejectWith(e,[N,z]),this}}),$=N.props;for($c($,N.opts.specialEasing);p<g;p++)if(c=Pt.prefilters[p].call(N,e,$,N.opts),c)return A(c.stop)&&(u._queueHooks(N.elem,N.opts.queue).stop=c.stop.bind(c)),c;return u.map($,hu,N),A(N.opts.start)&&N.opts.start.call(e,N),N.progress(N.opts.progress).done(N.opts.done,N.opts.complete).fail(N.opts.fail).always(N.opts.always),u.fx.timer(u.extend(x,{elem:e,anim:N,queue:N.opts.queue})),N}u.Animation=u.extend(Pt,{tweeners:{"*":[function(e,i){var a=this.createTween(e,i);return wr(a.elem,e,ze.exec(i),a),a}]},tweener:function(e,i){A(e)?(i=e,e=["*"]):e=e.match($e);for(var a,c=0,f=e.length;c<f;c++)a=e[c],Pt.tweeners[a]=Pt.tweeners[a]||[],Pt.tweeners[a].unshift(i)},prefilters:[Fc],prefilter:function(e,i){i?Pt.prefilters.unshift(e):Pt.prefilters.push(e)}}),u.speed=function(e,i,a){var c=e&&typeof e=="object"?u.extend({},e):{complete:a||!a&&i||A(e)&&e,duration:e,easing:a&&i||i&&!A(i)&&i};return u.fx.off?c.duration=0:typeof c.duration!="number"&&(c.duration in u.fx.speeds?c.duration=u.fx.speeds[c.duration]:c.duration=u.fx.speeds._default),(c.queue==null||c.queue===!0)&&(c.queue="fx"),c.old=c.complete,c.complete=function(){A(c.old)&&c.old.call(this),c.queue&&u.dequeue(this,c.queue)},c},u.fn.extend({fadeTo:function(e,i,a,c){return this.filter(mn).css("opacity",0).show().end().animate({opacity:i},e,a,c)},animate:function(e,i,a,c){var f=u.isEmptyObject(e),p=u.speed(i,a,c),g=function(){var C=Pt(this,u.extend({},e),p);(f||se.get(this,"finish"))&&C.stop(!0)};return g.finish=g,f||p.queue===!1?this.each(g):this.queue(p.queue,g)},stop:function(e,i,a){var c=function(f){var p=f.stop;delete f.stop,p(a)};return typeof e!="string"&&(a=i,i=e,e=void 0),i&&this.queue(e||"fx",[]),this.each(function(){var f=!0,p=e!=null&&e+"queueHooks",g=u.timers,C=se.get(this);if(p)C[p]&&C[p].stop&&c(C[p]);else for(p in C)C[p]&&C[p].stop&&Hc.test(p)&&c(C[p]);for(p=g.length;p--;)g[p].elem===this&&(e==null||g[p].queue===e)&&(g[p].anim.stop(a),f=!1,g.splice(p,1));(f||!a)&&u.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var i,a=se.get(this),c=a[e+"queue"],f=a[e+"queueHooks"],p=u.timers,g=c?c.length:0;for(a.finish=!0,u.queue(this,e,[]),f&&f.stop&&f.stop.call(this,!0),i=p.length;i--;)p[i].elem===this&&p[i].queue===e&&(p[i].anim.stop(!0),p.splice(i,1));for(i=0;i<g;i++)c[i]&&c[i].finish&&c[i].finish.call(this);delete a.finish})}}),u.each(["toggle","show","hide"],function(e,i){var a=u.fn[i];u.fn[i]=function(c,f,p){return c==null||typeof c=="boolean"?a.apply(this,arguments):this.animate(li(i,!0),c,f,p)}}),u.each({slideDown:li("show"),slideUp:li("hide"),slideToggle:li("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){u.fn[e]=function(a,c,f){return this.animate(i,a,c,f)}}),u.timers=[],u.fx.tick=function(){var e,i=0,a=u.timers;for(Bn=Date.now();i<a.length;i++)e=a[i],!e()&&a[i]===e&&a.splice(i--,1);a.length||u.fx.stop(),Bn=void 0},u.fx.timer=function(e){u.timers.push(e),u.fx.start()},u.fx.interval=13,u.fx.start=function(){ci||(ci=!0,Yi())},u.fx.stop=function(){ci=null},u.fx.speeds={slow:600,fast:200,_default:400},u.fn.delay=function(e,i){return e=u.fx&&u.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(a,c){var f=r.setTimeout(a,e);c.stop=function(){r.clearTimeout(f)}})},(function(){var e=j.createElement("input"),i=j.createElement("select"),a=i.appendChild(j.createElement("option"));e.type="checkbox",k.checkOn=e.value!=="",k.optSelected=a.selected,e=j.createElement("input"),e.value="t",e.type="radio",k.radioValue=e.value==="t"})();var gu,Pr=u.expr.attrHandle;u.fn.extend({attr:function(e,i){return Me(this,u.attr,e,i,arguments.length>1)},removeAttr:function(e){return this.each(function(){u.removeAttr(this,e)})}}),u.extend({attr:function(e,i,a){var c,f,p=e.nodeType;if(!(p===3||p===8||p===2)){if(typeof e.getAttribute=="undefined")return u.prop(e,i,a);if((p!==1||!u.isXMLDoc(e))&&(f=u.attrHooks[i.toLowerCase()]||(u.expr.match.bool.test(i)?gu:void 0)),a!==void 0){if(a===null){u.removeAttr(e,i);return}return f&&"set"in f&&(c=f.set(e,a,i))!==void 0?c:(e.setAttribute(i,a+""),a)}return f&&"get"in f&&(c=f.get(e,i))!==null?c:(c=u.find.attr(e,i),c==null?void 0:c)}},attrHooks:{type:{set:function(e,i){if(!k.radioValue&&i==="radio"&&F(e,"input")){var a=e.value;return e.setAttribute("type",i),a&&(e.value=a),i}}}},removeAttr:function(e,i){var a,c=0,f=i&&i.match($e);if(f&&e.nodeType===1)for(;a=f[c++];)e.removeAttribute(a)}}),gu={set:function(e,i,a){return i===!1?u.removeAttr(e,a):e.setAttribute(a,a),a}},u.each(u.expr.match.bool.source.match(/\w+/g),function(e,i){var a=Pr[i]||u.find.attr;Pr[i]=function(c,f,p){var g,C,x=f.toLowerCase();return p||(C=Pr[x],Pr[x]=g,g=a(c,f,p)!=null?x:null,Pr[x]=C),g}});var Bc=/^(?:input|select|textarea|button)$/i,Uc=/^(?:a|area)$/i;u.fn.extend({prop:function(e,i){return Me(this,u.prop,e,i,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[u.propFix[e]||e]})}}),u.extend({prop:function(e,i,a){var c,f,p=e.nodeType;if(!(p===3||p===8||p===2))return(p!==1||!u.isXMLDoc(e))&&(i=u.propFix[i]||i,f=u.propHooks[i]),a!==void 0?f&&"set"in f&&(c=f.set(e,a,i))!==void 0?c:e[i]=a:f&&"get"in f&&(c=f.get(e,i))!==null?c:e[i]},propHooks:{tabIndex:{get:function(e){var i=u.find.attr(e,"tabindex");return i?parseInt(i,10):Bc.test(e.nodeName)||Uc.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),k.optSelected||(u.propHooks.selected={get:function(e){var i=e.parentNode;return i&&i.parentNode&&i.parentNode.selectedIndex,null},set:function(e){var i=e.parentNode;i&&(i.selectedIndex,i.parentNode&&i.parentNode.selectedIndex)}}),u.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){u.propFix[this.toLowerCase()]=this});function bn(e){var i=e.match($e)||[];return i.join(" ")}function _n(e){return e.getAttribute&&e.getAttribute("class")||""}function Xi(e){return Array.isArray(e)?e:typeof e=="string"?e.match($e)||[]:[]}u.fn.extend({addClass:function(e){var i,a,c,f,p,g;return A(e)?this.each(function(C){u(this).addClass(e.call(this,C,_n(this)))}):(i=Xi(e),i.length?this.each(function(){if(c=_n(this),a=this.nodeType===1&&" "+bn(c)+" ",a){for(p=0;p<i.length;p++)f=i[p],a.indexOf(" "+f+" ")<0&&(a+=f+" ");g=bn(a),c!==g&&this.setAttribute("class",g)}}):this)},removeClass:function(e){var i,a,c,f,p,g;return A(e)?this.each(function(C){u(this).removeClass(e.call(this,C,_n(this)))}):arguments.length?(i=Xi(e),i.length?this.each(function(){if(c=_n(this),a=this.nodeType===1&&" "+bn(c)+" ",a){for(p=0;p<i.length;p++)for(f=i[p];a.indexOf(" "+f+" ")>-1;)a=a.replace(" "+f+" "," ");g=bn(a),c!==g&&this.setAttribute("class",g)}}):this):this.attr("class","")},toggleClass:function(e,i){var a,c,f,p,g=typeof e,C=g==="string"||Array.isArray(e);return A(e)?this.each(function(x){u(this).toggleClass(e.call(this,x,_n(this),i),i)}):typeof i=="boolean"&&C?i?this.addClass(e):this.removeClass(e):(a=Xi(e),this.each(function(){if(C)for(p=u(this),f=0;f<a.length;f++)c=a[f],p.hasClass(c)?p.removeClass(c):p.addClass(c);else(e===void 0||g==="boolean")&&(c=_n(this),c&&se.set(this,"__className__",c),this.setAttribute&&this.setAttribute("class",c||e===!1?"":se.get(this,"__className__")||""))}))},hasClass:function(e){var i,a,c=0;for(i=" "+e+" ";a=this[c++];)if(a.nodeType===1&&(" "+bn(_n(a))+" ").indexOf(i)>-1)return!0;return!1}});var zc=/\r/g;u.fn.extend({val:function(e){var i,a,c,f=this[0];return arguments.length?(c=A(e),this.each(function(p){var g;this.nodeType===1&&(c?g=e.call(this,p,u(this).val()):g=e,g==null?g="":typeof g=="number"?g+="":Array.isArray(g)&&(g=u.map(g,function(C){return C==null?"":C+""})),i=u.valHooks[this.type]||u.valHooks[this.nodeName.toLowerCase()],(!i||!("set"in i)||i.set(this,g,"value")===void 0)&&(this.value=g))})):f?(i=u.valHooks[f.type]||u.valHooks[f.nodeName.toLowerCase()],i&&"get"in i&&(a=i.get(f,"value"))!==void 0?a:(a=f.value,typeof a=="string"?a.replace(zc,""):a==null?"":a)):void 0}}),u.extend({valHooks:{option:{get:function(e){var i=u.find.attr(e,"value");return i!=null?i:bn(u.text(e))}},select:{get:function(e){var i,a,c,f=e.options,p=e.selectedIndex,g=e.type==="select-one",C=g?null:[],x=g?p+1:f.length;for(p<0?c=x:c=g?p:0;c<x;c++)if(a=f[c],(a.selected||c===p)&&!a.disabled&&(!a.parentNode.disabled||!F(a.parentNode,"optgroup"))){if(i=u(a).val(),g)return i;C.push(i)}return C},set:function(e,i){for(var a,c,f=e.options,p=u.makeArray(i),g=f.length;g--;)c=f[g],(c.selected=u.inArray(u.valHooks.option.get(c),p)>-1)&&(a=!0);return a||(e.selectedIndex=-1),p}}}}),u.each(["radio","checkbox"],function(){u.valHooks[this]={set:function(e,i){if(Array.isArray(i))return e.checked=u.inArray(u(e).val(),i)>-1}},k.checkOn||(u.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Dr=r.location,mu={guid:Date.now()},Ji=/\?/;u.parseXML=function(e){var i,a;if(!e||typeof e!="string")return null;try{i=new r.DOMParser().parseFromString(e,"text/xml")}catch(c){}return a=i&&i.getElementsByTagName("parsererror")[0],(!i||a)&&u.error("Invalid XML: "+(a?u.map(a.childNodes,function(c){return c.textContent}).join(`
|
|
4
|
-
`):
|
|
5
|
-
`)}}):{name:
|
|
6
|
-
`)}}).get()}});var Kc=/%20/g,Qc=/#.*$/,Yc=/([?&])_=[^&]*/,Xc=/^(.*?):[ \t]*([^\r\n]*)$/mg,Jc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Zc=/^(?:GET|HEAD)$/,el=/^\/\//,_u={},eo={},Au="*/".concat("*"),to=j.createElement("a");to.href=Dr.href;function wu(e){return function(i,a){typeof i!="string"&&(a=i,i="*");var c,f=0,p=i.toLowerCase().match($e)||[];if(A(a))for(;c=p[f++];)c[0]==="+"?(c=c.slice(1)||"*",(e[c]=e[c]||[]).unshift(a)):(e[c]=e[c]||[]).push(a)}}function Su(e,i,a,c){var f={},p=e===eo;function g(C){var x;return f[C]=!0,u.each(e[C]||[],function(N,$){var z=$(i,a,c);if(typeof z=="string"&&!p&&!f[z])return i.dataTypes.unshift(z),g(z),!1;if(p)return!(x=z)}),x}return g(i.dataTypes[0])||!f["*"]&&g("*")}function no(e,i){var a,c,f=u.ajaxSettings.flatOptions||{};for(a in i)i[a]!==void 0&&((f[a]?e:c||(c={}))[a]=i[a]);return c&&u.extend(!0,e,c),e}function tl(e,i,a){for(var c,f,p,g,C=e.contents,x=e.dataTypes;x[0]==="*";)x.shift(),c===void 0&&(c=e.mimeType||i.getResponseHeader("Content-Type"));if(c){for(f in C)if(C[f]&&C[f].test(c)){x.unshift(f);break}}if(x[0]in a)p=x[0];else{for(f in a){if(!x[0]||e.converters[f+" "+x[0]]){p=f;break}g||(g=f)}p=p||g}if(p)return p!==x[0]&&x.unshift(p),a[p]}function nl(e,i,a,c){var f,p,g,C,x,N={},$=e.dataTypes.slice();if($[1])for(g in e.converters)N[g.toLowerCase()]=e.converters[g];for(p=$.shift();p;)if(e.responseFields[p]&&(a[e.responseFields[p]]=i),!x&&c&&e.dataFilter&&(i=e.dataFilter(i,e.dataType)),x=p,p=$.shift(),p){if(p==="*")p=x;else if(x!=="*"&&x!==p){if(g=N[x+" "+p]||N["* "+p],!g){for(f in N)if(C=f.split(" "),C[1]===p&&(g=N[x+" "+C[0]]||N["* "+C[0]],g)){g===!0?g=N[f]:N[f]!==!0&&(p=C[0],$.unshift(C[1]));break}}if(g!==!0)if(g&&e.throws)i=g(i);else try{i=g(i)}catch(z){return{state:"parsererror",error:g?z:"No conversion from "+x+" to "+p}}}}return{state:"success",data:i}}u.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dr.href,type:"GET",isLocal:Jc.test(Dr.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Au,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":u.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,i){return i?no(no(e,u.ajaxSettings),i):no(u.ajaxSettings,e)},ajaxPrefilter:wu(_u),ajaxTransport:wu(eo),ajax:function(e,i){typeof e=="object"&&(i=e,e=void 0),i=i||{};var a,c,f,p,g,C,x,N,$,z,q=u.ajaxSetup({},i),J=q.context||q,ye=q.context&&(J.nodeType||J.jquery)?u(J):u.event,Ie=u.Deferred(),we=u.Callbacks("once memory"),it=q.statusCode||{},Ze={},Ht={},Ft="canceled",Te={readyState:0,getResponseHeader:function(Pe){var Qe;if(x){if(!p)for(p={};Qe=Xc.exec(f);)p[Qe[1].toLowerCase()+" "]=(p[Qe[1].toLowerCase()+" "]||[]).concat(Qe[2]);Qe=p[Pe.toLowerCase()+" "]}return Qe==null?null:Qe.join(", ")},getAllResponseHeaders:function(){return x?f:null},setRequestHeader:function(Pe,Qe){return x==null&&(Pe=Ht[Pe.toLowerCase()]=Ht[Pe.toLowerCase()]||Pe,Ze[Pe]=Qe),this},overrideMimeType:function(Pe){return x==null&&(q.mimeType=Pe),this},statusCode:function(Pe){var Qe;if(Pe)if(x)Te.always(Pe[Te.status]);else for(Qe in Pe)it[Qe]=[it[Qe],Pe[Qe]];return this},abort:function(Pe){var Qe=Pe||Ft;return a&&a.abort(Qe),An(0,Qe),this}};if(Ie.promise(Te),q.url=((e||q.url||Dr.href)+"").replace(el,Dr.protocol+"//"),q.type=i.method||i.type||q.method||q.type,q.dataTypes=(q.dataType||"*").toLowerCase().match($e)||[""],q.crossDomain==null){C=j.createElement("a");try{C.href=q.url,C.href=C.href,q.crossDomain=to.protocol+"//"+to.host!=C.protocol+"//"+C.host}catch(Pe){q.crossDomain=!0}}if(q.data&&q.processData&&typeof q.data!="string"&&(q.data=u.param(q.data,q.traditional)),Su(_u,q,i,Te),x)return Te;N=u.event&&q.global,N&&u.active++===0&&u.event.trigger("ajaxStart"),q.type=q.type.toUpperCase(),q.hasContent=!Zc.test(q.type),c=q.url.replace(Qc,""),q.hasContent?q.data&&q.processData&&(q.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(q.data=q.data.replace(Kc,"+")):(z=q.url.slice(c.length),q.data&&(q.processData||typeof q.data=="string")&&(c+=(Ji.test(c)?"&":"?")+q.data,delete q.data),q.cache===!1&&(c=c.replace(Yc,"$1"),z=(Ji.test(c)?"&":"?")+"_="+mu.guid+++z),q.url=c+z),q.ifModified&&(u.lastModified[c]&&Te.setRequestHeader("If-Modified-Since",u.lastModified[c]),u.etag[c]&&Te.setRequestHeader("If-None-Match",u.etag[c])),(q.data&&q.hasContent&&q.contentType!==!1||i.contentType)&&Te.setRequestHeader("Content-Type",q.contentType),Te.setRequestHeader("Accept",q.dataTypes[0]&&q.accepts[q.dataTypes[0]]?q.accepts[q.dataTypes[0]]+(q.dataTypes[0]!=="*"?", "+Au+"; q=0.01":""):q.accepts["*"]);for($ in q.headers)Te.setRequestHeader($,q.headers[$]);if(q.beforeSend&&(q.beforeSend.call(J,Te,q)===!1||x))return Te.abort();if(Ft="abort",we.add(q.complete),Te.done(q.success),Te.fail(q.error),a=Su(eo,q,i,Te),!a)An(-1,"No Transport");else{if(Te.readyState=1,N&&ye.trigger("ajaxSend",[Te,q]),x)return Te;q.async&&q.timeout>0&&(g=r.setTimeout(function(){Te.abort("timeout")},q.timeout));try{x=!1,a.send(Ze,An)}catch(Pe){if(x)throw Pe;An(-1,Pe)}}function An(Pe,Qe,Lr,io){var $t,Rr,Bt,an,un,Ot=Qe;x||(x=!0,g&&r.clearTimeout(g),a=void 0,f=io||"",Te.readyState=Pe>0?4:0,$t=Pe>=200&&Pe<300||Pe===304,Lr&&(an=tl(q,Te,Lr)),!$t&&u.inArray("script",q.dataTypes)>-1&&u.inArray("json",q.dataTypes)<0&&(q.converters["text script"]=function(){}),an=nl(q,an,Te,$t),$t?(q.ifModified&&(un=Te.getResponseHeader("Last-Modified"),un&&(u.lastModified[c]=un),un=Te.getResponseHeader("etag"),un&&(u.etag[c]=un)),Pe===204||q.type==="HEAD"?Ot="nocontent":Pe===304?Ot="notmodified":(Ot=an.state,Rr=an.data,Bt=an.error,$t=!Bt)):(Bt=Ot,(Pe||!Ot)&&(Ot="error",Pe<0&&(Pe=0))),Te.status=Pe,Te.statusText=(Qe||Ot)+"",$t?Ie.resolveWith(J,[Rr,Ot,Te]):Ie.rejectWith(J,[Te,Ot,Bt]),Te.statusCode(it),it=void 0,N&&ye.trigger($t?"ajaxSuccess":"ajaxError",[Te,q,$t?Rr:Bt]),we.fireWith(J,[Te,Ot]),N&&(ye.trigger("ajaxComplete",[Te,q]),--u.active||u.event.trigger("ajaxStop")))}return Te},getJSON:function(e,i,a){return u.get(e,i,a,"json")},getScript:function(e,i){return u.get(e,void 0,i,"script")}}),u.each(["get","post"],function(e,i){u[i]=function(a,c,f,p){return A(c)&&(p=p||f,f=c,c=void 0),u.ajax(u.extend({url:a,type:i,dataType:p,data:c,success:f},u.isPlainObject(a)&&a))}}),u.ajaxPrefilter(function(e){var i;for(i in e.headers)i.toLowerCase()==="content-type"&&(e.contentType=e.headers[i]||"")}),u._evalUrl=function(e,i,a){return u.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(c){u.globalEval(c,i,a)}})},u.fn.extend({wrapAll:function(e){var i;return this[0]&&(A(e)&&(e=e.call(this[0])),i=u(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&i.insertBefore(this[0]),i.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(e){return A(e)?this.each(function(i){u(this).wrapInner(e.call(this,i))}):this.each(function(){var i=u(this),a=i.contents();a.length?a.wrapAll(e):i.append(e)})},wrap:function(e){var i=A(e);return this.each(function(a){u(this).wrapAll(i?e.call(this,a):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){u(this).replaceWith(this.childNodes)}),this}}),u.expr.pseudos.hidden=function(e){return!u.expr.pseudos.visible(e)},u.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},u.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var rl={0:200,1223:204},Nr=u.ajaxSettings.xhr();k.cors=!!Nr&&"withCredentials"in Nr,k.ajax=Nr=!!Nr,u.ajaxTransport(function(e){var i,a;if(k.cors||Nr&&!e.crossDomain)return{send:function(c,f){var p,g=e.xhr();if(g.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(p in e.xhrFields)g[p]=e.xhrFields[p];e.mimeType&&g.overrideMimeType&&g.overrideMimeType(e.mimeType),!e.crossDomain&&!c["X-Requested-With"]&&(c["X-Requested-With"]="XMLHttpRequest");for(p in c)g.setRequestHeader(p,c[p]);i=function(C){return function(){i&&(i=a=g.onload=g.onerror=g.onabort=g.ontimeout=g.onreadystatechange=null,C==="abort"?g.abort():C==="error"?typeof g.status!="number"?f(0,"error"):f(g.status,g.statusText):f(rl[g.status]||g.status,g.statusText,(g.responseType||"text")!=="text"||typeof g.responseText!="string"?{binary:g.response}:{text:g.responseText},g.getAllResponseHeaders()))}},g.onload=i(),a=g.onerror=g.ontimeout=i("error"),g.onabort!==void 0?g.onabort=a:g.onreadystatechange=function(){g.readyState===4&&r.setTimeout(function(){i&&a()})},i=i("abort");try{g.send(e.hasContent&&e.data||null)}catch(C){if(i)throw C}},abort:function(){i&&i()}}}),u.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),u.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return u.globalEval(e),e}}}),u.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),u.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var i,a;return{send:function(c,f){i=u("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",a=function(p){i.remove(),a=null,p&&f(p.type==="error"?404:200,p.type)}),j.head.appendChild(i[0])},abort:function(){a&&a()}}}});var Eu=[],ro=/(=)\?(?=&|$)|\?\?/;u.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Eu.pop()||u.expando+"_"+mu.guid++;return this[e]=!0,e}}),u.ajaxPrefilter("json jsonp",function(e,i,a){var c,f,p,g=e.jsonp!==!1&&(ro.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ro.test(e.data)&&"data");if(g||e.dataTypes[0]==="jsonp")return c=e.jsonpCallback=A(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,g?e[g]=e[g].replace(ro,"$1"+c):e.jsonp!==!1&&(e.url+=(Ji.test(e.url)?"&":"?")+e.jsonp+"="+c),e.converters["script json"]=function(){return p||u.error(c+" was not called"),p[0]},e.dataTypes[0]="json",f=r[c],r[c]=function(){p=arguments},a.always(function(){f===void 0?u(r).removeProp(c):r[c]=f,e[c]&&(e.jsonpCallback=i.jsonpCallback,Eu.push(c)),p&&A(f)&&f(p[0]),p=f=void 0}),"script"}),k.createHTMLDocument=(function(){var e=j.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2})(),u.parseHTML=function(e,i,a){if(typeof e!="string")return[];typeof i=="boolean"&&(a=i,i=!1);var c,f,p;return i||(k.createHTMLDocument?(i=j.implementation.createHTMLDocument(""),c=i.createElement("base"),c.href=j.location.href,i.head.appendChild(c)):i=j),f=V.exec(e),p=!a&&[],f?[i.createElement(f[1])]:(f=Xe([e],i,p),p&&p.length&&u(p).remove(),u.merge([],f.childNodes))},u.fn.load=function(e,i,a){var c,f,p,g=this,C=e.indexOf(" ");return C>-1&&(c=bn(e.slice(C)),e=e.slice(0,C)),A(i)?(a=i,i=void 0):i&&typeof i=="object"&&(f="POST"),g.length>0&&u.ajax({url:e,type:f||"GET",dataType:"html",data:i}).done(function(x){p=arguments,g.html(c?u("<div>").append(u.parseHTML(x)).find(c):x)}).always(a&&function(x,N){g.each(function(){a.apply(this,p||[x.responseText,N,x])})}),this},u.expr.pseudos.animated=function(e){return u.grep(u.timers,function(i){return e===i.elem}).length},u.offset={setOffset:function(e,i,a){var c,f,p,g,C,x,N,$=u.css(e,"position"),z=u(e),q={};$==="static"&&(e.style.position="relative"),C=z.offset(),p=u.css(e,"top"),x=u.css(e,"left"),N=($==="absolute"||$==="fixed")&&(p+x).indexOf("auto")>-1,N?(c=z.position(),g=c.top,f=c.left):(g=parseFloat(p)||0,f=parseFloat(x)||0),A(i)&&(i=i.call(e,a,u.extend({},C))),i.top!=null&&(q.top=i.top-C.top+g),i.left!=null&&(q.left=i.left-C.left+f),"using"in i?i.using.call(e,q):z.css(q)}},u.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(f){u.offset.setOffset(this,e,f)});var i,a,c=this[0];if(c)return c.getClientRects().length?(i=c.getBoundingClientRect(),a=c.ownerDocument.defaultView,{top:i.top+a.pageYOffset,left:i.left+a.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,i,a,c=this[0],f={top:0,left:0};if(u.css(c,"position")==="fixed")i=c.getBoundingClientRect();else{for(i=this.offset(),a=c.ownerDocument,e=c.offsetParent||a.documentElement;e&&(e===a.body||e===a.documentElement)&&u.css(e,"position")==="static";)e=e.parentNode;e&&e!==c&&e.nodeType===1&&(f=u(e).offset(),f.top+=u.css(e,"borderTopWidth",!0),f.left+=u.css(e,"borderLeftWidth",!0))}return{top:i.top-f.top-u.css(c,"marginTop",!0),left:i.left-f.left-u.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&u.css(e,"position")==="static";)e=e.offsetParent;return e||et})}}),u.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var a=i==="pageYOffset";u.fn[e]=function(c){return Me(this,function(f,p,g){var C;if(P(f)?C=f:f.nodeType===9&&(C=f.defaultView),g===void 0)return C?C[i]:f[p];C?C.scrollTo(a?C.pageXOffset:g,a?g:C.pageYOffset):f[p]=g},e,c,arguments.length)}}),u.each(["top","left"],function(e,i){u.cssHooks[i]=It(k.pixelPosition,function(a,c){if(c)return c=Qt(a,i),rn.test(c)?u(a).position()[i]+"px":c})}),u.each({Height:"height",Width:"width"},function(e,i){u.each({padding:"inner"+e,content:i,"":"outer"+e},function(a,c){u.fn[c]=function(f,p){var g=arguments.length&&(a||typeof f!="boolean"),C=a||(f===!0||p===!0?"margin":"border");return Me(this,function(x,N,$){var z;return P(x)?c.indexOf("outer")===0?x["inner"+e]:x.document.documentElement["client"+e]:x.nodeType===9?(z=x.documentElement,Math.max(x.body["scroll"+e],z["scroll"+e],x.body["offset"+e],z["offset"+e],z["client"+e])):$===void 0?u.css(x,N,C):u.style(x,N,$,C)},i,g?f:void 0,g)}})}),u.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,i){u.fn[i]=function(a){return this.on(i,a)}}),u.fn.extend({bind:function(e,i,a){return this.on(e,null,i,a)},unbind:function(e,i){return this.off(e,null,i)},delegate:function(e,i,a,c){return this.on(i,e,a,c)},undelegate:function(e,i,a){return arguments.length===1?this.off(e,"**"):this.off(i,e||"**",a)},hover:function(e,i){return this.on("mouseenter",e).on("mouseleave",i||e)}}),u.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){u.fn[i]=function(a,c){return arguments.length>0?this.on(i,null,a,c):this.trigger(i)}});var il=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;u.proxy=function(e,i){var a,c,f;if(typeof i=="string"&&(a=e[i],i=e,e=a),!!A(e))return c=h.call(arguments,2),f=function(){return e.apply(i||this,c.concat(h.call(arguments)))},f.guid=e.guid=e.guid||u.guid++,f},u.holdReady=function(e){e?u.readyWait++:u.ready(!0)},u.isArray=Array.isArray,u.parseJSON=JSON.parse,u.nodeName=F,u.isFunction=A,u.isWindow=P,u.camelCase=me,u.type=L,u.now=Date.now,u.isNumeric=function(e){var i=u.type(e);return(i==="number"||i==="string")&&!isNaN(e-parseFloat(e))},u.trim=function(e){return e==null?"":(e+"").replace(il,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return u});var ol=r.jQuery,al=r.$;return u.noConflict=function(e){return r.$===u&&(r.$=al),e&&r.jQuery===u&&(r.jQuery=ol),u},typeof o=="undefined"&&(r.jQuery=r.$=u),u})}}),hl=Hr(Du()),Wn=t=>t.getBoundingClientRect().height,ho=()=>{let t=window.innerHeight*.01;document.querySelector("html").setAttribute("style",`--vh:${t}px;`);let n=document.querySelector("header"),r=document.querySelector("footer");if(!n||!r)return;let o=window.innerHeight-Wn(n)-Wn(r);document.querySelector("main").setAttribute("style",`--mh:${o}px;`)};ho(),window.onresize=ho;var Fr=()=>{let t=new Date;return t.setTime(t.getTime()+100*365*24*60*60*1e3),`expires=${t.toUTCString()};`},gi=t=>{let n=RegExp(`${t}=.[^;]*`),r=document.cookie.match(n);if(r){let o=r[0].split("=");return decodeURIComponent(o[1])}return!1};(()=>{let t=document.getElementById("topNoticeAlert"),n=window.sessionStorage.getItem("notice"),r=document.getElementById("cookieNoticeAlert"),o="chocolatey_hide_cookies_notice";t&&(n?t.remove():t.classList.remove("d-none"),t.querySelector("button").addEventListener("click",()=>sessionStorage.setItem("notice","true"),!1)),r&&(gi(o)?r.remove():r.classList.remove("d-none"),r.querySelectorAll("button").forEach(s=>{s.addEventListener("click",()=>{~location.hostname.indexOf("chocolatey.org")?document.cookie=`${o}=true; ${Fr()}path=/; domain=chocolatey.org;`:document.cookie=`${o}=true; ${Fr()}path=/;`},!1)}))})(),(()=>{let t=document.querySelectorAll(".callout"),n=document.querySelectorAll("blockquote"),r=o=>{o.forEach(s=>{let l=s.querySelector(".callout-header");if(s.nodeName==="BLOCKQUOTE"&&s.querySelector("p:first-child")&&s.querySelector("p:first-child").textContent.includes(":choco-")&&(l=s.querySelector("p:first-child")),l){let h="",d="",m=l.textContent;s.classList.contains("callout-success")||m.includes(":choco-success:")?(d="success",h="check",s.classList.add("callout-success")):s.classList.contains("callout-danger")||m.includes(":choco-danger:")?(d="danger",h="xmark",s.classList.add("callout-danger")):s.classList.contains("callout-warning")||m.includes(":choco-warning:")?(d="warning",h="triangle-exclamation",s.classList.add("callout-warning")):s.classList.contains("callout-tip")||m.includes(":choco-tip:")?(d="tip",h="lightbulb",s.classList.add("callout-tip")):(d="info",h="info",s.classList.add("callout-info")),m.includes(":choco-")&&(m=m.replace(/:.+?:/,"").trim());let y=`<div class="callout-header d-flex align-items-center"><span class="flex-shrink-0 text-bg-${d} h-px-30 w-px-30 d-flex align-items-center justify-content-center rounded me-3"><span class="fa-solid fa-${h}"></span></span><p class="lead"><strong>${m}</strong></p></div>`;l.outerHTML=y}})};r(t),r(n)})();var qu=Hr(Nu());(()=>{let t=new qu.default(".btn-copy"),n=document.querySelectorAll(".user-select-all");t.on("success",r=>{if(r.trigger.classList.contains("copy-to-clipboard-button"))r.trigger.textContent="Copied!",setTimeout(()=>{r.trigger.blur(),setTimeout(()=>{r.trigger.textContent="Copy"},200)},2e3);else{let o=new bootstrap.Button(r.trigger);setTimeout(()=>{o.toggle()},2e3)}r.clearSelection()}),n&&n.forEach(r=>r.addEventListener("click",()=>r.select(),!1))})();var Mu=t=>{t.innerHTML=t.innerHTML.trim()};(()=>{let t=document.querySelectorAll("code"),n=document.querySelectorAll("pre");t.forEach(Mu),(()=>{let o=window.location.href;if(["en-us/choco/commands/","en-us/create/commands/"].some(l=>o.includes(l))){let l=document.querySelectorAll("h2");for(let h of l){let d=h.textContent.trim();if(d==="Examples"||d==="Usage"){let m=h.nextElementSibling;for(;m&&m.tagName!=="H2";){if(m.tagName==="PRE"&&m.firstElementChild&&m.firstElementChild.tagName==="CODE"){let y=m.firstElementChild,v=y.textContent.split(`
|
|
7
|
-
`).map(
|
|
8
|
-
`)}m=m.nextElementSibling}}}}})();for(let o of n)!o.classList.contains("highlight-delay")&&!o.classList.contains("d-format-none")&&(o.classList.add("line-numbers","language-none"),Prism.highlightAll())})();var Vn=t=>t.replace(/[.]/g,"\\$&"),go=t=>{let n=[],r=t;for(;r!=document;)n.push(r.parentNode),r=r.parentNode;return n};(()=>{let t=()=>{if(location.hash){let s=document.querySelector(Vn(location.hash));if(s){let l=s,h=go(s).filter(d=>d!=document&&d.classList.contains("collapse"));h.length==0&&s.classList.contains("collapse")&&h.push(s),h.reverse().forEach((d,m,y)=>{d=document.getElementById(Vn(d.id)),bootstrap.Collapse.getOrCreateInstance(d,{toggle:!1}).show(),d.addEventListener("shown.bs.collapse",v=>{v.stopImmediatePropagation(),m===y.length-1&&l.scrollIntoView()})})}}},n=()=>{if(location.hash){let s=document.querySelector(`[data-bs-toggle="tab"][href="${Vn(location.hash)}"]`);if(s){let l=s,h=go(s).filter(d=>d!=document&&d.classList.contains("tab-pane"));h.push(s),h.reverse().forEach((d,m,y)=>{d.id.includes("-tab")||(d=document.getElementById(`${Vn(d.id)}-tab`)),bootstrap.Tab.getOrCreateInstance(d,{toggle:!1}).show(),d.addEventListener("shown.bs.tab",v=>{v.stopImmediatePropagation(),m===y.length-1&&l.scrollIntoView()})})}}};t(),n(),window.addEventListener("hashchange",t,!1),window.addEventListener("hashchange",n,!1);let r=document.querySelectorAll(".btn-collapse-target");r&&r.forEach(s=>{s.addEventListener("click",()=>{let l=document.querySelector(s.getAttribute("data-collapse-target"));bootstrap.Collapse.getOrCreateInstance(l,{toggle:!1}).show()},!1)});let o=s=>{s.addEventListener("click",l=>{history.pushState(null,null,l.target.hash)})};document.querySelectorAll('[data-bs-toggle="tab"]:not(.d-hash-none)').forEach(s=>o(s)),document.querySelectorAll('[data-bs-toggle="collapse"]:not(.d-hash-none)').forEach(s=>o(s))})(),(()=>{let t=document.querySelector(".collapse-lg");if(t){let n=window.matchMedia("(max-width: 1199px)"),r=bootstrap.Collapse.getOrCreateInstance(t,{toggle:!1});t.querySelectorAll("a").forEach(s=>{s.addEventListener("click",()=>{n.matches&&(s.classList.add("active-scroll"),r.hide())},!1)}),t.addEventListener("hidden.bs.collapse",()=>{let s=t.querySelector(".active-scroll");s&&(document.querySelector(Vn(s.getAttribute("href"))).scrollIntoView(),s.classList.remove("active-scroll"))});let o=s=>{s.matches?r.hide():r.show()};o(n),n.addEventListener("change",()=>o(n))}})(),(()=>{let t=document.querySelector(".collapse-y-height"),n=document.getElementById("mainContent"),r=o=>{let s=o.getBoundingClientRect();return{left:s.left+window.scrollX,top:s.top+window.scrollY}};if(t&&n){let o=()=>{if(window.innerWidth>=768)if(r(n).top+Wn(n)<window.innerHeight){let l=window.innerHeight-Wn(document.querySelector("header"))-Wn(document.querySelector("footer"));t.style.height=`${l}px`}else t.style.height="";else t.style.height=""};o(),new ResizeObserver(()=>o()).observe(document.body),window.onresize=o}})(),(()=>{let t=document.querySelector("h2.title-child");t&&(document.querySelectorAll("h2")[0].classList.contains("title-child")||t.classList.remove("d-none"))})();function mi(){return mi=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},mi.apply(null,arguments)}function ge(t){return ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ge(t)}var Gn,Se,mo,cn,vo,yo,vi,bo,yi,bi,_i,_o,Kn={},Ao=[],Hu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$r=Array.isArray;function zt(t,n){for(var r in n)t[r]=n[r];return t}function Ai(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function Nt(t,n,r){var o,s,l,h={};for(l in n)l=="key"?o=n[l]:l=="ref"?s=n[l]:h[l]=n[l];if(arguments.length>2&&(h.children=arguments.length>3?Gn.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(l in t.defaultProps)h[l]===void 0&&(h[l]=t.defaultProps[l]);return Qn(t,h,o,s,null)}function Qn(t,n,r,o,s){var l={type:t,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:s==null?++mo:s,__i:-1,__u:0};return s==null&&Se.vnode!=null&&Se.vnode(l),l}function Wt(t){return t.children}function Lt(t,n){this.props=t,this.context=n}function Sn(t,n){if(n==null)return t.__?Sn(t.__,t.__i+1):null;for(var r;n<t.__k.length;n++)if((r=t.__k[n])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?Sn(t):null}function wo(t){var n,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if((r=t.__k[n])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return wo(t)}}function wi(t){(!t.__d&&(t.__d=!0)&&cn.push(t)&&!Br.__r++||vo!==Se.debounceRendering)&&((vo=Se.debounceRendering)||yo)(Br)}function Br(){var t,n,r,o,s,l,h,d;for(cn.sort(vi);t=cn.shift();)t.__d&&(n=cn.length,o=void 0,l=(s=(r=t).__v).__e,h=[],d=[],r.__P&&((o=zt({},s)).__v=s.__v+1,Se.vnode&&Se.vnode(o),Si(r.__P,o,s,r.__n,r.__P.namespaceURI,32&s.__u?[l]:null,h,l==null?Sn(s):l,!!(32&s.__u),d),o.__v=s.__v,o.__.__k[o.__i]=o,ko(h,o,d),o.__e!=l&&wo(o)),cn.length>n&&cn.sort(vi));Br.__r=0}function So(t,n,r,o,s,l,h,d,m,y,S){var v,_,O,D,k,A,P=o&&o.__k||Ao,j=n.length;for(m=(function(w,E,L,M,B){var u,W,F,X,oe,Ae=L.length,re=Ae,xe=0;for(w.__k=new Array(B),u=0;u<B;u++)(W=E[u])!=null&&typeof W!="boolean"&&typeof W!="function"?(X=u+xe,(W=w.__k[u]=typeof W=="string"||typeof W=="number"||typeof W=="bigint"||W.constructor==String?Qn(null,W,null,null,null):$r(W)?Qn(Wt,{children:W},null,null,null):W.constructor===void 0&&W.__b>0?Qn(W.type,W.props,W.key,W.ref?W.ref:null,W.__v):W).__=w,W.__b=w.__b+1,F=null,(oe=W.__i=Fu(W,L,X,re))!==-1&&(re--,(F=L[oe])&&(F.__u|=2)),F==null||F.__v===null?(oe==-1&&xe--,typeof W.type!="function"&&(W.__u|=4)):oe!=X&&(oe==X-1?xe--:oe==X+1?xe++:(oe>X?xe--:xe++,W.__u|=4))):w.__k[u]=null;if(re)for(u=0;u<Ae;u++)(F=L[u])!=null&&!(2&F.__u)&&(F.__e==M&&(M=Sn(F)),Co(F,F));return M})(r,n,P,m,j),v=0;v<j;v++)(O=r.__k[v])!=null&&(_=O.__i===-1?Kn:P[O.__i]||Kn,O.__i=v,A=Si(t,O,_,s,l,h,d,m,y,S),D=O.__e,O.ref&&_.ref!=O.ref&&(_.ref&&Ei(_.ref,null,O),S.push(O.ref,O.__c||D,O)),k==null&&D!=null&&(k=D),4&O.__u||_.__k===O.__k?m=Eo(O,m,t):typeof O.type=="function"&&A!==void 0?m=A:D&&(m=D.nextSibling),O.__u&=-7);return r.__e=k,m}function Eo(t,n,r){var o,s;if(typeof t.type=="function"){for(o=t.__k,s=0;o&&s<o.length;s++)o[s]&&(o[s].__=t,n=Eo(o[s],n,r));return n}t.__e!=n&&(n&&t.type&&!r.contains(n)&&(n=Sn(t)),r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(n!=null&&n.nodeType==8);return n}function Vt(t,n){return n=n||[],t==null||typeof t=="boolean"||($r(t)?t.some((function(r){Vt(r,n)})):n.push(t)),n}function Fu(t,n,r,o){var s,l,h=t.key,d=t.type,m=n[r];if(m===null||m&&h==m.key&&d===m.type&&!(2&m.__u))return r;if(o>(m==null||2&m.__u?0:1))for(s=r-1,l=r+1;s>=0||l<n.length;){if(s>=0){if((m=n[s])&&!(2&m.__u)&&h==m.key&&d===m.type)return s;s--}if(l<n.length){if((m=n[l])&&!(2&m.__u)&&h==m.key&&d===m.type)return l;l++}}return-1}function xo(t,n,r){n[0]=="-"?t.setProperty(n,r==null?"":r):t[n]=r==null?"":typeof r!="number"||Hu.test(n)?r:r+"px"}function Ur(t,n,r,o,s){var l;e:if(n=="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof o=="string"&&(t.style.cssText=o=""),o)for(n in o)r&&n in r||xo(t.style,n,"");if(r)for(n in r)o&&r[n]===o[n]||xo(t.style,n,r[n])}else if(n[0]=="o"&&n[1]=="n")l=n!=(n=n.replace(bo,"$1")),n=n.toLowerCase()in t||n=="onFocusOut"||n=="onFocusIn"?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+l]=r,r?o?r.u=o.u:(r.u=yi,t.addEventListener(n,l?_i:bi,l)):t.removeEventListener(n,l?_i:bi,l);else{if(s=="http://www.w3.org/2000/svg")n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(n!="width"&&n!="height"&&n!="href"&&n!="list"&&n!="form"&&n!="tabIndex"&&n!="download"&&n!="rowSpan"&&n!="colSpan"&&n!="role"&&n!="popover"&&n in t)try{t[n]=r==null?"":r;break e}catch(h){}typeof r=="function"||(r==null||r===!1&&n[4]!="-"?t.removeAttribute(n):t.setAttribute(n,n=="popover"&&r==1?"":r))}}function Oo(t){return function(n){if(this.l){var r=this.l[n.type+t];if(n.t==null)n.t=yi++;else if(n.t<r.u)return;return r(Se.event?Se.event(n):n)}}}function Si(t,n,r,o,s,l,h,d,m,y){var S,v,_,O,D,k,A,P,j,w,E,L,M,B,u,W,F,X=n.type;if(n.constructor!==void 0)return null;128&r.__u&&(m=!!(32&r.__u),l=[d=n.__e=r.__e]),(S=Se.__b)&&S(n);e:if(typeof X=="function")try{if(P=n.props,j="prototype"in X&&X.prototype.render,w=(S=X.contextType)&&o[S.__c],E=S?w?w.props.value:S.__:o,r.__c?A=(v=n.__c=r.__c).__=v.__E:(j?n.__c=v=new X(P,E):(n.__c=v=new Lt(P,E),v.constructor=X,v.render=Bu),w&&w.sub(v),v.props=P,v.state||(v.state={}),v.context=E,v.__n=o,_=v.__d=!0,v.__h=[],v._sb=[]),j&&v.__s==null&&(v.__s=v.state),j&&X.getDerivedStateFromProps!=null&&(v.__s==v.state&&(v.__s=zt({},v.__s)),zt(v.__s,X.getDerivedStateFromProps(P,v.__s))),O=v.props,D=v.state,v.__v=n,_)j&&X.getDerivedStateFromProps==null&&v.componentWillMount!=null&&v.componentWillMount(),j&&v.componentDidMount!=null&&v.__h.push(v.componentDidMount);else{if(j&&X.getDerivedStateFromProps==null&&P!==O&&v.componentWillReceiveProps!=null&&v.componentWillReceiveProps(P,E),!v.__e&&(v.shouldComponentUpdate!=null&&v.shouldComponentUpdate(P,v.__s,E)===!1||n.__v==r.__v)){for(n.__v!=r.__v&&(v.props=P,v.state=v.__s,v.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some((function(oe){oe&&(oe.__=n)})),L=0;L<v._sb.length;L++)v.__h.push(v._sb[L]);v._sb=[],v.__h.length&&h.push(v);break e}v.componentWillUpdate!=null&&v.componentWillUpdate(P,v.__s,E),j&&v.componentDidUpdate!=null&&v.__h.push((function(){v.componentDidUpdate(O,D,k)}))}if(v.context=E,v.props=P,v.__P=t,v.__e=!1,M=Se.__r,B=0,j){for(v.state=v.__s,v.__d=!1,M&&M(n),S=v.render(v.props,v.state,v.context),u=0;u<v._sb.length;u++)v.__h.push(v._sb[u]);v._sb=[]}else do v.__d=!1,M&&M(n),S=v.render(v.props,v.state,v.context),v.state=v.__s;while(v.__d&&++B<25);v.state=v.__s,v.getChildContext!=null&&(o=zt(zt({},o),v.getChildContext())),j&&!_&&v.getSnapshotBeforeUpdate!=null&&(k=v.getSnapshotBeforeUpdate(O,D)),d=So(t,$r(W=S!=null&&S.type===Wt&&S.key==null?S.props.children:S)?W:[W],n,r,o,s,l,h,d,m,y),v.base=n.__e,n.__u&=-161,v.__h.length&&h.push(v),A&&(v.__E=v.__=null)}catch(oe){if(n.__v=null,m||l!=null)if(oe.then){for(n.__u|=m?160:128;d&&d.nodeType==8&&d.nextSibling;)d=d.nextSibling;l[l.indexOf(d)]=null,n.__e=d}else for(F=l.length;F--;)Ai(l[F]);else n.__e=r.__e,n.__k=r.__k;Se.__e(oe,n,r)}else l==null&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):d=n.__e=$u(r.__e,n,r,o,s,l,h,m,y);return(S=Se.diffed)&&S(n),128&n.__u?void 0:d}function ko(t,n,r){for(var o=0;o<r.length;o++)Ei(r[o],r[++o],r[++o]);Se.__c&&Se.__c(n,t),t.some((function(s){try{t=s.__h,s.__h=[],t.some((function(l){l.call(s)}))}catch(l){Se.__e(l,s.__v)}}))}function $u(t,n,r,o,s,l,h,d,m){var y,S,v,_,O,D,k,A=r.props,P=n.props,j=n.type;if(j=="svg"?s="http://www.w3.org/2000/svg":j=="math"?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),l!=null){for(y=0;y<l.length;y++)if((O=l[y])&&"setAttribute"in O==!!j&&(j?O.localName==j:O.nodeType==3)){t=O,l[y]=null;break}}if(t==null){if(j==null)return document.createTextNode(P);t=document.createElementNS(s,j,P.is&&P),d&&(Se.__m&&Se.__m(n,l),d=!1),l=null}if(j===null)A===P||d&&t.data===P||(t.data=P);else{if(l=l&&Gn.call(t.childNodes),A=r.props||Kn,!d&&l!=null)for(A={},y=0;y<t.attributes.length;y++)A[(O=t.attributes[y]).name]=O.value;for(y in A)if(O=A[y],y!="children"){if(y=="dangerouslySetInnerHTML")v=O;else if(!(y in P)){if(y=="value"&&"defaultValue"in P||y=="checked"&&"defaultChecked"in P)continue;Ur(t,y,null,O,s)}}for(y in P)O=P[y],y=="children"?_=O:y=="dangerouslySetInnerHTML"?S=O:y=="value"?D=O:y=="checked"?k=O:d&&typeof O!="function"||A[y]===O||Ur(t,y,O,A[y],s);if(S)d||v&&(S.__html===v.__html||S.__html===t.innerHTML)||(t.innerHTML=S.__html),n.__k=[];else if(v&&(t.innerHTML=""),So(t,$r(_)?_:[_],n,r,o,j=="foreignObject"?"http://www.w3.org/1999/xhtml":s,l,h,l?l[0]:r.__k&&Sn(r,0),d,m),l!=null)for(y=l.length;y--;)Ai(l[y]);d||(y="value",j=="progress"&&D==null?t.removeAttribute("value"):D!==void 0&&(D!==t[y]||j=="progress"&&!D||j=="option"&&D!==A[y])&&Ur(t,y,D,A[y],s),y="checked",k!==void 0&&k!==t[y]&&Ur(t,y,k,A[y],s))}return t}function Ei(t,n,r){try{if(typeof t=="function"){var o=typeof t.__u=="function";o&&t.__u(),o&&n==null||(t.__u=t(n))}else t.current=n}catch(s){Se.__e(s,r)}}function Co(t,n,r){var o,s;if(Se.unmount&&Se.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||Ei(o,null,n)),(o=t.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(l){Se.__e(l,n)}o.base=o.__P=null}if(o=t.__k)for(s=0;s<o.length;s++)o[s]&&Co(o[s],n,r||typeof t.type!="function");r||Ai(t.__e),t.__c=t.__=t.__e=void 0}function Bu(t,n,r){return this.constructor(t,r)}function Yn(t,n,r){var o,s,l,h;n==document&&(n=document.documentElement),Se.__&&Se.__(t,n),s=(o=typeof r=="function")?null:r&&r.__k||n.__k,l=[],h=[],Si(n,t=(!o&&r||n).__k=Nt(Wt,null,[t]),s||Kn,Kn,n.namespaceURI,!o&&r?[r]:s?null:n.firstChild?Gn.call(n.childNodes):null,l,!o&&r?r:s?s.__e:n.firstChild,o,h),ko(l,t,h)}function To(t,n){Yn(t,n,To)}function Uu(t,n,r){var o,s,l,h,d=zt({},t.props);for(l in t.type&&t.type.defaultProps&&(h=t.type.defaultProps),n)l=="key"?o=n[l]:l=="ref"?s=n[l]:d[l]=n[l]===void 0&&h!==void 0?h[l]:n[l];return arguments.length>2&&(d.children=arguments.length>3?Gn.call(arguments,2):r),Qn(t.type,d,o||t.key,s||t.ref,null)}Gn=Ao.slice,Se={__e:function(t,n,r,o){for(var s,l,h;n=n.__;)if((s=n.__c)&&!s.__)try{if((l=s.constructor)&&l.getDerivedStateFromError!=null&&(s.setState(l.getDerivedStateFromError(t)),h=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(t,o||{}),h=s.__d),h)return s.__E=s}catch(d){t=d}throw t}},mo=0,Lt.prototype.setState=function(t,n){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=zt({},this.state),typeof t=="function"&&(t=t(zt({},r),this.props)),t&&zt(r,t),t!=null&&this.__v&&(n&&this._sb.push(n),wi(this))},Lt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),wi(this))},Lt.prototype.render=Wt,cn=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,vi=function(t,n){return t.__v.__b-n.__v.__b},Br.__r=0,bo=/(PointerCapture)$|Capture$/i,yi=0,bi=Oo(!1),_i=Oo(!0),_o=0;var Jt,Fe,xi,jo,En=0,Io=[],We=Se,Po=We.__b,Do=We.__r,No=We.diffed,Lo=We.__c,Ro=We.unmount,qo=We.__;function xn(t,n){We.__h&&We.__h(Fe,t,En||n),En=0;var r=Fe.__H||(Fe.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function Xn(t){return En=1,Oi(Wo,t)}function Oi(t,n,r){var o=xn(Jt++,2);if(o.t=t,!o.__c&&(o.__=[r?r(n):Wo(void 0,n),function(d){var m=o.__N?o.__N[0]:o.__[0],y=o.t(m,d);m!==y&&(o.__N=[y,o.__[1]],o.__c.setState({}))}],o.__c=Fe,!Fe.u)){var s=function(d,m,y){if(!o.__c.__H)return!0;var S=o.__c.__H.__.filter((function(_){return!!_.__c}));if(S.every((function(_){return!_.__N})))return!l||l.call(this,d,m,y);var v=o.__c.props!==d;return S.forEach((function(_){if(_.__N){var O=_.__[0];_.__=_.__N,_.__N=void 0,O!==_.__[0]&&(v=!0)}})),l&&l.call(this,d,m,y)||v};Fe.u=!0;var l=Fe.shouldComponentUpdate,h=Fe.componentWillUpdate;Fe.componentWillUpdate=function(d,m,y){if(this.__e){var S=l;l=void 0,s(d,m,y),l=S}h&&h.call(this,d,m,y)},Fe.shouldComponentUpdate=s}return o.__N||o.__}function Jn(t,n){var r=xn(Jt++,3);!We.__s&&Ci(r.__H,n)&&(r.__=t,r.i=n,Fe.__H.__h.push(r))}function Zn(t,n){var r=xn(Jt++,4);!We.__s&&Ci(r.__H,n)&&(r.__=t,r.i=n,Fe.__h.push(r))}function Mo(t){return En=5,zr((function(){return{current:t}}),[])}function Ho(t,n,r){En=6,Zn((function(){return typeof t=="function"?(t(n()),function(){return t(null)}):t?(t.current=n(),function(){return t.current=null}):void 0}),r==null?r:r.concat(t))}function zr(t,n){var r=xn(Jt++,7);return Ci(r.__H,n)&&(r.__=t(),r.__H=n,r.__h=t),r.__}function Fo(t,n){return En=8,zr((function(){return t}),n)}function $o(t){var n=Fe.context[t.__c],r=xn(Jt++,9);return r.c=t,n?(r.__==null&&(r.__=!0,n.sub(Fe)),n.props.value):t.__}function Bo(t,n){We.useDebugValue&&We.useDebugValue(n?n(t):t)}function Uo(){var t=xn(Jt++,11);if(!t.__){for(var n=Fe.__v;n!==null&&!n.__m&&n.__!==null;)n=n.__;var r=n.__m||(n.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function zu(){for(var t;t=Io.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Wr),t.__H.__h.forEach(ki),t.__H.__h=[]}catch(n){t.__H.__h=[],We.__e(n,t.__v)}}We.__b=function(t){Fe=null,Po&&Po(t)},We.__=function(t,n){t&&n.__k&&n.__k.__m&&(t.__m=n.__k.__m),qo&&qo(t,n)},We.__r=function(t){Do&&Do(t),Jt=0;var n=(Fe=t.__c).__H;n&&(xi===Fe?(n.__h=[],Fe.__h=[],n.__.forEach((function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0}))):(n.__h.forEach(Wr),n.__h.forEach(ki),n.__h=[],Jt=0)),xi=Fe},We.diffed=function(t){No&&No(t);var n=t.__c;n&&n.__H&&(n.__H.__h.length&&(Io.push(n)!==1&&jo===We.requestAnimationFrame||((jo=We.requestAnimationFrame)||Wu)(zu)),n.__H.__.forEach((function(r){r.i&&(r.__H=r.i),r.i=void 0}))),xi=Fe=null},We.__c=function(t,n){n.some((function(r){try{r.__h.forEach(Wr),r.__h=r.__h.filter((function(o){return!o.__||ki(o)}))}catch(o){n.some((function(s){s.__h&&(s.__h=[])})),n=[],We.__e(o,r.__v)}})),Lo&&Lo(t,n)},We.unmount=function(t){Ro&&Ro(t);var n,r=t.__c;r&&r.__H&&(r.__H.__.forEach((function(o){try{Wr(o)}catch(s){n=s}})),r.__H=void 0,n&&We.__e(n,r.__v))};var zo=typeof requestAnimationFrame=="function";function Wu(t){var n,r=function(){clearTimeout(o),zo&&cancelAnimationFrame(n),setTimeout(t)},o=setTimeout(r,100);zo&&(n=requestAnimationFrame(r))}function Wr(t){var n=Fe,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),Fe=n}function ki(t){var n=Fe;t.__c=t.__(),Fe=n}function Ci(t,n){return!t||t.length!==n.length||n.some((function(r,o){return r!==t[o]}))}function Wo(t,n){return typeof n=="function"?n(t):n}function Vo(t,n){for(var r in n)t[r]=n[r];return t}function Ti(t,n){for(var r in t)if(r!=="__source"&&!(r in n))return!0;for(var o in n)if(o!=="__source"&&t[o]!==n[o])return!0;return!1}function Go(t,n){var r=n(),o=Xn({t:{__:r,u:n}}),s=o[0].t,l=o[1];return Zn((function(){s.__=r,s.u=n,ji(s)&&l({t:s})}),[t,r,n]),Jn((function(){return ji(s)&&l({t:s}),t((function(){ji(s)&&l({t:s})}))}),[t]),r}function ji(t){var n,r,o=t.u,s=t.__;try{var l=o();return!((n=s)===(r=l)&&(n!==0||1/n==1/r)||n!=n&&r!=r)}catch(h){return!0}}function Ko(t){t()}function Qo(t){return t}function Yo(){return[!1,Ko]}var Xo=Zn;function Ii(t,n){this.props=t,this.context=n}(Ii.prototype=new Lt).isPureReactComponent=!0,Ii.prototype.shouldComponentUpdate=function(t,n){return Ti(this.props,t)||Ti(this.state,n)};var Jo=Se.__b;Se.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Jo&&Jo(t)};var Vu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Zo=function(t,n){return t==null?null:Vt(Vt(t).map(n))},Gu={map:Zo,forEach:Zo,count:function(t){return t?Vt(t).length:0},only:function(t){var n=Vt(t);if(n.length!==1)throw"Children.only";return n[0]},toArray:Vt},Ku=Se.__e;Se.__e=function(t,n,r,o){if(t.then){for(var s,l=n;l=l.__;)if((s=l.__c)&&s.__c)return n.__e==null&&(n.__e=r.__e,n.__k=r.__k),s.__c(t,n)}Ku(t,n,r,o)};var ea=Se.unmount;function ta(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(o){typeof o.__c=="function"&&o.__c()})),t.__c.__H=null),(t=Vo({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(o){return ta(o,n,r)}))),t}function na(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(o){return na(o,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function Vr(){this.__u=0,this.o=null,this.__b=null}function ra(t){var n=t.__.__c;return n&&n.__a&&n.__a(t)}function er(){this.i=null,this.l=null}Se.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&32&t.__u&&(t.type=null),ea&&ea(t)},(Vr.prototype=new Lt).__c=function(t,n){var r=n.__c,o=this;o.o==null&&(o.o=[]),o.o.push(r);var s=ra(o.__v),l=!1,h=function(){l||(l=!0,r.__R=null,s?s(d):d())};r.__R=h;var d=function(){if(!--o.__u){if(o.state.__a){var m=o.state.__a;o.__v.__k[0]=na(m,m.__c.__P,m.__c.__O)}var y;for(o.setState({__a:o.__b=null});y=o.o.pop();)y.forceUpdate()}};o.__u++||32&n.__u||o.setState({__a:o.__b=o.__v.__k[0]}),t.then(h,h)},Vr.prototype.componentWillUnmount=function(){this.o=[]},Vr.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=ta(this.__b,r,o.__O=o.__P)}this.__b=null}var s=n.__a&&Nt(Wt,null,t.fallback);return s&&(s.__u&=-33),[Nt(Wt,null,n.__a?null:t.children),s]};var ia=function(t,n,r){if(++r[1]===r[0]&&t.l.delete(n),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.l.size))for(r=t.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.i=r=r[2]}};function Qu(t){return this.getChildContext=function(){return t.context},t.children}function Yu(t){var n=this,r=t.h;n.componentWillUnmount=function(){Yn(null,n.v),n.v=null,n.h=null},n.h&&n.h!==r&&n.componentWillUnmount(),n.v||(n.h=r,n.v={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(o){this.childNodes.push(o),n.h.appendChild(o)},insertBefore:function(o,s){this.childNodes.push(o),n.h.insertBefore(o,s)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),n.h.removeChild(o)}}),Yn(Nt(Qu,{context:n.context},t.__v),n.v)}function oa(t,n){var r=Nt(Yu,{__v:t,h:n});return r.containerInfo=n,r}(er.prototype=new Lt).__a=function(t){var n=this,r=ra(n.__v),o=n.l.get(t);return o[0]++,function(s){var l=function(){n.props.revealOrder?(o.push(s),ia(n,t,o)):s()};r?r(l):l()}},er.prototype.render=function(t){this.i=null,this.l=new Map;var n=Vt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&n.reverse();for(var r=n.length;r--;)this.l.set(n[r],this.i=[1,0,this.i]);return t.children},er.prototype.componentDidUpdate=er.prototype.componentDidMount=function(){var t=this;this.l.forEach((function(n,r){ia(t,r,n)}))};var aa=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Xu=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ju=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Zu=/[A-Z0-9]/g,es=typeof document!="undefined",ts=function(t){return(typeof Symbol!="undefined"&&ge(Symbol())=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function ua(t,n,r){return n.__k==null&&(n.textContent=""),Yn(t,n),typeof r=="function"&&r(),t?t.__c:null}Lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(Lt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var sa=Se.event;function ns(){}function rs(){return this.cancelBubble}function is(){return this.defaultPrevented}Se.event=function(t){return sa&&(t=sa(t)),t.persist=ns,t.isPropagationStopped=rs,t.isDefaultPrevented=is,t.nativeEvent=t};var Pi,os={enumerable:!1,configurable:!0,get:function(){return this.class}},ca=Se.vnode;Se.vnode=function(t){typeof t.type=="string"&&(function(n){var r=n.props,o=n.type,s={},l=o.indexOf("-")===-1;for(var h in r){var d=r[h];if(!(h==="value"&&"defaultValue"in r&&d==null||es&&h==="children"&&o==="noscript"||h==="class"||h==="className")){var m=h.toLowerCase();h==="defaultValue"&&"value"in r&&r.value==null?h="value":h==="download"&&d===!0?d="":m==="translate"&&d==="no"?d=!1:m[0]==="o"&&m[1]==="n"?m==="ondoubleclick"?h="ondblclick":m!=="onchange"||o!=="input"&&o!=="textarea"||ts(r.type)?m==="onfocus"?h="onfocusin":m==="onblur"?h="onfocusout":Ju.test(h)&&(h=m):m=h="oninput":l&&Xu.test(h)?h=h.replace(Zu,"-$&").toLowerCase():d===null&&(d=void 0),m==="oninput"&&s[h=m]&&(h="oninputCapture"),s[h]=d}}o=="select"&&s.multiple&&Array.isArray(s.value)&&(s.value=Vt(r.children).forEach((function(y){y.props.selected=s.value.indexOf(y.props.value)!=-1}))),o=="select"&&s.defaultValue!=null&&(s.value=Vt(r.children).forEach((function(y){y.props.selected=s.multiple?s.defaultValue.indexOf(y.props.value)!=-1:s.defaultValue==y.props.value}))),r.class&&!r.className?(s.class=r.class,Object.defineProperty(s,"className",os)):(r.className&&!r.class||r.class&&r.className)&&(s.class=s.className=r.className),n.props=s})(t),t.$$typeof=aa,ca&&ca(t)};var la=Se.__r;Se.__r=function(t){la&&la(t),Pi=t.__c};var fa=Se.diffed;Se.diffed=function(t){fa&&fa(t);var n=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in n&&n.value!==r.value&&(r.value=n.value==null?"":n.value),Pi=null};var as={ReactCurrentDispatcher:{current:{readContext:function(t){return Pi.__n[t.__c].props.value},useCallback:Fo,useContext:$o,useDebugValue:Bo,useDeferredValue:Qo,useEffect:Jn,useId:Uo,useImperativeHandle:Ho,useInsertionEffect:Xo,useLayoutEffect:Zn,useMemo:zr,useReducer:Oi,useRef:Mo,useState:Xn,useSyncExternalStore:Go,useTransition:Yo}}};function Gr(t){return!!t&&t.$$typeof===aa}var T={useState:Xn,useId:Uo,useReducer:Oi,useEffect:Jn,useLayoutEffect:Zn,useInsertionEffect:Xo,useTransition:Yo,useDeferredValue:Qo,useSyncExternalStore:Go,startTransition:Ko,useRef:Mo,useImperativeHandle:Ho,useMemo:zr,useCallback:Fo,useContext:$o,useDebugValue:Bo,version:"18.3.1",Children:Gu,render:ua,hydrate:function(t,n,r){return To(t,n),typeof r=="function"&&r(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(Yn(null,t),!0)},createPortal:oa,createElement:Nt,createContext:function(t,n){var r={__c:n="__cC"+_o++,__:t,Consumer:function(o,s){return o.children(s)},Provider:function(o){var s,l;return this.getChildContext||(s=new Set,(l={})[n]=this,this.getChildContext=function(){return l},this.componentWillUnmount=function(){s=null},this.shouldComponentUpdate=function(h){this.props.value!==h.value&&s.forEach((function(d){d.__e=!0,wi(d)}))},this.sub=function(h){s.add(h);var d=h.componentWillUnmount;h.componentWillUnmount=function(){s&&s.delete(h),d&&d.call(h)}}),o.children}};return r.Provider.__=r.Consumer.contextType=r},createFactory:function(t){return Nt.bind(null,t)},cloneElement:function(t){return Gr(t)?Uu.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:Wt,isValidElement:Gr,isElement:Gr,isFragment:function(t){return Gr(t)&&t.type===Wt},isMemo:function(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")},findDOMNode:function(t){return t&&(t.base||t.nodeType===1&&t)||null},Component:Lt,PureComponent:Ii,memo:function(t,n){function r(s){var l=this.props.ref,h=l==s.ref;return!h&&l&&(l.call?l(null):l.current=null),n?!n(this.props,s)||!h:Ti(this.props,s)}function o(s){return this.shouldComponentUpdate=r,Nt(t,s)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o},forwardRef:function(t){function n(r){var o=Vo({},r);return delete o.ref,t(o,r.ref||null)}return n.$$typeof=Vu,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n},flushSync:function(t,n){return t(n)},unstable_batchedUpdates:function(t,n){return t(n)},StrictMode:Wt,Suspense:Vr,SuspenseList:er,lazy:function(t){var n,r,o;function s(l){if(n||(n=t()).then((function(h){r=h.default||h}),(function(h){o=h})),o)throw o;if(!r)throw n;return Nt(r,l)}return s.displayName="Lazy",s.__f=!0,s},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:as};function Di(t,n){(n==null||n>t.length)&&(n=t.length);for(var r=0,o=Array(n);r<n;r++)o[r]=t[r];return o}function pa(t,n,r,o,s,l,h){try{var d=t[l](h),m=d.value}catch(y){return void r(y)}d.done?n(m):Promise.resolve(m).then(o,s)}function Ni(t){return function(){var n=this,r=arguments;return new Promise((function(o,s){var l=t.apply(n,r);function h(m){pa(l,o,s,h,d,"next",m)}function d(m){pa(l,o,s,h,d,"throw",m)}h(void 0)}))}}function On(t,n,r){return n=tr(n),(function(o,s){if(s&&(ge(s)=="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l})(o)})(t,Li()?Reflect.construct(n,r||[],tr(t).constructor):n.apply(t,r))}function kn(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Cn(t,n,r){return Object.defineProperty(t,"prototype",{writable:!1}),t}function Tn(t,n,r){return(n=(function(o){var s=(function(l){if(ge(l)!="object"||!l)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(ge(d)!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return ge(s)=="symbol"?s:s+""})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function ot(){return ot=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ot.apply(null,arguments)}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function jn(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&nr(t,n)}function Li(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(n){}return(Li=function(){return!!t})()}function da(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Ee(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?da(Object(r),!0).forEach((function(o){Tn(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):da(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Rt(t,n){if(t==null)return{};var r,o,s=(function(h,d){if(h==null)return{};var m={};for(var y in h)if({}.hasOwnProperty.call(h,y)){if(d.includes(y))continue;m[y]=h[y]}return m})(t,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)r=l[o],n.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}function ln(){ln=function(){return n};var t,n={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(Q,K,G){Q[K]=G.value},l=typeof Symbol=="function"?Symbol:{},h=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",m=l.toStringTag||"@@toStringTag";function y(Q,K,G){return Object.defineProperty(Q,K,{value:G,enumerable:!0,configurable:!0,writable:!0}),Q[K]}try{y({},"")}catch(Q){y=function(K,G,ie){return K[G]=ie}}function S(Q,K,G,ie){var Z=K&&K.prototype instanceof P?K:P,pe=Object.create(Z.prototype),ne=new re(ie||[]);return s(pe,"_invoke",{value:F(Q,G,ne)}),pe}function v(Q,K,G){try{return{type:"normal",arg:Q.call(K,G)}}catch(ie){return{type:"throw",arg:ie}}}n.wrap=S;var _="suspendedStart",O="suspendedYield",D="executing",k="completed",A={};function P(){}function j(){}function w(){}var E={};y(E,h,(function(){return this}));var L=Object.getPrototypeOf,M=L&&L(L(xe([])));M&&M!==r&&o.call(M,h)&&(E=M);var B=w.prototype=P.prototype=Object.create(E);function u(Q){["next","throw","return"].forEach((function(K){y(Q,K,(function(G){return this._invoke(K,G)}))}))}function W(Q,K){function G(Z,pe,ne,V){var Y=v(Q[Z],Q,pe);if(Y.type!=="throw"){var ee=Y.arg,ce=ee.value;return ce&&ge(ce)=="object"&&o.call(ce,"__await")?K.resolve(ce.__await).then((function(le){G("next",le,ne,V)}),(function(le){G("throw",le,ne,V)})):K.resolve(ce).then((function(le){ee.value=le,ne(ee)}),(function(le){return G("throw",le,ne,V)}))}V(Y.arg)}var ie;s(this,"_invoke",{value:function(Z,pe){function ne(){return new K((function(V,Y){G(Z,pe,V,Y)}))}return ie=ie?ie.then(ne,ne):ne()}})}function F(Q,K,G){var ie=_;return function(Z,pe){if(ie===D)throw Error("Generator is already running");if(ie===k){if(Z==="throw")throw pe;return{value:t,done:!0}}for(G.method=Z,G.arg=pe;;){var ne=G.delegate;if(ne){var V=X(ne,G);if(V){if(V===A)continue;return V}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(ie===_)throw ie=k,G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);ie=D;var Y=v(Q,K,G);if(Y.type==="normal"){if(ie=G.done?k:O,Y.arg===A)continue;return{value:Y.arg,done:G.done}}Y.type==="throw"&&(ie=k,G.method="throw",G.arg=Y.arg)}}}function X(Q,K){var G=K.method,ie=Q.iterator[G];if(ie===t)return K.delegate=null,G==="throw"&&Q.iterator.return&&(K.method="return",K.arg=t,X(Q,K),K.method==="throw")||G!=="return"&&(K.method="throw",K.arg=new TypeError("The iterator does not provide a '"+G+"' method")),A;var Z=v(ie,Q.iterator,K.arg);if(Z.type==="throw")return K.method="throw",K.arg=Z.arg,K.delegate=null,A;var pe=Z.arg;return pe?pe.done?(K[Q.resultName]=pe.value,K.next=Q.nextLoc,K.method!=="return"&&(K.method="next",K.arg=t),K.delegate=null,A):pe:(K.method="throw",K.arg=new TypeError("iterator result is not an object"),K.delegate=null,A)}function oe(Q){var K={tryLoc:Q[0]};1 in Q&&(K.catchLoc=Q[1]),2 in Q&&(K.finallyLoc=Q[2],K.afterLoc=Q[3]),this.tryEntries.push(K)}function Ae(Q){var K=Q.completion||{};K.type="normal",delete K.arg,Q.completion=K}function re(Q){this.tryEntries=[{tryLoc:"root"}],Q.forEach(oe,this),this.reset(!0)}function xe(Q){if(Q||Q===""){var K=Q[h];if(K)return K.call(Q);if(typeof Q.next=="function")return Q;if(!isNaN(Q.length)){var G=-1,ie=function Z(){for(;++G<Q.length;)if(o.call(Q,G))return Z.value=Q[G],Z.done=!1,Z;return Z.value=t,Z.done=!0,Z};return ie.next=ie}}throw new TypeError(ge(Q)+" is not iterable")}return j.prototype=w,s(B,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:j,configurable:!0}),j.displayName=y(w,m,"GeneratorFunction"),n.isGeneratorFunction=function(Q){var K=typeof Q=="function"&&Q.constructor;return!!K&&(K===j||(K.displayName||K.name)==="GeneratorFunction")},n.mark=function(Q){return Object.setPrototypeOf?Object.setPrototypeOf(Q,w):(Q.__proto__=w,y(Q,m,"GeneratorFunction")),Q.prototype=Object.create(B),Q},n.awrap=function(Q){return{__await:Q}},u(W.prototype),y(W.prototype,d,(function(){return this})),n.AsyncIterator=W,n.async=function(Q,K,G,ie,Z){Z===void 0&&(Z=Promise);var pe=new W(S(Q,K,G,ie),Z);return n.isGeneratorFunction(K)?pe:pe.next().then((function(ne){return ne.done?ne.value:pe.next()}))},u(B),y(B,m,"Generator"),y(B,h,(function(){return this})),y(B,"toString",(function(){return"[object Generator]"})),n.keys=function(Q){var K=Object(Q),G=[];for(var ie in K)G.push(ie);return G.reverse(),function Z(){for(;G.length;){var pe=G.pop();if(pe in K)return Z.value=pe,Z.done=!1,Z}return Z.done=!0,Z}},n.values=xe,re.prototype={constructor:re,reset:function(Q){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(Ae),!Q)for(var K in this)K.charAt(0)==="t"&&o.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=t)},stop:function(){this.done=!0;var Q=this.tryEntries[0].completion;if(Q.type==="throw")throw Q.arg;return this.rval},dispatchException:function(Q){if(this.done)throw Q;var K=this;function G(Y,ee){return pe.type="throw",pe.arg=Q,K.next=Y,ee&&(K.method="next",K.arg=t),!!ee}for(var ie=this.tryEntries.length-1;ie>=0;--ie){var Z=this.tryEntries[ie],pe=Z.completion;if(Z.tryLoc==="root")return G("end");if(Z.tryLoc<=this.prev){var ne=o.call(Z,"catchLoc"),V=o.call(Z,"finallyLoc");if(ne&&V){if(this.prev<Z.catchLoc)return G(Z.catchLoc,!0);if(this.prev<Z.finallyLoc)return G(Z.finallyLoc)}else if(ne){if(this.prev<Z.catchLoc)return G(Z.catchLoc,!0)}else{if(!V)throw Error("try statement without catch or finally");if(this.prev<Z.finallyLoc)return G(Z.finallyLoc)}}}},abrupt:function(Q,K){for(var G=this.tryEntries.length-1;G>=0;--G){var ie=this.tryEntries[G];if(ie.tryLoc<=this.prev&&o.call(ie,"finallyLoc")&&this.prev<ie.finallyLoc){var Z=ie;break}}Z&&(Q==="break"||Q==="continue")&&Z.tryLoc<=K&&K<=Z.finallyLoc&&(Z=null);var pe=Z?Z.completion:{};return pe.type=Q,pe.arg=K,Z?(this.method="next",this.next=Z.finallyLoc,A):this.complete(pe)},complete:function(Q,K){if(Q.type==="throw")throw Q.arg;return Q.type==="break"||Q.type==="continue"?this.next=Q.arg:Q.type==="return"?(this.rval=this.arg=Q.arg,this.method="return",this.next="end"):Q.type==="normal"&&K&&(this.next=K),A},finish:function(Q){for(var K=this.tryEntries.length-1;K>=0;--K){var G=this.tryEntries[K];if(G.finallyLoc===Q)return this.complete(G.completion,G.afterLoc),Ae(G),A}},catch:function(Q){for(var K=this.tryEntries.length-1;K>=0;--K){var G=this.tryEntries[K];if(G.tryLoc===Q){var ie=G.completion;if(ie.type==="throw"){var Z=ie.arg;Ae(G)}return Z}}throw Error("illegal catch attempt")},delegateYield:function(Q,K,G){return this.delegate={iterator:xe(Q),resultName:K,nextLoc:G},this.method==="next"&&(this.arg=t),A}},n}function nr(t,n){return nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},nr(t,n)}function ht(t,n){return(function(r){if(Array.isArray(r))return r})(t)||(function(r,o){var s=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(s!=null){var l,h,d,m,y=[],S=!0,v=!1;try{if(d=(s=s.call(r)).next,o===0){if(Object(s)!==s)return;S=!1}else for(;!(S=(l=d.call(s)).done)&&(y.push(l.value),y.length!==o);S=!0);}catch(_){v=!0,h=_}finally{try{if(!S&&s.return!=null&&(m=s.return(),Object(m)!==m))return}finally{if(v)throw h}}return y}})(t,n)||ha(t,n)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
9
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function
|
|
10
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function
|
|
11
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Hi(t,n){(n==null||n>t.length)&&(n=t.length);for(var r=0,o=new Array(n);r<n;r++)o[r]=t[r];return o}function wa(t,n){if(t==null)return{};var r,o,s=(function(h,d){if(h==null)return{};var m,y,S={},v=Object.keys(h);for(y=0;y<v.length;y++)m=v[y],d.indexOf(m)>=0||(S[m]=h[m]);return S})(t,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)r=l[o],n.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}function Sa(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function In(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Sa(Object(r),!0).forEach((function(o){hs(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sa(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function hs(t,n,r){return(n=(function(o){var s=(function(l){if(or(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(or(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return or(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Yr(t){return t.map((function(n){var r=n.items,o=wa(n,ps);return In(In({},o),{},{objectIDs:(r==null?void 0:r.map((function(s){return s.objectID})))||o.objectIDs})}))}function gs(t){var n=t.items.reduce((function(r,o){var s;return r[o.__autocomplete_indexName]=((s=r[o.__autocomplete_indexName])!==null&&s!==void 0?s:[]).concat(o),r}),{});return Object.keys(n).map((function(r){return{index:r,items:n[r],algoliaSource:["autocomplete"]}}))}function ar(t){return t.objectID&&t.__autocomplete_indexName&&t.__autocomplete_queryID}function ur(t){return ur=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},ur(t)}function Pn(t){return(function(n){if(Array.isArray(n))return Fi(n)})(t)||(function(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)})(t)||(function(n,r){if(n){if(typeof n=="string")return Fi(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Fi(n,r):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
12
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function
|
|
13
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})((_.version||"").split(".").map(Number)),D=O[0],k=O[1],D>=3||D===2&&k>=4||D===1&&k>=10);function P(j,w,E){if(A&&E!==void 0){var L=E[0].__autocomplete_algoliaCredentials,M={"X-Algolia-Application-Id":L.appId,"X-Algolia-API-Key":L.apiKey};_.apply(void 0,[j].concat(Qr(w),[{headers:M}]))}else _.apply(void 0,[j].concat(Qr(w)))}return{init:function(j,w){_("init",{appId:j,apiKey:w})},setAuthenticatedUserToken:function(j){_("setAuthenticatedUserToken",j)},setUserToken:function(j){_("setUserToken",j)},clickedObjectIDsAfterSearch:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&P("clickedObjectIDsAfterSearch",Yr(w),w[0].items)},clickedObjectIDs:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&P("clickedObjectIDs",Yr(w),w[0].items)},clickedFilters:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&_.apply(void 0,["clickedFilters"].concat(w))},convertedObjectIDsAfterSearch:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&P("convertedObjectIDsAfterSearch",Yr(w),w[0].items)},convertedObjectIDs:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&P("convertedObjectIDs",Yr(w),w[0].items)},convertedFilters:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&_.apply(void 0,["convertedFilters"].concat(w))},viewedObjectIDs:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&w.reduce((function(L,M){var B=M.items,u=wa(M,ds);return[].concat(Qr(L),Qr((function(W){for(var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,X=[],oe=0;oe<W.objectIDs.length;oe+=F)X.push(In(In({},W),{},{objectIDs:W.objectIDs.slice(oe,oe+F)}));return X})(In(In({},u),{},{objectIDs:(B==null?void 0:B.map((function(W){return W.objectID})))||u.objectIDs})).map((function(W){return{items:B,payload:W}}))))}),[]).forEach((function(L){var M=L.items;return P("viewedObjectIDs",[L.payload],M)}))},viewedFilters:function(){for(var j=arguments.length,w=new Array(j),E=0;E<j;E++)w[E]=arguments[E];w.length>0&&_.apply(void 0,["viewedFilters"].concat(w))}}})(m),S={current:[]},v=va((function(_){var O=_.state;if(O.isOpen){var D=O.collections.reduce((function(k,A){return[].concat(Pn(k),Pn(A.items))}),[]).filter(ar);ba(S.current.map((function(k){return k.objectID})),D.map((function(k){return k.objectID})))||(S.current=D,D.length>0&&ys({onItemsChange:s,items:D,insights:y,state:O}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(_){var O=_.setContext,D=_.onSelect,k=_.onActive;function A(P){O({algoliaInsightsPlugin:{__algoliaSearchParameters:Ct(Ct({},d?{clickAnalytics:!0}:{}),P?{userToken:bs(P)}:{}),insights:y}})}m("addAlgoliaAgent","insights-plugin"),A(),m("onUserTokenChange",(function(P){A(P)})),m("getUserToken",null,(function(P,j){A(j)})),D((function(P){var j=P.item,w=P.state,E=P.event,L=P.source;ar(j)&&l({state:w,event:E,insights:y,item:j,insightsEvents:[Ct({eventName:"Item Selected"},_a({item:j,items:L.getItems().filter(ar)}))]})})),k((function(P){var j=P.item,w=P.source,E=P.state,L=P.event;ar(j)&&h({state:E,event:L,insights:y,item:j,insightsEvents:[Ct({eventName:"Item Active"},_a({item:j,items:w.getItems().filter(ar)}))]})}))},onStateChange:function(_){var O=_.state;v({state:O})},__autocomplete_pluginOptions:t}}function ka(){var t,n=arguments.length>1?arguments[1]:void 0;return[].concat(Pn(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]),["autocomplete-internal"],Pn((t=n.algoliaInsightsPlugin)!==null&&t!==void 0&&t.__automaticInsights?["autocomplete-automatic"]:[]))}function bs(t){return typeof t=="number"?t.toString():t}function Xr(t,n){var r=n;return{then:function(o,s){return Xr(t.then(Jr(o,r,t),Jr(s,r,t)),r)},catch:function(o){return Xr(t.catch(Jr(o,r,t)),r)},finally:function(o){return o&&r.onCancelList.push(o),Xr(t.finally(Jr(o&&function(){return r.onCancelList=[],o()},r,t)),r)},cancel:function(){r.isCanceled=!0;var o=r.onCancelList;r.onCancelList=[],o.forEach((function(s){s()}))},isCanceled:function(){return r.isCanceled===!0}}}function Ca(t){return Xr(t,{isCanceled:!1,onCancelList:[]})}function Jr(t,n,r){return t?function(o){return n.isCanceled?o:t(o)}:r}function Ta(t,n,r,o){if(!r)return null;if(t<0&&(n===null||o!==null&&n===0))return r+t;var s=(n===null?-1:n)+t;return s<=-1||s>=r?o===null?null:0:s}function ja(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Ia(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?ja(Object(r),!0).forEach((function(o){_s(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ja(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function _s(t,n,r){return(n=(function(o){var s=(function(l){if(sr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(sr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return sr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function sr(t){return sr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},sr(t)}function fn(t){var n=(function(s){var l=s.collections.map((function(h){return h.items.length})).reduce((function(h,d,m){var y=(h[m-1]||0)+d;return h.push(y),h}),[]).reduce((function(h,d){return d<=s.activeItemId?h+1:h}),0);return s.collections[l]})(t);if(!n)return null;var r=n.items[(function(s){for(var l=s.state,h=s.collection,d=!1,m=0,y=0;d===!1;){var S=l.collections[m];if(S===h){d=!0;break}y+=S.items.length,m++}return l.activeItemId-y})({state:t,collection:n})],o=n.source;return{item:r,itemInputValue:o.getItemInputValue({item:r,state:t}),itemUrl:o.getItemUrl({item:r,state:t}),source:o}}function St(t,n,r){return[t,r==null?void 0:r.sourceId,n].filter(Boolean).join("-").replace(/\s/g,"")}var As=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Pa(t){return t.nativeEvent||t}function cr(t){return cr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},cr(t)}function Da(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function ws(t,n,r){return(n=(function(o){var s=(function(l){if(cr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(cr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return cr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function lr(t){return lr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},lr(t)}function Na(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Zr(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Na(Object(r),!0).forEach((function(o){Ss(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Ss(t,n,r){return(n=(function(o){var s=(function(l){if(lr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(lr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return lr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function fr(t){return fr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},fr(t)}function $i(t,n){(n==null||n>t.length)&&(n=t.length);for(var r=0,o=new Array(n);r<n;r++)o[r]=t[r];return o}function La(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Dn(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?La(Object(r),!0).forEach((function(o){Es(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):La(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Es(t,n,r){return(n=(function(o){var s=(function(l){if(fr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(fr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return fr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function pr(t){return pr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},pr(t)}function Ra(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function ei(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Ra(Object(r),!0).forEach((function(o){qa(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ra(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function qa(t,n,r){return(n=(function(o){var s=(function(l){if(pr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(pr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return pr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function dr(t){return dr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},dr(t)}function Ma(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Nn(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Ma(Object(r),!0).forEach((function(o){xs(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ma(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function xs(t,n,r){return(n=(function(o){var s=(function(l){if(dr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(dr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return dr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Ha(t){return(function(n){if(Array.isArray(n))return Bi(n)})(t)||(function(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)})(t)||(function(n,r){if(n){if(typeof n=="string")return Bi(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);return o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set"?Array.from(n):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bi(n,r):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
14
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function
|
|
3
|
+
|(?![\\s\\S])))+`,"m"),alias:c,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(i)[0]}}}}),Object.defineProperty(u.languages.diff,"PREFIXES",{value:a})})(r),r.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},r.languages.webmanifest=r.languages.json,(function(u){var a=u.languages.powershell={"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0},comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:{function:{pattern:/(^|[^`])\$\((?:\$\(.*?\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:{}},"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0}}},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};a.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:a},boolean:a.boolean,variable:a.variable}})(r),(function(u){u.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var a=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:u.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];u.languages.puppet.heredoc[0].inside.interpolation=a,u.languages.puppet.string.inside["double-quoted"].inside.interpolation=a})(r),r.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},r.languages.python["string-interpolation"].inside.interpolation.inside.rest=r.languages.python,r.languages.py=r.languages.python,(function(u){u.languages.ruby=u.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),u.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var a={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:u.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete u.languages.ruby.function;var i="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;u.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+i+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),u.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+i),greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+i),greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete u.languages.ruby.string,u.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),u.languages.rb=u.languages.ruby})(r),r.languages.scss=r.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),r.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),r.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),r.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),r.languages.scss.atrule.inside.rest=r.languages.scss,(function(u){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");u.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:u.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},u.languages["sh-session"]=u.languages.shellsession=u.languages["shell-session"]})(r),(function(u){function a(l,h){u.languages[l]&&u.languages.insertBefore(l,"comment",{"doc-comment":h})}var i=u.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:i}},c={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:i}};a("csharp",o),a("fsharp",o),a("vbnet",c)})(r),(function(u){var a=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+i.source+"(?:[ ]+"+a.source+")?|"+a.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function h(p,g){g=(g||"").replace(/m/g,"")+"m";var y=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return p});return RegExp(y,g)}u.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+c+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:h(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(l),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},u.languages.yml=u.languages.yaml})(r),(function(u){var a={pattern:/[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}/i,alias:"constant"};u.languages["log-file"]={"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0},verbose:[{pattern:/\b(Trace)\b:/i,greedy:!0},{pattern:/\[(verbose|verb|vrb|vb|v)\]/i,greedy:!0}],debug:[{pattern:/\b(DEBUG|Debug)\b|\b(debug)\:/i,greedy:!0},{pattern:/\[(debug|dbug|dbg|de|d)\]/i,greedy:!0}],info:[{pattern:/\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\b | \b(^[^\.\.]+$)\b | \b(info|information)\:/,greedy:!0},{pattern:/\[(information|info|inf|in|i)\]/i,greedy:!0}],warning:[{pattern:/\b(WARNING|WARN|Warn|WW)\b|\b(warning)\:/i,greedy:!0},{pattern:/\[(warning|warn|wrn|wn|w)\]/i,greedy:!0}],error:[{pattern:/\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\b|\b(error)\:/i,greedy:!0},{pattern:/\[(error|eror|err|er|e|fatal|fatl|ftl|fa|f)\]/i,greedy:!0}],date:[{pattern:/\b\d{4}-\d{2}-\d{2}(T|\b)/i,greedy:!0},{pattern:/\b\d{2}[^\w\s]\d{2}[^\w\s]\d{4}\b/i,greedy:!0},{pattern:/\d{1,2}:\d{2}(:\d{2}([.,]\d{1,})?)?(Z| ?[+-]\d{1,2}:\d{2})?\b/i,greedy:!0}],guid:a,"text-string":[{pattern:/[a-zA-Z]'[a-zA-Z]/i,greedy:!0},{pattern:/[a-zA-Z]\('[a-zA-Z]/i,greedy:!0}],string:[{pattern:/"[^"]*"/i,greedy:!0,inside:{"sensitive-variable":{pattern:/(\[\[.*?\]\])/i,greedy:!0}}},{pattern:/'[^']*'/i,greedy:!0}],exceptiontype:{pattern:/\b([a-zA-Z.]*Exception)\b/i,greedy:!0},"text-constant":{pattern:/(\\[\w-]+.\w+)/i,greedy:!0},constant:[{pattern:/\b([0-9]+|true|false|null)\b/i,greedy:!0},{pattern:/\b(http|https|ftp|file):\/\S+\b\/?/i,greedy:!0},{pattern:/([\w-]+\.)+([\w-])+(?![\w/\\])/i,greedy:!0}]},u.languages.log=u.languages["log-file"]})(r),(function(){if(typeof r=="undefined"||typeof document=="undefined")return;var u="line-numbers",a=/\n(?!$)/g,i=r.plugins.lineNumbers={getLine:function(h,p){if(!(h.tagName!=="PRE"||!h.classList.contains(u))){var g=h.querySelector(".line-numbers-rows");if(g){var y=parseInt(h.getAttribute("data-start"),10)||1,F=y+(g.children.length-1);p<y&&(p=y),p>F&&(p=F);var D=p-y;return g.children[D]}}},resize:function(h){o([h])},assumeViewportIndependence:!0};function o(h){if(h=h.filter(function(g){var y=c(g),F=y["white-space"];return F==="pre-wrap"||F==="pre-line"}),h.length!=0){var p=h.map(function(g){var y=g.querySelector("code"),F=g.querySelector(".line-numbers-rows");if(!(!y||!F)){var D=g.querySelector(".line-numbers-sizer"),_=y.textContent.split(a);D||(D=document.createElement("span"),D.className="line-numbers-sizer",y.appendChild(D)),D.innerHTML="0",D.style.display="block";var T=D.getBoundingClientRect().height;return D.innerHTML="",{element:g,lines:_,lineHeights:[],oneLinerHeight:T,sizer:D}}}).filter(Boolean);p.forEach(function(g){var y=g.sizer,F=g.lines,D=g.lineHeights,_=g.oneLinerHeight;D[F.length-1]=void 0,F.forEach(function(T,w){if(T&&T.length>1){var S=y.appendChild(document.createElement("span"));S.style.display="block",S.textContent=T}else D[w]=_})}),p.forEach(function(g){for(var y=g.sizer,F=g.lineHeights,D=0,_=0;_<F.length;_++)F[_]===void 0&&(F[_]=y.children[D++].getBoundingClientRect().height)}),p.forEach(function(g){var y=g.sizer,F=g.element.querySelector(".line-numbers-rows");y.style.display="none",y.innerHTML="",g.lineHeights.forEach(function(D,_){F.children[_].style.height=D+"px"})})}}function c(h){return h?window.getComputedStyle?getComputedStyle(h):h.currentStyle||null:null}var l=void 0;window.addEventListener("resize",function(){i.assumeViewportIndependence&&l===window.innerWidth||(l=window.innerWidth,o(Array.prototype.slice.call(document.querySelectorAll("pre."+u))))}),r.hooks.add("complete",function(h){if(h.code){var p=h.element,g=p.parentNode;if(!(!g||!/pre/i.test(g.nodeName))&&!p.querySelector(".line-numbers-rows")&&r.util.isActive(p,u)){p.classList.remove(u),g.classList.add(u);var y=h.code.match(a),F=y?y.length+1:1,D,_=new Array(F+1).join("<span></span>");D=document.createElement("span"),D.setAttribute("aria-hidden","true"),D.className="line-numbers-rows",D.innerHTML=_,g.hasAttribute("data-start")&&(g.style.counterReset="linenumber "+(parseInt(g.getAttribute("data-start"),10)-1)),h.element.appendChild(D),o([g]),r.hooks.run("line-numbers",h)}}}),r.hooks.add("line-numbers",function(h){h.plugins=h.plugins||{},h.plugins.lineNumbers=!0})})(),(function(){if(typeof r=="undefined"||typeof document=="undefined")return;var u=[],a={},i=function(){};r.plugins.toolbar={};var o=r.plugins.toolbar.registerButton=function(h,p){var g;if(typeof p=="function"?g=p:g=function(y){var F;return typeof p.onClick=="function"?(F=document.createElement("button"),F.type="button",F.addEventListener("click",function(){p.onClick.call(this,y)})):typeof p.url=="string"?(F=document.createElement("a"),F.href=p.url):F=document.createElement("span"),p.className&&F.classList.add(p.className),F.textContent=p.text,F},h in a){console.warn('There is a button with the key "'+h+'" registered already.');return}u.push(a[h]=g)};function c(h){for(;h;){var p=h.getAttribute("data-toolbar-order");if(p!=null)return p=p.trim(),p.length?p.split(/\s*,\s*/g):[];h=h.parentElement}}var l=r.plugins.toolbar.hook=function(h){var p=h.element.parentNode;if(!(!p||!/pre/i.test(p.nodeName))&&!p.parentNode.classList.contains("code-toolbar")){var g=document.createElement("div");g.classList.add("code-toolbar"),p.parentNode.insertBefore(g,p),g.appendChild(p);var y=document.createElement("div");y.classList.add("toolbar");var F=u,D=c(h.element);D&&(F=D.map(function(_){return a[_]||i})),F.forEach(function(_){var T=_(h);if(T){var w=document.createElement("div");w.classList.add("toolbar-item"),w.appendChild(T),y.appendChild(w)}}),g.appendChild(y)}};o("label",function(h){var p=h.element.parentNode;if(!(!p||!/pre/i.test(p.nodeName))&&p.hasAttribute("data-label")){var g,y,F=p.getAttribute("data-label");try{y=document.querySelector("template#"+F)}catch(D){}return y?g=y.content:(p.hasAttribute("data-url")?(g=document.createElement("a"),g.href=p.getAttribute("data-url")):g=document.createElement("span"),g.textContent=F),g}}),r.hooks.add("complete",l)})(),(function(){if(typeof r=="undefined"||typeof document=="undefined")return;if(!r.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function u(l,h){l.addEventListener("click",function(){i(h)})}function a(l){var h=document.createElement("textarea");h.value=l.getText(),h.style.top="0",h.style.left="0",h.style.position="fixed",document.body.appendChild(h),h.focus(),h.select();try{var p=document.execCommand("copy");setTimeout(function(){p?l.success():l.error()},1)}catch(g){setTimeout(function(){l.error(g)},1)}document.body.removeChild(h)}function i(l){navigator.clipboard?navigator.clipboard.writeText(l.getText()).then(l.success,function(){a(l)}):a(l)}function o(l){window.getSelection().selectAllChildren(l)}function c(l){var h={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},p="data-prismjs-";for(var g in h){for(var y=p+g,F=l;F&&!F.hasAttribute(y);)F=F.parentElement;F&&(h[g]=F.getAttribute(y))}return h}r.plugins.toolbar.registerButton("copy-to-clipboard",function(l){var h=l.element,p=c(h),g=document.createElement("button");g.className="copy-to-clipboard-button",g.setAttribute("type","button");var y=document.createElement("span");return g.appendChild(y),D("copy"),u(g,{getText:function(){return h.textContent},success:function(){D("copy-success"),F()},error:function(){D("copy-error"),setTimeout(function(){o(h)},1),F()}}),g;function F(){setTimeout(function(){D("copy")},p["copy-timeout"])}function D(_){y.textContent=p[_],g.setAttribute("data-copy-state",_)}})})(),(function(){if(typeof r!="undefined"){var u=/^diff-([\w-]+)/i,a=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/g,i=RegExp(/(?:__|[^\r\n<])*(?:\r\n?|\n|(?:__|[^\r\n<])(?![^\r\n]))/.source.replace(/__/g,function(){return a.source}),"gi"),o=!1;r.hooks.add("before-sanity-check",function(c){var l=c.language;u.test(l)&&!c.grammar&&(c.grammar=r.languages[l]=r.languages.diff)}),r.hooks.add("before-tokenize",function(c){!o&&!r.languages.diff&&!r.plugins.autoloader&&(o=!0,console.warn("Prism's Diff Highlight plugin requires the Diff language definition (prism-diff.js).Make sure the language definition is loaded or use Prism's Autoloader plugin."));var l=c.language;u.test(l)&&!r.languages[l]&&(r.languages[l]=r.languages.diff)}),r.hooks.add("wrap",function(c){var l,h;if(c.language!=="diff"){var p=u.exec(c.language);if(!p)return;l=p[1],h=r.languages[l]}var g=r.languages.diff&&r.languages.diff.PREFIXES;if(g&&c.type in g){var y=c.content.replace(a,""),F=y.replace(/</g,"<").replace(/&/g,"&"),D=F.replace(/(^|[\r\n])./g,"$1"),_;h?_=r.highlight(D,h,l):_=r.util.encode(D);var T=new r.Token("prefix",g[c.type],[/\w+/.exec(c.type)[0]]),w=r.Token.stringify(T,c.language),S=[],x;for(i.lastIndex=0;x=i.exec(_);)S.push(w+x[0]);/(?:^|[\r\n]).$/.test(F)&&S.push(w),c.content=S.join(""),h&&c.classes.push("language-"+l)}})}})()}}),Mh=fi({"node_modules/clipboard/dist/clipboard.js"(e,t){(function(r,u){typeof e=="object"&&typeof t=="object"?t.exports=u():typeof define=="function"&&define.amd?define([],u):typeof e=="object"?e.ClipboardJS=u():r.ClipboardJS=u()})(e,function(){return(function(){var n={686:(function(a,i,o){"use strict";o.d(i,{default:function(){return oe}});var c=o(279),l=o.n(c),h=o(370),p=o.n(h),g=o(817),y=o.n(g);function F(ae){try{return document.execCommand(ae)}catch(Y){return!1}}var D=function(Y){var ie=y()(Y);return F("cut"),ie},_=D;function T(ae){var Y=document.documentElement.getAttribute("dir")==="rtl",ie=document.createElement("textarea");ie.style.fontSize="12pt",ie.style.border="0",ie.style.padding="0",ie.style.margin="0",ie.style.position="absolute",ie.style[Y?"right":"left"]="-9999px";var re=window.pageYOffset||document.documentElement.scrollTop;return ie.style.top="".concat(re,"px"),ie.setAttribute("readonly",""),ie.value=ae,ie}var w=function(Y,ie){var re=T(Y);ie.container.appendChild(re);var de=y()(re);return F("copy"),re.remove(),de},S=function(Y){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},re="";return typeof Y=="string"?re=w(Y,ie):Y instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(Y==null?void 0:Y.type)?re=w(Y.value,ie):(re=y()(Y),F("copy")),re},x=S;function O(ae){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(ie){return typeof ie}:O=function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},O(ae)}var I=function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=Y.action,re=ie===void 0?"copy":ie,de=Y.container,pe=Y.target,ve=Y.text;if(re!=="copy"&&re!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(pe!==void 0)if(pe&&O(pe)==="object"&&pe.nodeType===1){if(re==="copy"&&pe.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(re==="cut"&&(pe.hasAttribute("readonly")||pe.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ve)return x(ve,{container:de});if(pe)return re==="cut"?_(pe):x(pe,{container:de})},B=I;function d(ae){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(ie){return typeof ie}:d=function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},d(ae)}function q(ae,Y){if(!(ae instanceof Y))throw new TypeError("Cannot call a class as a function")}function N(ae,Y){for(var ie=0;ie<Y.length;ie++){var re=Y[ie];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(ae,re.key,re)}}function Z(ae,Y,ie){return Y&&N(ae.prototype,Y),ie&&N(ae,ie),ae}function z(ae,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),Y&&H(ae,Y)}function H(ae,Y){return H=Object.setPrototypeOf||function(re,de){return re.__proto__=de,re},H(ae,Y)}function L(ae){var Y=W();return function(){var re=ee(ae),de;if(Y){var pe=ee(this).constructor;de=Reflect.construct(re,arguments,pe)}else de=re.apply(this,arguments);return K(this,de)}}function K(ae,Y){return Y&&(d(Y)==="object"||typeof Y=="function")?Y:J(ae)}function J(ae){if(ae===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ae){return!1}}function ee(ae){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(ie){return ie.__proto__||Object.getPrototypeOf(ie)},ee(ae)}function ue(ae,Y){var ie="data-clipboard-".concat(ae);if(Y.hasAttribute(ie))return Y.getAttribute(ie)}var ye=(function(ae){z(ie,ae);var Y=L(ie);function ie(re,de){var pe;return q(this,ie),pe=Y.call(this),pe.resolveOptions(de),pe.listenClick(re),pe}return Z(ie,[{key:"resolveOptions",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof de.action=="function"?de.action:this.defaultAction,this.target=typeof de.target=="function"?de.target:this.defaultTarget,this.text=typeof de.text=="function"?de.text:this.defaultText,this.container=d(de.container)==="object"?de.container:document.body}},{key:"listenClick",value:function(de){var pe=this;this.listener=p()(de,"click",function(ve){return pe.onClick(ve)})}},{key:"onClick",value:function(de){var pe=de.delegateTarget||de.currentTarget,ve=this.action(pe)||"copy",ke=B({action:ve,container:this.container,target:this.target(pe),text:this.text(pe)});this.emit(ke?"success":"error",{action:ve,text:ke,trigger:pe,clearSelection:function(){pe&&pe.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(de){return ue("action",de)}},{key:"defaultTarget",value:function(de){var pe=ue("target",de);if(pe)return document.querySelector(pe)}},{key:"defaultText",value:function(de){return ue("text",de)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(de){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(de,pe)}},{key:"cut",value:function(de){return _(de)}},{key:"isSupported",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],pe=typeof de=="string"?[de]:de,ve=!!document.queryCommandSupported;return pe.forEach(function(ke){ve=ve&&!!document.queryCommandSupported(ke)}),ve}}]),ie})(l()),oe=ye}),828:(function(a){var i=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}function c(l,h){for(;l&&l.nodeType!==i;){if(typeof l.matches=="function"&&l.matches(h))return l;l=l.parentNode}}a.exports=c}),438:(function(a,i,o){var c=o(828);function l(g,y,F,D,_){var T=p.apply(this,arguments);return g.addEventListener(F,T,_),{destroy:function(){g.removeEventListener(F,T,_)}}}function h(g,y,F,D,_){return typeof g.addEventListener=="function"?l.apply(null,arguments):typeof F=="function"?l.bind(null,document).apply(null,arguments):(typeof g=="string"&&(g=document.querySelectorAll(g)),Array.prototype.map.call(g,function(T){return l(T,y,F,D,_)}))}function p(g,y,F,D){return function(_){_.delegateTarget=c(_.target,y),_.delegateTarget&&D.call(g,_)}}a.exports=h}),879:(function(a,i){i.node=function(o){return o!==void 0&&o instanceof HTMLElement&&o.nodeType===1},i.nodeList=function(o){var c=Object.prototype.toString.call(o);return o!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in o&&(o.length===0||i.node(o[0]))},i.string=function(o){return typeof o=="string"||o instanceof String},i.fn=function(o){var c=Object.prototype.toString.call(o);return c==="[object Function]"}}),370:(function(a,i,o){var c=o(879),l=o(438);function h(F,D,_){if(!F&&!D&&!_)throw new Error("Missing required arguments");if(!c.string(D))throw new TypeError("Second argument must be a String");if(!c.fn(_))throw new TypeError("Third argument must be a Function");if(c.node(F))return p(F,D,_);if(c.nodeList(F))return g(F,D,_);if(c.string(F))return y(F,D,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function p(F,D,_){return F.addEventListener(D,_),{destroy:function(){F.removeEventListener(D,_)}}}function g(F,D,_){return Array.prototype.forEach.call(F,function(T){T.addEventListener(D,_)}),{destroy:function(){Array.prototype.forEach.call(F,function(T){T.removeEventListener(D,_)})}}}function y(F,D,_){return l(document.body,F,D,_)}a.exports=h}),817:(function(a){function i(o){var c;if(o.nodeName==="SELECT")o.focus(),c=o.value;else if(o.nodeName==="INPUT"||o.nodeName==="TEXTAREA"){var l=o.hasAttribute("readonly");l||o.setAttribute("readonly",""),o.select(),o.setSelectionRange(0,o.value.length),l||o.removeAttribute("readonly"),c=o.value}else{o.hasAttribute("contenteditable")&&o.focus();var h=window.getSelection(),p=document.createRange();p.selectNodeContents(o),h.removeAllRanges(),h.addRange(p),c=h.toString()}return c}a.exports=i}),279:(function(a){function i(){}i.prototype={on:function(o,c,l){var h=this.e||(this.e={});return(h[o]||(h[o]=[])).push({fn:c,ctx:l}),this},once:function(o,c,l){var h=this;function p(){h.off(o,p),c.apply(l,arguments)}return p._=c,this.on(o,p,l)},emit:function(o){var c=[].slice.call(arguments,1),l=((this.e||(this.e={}))[o]||[]).slice(),h=0,p=l.length;for(h;h<p;h++)l[h].fn.apply(l[h].ctx,c);return this},off:function(o,c){var l=this.e||(this.e={}),h=l[o],p=[];if(h&&c)for(var g=0,y=h.length;g<y;g++)h[g].fn!==c&&h[g].fn._!==c&&p.push(h[g]);return p.length?l[o]=p:delete l[o],this}},a.exports=i,a.exports.TinyEmitter=i})},r={};function u(a){if(r[a])return r[a].exports;var i=r[a]={exports:{}};return n[a](i,i.exports,u),i.exports}return(function(){u.n=function(a){var i=a&&a.__esModule?(function(){return a.default}):(function(){return a});return u.d(i,{a:i}),i}})(),(function(){u.d=function(a,i){for(var o in i)u.o(i,o)&&!u.o(a,o)&&Object.defineProperty(a,o,{enumerable:!0,get:i[o]})}})(),(function(){u.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)}})(),u(686)})().default})}}),$h=fi({"node_modules/anchor-js/anchor.js"(e,t){(function(n,r){"use strict";typeof define=="function"&&define.amd?define([],r):typeof t=="object"&&t.exports?t.exports=r():(n.AnchorJS=r(),n.anchors=new n.AnchorJS)})(globalThis,function(){"use strict";function n(r){this.options=r||{},this.elements=[];function u(o){o.icon=Object.prototype.hasOwnProperty.call(o,"icon")?o.icon:"\uE9CB",o.visible=Object.prototype.hasOwnProperty.call(o,"visible")?o.visible:"hover",o.placement=Object.prototype.hasOwnProperty.call(o,"placement")?o.placement:"right",o.ariaLabel=Object.prototype.hasOwnProperty.call(o,"ariaLabel")?o.ariaLabel:"Anchor",o.class=Object.prototype.hasOwnProperty.call(o,"class")?o.class:"",o.base=Object.prototype.hasOwnProperty.call(o,"base")?o.base:"",o.truncate=Object.prototype.hasOwnProperty.call(o,"truncate")?Math.floor(o.truncate):64,o.titleText=Object.prototype.hasOwnProperty.call(o,"titleText")?o.titleText:""}u(this.options),this.add=function(o){var c,l,h,p,g,y,F,D,_,T,w,S=[];if(u(this.options),o||(o="h2, h3, h4, h5, h6"),c=a(o),c.length===0)return this;for(i(),l=document.querySelectorAll("[id]"),h=[].map.call(l,function(x){return x.id}),g=0;g<c.length;g++){if(this.hasAnchorJSLink(c[g])){S.push(g);continue}if(c[g].hasAttribute("id"))p=c[g].getAttribute("id");else if(c[g].hasAttribute("data-anchor-id"))p=c[g].getAttribute("data-anchor-id");else{D=this.urlify(c[g].textContent),_=D,F=0;do y!==void 0&&(_=D+"-"+F),y=h.indexOf(_),F+=1;while(y!==-1);y=void 0,h.push(_),c[g].setAttribute("id",_),p=_}T=document.createElement("a"),T.className="anchorjs-link "+this.options.class,T.setAttribute("aria-label",this.options.ariaLabel),T.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(T.title=this.options.titleText),w=document.querySelector("base")?window.location.pathname+window.location.search:"",w=this.options.base||w,T.href=w+"#"+p,this.options.visible==="always"&&(T.style.opacity="1"),this.options.icon==="\uE9CB"&&(T.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(T.style.lineHeight="inherit")),this.options.placement==="left"?(T.style.position="absolute",T.style.marginLeft="-1.25em",T.style.paddingRight=".25em",T.style.paddingLeft=".25em",c[g].insertBefore(T,c[g].firstChild)):(T.style.marginLeft=".1875em",T.style.paddingRight=".1875em",T.style.paddingLeft=".1875em",c[g].appendChild(T))}for(g=0;g<S.length;g++)c.splice(S[g]-g,1);return this.elements=this.elements.concat(c),this},this.remove=function(o){for(var c,l,h=a(o),p=0;p<h.length;p++)l=h[p].querySelector(".anchorjs-link"),l&&(c=this.elements.indexOf(h[p]),c!==-1&&this.elements.splice(c,1),h[p].removeChild(l));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(o){var c=document.createElement("textarea");c.innerHTML=o,o=c.value;var l=/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g;return this.options.truncate||u(this.options),o.trim().replace(/'/gi,"").replace(l,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(o){var c=o.firstChild&&(" "+o.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,l=o.lastChild&&(" "+o.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return c||l||!1};function a(o){var c;if(typeof o=="string"||o instanceof String)c=[].slice.call(document.querySelectorAll(o));else if(Array.isArray(o)||o instanceof NodeList)c=[].slice.call(o);else throw new TypeError("The selector provided to AnchorJS was invalid.");return c}function i(){if(document.head.querySelector("style.anchorjs")===null){var o=document.createElement("style"),c=".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",l=":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",h='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',p="[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",g;o.className="anchorjs",o.appendChild(document.createTextNode("")),g=document.head.querySelector('[rel="stylesheet"],style'),g===void 0?document.head.appendChild(o):document.head.insertBefore(o,g),o.sheet.insertRule(c,o.sheet.cssRules.length),o.sheet.insertRule(l,o.sheet.cssRules.length),o.sheet.insertRule(p,o.sheet.cssRules.length),o.sheet.insertRule(h,o.sheet.cssRules.length)}}}return n})}}),Zh=fi({"node_modules/jquery/dist/jquery.js"(e,t){(function(n,r){"use strict";typeof t=="object"&&typeof t.exports=="object"?t.exports=n.document?r(n,!0):function(u){if(!u.document)throw new Error("jQuery requires a window with a document");return r(u)}:r(n)})(typeof window!="undefined"?window:e,function(n,r){"use strict";var u=[],a=Object.getPrototypeOf,i=u.slice,o=u.flat?function(s){return u.flat.call(s)}:function(s){return u.concat.apply([],s)},c=u.push,l=u.indexOf,h={},p=h.toString,g=h.hasOwnProperty,y=g.toString,F=y.call(Object),D={},_=function(f){return typeof f=="function"&&typeof f.nodeType!="number"&&typeof f.item!="function"},T=function(f){return f!=null&&f===f.window},w=n.document,S={type:!0,src:!0,nonce:!0,noModule:!0};function x(s,f,v){v=v||w;var m,A,E=v.createElement("script");if(E.text=s,f)for(m in S)A=f[m]||f.getAttribute&&f.getAttribute(m),A&&E.setAttribute(m,A);v.head.appendChild(E).parentNode.removeChild(E)}function O(s){return s==null?s+"":typeof s=="object"||typeof s=="function"?h[p.call(s)]||"object":typeof s}var I="3.7.1",B=/HTML$/i,d=function(s,f){return new d.fn.init(s,f)};d.fn=d.prototype={jquery:I,constructor:d,length:0,toArray:function(){return i.call(this)},get:function(s){return s==null?i.call(this):s<0?this[s+this.length]:this[s]},pushStack:function(s){var f=d.merge(this.constructor(),s);return f.prevObject=this,f},each:function(s){return d.each(this,s)},map:function(s){return this.pushStack(d.map(this,function(f,v){return s.call(f,v,f)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(s,f){return(f+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(s,f){return f%2}))},eq:function(s){var f=this.length,v=+s+(s<0?f:0);return this.pushStack(v>=0&&v<f?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:u.sort,splice:u.splice},d.extend=d.fn.extend=function(){var s,f,v,m,A,E,k=arguments[0]||{},R=1,j=arguments.length,$=!1;for(typeof k=="boolean"&&($=k,k=arguments[R]||{},R++),typeof k!="object"&&!_(k)&&(k={}),R===j&&(k=this,R--);R<j;R++)if((s=arguments[R])!=null)for(f in s)m=s[f],!(f==="__proto__"||k===m)&&($&&m&&(d.isPlainObject(m)||(A=Array.isArray(m)))?(v=k[f],A&&!Array.isArray(v)?E=[]:!A&&!d.isPlainObject(v)?E={}:E=v,A=!1,k[f]=d.extend($,E,m)):m!==void 0&&(k[f]=m));return k},d.extend({expando:"jQuery"+(I+Math.random()).replace(/\D/g,""),isReady:!0,error:function(s){throw new Error(s)},noop:function(){},isPlainObject:function(s){var f,v;return!s||p.call(s)!=="[object Object]"?!1:(f=a(s),f?(v=g.call(f,"constructor")&&f.constructor,typeof v=="function"&&y.call(v)===F):!0)},isEmptyObject:function(s){var f;for(f in s)return!1;return!0},globalEval:function(s,f,v){x(s,{nonce:f&&f.nonce},v)},each:function(s,f){var v,m=0;if(q(s))for(v=s.length;m<v&&f.call(s[m],m,s[m])!==!1;m++);else for(m in s)if(f.call(s[m],m,s[m])===!1)break;return s},text:function(s){var f,v="",m=0,A=s.nodeType;if(!A)for(;f=s[m++];)v+=d.text(f);return A===1||A===11?s.textContent:A===9?s.documentElement.textContent:A===3||A===4?s.nodeValue:v},makeArray:function(s,f){var v=f||[];return s!=null&&(q(Object(s))?d.merge(v,typeof s=="string"?[s]:s):c.call(v,s)),v},inArray:function(s,f,v){return f==null?-1:l.call(f,s,v)},isXMLDoc:function(s){var f=s&&s.namespaceURI,v=s&&(s.ownerDocument||s).documentElement;return!B.test(f||v&&v.nodeName||"HTML")},merge:function(s,f){for(var v=+f.length,m=0,A=s.length;m<v;m++)s[A++]=f[m];return s.length=A,s},grep:function(s,f,v){for(var m,A=[],E=0,k=s.length,R=!v;E<k;E++)m=!f(s[E],E),m!==R&&A.push(s[E]);return A},map:function(s,f,v){var m,A,E=0,k=[];if(q(s))for(m=s.length;E<m;E++)A=f(s[E],E,v),A!=null&&k.push(A);else for(E in s)A=f(s[E],E,v),A!=null&&k.push(A);return o(k)},guid:1,support:D}),typeof Symbol=="function"&&(d.fn[Symbol.iterator]=u[Symbol.iterator]),d.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(s,f){h["[object "+f+"]"]=f.toLowerCase()});function q(s){var f=!!s&&"length"in s&&s.length,v=O(s);return _(s)||T(s)?!1:v==="array"||f===0||typeof f=="number"&&f>0&&f-1 in s}function N(s,f){return s.nodeName&&s.nodeName.toLowerCase()===f.toLowerCase()}var Z=u.pop,z=u.sort,H=u.splice,L="[\\x20\\t\\r\\n\\f]",K=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g");d.contains=function(s,f){var v=f&&f.parentNode;return s===v||!!(v&&v.nodeType===1&&(s.contains?s.contains(v):s.compareDocumentPosition&&s.compareDocumentPosition(v)&16))};var J=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function W(s,f){return f?s==="\0"?"\uFFFD":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s}d.escapeSelector=function(s){return(s+"").replace(J,W)};var ee=w,ue=c;(function(){var s,f,v,m,A,E=ue,k,R,j,$,Q,ne=d.expando,V=0,se=0,Ue=Fo(),st=Fo(),Je=Fo(),an=Fo(),Qt=function(P,M){return P===M&&(A=!0),0},hr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",vr="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",at="\\["+L+"*("+vr+")(?:"+L+"*([*^$|!~]?=)"+L+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+vr+"))|)"+L+"*\\]",Eu=":("+vr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+at+")*)|.*)\\)|)",pt=new RegExp(L+"+","g"),Nt=new RegExp("^"+L+"*,"+L+"*"),si=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),xc=new RegExp(L+"|>"),mr=new RegExp(Eu),ci=new RegExp("^"+vr+"$"),gr={ID:new RegExp("^#("+vr+")"),CLASS:new RegExp("^\\.("+vr+")"),TAG:new RegExp("^("+vr+"|[*])"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+Eu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+hr+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Yr=/^(?:input|select|textarea|button)$/i,Xr=/^h\d$/i,Mn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Sc=/[+~]/,kr=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),wr=function(P,M){var U="0x"+P.slice(1)-65536;return M||(U<0?String.fromCharCode(U+65536):String.fromCharCode(U>>10|55296,U&1023|56320))},RA=function(){eu()},zA=Co(function(P){return P.disabled===!0&&N(P,"fieldset")},{dir:"parentNode",next:"legend"});function LA(){try{return k.activeElement}catch(P){}}try{E.apply(u=i.call(ee.childNodes),ee.childNodes),u[ee.childNodes.length].nodeType}catch(P){E={apply:function(M,U){ue.apply(M,i.call(U))},call:function(M){ue.apply(M,i.call(arguments,1))}}}function yt(P,M,U,G){var te,ge,Fe,Ne,_e,nt,He,Ve=M&&M.ownerDocument,rt=M?M.nodeType:9;if(U=U||[],typeof P!="string"||!P||rt!==1&&rt!==9&&rt!==11)return U;if(!G&&(eu(M),M=M||k,j)){if(rt!==11&&(_e=Mn.exec(P)))if(te=_e[1]){if(rt===9)if(Fe=M.getElementById(te)){if(Fe.id===te)return E.call(U,Fe),U}else return U;else if(Ve&&(Fe=Ve.getElementById(te))&&yt.contains(M,Fe)&&Fe.id===te)return E.call(U,Fe),U}else{if(_e[2])return E.apply(U,M.getElementsByTagName(P)),U;if((te=_e[3])&&M.getElementsByClassName)return E.apply(U,M.getElementsByClassName(te)),U}if(!an[P+" "]&&(!$||!$.test(P))){if(He=P,Ve=M,rt===1&&(xc.test(P)||si.test(P))){for(Ve=Sc.test(P)&&Tc(M.parentNode)||M,(Ve!=M||!D.scope)&&((Ne=M.getAttribute("id"))?Ne=d.escapeSelector(Ne):M.setAttribute("id",Ne=ne)),nt=li(P),ge=nt.length;ge--;)nt[ge]=(Ne?"#"+Ne:":scope")+" "+_o(nt[ge]);He=nt.join(",")}try{return E.apply(U,Ve.querySelectorAll(He)),U}catch(Le){an(P,!0)}finally{Ne===ne&&M.removeAttribute("id")}}}return Bh(P.replace(K,"$1"),M,U,G)}function Fo(){var P=[];function M(U,G){return P.push(U+" ")>f.cacheLength&&delete M[P.shift()],M[U+" "]=G}return M}function Xn(P){return P[ne]=!0,P}function Yu(P){var M=k.createElement("fieldset");try{return!!P(M)}catch(U){return!1}finally{M.parentNode&&M.parentNode.removeChild(M),M=null}}function MA(P){return function(M){return N(M,"input")&&M.type===P}}function $A(P){return function(M){return(N(M,"input")||N(M,"button"))&&M.type===P}}function Oh(P){return function(M){return"form"in M?M.parentNode&&M.disabled===!1?"label"in M?"label"in M.parentNode?M.parentNode.disabled===P:M.disabled===P:M.isDisabled===P||M.isDisabled!==!P&&zA(M)===P:M.disabled===P:"label"in M?M.disabled===P:!1}}function Fu(P){return Xn(function(M){return M=+M,Xn(function(U,G){for(var te,ge=P([],U.length,M),Fe=ge.length;Fe--;)U[te=ge[Fe]]&&(U[te]=!(G[te]=U[te]))})})}function Tc(P){return P&&typeof P.getElementsByTagName!="undefined"&&P}function eu(P){var M,U=P?P.ownerDocument||P:ee;return U==k||U.nodeType!==9||!U.documentElement||(k=U,R=k.documentElement,j=!d.isXMLDoc(k),Q=R.matches||R.webkitMatchesSelector||R.msMatchesSelector,R.msMatchesSelector&&ee!=k&&(M=k.defaultView)&&M.top!==M&&M.addEventListener("unload",RA),D.getById=Yu(function(G){return R.appendChild(G).id=d.expando,!k.getElementsByName||!k.getElementsByName(d.expando).length}),D.disconnectedMatch=Yu(function(G){return Q.call(G,"*")}),D.scope=Yu(function(){return k.querySelectorAll(":scope")}),D.cssHas=Yu(function(){try{return k.querySelector(":has(*,:jqfake)"),!1}catch(G){return!0}}),D.getById?(f.filter.ID=function(G){var te=G.replace(kr,wr);return function(ge){return ge.getAttribute("id")===te}},f.find.ID=function(G,te){if(typeof te.getElementById!="undefined"&&j){var ge=te.getElementById(G);return ge?[ge]:[]}}):(f.filter.ID=function(G){var te=G.replace(kr,wr);return function(ge){var Fe=typeof ge.getAttributeNode!="undefined"&&ge.getAttributeNode("id");return Fe&&Fe.value===te}},f.find.ID=function(G,te){if(typeof te.getElementById!="undefined"&&j){var ge,Fe,Ne,_e=te.getElementById(G);if(_e){if(ge=_e.getAttributeNode("id"),ge&&ge.value===G)return[_e];for(Ne=te.getElementsByName(G),Fe=0;_e=Ne[Fe++];)if(ge=_e.getAttributeNode("id"),ge&&ge.value===G)return[_e]}return[]}}),f.find.TAG=function(G,te){return typeof te.getElementsByTagName!="undefined"?te.getElementsByTagName(G):te.querySelectorAll(G)},f.find.CLASS=function(G,te){if(typeof te.getElementsByClassName!="undefined"&&j)return te.getElementsByClassName(G)},$=[],Yu(function(G){var te;R.appendChild(G).innerHTML="<a id='"+ne+"' href='' disabled='disabled'></a><select id='"+ne+"-\r\\' disabled='disabled'><option selected=''></option></select>",G.querySelectorAll("[selected]").length||$.push("\\["+L+"*(?:value|"+hr+")"),G.querySelectorAll("[id~="+ne+"-]").length||$.push("~="),G.querySelectorAll("a#"+ne+"+*").length||$.push(".#.+[+~]"),G.querySelectorAll(":checked").length||$.push(":checked"),te=k.createElement("input"),te.setAttribute("type","hidden"),G.appendChild(te).setAttribute("name","D"),R.appendChild(G).disabled=!0,G.querySelectorAll(":disabled").length!==2&&$.push(":enabled",":disabled"),te=k.createElement("input"),te.setAttribute("name",""),G.appendChild(te),G.querySelectorAll("[name='']").length||$.push("\\["+L+"*name"+L+"*="+L+`*(?:''|"")`)}),D.cssHas||$.push(":has"),$=$.length&&new RegExp($.join("|")),Qt=function(G,te){if(G===te)return A=!0,0;var ge=!G.compareDocumentPosition-!te.compareDocumentPosition;return ge||(ge=(G.ownerDocument||G)==(te.ownerDocument||te)?G.compareDocumentPosition(te):1,ge&1||!D.sortDetached&&te.compareDocumentPosition(G)===ge?G===k||G.ownerDocument==ee&&yt.contains(ee,G)?-1:te===k||te.ownerDocument==ee&&yt.contains(ee,te)?1:m?l.call(m,G)-l.call(m,te):0:ge&4?-1:1)}),k}yt.matches=function(P,M){return yt(P,null,null,M)},yt.matchesSelector=function(P,M){if(eu(P),j&&!an[M+" "]&&(!$||!$.test(M)))try{var U=Q.call(P,M);if(U||D.disconnectedMatch||P.document&&P.document.nodeType!==11)return U}catch(G){an(M,!0)}return yt(M,k,null,[P]).length>0},yt.contains=function(P,M){return(P.ownerDocument||P)!=k&&eu(P),d.contains(P,M)},yt.attr=function(P,M){(P.ownerDocument||P)!=k&&eu(P);var U=f.attrHandle[M.toLowerCase()],G=U&&g.call(f.attrHandle,M.toLowerCase())?U(P,M,!j):void 0;return G!==void 0?G:P.getAttribute(M)},yt.error=function(P){throw new Error("Syntax error, unrecognized expression: "+P)},d.uniqueSort=function(P){var M,U=[],G=0,te=0;if(A=!D.sortStable,m=!D.sortStable&&i.call(P,0),z.call(P,Qt),A){for(;M=P[te++];)M===P[te]&&(G=U.push(te));for(;G--;)H.call(P,U[G],1)}return m=null,P},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(i.apply(this)))},f=d.expr={cacheLength:50,createPseudo:Xn,match:gr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(P){return P[1]=P[1].replace(kr,wr),P[3]=(P[3]||P[4]||P[5]||"").replace(kr,wr),P[2]==="~="&&(P[3]=" "+P[3]+" "),P.slice(0,4)},CHILD:function(P){return P[1]=P[1].toLowerCase(),P[1].slice(0,3)==="nth"?(P[3]||yt.error(P[0]),P[4]=+(P[4]?P[5]+(P[6]||1):2*(P[3]==="even"||P[3]==="odd")),P[5]=+(P[7]+P[8]||P[3]==="odd")):P[3]&&yt.error(P[0]),P},PSEUDO:function(P){var M,U=!P[6]&&P[2];return gr.CHILD.test(P[0])?null:(P[3]?P[2]=P[4]||P[5]||"":U&&mr.test(U)&&(M=li(U,!0))&&(M=U.indexOf(")",U.length-M)-U.length)&&(P[0]=P[0].slice(0,M),P[2]=U.slice(0,M)),P.slice(0,3))}},filter:{TAG:function(P){var M=P.replace(kr,wr).toLowerCase();return P==="*"?function(){return!0}:function(U){return N(U,M)}},CLASS:function(P){var M=Ue[P+" "];return M||(M=new RegExp("(^|"+L+")"+P+"("+L+"|$)"))&&Ue(P,function(U){return M.test(typeof U.className=="string"&&U.className||typeof U.getAttribute!="undefined"&&U.getAttribute("class")||"")})},ATTR:function(P,M,U){return function(G){var te=yt.attr(G,P);return te==null?M==="!=":M?(te+="",M==="="?te===U:M==="!="?te!==U:M==="^="?U&&te.indexOf(U)===0:M==="*="?U&&te.indexOf(U)>-1:M==="$="?U&&te.slice(-U.length)===U:M==="~="?(" "+te.replace(pt," ")+" ").indexOf(U)>-1:M==="|="?te===U||te.slice(0,U.length+1)===U+"-":!1):!0}},CHILD:function(P,M,U,G,te){var ge=P.slice(0,3)!=="nth",Fe=P.slice(-4)!=="last",Ne=M==="of-type";return G===1&&te===0?(function(_e){return!!_e.parentNode}):function(_e,nt,He){var Ve,rt,Le,At,Cn,cn=ge!==Fe?"nextSibling":"previousSibling",$n=_e.parentNode,yr=Ne&&_e.nodeName.toLowerCase(),Xu=!He&&!Ne,mn=!1;if($n){if(ge){for(;cn;){for(Le=_e;Le=Le[cn];)if(Ne?N(Le,yr):Le.nodeType===1)return!1;Cn=cn=P==="only"&&!Cn&&"nextSibling"}return!0}if(Cn=[Fe?$n.firstChild:$n.lastChild],Fe&&Xu){for(rt=$n[ne]||($n[ne]={}),Ve=rt[P]||[],At=Ve[0]===V&&Ve[1],mn=At&&Ve[2],Le=At&&$n.childNodes[At];Le=++At&&Le&&Le[cn]||(mn=At=0)||Cn.pop();)if(Le.nodeType===1&&++mn&&Le===_e){rt[P]=[V,At,mn];break}}else if(Xu&&(rt=_e[ne]||(_e[ne]={}),Ve=rt[P]||[],At=Ve[0]===V&&Ve[1],mn=At),mn===!1)for(;(Le=++At&&Le&&Le[cn]||(mn=At=0)||Cn.pop())&&!((Ne?N(Le,yr):Le.nodeType===1)&&++mn&&(Xu&&(rt=Le[ne]||(Le[ne]={}),rt[P]=[V,mn]),Le===_e)););return mn-=te,mn===G||mn%G===0&&mn/G>=0}}},PSEUDO:function(P,M){var U,G=f.pseudos[P]||f.setFilters[P.toLowerCase()]||yt.error("unsupported pseudo: "+P);return G[ne]?G(M):G.length>1?(U=[P,P,"",M],f.setFilters.hasOwnProperty(P.toLowerCase())?Xn(function(te,ge){for(var Fe,Ne=G(te,M),_e=Ne.length;_e--;)Fe=l.call(te,Ne[_e]),te[Fe]=!(ge[Fe]=Ne[_e])}):function(te){return G(te,0,U)}):G}},pseudos:{not:Xn(function(P){var M=[],U=[],G=Pc(P.replace(K,"$1"));return G[ne]?Xn(function(te,ge,Fe,Ne){for(var _e,nt=G(te,null,Ne,[]),He=te.length;He--;)(_e=nt[He])&&(te[He]=!(ge[He]=_e))}):function(te,ge,Fe){return M[0]=te,G(M,null,Fe,U),M[0]=null,!U.pop()}}),has:Xn(function(P){return function(M){return yt(P,M).length>0}}),contains:Xn(function(P){return P=P.replace(kr,wr),function(M){return(M.textContent||d.text(M)).indexOf(P)>-1}}),lang:Xn(function(P){return ci.test(P||"")||yt.error("unsupported lang: "+P),P=P.replace(kr,wr).toLowerCase(),function(M){var U;do if(U=j?M.lang:M.getAttribute("xml:lang")||M.getAttribute("lang"))return U=U.toLowerCase(),U===P||U.indexOf(P+"-")===0;while((M=M.parentNode)&&M.nodeType===1);return!1}}),target:function(P){var M=n.location&&n.location.hash;return M&&M.slice(1)===P.id},root:function(P){return P===R},focus:function(P){return P===LA()&&k.hasFocus()&&!!(P.type||P.href||~P.tabIndex)},enabled:Oh(!1),disabled:Oh(!0),checked:function(P){return N(P,"input")&&!!P.checked||N(P,"option")&&!!P.selected},selected:function(P){return P.parentNode&&P.parentNode.selectedIndex,P.selected===!0},empty:function(P){for(P=P.firstChild;P;P=P.nextSibling)if(P.nodeType<6)return!1;return!0},parent:function(P){return!f.pseudos.empty(P)},header:function(P){return Xr.test(P.nodeName)},input:function(P){return Yr.test(P.nodeName)},button:function(P){return N(P,"input")&&P.type==="button"||N(P,"button")},text:function(P){var M;return N(P,"input")&&P.type==="text"&&((M=P.getAttribute("type"))==null||M.toLowerCase()==="text")},first:Fu(function(){return[0]}),last:Fu(function(P,M){return[M-1]}),eq:Fu(function(P,M,U){return[U<0?U+M:U]}),even:Fu(function(P,M){for(var U=0;U<M;U+=2)P.push(U);return P}),odd:Fu(function(P,M){for(var U=1;U<M;U+=2)P.push(U);return P}),lt:Fu(function(P,M,U){var G;for(U<0?G=U+M:U>M?G=M:G=U;--G>=0;)P.push(G);return P}),gt:Fu(function(P,M,U){for(var G=U<0?U+M:U;++G<M;)P.push(G);return P})}},f.pseudos.nth=f.pseudos.eq;for(s in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})f.pseudos[s]=MA(s);for(s in{submit:!0,reset:!0})f.pseudos[s]=$A(s);function Ih(){}Ih.prototype=f.filters=f.pseudos,f.setFilters=new Ih;function li(P,M){var U,G,te,ge,Fe,Ne,_e,nt=st[P+" "];if(nt)return M?0:nt.slice(0);for(Fe=P,Ne=[],_e=f.preFilter;Fe;){(!U||(G=Nt.exec(Fe)))&&(G&&(Fe=Fe.slice(G[0].length)||Fe),Ne.push(te=[])),U=!1,(G=si.exec(Fe))&&(U=G.shift(),te.push({value:U,type:G[0].replace(K," ")}),Fe=Fe.slice(U.length));for(ge in f.filter)(G=gr[ge].exec(Fe))&&(!_e[ge]||(G=_e[ge](G)))&&(U=G.shift(),te.push({value:U,type:ge,matches:G}),Fe=Fe.slice(U.length));if(!U)break}return M?Fe.length:Fe?yt.error(P):st(P,Ne).slice(0)}function _o(P){for(var M=0,U=P.length,G="";M<U;M++)G+=P[M].value;return G}function Co(P,M,U){var G=M.dir,te=M.next,ge=te||G,Fe=U&&ge==="parentNode",Ne=se++;return M.first?(function(_e,nt,He){for(;_e=_e[G];)if(_e.nodeType===1||Fe)return P(_e,nt,He);return!1}):(function(_e,nt,He){var Ve,rt,Le=[V,Ne];if(He){for(;_e=_e[G];)if((_e.nodeType===1||Fe)&&P(_e,nt,He))return!0}else for(;_e=_e[G];)if(_e.nodeType===1||Fe)if(rt=_e[ne]||(_e[ne]={}),te&&N(_e,te))_e=_e[G]||_e;else{if((Ve=rt[ge])&&Ve[0]===V&&Ve[1]===Ne)return Le[2]=Ve[2];if(rt[ge]=Le,Le[2]=P(_e,nt,He))return!0}return!1})}function Oc(P){return P.length>1?function(M,U,G){for(var te=P.length;te--;)if(!P[te](M,U,G))return!1;return!0}:P[0]}function ZA(P,M,U){for(var G=0,te=M.length;G<te;G++)yt(P,M[G],U);return U}function ko(P,M,U,G,te){for(var ge,Fe=[],Ne=0,_e=P.length,nt=M!=null;Ne<_e;Ne++)(ge=P[Ne])&&(!U||U(ge,G,te))&&(Fe.push(ge),nt&&M.push(Ne));return Fe}function Ic(P,M,U,G,te,ge){return G&&!G[ne]&&(G=Ic(G)),te&&!te[ne]&&(te=Ic(te,ge)),Xn(function(Fe,Ne,_e,nt){var He,Ve,rt,Le,At=[],Cn=[],cn=Ne.length,$n=Fe||ZA(M||"*",_e.nodeType?[_e]:_e,[]),yr=P&&(Fe||!M)?ko($n,At,P,_e,nt):$n;if(U?(Le=te||(Fe?P:cn||G)?[]:Ne,U(yr,Le,_e,nt)):Le=yr,G)for(He=ko(Le,Cn),G(He,[],_e,nt),Ve=He.length;Ve--;)(rt=He[Ve])&&(Le[Cn[Ve]]=!(yr[Cn[Ve]]=rt));if(Fe){if(te||P){if(te){for(He=[],Ve=Le.length;Ve--;)(rt=Le[Ve])&&He.push(yr[Ve]=rt);te(null,Le=[],He,nt)}for(Ve=Le.length;Ve--;)(rt=Le[Ve])&&(He=te?l.call(Fe,rt):At[Ve])>-1&&(Fe[He]=!(Ne[He]=rt))}}else Le=ko(Le===Ne?Le.splice(cn,Le.length):Le),te?te(null,Ne,Le,nt):E.apply(Ne,Le)})}function Bc(P){for(var M,U,G,te=P.length,ge=f.relative[P[0].type],Fe=ge||f.relative[" "],Ne=ge?1:0,_e=Co(function(Ve){return Ve===M},Fe,!0),nt=Co(function(Ve){return l.call(M,Ve)>-1},Fe,!0),He=[function(Ve,rt,Le){var At=!ge&&(Le||rt!=v)||((M=rt).nodeType?_e(Ve,rt,Le):nt(Ve,rt,Le));return M=null,At}];Ne<te;Ne++)if(U=f.relative[P[Ne].type])He=[Co(Oc(He),U)];else{if(U=f.filter[P[Ne].type].apply(null,P[Ne].matches),U[ne]){for(G=++Ne;G<te&&!f.relative[P[G].type];G++);return Ic(Ne>1&&Oc(He),Ne>1&&_o(P.slice(0,Ne-1).concat({value:P[Ne-2].type===" "?"*":""})).replace(K,"$1"),U,Ne<G&&Bc(P.slice(Ne,G)),G<te&&Bc(P=P.slice(G)),G<te&&_o(P))}He.push(U)}return Oc(He)}function qA(P,M){var U=M.length>0,G=P.length>0,te=function(ge,Fe,Ne,_e,nt){var He,Ve,rt,Le=0,At="0",Cn=ge&&[],cn=[],$n=v,yr=ge||G&&f.find.TAG("*",nt),Xu=V+=$n==null?1:Math.random()||.1,mn=yr.length;for(nt&&(v=Fe==k||Fe||nt);At!==mn&&(He=yr[At])!=null;At++){if(G&&He){for(Ve=0,!Fe&&He.ownerDocument!=k&&(eu(He),Ne=!j);rt=P[Ve++];)if(rt(He,Fe||k,Ne)){E.call(_e,He);break}nt&&(V=Xu)}U&&((He=!rt&&He)&&Le--,ge&&Cn.push(He))}if(Le+=At,U&&At!==Le){for(Ve=0;rt=M[Ve++];)rt(Cn,cn,Fe,Ne);if(ge){if(Le>0)for(;At--;)Cn[At]||cn[At]||(cn[At]=Z.call(_e));cn=ko(cn)}E.apply(_e,cn),nt&&!ge&&cn.length>0&&Le+M.length>1&&d.uniqueSort(_e)}return nt&&(V=Xu,v=$n),Cn};return U?Xn(te):te}function Pc(P,M){var U,G=[],te=[],ge=Je[P+" "];if(!ge){for(M||(M=li(P)),U=M.length;U--;)ge=Bc(M[U]),ge[ne]?G.push(ge):te.push(ge);ge=Je(P,qA(te,G)),ge.selector=P}return ge}function Bh(P,M,U,G){var te,ge,Fe,Ne,_e,nt=typeof P=="function"&&P,He=!G&&li(P=nt.selector||P);if(U=U||[],He.length===1){if(ge=He[0]=He[0].slice(0),ge.length>2&&(Fe=ge[0]).type==="ID"&&M.nodeType===9&&j&&f.relative[ge[1].type]){if(M=(f.find.ID(Fe.matches[0].replace(kr,wr),M)||[])[0],M)nt&&(M=M.parentNode);else return U;P=P.slice(ge.shift().value.length)}for(te=gr.needsContext.test(P)?0:ge.length;te--&&(Fe=ge[te],!f.relative[Ne=Fe.type]);)if((_e=f.find[Ne])&&(G=_e(Fe.matches[0].replace(kr,wr),Sc.test(ge[0].type)&&Tc(M.parentNode)||M))){if(ge.splice(te,1),P=G.length&&_o(ge),!P)return E.apply(U,G),U;break}}return(nt||Pc(P,He))(G,M,!j,U,!M||Sc.test(P)&&Tc(M.parentNode)||M),U}D.sortStable=ne.split("").sort(Qt).join("")===ne,eu(),D.sortDetached=Yu(function(P){return P.compareDocumentPosition(k.createElement("fieldset"))&1}),d.find=yt,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,yt.compile=Pc,yt.select=Bh,yt.setDocument=eu,yt.tokenize=li,yt.escape=d.escapeSelector,yt.getText=d.text,yt.isXML=d.isXMLDoc,yt.selectors=d.expr,yt.support=d.support,yt.uniqueSort=d.uniqueSort})();var ye=function(s,f,v){for(var m=[],A=v!==void 0;(s=s[f])&&s.nodeType!==9;)if(s.nodeType===1){if(A&&d(s).is(v))break;m.push(s)}return m},oe=function(s,f){for(var v=[];s;s=s.nextSibling)s.nodeType===1&&s!==f&&v.push(s);return v},ae=d.expr.match.needsContext,Y=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ie(s,f,v){return _(f)?d.grep(s,function(m,A){return!!f.call(m,A,m)!==v}):f.nodeType?d.grep(s,function(m){return m===f!==v}):typeof f!="string"?d.grep(s,function(m){return l.call(f,m)>-1!==v}):d.filter(f,s,v)}d.filter=function(s,f,v){var m=f[0];return v&&(s=":not("+s+")"),f.length===1&&m.nodeType===1?d.find.matchesSelector(m,s)?[m]:[]:d.find.matches(s,d.grep(f,function(A){return A.nodeType===1}))},d.fn.extend({find:function(s){var f,v,m=this.length,A=this;if(typeof s!="string")return this.pushStack(d(s).filter(function(){for(f=0;f<m;f++)if(d.contains(A[f],this))return!0}));for(v=this.pushStack([]),f=0;f<m;f++)d.find(s,A[f],v);return m>1?d.uniqueSort(v):v},filter:function(s){return this.pushStack(ie(this,s||[],!1))},not:function(s){return this.pushStack(ie(this,s||[],!0))},is:function(s){return!!ie(this,typeof s=="string"&&ae.test(s)?d(s):s||[],!1).length}});var re,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,pe=d.fn.init=function(s,f,v){var m,A;if(!s)return this;if(v=v||re,typeof s=="string")if(s[0]==="<"&&s[s.length-1]===">"&&s.length>=3?m=[null,s,null]:m=de.exec(s),m&&(m[1]||!f))if(m[1]){if(f=f instanceof d?f[0]:f,d.merge(this,d.parseHTML(m[1],f&&f.nodeType?f.ownerDocument||f:w,!0)),Y.test(m[1])&&d.isPlainObject(f))for(m in f)_(this[m])?this[m](f[m]):this.attr(m,f[m]);return this}else return A=w.getElementById(m[2]),A&&(this[0]=A,this.length=1),this;else return!f||f.jquery?(f||v).find(s):this.constructor(f).find(s);else{if(s.nodeType)return this[0]=s,this.length=1,this;if(_(s))return v.ready!==void 0?v.ready(s):s(d)}return d.makeArray(s,this)};pe.prototype=d.fn,re=d(w);var ve=/^(?:parents|prev(?:Until|All))/,ke={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(s){var f=d(s,this),v=f.length;return this.filter(function(){for(var m=0;m<v;m++)if(d.contains(this,f[m]))return!0})},closest:function(s,f){var v,m=0,A=this.length,E=[],k=typeof s!="string"&&d(s);if(!ae.test(s)){for(;m<A;m++)for(v=this[m];v&&v!==f;v=v.parentNode)if(v.nodeType<11&&(k?k.index(v)>-1:v.nodeType===1&&d.find.matchesSelector(v,s))){E.push(v);break}}return this.pushStack(E.length>1?d.uniqueSort(E):E)},index:function(s){return s?typeof s=="string"?l.call(d(s),this[0]):l.call(this,s.jquery?s[0]:s):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(s,f){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(s,f))))},addBack:function(s){return this.add(s==null?this.prevObject:this.prevObject.filter(s))}});function ze(s,f){for(;(s=s[f])&&s.nodeType!==1;);return s}d.each({parent:function(s){var f=s.parentNode;return f&&f.nodeType!==11?f:null},parents:function(s){return ye(s,"parentNode")},parentsUntil:function(s,f,v){return ye(s,"parentNode",v)},next:function(s){return ze(s,"nextSibling")},prev:function(s){return ze(s,"previousSibling")},nextAll:function(s){return ye(s,"nextSibling")},prevAll:function(s){return ye(s,"previousSibling")},nextUntil:function(s,f,v){return ye(s,"nextSibling",v)},prevUntil:function(s,f,v){return ye(s,"previousSibling",v)},siblings:function(s){return oe((s.parentNode||{}).firstChild,s)},children:function(s){return oe(s.firstChild)},contents:function(s){return s.contentDocument!=null&&a(s.contentDocument)?s.contentDocument:(N(s,"template")&&(s=s.content||s),d.merge([],s.childNodes))}},function(s,f){d.fn[s]=function(v,m){var A=d.map(this,f,v);return s.slice(-5)!=="Until"&&(m=v),m&&typeof m=="string"&&(A=d.filter(m,A)),this.length>1&&(ke[s]||d.uniqueSort(A),ve.test(s)&&A.reverse()),this.pushStack(A)}});var Se=/[^\x20\t\r\n\f]+/g;function je(s){var f={};return d.each(s.match(Se)||[],function(v,m){f[m]=!0}),f}d.Callbacks=function(s){s=typeof s=="string"?je(s):d.extend({},s);var f,v,m,A,E=[],k=[],R=-1,j=function(){for(A=A||s.once,m=f=!0;k.length;R=-1)for(v=k.shift();++R<E.length;)E[R].apply(v[0],v[1])===!1&&s.stopOnFalse&&(R=E.length,v=!1);s.memory||(v=!1),f=!1,A&&(v?E=[]:E="")},$={add:function(){return E&&(v&&!f&&(R=E.length-1,k.push(v)),(function Q(ne){d.each(ne,function(V,se){_(se)?(!s.unique||!$.has(se))&&E.push(se):se&&se.length&&O(se)!=="string"&&Q(se)})})(arguments),v&&!f&&j()),this},remove:function(){return d.each(arguments,function(Q,ne){for(var V;(V=d.inArray(ne,E,V))>-1;)E.splice(V,1),V<=R&&R--}),this},has:function(Q){return Q?d.inArray(Q,E)>-1:E.length>0},empty:function(){return E&&(E=[]),this},disable:function(){return A=k=[],E=v="",this},disabled:function(){return!E},lock:function(){return A=k=[],!v&&!f&&(E=v=""),this},locked:function(){return!!A},fireWith:function(Q,ne){return A||(ne=ne||[],ne=[Q,ne.slice?ne.slice():ne],k.push(ne),f||j()),this},fire:function(){return $.fireWith(this,arguments),this},fired:function(){return!!m}};return $};function Me(s){return s}function ft(s){throw s}function Bt(s,f,v,m){var A;try{s&&_(A=s.promise)?A.call(s).done(f).fail(v):s&&_(A=s.then)?A.call(s,f,v):f.apply(void 0,[s].slice(m))}catch(E){v.apply(void 0,[E])}}d.extend({Deferred:function(s){var f=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],v="pending",m={state:function(){return v},always:function(){return A.done(arguments).fail(arguments),this},catch:function(E){return m.then(null,E)},pipe:function(){var E=arguments;return d.Deferred(function(k){d.each(f,function(R,j){var $=_(E[j[4]])&&E[j[4]];A[j[1]](function(){var Q=$&&$.apply(this,arguments);Q&&_(Q.promise)?Q.promise().progress(k.notify).done(k.resolve).fail(k.reject):k[j[0]+"With"](this,$?[Q]:arguments)})}),E=null}).promise()},then:function(E,k,R){var j=0;function $(Q,ne,V,se){return function(){var Ue=this,st=arguments,Je=function(){var Qt,hr;if(!(Q<j)){if(Qt=V.apply(Ue,st),Qt===ne.promise())throw new TypeError("Thenable self-resolution");hr=Qt&&(typeof Qt=="object"||typeof Qt=="function")&&Qt.then,_(hr)?se?hr.call(Qt,$(j,ne,Me,se),$(j,ne,ft,se)):(j++,hr.call(Qt,$(j,ne,Me,se),$(j,ne,ft,se),$(j,ne,Me,ne.notifyWith))):(V!==Me&&(Ue=void 0,st=[Qt]),(se||ne.resolveWith)(Ue,st))}},an=se?Je:function(){try{Je()}catch(Qt){d.Deferred.exceptionHook&&d.Deferred.exceptionHook(Qt,an.error),Q+1>=j&&(V!==ft&&(Ue=void 0,st=[Qt]),ne.rejectWith(Ue,st))}};Q?an():(d.Deferred.getErrorHook?an.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(an.error=d.Deferred.getStackHook()),n.setTimeout(an))}}return d.Deferred(function(Q){f[0][3].add($(0,Q,_(R)?R:Me,Q.notifyWith)),f[1][3].add($(0,Q,_(E)?E:Me)),f[2][3].add($(0,Q,_(k)?k:ft))}).promise()},promise:function(E){return E!=null?d.extend(E,m):m}},A={};return d.each(f,function(E,k){var R=k[2],j=k[5];m[k[1]]=R.add,j&&R.add(function(){v=j},f[3-E][2].disable,f[3-E][3].disable,f[0][2].lock,f[0][3].lock),R.add(k[3].fire),A[k[0]]=function(){return A[k[0]+"With"](this===A?void 0:this,arguments),this},A[k[0]+"With"]=R.fireWith}),m.promise(A),s&&s.call(A,A),A},when:function(s){var f=arguments.length,v=f,m=Array(v),A=i.call(arguments),E=d.Deferred(),k=function(R){return function(j){m[R]=this,A[R]=arguments.length>1?i.call(arguments):j,--f||E.resolveWith(m,A)}};if(f<=1&&(Bt(s,E.done(k(v)).resolve,E.reject,!f),E.state()==="pending"||_(A[v]&&A[v].then)))return E.then();for(;v--;)Bt(A[v],k(v),E.reject);return E.promise()}});var Pt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(s,f){n.console&&n.console.warn&&s&&Pt.test(s.name)&&n.console.warn("jQuery.Deferred exception: "+s.message,s.stack,f)},d.readyException=function(s){n.setTimeout(function(){throw s})};var sn=d.Deferred();d.fn.ready=function(s){return sn.then(s).catch(function(f){d.readyException(f)}),this},d.extend({isReady:!1,readyWait:1,ready:function(s){(s===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(s!==!0&&--d.readyWait>0)&&sn.resolveWith(w,[d]))}}),d.ready.then=sn.then;function pn(){w.removeEventListener("DOMContentLoaded",pn),n.removeEventListener("load",pn),d.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?n.setTimeout(d.ready):(w.addEventListener("DOMContentLoaded",pn),n.addEventListener("load",pn));var Ut=function(s,f,v,m,A,E,k){var R=0,j=s.length,$=v==null;if(O(v)==="object"){A=!0;for(R in v)Ut(s,f,R,v[R],!0,E,k)}else if(m!==void 0&&(A=!0,_(m)||(k=!0),$&&(k?(f.call(s,m),f=null):($=f,f=function(Q,ne,V){return $.call(d(Q),V)})),f))for(;R<j;R++)f(s[R],v,k?m:m.call(s[R],R,f(s[R],v)));return A?s:$?f.call(s):j?f(s[0],v):E},zt=/^-ms-/,Dn=/-([a-z])/g;function Vt(s,f){return f.toUpperCase()}function Yt(s){return s.replace(zt,"ms-").replace(Dn,Vt)}var xt=function(s){return s.nodeType===1||s.nodeType===9||!+s.nodeType};function Wt(){this.expando=d.expando+Wt.uid++}Wt.uid=1,Wt.prototype={cache:function(s){var f=s[this.expando];return f||(f={},xt(s)&&(s.nodeType?s[this.expando]=f:Object.defineProperty(s,this.expando,{value:f,configurable:!0}))),f},set:function(s,f,v){var m,A=this.cache(s);if(typeof f=="string")A[Yt(f)]=v;else for(m in f)A[Yt(m)]=f[m];return A},get:function(s,f){return f===void 0?this.cache(s):s[this.expando]&&s[this.expando][Yt(f)]},access:function(s,f,v){return f===void 0||f&&typeof f=="string"&&v===void 0?this.get(s,f):(this.set(s,f,v),v!==void 0?v:f)},remove:function(s,f){var v,m=s[this.expando];if(m!==void 0){if(f!==void 0)for(Array.isArray(f)?f=f.map(Yt):(f=Yt(f),f=f in m?[f]:f.match(Se)||[]),v=f.length;v--;)delete m[f[v]];(f===void 0||d.isEmptyObject(m))&&(s.nodeType?s[this.expando]=void 0:delete s[this.expando])}},hasData:function(s){var f=s[this.expando];return f!==void 0&&!d.isEmptyObject(f)}};var Ae=new Wt,St=new Wt,$r=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Zr=/[A-Z]/g;function bn(s){return s==="true"?!0:s==="false"?!1:s==="null"?null:s===+s+""?+s:$r.test(s)?JSON.parse(s):s}function hn(s,f,v){var m;if(v===void 0&&s.nodeType===1)if(m="data-"+f.replace(Zr,"-$&").toLowerCase(),v=s.getAttribute(m),typeof v=="string"){try{v=bn(v)}catch(A){}St.set(s,f,v)}else v=void 0;return v}d.extend({hasData:function(s){return St.hasData(s)||Ae.hasData(s)},data:function(s,f,v){return St.access(s,f,v)},removeData:function(s,f){St.remove(s,f)},_data:function(s,f,v){return Ae.access(s,f,v)},_removeData:function(s,f){Ae.remove(s,f)}}),d.fn.extend({data:function(s,f){var v,m,A,E=this[0],k=E&&E.attributes;if(s===void 0){if(this.length&&(A=St.get(E),E.nodeType===1&&!Ae.get(E,"hasDataAttrs"))){for(v=k.length;v--;)k[v]&&(m=k[v].name,m.indexOf("data-")===0&&(m=Yt(m.slice(5)),hn(E,m,A[m])));Ae.set(E,"hasDataAttrs",!0)}return A}return typeof s=="object"?this.each(function(){St.set(this,s)}):Ut(this,function(R){var j;if(E&&R===void 0)return j=St.get(E,s),j!==void 0||(j=hn(E,s),j!==void 0)?j:void 0;this.each(function(){St.set(this,s,R)})},null,f,arguments.length>1,null,!0)},removeData:function(s){return this.each(function(){St.remove(this,s)})}}),d.extend({queue:function(s,f,v){var m;if(s)return f=(f||"fx")+"queue",m=Ae.get(s,f),v&&(!m||Array.isArray(v)?m=Ae.access(s,f,d.makeArray(v)):m.push(v)),m||[]},dequeue:function(s,f){f=f||"fx";var v=d.queue(s,f),m=v.length,A=v.shift(),E=d._queueHooks(s,f),k=function(){d.dequeue(s,f)};A==="inprogress"&&(A=v.shift(),m--),A&&(f==="fx"&&v.unshift("inprogress"),delete E.stop,A.call(s,k,E)),!m&&E&&E.empty.fire()},_queueHooks:function(s,f){var v=f+"queueHooks";return Ae.get(s,v)||Ae.access(s,v,{empty:d.Callbacks("once memory").add(function(){Ae.remove(s,[f+"queue",v])})})}}),d.fn.extend({queue:function(s,f){var v=2;return typeof s!="string"&&(f=s,s="fx",v--),arguments.length<v?d.queue(this[0],s):f===void 0?this:this.each(function(){var m=d.queue(this,s,f);d._queueHooks(this,s),s==="fx"&&m[0]!=="inprogress"&&d.dequeue(this,s)})},dequeue:function(s){return this.each(function(){d.dequeue(this,s)})},clearQueue:function(s){return this.queue(s||"fx",[])},promise:function(s,f){var v,m=1,A=d.Deferred(),E=this,k=this.length,R=function(){--m||A.resolveWith(E,[E])};for(typeof s!="string"&&(f=s,s=void 0),s=s||"fx";k--;)v=Ae.get(E[k],s+"queueHooks"),v&&v.empty&&(m++,v.empty.add(R));return R(),A.promise(f)}});var yu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,An=new RegExp("^(?:([+-])=|)("+yu+")([a-z%]*)$","i"),$t=["Top","Right","Bottom","Left"],En=w.documentElement,vn=function(s){return d.contains(s.ownerDocument,s)},Fr={composed:!0};En.getRootNode&&(vn=function(s){return d.contains(s.ownerDocument,s)||s.getRootNode(Fr)===s.ownerDocument});var cr=function(s,f){return s=f||s,s.style.display==="none"||s.style.display===""&&vn(s)&&d.css(s,"display")==="none"};function qr(s,f,v,m){var A,E,k=20,R=m?function(){return m.cur()}:function(){return d.css(s,f,"")},j=R(),$=v&&v[3]||(d.cssNumber[f]?"":"px"),Q=s.nodeType&&(d.cssNumber[f]||$!=="px"&&+j)&&An.exec(d.css(s,f));if(Q&&Q[3]!==$){for(j=j/2,$=$||Q[3],Q=+j||1;k--;)d.style(s,f,Q+$),(1-E)*(1-(E=R()/j||.5))<=0&&(k=0),Q=Q/E;Q=Q*2,d.style(s,f,Q+$),v=v||[]}return v&&(Q=+Q||+j||0,A=v[1]?Q+(v[1]+1)*v[2]:+v[2],m&&(m.unit=$,m.start=Q,m.end=A)),A}var Hr={};function zn(s){var f,v=s.ownerDocument,m=s.nodeName,A=Hr[m];return A||(f=v.body.appendChild(v.createElement(m)),A=d.css(f,"display"),f.parentNode.removeChild(f),A==="none"&&(A="block"),Hr[m]=A,A)}function Ge(s,f){for(var v,m,A=[],E=0,k=s.length;E<k;E++)m=s[E],m.style&&(v=m.style.display,f?(v==="none"&&(A[E]=Ae.get(m,"display")||null,A[E]||(m.style.display="")),m.style.display===""&&cr(m)&&(A[E]=zn(m))):v!=="none"&&(A[E]="none",Ae.set(m,"display",v)));for(E=0;E<k;E++)A[E]!=null&&(s[E].style.display=A[E]);return s}d.fn.extend({show:function(){return Ge(this,!0)},hide:function(){return Ge(this)},toggle:function(s){return typeof s=="boolean"?s?this.show():this.hide():this.each(function(){cr(this)?d(this).show():d(this).hide()})}});var Lt=/^(?:checkbox|radio)$/i,Ur=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ni=/^$|^module$|\/(?:java|ecma)script/i;(function(){var s=w.createDocumentFragment(),f=s.appendChild(w.createElement("div")),v=w.createElement("input");v.setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),f.appendChild(v),D.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",D.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",D.option=!!f.lastChild})();var Fn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Fn.tbody=Fn.tfoot=Fn.colgroup=Fn.caption=Fn.thead,Fn.th=Fn.td,D.option||(Fn.optgroup=Fn.option=[1,"<select multiple='multiple'>","</select>"]);function Gt(s,f){var v;return typeof s.getElementsByTagName!="undefined"?v=s.getElementsByTagName(f||"*"):typeof s.querySelectorAll!="undefined"?v=s.querySelectorAll(f||"*"):v=[],f===void 0||f&&N(s,f)?d.merge([s],v):v}function Ku(s,f){for(var v=0,m=s.length;v<m;v++)Ae.set(s[v],"globalEval",!f||Ae.get(f[v],"globalEval"))}var yo=/<|&#?\w+;/;function Do(s,f,v,m,A){for(var E,k,R,j,$,Q,ne=f.createDocumentFragment(),V=[],se=0,Ue=s.length;se<Ue;se++)if(E=s[se],E||E===0)if(O(E)==="object")d.merge(V,E.nodeType?[E]:E);else if(!yo.test(E))V.push(f.createTextNode(E));else{for(k=k||ne.appendChild(f.createElement("div")),R=(Ur.exec(E)||["",""])[1].toLowerCase(),j=Fn[R]||Fn._default,k.innerHTML=j[1]+d.htmlPrefilter(E)+j[2],Q=j[0];Q--;)k=k.lastChild;d.merge(V,k.childNodes),k=ne.firstChild,k.textContent=""}for(ne.textContent="",se=0;E=V[se++];){if(m&&d.inArray(E,m)>-1){A&&A.push(E);continue}if($=vn(E),k=Gt(ne.appendChild(E),"script"),$&&Ku(k),v)for(Q=0;E=k[Q++];)ni.test(E.type||"")&&v.push(E)}return ne}var ri=/^([^.]*)(?:\.(.+)|)/;function lr(){return!0}function Vr(){return!1}function _r(s,f,v,m,A,E){var k,R;if(typeof f=="object"){typeof v!="string"&&(m=m||v,v=void 0);for(R in f)_r(s,R,v,m,f[R],E);return s}if(m==null&&A==null?(A=v,m=v=void 0):A==null&&(typeof v=="string"?(A=m,m=void 0):(A=m,m=v,v=void 0)),A===!1)A=Vr;else if(!A)return s;return E===1&&(k=A,A=function(j){return d().off(j),k.apply(this,arguments)},A.guid=k.guid||(k.guid=d.guid++)),s.each(function(){d.event.add(this,f,A,m,v)})}d.event={global:{},add:function(s,f,v,m,A){var E,k,R,j,$,Q,ne,V,se,Ue,st,Je=Ae.get(s);if(xt(s))for(v.handler&&(E=v,v=E.handler,A=E.selector),A&&d.find.matchesSelector(En,A),v.guid||(v.guid=d.guid++),(j=Je.events)||(j=Je.events=Object.create(null)),(k=Je.handle)||(k=Je.handle=function(an){return typeof d!="undefined"&&d.event.triggered!==an.type?d.event.dispatch.apply(s,arguments):void 0}),f=(f||"").match(Se)||[""],$=f.length;$--;)R=ri.exec(f[$])||[],se=st=R[1],Ue=(R[2]||"").split(".").sort(),se&&(ne=d.event.special[se]||{},se=(A?ne.delegateType:ne.bindType)||se,ne=d.event.special[se]||{},Q=d.extend({type:se,origType:st,data:m,handler:v,guid:v.guid,selector:A,needsContext:A&&d.expr.match.needsContext.test(A),namespace:Ue.join(".")},E),(V=j[se])||(V=j[se]=[],V.delegateCount=0,(!ne.setup||ne.setup.call(s,m,Ue,k)===!1)&&s.addEventListener&&s.addEventListener(se,k)),ne.add&&(ne.add.call(s,Q),Q.handler.guid||(Q.handler.guid=v.guid)),A?V.splice(V.delegateCount++,0,Q):V.push(Q),d.event.global[se]=!0)},remove:function(s,f,v,m,A){var E,k,R,j,$,Q,ne,V,se,Ue,st,Je=Ae.hasData(s)&&Ae.get(s);if(!(!Je||!(j=Je.events))){for(f=(f||"").match(Se)||[""],$=f.length;$--;){if(R=ri.exec(f[$])||[],se=st=R[1],Ue=(R[2]||"").split(".").sort(),!se){for(se in j)d.event.remove(s,se+f[$],v,m,!0);continue}for(ne=d.event.special[se]||{},se=(m?ne.delegateType:ne.bindType)||se,V=j[se]||[],R=R[2]&&new RegExp("(^|\\.)"+Ue.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=E=V.length;E--;)Q=V[E],(A||st===Q.origType)&&(!v||v.guid===Q.guid)&&(!R||R.test(Q.namespace))&&(!m||m===Q.selector||m==="**"&&Q.selector)&&(V.splice(E,1),Q.selector&&V.delegateCount--,ne.remove&&ne.remove.call(s,Q));k&&!V.length&&((!ne.teardown||ne.teardown.call(s,Ue,Je.handle)===!1)&&d.removeEvent(s,se,Je.handle),delete j[se])}d.isEmptyObject(j)&&Ae.remove(s,"handle events")}},dispatch:function(s){var f,v,m,A,E,k,R=new Array(arguments.length),j=d.event.fix(s),$=(Ae.get(this,"events")||Object.create(null))[j.type]||[],Q=d.event.special[j.type]||{};for(R[0]=j,f=1;f<arguments.length;f++)R[f]=arguments[f];if(j.delegateTarget=this,!(Q.preDispatch&&Q.preDispatch.call(this,j)===!1)){for(k=d.event.handlers.call(this,j,$),f=0;(A=k[f++])&&!j.isPropagationStopped();)for(j.currentTarget=A.elem,v=0;(E=A.handlers[v++])&&!j.isImmediatePropagationStopped();)(!j.rnamespace||E.namespace===!1||j.rnamespace.test(E.namespace))&&(j.handleObj=E,j.data=E.data,m=((d.event.special[E.origType]||{}).handle||E.handler).apply(A.elem,R),m!==void 0&&(j.result=m)===!1&&(j.preventDefault(),j.stopPropagation()));return Q.postDispatch&&Q.postDispatch.call(this,j),j.result}},handlers:function(s,f){var v,m,A,E,k,R=[],j=f.delegateCount,$=s.target;if(j&&$.nodeType&&!(s.type==="click"&&s.button>=1)){for(;$!==this;$=$.parentNode||this)if($.nodeType===1&&!(s.type==="click"&&$.disabled===!0)){for(E=[],k={},v=0;v<j;v++)m=f[v],A=m.selector+" ",k[A]===void 0&&(k[A]=m.needsContext?d(A,this).index($)>-1:d.find(A,this,null,[$]).length),k[A]&&E.push(m);E.length&&R.push({elem:$,handlers:E})}}return $=this,j<f.length&&R.push({elem:$,handlers:f.slice(j)}),R},addProp:function(s,f){Object.defineProperty(d.Event.prototype,s,{enumerable:!0,configurable:!0,get:_(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[s]},set:function(v){Object.defineProperty(this,s,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(s){return s[d.expando]?s:new d.Event(s)},special:{load:{noBubble:!0},click:{setup:function(s){var f=this||s;return Lt.test(f.type)&&f.click&&N(f,"input")&&fr(f,"click",!0),!1},trigger:function(s){var f=this||s;return Lt.test(f.type)&&f.click&&N(f,"input")&&fr(f,"click"),!0},_default:function(s){var f=s.target;return Lt.test(f.type)&&f.click&&N(f,"input")&&Ae.get(f,"click")||N(f,"a")}},beforeunload:{postDispatch:function(s){s.result!==void 0&&s.originalEvent&&(s.originalEvent.returnValue=s.result)}}}};function fr(s,f,v){if(!v){Ae.get(s,f)===void 0&&d.event.add(s,f,lr);return}Ae.set(s,f,!1),d.event.add(s,f,{namespace:!1,handler:function(m){var A,E=Ae.get(this,f);if(m.isTrigger&1&&this[f]){if(E)(d.event.special[f]||{}).delegateType&&m.stopPropagation();else if(E=i.call(arguments),Ae.set(this,f,E),this[f](),A=Ae.get(this,f),Ae.set(this,f,!1),E!==A)return m.stopImmediatePropagation(),m.preventDefault(),A}else E&&(Ae.set(this,f,d.event.trigger(E[0],E.slice(1),this)),m.stopPropagation(),m.isImmediatePropagationStopped=lr)}})}d.removeEvent=function(s,f,v){s.removeEventListener&&s.removeEventListener(f,v)},d.Event=function(s,f){if(!(this instanceof d.Event))return new d.Event(s,f);s&&s.type?(this.originalEvent=s,this.type=s.type,this.isDefaultPrevented=s.defaultPrevented||s.defaultPrevented===void 0&&s.returnValue===!1?lr:Vr,this.target=s.target&&s.target.nodeType===3?s.target.parentNode:s.target,this.currentTarget=s.currentTarget,this.relatedTarget=s.relatedTarget):this.type=s,f&&d.extend(this,f),this.timeStamp=s&&s.timeStamp||Date.now(),this[d.expando]=!0},d.Event.prototype={constructor:d.Event,isDefaultPrevented:Vr,isPropagationStopped:Vr,isImmediatePropagationStopped:Vr,isSimulated:!1,preventDefault:function(){var s=this.originalEvent;this.isDefaultPrevented=lr,s&&!this.isSimulated&&s.preventDefault()},stopPropagation:function(){var s=this.originalEvent;this.isPropagationStopped=lr,s&&!this.isSimulated&&s.stopPropagation()},stopImmediatePropagation:function(){var s=this.originalEvent;this.isImmediatePropagationStopped=lr,s&&!this.isSimulated&&s.stopImmediatePropagation(),this.stopPropagation()}},d.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},d.event.addProp),d.each({focus:"focusin",blur:"focusout"},function(s,f){function v(m){if(w.documentMode){var A=Ae.get(this,"handle"),E=d.event.fix(m);E.type=m.type==="focusin"?"focus":"blur",E.isSimulated=!0,A(m),E.target===E.currentTarget&&A(E)}else d.event.simulate(f,m.target,d.event.fix(m))}d.event.special[s]={setup:function(){var m;if(fr(this,s,!0),w.documentMode)m=Ae.get(this,f),m||this.addEventListener(f,v),Ae.set(this,f,(m||0)+1);else return!1},trigger:function(){return fr(this,s),!0},teardown:function(){var m;if(w.documentMode)m=Ae.get(this,f)-1,m?Ae.set(this,f,m):(this.removeEventListener(f,v),Ae.remove(this,f));else return!1},_default:function(m){return Ae.get(m.target,s)},delegateType:f},d.event.special[f]={setup:function(){var m=this.ownerDocument||this.document||this,A=w.documentMode?this:m,E=Ae.get(A,f);E||(w.documentMode?this.addEventListener(f,v):m.addEventListener(s,v,!0)),Ae.set(A,f,(E||0)+1)},teardown:function(){var m=this.ownerDocument||this.document||this,A=w.documentMode?this:m,E=Ae.get(A,f)-1;E?Ae.set(A,f,E):(w.documentMode?this.removeEventListener(f,v):m.removeEventListener(s,v,!0),Ae.remove(A,f))}}}),d.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(s,f){d.event.special[s]={delegateType:f,bindType:f,handle:function(v){var m,A=this,E=v.relatedTarget,k=v.handleObj;return(!E||E!==A&&!d.contains(A,E))&&(v.type=k.origType,m=k.handler.apply(this,arguments),v.type=f),m}}}),d.fn.extend({on:function(s,f,v,m){return _r(this,s,f,v,m)},one:function(s,f,v,m){return _r(this,s,f,v,m,1)},off:function(s,f,v){var m,A;if(s&&s.preventDefault&&s.handleObj)return m=s.handleObj,d(s.delegateTarget).off(m.namespace?m.origType+"."+m.namespace:m.origType,m.selector,m.handler),this;if(typeof s=="object"){for(A in s)this.off(A,f,s[A]);return this}return(f===!1||typeof f=="function")&&(v=f,f=void 0),v===!1&&(v=Vr),this.each(function(){d.event.remove(this,s,v,f)})}});var vc=/<script|<style|<link/i,bo=/checked\s*(?:[^=]|=\s*.checked.)/i,Wr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function dr(s,f){return N(s,"table")&&N(f.nodeType!==11?f:f.firstChild,"tr")&&d(s).children("tbody")[0]||s}function mc(s){return s.type=(s.getAttribute("type")!==null)+"/"+s.type,s}function gc(s){return(s.type||"").slice(0,5)==="true/"?s.type=s.type.slice(5):s.removeAttribute("type"),s}function ui(s,f){var v,m,A,E,k,R,j;if(f.nodeType===1){if(Ae.hasData(s)&&(E=Ae.get(s),j=E.events,j)){Ae.remove(f,"handle events");for(A in j)for(v=0,m=j[A].length;v<m;v++)d.event.add(f,A,j[A][v])}St.hasData(s)&&(k=St.access(s),R=d.extend({},k),St.set(f,R))}}function yc(s,f){var v=f.nodeName.toLowerCase();v==="input"&&Lt.test(s.type)?f.checked=s.checked:(v==="input"||v==="textarea")&&(f.defaultValue=s.defaultValue)}function Cr(s,f,v,m){f=o(f);var A,E,k,R,j,$,Q=0,ne=s.length,V=ne-1,se=f[0],Ue=_(se);if(Ue||ne>1&&typeof se=="string"&&!D.checkClone&&bo.test(se))return s.each(function(st){var Je=s.eq(st);Ue&&(f[0]=se.call(this,st,Je.html())),Cr(Je,f,v,m)});if(ne&&(A=Do(f,s[0].ownerDocument,!1,s,m),E=A.firstChild,A.childNodes.length===1&&(A=E),E||m)){for(k=d.map(Gt(A,"script"),mc),R=k.length;Q<ne;Q++)j=A,Q!==V&&(j=d.clone(j,!0,!0),R&&d.merge(k,Gt(j,"script"))),v.call(s[Q],j,Q);if(R)for($=k[k.length-1].ownerDocument,d.map(k,gc),Q=0;Q<R;Q++)j=k[Q],ni.test(j.type||"")&&!Ae.access(j,"globalEval")&&d.contains($,j)&&(j.src&&(j.type||"").toLowerCase()!=="module"?d._evalUrl&&!j.noModule&&d._evalUrl(j.src,{nonce:j.nonce||j.getAttribute("nonce")},$):x(j.textContent.replace(Wr,""),j,$))}return s}function ai(s,f,v){for(var m,A=f?d.filter(f,s):s,E=0;(m=A[E])!=null;E++)!v&&m.nodeType===1&&d.cleanData(Gt(m)),m.parentNode&&(v&&vn(m)&&Ku(Gt(m,"script")),m.parentNode.removeChild(m));return s}d.extend({htmlPrefilter:function(s){return s},clone:function(s,f,v){var m,A,E,k,R=s.cloneNode(!0),j=vn(s);if(!D.noCloneChecked&&(s.nodeType===1||s.nodeType===11)&&!d.isXMLDoc(s))for(k=Gt(R),E=Gt(s),m=0,A=E.length;m<A;m++)yc(E[m],k[m]);if(f)if(v)for(E=E||Gt(s),k=k||Gt(R),m=0,A=E.length;m<A;m++)ui(E[m],k[m]);else ui(s,R);return k=Gt(R,"script"),k.length>0&&Ku(k,!j&&Gt(s,"script")),R},cleanData:function(s){for(var f,v,m,A=d.event.special,E=0;(v=s[E])!==void 0;E++)if(xt(v)){if(f=v[Ae.expando]){if(f.events)for(m in f.events)A[m]?d.event.remove(v,m):d.removeEvent(v,m,f.handle);v[Ae.expando]=void 0}v[St.expando]&&(v[St.expando]=void 0)}}}),d.fn.extend({detach:function(s){return ai(this,s,!0)},remove:function(s){return ai(this,s)},text:function(s){return Ut(this,function(f){return f===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=f)})},null,s,arguments.length)},append:function(){return Cr(this,arguments,function(s){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=dr(this,s);f.appendChild(s)}})},prepend:function(){return Cr(this,arguments,function(s){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var f=dr(this,s);f.insertBefore(s,f.firstChild)}})},before:function(){return Cr(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this)})},after:function(){return Cr(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this.nextSibling)})},empty:function(){for(var s,f=0;(s=this[f])!=null;f++)s.nodeType===1&&(d.cleanData(Gt(s,!1)),s.textContent="");return this},clone:function(s,f){return s=s==null?!1:s,f=f==null?s:f,this.map(function(){return d.clone(this,s,f)})},html:function(s){return Ut(this,function(f){var v=this[0]||{},m=0,A=this.length;if(f===void 0&&v.nodeType===1)return v.innerHTML;if(typeof f=="string"&&!vc.test(f)&&!Fn[(Ur.exec(f)||["",""])[1].toLowerCase()]){f=d.htmlPrefilter(f);try{for(;m<A;m++)v=this[m]||{},v.nodeType===1&&(d.cleanData(Gt(v,!1)),v.innerHTML=f);v=0}catch(E){}}v&&this.empty().append(f)},null,s,arguments.length)},replaceWith:function(){var s=[];return Cr(this,arguments,function(f){var v=this.parentNode;d.inArray(this,s)<0&&(d.cleanData(Gt(this)),v&&v.replaceChild(f,this))},s)}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,f){d.fn[s]=function(v){for(var m,A=[],E=d(v),k=E.length-1,R=0;R<=k;R++)m=R===k?this:this.clone(!0),d(E[R])[f](m),c.apply(A,m.get());return this.pushStack(A)}});var Qu=new RegExp("^("+yu+")(?!px)[a-z%]+$","i"),fe=/^--/,Oe=function(s){var f=s.ownerDocument.defaultView;return(!f||!f.opener)&&(f=n),f.getComputedStyle(s)},et=function(s,f,v){var m,A,E={};for(A in f)E[A]=s.style[A],s.style[A]=f[A];m=v.call(s);for(A in f)s.style[A]=E[A];return m},bt=new RegExp($t.join("|"),"i");(function(){function s(){if($){j.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",$.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",En.appendChild(j).appendChild($);var Q=n.getComputedStyle($);v=Q.top!=="1%",R=f(Q.marginLeft)===12,$.style.right="60%",E=f(Q.right)===36,m=f(Q.width)===36,$.style.position="absolute",A=f($.offsetWidth/3)===12,En.removeChild(j),$=null}}function f(Q){return Math.round(parseFloat(Q))}var v,m,A,E,k,R,j=w.createElement("div"),$=w.createElement("div");$.style&&($.style.backgroundClip="content-box",$.cloneNode(!0).style.backgroundClip="",D.clearCloneStyle=$.style.backgroundClip==="content-box",d.extend(D,{boxSizingReliable:function(){return s(),m},pixelBoxStyles:function(){return s(),E},pixelPosition:function(){return s(),v},reliableMarginLeft:function(){return s(),R},scrollboxSize:function(){return s(),A},reliableTrDimensions:function(){var Q,ne,V,se;return k==null&&(Q=w.createElement("table"),ne=w.createElement("tr"),V=w.createElement("div"),Q.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ne.style.cssText="box-sizing:content-box;border:1px solid",ne.style.height="1px",V.style.height="9px",V.style.display="block",En.appendChild(Q).appendChild(ne).appendChild(V),se=n.getComputedStyle(ne),k=parseInt(se.height,10)+parseInt(se.borderTopWidth,10)+parseInt(se.borderBottomWidth,10)===ne.offsetHeight,En.removeChild(Q)),k}}))})();function dt(s,f,v){var m,A,E,k,R=fe.test(f),j=s.style;return v=v||Oe(s),v&&(k=v.getPropertyValue(f)||v[f],R&&k&&(k=k.replace(K,"$1")||void 0),k===""&&!vn(s)&&(k=d.style(s,f)),!D.pixelBoxStyles()&&Qu.test(k)&&bt.test(f)&&(m=j.width,A=j.minWidth,E=j.maxWidth,j.minWidth=j.maxWidth=j.width=k,k=v.width,j.width=m,j.minWidth=A,j.maxWidth=E)),k!==void 0?k+"":k}function _n(s,f){return{get:function(){if(s()){delete this.get;return}return(this.get=f).apply(this,arguments)}}}var Tn=["Webkit","Moz","ms"],Yn=w.createElement("div").style,On={};function In(s){for(var f=s[0].toUpperCase()+s.slice(1),v=Tn.length;v--;)if(s=Tn[v]+f,s in Yn)return s}function Jt(s){var f=d.cssProps[s]||On[s];return f||(s in Yn?s:On[s]=In(s)||s)}var un=/^(none|table(?!-c[ea]).+)/,Gr={position:"absolute",visibility:"hidden",display:"block"},pr={letterSpacing:"0",fontWeight:"400"};function Ln(s,f,v){var m=An.exec(f);return m?Math.max(0,m[2]-(v||0))+(m[3]||"px"):f}function Xt(s,f,v,m,A,E){var k=f==="width"?1:0,R=0,j=0,$=0;if(v===(m?"border":"content"))return 0;for(;k<4;k+=2)v==="margin"&&($+=d.css(s,v+$t[k],!0,A)),m?(v==="content"&&(j-=d.css(s,"padding"+$t[k],!0,A)),v!=="margin"&&(j-=d.css(s,"border"+$t[k]+"Width",!0,A))):(j+=d.css(s,"padding"+$t[k],!0,A),v!=="padding"?j+=d.css(s,"border"+$t[k]+"Width",!0,A):R+=d.css(s,"border"+$t[k]+"Width",!0,A));return!m&&E>=0&&(j+=Math.max(0,Math.ceil(s["offset"+f[0].toUpperCase()+f.slice(1)]-E-j-R-.5))||0),j+$}function Jr(s,f,v){var m=Oe(s),A=!D.boxSizingReliable()||v,E=A&&d.css(s,"boxSizing",!1,m)==="border-box",k=E,R=dt(s,f,m),j="offset"+f[0].toUpperCase()+f.slice(1);if(Qu.test(R)){if(!v)return R;R="auto"}return(!D.boxSizingReliable()&&E||!D.reliableTrDimensions()&&N(s,"tr")||R==="auto"||!parseFloat(R)&&d.css(s,"display",!1,m)==="inline")&&s.getClientRects().length&&(E=d.css(s,"boxSizing",!1,m)==="border-box",k=j in s,k&&(R=s[j])),R=parseFloat(R)||0,R+Xt(s,f,v||(E?"border":"content"),k,m,R)+"px"}d.extend({cssHooks:{opacity:{get:function(s,f){if(f){var v=dt(s,"opacity");return v===""?"1":v}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(s,f,v,m){if(!(!s||s.nodeType===3||s.nodeType===8||!s.style)){var A,E,k,R=Yt(f),j=fe.test(f),$=s.style;if(j||(f=Jt(R)),k=d.cssHooks[f]||d.cssHooks[R],v!==void 0){if(E=typeof v,E==="string"&&(A=An.exec(v))&&A[1]&&(v=qr(s,f,A),E="number"),v==null||v!==v)return;E==="number"&&!j&&(v+=A&&A[3]||(d.cssNumber[R]?"":"px")),!D.clearCloneStyle&&v===""&&f.indexOf("background")===0&&($[f]="inherit"),(!k||!("set"in k)||(v=k.set(s,v,m))!==void 0)&&(j?$.setProperty(f,v):$[f]=v)}else return k&&"get"in k&&(A=k.get(s,!1,m))!==void 0?A:$[f]}},css:function(s,f,v,m){var A,E,k,R=Yt(f),j=fe.test(f);return j||(f=Jt(R)),k=d.cssHooks[f]||d.cssHooks[R],k&&"get"in k&&(A=k.get(s,!0,v)),A===void 0&&(A=dt(s,f,m)),A==="normal"&&f in pr&&(A=pr[f]),v===""||v?(E=parseFloat(A),v===!0||isFinite(E)?E||0:A):A}}),d.each(["height","width"],function(s,f){d.cssHooks[f]={get:function(v,m,A){if(m)return un.test(d.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?et(v,Gr,function(){return Jr(v,f,A)}):Jr(v,f,A)},set:function(v,m,A){var E,k=Oe(v),R=!D.scrollboxSize()&&k.position==="absolute",j=R||A,$=j&&d.css(v,"boxSizing",!1,k)==="border-box",Q=A?Xt(v,f,A,$,k):0;return $&&R&&(Q-=Math.ceil(v["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(k[f])-Xt(v,f,"border",!1,k)-.5)),Q&&(E=An.exec(m))&&(E[3]||"px")!=="px"&&(v.style[f]=m,m=d.css(v,f)),Ln(v,m,Q)}}}),d.cssHooks.marginLeft=_n(D.reliableMarginLeft,function(s,f){if(f)return(parseFloat(dt(s,"marginLeft"))||s.getBoundingClientRect().left-et(s,{marginLeft:0},function(){return s.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(s,f){d.cssHooks[s+f]={expand:function(v){for(var m=0,A={},E=typeof v=="string"?v.split(" "):[v];m<4;m++)A[s+$t[m]+f]=E[m]||E[m-2]||E[0];return A}},s!=="margin"&&(d.cssHooks[s+f].set=Ln)}),d.fn.extend({css:function(s,f){return Ut(this,function(v,m,A){var E,k,R={},j=0;if(Array.isArray(m)){for(E=Oe(v),k=m.length;j<k;j++)R[m[j]]=d.css(v,m[j],!1,E);return R}return A!==void 0?d.style(v,m,A):d.css(v,m)},s,f,arguments.length>1)}});function Zt(s,f,v,m,A){return new Zt.prototype.init(s,f,v,m,A)}d.Tween=Zt,Zt.prototype={constructor:Zt,init:function(s,f,v,m,A,E){this.elem=s,this.prop=v,this.easing=A||d.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=m,this.unit=E||(d.cssNumber[v]?"":"px")},cur:function(){var s=Zt.propHooks[this.prop];return s&&s.get?s.get(this):Zt.propHooks._default.get(this)},run:function(s){var f,v=Zt.propHooks[this.prop];return this.options.duration?this.pos=f=d.easing[this.easing](s,this.options.duration*s,0,1,this.options.duration):this.pos=f=s,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):Zt.propHooks._default.set(this),this}},Zt.prototype.init.prototype=Zt.prototype,Zt.propHooks={_default:{get:function(s){var f;return s.elem.nodeType!==1||s.elem[s.prop]!=null&&s.elem.style[s.prop]==null?s.elem[s.prop]:(f=d.css(s.elem,s.prop,""),!f||f==="auto"?0:f)},set:function(s){d.fx.step[s.prop]?d.fx.step[s.prop](s):s.elem.nodeType===1&&(d.cssHooks[s.prop]||s.elem.style[Jt(s.prop)]!=null)?d.style(s.elem,s.prop,s.now+s.unit):s.elem[s.prop]=s.now}}},Zt.propHooks.scrollTop=Zt.propHooks.scrollLeft={set:function(s){s.elem.nodeType&&s.elem.parentNode&&(s.elem[s.prop]=s.now)}},d.easing={linear:function(s){return s},swing:function(s){return .5-Math.cos(s*Math.PI)/2},_default:"swing"},d.fx=Zt.prototype.init,d.fx.step={};var Kr,en,Kt=/^(?:toggle|show|hide)$/,Mt=/queueHooks$/;function tn(){en&&(w.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(tn):n.setTimeout(tn,d.fx.interval),d.fx.tick())}function jt(){return n.setTimeout(function(){Kr=void 0}),Kr=Date.now()}function ot(s,f){var v,m=0,A={height:s};for(f=f?1:0;m<4;m+=2-f)v=$t[m],A["margin"+v]=A["padding"+v]=s;return f&&(A.opacity=A.width=s),A}function Ao(s,f,v){for(var m,A=(Bn.tweeners[f]||[]).concat(Bn.tweeners["*"]),E=0,k=A.length;E<k;E++)if(m=A[E].call(v,f,s))return m}function Dc(s,f,v){var m,A,E,k,R,j,$,Q,ne="width"in f||"height"in f,V=this,se={},Ue=s.style,st=s.nodeType&&cr(s),Je=Ae.get(s,"fxshow");v.queue||(k=d._queueHooks(s,"fx"),k.unqueued==null&&(k.unqueued=0,R=k.empty.fire,k.empty.fire=function(){k.unqueued||R()}),k.unqueued++,V.always(function(){V.always(function(){k.unqueued--,d.queue(s,"fx").length||k.empty.fire()})}));for(m in f)if(A=f[m],Kt.test(A)){if(delete f[m],E=E||A==="toggle",A===(st?"hide":"show"))if(A==="show"&&Je&&Je[m]!==void 0)st=!0;else continue;se[m]=Je&&Je[m]||d.style(s,m)}if(j=!d.isEmptyObject(f),!(!j&&d.isEmptyObject(se))){ne&&s.nodeType===1&&(v.overflow=[Ue.overflow,Ue.overflowX,Ue.overflowY],$=Je&&Je.display,$==null&&($=Ae.get(s,"display")),Q=d.css(s,"display"),Q==="none"&&($?Q=$:(Ge([s],!0),$=s.style.display||$,Q=d.css(s,"display"),Ge([s]))),(Q==="inline"||Q==="inline-block"&&$!=null)&&d.css(s,"float")==="none"&&(j||(V.done(function(){Ue.display=$}),$==null&&(Q=Ue.display,$=Q==="none"?"":Q)),Ue.display="inline-block")),v.overflow&&(Ue.overflow="hidden",V.always(function(){Ue.overflow=v.overflow[0],Ue.overflowX=v.overflow[1],Ue.overflowY=v.overflow[2]})),j=!1;for(m in se)j||(Je?"hidden"in Je&&(st=Je.hidden):Je=Ae.access(s,"fxshow",{display:$}),E&&(Je.hidden=!st),st&&Ge([s],!0),V.done(function(){st||Ge([s]),Ae.remove(s,"fxshow");for(m in se)d.style(s,m,se[m])})),j=Ao(st?Je[m]:0,m,V),m in Je||(Je[m]=j.start,st&&(j.end=j.start,j.start=0))}}function bc(s,f){var v,m,A,E,k;for(v in s)if(m=Yt(v),A=f[m],E=s[v],Array.isArray(E)&&(A=E[1],E=s[v]=E[0]),v!==m&&(s[m]=E,delete s[v]),k=d.cssHooks[m],k&&"expand"in k){E=k.expand(E),delete s[m];for(v in E)v in s||(s[v]=E[v],f[v]=A)}else f[m]=A}function Bn(s,f,v){var m,A,E=0,k=Bn.prefilters.length,R=d.Deferred().always(function(){delete j.elem}),j=function(){if(A)return!1;for(var ne=Kr||jt(),V=Math.max(0,$.startTime+$.duration-ne),se=V/$.duration||0,Ue=1-se,st=0,Je=$.tweens.length;st<Je;st++)$.tweens[st].run(Ue);return R.notifyWith(s,[$,Ue,V]),Ue<1&&Je?V:(Je||R.notifyWith(s,[$,1,0]),R.resolveWith(s,[$]),!1)},$=R.promise({elem:s,props:d.extend({},f),opts:d.extend(!0,{specialEasing:{},easing:d.easing._default},v),originalProperties:f,originalOptions:v,startTime:Kr||jt(),duration:v.duration,tweens:[],createTween:function(ne,V){var se=d.Tween(s,$.opts,ne,V,$.opts.specialEasing[ne]||$.opts.easing);return $.tweens.push(se),se},stop:function(ne){var V=0,se=ne?$.tweens.length:0;if(A)return this;for(A=!0;V<se;V++)$.tweens[V].run(1);return ne?(R.notifyWith(s,[$,1,0]),R.resolveWith(s,[$,ne])):R.rejectWith(s,[$,ne]),this}}),Q=$.props;for(bc(Q,$.opts.specialEasing);E<k;E++)if(m=Bn.prefilters[E].call($,s,Q,$.opts),m)return _(m.stop)&&(d._queueHooks($.elem,$.opts.queue).stop=m.stop.bind(m)),m;return d.map(Q,Ao,$),_($.opts.start)&&$.opts.start.call(s,$),$.progress($.opts.progress).done($.opts.done,$.opts.complete).fail($.opts.fail).always($.opts.always),d.fx.timer(d.extend(j,{elem:s,anim:$,queue:$.opts.queue})),$}d.Animation=d.extend(Bn,{tweeners:{"*":[function(s,f){var v=this.createTween(s,f);return qr(v.elem,s,An.exec(f),v),v}]},tweener:function(s,f){_(s)?(f=s,s=["*"]):s=s.match(Se);for(var v,m=0,A=s.length;m<A;m++)v=s[m],Bn.tweeners[v]=Bn.tweeners[v]||[],Bn.tweeners[v].unshift(f)},prefilters:[Dc],prefilter:function(s,f){f?Bn.prefilters.unshift(s):Bn.prefilters.push(s)}}),d.speed=function(s,f,v){var m=s&&typeof s=="object"?d.extend({},s):{complete:v||!v&&f||_(s)&&s,duration:s,easing:v&&f||f&&!_(f)&&f};return d.fx.off?m.duration=0:typeof m.duration!="number"&&(m.duration in d.fx.speeds?m.duration=d.fx.speeds[m.duration]:m.duration=d.fx.speeds._default),(m.queue==null||m.queue===!0)&&(m.queue="fx"),m.old=m.complete,m.complete=function(){_(m.old)&&m.old.call(this),m.queue&&d.dequeue(this,m.queue)},m},d.fn.extend({fadeTo:function(s,f,v,m){return this.filter(cr).css("opacity",0).show().end().animate({opacity:f},s,v,m)},animate:function(s,f,v,m){var A=d.isEmptyObject(s),E=d.speed(f,v,m),k=function(){var R=Bn(this,d.extend({},s),E);(A||Ae.get(this,"finish"))&&R.stop(!0)};return k.finish=k,A||E.queue===!1?this.each(k):this.queue(E.queue,k)},stop:function(s,f,v){var m=function(A){var E=A.stop;delete A.stop,E(v)};return typeof s!="string"&&(v=f,f=s,s=void 0),f&&this.queue(s||"fx",[]),this.each(function(){var A=!0,E=s!=null&&s+"queueHooks",k=d.timers,R=Ae.get(this);if(E)R[E]&&R[E].stop&&m(R[E]);else for(E in R)R[E]&&R[E].stop&&Mt.test(E)&&m(R[E]);for(E=k.length;E--;)k[E].elem===this&&(s==null||k[E].queue===s)&&(k[E].anim.stop(v),A=!1,k.splice(E,1));(A||!v)&&d.dequeue(this,s)})},finish:function(s){return s!==!1&&(s=s||"fx"),this.each(function(){var f,v=Ae.get(this),m=v[s+"queue"],A=v[s+"queueHooks"],E=d.timers,k=m?m.length:0;for(v.finish=!0,d.queue(this,s,[]),A&&A.stop&&A.stop.call(this,!0),f=E.length;f--;)E[f].elem===this&&E[f].queue===s&&(E[f].anim.stop(!0),E.splice(f,1));for(f=0;f<k;f++)m[f]&&m[f].finish&&m[f].finish.call(this);delete v.finish})}}),d.each(["toggle","show","hide"],function(s,f){var v=d.fn[f];d.fn[f]=function(m,A,E){return m==null||typeof m=="boolean"?v.apply(this,arguments):this.animate(ot(f,!0),m,A,E)}}),d.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(s,f){d.fn[s]=function(v,m,A){return this.animate(f,v,m,A)}}),d.timers=[],d.fx.tick=function(){var s,f=0,v=d.timers;for(Kr=Date.now();f<v.length;f++)s=v[f],!s()&&v[f]===s&&v.splice(f--,1);v.length||d.fx.stop(),Kr=void 0},d.fx.timer=function(s){d.timers.push(s),d.fx.start()},d.fx.interval=13,d.fx.start=function(){en||(en=!0,tn())},d.fx.stop=function(){en=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(s,f){return s=d.fx&&d.fx.speeds[s]||s,f=f||"fx",this.queue(f,function(v,m){var A=n.setTimeout(v,s);m.stop=function(){n.clearTimeout(A)}})},(function(){var s=w.createElement("input"),f=w.createElement("select"),v=f.appendChild(w.createElement("option"));s.type="checkbox",D.checkOn=s.value!=="",D.optSelected=v.selected,s=w.createElement("input"),s.value="t",s.type="radio",D.radioValue=s.value==="t"})();var Eo,Du=d.expr.attrHandle;d.fn.extend({attr:function(s,f){return Ut(this,d.attr,s,f,arguments.length>1)},removeAttr:function(s){return this.each(function(){d.removeAttr(this,s)})}}),d.extend({attr:function(s,f,v){var m,A,E=s.nodeType;if(!(E===3||E===8||E===2)){if(typeof s.getAttribute=="undefined")return d.prop(s,f,v);if((E!==1||!d.isXMLDoc(s))&&(A=d.attrHooks[f.toLowerCase()]||(d.expr.match.bool.test(f)?Eo:void 0)),v!==void 0){if(v===null){d.removeAttr(s,f);return}return A&&"set"in A&&(m=A.set(s,v,f))!==void 0?m:(s.setAttribute(f,v+""),v)}return A&&"get"in A&&(m=A.get(s,f))!==null?m:(m=d.find.attr(s,f),m==null?void 0:m)}},attrHooks:{type:{set:function(s,f){if(!D.radioValue&&f==="radio"&&N(s,"input")){var v=s.value;return s.setAttribute("type",f),v&&(s.value=v),f}}}},removeAttr:function(s,f){var v,m=0,A=f&&f.match(Se);if(A&&s.nodeType===1)for(;v=A[m++];)s.removeAttribute(v)}}),Eo={set:function(s,f,v){return f===!1?d.removeAttr(s,v):s.setAttribute(v,v),v}},d.each(d.expr.match.bool.source.match(/\w+/g),function(s,f){var v=Du[f]||d.find.attr;Du[f]=function(m,A,E){var k,R,j=A.toLowerCase();return E||(R=Du[j],Du[j]=k,k=v(m,A,E)!=null?j:null,Du[j]=R),k}});var Qr=/^(?:input|select|textarea|button)$/i,DA=/^(?:a|area)$/i;d.fn.extend({prop:function(s,f){return Ut(this,d.prop,s,f,arguments.length>1)},removeProp:function(s){return this.each(function(){delete this[d.propFix[s]||s]})}}),d.extend({prop:function(s,f,v){var m,A,E=s.nodeType;if(!(E===3||E===8||E===2))return(E!==1||!d.isXMLDoc(s))&&(f=d.propFix[f]||f,A=d.propHooks[f]),v!==void 0?A&&"set"in A&&(m=A.set(s,v,f))!==void 0?m:s[f]=v:A&&"get"in A&&(m=A.get(s,f))!==null?m:s[f]},propHooks:{tabIndex:{get:function(s){var f=d.find.attr(s,"tabindex");return f?parseInt(f,10):Qr.test(s.nodeName)||DA.test(s.nodeName)&&s.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),D.optSelected||(d.propHooks.selected={get:function(s){var f=s.parentNode;return f&&f.parentNode&&f.parentNode.selectedIndex,null},set:function(s){var f=s.parentNode;f&&(f.selectedIndex,f.parentNode&&f.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function bu(s){var f=s.match(Se)||[];return f.join(" ")}function Au(s){return s.getAttribute&&s.getAttribute("class")||""}function Ac(s){return Array.isArray(s)?s:typeof s=="string"?s.match(Se)||[]:[]}d.fn.extend({addClass:function(s){var f,v,m,A,E,k;return _(s)?this.each(function(R){d(this).addClass(s.call(this,R,Au(this)))}):(f=Ac(s),f.length?this.each(function(){if(m=Au(this),v=this.nodeType===1&&" "+bu(m)+" ",v){for(E=0;E<f.length;E++)A=f[E],v.indexOf(" "+A+" ")<0&&(v+=A+" ");k=bu(v),m!==k&&this.setAttribute("class",k)}}):this)},removeClass:function(s){var f,v,m,A,E,k;return _(s)?this.each(function(R){d(this).removeClass(s.call(this,R,Au(this)))}):arguments.length?(f=Ac(s),f.length?this.each(function(){if(m=Au(this),v=this.nodeType===1&&" "+bu(m)+" ",v){for(E=0;E<f.length;E++)for(A=f[E];v.indexOf(" "+A+" ")>-1;)v=v.replace(" "+A+" "," ");k=bu(v),m!==k&&this.setAttribute("class",k)}}):this):this.attr("class","")},toggleClass:function(s,f){var v,m,A,E,k=typeof s,R=k==="string"||Array.isArray(s);return _(s)?this.each(function(j){d(this).toggleClass(s.call(this,j,Au(this),f),f)}):typeof f=="boolean"&&R?f?this.addClass(s):this.removeClass(s):(v=Ac(s),this.each(function(){if(R)for(E=d(this),A=0;A<v.length;A++)m=v[A],E.hasClass(m)?E.removeClass(m):E.addClass(m);else(s===void 0||k==="boolean")&&(m=Au(this),m&&Ae.set(this,"__className__",m),this.setAttribute&&this.setAttribute("class",m||s===!1?"":Ae.get(this,"__className__")||""))}))},hasClass:function(s){var f,v,m=0;for(f=" "+s+" ";v=this[m++];)if(v.nodeType===1&&(" "+bu(Au(v))+" ").indexOf(f)>-1)return!0;return!1}});var bA=/\r/g;d.fn.extend({val:function(s){var f,v,m,A=this[0];return arguments.length?(m=_(s),this.each(function(E){var k;this.nodeType===1&&(m?k=s.call(this,E,d(this).val()):k=s,k==null?k="":typeof k=="number"?k+="":Array.isArray(k)&&(k=d.map(k,function(R){return R==null?"":R+""})),f=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!f||!("set"in f)||f.set(this,k,"value")===void 0)&&(this.value=k))})):A?(f=d.valHooks[A.type]||d.valHooks[A.nodeName.toLowerCase()],f&&"get"in f&&(v=f.get(A,"value"))!==void 0?v:(v=A.value,typeof v=="string"?v.replace(bA,""):v==null?"":v)):void 0}}),d.extend({valHooks:{option:{get:function(s){var f=d.find.attr(s,"value");return f!=null?f:bu(d.text(s))}},select:{get:function(s){var f,v,m,A=s.options,E=s.selectedIndex,k=s.type==="select-one",R=k?null:[],j=k?E+1:A.length;for(E<0?m=j:m=k?E:0;m<j;m++)if(v=A[m],(v.selected||m===E)&&!v.disabled&&(!v.parentNode.disabled||!N(v.parentNode,"optgroup"))){if(f=d(v).val(),k)return f;R.push(f)}return R},set:function(s,f){for(var v,m,A=s.options,E=d.makeArray(f),k=A.length;k--;)m=A[k],(m.selected=d.inArray(d.valHooks.option.get(m),E)>-1)&&(v=!0);return v||(s.selectedIndex=-1),E}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(s,f){if(Array.isArray(f))return s.checked=d.inArray(d(s).val(),f)>-1}},D.checkOn||(d.valHooks[this].get=function(s){return s.getAttribute("value")===null?"on":s.value})});var ii=n.location,Eh={guid:Date.now()},Ec=/\?/;d.parseXML=function(s){var f,v;if(!s||typeof s!="string")return null;try{f=new n.DOMParser().parseFromString(s,"text/xml")}catch(m){}return v=f&&f.getElementsByTagName("parsererror")[0],(!f||v)&&d.error("Invalid XML: "+(v?d.map(v.childNodes,function(m){return m.textContent}).join(`
|
|
4
|
+
`):s)),f};var Fh=/^(?:focusinfocus|focusoutblur)$/,_h=function(s){s.stopPropagation()};d.extend(d.event,{trigger:function(s,f,v,m){var A,E,k,R,j,$,Q,ne,V=[v||w],se=g.call(s,"type")?s.type:s,Ue=g.call(s,"namespace")?s.namespace.split("."):[];if(E=ne=k=v=v||w,!(v.nodeType===3||v.nodeType===8)&&!Fh.test(se+d.event.triggered)&&(se.indexOf(".")>-1&&(Ue=se.split("."),se=Ue.shift(),Ue.sort()),j=se.indexOf(":")<0&&"on"+se,s=s[d.expando]?s:new d.Event(se,typeof s=="object"&&s),s.isTrigger=m?2:3,s.namespace=Ue.join("."),s.rnamespace=s.namespace?new RegExp("(^|\\.)"+Ue.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,s.result=void 0,s.target||(s.target=v),f=f==null?[s]:d.makeArray(f,[s]),Q=d.event.special[se]||{},!(!m&&Q.trigger&&Q.trigger.apply(v,f)===!1))){if(!m&&!Q.noBubble&&!T(v)){for(R=Q.delegateType||se,Fh.test(R+se)||(E=E.parentNode);E;E=E.parentNode)V.push(E),k=E;k===(v.ownerDocument||w)&&V.push(k.defaultView||k.parentWindow||n)}for(A=0;(E=V[A++])&&!s.isPropagationStopped();)ne=E,s.type=A>1?R:Q.bindType||se,$=(Ae.get(E,"events")||Object.create(null))[s.type]&&Ae.get(E,"handle"),$&&$.apply(E,f),$=j&&E[j],$&&$.apply&&xt(E)&&(s.result=$.apply(E,f),s.result===!1&&s.preventDefault());return s.type=se,!m&&!s.isDefaultPrevented()&&(!Q._default||Q._default.apply(V.pop(),f)===!1)&&xt(v)&&j&&_(v[se])&&!T(v)&&(k=v[j],k&&(v[j]=null),d.event.triggered=se,s.isPropagationStopped()&&ne.addEventListener(se,_h),v[se](),s.isPropagationStopped()&&ne.removeEventListener(se,_h),d.event.triggered=void 0,k&&(v[j]=k)),s.result}},simulate:function(s,f,v){var m=d.extend(new d.Event,v,{type:s,isSimulated:!0});d.event.trigger(m,null,f)}}),d.fn.extend({trigger:function(s,f){return this.each(function(){d.event.trigger(s,f,this)})},triggerHandler:function(s,f){var v=this[0];if(v)return d.event.trigger(s,f,v,!0)}});var AA=/\[\]$/,Ch=/\r?\n/g,EA=/^(?:submit|button|image|reset|file)$/i,FA=/^(?:input|select|textarea|keygen)/i;function Fc(s,f,v,m){var A;if(Array.isArray(f))d.each(f,function(E,k){v||AA.test(s)?m(s,k):Fc(s+"["+(typeof k=="object"&&k!=null?E:"")+"]",k,v,m)});else if(!v&&O(f)==="object")for(A in f)Fc(s+"["+A+"]",f[A],v,m);else m(s,f)}d.param=function(s,f){var v,m=[],A=function(E,k){var R=_(k)?k():k;m[m.length]=encodeURIComponent(E)+"="+encodeURIComponent(R==null?"":R)};if(s==null)return"";if(Array.isArray(s)||s.jquery&&!d.isPlainObject(s))d.each(s,function(){A(this.name,this.value)});else for(v in s)Fc(v,s[v],f,A);return m.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var s=d.prop(this,"elements");return s?d.makeArray(s):this}).filter(function(){var s=this.type;return this.name&&!d(this).is(":disabled")&&FA.test(this.nodeName)&&!EA.test(s)&&(this.checked||!Lt.test(s))}).map(function(s,f){var v=d(this).val();return v==null?null:Array.isArray(v)?d.map(v,function(m){return{name:f.name,value:m.replace(Ch,`\r
|
|
5
|
+
`)}}):{name:f.name,value:v.replace(Ch,`\r
|
|
6
|
+
`)}}).get()}});var _A=/%20/g,CA=/#.*$/,kA=/([?&])_=[^&]*/,wA=/^(.*?):[ \t]*([^\r\n]*)$/mg,xA=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,SA=/^(?:GET|HEAD)$/,TA=/^\/\//,kh={},_c={},wh="*/".concat("*"),Cc=w.createElement("a");Cc.href=ii.href;function xh(s){return function(f,v){typeof f!="string"&&(v=f,f="*");var m,A=0,E=f.toLowerCase().match(Se)||[];if(_(v))for(;m=E[A++];)m[0]==="+"?(m=m.slice(1)||"*",(s[m]=s[m]||[]).unshift(v)):(s[m]=s[m]||[]).push(v)}}function Sh(s,f,v,m){var A={},E=s===_c;function k(R){var j;return A[R]=!0,d.each(s[R]||[],function($,Q){var ne=Q(f,v,m);if(typeof ne=="string"&&!E&&!A[ne])return f.dataTypes.unshift(ne),k(ne),!1;if(E)return!(j=ne)}),j}return k(f.dataTypes[0])||!A["*"]&&k("*")}function kc(s,f){var v,m,A=d.ajaxSettings.flatOptions||{};for(v in f)f[v]!==void 0&&((A[v]?s:m||(m={}))[v]=f[v]);return m&&d.extend(!0,s,m),s}function OA(s,f,v){for(var m,A,E,k,R=s.contents,j=s.dataTypes;j[0]==="*";)j.shift(),m===void 0&&(m=s.mimeType||f.getResponseHeader("Content-Type"));if(m){for(A in R)if(R[A]&&R[A].test(m)){j.unshift(A);break}}if(j[0]in v)E=j[0];else{for(A in v){if(!j[0]||s.converters[A+" "+j[0]]){E=A;break}k||(k=A)}E=E||k}if(E)return E!==j[0]&&j.unshift(E),v[E]}function IA(s,f,v,m){var A,E,k,R,j,$={},Q=s.dataTypes.slice();if(Q[1])for(k in s.converters)$[k.toLowerCase()]=s.converters[k];for(E=Q.shift();E;)if(s.responseFields[E]&&(v[s.responseFields[E]]=f),!j&&m&&s.dataFilter&&(f=s.dataFilter(f,s.dataType)),j=E,E=Q.shift(),E){if(E==="*")E=j;else if(j!=="*"&&j!==E){if(k=$[j+" "+E]||$["* "+E],!k){for(A in $)if(R=A.split(" "),R[1]===E&&(k=$[j+" "+R[0]]||$["* "+R[0]],k)){k===!0?k=$[A]:$[A]!==!0&&(E=R[0],Q.unshift(R[1]));break}}if(k!==!0)if(k&&s.throws)f=k(f);else try{f=k(f)}catch(ne){return{state:"parsererror",error:k?ne:"No conversion from "+j+" to "+E}}}}return{state:"success",data:f}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ii.href,type:"GET",isLocal:xA.test(ii.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wh,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(s,f){return f?kc(kc(s,d.ajaxSettings),f):kc(d.ajaxSettings,s)},ajaxPrefilter:xh(kh),ajaxTransport:xh(_c),ajax:function(s,f){typeof s=="object"&&(f=s,s=void 0),f=f||{};var v,m,A,E,k,R,j,$,Q,ne,V=d.ajaxSetup({},f),se=V.context||V,Ue=V.context&&(se.nodeType||se.jquery)?d(se):d.event,st=d.Deferred(),Je=d.Callbacks("once memory"),an=V.statusCode||{},Qt={},hr={},vr="canceled",at={readyState:0,getResponseHeader:function(pt){var Nt;if(j){if(!E)for(E={};Nt=wA.exec(A);)E[Nt[1].toLowerCase()+" "]=(E[Nt[1].toLowerCase()+" "]||[]).concat(Nt[2]);Nt=E[pt.toLowerCase()+" "]}return Nt==null?null:Nt.join(", ")},getAllResponseHeaders:function(){return j?A:null},setRequestHeader:function(pt,Nt){return j==null&&(pt=hr[pt.toLowerCase()]=hr[pt.toLowerCase()]||pt,Qt[pt]=Nt),this},overrideMimeType:function(pt){return j==null&&(V.mimeType=pt),this},statusCode:function(pt){var Nt;if(pt)if(j)at.always(pt[at.status]);else for(Nt in pt)an[Nt]=[an[Nt],pt[Nt]];return this},abort:function(pt){var Nt=pt||vr;return v&&v.abort(Nt),Eu(0,Nt),this}};if(st.promise(at),V.url=((s||V.url||ii.href)+"").replace(TA,ii.protocol+"//"),V.type=f.method||f.type||V.method||V.type,V.dataTypes=(V.dataType||"*").toLowerCase().match(Se)||[""],V.crossDomain==null){R=w.createElement("a");try{R.href=V.url,R.href=R.href,V.crossDomain=Cc.protocol+"//"+Cc.host!=R.protocol+"//"+R.host}catch(pt){V.crossDomain=!0}}if(V.data&&V.processData&&typeof V.data!="string"&&(V.data=d.param(V.data,V.traditional)),Sh(kh,V,f,at),j)return at;$=d.event&&V.global,$&&d.active++===0&&d.event.trigger("ajaxStart"),V.type=V.type.toUpperCase(),V.hasContent=!SA.test(V.type),m=V.url.replace(CA,""),V.hasContent?V.data&&V.processData&&(V.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(V.data=V.data.replace(_A,"+")):(ne=V.url.slice(m.length),V.data&&(V.processData||typeof V.data=="string")&&(m+=(Ec.test(m)?"&":"?")+V.data,delete V.data),V.cache===!1&&(m=m.replace(kA,"$1"),ne=(Ec.test(m)?"&":"?")+"_="+Eh.guid+++ne),V.url=m+ne),V.ifModified&&(d.lastModified[m]&&at.setRequestHeader("If-Modified-Since",d.lastModified[m]),d.etag[m]&&at.setRequestHeader("If-None-Match",d.etag[m])),(V.data&&V.hasContent&&V.contentType!==!1||f.contentType)&&at.setRequestHeader("Content-Type",V.contentType),at.setRequestHeader("Accept",V.dataTypes[0]&&V.accepts[V.dataTypes[0]]?V.accepts[V.dataTypes[0]]+(V.dataTypes[0]!=="*"?", "+wh+"; q=0.01":""):V.accepts["*"]);for(Q in V.headers)at.setRequestHeader(Q,V.headers[Q]);if(V.beforeSend&&(V.beforeSend.call(se,at,V)===!1||j))return at.abort();if(vr="abort",Je.add(V.complete),at.done(V.success),at.fail(V.error),v=Sh(_c,V,f,at),!v)Eu(-1,"No Transport");else{if(at.readyState=1,$&&Ue.trigger("ajaxSend",[at,V]),j)return at;V.async&&V.timeout>0&&(k=n.setTimeout(function(){at.abort("timeout")},V.timeout));try{j=!1,v.send(Qt,Eu)}catch(pt){if(j)throw pt;Eu(-1,pt)}}function Eu(pt,Nt,si,xc){var mr,ci,gr,Yr,Xr,Mn=Nt;j||(j=!0,k&&n.clearTimeout(k),v=void 0,A=xc||"",at.readyState=pt>0?4:0,mr=pt>=200&&pt<300||pt===304,si&&(Yr=OA(V,at,si)),!mr&&d.inArray("script",V.dataTypes)>-1&&d.inArray("json",V.dataTypes)<0&&(V.converters["text script"]=function(){}),Yr=IA(V,Yr,at,mr),mr?(V.ifModified&&(Xr=at.getResponseHeader("Last-Modified"),Xr&&(d.lastModified[m]=Xr),Xr=at.getResponseHeader("etag"),Xr&&(d.etag[m]=Xr)),pt===204||V.type==="HEAD"?Mn="nocontent":pt===304?Mn="notmodified":(Mn=Yr.state,ci=Yr.data,gr=Yr.error,mr=!gr)):(gr=Mn,(pt||!Mn)&&(Mn="error",pt<0&&(pt=0))),at.status=pt,at.statusText=(Nt||Mn)+"",mr?st.resolveWith(se,[ci,Mn,at]):st.rejectWith(se,[at,Mn,gr]),at.statusCode(an),an=void 0,$&&Ue.trigger(mr?"ajaxSuccess":"ajaxError",[at,V,mr?ci:gr]),Je.fireWith(se,[at,Mn]),$&&(Ue.trigger("ajaxComplete",[at,V]),--d.active||d.event.trigger("ajaxStop")))}return at},getJSON:function(s,f,v){return d.get(s,f,v,"json")},getScript:function(s,f){return d.get(s,void 0,f,"script")}}),d.each(["get","post"],function(s,f){d[f]=function(v,m,A,E){return _(m)&&(E=E||A,A=m,m=void 0),d.ajax(d.extend({url:v,type:f,dataType:E,data:m,success:A},d.isPlainObject(v)&&v))}}),d.ajaxPrefilter(function(s){var f;for(f in s.headers)f.toLowerCase()==="content-type"&&(s.contentType=s.headers[f]||"")}),d._evalUrl=function(s,f,v){return d.ajax({url:s,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(m){d.globalEval(m,f,v)}})},d.fn.extend({wrapAll:function(s){var f;return this[0]&&(_(s)&&(s=s.call(this[0])),f=d(s,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(s){return _(s)?this.each(function(f){d(this).wrapInner(s.call(this,f))}):this.each(function(){var f=d(this),v=f.contents();v.length?v.wrapAll(s):f.append(s)})},wrap:function(s){var f=_(s);return this.each(function(v){d(this).wrapAll(f?s.call(this,v):s)})},unwrap:function(s){return this.parent(s).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(s){return!d.expr.pseudos.visible(s)},d.expr.pseudos.visible=function(s){return!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(s){}};var BA={0:200,1223:204},oi=d.ajaxSettings.xhr();D.cors=!!oi&&"withCredentials"in oi,D.ajax=oi=!!oi,d.ajaxTransport(function(s){var f,v;if(D.cors||oi&&!s.crossDomain)return{send:function(m,A){var E,k=s.xhr();if(k.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(E in s.xhrFields)k[E]=s.xhrFields[E];s.mimeType&&k.overrideMimeType&&k.overrideMimeType(s.mimeType),!s.crossDomain&&!m["X-Requested-With"]&&(m["X-Requested-With"]="XMLHttpRequest");for(E in m)k.setRequestHeader(E,m[E]);f=function(R){return function(){f&&(f=v=k.onload=k.onerror=k.onabort=k.ontimeout=k.onreadystatechange=null,R==="abort"?k.abort():R==="error"?typeof k.status!="number"?A(0,"error"):A(k.status,k.statusText):A(BA[k.status]||k.status,k.statusText,(k.responseType||"text")!=="text"||typeof k.responseText!="string"?{binary:k.response}:{text:k.responseText},k.getAllResponseHeaders()))}},k.onload=f(),v=k.onerror=k.ontimeout=f("error"),k.onabort!==void 0?k.onabort=v:k.onreadystatechange=function(){k.readyState===4&&n.setTimeout(function(){f&&v()})},f=f("abort");try{k.send(s.hasContent&&s.data||null)}catch(R){if(f)throw R}},abort:function(){f&&f()}}}),d.ajaxPrefilter(function(s){s.crossDomain&&(s.contents.script=!1)}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(s){return d.globalEval(s),s}}}),d.ajaxPrefilter("script",function(s){s.cache===void 0&&(s.cache=!1),s.crossDomain&&(s.type="GET")}),d.ajaxTransport("script",function(s){if(s.crossDomain||s.scriptAttrs){var f,v;return{send:function(m,A){f=d("<script>").attr(s.scriptAttrs||{}).prop({charset:s.scriptCharset,src:s.url}).on("load error",v=function(E){f.remove(),v=null,E&&A(E.type==="error"?404:200,E.type)}),w.head.appendChild(f[0])},abort:function(){v&&v()}}}});var Th=[],wc=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var s=Th.pop()||d.expando+"_"+Eh.guid++;return this[s]=!0,s}}),d.ajaxPrefilter("json jsonp",function(s,f,v){var m,A,E,k=s.jsonp!==!1&&(wc.test(s.url)?"url":typeof s.data=="string"&&(s.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&wc.test(s.data)&&"data");if(k||s.dataTypes[0]==="jsonp")return m=s.jsonpCallback=_(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,k?s[k]=s[k].replace(wc,"$1"+m):s.jsonp!==!1&&(s.url+=(Ec.test(s.url)?"&":"?")+s.jsonp+"="+m),s.converters["script json"]=function(){return E||d.error(m+" was not called"),E[0]},s.dataTypes[0]="json",A=n[m],n[m]=function(){E=arguments},v.always(function(){A===void 0?d(n).removeProp(m):n[m]=A,s[m]&&(s.jsonpCallback=f.jsonpCallback,Th.push(m)),E&&_(A)&&A(E[0]),E=A=void 0}),"script"}),D.createHTMLDocument=(function(){var s=w.implementation.createHTMLDocument("").body;return s.innerHTML="<form></form><form></form>",s.childNodes.length===2})(),d.parseHTML=function(s,f,v){if(typeof s!="string")return[];typeof f=="boolean"&&(v=f,f=!1);var m,A,E;return f||(D.createHTMLDocument?(f=w.implementation.createHTMLDocument(""),m=f.createElement("base"),m.href=w.location.href,f.head.appendChild(m)):f=w),A=Y.exec(s),E=!v&&[],A?[f.createElement(A[1])]:(A=Do([s],f,E),E&&E.length&&d(E).remove(),d.merge([],A.childNodes))},d.fn.load=function(s,f,v){var m,A,E,k=this,R=s.indexOf(" ");return R>-1&&(m=bu(s.slice(R)),s=s.slice(0,R)),_(f)?(v=f,f=void 0):f&&typeof f=="object"&&(A="POST"),k.length>0&&d.ajax({url:s,type:A||"GET",dataType:"html",data:f}).done(function(j){E=arguments,k.html(m?d("<div>").append(d.parseHTML(j)).find(m):j)}).always(v&&function(j,$){k.each(function(){v.apply(this,E||[j.responseText,$,j])})}),this},d.expr.pseudos.animated=function(s){return d.grep(d.timers,function(f){return s===f.elem}).length},d.offset={setOffset:function(s,f,v){var m,A,E,k,R,j,$,Q=d.css(s,"position"),ne=d(s),V={};Q==="static"&&(s.style.position="relative"),R=ne.offset(),E=d.css(s,"top"),j=d.css(s,"left"),$=(Q==="absolute"||Q==="fixed")&&(E+j).indexOf("auto")>-1,$?(m=ne.position(),k=m.top,A=m.left):(k=parseFloat(E)||0,A=parseFloat(j)||0),_(f)&&(f=f.call(s,v,d.extend({},R))),f.top!=null&&(V.top=f.top-R.top+k),f.left!=null&&(V.left=f.left-R.left+A),"using"in f?f.using.call(s,V):ne.css(V)}},d.fn.extend({offset:function(s){if(arguments.length)return s===void 0?this:this.each(function(A){d.offset.setOffset(this,s,A)});var f,v,m=this[0];if(m)return m.getClientRects().length?(f=m.getBoundingClientRect(),v=m.ownerDocument.defaultView,{top:f.top+v.pageYOffset,left:f.left+v.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var s,f,v,m=this[0],A={top:0,left:0};if(d.css(m,"position")==="fixed")f=m.getBoundingClientRect();else{for(f=this.offset(),v=m.ownerDocument,s=m.offsetParent||v.documentElement;s&&(s===v.body||s===v.documentElement)&&d.css(s,"position")==="static";)s=s.parentNode;s&&s!==m&&s.nodeType===1&&(A=d(s).offset(),A.top+=d.css(s,"borderTopWidth",!0),A.left+=d.css(s,"borderLeftWidth",!0))}return{top:f.top-A.top-d.css(m,"marginTop",!0),left:f.left-A.left-d.css(m,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var s=this.offsetParent;s&&d.css(s,"position")==="static";)s=s.offsetParent;return s||En})}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(s,f){var v=f==="pageYOffset";d.fn[s]=function(m){return Ut(this,function(A,E,k){var R;if(T(A)?R=A:A.nodeType===9&&(R=A.defaultView),k===void 0)return R?R[f]:A[E];R?R.scrollTo(v?R.pageXOffset:k,v?k:R.pageYOffset):A[E]=k},s,m,arguments.length)}}),d.each(["top","left"],function(s,f){d.cssHooks[f]=_n(D.pixelPosition,function(v,m){if(m)return m=dt(v,f),Qu.test(m)?d(v).position()[f]+"px":m})}),d.each({Height:"height",Width:"width"},function(s,f){d.each({padding:"inner"+s,content:f,"":"outer"+s},function(v,m){d.fn[m]=function(A,E){var k=arguments.length&&(v||typeof A!="boolean"),R=v||(A===!0||E===!0?"margin":"border");return Ut(this,function(j,$,Q){var ne;return T(j)?m.indexOf("outer")===0?j["inner"+s]:j.document.documentElement["client"+s]:j.nodeType===9?(ne=j.documentElement,Math.max(j.body["scroll"+s],ne["scroll"+s],j.body["offset"+s],ne["offset"+s],ne["client"+s])):Q===void 0?d.css(j,$,R):d.style(j,$,Q,R)},f,k?A:void 0,k)}})}),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(s,f){d.fn[f]=function(v){return this.on(f,v)}}),d.fn.extend({bind:function(s,f,v){return this.on(s,null,f,v)},unbind:function(s,f){return this.off(s,null,f)},delegate:function(s,f,v,m){return this.on(f,s,v,m)},undelegate:function(s,f,v){return arguments.length===1?this.off(s,"**"):this.off(f,s||"**",v)},hover:function(s,f){return this.on("mouseenter",s).on("mouseleave",f||s)}}),d.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(s,f){d.fn[f]=function(v,m){return arguments.length>0?this.on(f,null,v,m):this.trigger(f)}});var PA=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;d.proxy=function(s,f){var v,m,A;if(typeof f=="string"&&(v=s[f],f=s,s=v),!!_(s))return m=i.call(arguments,2),A=function(){return s.apply(f||this,m.concat(i.call(arguments)))},A.guid=s.guid=s.guid||d.guid++,A},d.holdReady=function(s){s?d.readyWait++:d.ready(!0)},d.isArray=Array.isArray,d.parseJSON=JSON.parse,d.nodeName=N,d.isFunction=_,d.isWindow=T,d.camelCase=Yt,d.type=O,d.now=Date.now,d.isNumeric=function(s){var f=d.type(s);return(f==="number"||f==="string")&&!isNaN(s-parseFloat(s))},d.trim=function(s){return s==null?"":(s+"").replace(PA,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return d});var jA=n.jQuery,NA=n.$;return d.noConflict=function(s){return n.$===d&&(n.$=NA),s&&n.jQuery===d&&(n.jQuery=jA),d},typeof r=="undefined"&&(n.jQuery=n.$=d),d})}}),HA=di(Lh()),ea=e=>e.getBoundingClientRect().height,Rc=()=>{let e=window.innerHeight*.01;document.querySelector("html").setAttribute("style",`--vh:${e}px;`);let t=document.querySelector("header"),n=document.querySelector("footer");if(!t||!n)return;let r=window.innerHeight-ea(t)-ea(n);document.querySelector("main").setAttribute("style",`--mh:${r}px;`)};Rc(),window.onresize=Rc;var pi=()=>{let e=new Date;return e.setTime(e.getTime()+100*365*24*60*60*1e3),`expires=${e.toUTCString()};`},wo=e=>{let t=RegExp(`${e}=.[^;]*`),n=document.cookie.match(t);if(n){let r=n[0].split("=");return decodeURIComponent(r[1])}return!1};(()=>{let e=document.getElementById("topNoticeAlert"),t=window.sessionStorage.getItem("notice"),n=document.getElementById("cookieNoticeAlert"),r="chocolatey_hide_cookies_notice";e&&(t?e.remove():e.classList.remove("d-none"),e.querySelector("button").addEventListener("click",()=>sessionStorage.setItem("notice","true"),!1)),n&&(wo(r)?n.remove():n.classList.remove("d-none"),n.querySelectorAll("button").forEach(u=>{u.addEventListener("click",()=>{~location.hostname.indexOf("chocolatey.org")?document.cookie=`${r}=true; ${pi()}path=/; domain=chocolatey.org;`:document.cookie=`${r}=true; ${pi()}path=/;`},!1)}))})(),(()=>{let e=document.querySelectorAll(".callout"),t=document.querySelectorAll("blockquote"),n=r=>{r.forEach(u=>{let a=u.querySelector(".callout-header");if(u.nodeName==="BLOCKQUOTE"&&u.querySelector("p:first-child")&&u.querySelector("p:first-child").textContent.includes(":choco-")&&(a=u.querySelector("p:first-child")),a){let i="",o="",c=a.textContent;u.classList.contains("callout-success")||c.includes(":choco-success:")?(o="success",i="check",u.classList.add("callout-success")):u.classList.contains("callout-danger")||c.includes(":choco-danger:")?(o="danger",i="xmark",u.classList.add("callout-danger")):u.classList.contains("callout-warning")||c.includes(":choco-warning:")?(o="warning",i="triangle-exclamation",u.classList.add("callout-warning")):u.classList.contains("callout-tip")||c.includes(":choco-tip:")?(o="tip",i="lightbulb",u.classList.add("callout-tip")):(o="info",i="info",u.classList.add("callout-info")),c.includes(":choco-")&&(c=c.replace(/:.+?:/,"").trim());let l=`<div class="callout-header d-flex align-items-center"><span class="flex-shrink-0 text-bg-${o} h-px-30 w-px-30 d-flex align-items-center justify-content-center rounded me-3"><span class="fa-solid fa-${i}"></span></span><p class="lead"><strong>${c}</strong></p></div>`;a.outerHTML=l}})};n(e),n(t)})();var qh=di(Mh());(()=>{let e=new qh.default(".btn-copy"),t=document.querySelectorAll(".user-select-all");e.on("success",n=>{if(n.trigger.classList.contains("copy-to-clipboard-button"))n.trigger.textContent="Copied!",setTimeout(()=>{n.trigger.blur(),setTimeout(()=>{n.trigger.textContent="Copy"},200)},2e3);else{let r=new bootstrap.Button(n.trigger);setTimeout(()=>{r.toggle()},2e3)}n.clearSelection()}),t&&t.forEach(n=>n.addEventListener("click",()=>n.select(),!1))})();var Hh=e=>{e.innerHTML=e.innerHTML.trim()};(()=>{let e=document.querySelectorAll("code"),t=document.querySelectorAll("pre");e.forEach(Hh),(()=>{let r=window.location.href;if(["en-us/choco/commands/","en-us/create/commands/"].some(a=>r.includes(a))){let a=document.querySelectorAll("h2");for(let i of a){let o=i.textContent.trim();if(o==="Examples"||o==="Usage"){let c=i.nextElementSibling;for(;c&&c.tagName!=="H2";){if(c.tagName==="PRE"&&c.firstElementChild&&c.firstElementChild.tagName==="CODE"){let l=c.firstElementChild,p=l.textContent.split(`
|
|
7
|
+
`).map(g=>g.trim());l.textContent=p.join(`
|
|
8
|
+
`)}c=c.nextElementSibling}}}}})();for(let r of t)!r.classList.contains("highlight-delay")&&!r.classList.contains("d-format-none")&&(r.classList.add("line-numbers","language-none"),Prism.highlightAll())})();var ta=e=>e.replace(/[.]/g,"\\$&"),zc=e=>{let t=[],n=e;for(;n!=document;)t.push(n.parentNode),n=n.parentNode;return t};(()=>{let e=()=>{if(location.hash){let u=document.querySelector(ta(location.hash));if(u){let a=u,i=zc(u).filter(o=>o!=document&&o.classList.contains("collapse"));i.length==0&&u.classList.contains("collapse")&&i.push(u),i.reverse().forEach((o,c,l)=>{o=document.getElementById(ta(o.id)),bootstrap.Collapse.getOrCreateInstance(o,{toggle:!1}).show(),o.addEventListener("shown.bs.collapse",p=>{p.stopImmediatePropagation(),c===l.length-1&&a.scrollIntoView()})})}}},t=()=>{if(location.hash){let u=document.querySelector(`[data-bs-toggle="tab"][href="${ta(location.hash)}"]`);if(u){let a=u,i=zc(u).filter(o=>o!=document&&o.classList.contains("tab-pane"));i.push(u),i.reverse().forEach((o,c,l)=>{o.id.includes("-tab")||(o=document.getElementById(`${ta(o.id)}-tab`)),bootstrap.Tab.getOrCreateInstance(o,{toggle:!1}).show(),o.addEventListener("shown.bs.tab",p=>{p.stopImmediatePropagation(),c===l.length-1&&a.scrollIntoView()})})}}};e(),t(),window.addEventListener("hashchange",e,!1),window.addEventListener("hashchange",t,!1);let n=document.querySelectorAll(".btn-collapse-target");n&&n.forEach(u=>{u.addEventListener("click",()=>{let a=document.querySelector(u.getAttribute("data-collapse-target"));bootstrap.Collapse.getOrCreateInstance(a,{toggle:!1}).show()},!1)});let r=u=>{u.addEventListener("click",a=>{history.pushState(null,null,a.target.hash)})};document.querySelectorAll('[data-bs-toggle="tab"]:not(.d-hash-none)').forEach(u=>r(u)),document.querySelectorAll('[data-bs-toggle="collapse"]:not(.d-hash-none)').forEach(u=>r(u))})(),(()=>{let e=document.querySelector(".collapse-lg");if(e){let t=window.matchMedia("(max-width: 1199px)"),n=bootstrap.Collapse.getOrCreateInstance(e,{toggle:!1});e.querySelectorAll("a").forEach(u=>{u.addEventListener("click",()=>{t.matches&&(u.classList.add("active-scroll"),n.hide())},!1)}),e.addEventListener("hidden.bs.collapse",()=>{let u=e.querySelector(".active-scroll");u&&(document.querySelector(ta(u.getAttribute("href"))).scrollIntoView(),u.classList.remove("active-scroll"))});let r=u=>{u.matches?n.hide():n.show()};r(t),t.addEventListener("change",()=>r(t))}})(),(()=>{let e=document.querySelector(".collapse-y-height"),t=document.getElementById("mainContent"),n=r=>{let u=r.getBoundingClientRect();return{left:u.left+window.scrollX,top:u.top+window.scrollY}};if(e&&t){let r=()=>{if(window.innerWidth>=768)if(n(t).top+ea(t)<window.innerHeight){let a=window.innerHeight-ea(document.querySelector("header"))-ea(document.querySelector("footer"));e.style.height=`${a}px`}else e.style.height="";else e.style.height=""};r(),new ResizeObserver(()=>r()).observe(document.body),window.onresize=r}})(),(()=>{let e=document.querySelector("h2.title-child");e&&(document.querySelectorAll("h2")[0].classList.contains("title-child")||e.classList.remove("d-none"))})();function xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _u(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lc(e,t,n,r,u,a,i){try{var o=e[a](i),c=o.value}catch(l){return void n(l)}o.done?t(c):Promise.resolve(c).then(r,u)}function ht(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var a=e.apply(t,n);function i(c){Lc(a,r,u,i,o,"next",c)}function o(c){Lc(a,r,u,i,o,"throw",c)}i(void 0)})}}function tu(e,t,n){return t=na(t),(function(r,u){if(u&&(typeof u=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _u(r)})(e,So()?Reflect.construct(t,n||[],na(e).constructor):t.apply(e,n))}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zc(r.key),r)}}function qn(e,t,n){return t&&Mc(e.prototype,t),n&&Mc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cu(e,t){var n=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Oo(e))||t){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
9
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return i=c.done,c},e:function(c){o=!0,a=c},f:function(){try{i||n.return==null||n.return()}finally{if(o)throw a}}}}function Hn(e,t,n){return(t=Zc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},na(e)}function nu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ra(e,t)}function So(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(So=function(){return!!e})()}function $c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$c(Object(n),!0).forEach(function(r){Hn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$c(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function xr(e,t){if(e==null)return{};var n,r,u=(function(i,o){if(i==null)return{};var c={};for(var l in i)if({}.hasOwnProperty.call(i,l)){if(o.indexOf(l)!==-1)continue;c[l]=i[l]}return c})(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}function Te(){var e,t,n=typeof Symbol=="function"?Symbol:{},r=n.iterator||"@@iterator",u=n.toStringTag||"@@toStringTag";function a(y,F,D,_){var T=F&&F.prototype instanceof o?F:o,w=Object.create(T.prototype);return kn(w,"_invoke",(function(S,x,O){var I,B,d,q=0,N=O||[],Z=!1,z={p:0,n:0,v:e,a:H,f:H.bind(e,4),d:function(L,K){return I=L,B=0,d=e,z.n=K,i}};function H(L,K){for(B=L,d=K,t=0;!Z&&q&&!J&&t<N.length;t++){var J,W=N[t],ee=z.p,ue=W[2];L>3?(J=ue===K)&&(d=W[(B=W[4])?5:(B=3,3)],W[4]=W[5]=e):W[0]<=ee&&((J=L<2&&ee<W[1])?(B=0,z.v=K,z.n=W[1]):ee<ue&&(J=L<3||W[0]>K||K>ue)&&(W[4]=L,W[5]=K,z.n=ue,B=0))}if(J||L>1)return i;throw Z=!0,K}return function(L,K,J){if(q>1)throw TypeError("Generator is already running");for(Z&&K===1&&H(K,J),B=K,d=J;(t=B<2?e:d)||!Z;){I||(B?B<3?(B>1&&(z.n=-1),H(B,d)):z.n=d:z.v=d);try{if(q=2,I){if(B||(L="next"),t=I[L]){if(!(t=t.call(I,d)))throw TypeError("iterator result is not an object");if(!t.done)return t;d=t.value,B<2&&(B=0)}else B===1&&(t=I.return)&&t.call(I),B<2&&(d=TypeError("The iterator does not provide a '"+L+"' method"),B=1);I=e}else if((t=(Z=z.n<0)?d:S.call(x,z))!==i)break}catch(W){I=e,B=1,d=W}finally{q=1}}return{value:t,done:Z}}})(y,D,_),!0),w}var i={};function o(){}function c(){}function l(){}t=Object.getPrototypeOf;var h=[][r]?t(t([][r]())):(kn(t={},r,function(){return this}),t),p=l.prototype=o.prototype=Object.create(h);function g(y){return Object.setPrototypeOf?Object.setPrototypeOf(y,l):(y.__proto__=l,kn(y,u,"GeneratorFunction")),y.prototype=Object.create(p),y}return c.prototype=l,kn(p,"constructor",l),kn(l,"constructor",c),c.displayName="GeneratorFunction",kn(l,u,"GeneratorFunction"),kn(p),kn(p,u,"Generator"),kn(p,r,function(){return this}),kn(p,"toString",function(){return"[object Generator]"}),(Te=function(){return{w:a,m:g}})()}function kn(e,t,n,r){var u=Object.defineProperty;try{u({},"",{})}catch(a){u=0}kn=function(a,i,o,c){function l(h,p){kn(a,h,function(g){return this._invoke(h,p,g)})}i?u?u(a,i,{value:o,enumerable:!c,configurable:!c,writable:!c}):a[i]=o:(l("next",0),l("throw",1),l("return",2))},kn(e,t,n,r)}function ra(e,t){return ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ra(e,t)}function To(e,t){return(function(n){if(Array.isArray(n))return n})(e)||(function(n,r){var u=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(u!=null){var a,i,o,c,l=[],h=!0,p=!1;try{if(o=(u=u.call(n)).next,r!==0)for(;!(h=(a=o.call(u)).done)&&(l.push(a.value),l.length!==r);h=!0);}catch(g){p=!0,i=g}finally{try{if(!h&&u.return!=null&&(c=u.return(),Object(c)!==c))return}finally{if(p)throw i}}return l}})(e,t)||Oo(e,t)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
10
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Ke(e){return(function(t){if(Array.isArray(t))return xo(t)})(e)||(function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||Oo(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
11
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Zc(e){var t=(function(n,r){if(typeof n!="object"||!n)return n;var u=n[Symbol.toPrimitive];if(u!==void 0){var a=u.call(n,r||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)})(e,"string");return typeof t=="symbol"?t:t+""}function Ce(e){return Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ce(e)}function Oo(e,t){if(e){if(typeof e=="string")return xo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xo(e,t):void 0}}function Io(e){var t=typeof Map=="function"?new Map:void 0;return Io=function(n){if(n===null||!(function(u){try{return Function.toString.call(u).indexOf("[native code]")!==-1}catch(a){return typeof u=="function"}})(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return(function(u,a,i){if(So())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,a);var c=new(u.bind.apply(u,o));return i&&ra(c,i.prototype),c})(n,arguments,na(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ra(r,n)},Io(e)}var ua,Qe,qc,ru,Hc,Uc,Vc,Wc,Bo,Po,jo,Gc,aa={},Jc=[],Uh=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ia=Array.isArray;function er(e,t){for(var n in t)e[n]=t[n];return e}function No(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function wn(e,t,n){var r,u,a,i={};for(a in t)a=="key"?r=t[a]:a=="ref"?u=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?ua.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return oa(e,i,r,u,null)}function oa(e,t,n,r,u){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:u==null?++qc:u,__i:-1,__u:0};return u==null&&Qe.vnode!=null&&Qe.vnode(a),a}function tr(e){return e.children}function nr(e,t){this.props=e,this.context=t}function ku(e,t){if(t==null)return e.__?ku(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?ku(e):null}function Kc(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Kc(e)}}function Ro(e){(!e.__d&&(e.__d=!0)&&ru.push(e)&&!hi.__r++||Hc!=Qe.debounceRendering)&&((Hc=Qe.debounceRendering)||Uc)(hi)}function hi(){for(var e,t,n,r,u,a,i,o=1;ru.length;)ru.length>o&&ru.sort(Vc),e=ru.shift(),o=ru.length,e.__d&&(n=void 0,r=void 0,u=(r=(t=e).__v).__e,a=[],i=[],t.__P&&((n=er({},r)).__v=r.__v+1,Qe.vnode&&Qe.vnode(n),zo(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[u]:null,a,u==null?ku(r):u,!!(32&r.__u),i),n.__v=r.__v,n.__.__k[n.__i]=n,tl(a,n,i),r.__e=r.__=null,n.__e!=u&&Kc(n)));hi.__r=0}function Qc(e,t,n,r,u,a,i,o,c,l,h){var p,g,y,F,D,_,T,w=r&&r.__k||Jc,S=t.length;for(c=(function(x,O,I,B,d){var q,N,Z,z,H,L=I.length,K=L,J=0;for(x.__k=new Array(d),q=0;q<d;q++)(N=O[q])!=null&&typeof N!="boolean"&&typeof N!="function"?(z=q+J,(N=x.__k[q]=typeof N=="string"||typeof N=="number"||typeof N=="bigint"||N.constructor==String?oa(null,N,null,null,null):ia(N)?oa(tr,{children:N},null,null,null):N.constructor==null&&N.__b>0?oa(N.type,N.props,N.key,N.ref?N.ref:null,N.__v):N).__=x,N.__b=x.__b+1,Z=null,(H=N.__i=Vh(N,I,z,K))!=-1&&(K--,(Z=I[H])&&(Z.__u|=2)),Z==null||Z.__v==null?(H==-1&&(d>L?J--:d<L&&J++),typeof N.type!="function"&&(N.__u|=4)):H!=z&&(H==z-1?J--:H==z+1?J++:(H>z?J--:J++,N.__u|=4))):x.__k[q]=null;if(K)for(q=0;q<L;q++)(Z=I[q])!=null&&!(2&Z.__u)&&(Z.__e==B&&(B=ku(Z)),rl(Z,Z));return B})(n,t,w,c,S),p=0;p<S;p++)(y=n.__k[p])!=null&&(g=y.__i==-1?aa:w[y.__i]||aa,y.__i=p,_=zo(e,y,g,u,a,i,o,c,l,h),F=y.__e,y.ref&&g.ref!=y.ref&&(g.ref&&Mo(g.ref,null,y),h.push(y.ref,y.__c||F,y)),D==null&&F!=null&&(D=F),(T=!!(4&y.__u))||g.__k===y.__k?c=Yc(y,c,e,T):typeof y.type=="function"&&_!==void 0?c=_:F&&(c=F.nextSibling),y.__u&=-7);return n.__e=D,c}function Yc(e,t,n,r){var u,a;if(typeof e.type=="function"){for(u=e.__k,a=0;u&&a<u.length;a++)u[a]&&(u[a].__=e,t=Yc(u[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=ku(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Dr(e,t){return t=t||[],e==null||typeof e=="boolean"||(ia(e)?e.some(function(n){Dr(n,t)}):t.push(e)),t}function Vh(e,t,n,r){var u,a,i,o=e.key,c=e.type,l=t[n],h=l!=null&&!(2&l.__u);if(l===null&&e.key==null||h&&o==l.key&&c==l.type)return n;if(r>(h?1:0)){for(u=n-1,a=n+1;u>=0||a<t.length;)if((l=t[i=u>=0?u--:a++])!=null&&!(2&l.__u)&&o==l.key&&c==l.type)return i}return-1}function Xc(e,t,n){t[0]=="-"?e.setProperty(t,n==null?"":n):e[t]=n==null?"":typeof n!="number"||Uh.test(t)?n:n+"px"}function vi(e,t,n,r,u){var a,i;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Xc(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Xc(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(Wc,"$1")),i=t.toLowerCase(),t=i in e||t=="onFocusOut"||t=="onFocusIn"?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n.u=r.u:(n.u=Bo,e.addEventListener(t,a?jo:Po,a)):e.removeEventListener(t,a?jo:Po,a);else{if(u=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n==null?"":n;break e}catch(o){}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function el(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Bo++;else if(t.t<n.u)return;return n(Qe.event?Qe.event(t):t)}}}function zo(e,t,n,r,u,a,i,o,c,l){var h,p,g,y,F,D,_,T,w,S,x,O,I,B,d,q,N,Z=t.type;if(t.constructor!=null)return null;128&n.__u&&(c=!!(32&n.__u),a=[o=t.__e=n.__e]),(h=Qe.__b)&&h(t);e:if(typeof Z=="function")try{if(T=t.props,w="prototype"in Z&&Z.prototype.render,S=(h=Z.contextType)&&r[h.__c],x=h?S?S.props.value:h.__:r,n.__c?_=(p=t.__c=n.__c).__=p.__E:(w?t.__c=p=new Z(T,x):(t.__c=p=new nr(T,x),p.constructor=Z,p.render=Wh),S&&S.sub(p),p.props=T,p.state||(p.state={}),p.context=x,p.__n=r,g=p.__d=!0,p.__h=[],p._sb=[]),w&&p.__s==null&&(p.__s=p.state),w&&Z.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=er({},p.__s)),er(p.__s,Z.getDerivedStateFromProps(T,p.__s))),y=p.props,F=p.state,p.__v=t,g)w&&Z.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),w&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(w&&Z.getDerivedStateFromProps==null&&T!==y&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(T,x),!p.__e&&p.shouldComponentUpdate!=null&&p.shouldComponentUpdate(T,p.__s,x)===!1||t.__v==n.__v){for(t.__v!=n.__v&&(p.props=T,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(z){z&&(z.__=t)}),O=0;O<p._sb.length;O++)p.__h.push(p._sb[O]);p._sb=[],p.__h.length&&i.push(p);break e}p.componentWillUpdate!=null&&p.componentWillUpdate(T,p.__s,x),w&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(y,F,D)})}if(p.context=x,p.props=T,p.__P=e,p.__e=!1,I=Qe.__r,B=0,w){for(p.state=p.__s,p.__d=!1,I&&I(t),h=p.render(p.props,p.state,p.context),d=0;d<p._sb.length;d++)p.__h.push(p._sb[d]);p._sb=[]}else do p.__d=!1,I&&I(t),h=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++B<25);p.state=p.__s,p.getChildContext!=null&&(r=er(er({},r),p.getChildContext())),w&&!g&&p.getSnapshotBeforeUpdate!=null&&(D=p.getSnapshotBeforeUpdate(y,F)),q=h,h!=null&&h.type===tr&&h.key==null&&(q=nl(h.props.children)),o=Qc(e,ia(q)?q:[q],t,n,r,u,a,i,o,c,l),p.base=t.__e,t.__u&=-161,p.__h.length&&i.push(p),_&&(p.__E=p.__=null)}catch(z){if(t.__v=null,c||a!=null)if(z.then){for(t.__u|=c?160:128;o&&o.nodeType==8&&o.nextSibling;)o=o.nextSibling;a[a.indexOf(o)]=null,t.__e=o}else{for(N=a.length;N--;)No(a[N]);Lo(t)}else t.__e=n.__e,t.__k=n.__k,z.then||Lo(t);Qe.__e(z,t,n)}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):o=t.__e=(function(z,H,L,K,J,W,ee,ue,ye){var oe,ae,Y,ie,re,de,pe,ve=L.props,ke=H.props,ze=H.type;if(ze=="svg"?J="http://www.w3.org/2000/svg":ze=="math"?J="http://www.w3.org/1998/Math/MathML":J||(J="http://www.w3.org/1999/xhtml"),W!=null){for(oe=0;oe<W.length;oe++)if((re=W[oe])&&"setAttribute"in re==!!ze&&(ze?re.localName==ze:re.nodeType==3)){z=re,W[oe]=null;break}}if(z==null){if(ze==null)return document.createTextNode(ke);z=document.createElementNS(J,ze,ke.is&&ke),ue&&(Qe.__m&&Qe.__m(H,W),ue=!1),W=null}if(ze==null)ve===ke||ue&&z.data==ke||(z.data=ke);else{if(W=W&&ua.call(z.childNodes),ve=L.props||aa,!ue&&W!=null)for(ve={},oe=0;oe<z.attributes.length;oe++)ve[(re=z.attributes[oe]).name]=re.value;for(oe in ve)if(re=ve[oe],oe!="children"){if(oe=="dangerouslySetInnerHTML")Y=re;else if(!(oe in ke)){if(oe=="value"&&"defaultValue"in ke||oe=="checked"&&"defaultChecked"in ke)continue;vi(z,oe,null,re,J)}}for(oe in ke)re=ke[oe],oe=="children"?ie=re:oe=="dangerouslySetInnerHTML"?ae=re:oe=="value"?de=re:oe=="checked"?pe=re:ue&&typeof re!="function"||ve[oe]===re||vi(z,oe,re,ve[oe],J);if(ae)ue||Y&&(ae.__html==Y.__html||ae.__html==z.innerHTML)||(z.innerHTML=ae.__html),H.__k=[];else if(Y&&(z.innerHTML=""),Qc(H.type=="template"?z.content:z,ia(ie)?ie:[ie],H,L,K,ze=="foreignObject"?"http://www.w3.org/1999/xhtml":J,W,ee,W?W[0]:L.__k&&ku(L,0),ue,ye),W!=null)for(oe=W.length;oe--;)No(W[oe]);ue||(oe="value",ze=="progress"&&de==null?z.removeAttribute("value"):de!=null&&(de!==z[oe]||ze=="progress"&&!de||ze=="option"&&de!=ve[oe])&&vi(z,oe,de,ve[oe],J),oe="checked",pe!=null&&pe!=z[oe]&&vi(z,oe,pe,ve[oe],J))}return z})(n.__e,t,n,r,u,a,i,c,l);return(h=Qe.diffed)&&h(t),128&t.__u?void 0:o}function Lo(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Lo)}function tl(e,t,n){for(var r=0;r<n.length;r++)Mo(n[r],n[++r],n[++r]);Qe.__c&&Qe.__c(t,e),e.some(function(u){try{e=u.__h,u.__h=[],e.some(function(a){a.call(u)})}catch(a){Qe.__e(a,u.__v)}})}function nl(e){return Ce(e)!="object"||e==null||e.__b&&e.__b>0?e:ia(e)?e.map(nl):er({},e)}function Mo(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(u){Qe.__e(u,n)}}function rl(e,t,n){var r,u;if(Qe.unmount&&Qe.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Mo(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){Qe.__e(a,t)}r.base=r.__P=null}if(r=e.__k)for(u=0;u<r.length;u++)r[u]&&rl(r[u],t,n||typeof e.type!="function");n||No(e.__e),e.__c=e.__=e.__e=void 0}function Wh(e,t,n){return this.constructor(e,n)}function sa(e,t,n){var r,u,a,i;t==document&&(t=document.documentElement),Qe.__&&Qe.__(e,t),u=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],i=[],zo(t,e=(!r&&n||t).__k=wn(tr,null,[e]),u||aa,aa,t.namespaceURI,!r&&n?[n]:u?null:t.firstChild?ua.call(t.childNodes):null,a,!r&&n?n:u?u.__e:t.firstChild,r,i),tl(a,e,i)}function ul(e,t){sa(e,t,ul)}function Gh(e,t,n){var r,u,a,i,o=er({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?u=t[a]:o[a]=t[a]===void 0&&i!=null?i[a]:t[a];return arguments.length>2&&(o.children=arguments.length>3?ua.call(arguments,2):n),oa(e.type,o,r||e.key,u||e.ref,null)}ua=Jc.slice,Qe={__e:function(e,t,n,r){for(var u,a,i;t=t.__;)if((u=t.__c)&&!u.__)try{if((a=u.constructor)&&a.getDerivedStateFromError!=null&&(u.setState(a.getDerivedStateFromError(e)),i=u.__d),u.componentDidCatch!=null&&(u.componentDidCatch(e,r||{}),i=u.__d),i)return u.__E=u}catch(o){e=o}throw e}},qc=0,nr.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=er({},this.state),typeof e=="function"&&(e=e(er({},n),this.props)),e&&er(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ro(this))},nr.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ro(this))},nr.prototype.render=tr,ru=[],Uc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vc=function(e,t){return e.__v.__b-t.__v.__b},hi.__r=0,Wc=/(PointerCapture)$|Capture$/i,Bo=0,Po=el(!1),jo=el(!0),Gc=0;var Sr,Et,$o,al,wu=0,il=[],Tt=Qe,ol=Tt.__b,sl=Tt.__r,cl=Tt.diffed,ll=Tt.__c,fl=Tt.unmount,dl=Tt.__;function xu(e,t){Tt.__h&&Tt.__h(Et,e,wu||t),wu=0;var n=Et.__H||(Et.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function uu(e){return wu=1,Zo(yl,e)}function Zo(e,t,n){var r=xu(Sr++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):yl(void 0,t),function(o){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,o);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=Et,!Et.__f)){var u=function(o,c,l){if(!r.__c.__H)return!0;var h=r.__c.__H.__.filter(function(g){return!!g.__c});if(h.every(function(g){return!g.__N}))return!a||a.call(this,o,c,l);var p=r.__c.props!==o;return h.forEach(function(g){if(g.__N){var y=g.__[0];g.__=g.__N,g.__N=void 0,y!==g.__[0]&&(p=!0)}}),a&&a.call(this,o,c,l)||p};Et.__f=!0;var a=Et.shouldComponentUpdate,i=Et.componentWillUpdate;Et.componentWillUpdate=function(o,c,l){if(this.__e){var h=a;a=void 0,u(o,c,l),a=h}i&&i.call(this,o,c,l)},Et.shouldComponentUpdate=u}return r.__N||r.__}function Un(e,t){var n=xu(Sr++,3);!Tt.__s&&Ho(n.__H,t)&&(n.__=e,n.u=t,Et.__H.__h.push(n))}function ca(e,t){var n=xu(Sr++,4);!Tt.__s&&Ho(n.__H,t)&&(n.__=e,n.u=t,Et.__h.push(n))}function Su(e){return wu=5,Vn(function(){return{current:e}},[])}function pl(e,t,n){wu=6,ca(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function Vn(e,t){var n=xu(Sr++,7);return Ho(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function la(e,t){return wu=8,Vn(function(){return e},t)}function hl(e){var t=Et.context[e.__c],n=xu(Sr++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Et)),t.props.value):e.__}function vl(e,t){Tt.useDebugValue&&Tt.useDebugValue(t?t(e):e)}function ml(){var e=xu(Sr++,11);if(!e.__){for(var t=Et.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Jh(){for(var e;e=il.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(mi),e.__H.__h.forEach(qo),e.__H.__h=[]}catch(t){e.__H.__h=[],Tt.__e(t,e.__v)}}Tt.__b=function(e){Et=null,ol&&ol(e)},Tt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),dl&&dl(e,t)},Tt.__r=function(e){sl&&sl(e),Sr=0;var t=(Et=e.__c).__H;t&&($o===Et?(t.__h=[],Et.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(mi),t.__h.forEach(qo),t.__h=[],Sr=0)),$o=Et},Tt.diffed=function(e){cl&&cl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(il.push(t)!==1&&al===Tt.requestAnimationFrame||((al=Tt.requestAnimationFrame)||Kh)(Jh)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),$o=Et=null},Tt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(mi),n.__h=n.__h.filter(function(r){return!r.__||qo(r)})}catch(r){t.some(function(u){u.__h&&(u.__h=[])}),t=[],Tt.__e(r,n.__v)}}),ll&&ll(e,t)},Tt.unmount=function(e){fl&&fl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{mi(r)}catch(u){t=u}}),n.__H=void 0,t&&Tt.__e(t,n.__v))};var gl=typeof requestAnimationFrame=="function";function Kh(e){var t,n=function(){clearTimeout(r),gl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);gl&&(t=requestAnimationFrame(n))}function mi(e){var t=Et,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Et=t}function qo(e){var t=Et;e.__c=e.__(),Et=t}function Ho(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function yl(e,t){return typeof t=="function"?t(e):t}function Dl(e,t){for(var n in t)e[n]=t[n];return e}function Uo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function fa(e,t){var n=t(),r=uu({t:{__:n,u:t}}),u=r[0].t,a=r[1];return ca(function(){u.__=n,u.u=t,Vo(u)&&a({t:u})},[e,n,t]),Un(function(){return Vo(u)&&a({t:u}),e(function(){Vo(u)&&a({t:u})})},[e]),n}function Vo(e){var t,n,r=e.u,u=e.__;try{var a=r();return!((t=u)===(n=a)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch(i){return!0}}function bl(e){e()}function Al(e){return e}function El(){return[!1,bl]}var Fl=ca;function Wo(e,t){this.props=e,this.context=t}function _l(e,t){function n(u){var a=this.props.ref,i=a==u.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,u)||!i:Uo(this.props,u)}function r(u){return this.shouldComponentUpdate=n,wn(e,u)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(Wo.prototype=new nr).isPureReactComponent=!0,Wo.prototype.shouldComponentUpdate=function(e,t){return Uo(this.props,e)||Uo(this.state,t)};var Cl=Qe.__b;Qe.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Cl&&Cl(e)};var Qh=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,kl=function(e,t){return e==null?null:Dr(Dr(e).map(t))},Yh={map:kl,forEach:kl,count:function(e){return e?Dr(e).length:0},only:function(e){var t=Dr(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Dr},Xh=Qe.__e;Qe.__e=function(e,t,n,r){if(e.then){for(var u,a=t;a=a.__;)if((u=a.__c)&&u.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),u.__c(e,t)}Xh(e,t,n,r)};var wl=Qe.unmount;function xl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Dl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return xl(r,t,n)})),e}function Sl(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Sl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function gi(){this.__u=0,this.o=null,this.__b=null}function Tl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function da(){this.i=null,this.l=null}Qe.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),wl&&wl(e)},(gi.prototype=new nr).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var u=Tl(r.__v),a=!1,i=function(){a||(a=!0,n.__R=null,u?u(o):o())};n.__R=i;var o=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Sl(c,c.__c.__P,c.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.o.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},gi.prototype.componentWillUnmount=function(){this.o=[]},gi.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=xl(this.__b,n,r.__O=r.__P)}this.__b=null}var u=t.__a&&wn(tr,null,e.fallback);return u&&(u.__u&=-33),[wn(tr,null,t.__a?null:e.children),u]};var Ol=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function ev(e){return this.getChildContext=function(){return e.context},e.children}function tv(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){sa(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},insertBefore:function(u,a){this.childNodes.push(u),t.h.insertBefore(u,a)},removeChild:function(u){this.childNodes.splice(this.childNodes.indexOf(u)>>>1,1),t.h.removeChild(u)}}}sa(wn(ev,{context:t.context},e.__v),t.v)}function Il(e,t){var n=wn(tv,{__v:e,h:t});return n.containerInfo=t,n}(da.prototype=new nr).__a=function(e){var t=this,n=Tl(t.__v),r=t.l.get(e);return r[0]++,function(u){var a=function(){t.props.revealOrder?(r.push(u),Ol(t,e,r)):u()};n?n(a):a()}},da.prototype.render=function(e){this.i=null,this.l=new Map;var t=Dr(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},da.prototype.componentDidUpdate=da.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Ol(e,n,t)})};var Bl=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,nv=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,rv=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,uv=/[A-Z0-9]/g,av=typeof document!="undefined",iv=function(e){return(typeof Symbol!="undefined"&&Ce(Symbol())=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Pl(e,t,n){return t.__k==null&&(t.textContent=""),sa(e,t),typeof n=="function"&&n(),e?e.__c:null}nr.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(nr.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jl=Qe.event;function ov(){}function sv(){return this.cancelBubble}function cv(){return this.defaultPrevented}Qe.event=function(e){return jl&&(e=jl(e)),e.persist=ov,e.isPropagationStopped=sv,e.isDefaultPrevented=cv,e.nativeEvent=e};var Go,lv={enumerable:!1,configurable:!0,get:function(){return this.class}},Nl=Qe.vnode;Qe.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,r=t.type,u={},a=r.indexOf("-")===-1;for(var i in n){var o=n[i];if(!(i==="value"&&"defaultValue"in n&&o==null||av&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&o===!0?o="":c==="translate"&&o==="no"?o=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||iv(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":rv.test(i)&&(i=c):c=i="oninput":a&&nv.test(i)?i=i.replace(uv,"-$&").toLowerCase():o===null&&(o=void 0),c==="oninput"&&u[i=c]&&(i="oninputCapture"),u[i]=o}}r=="select"&&u.multiple&&Array.isArray(u.value)&&(u.value=Dr(n.children).forEach(function(l){l.props.selected=u.value.indexOf(l.props.value)!=-1})),r=="select"&&u.defaultValue!=null&&(u.value=Dr(n.children).forEach(function(l){l.props.selected=u.multiple?u.defaultValue.indexOf(l.props.value)!=-1:u.defaultValue==l.props.value})),n.class&&!n.className?(u.class=n.class,Object.defineProperty(u,"className",lv)):(n.className&&!n.class||n.class&&n.className)&&(u.class=u.className=n.className),t.props=u})(e),e.$$typeof=Bl,Nl&&Nl(e)};var Rl=Qe.__r;Qe.__r=function(e){Rl&&Rl(e),Go=e.__c};var zl=Qe.diffed;Qe.diffed=function(e){zl&&zl(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Go=null};var fv={ReactCurrentDispatcher:{current:{readContext:function(e){return Go.__n[e.__c].props.value},useCallback:la,useContext:hl,useDebugValue:vl,useDeferredValue:Al,useEffect:Un,useId:ml,useImperativeHandle:pl,useInsertionEffect:Fl,useLayoutEffect:ca,useMemo:Vn,useReducer:Zo,useRef:Su,useState:uu,useSyncExternalStore:fa,useTransition:El}}};function pa(e){return!!e&&e.$$typeof===Bl}function Ll(e){return!!e.__k&&(sa(null,e),!0)}var b={useState:uu,useId:ml,useReducer:Zo,useEffect:Un,useLayoutEffect:ca,useInsertionEffect:Fl,useTransition:El,useDeferredValue:Al,useSyncExternalStore:fa,startTransition:bl,useRef:Su,useImperativeHandle:pl,useMemo:Vn,useCallback:la,useContext:hl,useDebugValue:vl,version:"18.3.1",Children:Yh,render:Pl,hydrate:function(e,t,n){return ul(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:Ll,createPortal:Il,createElement:wn,createContext:function(e){function t(n){var r,u;return this.getChildContext||(r=new Set,(u={})[t.__c]=this,this.getChildContext=function(){return u},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(a){this.props.value!=a.value&&r.forEach(function(i){i.__e=!0,Ro(i)})},this.sub=function(a){r.add(a);var i=a.componentWillUnmount;a.componentWillUnmount=function(){r&&r.delete(a),i&&i.call(a)}}),n.children}return t.__c="__cC"+Gc++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t},createFactory:function(e){return wn.bind(null,e)},cloneElement:function(e){return pa(e)?Gh.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:tr,isValidElement:pa,isElement:pa,isFragment:function(e){return pa(e)&&e.type===tr},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:nr,PureComponent:Wo,memo:_l,forwardRef:function(e){function t(n){var r=Dl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Qh,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:tr,Suspense:gi,SuspenseList:da,lazy:function(e){var t,n,r;function u(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return wn(n,a)}return u.displayName="Lazy",u.__f=!0,u},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:fv};function Ml(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dv(e,t,n){return(t=(function(r){var u=(function(a){if(Ce(a)!="object"||!a)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ce(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ce(u)=="symbol"?u:u+""})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Zl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$l(Object(n),!0).forEach(function(r){dv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$l(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ha(e,t){return(function(n){if(Array.isArray(n))return n})(e)||(function(n,r){var u=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(u!=null){var a,i,o,c,l=[],h=!0,p=!1;try{if(o=(u=u.call(n)).next,r!==0)for(;!(h=(a=o.call(u)).done)&&(l.push(a.value),l.length!==r);h=!0);}catch(g){p=!0,i=g}finally{try{if(!h&&u.return!=null&&(c=u.return(),Object(c)!==c))return}finally{if(p)throw i}}return l}})(e,t)||(function(n,r){if(n){if(typeof n=="string")return Ml(n,r);var u={}.toString.call(n).slice(8,-1);return u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set"?Array.from(n):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?Ml(n,r):void 0}})(e,t)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
12
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}var ql={"Ctrl/Cmd+K":!0,"/":!0,"Ctrl/Cmd+I":!0};function pv(e){return Zl(Zl({},ql),e)}function hv(e){var t=e.isOpen,n=e.isAskAiActive,r=e.onAskAiToggle,u=e.onClose,a=e.onOpen,i=e.onInput,o=e.searchButtonRef,c=e.keyboardShortcuts,l=c===void 0?ql:c;b.useEffect(function(){function h(p){var g;if(t&&p.code==="Escape"&&n)r(!1);else{var y=l["Ctrl/Cmd+K"]&&((g=p.key)===null||g===void 0?void 0:g.toLowerCase())==="k"&&(p.metaKey||p.ctrlKey),F=l["/"]&&p.key==="/";if(p.code==="Escape"&&t||y||!(function(D){var _=D.composedPath()[0],T=_.tagName;return _.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"})(p)&&F&&!t)return p.preventDefault(),void(t?u():document.body.classList.contains("DocSearch--active")||a());o&&o.current===document.activeElement&&i&&/[a-zA-Z0-9]/.test(String.fromCharCode(p.keyCode))&&i(p)}}return window.addEventListener("keydown",h),function(){window.removeEventListener("keydown",h)}},[t,n,o,l,a,u,i,r])}var vv=["children","theme"],Jo=b.createContext(void 0);function Hl(e){var t=e.children,n=e.theme,r=(function(z,H){if(z==null)return{};var L,K,J=(function(ee,ue){if(ee==null)return{};var ye={};for(var oe in ee)if({}.hasOwnProperty.call(ee,oe)){if(ue.indexOf(oe)!==-1)continue;ye[oe]=ee[oe]}return ye})(z,H);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(z);for(K=0;K<W.length;K++)L=W[K],H.indexOf(L)===-1&&{}.propertyIsEnumerable.call(z,L)&&(J[L]=z[L])}return J})(e,vv),u=ha(b.useState("ready"),2),a=u[0],i=u[1],o=ha(b.useState(r.initialQuery||""),2),c=o[0],l=o[1],h=b.useRef(null),p=pv(r.keyboardShortcuts),g=ha(b.useState(),2),y=g[0],F=g[1],D=ha(b.useState(function(){return new Set}),2),_=D[0],T=D[1],w=(function(){var z=ha(b.useState(!1),2),H=z[0],L=z[1];return b.useEffect(function(){var K=function(){var J=window.matchMedia("(max-width: 768px)");L(J.matches)};return K(),window.addEventListener("resize",K),function(){window.removeEventListener("resize",K)}},[]),H})(),S=["modal-search","modal-askai"].includes(a),x=a==="modal-askai",O=_.has("sidepanel"),I=b.useCallback(function(){i("modal-search")},[]),B=b.useCallback(function(){var z;i("ready"),l((z=r.initialQuery)!==null&&z!==void 0?z:"")},[i,r.initialQuery]),d=b.useCallback(function(z,H){if(!w&&z&&O)return F(H),void i("sidepanel");i(z?"modal-askai":"modal-search")},[i,w,O]),q=b.useCallback(function(z){i("modal-search"),l(z.key)},[i,l]),N=b.useCallback(function(z){_.has(z)||T(function(H){var L=new Set(H);return L.add(z),L})},[_]);(function(z){var H=z.theme;Un(function(){if(H){var L=document.documentElement.dataset.theme;if(H!==L)return document.documentElement.dataset.theme=H,function(){L===void 0?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=L}}},[H])})({theme:n}),hv({isOpen:S,onOpen:I,onClose:B,onAskAiToggle:d,onInput:q,isAskAiActive:x,searchButtonRef:h,keyboardShortcuts:p});var Z=b.useMemo(function(){return{docsearchState:a,setDocsearchState:i,searchButtonRef:h,initialQuery:c,keyboardShortcuts:p,openModal:I,closeModal:B,isAskAiActive:x,isModalActive:S,onAskAiToggle:d,initialAskAiMessage:y,registerView:N,isHybridModeSupported:O}},[a,h,c,p,I,B,x,S,d,y,N,O]);return b.createElement(Jo.Provider,{value:Z},t)}function mv(){var e=b.useContext(Jo);if(e===void 0)throw new Error("`useDocSearch` must be used within the `DocSearch` provider");return e}Jo.displayName="DocSearchContext",Hl.displayName="DocSearch";var gv=["type"],yv=["type"],Dv=["additionalProperties"],bv=["abortSignal"],Av=["messageId"],Ev=["messages"],Fv=["experimental_throttle","resume"];function Ko(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ul(e,t,n,r,u,a,i){try{var o=e[a](i),c=o.value}catch(l){return void n(l)}o.done?t(c):Promise.resolve(c).then(r,u)}function Xe(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var a=e.apply(t,n);function i(c){Ul(a,r,u,i,o,"next",c)}function o(c){Ul(a,r,u,i,o,"throw",c)}i(void 0)})}}function Ze(e,t,n){return t=va(t),(function(r,u){if(u&&(Ce(u)=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a})(r)})(e,Qo()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function Ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vl(e,t,n){if(Qo())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var u=new(e.bind.apply(e,r));return n&&Tu(u,n.prototype),u}function Wl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jl(r.key),r)}}function Be(e,t,n){return t&&Wl(e.prototype,t),n&&Wl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function me(e,t){var n=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Yo(e))||t){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
13
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return i=c.done,c},e:function(c){o=!0,a=c},f:function(){try{i||n.return==null||n.return()}finally{if(o)throw a}}}}function it(e,t,n){return(t=Jl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(null,arguments)}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},va(e)}function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tu(e,t)}function Qo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qo=function(){return!!e})()}function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gl(Object(n),!0).forEach(function(r){it(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function on(e,t){if(e==null)return{};var n,r,u=(function(i,o){if(i==null)return{};var c={};for(var l in i)if({}.hasOwnProperty.call(i,l)){if(o.indexOf(l)!==-1)continue;c[l]=i[l]}return c})(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}function be(){var e,t,n=typeof Symbol=="function"?Symbol:{},r=n.iterator||"@@iterator",u=n.toStringTag||"@@toStringTag";function a(y,F,D,_){var T=F&&F.prototype instanceof o?F:o,w=Object.create(T.prototype);return xn(w,"_invoke",(function(S,x,O){var I,B,d,q=0,N=O||[],Z=!1,z={p:0,n:0,v:e,a:H,f:H.bind(e,4),d:function(L,K){return I=L,B=0,d=e,z.n=K,i}};function H(L,K){for(B=L,d=K,t=0;!Z&&q&&!J&&t<N.length;t++){var J,W=N[t],ee=z.p,ue=W[2];L>3?(J=ue===K)&&(d=W[(B=W[4])?5:(B=3,3)],W[4]=W[5]=e):W[0]<=ee&&((J=L<2&&ee<W[1])?(B=0,z.v=K,z.n=W[1]):ee<ue&&(J=L<3||W[0]>K||K>ue)&&(W[4]=L,W[5]=K,z.n=ue,B=0))}if(J||L>1)return i;throw Z=!0,K}return function(L,K,J){if(q>1)throw TypeError("Generator is already running");for(Z&&K===1&&H(K,J),B=K,d=J;(t=B<2?e:d)||!Z;){I||(B?B<3?(B>1&&(z.n=-1),H(B,d)):z.n=d:z.v=d);try{if(q=2,I){if(B||(L="next"),t=I[L]){if(!(t=t.call(I,d)))throw TypeError("iterator result is not an object");if(!t.done)return t;d=t.value,B<2&&(B=0)}else B===1&&(t=I.return)&&t.call(I),B<2&&(d=TypeError("The iterator does not provide a '"+L+"' method"),B=1);I=e}else if((t=(Z=z.n<0)?d:S.call(x,z))!==i)break}catch(W){I=e,B=1,d=W}finally{q=1}}return{value:t,done:Z}}})(y,D,_),!0),w}var i={};function o(){}function c(){}function l(){}t=Object.getPrototypeOf;var h=[][r]?t(t([][r]())):(xn(t={},r,function(){return this}),t),p=l.prototype=o.prototype=Object.create(h);function g(y){return Object.setPrototypeOf?Object.setPrototypeOf(y,l):(y.__proto__=l,xn(y,u,"GeneratorFunction")),y.prototype=Object.create(p),y}return c.prototype=l,xn(p,"constructor",l),xn(l,"constructor",c),c.displayName="GeneratorFunction",xn(l,u,"GeneratorFunction"),xn(p),xn(p,u,"Generator"),xn(p,r,function(){return this}),xn(p,"toString",function(){return"[object Generator]"}),(be=function(){return{w:a,m:g}})()}function xn(e,t,n,r){var u=Object.defineProperty;try{u({},"",{})}catch(a){u=0}xn=function(a,i,o,c){function l(h,p){xn(a,h,function(g){return this._invoke(h,p,g)})}i?u?u(a,i,{value:o,enumerable:!c,configurable:!c,writable:!c}):a[i]=o:(l("next",0),l("throw",1),l("return",2))},xn(e,t,n,r)}function Tu(e,t){return Tu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Tu(e,t)}function ct(e,t){return(function(n){if(Array.isArray(n))return n})(e)||(function(n,r){var u=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(u!=null){var a,i,o,c,l=[],h=!0,p=!1;try{if(o=(u=u.call(n)).next,r===0){if(Object(u)!==u)return;h=!1}else for(;!(h=(a=o.call(u)).done)&&(l.push(a.value),l.length!==r);h=!0);}catch(g){p=!0,i=g}finally{try{if(!h&&u.return!=null&&(c=u.return(),Object(c)!==c))return}finally{if(p)throw i}}return l}})(e,t)||Yo(e,t)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function De(e){return(function(t){if(Array.isArray(t))return Ko(t)})(e)||(function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||Yo(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
15
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Jl(e){var t=(function(n){if(Ce(n)!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var u=r.call(n,"string");if(Ce(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)})(e);return Ce(t)=="symbol"?t:t+""}function qt(e){return qt=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},qt(e)}function Yo(e,t){if(e){if(typeof e=="string")return Ko(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ko(e,t):void 0}}function Tr(e){var t=typeof Map=="function"?new Map:void 0;return Tr=function(n){if(n===null||!(function(u){try{return Function.toString.call(u).indexOf("[native code]")!==-1}catch(a){return typeof u=="function"}})(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return Vl(n,arguments,va(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Tu(r,n)},Tr(e)}function yi(){yi=function(u,a){return new n(u,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(u,a,i){var o=RegExp(u,a);return t.set(o,i||t.get(u)),Tu(o,n.prototype)}function r(u,a){var i=t.get(a);return Object.keys(i).reduce(function(o,c){var l=i[c];if(typeof l=="number")o[c]=u[l];else{for(var h=0;u[l[h]]===void 0&&h+1<l.length;)h++;o[c]=u[l[h]]}return o},Object.create(null))}return $e(n,RegExp),n.prototype.exec=function(u){var a=e.exec.call(this,u);if(a){a.groups=r(a,this);var i=a.indices;i&&(i.groups=r(i,this))}return a},n.prototype[Symbol.replace]=function(u,a){if(typeof a=="string"){var i=t.get(this);return e[Symbol.replace].call(this,u,a.replace(/\$<([^>]+)(>|$)/g,function(c,l,h){if(h==="")return c;var p=i[l];return Array.isArray(p)?"$"+p.join("$"):typeof p=="number"?"$"+p:""}))}if(typeof a=="function"){var o=this;return e[Symbol.replace].call(this,u,function(){var c=arguments;return Ce(c[c.length-1])!="object"&&(c=[].slice.call(c)).push(r(c,o)),a.apply(this,c)})}return e[Symbol.replace].call(this,u,a)},yi.apply(this,arguments)}var Kl=function(e){var t=e.theme;Un(function(){if(t){var n=document.documentElement.dataset.theme;if(t!==n)return document.documentElement.dataset.theme=t,function(){n===void 0?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=n}}},[t])},_v={"Ctrl/Cmd+K":!0,"/":!0};function Cv(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.createElement("path",{d:"M8.19531 8.76758H7.33398C7.02539 8.76758 6.74414 8.69531 6.49023 8.55078C6.23633 8.40234 6.0332 8.20312 5.88086 7.95312C5.73242 7.70312 5.6582 7.42188 5.6582 7.10938C5.6582 6.80078 5.73242 6.51953 5.88086 6.26562C6.0332 6.01172 6.23633 5.80859 6.49023 5.65625C6.74414 5.50391 7.02539 5.42773 7.33398 5.42773C7.64258 5.42773 7.92383 5.50391 8.17773 5.65625C8.43164 5.80859 8.63281 6.01172 8.78125 6.26562C8.93359 6.51953 9.00977 6.80078 9.00977 7.10938V7.96484H10.9902V7.10938C10.9902 6.80078 11.0664 6.51953 11.2188 6.26562C11.3711 6.01172 11.5723 5.80859 11.8223 5.65625C12.0762 5.50391 12.3574 5.42773 12.666 5.42773C12.9746 5.42773 13.2559 5.50391 13.5098 5.65625C13.7637 5.80859 13.9648 6.01172 14.1133 6.26562C14.2656 6.51953 14.3418 6.80078 14.3418 7.10938C14.3418 7.42188 14.2656 7.70312 14.1133 7.95312C13.9648 8.20312 13.7637 8.40234 13.5098 8.55078C13.2559 8.69531 12.9746 8.76758 12.666 8.76758H11.8105V10.7773H12.666C12.9746 10.7773 13.2559 10.8516 13.5098 11C13.7637 11.1445 13.9648 11.3418 14.1133 11.5918C14.2656 11.8418 14.3418 12.123 14.3418 12.4355C14.3418 12.7441 14.2656 13.0254 14.1133 13.2793C13.9648 13.5332 13.7637 13.7363 13.5098 13.8887C13.2559 14.041 12.9746 14.1172 12.666 14.1172C12.3574 14.1172 12.0762 14.041 11.8223 13.8887C11.5723 13.7363 11.3711 13.5332 11.2188 13.2793C11.0664 13.0254 10.9902 12.7441 10.9902 12.4355V11.5801H9.00977V12.4355C9.00977 12.7441 8.93359 13.0254 8.78125 13.2793C8.63281 13.5332 8.43164 13.7363 8.17773 13.8887C7.92383 14.041 7.64258 14.1172 7.33398 14.1172C7.02539 14.1172 6.74414 14.041 6.49023 13.8887C6.23633 13.7363 6.0332 13.5332 5.88086 13.2793C5.73242 13.0254 5.6582 12.7441 5.6582 12.4355C5.6582 12.123 5.73242 11.8418 5.88086 11.5918C6.0332 11.3418 6.23633 11.1445 6.49023 11C6.74414 10.8516 7.02539 10.7773 7.33398 10.7773H8.19531V8.76758ZM7.33398 7.97656H8.19531V7.10938C8.19531 6.875 8.10938 6.67383 7.9375 6.50586C7.76953 6.33398 7.56836 6.24805 7.33398 6.24805C7.09961 6.24805 6.89648 6.33398 6.72461 6.50586C6.55664 6.67383 6.47266 6.875 6.47266 7.10938C6.47266 7.34766 6.55664 7.55273 6.72461 7.72461C6.89648 7.89258 7.09961 7.97656 7.33398 7.97656ZM12.666 7.97656C12.9004 7.97656 13.1016 7.89258 13.2695 7.72461C13.4414 7.55273 13.5273 7.34766 13.5273 7.10938C13.5273 6.875 13.4414 6.67383 13.2695 6.50586C13.1016 6.33398 12.9004 6.24805 12.666 6.24805C12.4316 6.24805 12.2305 6.33398 12.0625 6.50586C11.8945 6.67383 11.8105 6.875 11.8105 7.10938V7.97656H12.666ZM9.00977 10.7773H10.9902V8.76758H9.00977V10.7773ZM7.33398 11.5625C7.09961 11.5625 6.89648 11.6484 6.72461 11.8203C6.55664 11.9883 6.47266 12.1914 6.47266 12.4297C6.47266 12.6641 6.55664 12.8672 6.72461 13.0391C6.89648 13.207 7.09961 13.291 7.33398 13.291C7.56836 13.291 7.76953 13.207 7.9375 13.0391C8.10938 12.8672 8.19531 12.6641 8.19531 12.4297V11.5625H7.33398ZM12.666 11.5625H11.8105V12.4297C11.8105 12.6641 11.8945 12.8672 12.0625 13.0391C12.2305 13.207 12.4316 13.291 12.666 13.291C12.9004 13.291 13.1016 13.207 13.2695 13.0391C13.4414 12.8672 13.5273 12.6641 13.5273 12.4297C13.5273 12.1914 13.4414 11.9883 13.2695 11.8203C13.1016 11.6484 12.9004 11.5625 12.666 11.5625Z",fill:"currentColor"}))}function kv(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.createElement("path",{d:"M8.01562 11.1758L7.95703 9.65234H8.22656L11.9297 5.54492H13.2539L9.75586 9.32422L9.26367 9.79883L8.01562 11.1758ZM7.07812 14V5.54492H8.13281V14H7.07812ZM12.1992 14L9.04102 9.78711L9.76758 9.05469L13.5645 14H12.1992Z",fill:"currentColor"}))}function wv(){return b.createElement("svg",{width:"33",height:"20",viewBox:"0 0 33 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.createElement("path",{d:"M10.4824 14.1992C9.7168 14.1992 9.05469 14.0195 8.49609 13.6602C7.9375 13.3008 7.50586 12.791 7.20117 12.1309C6.90039 11.4707 6.75 10.6875 6.75 9.78125V9.76953C6.75 8.85938 6.90039 8.07422 7.20117 7.41406C7.50586 6.75391 7.93555 6.24414 8.49023 5.88477C9.04883 5.52539 9.71094 5.3457 10.4766 5.3457C11.0703 5.3457 11.6094 5.46289 12.0938 5.69727C12.582 5.92773 12.9844 6.25 13.3008 6.66406C13.6172 7.07422 13.8164 7.54883 13.8984 8.08789L13.8926 8.09961H12.832L12.8262 8.08789C12.7324 7.72461 12.5742 7.41211 12.3516 7.15039C12.1289 6.88477 11.8574 6.67969 11.5371 6.53516C11.2207 6.39062 10.8672 6.31836 10.4766 6.31836C9.9375 6.31836 9.46875 6.45898 9.07031 6.74023C8.67578 7.02148 8.37109 7.41992 8.15625 7.93555C7.94141 8.45117 7.83398 9.0625 7.83398 9.76953V9.78125C7.83398 10.4844 7.94141 11.0938 8.15625 11.6094C8.37109 12.125 8.67578 12.5234 9.07031 12.8047C9.46875 13.0859 9.93945 13.2266 10.4824 13.2266C10.877 13.2266 11.2344 13.1641 11.5547 13.0391C11.875 12.9102 12.1445 12.7285 12.3633 12.4941C12.582 12.2559 12.7344 11.9746 12.8203 11.6504L12.832 11.6387H13.8984V11.6504C13.8047 12.166 13.6016 12.6152 13.2891 12.998C12.9766 13.377 12.5801 13.6719 12.0996 13.8828C11.623 14.0938 11.084 14.1992 10.4824 14.1992ZM17.7832 14.0469C17.1348 14.0469 16.6641 13.916 16.3711 13.6543C16.082 13.3926 15.9375 12.9609 15.9375 12.3594V8.52734H14.9414V7.68359H15.9375V6.04883H16.9922V7.68359H18.375V8.52734H16.9922V12.1016C16.9922 12.4727 17.0625 12.7402 17.2031 12.9043C17.3438 13.0645 17.5781 13.1445 17.9062 13.1445C17.9961 13.1445 18.0723 13.1426 18.1348 13.1387C18.2012 13.1348 18.2812 13.1289 18.375 13.1211V13.9883C18.2773 14.0039 18.1797 14.0176 18.082 14.0293C17.9844 14.041 17.8848 14.0469 17.7832 14.0469ZM19.8984 14V7.68359H20.918V8.62109H21.0117C21.1328 8.28906 21.3379 8.03125 21.627 7.84766C21.916 7.66406 22.2734 7.57227 22.6992 7.57227C22.7969 7.57227 22.8926 7.57812 22.9863 7.58984C23.084 7.59766 23.1582 7.60547 23.209 7.61328V8.60352C23.1035 8.58398 23 8.57031 22.8984 8.5625C22.8008 8.55078 22.6953 8.54492 22.582 8.54492C22.2578 8.54492 21.9707 8.60938 21.7207 8.73828C21.4707 8.86719 21.2734 9.04688 21.1289 9.27734C20.9883 9.50781 20.918 9.77734 20.918 10.0859V14H19.8984ZM24.5273 14V5.17578H25.5469V14H24.5273Z",fill:"currentColor"}))}function ma(e){var t=e.size,n=t===void 0?20:t,r=e.color,u=r===void 0?"currentColor":r;return b.createElement("svg",{width:n,height:n,className:"DocSearch-Search-Icon",viewBox:"0 0 24 24","aria-hidden":"true"},b.createElement("circle",{cx:"11",cy:"11",r:"8",stroke:u,fill:"none",strokeWidth:"1.4"}),b.createElement("path",{d:"m21 21-4.3-4.3",stroke:u,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ql(e,t,n){return e.reduce(function(r,u){var a=t(u);return r.hasOwnProperty(a)||(r[a]=[]),r[a].length<(n||5)&&r[a].push(u),r},{})}function Xo(e){return e}function Di(e){return e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}var es="Ctrl";function xv(){}var Yl=/(<mark>|<\/mark>)/g,Sv=RegExp(Yl.source);function Xl(e){var t,n,r=e;if(!r.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var u=r.__docsearch_parent?(t=r.__docsearch_parent)===null||t===void 0||(t=t._highlightResult)===null||t===void 0||(t=t.hierarchy)===null||t===void 0?void 0:t.lvl0:(n=e._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0;return u?u.value&&Sv.test(u.value)?u.value.replace(Yl,""):u.value:e.hierarchy.lvl0}var Tv=["translations","keyboardShortcuts"],Ov=b.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,u=e.keyboardShortcuts,a=on(e,Tv),i=r.buttonText,o=i===void 0?"Search":i,c=r.buttonAriaLabel,l=c===void 0?"Search":c,h=(function(x){return C(C({},_v),x)})(u),p=ct(uu(null),2),g=p[0],y=p[1];Kl({theme:a.theme}),Un(function(){typeof navigator!="undefined"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?y("\u2318"):y(es))},[]);var F=ct(g===es?[es,"Control",b.createElement(wv,null)]:["Meta","Meta",b.createElement(Cv,null)],3),D=F[0],_=F[1],T=F[2],w=h["Ctrl/Cmd+K"],S="".concat(_,"+k");return b.createElement("button",Ct({type:"button",className:"DocSearch DocSearch-Button","aria-label":w?"".concat(l," (").concat(S,")"):l,"aria-keyshortcuts":w?S:void 0},a,{ref:t}),b.createElement("span",{className:"DocSearch-Button-Container"},b.createElement(ma,null),b.createElement("span",{className:"DocSearch-Button-Placeholder"},o)),b.createElement("span",{className:"DocSearch-Button-Keys"},g!==null&&w&&b.createElement(b.Fragment,null,b.createElement(ef,{reactsToKey:D},T),b.createElement(ef,{reactsToKey:"k"},b.createElement(kv,null)))))});function ef(e){var t=e.reactsToKey,n=e.children,r=ct(uu(!1),2),u=r[0],a=r[1];return Un(function(){if(t)return window.addEventListener("keydown",i),window.addEventListener("keyup",o),function(){window.removeEventListener("keydown",i),window.removeEventListener("keyup",o)};function i(c){c.key===t&&a(!0)}function o(c){c.key!==t&&c.key!=="Meta"||a(!1)}},[t]),b.createElement("kbd",{className:u?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"+(t==="Ctrl"?" DocSearch-Button-Key--ctrl":"")},n)}function tf(e,t){var n=void 0;return function(){for(var r=arguments.length,u=new Array(r),a=0;a<r;a++)u[a]=arguments[a];n&&clearTimeout(n),n=setTimeout(function(){return e.apply(void 0,u)},t)}}function ga(e){return e.reduce(function(t,n){return t.concat(n)},[])}var Iv=0;function ts(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}function nf(e){return e!==Object(e)}function rf(e,t){if(e===t)return!0;if(nf(e)||nf(t)||typeof e=="function"||typeof t=="function")return e===t;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n=0,r=Object.keys(e);n<r.length;n++){var u=r[n];if(!(u in t)||!rf(e[u],t[u]))return!1}return!0}var bi=function(){},Bv=[{segment:"autocomplete-core",version:"1.19.2"}];function uf(e){var t=e.item,n=e.items,r=n===void 0?[]:n;return{index:t.__autocomplete_indexName,items:[t],positions:[1+r.findIndex(function(u){return u.objectID===t.objectID})],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function af(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Pv=["items"],jv=["items"];function ya(e){return ya=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},ya(e)}function Ai(e){return(function(t){if(Array.isArray(t))return ns(t)})(e)||(function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||(function(t,n){if(t){if(typeof t=="string")return ns(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ns(t,n):void 0}})(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
16
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function ns(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function of(e,t){if(e==null)return{};var n,r,u=(function(i,o){if(i==null)return{};var c,l,h={},p=Object.keys(i);for(l=0;l<p.length;l++)c=p[l],o.indexOf(c)>=0||(h[c]=i[c]);return h})(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sf(Object(n),!0).forEach(function(r){Nv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nv(e,t,n){return(t=(function(r){var u=(function(a){if(ya(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(ya(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return ya(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ei(e){return e.map(function(t){var n=t.items,r=of(t,Pv);return Ou(Ou({},r),{},{objectIDs:(n==null?void 0:n.map(function(u){return u.objectID}))||r.objectIDs})})}function Rv(e){var t,n,r,u=(t=(function(i,o){return(function(c){if(Array.isArray(c))return c})(i)||(function(c,l){var h=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(h!=null){var p,g,y,F,D=[],_=!0,T=!1;try{if(y=(h=h.call(c)).next,l!==0)for(;!(_=(p=y.call(h)).done)&&(D.push(p.value),D.length!==l);_=!0);}catch(w){T=!0,g=w}finally{try{if(!_&&h.return!=null&&(F=h.return(),Object(F)!==F))return}finally{if(T)throw g}}return D}})(i,o)||(function(c,l){if(c){if(typeof c=="string")return af(c,l);var h=Object.prototype.toString.call(c).slice(8,-1);return h==="Object"&&c.constructor&&(h=c.constructor.name),h==="Map"||h==="Set"?Array.from(c):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?af(c,l):void 0}})(i,o)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
17
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})((e.version||"").split(".").map(Number),2),n=t[0],r=t[1],n>=3||n===2&&r>=4||n===1&&r>=10);function a(i,o,c){if(u&&c!==void 0){var l=c[0].__autocomplete_algoliaCredentials,h={"X-Algolia-Application-Id":l.appId,"X-Algolia-API-Key":l.apiKey};e.apply(void 0,[i].concat(Ai(o),[{headers:h}]))}else e.apply(void 0,[i].concat(Ai(o)))}return{init:function(i,o){e("init",{appId:i,apiKey:o})},setAuthenticatedUserToken:function(i){e("setAuthenticatedUserToken",i)},setUserToken:function(i){e("setUserToken",i)},clickedObjectIDsAfterSearch:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&a("clickedObjectIDsAfterSearch",Ei(o),o[0].items)},clickedObjectIDs:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&a("clickedObjectIDs",Ei(o),o[0].items)},clickedFilters:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&e.apply(void 0,["clickedFilters"].concat(o))},convertedObjectIDsAfterSearch:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&a("convertedObjectIDsAfterSearch",Ei(o),o[0].items)},convertedObjectIDs:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&a("convertedObjectIDs",Ei(o),o[0].items)},convertedFilters:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&e.apply(void 0,["convertedFilters"].concat(o))},viewedObjectIDs:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&o.reduce(function(l,h){var p=h.items,g=of(h,jv);return[].concat(Ai(l),Ai((function(y){for(var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20,D=[],_=0;_<y.objectIDs.length;_+=F)D.push(Ou(Ou({},y),{},{objectIDs:y.objectIDs.slice(_,_+F)}));return D})(Ou(Ou({},g),{},{objectIDs:(p==null?void 0:p.map(function(y){return y.objectID}))||g.objectIDs})).map(function(y){return{items:p,payload:y}})))},[]).forEach(function(l){var h=l.items;return a("viewedObjectIDs",[l.payload],h)})},viewedFilters:function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];o.length>0&&e.apply(void 0,["viewedFilters"].concat(o))}}}function zv(e){var t=e.items.reduce(function(n,r){var u;return n[r.__autocomplete_indexName]=((u=n[r.__autocomplete_indexName])!==null&&u!==void 0?u:[]).concat(r),n},{});return Object.keys(t).map(function(n){return{index:n,items:t[n],algoliaSource:["autocomplete"]}})}function Da(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function ba(e){return ba=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},ba(e)}function Iu(e){return(function(t){if(Array.isArray(t))return rs(t)})(e)||(function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||(function(t,n){if(t){if(typeof t=="string")return rs(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rs(t,n):void 0}})(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function rs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Wn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cf(Object(n),!0).forEach(function(r){Lv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lv(e,t,n){return(t=(function(r){var u=(function(a){if(ba(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(ba(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return ba(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lf="2.15.0",Mv="https://cdn.jsdelivr.net/npm/search-insights@".concat(lf,"/dist/search-insights.min.js"),$v=tf(function(e){var t=e.onItemsChange,n=e.items,r=e.insights,u=e.state;t({insights:r,insightsEvents:zv({items:n}).map(function(a){return Wn({eventName:"Items Viewed"},a)}),state:u})},400);function ff(e){var t=(function(g){return Wn({onItemsChange:function(y){var F=y.insights,D=y.insightsEvents,_=y.state;F.viewedObjectIDs.apply(F,Iu(D.map(function(T){return Wn(Wn({},T),{},{algoliaSource:df(T.algoliaSource,_.context)})})))},onSelect:function(y){var F=y.insights,D=y.insightsEvents,_=y.state;F.clickedObjectIDsAfterSearch.apply(F,Iu(D.map(function(T){return Wn(Wn({},T),{},{algoliaSource:df(T.algoliaSource,_.context)})})))},onActive:bi,__autocomplete_clickAnalytics:!0},g)})(e),n=t.insightsClient,r=t.insightsInitParams,u=t.onItemsChange,a=t.onSelect,i=t.onActive,o=t.__autocomplete_clickAnalytics,c=n;if(n||typeof window!="undefined"&&(function(g){var y=g.window,F=y.AlgoliaAnalyticsObject||"aa";typeof F=="string"&&(c=y[F]),c||(y.AlgoliaAnalyticsObject=F,y[F]||(y[F]=function(){y[F].queue||(y[F].queue=[]);for(var D=arguments.length,_=new Array(D),T=0;T<D;T++)_[T]=arguments[T];y[F].queue.push(_)}),y[F].version=lf,c=y[F],(function(D){var _="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var T=D.document.createElement("script");T.async=!0,T.src=Mv,T.onerror=function(){console.error(_)},document.body.appendChild(T)}catch(w){console.error(_)}})(y))})({window}),!c)return{};r&&c("init",Wn({partial:!0},r));var l=Rv(c),h={current:[]},p=tf(function(g){var y=g.state;if(y.isOpen){var F=y.collections.reduce(function(D,_){return[].concat(Iu(D),Iu(_.items))},[]).filter(Da);rf(h.current.map(function(D){return D.objectID}),F.map(function(D){return D.objectID}))||(h.current=F,F.length>0&&$v({onItemsChange:u,items:F,insights:l,state:y}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(g){var y=g.setContext,F=g.onSelect,D=g.onActive;function _(T){y({algoliaInsightsPlugin:{__algoliaSearchParameters:Wn(Wn({},o?{clickAnalytics:!0}:{}),T?{userToken:Zv(T)}:{}),insights:l}})}c("addAlgoliaAgent","insights-plugin"),_(),c("onUserTokenChange",function(T){_(T)}),c("getUserToken",null,function(T,w){_(w)}),F(function(T){var w=T.item,S=T.state,x=T.event,O=T.source;Da(w)&&a({state:S,event:x,insights:l,item:w,insightsEvents:[Wn({eventName:"Item Selected"},uf({item:w,items:O.getItems().filter(Da)}))]})}),D(function(T){var w=T.item,S=T.source,x=T.state,O=T.event;Da(w)&&i({state:x,event:O,insights:l,item:w,insightsEvents:[Wn({eventName:"Item Active"},uf({item:w,items:S.getItems().filter(Da)}))]})})},onStateChange:function(g){var y=g.state;p({state:y})},__autocomplete_pluginOptions:e}}function df(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(Iu(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]),["autocomplete-internal"],Iu((e=t.algoliaInsightsPlugin)!==null&&e!==void 0&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function Zv(e){return typeof e=="number"?e.toString():e}function Fi(e,t){var n=t;return{then:function(r,u){return Fi(e.then(_i(r,n,e),_i(u,n,e)),n)},catch:function(r){return Fi(e.catch(_i(r,n,e)),n)},finally:function(r){return r&&n.onCancelList.push(r),Fi(e.finally(_i(r&&function(){return n.onCancelList=[],r()},n,e)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(u){u()})},isCanceled:function(){return n.isCanceled===!0}}}function pf(e){return Fi(e,{isCanceled:!1,onCancelList:[]})}function _i(e,t,n){return e?function(r){return t.isCanceled?r:e(r)}:n}var us,as=!0;function hf(e,t,n,r){if(!n)return null;if(e<0&&(t===null||r!==null&&t===0))return n+e;var u=(t===null?-1:t)+e;return u<=-1||u>=n?r===null?null:0:u}function vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function mf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vf(Object(n),!0).forEach(function(r){qv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qv(e,t,n){return(t=(function(r){var u=(function(a){if(Aa(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Aa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Aa(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Aa(e)}function gf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yf=function(e,t){var n,r=!1,u=[],a=(function(h,p){var g=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(!g){if(Array.isArray(h)||(g=(function(w,S){if(w){if(typeof w=="string")return gf(w,S);var x=Object.prototype.toString.call(w).slice(8,-1);return x==="Object"&&w.constructor&&(x=w.constructor.name),x==="Map"||x==="Set"?Array.from(w):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?gf(w,S):void 0}})(h))||p){g&&(h=g);var y=0,F=function(){};return{s:F,n:function(){return y>=h.length?{done:!0}:{done:!1,value:h[y++]}},e:function(w){throw w},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D,_=!0,T=!1;return{s:function(){g=g.call(h)},n:function(){var w=g.next();return _=w.done,w},e:function(w){T=!0,D=w},f:function(){try{_||g.return==null||g.return()}finally{if(T)throw D}}}})(e);try{for(a.s();!(n=a.n()).done;){var i,o,c,l=(i=n.value.__autocomplete_pluginOptions)===null||i===void 0||(o=(c=i).awaitSubmit)===null||o===void 0?void 0:o.call(c);if(typeof l=="number")u.push(l);else if(l===!0){r=!0;break}}}catch(h){a.e(h)}finally{a.f()}return r?t.wait():u.length>0?t.wait(Math.max.apply(Math,u)):void 0};function au(e){var t=(function(u){var a=u.collections.map(function(i){return i.items.length}).reduce(function(i,o,c){var l=(i[c-1]||0)+o;return i.push(l),i},[]).reduce(function(i,o){return o<=u.activeItemId?i+1:i},0);return u.collections[a]})(e);if(!t)return null;var n=t.items[(function(u){for(var a=u.state,i=u.collection,o=!1,c=0,l=0;o===!1;){var h=a.collections[c];if(h===i){o=!0;break}l+=h.items.length,c++}return a.activeItemId-l})({state:e,collection:t})],r=t.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:e}),itemUrl:r.getItemUrl({item:n,state:e}),source:r}}function Pn(e,t,n){return[e,n==null?void 0:n.sourceId,t].filter(Boolean).join("-").replace(/\s/g,"")}var Hv=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function Df(e){return e.nativeEvent||e}function Ea(e){return Ea=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Ea(e)}function bf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Uv(e,t,n){return(t=(function(r){var u=(function(a){if(Ea(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ea(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ea(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Fa(e)}function Af(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Ci(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Af(Object(n),!0).forEach(function(r){Vv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vv(e,t,n){return(t=(function(r){var u=(function(a){if(Fa(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Fa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Fa(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},_a(e)}function is(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Bu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ef(Object(n),!0).forEach(function(r){Wv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ef(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wv(e,t,n){return(t=(function(r){var u=(function(a){if(_a(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(_a(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return _a(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gv(e,t){var n,r=typeof window!="undefined"?window:{},u=e.plugins||[];return Bu(Bu({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:r,shouldPanelOpen:function(a){return ts(a.state)>0},reshape:function(a){return a.sources}},e),{},{id:(n=e.id)!==null&&n!==void 0?n:"autocomplete-".concat(Iv++),plugins:u,initialState:Bu({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(a){var i;(i=e.onStateChange)===null||i===void 0||i.call(e,a),u.forEach(function(o){var c;return(c=o.onStateChange)===null||c===void 0?void 0:c.call(o,a)})},onSubmit:function(a){var i;(i=e.onSubmit)===null||i===void 0||i.call(e,a),u.forEach(function(o){var c;return(c=o.onSubmit)===null||c===void 0?void 0:c.call(o,a)})},onReset:function(a){var i;(i=e.onReset)===null||i===void 0||i.call(e,a),u.forEach(function(o){var c;return(c=o.onReset)===null||c===void 0?void 0:c.call(o,a)})},getSources:function(a){return Promise.all([].concat((function(i){return(function(o){if(Array.isArray(o))return is(o)})(i)||(function(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)})(i)||(function(o,c){if(o){if(typeof o=="string")return is(o,c);var l=Object.prototype.toString.call(o).slice(8,-1);return l==="Object"&&o.constructor&&(l=o.constructor.name),l==="Map"||l==="Set"?Array.from(o):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?is(o,c):void 0}})(i)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(u.map(function(i){return i.getSources})),[e.getSources]).filter(Boolean).map(function(i){return(function(o,c){var l=[];return Promise.resolve(o(c)).then(function(h){return Promise.all(h.filter(function(p){return!!p}).map(function(p){if(p.sourceId,l.includes(p.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(p.sourceId)," is not unique."));l.push(p.sourceId);var g={getItemInputValue:function(F){return F.state.query},getItemUrl:function(){},onSelect:function(F){(0,F.setIsOpen)(!1)},onActive:bi,onResolve:bi};Object.keys(g).forEach(function(F){g[F].__default=!0});var y=mf(mf({},g),p);return Promise.resolve(y)}))})})(i,a)})).then(function(i){return ga(i)}).then(function(i){return i.map(function(o){return Bu(Bu({},o),{},{onSelect:function(c){o.onSelect(c),t.forEach(function(l){var h;return(h=l.onSelect)===null||h===void 0?void 0:h.call(l,c)})},onActive:function(c){o.onActive(c),t.forEach(function(l){var h;return(h=l.onActive)===null||h===void 0?void 0:h.call(l,c)})},onResolve:function(c){o.onResolve(c),t.forEach(function(l){var h;return(h=l.onResolve)===null||h===void 0?void 0:h.call(l,c)})}})})})},navigator:Bu({navigate:function(a){var i=a.itemUrl;r.location.assign(i)},navigateNewTab:function(a){var i=a.itemUrl,o=r.open(i,"_blank","noopener");o==null||o.focus()},navigateNewWindow:function(a){var i=a.itemUrl;r.open(i,"_blank","noopener")}},e.navigator)})}function Ca(e){return Ca=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Ca(e)}function Ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ff(Object(n),!0).forEach(function(r){_f(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ff(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _f(e,t,n){return(t=(function(r){var u=(function(a){if(Ca(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ca(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ca(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},ka(e)}function Cf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Pu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cf(Object(n),!0).forEach(function(r){Jv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jv(e,t,n){return(t=(function(r){var u=(function(a){if(ka(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(ka(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return ka(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(e){return(function(t){if(Array.isArray(t))return os(t)})(e)||(function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)})(e)||(function(t,n){if(t){if(typeof t=="string")return os(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?os(t,n):void 0}})(e)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function os(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wi(e){return!!e.execute}function Kv(e){var t=e.reduce(function(n,r){if(!wi(r))return n.push(r),n;var u=r.searchClient,a=r.execute,i=r.requesterId,o=r.requests,c=n.find(function(p){return wi(r)&&wi(p)&&p.searchClient===u&&!!i&&p.requesterId===i});if(c){var l;(l=c.items).push.apply(l,kf(o))}else{var h={execute:a,requesterId:i,items:o,searchClient:u};n.push(h)}return n},[]).map(function(n){if(!wi(n))return Promise.resolve(n);var r=n,u=r.execute,a=r.items;return u({searchClient:r.searchClient,requests:a})});return Promise.all(t).then(function(n){return ga(n)})}function wa(e){return wa=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},wa(e)}var Qv=["event","nextState","props","query","refresh","store"];function wf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function iu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wf(Object(n),!0).forEach(function(r){Yv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yv(e,t,n){return(t=(function(r){var u=(function(a){if(wa(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(wa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return wa(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xf,ss,xi,xa=null,Sf=(xf=-1,ss=-1,xi=void 0,function(e){var t=++xf;return Promise.resolve(e).then(function(n){return xi&&t<ss?xi:(ss=t,xi=n,n)})});function ou(e){var t=e.event,n=e.nextState,r=n===void 0?{}:n,u=e.props,a=e.query,i=e.refresh,o=e.store,c=(function(S,x){if(S==null)return{};var O,I,B=(function(q,N){if(q==null)return{};var Z,z,H={},L=Object.keys(q);for(z=0;z<L.length;z++)Z=L[z],N.indexOf(Z)>=0||(H[Z]=q[Z]);return H})(S,x);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(S);for(I=0;I<d.length;I++)O=d[I],x.indexOf(O)>=0||Object.prototype.propertyIsEnumerable.call(S,O)&&(B[O]=S[O])}return B})(e,Qv);xa&&u.environment.clearTimeout(xa);var l=c.setCollections,h=c.setIsOpen,p=c.setQuery,g=c.setActiveItemId,y=c.setStatus,F=c.setContext;if(p(a),g(u.defaultActiveItemId),!a&&u.openOnFocus===!1){var D,_=o.getState().collections.map(function(S){return iu(iu({},S),{},{items:[]})});y("idle"),l(_),h((D=r.isOpen)!==null&&D!==void 0?D:u.shouldPanelOpen({state:o.getState()}));var T=pf(Sf(_).then(function(){return Promise.resolve()}));return o.pendingRequests.add(T)}y("loading"),xa=u.environment.setTimeout(function(){y("stalled")},u.stallThreshold);var w=pf(Sf(u.getSources(iu({query:a,refresh:i,state:o.getState()},c)).then(function(S){return Promise.all(S.map(function(x){return Promise.resolve(x.getItems(iu({query:a,refresh:i,state:o.getState()},c))).then(function(O){return(function(I,B,d){if(N=I,!!(N!=null&&N.execute)){var q=I.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(kf(Object.keys(d.context).map(function(Z){var z;return(z=d.context[Z])===null||z===void 0?void 0:z.__algoliaSearchParameters})))):{};return Pu(Pu({},I),{},{requests:I.queries.map(function(Z){return{query:I.requesterId==="algolia"?Pu(Pu({},Z),{},{params:Pu(Pu({},q),Z.params)}):Z,sourceId:B,transformResponse:I.transformResponse}})})}var N;return{items:I,sourceId:B}})(O,x.sourceId,o.getState())})})).then(Kv).then(function(x){var O,I=x.some(function(B){return(function(d){return!Array.isArray(d)&&!!(d!=null&&d._automaticInsights)})(B.items)});return I&&F({algoliaInsightsPlugin:iu(iu({},((O=o.getState().context)===null||O===void 0?void 0:O.algoliaInsightsPlugin)||{}),{},{__automaticInsights:I})}),(function(B,d,q){return d.map(function(N){var Z,z=B.filter(function(J){return J.sourceId===N.sourceId}),H=z.map(function(J){return J.items}),L=z[0].transformResponse,K=L?L({results:Z=H,hits:Z.map(function(J){return J.hits}).filter(Boolean),facetHits:Z.map(function(J){var W;return(W=J.facetHits)===null||W===void 0?void 0:W.map(function(ee){return{label:ee.value,count:ee.count,_highlightResult:{label:{value:ee.highlighted}}}})}).filter(Boolean)}):H;return N.onResolve({source:N,results:H,items:K,state:q.getState()}),K.every(Boolean),'The `getItems` function from source "'.concat(N.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`.
|
|
15
22
|
|
|
16
23
|
Did you forget to return items?
|
|
17
24
|
|
|
18
|
-
See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:F,items:xe}}))})(E,w,d)})).then((function(E){return(function(L){var M=L.props,B=L.state,u=L.collections.reduce((function(F,X){return ei(ei({},F),{},qa({},X.source.sourceId,ei(ei({},X.source),{},{getItems:function(){return ir(X.items)}})))}),{}),W=M.plugins.reduce((function(F,X){return X.reshape?X.reshape(F):F}),{sourcesBySourceId:u,state:B}).sourcesBySourceId;return ir(M.reshape({sourcesBySourceId:W,sources:Object.values(W),state:B})).filter(Boolean).map((function(F){return{source:F,items:F.getItems()}}))})({collections:E,props:s,state:d.getState()})}))})))).then((function(w){var E;O("idle"),y(w);var L=s.shouldPanelOpen({state:d.getState()});S((E=o.isOpen)!==null&&E!==void 0?E:s.openOnFocus&&!l&&L||L);var M=fn(d.getState());if(d.getState().activeItemId!==null&&M){var B=M.item,u=M.itemInputValue,W=M.itemUrl,F=M.source;F.onActive(pn({event:n,item:B,itemInputValue:u,itemUrl:W,refresh:h,source:F,state:d.getState()},m))}})).finally((function(){O("idle"),gr&&s.environment.clearTimeout(gr)}));return d.pendingRequests.add(j)}function mr(t){return mr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},mr(t)}var Ts=["event","props","refresh","store"];function Ua(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function hn(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Ua(Object(r),!0).forEach((function(o){js(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ua(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function js(t,n,r){return(n=(function(o){var s=(function(l){if(mr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(mr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return mr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function vr(t){return vr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},vr(t)}var Is=["props","refresh","store"],Ps=["inputElement","formElement","panelElement"],Ds=["inputElement"],Ns=["inputElement","maxLength"],Ls=["source"],Rs=["item","source"];function za(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function tt(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?za(Object(r),!0).forEach((function(o){qs(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function qs(t,n,r){return(n=(function(o){var s=(function(l){if(vr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(vr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return vr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Ln(t,n){if(t==null)return{};var r,o,s=(function(h,d){if(h==null)return{};var m,y,S={},v=Object.keys(h);for(y=0;y<v.length;y++)m=v[y],d.indexOf(m)>=0||(S[m]=h[m]);return S})(t,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)r=l[o],n.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}function yr(t){return yr=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},yr(t)}function Wa(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Ms(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Wa(Object(r),!0).forEach((function(o){Va(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wa(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Va(t,n,r){return(n=(function(o){var s=(function(l){if(yr(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(yr(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return yr(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Hs(t){var n,r,o,s,l=t.plugins,h=t.options,d=(n=(((r=h.__autocomplete_metadata)===null||r===void 0?void 0:r.userAgents)||[])[0])===null||n===void 0?void 0:n.segment,m=d?Va({},d,Object.keys(((o=h.__autocomplete_metadata)===null||o===void 0?void 0:o.options)||{})):{};return{plugins:l.map((function(y){return{name:y.name,options:Object.keys(y.__autocomplete_pluginOptions||[])}})),options:Ms({"autocomplete-core":Object.keys(h)},m),ua:fs.concat(((s=h.__autocomplete_metadata)===null||s===void 0?void 0:s.userAgents)||[])}}function Ga(t){var n,r=t.state;return r.isOpen===!1||r.activeItemId===null?null:((n=fn(r))===null||n===void 0?void 0:n.itemInputValue)||null}function br(t){return br=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},br(t)}function Ka(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function Ce(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Ka(Object(r),!0).forEach((function(o){Fs(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Fs(t,n,r){return(n=(function(o){var s=(function(l){if(br(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(br(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return br(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var $s=function(t,n){switch(n.type){case"setActiveItemId":case"mousemove":return Ce(Ce({},t),{},{activeItemId:n.payload});case"setQuery":return Ce(Ce({},t),{},{query:n.payload,completion:null});case"setCollections":return Ce(Ce({},t),{},{collections:n.payload});case"setIsOpen":return Ce(Ce({},t),{},{isOpen:n.payload});case"setStatus":return Ce(Ce({},t),{},{status:n.payload});case"setContext":return Ce(Ce({},t),{},{context:Ce(Ce({},t.context),n.payload)});case"ArrowDown":var r=Ce(Ce({},t),{},{activeItemId:n.payload.hasOwnProperty("nextActiveItemId")?n.payload.nextActiveItemId:Ta(1,t.activeItemId,Mi(t),n.props.defaultActiveItemId)});return Ce(Ce({},r),{},{completion:Ga({state:r})});case"ArrowUp":var o=Ce(Ce({},t),{},{activeItemId:Ta(-1,t.activeItemId,Mi(t),n.props.defaultActiveItemId)});return Ce(Ce({},o),{},{completion:Ga({state:o})});case"Escape":return t.isOpen?Ce(Ce({},t),{},{activeItemId:null,isOpen:!1,completion:null}):Ce(Ce({},t),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return Ce(Ce({},t),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return Ce(Ce({},t),{},{activeItemId:n.props.openOnFocus===!0?n.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return Ce(Ce({},t),{},{activeItemId:n.props.defaultActiveItemId,isOpen:(n.props.openOnFocus||!!t.query)&&n.props.shouldPanelOpen({state:t})});case"blur":return n.props.debug?t:Ce(Ce({},t),{},{isOpen:!1,activeItemId:null});case"mouseleave":return Ce(Ce({},t),{},{activeItemId:n.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(n.type)," is not supported."),t}};function _r(t){return _r=typeof Symbol=="function"&&ge(Symbol.iterator)=="symbol"?function(n){return ge(n)}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":ge(n)},_r(t)}function Qa(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),r.push.apply(r,o)}return r}function gn(t){for(var n=1;n<arguments.length;n++){var r=arguments[n]!=null?arguments[n]:{};n%2?Qa(Object(r),!0).forEach((function(o){Bs(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qa(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Bs(t,n,r){return(n=(function(o){var s=(function(l){if(_r(l)!=="object"||l===null)return l;var h=l[Symbol.toPrimitive];if(h!==void 0){var d=h.call(l,"string");if(_r(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)})(o);return _r(s)==="symbol"?s:String(s)})(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function Us(t){var n=[],r=(function(S,v){var _,O=typeof window!="undefined"?window:{},D=S.plugins||[];return Dn(Dn({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:O,shouldPanelOpen:function(k){return Mi(k.state)>0},reshape:function(k){return k.sources}},S),{},{id:(_=S.id)!==null&&_!==void 0?_:"autocomplete-".concat(ls++),plugins:D,initialState:Dn({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},S.initialState),onStateChange:function(k){var A;(A=S.onStateChange)===null||A===void 0||A.call(S,k),D.forEach((function(P){var j;return(j=P.onStateChange)===null||j===void 0?void 0:j.call(P,k)}))},onSubmit:function(k){var A;(A=S.onSubmit)===null||A===void 0||A.call(S,k),D.forEach((function(P){var j;return(j=P.onSubmit)===null||j===void 0?void 0:j.call(P,k)}))},onReset:function(k){var A;(A=S.onReset)===null||A===void 0||A.call(S,k),D.forEach((function(P){var j;return(j=P.onReset)===null||j===void 0?void 0:j.call(P,k)}))},getSources:function(k){return Promise.all([].concat((function(A){return(function(P){if(Array.isArray(P))return $i(P)})(A)||(function(P){if(typeof Symbol!="undefined"&&P[Symbol.iterator]!=null||P["@@iterator"]!=null)return Array.from(P)})(A)||(function(P,j){if(P){if(typeof P=="string")return $i(P,j);var w=Object.prototype.toString.call(P).slice(8,-1);return w==="Object"&&P.constructor&&(w=P.constructor.name),w==="Map"||w==="Set"?Array.from(P):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?$i(P,j):void 0}})(A)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(D.map((function(A){return A.getSources}))),[S.getSources]).filter(Boolean).map((function(A){return(function(P,j){var w=[];return Promise.resolve(P(j)).then((function(E){return Promise.all(E.filter((function(L){return!!L})).map((function(L){if(L.sourceId,w.includes(L.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(L.sourceId)," is not unique."));w.push(L.sourceId);var M={getItemInputValue:function(u){return u.state.query},getItemUrl:function(){},onSelect:function(u){(0,u.setIsOpen)(!1)},onActive:Kr,onResolve:Kr};Object.keys(M).forEach((function(u){M[u].__default=!0}));var B=Ia(Ia({},M),L);return Promise.resolve(B)})))}))})(A,k)}))).then((function(A){return ir(A)})).then((function(A){return A.map((function(P){return Dn(Dn({},P),{},{onSelect:function(j){P.onSelect(j),v.forEach((function(w){var E;return(E=w.onSelect)===null||E===void 0?void 0:E.call(w,j)}))},onActive:function(j){P.onActive(j),v.forEach((function(w){var E;return(E=w.onActive)===null||E===void 0?void 0:E.call(w,j)}))},onResolve:function(j){P.onResolve(j),v.forEach((function(w){var E;return(E=w.onResolve)===null||E===void 0?void 0:E.call(w,j)}))}})}))}))},navigator:Dn({navigate:function(k){var A=k.itemUrl;O.location.assign(A)},navigateNewTab:function(k){var A=k.itemUrl,P=O.open(A,"_blank","noopener");P==null||P.focus()},navigateNewWindow:function(k){var A=k.itemUrl;O.open(A,"_blank","noopener")}},S.navigator)})})(t,n),o=(function(S,v,_){var O,D=v.initialState;return{getState:function(){return D},dispatch:function(k,A){var P=(function(j){for(var w=1;w<arguments.length;w++){var E=arguments[w]!=null?arguments[w]:{};w%2?Da(Object(E),!0).forEach((function(L){ws(j,L,E[L])})):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(E)):Da(Object(E)).forEach((function(L){Object.defineProperty(j,L,Object.getOwnPropertyDescriptor(E,L))}))}return j})({},D);D=S(D,{type:k,props:v,payload:A}),_({state:D,prevState:P})},pendingRequests:(O=[],{add:function(k){return O.push(k),k.finally((function(){O=O.filter((function(A){return A!==k}))}))},cancelAll:function(){O.forEach((function(k){return k.cancel()}))},isEmpty:function(){return O.length===0}})}})($s,r,(function(S){var v,_,O=S.prevState,D=S.state;if(r.onStateChange(gn({prevState:O,state:D,refresh:h,navigator:r.navigator},s)),!m()&&(v=D.context)!==null&&v!==void 0&&(_=v.algoliaInsightsPlugin)!==null&&_!==void 0&&_.__automaticInsights&&r.insights!==!1){var k=Oa({__autocomplete_clickAnalytics:!1});r.plugins.push(k),d([k])}})),s=(function(S){var v=S.store;return{setActiveItemId:function(_){v.dispatch("setActiveItemId",_)},setQuery:function(_){v.dispatch("setQuery",_)},setCollections:function(_){var O=0,D=_.map((function(k){return Zr(Zr({},k),{},{items:ir(k.items).map((function(A){return Zr(Zr({},A),{},{__autocomplete_id:O++})}))})}));v.dispatch("setCollections",D)},setIsOpen:function(_){v.dispatch("setIsOpen",_)},setStatus:function(_){v.dispatch("setStatus",_)},setContext:function(_){v.dispatch("setContext",_)}}})({store:o}),l=(function(S){var v=S.props,_=S.refresh,O=S.store,D=Ln(S,Is);return{getEnvironmentProps:function(k){var A=k.inputElement,P=k.formElement,j=k.panelElement;function w(E){!O.getState().isOpen&&O.pendingRequests.isEmpty()||E.target===A||[P,j].some((function(L){return(M=L)===(B=E.target)||M.contains(B);var M,B}))===!1&&(O.dispatch("blur",null),v.debug||O.pendingRequests.cancelAll())}return tt({onTouchStart:w,onMouseDown:w,onTouchMove:function(E){O.getState().isOpen!==!1&&A===v.environment.document.activeElement&&E.target!==A&&A.blur()}},Ln(k,Ps))},getRootProps:function(k){return tt({role:"combobox","aria-expanded":O.getState().isOpen,"aria-haspopup":"listbox","aria-controls":O.getState().isOpen?O.getState().collections.map((function(A){var P=A.source;return St(v.id,"list",P)})).join(" "):void 0,"aria-labelledby":St(v.id,"label")},k)},getFormProps:function(k){return k.inputElement,tt({action:"",noValidate:!0,role:"search",onSubmit:function(A){var P;A.preventDefault(),v.onSubmit(tt({event:A,refresh:_,state:O.getState()},D)),O.dispatch("submit",null),(P=k.inputElement)===null||P===void 0||P.blur()},onReset:function(A){var P;A.preventDefault(),v.onReset(tt({event:A,refresh:_,state:O.getState()},D)),O.dispatch("reset",null),(P=k.inputElement)===null||P===void 0||P.focus()}},Ln(k,Ds))},getLabelProps:function(k){return tt({htmlFor:St(v.id,"input"),id:St(v.id,"label")},k)},getInputProps:function(k){var A;function P(W){(v.openOnFocus||O.getState().query)&&dn(tt({event:W,props:v,query:O.getState().completion||O.getState().query,refresh:_,store:O},D)),O.dispatch("focus",null)}var j=k||{};j.inputElement;var w=j.maxLength,E=w===void 0?512:w,L=Ln(j,Ns),M=fn(O.getState()),B=(function(W){return!!(W&&W.match(As))})(((A=v.environment.navigator)===null||A===void 0?void 0:A.userAgent)||""),u=v.enterKeyHint||(M!=null&&M.itemUrl&&!B?"go":"search");return tt({"aria-autocomplete":"both","aria-activedescendant":O.getState().isOpen&&O.getState().activeItemId!==null?St(v.id,"item-".concat(O.getState().activeItemId),M==null?void 0:M.source):void 0,"aria-controls":O.getState().isOpen?O.getState().collections.map((function(W){var F=W.source;return St(v.id,"list",F)})).join(" "):void 0,"aria-labelledby":St(v.id,"label"),value:O.getState().completion||O.getState().query,id:St(v.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:u,spellCheck:"false",autoFocus:v.autoFocus,placeholder:v.placeholder,maxLength:E,type:"search",onChange:function(W){var F=W.currentTarget.value;v.ignoreCompositionEvents&&Pa(W).isComposing?D.setQuery(F):dn(tt({event:W,props:v,query:F.slice(0,E),refresh:_,store:O},D))},onCompositionEnd:function(W){dn(tt({event:W,props:v,query:W.currentTarget.value.slice(0,E),refresh:_,store:O},D))},onKeyDown:function(W){Pa(W).isComposing||(function(F){var X=F.event,oe=F.props,Ae=F.refresh,re=F.store,xe=(function(V,Y){if(V==null)return{};var ee,ce,le=(function(Ye,gt){if(Ye==null)return{};var $e,_t,nt={},At=Object.keys(Ye);for(_t=0;_t<At.length;_t++)$e=At[_t],gt.indexOf($e)>=0||(nt[$e]=Ye[$e]);return nt})(V,Y);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(V);for(ce=0;ce<Ue.length;ce++)ee=Ue[ce],Y.indexOf(ee)>=0||Object.prototype.propertyIsEnumerable.call(V,ee)&&(le[ee]=V[ee])}return le})(F,Ts);if(X.key==="ArrowUp"||X.key==="ArrowDown"){var Q=function(){var V=fn(re.getState()),Y=oe.environment.document.getElementById(St(oe.id,"item-".concat(re.getState().activeItemId),V==null?void 0:V.source));Y&&(Y.scrollIntoViewIfNeeded?Y.scrollIntoViewIfNeeded(!1):Y.scrollIntoView(!1))},K=function(){var V=fn(re.getState());if(re.getState().activeItemId!==null&&V){var Y=V.item,ee=V.itemInputValue,ce=V.itemUrl,le=V.source;le.onActive(hn({event:X,item:Y,itemInputValue:ee,itemUrl:ce,refresh:Ae,source:le,state:re.getState()},xe))}};X.preventDefault(),re.getState().isOpen===!1&&(oe.openOnFocus||re.getState().query)?dn(hn({event:X,props:oe,query:re.getState().query,refresh:Ae,store:re},xe)).then((function(){re.dispatch(X.key,{nextActiveItemId:oe.defaultActiveItemId}),K(),setTimeout(Q,0)})):(re.dispatch(X.key,{}),K(),Q())}else if(X.key==="Escape")X.preventDefault(),re.dispatch(X.key,null),re.pendingRequests.cancelAll();else if(X.key==="Tab")re.dispatch("blur",null),re.pendingRequests.cancelAll();else if(X.key==="Enter"){if(re.getState().activeItemId===null||re.getState().collections.every((function(V){return V.items.length===0})))return void(oe.debug||re.pendingRequests.cancelAll());X.preventDefault();var G=fn(re.getState()),ie=G.item,Z=G.itemInputValue,pe=G.itemUrl,ne=G.source;if(X.metaKey||X.ctrlKey)pe!==void 0&&(ne.onSelect(hn({event:X,item:ie,itemInputValue:Z,itemUrl:pe,refresh:Ae,source:ne,state:re.getState()},xe)),oe.navigator.navigateNewTab({itemUrl:pe,item:ie,state:re.getState()}));else if(X.shiftKey)pe!==void 0&&(ne.onSelect(hn({event:X,item:ie,itemInputValue:Z,itemUrl:pe,refresh:Ae,source:ne,state:re.getState()},xe)),oe.navigator.navigateNewWindow({itemUrl:pe,item:ie,state:re.getState()}));else if(!X.altKey){if(pe!==void 0)return ne.onSelect(hn({event:X,item:ie,itemInputValue:Z,itemUrl:pe,refresh:Ae,source:ne,state:re.getState()},xe)),void oe.navigator.navigate({itemUrl:pe,item:ie,state:re.getState()});dn(hn({event:X,nextState:{isOpen:!1},props:oe,query:Z,refresh:Ae,store:re},xe)).then((function(){ne.onSelect(hn({event:X,item:ie,itemInputValue:Z,itemUrl:pe,refresh:Ae,source:ne,state:re.getState()},xe))}))}}})(tt({event:W,props:v,refresh:_,store:O},D))},onFocus:P,onBlur:Kr,onClick:function(W){k.inputElement!==v.environment.document.activeElement||O.getState().isOpen||P(W)}},L)},getPanelProps:function(k){return tt({onMouseDown:function(A){A.preventDefault()},onMouseLeave:function(){O.dispatch("mouseleave",null)}},k)},getListProps:function(k){var A=k||{},P=A.source,j=Ln(A,Ls);return tt({role:"listbox","aria-labelledby":St(v.id,"label"),id:St(v.id,"list",P)},j)},getItemProps:function(k){var A=k.item,P=k.source,j=Ln(k,Rs);return tt({id:St(v.id,"item-".concat(A.__autocomplete_id),P),role:"option","aria-selected":O.getState().activeItemId===A.__autocomplete_id,onMouseMove:function(w){if(A.__autocomplete_id!==O.getState().activeItemId){O.dispatch("mousemove",A.__autocomplete_id);var E=fn(O.getState());if(O.getState().activeItemId!==null&&E){var L=E.item,M=E.itemInputValue,B=E.itemUrl,u=E.source;u.onActive(tt({event:w,item:L,itemInputValue:M,itemUrl:B,refresh:_,source:u,state:O.getState()},D))}}},onMouseDown:function(w){w.preventDefault()},onClick:function(w){var E=P.getItemInputValue({item:A,state:O.getState()}),L=P.getItemUrl({item:A,state:O.getState()});(L?Promise.resolve():dn(tt({event:w,nextState:{isOpen:!1},props:v,query:E,refresh:_,store:O},D))).then((function(){P.onSelect(tt({event:w,item:A,itemInputValue:E,itemUrl:L,refresh:_,source:P,state:O.getState()},D))}))}},j)}}})(gn({props:r,refresh:h,store:o,navigator:r.navigator},s));function h(){return dn(gn({event:new Event("input"),nextState:{isOpen:o.getState().isOpen},props:r,navigator:r.navigator,query:o.getState().query,refresh:h,store:o},s))}function d(S){S.forEach((function(v){var _;return(_=v.subscribe)===null||_===void 0?void 0:_.call(v,gn(gn({},s),{},{navigator:r.navigator,refresh:h,onSelect:function(O){n.push({onSelect:O})},onActive:function(O){n.push({onActive:O})},onResolve:function(O){n.push({onResolve:O})}}))}))}function m(){return r.plugins.some((function(S){return S.name==="aa.algoliaInsightsPlugin"}))}if(r.insights&&!m()){var y=typeof r.insights=="boolean"?{}:r.insights;r.plugins.push(Oa(y))}return d(r.plugins),(function(S){var v,_,O=S.metadata,D=S.environment;if(!((v=D.navigator)===null||v===void 0||(_=v.userAgent)===null||_===void 0)&&_.includes("Algolia Crawler")){var k=D.document.createElement("meta"),A=D.document.querySelector("head");k.name="algolia:metadata",setTimeout((function(){k.content=JSON.stringify(O),A.appendChild(k)}),0)}})({metadata:Hs({plugins:r.plugins,options:t}),environment:r.environment}),gn(gn({refresh:h,navigator:r.navigator},l),s)}function zs(t){var n=t.translations,r=(n===void 0?{}:n).searchByText,o=r===void 0?"Search by":r;return T.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},T.createElement("span",{className:"DocSearch-Label"},o),T.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},T.createElement("defs",null,T.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),T.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),T.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),T.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),T.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),T.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),T.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),T.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),T.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),T.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function ri(t){return T.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},T.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function Ws(t){var n=t.translations,r=n===void 0?{}:n,o=r.selectText,s=o===void 0?"to select":o,l=r.selectKeyAriaLabel,h=l===void 0?"Enter key":l,d=r.navigateText,m=d===void 0?"to navigate":d,y=r.navigateUpKeyAriaLabel,S=y===void 0?"Arrow up":y,v=r.navigateDownKeyAriaLabel,_=v===void 0?"Arrow down":v,O=r.closeText,D=O===void 0?"to close":O,k=r.closeKeyAriaLabel,A=k===void 0?"Escape key":k,P=r.searchByText,j=P===void 0?"Search by":P;return T.createElement(T.Fragment,null,T.createElement("div",{className:"DocSearch-Logo"},T.createElement(zs,{translations:{searchByText:j}})),T.createElement("ul",{className:"DocSearch-Commands"},T.createElement("li",null,T.createElement("kbd",{className:"DocSearch-Commands-Key"},T.createElement(ri,{ariaLabel:h},T.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),T.createElement("span",{className:"DocSearch-Label"},s)),T.createElement("li",null,T.createElement("kbd",{className:"DocSearch-Commands-Key"},T.createElement(ri,{ariaLabel:_},T.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),T.createElement("kbd",{className:"DocSearch-Commands-Key"},T.createElement(ri,{ariaLabel:S},T.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),T.createElement("span",{className:"DocSearch-Label"},m)),T.createElement("li",null,T.createElement("kbd",{className:"DocSearch-Commands-Key"},T.createElement(ri,{ariaLabel:A},T.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),T.createElement("span",{className:"DocSearch-Label"},D))))}function Vs(t){var n=t.hit,r=t.children;return T.createElement("a",{href:n.url},r)}function Gs(){return T.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},T.createElement("g",{fill:"none",fillRule:"evenodd"},T.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},T.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),T.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Ks(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},T.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),T.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function zi(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Qs(){return T.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},T.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),T.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Ys=function(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Xs(t){switch(t.type){case"lvl1":return T.createElement(Ys,null);case"content":return T.createElement(Zs,null);default:return T.createElement(Js,null)}}function Js(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Zs(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Ya(){return T.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},T.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function ec(){return T.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},T.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function tc(){return T.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},T.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function nc(t){var n=t.translations,r=n===void 0?{}:n,o=r.titleText,s=o===void 0?"Unable to fetch results":o,l=r.helpText,h=l===void 0?"You might want to check your network connection.":l;return T.createElement("div",{className:"DocSearch-ErrorScreen"},T.createElement("div",{className:"DocSearch-Screen-Icon"},T.createElement(ec,null)),T.createElement("p",{className:"DocSearch-Title"},s),T.createElement("p",{className:"DocSearch-Help"},h))}var rc=["translations"];function ic(t){var n=t.translations,r=n===void 0?{}:n,o=Rt(t,rc),s=r.noResultsText,l=s===void 0?"No results for":s,h=r.suggestedQueryText,d=h===void 0?"Try searching for":h,m=r.reportMissingResultsText,y=m===void 0?"Believe this query should return results?":m,S=r.reportMissingResultsLinkText,v=S===void 0?"Let us know.":S,_=o.state.context.searchSuggestions;return T.createElement("div",{className:"DocSearch-NoResults"},T.createElement("div",{className:"DocSearch-Screen-Icon"},T.createElement(tc,null)),T.createElement("p",{className:"DocSearch-Title"},l,' "',T.createElement("strong",null,o.state.query),'"'),_&&_.length>0&&T.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},T.createElement("p",{className:"DocSearch-Help"},d,":"),T.createElement("ul",null,_.slice(0,3).reduce((function(O,D){return[].concat(rr(O),[T.createElement("li",{key:D},T.createElement("button",{className:"DocSearch-Prefill",key:D,type:"button",onClick:function(){o.setQuery(D.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},D))])}),[]))),o.getMissingResultsUrl&&T.createElement("p",{className:"DocSearch-Help"},"".concat(y," "),T.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},v)))}var oc=["hit","attribute","tagName"];function Xa(t,n){return n.split(".").reduce((function(r,o){return r!=null&&r[o]?r[o]:null}),t)}function Rn(t){var n=t.hit,r=t.attribute,o=t.tagName;return Nt(o===void 0?"span":o,Ee(Ee({},Rt(t,oc)),{},{dangerouslySetInnerHTML:{__html:Xa(n,"_snippetResult.".concat(r,".value"))||Xa(n,r)}}))}function Wi(t){return t.collection&&t.collection.items.length!==0?T.createElement("section",{className:"DocSearch-Hits"},T.createElement("div",{className:"DocSearch-Hit-source"},t.title),T.createElement("ul",t.getListProps(),t.collection.items.map((function(n,r){return T.createElement(ac,ot({key:[t.title,n.objectID].join(":"),item:n,index:r},t))})))):null}function ac(t){var n=t.item,r=t.index,o=t.renderIcon,s=t.renderAction,l=t.getItemProps,h=t.onItemClick,d=t.collection,m=t.hitComponent,y=ht(T.useState(!1),2),S=y[0],v=y[1],_=ht(T.useState(!1),2),O=_[0],D=_[1],k=T.useRef(null),A=m;return T.createElement("li",ot({className:["DocSearch-Hit",n.__docsearch_parent&&"DocSearch-Hit--Child",S&&"DocSearch-Hit--deleting",O&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){k.current&&k.current()}},l({item:n,source:d.source,onClick:function(P){h(n,P)}})),T.createElement(A,{hit:n},T.createElement("div",{className:"DocSearch-Hit-Container"},o({item:n,index:r}),n.hierarchy[n.type]&&n.type==="lvl1"&&T.createElement("div",{className:"DocSearch-Hit-content-wrapper"},T.createElement(Rn,{className:"DocSearch-Hit-title",hit:n,attribute:"hierarchy.lvl1"}),n.content&&T.createElement(Rn,{className:"DocSearch-Hit-path",hit:n,attribute:"content"})),n.hierarchy[n.type]&&(n.type==="lvl2"||n.type==="lvl3"||n.type==="lvl4"||n.type==="lvl5"||n.type==="lvl6")&&T.createElement("div",{className:"DocSearch-Hit-content-wrapper"},T.createElement(Rn,{className:"DocSearch-Hit-title",hit:n,attribute:"hierarchy.".concat(n.type)}),T.createElement(Rn,{className:"DocSearch-Hit-path",hit:n,attribute:"hierarchy.lvl1"})),n.type==="content"&&T.createElement("div",{className:"DocSearch-Hit-content-wrapper"},T.createElement(Rn,{className:"DocSearch-Hit-title",hit:n,attribute:"content"}),T.createElement(Rn,{className:"DocSearch-Hit-path",hit:n,attribute:"hierarchy.lvl1"})),s({item:n,runDeleteTransition:function(P){v(!0),k.current=P},runFavoriteTransition:function(P){D(!0),k.current=P}}))))}function Ja(t,n,r){return t.reduce((function(o,s){var l=n(s);return o.hasOwnProperty(l)||(o[l]=[]),o[l].length<(r||5)&&o[l].push(s),o}),{})}function Za(t){return t}function ii(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function uc(){}var eu=/(<mark>|<\/mark>)/g,sc=RegExp(eu.source);function tu(t){var n,r,o=t;if(!o.__docsearch_parent&&!t._highlightResult)return t.hierarchy.lvl0;var s=o.__docsearch_parent?(n=o.__docsearch_parent)===null||n===void 0||(n=n._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0:(r=t._highlightResult)===null||r===void 0||(r=r.hierarchy)===null||r===void 0?void 0:r.lvl0;return s?s.value&&sc.test(s.value)?s.value.replace(eu,""):s.value:t.hierarchy.lvl0}function cc(t){return T.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map((function(n){if(n.items.length===0)return null;var r=tu(n.items[0]);return T.createElement(Wi,ot({},t,{key:n.source.sourceId,title:r,collection:n,renderIcon:function(o){var s,l=o.item,h=o.index;return T.createElement(T.Fragment,null,l.__docsearch_parent&&T.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},T.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},l.__docsearch_parent!==((s=n.items[h+1])===null||s===void 0?void 0:s.__docsearch_parent)?T.createElement("path",{d:"M8 6v21M20 27H8.3"}):T.createElement("path",{d:"M8 6v42M20 27H8.3"}))),T.createElement("div",{className:"DocSearch-Hit-icon"},T.createElement(Xs,{type:l.type})))},renderAction:function(){return T.createElement("div",{className:"DocSearch-Hit-action"},T.createElement(Qs,null))}}))})),t.resultsFooterComponent&&T.createElement("section",{className:"DocSearch-HitsFooter"},T.createElement(t.resultsFooterComponent,{state:t.state})))}var lc=["translations"];function fc(t){var n=t.translations,r=n===void 0?{}:n,o=Rt(t,lc),s=r.recentSearchesTitle,l=s===void 0?"Recent":s,h=r.noRecentSearchesText,d=h===void 0?"No recent searches":h,m=r.saveRecentSearchButtonTitle,y=m===void 0?"Save this search":m,S=r.removeRecentSearchButtonTitle,v=S===void 0?"Remove this search from history":S,_=r.favoriteSearchesTitle,O=_===void 0?"Favorite":_,D=r.removeFavoriteSearchButtonTitle,k=D===void 0?"Remove this search from favorites":D;return o.state.status==="idle"&&o.hasCollections===!1?o.disableUserPersonalization?null:T.createElement("div",{className:"DocSearch-StartScreen"},T.createElement("p",{className:"DocSearch-Help"},d)):o.hasCollections===!1?null:T.createElement("div",{className:"DocSearch-Dropdown-Container"},T.createElement(Wi,ot({},o,{title:l,collection:o.state.collections[0],renderIcon:function(){return T.createElement("div",{className:"DocSearch-Hit-icon"},T.createElement(Ks,null))},renderAction:function(A){var P=A.item,j=A.runFavoriteTransition,w=A.runDeleteTransition;return T.createElement(T.Fragment,null,T.createElement("div",{className:"DocSearch-Hit-action"},T.createElement("button",{className:"DocSearch-Hit-action-button",title:y,type:"submit",onClick:function(E){E.preventDefault(),E.stopPropagation(),j((function(){o.favoriteSearches.add(P),o.recentSearches.remove(P),o.refresh()}))}},T.createElement(Ya,null))),T.createElement("div",{className:"DocSearch-Hit-action"},T.createElement("button",{className:"DocSearch-Hit-action-button",title:v,type:"submit",onClick:function(E){E.preventDefault(),E.stopPropagation(),w((function(){o.recentSearches.remove(P),o.refresh()}))}},T.createElement(zi,null))))}})),T.createElement(Wi,ot({},o,{title:O,collection:o.state.collections[1],renderIcon:function(){return T.createElement("div",{className:"DocSearch-Hit-icon"},T.createElement(Ya,null))},renderAction:function(A){var P=A.item,j=A.runDeleteTransition;return T.createElement("div",{className:"DocSearch-Hit-action"},T.createElement("button",{className:"DocSearch-Hit-action-button",title:k,type:"submit",onClick:function(w){w.preventDefault(),w.stopPropagation(),j((function(){o.favoriteSearches.remove(P),o.refresh()}))}},T.createElement(zi,null)))}})))}var pc=["translations"],dc=T.memo((function(t){var n=t.translations,r=n===void 0?{}:n,o=Rt(t,pc);if(o.state.status==="error")return T.createElement(nc,{translations:r==null?void 0:r.errorScreen});var s=o.state.collections.some((function(l){return l.items.length>0}));return o.state.query?s===!1?T.createElement(ic,ot({},o,{translations:r==null?void 0:r.noResultsScreen})):T.createElement(cc,o):T.createElement(fc,ot({},o,{hasCollections:s,translations:r==null?void 0:r.startScreen}))}),(function(t,n){return n.state.status==="loading"||n.state.status==="stalled"})),hc=["translations"];function gc(t){var n=t.translations,r=n===void 0?{}:n,o=Rt(t,hc),s=r.resetButtonTitle,l=s===void 0?"Clear the query":s,h=r.resetButtonAriaLabel,d=h===void 0?"Clear the query":h,m=r.cancelButtonText,y=m===void 0?"Cancel":m,S=r.cancelButtonAriaLabel,v=S===void 0?"Cancel":S,_=r.searchInputLabel,O=_===void 0?"Search":_,D=o.getFormProps({inputElement:o.inputRef.current}).onReset;return T.useEffect((function(){o.autoFocus&&o.inputRef.current&&o.inputRef.current.focus()}),[o.autoFocus,o.inputRef]),T.useEffect((function(){o.isFromSelection&&o.inputRef.current&&o.inputRef.current.select()}),[o.isFromSelection,o.inputRef]),T.createElement(T.Fragment,null,T.createElement("form",{className:"DocSearch-Form",onSubmit:function(k){k.preventDefault()},onReset:D},T.createElement("label",ot({className:"DocSearch-MagnifierLabel"},o.getLabelProps()),T.createElement(ga,null),T.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},O)),T.createElement("div",{className:"DocSearch-LoadingIndicator"},T.createElement(Gs,null)),T.createElement("input",ot({className:"DocSearch-Input",ref:o.inputRef},o.getInputProps({inputElement:o.inputRef.current,autoFocus:o.autoFocus,maxLength:64}))),T.createElement("button",{type:"reset",title:l,className:"DocSearch-Reset","aria-label":d,hidden:!o.state.query},T.createElement(zi,null))),T.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":v,onClick:o.onClose},y))}var mc=["_highlightResult","_snippetResult"];function nu(t){var n=t.key,r=t.limit,o=r===void 0?5:r,s=(function(h){return(function(){var d="__TEST_KEY__";try{return localStorage.setItem(d,""),localStorage.removeItem(d),!0}catch(m){return!1}})()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(d){return window.localStorage.setItem(h,JSON.stringify(d))},getItem:function(){var d=window.localStorage.getItem(h);return d?JSON.parse(d):[]}}})(n),l=s.getItem().slice(0,o);return{add:function(h){var d=h;d._highlightResult,d._snippetResult;var m=Rt(d,mc),y=l.findIndex((function(S){return S.objectID===m.objectID}));y>-1&&l.splice(y,1),l.unshift(m),l=l.slice(0,o),s.setItem(l)},remove:function(h){l=l.filter((function(d){return d.objectID!==h.objectID})),s.setItem(l)},getAll:function(){return l}}}function vc(t){var n,r="algolia-client-js-".concat(t.key);function o(){return n===void 0&&(n=t.localStorage||window.localStorage),n}function s(){return JSON.parse(o().getItem(r)||"{}")}function l(h){o().setItem(r,JSON.stringify(h))}return{get:function(h,d){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var y,S,v;return y=t.timeToLive?1e3*t.timeToLive:null,S=s(),l(v=Object.fromEntries(Object.entries(S).filter((function(_){return ht(_,2)[1].timestamp!==void 0})))),y&&l(Object.fromEntries(Object.entries(v).filter((function(_){var O=ht(_,2)[1],D=new Date().getTime();return!(O.timestamp+y<D)})))),s()[JSON.stringify(h)]})).then((function(y){return Promise.all([y?y.value:d(),y!==void 0])})).then((function(y){var S=ht(y,2),v=S[0],_=S[1];return Promise.all([v,_||m.miss(v)])})).then((function(y){return ht(y,1)[0]}))},set:function(h,d){return Promise.resolve().then((function(){var m=s();return m[JSON.stringify(h)]={timestamp:new Date().getTime(),value:d},o().setItem(r,JSON.stringify(m)),d}))},delete:function(h){return Promise.resolve().then((function(){var d=s();delete d[JSON.stringify(h)],o().setItem(r,JSON.stringify(d))}))},clear:function(){return Promise.resolve().then((function(){o().removeItem(r)}))}}}function Ar(t){var n=rr(t.caches),r=n.shift();return r===void 0?{get:function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return s().then((function(h){return Promise.all([h,l.miss(h)])})).then((function(h){return ht(h,1)[0]}))},set:function(o,s){return Promise.resolve(s)},delete:function(o){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(o,s,l).catch((function(){return Ar({caches:n}).get(o,s,l)}))},set:function(o,s){return r.set(o,s).catch((function(){return Ar({caches:n}).set(o,s)}))},delete:function(o){return r.delete(o).catch((function(){return Ar({caches:n}).delete(o)}))},clear:function(){return r.clear().catch((function(){return Ar({caches:n}).clear()}))}}}function Vi(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},n={};return{get:function(r,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},l=JSON.stringify(r);if(l in n)return Promise.resolve(t.serializable?JSON.parse(n[l]):n[l]);var h=o();return h.then((function(d){return s.miss(d)})).then((function(){return h}))},set:function(r,o){return n[JSON.stringify(r)]=t.serializable?JSON.stringify(o):o,Promise.resolve(o)},delete:function(r){return delete n[JSON.stringify(r)],Promise.resolve()},clear:function(){return n={},Promise.resolve()}}}function yc(t){var n=t.algoliaAgents,r=t.client,o=t.version,s=(function(l){var h={value:"Algolia for JavaScript (".concat(l,")"),add:function(d){var m="; ".concat(d.segment).concat(d.version!==void 0?" (".concat(d.version,")"):"");return h.value.indexOf(m)===-1&&(h.value="".concat(h.value).concat(m)),h}};return h})(o).add({segment:r,version:o});return n.forEach((function(l){return s.add(l)})),s}var ru=12e4;function iu(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"up",r=Date.now();return Ee(Ee({},t),{},{status:n,lastUpdate:r,isUp:function(){return n==="up"||Date.now()-r>ru},isTimedOut:function(){return n==="timed out"&&Date.now()-r<=ru}})}var ou=(function(){function t(n,r){var o;return kn(this,t),Tn(o=On(this,t,[n]),"name","AlgoliaError"),r&&(o.name=r),o}return jn(t,Ri(Error)),Cn(t)})(),au=(function(){function t(n,r,o){var s;return kn(this,t),Tn(s=On(this,t,[n,o]),"stackTrace",void 0),s.stackTrace=r,s}return jn(t,ou),Cn(t)})(),bc=(function(){function t(n){return kn(this,t),On(this,t,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",n,"RetryError"])}return jn(t,au),Cn(t)})(),Gi=(function(){function t(n,r,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"ApiError";return kn(this,t),Tn(s=On(this,t,[n,o,l]),"status",void 0),s.status=r,s}return jn(t,au),Cn(t)})(),_c=(function(){function t(n,r){var o;return kn(this,t),Tn(o=On(this,t,[n,"DeserializationError"]),"response",void 0),o.response=r,o}return jn(t,ou),Cn(t)})(),Ac=(function(){function t(n,r,o,s){var l;return kn(this,t),Tn(l=On(this,t,[n,r,s,"DetailedApiError"]),"error",void 0),l.error=o,l}return jn(t,Gi),Cn(t)})();function wc(t,n,r){var o,s=(o=r,Object.keys(o).filter((function(h){return o[h]!==void 0})).sort().map((function(h){return"".concat(h,"=").concat(encodeURIComponent(Object.prototype.toString.call(o[h])==="[object Array]"?o[h].join(","):o[h]).replace(/\+/g,"%20"))})).join("&")),l="".concat(t.protocol,"://").concat(t.url).concat(t.port?":".concat(t.port):"","/").concat(n.charAt(0)==="/"?n.substring(1):n);return s.length&&(l+="?".concat(s)),l}function Sc(t,n){if(t.method!=="GET"&&(t.data!==void 0||n.data!==void 0)){var r=Array.isArray(t.data)?t.data:Ee(Ee({},t.data),n.data);return JSON.stringify(r)}}function Ec(t,n,r){var o=Ee(Ee(Ee({Accept:"application/json"},t),n),r),s={};return Object.keys(o).forEach((function(l){var h=o[l];s[l.toLowerCase()]=h})),s}function xc(t){try{return JSON.parse(t.content)}catch(n){throw new _c(n.message,t)}}function Oc(t,n){var r=t.content,o=t.status;try{var s=JSON.parse(r);return"error"in s?new Ac(s.message,o,s.error,n):new Gi(s.message,o,n)}catch(l){}return new Gi(r,o,n)}function kc(t){return t.map((function(n){return uu(n)}))}function uu(t){var n=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return Ee(Ee({},t),{},{request:Ee(Ee({},t.request),{},{headers:Ee(Ee({},t.request.headers),n)})})}var Cc=["appId","apiKey","authMode","algoliaAgents"],Tc=["params"],su="5.19.0";function jc(t){return[{url:"".concat(t,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(t,".algolia.net"),accept:"write",protocol:"https"}].concat((function(n){for(var r=n,o=n.length-1;o>0;o--){var s=Math.floor(Math.random()*(o+1)),l=n[o];r[o]=n[s],r[s]=l}return r})([{url:"".concat(t,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(t,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(t,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var Ki="3.9.0",Ic=["footer","searchBox"];function Pc(t){var n=t.appId,r=t.apiKey,o=t.indexName,s=t.placeholder,l=s===void 0?"Search docs":s,h=t.searchParameters,d=t.maxResultsPerGroup,m=t.onClose,y=m===void 0?uc:m,S=t.transformItems,v=S===void 0?Za:S,_=t.hitComponent,O=_===void 0?Vs:_,D=t.resultsFooterComponent,k=D===void 0?function(){return null}:D,A=t.navigator,P=t.initialScrollY,j=P===void 0?0:P,w=t.transformSearchClient,E=w===void 0?Za:w,L=t.disableUserPersonalization,M=L!==void 0&&L,B=t.initialQuery,u=B===void 0?"":B,W=t.translations,F=W===void 0?{}:W,X=t.getMissingResultsUrl,oe=t.insights,Ae=oe!==void 0&&oe,re=F.footer,xe=F.searchBox,Q=Rt(F,Ic),K=ht(T.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),G=K[0],ie=K[1],Z=T.useRef(null),pe=T.useRef(null),ne=T.useRef(null),V=T.useRef(null),Y=T.useRef(null),ee=T.useRef(10),ce=T.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,le=T.useRef(u||ce).current,Ue=(function(_e,je,Me){return T.useMemo((function(){var at=(function(lt,mt){if(!lt||typeof lt!="string")throw new Error("`appId` is missing.");if(!mt||typeof mt!="string")throw new Error("`apiKey` is missing.");return(function(me){var qe=me.appId,Ne=me.apiKey,se=me.authMode,Ve=me.algoliaAgents,Et=Rt(me,Cc),wt=(function(de,Re){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"WithinHeaders",Ge={"x-algolia-api-key":Re,"x-algolia-application-id":de};return{headers:function(){return ze==="WithinHeaders"?Ge:{}},queryParameters:function(){return ze==="WithinQueryParameters"?Ge:{}}}})(qe,Ne,se),ut=(function(de){var Re=de.hosts,ze=de.hostsCache,Ge=de.baseHeaders,et=de.logger,ft=de.baseQueryParameters,Gt=de.algoliaAgent,mn=de.timeouts,wr=de.requester,Zt=de.requestsCache,Sr=de.responsesCache;function en(Be){return tn.apply(this,arguments)}function tn(){return(tn=Ni(ln().mark((function Be(De){var Ke,Tt,Xe,rt,pt;return ln().wrap((function(st){for(;;)switch(st.prev=st.next){case 0:return st.next=2,Promise.all(De.map((function(Je){return ze.get(Je,(function(){return Promise.resolve(iu(Je))}))})));case 2:return Ke=st.sent,Tt=Ke.filter((function(Je){return Je.isUp()})),Xe=Ke.filter((function(Je){return Je.isTimedOut()})),rt=[].concat(rr(Tt),rr(Xe)),pt=rt.length>0?rt:De,st.abrupt("return",{hosts:pt,getTimeout:function(Je,jt){return(Xe.length===0&&Je===0?1:Xe.length+3+Je)*jt}});case 8:case"end":return st.stop()}}),Be)})))).apply(this,arguments)}function Er(Be,De){return qn.apply(this,arguments)}function qn(){return qn=Ni(ln().mark((function Be(De,Ke){var Tt,Xe,rt,pt,st,Je,jt,xr,Kt,Mn,Hn,ui,Or,Fn=arguments;return ln().wrap((function(nn){for(;;)switch(nn.prev=nn.next){case 0:if(Tt=!(Fn.length>2&&Fn[2]!==void 0)||Fn[2],Xe=[],rt=Sc(De,Ke),pt=Ec(Ge,De.headers,Ke.headers),st=De.method==="GET"?Ee(Ee({},De.data),Ke.data):{},Je=Ee(Ee(Ee({},ft),De.queryParameters),st),Gt.value&&(Je["x-algolia-agent"]=Gt.value),Ke&&Ke.queryParameters)for(jt=0,xr=Object.keys(Ke.queryParameters);jt<xr.length;jt++)Kt=xr[jt],Ke.queryParameters[Kt]&&Object.prototype.toString.call(Ke.queryParameters[Kt])!=="[object Object]"?Je[Kt]=Ke.queryParameters[Kt].toString():Je[Kt]=Ke.queryParameters[Kt];return Mn=0,Hn=(function(){var xt=Ni(ln().mark((function kr(rn,vn){var Mt,yn,Cr,Qt,It,Tr;return ln().wrap((function(vt){for(;;)switch(vt.prev=vt.next){case 0:if((Mt=rn.pop())!==void 0){vt.next=3;break}throw new bc(kc(Xe));case 3:return yn=Ee(Ee({},mn),Ke.timeouts),Cr={data:rt,headers:pt,method:De.method,url:wc(Mt,De.path,Je),connectTimeout:vn(Mn,yn.connect),responseTimeout:vn(Mn,Tt?yn.read:yn.write)},Qt=function($n){var si={request:Cr,response:$n,host:Mt,triesLeft:rn.length};return Xe.push(si),si},vt.next=8,wr.send(Cr);case 8:if(Ir=(jr=It=vt.sent).isTimedOut,on=jr.status,!(Ir||(function($n){return!$n.isTimedOut&&!~~$n.status})({isTimedOut:Ir,status:on})||~~(on/100)!=2&&~~(on/100)!=4)){vt.next=16;break}return Tr=Qt(It),It.isTimedOut&&Mn++,et.info("Retryable failure",uu(Tr)),vt.next=15,ze.set(Mt,iu(Mt,It.isTimedOut?"timed out":"down"));case 15:return vt.abrupt("return",Hn(rn,vn));case 16:if(~~(It.status/100)!=2){vt.next=18;break}return vt.abrupt("return",xc(It));case 18:throw Qt(It),Oc(It,Xe);case 20:case"end":return vt.stop()}var jr,Ir,on}),kr)})));return function(kr,rn){return xt.apply(this,arguments)}})(),ui=Re.filter((function(xt){return xt.accept==="readWrite"||(Tt?xt.accept==="read":xt.accept==="write")})),nn.next=13,en(ui);case 13:return Or=nn.sent,nn.abrupt("return",Hn(rr(Or.hosts).reverse(),Or.getTimeout));case 15:case"end":return nn.stop()}}),Be)}))),qn.apply(this,arguments)}return{hostsCache:ze,requester:wr,timeouts:mn,logger:et,algoliaAgent:Gt,baseHeaders:Ge,baseQueryParameters:ft,hosts:Re,request:function(Be){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=Be.useReadTransporter||Be.method==="GET";if(!Ke)return Er(Be,De,Ke);var Tt=function(){return Er(Be,De)};if((De.cacheable||Be.cacheable)!==!0)return Tt();var Xe={request:Be,requestOptions:De,transporter:{queryParameters:ft,headers:Ge}};return Sr.get(Xe,(function(){return Zt.get(Xe,(function(){return Zt.set(Xe,Tt()).then((function(rt){return Promise.all([Zt.delete(Xe),rt])}),(function(rt){return Promise.all([Zt.delete(Xe),Promise.reject(rt)])})).then((function(rt){var pt=ht(rt,2);return pt[0],pt[1]}))}))}),{miss:function(rt){return Sr.set(Xe,rt)}})},requestsCache:Zt,responsesCache:Sr}})(Ee(Ee({hosts:jc(qe)},Et),{},{algoliaAgent:yc({algoliaAgents:Ve,client:"Lite",version:su}),baseHeaders:Ee(Ee({"content-type":"text/plain"},wt.headers()),Et.baseHeaders),baseQueryParameters:Ee(Ee({},wt.queryParameters()),Et.baseQueryParameters)}));return{transporter:ut,appId:qe,apiKey:Ne,clearCache:function(){return Promise.all([ut.requestsCache.clear(),ut.responsesCache.clear()]).then((function(){}))},get _ua(){return ut.algoliaAgent.value},addAlgoliaAgent:function(de,Re){ut.algoliaAgent.add({segment:de,version:Re})},setClientApiKey:function(de){var Re=de.apiKey;se&&se!=="WithinHeaders"?ut.baseQueryParameters["x-algolia-api-key"]=Re:ut.baseHeaders["x-algolia-api-key"]=Re},searchForHits:function(de,Re){return this.search(de,Re)},searchForFacets:function(de,Re){return this.search(de,Re)},customPost:function(de,Re){var ze=de.path,Ge=de.parameters,et=de.body;if(!ze)throw new Error("Parameter `path` is required when calling `customPost`.");var ft={method:"POST",path:"/{path}".replace("{path}",ze),queryParameters:Ge||{},headers:{},data:et||{}};return ut.request(ft,Re)},getRecommendations:function(de,Re){if(de&&Array.isArray(de)&&(de={requests:de}),!de)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!de.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var ze={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:de,useReadTransporter:!0,cacheable:!0};return ut.request(ze,Re)},search:function(de,Re){if(de&&Array.isArray(de)){var ze={requests:de.map((function(et){var ft=et.params,Gt=Rt(et,Tc);return Gt.type==="facet"?Ee(Ee(Ee({},Gt),ft),{},{type:"facet"}):Ee(Ee(Ee({},Gt),ft),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}))};de=ze}if(!de)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!de.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var Ge={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:de,useReadTransporter:!0,cacheable:!0};return ut.request(Ge,Re)}}})(Ee({appId:lt,apiKey:mt,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(me,qe){return Promise.resolve()},info:function(me,qe){return Promise.resolve()},error:function(me,qe){return Promise.resolve()}},requester:{send:function(me){return new Promise((function(qe){var Ne=new XMLHttpRequest;Ne.open(me.method,me.url,!0),Object.keys(me.headers).forEach((function(wt){return Ne.setRequestHeader(wt,me.headers[wt])}));var se,Ve=function(wt,ut){return setTimeout((function(){Ne.abort(),qe({status:0,content:ut,isTimedOut:!0})}),wt)},Et=Ve(me.connectTimeout,"Connection timeout");Ne.onreadystatechange=function(){Ne.readyState>Ne.OPENED&&se===void 0&&(clearTimeout(Et),se=Ve(me.responseTimeout,"Socket timeout"))},Ne.onerror=function(){Ne.status===0&&(clearTimeout(Et),clearTimeout(se),qe({content:Ne.responseText||"Network request failed",status:Ne.status,isTimedOut:!1}))},Ne.onload=function(){clearTimeout(Et),clearTimeout(se),qe({content:Ne.responseText,status:Ne.status,isTimedOut:!1})},Ne.send(me.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Vi(),requestsCache:Vi({serializable:!1}),hostsCache:Ar({caches:[vc({key:"".concat(su,"-").concat(lt)}),Vi()]})},void 0))})(_e,je);return at.addAlgoliaAgent("docsearch",Ki),/docsearch.js \(.*\)/.test(at.transporter.algoliaAgent.value)===!1&&at.addAlgoliaAgent("docsearch-react",Ki),Me(at)}),[_e,je,Me])})(n,r,E),Ye=T.useRef(nu({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,gt=T.useRef(nu({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:Ye.getAll().length===0?7:4})).current,$e=T.useCallback((function(_e){if(!M){var je=_e.type==="content"?_e.__docsearch_parent:_e;je&&Ye.getAll().findIndex((function(Me){return Me.objectID===je.objectID}))===-1&>.add(je)}}),[Ye,gt,M]),_t=T.useCallback((function(_e){if(G.context.algoliaInsightsPlugin&&_e.__autocomplete_id){var je=_e,Me={eventName:"Item Selected",index:je.__autocomplete_indexName,items:[je],positions:[_e.__autocomplete_id],queryID:je.__autocomplete_queryID};G.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(Me)}}),[G.context.algoliaInsightsPlugin]),nt=T.useMemo((function(){return Us({id:"docsearch",defaultActiveItemId:0,placeholder:l,openOnFocus:!0,initialState:{query:le,context:{searchSuggestions:[]}},insights:Ae,navigator:A,onStateChange:function(_e){ie(_e.state)},getSources:function(_e){var je=_e.query,Me=_e.state,at=_e.setContext,lt=_e.setStatus;if(!je)return M?[]:[{sourceId:"recentSearches",onSelect:function(me){var qe=me.item,Ne=me.event;$e(qe),ii(Ne)||y()},getItemUrl:function(me){return me.item.url},getItems:function(){return gt.getAll()}},{sourceId:"favoriteSearches",onSelect:function(me){var qe=me.item,Ne=me.event;$e(qe),ii(Ne)||y()},getItemUrl:function(me){return me.item.url},getItems:function(){return Ye.getAll()}}];var mt=!!Ae;return Ue.search({requests:[Ee({query:je,indexName:o,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(ee.current),"hierarchy.lvl2:".concat(ee.current),"hierarchy.lvl3:".concat(ee.current),"hierarchy.lvl4:".concat(ee.current),"hierarchy.lvl5:".concat(ee.current),"hierarchy.lvl6:".concat(ee.current),"content:".concat(ee.current)],snippetEllipsisText:"\u2026",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:mt},h)]}).catch((function(me){throw me.name==="RetryError"&<("error"),me})).then((function(me){var qe=me.results[0],Ne=qe.hits,se=qe.nbHits,Ve=Ja(Ne,(function(wt){return tu(wt)}),d);Me.context.searchSuggestions.length<Object.keys(Ve).length&&at({searchSuggestions:Object.keys(Ve)}),at({nbHits:se});var Et={};return mt&&(Et={__autocomplete_indexName:o,__autocomplete_queryID:qe.queryID,__autocomplete_algoliaCredentials:{appId:n,apiKey:r}}),Object.values(Ve).map((function(wt,ut){return{sourceId:"hits".concat(ut),onSelect:function(de){var Re=de.item,ze=de.event;$e(Re),ii(ze)||y()},getItemUrl:function(de){return de.item.url},getItems:function(){return Object.values(Ja(wt,(function(de){return de.hierarchy.lvl1}),d)).map(v).map((function(de){return de.map((function(Re){var ze=null,Ge=de.find((function(et){return et.type==="lvl1"&&et.hierarchy.lvl1===Re.hierarchy.lvl1}));return Re.type!=="lvl1"&&Ge&&(ze=Ge),Ee(Ee({},Re),{},{__docsearch_parent:ze},Et)}))})).flat()}}}))}))}})}),[o,h,d,Ue,y,gt,Ye,$e,le,l,A,v,M,Ae,n,r]),At=nt.getEnvironmentProps,oi=nt.getRootProps,ai=nt.refresh;return(function(_e){var je=_e.getEnvironmentProps,Me=_e.panelElement,at=_e.formElement,lt=_e.inputElement;T.useEffect((function(){if(Me&&at&<){var mt=je({panelElement:Me,formElement:at,inputElement:lt}),me=mt.onTouchStart,qe=mt.onTouchMove;return window.addEventListener("touchstart",me),window.addEventListener("touchmove",qe),function(){window.removeEventListener("touchstart",me),window.removeEventListener("touchmove",qe)}}}),[je,Me,at,lt])})({getEnvironmentProps:At,panelElement:V.current,formElement:ne.current,inputElement:Y.current}),(function(_e){var je=_e.container;T.useEffect((function(){if(je){var Me=je.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),at=Me[0],lt=Me[Me.length-1];return je.addEventListener("keydown",mt),function(){je.removeEventListener("keydown",mt)}}function mt(me){me.key==="Tab"&&(me.shiftKey?document.activeElement===at&&(me.preventDefault(),lt.focus()):document.activeElement===lt&&(me.preventDefault(),at.focus()))}}),[je])})({container:Z.current}),T.useEffect((function(){return document.body.classList.add("DocSearch--active"),function(){var _e,je;document.body.classList.remove("DocSearch--active"),(_e=(je=window).scrollTo)===null||_e===void 0||_e.call(je,0,j)}}),[]),T.useLayoutEffect((function(){var _e=window.innerWidth-document.body.clientWidth;return document.body.style.marginRight="".concat(_e,"px"),function(){document.body.style.marginRight="0px"}}),[]),T.useEffect((function(){window.matchMedia("(max-width: 768px)").matches&&(ee.current=5)}),[]),T.useEffect((function(){V.current&&(V.current.scrollTop=0)}),[G.query]),T.useEffect((function(){le.length>0&&(ai(),Y.current&&Y.current.focus())}),[le,ai]),T.useEffect((function(){function _e(){if(pe.current){var je=.01*window.innerHeight;pe.current.style.setProperty("--docsearch-vh","".concat(je,"px"))}}return _e(),window.addEventListener("resize",_e),function(){window.removeEventListener("resize",_e)}}),[]),T.createElement("div",ot({ref:Z},oi({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",G.status==="stalled"&&"DocSearch-Container--Stalled",G.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(_e){_e.target===_e.currentTarget&&y()}}),T.createElement("div",{className:"DocSearch-Modal",ref:pe},T.createElement("header",{className:"DocSearch-SearchBar",ref:ne},T.createElement(gc,ot({},nt,{state:G,autoFocus:le.length===0,inputRef:Y,isFromSelection:!!le&&le===ce,translations:xe,onClose:y}))),T.createElement("div",{className:"DocSearch-Dropdown",ref:V},T.createElement(dc,ot({},nt,{indexName:o,state:G,hitComponent:O,resultsFooterComponent:k,disableUserPersonalization:M,recentSearches:gt,favoriteSearches:Ye,inputRef:Y,translations:Q,getMissingResultsUrl:X,onItemClick:function(_e,je){_t(_e),$e(_e),ii(je)||y()}}))),T.createElement("footer",{className:"DocSearch-Footer"},T.createElement(Ws,{translations:re}))))}function Dc(t){var n,r,o=T.useRef(null),s=ht(T.useState(!1),2),l=s[0],h=s[1],d=ht(T.useState((t==null?void 0:t.initialQuery)||void 0),2),m=d[0],y=d[1],S=T.useCallback((function(){h(!0)}),[h]),v=T.useCallback((function(){h(!1),y(t==null?void 0:t.initialQuery)}),[h,t.initialQuery]);return(function(_){var O=_.isOpen,D=_.onOpen,k=_.onClose,A=_.onInput,P=_.searchButtonRef;T.useEffect((function(){function j(w){var E;if(w.code==="Escape"&&O||((E=w.key)===null||E===void 0?void 0:E.toLowerCase())==="k"&&(w.metaKey||w.ctrlKey)||!(function(L){var M=L.target,B=M.tagName;return M.isContentEditable||B==="INPUT"||B==="SELECT"||B==="TEXTAREA"})(w)&&w.key==="/"&&!O)return w.preventDefault(),void(O?k():document.body.classList.contains("DocSearch--active")||D());P&&P.current===document.activeElement&&A&&/[a-zA-Z0-9]/.test(String.fromCharCode(w.keyCode))&&A(w)}return window.addEventListener("keydown",j),function(){window.removeEventListener("keydown",j)}}),[O,D,k,A,P])})({isOpen:l,onOpen:S,onClose:v,onInput:T.useCallback((function(_){h(!0),y(_.key)}),[h,y]),searchButtonRef:o}),T.createElement(T.Fragment,null,T.createElement(cs,{ref:o,translations:t==null||(n=t.translations)===null||n===void 0?void 0:n.button,onClick:S}),l&&oa(T.createElement(Pc,ot({},t,{initialScrollY:window.scrollY,initialQuery:m,translations:t==null||(r=t.translations)===null||r===void 0?void 0:r.modal,onClose:v})),document.body))}function Nc(t){ua(T.createElement(Dc,mi({},t,{transformSearchClient:function(n){return n.addAlgoliaAgent("docsearch.js",Ki),t.transformSearchClient?t.transformSearchClient(n):n}})),(function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof n=="string"?r.document.querySelector(n):n})(t.container,t.environment))}Nc({appId:"S4T2OSB07R",apiKey:"ea6ae2e0546ad6007f7f464a296b67de",indexName:"chocolatey",container:"#docsearchResults"}),(()=>{let t=document.querySelectorAll('.task-list-item [type="checkbox"]');t&&t.forEach(n=>{n.classList.add("form-check-input"),n.outerHTML=`<div class="form-check">${n.outerHTML}<label class="form-check-label"></label></div>`})})();var Lc=Hr(Lu());window.addEventListener("DOMContentLoaded",()=>{if(document.querySelector(".anchorjs-container")){for(let n of document.querySelectorAll("li")){let r=n.firstChild,o=n.classList.contains("task-list-item"),s;switch(o?s=r.nextElementSibling:s=r,s.nodeName){case"STRONG":case"CODE":s.classList.add("d-anchor");break;default:break}}let t=new Lc.default;t.options.placement="left",t.add(".anchorjs-container h2:not(.d-anchor-none), .anchorjs-container h3:not(.d-anchor-none), .anchorjs-container h4:not(.d-anchor-none), .anchorjs-container h5:not(.d-anchor-none), .anchorjs-container h6:not(.d-anchor-none), .anchorjs-container li .d-anchor")}});var qt=Hr(Ru());(0,qt.default)(".nav-scrollspy .nav-link").each((t,n)=>{let r=(0,qt.default)(n).attr("href"),o=s=>{if(s==="#"){(0,qt.default)(n).parent().remove();return}~s.indexOf(".")&&(s=s.replace(/\./g,"\\.")),(0,qt.default)(s).length&&((0,qt.default)(window).scrollTop()>(0,qt.default)(s).offset().top-30&&(0,qt.default)(s).is(":visible")?((0,qt.default)(`a[href="${s}"].nav-link`).addClass("active active-page"),(0,qt.default)(`a[href="${s}"].nav-link`).parent().prev().find("a.active").removeClass("active active-page")):(0,qt.default)(`a[href="${s}"].nav-link`).removeClass("active active-page"))};o(r),window.addEventListener("scroll",()=>{o(r)})}),window.addEventListener("DOMContentLoaded",()=>{let t="data-choco-tab-multi",n=document.querySelectorAll(`[${t}]`),r=new Set;if(n&&n.length>0){for(let o of n){let s=o.getAttribute(t).replace(/\s/g,""),l=null;if(s){try{l=JSON.parse(s!=null?s:"")}catch(h){return}for(let h in l)Object.prototype.hasOwnProperty.call(l,h)&&r.add(h);o.addEventListener("click",()=>{let h=o.getAttribute(t).replace(/\s/g,"");for(let m of n){let y=m.getAttribute(t).replace(/\s/g,"");y!=null&&y.includes(h!=null?h:"")&&window.bootstrap.Tab.getOrCreateInstance(m).show()}let d=~location.hostname.indexOf("chocolatey.org")?"domain=chocolatey.org;":"";for(let m in l)if(Object.prototype.hasOwnProperty.call(l,m)){let y=l[m];document.cookie=`${m}=${y}; ${Fr()}path=/; ${d}`}})}}for(let o of r){let s=gi(o);if(s)for(let l of n){let h=l.getAttribute(t).replace(/\s/g,"");h!=null&&h.includes(o)&&(h!=null&&h.includes(s))&&window.bootstrap.Tab.getOrCreateInstance(l).show()}}}}),(()=>{let t=document.querySelectorAll("table");t&&t.forEach(n=>{n.classList.add("table","table-bordered","table-striped"),n.outerHTML=`<div class="table-responsive">${n.outerHTML}</div>`})})(),document.querySelectorAll(".dropdown-theme").forEach(n=>{n.querySelectorAll(".dropdown-toggle").forEach(r=>{r.addEventListener("hide.bs.dropdown",()=>{document.querySelectorAll("main").forEach(o=>{o.classList.remove("z-0")})}),r.addEventListener("show.bs.dropdown",()=>{document.querySelectorAll("main").forEach(o=>{o.classList.add("z-0")})})})});var Rc=()=>{document.querySelectorAll(".copy-command").forEach(t=>{let n=t.querySelector("code").getAttribute("class").split(" "),r=t.querySelector("button");r&&(r.classList.add("btn-copy"),r.setAttribute("data-clipboard-target",`.${n[0]}`))})},qc=t=>t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),cu=(t,n,r,o)=>{let s;if(r==="never")s=Fr();else if(r==="expired")s="expires=Thu, 01 Jan 1970 00:00:00 UTC";else{let h=new Date;h.setTime(h.getTime()+r*24*60*60*1e3),s=`expires=${h.toUTCString()}`}let l=o||"";document.cookie=`${t}=${encodeURIComponent(n)};${s};path=/;${l};`};document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelectorAll(".dynamic-code-block-container"),n=document.querySelectorAll(".dynamic-code-block-input"),r=document.querySelectorAll(".dynamic-code-block-validation"),o=(l,h,d,m)=>{let y=document.querySelectorAll(`.${h}`),S=m||l.value;if(l.value||m)for(let v of y)v.textContent=S,cu(h,S,"never"),m&&m!==d&&(l.value=m);else for(let v of y)v.textContent=d,cu(h,d,"never")},s=()=>{r.forEach(l=>{let h=l.getAttribute("data-input-names").split(","),d=!0;for(let m of h){let y=document.querySelector(`.dynamic-code-block-input[name="${m}"]`);y.value?y.classList.remove("is-invalid"):(d=!1,y.classList.add("is-invalid"))}d?(l.classList.remove("show"),setTimeout(()=>{l.classList.add("d-none")},150)):(l.classList.remove("d-none"),l.classList.add("show"))})};n.forEach(l=>{let h=l.name,d=l.getAttribute("data-default-value"),m=gi(h),y=new RegExp(`\\b${h}\\b`,"g");for(let S of t){let _=qc(m||d);S.innerHTML=S.innerHTML.replaceAll(y,`<span class="${h}">${_}</span>`)}o(l,h,d,m),s(),l.addEventListener("keyup",()=>{o(l,h,d),s()})}),Rc()})})();})();
|
|
25
|
+
See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:N,items:K}})})(x,S,o)}).then(function(x){return(function(O){var I=O.props,B=O.state,d=O.collections.reduce(function(N,Z){return ki(ki({},N),{},_f({},Z.source.sourceId,ki(ki({},Z.source),{},{getItems:function(){return ga(Z.items)}})))},{}),q=I.plugins.reduce(function(N,Z){return Z.reshape?Z.reshape(N):N},{sourcesBySourceId:d,state:B}).sourcesBySourceId;return ga(I.reshape({sourcesBySourceId:q,sources:Object.values(q),state:B})).filter(Boolean).map(function(N){return{source:N,items:N.getItems()}})})({collections:x,props:u,state:o.getState()})})}))).then(function(S){var x;y("idle"),l(S);var O=u.shouldPanelOpen({state:o.getState()});h((x=r.isOpen)!==null&&x!==void 0?x:u.openOnFocus&&!a&&O||O);var I=au(o.getState());if(o.getState().activeItemId!==null&&I){var B=I.item,d=I.itemInputValue,q=I.itemUrl,N=I.source;N.onActive(iu({event:t,item:B,itemInputValue:d,itemUrl:q,refresh:i,source:N,state:o.getState()},c))}}).finally(function(){y("idle"),xa&&u.environment.clearTimeout(xa)});return o.pendingRequests.add(w)}function Sa(e){return Sa=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Sa(e)}var Xv=["event","props","refresh","store"];function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function su(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tf(Object(n),!0).forEach(function(r){e0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function e0(e,t,n){return(t=(function(r){var u=(function(a){if(Sa(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Sa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Sa(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Ta(e)}var t0=["props","refresh","store"],n0=["inputElement","formElement","panelElement"],r0=["inputElement"],u0=["inputElement","maxLength"],a0=["source"],i0=["item","source"];function Of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Of(Object(n),!0).forEach(function(r){o0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function o0(e,t,n){return(t=(function(r){var u=(function(a){if(Ta(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ta(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ta(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e,t){if(e==null)return{};var n,r,u=(function(i,o){if(i==null)return{};var c,l,h={},p=Object.keys(i);for(l=0;l<p.length;l++)c=p[l],o.indexOf(c)>=0||(h[c]=i[c]);return h})(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}function s0(e){var t=e.props,n=e.refresh,r=e.store,u=ju(e,t0);return{getEnvironmentProps:function(a){var i=a.inputElement,o=a.formElement,c=a.panelElement;function l(h){!r.getState().isOpen&&r.pendingRequests.isEmpty()||h.target===i||[o,c].some(function(p){return(g=p)===(y=h.target)||g.contains(y);var g,y})===!1&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return nn({onTouchStart:l,onMouseDown:l,onTouchMove:function(h){r.getState().isOpen!==!1&&i===t.environment.document.activeElement&&h.target!==i&&i.blur()}},ju(a,n0))},getRootProps:function(a){return nn({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-controls":r.getState().isOpen?r.getState().collections.map(function(i){var o=i.source;return Pn(t.id,"list",o)}).join(" "):void 0,"aria-labelledby":Pn(t.id,"label")},a)},getFormProps:function(a){a.inputElement;var i=ju(a,r0),o=function(c){var l;t.onSubmit(nn({event:c,refresh:n,state:r.getState()},u)),r.dispatch("submit",null),(l=a.inputElement)===null||l===void 0||l.blur()};return nn({action:"",noValidate:!0,role:"search",onSubmit:function(c){c.preventDefault();var l=yf(t.plugins,r.pendingRequests);l!==void 0?l.then(function(){return o(c)}):o(c)},onReset:function(c){var l;c.preventDefault(),t.onReset(nn({event:c,refresh:n,state:r.getState()},u)),r.dispatch("reset",null),(l=a.inputElement)===null||l===void 0||l.focus()}},i)},getLabelProps:function(a){return nn({htmlFor:Pn(t.id,"input"),id:Pn(t.id,"label")},a)},getInputProps:function(a){var i;function o(D){(t.openOnFocus||r.getState().query)&&ou(nn({event:D,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},u)),r.dispatch("focus",null)}var c=a||{};c.inputElement;var l=c.maxLength,h=l===void 0?512:l,p=ju(c,u0),g=au(r.getState()),y=(function(D){return!!(D&&D.match(Hv))})(((i=t.environment.navigator)===null||i===void 0?void 0:i.userAgent)||""),F=t.enterKeyHint||(g!=null&&g.itemUrl&&!y?"go":"search");return nn({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?Pn(t.id,"item-".concat(r.getState().activeItemId),g==null?void 0:g.source):void 0,"aria-controls":r.getState().isOpen?r.getState().collections.filter(function(D){return D.items.length>0}).map(function(D){var _=D.source;return Pn(t.id,"list",_)}).join(" "):void 0,"aria-labelledby":Pn(t.id,"label"),value:r.getState().completion||r.getState().query,id:Pn(t.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:F,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:h,type:"search",onChange:function(D){var _=D.currentTarget.value;t.ignoreCompositionEvents&&Df(D).isComposing?u.setQuery(_):ou(nn({event:D,props:t,query:_.slice(0,h),refresh:n,store:r},u))},onCompositionEnd:function(D){ou(nn({event:D,props:t,query:D.currentTarget.value.slice(0,h),refresh:n,store:r},u))},onKeyDown:function(D){Df(D).isComposing||(function(_){var T=_.event,w=_.props,S=_.refresh,x=_.store,O=(function(L,K){if(L==null)return{};var J,W,ee=(function(ye,oe){if(ye==null)return{};var ae,Y,ie={},re=Object.keys(ye);for(Y=0;Y<re.length;Y++)ae=re[Y],oe.indexOf(ae)>=0||(ie[ae]=ye[ae]);return ie})(L,K);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(L);for(W=0;W<ue.length;W++)J=ue[W],K.indexOf(J)>=0||Object.prototype.propertyIsEnumerable.call(L,J)&&(ee[J]=L[J])}return ee})(_,Xv);if(T.key==="ArrowUp"||T.key==="ArrowDown"){var I=function(){var L=au(x.getState()),K=w.environment.document.getElementById(Pn(w.id,"item-".concat(x.getState().activeItemId),L==null?void 0:L.source));K&&(K.scrollIntoViewIfNeeded?K.scrollIntoViewIfNeeded(!1):K.scrollIntoView(!1))},B=function(){var L=au(x.getState());if(x.getState().activeItemId!==null&&L){var K=L.item,J=L.itemInputValue,W=L.itemUrl,ee=L.source;ee.onActive(su({event:T,item:K,itemInputValue:J,itemUrl:W,refresh:S,source:ee,state:x.getState()},O))}};T.preventDefault(),x.getState().isOpen===!1&&(w.openOnFocus||x.getState().query)?ou(su({event:T,props:w,query:x.getState().query,refresh:S,store:x},O)).then(function(){x.dispatch(T.key,{nextActiveItemId:w.defaultActiveItemId}),B(),setTimeout(I,0)}):(x.dispatch(T.key,{}),B(),I())}else if(T.key==="Escape")T.preventDefault(),x.dispatch(T.key,null),x.pendingRequests.cancelAll();else if(T.key==="Tab")x.dispatch("blur",null),x.pendingRequests.cancelAll();else if(T.key==="Enter"){if(x.getState().activeItemId===null||x.getState().collections.every(function(L){return L.items.length===0})){var d=yf(w.plugins,x.pendingRequests);return void(d!==void 0?d.then(x.pendingRequests.cancelAll):w.debug||x.pendingRequests.cancelAll())}T.preventDefault();var q=au(x.getState()),N=q.item,Z=q.itemInputValue,z=q.itemUrl,H=q.source;if(T.metaKey||T.ctrlKey)z!==void 0&&(H.onSelect(su({event:T,item:N,itemInputValue:Z,itemUrl:z,refresh:S,source:H,state:x.getState()},O)),w.navigator.navigateNewTab({itemUrl:z,item:N,state:x.getState()}));else if(T.shiftKey)z!==void 0&&(H.onSelect(su({event:T,item:N,itemInputValue:Z,itemUrl:z,refresh:S,source:H,state:x.getState()},O)),w.navigator.navigateNewWindow({itemUrl:z,item:N,state:x.getState()}));else if(!T.altKey){if(z!==void 0)return H.onSelect(su({event:T,item:N,itemInputValue:Z,itemUrl:z,refresh:S,source:H,state:x.getState()},O)),void w.navigator.navigate({itemUrl:z,item:N,state:x.getState()});ou(su({event:T,nextState:{isOpen:!1},props:w,query:Z,refresh:S,store:x},O)).then(function(){H.onSelect(su({event:T,item:N,itemInputValue:Z,itemUrl:z,refresh:S,source:H,state:x.getState()},O))})}}})(nn({event:D,props:t,refresh:n,store:r},u))},onFocus:o,onBlur:bi,onClick:function(D){a.inputElement!==t.environment.document.activeElement||r.getState().isOpen||o(D)}},p)},getPanelProps:function(a){return nn({onMouseDown:function(i){i.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},a)},getListProps:function(a){var i=a||{},o=i.source,c=ju(i,a0);return nn({role:"listbox","aria-labelledby":Pn(t.id,"label"),id:Pn(t.id,"list",o)},c)},getItemProps:function(a){var i=a.item,o=a.source,c=ju(a,i0);return nn({id:Pn(t.id,"item-".concat(i.__autocomplete_id),o),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(l){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var h=au(r.getState());if(r.getState().activeItemId!==null&&h){var p=h.item,g=h.itemInputValue,y=h.itemUrl,F=h.source;F.onActive(nn({event:l,item:p,itemInputValue:g,itemUrl:y,refresh:n,source:F,state:r.getState()},u))}}},onMouseDown:function(l){l.preventDefault()},onClick:function(l){var h=o.getItemInputValue({item:i,state:r.getState()}),p=o.getItemUrl({item:i,state:r.getState()});(p?Promise.resolve():ou(nn({event:l,nextState:{isOpen:!1},props:t,query:h,refresh:n,store:r},u))).then(function(){o.onSelect(nn({event:l,item:i,itemInputValue:h,itemUrl:p,refresh:n,source:o,state:r.getState()},u))})}},c)}}}function Oa(e){return Oa=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Oa(e)}function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function c0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?If(Object(n),!0).forEach(function(r){Bf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bf(e,t,n){return(t=(function(r){var u=(function(a){if(Oa(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Oa(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Oa(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l0(e){var t,n,r,u,a=e.plugins,i=e.options,o=(t=(((n=i.__autocomplete_metadata)===null||n===void 0?void 0:n.userAgents)||[])[0])===null||t===void 0?void 0:t.segment,c=o?Bf({},o,Object.keys(((r=i.__autocomplete_metadata)===null||r===void 0?void 0:r.options)||{})):{};return{plugins:a.map(function(l){return{name:l.name,options:Object.keys(l.__autocomplete_pluginOptions||[])}}),options:c0({"autocomplete-core":Object.keys(i)},c),ua:Bv.concat(((u=i.__autocomplete_metadata)===null||u===void 0?void 0:u.userAgents)||[])}}function Pf(e){var t,n=e.state;return n.isOpen===!1||n.activeItemId===null?null:((t=au(n))===null||t===void 0?void 0:t.itemInputValue)||null}function Ia(e){return Ia=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Ia(e)}function jf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function ut(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jf(Object(n),!0).forEach(function(r){f0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function f0(e,t,n){return(t=(function(r){var u=(function(a){if(Ia(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ia(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ia(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d0=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return ut(ut({},e),{},{activeItemId:t.payload});case"setQuery":return ut(ut({},e),{},{query:t.payload,completion:null});case"setCollections":return ut(ut({},e),{},{collections:t.payload});case"setIsOpen":return ut(ut({},e),{},{isOpen:t.payload});case"setStatus":return ut(ut({},e),{},{status:t.payload});case"setContext":return ut(ut({},e),{},{context:ut(ut({},e.context),t.payload)});case"ArrowDown":var n=ut(ut({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:hf(1,e.activeItemId,ts(e),t.props.defaultActiveItemId)});return ut(ut({},n),{},{completion:Pf({state:n})});case"ArrowUp":var r=ut(ut({},e),{},{activeItemId:hf(-1,e.activeItemId,ts(e),t.props.defaultActiveItemId)});return ut(ut({},r),{},{completion:Pf({state:r})});case"Escape":return e.isOpen?ut(ut({},e),{},{activeItemId:null,isOpen:!1,completion:null}):ut(ut({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return ut(ut({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return ut(ut({},e),{},{activeItemId:t.props.openOnFocus===!0?t.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return ut(ut({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||!!e.query)&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:ut(ut({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return ut(ut({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Ba(e){return Ba=typeof Symbol=="function"&&Ce(Symbol.iterator)=="symbol"?function(t){return Ce(t)}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":Ce(t)},Ba(e)}function Nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(n),!0).forEach(function(r){p0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function p0(e,t,n){return(t=(function(r){var u=(function(a){if(Ba(a)!=="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var o=i.call(a,"string");if(Ba(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)})(r);return Ba(u)==="symbol"?u:String(u)})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h0(e){var t=[],n=Gv(e,t),r=(function(h,p,g){var y,F=p.initialState;return{getState:function(){return F},dispatch:function(D,_){var T=(function(w){for(var S=1;S<arguments.length;S++){var x=arguments[S]!=null?arguments[S]:{};S%2?bf(Object(x),!0).forEach(function(O){Uv(w,O,x[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(x)):bf(Object(x)).forEach(function(O){Object.defineProperty(w,O,Object.getOwnPropertyDescriptor(x,O))})}return w})({},F);F=h(F,{type:D,props:p,payload:_}),g({state:F,prevState:T})},pendingRequests:(y=[],{add:function(D){return y.push(D),D.finally(function(){y=y.filter(function(_){return _!==D})})},cancelAll:function(){y.forEach(function(D){return D.cancel()})},isEmpty:function(){return y.length===0},wait:function(D){return as?(as=!1,us=D?Promise.race([Promise.all(y),new Promise(function(_){return setTimeout(_,D)})]):Promise.all(y),us.then(function(){as=!0})):us}})}})(d0,n,function(h){var p,g,y=h.prevState,F=h.state;if(n.onStateChange(cu({prevState:y,state:F,refresh:i,navigator:n.navigator},u)),!c()&&(p=F.context)!==null&&p!==void 0&&(g=p.algoliaInsightsPlugin)!==null&&g!==void 0&&g.__automaticInsights&&n.insights!==!1){var D=ff({__autocomplete_clickAnalytics:!1});n.plugins.push(D),o([D])}}),u=(function(h){var p=h.store;return{setActiveItemId:function(g){p.dispatch("setActiveItemId",g)},setQuery:function(g){p.dispatch("setQuery",g)},setCollections:function(g){var y=0,F=g.map(function(D){return Ci(Ci({},D),{},{items:ga(D.items).map(function(_){return Ci(Ci({},_),{},{__autocomplete_id:y++})})})});p.dispatch("setCollections",F)},setIsOpen:function(g){p.dispatch("setIsOpen",g)},setStatus:function(g){p.dispatch("setStatus",g)},setContext:function(g){p.dispatch("setContext",g)}}})({store:r}),a=s0(cu({props:n,refresh:i,store:r,navigator:n.navigator},u));function i(){return ou(cu({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:i,store:r},u))}function o(h){h.forEach(function(p){var g;return(g=p.subscribe)===null||g===void 0?void 0:g.call(p,cu(cu({},u),{},{navigator:n.navigator,refresh:i,onSelect:function(y){t.push({onSelect:y})},onActive:function(y){t.push({onActive:y})},onResolve:function(y){t.push({onResolve:y})}}))})}function c(){return n.plugins.some(function(h){return h.name==="aa.algoliaInsightsPlugin"})}if(n.insights&&!c()){var l=typeof n.insights=="boolean"?{}:n.insights;n.plugins.push(ff(l))}return o(n.plugins),(function(h){var p,g,y=h.metadata,F=h.environment;if(!((p=F.navigator)===null||p===void 0||(g=p.userAgent)===null||g===void 0)&&g.includes("Algolia Crawler")){var D=F.document.createElement("meta"),_=F.document.querySelector("head");D.name="algolia:metadata",setTimeout(function(){D.content=JSON.stringify(y),_.appendChild(D)},0)}})({metadata:l0({plugins:n.plugins,options:e}),environment:n.environment}),cu(cu({refresh:i,navigator:n.navigator},a),u)}var cs="https://askai.algolia.com/chat";function v0(e){var t=e.translations,n=(t===void 0?{}:t).poweredByText,r=n===void 0?"Powered by":n;return b.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},b.createElement("span",{className:"DocSearch-Label"},r),b.createElement("svg",{width:"80",height:"24","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},b.createElement("defs",null,b.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),b.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),b.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),b.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),b.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),b.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),b.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),b.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),b.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),b.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function ls(e){return b.createElement("svg",{width:"20",height:"20","aria-label":e.ariaLabel,viewBox:"0 0 24 24",role:"img"},b.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4"},e.children))}function m0(e){var t=e.translations,n=t===void 0?{}:t,r=e.isAskAiActive,u=r!==void 0&&r,a=n.selectText,i=a===void 0?"Select":a,o=n.selectKeyAriaLabel,c=o===void 0?"Enter key":o,l=n.submitQuestionText,h=l===void 0?"Submit question":l,p=n.navigateText,g=p===void 0?"Navigate":p,y=n.navigateUpKeyAriaLabel,F=y===void 0?"Arrow up":y,D=n.navigateDownKeyAriaLabel,_=D===void 0?"Arrow down":D,T=n.closeText,w=T===void 0?"Close":T,S=n.backToSearchText,x=S===void 0?"Back to search":S,O=n.closeKeyAriaLabel,I=O===void 0?"Escape key":O,B=n.poweredByText,d=B===void 0?"Powered by":B;return b.createElement(b.Fragment,null,b.createElement("div",{className:"DocSearch-Logo"},b.createElement(v0,{translations:{poweredByText:d}})),b.createElement("ul",{className:"DocSearch-Commands"},b.createElement("li",null,b.createElement("kbd",{className:"DocSearch-Commands-Key"},b.createElement(ls,{ariaLabel:_},b.createElement("path",{d:"M12 5v14"}),b.createElement("path",{d:"m19 12-7 7-7-7"}))),b.createElement("kbd",{className:"DocSearch-Commands-Key"},b.createElement(ls,{ariaLabel:F},b.createElement("path",{d:"m5 12 7-7 7 7"}),b.createElement("path",{d:"M12 19V5"}))),b.createElement("span",{className:"DocSearch-Label"},g)),b.createElement("li",null,b.createElement("kbd",{className:"DocSearch-Commands-Key"},b.createElement(ls,{ariaLabel:c},b.createElement("polyline",{points:"9 10 4 15 9 20"}),b.createElement("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"}))),b.createElement("span",{className:"DocSearch-Label"},u?h:i)),b.createElement("li",null,b.createElement("kbd",{className:"DocSearch-Commands-Key"},b.createElement("span",{className:"DocSearch-Escape-Key"},"ESC")),b.createElement("span",{className:"DocSearch-Label","aria-label":I},u?x:w))))}function g0(e){var t=e.hit,n=e.children;return b.createElement("a",{href:t.url},n)}function Pa(e){var t=e.className;return b.createElement("svg",{viewBox:"0 0 38 38",className:t,stroke:"currentColor",strokeOpacity:".5"},b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},b.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),b.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},b.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function fs(e){var t=e.className,n=t===void 0?"":t;return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round",className:"DocSearch-Hit-icon-sparkles ".concat(n)},b.createElement("path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"}),b.createElement("path",{d:"M20 3v4"}),b.createElement("path",{d:"M22 5h-4"}),b.createElement("path",{d:"M4 17v2"}),b.createElement("path",{d:"M5 18H3"}))}function y0(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),b.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ja(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function D0(){return b.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-triangle-alert-icon lucide-triangle-alert"},b.createElement("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),b.createElement("path",{d:"M12 9v4"}),b.createElement("path",{d:"M12 17h.01"}))}function b0(){return b.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),b.createElement("path",{d:"M8 17l-6-6 6-6"})))}var A0=function(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"}),b.createElement("path",{d:"M14 2v4a2 2 0 0 0 2 2h4"}),b.createElement("path",{d:"M10 9H8"}),b.createElement("path",{d:"M16 13H8"}),b.createElement("path",{d:"M16 17H8"}))};function E0(e){switch(e.type){case"lvl1":return b.createElement(A0,null);case"content":return b.createElement(_0,null);default:return b.createElement(F0,null)}}function F0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("line",{x1:"4",x2:"20",y1:"9",y2:"9"}),b.createElement("line",{x1:"4",x2:"20",y1:"15",y2:"15"}),b.createElement("line",{x1:"10",x2:"8",y1:"3",y2:"21"}),b.createElement("line",{x1:"16",x2:"14",y1:"3",y2:"21"}))}function _0(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Rf(){return b.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},b.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function C0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none"},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99984 1.29102C4.74264 1.29102 1.2915 4.74215 1.2915 8.99935C1.2915 13.2565 4.74264 16.7077 8.99984 16.7077C13.257 16.7077 16.7082 13.2565 16.7082 8.99935C16.7082 4.74215 13.257 1.29102 8.99984 1.29102ZM0.0415039 8.99935C0.0415039 4.0518 4.05229 0.0410156 8.99984 0.0410156C13.9474 0.0410156 17.9582 4.0518 17.9582 8.99935C17.9582 13.9469 13.9474 17.9577 8.99984 17.9577C4.05229 17.9577 0.0415039 13.9469 0.0415039 8.99935ZM5.87484 6.49935C5.87484 6.15417 6.15466 5.87435 6.49984 5.87435H11.4998C11.845 5.87435 12.1248 6.15417 12.1248 6.49935V11.4993C12.1248 11.8445 11.845 12.1243 11.4998 12.1243H6.49984C6.15466 12.1243 5.87484 11.8445 5.87484 11.4993V6.49935ZM7.12484 7.12435V10.8743H10.8748V7.12435H7.12484Z",fill:"currentcolor"}))}function k0(){return b.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function w0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"#5a5e9a",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("path",{d:"m13.5 8.5-5 5"}),b.createElement("path",{d:"m8.5 8.5 5 5"}),b.createElement("circle",{cx:"11",cy:"11",r:"8"}),b.createElement("path",{d:"m21 21-4.3-4.3"}))}function x0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:4,height:16,viewBox:"0 0 4 16",fill:"none"},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.99984 1.95898C1.88478 1.95898 1.7915 2.05226 1.7915 2.16732C1.7915 2.28238 1.88478 2.37565 1.99984 2.37565C2.1149 2.37565 2.20817 2.28238 2.20817 2.16732C2.20817 2.05226 2.1149 1.95898 1.99984 1.95898ZM0.541504 2.16732C0.541504 1.3619 1.19442 0.708984 1.99984 0.708984C2.80525 0.708984 3.45817 1.3619 3.45817 2.16732C3.45817 2.97273 2.80525 3.62565 1.99984 3.62565C1.19442 3.62565 0.541504 2.97273 0.541504 2.16732ZM1.99984 7.79232C1.88478 7.79232 1.7915 7.88559 1.7915 8.00065C1.7915 8.11571 1.88478 8.20898 1.99984 8.20898C2.1149 8.20898 2.20817 8.11571 2.20817 8.00065C2.20817 7.88559 2.1149 7.79232 1.99984 7.79232ZM0.541504 8.00065C0.541504 7.19524 1.19442 6.54232 1.99984 6.54232C2.80525 6.54232 3.45817 7.19524 3.45817 8.00065C3.45817 8.80607 2.80525 9.45898 1.99984 9.45898C1.19442 9.45898 0.541504 8.80607 0.541504 8.00065ZM1.99984 13.6257C1.88478 13.6257 1.7915 13.7189 1.7915 13.834C1.7915 13.949 1.88478 14.0423 1.99984 14.0423C2.1149 14.0423 2.20817 13.949 2.20817 13.834C2.20817 13.7189 2.1149 13.6257 1.99984 13.6257ZM0.541504 13.834C0.541504 13.0286 1.19442 12.3757 1.99984 12.3757C2.80525 12.3757 3.45817 13.0286 3.45817 13.834C3.45817 14.6394 2.80525 15.2923 1.99984 15.2923C1.19442 15.2923 0.541504 14.6394 0.541504 13.834Z",fill:"currentcolor"}))}function S0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},b.createElement("path",{d:"M9 0.875C10.6068 0.875 12.1776 1.35149 13.5137 2.24414C14.8498 3.13693 15.8919 4.40598 16.5068 5.89062C17.1218 7.37522 17.2822 9.00892 16.9688 10.585C16.6552 12.1611 15.8814 13.6088 14.7451 14.7451C13.6088 15.8814 12.1611 16.6552 10.585 16.9688C9.00892 17.2822 7.37523 17.1218 5.89062 16.5068C4.40598 15.8919 3.13693 14.8498 2.24414 13.5137C1.35149 12.1776 0.875 10.6068 0.875 9C0.875 8.65482 1.15482 8.375 1.5 8.375C1.84518 8.375 2.125 8.65482 2.125 9C2.125 10.3596 2.52792 11.6888 3.2832 12.8193C4.03864 13.9499 5.1129 14.8312 6.36914 15.3516C7.62523 15.8718 9.00736 16.0083 10.3408 15.7432C11.6744 15.4779 12.8998 14.8228 13.8613 13.8613C14.8228 12.8998 15.4779 11.6744 15.7432 10.3408C16.0083 9.00736 15.8718 7.62523 15.3516 6.36914C14.8312 5.1129 13.9499 4.03864 12.8193 3.2832C11.6888 2.52792 10.3596 2.125 9 2.125C7.06829 2.125 5.21604 2.89096 3.82129 4.22949L3.00879 5.04199H5.66699C6.01202 5.04217 6.29199 5.32192 6.29199 5.66699C6.29182 6.01191 6.01191 6.29182 5.66699 6.29199H1.5C1.45939 6.29199 1.41889 6.28716 1.37891 6.2793C1.36148 6.27587 1.345 6.26949 1.32812 6.26465C1.267 6.24714 1.20782 6.22205 1.15332 6.18555C1.08536 6.14005 1.02604 6.08256 0.980469 6.01465C0.970244 5.99942 0.962841 5.98268 0.954102 5.9668C0.904937 5.87756 0.875056 5.77606 0.875 5.66699V1.5C0.875 1.15482 1.15482 0.875002 1.5 0.875C1.84518 0.875 2.125 1.15482 2.125 1.5V4.15723L2.94141 3.3418L2.9502 3.33301C4.57158 1.77433 6.73388 0.875 9 0.875ZM9.33301 4.20801C9.67808 4.20801 9.95783 4.48798 9.95801 4.83301V9.44727L12.9463 10.9414C13.2548 11.0958 13.3798 11.4707 13.2256 11.7793C13.0712 12.088 12.6955 12.213 12.3867 12.0586L9.05371 10.3926C8.84198 10.2867 8.70801 10.0697 8.70801 9.83301V4.83301C8.70818 4.48809 8.98809 4.20819 9.33301 4.20801Z",fill:"currentcolor"}))}function T0(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",fill:"none"},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.712717 3.38039C1.14249 2.95062 1.72538 2.70917 2.33317 2.70917H8.1665C8.51168 2.70917 8.7915 2.989 8.7915 3.33417C8.7915 3.67935 8.51168 3.95917 8.1665 3.95917H2.33317C2.0569 3.95917 1.79195 4.06892 1.5966 4.26427C1.40125 4.45962 1.2915 4.72457 1.2915 5.00084V16.6675C1.2915 16.9438 1.40125 17.2087 1.5966 17.4041C1.79195 17.5994 2.0569 17.7092 2.33317 17.7092H13.9998C14.2761 17.7092 14.5411 17.5994 14.7364 17.4041C14.9318 17.2087 15.0415 16.9438 15.0415 16.6675V10.8342C15.0415 10.489 15.3213 10.2092 15.6665 10.2092C16.0117 10.2092 16.2915 10.489 16.2915 10.8342V16.6675C16.2915 17.2753 16.0501 17.8582 15.6203 18.288C15.1905 18.7177 14.6076 18.9592 13.9998 18.9592H2.33317C1.72538 18.9592 1.14249 18.7177 0.712717 18.288C0.282947 17.8582 0.0415039 17.2753 0.0415039 16.6675V5.00084C0.0415039 4.39305 0.282947 3.81016 0.712717 3.38039Z",fill:"currentcolor"}),b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6665 2.19141C15.3634 2.19141 15.0728 2.3118 14.8584 2.52611L7.06419 10.3204L6.52548 12.4752L8.68031 11.9365L16.4746 4.14223C16.6889 3.92792 16.8093 3.63725 16.8093 3.33417C16.8093 3.03109 16.6889 2.74043 16.4746 2.52611C16.2603 2.3118 15.9696 2.19141 15.6665 2.19141ZM13.9746 1.64223C14.4233 1.1935 15.0319 0.941406 15.6665 0.941406C16.3011 0.941406 16.9097 1.1935 17.3584 1.64223C17.8072 2.09096 18.0593 2.69957 18.0593 3.33417C18.0593 3.96877 17.8072 4.57738 17.3584 5.02611L9.44178 12.9428C9.36168 13.0229 9.26132 13.0797 9.15142 13.1072L5.81809 13.9405C5.6051 13.9938 5.3798 13.9314 5.22456 13.7761C5.06932 13.6209 5.00692 13.3956 5.06016 13.1826L5.8935 9.84925C5.92097 9.73936 5.9778 9.639 6.0579 9.5589L13.9746 1.64223Z",fill:"currentcolor"}))}var Si,O0={before:"Searched for ",separator:", ",lastSeparator:" and ",after:""};function I0(e){var t=e.queries,n=e.translations,r=e.onSearchQueryClick;if(t.length===0)return null;if(typeof n.aggregatedToolCallNode=="function")return b.createElement(b.Fragment,null,n.aggregatedToolCallNode(t,r));var u=(n.aggregatedToolCallText?n.aggregatedToolCallText(t):O0)||{},a=u.before,i=a===void 0?"":a,o=u.separator,c=o===void 0?", ":o,l=u.lastSeparator,h=l===void 0?" and ":l,p=u.after,g=p===void 0?"":p;return b.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--AggregatedResult"},b.createElement(ma,{size:18}),b.createElement("span",null,i&&b.createElement("span",null,i),t.map(function(y,F){return b.createElement(tr,{key:y+F},b.createElement("span",{role:"button",tabIndex:0,className:"DocSearch-AskAiScreen-MessageContent-Tool-Query",onKeyDown:function(D){D.key!=="enter"&&D.key!==" "||(D.preventDefault(),r(y))},onClick:function(){return r(y)}},'"',y,'"'),F<t.length-2&&c,F===t.length-2&&h)}),g&&b.createElement("span",null,g)))}var lu={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function zf(e){lu=e}var Na={exec:function(){return null}};function vt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=typeof e=="string"?e:e.source,r={replace:function(u,a){var i=typeof a=="string"?a:a.source;return i=i.replace(ln.caret,"$1"),n=n.replace(u,i),r},getRegex:function(){return new RegExp(n,t)}};return r}var B0=(function(){try{return!!new RegExp("(?<=1)(?<!1)")}catch(e){return!1}})(),ln={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD40-\uDD59\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC7\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDDB0-\uDDDB\uDDE0-\uDDE9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF2-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDEC0-\uDEDE\uDEE0-\uDEE2\uDEE4\uDEE5\uDEE7-\uDEED\uDEF0-\uDEF4\uDEFE\uDEFF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])/,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:function(e){return new RegExp("^( {0,3}".concat(e,")((?:[ ][^\\n]*)?(?:\\n|$))"))},nextBulletRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))"))},hrRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)"))},fencesBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}(?:```|~~~)"))},headingBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}#"))},htmlBeginRegex:function(e){return new RegExp("^ {0,".concat(Math.min(3,e-1),"}<(?:[a-z].*>|!--)"),"i")}},Ra=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ds=/(?:[*+-]|\d{1,9}[.)])/,Lf=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Mf=vt(Lf).replace(/bull/g,ds).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),P0=vt(Lf).replace(/bull/g,ds).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ps=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,hs=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,j0=vt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",hs).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),N0=vt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ds).getRegex(),Ti="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",vs=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,R0=vt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",vs).replace("tag",Ti).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$f=vt(ps).replace("hr",Ra).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ti).getRegex(),ms={blockquote:vt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",$f).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:j0,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Ra,html:R0,lheading:Mf,list:N0,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:$f,table:Na,text:/^[^\n]+/},Zf=vt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ra).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ti).getRegex(),z0=C(C({},ms),{},{lheading:P0,table:Zf,paragraph:vt(ps).replace("hr",Ra).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zf).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ti).getRegex()}),L0=C(C({},ms),{},{html:vt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",vs).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Na,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:vt(ps).replace("hr",Ra).replace("heading",` *#{1,6} *[^
|
|
26
|
+
]`).replace("lheading",Mf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),qf=/^( {2,}|\\)\n(?!\s*$)/,Oi=/(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,gs=/(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,Hf=/(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,M0=vt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,gs).getRegex(),Uf=/(?!~)(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,$0=vt(/link|precode-code|html/,"g").replace("link",yi(/\[(?:[^\[\]`]|(`+)[^`]+\1(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/,{a:1})).replace("precode-",B0?"(?<!`)()":"(^^|[^`])").replace("code",yi(/(`+)[^`]+\1(?!`)/,{b:1})).replace("html",/<(?! )[^<>]*?>/).getRegex(),Vf=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Z0=vt(Vf,"u").replace(/punct/g,Oi).getRegex(),q0=vt(Vf,"u").replace(/punct/g,Uf).getRegex(),Wf="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",H0=vt(Wf,"gu").replace(/notPunctSpace/g,Hf).replace(/punctSpace/g,gs).replace(/punct/g,Oi).getRegex(),U0=vt(Wf,"gu").replace(/notPunctSpace/g,/(?:(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|~)/).replace(/punctSpace/g,/(?!~)(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/).replace(/punct/g,Uf).getRegex(),V0=vt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Hf).replace(/punctSpace/g,gs).replace(/punct/g,Oi).getRegex(),W0=vt(/\\(punct)/,"gu").replace(/punct/g,Oi).getRegex(),G0=vt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),J0=vt(vs).replace("(?:-->|$)","-->").getRegex(),K0=vt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",J0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ii=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Q0=vt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ii).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Gf=vt(/^!?\[(label)\]\[(ref)\]/).replace("label",Ii).replace("ref",hs).getRegex(),Jf=vt(/^!?\[(ref)\](?:\[\])?/).replace("ref",hs).getRegex(),Kf=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ys={_backpedal:Na,anyPunctuation:W0,autolink:G0,blockSkip:$0,br:qf,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Na,emStrongLDelim:Z0,emStrongRDelimAst:H0,emStrongRDelimUnd:V0,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:Q0,nolink:Jf,punctuation:M0,reflink:Gf,reflinkSearch:vt("reflink|nolink(?!\\()","g").replace("reflink",Gf).replace("nolink",Jf).getRegex(),tag:K0,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Na},Y0=C(C({},ys),{},{link:vt(/^!?\[(label)\]\((.*?)\)/).replace("label",Ii).getRegex(),reflink:vt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ii).getRegex()}),Ds=C(C({},ys),{},{emStrongRDelimAst:U0,emStrongLDelim:q0,url:vt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Kf).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:vt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Kf).getRegex()}),X0=C(C({},Ds),{},{br:vt(qf).replace("{2,}","*").getRegex(),text:vt(Ds.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),Bi={normal:ms,gfm:z0,pedantic:L0},za={normal:ys,gfm:Ds,breaks:X0,pedantic:Y0},em={"&":"&","<":"<",">":">",'"':""","'":"'"},Qf=function(e){return em[e]};function rr(e,t){if(t){if(ln.escapeTest.test(e))return e.replace(ln.escapeReplace,Qf)}else if(ln.escapeTestNoEncode.test(e))return e.replace(ln.escapeReplaceNoEncode,Qf);return e}function Yf(e){try{e=encodeURI(e).replace(ln.percentDecode,"%")}catch(t){return null}return e}function Xf(e,t){var n,r=e.replace(ln.findPipe,function(a,i,o){for(var c=!1,l=i;--l>=0&&o[l]==="\\";)c=!c;return c?"|":" |"}).split(ln.splitPipe),u=0;if(r[0].trim()||r.shift(),r.length>0&&!((n=r.at(-1))!==null&&n!==void 0&&n.trim())&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;u<r.length;u++)r[u]=r[u].trim().replace(ln.slashPipe,"|");return r}function La(e,t,n){var r=e.length;if(r===0)return"";for(var u=0;u<r&&e.charAt(r-u-1)===t;)u++;return e.slice(0,r-u)}function ed(e,t,n,r,u){var a=t.href,i=t.title||null,o=e[1].replace(u.other.outputLinkReplace,"$1");r.state.inLink=!0;var c={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:a,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,c}var Pi=Be(function e(t){Ie(this,e),it(this,"options",void 0),it(this,"rules",void 0),it(this,"lexer",void 0),this.options=t||lu},[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:La(n,`
|
|
27
|
+
`)}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=(function(u,a,i){var o=u.match(i.other.indentCodeCompensation);if(o===null)return a;var c=o[1];return a.split(`
|
|
28
|
+
`).map(function(l){var h=l.match(i.other.beginningSpace);return h===null?l:ct(h,1)[0].length>=c.length?l.slice(c.length):l}).join(`
|
|
29
|
+
`)})(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(this.rules.other.endingHash.test(n)){var r=La(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:La(t[0],`
|
|
30
|
+
`)}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){for(var n=La(t[0],`
|
|
31
|
+
`).split(`
|
|
32
|
+
`),r="",u="",a=[];n.length>0;){var i=!1,o=[],c=void 0;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))o.push(n[c]),i=!0;else{if(i)break;o.push(n[c])}n=n.slice(c);var l=o.join(`
|
|
33
|
+
`),h=l.replace(this.rules.other.blockquoteSetextReplace,`
|
|
34
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?"".concat(r,`
|
|
35
|
+
`).concat(l):l,u=u?"".concat(u,`
|
|
36
|
+
`).concat(h):h;var p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,a,!0),this.lexer.state.top=p,n.length===0)break;var g=a.at(-1);if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){var y=g,F=y.raw+`
|
|
37
|
+
`+n.join(`
|
|
38
|
+
`),D=this.blockquote(F);a[a.length-1]=D,r=r.substring(0,r.length-y.raw.length)+D.raw,u=u.substring(0,u.length-y.text.length)+D.text;break}if((g==null?void 0:g.type)==="list"){var _=g,T=_.raw+`
|
|
39
|
+
`+n.join(`
|
|
40
|
+
`),w=this.list(T);a[a.length-1]=w,r=r.substring(0,r.length-g.raw.length)+w.raw,u=u.substring(0,u.length-_.raw.length)+w.raw,n=T.substring(a.at(-1).raw.length).split(`
|
|
41
|
+
`)}}return{type:"blockquote",raw:r,tokens:a,text:u}}}},{key:"list",value:function(e){var t=this,n=this.rules.block.list.exec(e);if(n){var r=n[1].trim(),u=r.length>1,a={type:"list",raw:"",ordered:u,start:u?+r.slice(0,-1):"",loose:!1,items:[]};r=u?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=u?r:"[*+-]");for(var i=this.rules.other.listItemRegex(r),o=!1;e;){var c=!1,l="",h="";if(!(n=i.exec(e))||this.rules.block.hr.test(e))break;l=n[0],e=e.substring(l.length);var p=n[2].split(`
|
|
42
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,function(H){return" ".repeat(3*H.length)}),g=e.split(`
|
|
43
|
+
`,1)[0],y=!p.trim(),F=0;if(this.options.pedantic?(F=2,h=p.trimStart()):y?F=n[1].length+1:(F=(F=n[2].search(this.rules.other.nonSpaceChar))>4?1:F,h=p.slice(F),F+=n[1].length),y&&this.rules.other.blankLine.test(g)&&(l+=g+`
|
|
44
|
+
`,e=e.substring(g.length+1),c=!0),!c)for(var D=this.rules.other.nextBulletRegex(F),_=this.rules.other.hrRegex(F),T=this.rules.other.fencesBeginRegex(F),w=this.rules.other.headingBeginRegex(F),S=this.rules.other.htmlBeginRegex(F);e;){var x=e.split(`
|
|
45
|
+
`,1)[0],O=void 0;if(g=x,O=this.options.pedantic?g=g.replace(this.rules.other.listReplaceNesting," "):g.replace(this.rules.other.tabCharGlobal," "),T.test(g)||w.test(g)||S.test(g)||D.test(g)||_.test(g))break;if(O.search(this.rules.other.nonSpaceChar)>=F||!g.trim())h+=`
|
|
46
|
+
`+O.slice(F);else{if(y||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||T.test(p)||w.test(p)||_.test(p))break;h+=`
|
|
47
|
+
`+g}!y&&!g.trim()&&(y=!0),l+=x+`
|
|
48
|
+
`,e=e.substring(x.length+1),p=O.slice(F)}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(o=!0));var I=null,B=void 0;this.options.gfm&&(I=this.rules.other.listIsTask.exec(h))&&(B=I[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,"")),a.items.push({type:"list_item",raw:l,task:!!I,checked:B,loose:!1,text:h,tokens:[]}),a.raw+=l}var d=a.items.at(-1);if(!d)return;d.raw=d.raw.trimEnd(),d.text=d.text.trimEnd(),a.raw=a.raw.trimEnd();for(var q=0;q<a.items.length;q++)if(this.lexer.state.top=!1,a.items[q].tokens=this.lexer.blockTokens(a.items[q].text,[]),!a.loose){var N=a.items[q].tokens.filter(function(H){return H.type==="space"}),Z=N.length>0&&N.some(function(H){return t.rules.other.anyLine.test(H.raw)});a.loose=Z}if(a.loose)for(var z=0;z<a.items.length;z++)a.items[z].loose=!0;return a}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:u}}}},{key:"table",value:function(e){var t,n=this,r=this.rules.block.table.exec(e);if(r&&this.rules.other.tableDelimiter.test(r[2])){var u=Xf(r[1]),a=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=(t=r[3])!==null&&t!==void 0&&t.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
49
|
+
`):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(u.length===a.length){var c,l=me(a);try{for(l.s();!(c=l.n()).done;){var h=c.value;this.rules.other.tableAlignRight.test(h)?o.align.push("right"):this.rules.other.tableAlignCenter.test(h)?o.align.push("center"):this.rules.other.tableAlignLeft.test(h)?o.align.push("left"):o.align.push(null)}}catch(D){l.e(D)}finally{l.f()}for(var p=0;p<u.length;p++)o.header.push({text:u[p],tokens:this.lexer.inline(u[p]),header:!0,align:o.align[p]});var g,y=me(i);try{for(y.s();!(g=y.n()).done;){var F=g.value;o.rows.push(Xf(F,o.header.length).map(function(D,_){return{text:D,tokens:n.lexer.inline(D),header:!1,align:o.align[_]}}))}}catch(D){y.e(D)}finally{y.f()}return o}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n=t[1].charAt(t[1].length-1)===`
|
|
50
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;var r=La(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var u=(function(l,h){if(l.indexOf(h[1])===-1)return-1;for(var p=0,g=0;g<l.length;g++)if(l[g]==="\\")g++;else if(l[g]===h[0])p++;else if(l[g]===h[1]&&--p<0)return g;return p>0?-2:-1})(t[2],"()");if(u===-2)return;if(u>-1){var a=(t[0].indexOf("!")===0?5:4)+t[1].length+u;t[2]=t[2].substring(0,u),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var i=t[2],o="";if(this.options.pedantic){var c=this.rules.other.pedanticHrefTitle.exec(i);c&&(i=c[1],o=c[3])}else o=t[3]?t[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i.slice(1):i.slice(1,-1)),ed(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!r){var u=n[0].charAt(0);return{type:"text",raw:u,text:u}}return ed(n,r,n[0],this.lexer,this.rules)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){var u,a,i=De(r[0]).length-1,o=i,c=0,l=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+i);(r=l.exec(t))!=null;)if(u=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(a=De(u).length,r[3]||r[4])o+=a;else if(!((r[5]||r[6])&&i%3)||(i+a)%3){if(!((o-=a)>0)){a=Math.min(a,a+o+c);var h=De(r[0])[0].length,p=e.slice(0,i+r.index+h+a);if(Math.min(i,a)%2){var g=p.slice(1,-1);return{type:"em",raw:p,text:g,tokens:this.lexer.inlineTokens(g)}}var y=p.slice(2,-2);return{type:"strong",raw:p,text:y,tokens:this.lexer.inlineTokens(y)}}}else c+=a}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),u=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&u&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e){var t,n,r=this.rules.inline.autolink.exec(e);if(r)return n=r[2]==="@"?"mailto:"+(t=r[1]):t=r[1],{type:"link",raw:r[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e){var t;if(t=this.rules.inline.url.exec(e)){var n,r;if(t[2]==="@")r="mailto:"+(n=t[0]);else{var u;do{var a,i;u=t[0],t[0]=(a=(i=this.rules.inline._backpedal.exec(t[0]))===null||i===void 0?void 0:i[0])!==null&&a!==void 0?a:""}while(u!==t[0]);n=t[0],r=t[1]==="www."?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}},{key:"inlineText",value:function(e){var t=this.rules.inline.text.exec(e);if(t){var n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}}]),Gn=(function(){function e(t){Ie(this,e),it(this,"tokens",void 0),it(this,"options",void 0),it(this,"state",void 0),it(this,"tokenizer",void 0),it(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||lu,this.options.tokenizer=this.options.tokenizer||new Pi,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={other:ln,block:Bi.normal,inline:za.normal};this.options.pedantic?(n.block=Bi.pedantic,n.inline=za.pedantic):this.options.gfm&&(n.block=Bi.gfm,this.options.breaks?n.inline=za.breaks:n.inline=za.gfm),this.tokenizer.rules=n}return Be(e,[{key:"lex",value:function(t){t=t.replace(ln.carriageReturn,`
|
|
51
|
+
`),this.blockTokens(t,this.tokens);for(var n=0;n<this.inlineQueue.length;n++){var r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}},{key:"blockTokens",value:function(t){var n,r=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=function(){var o,c,l;if((o=r.options.extensions)!==null&&o!==void 0&&(o=o.block)!==null&&o!==void 0&&o.some(function(x){return!!(l=x.call({lexer:r},t,u))&&(t=t.substring(l.raw.length),u.push(l),!0)}))return 0;if(l=r.tokenizer.space(t)){t=t.substring(l.raw.length);var h=u.at(-1);return l.raw.length===1&&h!==void 0?h.raw+=`
|
|
52
|
+
`:u.push(l),0}if(l=r.tokenizer.code(t)){t=t.substring(l.raw.length);var p=u.at(-1);return(p==null?void 0:p.type)==="paragraph"||(p==null?void 0:p.type)==="text"?(p.raw+=(p.raw.endsWith(`
|
|
53
|
+
`)?"":`
|
|
54
|
+
`)+l.raw,p.text+=`
|
|
55
|
+
`+l.text,r.inlineQueue.at(-1).src=p.text):u.push(l),0}if((l=r.tokenizer.fences(t))||(l=r.tokenizer.heading(t))||(l=r.tokenizer.hr(t))||(l=r.tokenizer.blockquote(t))||(l=r.tokenizer.list(t))||(l=r.tokenizer.html(t)))return t=t.substring(l.raw.length),u.push(l),0;if(l=r.tokenizer.def(t)){t=t.substring(l.raw.length);var g=u.at(-1);return(g==null?void 0:g.type)==="paragraph"||(g==null?void 0:g.type)==="text"?(g.raw+=(g.raw.endsWith(`
|
|
56
|
+
`)?"":`
|
|
57
|
+
`)+l.raw,g.text+=`
|
|
58
|
+
`+l.raw,r.inlineQueue.at(-1).src=g.text):r.tokens.links[l.tag]||(r.tokens.links[l.tag]={href:l.href,title:l.title},u.push(l)),0}if((l=r.tokenizer.table(t))||(l=r.tokenizer.lheading(t)))return t=t.substring(l.raw.length),u.push(l),0;var y=t;if((c=r.options.extensions)!==null&&c!==void 0&&c.startBlock){var F,D=1/0,_=t.slice(1);r.options.extensions.startBlock.forEach(function(x){typeof(F=x.call({lexer:r},_))=="number"&&F>=0&&(D=Math.min(D,F))}),D<1/0&&D>=0&&(y=t.substring(0,D+1))}if(r.state.top&&(l=r.tokenizer.paragraph(y))){var T=u.at(-1);return a&&(T==null?void 0:T.type)==="paragraph"?(T.raw+=(T.raw.endsWith(`
|
|
59
|
+
`)?"":`
|
|
60
|
+
`)+l.raw,T.text+=`
|
|
61
|
+
`+l.text,r.inlineQueue.pop(),r.inlineQueue.at(-1).src=T.text):u.push(l),a=y.length!==t.length,t=t.substring(l.raw.length),0}if(l=r.tokenizer.text(t)){t=t.substring(l.raw.length);var w=u.at(-1);return(w==null?void 0:w.type)==="text"?(w.raw+=(w.raw.endsWith(`
|
|
62
|
+
`)?"":`
|
|
63
|
+
`)+l.raw,w.text+=`
|
|
64
|
+
`+l.text,r.inlineQueue.pop(),r.inlineQueue.at(-1).src=w.text):u.push(l),0}if(t){var S="Infinite loop on byte: "+t.charCodeAt(0);if(r.options.silent)return console.error(S),1;throw new Error(S)}};for(this.options.pedantic&&(t=t.replace(ln.tabCharGlobal," ").replace(ln.spaceLine,""));t&&((n=i())===0||n!==1););return this.state.top=!0,u}},{key:"inline",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return this.inlineQueue.push({src:t,tokens:n}),n}},{key:"inlineTokens",value:function(t){var n,r,u,a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=t,c=null;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)l.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,c.index)+"["+"a".repeat(c[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,c.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(c=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)u=c[2]?c[2].length:0,o=o.slice(0,c.index+u)+"["+"a".repeat(c[0].length-u-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=(n=(r=this.options.hooks)===null||r===void 0||(r=r.emStrongMask)===null||r===void 0?void 0:r.call({lexer:this},o))!==null&&n!==void 0?n:o;for(var h,p=!1,g="",y=function(){var F,D,_;if(p||(g=""),p=!1,(F=a.options.extensions)!==null&&F!==void 0&&(F=F.inline)!==null&&F!==void 0&&F.some(function(d){return!!(_=d.call({lexer:a},t,i))&&(t=t.substring(_.raw.length),i.push(_),!0)}))return 0;if((_=a.tokenizer.escape(t))||(_=a.tokenizer.tag(t))||(_=a.tokenizer.link(t)))return t=t.substring(_.raw.length),i.push(_),0;if(_=a.tokenizer.reflink(t,a.tokens.links)){t=t.substring(_.raw.length);var T=i.at(-1);return _.type==="text"&&(T==null?void 0:T.type)==="text"?(T.raw+=_.raw,T.text+=_.text):i.push(_),0}if((_=a.tokenizer.emStrong(t,o,g))||(_=a.tokenizer.codespan(t))||(_=a.tokenizer.br(t))||(_=a.tokenizer.del(t))||(_=a.tokenizer.autolink(t))||!a.state.inLink&&(_=a.tokenizer.url(t)))return t=t.substring(_.raw.length),i.push(_),0;var w=t;if((D=a.options.extensions)!==null&&D!==void 0&&D.startInline){var S,x=1/0,O=t.slice(1);a.options.extensions.startInline.forEach(function(d){typeof(S=d.call({lexer:a},O))=="number"&&S>=0&&(x=Math.min(x,S))}),x<1/0&&x>=0&&(w=t.substring(0,x+1))}if(_=a.tokenizer.inlineText(w)){t=t.substring(_.raw.length),_.raw.slice(-1)!=="_"&&(g=_.raw.slice(-1)),p=!0;var I=i.at(-1);return(I==null?void 0:I.type)==="text"?(I.raw+=_.raw,I.text+=_.text):i.push(_),0}if(t){var B="Infinite loop on byte: "+t.charCodeAt(0);if(a.options.silent)return console.error(B),1;throw new Error(B)}};t&&((h=y())===0||h!==1););return i}}],[{key:"rules",get:function(){return{block:Bi,inline:za}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}])})(),ji=Be(function e(t){Ie(this,e),it(this,"options",void 0),it(this,"parser",void 0),this.options=t||lu},[{key:"space",value:function(e){return""}},{key:"code",value:function(e){var t,n=e.text,r=e.lang,u=e.escaped,a=(t=(r||"").match(ln.notSpaceStart))===null||t===void 0?void 0:t[0],i=n.replace(ln.endingNewline,"")+`
|
|
65
|
+
`;return a?'<pre><code class="language-'+rr(a)+'">'+(u?i:rr(i,!0))+`</code></pre>
|
|
66
|
+
`:"<pre><code>"+(u?i:rr(i,!0))+`</code></pre>
|
|
67
|
+
`}},{key:"blockquote",value:function(e){var t=e.tokens;return`<blockquote>
|
|
68
|
+
`.concat(this.parser.parse(t),`</blockquote>
|
|
69
|
+
`)}},{key:"html",value:function(e){return e.text}},{key:"def",value:function(e){return""}},{key:"heading",value:function(e){var t=e.tokens,n=e.depth;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,`>
|
|
70
|
+
`)}},{key:"hr",value:function(e){return`<hr>
|
|
71
|
+
`}},{key:"list",value:function(e){for(var t=e.ordered,n=e.start,r="",u=0;u<e.items.length;u++){var a=e.items[u];r+=this.listitem(a)}var i=t?"ol":"ul";return"<"+i+(t&&n!==1?' start="'+n+'"':"")+`>
|
|
72
|
+
`+r+"</"+i+`>
|
|
73
|
+
`}},{key:"listitem",value:function(e){var t="";if(e.task){var n,r=this.checkbox({checked:!!e.checked});e.loose?((n=e.tokens[0])===null||n===void 0?void 0:n.type)==="paragraph"?(e.tokens[0].text=r+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=r+" "+rr(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):t+=r+" "}return t+=this.parser.parse(e.tokens,!!e.loose),"<li>".concat(t,`</li>
|
|
74
|
+
`)}},{key:"checkbox",value:function(e){return"<input "+(e.checked?'checked="" ':"")+'disabled="" type="checkbox">'}},{key:"paragraph",value:function(e){var t=e.tokens;return"<p>".concat(this.parser.parseInline(t),`</p>
|
|
75
|
+
`)}},{key:"table",value:function(e){for(var t="",n="",r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);t+=this.tablerow({text:n});for(var u="",a=0;a<e.rows.length;a++){var i=e.rows[a];n="";for(var o=0;o<i.length;o++)n+=this.tablecell(i[o]);u+=this.tablerow({text:n})}return u&&(u="<tbody>".concat(u,"</tbody>")),`<table>
|
|
76
|
+
<thead>
|
|
77
|
+
`+t+`</thead>
|
|
78
|
+
`+u+`</table>
|
|
79
|
+
`}},{key:"tablerow",value:function(e){var t=e.text;return`<tr>
|
|
80
|
+
`.concat(t,`</tr>
|
|
81
|
+
`)}},{key:"tablecell",value:function(e){var t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,`>
|
|
82
|
+
`)}},{key:"strong",value:function(e){var t=e.tokens;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}},{key:"em",value:function(e){var t=e.tokens;return"<em>".concat(this.parser.parseInline(t),"</em>")}},{key:"codespan",value:function(e){var t=e.text;return"<code>".concat(rr(t,!0),"</code>")}},{key:"br",value:function(e){return"<br>"}},{key:"del",value:function(e){var t=e.tokens;return"<del>".concat(this.parser.parseInline(t),"</del>")}},{key:"link",value:function(e){var t=e.href,n=e.title,r=e.tokens,u=this.parser.parseInline(r),a=Yf(t);if(a===null)return u;var i='<a href="'+(t=a)+'"';return n&&(i+=' title="'+rr(n)+'"'),i+">"+u+"</a>"}},{key:"image",value:function(e){var t=e.href,n=e.title,r=e.text,u=e.tokens;u&&(r=this.parser.parseInline(u,this.parser.textRenderer));var a=Yf(t);if(a===null)return rr(r);var i='<img src="'.concat(t=a,'" alt="').concat(r,'"');return n&&(i+=' title="'.concat(rr(n),'"')),i+">"}},{key:"text",value:function(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:rr(e.text)}}]),bs=Be(function e(){Ie(this,e)},[{key:"strong",value:function(e){return e.text}},{key:"em",value:function(e){return e.text}},{key:"codespan",value:function(e){return e.text}},{key:"del",value:function(e){return e.text}},{key:"html",value:function(e){return e.text}},{key:"text",value:function(e){return e.text}},{key:"link",value:function(e){return""+e.text}},{key:"image",value:function(e){return""+e.text}},{key:"br",value:function(){return""}}]),Jn=(function(){function e(t){Ie(this,e),it(this,"options",void 0),it(this,"renderer",void 0),it(this,"textRenderer",void 0),this.options=t||lu,this.options.renderer=this.options.renderer||new ji,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new bs}return Be(e,[{key:"parse",value:function(t){for(var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r="",u=0;u<t.length;u++){var a,i=t[u];if((a=this.options.extensions)!==null&&a!==void 0&&(a=a.renderers)!==null&&a!==void 0&&a[i.type]){var o=i,c=this.options.extensions.renderers[o.type].call({parser:this},o);if(c!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){r+=c||"";continue}}var l=i;switch(l.type){case"space":r+=this.renderer.space(l);continue;case"hr":r+=this.renderer.hr(l);continue;case"heading":r+=this.renderer.heading(l);continue;case"code":r+=this.renderer.code(l);continue;case"table":r+=this.renderer.table(l);continue;case"blockquote":r+=this.renderer.blockquote(l);continue;case"list":r+=this.renderer.list(l);continue;case"html":r+=this.renderer.html(l);continue;case"def":r+=this.renderer.def(l);continue;case"paragraph":r+=this.renderer.paragraph(l);continue;case"text":for(var h=l,p=this.renderer.text(h);u+1<t.length&&t[u+1].type==="text";)h=t[++u],p+=`
|
|
83
|
+
`+this.renderer.text(h);r+=n?this.renderer.paragraph({type:"paragraph",raw:p,text:p,tokens:[{type:"text",raw:p,text:p,escaped:!0}]}):p;continue;default:var g='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(g),"";throw new Error(g)}}return r}},{key:"parseInline",value:function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.renderer,r="",u=0;u<t.length;u++){var a,i=t[u];if((a=this.options.extensions)!==null&&a!==void 0&&(a=a.renderers)!==null&&a!==void 0&&a[i.type]){var o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=o||"";continue}}var c=i;switch(c.type){case"escape":case"text":r+=n.text(c);break;case"html":r+=n.html(c);break;case"link":r+=n.link(c);break;case"image":r+=n.image(c);break;case"strong":r+=n.strong(c);break;case"em":r+=n.em(c);break;case"codespan":r+=n.codespan(c);break;case"br":r+=n.br(c);break;case"del":r+=n.del(c);break;default:var l='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}return r}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}])})(),Ma=(Si=Be(function e(t){Ie(this,e),it(this,"options",void 0),it(this,"block",void 0),this.options=t||lu},[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}},{key:"processAllTokens",value:function(e){return e}},{key:"emStrongMask",value:function(e){return e}},{key:"provideLexer",value:function(){return this.block?Gn.lex:Gn.lexInline}},{key:"provideParser",value:function(){return this.block?Jn.parse:Jn.parseInline}}]),it(Si,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),it(Si,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),Si),tm=Be(function e(){Ie(this,e),it(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),it(this,"options",this.setOptions),it(this,"parse",this.parseMarkdown(!0)),it(this,"parseInline",this.parseMarkdown(!1)),it(this,"Parser",Jn),it(this,"Renderer",ji),it(this,"TextRenderer",bs),it(this,"Lexer",Gn),it(this,"Tokenizer",Pi),it(this,"Hooks",Ma),this.use.apply(this,arguments)},[{key:"walkTokens",value:function(e,t){var n,r=this,u=[],a=me(e);try{var i=function(){var o=n.value;switch(u=u.concat(t.call(r,o)),o.type){case"table":var c,l=o,h=me(l.header);try{for(h.s();!(c=h.n()).done;){var p=c.value;u=u.concat(r.walkTokens(p.tokens,t))}}catch(x){h.e(x)}finally{h.f()}var g,y=me(l.rows);try{for(y.s();!(g=y.n()).done;){var F,D=me(g.value);try{for(D.s();!(F=D.n()).done;){var _=F.value;u=u.concat(r.walkTokens(_.tokens,t))}}catch(x){D.e(x)}finally{D.f()}}}catch(x){y.e(x)}finally{y.f()}break;case"list":var T=o;u=u.concat(r.walkTokens(T.items,t));break;default:var w,S=o;(w=r.defaults.extensions)!==null&&w!==void 0&&(w=w.childTokens)!==null&&w!==void 0&&w[S.type]?r.defaults.extensions.childTokens[S.type].forEach(function(x){var O=S[x].flat(1/0);u=u.concat(r.walkTokens(O,t))}):S.tokens&&(u=u.concat(r.walkTokens(S.tokens,t)))}};for(a.s();!(n=a.n()).done;)i()}catch(o){a.e(o)}finally{a.f()}return u}},{key:"use",value:function(){for(var e=this,t=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];return r.forEach(function(a){var i=C({},a);if(i.async=e.defaults.async||i.async||!1,a.extensions&&(a.extensions.forEach(function(w){if(!w.name)throw new Error("extension name required");if("renderer"in w){var S=t.renderers[w.name];t.renderers[w.name]=S?function(){for(var O=arguments.length,I=new Array(O),B=0;B<O;B++)I[B]=arguments[B];var d=w.renderer.apply(this,I);return d===!1&&(d=S.apply(this,I)),d}:w.renderer}if("tokenizer"in w){if(!w.level||w.level!=="block"&&w.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");var x=t[w.level];x?x.unshift(w.tokenizer):t[w.level]=[w.tokenizer],w.start&&(w.level==="block"?t.startBlock?t.startBlock.push(w.start):t.startBlock=[w.start]:w.level==="inline"&&(t.startInline?t.startInline.push(w.start):t.startInline=[w.start]))}"childTokens"in w&&w.childTokens&&(t.childTokens[w.name]=w.childTokens)}),i.extensions=t),a.renderer){var o=e.defaults.renderer||new ji(e.defaults),c=function(){if(!(l in o))throw new Error("renderer '".concat(l,"' does not exist"));if(["options","parser"].includes(l))return 1;var w=l,S=a.renderer[w],x=o[w];o[w]=function(){for(var O=arguments.length,I=new Array(O),B=0;B<O;B++)I[B]=arguments[B];var d=S.apply(o,I);return d===!1&&(d=x.apply(o,I)),d||""}};for(var l in a.renderer)c();i.renderer=o}if(a.tokenizer){var h=e.defaults.tokenizer||new Pi(e.defaults),p=function(){if(!(g in h))throw new Error("tokenizer '".concat(g,"' does not exist"));if(["options","rules","lexer"].includes(g))return 1;var w=g,S=a.tokenizer[w],x=h[w];h[w]=function(){for(var O=arguments.length,I=new Array(O),B=0;B<O;B++)I[B]=arguments[B];var d=S.apply(h,I);return d===!1&&(d=x.apply(h,I)),d}};for(var g in a.tokenizer)p();i.tokenizer=h}if(a.hooks){var y=e.defaults.hooks||new Ma,F=function(w){if(!(w in y))throw new Error("hook '".concat(w,"' does not exist"));if(["options","block"].includes(w))return 1;var S=w,x=a.hooks[S],O=y[S];Ma.passThroughHooks.has(w)?y[S]=function(I){if(e.defaults.async&&Ma.passThroughHooksRespectAsync.has(w))return Xe(be().m(function d(){var q;return be().w(function(N){for(;;)switch(N.n){case 0:return N.n=1,x.call(y,I);case 1:return q=N.v,N.a(2,O.call(y,q))}},d)}))();var B=x.call(y,I);return O.call(y,B)}:y[S]=function(){for(var I=arguments.length,B=new Array(I),d=0;d<I;d++)B[d]=arguments[d];if(e.defaults.async)return Xe(be().m(function N(){var Z;return be().w(function(z){for(;;)switch(z.n){case 0:return z.n=1,x.apply(y,B);case 1:if((Z=z.v)!==!1){z.n=3;break}return z.n=2,O.apply(y,B);case 2:Z=z.v;case 3:return z.a(2,Z)}},N)}))();var q=x.apply(y,B);return q===!1&&(q=O.apply(y,B)),q}};for(var D in a.hooks)F(D);i.hooks=y}if(a.walkTokens){var _=e.defaults.walkTokens,T=a.walkTokens;i.walkTokens=function(w){var S=[];return S.push(T.call(this,w)),_&&(S=S.concat(_.call(this,w))),S}}e.defaults=C(C({},e.defaults),i)}),this}},{key:"setOptions",value:function(e){return this.defaults=C(C({},this.defaults),e),this}},{key:"lexer",value:function(e,t){return Gn.lex(e,t!=null?t:this.defaults)}},{key:"parser",value:function(e,t){return Jn.parse(e,t!=null?t:this.defaults)}},{key:"parseMarkdown",value:function(e){var t=this;return function(n,r){var u=C({},r),a=C(C({},t.defaults),u),i=t.onError(!!a.silent,!!a.async);if(t.defaults.async===!0&&u.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(qt(n)>"u"||n===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return Xe(be().m(function l(){var h,p,g,y,F,D,_,T,w,S,x;return be().w(function(O){for(;;)switch(O.n){case 0:if(!a.hooks){O.n=2;break}return O.n=1,a.hooks.preprocess(n);case 1:F=O.v,O.n=3;break;case 2:F=n;case 3:if(h=F,!a.hooks){O.n=5;break}return O.n=4,a.hooks.provideLexer();case 4:D=O.v,O.n=6;break;case 5:D=e?Gn.lex:Gn.lexInline;case 6:return _=D,O.n=7,_(h,a);case 7:if(p=O.v,!a.hooks){O.n=9;break}return O.n=8,a.hooks.processAllTokens(p);case 8:T=O.v,O.n=10;break;case 9:T=p;case 10:if(g=T,!a.walkTokens){O.n=11;break}return O.n=11,Promise.all(t.walkTokens(g,a.walkTokens));case 11:if(!a.hooks){O.n=13;break}return O.n=12,a.hooks.provideParser();case 12:w=O.v,O.n=14;break;case 13:w=e?Jn.parse:Jn.parseInline;case 14:return S=w,O.n=15,S(g,a);case 15:if(y=O.v,!a.hooks){O.n=17;break}return O.n=16,a.hooks.postprocess(y);case 16:x=O.v,O.n=18;break;case 17:x=y;case 18:return O.a(2,x)}},l)}))().catch(i);try{a.hooks&&(n=a.hooks.preprocess(n));var o=(a.hooks?a.hooks.provideLexer():e?Gn.lex:Gn.lexInline)(n,a);a.hooks&&(o=a.hooks.processAllTokens(o)),a.walkTokens&&t.walkTokens(o,a.walkTokens);var c=(a.hooks?a.hooks.provideParser():e?Jn.parse:Jn.parseInline)(o,a);return a.hooks&&(c=a.hooks.postprocess(c)),c}catch(l){return i(l)}}}},{key:"onError",value:function(e,t){return function(n){if(n.message+=`
|
|
84
|
+
Please report this to https://github.com/markedjs/marked.`,e){var r="<p>An error occurred:</p><pre>"+rr(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}}]),Or=new tm;function gt(e,t){return Or.parse(e,t)}function Ni(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}gt.options=gt.setOptions=function(e){return Or.setOptions(e),gt.defaults=Or.defaults,zf(gt.defaults),gt},gt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},gt.defaults=lu,gt.use=function(){return Or.use.apply(Or,arguments),gt.defaults=Or.defaults,zf(gt.defaults),gt},gt.walkTokens=function(e,t){return Or.walkTokens(e,t)},gt.parseInline=Or.parseInline,gt.Parser=Jn,gt.parser=Jn.parse,gt.Renderer=ji,gt.TextRenderer=bs,gt.Lexer=Gn,gt.lexer=Gn.lex,gt.Tokenizer=Pi,gt.Hooks=Ma,gt.parse=gt,gt.options,gt.setOptions,gt.use,gt.walkTokens,gt.parseInline,Jn.parse,Gn.lex;var As=new gt.Renderer;As.code=function(e){var t=e.text,n=e.lang,r=n===void 0?"":n,u=e.escaped,a=r?"language-".concat(r):"",i=u?t:Ni(t),o=encodeURIComponent(t);return`
|
|
85
|
+
<div class="DocSearch-CodeSnippet">
|
|
86
|
+
<button class="DocSearch-CodeSnippet-CopyButton" data-code="`.concat(o,'" aria-label="copy code">').concat('<svg class="DocSearch-CodeSnippet-CopyIcon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg>').concat('<svg class="DocSearch-CodeSnippet-CheckIcon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5" /></svg>',`<span class="DocSearch-CodeSnippet-CopyButton-Label"></span></button>
|
|
87
|
+
<pre><code class="`).concat(a,'">').concat(i,`</code></pre>
|
|
88
|
+
</div>
|
|
89
|
+
`)},As.link=function(e){var t=e.href,n=e.title,r=e.text,u=n?' title="'.concat(Ni(n),'"'):"",a=t?Ni(t):"",i=Ni(r);return'<a href="'.concat(a,'"').concat(u,' target="_blank" rel="noopener noreferrer">').concat(i,"</a>")};var Ri=_l(function(e){var t=e.content,n=e.copyButtonText,r=e.copyButtonCopiedText,u=e.isStreaming,a=Vn(function(){return gt.parse(t,{gfm:!0,breaks:!0,renderer:As})},[t]),i=Su(null);return Un(function(){var o=i.current;if(o)return Array.from(o.querySelectorAll(".DocSearch-CodeSnippet-CopyButton")).forEach(function(l){var h=l.querySelector(".DocSearch-CodeSnippet-CopyButton-Label");h&&(h.textContent=n),l.classList.remove("DocSearch-CodeSnippet-CopyButton--copied")}),o.addEventListener("click",c),function(){o.removeEventListener("click",c)};function c(l){var h,p=l.target.closest(".DocSearch-CodeSnippet-CopyButton");if(p){var g=(h=p.getAttribute("data-code"))!==null&&h!==void 0?h:"";navigator.clipboard.writeText(decodeURIComponent(g)).catch(function(){});var y=p.querySelector(".DocSearch-CodeSnippet-CopyButton-Label");if(y){p.classList.add("DocSearch-CodeSnippet-CopyButton--copied");var F=n;y.textContent=r,setTimeout(function(){p.classList.remove("DocSearch-CodeSnippet-CopyButton--copied"),y.textContent=F},1500)}}}},[a,n,r]),b.createElement("div",{ref:i,className:"DocSearch-Markdown-Content ".concat(u?"DocSearch-Markdown-Content--streaming":""),dangerouslySetInnerHTML:{__html:a}})});Ri.displayName="MemoizedMarkdown";var nm=function(e,t){var n,r,u=t[0].parts.find(function(a){return a.type==="text"});return{query:e,objectID:(n=u==null?void 0:u.text)!==null&&n!==void 0?n:"",messages:t,type:"askAI",anchor:"stored",content:null,hierarchy:{lvl0:"askAI",lvl1:(r=u==null?void 0:u.text)!==null&&r!==void 0?r:"",lvl2:null,lvl3:null,lvl4:null,lvl5:null,lvl6:null},url:"",url_without_anchor:""}},td=function(e){return e==null?void 0:e.parts.find(function(t){return t.type==="text"})};function Es(e){var t;return e&&((t=e.message)===null||t===void 0?void 0:t.includes("AI-217"))||!1}var rm=["translations"];function um(e){var t=e.disclaimerText;return b.createElement("p",{className:"DocSearch-AskAiScreen-Disclaimer"},t)}function am(e){var t,n,r,u=e.exchange,a=e.askAiError,i=e.isLastExchange,o=e.loadingStatus,c=e.onSearchQueryClick,l=e.translations,h=e.conversations,p=e.onFeedback,g=u.userMessage,y=u.assistantMessage,F=l.stoppedStreamingText,D=F===void 0?"You stopped this response":F,_=l.errorTitleText,T=_===void 0?"Chat error":_,w=Es(a),S=Vn(function(){return td(y)},[y]),x=Vn(function(){return td(g)},[g]),O=b.useMemo(function(){return N=y,Z=[],z=new Set,N?(N.parts.forEach(function(H){if(H.type==="text"&&H.text.length!==0){var L,K=H.text.replace(/```[\s\S]*?```/g,"").replace(/`[^`]*`/g,""),J=me(K.matchAll(/\[([^\]]*)\]\(([^)]+)\)/g));try{for(J.s();!(L=J.n()).done;){var W=L.value,ee=W[1].trim(),ue=W[2];z.has(ue)||(z.add(ue),Z.push({url:ue,title:ee||void 0}))}}catch(Y){J.e(Y)}finally{J.f()}var ye,oe=me(K.matchAll(new RegExp('(?<!\\]\\()https?:\\/\\/[^\\s<>"{}|\\\\^`[\\]]+',"g")));try{for(oe.s();!(ye=oe.n()).done;){var ae=ye.value[0].replace(/[.,;:!?]+$/,"");z.has(ae)||(z.add(ae),Z.push({url:ae}))}}catch(Y){oe.e(Y)}finally{oe.f()}}}),Z):[];var N,Z,z},[y]),I=b.useMemo(function(){return(function(N){for(var Z=[],z=0;z<N.length;z++){var H=N[z];if(H.type==="tool-searchIndex"&&H.state==="output-available"){for(var L=[],K=z;K<N.length;){var J=N[K];if(J.type!=="tool-searchIndex"||J.state!=="output-available")break;var W,ee,ue=((W=(ee=J.output)===null||ee===void 0?void 0:ee.query)!==null&&W!==void 0?W:"").trim();ue&&ue.length>0&&L.push(ue),K++}L.length>1?Z.push({type:"aggregated-tool-call",queries:L}):L.length===1&&Z.push(H),z=K-1}else Z.push(H)}return Z})((y==null?void 0:y.parts)||[])},[y]),B=((t=g.metadata)===null||t===void 0?void 0:t.stopped)||(y==null||(n=y.metadata)===null||n===void 0?void 0:n.stopped),d=!B&&(!i||i&&o==="ready"&&!!y),q=["submitted","streaming"].includes(o)&&i&&!I.some(function(N){return N.type!=="step-start"});return b.createElement("div",{className:"DocSearch-AskAiScreen-Response-Container"},b.createElement("div",{className:"DocSearch-AskAiScreen-Response"},b.createElement("div",{className:"DocSearch-AskAiScreen-Message DocSearch-AskAiScreen-Message--user"},b.createElement("p",{className:"DocSearch-AskAiScreen-Query"},(r=x==null?void 0:x.text)!==null&&r!==void 0?r:"")),b.createElement("div",{className:"DocSearch-AskAiScreen-Message DocSearch-AskAiScreen-Message--assistant"},b.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent"},o==="error"&&a&&i&&!w&&b.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent DocSearch-AskAiScreen-Error"},b.createElement(D0,null),b.createElement("div",{className:"DocSearch-AskAiScreen-Error-Content"},b.createElement("h4",{className:"DocSearch-AskAiScreen-Error-Title"},T),b.createElement(Ri,{content:a.message,copyButtonText:"",copyButtonCopiedText:"",isStreaming:!1}))),q&&b.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent-Reasoning"},b.createElement("span",{className:"shimmer"},l.thinkingText||"Thinking...")),I.map(function(N,Z){var z,H=Z;if(typeof N=="string")return b.createElement(Ri,{key:H,content:N,copyButtonText:l.copyButtonText||"Copy",copyButtonCopiedText:l.copyButtonCopiedText||"Copied!",isStreaming:o==="streaming"});if(N.type==="aggregated-tool-call")return b.createElement(I0,{key:H,queries:N.queries,translations:l,onSearchQueryClick:c});if(N.type==="reasoning"&&N.state==="streaming")return b.createElement("div",{key:H,className:"DocSearch-AskAiScreen-MessageContent-Reasoning shimmer"},b.createElement(Pa,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),b.createElement("span",{className:"shimmer"},"Reasoning..."));if(N.type==="text")return b.createElement(Ri,{key:H,content:N.text,copyButtonText:l.copyButtonText||"Copy",copyButtonCopiedText:l.copyButtonCopiedText||"Copied!",isStreaming:N.state==="streaming"});if(N.type==="tool-searchIndex")switch(N.state){case"input-streaming":return b.createElement("div",{key:H,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--PartialCall shimmer"},b.createElement(Pa,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),b.createElement("span",null,l.preToolCallText||"Searching..."));case"input-available":return b.createElement("div",{key:H,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--Call shimmer"},b.createElement(Pa,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}),b.createElement("span",null,"".concat(l.duringToolCallText||"Searching for ",' "').concat(N.input.query||"",'" ...')));case"output-available":return b.createElement("div",{key:H,className:"DocSearch-AskAiScreen-MessageContent-Tool Tool--Result"},b.createElement(ma,null),b.createElement("span",null,"".concat(l.afterToolCallText||"Searched for")," ",b.createElement("span",{role:"button",tabIndex:0,className:"DocSearch-AskAiScreen-MessageContent-Tool-Query",onKeyDown:function(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),c(N.output.query||""))},onClick:function(){return c(N.output.query||"")}}," ",'"',N.output.query||"",'"')," ","found ",((z=N.output.hits)===null||z===void 0?void 0:z.length)||0," results"))}return null})),B&&b.createElement("p",{className:"DocSearck-AskAiScreen-MessageContent-Stopped"},D)),b.createElement("div",{className:"DocSearch-AskAiScreen-Answer-Footer"},b.createElement(im,{id:(g==null?void 0:g.id)||u.id,showActions:d,latestAssistantMessageContent:(S==null?void 0:S.text)||null,translations:l,conversations:h,onFeedback:p}))),O.length>0?b.createElement(om,{urlsToDisplay:O,relatedSourcesText:l.relatedSourcesText}):null)}function im(e){var t=e.id,n=e.showActions,r=e.latestAssistantMessageContent,u=e.translations,a=e.conversations,i=e.onFeedback,o=b.useMemo(function(){var d,q,N=(d=a.getOne)===null||d===void 0?void 0:d.call(a,t);return(q=N==null?void 0:N.feedback)!==null&&q!==void 0?q:null},[a,t]),c=ct(b.useState(o),2),l=c[0],h=c[1],p=ct(b.useState(!1),2),g=p[0],y=p[1],F=ct(b.useState(null),2),D=F[0],_=F[1],T=(function(){var d=Xe(be().m(function q(N){var Z;return be().w(function(z){for(;;)switch(z.p=z.n){case 0:if(!g){z.n=1;break}return z.a(2);case 1:return _(null),y(!0),z.p=2,z.n=3,i==null?void 0:i(t,N==="like"?1:0);case 3:h(N),z.n=5;break;case 4:z.p=4,Z=z.v,_(Z);case 5:return z.p=5,y(!1),z.f(5);case 6:return z.a(2)}},q,null,[[2,4,5,6]])}));return function(q){return d.apply(this,arguments)}})(),w=u.likeButtonTitle,S=w===void 0?"Like":w,x=u.dislikeButtonTitle,O=x===void 0?"Dislike":x,I=u.thanksForFeedbackText,B=I===void 0?"Thanks for your feedback!":I;return n&&r?b.createElement("div",{className:"DocSearch-AskAiScreen-Actions"},l===null?b.createElement(b.Fragment,null,g?b.createElement(Pa,{className:"DocSearch-AskAiScreen-SmallerLoadingIcon"}):b.createElement(b.Fragment,null,b.createElement(fm,{title:S,onClick:function(){return T("like")}}),b.createElement(dm,{title:O,onClick:function(){return T("dislike")}})),D&&b.createElement("p",{className:"DocSearch-AskAiScreen-FeedbackText"},D.message||"An error occured")):b.createElement("p",{className:"DocSearch-AskAiScreen-FeedbackText DocSearch-AskAiScreen-FeedbackText--visible"},B),b.createElement(lm,{translations:u,onClick:function(){return navigator.clipboard.writeText(r)}})):null}function om(e){var t=e.urlsToDisplay,n=e.relatedSourcesText;return b.createElement("div",{className:"DocSearch-AskAiScreen-RelatedSources"},b.createElement("p",{className:"DocSearch-AskAiScreen-RelatedSources-Title"},n||"Related sources"),b.createElement("div",{className:"DocSearch-AskAiScreen-RelatedSources-List"},t.length>0&&t.map(function(r){return b.createElement("a",{key:r.url,href:r.url,className:"DocSearch-AskAiScreen-RelatedSources-Item-Link",target:"_blank",rel:"noopener noreferrer"},b.createElement(cm,null),b.createElement("span",null,r.title||r.url))})))}function sm(e){var t=e.translations,n=t===void 0?{}:t,r=on(e,rm),u=n.disclaimerText,a=u===void 0?"Answers are generated with AI which can make mistakes. Verify responses.":u,i=n.threadDepthExceededMessage,o=i===void 0?"This conversation is now closed to keep responses accurate.":i,c=n.startNewConversationButtonText,l=c===void 0?"Start a new conversation":c,h=r.messages,p=r.askAiError,g=r.status,y=Vn(function(){return g==="error"&&Es(p)},[g,p]),F=Vn(function(){for(var T=[],w=0;w<h.length;w++)if(h[w].role==="user"){var S,x=h[w],O=((S=h[w+1])===null||S===void 0?void 0:S.role)==="assistant"?h[w+1]:null;T.push({id:x.id,userMessage:x,assistantMessage:O}),O&&w++}return y&&T.length>0&&(T[T.length-1].assistantMessage||T.pop()),T},[h,y]),D=function(T){r.onAskAiToggle(!1),r.setQuery(T)},_=y&&h.some(function(T){return T.role==="assistant"});return b.createElement("div",{className:"DocSearch-AskAiScreen DocSearch-AskAiScreen-Container"},_&&b.createElement("div",{className:"DocSearch-AskAiScreen-MessageContent DocSearch-AskAiScreen-Error DocSearch-AskAiScreen-Error--ThreadDepth"},b.createElement("div",{className:"DocSearch-AskAiScreen-Error-Content"},b.createElement("p",null,o," ",b.createElement("button",{type:"button",className:"DocSearch-ThreadDepthError-Link",onClick:r.onNewConversation},l)," ","to continue."))),b.createElement(um,{disclaimerText:a}),b.createElement("div",{className:"DocSearch-AskAiScreen-Body"},b.createElement("div",{className:"DocSearch-AskAiScreen-ExchangesList"},F.slice().reverse().map(function(T,w){return b.createElement(am,{key:T.id,exchange:T,askAiError:r.askAiError,isLastExchange:w===0,loadingStatus:r.status,translations:n,conversations:r.conversations,onSearchQueryClick:D,onFeedback:r.onFeedback})}))))}function cm(){return b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},b.createElement("line",{x1:"4",x2:"20",y1:"9",y2:"9"}),b.createElement("line",{x1:"4",x2:"20",y1:"15",y2:"15"}),b.createElement("line",{x1:"10",x2:"8",y1:"3",y2:"21"}),b.createElement("line",{x1:"16",x2:"14",y1:"3",y2:"21"}))}function lm(e){var t=e.onClick,n=e.translations,r=n.copyButtonTitle,u=r===void 0?"Copy":r,a=n.copyButtonCopiedText,i=a===void 0?"Copied!":a,o=ct(uu(!1),2),c=o[0],l=o[1];return Un(function(){if(c){var h=setTimeout(function(){l(!1)},1500);return function(){return clearTimeout(h)}}},[c]),b.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-CopyButton ".concat(c?"DocSearch-AskAiScreen-CopyButton--copied":""),disabled:c,title:c?i:u,onClick:function(){t(),l(!0)}},c?b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-check-icon lucide-check"},b.createElement("path",{d:"M20 6 9 17l-5-5"})):b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-copy-icon lucide-copy"},b.createElement("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),b.createElement("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})))}function fm(e){var t=e.title,n=e.onClick;return b.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-LikeButton",title:t,onClick:n},b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-thumbs-up-icon lucide-thumbs-up"},b.createElement("path",{d:"M7 10v12"}),b.createElement("path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"})))}function dm(e){var t=e.title,n=e.onClick;return b.createElement("button",{type:"button",className:"DocSearch-AskAiScreen-ActionButton DocSearch-AskAiScreen-DislikeButton",title:t,onClick:n},b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-thumbs-down-icon lucide-thumbs-down"},b.createElement("path",{d:"M17 14V2"}),b.createElement("path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"})))}var pm=["hit","attribute","tagName"];function nd(e,t){return t.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},e)}function fu(e){var t=e.hit,n=e.attribute,r=e.tagName;return wn(r===void 0?"span":r,C(C({},on(e,pm)),{},{dangerouslySetInnerHTML:{__html:nd(t,"_snippetResult.".concat(n,".value"))||nd(t,n)}}))}var hm=["item","getItemProps","onItemClick","translations","collection"];function $a(e){var t=b.useMemo(function(){return e.title.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'")},[e.title]);return e.collection&&e.collection.items.length!==0?e.collection.source.sourceId==="askAI"?b.createElement("section",{className:"DocSearch-AskAi-Section"},b.createElement("ul",e.getListProps({source:e.collection.source}),b.createElement(mm,Ct({item:e.collection.items[0],translations:e.translations},e)))):(e.collection.source.sourceId,b.createElement("section",{className:"DocSearch-Hits"},b.createElement("div",{className:"DocSearch-Hit-source"},t),b.createElement("ul",e.getListProps({source:e.collection.source}),e.collection.items.map(function(n,r){return b.createElement(vm,Ct({key:[e.title,n.objectID].join(":"),item:n,index:r},e))})))):null}function vm(e){var t=e.item,n=e.index,r=e.renderIcon,u=e.renderAction,a=e.getItemProps,i=e.onItemClick,o=e.collection,c=e.hitComponent;return b.createElement("li",Ct({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child"].filter(Boolean).join(" ")},a({item:t,source:o.source,onClick:function(l){i(t,l)}})),b.createElement(c,{hit:t},b.createElement("div",{className:"DocSearch-Hit-Container"},r({item:t,index:n}),t.hierarchy[t.type]&&t.type==="lvl1"&&b.createElement("div",{className:"DocSearch-Hit-content-wrapper"},b.createElement(fu,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&b.createElement(fu,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.type==="askAI"&&b.createElement("div",{className:"DocSearch-Hit-content-wrapper"},b.createElement(fu,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"})),t.hierarchy[t.type]&&(t.type==="lvl2"||t.type==="lvl3"||t.type==="lvl4"||t.type==="lvl5"||t.type==="lvl6")&&b.createElement("div",{className:"DocSearch-Hit-content-wrapper"},b.createElement(fu,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),b.createElement(fu,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),t.type==="content"&&b.createElement("div",{className:"DocSearch-Hit-content-wrapper"},b.createElement(fu,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),b.createElement(fu,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),u({item:t}))))}function mm(e){var t=e.item,n=e.getItemProps,r=e.onItemClick,u=e.translations,a=e.collection,i=on(e,hm),o=u||{},c=o.askAiPlaceholder,l=c===void 0?"Ask AI: ":c,h=o.noResultsAskAiPlaceholder,p=h===void 0?"Didn't find it in the docs? Ask AI to help: ":h,g=i.state.collections.length===1?p:l;return b.createElement("li",Ct({className:"DocSearch-Hit"},n({item:t,source:a.source,onClick:function(y){r(t,y)}})),b.createElement("div",{className:"DocSearch-Hit--AskAI"},b.createElement("div",{className:"DocSearch-Hit-AskAIButton DocSearch-Hit-Container"},b.createElement("div",{className:" DocSearch-Hit-AskAIButton-icon DocSearch-Hit-icon"},b.createElement(fs,null)),b.createElement("div",{className:"DocSearch-Hit-AskAIButton-title"},b.createElement("span",{className:"DocSearch-Hit-AskAIButton-title-highlight"},g),b.createElement("mark",{className:"DocSearch-Hit-AskAIButton-title-query"},t.query||"")))))}var gm=["onAskAiToggle"];function ym(e){var t=e.onAskAiToggle,n=on(e,gm),r=b.useMemo(function(){return n.state.collections[2]},[n.state]);return b.useEffect(function(){r&&r.items.length!==0||t(!0)},[r,t]),b.createElement("div",{className:"DocSearch-Dropdown-Container DocSearch-Conversation-History"},b.createElement($a,Ct({},n,{key:r.source.sourceId,title:"",translations:n.translations,collection:r,renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(fs,null))},renderAction:function(u){var a=u.item;return b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{type:"button",className:"DocSearch-Hit-action-button",onClick:function(i){i.preventDefault(),i.stopPropagation(),n.conversations.remove(a),n.refresh()}},b.createElement(ja,null)))}})))}function Dm(e){var t=e.translations,n=t===void 0?{}:t,r=n.titleText,u=r===void 0?"Unable to fetch results":r,a=n.helpText,i=a===void 0?"You might want to check your network connection.":a;return b.createElement("div",{className:"DocSearch-ErrorScreen"},b.createElement("div",{className:"DocSearch-Screen-Icon"},b.createElement(k0,null)),b.createElement("p",{className:"DocSearch-Title"},u),b.createElement("p",{className:"DocSearch-Help"},i))}function bm(e){var t=e.translations,n=t===void 0?{}:t,r=e.suggestedQuestions,u=r===void 0?[]:r,a=e.selectSuggestedQuestion,i=n.newConversationTitle,o=i===void 0?"How can I help you today?":i,c=n.newConversationDescription,l=c===void 0?"I search through your documentation to help you find setup guides, feature details and troubleshooting tips, fast.":c;return b.createElement("div",{className:"DocSearch-NewConversationScreen"},b.createElement("h3",{className:"DocSearch-NewConversationScreen-Title"},o),b.createElement("p",{className:"DocSearch-NewConversationScreen-Description"},l),b.createElement("div",{className:"DocSearch-NewConversationScreen-SuggestedQuestions"},u.map(function(h){return b.createElement("button",{key:h.objectID,type:"button",className:"DocSearch-NewConversationScreen-SuggestedQuestion",onClick:function(){return a(h)}},h.question)})))}var Am=["translations"];function rd(e){var t=e.translations,n=t===void 0?{}:t,r=on(e,Am),u=n.noResultsText,a=u===void 0?"No results found for":u,i=n.suggestedQueryText,o=i===void 0?"Try searching for":i,c=n.reportMissingResultsText,l=c===void 0?"Believe this query should return results?":c,h=n.reportMissingResultsLinkText,p=h===void 0?"Let us know.":h,g=r.state.context.searchSuggestions;return b.createElement("div",{className:"DocSearch-NoResults ".concat(r.canHandleAskAi?"DocSearch-NoResults--withAskAi":"")},b.createElement("div",{className:"DocSearch-Screen-Icon"},b.createElement(w0,null)),b.createElement("p",{className:"DocSearch-Title"},a,' "',b.createElement("strong",null,r.state.query),'"'),g&&g.length>0&&b.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},b.createElement("p",{className:"DocSearch-Help"},o,":"),b.createElement("div",{className:"DocSearch-NoResults-Prefill-List-Items"},g.slice(0,3).reduce(function(y,F){return[].concat(De(y),[b.createElement("p",{key:F},b.createElement(ma,{size:16}),b.createElement("button",{className:"DocSearch-Prefill",key:F,type:"button",onClick:function(){r.setQuery(F.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},F))])},[]))),r.getMissingResultsUrl&&b.createElement("p",{className:"DocSearch-Help"},"".concat(l," "),b.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},p)))}var Em=["translations"];function Fm(e){var t=e.translations,n=t===void 0?{}:t,r=on(e,Em);return b.createElement("div",{className:"DocSearch-Dropdown-Container"},r.state.collections.map(function(u){if(u.items.length===0)return null;var a=Xl(u.items[0]);return b.createElement($a,Ct({},r,{key:u.source.sourceId,translations:n,title:a,collection:u,renderIcon:function(i){var o,c=i.item,l=i.index;return b.createElement(b.Fragment,null,c.__docsearch_parent&&b.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},b.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},c.__docsearch_parent!==((o=u.items[l+1])===null||o===void 0?void 0:o.__docsearch_parent)?b.createElement("path",{d:"M8 6v21M20 27H8.3"}):b.createElement("path",{d:"M8 6v42M20 27H8.3"}))),b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(E0,{type:c.type})))},renderAction:function(){return b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement(b0,null))}}))}),r.resultsFooterComponent&&b.createElement("section",{className:"DocSearch-HitsFooter"},b.createElement(r.resultsFooterComponent,{state:r.state})))}var _m=["translations"];function Cm(e){var t=e.translations,n=t===void 0?{}:t,r=on(e,_m),u=n.recentSearchesTitle,a=u===void 0?"Recent":u,i=n.saveRecentSearchButtonTitle,o=i===void 0?"Save this search":i,c=n.removeRecentSearchButtonTitle,l=c===void 0?"Remove this search from history":c,h=n.favoriteSearchesTitle,p=h===void 0?"Favorite":h,g=n.removeFavoriteSearchButtonTitle,y=g===void 0?"Remove this search from favorites":g,F=n.recentConversationsTitle,D=F===void 0?"Recent conversations":F,_=n.removeRecentConversationButtonTitle,T=_===void 0?"Remove this conversation from history":_;return b.createElement("div",{className:"DocSearch-Dropdown-Container"},b.createElement($a,Ct({},r,{title:a,collection:r.state.collections[0],renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(y0,null))},renderAction:function(w){var S=w.item;return b.createElement(b.Fragment,null,b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:o,type:"submit",onClick:function(x){x.preventDefault(),x.stopPropagation(),r.favoriteSearches.add(S),r.recentSearches.remove(S),r.refresh()}},b.createElement(Rf,null))),b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(x){x.preventDefault(),x.stopPropagation(),r.recentSearches.remove(S),r.refresh()}},b.createElement(ja,null))))}})),b.createElement($a,Ct({},r,{title:p,collection:r.state.collections[1],renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(Rf,null))},renderAction:function(w){var S=w.item;return b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:y,type:"submit",onClick:function(x){x.preventDefault(),x.stopPropagation(),r.favoriteSearches.remove(S),r.refresh()}},b.createElement(ja,null)))}})),b.createElement($a,Ct({},r,{title:D,collection:r.state.collections[2],renderIcon:function(){return b.createElement("div",{className:"DocSearch-Hit-icon"},b.createElement(fs,null))},renderAction:function(w){var S=w.item;return b.createElement("div",{className:"DocSearch-Hit-action"},b.createElement("button",{className:"DocSearch-Hit-action-button",title:T,type:"submit",onClick:function(x){x.preventDefault(),x.stopPropagation(),r.conversations.remove(S),r.refresh()}},b.createElement(ja,null)))}})))}var km=["translations"],wm=b.memo(function(e){var t,n=e.translations,r=n===void 0?{}:n,u=on(e,km);return u.canHandleAskAi&&u.isAskAiActive&&u.askAiState==="conversation-history"?b.createElement(ym,u):u.canHandleAskAi&&u.isAskAiActive&&u.askAiState==="new-conversation"?b.createElement(bm,{translations:r==null?void 0:r.newConversation,selectSuggestedQuestion:u.selectSuggestedQuestion,suggestedQuestions:u.suggestedQuestions}):u.isAskAiActive&&u.canHandleAskAi?b.createElement(sm,Ct({},u,{messages:u.messages,status:u.status,askAiError:u.askAiError,translations:r==null?void 0:r.askAiScreen})):((t=u.state)===null||t===void 0?void 0:t.status)==="error"?b.createElement(Dm,{translations:r==null?void 0:r.errorScreen}):u.state.query?u.hasCollections||u.canHandleAskAi?b.createElement(b.Fragment,null,b.createElement(Fm,Ct({},u,{translations:r==null?void 0:r.resultsScreen})),u.canHandleAskAi&&u.state.collections.length===1&&b.createElement(rd,Ct({},u,{translations:r==null?void 0:r.noResultsScreen}))):b.createElement(rd,Ct({},u,{translations:r==null?void 0:r.noResultsScreen})):b.createElement(Cm,Ct({},u,{hasCollections:u.hasCollections,translations:r==null?void 0:r.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"});function xm(e){var t=e.size,n=t===void 0?20:t,r=e.color,u=r===void 0?"currentColor":r;return b.createElement("svg",{width:n,height:n,className:"DocSearch-Back-Icon",viewBox:"0 0 24 24",fill:"none",stroke:u,strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},b.createElement("path",{d:"m12 19-7-7 7-7"}),b.createElement("path",{d:"M19 12H5"}))}var Sm=["children","className","onClick"],zi=b.createContext({open:!1,setOpen:function(e){}});function Ir(e){var t=e.children,n=ct(b.useState(!1),2),r=n[0],u=n[1],a=b.useRef(null);return b.useEffect(function(){function i(o){var c;(c=a.current)!==null&&c!==void 0&&c.contains(o.target)||u(!1)}return r&&window.addEventListener("click",i),function(){window.removeEventListener("click",i)}},[r]),b.createElement(zi.Provider,{value:{open:r,setOpen:u}},b.createElement("div",{ref:a,className:"DocSearch-Menu"},t))}function Tm(e){var t=e.heading,n=e.shimmer,r=n!==void 0&&n;return b.createElement("span",{className:"DocSearch-Modal-heading".concat(r?" shimmer":"")},t)}Ir.Trigger=function(e){var t=e.children,n=e.className,r=n===void 0?"":n,u=b.useContext(zi),a=u.open,i=u.setOpen;return b.createElement("button",{type:"button",className:"DocSearch-Menu-trigger ".concat(r),onClick:function(){i(!a)}},t)},Ir.Content=function(e){var t=e.children,n=b.useContext(zi).open;return b.createElement("div",{className:"DocSearch-Menu-content".concat(n?" open":"")},t)},Ir.Item=function(e){var t=e.children,n=e.className,r=n===void 0?"":n,u=e.onClick,a=on(e,Sm),i=b.useContext(zi).setOpen;return b.createElement("button",Ct({type:"button",className:"DocSearch-Menu-item ".concat(r),onClick:function(o){u&&(u(o),i(!1))}},a),t)};var Om=["translations","askAiState","onAskAiToggle","setAskAiState"];function Im(e){var t=e.translations,n=t===void 0?{}:t,r=e.askAiState,u=e.onAskAiToggle,a=e.setAskAiState,i=on(e,Om),o=n.clearButtonTitle,c=o===void 0?"Clear":o,l=n.clearButtonAriaLabel,h=l===void 0?"Clear the query":l,p=n.closeButtonText,g=p===void 0?"Close":p,y=n.closeButtonAriaLabel,F=y===void 0?"Close":y,D=n.searchInputLabel,_=D===void 0?"Search":D,T=n.backToKeywordSearchButtonText,w=T===void 0?"Back to keyword search":T,S=n.backToKeywordSearchButtonAriaLabel,x=S===void 0?"Back to keyword search":S,O=n.placeholderTextAskAiStreaming,I=O===void 0?"Answering...":O,B=n.newConversationPlaceholder,d=B===void 0?"Ask a question":B,q=n.conversationHistoryTitle,N=q===void 0?"My conversation history":q,Z=n.startNewConversationText,z=Z===void 0?"Start a new conversation":Z,H=n.viewConversationHistoryText,L=H===void 0?"Conversation history":H,K=n.threadDepthErrorPlaceholder,J=K===void 0?"Conversation limit reached":K,W=i.getFormProps({inputElement:i.inputRef.current}).onReset;b.useEffect(function(){i.autoFocus&&i.inputRef.current&&i.inputRef.current.focus()},[i.autoFocus,i.inputRef]),b.useEffect(function(){i.isFromSelection&&i.inputRef.current&&i.inputRef.current.select()},[i.isFromSelection,i.inputRef]);var ee=b.useMemo(function(){var Se=i.state.collections[2];return!!Se&&Se.items.length>0},[i.state.collections]),ue=i.getInputProps({inputElement:i.inputRef.current,autoFocus:i.autoFocus,maxLength:512}),ye=new Set(["ArrowUp","ArrowDown","Enter"]),oe=ue.onKeyDown,ae=ue.onChange,Y=i.askAiStatus==="streaming"||i.askAiStatus==="submitted",ie=i.state.status==="stalled",re=i.isAskAiActive&&r!=="conversation-history",de=i.isThreadDepthError||!1,pe=i.placeholder;r==="new-conversation"&&(pe=d),de&&i.isAskAiActive&&(pe=J);var ve=null;Y&&(ve=I),r==="conversation-history"&&(ve=N),b.useEffect(function(){i.askAiStatus!=="streaming"&&i.askAiStatus!=="submitted"&&i.inputRef.current&&i.inputRef.current.focus()},[i.askAiStatus,i.inputRef]);var ke=C(C({},ue),{},{enterKeyHint:i.isAskAiActive?"enter":"search",onKeyDown:function(Se){if(i.isAskAiActive&&ye.has(Se.key))return Se.key==="Enter"&&!Y&&i.state.query&&i.onAskAgain(i.state.query),Se.preventDefault(),void Se.stopPropagation();oe==null||oe(Se)},onChange:function(Se){if(i.isAskAiActive)return i.setQuery(Se.currentTarget.value),Se.preventDefault(),void Se.stopPropagation();ae==null||ae(Se)},disabled:Y||de&&i.isAskAiActive}),ze=b.useCallback(function(){if(!de)return r==="conversation-history"?(u(!0),void a("initial")):void u(!1);i.onNewConversation()},[r,de,u,a,i]);return b.createElement(b.Fragment,null,b.createElement("form",{className:"DocSearch-Form",onSubmit:function(Se){Se.preventDefault()},onReset:W},i.isAskAiActive?b.createElement(b.Fragment,null,b.createElement("button",{type:"button",tabIndex:0,className:"DocSearch-Action DocSearch-AskAi-Return",title:w,"aria-label":x,onClick:ze},b.createElement(xm,null))):b.createElement(b.Fragment,null,ie&&b.createElement("div",{className:"DocSearch-LoadingIndicator"},b.createElement(Pa,null)),!ie&&b.createElement("label",Ct({className:"DocSearch-MagnifierLabel"},i.getLabelProps()),b.createElement(ma,null),b.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},_))),ve&&b.createElement(Tm,{heading:ve,shimmer:Y}),b.createElement("input",Ct({className:"DocSearch-Input",ref:i.inputRef},ke,{placeholder:pe,hidden:!!ve})),b.createElement("div",{className:"DocSearch-Actions"},b.createElement("button",{className:"DocSearch-Clear",type:"reset","aria-label":h,hidden:!i.state.query,tabIndex:i.state.query?0:-1,"aria-hidden":i.state.query?"false":"true"},c),i.state.query&&b.createElement("div",{className:"DocSearch-Divider"}),Y&&b.createElement(b.Fragment,null,b.createElement("button",{type:"button",className:"DocSearch-Action DocSearch-StopStreaming",onClick:i.onStopAskAiStreaming},b.createElement(C0,null)),b.createElement("div",{className:"DocSearch-Divider"})),re&&b.createElement(b.Fragment,null,b.createElement(Ir,null,b.createElement(Ir.Trigger,{className:"DocSearch-Action"},b.createElement(x0,null)),b.createElement(Ir.Content,null,b.createElement(Ir.Item,{onClick:i.onNewConversation},b.createElement(T0,null),z),ee&&b.createElement(Ir.Item,{onClick:i.onViewConversationHistory},b.createElement(S0,null),L))),b.createElement("div",{className:"DocSearch-Divider"})),b.createElement("button",{type:"button",title:g,className:"DocSearch-Action DocSearch-Close","aria-label":F,onClick:i.onClose},b.createElement(ja,null)))))}function ud(){if(typeof window!="undefined"&&window.localStorage){var e=[];for(var t in window.localStorage)if(t.includes("__DOCSEARCH_")){var n=window.localStorage[t];e.push({key:t,size:n.length+t.length})}e.sort(function(a,i){return i.size-a.size});for(var r=Math.ceil(e.length/2),u=0;u<r&&u<e.length;u++)try{window.localStorage.removeItem(e[u].key)}catch(a){}}}function ad(e){return(function(){if(typeof window=="undefined"||!("localStorage"in window))return!1;var t="__TEST_KEY__";try{return window.localStorage.setItem(t,""),window.localStorage.removeItem(t),!0}catch(n){return!1}})()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){(function(n,r){try{window.localStorage.setItem(n,JSON.stringify(r))}catch(u){if(u instanceof DOMException&&u.name==="QuotaExceededError")try{ud(),window.localStorage.setItem(n,JSON.stringify(r))}catch(a){}}})(e,t)},getItem:function(){var t=window.localStorage.getItem(e);if(t===null)return[];try{var n=JSON.parse(t);return Array.isArray(n)?n:[]}catch(r){return window.localStorage.removeItem(e),[]}}}}var Bm=["_highlightResult","_snippetResult"];function id(e){var t=e.key,n=e.limit,r=n===void 0?5:n,u=ad(t),a=u.getItem().slice(0,r);return{add:function(i){var o=i;o._highlightResult,o._snippetResult;var c=on(o,Bm),l=a.findIndex(function(h){return h.objectID===c.objectID});l>-1&&a.splice(l,1),a.unshift(c),a=a.slice(0,r),u.setItem(a)},remove:function(i){a=a.filter(function(o){return o.objectID!==i.objectID}),u.setItem(a)},getAll:function(){return a}}}function od(e){var t=e.key,n=e.limit,r=n===void 0?5:n,u=ad(t),a=u.getItem().slice(0,r);return{add:function(i){var o=i.objectID,c=i.query,l=a.findIndex(function(h){return h.objectID===o||h.query===c});l>-1?a[l]=i:(a.unshift(i),a=a.slice(0,r)),u.setItem(a)},addFeedback:function(i,o){var c=a.find(function(h){var p;return(p=h.messages)===null||p===void 0?void 0:p.some(function(g){return g.id===i})});if(c&&c.messages){var l=c.messages.find(function(h){return h.id===i});l&&(l.feedback=o,u.setItem(a))}},getOne:function(i){var o,c=a.find(function(l){var h;return(h=l.messages)===null||h===void 0?void 0:h.some(function(p){return p.id===i})});return c==null||(o=c.messages)===null||o===void 0?void 0:o.find(function(l){return l.id===i})},getAll:function(){return a},remove:function(i){a=a.filter(function(o){return o.objectID!==i.objectID}),u.setItem(a)},getConversation:function(i){var o=a.find(function(c){var l;return(l=c.messages)===null||l===void 0?void 0:l.some(function(h){return h.id===i})});if(o&&o.messages)return o}}}var sd,cd="vercel.ai.error",Pm=Symbol.for(cd),jm=(function(){function e(t){var n,r=t.name,u=t.message,a=t.cause;return Zn(this,e),(n=tu(this,e,[u]))[sd]=!0,n.name=r,n.cause=a,n}return nu(e,Io(Error)),qn(e,null,[{key:"isInstance",value:function(t){return e.hasMarker(t,cd)}},{key:"hasMarker",value:function(t,n){var r=Symbol.for(n);return t!=null&&Ce(t)=="object"&&r in t&&typeof t[r]=="boolean"&&t[r]===!0}}])})();sd=Pm;var Br=jm;function ld(e){return e==null?"unknown error":typeof e=="string"?e:e instanceof Error?e.message:JSON.stringify(e)}var fd,dd="AI_InvalidArgumentError",pd="vercel.ai.error.".concat(dd),Nm=Symbol.for(pd),Rm=(function(){function e(t){var n,r=t.message,u=t.cause,a=t.argument;return Zn(this,e),(n=tu(this,e,[{name:dd,message:r,cause:u}]))[fd]=!0,n.argument=a,n}return nu(e,Br),qn(e,null,[{key:"isInstance",value:function(t){return Br.hasMarker(t,pd)}}])})();fd=Nm;var hd,vd="AI_JSONParseError",md="vercel.ai.error.".concat(vd),zm=Symbol.for(md),gd=(function(){function e(t){var n,r=t.text,u=t.cause;return Zn(this,e),(n=tu(this,e,[{name:vd,message:"JSON parsing failed: Text: ".concat(r,`.
|
|
90
|
+
Error message: `).concat(ld(u)),cause:u}]))[hd]=!0,n.text=r,n}return nu(e,Br),qn(e,null,[{key:"isInstance",value:function(t){return Br.hasMarker(t,md)}}])})();hd=zm;var yd,Dd="AI_TypeValidationError",bd="vercel.ai.error.".concat(Dd),Lm=Symbol.for(bd);yd=Lm;var Li=(function(){function e(t){var n,r=t.value,u=t.cause;return Zn(this,e),(n=tu(this,e,[{name:Dd,message:"Type validation failed: Value: ".concat(JSON.stringify(r),`.
|
|
91
|
+
Error message: `).concat(ld(u)),cause:u}]))[yd]=!0,n.value=r,n}return nu(e,Br),qn(e,null,[{key:"isInstance",value:function(t){return Br.hasMarker(t,bd)}},{key:"wrap",value:function(t){var n=t.value,r=t.cause;return e.isInstance(r)&&r.value===n?r:new e({value:n,cause:r})}}])})(),Ad=(function(){function e(t,n){var r;return Ie(this,e),(r=Ze(this,e,[t])).name="ParseError",r.type=n.type,r.field=n.field,r.value=n.value,r.line=n.line,r}return $e(e,Tr(Error)),Be(e)})();function Fs(e){}var Mm=(function(){function e(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.onError,u=n.onRetry,a=n.onComment;return Ie(this,e),Ze(this,e,[{start:function(i){t=(function(o){if(typeof o=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");var c,l=o.onEvent,h=l===void 0?Fs:l,p=o.onError,g=p===void 0?Fs:p,y=o.onRetry,F=y===void 0?Fs:y,D=o.onComment,_="",T=!0,w="",S="";function x(I){if(I==="")return w.length>0&&h({id:c,event:S||void 0,data:w.endsWith(`
|
|
92
|
+
`)?w.slice(0,-1):w}),c=void 0,w="",void(S="");if(I.startsWith(":"))D&&D(I.slice(I.startsWith(": ")?2:1));else{var B=I.indexOf(":");if(B===-1)O(I,"",I);else{var d=I.slice(0,B),q=I[B+1]===" "?2:1;O(d,I.slice(B+q),I)}}}function O(I,B,d){switch(I){case"event":S=B;break;case"data":w="".concat(w).concat(B,`
|
|
93
|
+
`);break;case"id":c=B.includes("\0")?void 0:B;break;case"retry":/^\d+$/.test(B)?F(parseInt(B,10)):g(new Ad('Invalid `retry` value: "'.concat(B,'"'),{type:"invalid-retry",value:B,line:d}));break;default:g(new Ad('Unknown field "'.concat(I.length>20?"".concat(I.slice(0,20),"\u2026"):I,'"'),{type:"unknown-field",field:I,value:B,line:d}))}}return{feed:function(I){var B,d=T?I.replace(/^\xEF\xBB\xBF/,""):I,q=(function(L){for(var K=[],J="",W=0;W<L.length;){var ee=L.indexOf("\r",W),ue=L.indexOf(`
|
|
94
|
+
`,W),ye=-1;if(ee!==-1&&ue!==-1?ye=Math.min(ee,ue):ee!==-1?ye=ee===L.length-1?-1:ee:ue!==-1&&(ye=ue),ye===-1){J=L.slice(W);break}var oe=L.slice(W,ye);K.push(oe),L[(W=ye+1)-1]==="\r"&&L[W]===`
|
|
95
|
+
`&&W++}return[K,J]})("".concat(_).concat(d)),N=ct(q,2),Z=N[0],z=N[1],H=me(Z);try{for(H.s();!(B=H.n()).done;)x(B.value)}catch(L){H.e(L)}finally{H.f()}_=z,T=!1},reset:function(){_&&(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).consume&&x(_),T=!0,c=void 0,w="",S="",_=""}}})({onEvent:function(o){i.enqueue(o)},onError:function(o){r==="terminate"?i.error(o):typeof r=="function"&&r(o)},onRetry:u,onComment:a})},transform:function(i){t.feed(i)}}])}return $e(e,Tr(TransformStream)),Be(e)})();function X(e,t,n){var r;function u(o,c){var l,h,p;for(var g in Object.defineProperty(o,"_zod",{value:(l=o._zod)!==null&&l!==void 0?l:{},enumerable:!1}),(h=(p=o._zod).traits)!==null&&h!==void 0||(p.traits=new Set),o._zod.traits.add(e),t(o,c),i.prototype)g in o||Object.defineProperty(o,g,{value:i.prototype[g].bind(o)});o._zod.constr=i,o._zod.def=c}var a=(function(o){function c(){return Ie(this,c),Ze(this,c,arguments)}return $e(c,o),Be(c)})((r=n==null?void 0:n.Parent)!==null&&r!==void 0?r:Object);function i(o){var c,l,h=n!=null&&n.Parent?new a:this;u(h,o),(c=(l=h._zod).deferred)!==null&&c!==void 0||(l.deferred=[]);var p,g=me(h._zod.deferred);try{for(g.s();!(p=g.n()).done;)(0,p.value)()}catch(y){g.e(y)}finally{g.f()}return h}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(i,"init",{value:u}),Object.defineProperty(i,Symbol.hasInstance,{value:function(o){var c;return!!(n!=null&&n.Parent&&o instanceof n.Parent)||(o==null||(c=o._zod)===null||c===void 0||(c=c.traits)===null||c===void 0?void 0:c.has(e))}}),Object.defineProperty(i,"name",{value:e}),i}var Nu=(function(){function e(){return Ie(this,e),Ze(this,e,["Encountered Promise during synchronous parse. Use .parseAsync() instead."])}return $e(e,Tr(Error)),Be(e)})(),Ed=(function(){function e(t){var n;return Ie(this,e),(n=Ze(this,e,["Encountered unidirectional transform during encode: ".concat(t)])).name="ZodEncodeError",n}return $e(e,Tr(Error)),Be(e)})(),Fd={};function Pr(e){return Fd}function _d(e){var t=Object.values(e).filter(function(r){return typeof r=="number"}),n=Object.entries(e).filter(function(r){var u=ct(r,2),a=u[0];return u[1],t.indexOf(+a)===-1}).map(function(r){var u=ct(r,2);return u[0],u[1]});return n}function _s(e,t){return typeof t=="bigint"?t.toString():t}function Mi(e){return{get value(){var t=e();return Object.defineProperty(this,"value",{value:t}),t}}}function Ru(e){return e==null}function Cs(e){var t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}var Cd=Symbol("evaluating");function mt(e,t,n){var r=void 0;Object.defineProperty(e,t,{get:function(){if(r!==Cd)return r===void 0&&(r=Cd,r=n()),r},set:function(u){Object.defineProperty(e,t,{value:u})},configurable:!0})}function du(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function pu(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var u=0,a=n;u<a.length;u++){var i=a[u],o=Object.getOwnPropertyDescriptors(i);Object.assign(e,o)}return Object.defineProperties({},e)}function kd(e){return JSON.stringify(e)}var wd="captureStackTrace"in Error?Error.captureStackTrace:function(){};function Za(e){return qt(e)==="object"&&e!==null&&!Array.isArray(e)}var $m=Mi(function(){var e;if(typeof navigator!="undefined"&&(e=navigator)!==null&&e!==void 0&&(e=e.userAgent)!==null&&e!==void 0&&e.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(t){return!1}});function zu(e){if(Za(e)===!1)return!1;var t=e.constructor;if(t===void 0)return!0;var n=t.prototype;return Za(n)!==!1&&Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")!==!1}function xd(e){return zu(e)?C({},e):Array.isArray(e)?De(e):e}var Zm=new Set(["string","number","symbol"]);function Lu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function jr(e,t,n){var r=new e._zod.constr(t!=null?t:e._zod.def);return(!t||n!=null&&n.parent)&&(r._zod.parent=e),r}function xe(e){var t=e;if(!t)return{};if(typeof t=="string")return{error:function(){return t}};if((t==null?void 0:t.message)!==void 0){if((t==null?void 0:t.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?C(C({},t),{},{error:function(){return t.error}}):t}var qm={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Mu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(e.aborted===!0)return!0;for(var n=t;n<e.issues.length;n++){var r;if(((r=e.issues[n])===null||r===void 0?void 0:r.continue)!==!0)return!0}return!1}function hu(e,t){return t.map(function(n){var r,u;return(r=(u=n).path)!==null&&r!==void 0||(u.path=[]),n.path.unshift(e),n})}function $i(e){return typeof e=="string"?e:e==null?void 0:e.message}function Nr(e,t,n){var r,u=C(C({},e),{},{path:(r=e.path)!==null&&r!==void 0?r:[]});if(!e.message){var a,i,o,c,l,h,p,g,y,F=(a=(i=(o=(c=$i((l=e.inst)===null||l===void 0||(l=l._zod.def)===null||l===void 0||(h=l.error)===null||h===void 0?void 0:h.call(l,e)))!==null&&c!==void 0?c:$i(t==null||(p=t.error)===null||p===void 0?void 0:p.call(t,e)))!==null&&o!==void 0?o:$i((g=n.customError)===null||g===void 0?void 0:g.call(n,e)))!==null&&i!==void 0?i:$i((y=n.localeError)===null||y===void 0?void 0:y.call(n,e)))!==null&&a!==void 0?a:"Invalid input";u.message=F}return delete u.inst,delete u.continue,t!=null&&t.reportInput||delete u.input,u}function ks(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function ws(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function qa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],u=t[1],a=t[2];return typeof r=="string"?{message:r,code:"custom",input:u,inst:a}:C({},r)}var Sd=function(e,t){e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,_s,2),Object.defineProperty(e,"toString",{value:function(){return e.message},enumerable:!1})},Td=X("$ZodError",Sd),Od=X("$ZodError",Sd,{Parent:Error}),xs=function(e){return function(t,n,r,u){var a=r?Object.assign(r,{async:!1}):{async:!1},i=t._zod.run({value:n,issues:[]},a);if(i instanceof Promise)throw new Nu;if(i.issues.length){var o,c=new((o=u==null?void 0:u.Err)!==null&&o!==void 0?o:e)(i.issues.map(function(l){return Nr(l,a,Pr())}));throw wd(c,u==null?void 0:u.callee),c}return i.value}},Ss=function(e){return(function(){var t=Xe(be().m(function n(r,u,a,i){var o,c,l,h;return be().w(function(p){for(;;)switch(p.n){case 0:if(o=a?Object.assign(a,{async:!0}):{async:!0},!((c=r._zod.run({value:u,issues:[]},o))instanceof Promise)){p.n=2;break}return p.n=1,c;case 1:c=p.v;case 2:if(!c.issues.length){p.n=3;break}throw h=new((l=i==null?void 0:i.Err)!==null&&l!==void 0?l:e)(c.issues.map(function(g){return Nr(g,o,Pr())})),wd(h,i==null?void 0:i.callee),h;case 3:return p.a(2,c.value)}},n)}));return function(n,r,u,a){return t.apply(this,arguments)}})()},Zi=function(e){return function(t,n,r){var u=r?C(C({},r),{},{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},u);if(a instanceof Promise)throw new Nu;return a.issues.length?{success:!1,error:new(e!=null?e:Td)(a.issues.map(function(i){return Nr(i,u,Pr())}))}:{success:!0,data:a.value}}},Hm=Zi(Od),qi=function(e){return(function(){var t=Xe(be().m(function n(r,u,a){var i,o;return be().w(function(c){for(;;)switch(c.n){case 0:if(i=a?Object.assign(a,{async:!0}):{async:!0},!((o=r._zod.run({value:u,issues:[]},i))instanceof Promise)){c.n=2;break}return c.n=1,o;case 1:o=c.v;case 2:return c.a(2,o.issues.length?{success:!1,error:new e(o.issues.map(function(l){return Nr(l,i,Pr())}))}:{success:!0,data:o.value})}},n)}));return function(n,r,u){return t.apply(this,arguments)}})()},Um=qi(Od),Vm=/^[cC][^\s-]{8,}$/,Wm=/^[0-9a-z]+$/,Gm=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Jm=/^[0-9a-vA-V]{20}$/,Km=/^[A-Za-z0-9]{27}$/,Qm=/^[a-zA-Z0-9_-]{21}$/,Ym=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Xm=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Id=function(e){return e?new RegExp("^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-".concat(e,"[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$")):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/},eg=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tg=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ng=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,rg=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ug=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ag=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Bd=/^[A-Za-z0-9_-]*$/,ig=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,og=/^\+(?:[0-9]){6,14}[0-9]$/,Pd="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",sg=new RegExp("^".concat(Pd,"$"));function jd(e){var t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?"".concat(t):e.precision===0?"".concat(t,":[0-5]\\d"):"".concat(t,":[0-5]\\d\\.\\d{").concat(e.precision,"}"):"".concat(t,"(?::[0-5]\\d(?:\\.\\d+)?)?")}var cg=/^-?\d+$/,lg=/^-?\d+(?:\.\d+)?/,fg=/^(?:true|false)$/i,dg=/^null$/i,pg=/^[^A-Z]*$/,hg=/^[^a-z]*$/,Ht=X("$ZodCheck",function(e,t){var n,r,u;(n=e._zod)!==null&&n!==void 0||(e._zod={}),e._zod.def=t,(r=(u=e._zod).onattach)!==null&&r!==void 0||(u.onattach=[])}),Nd={number:"number",bigint:"bigint",object:"date"},Rd=X("$ZodCheckLessThan",function(e,t){Ht.init(e,t);var n=Nd[qt(t.value)];e._zod.onattach.push(function(r){var u,a=r._zod.bag,i=(u=t.inclusive?a.maximum:a.exclusiveMaximum)!==null&&u!==void 0?u:Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?a.maximum=t.value:a.exclusiveMaximum=t.value)}),e._zod.check=function(r){(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),zd=X("$ZodCheckGreaterThan",function(e,t){Ht.init(e,t);var n=Nd[qt(t.value)];e._zod.onattach.push(function(r){var u,a=r._zod.bag,i=(u=t.inclusive?a.minimum:a.exclusiveMinimum)!==null&&u!==void 0?u:Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?a.minimum=t.value:a.exclusiveMinimum=t.value)}),e._zod.check=function(r){(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),vg=X("$ZodCheckMultipleOf",function(e,t){Ht.init(e,t),e._zod.onattach.push(function(n){var r,u;(r=(u=n._zod.bag).multipleOf)!==null&&r!==void 0||(u.multipleOf=t.value)}),e._zod.check=function(n){if(qt(n.value)!==qt(t.value))throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):(function(r,u){var a=(r.toString().split(".")[1]||"").length,i=u.toString(),o=(i.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(i)){var c=i.match(/\d?e-(\d?)/);c!=null&&c[1]&&(o=Number.parseInt(c[1]))}var l=a>o?a:o;return Number.parseInt(r.toFixed(l).replace(".",""))%Number.parseInt(u.toFixed(l).replace(".",""))/Math.pow(10,l)})(n.value,t.value)===0)||n.issues.push({origin:qt(n.value),code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),mg=X("$ZodCheckNumberFormat",function(e,t){var n;Ht.init(e,t),t.format=t.format||"float64";var r=(n=t.format)===null||n===void 0?void 0:n.includes("int"),u=r?"int":"number",a=ct(qm[t.format],2),i=a[0],o=a[1];e._zod.onattach.push(function(c){var l=c._zod.bag;l.format=t.format,l.minimum=i,l.maximum=o,r&&(l.pattern=cg)}),e._zod.check=function(c){var l=c.value;if(r){if(!Number.isInteger(l))return void c.issues.push({expected:u,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});if(!Number.isSafeInteger(l))return void(l>0?c.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!t.abort}):c.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:u,continue:!t.abort}))}l<i&&c.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),l>o&&c.issues.push({origin:"number",input:l,code:"too_big",maximum:o,inst:e})}}),gg=X("$ZodCheckMaxSize",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.size!==void 0}),e._zod.onattach.push(function(u){var a,i=(a=u._zod.bag.maximum)!==null&&a!==void 0?a:Number.POSITIVE_INFINITY;t.maximum<i&&(u._zod.bag.maximum=t.maximum)}),e._zod.check=function(u){var a=u.value;a.size<=t.maximum||u.issues.push({origin:ks(a),code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),yg=X("$ZodCheckMinSize",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.size!==void 0}),e._zod.onattach.push(function(u){var a,i=(a=u._zod.bag.minimum)!==null&&a!==void 0?a:Number.NEGATIVE_INFINITY;t.minimum>i&&(u._zod.bag.minimum=t.minimum)}),e._zod.check=function(u){var a=u.value;a.size>=t.minimum||u.issues.push({origin:ks(a),code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),Dg=X("$ZodCheckSizeEquals",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.size!==void 0}),e._zod.onattach.push(function(u){var a=u._zod.bag;a.minimum=t.size,a.maximum=t.size,a.size=t.size}),e._zod.check=function(u){var a=u.value,i=a.size;if(i!==t.size){var o=i>t.size;u.issues.push(C(C({origin:ks(a)},o?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size}),{},{inclusive:!0,exact:!0,input:u.value,inst:e,continue:!t.abort}))}}}),bg=X("$ZodCheckMaxLength",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.length!==void 0}),e._zod.onattach.push(function(u){var a,i=(a=u._zod.bag.maximum)!==null&&a!==void 0?a:Number.POSITIVE_INFINITY;t.maximum<i&&(u._zod.bag.maximum=t.maximum)}),e._zod.check=function(u){var a=u.value;if(!(a.length<=t.maximum)){var i=ws(a);u.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}}),Ag=X("$ZodCheckMinLength",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.length!==void 0}),e._zod.onattach.push(function(u){var a,i=(a=u._zod.bag.minimum)!==null&&a!==void 0?a:Number.NEGATIVE_INFINITY;t.minimum>i&&(u._zod.bag.minimum=t.minimum)}),e._zod.check=function(u){var a=u.value;if(!(a.length>=t.minimum)){var i=ws(a);u.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}}),Eg=X("$ZodCheckLengthEquals",function(e,t){var n,r;Ht.init(e,t),(n=(r=e._zod.def).when)!==null&&n!==void 0||(r.when=function(u){var a=u.value;return!Ru(a)&&a.length!==void 0}),e._zod.onattach.push(function(u){var a=u._zod.bag;a.minimum=t.length,a.maximum=t.length,a.length=t.length}),e._zod.check=function(u){var a=u.value,i=a.length;if(i!==t.length){var o=ws(a),c=i>t.length;u.issues.push(C(C({origin:o},c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length}),{},{inclusive:!0,exact:!0,input:u.value,inst:e,continue:!t.abort}))}}}),Hi=X("$ZodCheckStringFormat",function(e,t){var n,r,u,a;Ht.init(e,t),e._zod.onattach.push(function(i){var o,c=i._zod.bag;c.format=t.format,t.pattern&&((o=c.patterns)!==null&&o!==void 0||(c.patterns=new Set),c.patterns.add(t.pattern))}),t.pattern?(n=(u=e._zod).check)!==null&&n!==void 0||(u.check=function(i){t.pattern.lastIndex=0,t.pattern.test(i.value)||i.issues.push(C(C({origin:"string",code:"invalid_format",format:t.format,input:i.value},t.pattern?{pattern:t.pattern.toString()}:{}),{},{inst:e,continue:!t.abort}))}):(r=(a=e._zod).check)!==null&&r!==void 0||(a.check=function(){})}),Fg=X("$ZodCheckRegex",function(e,t){Hi.init(e,t),e._zod.check=function(n){t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),_g=X("$ZodCheckLowerCase",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=pg),Hi.init(e,t)}),Cg=X("$ZodCheckUpperCase",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=hg),Hi.init(e,t)}),kg=X("$ZodCheckIncludes",function(e,t){Ht.init(e,t);var n=Lu(t.includes),r=new RegExp(typeof t.position=="number"?"^.{".concat(t.position,"}").concat(n):n);t.pattern=r,e._zod.onattach.push(function(u){var a,i=u._zod.bag;(a=i.patterns)!==null&&a!==void 0||(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=function(u){u.value.includes(t.includes,t.position)||u.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:u.value,inst:e,continue:!t.abort})}}),wg=X("$ZodCheckStartsWith",function(e,t){var n;Ht.init(e,t);var r=new RegExp("^".concat(Lu(t.prefix),".*"));(n=t.pattern)!==null&&n!==void 0||(t.pattern=r),e._zod.onattach.push(function(u){var a,i=u._zod.bag;(a=i.patterns)!==null&&a!==void 0||(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=function(u){u.value.startsWith(t.prefix)||u.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:u.value,inst:e,continue:!t.abort})}}),xg=X("$ZodCheckEndsWith",function(e,t){var n;Ht.init(e,t);var r=new RegExp(".*".concat(Lu(t.suffix),"$"));(n=t.pattern)!==null&&n!==void 0||(t.pattern=r),e._zod.onattach.push(function(u){var a,i=u._zod.bag;(a=i.patterns)!==null&&a!==void 0||(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=function(u){u.value.endsWith(t.suffix)||u.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:u.value,inst:e,continue:!t.abort})}});function Ld(e,t,n){var r;e.issues.length&&(r=t.issues).push.apply(r,De(hu(n,e.issues)))}var Sg=X("$ZodCheckProperty",function(e,t){Ht.init(e,t),e._zod.check=function(n){var r=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(r instanceof Promise)return r.then(function(u){return Ld(u,n,t.property)});Ld(r,n,t.property)}}),Tg=X("$ZodCheckMimeType",function(e,t){Ht.init(e,t);var n=new Set(t.mime);e._zod.onattach.push(function(r){r._zod.bag.mime=t.mime}),e._zod.check=function(r){n.has(r.value.type)||r.issues.push({code:"invalid_value",values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),Og=X("$ZodCheckOverwrite",function(e,t){Ht.init(e,t),e._zod.check=function(n){n.value=t.tx(n.value)}}),Ig=Be(function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ie(this,e),this.content=[],this.indent=0,this&&(this.args=t)},[{key:"indented",value:function(e){this.indent+=1,e(this),this.indent-=1}},{key:"write",value:function(e){var t=this;if(typeof e=="function")return e(this,{execution:"sync"}),void e(this,{execution:"async"});var n,r=e.split(`
|
|
96
|
+
`).filter(function(c){return c}),u=Math.min.apply(Math,De(r.map(function(c){return c.length-c.trimStart().length}))),a=r.map(function(c){return c.slice(u)}).map(function(c){return" ".repeat(2*t.indent)+c}),i=me(a);try{for(i.s();!(n=i.n()).done;){var o=n.value;this.content.push(o)}}catch(c){i.e(c)}finally{i.f()}}},{key:"compile",value:function(){var e,t=Function,n=this==null?void 0:this.args,r=De(((e=this==null?void 0:this.content)!==null&&e!==void 0?e:[""]).map(function(u){return" ".concat(u)}));return Vl(t,De(n).concat([r.join(`
|
|
97
|
+
`)]))}}]),Bg={major:4,minor:1,patch:12},Ft=X("$ZodType",function(e,t){var n,r;e!=null||(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Bg;var u=De((n=e._zod.def.checks)!==null&&n!==void 0?n:[]);e._zod.traits.has("$ZodCheck")&&u.unshift(e);var a,i=me(u);try{for(i.s();!(a=i.n()).done;){var o,c=me(a.value._zod.onattach);try{for(c.s();!(o=c.n()).done;)(0,o.value)(e)}catch(y){c.e(y)}finally{c.f()}}}catch(y){i.e(y)}finally{i.f()}if(u.length===0){var l,h;(l=(r=e._zod).deferred)!==null&&l!==void 0||(r.deferred=[]),(h=e._zod.deferred)===null||h===void 0||h.push(function(){e._zod.run=e._zod.parse})}else{var p=function(y,F,D){var _,T,w=Mu(y),S=me(F);try{var x=function(){var O=T.value;if(O._zod.def.when){if(!O._zod.def.when(y))return 0}else if(w)return 0;var I=y.issues.length,B=O._zod.check(y);if(B instanceof Promise&&(D==null?void 0:D.async)===!1)throw new Nu;if(_||B instanceof Promise)_=(_!=null?_:Promise.resolve()).then(Xe(be().m(function d(){return be().w(function(q){for(;;)switch(q.n){case 0:return q.n=1,B;case 1:if(y.issues.length!==I){q.n=2;break}return q.a(2);case 2:w||(w=Mu(y,I));case 3:return q.a(2)}},d)})));else{if(y.issues.length===I)return 0;w||(w=Mu(y,I))}};for(S.s();!(T=S.n()).done;)x()}catch(O){S.e(O)}finally{S.f()}return _?_.then(function(){return y}):y},g=function(y,F,D){if(Mu(y))return y.aborted=!0,y;var _=p(F,u,D);if(_ instanceof Promise){if(D.async===!1)throw new Nu;return _.then(function(T){return e._zod.parse(T,D)})}return e._zod.parse(_,D)};e._zod.run=function(y,F){if(F.skipChecks)return e._zod.parse(y,F);if(F.direction==="backward"){var D=e._zod.parse({value:y.value,issues:[]},C(C({},F),{},{skipChecks:!0}));return D instanceof Promise?D.then(function(T){return g(T,y,F)}):g(D,y,F)}var _=e._zod.parse(y,F);if(_ instanceof Promise){if(F.async===!1)throw new Nu;return _.then(function(T){return p(T,u,F)})}return p(_,u,F)}}e["~standard"]={validate:function(y){try{var F,D=Hm(e,y);return D.success?{value:D.data}:{issues:(F=D.error)===null||F===void 0?void 0:F.issues}}catch(_){return Um(e,y).then(function(T){var w;return T.success?{value:T.data}:{issues:(w=T.error)===null||w===void 0?void 0:w.issues}})}},vendor:"zod",version:1}}),Ts=X("$ZodString",function(e,t){var n,r,u;Ft.init(e,t),e._zod.pattern=(n=De((r=e==null||(u=e._zod.bag)===null||u===void 0?void 0:u.patterns)!==null&&r!==void 0?r:[]).pop())!==null&&n!==void 0?n:(function(a){var i,o,c=a?"[\\s\\S]{".concat((i=a==null?void 0:a.minimum)!==null&&i!==void 0?i:0,",").concat((o=a==null?void 0:a.maximum)!==null&&o!==void 0?o:"","}"):"[\\s\\S]*";return new RegExp("^".concat(c,"$"))})(e._zod.bag),e._zod.parse=function(a,i){if(t.coerce)try{a.value=String(a.value)}catch(o){}return typeof a.value=="string"||a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),kt=X("$ZodStringFormat",function(e,t){Hi.init(e,t),Ts.init(e,t)}),Pg=X("$ZodGUID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Xm),kt.init(e,t)}),jg=X("$ZodUUID",function(e,t){var n;if(t.version){var r,u={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(u===void 0)throw new Error('Invalid UUID version: "'.concat(t.version,'"'));(r=t.pattern)!==null&&r!==void 0||(t.pattern=Id(u))}else(n=t.pattern)!==null&&n!==void 0||(t.pattern=Id());kt.init(e,t)}),Ng=X("$ZodEmail",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=eg),kt.init(e,t)}),Rg=X("$ZodURL",function(e,t){kt.init(e,t),e._zod.check=function(n){try{var r=n.value.trim(),u=new URL(r);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(u.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:ig.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(u.protocol.endsWith(":")?u.protocol.slice(0,-1):u.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),void(t.normalize?n.value=u.href:n.value=r)}catch(a){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),zg=X("$ZodEmoji",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),kt.init(e,t)}),Lg=X("$ZodNanoID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Qm),kt.init(e,t)}),Mg=X("$ZodCUID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Vm),kt.init(e,t)}),$g=X("$ZodCUID2",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Wm),kt.init(e,t)}),Zg=X("$ZodULID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Gm),kt.init(e,t)}),qg=X("$ZodXID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Jm),kt.init(e,t)}),Hg=X("$ZodKSUID",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Km),kt.init(e,t)}),Ug=X("$ZodISODateTime",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=(function(r){var u=jd({precision:r.precision}),a=["Z"];r.local&&a.push(""),r.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");var i="".concat(u,"(?:").concat(a.join("|"),")");return new RegExp("^".concat(Pd,"T(?:").concat(i,")$"))})(t)),kt.init(e,t)}),Vg=X("$ZodISODate",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=sg),kt.init(e,t)}),Wg=X("$ZodISOTime",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=new RegExp("^".concat(jd(t),"$"))),kt.init(e,t)}),Gg=X("$ZodISODuration",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Ym),kt.init(e,t)}),Jg=X("$ZodIPv4",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=tg),kt.init(e,t),e._zod.onattach.push(function(r){r._zod.bag.format="ipv4"})}),Kg=X("$ZodIPv6",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=ng),kt.init(e,t),e._zod.onattach.push(function(r){r._zod.bag.format="ipv6"}),e._zod.check=function(r){try{new URL("http://[".concat(r.value,"]"))}catch(u){r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),Qg=X("$ZodCIDRv4",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=rg),kt.init(e,t)}),Yg=X("$ZodCIDRv6",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=ug),kt.init(e,t),e._zod.check=function(r){var u=r.value.split("/");try{if(u.length!==2)throw new Error;var a=ct(u,2),i=a[0],o=a[1];if(!o)throw new Error;var c=Number(o);if("".concat(c)!==o)throw new Error;if(c<0||c>128)throw new Error;new URL("http://[".concat(i,"]"))}catch(l){r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function Md(e){if(e==="")return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch(t){return!1}}var Xg=X("$ZodBase64",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=ag),kt.init(e,t),e._zod.onattach.push(function(r){r._zod.bag.contentEncoding="base64"}),e._zod.check=function(r){Md(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),ey=X("$ZodBase64URL",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=Bd),kt.init(e,t),e._zod.onattach.push(function(r){r._zod.bag.contentEncoding="base64url"}),e._zod.check=function(r){(function(u){if(!Bd.test(u))return!1;var a=u.replace(/[-_]/g,function(i){return i==="-"?"+":"/"});return Md(a.padEnd(4*Math.ceil(a.length/4),"="))})(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),ty=X("$ZodE164",function(e,t){var n;(n=t.pattern)!==null&&n!==void 0||(t.pattern=og),kt.init(e,t)}),ny=X("$ZodJWT",function(e,t){kt.init(e,t),e._zod.check=function(n){(function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;try{var a=r.split(".");if(a.length!==3)return!1;var i=ct(a,1)[0];if(!i)return!1;var o=JSON.parse(atob(i));return!("typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!o.alg||u&&(!("alg"in o)||o.alg!==u))}catch(c){return!1}})(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),$d=X("$ZodNumber",function(e,t){var n;Ft.init(e,t),e._zod.pattern=(n=e._zod.bag.pattern)!==null&&n!==void 0?n:lg,e._zod.parse=function(r,u){if(t.coerce)try{r.value=Number(r.value)}catch(o){}var a=r.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return r;var i=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return r.issues.push(C({expected:"number",code:"invalid_type",input:a,inst:e},i?{received:i}:{})),r}}),ry=X("$ZodNumber",function(e,t){mg.init(e,t),$d.init(e,t)}),uy=X("$ZodBoolean",function(e,t){Ft.init(e,t),e._zod.pattern=fg,e._zod.parse=function(n,r){if(t.coerce)try{n.value=!!n.value}catch(a){}var u=n.value;return typeof u=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:u,inst:e}),n}}),ay=X("$ZodNull",function(e,t){Ft.init(e,t),e._zod.pattern=dg,e._zod.values=new Set([null]),e._zod.parse=function(n,r){var u=n.value;return u===null||n.issues.push({expected:"null",code:"invalid_type",input:u,inst:e}),n}}),iy=X("$ZodUnknown",function(e,t){Ft.init(e,t),e._zod.parse=function(n){return n}}),oy=X("$ZodNever",function(e,t){Ft.init(e,t),e._zod.parse=function(n,r){return n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n}});function Zd(e,t,n){var r;e.issues.length&&(r=t.issues).push.apply(r,De(hu(n,e.issues))),t.value[n]=e.value}var sy=X("$ZodArray",function(e,t){Ft.init(e,t),e._zod.parse=function(n,r){var u=n.value;if(!Array.isArray(u))return n.issues.push({expected:"array",code:"invalid_type",input:u,inst:e}),n;n.value=Array(u.length);for(var a=[],i=function(c){var l=u[c],h=t.element._zod.run({value:l,issues:[]},r);h instanceof Promise?a.push(h.then(function(p){return Zd(p,n,c)})):Zd(h,n,c)},o=0;o<u.length;o++)i(o);return a.length?Promise.all(a).then(function(){return n}):n}});function Ui(e,t,n,r){var u;e.issues.length&&(u=t.issues).push.apply(u,De(hu(n,e.issues))),e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function qd(e){for(var t=Object.keys(e.shape),n=0,r=t;n<r.length;n++){var u,a=r[n];if((u=e.shape)===null||u===void 0||(u=u[a])===null||u===void 0||(u=u._zod)===null||u===void 0||(u=u.traits)===null||u===void 0||!u.has("$ZodType"))throw new Error('Invalid element at key "'.concat(a,'": expected a Zod schema'))}var i,o=(i=e.shape,Object.keys(i).filter(function(c){return i[c]._zod.optin==="optional"&&i[c]._zod.optout==="optional"}));return C(C({},e),{},{keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)})}function Hd(e,t,n,r,u,a){for(var i=[],o=u.keySet,c=u.catchall._zod,l=c.def.type,h=function(){var y=g[p];if(o.has(y))return 0;if(l==="never")return i.push(y),0;var F=c.run({value:t[y],issues:[]},r);F instanceof Promise?e.push(F.then(function(D){return Ui(D,n,y,t)})):Ui(F,n,y,t)},p=0,g=Object.keys(t);p<g.length;p++)h();return i.length&&n.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:a}),e.length?Promise.all(e).then(function(){return n}):n}var cy=X("$ZodObject",function(e,t){Ft.init(e,t);var n=Object.getOwnPropertyDescriptor(t,"shape");if(n==null||!n.get){var r=t.shape;Object.defineProperty(t,"shape",{get:function(){var c=C({},r);return Object.defineProperty(t,"shape",{value:c}),c}})}var u=Mi(function(){return qd(t)});mt(e._zod,"propValues",function(){var c=t.shape,l={};for(var h in c){var p=c[h]._zod;if(p.values){var g;(g=l[h])!==null&&g!==void 0||(l[h]=new Set);var y,F=me(p.values);try{for(F.s();!(y=F.n()).done;){var D=y.value;l[h].add(D)}}catch(_){F.e(_)}finally{F.f()}}}return l});var a,i=Za,o=t.catchall;e._zod.parse=function(c,l){a!=null||(a=u.value);var h=c.value;if(!i(h))return c.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),c;c.value={};var p,g=[],y=a.shape,F=me(a.keys);try{var D=function(){var _=p.value,T=y[_]._zod.run({value:h[_],issues:[]},l);T instanceof Promise?g.push(T.then(function(w){return Ui(w,c,_,h)})):Ui(T,c,_,h)};for(F.s();!(p=F.n()).done;)D()}catch(_){F.e(_)}finally{F.f()}return o?Hd(g,h,c,l,u.value,e):g.length?Promise.all(g).then(function(){return c}):c}}),ly=X("$ZodObjectJIT",function(e,t){cy.init(e,t);var n,r,u=e._zod.parse,a=Mi(function(){return qd(t)}),i=Za,o=!Fd.jitless,c=o&&$m.value,l=t.catchall;e._zod.parse=function(h,p){r!=null||(r=a.value);var g=h.value;return i(g)?o&&c&&(p==null?void 0:p.async)===!1&&p.jitless!==!0?(n||(n=(function(y){var F=new Ig(["shape","payload","ctx"]),D=a.value,_=function(Z){var z=kd(Z);return"shape[".concat(z,"]._zod.run({ value: input[").concat(z,"], issues: [] }, ctx)")};F.write("const input = payload.value;");var T,w=Object.create(null),S=0,x=me(D.keys);try{for(x.s();!(T=x.n()).done;)w[T.value]="key_".concat(S++)}catch(Z){x.e(Z)}finally{x.f()}F.write("const newResult = {};");var O,I=me(D.keys);try{for(I.s();!(O=I.n()).done;){var B=O.value,d=w[B],q=kd(B);F.write("const ".concat(d," = ").concat(_(B),";")),F.write(`
|
|
98
|
+
if (`.concat(d,`.issues.length) {
|
|
99
|
+
payload.issues = payload.issues.concat(`).concat(d,`.issues.map(iss => ({
|
|
100
|
+
...iss,
|
|
101
|
+
path: iss.path ? [`).concat(q,", ...iss.path] : [").concat(q,`]
|
|
102
|
+
})));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
if (`).concat(d,`.value === undefined) {
|
|
107
|
+
if (`).concat(q,` in input) {
|
|
108
|
+
newResult[`).concat(q,`] = undefined;
|
|
109
|
+
}
|
|
110
|
+
} else {
|
|
111
|
+
newResult[`).concat(q,"] = ").concat(d,`.value;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
`))}}catch(Z){I.e(Z)}finally{I.f()}F.write("payload.value = newResult;"),F.write("return payload;");var N=F.compile();return function(Z,z){return N(y,Z,z)}})(t.shape)),h=n(h,p),l?Hd([],g,h,p,r,e):h):u(h,p):(h.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),h)}});function Ud(e,t,n,r){var u,a=me(e);try{for(a.s();!(u=a.n()).done;){var i=u.value;if(i.issues.length===0)return t.value=i.value,t}}catch(c){a.e(c)}finally{a.f()}var o=e.filter(function(c){return!Mu(c)});return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(function(c){return c.issues.map(function(l){return Nr(l,r,Pr())})})}),t)}var Vd=X("$ZodUnion",function(e,t){Ft.init(e,t),mt(e._zod,"optin",function(){return t.options.some(function(u){return u._zod.optin==="optional"})?"optional":void 0}),mt(e._zod,"optout",function(){return t.options.some(function(u){return u._zod.optout==="optional"})?"optional":void 0}),mt(e._zod,"values",function(){if(t.options.every(function(u){return u._zod.values}))return new Set(t.options.flatMap(function(u){return Array.from(u._zod.values)}))}),mt(e._zod,"pattern",function(){if(t.options.every(function(a){return a._zod.pattern})){var u=t.options.map(function(a){return a._zod.pattern});return new RegExp("^(".concat(u.map(function(a){return Cs(a.source)}).join("|"),")$"))}});var n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=function(u,a){if(n)return r(u,a);var i,o=!1,c=[],l=me(t.options);try{for(l.s();!(i=l.n()).done;){var h=i.value._zod.run({value:u.value,issues:[]},a);if(h instanceof Promise)c.push(h),o=!0;else{if(h.issues.length===0)return h;c.push(h)}}}catch(p){l.e(p)}finally{l.f()}return o?Promise.all(c).then(function(p){return Ud(p,u,e,a)}):Ud(c,u,e,a)}}),fy=X("$ZodDiscriminatedUnion",function(e,t){Vd.init(e,t);var n=e._zod.parse;mt(e._zod,"propValues",function(){var u,a={},i=me(t.options);try{for(i.s();!(u=i.n()).done;){var o=u.value,c=o._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error('Invalid discriminated union option at index "'.concat(t.options.indexOf(o),'"'));for(var l=0,h=Object.entries(c);l<h.length;l++){var p=ct(h[l],2),g=p[0],y=p[1];a[g]||(a[g]=new Set);var F,D=me(y);try{for(D.s();!(F=D.n()).done;){var _=F.value;a[g].add(_)}}catch(T){D.e(T)}finally{D.f()}}}}catch(T){i.e(T)}finally{i.f()}return a});var r=Mi(function(){var u,a=t.options,i=new Map,o=me(a);try{for(o.s();!(u=o.n()).done;){var c,l=u.value,h=(c=l._zod.propValues)===null||c===void 0?void 0:c[t.discriminator];if(!h||h.size===0)throw new Error('Invalid discriminated union option at index "'.concat(t.options.indexOf(l),'"'));var p,g=me(h);try{for(g.s();!(p=g.n()).done;){var y=p.value;if(i.has(y))throw new Error('Duplicate discriminator value "'.concat(String(y),'"'));i.set(y,l)}}catch(F){g.e(F)}finally{g.f()}}}catch(F){o.e(F)}finally{o.f()}return i});e._zod.parse=function(u,a){var i=u.value;if(!Za(i))return u.issues.push({code:"invalid_type",expected:"object",input:i,inst:e}),u;var o=r.value.get(i==null?void 0:i[t.discriminator]);return o?o._zod.run(u,a):t.unionFallback?n(u,a):(u.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:i,path:[t.discriminator],inst:e}),u)}}),dy=X("$ZodIntersection",function(e,t){Ft.init(e,t),e._zod.parse=function(n,r){var u=n.value,a=t.left._zod.run({value:u,issues:[]},r),i=t.right._zod.run({value:u,issues:[]},r);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then(function(o){var c=ct(o,2),l=c[0],h=c[1];return Wd(n,l,h)}):Wd(n,a,i)}});function Os(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(zu(e)&&zu(t)){var n,r=Object.keys(t),u=Object.keys(e).filter(function(g){return r.indexOf(g)!==-1}),a=C(C({},e),t),i=me(u);try{for(i.s();!(n=i.n()).done;){var o=n.value,c=Os(e[o],t[o]);if(!c.valid)return{valid:!1,mergeErrorPath:[o].concat(De(c.mergeErrorPath))};a[o]=c.data}}catch(g){i.e(g)}finally{i.f()}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};for(var l=[],h=0;h<e.length;h++){var p=Os(e[h],t[h]);if(!p.valid)return{valid:!1,mergeErrorPath:[h].concat(De(p.mergeErrorPath))};l.push(p.data)}return{valid:!0,data:l}}return{valid:!1,mergeErrorPath:[]}}function Wd(e,t,n){var r,u;if(t.issues.length&&(r=e.issues).push.apply(r,De(t.issues)),n.issues.length&&(u=e.issues).push.apply(u,De(n.issues)),Mu(e))return e;var a=Os(t.value,n.value);if(!a.valid)throw new Error("Unmergable intersection. Error path: "+"".concat(JSON.stringify(a.mergeErrorPath)));return e.value=a.data,e}var py=X("$ZodRecord",function(e,t){Ft.init(e,t),e._zod.parse=function(n,r){var u=n.value;if(!zu(u))return n.issues.push({expected:"record",code:"invalid_type",input:u,inst:e}),n;var a=[];if(t.keyType._zod.values){var i=t.keyType._zod.values;n.value={};var o,c,l=me(i);try{var h=function(){var D=o.value;if(typeof D=="string"||typeof D=="number"||qt(D)==="symbol"){var _,T=t.valueType._zod.run({value:u[D],issues:[]},r);T instanceof Promise?a.push(T.then(function(w){var S;w.issues.length&&(S=n.issues).push.apply(S,De(hu(D,w.issues))),n.value[D]=w.value})):(T.issues.length&&(_=n.issues).push.apply(_,De(hu(D,T.issues))),n.value[D]=T.value)}};for(l.s();!(o=l.n()).done;)h()}catch(D){l.e(D)}finally{l.f()}for(var p in u)i.has(p)||(c=c!=null?c:[]).push(p);c&&c.length>0&&n.issues.push({code:"unrecognized_keys",input:u,inst:e,keys:c})}else{n.value={};var g,y=me(Reflect.ownKeys(u));try{var F=function(){var D=g.value;if(D==="__proto__")return 0;var _=t.keyType._zod.run({value:D,issues:[]},r);if(_ instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(_.issues.length)return n.issues.push({code:"invalid_key",origin:"record",issues:_.issues.map(function(S){return Nr(S,r,Pr())}),input:D,path:[D],inst:e}),n.value[_.value]=_.value,0;var T,w=t.valueType._zod.run({value:u[D],issues:[]},r);w instanceof Promise?a.push(w.then(function(S){var x;S.issues.length&&(x=n.issues).push.apply(x,De(hu(D,S.issues))),n.value[_.value]=S.value})):(w.issues.length&&(T=n.issues).push.apply(T,De(hu(D,w.issues))),n.value[_.value]=w.value)};for(y.s();!(g=y.n()).done;)F()}catch(D){y.e(D)}finally{y.f()}}return a.length?Promise.all(a).then(function(){return n}):n}}),hy=X("$ZodEnum",function(e,t){Ft.init(e,t);var n=_d(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp("^(".concat(n.filter(function(u){return Zm.has(qt(u))}).map(function(u){return typeof u=="string"?Lu(u):u.toString()}).join("|"),")$")),e._zod.parse=function(u,a){var i=u.value;return r.has(i)||u.issues.push({code:"invalid_value",values:n,input:i,inst:e}),u}}),vy=X("$ZodLiteral",function(e,t){if(Ft.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");e._zod.values=new Set(t.values),e._zod.pattern=new RegExp("^(".concat(t.values.map(function(n){return typeof n=="string"?Lu(n):n?Lu(n.toString()):String(n)}).join("|"),")$")),e._zod.parse=function(n,r){var u=n.value;return e._zod.values.has(u)||n.issues.push({code:"invalid_value",values:t.values,input:u,inst:e}),n}}),my=X("$ZodTransform",function(e,t){Ft.init(e,t),e._zod.parse=function(n,r){if(r.direction==="backward")throw new Ed(e.constructor.name);var u=t.transform(n.value,n);if(r.async)return(u instanceof Promise?u:Promise.resolve(u)).then(function(a){return n.value=a,n});if(u instanceof Promise)throw new Nu;return n.value=u,n}});function Gd(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var gy=X("$ZodOptional",function(e,t){Ft.init(e,t),e._zod.optin="optional",e._zod.optout="optional",mt(e._zod,"values",function(){return t.innerType._zod.values?new Set([].concat(De(t.innerType._zod.values),[void 0])):void 0}),mt(e._zod,"pattern",function(){var n=t.innerType._zod.pattern;return n?new RegExp("^(".concat(Cs(n.source),")?$")):void 0}),e._zod.parse=function(n,r){if(t.innerType._zod.optin==="optional"){var u=t.innerType._zod.run(n,r);return u instanceof Promise?u.then(function(a){return Gd(a,n.value)}):Gd(u,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),yy=X("$ZodNullable",function(e,t){Ft.init(e,t),mt(e._zod,"optin",function(){return t.innerType._zod.optin}),mt(e._zod,"optout",function(){return t.innerType._zod.optout}),mt(e._zod,"pattern",function(){var n=t.innerType._zod.pattern;return n?new RegExp("^(".concat(Cs(n.source),"|null)$")):void 0}),mt(e._zod,"values",function(){return t.innerType._zod.values?new Set([].concat(De(t.innerType._zod.values),[null])):void 0}),e._zod.parse=function(n,r){return n.value===null?n:t.innerType._zod.run(n,r)}}),Dy=X("$ZodDefault",function(e,t){Ft.init(e,t),e._zod.optin="optional",mt(e._zod,"values",function(){return t.innerType._zod.values}),e._zod.parse=function(n,r){if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;var u=t.innerType._zod.run(n,r);return u instanceof Promise?u.then(function(a){return Jd(a,t)}):Jd(u,t)}});function Jd(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var by=X("$ZodPrefault",function(e,t){Ft.init(e,t),e._zod.optin="optional",mt(e._zod,"values",function(){return t.innerType._zod.values}),e._zod.parse=function(n,r){return r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r)}}),Ay=X("$ZodNonOptional",function(e,t){Ft.init(e,t),mt(e._zod,"values",function(){var n=t.innerType._zod.values;return n?new Set(De(n).filter(function(r){return r!==void 0})):void 0}),e._zod.parse=function(n,r){var u=t.innerType._zod.run(n,r);return u instanceof Promise?u.then(function(a){return Kd(a,e)}):Kd(u,e)}});function Kd(e,t){return e.issues.length||e.value!==void 0||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Ey=X("$ZodCatch",function(e,t){Ft.init(e,t),mt(e._zod,"optin",function(){return t.innerType._zod.optin}),mt(e._zod,"optout",function(){return t.innerType._zod.optout}),mt(e._zod,"values",function(){return t.innerType._zod.values}),e._zod.parse=function(n,r){if(r.direction==="backward")return t.innerType._zod.run(n,r);var u=t.innerType._zod.run(n,r);return u instanceof Promise?u.then(function(a){return n.value=a.value,a.issues.length&&(n.value=t.catchValue(C(C({},n),{},{error:{issues:a.issues.map(function(i){return Nr(i,r,Pr())})},input:n.value})),n.issues=[]),n}):(n.value=u.value,u.issues.length&&(n.value=t.catchValue(C(C({},n),{},{error:{issues:u.issues.map(function(a){return Nr(a,r,Pr())})},input:n.value})),n.issues=[]),n)}}),Fy=X("$ZodPipe",function(e,t){Ft.init(e,t),mt(e._zod,"values",function(){return t.in._zod.values}),mt(e._zod,"optin",function(){return t.in._zod.optin}),mt(e._zod,"optout",function(){return t.out._zod.optout}),mt(e._zod,"propValues",function(){return t.in._zod.propValues}),e._zod.parse=function(n,r){if(r.direction==="backward"){var u=t.out._zod.run(n,r);return u instanceof Promise?u.then(function(i){return Vi(i,t.in,r)}):Vi(u,t.in,r)}var a=t.in._zod.run(n,r);return a instanceof Promise?a.then(function(i){return Vi(i,t.out,r)}):Vi(a,t.out,r)}});function Vi(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var _y=X("$ZodReadonly",function(e,t){Ft.init(e,t),mt(e._zod,"propValues",function(){return t.innerType._zod.propValues}),mt(e._zod,"values",function(){return t.innerType._zod.values}),mt(e._zod,"optin",function(){return t.innerType._zod.optin}),mt(e._zod,"optout",function(){return t.innerType._zod.optout}),e._zod.parse=function(n,r){if(r.direction==="backward")return t.innerType._zod.run(n,r);var u=t.innerType._zod.run(n,r);return u instanceof Promise?u.then(Qd):Qd(u)}});function Qd(e){return e.value=Object.freeze(e.value),e}var Cy=X("$ZodLazy",function(e,t){Ft.init(e,t),mt(e._zod,"innerType",function(){return t.getter()}),mt(e._zod,"pattern",function(){return e._zod.innerType._zod.pattern}),mt(e._zod,"propValues",function(){return e._zod.innerType._zod.propValues}),mt(e._zod,"optin",function(){var n;return(n=e._zod.innerType._zod.optin)!==null&&n!==void 0?n:void 0}),mt(e._zod,"optout",function(){var n;return(n=e._zod.innerType._zod.optout)!==null&&n!==void 0?n:void 0}),e._zod.parse=function(n,r){return e._zod.innerType._zod.run(n,r)}}),ky=X("$ZodCustom",function(e,t){Ht.init(e,t),Ft.init(e,t),e._zod.parse=function(n,r){return n},e._zod.check=function(n){var r=n.value,u=t.fn(r);if(u instanceof Promise)return u.then(function(a){return Yd(a,n,r,e)});Yd(u,n,r,e)}});function Yd(e,t,n,r){if(!e){var u,a={code:"custom",input:n,inst:r,path:De((u=r._zod.def.path)!==null&&u!==void 0?u:[]),continue:!r._zod.def.abort};r._zod.def.params&&(a.params=r._zod.def.params),t.issues.push(qa(a))}}var Xd=Be(function e(){Ie(this,e),this._map=new WeakMap,this._idmap=new Map},[{key:"add",value:function(e){var t=arguments.length<=1?void 0:arguments[1];if(this._map.set(e,t),t&&qt(t)==="object"&&"id"in t){if(this._idmap.has(t.id))throw new Error("ID ".concat(t.id," already exists in the registry"));this._idmap.set(t.id,e)}return this}},{key:"clear",value:function(){return this._map=new WeakMap,this._idmap=new Map,this}},{key:"remove",value:function(e){var t=this._map.get(e);return t&&qt(t)==="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}},{key:"get",value:function(e){var t=e._zod.parent;if(t){var n,r=C({},(n=this.get(t))!==null&&n!==void 0?n:{});delete r.id;var u=C(C({},r),this._map.get(e));return Object.keys(u).length?u:void 0}return this._map.get(e)}},{key:"has",value:function(e){return this._map.has(e)}}]),Ha=new Xd;function ep(e,t){return new e(C({type:"string",format:"guid",check:"string_format",abort:!1},xe(t)))}function Wi(e,t){return new Rd(C(C({check:"less_than"},xe(t)),{},{value:e,inclusive:!1}))}function Ua(e,t){return new Rd(C(C({check:"less_than"},xe(t)),{},{value:e,inclusive:!0}))}function Gi(e,t){return new zd(C(C({check:"greater_than"},xe(t)),{},{value:e,inclusive:!1}))}function Va(e,t){return new zd(C(C({check:"greater_than"},xe(t)),{},{value:e,inclusive:!0}))}function Is(e,t){return new vg(C(C({check:"multiple_of"},xe(t)),{},{value:e}))}function Bs(e,t){return new bg(C(C({check:"max_length"},xe(t)),{},{maximum:e}))}function Wa(e,t){return new Ag(C(C({check:"min_length"},xe(t)),{},{minimum:e}))}function Ps(e,t){return new Eg(C(C({check:"length_equals"},xe(t)),{},{length:e}))}function tp(e,t){return new Fg(C(C({check:"string_format",format:"regex"},xe(t)),{},{pattern:e}))}function np(e){return new _g(C({check:"string_format",format:"lowercase"},xe(e)))}function rp(e){return new Cg(C({check:"string_format",format:"uppercase"},xe(e)))}function up(e,t){return new kg(C(C({check:"string_format",format:"includes"},xe(t)),{},{includes:e}))}function ap(e,t){return new wg(C(C({check:"string_format",format:"starts_with"},xe(t)),{},{prefix:e}))}function ip(e,t){return new xg(C(C({check:"string_format",format:"ends_with"},xe(t)),{},{suffix:e}))}function $u(e){return new Og({check:"overwrite",tx:e})}function op(e){return $u(function(t){return t.normalize(e)})}function sp(){return $u(function(e){return e.trim()})}function cp(){return $u(function(e){return e.toLowerCase()})}function lp(){return $u(function(e){return e.toUpperCase()})}var fp=Be(function e(t){var n,r,u,a,i;Ie(this,e),this.counter=0,this.metadataRegistry=(n=t==null?void 0:t.metadata)!==null&&n!==void 0?n:Ha,this.target=(r=t==null?void 0:t.target)!==null&&r!==void 0?r:"draft-2020-12",this.unrepresentable=(u=t==null?void 0:t.unrepresentable)!==null&&u!==void 0?u:"throw",this.override=(a=t==null?void 0:t.override)!==null&&a!==void 0?a:function(){},this.io=(i=t==null?void 0:t.io)!==null&&i!==void 0?i:"output",this.seen=new Map},[{key:"process",value:function(e){var t,n,r,u,a=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:[],schemaPath:[]},o=e._zod.def,c=this.seen.get(e);if(c)return c.count++,i.schemaPath.includes(e)&&(c.cycle=i.path),c.schema;var l={schema:{},count:1,cycle:void 0,path:i.path};this.seen.set(e,l);var h=(t=(n=e._zod).toJSONSchema)===null||t===void 0?void 0:t.call(n);if(h)l.schema=h;else{var p=C(C({},i),{},{schemaPath:[].concat(De(i.schemaPath),[e]),path:i.path}),g=e._zod.parent;if(g)l.ref=g,this.process(g,p),this.seen.get(g).isParent=!0;else{var y=l.schema;switch(o.type){case"string":var F=y;F.type="string";var D,_=e._zod.bag,T=_.minimum,w=_.maximum,S=_.format,x=_.patterns,O=_.contentEncoding;if(typeof T=="number"&&(F.minLength=T),typeof w=="number"&&(F.maxLength=w),S&&(F.format=(D={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""}[S])!==null&&D!==void 0?D:S,F.format===""&&delete F.format),O&&(F.contentEncoding=O),x&&x.size>0){var I=De(x);I.length===1?F.pattern=I[0].source:I.length>1&&(l.schema.allOf=De(I.map(function(Ge){return C(C({},a.target==="draft-7"||a.target==="draft-4"||a.target==="openapi-3.0"?{type:"string"}:{}),{},{pattern:Ge.source})})))}break;case"number":var B=y,d=e._zod.bag,q=d.minimum,N=d.maximum,Z=d.format,z=d.multipleOf,H=d.exclusiveMaximum,L=d.exclusiveMinimum;typeof Z=="string"&&Z.includes("int")?B.type="integer":B.type="number",typeof L=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(B.minimum=L,B.exclusiveMinimum=!0):B.exclusiveMinimum=L),typeof q=="number"&&(B.minimum=q,typeof L=="number"&&this.target!=="draft-4"&&(L>=q?delete B.minimum:delete B.exclusiveMinimum)),typeof H=="number"&&(this.target==="draft-4"||this.target==="openapi-3.0"?(B.maximum=H,B.exclusiveMaximum=!0):B.exclusiveMaximum=H),typeof N=="number"&&(B.maximum=N,typeof H=="number"&&this.target!=="draft-4"&&(H<=N?delete B.maximum:delete B.exclusiveMaximum)),typeof z=="number"&&(B.multipleOf=z);break;case"boolean":case"success":y.type="boolean";break;case"bigint":if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break;case"null":this.target==="openapi-3.0"?(y.type="string",y.nullable=!0,y.enum=[null]):y.type="null";break;case"any":case"unknown":break;case"undefined":if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break;case"void":if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break;case"never":y.not={};break;case"date":if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break;case"array":var K=y,J=e._zod.bag,W=J.minimum,ee=J.maximum;typeof W=="number"&&(K.minItems=W),typeof ee=="number"&&(K.maxItems=ee),K.type="array",K.items=this.process(o.element,C(C({},p),{},{path:[].concat(De(p.path),["items"])}));break;case"object":var ue,ye=y;ye.type="object",ye.properties={};var oe=o.shape;for(var ae in oe)ye.properties[ae]=this.process(oe[ae],C(C({},p),{},{path:[].concat(De(p.path),["properties",ae])}));var Y=new Set(Object.keys(oe)),ie=new Set(De(Y).filter(function(Ge){var Lt=o.shape[Ge]._zod;return a.io==="input"?Lt.optin===void 0:Lt.optout===void 0}));ie.size>0&&(ye.required=Array.from(ie)),((ue=o.catchall)===null||ue===void 0?void 0:ue._zod.def.type)==="never"?ye.additionalProperties=!1:o.catchall?o.catchall&&(ye.additionalProperties=this.process(o.catchall,C(C({},p),{},{path:[].concat(De(p.path),["additionalProperties"])}))):this.io==="output"&&(ye.additionalProperties=!1);break;case"union":var re=y,de=o.options.map(function(Ge,Lt){return a.process(Ge,C(C({},p),{},{path:[].concat(De(p.path),["anyOf",Lt])}))});re.anyOf=de;break;case"intersection":var pe=y,ve=this.process(o.left,C(C({},p),{},{path:[].concat(De(p.path),["allOf",0])})),ke=this.process(o.right,C(C({},p),{},{path:[].concat(De(p.path),["allOf",1])})),ze=function(Ge){return"allOf"in Ge&&Object.keys(Ge).length===1},Se=[].concat(De(ze(ve)?ve.allOf:[ve]),De(ze(ke)?ke.allOf:[ke]));pe.allOf=Se;break;case"tuple":var je=y;je.type="array";var Me=this.target==="draft-2020-12"?"prefixItems":"items",ft=this.target==="draft-2020-12"||this.target==="openapi-3.0"?"items":"additionalItems",Bt=o.items.map(function(Ge,Lt){return a.process(Ge,C(C({},p),{},{path:[].concat(De(p.path),[Me,Lt])}))}),Pt=o.rest?this.process(o.rest,C(C({},p),{},{path:[].concat(De(p.path),[ft],De(this.target==="openapi-3.0"?[o.items.length]:[]))})):null;this.target==="draft-2020-12"?(je.prefixItems=Bt,Pt&&(je.items=Pt)):this.target==="openapi-3.0"?(je.items={anyOf:Bt},Pt&&je.items.anyOf.push(Pt),je.minItems=Bt.length,Pt||(je.maxItems=Bt.length)):(je.items=Bt,Pt&&(je.additionalItems=Pt));var sn=e._zod.bag,pn=sn.minimum,Ut=sn.maximum;typeof pn=="number"&&(je.minItems=pn),typeof Ut=="number"&&(je.maxItems=Ut);break;case"record":var zt=y;zt.type="object",this.target!=="draft-7"&&this.target!=="draft-2020-12"||(zt.propertyNames=this.process(o.keyType,C(C({},p),{},{path:[].concat(De(p.path),["propertyNames"])}))),zt.additionalProperties=this.process(o.valueType,C(C({},p),{},{path:[].concat(De(p.path),["additionalProperties"])}));break;case"map":if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break;case"set":if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break;case"enum":var Dn=y,Vt=_d(o.entries);Vt.every(function(Ge){return typeof Ge=="number"})&&(Dn.type="number"),Vt.every(function(Ge){return typeof Ge=="string"})&&(Dn.type="string"),Dn.enum=Vt;break;case"literal":var Yt,xt=y,Wt=[],Ae=me(o.values);try{for(Ae.s();!(Yt=Ae.n()).done;){var St=Yt.value;if(St===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof St=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");Wt.push(Number(St))}else Wt.push(St)}}catch(Ge){Ae.e(Ge)}finally{Ae.f()}if(Wt.length!==0)if(Wt.length===1){var $r=Wt[0];xt.type=$r===null?"null":qt($r),this.target==="draft-4"||this.target==="openapi-3.0"?xt.enum=[$r]:xt.const=$r}else Wt.every(function(Ge){return typeof Ge=="number"})&&(xt.type="number"),Wt.every(function(Ge){return typeof Ge=="string"})&&(xt.type="string"),Wt.every(function(Ge){return typeof Ge=="boolean"})&&(xt.type="string"),Wt.every(function(Ge){return Ge===null})&&(xt.type="null"),xt.enum=Wt;break;case"file":var Zr=y,bn={type:"string",format:"binary",contentEncoding:"binary"},hn=e._zod.bag,yu=hn.minimum,An=hn.maximum,$t=hn.mime;yu!==void 0&&(bn.minLength=yu),An!==void 0&&(bn.maxLength=An),$t?$t.length===1?(bn.contentMediaType=$t[0],Object.assign(Zr,bn)):Zr.anyOf=$t.map(function(Ge){return C(C({},bn),{},{contentMediaType:Ge})}):Object.assign(Zr,bn);break;case"transform":if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break;case"nullable":var En=this.process(o.innerType,p);this.target==="openapi-3.0"?(l.ref=o.innerType,y.nullable=!0):y.anyOf=[En,{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(o.innerType,p),l.ref=o.innerType;break;case"default":this.process(o.innerType,p),l.ref=o.innerType,y.default=JSON.parse(JSON.stringify(o.defaultValue));break;case"prefault":this.process(o.innerType,p),l.ref=o.innerType,this.io==="input"&&(y._prefault=JSON.parse(JSON.stringify(o.defaultValue)));break;case"catch":var vn;this.process(o.innerType,p),l.ref=o.innerType;try{vn=o.catchValue(void 0)}catch(Ge){throw new Error("Dynamic catch values are not supported in JSON Schema")}y.default=vn;break;case"nan":if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break;case"template_literal":var Fr=y,cr=e._zod.pattern;if(!cr)throw new Error("Pattern not found in template literal");Fr.type="string",Fr.pattern=cr.source;break;case"pipe":var qr=this.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;this.process(qr,p),l.ref=qr;break;case"readonly":this.process(o.innerType,p),l.ref=o.innerType,y.readOnly=!0;break;case"lazy":var Hr=e._zod.innerType;this.process(Hr,p),l.ref=Hr;break;case"custom":if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break;case"function":if(this.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")}}}var zn=this.metadataRegistry.get(e);return zn&&Object.assign(l.schema,zn),this.io==="input"&&fn(e)&&(delete l.schema.examples,delete l.schema.default),this.io==="input"&&l.schema._prefault&&((r=(u=l.schema).default)!==null&&r!==void 0||(u.default=l.schema._prefault)),delete l.schema._prefault,this.seen.get(e).schema}},{key:"emit",value:function(e,t){var n,r,u,a,i,o,c=this,l={cycles:(n=t==null?void 0:t.cycles)!==null&&n!==void 0?n:"ref",reused:(r=t==null?void 0:t.reused)!==null&&r!==void 0?r:"inline",external:(u=t==null?void 0:t.external)!==null&&u!==void 0?u:void 0},h=this.seen.get(e);if(!h)throw new Error("Unprocessed schema. This is a bug in Zod.");var p=function(ee){if(!ee[1].schema.$ref){var ue=ee[1],ye=(function(re){var de,pe=c.target==="draft-2020-12"?"$defs":"definitions";if(l.external){var ve,ke,ze,Se,je=(ve=l.external.registry.get(re[0]))===null||ve===void 0?void 0:ve.id,Me=(ke=l.external.uri)!==null&&ke!==void 0?ke:function(sn){return sn};if(je)return{ref:Me(je)};var ft=(ze=(Se=re[1].defId)!==null&&Se!==void 0?Se:re[1].schema.id)!==null&&ze!==void 0?ze:"schema".concat(c.counter++);return re[1].defId=ft,{defId:ft,ref:"".concat(Me("__shared"),"#/").concat(pe,"/").concat(ft)}}if(re[1]===h)return{ref:"#"};var Bt="".concat("#","/").concat(pe,"/"),Pt=(de=re[1].schema.id)!==null&&de!==void 0?de:"__schema".concat(c.counter++);return{defId:Pt,ref:Bt+Pt}})(ee),oe=ye.ref,ae=ye.defId;ue.def=C({},ue.schema),ae&&(ue.defId=ae);var Y=ue.schema;for(var ie in Y)delete Y[ie];Y.$ref=oe}};if(l.cycles==="throw"){var g,y=me(this.seen.entries());try{for(y.s();!(g=y.n()).done;){var F,D=g.value[1];if(D.cycle)throw new Error("Cycle detected: "+"#/".concat((F=D.cycle)===null||F===void 0?void 0:F.join("/"),"/<root>")+'\n\nSet the `cycles` parameter to `"ref"` to resolve cyclical schemas with defs.')}}catch(ee){y.e(ee)}finally{y.f()}}var _,T=me(this.seen.entries());try{for(T.s();!(_=T.n()).done;){var w,S=_.value,x=S[1];if(e!==S[0]){if(l.external){var O,I=(O=l.external.registry.get(S[0]))===null||O===void 0?void 0:O.id;if(e!==S[0]&&I){p(S);continue}}(!((w=this.metadataRegistry.get(S[0]))===null||w===void 0)&&w.id||x.cycle||x.count>1&&l.reused==="ref")&&p(S)}else p(S)}}catch(ee){T.e(ee)}finally{T.f()}var B,d=function(ee,ue){var ye,oe,ae=c.seen.get(ee),Y=(ye=ae.def)!==null&&ye!==void 0?ye:ae.schema,ie=C({},Y);if(ae.ref!==null){var re=ae.ref;if(ae.ref=null,re){d(re,ue);var de,pe=c.seen.get(re).schema;!pe.$ref||ue.target!=="draft-7"&&ue.target!=="draft-4"&&ue.target!=="openapi-3.0"?(Object.assign(Y,pe),Object.assign(Y,ie)):(Y.allOf=(de=Y.allOf)!==null&&de!==void 0?de:[],Y.allOf.push(pe))}ae.isParent||c.override({zodSchema:ee,jsonSchema:Y,path:(oe=ae.path)!==null&&oe!==void 0?oe:[]})}},q=me(De(this.seen.entries()).reverse());try{for(q.s();!(B=q.n()).done;){var N=B.value;d(N[0],{target:this.target})}}catch(ee){q.e(ee)}finally{q.f()}var Z={};if(this.target==="draft-2020-12"?Z.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?Z.$schema="http://json-schema.org/draft-07/schema#":this.target==="draft-4"?Z.$schema="http://json-schema.org/draft-04/schema#":this.target==="openapi-3.0"||console.warn("Invalid target: ".concat(this.target)),(a=l.external)!==null&&a!==void 0&&a.uri){var z,H=(z=l.external.registry.get(e))===null||z===void 0?void 0:z.id;if(!H)throw new Error("Schema is missing an `id` property");Z.$id=l.external.uri(H)}Object.assign(Z,h.def);var L,K=(i=(o=l.external)===null||o===void 0?void 0:o.defs)!==null&&i!==void 0?i:{},J=me(this.seen.entries());try{for(J.s();!(L=J.n()).done;){var W=L.value[1];W.def&&W.defId&&(K[W.defId]=W.def)}}catch(ee){J.e(ee)}finally{J.f()}l.external||Object.keys(K).length>0&&(this.target==="draft-2020-12"?Z.$defs=K:Z.definitions=K);try{return JSON.parse(JSON.stringify(Z))}catch(ee){throw new Error("Error converting schema to JSON.")}}}]);function fn(e,t){var n=t!=null?t:{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);var r=e._zod.def;switch(r.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":case"function":return!1;case"array":return fn(r.element,n);case"object":for(var u in r.shape)if(fn(r.shape[u],n))return!0;return!1;case"union":var a,i=me(r.options);try{for(i.s();!(a=i.n()).done;)if(fn(a.value,n))return!0}catch(l){i.e(l)}finally{i.f()}return!1;case"intersection":return fn(r.left,n)||fn(r.right,n);case"tuple":var o,c=me(r.items);try{for(c.s();!(o=c.n()).done;)if(fn(o.value,n))return!0}catch(l){c.e(l)}finally{c.f()}return!(!r.rest||!fn(r.rest,n));case"record":case"map":return fn(r.keyType,n)||fn(r.valueType,n);case"set":return fn(r.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return fn(r.innerType,n);case"lazy":return fn(r.getter(),n);case"transform":return!0;case"pipe":return fn(r.in,n)||fn(r.out,n)}throw new Error("Unknown schema type: ".concat(r.type))}var br=Object.freeze({__proto__:null,endsWith:ip,gt:Gi,gte:Va,includes:up,length:Ps,lowercase:np,lt:Wi,lte:Ua,maxLength:Bs,maxSize:function(e,t){return new gg(C(C({check:"max_size"},xe(t)),{},{maximum:e}))},mime:function(e,t){return new Tg(C({check:"mime_type",mime:e},xe(t)))},minLength:Wa,minSize:function(e,t){return new yg(C(C({check:"min_size"},xe(t)),{},{minimum:e}))},multipleOf:Is,negative:function(e){return Wi(0,e)},nonnegative:function(e){return Va(0,e)},nonpositive:function(e){return Ua(0,e)},normalize:op,overwrite:$u,positive:function(e){return Gi(0,e)},property:function(e,t,n){return new Sg(C({check:"property",property:e,schema:t},xe(n)))},regex:tp,size:function(e,t){return new Dg(C(C({check:"size_equals"},xe(t)),{},{size:e}))},startsWith:ap,toLowerCase:cp,toUpperCase:lp,trim:sp,uppercase:rp}),wy=X("ZodISODateTime",function(e,t){Ug.init(e,t),Ot.init(e,t)}),xy=X("ZodISODate",function(e,t){Vg.init(e,t),Ot.init(e,t)}),Sy=X("ZodISOTime",function(e,t){Wg.init(e,t),Ot.init(e,t)}),Ty=X("ZodISODuration",function(e,t){Gg.init(e,t),Ot.init(e,t)}),jn=X("ZodError",function(e,t){Td.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:function(n){return(function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(o){return o.message},a={_errors:[]},i=function(o){var c,l=me(o.issues);try{for(l.s();!(c=l.n()).done;){var h=c.value;if(h.code==="invalid_union"&&h.errors.length)h.errors.map(function(F){return i({issues:F})});else if(h.code==="invalid_key")i({issues:h.issues});else if(h.code==="invalid_element")i({issues:h.issues});else if(h.path.length===0)a._errors.push(u(h));else for(var p=a,g=0;g<h.path.length;){var y=h.path[g];g===h.path.length-1?(p[y]=p[y]||{_errors:[]},p[y]._errors.push(u(h))):p[y]=p[y]||{_errors:[]},p=p[y],g++}}}catch(F){l.e(F)}finally{l.f()}};return i(r),a})(e,n)}},flatten:{value:function(n){return(function(r){var u,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(h){return h.message},i={},o=[],c=me(r.issues);try{for(c.s();!(u=c.n()).done;){var l=u.value;l.path.length>0?(i[l.path[0]]=i[l.path[0]]||[],i[l.path[0]].push(a(l))):o.push(a(l))}}catch(h){c.e(h)}finally{c.f()}return{formErrors:o,fieldErrors:i}})(e,n)}},addIssue:{value:function(n){e.issues.push(n),e.message=JSON.stringify(e.issues,_s,2)}},addIssues:{value:function(n){var r;(r=e.issues).push.apply(r,De(n)),e.message=JSON.stringify(e.issues,_s,2)}},isEmpty:{get:function(){return e.issues.length===0}}})},{Parent:Error}),Oy=xs(jn),Iy=Ss(jn),By=Zi(jn),dp=qi(jn),Py=(function(e){return function(t,n,r){var u=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return xs(e)(t,n,u)}})(jn),jy=(function(e){return function(t,n,r){return xs(e)(t,n,r)}})(jn),Ny=(function(e){return(function(){var t=Xe(be().m(function n(r,u,a){var i;return be().w(function(o){for(;;)if(o.n===0)return i=a?Object.assign(a,{direction:"backward"}):{direction:"backward"},o.a(2,Ss(e)(r,u,i))},n)}));return function(n,r,u){return t.apply(this,arguments)}})()})(jn),Ry=(function(e){return(function(){var t=Xe(be().m(function n(r,u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,Ss(e)(r,u,a))},n)}));return function(n,r,u){return t.apply(this,arguments)}})()})(jn),zy=(function(e){return function(t,n,r){var u=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Zi(e)(t,n,u)}})(jn),Ly=(function(e){return function(t,n,r){return Zi(e)(t,n,r)}})(jn),My=(function(e){return(function(){var t=Xe(be().m(function n(r,u,a){var i;return be().w(function(o){for(;;)if(o.n===0)return i=a?Object.assign(a,{direction:"backward"}):{direction:"backward"},o.a(2,qi(e)(r,u,i))},n)}));return function(n,r,u){return t.apply(this,arguments)}})()})(jn),$y=(function(e){return(function(){var t=Xe(be().m(function n(r,u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,qi(e)(r,u,a))},n)}));return function(n,r,u){return t.apply(this,arguments)}})()})(jn),wt=X("ZodType",function(e,t){return Ft.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=function(){for(var n,r=arguments.length,u=new Array(r),a=0;a<r;a++)u[a]=arguments[a];return e.clone(pu(t,{checks:[].concat(De((n=t.checks)!==null&&n!==void 0?n:[]),De(u.map(function(i){return typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i})))}))},e.clone=function(n,r){return jr(e,n,r)},e.brand=function(){return e},e.register=function(n,r){return n.add(e,r),e},e.parse=function(n,r){return Oy(e,n,r,{callee:e.parse})},e.safeParse=function(n,r){return By(e,n,r)},e.parseAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,Iy(e,u,a,{callee:e.parseAsync}))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.safeParseAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,dp(e,u,a))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.spa=e.safeParseAsync,e.encode=function(n,r){return Py(e,n,r)},e.decode=function(n,r){return jy(e,n,r)},e.encodeAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,Ny(e,u,a))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.decodeAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,Ry(e,u,a))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.safeEncode=function(n,r){return zy(e,n,r)},e.safeDecode=function(n,r){return Ly(e,n,r)},e.safeEncodeAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,My(e,u,a))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.safeDecodeAsync=(function(){var n=Xe(be().m(function r(u,a){return be().w(function(i){for(;;)if(i.n===0)return i.a(2,$y(e,u,a))},r)}));return function(r,u){return n.apply(this,arguments)}})(),e.refine=function(n,r){return e.check((function(u){return(function(a,i,o){return new Rs(C({type:"custom",check:"custom",fn:i},xe(o)))})(0,u,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{})})(n,r))},e.superRefine=function(n){return e.check((function(r){var u=(function(a){var i=new Ht(C({check:"custom"},xe(void 0)));return i._zod.check=a,i})(function(a){return a.addIssue=function(i){if(typeof i=="string")a.issues.push(qa(i,a.value,u._zod.def));else{var o,c,l,h,p=i;p.fatal&&(p.continue=!1),(o=p.code)!==null&&o!==void 0||(p.code="custom"),(c=p.input)!==null&&c!==void 0||(p.input=a.value),(l=p.inst)!==null&&l!==void 0||(p.inst=u),(h=p.continue)!==null&&h!==void 0||(p.continue=!u._zod.def.abort),a.issues.push(qa(p))}},r(a.value,a)});return u})(n))},e.overwrite=function(n){return e.check($u(n))},e.optional=function(){return Ep(e)},e.nullable=function(){return Fp(e)},e.nullish=function(){return Ep(Fp(e))},e.nonoptional=function(n){return(function(r,u){return new _p(C({type:"nonoptional",innerType:r},xe(u)))})(e,n)},e.array=function(){return Zu(e)},e.or=function(n){return Nn([e,n])},e.and=function(n){return new vD({type:"intersection",left:e,right:n})},e.transform=function(n){return Cp(e,new yD({type:"transform",transform:n}))},e.default=function(n){return r=n,new bD({type:"default",innerType:e,get defaultValue(){return typeof r=="function"?r():xd(r)}});var r},e.prefault=function(n){return r=n,new AD({type:"prefault",innerType:e,get defaultValue(){return typeof r=="function"?r():xd(r)}});var r},e.catch=function(n){return new ED({type:"catch",innerType:e,catchValue:typeof(r=n)=="function"?r:function(){return r}});var r},e.pipe=function(n){return Cp(e,n)},e.readonly=function(){return new _D({type:"readonly",innerType:e})},e.describe=function(n){var r=e.clone();return Ha.add(r,{description:n}),r},Object.defineProperty(e,"description",{get:function(){var n;return(n=Ha.get(e))===null||n===void 0?void 0:n.description},configurable:!0}),e.meta=function(){if(arguments.length===0)return Ha.get(e);var n=e.clone();return Ha.add(n,arguments.length<=0?void 0:arguments[0]),n},e.isOptional=function(){return e.safeParse(void 0).success},e.isNullable=function(){return e.safeParse(null).success},e}),pp=X("_ZodString",function(e,t){var n,r,u;Ts.init(e,t),wt.init(e,t);var a=e._zod.bag;e.format=(n=a.format)!==null&&n!==void 0?n:null,e.minLength=(r=a.minimum)!==null&&r!==void 0?r:null,e.maxLength=(u=a.maximum)!==null&&u!==void 0?u:null,e.regex=function(){return e.check(tp.apply(br,arguments))},e.includes=function(){return e.check(up.apply(br,arguments))},e.startsWith=function(){return e.check(ap.apply(br,arguments))},e.endsWith=function(){return e.check(ip.apply(br,arguments))},e.min=function(){return e.check(Wa.apply(br,arguments))},e.max=function(){return e.check(Bs.apply(br,arguments))},e.length=function(){return e.check(Ps.apply(br,arguments))},e.nonempty=function(){for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];return e.check(Wa.apply(br,[1].concat(o)))},e.lowercase=function(i){return e.check(np(i))},e.uppercase=function(i){return e.check(rp(i))},e.trim=function(){return e.check(sp())},e.normalize=function(){return e.check(op.apply(br,arguments))},e.toLowerCase=function(){return e.check(cp())},e.toUpperCase=function(){return e.check(lp())}}),Zy=X("ZodString",function(e,t){Ts.init(e,t),pp.init(e,t),e.email=function(n){return e.check((function(r,u){return new qy(C({type:"string",format:"email",check:"string_format",abort:!1},xe(u)))})(0,n))},e.url=function(n){return e.check((function(r,u){return new Hy(C({type:"string",format:"url",check:"string_format",abort:!1},xe(u)))})(0,n))},e.jwt=function(n){return e.check((function(r,u){return new aD(C({type:"string",format:"jwt",check:"string_format",abort:!1},xe(u)))})(0,n))},e.emoji=function(n){return e.check((function(r,u){return new Uy(C({type:"string",format:"emoji",check:"string_format",abort:!1},xe(u)))})(0,n))},e.guid=function(n){return e.check(ep(hp,n))},e.uuid=function(n){return e.check((function(r,u){return new Ji(C({type:"string",format:"uuid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.uuidv4=function(n){return e.check((function(r,u){return new Ji(C({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4"},xe(u)))})(0,n))},e.uuidv6=function(n){return e.check((function(r,u){return new Ji(C({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6"},xe(u)))})(0,n))},e.uuidv7=function(n){return e.check((function(r,u){return new Ji(C({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7"},xe(u)))})(0,n))},e.nanoid=function(n){return e.check((function(r,u){return new Vy(C({type:"string",format:"nanoid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.guid=function(n){return e.check(ep(hp,n))},e.cuid=function(n){return e.check((function(r,u){return new Wy(C({type:"string",format:"cuid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.cuid2=function(n){return e.check((function(r,u){return new Gy(C({type:"string",format:"cuid2",check:"string_format",abort:!1},xe(u)))})(0,n))},e.ulid=function(n){return e.check((function(r,u){return new Jy(C({type:"string",format:"ulid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.base64=function(n){return e.check((function(r,u){return new nD(C({type:"string",format:"base64",check:"string_format",abort:!1},xe(u)))})(0,n))},e.base64url=function(n){return e.check((function(r,u){return new rD(C({type:"string",format:"base64url",check:"string_format",abort:!1},xe(u)))})(0,n))},e.xid=function(n){return e.check((function(r,u){return new Ky(C({type:"string",format:"xid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.ksuid=function(n){return e.check((function(r,u){return new Qy(C({type:"string",format:"ksuid",check:"string_format",abort:!1},xe(u)))})(0,n))},e.ipv4=function(n){return e.check((function(r,u){return new Yy(C({type:"string",format:"ipv4",check:"string_format",abort:!1},xe(u)))})(0,n))},e.ipv6=function(n){return e.check((function(r,u){return new Xy(C({type:"string",format:"ipv6",check:"string_format",abort:!1},xe(u)))})(0,n))},e.cidrv4=function(n){return e.check((function(r,u){return new eD(C({type:"string",format:"cidrv4",check:"string_format",abort:!1},xe(u)))})(0,n))},e.cidrv6=function(n){return e.check((function(r,u){return new tD(C({type:"string",format:"cidrv6",check:"string_format",abort:!1},xe(u)))})(0,n))},e.e164=function(n){return e.check((function(r,u){return new uD(C({type:"string",format:"e164",check:"string_format",abort:!1},xe(u)))})(0,n))},e.datetime=function(n){return e.check((function(r){return(function(u,a){return new wy(C({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null},xe(a)))})(0,r)})(n))},e.date=function(n){return e.check((function(r){return(function(u,a){return new xy(C({type:"string",format:"date",check:"string_format"},xe(a)))})(0,r)})(n))},e.time=function(n){return e.check((function(r){return(function(u,a){return new Sy(C({type:"string",format:"time",check:"string_format",precision:null},xe(a)))})(0,r)})(n))},e.duration=function(n){return e.check((function(r){return(function(u,a){return new Ty(C({type:"string",format:"duration",check:"string_format"},xe(a)))})(0,r)})(n))}});function Re(e){return(function(t,n){return new Zy(C({type:"string"},xe(n)))})(0,e)}var Ot=X("ZodStringFormat",function(e,t){kt.init(e,t),pp.init(e,t)}),qy=X("ZodEmail",function(e,t){Ng.init(e,t),Ot.init(e,t)}),hp=X("ZodGUID",function(e,t){Pg.init(e,t),Ot.init(e,t)}),Ji=X("ZodUUID",function(e,t){jg.init(e,t),Ot.init(e,t)}),Hy=X("ZodURL",function(e,t){Rg.init(e,t),Ot.init(e,t)}),Uy=X("ZodEmoji",function(e,t){zg.init(e,t),Ot.init(e,t)}),Vy=X("ZodNanoID",function(e,t){Lg.init(e,t),Ot.init(e,t)}),Wy=X("ZodCUID",function(e,t){Mg.init(e,t),Ot.init(e,t)}),Gy=X("ZodCUID2",function(e,t){$g.init(e,t),Ot.init(e,t)}),Jy=X("ZodULID",function(e,t){Zg.init(e,t),Ot.init(e,t)}),Ky=X("ZodXID",function(e,t){qg.init(e,t),Ot.init(e,t)}),Qy=X("ZodKSUID",function(e,t){Hg.init(e,t),Ot.init(e,t)}),Yy=X("ZodIPv4",function(e,t){Jg.init(e,t),Ot.init(e,t)}),Xy=X("ZodIPv6",function(e,t){Kg.init(e,t),Ot.init(e,t)}),eD=X("ZodCIDRv4",function(e,t){Qg.init(e,t),Ot.init(e,t)}),tD=X("ZodCIDRv6",function(e,t){Yg.init(e,t),Ot.init(e,t)}),nD=X("ZodBase64",function(e,t){Xg.init(e,t),Ot.init(e,t)}),rD=X("ZodBase64URL",function(e,t){ey.init(e,t),Ot.init(e,t)}),uD=X("ZodE164",function(e,t){ty.init(e,t),Ot.init(e,t)}),aD=X("ZodJWT",function(e,t){ny.init(e,t),Ot.init(e,t)}),vp=X("ZodNumber",function(e,t){var n,r,u,a,i,o,c,l,h;$d.init(e,t),wt.init(e,t),e.gt=function(g,y){return e.check(Gi(g,y))},e.gte=function(g,y){return e.check(Va(g,y))},e.min=function(g,y){return e.check(Va(g,y))},e.lt=function(g,y){return e.check(Wi(g,y))},e.lte=function(g,y){return e.check(Ua(g,y))},e.max=function(g,y){return e.check(Ua(g,y))},e.int=function(g){return e.check(mp(g))},e.safe=function(g){return e.check(mp(g))},e.positive=function(g){return e.check(Gi(0,g))},e.nonnegative=function(g){return e.check(Va(0,g))},e.negative=function(g){return e.check(Wi(0,g))},e.nonpositive=function(g){return e.check(Ua(0,g))},e.multipleOf=function(g,y){return e.check(Is(g,y))},e.step=function(g,y){return e.check(Is(g,y))},e.finite=function(){return e};var p=e._zod.bag;e.minValue=(n=Math.max((r=p.minimum)!==null&&r!==void 0?r:Number.NEGATIVE_INFINITY,(u=p.exclusiveMinimum)!==null&&u!==void 0?u:Number.NEGATIVE_INFINITY))!==null&&n!==void 0?n:null,e.maxValue=(a=Math.min((i=p.maximum)!==null&&i!==void 0?i:Number.POSITIVE_INFINITY,(o=p.exclusiveMaximum)!==null&&o!==void 0?o:Number.POSITIVE_INFINITY))!==null&&a!==void 0?a:null,e.isInt=((c=p.format)!==null&&c!==void 0?c:"").includes("int")||Number.isSafeInteger((l=p.multipleOf)!==null&&l!==void 0?l:.5),e.isFinite=!0,e.format=(h=p.format)!==null&&h!==void 0?h:null});function iD(e){return(function(t,n){return new vp(C({type:"number",checks:[]},xe(n)))})(0,e)}var oD=X("ZodNumberFormat",function(e,t){ry.init(e,t),vp.init(e,t)});function mp(e){return(function(t,n){return new oD(C({type:"number",check:"number_format",abort:!1,format:"safeint"},xe(n)))})(0,e)}var sD=X("ZodBoolean",function(e,t){uy.init(e,t),wt.init(e,t)});function gn(e){return(function(t,n){return new sD(C({type:"boolean"},xe(n)))})(0,e)}var cD=X("ZodNull",function(e,t){ay.init(e,t),wt.init(e,t)});function lD(e){return(function(t,n){return new cD(C({type:"null"},xe(n)))})(0,e)}var fD=X("ZodUnknown",function(e,t){iy.init(e,t),wt.init(e,t)});function ur(){return new fD({type:"unknown"})}var dD=X("ZodNever",function(e,t){oy.init(e,t),wt.init(e,t)});function gp(e){return(function(t,n){return new dD(C({type:"never"},xe(n)))})(0,e)}var pD=X("ZodArray",function(e,t){sy.init(e,t),wt.init(e,t),e.element=t.element,e.min=function(n,r){return e.check(Wa(n,r))},e.nonempty=function(n){return e.check(Wa(1,n))},e.max=function(n,r){return e.check(Bs(n,r))},e.length=function(n,r){return e.check(Ps(n,r))},e.unwrap=function(){return e.element}});function Zu(e,t){return(function(n,r,u){return new pD(C({type:"array",element:r},xe(u)))})(0,e,t)}var yp=X("ZodObject",function(e,t){ly.init(e,t),wt.init(e,t),mt(e,"shape",function(){return t.shape}),e.keyof=function(){return bp(Object.keys(e._zod.def.shape))},e.catchall=function(n){return e.clone(C(C({},e._zod.def),{},{catchall:n}))},e.passthrough=function(){return e.clone(C(C({},e._zod.def),{},{catchall:ur()}))},e.loose=function(){return e.clone(C(C({},e._zod.def),{},{catchall:ur()}))},e.strict=function(){return e.clone(C(C({},e._zod.def),{},{catchall:gp()}))},e.strip=function(){return e.clone(C(C({},e._zod.def),{},{catchall:void 0}))},e.extend=function(n){return(function(r,u){if(!zu(u))throw new Error("Invalid input to extend: expected a plain object");var a=r._zod.def.checks;if(a&&a.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");var i=pu(r._zod.def,{get shape(){var o=C(C({},r._zod.def.shape),u);return du(this,"shape",o),o},checks:[]});return jr(r,i)})(e,n)},e.safeExtend=function(n){return(function(r,u){if(!zu(u))throw new Error("Invalid input to safeExtend: expected a plain object");var a=C(C({},r._zod.def),{},{get shape(){var i=C(C({},r._zod.def.shape),u);return du(this,"shape",i),i},checks:r._zod.def.checks});return jr(r,a)})(e,n)},e.merge=function(n){return(function(r,u){var a=pu(r._zod.def,{get shape(){var i=C(C({},r._zod.def.shape),u._zod.def.shape);return du(this,"shape",i),i},get catchall(){return u._zod.def.catchall},checks:[]});return jr(r,a)})(e,n)},e.pick=function(n){return(function(r,u){var a=r._zod.def;return jr(r,pu(r._zod.def,{get shape(){var i={};for(var o in u){if(!(o in a.shape))throw new Error('Unrecognized key: "'.concat(o,'"'));u[o]&&(i[o]=a.shape[o])}return du(this,"shape",i),i},checks:[]}))})(e,n)},e.omit=function(n){return(function(r,u){var a=r._zod.def,i=pu(r._zod.def,{get shape(){var o=C({},r._zod.def.shape);for(var c in u){if(!(c in a.shape))throw new Error('Unrecognized key: "'.concat(c,'"'));u[c]&&delete o[c]}return du(this,"shape",o),o},checks:[]});return jr(r,i)})(e,n)},e.partial=function(){return(function(n,r,u){var a=pu(r._zod.def,{get shape(){var i=r._zod.def.shape,o=C({},i);if(u)for(var c in u){if(!(c in i))throw new Error('Unrecognized key: "'.concat(c,'"'));u[c]&&(o[c]=new n({type:"optional",innerType:i[c]}))}else for(var l in i)o[l]=new n({type:"optional",innerType:i[l]});return du(this,"shape",o),o},checks:[]});return jr(r,a)})(Ap,e,arguments.length<=0?void 0:arguments[0])},e.required=function(){return(function(n,r,u){var a=pu(r._zod.def,{get shape(){var i=r._zod.def.shape,o=C({},i);if(u)for(var c in u){if(!(c in o))throw new Error('Unrecognized key: "'.concat(c,'"'));u[c]&&(o[c]=new n({type:"nonoptional",innerType:i[c]}))}else for(var l in i)o[l]=new n({type:"nonoptional",innerType:i[l]});return du(this,"shape",o),o},checks:[]});return jr(r,a)})(_p,e,arguments.length<=0?void 0:arguments[0])}});function rn(e,t){var n=C({type:"object",shape:e!=null?e:{}},xe(t));return new yp(n)}function It(e,t){return new yp(C({type:"object",shape:e,catchall:gp()},xe(t)))}var Dp=X("ZodUnion",function(e,t){Vd.init(e,t),wt.init(e,t),e.options=t.options});function Nn(e,t){return new Dp(C({type:"union",options:e},xe(t)))}var hD=X("ZodDiscriminatedUnion",function(e,t){Dp.init(e,t),fy.init(e,t)}),vD=X("ZodIntersection",function(e,t){dy.init(e,t),wt.init(e,t)}),mD=X("ZodRecord",function(e,t){py.init(e,t),wt.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function js(e,t,n){return new mD(C({type:"record",keyType:e,valueType:t},xe(n)))}var Ns=X("ZodEnum",function(e,t){hy.init(e,t),wt.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);var n=new Set(Object.keys(t.entries));e.extract=function(r,u){var a,i={},o=me(r);try{for(o.s();!(a=o.n()).done;){var c=a.value;if(!n.has(c))throw new Error("Key ".concat(c," not found in enum"));i[c]=t.entries[c]}}catch(l){o.e(l)}finally{o.f()}return new Ns(C(C(C({},t),{},{checks:[]},xe(u)),{},{entries:i}))},e.exclude=function(r,u){var a,i=C({},t.entries),o=me(r);try{for(o.s();!(a=o.n()).done;){var c=a.value;if(!n.has(c))throw new Error("Key ".concat(c," not found in enum"));delete i[c]}}catch(l){o.e(l)}finally{o.f()}return new Ns(C(C(C({},t),{},{checks:[]},xe(u)),{},{entries:i}))}});function bp(e,t){var n=Array.isArray(e)?Object.fromEntries(e.map(function(r){return[r,r]})):e;return new Ns(C({type:"enum",entries:n},xe(t)))}var gD=X("ZodLiteral",function(e,t){vy.init(e,t),wt.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get:function(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ye(e,t){return new gD(C({type:"literal",values:Array.isArray(e)?e:[e]},xe(t)))}var yD=X("ZodTransform",function(e,t){my.init(e,t),wt.init(e,t),e._zod.parse=function(n,r){if(r.direction==="backward")throw new Ed(e.constructor.name);n.addIssue=function(a){if(typeof a=="string")n.issues.push(qa(a,n.value,t));else{var i,o,c,l=a;l.fatal&&(l.continue=!1),(i=l.code)!==null&&i!==void 0||(l.code="custom"),(o=l.input)!==null&&o!==void 0||(l.input=n.value),(c=l.inst)!==null&&c!==void 0||(l.inst=e),n.issues.push(qa(l))}};var u=t.transform(n.value,n);return u instanceof Promise?u.then(function(a){return n.value=a,n}):(n.value=u,n)}}),Ap=X("ZodOptional",function(e,t){gy.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType}});function Ep(e){return new Ap({type:"optional",innerType:e})}var DD=X("ZodNullable",function(e,t){yy.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType}});function Fp(e){return new DD({type:"nullable",innerType:e})}var bD=X("ZodDefault",function(e,t){Dy.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType},e.removeDefault=e.unwrap}),AD=X("ZodPrefault",function(e,t){by.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType}}),_p=X("ZodNonOptional",function(e,t){Ay.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType}}),ED=X("ZodCatch",function(e,t){Ey.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType},e.removeCatch=e.unwrap}),FD=X("ZodPipe",function(e,t){Fy.init(e,t),wt.init(e,t),e.in=t.in,e.out=t.out});function Cp(e,t){return new FD({type:"pipe",in:e,out:t})}var lt,kp,_D=X("ZodReadonly",function(e,t){_y.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.innerType}}),CD=X("ZodLazy",function(e,t){Cy.init(e,t),wt.init(e,t),e.unwrap=function(){return e._zod.def.getter()}}),Rs=X("ZodCustom",function(e,t){ky.init(e,t),wt.init(e,t)});function wp(e,t){return(function(n,r,u){var a,i=xe(u);return(a=i.abort)!==null&&a!==void 0||(i.abort=!0),new n(C({type:"custom",check:"custom",fn:r},i))})(Rs,e!=null?e:function(){return!0},t)}function Ki(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{error:"Input not instance of ".concat(e.name)},n=new Rs(C({type:"custom",check:"custom",fn:function(r){return r instanceof e},abort:!0},xe(t)));return n._zod.bag.Class=e,n}(function(e){e.assertEqual=function(t){},e.assertIs=function(t){},e.assertNever=function(t){throw new Error},e.arrayToEnum=function(t){var n,r={},u=me(t);try{for(u.s();!(n=u.n()).done;){var a=n.value;r[a]=a}}catch(i){u.e(i)}finally{u.f()}return r},e.getValidEnumValues=function(t){var n,r={},u=me(e.objectKeys(t).filter(function(i){return typeof t[t[i]]!="number"}));try{for(u.s();!(n=u.n()).done;){var a=n.value;r[a]=t[a]}}catch(i){u.e(i)}finally{u.f()}return e.objectValues(r)},e.objectValues=function(t){return e.objectKeys(t).map(function(n){return t[n]})},e.objectKeys=typeof Object.keys=="function"?function(t){return Object.keys(t)}:function(t){var n=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.push(r);return n},e.find=function(t,n){var r,u=me(t);try{for(u.s();!(r=u.n()).done;){var a=r.value;if(n(a))return a}}catch(i){u.e(i)}finally{u.f()}},e.isInteger=typeof Number.isInteger=="function"?function(t){return Number.isInteger(t)}:function(t){return typeof t=="number"&&Number.isFinite(t)&&Math.floor(t)===t},e.joinValues=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" | ";return t.map(function(r){return typeof r=="string"?"'".concat(r,"'"):r}).join(n)},e.jsonStringifyReplacer=function(t,n){return typeof n=="bigint"?n.toString():n}})(lt||(lt={})),(kp||(kp={})).mergeShapes=function(e,t){return C(C({},e),t)};var we=lt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Rr=function(e){switch(qt(e)){case"undefined":return we.undefined;case"string":return we.string;case"number":return Number.isNaN(e)?we.nan:we.number;case"boolean":return we.boolean;case"function":return we.function;case"bigint":return we.bigint;case"symbol":return we.symbol;case"object":return Array.isArray(e)?we.array:e===null?we.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?we.promise:typeof Map!="undefined"&&e instanceof Map?we.map:typeof Set!="undefined"&&e instanceof Set?we.set:typeof Date!="undefined"&&e instanceof Date?we.date:we.object;default:return we.unknown}},ce=lt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ar=(function(){function e(t){var n;Ie(this,e),(n=Ze(this,e)).issues=[],n.addIssue=function(u){n.issues=[].concat(De(n.issues),[u])},n.addIssues=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];n.issues=[].concat(De(n.issues),De(u))};var r=(this instanceof e?this.constructor:void 0).prototype;return Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r,n.name="ZodError",n.issues=t,n}return $e(e,Tr(Error)),Be(e,[{key:"errors",get:function(){return this.issues}},{key:"format",value:function(t){var n=t||function(a){return a.message},r={_errors:[]},u=function(a){var i,o=me(a.issues);try{for(o.s();!(i=o.n()).done;){var c=i.value;if(c.code==="invalid_union")c.unionErrors.map(u);else if(c.code==="invalid_return_type")u(c.returnTypeError);else if(c.code==="invalid_arguments")u(c.argumentsError);else if(c.path.length===0)r._errors.push(n(c));else for(var l=r,h=0;h<c.path.length;){var p=c.path[h];h===c.path.length-1?(l[p]=l[p]||{_errors:[]},l[p]._errors.push(n(c))):l[p]=l[p]||{_errors:[]},l=l[p],h++}}}catch(g){o.e(g)}finally{o.f()}};return u(this),r}},{key:"toString",value:function(){return this.message}},{key:"message",get:function(){return JSON.stringify(this.issues,lt.jsonStringifyReplacer,2)}},{key:"isEmpty",get:function(){return this.issues.length===0}},{key:"flatten",value:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(c){return c.message},r=Object.create(null),u=[],a=me(this.issues);try{for(a.s();!(t=a.n()).done;){var i=t.value;if(i.path.length>0){var o=i.path[0];r[o]=r[o]||[],r[o].push(n(i))}else u.push(n(i))}}catch(c){a.e(c)}finally{a.f()}return{formErrors:u,fieldErrors:r}}},{key:"formErrors",get:function(){return this.flatten()}}],[{key:"assert",value:function(t){if(!(t instanceof e))throw new Error("Not a ZodError: ".concat(t))}}])})();ar.create=function(e){return new ar(e)};var Ga=function(e,t){var n;switch(e.code){case ce.invalid_type:n=e.received===we.undefined?"Required":"Expected ".concat(e.expected,", received ").concat(e.received);break;case ce.invalid_literal:n="Invalid literal value, expected ".concat(JSON.stringify(e.expected,lt.jsonStringifyReplacer));break;case ce.unrecognized_keys:n="Unrecognized key(s) in object: ".concat(lt.joinValues(e.keys,", "));break;case ce.invalid_union:n="Invalid input";break;case ce.invalid_union_discriminator:n="Invalid discriminator value. Expected ".concat(lt.joinValues(e.options));break;case ce.invalid_enum_value:n="Invalid enum value. Expected ".concat(lt.joinValues(e.options),", received '").concat(e.received,"'");break;case ce.invalid_arguments:n="Invalid function arguments";break;case ce.invalid_return_type:n="Invalid function return type";break;case ce.invalid_date:n="Invalid date";break;case ce.invalid_string:qt(e.validation)==="object"?"includes"in e.validation?(n='Invalid input: must include "'.concat(e.validation.includes,'"'),typeof e.validation.position=="number"&&(n="".concat(n," at one or more positions greater than or equal to ").concat(e.validation.position))):"startsWith"in e.validation?n='Invalid input: must start with "'.concat(e.validation.startsWith,'"'):"endsWith"in e.validation?n='Invalid input: must end with "'.concat(e.validation.endsWith,'"'):lt.assertNever(e.validation):n=e.validation!=="regex"?"Invalid ".concat(e.validation):"Invalid";break;case ce.too_small:n=e.type==="array"?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"more than"," ").concat(e.minimum," element(s)"):e.type==="string"?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"over"," ").concat(e.minimum," character(s)"):e.type==="number"||e.type==="bigint"?"Number must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(e.minimum):e.type==="date"?"Date must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(new Date(Number(e.minimum))):"Invalid input";break;case ce.too_big:n=e.type==="array"?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"less than"," ").concat(e.maximum," element(s)"):e.type==="string"?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"under"," ").concat(e.maximum," character(s)"):e.type==="number"?"Number must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):e.type==="bigint"?"BigInt must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):e.type==="date"?"Date must be ".concat(e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"," ").concat(new Date(Number(e.maximum))):"Invalid input";break;case ce.custom:n="Invalid input";break;case ce.invalid_intersection_types:n="Intersection results could not be merged";break;case ce.not_multiple_of:n="Number must be a multiple of ".concat(e.multipleOf);break;case ce.not_finite:n="Number must be finite";break;default:n=t.defaultError,lt.assertNever(e)}return{message:n}},kD=Ga;function zs(){return kD}var Ls=function(e){var t=e.data,n=e.path,r=e.errorMaps,u=e.issueData,a=[].concat(De(n),De(u.path||[])),i=C(C({},u),{},{path:a});if(u.message!==void 0)return C(C({},u),{},{path:a,message:u.message});var o,c="",l=r.filter(function(p){return!!p}).slice().reverse(),h=me(l);try{for(h.s();!(o=h.n()).done;)c=(0,o.value)(i,{data:t,defaultError:c}).message}catch(p){h.e(p)}finally{h.f()}return C(C({},u),{},{path:a,message:c})};function Ee(e,t){var n=zs(),r=Ls({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Ga?void 0:Ga].filter(function(u){return!!u})});e.common.issues.push(r)}var Pe,Sn=(function(){function e(){Ie(this,e),this.value="valid"}return Be(e,[{key:"dirty",value:function(){this.value==="valid"&&(this.value="dirty")}},{key:"abort",value:function(){this.value!=="aborted"&&(this.value="aborted")}}],[{key:"mergeArray",value:function(n,r){var u,a=[],i=me(r);try{for(i.s();!(u=i.n()).done;){var o=u.value;if(o.status==="aborted")return qe;o.status==="dirty"&&n.dirty(),a.push(o.value)}}catch(c){i.e(c)}finally{i.f()}return{status:n.value,value:a}}},{key:"mergeObjectAsync",value:(t=Xe(be().m(function n(r,u){var a,i,o,c,l,h,p;return be().w(function(g){for(;;)switch(g.p=g.n){case 0:a=[],i=me(u),g.p=1,i.s();case 2:if((o=i.n()).done){g.n=6;break}return c=o.value,g.n=3,c.key;case 3:return l=g.v,g.n=4,c.value;case 4:h=g.v,a.push({key:l,value:h});case 5:g.n=2;break;case 6:g.n=8;break;case 7:g.p=7,p=g.v,i.e(p);case 8:return g.p=8,i.f(),g.f(8);case 9:return g.a(2,e.mergeObjectSync(r,a))}},n,null,[[1,7,8,9]])})),function(n,r){return t.apply(this,arguments)})},{key:"mergeObjectSync",value:function(n,r){var u,a={},i=me(r);try{for(i.s();!(u=i.n()).done;){var o=u.value,c=o.key,l=o.value;if(c.status==="aborted"||l.status==="aborted")return qe;c.status==="dirty"&&n.dirty(),l.status==="dirty"&&n.dirty(),c.value==="__proto__"||l.value===void 0&&!o.alwaysSet||(a[c.value]=l.value)}}catch(h){i.e(h)}finally{i.f()}return{status:n.value,value:a}}}]);var t})(),qe=Object.freeze({status:"aborted"}),Qi=function(e){return{status:"dirty",value:e}},yn=function(e){return{status:"valid",value:e}},xp=function(e){return e.status==="aborted"},Sp=function(e){return e.status==="dirty"},qu=function(e){return e.status==="valid"},Yi=function(e){return typeof Promise!="undefined"&&e instanceof Promise};(function(e){e.errToObj=function(t){return typeof t=="string"?{message:t}:t||{}},e.toString=function(t){return typeof t=="string"?t:t==null?void 0:t.message}})(Pe||(Pe={}));var ir=Be(function e(t,n,r,u){Ie(this,e),this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=u},[{key:"path",get:function(){var e,t;return this._cachedPath.length||(Array.isArray(this._key)?(e=this._cachedPath).push.apply(e,De(this._path).concat(De(this._key))):(t=this._cachedPath).push.apply(t,De(this._path).concat([this._key]))),this._cachedPath}}]),Tp=function(e,t){if(qu(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;var n=new ar(e.common.issues);return this._error=n,this._error}}};function We(e){if(!e)return{};var t=e.errorMap,n=e.invalid_type_error,r=e.required_error,u=e.description;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:u}:{errorMap:function(a,i){var o,c,l=e.message;return a.code==="invalid_enum_value"?{message:l!=null?l:i.defaultError}:i.data===void 0?{message:(c=l!=null?l:r)!==null&&c!==void 0?c:i.defaultError}:a.code!=="invalid_type"?{message:i.defaultError}:{message:(o=l!=null?l:n)!==null&&o!==void 0?o:i.defaultError}},description:u}}var Ms,tt=(function(){return Be(function t(n){var r=this;Ie(this,t),this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:function(u){return r["~validate"](u)}}},[{key:"description",get:function(){return this._def.description}},{key:"_getType",value:function(t){return Rr(t.data)}},{key:"_getOrReturnCtx",value:function(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Rr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}},{key:"_processInputParams",value:function(t){return{status:new Sn,ctx:{common:t.parent.common,data:t.data,parsedType:Rr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}},{key:"_parseSync",value:function(t){var n=this._parse(t);if(Yi(n))throw new Error("Synchronous parse encountered promise.");return n}},{key:"_parseAsync",value:function(t){var n=this._parse(t);return Promise.resolve(n)}},{key:"parse",value:function(t,n){var r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}},{key:"safeParse",value:function(t,n){var r,u={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0&&r,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Rr(t)},a=this._parseSync({data:t,path:u.path,parent:u});return Tp(u,a)}},{key:"~validate",value:function(t){var n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Rr(t)};if(!this["~standard"].async)try{var r=this._parseSync({data:t,path:[],parent:n});return qu(r)?{value:r.value}:{issues:n.common.issues}}catch(a){var u;a!=null&&(u=a.message)!==null&&u!==void 0&&(u=u.toLowerCase())!==null&&u!==void 0&&u.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(function(a){return qu(a)?{value:a.value}:{issues:n.common.issues}})}},{key:"parseAsync",value:(e=Xe(be().m(function t(n,r){var u;return be().w(function(a){for(;;)switch(a.n){case 0:return a.n=1,this.safeParseAsync(n,r);case 1:if(!(u=a.v).success){a.n=2;break}return a.a(2,u.data);case 2:throw u.error;case 3:return a.a(2)}},t,this)})),function(t,n){return e.apply(this,arguments)})},{key:"safeParseAsync",value:(function(){var t=Xe(be().m(function n(r,u){var a,i,o;return be().w(function(c){for(;;)switch(c.n){case 0:return a={common:{issues:[],contextualErrorMap:u==null?void 0:u.errorMap,async:!0},path:(u==null?void 0:u.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:r,parsedType:Rr(r)},i=this._parse({data:r,path:a.path,parent:a}),c.n=1,Yi(i)?i:Promise.resolve(i);case 1:return o=c.v,c.a(2,Tp(a,o))}},n,this)}));return function(n,r){return t.apply(this,arguments)}})()},{key:"refine",value:function(t,n){return this._refinement(function(r,u){var a=t(r),i=function(){return u.addIssue(C({code:ce.custom},(function(o){return typeof n=="string"||n===void 0?{message:n}:typeof n=="function"?n(o):n})(r)))};return typeof Promise!="undefined"&&a instanceof Promise?a.then(function(o){return!!o||(i(),!1)}):!!a||(i(),!1)})}},{key:"refinement",value:function(t,n){return this._refinement(function(r,u){return!!t(r)||(u.addIssue(typeof n=="function"?n(r,u):n),!1)})}},{key:"_refinement",value:function(t){return new Ar({schema:this,typeName:he.ZodEffects,effect:{type:"refinement",refinement:t}})}},{key:"superRefine",value:function(t){return this._refinement(t)}},{key:"optional",value:function(){return Er.create(this,this._def)}},{key:"nullable",value:function(){return mu.create(this,this._def)}},{key:"nullish",value:function(){return this.nullable().optional()}},{key:"array",value:function(){return Uu.create(this)}},{key:"promise",value:function(){return Ja.create(this,this._def)}},{key:"or",value:function(t){return no.create([this,t],this._def)}},{key:"and",value:function(t){return ro.create(this,t,this._def)}},{key:"transform",value:function(t){return new Ar(C(C({},We(this._def)),{},{schema:this,typeName:he.ZodEffects,effect:{type:"transform",transform:t}}))}},{key:"default",value:function(t){var n=typeof t=="function"?t:function(){return t};return new so(C(C({},We(this._def)),{},{innerType:this,defaultValue:n,typeName:he.ZodDefault}))}},{key:"brand",value:function(){return new Pp(C({typeName:he.ZodBranded,type:this},We(this._def)))}},{key:"catch",value:function(t){var n=typeof t=="function"?t:function(){return t};return new co(C(C({},We(this._def)),{},{innerType:this,catchValue:n,typeName:he.ZodCatch}))}},{key:"describe",value:function(t){return new this.constructor(C(C({},this._def),{},{description:t}))}},{key:"pipe",value:function(t){return jp.create(this,t)}},{key:"readonly",value:function(){return lo.create(this)}},{key:"isOptional",value:function(){return this.safeParse(void 0).success}},{key:"isNullable",value:function(){return this.safeParse(null).success}}]);var e})(),wD=/^c[^\s-]{8,}$/i,xD=/^[0-9a-z]+$/,SD=/^[0-9A-HJKMNP-TV-Z]{26}$/i,TD=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,OD=/^[a-z0-9_-]{21}$/i,ID=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,BD=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,PD=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,jD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ND=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,RD=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,zD=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,LD=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,MD=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Op="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",$D=new RegExp("^".concat(Op,"$"));function Ip(e){var t="[0-5]\\d";e.precision?t="".concat(t,"\\.\\d{").concat(e.precision,"}"):e.precision==null&&(t="".concat(t,"(\\.\\d+)?"));var n=e.precision?"+":"?";return"([01]\\d|2[0-3]):[0-5]\\d(:".concat(t,")").concat(n)}function ZD(e){return new RegExp("^".concat(Ip(e),"$"))}function qD(e){var t="".concat(Op,"T").concat(Ip(e)),n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t="".concat(t,"(").concat(n.join("|"),")"),new RegExp("^".concat(t,"$"))}function HD(e,t){return!(t!=="v4"&&t||!jD.test(e))||!(t!=="v6"&&t||!RD.test(e))}function UD(e,t){if(!ID.test(e))return!1;try{var n=ct(e.split("."),1)[0];if(!n)return!1;var r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),u=JSON.parse(atob(r));return!(qt(u)!=="object"||u===null||"typ"in u&&(u==null?void 0:u.typ)!=="JWT"||!u.alg||t&&u.alg!==t)}catch(a){return!1}}function VD(e,t){return!(t!=="v4"&&t||!ND.test(e))||!(t!=="v6"&&t||!zD.test(e))}var Xi=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==we.string){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.string,received:n.parsedType}),qe}var r,u=new Sn,a=void 0,i=me(this._def.checks);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.kind==="min")t.data.length<o.value&&(Ee(a=this._getOrReturnCtx(t,a),{code:ce.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),u.dirty());else if(o.kind==="max")t.data.length>o.value&&(Ee(a=this._getOrReturnCtx(t,a),{code:ce.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),u.dirty());else if(o.kind==="length"){var c=t.data.length>o.value,l=t.data.length<o.value;(c||l)&&(a=this._getOrReturnCtx(t,a),c?Ee(a,{code:ce.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):l&&Ee(a,{code:ce.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),u.dirty())}else if(o.kind==="email")PD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"email",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="emoji")Ms||(Ms=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Ms.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"emoji",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="uuid")TD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"uuid",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="nanoid")OD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"nanoid",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="cuid")wD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"cuid",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="cuid2")xD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"cuid2",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="ulid")SD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"ulid",code:ce.invalid_string,message:o.message}),u.dirty());else if(o.kind==="url")try{new URL(t.data)}catch(h){Ee(a=this._getOrReturnCtx(t,a),{validation:"url",code:ce.invalid_string,message:o.message}),u.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"regex",code:ce.invalid_string,message:o.message}),u.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),u.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:{startsWith:o.value},message:o.message}),u.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:{endsWith:o.value},message:o.message}),u.dirty()):o.kind==="datetime"?qD(o).test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:"datetime",message:o.message}),u.dirty()):o.kind==="date"?$D.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:"date",message:o.message}),u.dirty()):o.kind==="time"?ZD(o).test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{code:ce.invalid_string,validation:"time",message:o.message}),u.dirty()):o.kind==="duration"?BD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"duration",code:ce.invalid_string,message:o.message}),u.dirty()):o.kind==="ip"?HD(t.data,o.version)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"ip",code:ce.invalid_string,message:o.message}),u.dirty()):o.kind==="jwt"?UD(t.data,o.alg)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"jwt",code:ce.invalid_string,message:o.message}),u.dirty()):o.kind==="cidr"?VD(t.data,o.version)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"cidr",code:ce.invalid_string,message:o.message}),u.dirty()):o.kind==="base64"?LD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"base64",code:ce.invalid_string,message:o.message}),u.dirty()):o.kind==="base64url"?MD.test(t.data)||(Ee(a=this._getOrReturnCtx(t,a),{validation:"base64url",code:ce.invalid_string,message:o.message}),u.dirty()):lt.assertNever(o)}}catch(h){i.e(h)}finally{i.f()}return{status:u.value,value:t.data}}},{key:"_regex",value:function(t,n,r){return this.refinement(function(u){return t.test(u)},C({validation:n,code:ce.invalid_string},Pe.errToObj(r)))}},{key:"_addCheck",value:function(t){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[t])}))}},{key:"email",value:function(t){return this._addCheck(C({kind:"email"},Pe.errToObj(t)))}},{key:"url",value:function(t){return this._addCheck(C({kind:"url"},Pe.errToObj(t)))}},{key:"emoji",value:function(t){return this._addCheck(C({kind:"emoji"},Pe.errToObj(t)))}},{key:"uuid",value:function(t){return this._addCheck(C({kind:"uuid"},Pe.errToObj(t)))}},{key:"nanoid",value:function(t){return this._addCheck(C({kind:"nanoid"},Pe.errToObj(t)))}},{key:"cuid",value:function(t){return this._addCheck(C({kind:"cuid"},Pe.errToObj(t)))}},{key:"cuid2",value:function(t){return this._addCheck(C({kind:"cuid2"},Pe.errToObj(t)))}},{key:"ulid",value:function(t){return this._addCheck(C({kind:"ulid"},Pe.errToObj(t)))}},{key:"base64",value:function(t){return this._addCheck(C({kind:"base64"},Pe.errToObj(t)))}},{key:"base64url",value:function(t){return this._addCheck(C({kind:"base64url"},Pe.errToObj(t)))}},{key:"jwt",value:function(t){return this._addCheck(C({kind:"jwt"},Pe.errToObj(t)))}},{key:"ip",value:function(t){return this._addCheck(C({kind:"ip"},Pe.errToObj(t)))}},{key:"cidr",value:function(t){return this._addCheck(C({kind:"cidr"},Pe.errToObj(t)))}},{key:"datetime",value:function(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck(C({kind:"datetime",precision:(t==null?void 0:t.precision)===void 0?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0&&n,local:(r=t==null?void 0:t.local)!==null&&r!==void 0&&r},Pe.errToObj(t==null?void 0:t.message)))}},{key:"date",value:function(t){return this._addCheck({kind:"date",message:t})}},{key:"time",value:function(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck(C({kind:"time",precision:(t==null?void 0:t.precision)===void 0?null:t==null?void 0:t.precision},Pe.errToObj(t==null?void 0:t.message)))}},{key:"duration",value:function(t){return this._addCheck(C({kind:"duration"},Pe.errToObj(t)))}},{key:"regex",value:function(t,n){return this._addCheck(C({kind:"regex",regex:t},Pe.errToObj(n)))}},{key:"includes",value:function(t,n){return this._addCheck(C({kind:"includes",value:t,position:n==null?void 0:n.position},Pe.errToObj(n==null?void 0:n.message)))}},{key:"startsWith",value:function(t,n){return this._addCheck(C({kind:"startsWith",value:t},Pe.errToObj(n)))}},{key:"endsWith",value:function(t,n){return this._addCheck(C({kind:"endsWith",value:t},Pe.errToObj(n)))}},{key:"min",value:function(t,n){return this._addCheck(C({kind:"min",value:t},Pe.errToObj(n)))}},{key:"max",value:function(t,n){return this._addCheck(C({kind:"max",value:t},Pe.errToObj(n)))}},{key:"length",value:function(t,n){return this._addCheck(C({kind:"length",value:t},Pe.errToObj(n)))}},{key:"nonempty",value:function(t){return this.min(1,Pe.errToObj(t))}},{key:"trim",value:function(){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[{kind:"trim"}])}))}},{key:"toLowerCase",value:function(){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[{kind:"toLowerCase"}])}))}},{key:"toUpperCase",value:function(){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[{kind:"toUpperCase"}])}))}},{key:"isDatetime",get:function(){return!!this._def.checks.find(function(t){return t.kind==="datetime"})}},{key:"isDate",get:function(){return!!this._def.checks.find(function(t){return t.kind==="date"})}},{key:"isTime",get:function(){return!!this._def.checks.find(function(t){return t.kind==="time"})}},{key:"isDuration",get:function(){return!!this._def.checks.find(function(t){return t.kind==="duration"})}},{key:"isEmail",get:function(){return!!this._def.checks.find(function(t){return t.kind==="email"})}},{key:"isURL",get:function(){return!!this._def.checks.find(function(t){return t.kind==="url"})}},{key:"isEmoji",get:function(){return!!this._def.checks.find(function(t){return t.kind==="emoji"})}},{key:"isUUID",get:function(){return!!this._def.checks.find(function(t){return t.kind==="uuid"})}},{key:"isNANOID",get:function(){return!!this._def.checks.find(function(t){return t.kind==="nanoid"})}},{key:"isCUID",get:function(){return!!this._def.checks.find(function(t){return t.kind==="cuid"})}},{key:"isCUID2",get:function(){return!!this._def.checks.find(function(t){return t.kind==="cuid2"})}},{key:"isULID",get:function(){return!!this._def.checks.find(function(t){return t.kind==="ulid"})}},{key:"isIP",get:function(){return!!this._def.checks.find(function(t){return t.kind==="ip"})}},{key:"isCIDR",get:function(){return!!this._def.checks.find(function(t){return t.kind==="cidr"})}},{key:"isBase64",get:function(){return!!this._def.checks.find(function(t){return t.kind==="base64"})}},{key:"isBase64url",get:function(){return!!this._def.checks.find(function(t){return t.kind==="base64url"})}},{key:"minLength",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="min"&&(n===null||u.value>n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"maxLength",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="max"&&(n===null||u.value<n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}}])})();function WD(e,t){var n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,u=n>r?n:r;return Number.parseInt(e.toFixed(u).replace(".",""))%Number.parseInt(t.toFixed(u).replace(".",""))/Math.pow(10,u)}Xi.create=function(e){var t;return new Xi(C({checks:[],typeName:he.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0&&t},We(e)))};var $s=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments)).min=t.gte,t.max=t.lte,t.step=t.multipleOf,t}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==we.number){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.number,received:n.parsedType}),qe}var r,u=void 0,a=new Sn,i=me(this._def.checks);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.kind==="int"?lt.isInteger(t.data)||(Ee(u=this._getOrReturnCtx(t,u),{code:ce.invalid_type,expected:"integer",received:"float",message:o.message}),a.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(Ee(u=this._getOrReturnCtx(t,u),{code:ce.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(Ee(u=this._getOrReturnCtx(t,u),{code:ce.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),a.dirty()):o.kind==="multipleOf"?WD(t.data,o.value)!==0&&(Ee(u=this._getOrReturnCtx(t,u),{code:ce.not_multiple_of,multipleOf:o.value,message:o.message}),a.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(Ee(u=this._getOrReturnCtx(t,u),{code:ce.not_finite,message:o.message}),a.dirty()):lt.assertNever(o)}}catch(c){i.e(c)}finally{i.f()}return{status:a.value,value:t.data}}},{key:"gte",value:function(t,n){return this.setLimit("min",t,!0,Pe.toString(n))}},{key:"gt",value:function(t,n){return this.setLimit("min",t,!1,Pe.toString(n))}},{key:"lte",value:function(t,n){return this.setLimit("max",t,!0,Pe.toString(n))}},{key:"lt",value:function(t,n){return this.setLimit("max",t,!1,Pe.toString(n))}},{key:"setLimit",value:function(t,n,r,u){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[{kind:t,value:n,inclusive:r,message:Pe.toString(u)}])}))}},{key:"_addCheck",value:function(t){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[t])}))}},{key:"int",value:function(t){return this._addCheck({kind:"int",message:Pe.toString(t)})}},{key:"positive",value:function(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Pe.toString(t)})}},{key:"negative",value:function(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Pe.toString(t)})}},{key:"nonpositive",value:function(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Pe.toString(t)})}},{key:"nonnegative",value:function(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Pe.toString(t)})}},{key:"multipleOf",value:function(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Pe.toString(n)})}},{key:"finite",value:function(t){return this._addCheck({kind:"finite",message:Pe.toString(t)})}},{key:"safe",value:function(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Pe.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Pe.toString(t)})}},{key:"minValue",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="min"&&(n===null||u.value>n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"maxValue",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="max"&&(n===null||u.value<n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"isInt",get:function(){return!!this._def.checks.find(function(t){return t.kind==="int"||t.kind==="multipleOf"&<.isInteger(t.value)})}},{key:"isFinite",get:function(){var t,n=null,r=null,u=me(this._def.checks);try{for(u.s();!(t=u.n()).done;){var a=t.value;if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(r===null||a.value>r)&&(r=a.value):a.kind==="max"&&(n===null||a.value<n)&&(n=a.value)}}catch(i){u.e(i)}finally{u.f()}return Number.isFinite(r)&&Number.isFinite(n)}}])})();$s.create=function(e){return new $s(C({checks:[],typeName:he.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1},We(e)))};var Zs=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments)).min=t.gte,t.max=t.lte,t}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch(o){return this._getInvalidInput(t)}if(this._getType(t)!==we.bigint)return this._getInvalidInput(t);var n,r=void 0,u=new Sn,a=me(this._def.checks);try{for(a.s();!(n=a.n()).done;){var i=n.value;i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(Ee(r=this._getOrReturnCtx(t,r),{code:ce.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),u.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(Ee(r=this._getOrReturnCtx(t,r),{code:ce.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),u.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(Ee(r=this._getOrReturnCtx(t,r),{code:ce.not_multiple_of,multipleOf:i.value,message:i.message}),u.dirty()):lt.assertNever(i)}}catch(o){a.e(o)}finally{a.f()}return{status:u.value,value:t.data}}},{key:"_getInvalidInput",value:function(t){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.bigint,received:n.parsedType}),qe}},{key:"gte",value:function(t,n){return this.setLimit("min",t,!0,Pe.toString(n))}},{key:"gt",value:function(t,n){return this.setLimit("min",t,!1,Pe.toString(n))}},{key:"lte",value:function(t,n){return this.setLimit("max",t,!0,Pe.toString(n))}},{key:"lt",value:function(t,n){return this.setLimit("max",t,!1,Pe.toString(n))}},{key:"setLimit",value:function(t,n,r,u){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[{kind:t,value:n,inclusive:r,message:Pe.toString(u)}])}))}},{key:"_addCheck",value:function(t){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[t])}))}},{key:"positive",value:function(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Pe.toString(t)})}},{key:"negative",value:function(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Pe.toString(t)})}},{key:"nonpositive",value:function(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Pe.toString(t)})}},{key:"nonnegative",value:function(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Pe.toString(t)})}},{key:"multipleOf",value:function(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Pe.toString(n)})}},{key:"minValue",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="min"&&(n===null||u.value>n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"maxValue",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="max"&&(n===null||u.value<n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n}}])})();Zs.create=function(e){var t;return new Zs(C({checks:[],typeName:he.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0&&t},We(e)))};var qs=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==we.boolean){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.boolean,received:n.parsedType}),qe}return yn(t.data)}}])})();qs.create=function(e){return new qs(C({typeName:he.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1},We(e)))};var Hs=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==we.date){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.date,received:n.parsedType}),qe}if(Number.isNaN(t.data.getTime()))return Ee(this._getOrReturnCtx(t),{code:ce.invalid_date}),qe;var r,u=new Sn,a=void 0,i=me(this._def.checks);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.kind==="min"?t.data.getTime()<o.value&&(Ee(a=this._getOrReturnCtx(t,a),{code:ce.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),u.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(Ee(a=this._getOrReturnCtx(t,a),{code:ce.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),u.dirty()):lt.assertNever(o)}}catch(c){i.e(c)}finally{i.f()}return{status:u.value,value:new Date(t.data.getTime())}}},{key:"_addCheck",value:function(t){return new e(C(C({},this._def),{},{checks:[].concat(De(this._def.checks),[t])}))}},{key:"min",value:function(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Pe.toString(n)})}},{key:"max",value:function(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Pe.toString(n)})}},{key:"minDate",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="min"&&(n===null||u.value>n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n!=null?new Date(n):null}},{key:"maxDate",get:function(){var t,n=null,r=me(this._def.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;u.kind==="max"&&(n===null||u.value<n)&&(n=u.value)}}catch(a){r.e(a)}finally{r.f()}return n!=null?new Date(n):null}}])})();Hs.create=function(e){return new Hs(C({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:he.ZodDate},We(e)))};var Us=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._getType(t)!==we.symbol){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.symbol,received:n.parsedType}),qe}return yn(t.data)}}])})();Us.create=function(e){return new Us(C({typeName:he.ZodSymbol},We(e)))};var eo=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._getType(t)!==we.undefined){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.undefined,received:n.parsedType}),qe}return yn(t.data)}}])})();eo.create=function(e){return new eo(C({typeName:he.ZodUndefined},We(e)))};var to=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._getType(t)!==we.null){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.null,received:n.parsedType}),qe}return yn(t.data)}}])})();to.create=function(e){return new to(C({typeName:he.ZodNull},We(e)))};var Vs=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments))._any=!0,t}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){return yn(t.data)}}])})();Vs.create=function(e){return new Vs(C({typeName:he.ZodAny},We(e)))};var Hu=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments))._unknown=!0,t}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){return yn(t.data)}}])})();Hu.create=function(e){return new Hu(C({typeName:he.ZodUnknown},We(e)))};var zr=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.never,received:n.parsedType}),qe}}])})();zr.create=function(e){return new zr(C({typeName:he.ZodNever},We(e)))};var Ws=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._getType(t)!==we.undefined){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.void,received:n.parsedType}),qe}return yn(t.data)}}])})();Ws.create=function(e){return new Ws(C({typeName:he.ZodVoid},We(e)))};var Uu=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t),r=n.ctx,u=n.status,a=this._def;if(r.parsedType!==we.array)return Ee(r,{code:ce.invalid_type,expected:we.array,received:r.parsedType}),qe;if(a.exactLength!==null){var i=r.data.length>a.exactLength.value,o=r.data.length<a.exactLength.value;(i||o)&&(Ee(r,{code:i?ce.too_big:ce.too_small,minimum:o?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),u.dirty())}if(a.minLength!==null&&r.data.length<a.minLength.value&&(Ee(r,{code:ce.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),u.dirty()),a.maxLength!==null&&r.data.length>a.maxLength.value&&(Ee(r,{code:ce.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),u.dirty()),r.common.async)return Promise.all(De(r.data).map(function(l,h){return a.type._parseAsync(new ir(r,l,r.path,h))})).then(function(l){return Sn.mergeArray(u,l)});var c=De(r.data).map(function(l,h){return a.type._parseSync(new ir(r,l,r.path,h))});return Sn.mergeArray(u,c)}},{key:"element",get:function(){return this._def.type}},{key:"min",value:function(t,n){return new e(C(C({},this._def),{},{minLength:{value:t,message:Pe.toString(n)}}))}},{key:"max",value:function(t,n){return new e(C(C({},this._def),{},{maxLength:{value:t,message:Pe.toString(n)}}))}},{key:"length",value:function(t,n){return new e(C(C({},this._def),{},{exactLength:{value:t,message:Pe.toString(n)}}))}},{key:"nonempty",value:function(t){return this.min(1,t)}}])})();function Vu(e){if(e instanceof Kn){var t={};for(var n in e.shape){var r=e.shape[n];t[n]=Er.create(Vu(r))}return new Kn(C(C({},e._def),{},{shape:function(){return t}}))}return e instanceof Uu?new Uu(C(C({},e._def),{},{type:Vu(e.element)})):e instanceof Er?Er.create(Vu(e.unwrap())):e instanceof mu?mu.create(Vu(e.unwrap())):e instanceof vu?vu.create(e.items.map(function(u){return Vu(u)})):e}Uu.create=function(e,t){return new Uu(C({type:e,minLength:null,maxLength:null,exactLength:null,typeName:he.ZodArray},We(t)))};var Kn=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments))._cached=null,t.nonstrict=t.passthrough,t.augment=t.extend,t}return $e(e,tt),Be(e,[{key:"_getCached",value:function(){if(this._cached!==null)return this._cached;var t=this._def.shape(),n=lt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}},{key:"_parse",value:function(t){if(this._getType(t)!==we.object){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.object,received:n.parsedType}),qe}var r=this._processInputParams(t),u=r.status,a=r.ctx,i=this._getCached(),o=i.shape,c=i.keys,l=[];if(!(this._def.catchall instanceof zr&&this._def.unknownKeys==="strip"))for(var h in a.data)c.includes(h)||l.push(h);var p,g=[],y=me(c);try{for(y.s();!(p=y.n()).done;){var F=p.value,D=o[F],_=a.data[F];g.push({key:{status:"valid",value:F},value:D._parse(new ir(a,_,a.path,F)),alwaysSet:F in a.data})}}catch(N){y.e(N)}finally{y.f()}if(this._def.catchall instanceof zr){var T=this._def.unknownKeys;if(T==="passthrough"){var w,S=me(l);try{for(S.s();!(w=S.n()).done;){var x=w.value;g.push({key:{status:"valid",value:x},value:{status:"valid",value:a.data[x]}})}}catch(N){S.e(N)}finally{S.f()}}else if(T==="strict")l.length>0&&(Ee(a,{code:ce.unrecognized_keys,keys:l}),u.dirty());else if(T!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{var O,I=this._def.catchall,B=me(l);try{for(B.s();!(O=B.n()).done;){var d=O.value,q=a.data[d];g.push({key:{status:"valid",value:d},value:I._parse(new ir(a,q,a.path,d)),alwaysSet:d in a.data})}}catch(N){B.e(N)}finally{B.f()}}return a.common.async?Promise.resolve().then(Xe(be().m(function N(){var Z,z,H,L,K,J,W;return be().w(function(ee){for(;;)switch(ee.p=ee.n){case 0:Z=[],z=me(g),ee.p=1,z.s();case 2:if((H=z.n()).done){ee.n=6;break}return L=H.value,ee.n=3,L.key;case 3:return K=ee.v,ee.n=4,L.value;case 4:J=ee.v,Z.push({key:K,value:J,alwaysSet:L.alwaysSet});case 5:ee.n=2;break;case 6:ee.n=8;break;case 7:ee.p=7,W=ee.v,z.e(W);case 8:return ee.p=8,z.f(),ee.f(8);case 9:return ee.a(2,Z)}},N,null,[[1,7,8,9]])}))).then(function(N){return Sn.mergeObjectSync(u,N)}):Sn.mergeObjectSync(u,g)}},{key:"shape",get:function(){return this._def.shape()}},{key:"strict",value:function(t){var n=this;return Pe.errToObj,new e(C(C({},this._def),{},{unknownKeys:"strict"},t!==void 0?{errorMap:function(r,u){var a,i,o,c,l=(a=(i=(o=n._def).errorMap)===null||i===void 0?void 0:i.call(o,r,u).message)!==null&&a!==void 0?a:u.defaultError;return r.code==="unrecognized_keys"?{message:(c=Pe.errToObj(t).message)!==null&&c!==void 0?c:l}:{message:l}}}:{}))}},{key:"strip",value:function(){return new e(C(C({},this._def),{},{unknownKeys:"strip"}))}},{key:"passthrough",value:function(){return new e(C(C({},this._def),{},{unknownKeys:"passthrough"}))}},{key:"extend",value:function(t){var n=this;return new e(C(C({},this._def),{},{shape:function(){return C(C({},n._def.shape()),t)}}))}},{key:"merge",value:function(t){var n=this;return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:function(){return C(C({},n._def.shape()),t._def.shape())},typeName:he.ZodObject})}},{key:"setKey",value:function(t,n){return this.augment(it({},t,n))}},{key:"catchall",value:function(t){return new e(C(C({},this._def),{},{catchall:t}))}},{key:"pick",value:function(t){var n,r={},u=me(lt.objectKeys(t));try{for(u.s();!(n=u.n()).done;){var a=n.value;t[a]&&this.shape[a]&&(r[a]=this.shape[a])}}catch(i){u.e(i)}finally{u.f()}return new e(C(C({},this._def),{},{shape:function(){return r}}))}},{key:"omit",value:function(t){var n,r={},u=me(lt.objectKeys(this.shape));try{for(u.s();!(n=u.n()).done;){var a=n.value;t[a]||(r[a]=this.shape[a])}}catch(i){u.e(i)}finally{u.f()}return new e(C(C({},this._def),{},{shape:function(){return r}}))}},{key:"deepPartial",value:function(){return Vu(this)}},{key:"partial",value:function(t){var n,r={},u=me(lt.objectKeys(this.shape));try{for(u.s();!(n=u.n()).done;){var a=n.value,i=this.shape[a];t&&!t[a]?r[a]=i:r[a]=i.optional()}}catch(o){u.e(o)}finally{u.f()}return new e(C(C({},this._def),{},{shape:function(){return r}}))}},{key:"required",value:function(t){var n,r={},u=me(lt.objectKeys(this.shape));try{for(u.s();!(n=u.n()).done;){var a=n.value;if(t&&!t[a])r[a]=this.shape[a];else{for(var i=this.shape[a];i instanceof Er;)i=i._def.innerType;r[a]=i}}}catch(o){u.e(o)}finally{u.f()}return new e(C(C({},this._def),{},{shape:function(){return r}}))}},{key:"keyof",value:function(){return Bp(lt.objectKeys(this.shape))}}])})();Kn.create=function(e,t){return new Kn(C({shape:function(){return e},unknownKeys:"strip",catchall:zr.create(),typeName:he.ZodObject},We(t)))},Kn.strictCreate=function(e,t){return new Kn(C({shape:function(){return e},unknownKeys:"strict",catchall:zr.create(),typeName:he.ZodObject},We(t)))},Kn.lazycreate=function(e,t){return new Kn(C({shape:e,unknownKeys:"strip",catchall:zr.create(),typeName:he.ZodObject},We(t)))};var no=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx,r=this._def.options;if(n.common.async)return Promise.all(r.map((function(){var y=Xe(be().m(function F(D){var _,T,w;return be().w(function(S){for(;;)switch(S.n){case 0:return _=C(C({},n),{},{common:C(C({},n.common),{},{issues:[]}),parent:null}),S.n=1,D._parseAsync({data:n.data,path:n.path,parent:_});case 1:return T=S.v,w=_,S.a(2,{result:T,ctx:w})}},F)}));return function(F){return y.apply(this,arguments)}})())).then(function(y){var F,D=me(y);try{for(D.s();!(F=D.n()).done;){var _=F.value;if(_.result.status==="valid")return _.result}}catch(I){D.e(I)}finally{D.f()}var T,w=me(y);try{for(w.s();!(T=w.n()).done;){var S,x=T.value;if(x.result.status==="dirty")return(S=n.common.issues).push.apply(S,De(x.ctx.common.issues)),x.result}}catch(I){w.e(I)}finally{w.f()}var O=y.map(function(I){return new ar(I.ctx.common.issues)});return Ee(n,{code:ce.invalid_union,unionErrors:O}),qe});var u,a,i=void 0,o=[],c=me(r);try{for(c.s();!(u=c.n()).done;){var l=u.value,h=C(C({},n),{},{common:C(C({},n.common),{},{issues:[]}),parent:null}),p=l._parseSync({data:n.data,path:n.path,parent:h});if(p.status==="valid")return p;p.status!=="dirty"||i||(i={result:p,ctx:h}),h.common.issues.length&&o.push(h.common.issues)}}catch(y){c.e(y)}finally{c.f()}if(i)return(a=n.common.issues).push.apply(a,De(i.ctx.common.issues)),i.result;var g=o.map(function(y){return new ar(y)});return Ee(n,{code:ce.invalid_union,unionErrors:g}),qe}},{key:"options",get:function(){return this._def.options}}])})();no.create=function(e,t){return new no(C({options:e,typeName:he.ZodUnion},We(t)))};var Lr=function(e){return e instanceof uo?Lr(e.schema):e instanceof Ar?Lr(e.innerType()):e instanceof ao?[e.value]:e instanceof io?e.options:e instanceof oo?lt.objectValues(e.enum):e instanceof so?Lr(e._def.innerType):e instanceof eo?[void 0]:e instanceof to?[null]:e instanceof Er?[void 0].concat(De(Lr(e.unwrap()))):e instanceof mu?[null].concat(De(Lr(e.unwrap()))):e instanceof Pp||e instanceof lo?Lr(e.unwrap()):e instanceof co?Lr(e._def.innerType):[]},GD=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx;if(n.parsedType!==we.object)return Ee(n,{code:ce.invalid_type,expected:we.object,received:n.parsedType}),qe;var r=this.discriminator,u=n.data[r],a=this.optionsMap.get(u);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(Ee(n,{code:ce.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),qe)}},{key:"discriminator",get:function(){return this._def.discriminator}},{key:"options",get:function(){return this._def.options}},{key:"optionsMap",get:function(){return this._def.optionsMap}}],[{key:"create",value:function(t,n,r){var u,a=new Map,i=me(n);try{for(i.s();!(u=i.n()).done;){var o=u.value,c=Lr(o.shape[t]);if(!c.length)throw new Error("A discriminator value for key `".concat(t,"` could not be extracted from all schema options"));var l,h=me(c);try{for(h.s();!(l=h.n()).done;){var p=l.value;if(a.has(p))throw new Error("Discriminator property ".concat(String(t)," has duplicate value ").concat(String(p)));a.set(p,o)}}catch(g){h.e(g)}finally{h.f()}}}catch(g){i.e(g)}finally{i.f()}return new e(C({typeName:he.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:a},We(r)))}}])})();function Gs(e,t){var n=Rr(e),r=Rr(t);if(e===t)return{valid:!0,data:e};if(n===we.object&&r===we.object){var u,a=lt.objectKeys(t),i=lt.objectKeys(e).filter(function(F){return a.indexOf(F)!==-1}),o=C(C({},e),t),c=me(i);try{for(c.s();!(u=c.n()).done;){var l=u.value,h=Gs(e[l],t[l]);if(!h.valid)return{valid:!1};o[l]=h.data}}catch(F){c.e(F)}finally{c.f()}return{valid:!0,data:o}}if(n===we.array&&r===we.array){if(e.length!==t.length)return{valid:!1};for(var p=[],g=0;g<e.length;g++){var y=Gs(e[g],t[g]);if(!y.valid)return{valid:!1};p.push(y.data)}return{valid:!0,data:p}}return n===we.date&&r===we.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var ro=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t),r=n.status,u=n.ctx,a=function(i,o){if(xp(i)||xp(o))return qe;var c=Gs(i.value,o.value);return c.valid?((Sp(i)||Sp(o))&&r.dirty(),{status:r.value,value:c.data}):(Ee(u,{code:ce.invalid_intersection_types}),qe)};return u.common.async?Promise.all([this._def.left._parseAsync({data:u.data,path:u.path,parent:u}),this._def.right._parseAsync({data:u.data,path:u.path,parent:u})]).then(function(i){var o=ct(i,2),c=o[0],l=o[1];return a(c,l)}):a(this._def.left._parseSync({data:u.data,path:u.path,parent:u}),this._def.right._parseSync({data:u.data,path:u.path,parent:u}))}}])})();ro.create=function(e,t,n){return new ro(C({left:e,right:t,typeName:he.ZodIntersection},We(n)))};var vu=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this,r=this._processInputParams(t),u=r.status,a=r.ctx;if(a.parsedType!==we.array)return Ee(a,{code:ce.invalid_type,expected:we.array,received:a.parsedType}),qe;if(a.data.length<this._def.items.length)return Ee(a,{code:ce.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),qe;!this._def.rest&&a.data.length>this._def.items.length&&(Ee(a,{code:ce.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),u.dirty());var i=De(a.data).map(function(o,c){var l=n._def.items[c]||n._def.rest;return l?l._parse(new ir(a,o,a.path,c)):null}).filter(function(o){return!!o});return a.common.async?Promise.all(i).then(function(o){return Sn.mergeArray(u,o)}):Sn.mergeArray(u,i)}},{key:"items",get:function(){return this._def.items}},{key:"rest",value:function(t){return new e(C(C({},this._def),{},{rest:t}))}}])})();vu.create=function(e,t){if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new vu(C({items:e,typeName:he.ZodTuple,rest:null},We(t)))};var JD=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(t){var n=this._processInputParams(t),r=n.status,u=n.ctx;if(u.parsedType!==we.object)return Ee(u,{code:ce.invalid_type,expected:we.object,received:u.parsedType}),qe;var a=[],i=this._def.keyType,o=this._def.valueType;for(var c in u.data)a.push({key:i._parse(new ir(u,c,u.path,c)),value:o._parse(new ir(u,u.data[c],u.path,c)),alwaysSet:c in u.data});return u.common.async?Sn.mergeObjectAsync(r,a):Sn.mergeObjectSync(r,a)}},{key:"element",get:function(){return this._def.valueType}}],[{key:"create",value:function(t,n,r){return new e(n instanceof tt?C({keyType:t,valueType:n,typeName:he.ZodRecord},We(r)):C({keyType:Xi.create(),valueType:t,typeName:he.ZodRecord},We(n)))}}])})(),Js=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(t){var n=this._processInputParams(t),r=n.status,u=n.ctx;if(u.parsedType!==we.map)return Ee(u,{code:ce.invalid_type,expected:we.map,received:u.parsedType}),qe;var a=this._def.keyType,i=this._def.valueType,o=De(u.data.entries()).map(function(D,_){var T=ct(D,2),w=T[0],S=T[1];return{key:a._parse(new ir(u,w,u.path,[_,"key"])),value:i._parse(new ir(u,S,u.path,[_,"value"]))}});if(u.common.async){var c=new Map;return Promise.resolve().then(Xe(be().m(function D(){var _,T,w,S,x,O;return be().w(function(I){for(;;)switch(I.p=I.n){case 0:_=me(o),I.p=1,_.s();case 2:if((T=_.n()).done){I.n=7;break}return w=T.value,I.n=3,w.key;case 3:return S=I.v,I.n=4,w.value;case 4:if(x=I.v,S.status!=="aborted"&&x.status!=="aborted"){I.n=5;break}return I.a(2,qe);case 5:S.status!=="dirty"&&x.status!=="dirty"||r.dirty(),c.set(S.value,x.value);case 6:I.n=2;break;case 7:I.n=9;break;case 8:I.p=8,O=I.v,_.e(O);case 9:return I.p=9,_.f(),I.f(9);case 10:return I.a(2,{status:r.value,value:c})}},D,null,[[1,8,9,10]])})))}var l,h=new Map,p=me(o);try{for(p.s();!(l=p.n()).done;){var g=l.value,y=g.key,F=g.value;if(y.status==="aborted"||F.status==="aborted")return qe;y.status!=="dirty"&&F.status!=="dirty"||r.dirty(),h.set(y.value,F.value)}}catch(D){p.e(D)}finally{p.f()}return{status:r.value,value:h}}}])})();Js.create=function(e,t,n){return new Js(C({valueType:t,keyType:e,typeName:he.ZodMap},We(n)))};var Ks=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t),r=n.status,u=n.ctx;if(u.parsedType!==we.set)return Ee(u,{code:ce.invalid_type,expected:we.set,received:u.parsedType}),qe;var a=this._def;a.minSize!==null&&u.data.size<a.minSize.value&&(Ee(u,{code:ce.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),r.dirty()),a.maxSize!==null&&u.data.size>a.maxSize.value&&(Ee(u,{code:ce.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),r.dirty());var i=this._def.valueType;function o(l){var h,p=new Set,g=me(l);try{for(g.s();!(h=g.n()).done;){var y=h.value;if(y.status==="aborted")return qe;y.status==="dirty"&&r.dirty(),p.add(y.value)}}catch(F){g.e(F)}finally{g.f()}return{status:r.value,value:p}}var c=De(u.data.values()).map(function(l,h){return i._parse(new ir(u,l,u.path,h))});return u.common.async?Promise.all(c).then(function(l){return o(l)}):o(c)}},{key:"min",value:function(t,n){return new e(C(C({},this._def),{},{minSize:{value:t,message:Pe.toString(n)}}))}},{key:"max",value:function(t,n){return new e(C(C({},this._def),{},{maxSize:{value:t,message:Pe.toString(n)}}))}},{key:"size",value:function(t,n){return this.min(t,n).max(t,n)}},{key:"nonempty",value:function(t){return this.min(1,t)}}])})();Ks.create=function(e,t){return new Ks(C({valueType:e,minSize:null,maxSize:null,typeName:he.ZodSet},We(t)))};var KD=(function(){function e(){var t;return Ie(this,e),(t=Ze(this,e,arguments)).validate=t.implement,t}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx;if(n.parsedType!==we.function)return Ee(n,{code:ce.invalid_type,expected:we.function,received:n.parsedType}),qe;function r(l,h){return Ls({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,zs(),Ga].filter(function(p){return!!p}),issueData:{code:ce.invalid_arguments,argumentsError:h}})}function u(l,h){return Ls({data:l,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,zs(),Ga].filter(function(p){return!!p}),issueData:{code:ce.invalid_return_type,returnTypeError:h}})}var a={errorMap:n.common.contextualErrorMap},i=n.data;if(this._def.returns instanceof Ja){var o=this;return yn(Xe(be().m(function l(){var h,p,g,y,F,D,_,T=arguments;return be().w(function(w){for(;;)switch(w.n){case 0:for(h=T.length,p=new Array(h),g=0;g<h;g++)p[g]=T[g];return y=new ar([]),w.n=1,o._def.args.parseAsync(p,a).catch(function(S){throw y.addIssue(r(p,S)),y});case 1:return F=w.v,w.n=2,Reflect.apply(i,this,F);case 2:return D=w.v,w.n=3,o._def.returns._def.type.parseAsync(D,a).catch(function(S){throw y.addIssue(u(D,S)),y});case 3:return _=w.v,w.a(2,_)}},l,this)})))}var c=this;return yn(function(){for(var l=arguments.length,h=new Array(l),p=0;p<l;p++)h[p]=arguments[p];var g=c._def.args.safeParse(h,a);if(!g.success)throw new ar([r(h,g.error)]);var y=Reflect.apply(i,this,g.data),F=c._def.returns.safeParse(y,a);if(!F.success)throw new ar([u(y,F.error)]);return F.data})}},{key:"parameters",value:function(){return this._def.args}},{key:"returnType",value:function(){return this._def.returns}},{key:"args",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new e(C(C({},this._def),{},{args:vu.create(n).rest(Hu.create())}))}},{key:"returns",value:function(t){return new e(C(C({},this._def),{},{returns:t}))}},{key:"implement",value:function(t){return this.parse(t)}},{key:"strictImplement",value:function(t){return this.parse(t)}}],[{key:"create",value:function(t,n,r){return new e(C({args:t||vu.create([]).rest(Hu.create()),returns:n||Hu.create(),typeName:he.ZodFunction},We(r)))}}])})(),uo=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"schema",get:function(){return this._def.getter()}},{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx;return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}])})();uo.create=function(e,t){return new uo(C({getter:e,typeName:he.ZodLazy},We(t)))};var ao=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(t.data!==this._def.value){var n=this._getOrReturnCtx(t);return Ee(n,{received:n.data,code:ce.invalid_literal,expected:this._def.value}),qe}return{status:"valid",value:t.data}}},{key:"value",get:function(){return this._def.value}}])})();function Bp(e,t){return new io(C({values:e,typeName:he.ZodEnum},We(t)))}ao.create=function(e,t){return new ao(C({value:e,typeName:he.ZodLiteral},We(t)))};var io=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(typeof t.data!="string"){var n=this._getOrReturnCtx(t),r=this._def.values;return Ee(n,{expected:lt.joinValues(r),received:n.parsedType,code:ce.invalid_type}),qe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){var u=this._getOrReturnCtx(t),a=this._def.values;return Ee(u,{received:u.data,code:ce.invalid_enum_value,options:a}),qe}return yn(t.data)}},{key:"options",get:function(){return this._def.values}},{key:"enum",get:function(){var t,n={},r=me(this._def.values);try{for(r.s();!(t=r.n()).done;){var u=t.value;n[u]=u}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"Values",get:function(){var t,n={},r=me(this._def.values);try{for(r.s();!(t=r.n()).done;){var u=t.value;n[u]=u}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"Enum",get:function(){var t,n={},r=me(this._def.values);try{for(r.s();!(t=r.n()).done;){var u=t.value;n[u]=u}}catch(a){r.e(a)}finally{r.f()}return n}},{key:"extract",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._def;return e.create(t,C(C({},this._def),n))}},{key:"exclude",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._def;return e.create(this.options.filter(function(r){return!t.includes(r)}),C(C({},this._def),n))}}])})();io.create=Bp;var oo=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=lt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==we.string&&r.parsedType!==we.number){var u=lt.objectValues(n);return Ee(r,{expected:lt.joinValues(u),received:r.parsedType,code:ce.invalid_type}),qe}if(this._cache||(this._cache=new Set(lt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){var a=lt.objectValues(n);return Ee(r,{received:r.data,code:ce.invalid_enum_value,options:a}),qe}return yn(t.data)}},{key:"enum",get:function(){return this._def.values}}])})();oo.create=function(e,t){return new oo(C({values:e,typeName:he.ZodNativeEnum},We(t)))};var Ja=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"unwrap",value:function(){return this._def.type}},{key:"_parse",value:function(t){var n=this,r=this._processInputParams(t).ctx;if(r.parsedType!==we.promise&&r.common.async===!1)return Ee(r,{code:ce.invalid_type,expected:we.promise,received:r.parsedType}),qe;var u=r.parsedType===we.promise?r.data:Promise.resolve(r.data);return yn(u.then(function(a){return n._def.type.parseAsync(a,{path:r.path,errorMap:r.common.contextualErrorMap})}))}}])})();Ja.create=function(e,t){return new Ja(C({type:e,typeName:he.ZodPromise},We(t)))};var Ar=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"innerType",value:function(){return this._def.schema}},{key:"sourceType",value:function(){return this._def.schema._def.typeName===he.ZodEffects?this._def.schema.sourceType():this._def.schema}},{key:"_parse",value:function(t){var n=this,r=this._processInputParams(t),u=r.status,a=r.ctx,i=this._def.effect||null,o={addIssue:function(F){Ee(a,F),F.fatal?u.abort():u.dirty()},get path(){return a.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){var c=i.transform(a.data,o);if(a.common.async)return Promise.resolve(c).then((function(){var F=Xe(be().m(function D(_){var T;return be().w(function(w){for(;;)switch(w.n){case 0:if(u.value!=="aborted"){w.n=1;break}return w.a(2,qe);case 1:return w.n=2,n._def.schema._parseAsync({data:_,path:a.path,parent:a});case 2:if((T=w.v).status!=="aborted"){w.n=3;break}return w.a(2,qe);case 3:if(T.status!=="dirty"){w.n=4;break}return w.a(2,Qi(T.value));case 4:if(u.value!=="dirty"){w.n=5;break}return w.a(2,Qi(T.value));case 5:return w.a(2,T)}},D)}));return function(D){return F.apply(this,arguments)}})());if(u.value==="aborted")return qe;var l=this._def.schema._parseSync({data:c,path:a.path,parent:a});return l.status==="aborted"?qe:l.status==="dirty"||u.value==="dirty"?Qi(l.value):l}if(i.type==="refinement"){var h=function(F){var D=i.refinement(F,o);if(a.common.async)return Promise.resolve(D);if(D instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return F};if(a.common.async===!1){var p=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return p.status==="aborted"?qe:(p.status==="dirty"&&u.dirty(),h(p.value),{status:u.value,value:p.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(function(F){return F.status==="aborted"?qe:(F.status==="dirty"&&u.dirty(),h(F.value).then(function(){return{status:u.value,value:F.value}}))})}if(i.type==="transform"){if(a.common.async===!1){var g=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!qu(g))return qe;var y=i.transform(g.value,o);if(y instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:u.value,value:y}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(function(F){return qu(F)?Promise.resolve(i.transform(F.value,o)).then(function(D){return{status:u.value,value:D}}):qe})}lt.assertNever(i)}}])})();Ar.create=function(e,t,n){return new Ar(C({schema:e,typeName:he.ZodEffects,effect:t},We(n)))},Ar.createWithPreprocess=function(e,t,n){return new Ar(C({schema:t,effect:{type:"preprocess",transform:e},typeName:he.ZodEffects},We(n)))};var Er=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){return this._getType(t)===we.undefined?yn(void 0):this._def.innerType._parse(t)}},{key:"unwrap",value:function(){return this._def.innerType}}])})();Er.create=function(e,t){return new Er(C({innerType:e,typeName:he.ZodOptional},We(t)))};var mu=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){return this._getType(t)===we.null?yn(null):this._def.innerType._parse(t)}},{key:"unwrap",value:function(){return this._def.innerType}}])})();mu.create=function(e,t){return new mu(C({innerType:e,typeName:he.ZodNullable},We(t)))};var so=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx,r=n.data;return n.parsedType===we.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}},{key:"removeDefault",value:function(){return this._def.innerType}}])})();so.create=function(e,t){return new so(C({innerType:e,typeName:he.ZodDefault,defaultValue:typeof t.default=="function"?t.default:function(){return t.default}},We(t)))};var co=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this,r=this._processInputParams(t).ctx,u=C(C({},r),{},{common:C(C({},r.common),{},{issues:[]})}),a=this._def.innerType._parse({data:u.data,path:u.path,parent:C({},u)});return Yi(a)?a.then(function(i){return{status:"valid",value:i.status==="valid"?i.value:n._def.catchValue({get error(){return new ar(u.common.issues)},input:u.data})}}):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ar(u.common.issues)},input:u.data})}}},{key:"removeCatch",value:function(){return this._def.innerType}}])})();co.create=function(e,t){return new co(C({innerType:e,typeName:he.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:function(){return t.catch}},We(t)))};var Qs=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){if(this._getType(t)!==we.nan){var n=this._getOrReturnCtx(t);return Ee(n,{code:ce.invalid_type,expected:we.nan,received:n.parsedType}),qe}return{status:"valid",value:t.data}}}])})();Qs.create=function(e){return new Qs(C({typeName:he.ZodNaN},We(e)))};var he,Pp=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._processInputParams(t).ctx,r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}},{key:"unwrap",value:function(){return this._def.type}}])})(),jp=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this,r=this._processInputParams(t),u=r.status,a=r.ctx;if(a.common.async){var i=(function(){var c=Xe(be().m(function l(){var h;return be().w(function(p){for(;;)switch(p.n){case 0:return p.n=1,n._def.in._parseAsync({data:a.data,path:a.path,parent:a});case 1:if((h=p.v).status!=="aborted"){p.n=2;break}return p.a(2,qe);case 2:if(h.status!=="dirty"){p.n=3;break}return u.dirty(),p.a(2,Qi(h.value));case 3:return p.a(2,n._def.out._parseAsync({data:h.value,path:a.path,parent:a}));case 4:return p.a(2)}},l)}));return function(){return c.apply(this,arguments)}})();return i()}var o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?qe:o.status==="dirty"?(u.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}],[{key:"create",value:function(t,n){return new e({in:t,out:n,typeName:he.ZodPipeline})}}])})(),lo=(function(){function e(){return Ie(this,e),Ze(this,e,arguments)}return $e(e,tt),Be(e,[{key:"_parse",value:function(t){var n=this._def.innerType._parse(t),r=function(u){return qu(u)&&(u.value=Object.freeze(u.value)),u};return Yi(n)?n.then(function(u){return r(u)}):r(n)}},{key:"unwrap",value:function(){return this._def.innerType}}])})();lo.create=function(e,t){return new lo(C({innerType:e,typeName:he.ZodReadonly},We(t)))},Kn.lazycreate,(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(he||(he={})),Xi.create,$s.create,Qs.create,Zs.create,qs.create,Hs.create,Us.create,eo.create,to.create,Vs.create,Hu.create,zr.create,Ws.create,Uu.create,Kn.create,Kn.strictCreate,no.create,GD.create,ro.create,vu.create,JD.create,Js.create,Ks.create,KD.create,uo.create,ao.create,io.create,oo.create,Ja.create,Ar.create,Er.create,mu.create,Ar.createWithPreprocess,jp.create;var Ka=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.prefix,n=e.size,r=n===void 0?16:n,u=e.alphabet,a=u===void 0?"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz":u,i=e.separator,o=i===void 0?"-":i,c=function(){for(var l=a.length,h=new Array(r),p=0;p<r;p++)h[p]=a[Math.random()*l|0];return h.join("")};if(t==null)return c;if(a.includes(o))throw new Rm({argument:"separator",message:'The separator "'.concat(o,'" must not be part of the alphabet "').concat(a,'".')});return function(){return"".concat(t).concat(o).concat(c())}},QD=Ka();function Np(){var e,t,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:globalThis;return r.window?"runtime/browser":(e=r.navigator)!=null&&e.userAgent?"runtime/".concat(r.navigator.userAgent.toLowerCase()):(n=(t=r.process)==null?void 0:t.versions)!=null&&n.node?"runtime/node.js/".concat(r.process.version.substring(0)):r.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function gu(e){if(e==null)return{};var t={};if(e instanceof Headers)e.forEach(function(o,c){t[c.toLowerCase()]=o});else{Array.isArray(e)||(e=Object.entries(e));var n,r=Cu(e);try{for(r.s();!(n=r.n()).done;){var u=To(n.value,2),a=u[0],i=u[1];i!=null&&(t[a.toLowerCase()]=i)}}catch(o){r.e(o)}finally{r.f()}}return t}function Rp(e){for(var t=new Headers(gu(e)),n=t.get("user-agent")||"",r=arguments.length,u=new Array(r>1?r-1:0),a=1;a<r;a++)u[a-1]=arguments[a];return t.set("user-agent",[n].concat(u).filter(Boolean).join(" ")),Object.fromEntries(t.entries())}var YD=/"__proto__"\s*:/,XD=/"constructor"\s*:/;function zp(e){var t=JSON.parse(e);return t===null||Ce(t)!="object"||YD.test(e)===!1&&XD.test(e)===!1?t:(function(n){for(var r=[n];r.length;){var u=r;r=[];var a,i=Cu(u);try{for(i.s();!(a=i.n()).done;){var o=a.value;if(Object.prototype.hasOwnProperty.call(o,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(o,"constructor")&&Object.prototype.hasOwnProperty.call(o.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(var c in o){var l=o[c];l&&Ce(l)=="object"&&r.push(l)}}}catch(h){i.e(h)}finally{i.f()}}return n})(t)}var fo=Symbol.for("vercel.ai.validator");function eb(e){return(function(r){return Ce(r)=="object"&&r!==null&&fo in r&&r[fo]===!0&&"validate"in r})(e)?e:typeof e=="function"?e():(t=e,n=(function(){var r=ht(Te().m(function u(a){var i;return Te().w(function(o){for(;;)switch(o.n){case 0:return o.n=1,t["~standard"].validate(a);case 1:return i=o.v,o.a(2,i.issues==null?{success:!0,value:i.value}:{success:!1,error:new Li({value:a,cause:i.issues})})}},u)}));return function(u){return r.apply(this,arguments)}})(),Hn(Hn({},fo,!0),"validate",n));var t,n}function Lp(e){return Ys.apply(this,arguments)}function Ys(){return Ys=ht(Te().m(function e(t){var n,r,u;return Te().w(function(a){for(;;)switch(a.n){case 0:return n=t.value,r=t.schema,a.n=1,Xs({value:n,schema:r});case 1:if((u=a.v).success){a.n=2;break}throw Li.wrap({value:n,cause:u.error});case 2:return a.a(2,u.value)}},e)})),Ys.apply(this,arguments)}function Xs(e){return ec.apply(this,arguments)}function ec(){return ec=ht(Te().m(function e(t){var n,r,u,a,i;return Te().w(function(o){for(;;)switch(o.p=o.n){case 0:if(n=t.value,r=t.schema,u=eb(r),o.p=1,u.validate!=null){o.n=2;break}return o.a(2,{success:!0,value:n,rawValue:n});case 2:return o.n=3,u.validate(n);case 3:return a=o.v,o.a(2,a.success?{success:!0,value:a.value,rawValue:n}:{success:!1,error:Li.wrap({value:n,cause:a.error}),rawValue:n});case 4:return o.p=4,i=o.v,o.a(2,{success:!1,error:Li.wrap({value:n,cause:i}),rawValue:n})}},e,null,[[1,4]])})),ec.apply(this,arguments)}function po(e){return tc.apply(this,arguments)}function tc(){return tc=ht(Te().m(function e(t){var n,r,u,a,i;return Te().w(function(o){for(;;)switch(o.p=o.n){case 0:if(n=t.text,r=t.schema,o.p=1,u=(function(c){var l=Error.stackTraceLimit;try{Error.stackTraceLimit=0}catch(h){return zp(c)}try{return zp(c)}finally{Error.stackTraceLimit=l}})(n),r!=null){o.n=2;break}a={success:!0,value:u,rawValue:u},o.n=4;break;case 2:return o.n=3,Xs({value:u,schema:r});case 3:a=o.v;case 4:return o.a(2,a);case 5:return o.p=5,i=o.v,o.a(2,{success:!1,error:gd.isInstance(i)?i:new gd({text:n,cause:i}),rawValue:void 0})}},e,null,[[1,5]])})),tc.apply(this,arguments)}function Wu(e){return nc.apply(this,arguments)}function nc(){return nc=ht(Te().m(function e(t){return Te().w(function(n){for(;;)if(n.n===0)return n.a(2,(typeof t=="function"&&(t=t()),Promise.resolve(t)))},e)})),nc.apply(this,arguments)}var tb=function(e,t){for(var n=0;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString()].concat(Ke(t.slice(n))).join("/")},nb=Symbol("Let zodToJsonSchema decide on which parser to use"),Mp={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"};function $p(e,t){return Dt(e.type._def,t)}function Zp(e,t,n){var r=n!=null?n:t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map(function(u,a){return Zp(e,t,u)})};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return rb(e)}}var rb=function(e){var t,n={type:"integer",format:"unix-time"},r=Cu(e.checks);try{for(r.s();!(t=r.n()).done;){var u=t.value;switch(u.kind){case"min":n.minimum=u.value;break;case"max":n.maximum=u.value}}}catch(a){r.e(a)}finally{r.f()}return n},rc=void 0,ub=/^[cC][^\s-]{8,}$/,ab=/^[0-9a-z]+$/,ib=/^[0-9A-HJKMNP-TV-Z]{26}$/,ob=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,sb=function(){return rc===void 0&&(rc=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),rc},cb=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,lb=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fb=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,db=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,pb=/^[a-zA-Z0-9_-]{21}$/,hb=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function qp(e,t){var n={type:"string"};if(e.checks){var r,u=Cu(e.checks);try{for(u.s();!(r=u.n()).done;){var a=r.value;switch(a.kind){case"min":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,a.value):a.value;break;case"max":n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,a.value):a.value;break;case"email":switch(t.emailStrategy){case"format:email":Qn(n,"email",a.message,t);break;case"format:idn-email":Qn(n,"idn-email",a.message,t);break;case"pattern:zod":dn(n,ob,a.message,t)}break;case"url":Qn(n,"uri",a.message,t);break;case"uuid":Qn(n,"uuid",a.message,t);break;case"regex":dn(n,a.regex,a.message,t);break;case"cuid":dn(n,ub,a.message,t);break;case"cuid2":dn(n,ab,a.message,t);break;case"startsWith":dn(n,RegExp("^".concat(uc(a.value,t))),a.message,t);break;case"endsWith":dn(n,RegExp("".concat(uc(a.value,t),"$")),a.message,t);break;case"datetime":Qn(n,"date-time",a.message,t);break;case"date":Qn(n,"date",a.message,t);break;case"time":Qn(n,"time",a.message,t);break;case"duration":Qn(n,"duration",a.message,t);break;case"length":n.minLength=typeof n.minLength=="number"?Math.max(n.minLength,a.value):a.value,n.maxLength=typeof n.maxLength=="number"?Math.min(n.maxLength,a.value):a.value;break;case"includes":dn(n,RegExp(uc(a.value,t)),a.message,t);break;case"ip":a.version!=="v6"&&Qn(n,"ipv4",a.message,t),a.version!=="v4"&&Qn(n,"ipv6",a.message,t);break;case"base64url":dn(n,db,a.message,t);break;case"jwt":dn(n,hb,a.message,t);break;case"cidr":a.version!=="v6"&&dn(n,cb,a.message,t),a.version!=="v4"&&dn(n,lb,a.message,t);break;case"emoji":dn(n,sb(),a.message,t);break;case"ulid":dn(n,ib,a.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":Qn(n,"binary",a.message,t);break;case"contentEncoding:base64":n.contentEncoding="base64";break;case"pattern:zod":dn(n,fb,a.message,t)}break;case"nanoid":dn(n,pb,a.message,t)}}}catch(i){u.e(i)}finally{u.f()}}return n}function uc(e,t){return t.patternStrategy==="escape"?(function(n){for(var r="",u=0;u<n.length;u++)vb.has(n[u])||(r+="\\"),r+=n[u];return r})(e):e}var vb=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function Qn(e,t,n,r){var u;e.format||(u=e.anyOf)!=null&&u.some(function(a){return a.format})?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push(le({format:t},n&&r.errorMessages&&{errorMessage:{format:n}}))):e.format=t}function dn(e,t,n,r){var u;e.pattern||(u=e.allOf)!=null&&u.some(function(a){return a.pattern})?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push(le({pattern:Hp(t,r)},n&&r.errorMessages&&{errorMessage:{pattern:n}}))):e.pattern=Hp(t,r)}function Hp(e,t){var n;if(!t.applyRegexFlags||!e.flags)return e.source;for(var r=e.flags.includes("i"),u=e.flags.includes("m"),a=e.flags.includes("s"),i=r?e.source.toLowerCase():e.source,o="",c=!1,l=!1,h=!1,p=0;p<i.length;p++)if(c)o+=i[p],c=!1;else{if(r){if(l){if(i[p].match(/[a-z]/)){h?(o+=i[p],o+="".concat(i[p-2],"-").concat(i[p]).toUpperCase(),h=!1):i[p+1]==="-"&&((n=i[p+2])!=null&&n.match(/[a-z]/))?(o+=i[p],h=!0):o+="".concat(i[p]).concat(i[p].toUpperCase());continue}}else if(i[p].match(/[a-z]/)){o+="[".concat(i[p]).concat(i[p].toUpperCase(),"]");continue}}if(u){if(i[p]==="^"){o+=`(^|(?<=[\r
|
|
115
|
+
]))`;continue}if(i[p]==="$"){o+=`($|(?=[\r
|
|
116
|
+
]))`;continue}}a&&i[p]==="."?o+=l?"".concat(i[p],`\r
|
|
117
|
+
`):"[".concat(i[p],`\r
|
|
118
|
+
]`):(o+=i[p],i[p]==="\\"?c=!0:l&&i[p]==="]"?l=!1:l||i[p]!=="["||(l=!0))}try{new RegExp(o)}catch(g){return console.warn("Could not convert regex pattern at ".concat(t.currentPath.join("/")," to a flag-independent form! Falling back to the flag-ignorant source")),e.source}return o}function Up(e,t){var n,r,u,a,i,o,c={type:"object",additionalProperties:(n=Dt(e.valueType._def,le(le({},t),{},{currentPath:[].concat(Ke(t.currentPath),["additionalProperties"])})))!=null?n:t.allowedAdditionalProperties};if(((r=e.keyType)==null?void 0:r._def.typeName)===he.ZodString&&((u=e.keyType._def.checks)!=null&&u.length)){var l=qp(e.keyType._def,t);l.type;var h=xr(l,gv);return le(le({},c),{},{propertyNames:h})}if(((a=e.keyType)==null?void 0:a._def.typeName)===he.ZodEnum)return le(le({},c),{},{propertyNames:{enum:e.keyType._def.values}});if(((i=e.keyType)==null?void 0:i._def.typeName)===he.ZodBranded&&e.keyType._def.type._def.typeName===he.ZodString&&((o=e.keyType._def.type._def.checks)!=null&&o.length)){var p=$p(e.keyType._def,t);p.type;var g=xr(p,yv);return le(le({},c),{},{propertyNames:g})}return c}var ac={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function mb(e){try{return e.isOptional()}catch(t){return!0}}var gb=function(e,t,n){switch(t){case he.ZodString:return qp(e,n);case he.ZodNumber:return(function(r){var u={type:"number"};if(!r.checks)return u;var a,i=Cu(r.checks);try{for(i.s();!(a=i.n()).done;){var o=a.value;switch(o.kind){case"int":u.type="integer";break;case"min":o.inclusive?u.minimum=o.value:u.exclusiveMinimum=o.value;break;case"max":o.inclusive?u.maximum=o.value:u.exclusiveMaximum=o.value;break;case"multipleOf":u.multipleOf=o.value}}}catch(c){i.e(c)}finally{i.f()}return u})(e);case he.ZodObject:return(function(r,u){var a={type:"object",properties:{}},i=[],o=r.shape();for(var c in o){var l=o[c];if(l!==void 0&&l._def!==void 0){var h=mb(l),p=Dt(l._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["properties",c]),propertyPath:[].concat(Ke(u.currentPath),["properties",c])}));p!==void 0&&(a.properties[c]=p,h||i.push(c))}}i.length&&(a.required=i);var g=(function(y,F){if(y.catchall._def.typeName!=="ZodNever")return Dt(y.catchall._def,le(le({},F),{},{currentPath:[].concat(Ke(F.currentPath),["additionalProperties"])}));switch(y.unknownKeys){case"passthrough":return F.allowedAdditionalProperties;case"strict":return F.rejectedAdditionalProperties;case"strip":return F.removeAdditionalStrategy==="strict"?F.allowedAdditionalProperties:F.rejectedAdditionalProperties}})(r,u);return g!==void 0&&(a.additionalProperties=g),a})(e,n);case he.ZodBigInt:return(function(r){var u={type:"integer",format:"int64"};if(!r.checks)return u;var a,i=Cu(r.checks);try{for(i.s();!(a=i.n()).done;){var o=a.value;switch(o.kind){case"min":o.inclusive?u.minimum=o.value:u.exclusiveMinimum=o.value;break;case"max":o.inclusive?u.maximum=o.value:u.exclusiveMaximum=o.value;break;case"multipleOf":u.multipleOf=o.value}}}catch(c){i.e(c)}finally{i.f()}return u})(e);case he.ZodBoolean:return{type:"boolean"};case he.ZodDate:return Zp(e,n);case he.ZodUndefined:return{not:{}};case he.ZodNull:return{type:"null"};case he.ZodArray:return(function(r,u){var a,i,o,c={type:"array"};return(a=r.type)!=null&&a._def&&((o=(i=r.type)==null?void 0:i._def)==null?void 0:o.typeName)!==he.ZodAny&&(c.items=Dt(r.type._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items"])}))),r.minLength&&(c.minItems=r.minLength.value),r.maxLength&&(c.maxItems=r.maxLength.value),r.exactLength&&(c.minItems=r.exactLength.value,c.maxItems=r.exactLength.value),c})(e,n);case he.ZodUnion:case he.ZodDiscriminatedUnion:return(function(r,u){var a=r.options instanceof Map?Array.from(r.options.values()):r.options;if(a.every(function(l){return l._def.typeName in ac&&(!l._def.checks||!l._def.checks.length)})){var i=a.reduce(function(l,h){var p=ac[h._def.typeName];return p&&!l.includes(p)?[].concat(Ke(l),[p]):l},[]);return{type:i.length>1?i:i[0]}}if(a.every(function(l){return l._def.typeName==="ZodLiteral"&&!l.description})){var o=a.reduce(function(l,h){var p=Ce(h._def.value);switch(p){case"string":case"number":case"boolean":return[].concat(Ke(l),[p]);case"bigint":return[].concat(Ke(l),["integer"]);case"object":if(h._def.value===null)return[].concat(Ke(l),["null"]);default:return l}},[]);if(o.length===a.length){var c=o.filter(function(l,h,p){return p.indexOf(l)===h});return{type:c.length>1?c:c[0],enum:a.reduce(function(l,h){return l.includes(h._def.value)?l:[].concat(Ke(l),[h._def.value])},[])}}}else if(a.every(function(l){return l._def.typeName==="ZodEnum"}))return{type:"string",enum:a.reduce(function(l,h){return[].concat(Ke(l),Ke(h._def.values.filter(function(p){return!l.includes(p)})))},[])};return(function(l,h){var p=(l.options instanceof Map?Array.from(l.options.values()):l.options).map(function(g,y){return Dt(g._def,le(le({},h),{},{currentPath:[].concat(Ke(h.currentPath),["anyOf","".concat(y)])}))}).filter(function(g){return!!g&&(!h.strictUnions||Ce(g)=="object"&&Object.keys(g).length>0)});return p.length?{anyOf:p}:void 0})(r,u)})(e,n);case he.ZodIntersection:return(function(r,u){var a=[Dt(r.left._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["allOf","0"])})),Dt(r.right._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["allOf","1"])}))].filter(function(o){return!!o}),i=[];return a.forEach(function(o){if("type"in(l=o)&&l.type==="string"||!("allOf"in l)){var c=o;"additionalProperties"in o&&o.additionalProperties===!1&&(o.additionalProperties,c=xr(o,Dv)),i.push(c)}else i.push.apply(i,Ke(o.allOf));var l}),i.length?{allOf:i}:void 0})(e,n);case he.ZodTuple:return(function(r,u){return r.rest?{type:"array",minItems:r.items.length,items:r.items.map(function(a,i){return Dt(a._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items","".concat(i)])}))}).reduce(function(a,i){return i===void 0?a:[].concat(Ke(a),[i])},[]),additionalItems:Dt(r.rest._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["additionalItems"])}))}:{type:"array",minItems:r.items.length,maxItems:r.items.length,items:r.items.map(function(a,i){return Dt(a._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items","".concat(i)])}))}).reduce(function(a,i){return i===void 0?a:[].concat(Ke(a),[i])},[])}})(e,n);case he.ZodRecord:return Up(e,n);case he.ZodLiteral:return(function(r){var u=Ce(r.value);return u!=="bigint"&&u!=="number"&&u!=="boolean"&&u!=="string"?{type:Array.isArray(r.value)?"array":"object"}:{type:u==="bigint"?"integer":u,const:r.value}})(e);case he.ZodEnum:return(function(r){return{type:"string",enum:Array.from(r.values)}})(e);case he.ZodNativeEnum:return(function(r){var u=r.values,a=Object.keys(r.values).filter(function(o){return typeof u[u[o]]!="number"}).map(function(o){return u[o]}),i=Array.from(new Set(a.map(function(o){return Ce(o)})));return{type:i.length===1?i[0]==="string"?"string":"number":["string","number"],enum:a}})(e);case he.ZodNullable:return(function(r,u){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(r.innerType._def.typeName)&&(!r.innerType._def.checks||!r.innerType._def.checks.length))return{type:[ac[r.innerType._def.typeName],"null"]};var a=Dt(r.innerType._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["anyOf","0"])}));return a&&{anyOf:[a,{type:"null"}]}})(e,n);case he.ZodOptional:return(function(r,u){var a;if(u.currentPath.toString()===((a=u.propertyPath)==null?void 0:a.toString()))return Dt(r.innerType._def,u);var i=Dt(r.innerType._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["anyOf","1"])}));return i?{anyOf:[{not:{}},i]}:{}})(e,n);case he.ZodMap:return(function(r,u){return u.mapStrategy==="record"?Up(r,u):{type:"array",maxItems:125,items:{type:"array",items:[Dt(r.keyType._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items","items","0"])}))||{},Dt(r.valueType._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items","items","1"])}))||{}],minItems:2,maxItems:2}}})(e,n);case he.ZodSet:return(function(r,u){var a={type:"array",uniqueItems:!0,items:Dt(r.valueType._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["items"])}))};return r.minSize&&(a.minItems=r.minSize.value),r.maxSize&&(a.maxItems=r.maxSize.value),a})(e,n);case he.ZodLazy:return function(){return e.getter()._def};case he.ZodPromise:return(function(r,u){return Dt(r.type._def,u)})(e,n);case he.ZodNaN:case he.ZodNever:return{not:{}};case he.ZodEffects:return(function(r,u){return u.effectStrategy==="input"?Dt(r.schema._def,u):{}})(e,n);case he.ZodAny:case he.ZodUnknown:return{};case he.ZodDefault:return(function(r,u){return le(le({},Dt(r.innerType._def,u)),{},{default:r.defaultValue()})})(e,n);case he.ZodBranded:return $p(e,n);case he.ZodReadonly:case he.ZodCatch:return(function(r,u){return Dt(r.innerType._def,u)})(e,n);case he.ZodPipeline:return(function(r,u){if(u.pipeStrategy==="input")return Dt(r.in._def,u);if(u.pipeStrategy==="output")return Dt(r.out._def,u);var a=Dt(r.in._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["allOf","0"])}));return{allOf:[a,Dt(r.out._def,le(le({},u),{},{currentPath:[].concat(Ke(u.currentPath),["allOf",a?"1":"0"])}))].filter(function(i){return i!==void 0})}})(e,n);case he.ZodFunction:case he.ZodVoid:case he.ZodSymbol:default:return}};function Dt(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],u=t.seen.get(e);if(t.override){var a=(n=t.override)==null?void 0:n.call(t,e,t,u,r);if(a!==nb)return a}if(u&&!r){var i=yb(u,t);if(i!==void 0)return i}var o={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,o);var c=gb(e,e.typeName,t),l=typeof c=="function"?Dt(c(),t):c;if(l&&Db(e,t,l),t.postProcess){var h=t.postProcess(l,e,t);return o.jsonSchema=l,h}return o.jsonSchema=l,l}var yb=function(e,t){switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:tb(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every(function(n,r){return t.currentPath[r]===n})?(console.warn("Recursive reference detected at ".concat(t.currentPath.join("/"),"! Defaulting to any")),{}):t.$refStrategy==="seen"?{}:void 0}},Db=function(e,t,n){return e.description&&(n.description=e.description),n},bb=function(e,t){var n,r=(function(l){var h=(function(g){return typeof g=="string"?le(le({},Mp),{},{name:g}):le(le({},Mp),g)})(l),p=h.name!==void 0?[].concat(Ke(h.basePath),[h.definitionPath,h.name]):h.basePath;return le(le({},h),{},{currentPath:p,propertyPath:void 0,seen:new Map(Object.entries(h.definitions).map(function(g){var y=To(g,2),F=y[0],D=y[1];return[D._def,{def:D._def,path:[].concat(Ke(h.basePath),[h.definitionPath,F]),jsonSchema:void 0}]}))})})(t),u=Ce(t)=="object"&&t.definitions?Object.entries(t.definitions).reduce(function(l,h){var p,g=To(h,2),y=g[0],F=g[1];return le(le({},l),{},Hn({},y,(p=Dt(F._def,le(le({},r),{},{currentPath:[].concat(Ke(r.basePath),[r.definitionPath,y])}),!0))!=null?p:{}))},{}):void 0,a=typeof t=="string"?t:(t==null?void 0:t.nameStrategy)==="title"||t==null?void 0:t.name,i=(n=Dt(e._def,a===void 0?r:le(le({},r),{},{currentPath:[].concat(Ke(r.basePath),[r.definitionPath,a])}),!1))!=null?n:{},o=Ce(t)=="object"&&t.name!==void 0&&t.nameStrategy==="title"?t.name:void 0;o!==void 0&&(i.title=o);var c=a===void 0?u?le(le({},i),{},Hn({},r.definitionPath,u)):i:Hn({$ref:[].concat(Ke(r.$refStrategy==="relative"?[]:r.basePath),[r.definitionPath,a]).join("/")},r.definitionPath,le(le({},u),{},Hn({},a,i)));return c.$schema="http://json-schema.org/draft-07/schema#",c};function Vp(e,t){return(function(n){return"_zod"in n})(e)?(function(n){return oc(function(){return(function(u,a){if(u instanceof Xd){var i,o=new fp(a),c={},l=me(u._idmap.entries());try{for(l.s();!(i=l.n()).done;){var h=ct(i.value,2),p=(h[0],h[1]);o.process(p)}}catch(O){l.e(O)}finally{l.f()}var g,y={},F={registry:u,uri:a==null?void 0:a.uri,defs:c},D=me(u._idmap.entries());try{for(D.s();!(g=D.n()).done;){var _=ct(g.value,2),T=_[0],w=_[1];y[T]=o.emit(w,C(C({},a),{},{external:F}))}}catch(O){D.e(O)}finally{D.f()}if(Object.keys(c).length>0){var S=o.target==="draft-2020-12"?"$defs":"definitions";y.__shared=it({},S,c)}return{schemas:y}}var x=new fp(a);return x.process(u),x.emit(u,a)})(n,{target:"draft-7",io:"output",reused:"inline"})},{validate:(r=ht(Te().m(function u(a){var i;return Te().w(function(o){for(;;)switch(o.n){case 0:return o.n=1,dp(n,a);case 1:return i=o.v,o.a(2,i.success?{success:!0,value:i.data}:{success:!1,error:i.error})}},u)})),function(u){return r.apply(this,arguments)})});var r})(e):(function(n){return oc(function(){return bb(n,{$refStrategy:"none"})},{validate:(r=ht(Te().m(function u(a){var i;return Te().w(function(o){for(;;)switch(o.n){case 0:return o.n=1,n.safeParseAsync(a);case 1:return i=o.v,o.a(2,i.success?{success:!0,value:i.data}:{success:!1,error:i.error})}},u)})),function(u){return r.apply(this,arguments)})});var r})(e)}var ic=Symbol.for("vercel.ai.schema");function oc(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).validate;return Hn((function(n,r,u,a){var i={configurable:!0,enumerable:!0};return i[n]=a,Object.defineProperty(r,u,i)})("get",Hn(Hn(Hn({},ic,!0),"_type",void 0),fo,!0),"jsonSchema",function(){return typeof e=="function"&&(e=e()),e}),"validate",t)}var Wp,Ab=Object.defineProperty,Gp="AI_NoObjectGeneratedError",Jp="vercel.ai.error.".concat(Gp),Eb=Symbol.for(Jp),Kp=(function(){function e(t){var n,r=t.message,u=r===void 0?"No object generated.":r,a=t.cause,i=t.text,o=t.response,c=t.usage,l=t.finishReason;return Zn(this,e),(n=tu(this,e,[{name:Gp,message:u,cause:a}]))[Wp]=!0,n.text=i,n.response=o,n.usage=c,n.finishReason=l,n}return nu(e,Br),qn(e,null,[{key:"isInstance",value:function(t){return Br.hasMarker(t,Jp)}}])})();Wp=Eb;var Qp="5.0.93",Yp=Nn([Re(),Ki(Uint8Array),Ki(ArrayBuffer),wp(function(e){var t,n;return(n=(t=globalThis.Buffer)==null?void 0:t.isBuffer(e))!=null&&n},{message:"Must be a Buffer"})]),Qa=new CD({type:"lazy",getter:function(){return Nn([lD(),Re(),iD(),gn(),js(Re(),Qa),Zu(Qa)])}}),Rt=js(Re(),js(Re(),Qa)),Xp=rn({type:Ye("text"),text:Re(),providerOptions:Rt.optional()}),Fb=rn({type:Ye("image"),image:Nn([Yp,Ki(URL)]),mediaType:Re().optional(),providerOptions:Rt.optional()}),eh=rn({type:Ye("file"),data:Nn([Yp,Ki(URL)]),filename:Re().optional(),mediaType:Re(),providerOptions:Rt.optional()}),_b=rn({type:Ye("reasoning"),text:Re(),providerOptions:Rt.optional()}),Cb=rn({type:Ye("tool-call"),toolCallId:Re(),toolName:Re(),input:ur(),providerOptions:Rt.optional(),providerExecuted:gn().optional()}),kb=new hD(C({type:"union",options:[rn({type:Ye("text"),value:Re()}),rn({type:Ye("json"),value:Qa}),rn({type:Ye("error-text"),value:Re()}),rn({type:Ye("error-json"),value:Qa}),rn({type:Ye("content"),value:Zu(Nn([rn({type:Ye("text"),text:Re()}),rn({type:Ye("media"),data:Re(),mediaType:Re()})]))})],discriminator:"type"},xe(void 0))),th=rn({type:Ye("tool-result"),toolCallId:Re(),toolName:Re(),output:kb,providerOptions:Rt.optional()}),wb=rn({role:Ye("system"),content:Re(),providerOptions:Rt.optional()}),xb=rn({role:Ye("user"),content:Nn([Re(),Zu(Nn([Xp,Fb,eh]))]),providerOptions:Rt.optional()}),Sb=rn({role:Ye("assistant"),content:Nn([Re(),Zu(Nn([Xp,eh,_b,Cb,th]))]),providerOptions:Rt.optional()});Nn([wb,xb,Sb,rn({role:Ye("tool"),content:Zu(th),providerOptions:Rt.optional()})]),Ka({prefix:"aitxt",size:24}),TransformStream;var Tb=(function(){var e;return function(){return e==null&&(e=Vp(Nn([It({type:Ye("text-start"),id:Re(),providerMetadata:Rt.optional()}),It({type:Ye("text-delta"),id:Re(),delta:Re(),providerMetadata:Rt.optional()}),It({type:Ye("text-end"),id:Re(),providerMetadata:Rt.optional()}),It({type:Ye("error"),errorText:Re()}),It({type:Ye("tool-input-start"),toolCallId:Re(),toolName:Re(),providerExecuted:gn().optional(),dynamic:gn().optional()}),It({type:Ye("tool-input-delta"),toolCallId:Re(),inputTextDelta:Re()}),It({type:Ye("tool-input-available"),toolCallId:Re(),toolName:Re(),input:ur(),providerExecuted:gn().optional(),providerMetadata:Rt.optional(),dynamic:gn().optional()}),It({type:Ye("tool-input-error"),toolCallId:Re(),toolName:Re(),input:ur(),providerExecuted:gn().optional(),providerMetadata:Rt.optional(),dynamic:gn().optional(),errorText:Re()}),It({type:Ye("tool-output-available"),toolCallId:Re(),output:ur(),providerExecuted:gn().optional(),dynamic:gn().optional(),preliminary:gn().optional()}),It({type:Ye("tool-output-error"),toolCallId:Re(),errorText:Re(),providerExecuted:gn().optional(),dynamic:gn().optional()}),It({type:Ye("reasoning-start"),id:Re(),providerMetadata:Rt.optional()}),It({type:Ye("reasoning-delta"),id:Re(),delta:Re(),providerMetadata:Rt.optional()}),It({type:Ye("reasoning-end"),id:Re(),providerMetadata:Rt.optional()}),It({type:Ye("source-url"),sourceId:Re(),url:Re(),title:Re().optional(),providerMetadata:Rt.optional()}),It({type:Ye("source-document"),sourceId:Re(),mediaType:Re(),title:Re(),filename:Re().optional(),providerMetadata:Rt.optional()}),It({type:Ye("file"),url:Re(),mediaType:Re(),providerMetadata:Rt.optional()}),It({type:wp(function(t){return typeof t=="string"&&t.startsWith("data-")},{message:'Type must start with "data-"'}),id:Re().optional(),data:ur(),transient:gn().optional()}),It({type:Ye("start-step")}),It({type:Ye("finish-step")}),It({type:Ye("start"),messageId:Re().optional(),messageMetadata:ur().optional()}),It({type:Ye("finish"),finishReason:bp(["stop","length","content-filter","tool-calls","error","other","unknown"]).optional(),messageMetadata:ur().optional()}),It({type:Ye("abort")}),It({type:Ye("message-metadata"),messageMetadata:ur()})]))),e}})();function nh(e,t){if(e!==void 0||t!==void 0){if(e===void 0)return t;if(t===void 0)return e;var n=le({},e);for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var u=t[r];if(u===void 0)continue;var a=r in e?e[r]:void 0,i=!(u===null||Ce(u)!="object"||Array.isArray(u)||u instanceof Date||u instanceof RegExp),o=!(a==null||Ce(a)!="object"||Array.isArray(a)||a instanceof Date||a instanceof RegExp);n[r]=i&&o?nh(a,u):u}return n}}function Ob(e){var t=["ROOT"],n=-1,r=null;function u(y,F,D){switch(y){case'"':n=F,t.pop(),t.push(D),t.push("INSIDE_STRING");break;case"f":case"t":case"n":n=F,r=F,t.pop(),t.push(D),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(D),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=F,t.pop(),t.push(D),t.push("INSIDE_NUMBER");break;case"{":n=F,t.pop(),t.push(D),t.push("INSIDE_OBJECT_START");break;case"[":n=F,t.pop(),t.push(D),t.push("INSIDE_ARRAY_START")}}function a(y,F){switch(y){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":n=F,t.pop()}}function i(y,F){switch(y){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=F,t.pop()}}for(var o=0;o<e.length;o++){var c=e[o];switch(t[t.length-1]){case"ROOT":u(c,o,"FINISH");break;case"INSIDE_OBJECT_START":switch(c){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":n=o,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":c==='"'&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break;case"INSIDE_OBJECT_KEY":c==='"'&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break;case"INSIDE_OBJECT_AFTER_KEY":c===":"&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break;case"INSIDE_OBJECT_BEFORE_VALUE":u(c,o,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":a(c,o);break;case"INSIDE_STRING":switch(c){case'"':t.pop(),n=o;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:n=o}break;case"INSIDE_ARRAY_START":c==="]"?(n=o,t.pop()):(n=o,u(c,o,"INSIDE_ARRAY_AFTER_VALUE"));break;case"INSIDE_ARRAY_AFTER_VALUE":switch(c){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=o,t.pop();break;default:n=o}break;case"INSIDE_ARRAY_AFTER_COMMA":u(c,o,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),n=o;break;case"INSIDE_NUMBER":switch(c){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=o;break;case"e":case"E":case"-":case".":break;case",":t.pop(),t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&i(c,o),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&a(c,o);break;case"}":t.pop(),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&a(c,o);break;case"]":t.pop(),t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&i(c,o);break;default:t.pop()}break;case"INSIDE_LITERAL":var l=e.substring(r,o+1);"false".startsWith(l)||"true".startsWith(l)||"null".startsWith(l)?n=o:(t.pop(),t[t.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?a(c,o):t[t.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&i(c,o))}}for(var h=e.slice(0,n+1),p=t.length-1;p>=0;p--)switch(t[p]){case"INSIDE_STRING":h+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":h+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":h+="]";break;case"INSIDE_LITERAL":var g=e.substring(r,e.length);"true".startsWith(g)?h+="true".slice(g.length):"false".startsWith(g)?h+="false".slice(g.length):"null".startsWith(g)&&(h+="null".slice(g.length))}return h}function rh(e){return sc.apply(this,arguments)}function sc(){return sc=ht(Te().m(function e(t){var n,r;return Te().w(function(u){for(;;)switch(u.n){case 0:if(t!==void 0){u.n=1;break}return u.a(2,{value:void 0,state:"undefined-input"});case 1:return u.n=2,po({text:t});case 2:if(!(n=u.v).success){u.n=3;break}r={value:n.value,state:"successful-parse"},u.n=5;break;case 3:return u.n=4,po({text:Ob(t)});case 4:n=u.v,r=n.success?{value:n.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"};case 5:return u.a(2,r)}},e)})),sc.apply(this,arguments)}function ho(e){return e.type.startsWith("tool-")}function cc(e){return ho(e)||(function(t){return t.type==="dynamic-tool"})(e)}function uh(e){return e.type.split("-").slice(1).join("-")}function Ib(e){var t=e.lastMessage,n=e.messageId;return{message:(t==null?void 0:t.role)==="assistant"?t:{id:n,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function Bb(e){var t=e.stream,n=e.messageMetadataSchema,r=e.dataPartSchemas,u=e.runUpdateMessageJob,a=e.onError,i=e.onToolCall,o=e.onData;return t.pipeThrough(new TransformStream({transform:function(c,l){return ht(Te().m(function h(){return Te().w(function(p){for(;;)switch(p.n){case 0:return p.n=1,u((function(){var g=ht(Te().m(function y(F){var D,_,T,w,S,x,O,I,B,d,q,N,Z,z,H,L,K,J,W,ee,ue,ye,oe,ae,Y,ie,re,de,pe;return Te().w(function(ve){for(;;)switch(ve.n){case 0:N=function(){return N=ht(Te().m(function ke(ze){var Se;return Te().w(function(je){for(;;)switch(je.n){case 0:if(ze==null){je.n=2;break}if(Se=D.message.metadata!=null?nh(D.message.metadata,ze):ze,n==null){je.n=1;break}return je.n=1,Lp({value:Se,schema:n});case 1:D.message.metadata=Se;case 2:return je.a(2)}},ke)})),N.apply(this,arguments)},q=function(ke){return N.apply(this,arguments)},d=function(ke){var ze,Se,je=D.message.parts.find(function(Bt){return Bt.type==="dynamic-tool"&&Bt.toolCallId===ke.toolCallId}),Me=ke,ft=je;je!=null?(je.state=ke.state,ft.toolName=ke.toolName,ft.input=Me.input,ft.output=Me.output,ft.errorText=Me.errorText,ft.rawInput=(ze=Me.rawInput)!=null?ze:ft.rawInput,ft.preliminary=Me.preliminary,ft.providerExecuted=(Se=Me.providerExecuted)!=null?Se:je.providerExecuted,Me.providerMetadata!=null&&je.state==="input-available"&&(je.callProviderMetadata=Me.providerMetadata)):D.message.parts.push(le({type:"dynamic-tool",toolName:ke.toolName,toolCallId:ke.toolCallId,state:ke.state,input:Me.input,output:Me.output,errorText:Me.errorText,preliminary:Me.preliminary,providerExecuted:Me.providerExecuted},Me.providerMetadata!=null?{callProviderMetadata:Me.providerMetadata}:{}))},B=function(ke){var ze,Se=D.message.parts.find(function(ft){return ho(ft)&&ft.toolCallId===ke.toolCallId}),je=ke,Me=Se;Se!=null?(Se.state=ke.state,Me.input=je.input,Me.output=je.output,Me.errorText=je.errorText,Me.rawInput=je.rawInput,Me.preliminary=je.preliminary,Me.providerExecuted=(ze=je.providerExecuted)!=null?ze:Se.providerExecuted,je.providerMetadata!=null&&Se.state==="input-available"&&(Se.callProviderMetadata=je.providerMetadata)):D.message.parts.push(le({type:"tool-".concat(ke.toolName),toolCallId:ke.toolCallId,state:ke.state,input:je.input,output:je.output,rawInput:je.rawInput,errorText:je.errorText,providerExecuted:je.providerExecuted,preliminary:je.preliminary},je.providerMetadata!=null?{callProviderMetadata:je.providerMetadata}:{}))},I=function(ke){var ze=D.message.parts.filter(function(Se){return Se.type==="dynamic-tool"}).find(function(Se){return Se.toolCallId===ke});if(ze==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return ze},O=function(ke){var ze=D.message.parts.filter(ho).find(function(Se){return Se.toolCallId===ke});if(ze==null)throw new Error("tool-output-error must be preceded by a tool-input-available");return ze},D=F.state,_=F.write,pe=c.type,ve.n=pe==="text-start"?1:pe==="text-delta"?2:pe==="text-end"?3:pe==="reasoning-start"?4:pe==="reasoning-delta"?5:pe==="reasoning-end"?6:pe==="file"?7:pe==="source-url"?8:pe==="source-document"?9:pe==="tool-input-start"?10:pe==="tool-input-delta"?11:pe==="tool-input-available"?13:pe==="tool-input-error"?15:pe==="tool-output-available"?16:pe==="tool-output-error"?17:pe==="start-step"?18:pe==="finish-step"?19:pe==="start"?20:pe==="finish"?22:pe==="message-metadata"?24:pe==="error"?26:27;break;case 1:return Z={type:"text",text:"",providerMetadata:c.providerMetadata,state:"streaming"},D.activeTextParts[c.id]=Z,D.message.parts.push(Z),_(),ve.a(3,30);case 2:return(z=D.activeTextParts[c.id]).text+=c.delta,z.providerMetadata=(T=c.providerMetadata)!=null?T:z.providerMetadata,_(),ve.a(3,30);case 3:return(H=D.activeTextParts[c.id]).state="done",H.providerMetadata=(w=c.providerMetadata)!=null?w:H.providerMetadata,delete D.activeTextParts[c.id],_(),ve.a(3,30);case 4:return L={type:"reasoning",text:"",providerMetadata:c.providerMetadata,state:"streaming"},D.activeReasoningParts[c.id]=L,D.message.parts.push(L),_(),ve.a(3,30);case 5:return(K=D.activeReasoningParts[c.id]).text+=c.delta,K.providerMetadata=(S=c.providerMetadata)!=null?S:K.providerMetadata,_(),ve.a(3,30);case 6:return(J=D.activeReasoningParts[c.id]).providerMetadata=(x=c.providerMetadata)!=null?x:J.providerMetadata,J.state="done",delete D.activeReasoningParts[c.id],_(),ve.a(3,30);case 7:return D.message.parts.push({type:"file",mediaType:c.mediaType,url:c.url}),_(),ve.a(3,30);case 8:return D.message.parts.push({type:"source-url",sourceId:c.sourceId,url:c.url,title:c.title,providerMetadata:c.providerMetadata}),_(),ve.a(3,30);case 9:return D.message.parts.push({type:"source-document",sourceId:c.sourceId,mediaType:c.mediaType,title:c.title,filename:c.filename,providerMetadata:c.providerMetadata}),_(),ve.a(3,30);case 10:return W=D.message.parts.filter(ho),D.partialToolCalls[c.toolCallId]={text:"",toolName:c.toolName,index:W.length,dynamic:c.dynamic},c.dynamic?d({toolCallId:c.toolCallId,toolName:c.toolName,state:"input-streaming",input:void 0,providerExecuted:c.providerExecuted}):B({toolCallId:c.toolCallId,toolName:c.toolName,state:"input-streaming",input:void 0,providerExecuted:c.providerExecuted}),_(),ve.a(3,30);case 11:return(ee=D.partialToolCalls[c.toolCallId]).text+=c.inputTextDelta,ve.n=12,rh(ee.text);case 12:return ue=ve.v,ye=ue.value,ee.dynamic?d({toolCallId:c.toolCallId,toolName:ee.toolName,state:"input-streaming",input:ye}):B({toolCallId:c.toolCallId,toolName:ee.toolName,state:"input-streaming",input:ye}),_(),ve.a(3,30);case 13:if(c.dynamic?d({toolCallId:c.toolCallId,toolName:c.toolName,state:"input-available",input:c.input,providerExecuted:c.providerExecuted,providerMetadata:c.providerMetadata}):B({toolCallId:c.toolCallId,toolName:c.toolName,state:"input-available",input:c.input,providerExecuted:c.providerExecuted,providerMetadata:c.providerMetadata}),_(),!(i&&!c.providerExecuted)){ve.n=14;break}return ve.n=14,i({toolCall:c});case 14:return ve.a(3,30);case 15:return c.dynamic?d({toolCallId:c.toolCallId,toolName:c.toolName,state:"output-error",input:c.input,errorText:c.errorText,providerExecuted:c.providerExecuted,providerMetadata:c.providerMetadata}):B({toolCallId:c.toolCallId,toolName:c.toolName,state:"output-error",input:void 0,rawInput:c.input,errorText:c.errorText,providerExecuted:c.providerExecuted,providerMetadata:c.providerMetadata}),_(),ve.a(3,30);case 16:return c.dynamic?(oe=I(c.toolCallId),d({toolCallId:c.toolCallId,toolName:oe.toolName,state:"output-available",input:oe.input,output:c.output,preliminary:c.preliminary})):(ae=O(c.toolCallId),B({toolCallId:c.toolCallId,toolName:uh(ae),state:"output-available",input:ae.input,output:c.output,providerExecuted:c.providerExecuted,preliminary:c.preliminary})),_(),ve.a(3,30);case 17:return c.dynamic?(Y=I(c.toolCallId),d({toolCallId:c.toolCallId,toolName:Y.toolName,state:"output-error",input:Y.input,errorText:c.errorText,providerExecuted:c.providerExecuted})):(ie=O(c.toolCallId),B({toolCallId:c.toolCallId,toolName:uh(ie),state:"output-error",input:ie.input,rawInput:ie.rawInput,errorText:c.errorText,providerExecuted:c.providerExecuted})),_(),ve.a(3,30);case 18:return D.message.parts.push({type:"step-start"}),ve.a(3,30);case 19:return D.activeTextParts={},D.activeReasoningParts={},ve.a(3,30);case 20:return c.messageId!=null&&(D.message.id=c.messageId),ve.n=21,q(c.messageMetadata);case 21:return c.messageId==null&&c.messageMetadata==null||_(),ve.a(3,30);case 22:return c.finishReason!=null&&(D.finishReason=c.finishReason),ve.n=23,q(c.messageMetadata);case 23:return c.messageMetadata!=null&&_(),ve.a(3,30);case 24:return ve.n=25,q(c.messageMetadata);case 25:return c.messageMetadata!=null&&_(),ve.a(3,30);case 26:return a==null||a(new Error(c.errorText)),ve.a(3,30);case 27:if(!(function(ke){return ke.type.startsWith("data-")})(c)){ve.n=30;break}if((r==null?void 0:r[c.type])==null){ve.n=28;break}return ve.n=28,Lp({value:c.data,schema:r[c.type]});case 28:if(!(re=c).transient){ve.n=29;break}return o==null||o(re),ve.a(3,30);case 29:de=re.id!=null?D.message.parts.find(function(ke){return re.type===ke.type&&re.id===ke.id}):void 0,de!=null?de.data=re.data:D.message.parts.push(re),o==null||o(re),_();case 30:l.enqueue(c);case 31:return ve.a(2)}},y)}));return function(y){return g.apply(this,arguments)}})());case 1:return p.a(2)}},h)}))()}}))}Ka({prefix:"aitxt",size:24}),Ka({prefix:"aiobj",size:24});var Pb=(function(){return qn(function n(){Zn(this,n),this.queue=[],this.isProcessing=!1},[{key:"processQueue",value:(t=ht(Te().m(function n(){return Te().w(function(r){for(;;)switch(r.n){case 0:if(this.isProcessing){r.n=5;break}this.isProcessing=!0;case 1:if(!(this.queue.length>0)){r.n=4;break}return r.n=2,this.queue[0]();case 2:this.queue.shift();case 3:r.n=1;break;case 4:this.isProcessing=!1;case 5:return r.a(2)}},n,this)})),function(){return t.apply(this,arguments)})},{key:"run",value:(e=ht(Te().m(function n(r){var u=this;return Te().w(function(a){for(;;)if(a.n===0)return a.a(2,new Promise(function(i,o){u.queue.push(ht(Te().m(function c(){var l;return Te().w(function(h){for(;;)switch(h.p=h.n){case 0:return h.p=0,h.n=1,r();case 1:i(),h.n=3;break;case 2:h.p=2,l=h.v,o(l);case 3:return h.a(2)}},c,null,[[0,2]])}))),u.processQueue()}))},n)})),function(n){return e.apply(this,arguments)})}]);var e,t})();Ka({prefix:"aiobj",size:24}),(function(e,t){for(var n in t)Ab(e,n,{get:t[n],enumerable:!0})})({},{object:function(){return Nb},text:function(){return jb}});var ah,ih,jb=function(){return{type:"text",responseFormat:{type:"text"},parsePartial:(t=ht(Te().m(function n(r){var u;return Te().w(function(a){for(;;)if(a.n===0)return u=r.text,a.a(2,{partial:u})},n)})),function(n){return t.apply(this,arguments)}),parseOutput:(e=ht(Te().m(function n(r){var u;return Te().w(function(a){for(;;)if(a.n===0)return u=r.text,a.a(2,u)},n)})),function(n){return e.apply(this,arguments)})};var e,t},Nb=function(e){var t=(function(n){return n==null?oc({properties:{},additionalProperties:!1}):Ce(r=n)=="object"&&r!==null&&ic in r&&r[ic]===!0&&"jsonSchema"in r&&"validate"in r?n:typeof n=="function"?n():Vp(n);var r})(e.schema);return{type:"object",responseFormat:{type:"json",schema:t.jsonSchema},parsePartial:function(n){return ht(Te().m(function r(){var u,a,i,o;return Te().w(function(c){for(;;)switch(c.n){case 0:return u=n.text,c.n=1,rh(u);case 1:a=c.v,o=a.state,c.n=o==="failed-parse"||o==="undefined-input"?2:o==="repaired-parse"||o==="successful-parse"?3:4;break;case 2:case 5:return c.a(2);case 3:return c.a(2,{partial:a.value});case 4:throw i=a.state,new Error("Unsupported parse state: ".concat(i))}},r)}))()},parseOutput:function(n,r){return ht(Te().m(function u(){var a,i,o;return Te().w(function(c){for(;;)switch(c.n){case 0:return a=n.text,c.n=1,po({text:a});case 1:if((i=c.v).success){c.n=2;break}throw new Kp({message:"No object generated: could not parse the response.",cause:i.error,text:a,response:r.response,usage:r.usage,finishReason:r.finishReason});case 2:return c.n=3,Xs({value:i.value,schema:t});case 3:if((o=c.v).success){c.n=4;break}throw new Kp({message:"No object generated: response did not match schema.",cause:o.error,text:a,response:r.response,usage:r.usage,finishReason:r.finishReason});case 4:return c.a(2,o.value)}},u)}))()}}},Rb=(function(){return qn(function n(r){var u=r.api,a=u===void 0?"/api/chat":u,i=r.credentials,o=r.headers,c=r.body,l=r.fetch,h=r.prepareSendMessagesRequest,p=r.prepareReconnectToStreamRequest;Zn(this,n),this.api=a,this.credentials=i,this.headers=o,this.body=c,this.fetch=l,this.prepareSendMessagesRequest=h,this.prepareReconnectToStreamRequest=p},[{key:"sendMessages",value:(t=ht(Te().m(function n(r){var u,a,i,o,c,l,h,p,g,y,F,D,_,T,w,S,x,O,I,B;return Te().w(function(d){for(;;)switch(d.n){case 0:return u=r.abortSignal,a=xr(r,bv),d.n=1,Wu(this.body);case 1:return p=d.v,d.n=2,Wu(this.headers);case 2:return g=d.v,d.n=3,Wu(this.credentials);case 3:return y=d.v,F=le(le({},gu(g)),gu(a.headers)),d.n=4,(i=this.prepareSendMessagesRequest)==null?void 0:i.call(this,{api:this.api,id:a.chatId,messages:a.messages,body:le(le({},p),a.body),headers:F,credentials:y,requestMetadata:a.metadata,trigger:a.trigger,messageId:a.messageId});case 4:return D=d.v,_=(o=D==null?void 0:D.api)!=null?o:this.api,T=(D==null?void 0:D.headers)!==void 0?gu(D.headers):F,w=(D==null?void 0:D.body)!==void 0?D.body:le(le(le({},p),a.body),{},{id:a.chatId,messages:a.messages,trigger:a.trigger,messageId:a.messageId}),S=(c=D==null?void 0:D.credentials)!=null?c:y,x=(l=this.fetch)!=null?l:globalThis.fetch,d.n=5,x(_,{method:"POST",headers:Rp(le({"Content-Type":"application/json"},T),"ai-sdk/".concat(Qp),Np()),body:JSON.stringify(w),credentials:S,signal:u});case 5:if((O=d.v).ok){d.n=9;break}return I=Error,d.n=6,O.text();case 6:if((h=d.v)==null){d.n=7;break}B=h,d.n=8;break;case 7:B="Failed to fetch the chat response.";case 8:throw new I(B);case 9:if(O.body){d.n=10;break}throw new Error("The response body is empty.");case 10:return d.a(2,this.processResponseStream(O.body))}},n,this)})),function(n){return t.apply(this,arguments)})},{key:"reconnectToStream",value:(e=ht(Te().m(function n(r){var u,a,i,o,c,l,h,p,g,y,F,D,_,T,w,S,x;return Te().w(function(O){for(;;)switch(O.n){case 0:return O.n=1,Wu(this.body);case 1:return l=O.v,O.n=2,Wu(this.headers);case 2:return h=O.v,O.n=3,Wu(this.credentials);case 3:return p=O.v,g=le(le({},gu(h)),gu(r.headers)),O.n=4,(u=this.prepareReconnectToStreamRequest)==null?void 0:u.call(this,{api:this.api,id:r.chatId,body:le(le({},l),r.body),headers:g,credentials:p,requestMetadata:r.metadata});case 4:return y=O.v,F=(a=y==null?void 0:y.api)!=null?a:"".concat(this.api,"/").concat(r.chatId,"/stream"),D=(y==null?void 0:y.headers)!==void 0?gu(y.headers):g,_=(i=y==null?void 0:y.credentials)!=null?i:p,T=(o=this.fetch)!=null?o:globalThis.fetch,O.n=5,T(F,{method:"GET",headers:Rp(D,"ai-sdk/".concat(Qp),Np()),credentials:_});case 5:if((w=O.v).status!==204){O.n=6;break}return O.a(2,null);case 6:if(w.ok){O.n=10;break}return S=Error,O.n=7,w.text();case 7:if((c=O.v)==null){O.n=8;break}x=c,O.n=9;break;case 8:x="Failed to fetch the chat response.";case 9:throw new S(x);case 10:if(w.body){O.n=11;break}throw new Error("The response body is empty.");case 11:return O.a(2,this.processResponseStream(w.body))}},n,this)})),function(n){return e.apply(this,arguments)})}]);var e,t})(),oh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Zn(this,e),tu(this,e,[t])}return nu(e,Rb),qn(e,[{key:"processResponseStream",value:function(t){return(function(n){var r=n.schema;return n.stream.pipeThrough(new TextDecoderStream).pipeThrough(new Mm).pipeThrough(new TransformStream({transform:function(u,a){return ht(Te().m(function i(){var o,c;return Te().w(function(l){for(;;)switch(l.n){case 0:if(o=u.data,o==="[DONE]"){l.n=2;break}return c=a,l.n=1,po({text:o,schema:r});case 1:c.enqueue.call(c,l.v);case 2:return l.a(2)}},i)}))()}}))})({stream:t,schema:Tb}).pipeThrough(new TransformStream({transform:function(n,r){return ht(Te().m(function u(){return Te().w(function(a){for(;;)switch(a.n){case 0:if(n.success){a.n=1;break}throw n.error;case 1:r.enqueue(n.value);case 2:return a.a(2)}},u)}))()}}))}}])})(),zb=(function(){return qn(function t(n){var r=this,u=n.generateId,a=u===void 0?QD:u,i=n.id,o=i===void 0?a():i,c=n.transport,l=c===void 0?new oh:c,h=n.messageMetadataSchema,p=n.dataPartSchemas,g=n.state,y=n.onError,F=n.onToolCall,D=n.onFinish,_=n.onData,T=n.sendAutomaticallyWhen;Zn(this,t),this.activeResponse=void 0,this.jobExecutor=new Pb,this.sendMessage=(function(){var w=ht(Te().m(function S(x,O){var I,B,d,q,N,Z,z;return Te().w(function(H){for(;;)switch(H.n){case 0:if(x!=null){H.n=2;break}return H.n=1,r.makeRequest(le({trigger:"submit-message",messageId:(I=r.lastMessage)==null?void 0:I.id},O));case 1:return H.a(2,void H.v);case 2:if(!("text"in x)&&!("files"in x)){H.n=6;break}if(!Array.isArray(x.files)){H.n=3;break}z=x.files,H.n=5;break;case 3:return H.n=4,(function(){var L=ht(Te().m(function K(J){return Te().w(function(W){for(;;)switch(W.n){case 0:if(J!=null){W.n=1;break}return W.a(2,[]);case 1:if(globalThis.FileList&&J instanceof globalThis.FileList){W.n=2;break}throw new Error("FileList is not supported in the current environment");case 2:return W.a(2,Promise.all(Array.from(J).map((function(){var ee=ht(Te().m(function ue(ye){var oe,ae,Y,ie,re;return Te().w(function(de){for(;;)switch(de.n){case 0:return oe=ye.name,ae=ye.type,Y=ae,ie=oe,de.n=1,new Promise(function(pe,ve){var ke=new FileReader;ke.onload=function(ze){var Se;pe((Se=ze.target)==null?void 0:Se.result)},ke.onerror=function(ze){return ve(ze)},ke.readAsDataURL(ye)});case 1:return re=de.v,de.a(2,{type:"file",mediaType:Y,filename:ie,url:re})}},ue)}));return function(ue){return ee.apply(this,arguments)}})())))}},K)}));return function(K){return L.apply(this,arguments)}})()(x.files);case 4:z=H.v;case 5:N={parts:[].concat(Ke(z),Ke("text"in x&&x.text!=null?[{type:"text",text:x.text}]:[]))},H.n=7;break;case 6:N=x;case 7:if(x.messageId==null){H.n=10;break}if(Z=r.state.messages.findIndex(function(L){return L.id===x.messageId}),Z!==-1){H.n=8;break}throw new Error("message with id ".concat(x.messageId," not found"));case 8:if(r.state.messages[Z].role==="user"){H.n=9;break}throw new Error("message with id ".concat(x.messageId," is not a user message"));case 9:r.state.messages=r.state.messages.slice(0,Z+1),r.state.replaceMessage(Z,le(le({},N),{},{id:x.messageId,role:(B=N.role)!=null?B:"user",metadata:x.metadata})),H.n=11;break;case 10:r.state.pushMessage(le(le({},N),{},{id:(d=N.id)!=null?d:r.generateId(),role:(q=N.role)!=null?q:"user",metadata:x.metadata}));case 11:return H.n=12,r.makeRequest(le({trigger:"submit-message",messageId:x.messageId},O));case 12:return H.a(2)}},S)}));return function(S,x){return w.apply(this,arguments)}})(),this.regenerate=ht(Te().m(function w(){var S,x,O,I,B=arguments;return Te().w(function(d){for(;;)switch(d.n){case 0:if(x=(S=B.length>0&&B[0]!==void 0?B[0]:{}).messageId,O=xr(S,Av),I=x==null?r.state.messages.length-1:r.state.messages.findIndex(function(q){return q.id===x}),I!==-1){d.n=1;break}throw new Error("message ".concat(x," not found"));case 1:return r.state.messages=r.state.messages.slice(0,r.messages[I].role==="assistant"?I:I+1),d.n=2,r.makeRequest(le({trigger:"regenerate-message",messageId:x},O));case 2:return d.a(2)}},w)})),this.resumeStream=ht(Te().m(function w(){var S,x=arguments;return Te().w(function(O){for(;;)switch(O.n){case 0:return S=x.length>0&&x[0]!==void 0?x[0]:{},O.n=1,r.makeRequest(le({trigger:"resume-stream"},S));case 1:return O.a(2)}},w)})),this.clearError=function(){r.status==="error"&&(r.state.error=void 0,r.setStatus({status:"ready"}))},this.addToolOutput=(function(){var w=ht(Te().m(function S(x){var O,I,B,d,q;return Te().w(function(N){for(;;)if(N.n===0)return O=x.state,I=O===void 0?"output-available":O,x.tool,B=x.toolCallId,d=x.output,q=x.errorText,N.a(2,r.jobExecutor.run(ht(Te().m(function Z(){var z,H,L,K;return Te().w(function(J){for(;;)switch(J.n){case 0:L=r.state.messages,K=L[L.length-1],r.state.replaceMessage(L.length-1,le(le({},K),{},{parts:K.parts.map(function(W){return cc(W)&&W.toolCallId===B?le(le({},W),{},{state:I,output:d,errorText:q}):W})})),r.activeResponse&&(r.activeResponse.state.message.parts=r.activeResponse.state.message.parts.map(function(W){return cc(W)&&W.toolCallId===B?le(le({},W),{},{state:I,output:d,errorText:q}):W})),r.status!=="streaming"&&r.status!=="submitted"&&((z=r.sendAutomaticallyWhen)!=null&&z.call(r,{messages:r.state.messages}))&&r.makeRequest({trigger:"submit-message",messageId:(H=r.lastMessage)==null?void 0:H.id});case 1:return J.a(2)}},Z)}))))},S)}));return function(S){return w.apply(this,arguments)}})(),this.addToolResult=this.addToolOutput,this.stop=ht(Te().m(function w(){var S;return Te().w(function(x){for(;;)switch(x.n){case 0:r.status!=="streaming"&&r.status!=="submitted"||(S=r.activeResponse)!=null&&S.abortController&&r.activeResponse.abortController.abort();case 1:return x.a(2)}},w)})),this.id=o,this.transport=l,this.generateId=a,this.messageMetadataSchema=h,this.dataPartSchemas=p,this.state=g,this.onError=y,this.onToolCall=F,this.onFinish=D,this.onData=_,this.sendAutomaticallyWhen=T},[{key:"status",get:function(){return this.state.status}},{key:"setStatus",value:function(t){var n=t.status,r=t.error;this.status!==n&&(this.state.status=n,this.state.error=r)}},{key:"error",get:function(){return this.state.error}},{key:"messages",get:function(){return this.state.messages},set:function(t){this.state.messages=t}},{key:"lastMessage",get:function(){return this.state.messages[this.state.messages.length-1]}},{key:"makeRequest",value:(e=ht(Te().m(function t(n){var r,u,a,i,o,c,l,h,p,g,y,F,D,_,T,w,S,x,O=this;return Te().w(function(I){for(;;)switch(I.p=I.n){case 0:if(r=n.trigger,u=n.metadata,a=n.headers,i=n.body,o=n.messageId,this.setStatus({status:"submitted",error:void 0}),g=this.lastMessage,y=!1,F=!1,D=!1,I.p=1,(_={state:Ib({lastMessage:this.state.snapshot(g),messageId:this.generateId()}),abortController:new AbortController}).abortController.signal.addEventListener("abort",function(){y=!0}),this.activeResponse=_,r!=="resume-stream"){I.n=4;break}return I.n=2,this.transport.reconnectToStream({chatId:this.id,metadata:u,headers:a,body:i});case 2:if((w=I.v)!=null){I.n=3;break}return I.a(2,void this.setStatus({status:"ready"}));case 3:T=w,I.n=6;break;case 4:return I.n=5,this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:_.abortController.signal,metadata:u,headers:a,body:i,trigger:r,messageId:o});case 5:T=I.v;case 6:return S=function(B){return O.jobExecutor.run(function(){return B({state:_.state,write:function(){var d;O.setStatus({status:"streaming"}),_.state.message.id===((d=O.lastMessage)==null?void 0:d.id)?O.state.replaceMessage(O.state.messages.length-1,_.state.message):O.state.pushMessage(_.state.message)}})})},I.n=7,(function(){var B=ht(Te().m(function d(q){var N,Z,z,H;return Te().w(function(L){for(;;)switch(L.p=L.n){case 0:N=q.stream,Z=q.onError,z=N.getReader(),L.p=1;case 2:return L.n=3,z.read();case 3:if(!L.v.done){L.n=4;break}return L.a(3,5);case 4:L.n=2;break;case 5:L.n=7;break;case 6:L.p=6,H=L.v,Z==null||Z(H);case 7:return L.p=7,z.releaseLock(),L.f(7);case 8:return L.a(2)}},d,null,[[1,6,7,8]])}));return function(d){return B.apply(this,arguments)}})()({stream:Bb({stream:T,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:S,onError:function(B){throw B}}),onError:function(B){throw B}});case 7:this.setStatus({status:"ready"}),I.n=10;break;case 8:if(I.p=8,x=I.v,!y&&x.name!=="AbortError"){I.n=9;break}return I.a(2,(y=!0,this.setStatus({status:"ready"}),null));case 9:D=!0,x instanceof TypeError&&(x.message.toLowerCase().includes("fetch")||x.message.toLowerCase().includes("network"))&&(F=!0),this.onError&&x instanceof Error&&this.onError(x),this.setStatus({status:"error",error:x});case 10:I.p=10;try{(l=this.onFinish)==null||l.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:y,isDisconnect:F,isError:D,finishReason:(c=this.activeResponse)==null?void 0:c.state.finishReason})}catch(B){console.error(B)}return this.activeResponse=void 0,I.f(10);case 11:if(!((h=this.sendAutomaticallyWhen)!=null&&h.call(this,{messages:this.state.messages}))||D){I.n=12;break}return I.n=12,this.makeRequest({trigger:"submit-message",messageId:(p=this.lastMessage)==null?void 0:p.id,metadata:u,headers:a,body:i});case 12:return I.a(2)}},t,this,[[1,8,10,11]])})),function(t){return e.apply(this,arguments)})}]);var e})();function Lb(e){var t=e.messages,n=t[t.length-1];if(!n||n.role!=="assistant")return!1;var r=n.parts.reduce(function(a,i,o){return i.type==="step-start"?o:a},-1),u=n.parts.slice(r+1).filter(cc).filter(function(a){return!a.providerExecuted});return u.length>0&&u.every(function(a){return a.state==="output-available"||a.state==="output-error"})}var Rn,vo,mo,Ya,Xa,ei,Gu,lc,fc,Ju,Mb=(function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e})((ih||(ih=1,ah=function(e,t){if(typeof e!="function")throw new TypeError("Expected the first argument to be a `function`, got `".concat(qt(e),"`."));var n,r=0;return function(){for(var u=this,a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];clearTimeout(n);var c=Date.now(),l=t-(c-r);l<=0?(r=c,e.apply(this,i)):n=setTimeout(function(){r=Date.now(),e.apply(u,i)},l)}}),ah)),sh=function(e,t,n){if(!t.has(e))throw TypeError("Cannot "+n)},_t=function(e,t,n){return sh(e,t,"read from private field"),n?n.call(e):t.get(e)},or=function(e,t,n){if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Mr=function(e,t,n,r){return sh(e,t,"write to private field"),t.set(e,n),n},$b=(function(){return qn(function e(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Zn(this,e),or(this,Rn,void 0),or(this,vo,"ready"),or(this,mo,void 0),or(this,Ya,new Set),or(this,Xa,new Set),or(this,ei,new Set),this.pushMessage=function(r){Mr(t,Rn,_t(t,Rn).concat(r)),_t(t,Gu).call(t)},this.popMessage=function(){Mr(t,Rn,_t(t,Rn).slice(0,-1)),_t(t,Gu).call(t)},this.replaceMessage=function(r,u){Mr(t,Rn,[].concat(Ke(_t(t,Rn).slice(0,r)),[t.snapshot(u)],Ke(_t(t,Rn).slice(r+1)))),_t(t,Gu).call(t)},this.snapshot=function(r){return structuredClone(r)},this["~registerMessagesCallback"]=function(r,u){var a,i,o=u?(a=r,(i=u)!=null?Mb(a,i):a):r;return _t(t,Ya).add(o),function(){_t(t,Ya).delete(o)}},this["~registerStatusCallback"]=function(r){return _t(t,Xa).add(r),function(){_t(t,Xa).delete(r)}},this["~registerErrorCallback"]=function(r){return _t(t,ei).add(r),function(){_t(t,ei).delete(r)}},or(this,Gu,function(){_t(t,Ya).forEach(function(r){return r()})}),or(this,lc,function(){_t(t,Xa).forEach(function(r){return r()})}),or(this,fc,function(){_t(t,ei).forEach(function(r){return r()})}),Mr(this,Rn,n)},[{key:"status",get:function(){return _t(this,vo)},set:function(e){Mr(this,vo,e),_t(this,lc).call(this)}},{key:"error",get:function(){return _t(this,mo)},set:function(e){Mr(this,mo,e),_t(this,fc).call(this)}},{key:"messages",get:function(){return _t(this,Rn)},set:function(e){Mr(this,Rn,Ke(e)),_t(this,Gu).call(this)}}])})();Rn=new WeakMap,vo=new WeakMap,mo=new WeakMap,Ya=new WeakMap,Xa=new WeakMap,ei=new WeakMap,Gu=new WeakMap,lc=new WeakMap,fc=new WeakMap;var ch=(function(){function e(t){var n,r=t.messages,u=xr(t,Ev);Zn(this,e);var a=new $b(r);return n=tu(this,e,[le(le({},u),{},{state:a})]),or(_u(n),Ju,void 0),n["~registerMessagesCallback"]=function(i,o){return _t(_u(n),Ju)["~registerMessagesCallback"](i,o)},n["~registerStatusCallback"]=function(i){return _t(_u(n),Ju)["~registerStatusCallback"](i)},n["~registerErrorCallback"]=function(i){return _t(_u(n),Ju)["~registerErrorCallback"](i)},Mr(_u(n),Ju,a),n}return nu(e,zb),qn(e)})();Ju=new WeakMap;var lh="askai_token",Zb=function(e){if(!e)return!0;try{var t=(function(r){var u=ct(r.split("."),1)[0];return JSON.parse(atob(u))})(e),n=t.exp;return Date.now()/1e3>n-30}catch(r){return!0}},go=null,fh=(function(){var e=Xe(be().m(function t(n){var r,u,a;return be().w(function(i){for(;;)switch(i.n){case 0:if(r=n.assistantId,u=n.abortSignal,a=sessionStorage.getItem(lh),Zb(a)){i.n=1;break}return i.a(2,a);case 1:return go||(go=fetch("".concat(cs,"/token"),{method:"POST",headers:{"x-algolia-assistant-id":r,"content-type":"application/json"},signal:u}).then(function(o){return o.json()}).then(function(o){var c=o.token,l=o.success,h=o.message;if(!l&&h)throw new Error(h);return sessionStorage.setItem(lh,c),c}).finally(function(){return go=null})),i.a(2,go)}},t)}));return function(t){return e.apply(this,arguments)}})(),qb=(function(){var e=Xe(be().m(function t(n){var r,u,a,i,o,c,l;return be().w(function(h){for(;;)switch(h.n){case 0:return r=n.assistantId,u=n.thumbs,a=n.messageId,i=n.appId,o=n.abortSignal,(c=new Headers).set("x-algolia-assistant-id",r),c.set("content-type","application/json"),h.n=1,fh({assistantId:r,abortSignal:o});case 1:l=h.v,c.set("authorization","TOKEN ".concat(l));case 2:return h.a(2,fetch("".concat(cs,"/feedback"),{method:"POST",body:JSON.stringify({appId:i,messageId:a,thumbs:u}),headers:c}))}},t)}));return function(t){return e.apply(this,arguments)}})();function Hb(e){var t,n="algolia-client-js-".concat(e.key);function r(){return t===void 0&&(t=e.localStorage||window.localStorage),t}function u(){return JSON.parse(r().getItem(n)||"{}")}function a(i){r().setItem(n,JSON.stringify(i))}return{get:function(i,o){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var l,h,p;return l=e.timeToLive?1e3*e.timeToLive:null,h=u(),a(p=Object.fromEntries(Object.entries(h).filter(function(g){return ct(g,2)[1].timestamp!==void 0}))),l&&a(Object.fromEntries(Object.entries(p).filter(function(g){var y=ct(g,2)[1],F=new Date().getTime();return!(y.timestamp+l<F)}))),u()[JSON.stringify(i)]}).then(function(l){return Promise.all([l?l.value:o(),l!==void 0])}).then(function(l){var h=ct(l,2),p=h[0],g=h[1];return Promise.all([p,g||c.miss(p)])}).then(function(l){return ct(l,1)[0]})},set:function(i,o){return Promise.resolve().then(function(){var c=u();return c[JSON.stringify(i)]={timestamp:new Date().getTime(),value:o},r().setItem(n,JSON.stringify(c)),o})},delete:function(i){return Promise.resolve().then(function(){var o=u();delete o[JSON.stringify(i)],r().setItem(n,JSON.stringify(o))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function ti(e){var t=De(e.caches),n=t.shift();return n===void 0?{get:function(r,u){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return u().then(function(i){return Promise.all([i,a.miss(i)])}).then(function(i){return ct(i,1)[0]})},set:function(r,u){return Promise.resolve(u)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,u){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,u,a).catch(function(){return ti({caches:t}).get(r,u,a)})},set:function(r,u){return n.set(r,u).catch(function(){return ti({caches:t}).set(r,u)})},delete:function(r){return n.delete(r).catch(function(){return ti({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return ti({caches:t}).clear()})}}}function dc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=r();return i.then(function(o){return u.miss(o)}).then(function(){return i})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Ub(e){var t=e.algoliaAgents,n=e.client,r=e.version,u=(function(a){var i={value:"Algolia for JavaScript (".concat(a,")"),add:function(o){var c="; ".concat(o.segment).concat(o.version!==void 0?" (".concat(o.version,")"):"");return i.value.indexOf(c)===-1&&(i.value="".concat(i.value).concat(c)),i}};return i})(r).add({segment:n,version:r});return t.forEach(function(a){return u.add(a)}),u}var dh=12e4;function ph(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"up",n=Date.now();return C(C({},e),{},{status:t,lastUpdate:n,isUp:function(){return t==="up"||Date.now()-n>dh},isTimedOut:function(){return t==="timed out"&&Date.now()-n<=dh}})}var hh=(function(){function e(t,n){var r;return Ie(this,e),it(r=Ze(this,e,[t]),"name","AlgoliaError"),n&&(r.name=n),r}return $e(e,Tr(Error)),Be(e)})(),vh=(function(){function e(t,n,r){var u;return Ie(this,e),it(u=Ze(this,e,[t,r]),"stackTrace",void 0),u.stackTrace=n,u}return $e(e,hh),Be(e)})(),Vb=(function(){function e(t){return Ie(this,e),Ze(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",t,"RetryError"])}return $e(e,vh),Be(e)})(),pc=(function(){function e(t,n,r){var u,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"ApiError";return Ie(this,e),it(u=Ze(this,e,[t,r,a]),"status",void 0),u.status=n,u}return $e(e,vh),Be(e)})(),Wb=(function(){function e(t,n){var r;return Ie(this,e),it(r=Ze(this,e,[t,"DeserializationError"]),"response",void 0),r.response=n,r}return $e(e,hh),Be(e)})(),Gb=(function(){function e(t,n,r,u){var a;return Ie(this,e),it(a=Ze(this,e,[t,n,u,"DetailedApiError"]),"error",void 0),a.error=r,a}return $e(e,pc),Be(e)})();function Jb(e,t,n){var r,u=(r=n,Object.keys(r).filter(function(i){return r[i]!==void 0}).sort().map(function(i){return"".concat(i,"=").concat(encodeURIComponent(Object.prototype.toString.call(r[i])==="[object Array]"?r[i].join(","):r[i]).replace(/\+/g,"%20"))}).join("&")),a="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat(t.charAt(0)==="/"?t.substring(1):t);return u.length&&(a+="?".concat(u)),a}function Kb(e,t){if(e.method!=="GET"&&(e.data!==void 0||t.data!==void 0)){var n=Array.isArray(e.data)?e.data:C(C({},e.data),t.data);return JSON.stringify(n)}}function Qb(e,t,n){var r=C(C(C({Accept:"application/json"},e),t),n),u={};return Object.keys(r).forEach(function(a){var i=r[a];u[a.toLowerCase()]=i}),u}function Yb(e){try{return JSON.parse(e.content)}catch(t){throw new Wb(t.message,e)}}function Xb(e,t){var n=e.content,r=e.status;try{var u=JSON.parse(n);return"error"in u?new Gb(u.message,r,u.error,t):new pc(u.message,r,t)}catch(a){}return new pc(n,r,t)}function eA(e){var t=e.isTimedOut,n=e.status;return t||(function(r){return!r.isTimedOut&&~~r.status===0})({isTimedOut:t,status:n})||~~(n/100)!=2&&~~(n/100)!=4}function tA(e){return~~(e.status/100)==2}function nA(e){return e.map(function(t){return mh(t)})}function mh(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return C(C({},e),{},{request:C(C({},e.request),{},{headers:C(C({},e.request.headers),t)})})}var rA=["appId","apiKey","authMode","algoliaAgents"],uA=["params"],gh="5.43.0";function aA(e){return[{url:"".concat(e,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(e,".algolia.net"),accept:"write",protocol:"https"}].concat((function(t){for(var n=t,r=t.length-1;r>0;r--){var u=Math.floor(Math.random()*(r+1)),a=t[r];n[r]=t[u],n[u]=a}return n})([{url:"".concat(e,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}var hc="4.4.0";function iA(e,t,n){var r=b.useMemo(function(){var u=(function(a,i){if(!a||typeof a!="string")throw new Error("`appId` is missing.");if(!i||typeof i!="string")throw new Error("`apiKey` is missing.");return(function(o){var c=o.appId,l=o.apiKey,h=o.authMode,p=o.algoliaAgents,g=on(o,rA),y=(function(D,_){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"WithinHeaders",w={"x-algolia-api-key":_,"x-algolia-application-id":D};return{headers:function(){return T==="WithinHeaders"?w:{}},queryParameters:function(){return T==="WithinQueryParameters"?w:{}}}})(c,l,h),F=(function(D){var _=D.hosts,T=D.hostsCache,w=D.baseHeaders,S=D.logger,x=D.baseQueryParameters,O=D.algoliaAgent,I=D.timeouts,B=D.requester,d=D.requestsCache,q=D.responsesCache;function N(L){return Z.apply(this,arguments)}function Z(){return(Z=Xe(be().m(function L(K){var J,W,ee,ue,ye;return be().w(function(oe){for(;;)switch(oe.n){case 0:return oe.n=1,Promise.all(K.map(function(ae){return T.get(ae,function(){return Promise.resolve(ph(ae))})}));case 1:return J=oe.v,W=J.filter(function(ae){return ae.isUp()}),ee=J.filter(function(ae){return ae.isTimedOut()}),ue=[].concat(De(W),De(ee)),ye=ue.length>0?ue:K,oe.a(2,{hosts:ye,getTimeout:function(ae,Y){return(ee.length===0&&ae===0?1:ee.length+3+ae)*Y}})}},L)}))).apply(this,arguments)}function z(L,K){return H.apply(this,arguments)}function H(){return H=Xe(be().m(function L(K,J){var W,ee,ue,ye,oe,ae,Y,ie,re,de,pe,ve,ke,ze=arguments;return be().w(function(Se){for(;;)switch(Se.n){case 0:if(W=!(ze.length>2&&ze[2]!==void 0)||ze[2],ee=[],ue=Kb(K,J),ye=Qb(w,K.headers,J.headers),oe=K.method==="GET"?C(C({},K.data),J.data):{},ae=C(C(C({},x),K.queryParameters),oe),O.value&&(ae["x-algolia-agent"]=O.value),J&&J.queryParameters)for(Y=0,ie=Object.keys(J.queryParameters);Y<ie.length;Y++)re=ie[Y],J.queryParameters[re]&&Object.prototype.toString.call(J.queryParameters[re])!=="[object Object]"?ae[re]=J.queryParameters[re].toString():ae[re]=J.queryParameters[re];return de=0,pe=(function(){var je=Xe(be().m(function Me(ft,Bt){var Pt,sn,pn,Ut,zt,Dn;return be().w(function(Vt){for(;;)switch(Vt.n){case 0:if((Pt=ft.pop())!==void 0){Vt.n=1;break}throw new Vb(nA(ee));case 1:return sn=C(C({},I),J.timeouts),pn={data:ue,headers:ye,method:K.method,url:Jb(Pt,K.path,ae),connectTimeout:Bt(de,sn.connect),responseTimeout:Bt(de,W?sn.read:sn.write)},Ut=function(Yt){var xt={request:pn,response:Yt,host:Pt,triesLeft:ft.length};return ee.push(xt),xt},Vt.n=2,B.send(pn);case 2:if(!eA(zt=Vt.v)){Vt.n=4;break}return Dn=Ut(zt),zt.isTimedOut&&de++,S.info("Retryable failure",mh(Dn)),Vt.n=3,T.set(Pt,ph(Pt,zt.isTimedOut?"timed out":"down"));case 3:return Vt.a(2,pe(ft,Bt));case 4:if(!tA(zt)){Vt.n=5;break}return Vt.a(2,Yb(zt));case 5:throw Ut(zt),Xb(zt,ee);case 6:return Vt.a(2)}},Me)}));return function(Me,ft){return je.apply(this,arguments)}})(),ve=_.filter(function(je){return je.accept==="readWrite"||(W?je.accept==="read":je.accept==="write")}),Se.n=1,N(ve);case 1:return ke=Se.v,Se.a(2,pe(De(ke.hosts).reverse(),ke.getTimeout))}},L)})),H.apply(this,arguments)}return{hostsCache:T,requester:B,timeouts:I,logger:S,algoliaAgent:O,baseHeaders:w,baseQueryParameters:x,hosts:_,request:function(L){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=L.useReadTransporter||L.method==="GET";if(!J)return z(L,K,J);var W=function(){return z(L,K)};if((K.cacheable||L.cacheable)!==!0)return W();var ee={request:L,requestOptions:K,transporter:{queryParameters:x,headers:w}};return q.get(ee,function(){return d.get(ee,function(){return d.set(ee,W()).then(function(ue){return Promise.all([d.delete(ee),ue])},function(ue){return Promise.all([d.delete(ee),Promise.reject(ue)])}).then(function(ue){var ye=ct(ue,2);return ye[0],ye[1]})})},{miss:function(ue){return q.set(ee,ue)}})},requestsCache:d,responsesCache:q}})(C(C({hosts:aA(c)},g),{},{algoliaAgent:Ub({algoliaAgents:p,client:"Lite",version:gh}),baseHeaders:C(C({"content-type":"text/plain"},y.headers()),g.baseHeaders),baseQueryParameters:C(C({},y.queryParameters()),g.baseQueryParameters)}));return{transporter:F,appId:c,apiKey:l,clearCache:function(){return Promise.all([F.requestsCache.clear(),F.responsesCache.clear()]).then(function(){})},get _ua(){return F.algoliaAgent.value},addAlgoliaAgent:function(D,_){F.algoliaAgent.add({segment:D,version:_})},setClientApiKey:function(D){var _=D.apiKey;h&&h!=="WithinHeaders"?F.baseQueryParameters["x-algolia-api-key"]=_:F.baseHeaders["x-algolia-api-key"]=_},searchForHits:function(D,_){return this.search(D,_)},searchForFacets:function(D,_){return this.search(D,_)},customPost:function(D,_){var T=D.path,w=D.parameters,S=D.body;if(!T)throw new Error("Parameter `path` is required when calling `customPost`.");var x={method:"POST",path:"/{path}".replace("{path}",T),queryParameters:w||{},headers:{},data:S||{}};return F.request(x,_)},getRecommendations:function(D,_){if(D&&Array.isArray(D)&&(D={requests:D}),!D)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!D.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var T={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:D,useReadTransporter:!0,cacheable:!0};return F.request(T,_)},search:function(D,_){if(D&&Array.isArray(D)){var T={requests:D.map(function(S){var x=S.params,O=on(S,uA);return O.type==="facet"?C(C(C({},O),x),{},{type:"facet"}):C(C(C({},O),x),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})})};D=T}if(!D)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!D.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var w={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:D,useReadTransporter:!0,cacheable:!0};return F.request(w,_)}}})(C({appId:a,apiKey:i,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(o,c){return Promise.resolve()},info:function(o,c){return Promise.resolve()},error:function(o,c){return Promise.resolve()}},requester:{send:function(o){return new Promise(function(c){var l=new XMLHttpRequest;l.open(o.method,o.url,!0),Object.keys(o.headers).forEach(function(y){return l.setRequestHeader(y,o.headers[y])});var h,p=function(y,F){return setTimeout(function(){l.abort(),c({status:0,content:F,isTimedOut:!0})},y)},g=p(o.connectTimeout,"Connection timeout");l.onreadystatechange=function(){l.readyState>l.OPENED&&h===void 0&&(clearTimeout(g),h=p(o.responseTimeout,"Socket timeout"))},l.onerror=function(){l.status===0&&(clearTimeout(g),clearTimeout(h),c({content:l.responseText||"Network request failed",status:l.status,isTimedOut:!1}))},l.onload=function(){clearTimeout(g),clearTimeout(h),c({content:l.responseText,status:l.status,isTimedOut:!1})},l.send(o.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:dc(),requestsCache:dc({serializable:!1}),hostsCache:ti({caches:[Hb({key:"".concat(gh,"-").concat(a)}),dc()]})},void 0))})(e,t);return u.addAlgoliaAgent("docsearch",hc),/docsearch.js \(.*\)/.test(u.transporter.algoliaAgent.value)===!1&&u.addAlgoliaAgent("docsearch-react",hc),n(u)},[e,t,n]);return r}var oA=["appId","apiKey","askAi","maxResultsPerGroup","theme","onClose","transformItems","hitComponent","resultsFooterComponent","navigator","initialScrollY","transformSearchClient","disableUserPersonalization","initialQuery","translations","getMissingResultsUrl","insights","onAskAiToggle","isAskAiActive","recentSearchesLimit","recentSearchesWithFavoritesLimit","indices","indexName","searchParameters","isHybridModeSupported"],sA=["footer","searchBox"],cA=(function(){var e=Xe(be().m(function t(n){var r,u,a,i,o,c,l,h,p,g,y,F,D,_,T,w,S,x,O;return be().w(function(I){for(;;)switch(I.p=I.n){case 0:return r=n.query,u=n.state,a=n.setContext,i=n.setStatus,o=n.searchClient,c=n.indexes,l=n.snippetLength,h=n.insights,p=n.appId,g=n.apiKey,y=n.maxResultsPerGroup,F=n.transformItems,D=F===void 0?Xo:F,_=n.saveRecentSearch,T=n.onClose,w=h,I.p=1,I.n=2,o.search({requests:c.map(function(B){var d,q,N,Z,z,H,L,K=typeof B=="string"?B:B.name,J=typeof B=="string"?{}:B.searchParameters;return C({query:r,indexName:K,attributesToRetrieve:(d=J==null?void 0:J.attributesToRetrieve)!==null&&d!==void 0?d:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:(q=J==null?void 0:J.attributesToSnippet)!==null&&q!==void 0?q:["hierarchy.lvl1:".concat(l.current),"hierarchy.lvl2:".concat(l.current),"hierarchy.lvl3:".concat(l.current),"hierarchy.lvl4:".concat(l.current),"hierarchy.lvl5:".concat(l.current),"hierarchy.lvl6:".concat(l.current),"content:".concat(l.current)],snippetEllipsisText:(N=J==null?void 0:J.snippetEllipsisText)!==null&&N!==void 0?N:"\u2026",highlightPreTag:(Z=J==null?void 0:J.highlightPreTag)!==null&&Z!==void 0?Z:"<mark>",highlightPostTag:(z=J==null?void 0:J.highlightPostTag)!==null&&z!==void 0?z:"</mark>",hitsPerPage:(H=J==null?void 0:J.hitsPerPage)!==null&&H!==void 0?H:20,clickAnalytics:(L=J==null?void 0:J.clickAnalytics)!==null&&L!==void 0?L:w},J!=null?J:{})})});case 2:return S=I.v,x=S.results,I.a(2,x.flatMap(function(B){var d,q=B,N=q.hits,Z=q.nbHits,z=Ql(D(N),function(K){return Xl(K)},y);if(u.context.searchSuggestions.length<Object.keys(z).length&&a({searchSuggestions:C(C({},(d=u.context.searchSuggestions)!==null&&d!==void 0?d:[]),Object.keys(z))}),Z){var H=u.context.nbHits;a({nbHits:(H!=null?H:0)+Z})}var L={};return w&&(L={__autocomplete_indexName:q.index,__autocomplete_queryID:q.queryID,__autocomplete_algoliaCredentials:{appId:p,apiKey:g}}),Object.values(z).map(function(K,J){return{sourceId:"hits_".concat(q.index,"_").concat(J),onSelect:function(W){var ee=W.item,ue=W.event;_(ee),Di(ue)||T()},getItemUrl:function(W){return W.item.url},getItems:function(){return Object.values(Ql(K,function(W){return W.hierarchy.lvl1},y)).map(function(W){return W.map(function(ee){var ue=null,ye=W.find(function(oe){return oe.type==="lvl1"&&oe.hierarchy.lvl1===ee.hierarchy.lvl1});return ee.type!=="lvl1"&&ye&&(ue=ye),C(C({},ee),{},{__docsearch_parent:ue},L)})}).flat()}}})}));case 3:throw I.p=3,(O=I.v).name==="RetryError"&&i("error"),O;case 4:return I.a(2)}},t,null,[[1,3]])}));return function(t){return e.apply(this,arguments)}})();function lA(e){var t,n,r,u=e.appId,a=e.apiKey,i=e.askAi,o=e.maxResultsPerGroup,c=e.theme,l=e.onClose,h=l===void 0?xv:l,p=e.transformItems,g=p===void 0?Xo:p,y=e.hitComponent,F=y===void 0?g0:y,D=e.resultsFooterComponent,_=D===void 0?function(){return null}:D,T=e.navigator,w=e.initialScrollY,S=w===void 0?0:w,x=e.transformSearchClient,O=x===void 0?Xo:x,I=e.disableUserPersonalization,B=I!==void 0&&I,d=e.initialQuery,q=d===void 0?"":d,N=e.translations,Z=N===void 0?{}:N,z=e.getMissingResultsUrl,H=e.insights,L=H!==void 0&&H,K=e.onAskAiToggle,J=e.isAskAiActive,W=J!==void 0&&J,ee=e.recentSearchesLimit,ue=ee===void 0?7:ee,ye=e.recentSearchesWithFavoritesLimit,oe=ye===void 0?4:ye,ae=e.indices,Y=ae===void 0?[]:ae,ie=e.indexName,re=e.searchParameters,de=e.isHybridModeSupported,pe=de!==void 0&&de,ve=on(e,oA),ke=Z.footer,ze=Z.searchBox,Se=on(Z,sA),je=ct(b.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),Me=je[0],ft=je[1],Bt=!!i,Pt=(Z==null||(t=Z.searchBox)===null||t===void 0?void 0:t.placeholderText)||ve.placeholder||"Search docs";Bt&&(Pt=(Z==null||(n=Z.searchBox)===null||n===void 0?void 0:n.placeholderText)||"Search docs or ask AI a question"),W&&(Pt=(Z==null||(r=Z.searchBox)===null||r===void 0?void 0:r.placeholderTextAskAi)||"Ask another question...");var sn=b.useRef(null),pn=b.useRef(null),Ut=b.useRef(null),zt=b.useRef(null),Dn=b.useRef(null),Vt=b.useRef(15),Yt=b.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,512):"").current,xt=b.useRef(q||Yt).current,Wt=iA(u,a,O),Ae=qt(i)==="object"?i:null,St=typeof i=="string"?i:(Ae==null?void 0:Ae.assistantId)||null,$r=Ae==null?void 0:Ae.searchParameters,Zr=ct(b.useState("initial"),2),bn=Zr[0],hn=Zr[1],yu=(function(fe){var Oe=fe.assistantId,et=fe.searchClient,bt=fe.suggestedQuestionsEnabled,dt=bt!==void 0&&bt,_n=ct(uu([]),2),Tn=_n[0],Yn=_n[1];return Un(function(){var On=(function(){var In=Xe(be().m(function Jt(){var un,Gr,pr;return be().w(function(Ln){for(;;)switch(Ln.n){case 0:return Ln.n=1,et.search({requests:[{indexName:"algolia_ask_ai_suggested_questions",filters:"state:published AND assistantId:".concat(Oe),hitsPerPage:3}]});case 1:un=Ln.v,Gr=un.results,pr=Gr[0],Yn(pr.hits);case 2:return Ln.a(2)}},Jt)}));return function(){return In.apply(this,arguments)}})();dt&&Oe&&Oe!==""&&On()},[dt,Oe,et]),Tn})({assistantId:St,searchClient:Wt,suggestedQuestionsEnabled:Ae==null?void 0:Ae.suggestedQuestions}),An=[];if(ie&&ie!==""&&An.push({name:ie,searchParameters:re}),Y.length>0&&Y.forEach(function(fe){An.push(typeof fe=="string"?{name:fe}:fe)}),An.length<1)throw new Error("Must supply either `indexName` or `indices` for DocSearch to work");var $t=An[0].name,En=b.useRef(od({key:"__DOCSEARCH_ASKAI_CONVERSATIONS__".concat((Ae==null?void 0:Ae.indexName)||$t),limit:10})).current,vn=b.useRef(id({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat($t),limit:10})).current,Fr=b.useRef(id({key:"__DOCSEARCH_RECENT_SEARCHES__".concat($t),limit:vn.getAll().length===0?ue:oe})).current,cr=ct(b.useState(!1),2),qr=cr[0],Hr=cr[1],zn=(function(fe){var Oe=fe.assistantId,et=fe.apiKey,bt=fe.appId,dt=fe.indexName,_n=fe.searchParameters,Tn=Su(new AbortController),Yn=Vn(function(){return new oh({api:cs,headers:(en=Xe(be().m(function Kt(){var Mt;return be().w(function(tn){for(;;)switch(tn.n){case 0:if(Oe){tn.n=1;break}throw new Error("Ask AI assistant ID is required");case 1:return Mt=null,tn.n=2,fh({assistantId:Oe,abortSignal:Tn.current.signal});case 2:Mt=tn.v;case 3:return tn.a(2,C(C({},Mt?{authorization:"TOKEN ".concat(Mt)}:{}),{},{"X-Algolia-API-Key":et,"X-Algolia-Application-Id":bt,"X-Algolia-Index-Name":dt,"X-Algolia-Assistant-Id":Oe||"","X-AI-SDK-Version":"v5"}))}},Kt)})),function(){return en.apply(this,arguments)}),body:_n?{searchParameters:_n}:{}});var en},[et,bt,Oe,dt,_n]),On=(function(){var en=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Kt=en.experimental_throttle,Mt=en.resume,tn=Mt!==void 0&&Mt,jt=xr(en,Fv),ot=Su("chat"in jt?jt.chat:new ch(jt));("chat"in jt&&jt.chat!==ot.current||"id"in jt&&ot.current.id!==jt.id)&&(ot.current="chat"in jt?jt.chat:new ch(jt));var Ao="id"in jt?jt.id:null,Dc=la(function(Qr){return ot.current["~registerMessagesCallback"](Qr,Kt)},[Kt,Ao]),bc=fa(Dc,function(){return ot.current.messages}),Bn=fa(ot.current["~registerStatusCallback"],function(){return ot.current.status}),Eo=fa(ot.current["~registerErrorCallback"],function(){return ot.current.error}),Du=la(function(Qr){typeof Qr=="function"&&(Qr=Qr(ot.current.messages)),ot.current.messages=Qr},[ot]);return Un(function(){tn&&ot.current.resumeStream()},[tn,ot]),{id:ot.current.id,messages:bc,setMessages:Du,sendMessage:ot.current.sendMessage,regenerate:ot.current.regenerate,clearError:ot.current.clearError,stop:ot.current.stop,error:Eo,resumeStream:ot.current.resumeStream,status:Bn,addToolResult:ot.current.addToolOutput,addToolOutput:ot.current.addToolOutput}})({sendAutomaticallyWhen:Lb,transport:Yn}),In=On.messages,Jt=On.sendMessage,un=On.status,Gr=On.setMessages,pr=On.error,Ln=On.stop,Xt=Su(od({key:"__DOCSEARCH_ASKAI_CONVERSATIONS__".concat(dt),limit:10})).current,Jr=la((function(){var en=Xe(be().m(function Kt(Mt,tn){var jt;return be().w(function(ot){for(;;)switch(ot.n){case 0:if(Oe){ot.n=1;break}return ot.a(2);case 1:return ot.n=2,qb({assistantId:Oe,thumbs:tn,messageId:Mt,appId:bt,abortSignal:Tn.current.signal});case 2:if(!(ot.v.status>=300)){ot.n=3;break}throw new Error("Failed, try again later.");case 3:(jt=Xt.addFeedback)===null||jt===void 0||jt.call(Xt,Mt,tn===1?"like":"dislike");case 4:return ot.a(2)}},Kt)}));return function(Kt,Mt){return en.apply(this,arguments)}})(),[Oe,bt,Xt]),Zt=(function(){var en=Xe(be().m(function Kt(){return be().w(function(Mt){for(;;)switch(Mt.n){case 0:return Tn.current.abort(),Mt.n=1,Ln();case 1:return Mt.a(2)}},Kt)}));return function(){return en.apply(this,arguments)}})(),Kr=Vn(function(){for(var en=[],Kt=0;Kt<In.length;Kt++)if(In[Kt].role==="user"){var Mt,tn=In[Kt],jt=((Mt=In[Kt+1])===null||Mt===void 0?void 0:Mt.role)==="assistant"?In[Kt+1]:null;en.push({id:tn.id,userMessage:tn,assistantMessage:jt}),jt&&Kt++}return en},[In]);return{messages:In,sendMessage:Jt,status:un,setMessages:Gr,askAiError:pr,stopAskAiStreaming:Zt,isStreaming:un==="streaming"||un==="submitted",exchanges:Kr,conversations:Xt,sendFeedback:Jr}})({assistantId:St,apiKey:(Ae==null?void 0:Ae.apiKey)||a,appId:(Ae==null?void 0:Ae.appId)||u,indexName:(Ae==null?void 0:Ae.indexName)||$t,searchParameters:$r}),Ge=zn.messages,Lt=zn.status,Ur=zn.setMessages,ni=zn.sendMessage,Fn=zn.stopAskAiStreaming,Gt=zn.askAiError,Ku=zn.sendFeedback,yo=b.useRef(Lt);b.useEffect(function(){if(!B){if(yo.current==="streaming"&&Lt==="ready"){qr&&Ge.at(-1)&&(Ge.at(-1).metadata={stopped:!0});var fe,Oe=me(Ge[0].parts);try{for(Oe.s();!(fe=Oe.n()).done;){var et=fe.value;et.type==="text"&&En.add(nm(et.text,Ge))}}catch(bt){Oe.e(bt)}finally{Oe.f()}}yo.current=Lt}},[Lt,Ge,En,B,qr]);var Do=b.useMemo(function(){return Lt==="error"&&Es(Gt)},[Lt,Gt]),ri=b.useCallback(function(fe){var Oe=fe.hierarchy,et=["lvl6","lvl5","lvl4","lvl3","lvl2","lvl1","lvl0"].find(function(bt){return Oe[bt]});return C(C({},fe),{},{type:et||"lvl0",content:null})},[]),lr=b.useCallback(function(fe){if(!B){var Oe=fe.type==="content"?fe.__docsearch_parent||ri(fe):fe;Oe&&vn.getAll().findIndex(function(et){return et.objectID===Oe.objectID})===-1&&Fr.add(Oe)}},[vn,Fr,B,ri]),Vr=b.useCallback(function(fe){if(Me.context.algoliaInsightsPlugin&&fe.__autocomplete_id){var Oe=fe,et={eventName:"Item Selected",index:Oe.__autocomplete_indexName,items:[Oe],positions:[fe.__autocomplete_id],queryID:Oe.__autocomplete_queryID};Me.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(et)}},[Me.context.algoliaInsightsPlugin]),_r=b.useRef(void 0),fr=b.useCallback(function(fe,Oe){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(fe&&bn==="new-conversation"&&hn("initial"),K(fe,{query:Oe,suggestedQuestionId:et==null?void 0:et.objectID}),!pe){Hr(!1);var bt={};if(et&&(bt.body={suggestedQuestionId:et.objectID}),ni({role:"user",parts:[{type:"text",text:Oe}]},bt),zt.current){var dt=zt.current;typeof dt.scrollTo=="function"?dt.scrollTo({top:0,behavior:"smooth"}):dt.scrollTop=0}_r.current&&_r.current.setQuery("")}},[K,ni,bn,hn,pe]),vc=b.useCallback((function(){var fe=Xe(be().m(function Oe(et,bt){return be().w(function(dt){for(;;)switch(dt.n){case 0:if(St&&u){dt.n=1;break}return dt.a(2);case 1:return dt.n=2,Ku(et,bt);case 2:return dt.a(2)}},Oe)}));return function(Oe,et){return fe.apply(this,arguments)}})(),[St,u,Ku]);_r.current||(_r.current=h0({id:"docsearch",defaultActiveItemId:0,openOnFocus:!0,initialState:{query:xt,context:{searchSuggestions:[]}},insights:!!L,navigator:T,onStateChange:function(fe){ft(fe.state)},getSources:function(fe){var Oe=fe.query,et=fe.state,bt=fe.setContext,dt=fe.setStatus;if(!Oe){var _n=(function(Jt){var un=Jt.recentSearches,Gr=Jt.favoriteSearches,pr=Jt.saveRecentSearch,Ln=Jt.onClose;return Jt.disableUserPersonalization?[]:[{sourceId:"recentSearches",onSelect:function(Xt){var Jr=Xt.item,Zt=Xt.event;pr(Jr),Di(Zt)||Ln()},getItemUrl:function(Xt){return Xt.item.url},getItems:function(){return un.getAll()}},{sourceId:"favoriteSearches",onSelect:function(Xt){var Jr=Xt.item,Zt=Xt.event;pr(Jr),Di(Zt)||Ln()},getItemUrl:function(Xt){return Xt.item.url},getItems:function(){return Gr.getAll()}}]})({recentSearches:Fr,favoriteSearches:vn,saveRecentSearch:lr,onClose:h,disableUserPersonalization:B,canHandleAskAi:Bt}),Tn=Bt?[{sourceId:"recentConversations",getItems:function(){return B?[]:En.getAll()},onSelect:function(Jt){var un=Jt.item;un.messages&&(Ur(un.messages),K(!0))}}]:[];return[].concat(De(_n),Tn)}var Yn={context:et.context},On=cA({query:Oe,state:Yn,setContext:bt,setStatus:dt,searchClient:Wt,indexes:An,snippetLength:Vt,insights:!!L,appId:u,apiKey:a,maxResultsPerGroup:o,transformItems:g,saveRecentSearch:lr,onClose:h}),In=Bt?[{sourceId:"askAI",getItems:function(){return[{type:"askAI",query:Oe,url_without_anchor:"",objectID:"ask-ai-button",content:null,url:"",anchor:null,hierarchy:{lvl0:"Ask AI",lvl1:Oe,lvl2:null,lvl3:null,lvl4:null,lvl5:null,lvl6:null},_highlightResult:{},_snippetResult:{},__docsearch_parent:null}]},onSelect:function(Jt){var un=Jt.item;un.type==="askAI"&&un.query&&fr(!0,un.query)}}]:[];return On.then(function(Jt){return[].concat(In,De(Jt))})}}));var bo,Wr,dr=_r.current,mc=dr.getEnvironmentProps,gc=dr.getRootProps,ui=dr.refresh;(function(fe){var Oe=fe.getEnvironmentProps,et=fe.panelElement,bt=fe.formElement,dt=fe.inputElement;b.useEffect(function(){if(et&&bt&&dt){var _n=Oe({panelElement:et,formElement:bt,inputElement:dt}),Tn=_n.onTouchStart,Yn=_n.onTouchMove;return window.addEventListener("touchstart",Tn),window.addEventListener("touchmove",Yn),function(){window.removeEventListener("touchstart",Tn),window.removeEventListener("touchmove",Yn)}}},[Oe,et,bt,dt])})({getEnvironmentProps:mc,panelElement:zt.current,formElement:Ut.current,inputElement:Dn.current}),bo={container:sn.current},Wr=bo.container,b.useEffect(function(){if(Wr){var fe=Wr.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),Oe=fe[0],et=fe[fe.length-1];return Wr.addEventListener("keydown",bt),function(){Wr.removeEventListener("keydown",bt)}}function bt(dt){dt.key==="Tab"&&(dt.shiftKey?document.activeElement===Oe&&(dt.preventDefault(),et.focus()):document.activeElement===et&&(dt.preventDefault(),Oe.focus()))}},[Wr]),Kl({theme:c}),b.useEffect(function(){return document.body.classList.add("DocSearch--active"),function(){var fe,Oe;document.body.classList.remove("DocSearch--active"),(fe=(Oe=window).scrollTo)===null||fe===void 0||fe.call(Oe,0,S)}},[]),b.useEffect(function(){typeof window!="undefined"&&window.localStorage&&(function(){if(typeof window=="undefined"||!window.localStorage)return 0;var fe=0;for(var Oe in window.localStorage)window.localStorage.hasOwnProperty(Oe)&&(fe+=window.localStorage[Oe].length+Oe.length);return fe})()>4194304&&ud()},[]),b.useLayoutEffect(function(){var fe=window.innerWidth-document.body.clientWidth;return document.body.style.marginInlineEnd="".concat(fe,"px"),function(){document.body.style.marginInlineEnd="0px"}},[]),b.useEffect(function(){window.matchMedia("(max-width: 768px)").matches&&(Vt.current=5)},[]),b.useEffect(function(){var fe;zt.current&&!W&&(typeof(fe=zt.current).scrollTo=="function"?fe.scrollTo({top:0,behavior:"smooth"}):fe.scrollTop=0)},[Me.query,W]),b.useEffect(function(){xt.length>0&&(ui(),Dn.current&&Dn.current.focus())},[xt,ui]),b.useEffect(function(){function fe(){if(pn.current){var Oe=.01*window.innerHeight;pn.current.style.setProperty("--docsearch-vh","".concat(Oe,"px"))}}return fe(),window.addEventListener("resize",fe),function(){window.removeEventListener("resize",fe)}},[]),b.useEffect(function(){W||(dr.refresh(),Ur([]))},[W,dr,Ur]),b.useEffect(function(){hn("initial")},[W,hn]);var yc=(function(){var fe=Xe(be().m(function Oe(){return be().w(function(et){for(;;)switch(et.n){case 0:return Hr(!0),et.n=1,Fn();case 1:return et.a(2)}},Oe)}));return function(){return fe.apply(this,arguments)}})(),Cr=function(){Ur([]),hn("new-conversation")},ai=!0,Qu=Me.collections.some(function(fe){return fe.items.length>0});return Me.status!=="idle"||Qu!==!1||Me.query.length!==0||W||(ai=!1),b.createElement("div",Ct({ref:sn},gc({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",Me.status==="stalled"&&"DocSearch-Container--Stalled",Me.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(fe){fe.target===fe.currentTarget&&h()}}),b.createElement("div",{className:"DocSearch-Modal",ref:pn},b.createElement("header",{className:"DocSearch-SearchBar",ref:Ut},b.createElement(Im,Ct({},dr,{state:Me,placeholder:Pt||"Search docs",autoFocus:xt.length===0,inputRef:Dn,isFromSelection:!!xt&&xt===Yt,translations:ze,isAskAiActive:W,askAiStatus:Lt,askAiError:Gt,askAiState:bn,setAskAiState:hn,isThreadDepthError:Do&&bn!=="new-conversation",onClose:h,onAskAiToggle:K,onAskAgain:function(fe){fr(!0,fe)},onStopAskAiStreaming:yc,onNewConversation:Cr,onViewConversationHistory:function(){hn("conversation-history")}}))),ai&&b.createElement("div",{className:"DocSearch-Dropdown",ref:zt},b.createElement(wm,Ct({},dr,{indexName:$t,state:Me,hitComponent:F,resultsFooterComponent:_,disableUserPersonalization:B,recentSearches:Fr,favoriteSearches:vn,conversations:En,inputRef:Dn,translations:Se,getMissingResultsUrl:z,isAskAiActive:W,canHandleAskAi:Bt,messages:Ge,askAiError:Gt,status:Lt,hasCollections:Qu,askAiState:bn,selectAskAiQuestion:fr,suggestedQuestions:yu,selectSuggestedQuestion:function(fe){fr(!0,fe.question,fe)},onAskAiToggle:K,onNewConversation:Cr,onItemClick:function(fe,Oe){if(fe.type==="askAI"&&fe.query)return fe.anchor==="stored"&&"messages"in fe?(Ur(fe.messages),K(!0,{query:fe.query,messageId:fe.messages[0].id})):fr(!0,fe.query),hn("initial"),void Oe.preventDefault();Vr(fe),lr(fe),Di(Oe)||h()},onFeedback:vc}))),b.createElement("footer",{className:"DocSearch-Footer"},b.createElement(m0,{translations:ke,isAskAiActive:W}))))}function fA(e){return b.createElement(Hl,e,b.createElement(dA,e))}function dA(e){var t,n,r,u=mv(),a=u.searchButtonRef,i=u.keyboardShortcuts,o=u.isModalActive,c=u.isAskAiActive,l=u.initialQuery,h=u.onAskAiToggle,p=u.openModal,g=u.closeModal;return b.createElement(b.Fragment,null,b.createElement(Ov,{keyboardShortcuts:i,ref:a,translations:(t=e.translations)===null||t===void 0?void 0:t.button,onClick:p}),o&&Il(b.createElement(lA,Ct({},e,{initialScrollY:window.scrollY,initialQuery:l,translations:e==null||(n=e.translations)===null||n===void 0?void 0:n.modal,isAskAiActive:c,onAskAiToggle:h,onClose:g})),(r=e.portalContainer)!==null&&r!==void 0?r:document.body))}var yh=function(e,t,n,r){var u;t[0]=0;for(var a=1;a<t.length;a++){var i=t[a++],o=t[a]?(t[0]|=i?1:2,n[t[a++]]):t[++a];i===3?r[0]=o:i===4?r[1]=Object.assign(r[1]||{},o):i===5?(r[1]=r[1]||{})[t[++a]]=o:i===6?r[1][t[++a]]+=o+"":i?(u=e.apply(o,yh(e,o,n,["",null])),r.push(u),o[0]?t[0]|=2:(t[a-2]=0,t[a]=u)):r.push(o)}return r},Dh=new Map,pA=["container","environment","transformSearchClient","hitComponent","resultsFooterComponent"],hA=function(e){var t=Dh.get(this);return t||(t=new Map,Dh.set(this,t)),(t=yh(this,t.get(e)||(t.set(e,t=(function(n){for(var r,u,a=1,i="",o="",c=[0],l=function(g){a===1&&(g||(i=i.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?c.push(0,g,i):a===3&&(g||i)?(c.push(3,g,i),a=2):a===2&&i==="..."&&g?c.push(4,g,0):a===2&&i&&!g?c.push(5,0,!0,i):a>=5&&((i||!g&&a===5)&&(c.push(a,0,i,u),a=6),g&&(c.push(a,g,0,u),a=6)),i=""},h=0;h<n.length;h++){h&&(a===1&&l(),l(h));for(var p=0;p<n[h].length;p++)r=n[h][p],a===1?r==="<"?(l(),c=[c],a=3):i+=r:a===4?i==="--"&&r===">"?(a=1,i=""):i=r+i[0]:o?r===o?o="":i+=r:r==='"'||r==="'"?o=r:r===">"?(l(),a=1):a&&(r==="="?(a=5,u=i,i=""):r==="/"&&(a<5||n[h][p+1]===">")?(l(),a===3&&(c=c[0]),a=c,(c=c[0]).push(2,0,a),a=0):r===" "||r===" "||r===`
|
|
119
|
+
`||r==="\r"?(l(),a=2):i+=r),a===3&&i==="!--"&&(a=4,c=c[0])}return l(),c})(e)),t),arguments,[])).length>1?t:t[0]}.bind(wn);function bh(e){if(e)return function(t){var n=e(t,{html:hA});return pa(n)?n:typeof n=="function"?n(t):typeof n=="string"?wn("span",null,n):n}}function vA(e){var t=e.container,n=e.environment,r=e.transformSearchClient,u=e.hitComponent,a=e.resultsFooterComponent,i=xr(e,pA),o=(function(c,l){if(typeof c!="string")return c;if(!l)throw new Error("Cannot resolve a selector without a browser environment.");var h=l.document.querySelector(c);if(!h)throw new Error('Container selector did not match any element: "'.concat(c,'"'));return h})(t,n||(typeof window!="undefined"?window:void 0));return Pl(wn(fA,le(le({},i),{},{hitComponent:bh(u),resultsFooterComponent:bh(a),transformSearchClient:function(c){return c!=null&&c.addAlgoliaAgent&&c.addAlgoliaAgent("docsearch.js",hc),typeof r=="function"?r(c):c}})),o),function(){Ll(o)}}vA({appId:"S4T2OSB07R",apiKey:"ea6ae2e0546ad6007f7f464a296b67de",indexName:"chocolatey",container:"#docsearchResults"}),(()=>{let e=document.querySelectorAll('.task-list-item [type="checkbox"]');e&&e.forEach(t=>{t.classList.add("form-check-input"),t.outerHTML=`<div class="form-check">${t.outerHTML}<label class="form-check-label"></label></div>`})})();var mA=di($h());window.addEventListener("DOMContentLoaded",()=>{if(document.querySelector(".anchorjs-container")){for(let t of document.querySelectorAll("li")){let n=t.firstChild,r=t.classList.contains("task-list-item"),u;switch(r?u=n.nextElementSibling:u=n,u.nodeName){case"STRONG":case"CODE":u.classList.add("d-anchor");break;default:break}}let e=new mA.default;e.options.placement="left",e.add(".anchorjs-container h2:not(.d-anchor-none), .anchorjs-container h3:not(.d-anchor-none), .anchorjs-container h4:not(.d-anchor-none), .anchorjs-container h5:not(.d-anchor-none), .anchorjs-container h6:not(.d-anchor-none), .anchorjs-container li .d-anchor")}});var sr=di(Zh());(0,sr.default)(".nav-scrollspy .nav-link").each((e,t)=>{let n=(0,sr.default)(t).attr("href"),r=u=>{if(u==="#"){(0,sr.default)(t).parent().remove();return}~u.indexOf(".")&&(u=u.replace(/\./g,"\\.")),(0,sr.default)(u).length&&((0,sr.default)(window).scrollTop()>(0,sr.default)(u).offset().top-30&&(0,sr.default)(u).is(":visible")?((0,sr.default)(`a[href="${u}"].nav-link`).addClass("active active-page"),(0,sr.default)(`a[href="${u}"].nav-link`).parent().prev().find("a.active").removeClass("active active-page")):(0,sr.default)(`a[href="${u}"].nav-link`).removeClass("active active-page"))};r(n),window.addEventListener("scroll",()=>{r(n)})}),window.addEventListener("DOMContentLoaded",()=>{let e="data-choco-tab-multi",t=document.querySelectorAll(`[${e}]`),n=new Set;if(t&&t.length>0){for(let r of t){let u=r.getAttribute(e).replace(/\s/g,""),a=null;if(u){try{a=JSON.parse(u!=null?u:"")}catch(i){return}for(let i in a)Object.prototype.hasOwnProperty.call(a,i)&&n.add(i);r.addEventListener("click",()=>{let i=r.getAttribute(e).replace(/\s/g,"");for(let c of t){let l=c.getAttribute(e).replace(/\s/g,"");l!=null&&l.includes(i!=null?i:"")&&window.bootstrap.Tab.getOrCreateInstance(c).show()}let o=~location.hostname.indexOf("chocolatey.org")?"domain=chocolatey.org;":"";for(let c in a)if(Object.prototype.hasOwnProperty.call(a,c)){let l=a[c];document.cookie=`${c}=${l}; ${pi()}path=/; ${o}`}})}}for(let r of n){let u=wo(r);if(u)for(let a of t){let i=a.getAttribute(e).replace(/\s/g,"");i!=null&&i.includes(r)&&(i!=null&&i.includes(u))&&window.bootstrap.Tab.getOrCreateInstance(a).show()}}}}),(()=>{let e=document.querySelectorAll("table");e&&e.forEach(t=>{t.classList.add("table","table-bordered","table-striped"),t.outerHTML=`<div class="table-responsive">${t.outerHTML}</div>`})})(),document.querySelectorAll(".dropdown-theme").forEach(t=>{t.querySelectorAll(".dropdown-toggle").forEach(n=>{n.addEventListener("hide.bs.dropdown",()=>{document.querySelectorAll("main").forEach(r=>{r.classList.remove("z-0")})}),n.addEventListener("show.bs.dropdown",()=>{document.querySelectorAll("main").forEach(r=>{r.classList.add("z-0")})})})});var gA=()=>{document.querySelectorAll(".copy-command").forEach(e=>{let t=e.querySelector("code").getAttribute("class").split(" "),n=e.querySelector("button");n&&(n.classList.add("btn-copy"),n.setAttribute("data-clipboard-target",`.${t[0]}`))})},yA=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"),Ah=(e,t,n,r)=>{let u;if(n==="never")u=pi();else if(n==="expired")u="expires=Thu, 01 Jan 1970 00:00:00 UTC";else{let i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),u=`expires=${i.toUTCString()}`}let a=r||"";document.cookie=`${e}=${encodeURIComponent(t)};${u};path=/;${a};`};document.addEventListener("DOMContentLoaded",()=>{let e=document.querySelectorAll(".dynamic-code-block-container"),t=document.querySelectorAll(".dynamic-code-block-input"),n=document.querySelectorAll(".dynamic-code-block-validation"),r=(a,i,o,c)=>{let l=document.querySelectorAll(`.${i}`),h=c||a.value;if(a.value||c)for(let p of l)p.textContent=h,Ah(i,h,"never"),c&&c!==o&&(a.value=c);else for(let p of l)p.textContent=o,Ah(i,o,"never")},u=()=>{n.forEach(a=>{let i=a.getAttribute("data-input-names").split(","),o=!0;for(let c of i){let l=document.querySelector(`.dynamic-code-block-input[name="${c}"]`);l.value?l.classList.remove("is-invalid"):(o=!1,l.classList.add("is-invalid"))}o?(a.classList.remove("show"),setTimeout(()=>{a.classList.add("d-none")},150)):(a.classList.remove("d-none"),a.classList.add("show"))})};t.forEach(a=>{let i=a.name,o=a.getAttribute("data-default-value"),c=wo(i),l=new RegExp(`\\b${i}\\b`,"g");for(let h of e){let g=yA(c||o);h.innerHTML=h.innerHTML.replaceAll(l,`<span class="${i}">${g}</span>`)}r(a,i,o,c),u(),a.addEventListener("keyup",()=>{r(a,i,o),u()})}),gA()})})();})();
|
|
20
120
|
/**
|
|
21
121
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
22
122
|
*
|
|
@@ -48,5 +148,6 @@ jquery/dist/jquery.js:
|
|
|
48
148
|
*)
|
|
49
149
|
|
|
50
150
|
@docsearch/js/dist/esm/index.js:
|
|
51
|
-
(*! @docsearch/js
|
|
151
|
+
(*! @docsearch/js 4.4.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com *)
|
|
152
|
+
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
|
|
52
153
|
*/
|