retype.js 552 KB

1234567891011121314151617181920212223242526
  1. /*! Retype v4.1.0 | retype.com | Copyright 2026. Retype, Inc. All rights reserved. */
  2. (()=>{var e={89(e,t,n){"use strict";n.d(t,{Su:()=>Mt,YR:()=>Tt,dZ:()=>Et,gM:()=>_t});const r="eager",o="lazy";class i extends HTMLElement{static delegateConstructor=void 0;loaded=Promise.resolve();static get observedAttributes(){return["disabled","loading","src"]}constructor(){super(),this.delegate=new i.delegateConstructor(this)}connectedCallback(){this.delegate.connect()}disconnectedCallback(){this.delegate.disconnect()}reload(){return this.delegate.sourceURLReloaded()}attributeChangedCallback(e){"loading"==e?this.delegate.loadingStyleChanged():"src"==e?this.delegate.sourceURLChanged():"disabled"==e&&this.delegate.disabledChanged()}get src(){return this.getAttribute("src")}set src(e){e?this.setAttribute("src",e):this.removeAttribute("src")}get refresh(){return this.getAttribute("refresh")}set refresh(e){e?this.setAttribute("refresh",e):this.removeAttribute("refresh")}get shouldReloadWithMorph(){return this.src&&"morph"===this.refresh}get loading(){return function(e){if("lazy"===e.toLowerCase())return o;return r}(this.getAttribute("loading")||"")}set loading(e){e?this.setAttribute("loading",e):this.removeAttribute("loading")}get disabled(){return this.hasAttribute("disabled")}set disabled(e){e?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get autoscroll(){return this.hasAttribute("autoscroll")}set autoscroll(e){e?this.setAttribute("autoscroll",""):this.removeAttribute("autoscroll")}get complete(){return!this.delegate.isLoading}get isActive(){return this.ownerDocument===document&&!this.isPreview}get isPreview(){return this.ownerDocument?.documentElement?.hasAttribute("data-turbo-preview")}}const s={enabled:!0,progressBarDelay:500,unvisitableExtensions:new Set([".7z",".aac",".apk",".avi",".bmp",".bz2",".css",".csv",".deb",".dmg",".doc",".docx",".exe",".gif",".gz",".heic",".heif",".ico",".iso",".jpeg",".jpg",".js",".json",".m4a",".mkv",".mov",".mp3",".mp4",".mpeg",".mpg",".msi",".ogg",".ogv",".pdf",".pkg",".png",".ppt",".pptx",".rar",".rtf",".svg",".tar",".tif",".tiff",".txt",".wav",".webm",".webp",".wma",".wmv",".xls",".xlsx",".xml",".zip"])};function a(e){if("false"==e.getAttribute("data-turbo-eval"))return e;{const t=document.createElement("script"),n=E();return n&&(t.nonce=n),t.textContent=e.textContent,t.async=!1,function(e,t){for(const{name:n,value:r}of t.attributes)e.setAttribute(n,r)}(t,e),t}}function l(e,{target:t,cancelable:n,detail:r}={}){const o=new CustomEvent(e,{cancelable:n,bubbles:!0,composed:!0,detail:r});return t&&t.isConnected?t.dispatchEvent(o):document.documentElement.dispatchEvent(o),o}function c(e){e.preventDefault(),e.stopImmediatePropagation()}function u(){return"hidden"===document.visibilityState?h():d()}function d(){return new Promise(e=>requestAnimationFrame(()=>e()))}function h(){return new Promise(e=>setTimeout(()=>e(),0))}function f(e=""){return(new DOMParser).parseFromString(e,"text/html")}function p(e,...t){const n=function(e,t){return e.reduce((e,n,r)=>e+n+(null==t[r]?"":t[r]),"")}(e,t).replace(/^\n/,"").split("\n"),r=n[0].match(/^\s+/),o=r?r[0].length:0;return n.map(e=>e.slice(o)).join("\n")}function m(){return Array.from({length:36}).map((e,t)=>8==t||13==t||18==t||23==t?"-":14==t?"4":19==t?(Math.floor(4*Math.random())+8).toString(16):Math.floor(16*Math.random()).toString(16)).join("")}function v(e,...t){for(const n of t.map(t=>t?.getAttribute(e)))if("string"==typeof n)return n;return null}function g(...e){for(const t of e)"turbo-frame"==t.localName&&t.setAttribute("busy",""),t.setAttribute("aria-busy","true")}function b(...e){for(const t of e)"turbo-frame"==t.localName&&t.removeAttribute("busy"),t.removeAttribute("aria-busy")}function y(e,t=2e3){return new Promise(n=>{const r=()=>{e.removeEventListener("error",r),e.removeEventListener("load",r),n()};e.addEventListener("load",r,{once:!0}),e.addEventListener("error",r,{once:!0}),setTimeout(n,t)})}function w(e){switch(e){case"replace":return history.replaceState;case"advance":case"restore":return history.pushState}}function S(...e){const t=v("data-turbo-action",...e);return function(e){return"advance"==e||"replace"==e||"restore"==e}(t)?t:null}function k(e){return document.querySelector(`meta[name="${e}"]`)}function x(e){const t=k(e);return t&&t.content}function E(){const e=k("csp-nonce");if(e){const{nonce:t,content:n}=e;return""==t?n:t}}function C(e,t){if(e instanceof Element)return e.closest(t)||C(e.assignedSlot||e.getRootNode()?.host,t)}function _(e){return!!e&&null==e.closest("[inert], :disabled, [hidden], details:not([open]), dialog:not([open])")&&"function"==typeof e.focus}function A(e){return Array.from(e.querySelectorAll("[autofocus]")).find(_)}function T(e){if("_blank"===e)return!1;if(e){for(const t of document.getElementsByName(e))if(t instanceof HTMLIFrameElement)return!1;return!0}return!0}function L(e){const t=C(e,"a[href], a[xlink\\:href]");if(!t)return null;if(t.href.startsWith("#"))return null;if(t.hasAttribute("download"))return null;const n=t.getAttribute("target");return n&&"_self"!==n?null:t}const R={"aria-disabled":{beforeSubmit:e=>{e.setAttribute("aria-disabled","true"),e.addEventListener("click",c)},afterSubmit:e=>{e.removeAttribute("aria-disabled"),e.removeEventListener("click",c)}},disabled:{beforeSubmit:e=>e.disabled=!0,afterSubmit:e=>e.disabled=!1}};const M=new class{#e=null;constructor(e){Object.assign(this,e)}get submitter(){return this.#e}set submitter(e){this.#e=R[e]||e}}({mode:"on",submitter:"disabled"}),I={drive:s,forms:M};function O(e){return new URL(e.toString(),document.baseURI)}function D(e){let t;return e.hash?e.hash.slice(1):(t=e.href.match(/#(.*)$/))?t[1]:void 0}function P(e,t){return O(t?.getAttribute("formaction")||e.getAttribute("action")||e.action)}function N(e){return(function(e){return function(e){return e.pathname.split("/").slice(1)}(e).slice(-1)[0]}(e).match(/\.[^.]*$/)||[])[0]||""}function F(e,t){return function(e,t){const n=H(t.origin+t.pathname);return H(e.href)===n||e.href.startsWith(n)}(e,t)&&!I.drive.unvisitableExtensions.has(N(e))}function W(e){return O(e.getAttribute("href")||"")}function B(e){return function(e){const t=D(e);return null!=t?e.href.slice(0,-(t.length+1)):e.href}(e)}function V(e,t){return O(e).href==O(t).href}function H(e){return e.endsWith("/")?e:e+"/"}class q{constructor(e){this.response=e}get succeeded(){return this.response.ok}get failed(){return!this.succeeded}get clientError(){return this.statusCode>=400&&this.statusCode<=499}get serverError(){return this.statusCode>=500&&this.statusCode<=599}get redirected(){return this.response.redirected}get location(){return O(this.response.url)}get isHTML(){return this.contentType&&this.contentType.match(/^(?:text\/([^\s;,]+\b)?html|application\/xhtml\+xml)\b/)}get statusCode(){return this.response.status}get contentType(){return this.header("Content-Type")}get responseText(){return this.response.clone().text()}get responseHTML(){return this.isHTML?this.response.clone().text():Promise.resolve(void 0)}header(e){return this.response.headers.get(e)}}class j extends Set{constructor(e){super(),this.maxSize=e}add(e){if(this.size>=this.maxSize){const e=this.values().next().value;this.delete(e)}super.add(e)}}const z=new j(20);function $(e,t={}){const n=new Headers(t.headers||{}),r=m();return z.add(r),n.append("X-Turbo-Request-Id",r),window.fetch(e,{...t,headers:n})}function X(e){switch(e.toLowerCase()){case"get":return K.get;case"post":return K.post;case"put":return K.put;case"patch":return K.patch;case"delete":return K.delete}}const K={get:"get",post:"post",put:"put",patch:"patch",delete:"delete"};const U={urlEncoded:"application/x-www-form-urlencoded",multipart:"multipart/form-data",plain:"text/plain"};class G{abortController=new AbortController;#t=e=>{};constructor(e,t,n,r=new URLSearchParams,o=null,i=U.urlEncoded){const[s,a]=Y(O(n),t,r,i);this.delegate=e,this.url=s,this.target=o,this.fetchOptions={credentials:"same-origin",redirect:"follow",method:t.toUpperCase(),headers:{...this.defaultHeaders},body:a,signal:this.abortSignal,referrer:this.delegate.referrer?.href},this.enctype=i}get method(){return this.fetchOptions.method}set method(e){const t=this.isSafe?this.url.searchParams:this.fetchOptions.body||new FormData,n=X(e)||K.get;this.url.search="";const[r,o]=Y(this.url,n,t,this.enctype);this.url=r,this.fetchOptions.body=o,this.fetchOptions.method=n.toUpperCase()}get headers(){return this.fetchOptions.headers}set headers(e){this.fetchOptions.headers=e}get body(){return this.isSafe?this.url.searchParams:this.fetchOptions.body}set body(e){this.fetchOptions.body=e}get location(){return this.url}get params(){return this.url.searchParams}get entries(){return this.body?Array.from(this.body.entries()):[]}cancel(){this.abortController.abort()}async perform(){const{fetchOptions:e}=this;this.delegate.prepareRequest(this);const t=await this.#n(e);try{this.delegate.requestStarted(this),t.detail.fetchRequest?this.response=t.detail.fetchRequest.response:this.response=$(this.url.href,e);const n=await this.response;return await this.receive(n)}catch(n){if("AbortError"!==n.name)throw this.#r(n)&&this.delegate.requestErrored(this,n),n}finally{this.delegate.requestFinished(this)}}async receive(e){const t=new q(e);return l("turbo:before-fetch-response",{cancelable:!0,detail:{fetchResponse:t},target:this.target}).defaultPrevented?this.delegate.requestPreventedHandlingResponse(this,t):t.succeeded?this.delegate.requestSucceededWithResponse(this,t):this.delegate.requestFailedWithResponse(this,t),t}get defaultHeaders(){return{Accept:"text/html, application/xhtml+xml"}}get isSafe(){return Q(this.method)}get abortSignal(){return this.abortController.signal}acceptResponseType(e){this.headers.Accept=[e,this.headers.Accept].join(", ")}async#n(e){const t=new Promise(e=>this.#t=e),n=l("turbo:before-fetch-request",{cancelable:!0,detail:{fetchOptions:e,url:this.url,resume:this.#t},target:this.target});return this.url=n.detail.url,n.defaultPrevented&&await t,n}#r(e){return!l("turbo:fetch-request-error",{target:this.target,cancelable:!0,detail:{request:this,error:e}}).defaultPrevented}}function Q(e){return X(e)==K.get}function Y(e,t,n,r){const o=Array.from(n).length>0?new URLSearchParams(J(n)):e.searchParams;return Q(t)?[Z(e,o),null]:r==U.urlEncoded?[e,o]:[e,n]}function J(e){const t=[];for(const[n,r]of e)r instanceof File||t.push([n,r]);return t}function Z(e,t){const n=new URLSearchParams(J(t));return e.search=n.toString(),e}class ee{started=!1;constructor(e,t){this.delegate=e,this.element=t,this.intersectionObserver=new IntersectionObserver(this.intersect)}start(){this.started||(this.started=!0,this.intersectionObserver.observe(this.element))}stop(){this.started&&(this.started=!1,this.intersectionObserver.unobserve(this.element))}intersect=e=>{const t=e.slice(-1)[0];t?.isIntersecting&&this.delegate.elementAppearedInViewport(this.element)}}class te{static contentType="text/vnd.turbo-stream.html";static wrap(e){return"string"==typeof e?new this(function(e){const t=document.createElement("template");return t.innerHTML=e,t.content}(e)):e}constructor(e){this.fragment=function(e){for(const t of e.querySelectorAll("turbo-stream")){const e=document.importNode(t,!0);for(const t of e.templateElement.content.querySelectorAll("script"))t.replaceWith(a(t));t.replaceWith(e)}return e}(e)}}const ne=e=>e;class re{keys=[];entries={};#o;constructor(e,t=ne){this.size=e,this.#o=t}has(e){return this.#o(e)in this.entries}get(e){if(this.has(e)){const t=this.read(e);return this.touch(e),t}}put(e,t){return this.write(e,t),this.touch(e),t}clear(){for(const e of Object.keys(this.entries))this.evict(e)}read(e){return this.entries[this.#o(e)]}write(e,t){this.entries[this.#o(e)]=t}touch(e){e=this.#o(e);const t=this.keys.indexOf(e);t>-1&&this.keys.splice(t,1),this.keys.unshift(e),this.trim()}trim(){for(const e of this.keys.splice(this.size))this.evict(e)}evict(e){delete this.entries[e]}}const oe=1e4,ie=new class extends re{#i=null;#s={};constructor(e=1,t=100){super(e,B),this.prefetchDelay=t}putLater(e,t,n){this.#i=setTimeout(()=>{t.perform(),this.put(e,t,n),this.#i=null},this.prefetchDelay)}put(e,t,n=oe){super.put(e,t),this.#s[B(e)]=new Date((new Date).getTime()+n)}clear(){super.clear(),this.#i&&clearTimeout(this.#i)}evict(e){super.evict(e),delete this.#s[e]}has(e){if(super.has(e)){const t=this.#s[B(e)];return t&&t>Date.now()}return!1}},se={initialized:"initialized",requesting:"requesting",waiting:"waiting",receiving:"receiving",stopping:"stopping",stopped:"stopped"};class ae{state=se.initialized;static confirmMethod(e){return Promise.resolve(confirm(e))}constructor(e,t,n,r=!1){const o=function(e,t){const n=t?.getAttribute("formmethod")||e.getAttribute("method")||"";return X(n.toLowerCase())||K.get}(t,n),i=function(e,t){const n=O(e);Q(t)&&(n.search="");return n}(function(e,t){const n="string"==typeof e.action?e.action:null;return t?.hasAttribute("formaction")?t.getAttribute("formaction")||"":e.getAttribute("action")||n||""}(t,n),o),s=function(e,t){const n=new FormData(e),r=t?.getAttribute("name"),o=t?.getAttribute("value");r&&n.append(r,o||"");return n}(t,n),a=function(e,t){return function(e){switch(e.toLowerCase()){case U.multipart:return U.multipart;case U.plain:return U.plain;default:return U.urlEncoded}}(t?.getAttribute("formenctype")||e.enctype)}(t,n);this.delegate=e,this.formElement=t,this.submitter=n,this.fetchRequest=new G(this,o,i,s,t,a),this.mustRedirect=r}get method(){return this.fetchRequest.method}set method(e){this.fetchRequest.method=e}get action(){return this.fetchRequest.url.toString()}set action(e){this.fetchRequest.url=O(e)}get body(){return this.fetchRequest.body}get enctype(){return this.fetchRequest.enctype}get isSafe(){return this.fetchRequest.isSafe}get location(){return this.fetchRequest.url}async start(){const{initialized:e,requesting:t}=se,n=v("data-turbo-confirm",this.submitter,this.formElement);if("string"==typeof n){const e="function"==typeof I.forms.confirm?I.forms.confirm:ae.confirmMethod;if(!await e(n,this.formElement,this.submitter))return}if(this.state==e)return this.state=t,this.fetchRequest.perform()}stop(){const{stopping:e,stopped:t}=se;if(this.state!=e&&this.state!=t)return this.state=e,this.fetchRequest.cancel(),!0}prepareRequest(e){if(!e.isSafe){const t=function(e){if(null!=e){const t=(document.cookie?document.cookie.split("; "):[]).find(t=>t.startsWith(e));if(t){const e=t.split("=").slice(1).join("=");return e?decodeURIComponent(e):void 0}}}(x("csrf-param"))||x("csrf-token");t&&(e.headers["X-CSRF-Token"]=t)}this.requestAcceptsTurboStreamResponse(e)&&e.acceptResponseType(te.contentType)}requestStarted(e){this.state=se.waiting,this.submitter&&I.forms.submitter.beforeSubmit(this.submitter),this.setSubmitsWith(),g(this.formElement),l("turbo:submit-start",{target:this.formElement,detail:{formSubmission:this}}),this.delegate.formSubmissionStarted(this)}requestPreventedHandlingResponse(e,t){ie.clear(),this.result={success:t.succeeded,fetchResponse:t}}requestSucceededWithResponse(e,t){if(t.clientError||t.serverError)this.delegate.formSubmissionFailedWithResponse(this,t);else if(ie.clear(),this.requestMustRedirect(e)&&function(e){return 200==e.statusCode&&!e.redirected}(t)){const e=new Error("Form responses must redirect to another location");this.delegate.formSubmissionErrored(this,e)}else this.state=se.receiving,this.result={success:!0,fetchResponse:t},this.delegate.formSubmissionSucceededWithResponse(this,t)}requestFailedWithResponse(e,t){this.result={success:!1,fetchResponse:t},this.delegate.formSubmissionFailedWithResponse(this,t)}requestErrored(e,t){this.result={success:!1,error:t},this.delegate.formSubmissionErrored(this,t)}requestFinished(e){this.state=se.stopped,this.submitter&&I.forms.submitter.afterSubmit(this.submitter),this.resetSubmitterText(),b(this.formElement),l("turbo:submit-end",{target:this.formElement,detail:{formSubmission:this,...this.result}}),this.delegate.formSubmissionFinished(this)}setSubmitsWith(){if(this.submitter&&this.submitsWith)if(this.submitter.matches("button"))this.originalSubmitText=this.submitter.innerHTML,this.submitter.innerHTML=this.submitsWith;else if(this.submitter.matches("input")){const e=this.submitter;this.originalSubmitText=e.value,e.value=this.submitsWith}}resetSubmitterText(){if(this.submitter&&this.originalSubmitText)if(this.submitter.matches("button"))this.submitter.innerHTML=this.originalSubmitText;else if(this.submitter.matches("input")){this.submitter.value=this.originalSubmitText}}requestMustRedirect(e){return!e.isSafe&&this.mustRedirect}requestAcceptsTurboStreamResponse(e){return!e.isSafe||function(e,...t){return t.some(t=>t&&t.hasAttribute(e))}("data-turbo-stream",this.submitter,this.formElement)}get submitsWith(){return this.submitter?.getAttribute("data-turbo-submits-with")}}class le{constructor(e){this.element=e}get activeElement(){return this.element.ownerDocument.activeElement}get children(){return[...this.element.children]}hasAnchor(e){return null!=this.getElementForAnchor(e)}getElementForAnchor(e){return e?this.element.querySelector(`[id='${e}'], a[name='${e}']`):null}get isConnected(){return this.element.isConnected}get firstAutofocusableElement(){return A(this.element)}get permanentElements(){return ue(this.element)}getPermanentElementById(e){return ce(this.element,e)}getPermanentElementMapForSnapshot(e){const t={};for(const n of this.permanentElements){const{id:r}=n,o=e.getPermanentElementById(r);o&&(t[r]=[n,o])}return t}}function ce(e,t){return e.querySelector(`#${t}[data-turbo-permanent]`)}function ue(e){return e.querySelectorAll("[id][data-turbo-permanent]")}class de{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("submit",this.submitCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("submit",this.submitCaptured,!0),this.started=!1)}submitCaptured=()=>{this.eventTarget.removeEventListener("submit",this.submitBubbled,!1),this.eventTarget.addEventListener("submit",this.submitBubbled,!1)};submitBubbled=e=>{if(!e.defaultPrevented){const t=e.target instanceof HTMLFormElement?e.target:void 0,n=e.submitter||void 0;t&&function(e,t){const n=t?.getAttribute("formmethod")||e.getAttribute("method");return"dialog"!=n}(t,n)&&function(e,t){const n=t?.getAttribute("formtarget")||e.getAttribute("target");return T(n)}(t,n)&&this.delegate.willSubmitForm(t,n)&&(e.preventDefault(),e.stopImmediatePropagation(),this.delegate.formSubmitted(t,n))}}}class he{#a=e=>{};#l=e=>{};constructor(e,t){this.delegate=e,this.element=t}scrollToAnchor(e){const t=this.snapshot.getElementForAnchor(e);t?(this.focusElement(t),this.scrollToElement(t)):this.scrollToPosition({x:0,y:0})}scrollToAnchorFromLocation(e){this.scrollToAnchor(D(e))}scrollToElement(e){e.scrollIntoView()}focusElement(e){e instanceof HTMLElement&&(e.hasAttribute("tabindex")?e.focus():(e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")))}scrollToPosition({x:e,y:t}){this.scrollRoot.scrollTo(e,t)}scrollToTop(){this.scrollToPosition({x:0,y:0})}get scrollRoot(){return window}async render(e){const{isPreview:t,shouldRender:n,willRender:r,newSnapshot:o}=e,i=r;if(n)try{this.renderPromise=new Promise(e=>this.#a=e),this.renderer=e,await this.prepareToRenderSnapshot(e);const n=new Promise(e=>this.#l=e),r={resume:this.#l,render:this.renderer.renderElement,renderMethod:this.renderer.renderMethod};this.delegate.allowsImmediateRender(o,r)||await n,await this.renderSnapshot(e),this.delegate.viewRenderedSnapshot(o,t,this.renderer.renderMethod),this.delegate.preloadOnLoadLinksForView(this.element),this.finishRenderingSnapshot(e)}finally{delete this.renderer,this.#a(void 0),delete this.renderPromise}else i&&this.invalidate(e.reloadReason)}invalidate(e){this.delegate.viewInvalidated(e)}async prepareToRenderSnapshot(e){this.markAsPreview(e.isPreview),await e.prepareToRender()}markAsPreview(e){e?this.element.setAttribute("data-turbo-preview",""):this.element.removeAttribute("data-turbo-preview")}markVisitDirection(e){this.element.setAttribute("data-turbo-visit-direction",e)}unmarkVisitDirection(){this.element.removeAttribute("data-turbo-visit-direction")}async renderSnapshot(e){await e.render()}finishRenderingSnapshot(e){e.finishRendering()}}class fe extends he{missing(){this.element.innerHTML='<strong class="turbo-frame-error">Content missing</strong>'}get snapshot(){return new le(this.element)}}class pe{constructor(e,t){this.delegate=e,this.element=t}start(){this.element.addEventListener("click",this.clickBubbled),document.addEventListener("turbo:click",this.linkClicked),document.addEventListener("turbo:before-visit",this.willVisit)}stop(){this.element.removeEventListener("click",this.clickBubbled),document.removeEventListener("turbo:click",this.linkClicked),document.removeEventListener("turbo:before-visit",this.willVisit)}clickBubbled=e=>{this.clickEventIsSignificant(e)?this.clickEvent=e:delete this.clickEvent};linkClicked=e=>{this.clickEvent&&this.clickEventIsSignificant(e)&&this.delegate.shouldInterceptLinkClick(e.target,e.detail.url,e.detail.originalEvent)&&(this.clickEvent.preventDefault(),e.preventDefault(),this.delegate.linkClickIntercepted(e.target,e.detail.url,e.detail.originalEvent)),delete this.clickEvent};willVisit=e=>{delete this.clickEvent};clickEventIsSignificant(e){const t=e.composed?e.target?.parentElement:e.target,n=L(t)||t;return n instanceof Element&&n.closest("turbo-frame, html")==this.element}}class me{started=!1;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||(this.eventTarget.addEventListener("click",this.clickCaptured,!0),this.started=!0)}stop(){this.started&&(this.eventTarget.removeEventListener("click",this.clickCaptured,!0),this.started=!1)}clickCaptured=()=>{this.eventTarget.removeEventListener("click",this.clickBubbled,!1),this.eventTarget.addEventListener("click",this.clickBubbled,!1)};clickBubbled=e=>{if(e instanceof MouseEvent&&this.clickEventIsSignificant(e)){const t=L(e.composedPath&&e.composedPath()[0]||e.target);if(t&&T(t.target)){const n=W(t);this.delegate.willFollowLinkToLocation(t,n,e)&&(e.preventDefault(),this.delegate.followedLinkToLocation(t,n))}}};clickEventIsSignificant(e){return!(e.target&&e.target.isContentEditable||e.defaultPrevented||e.which>1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}}class ve{constructor(e,t){this.delegate=e,this.linkInterceptor=new me(this,t)}start(){this.linkInterceptor.start()}stop(){this.linkInterceptor.stop()}canPrefetchRequestToLocation(e,t){return!1}prefetchAndCacheRequestToLocation(e,t){}willFollowLinkToLocation(e,t,n){return this.delegate.willSubmitFormLinkToLocation(e,t,n)&&(e.hasAttribute("data-turbo-method")||e.hasAttribute("data-turbo-stream"))}followedLinkToLocation(e,t){const n=document.createElement("form");for(const[l,c]of t.searchParams)n.append(Object.assign(document.createElement("input"),{type:"hidden",name:l,value:c}));const r=Object.assign(t,{search:""});n.setAttribute("data-turbo","true"),n.setAttribute("action",r.href),n.setAttribute("hidden","");const o=e.getAttribute("data-turbo-method");o&&n.setAttribute("method",o);const i=e.getAttribute("data-turbo-frame");i&&n.setAttribute("data-turbo-frame",i);const s=S(e);s&&n.setAttribute("data-turbo-action",s);const a=e.getAttribute("data-turbo-confirm");a&&n.setAttribute("data-turbo-confirm",a);e.hasAttribute("data-turbo-stream")&&n.setAttribute("data-turbo-stream",""),this.delegate.submittedFormLinkToLocation(e,t,n),document.body.appendChild(n),n.addEventListener("turbo:submit-end",()=>n.remove(),{once:!0}),requestAnimationFrame(()=>n.requestSubmit())}}class ge{static async preservingPermanentElements(e,t,n){const r=new this(e,t);r.enter(),await n(),r.leave()}constructor(e,t){this.delegate=e,this.permanentElementMap=t}enter(){for(const e in this.permanentElementMap){const[t,n]=this.permanentElementMap[e];this.delegate.enteringBardo(t,n),this.replaceNewPermanentElementWithPlaceholder(n)}}leave(){for(const e in this.permanentElementMap){const[t]=this.permanentElementMap[e];this.replaceCurrentPermanentElementWithClone(t),this.replacePlaceholderWithPermanentElement(t),this.delegate.leavingBardo(t)}}replaceNewPermanentElementWithPlaceholder(e){const t=function(e){const t=document.createElement("meta");return t.setAttribute("name","turbo-permanent-placeholder"),t.setAttribute("content",e.id),t}(e);e.replaceWith(t)}replaceCurrentPermanentElementWithClone(e){const t=e.cloneNode(!0);e.replaceWith(t)}replacePlaceholderWithPermanentElement(e){const t=this.getPlaceholderById(e.id);t?.replaceWith(e)}getPlaceholderById(e){return this.placeholders.find(t=>t.content==e)}get placeholders(){return[...document.querySelectorAll("meta[name=turbo-permanent-placeholder][content]")]}}class be{#c=null;static renderElement(e,t){}constructor(e,t,n,r=!0){this.currentSnapshot=e,this.newSnapshot=t,this.isPreview=n,this.willRender=r,this.renderElement=this.constructor.renderElement,this.promise=new Promise((e,t)=>this.resolvingFunctions={resolve:e,reject:t})}get shouldRender(){return!0}get shouldAutofocus(){return!0}get reloadReason(){}prepareToRender(){}render(){}finishRendering(){this.resolvingFunctions&&(this.resolvingFunctions.resolve(),delete this.resolvingFunctions)}async preservingPermanentElements(e){await ge.preservingPermanentElements(this,this.permanentElementMap,e)}focusFirstAutofocusableElement(){if(this.shouldAutofocus){const e=this.connectedSnapshot.firstAutofocusableElement;e&&e.focus()}}enteringBardo(e){this.#c||e.contains(this.currentSnapshot.activeElement)&&(this.#c=this.currentSnapshot.activeElement)}leavingBardo(e){e.contains(this.#c)&&this.#c instanceof HTMLElement&&(this.#c.focus(),this.#c=null)}get connectedSnapshot(){return this.newSnapshot.isConnected?this.newSnapshot:this.currentSnapshot}get currentElement(){return this.currentSnapshot.element}get newElement(){return this.newSnapshot.element}get permanentElementMap(){return this.currentSnapshot.getPermanentElementMapForSnapshot(this.newSnapshot)}get renderMethod(){return"replace"}}class ye extends be{static renderElement(e,t){const n=document.createRange();n.selectNodeContents(e),n.deleteContents();const r=t,o=r.ownerDocument?.createRange();o&&(o.selectNodeContents(r),e.appendChild(o.extractContents()))}constructor(e,t,n,r,o,i=!0){super(t,n,r,o,i),this.delegate=e}get shouldRender(){return!0}async render(){await u(),this.preservingPermanentElements(()=>{this.loadFrameElement()}),this.scrollFrameIntoView(),await u(),this.focusFirstAutofocusableElement(),await u(),this.activateScriptElements()}loadFrameElement(){this.delegate.willRenderFrame(this.currentElement,this.newElement),this.renderElement(this.currentElement,this.newElement)}scrollFrameIntoView(){if(this.currentElement.autoscroll||this.newElement.autoscroll){const n=this.currentElement.firstElementChild,r=(e=this.currentElement.getAttribute("data-autoscroll-block"),t="end","end"==e||"start"==e||"center"==e||"nearest"==e?e:t),o=function(e,t){return"auto"==e||"smooth"==e?e:t}(this.currentElement.getAttribute("data-autoscroll-behavior"),"auto");if(n)return n.scrollIntoView({block:r,behavior:o}),!0}var e,t;return!1}activateScriptElements(){for(const e of this.newScriptElements){const t=a(e);e.replaceWith(t)}}get newScriptElements(){return this.currentElement.querySelectorAll("script")}}var we=function(){const e=()=>{},t={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:e,afterNodeAdded:e,beforeNodeMorphed:e,afterNodeMorphed:e,beforeNodeRemoved:e,afterNodeRemoved:e,beforeAttributeUpdated:e},head:{style:"merge",shouldPreserve:e=>"true"===e.getAttribute("im-preserve"),shouldReAppend:e=>"true"===e.getAttribute("im-re-append"),shouldRemove:e,afterHeadMorphed:e},restoreFocus:!0};const n=function(){function e(e,t,n,o){if(!1===o.callbacks.beforeNodeAdded(t))return null;if(o.idMap.has(t)){const i=document.createElement(t.tagName);return e.insertBefore(i,n),r(i,t,o),o.callbacks.afterNodeAdded(i),i}{const r=document.importNode(t,!0);return e.insertBefore(r,n),o.callbacks.afterNodeAdded(r),r}}const t=function(){function e(e,t,n){let r=e.idMap.get(t),o=e.idMap.get(n);if(!o||!r)return!1;for(const i of r)if(o.has(i))return!0;return!1}function t(e,t){const n=e,r=t;return n.nodeType===r.nodeType&&n.tagName===r.tagName&&(!n.getAttribute?.("id")||n.getAttribute?.("id")===r.getAttribute?.("id"))}return function(n,r,o,i){let s=null,a=r.nextSibling,l=0,c=o;for(;c&&c!=i;){if(t(c,r)){if(e(n,c,r))return c;null===s&&(n.idMap.has(c)||(s=c))}if(null===s&&a&&t(c,a)&&(l++,a=a.nextSibling,l>=2&&(s=void 0)),n.activeElementAndParents.includes(c))break;c=c.nextSibling}return s||null}}();function n(e,t){if(e.idMap.has(t))s(e.pantry,t,null);else{if(!1===e.callbacks.beforeNodeRemoved(t))return;t.parentNode?.removeChild(t),e.callbacks.afterNodeRemoved(t)}}function o(e,t,r){let o=t;for(;o&&o!==r;){let t=o;o=o.nextSibling,n(e,t)}return o}function i(e,t,n,r){const o=r.target.getAttribute?.("id")===t&&r.target||r.target.querySelector(`[id="${t}"]`)||r.pantry.querySelector(`[id="${t}"]`);return function(e,t){const n=e.getAttribute("id");for(;e=e.parentNode;){let r=t.idMap.get(e);r&&(r.delete(n),r.size||t.idMap.delete(e))}}(o,r),s(e,o,n),o}function s(e,t,n){if(e.moveBefore)try{e.moveBefore(t,n)}catch(r){e.insertBefore(t,n)}else e.insertBefore(t,n)}return function(s,a,l,c=null,u=null){a instanceof HTMLTemplateElement&&l instanceof HTMLTemplateElement&&(a=a.content,l=l.content),c||=a.firstChild;for(const n of l.childNodes){if(c&&c!=u){const e=t(s,n,c,u);if(e){e!==c&&o(s,c,e),r(e,n,s),c=e.nextSibling;continue}}if(n instanceof Element){const e=n.getAttribute("id");if(s.persistentIds.has(e)){const t=i(a,e,c,s);r(t,n,s),c=t.nextSibling;continue}}const l=e(a,n,c,s);l&&(c=l.nextSibling)}for(;c&&c!=u;){const e=c;c=c.nextSibling,n(s,e)}}}(),r=function(){function e(e,n,r,o){const i=n[r];if(i!==e[r]){const s=t(r,e,"update",o);s||(e[r]=n[r]),i?s||e.setAttribute(r,""):t(r,e,"remove",o)||e.removeAttribute(r)}}function t(e,t,n,r){return!("value"!==e||!r.ignoreActiveValue||t!==document.activeElement)||!1===r.callbacks.beforeAttributeUpdated(e,t,n)}function r(e,t){return!!t.ignoreActiveValue&&e===document.activeElement&&e!==document.body}return function(i,s,a){return a.ignoreActive&&i===document.activeElement?null:(!1===a.callbacks.beforeNodeMorphed(i,s)||(i instanceof HTMLHeadElement&&a.head.ignore||(i instanceof HTMLHeadElement&&"morph"!==a.head.style?o(i,s,a):(!function(n,o,i){let s=o.nodeType;if(1===s){const s=n,a=o,l=s.attributes,c=a.attributes;for(const e of c)t(e.name,s,"update",i)||s.getAttribute(e.name)!==e.value&&s.setAttribute(e.name,e.value);for(let e=l.length-1;0<=e;e--){const n=l[e];if(n&&!a.hasAttribute(n.name)){if(t(n.name,s,"remove",i))continue;s.removeAttribute(n.name)}}r(s,i)||function(n,r,o){if(n instanceof HTMLInputElement&&r instanceof HTMLInputElement&&"file"!==r.type){let i=r.value,s=n.value;e(n,r,"checked",o),e(n,r,"disabled",o),r.hasAttribute("value")?s!==i&&(t("value",n,"update",o)||(n.setAttribute("value",i),n.value=i)):t("value",n,"remove",o)||(n.value="",n.removeAttribute("value"))}else if(n instanceof HTMLOptionElement&&r instanceof HTMLOptionElement)e(n,r,"selected",o);else if(n instanceof HTMLTextAreaElement&&r instanceof HTMLTextAreaElement){let e=r.value,i=n.value;if(t("value",n,"update",o))return;e!==i&&(n.value=e),n.firstChild&&n.firstChild.nodeValue!==e&&(n.firstChild.nodeValue=e)}}(s,a,i)}8!==s&&3!==s||n.nodeValue!==o.nodeValue&&(n.nodeValue=o.nodeValue)}(i,s,a),r(i,a)||n(a,i,s))),a.callbacks.afterNodeMorphed(i,s)),i)}}();function o(e,t,n){let r=[],o=[],i=[],s=[],a=new Map;for(const c of t.children)a.set(c.outerHTML,c);for(const c of e.children){let e=a.has(c.outerHTML),t=n.head.shouldReAppend(c),r=n.head.shouldPreserve(c);e||r?t?o.push(c):(a.delete(c.outerHTML),i.push(c)):"append"===n.head.style?t&&(o.push(c),s.push(c)):!1!==n.head.shouldRemove(c)&&o.push(c)}s.push(...a.values());let l=[];for(const c of s){let t=document.createRange().createContextualFragment(c.outerHTML).firstChild;if(!1!==n.callbacks.beforeNodeAdded(t)){if("href"in t&&t.href||"src"in t&&t.src){let e,n=new Promise(function(t){e=t});t.addEventListener("load",function(){e()}),l.push(n)}e.appendChild(t),n.callbacks.afterNodeAdded(t),r.push(t)}}for(const c of o)!1!==n.callbacks.beforeNodeRemoved(c)&&(e.removeChild(c),n.callbacks.afterNodeRemoved(c));return n.head.afterHeadMorphed(e,{added:r,kept:i,removed:o}),l}const i=function(){function e(){const e=document.createElement("div");return e.hidden=!0,document.body.insertAdjacentElement("afterend",e),e}function n(e){let t=[],n=document.activeElement;if("BODY"!==n?.tagName&&e.contains(n))for(;n&&(t.push(n),n!==e);)n=n.parentElement;return t}function r(e){let t=Array.from(e.querySelectorAll("[id]"));return e.getAttribute?.("id")&&t.push(e),t}function o(e,t,n,r){for(const o of r){const r=o.getAttribute("id");if(t.has(r)){let t=o;for(;t;){let o=e.get(t);if(null==o&&(o=new Set,e.set(t,o)),o.add(r),t===n)break;t=t.parentElement}}}}return function(i,s,a){const{persistentIds:l,idMap:c}=function(e,t){const n=r(e),i=r(t),s=function(e,t){let n=new Set,r=new Map;for(const{id:i,tagName:s}of e)r.has(i)?n.add(i):r.set(i,s);let o=new Set;for(const{id:i,tagName:s}of t)o.has(i)?n.add(i):r.get(i)===s&&o.add(i);for(const i of n)o.delete(i);return o}(n,i);let a=new Map;o(a,s,e,n);const l=t.__idiomorphRoot||t;return o(a,s,l,i),{persistentIds:s,idMap:a}}(i,s),u=function(e){let n=Object.assign({},t);return Object.assign(n,e),n.callbacks=Object.assign({},t.callbacks,e.callbacks),n.head=Object.assign({},t.head,e.head),n}(a),d=u.morphStyle||"outerHTML";if(!["innerHTML","outerHTML"].includes(d))throw`Do not understand how to morph style ${d}`;return{target:i,newContent:s,config:u,morphStyle:d,ignoreActive:u.ignoreActive,ignoreActiveValue:u.ignoreActiveValue,restoreFocus:u.restoreFocus,idMap:c,persistentIds:l,pantry:e(),activeElementAndParents:n(i),callbacks:u.callbacks,head:u.head}}}(),{normalizeElement:s,normalizeParent:a}=function(){const e=new WeakSet;class t{constructor(e){this.originalNode=e,this.realParentNode=e.parentNode,this.previousSibling=e.previousSibling,this.nextSibling=e.nextSibling}get childNodes(){const e=[];let t=this.previousSibling?this.previousSibling.nextSibling:this.realParentNode.firstChild;for(;t&&t!=this.nextSibling;)e.push(t),t=t.nextSibling;return e}querySelectorAll(e){return this.childNodes.reduce((t,n)=>{if(n instanceof Element){n.matches(e)&&t.push(n);const r=n.querySelectorAll(e);for(let e=0;e<r.length;e++)t.push(r[e])}return t},[])}insertBefore(e,t){return this.realParentNode.insertBefore(e,t)}moveBefore(e,t){return this.realParentNode.moveBefore(e,t)}get __idiomorphRoot(){return this.originalNode}}return{normalizeElement:function(e){return e instanceof Document?e.documentElement:e},normalizeParent:function n(r){if(null==r)return document.createElement("div");if("string"==typeof r)return n(function(t){let n=new DOMParser,r=t.replace(/<svg(\s[^>]*>|>)([\s\S]*?)<\/svg>/gim,"");if(r.match(/<\/html>/)||r.match(/<\/head>/)||r.match(/<\/body>/)){let o=n.parseFromString(t,"text/html");if(r.match(/<\/html>/))return e.add(o),o;{let t=o.firstChild;return t&&e.add(t),t}}{let r=n.parseFromString("<body><template>"+t+"</template></body>","text/html").body.querySelector("template").content;return e.add(r),r}}(r));if(e.has(r))return r;if(r instanceof Node){if(r.parentNode)return new t(r);{const e=document.createElement("div");return e.append(r),e}}{const e=document.createElement("div");for(const t of[...r])e.append(t);return e}}}}();return{morph:function(e,t,r={}){e=s(e);const l=a(t),c=i(e,l,r),u=function(e,t){if(!e.config.restoreFocus)return t();let n=document.activeElement;if(!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement))return t();const{id:r,selectionStart:o,selectionEnd:i}=n,s=t();r&&r!==document.activeElement?.getAttribute("id")&&(n=e.target.querySelector(`[id="${r}"]`),n?.focus());n&&!n.selectionEnd&&i&&n.setSelectionRange(o,i);return s}(c,()=>function(e,t,n,r){if(e.head.block){const i=t.querySelector("head"),s=n.querySelector("head");if(i&&s){const t=o(i,s,e);return Promise.all(t).then(()=>{const t=Object.assign(e,{head:{block:!1,ignore:!0}});return r(t)})}}return r(e)}(c,e,l,t=>"innerHTML"===t.morphStyle?(n(t,e,l),Array.from(e.childNodes)):function(e,t,r){const o=a(t);return n(e,o,r,t,t.nextSibling),Array.from(o.childNodes)}(t,e,l)));return c.pantry.remove(),u},defaults:t}}();function Se(e,t,{callbacks:n,...r}={}){we.morph(e,t,{...r,callbacks:new Ce(n)})}function ke(e,t,n={}){Se(e,t.childNodes,{...n,morphStyle:"innerHTML"})}function xe(e,t){return e instanceof i&&e.shouldReloadWithMorph&&(!t||function(e,t){return t instanceof Element&&"TURBO-FRAME"===t.nodeName&&e.id===t.id&&(!t.getAttribute("src")||V(e.src,t.getAttribute("src")))}(e,t))&&!e.closest("[data-turbo-permanent]")}function Ee(e){return e.parentElement.closest("turbo-frame[src][refresh=morph]")}class Ce{#u;constructor({beforeNodeMorphed:e}={}){this.#u=e||(()=>!0)}beforeNodeAdded=e=>!(e.id&&e.hasAttribute("data-turbo-permanent")&&document.getElementById(e.id));beforeNodeMorphed=(e,t)=>{if(e instanceof Element){if(!e.hasAttribute("data-turbo-permanent")&&this.#u(e,t)){return!l("turbo:before-morph-element",{cancelable:!0,target:e,detail:{currentElement:e,newElement:t}}).defaultPrevented}return!1}};beforeAttributeUpdated=(e,t,n)=>!l("turbo:before-morph-attribute",{cancelable:!0,target:t,detail:{attributeName:e,mutationType:n}}).defaultPrevented;beforeNodeRemoved=e=>this.beforeNodeMorphed(e);afterNodeMorphed=(e,t)=>{e instanceof Element&&l("turbo:morph-element",{target:e,detail:{currentElement:e,newElement:t}})}}class _e extends ye{static renderElement(e,t){l("turbo:before-frame-morph",{target:e,detail:{currentElement:e,newElement:t}}),ke(e,t,{callbacks:{beforeNodeMorphed:(t,n)=>!xe(t,n)||Ee(t)!==e||(t.reload(),!1)}})}async preservingPermanentElements(e){return await e()}}class Ae{static animationDuration=300;static get defaultCSS(){return p`
  3. .turbo-progress-bar {
  4. position: fixed;
  5. display: block;
  6. top: 0;
  7. left: 0;
  8. height: 3px;
  9. background: #0076ff;
  10. z-index: 2147483647;
  11. transition:
  12. width ${Ae.animationDuration}ms ease-out,
  13. opacity ${Ae.animationDuration/2}ms ${Ae.animationDuration/2}ms ease-in;
  14. transform: translate3d(0, 0, 0);
  15. }
  16. `}hiding=!1;value=0;visible=!1;constructor(){this.stylesheetElement=this.createStylesheetElement(),this.progressElement=this.createProgressElement(),this.installStylesheetElement(),this.setValue(0)}show(){this.visible||(this.visible=!0,this.installProgressElement(),this.startTrickling())}hide(){this.visible&&!this.hiding&&(this.hiding=!0,this.fadeProgressElement(()=>{this.uninstallProgressElement(),this.stopTrickling(),this.visible=!1,this.hiding=!1}))}setValue(e){this.value=e,this.refresh()}installStylesheetElement(){document.head.insertBefore(this.stylesheetElement,document.head.firstChild)}installProgressElement(){this.progressElement.style.width="0",this.progressElement.style.opacity="1",document.documentElement.insertBefore(this.progressElement,document.body),this.refresh()}fadeProgressElement(e){this.progressElement.style.opacity="0",setTimeout(e,1.5*Ae.animationDuration)}uninstallProgressElement(){this.progressElement.parentNode&&document.documentElement.removeChild(this.progressElement)}startTrickling(){this.trickleInterval||(this.trickleInterval=window.setInterval(this.trickle,Ae.animationDuration))}stopTrickling(){window.clearInterval(this.trickleInterval),delete this.trickleInterval}trickle=()=>{this.setValue(this.value+Math.random()/100)};refresh(){requestAnimationFrame(()=>{this.progressElement.style.width=10+90*this.value+"%"})}createStylesheetElement(){const e=document.createElement("style");e.type="text/css",e.textContent=Ae.defaultCSS;const t=E();return t&&(e.nonce=t),e}createProgressElement(){const e=document.createElement("div");return e.className="turbo-progress-bar",e}}class Te extends le{detailsByOuterHTML=this.children.filter(e=>!function(e){const t=e.localName;return"noscript"==t}(e)).map(e=>function(e){e.hasAttribute("nonce")&&e.setAttribute("nonce","");return e}(e)).reduce((e,t)=>{const{outerHTML:n}=t,r=n in e?e[n]:{type:Le(t),tracked:Re(t),elements:[]};return{...e,[n]:{...r,elements:[...r.elements,t]}}},{});get trackedElementSignature(){return Object.keys(this.detailsByOuterHTML).filter(e=>this.detailsByOuterHTML[e].tracked).join("")}getScriptElementsNotInSnapshot(e){return this.getElementsMatchingTypeNotInSnapshot("script",e)}getStylesheetElementsNotInSnapshot(e){return this.getElementsMatchingTypeNotInSnapshot("stylesheet",e)}getElementsMatchingTypeNotInSnapshot(e,t){return Object.keys(this.detailsByOuterHTML).filter(e=>!(e in t.detailsByOuterHTML)).map(e=>this.detailsByOuterHTML[e]).filter(({type:t})=>t==e).map(({elements:[e]})=>e)}get provisionalElements(){return Object.keys(this.detailsByOuterHTML).reduce((e,t)=>{const{type:n,tracked:r,elements:o}=this.detailsByOuterHTML[t];return null!=n||r?o.length>1?[...e,...o.slice(1)]:e:[...e,...o]},[])}getMetaValue(e){const t=this.findMetaElementByName(e);return t?t.getAttribute("content"):null}findMetaElementByName(e){return Object.keys(this.detailsByOuterHTML).reduce((t,n)=>{const{elements:[r]}=this.detailsByOuterHTML[n];return function(e,t){const n=e.localName;return"meta"==n&&e.getAttribute("name")==t}(r,e)?r:t},0)}}function Le(e){return function(e){const t=e.localName;return"script"==t}(e)?"script":function(e){const t=e.localName;return"style"==t||"link"==t&&"stylesheet"==e.getAttribute("rel")}(e)?"stylesheet":void 0}function Re(e){return"reload"==e.getAttribute("data-turbo-track")}class Me extends le{static fromHTMLString(e=""){return this.fromDocument(f(e))}static fromElement(e){return this.fromDocument(e.ownerDocument)}static fromDocument({documentElement:e,body:t,head:n}){return new this(e,t,new Te(n))}constructor(e,t,n){super(t),this.documentElement=e,this.headSnapshot=n}clone(){const e=this.element.cloneNode(!0),t=this.element.querySelectorAll("select"),n=e.querySelectorAll("select");for(const[r,o]of t.entries()){const e=n[r];for(const t of e.selectedOptions)t.selected=!1;for(const t of o.selectedOptions)e.options[t.index].selected=!0}for(const r of e.querySelectorAll('input[type="password"]'))r.value="";for(const r of e.querySelectorAll("noscript"))r.remove();return new Me(this.documentElement,e,this.headSnapshot)}get lang(){return this.documentElement.getAttribute("lang")}get dir(){return this.documentElement.getAttribute("dir")}get headElement(){return this.headSnapshot.element}get rootLocation(){return O(this.getSetting("root")??"/")}get cacheControlValue(){return this.getSetting("cache-control")}get isPreviewable(){return"no-preview"!=this.cacheControlValue}get isCacheable(){return"no-cache"!=this.cacheControlValue}get isVisitable(){return"reload"!=this.getSetting("visit-control")}get prefersViewTransitions(){return("true"===this.getSetting("view-transition")||"same-origin"===this.headSnapshot.getMetaValue("view-transition"))&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches}get refreshMethod(){return this.getSetting("refresh-method")}get refreshScroll(){return this.getSetting("refresh-scroll")}getSetting(e){return this.headSnapshot.getMetaValue(`turbo-${e}`)}}class Ie{#d=!1;#h=Promise.resolve();renderChange(e,t){return e&&this.viewTransitionsAvailable&&!this.#d?(this.#d=!0,this.#h=this.#h.then(async()=>{await document.startViewTransition(t).finished})):this.#h=this.#h.then(t),this.#h}get viewTransitionsAvailable(){return document.startViewTransition}}const Oe={action:"advance",historyChanged:!1,visitCachedSnapshot:()=>{},willRender:!0,updateHistory:!0,shouldCacheSnapshot:!0,acceptsStreamResponse:!1,refresh:{}},De="visitStart",Pe="requestStart",Ne="requestEnd",Fe="visitEnd",We="initialized",Be="started",Ve="canceled",He="failed",qe="completed",je=0,ze=-1,$e=-2,Xe={advance:"forward",restore:"back",replace:"none"};class Ke{identifier=m();timingMetrics={};followedRedirect=!1;historyChanged=!1;scrolled=!1;shouldCacheSnapshot=!0;acceptsStreamResponse=!1;snapshotCached=!1;state=We;viewTransitioner=new Ie;constructor(e,t,n,r={}){this.delegate=e,this.location=t,this.restorationIdentifier=n||m();const{action:o,historyChanged:i,referrer:s,snapshot:a,snapshotHTML:l,response:c,visitCachedSnapshot:u,willRender:d,updateHistory:h,shouldCacheSnapshot:f,acceptsStreamResponse:p,direction:v,refresh:g}={...Oe,...r};this.action=o,this.historyChanged=i,this.referrer=s,this.snapshot=a,this.snapshotHTML=l,this.response=c,this.isPageRefresh=this.view.isPageRefresh(this),this.visitCachedSnapshot=u,this.willRender=d,this.updateHistory=h,this.scrolled=!d,this.shouldCacheSnapshot=f,this.acceptsStreamResponse=p,this.direction=v||Xe[o],this.refresh=g}get adapter(){return this.delegate.adapter}get view(){return this.delegate.view}get history(){return this.delegate.history}get restorationData(){return this.history.getRestorationDataForIdentifier(this.restorationIdentifier)}start(){this.state==We&&(this.recordTimingMetric(De),this.state=Be,this.adapter.visitStarted(this),this.delegate.visitStarted(this))}cancel(){this.state==Be&&(this.request&&this.request.cancel(),this.cancelRender(),this.state=Ve)}complete(){this.state==Be&&(this.recordTimingMetric(Fe),this.adapter.visitCompleted(this),this.state=qe,this.followRedirect(),this.followedRedirect||this.delegate.visitCompleted(this))}fail(){this.state==Be&&(this.state=He,this.adapter.visitFailed(this),this.delegate.visitCompleted(this))}changeHistory(){if(!this.historyChanged&&this.updateHistory){const e=w(this.location.href===this.referrer?.href?"replace":this.action);this.history.update(e,this.location,this.restorationIdentifier),this.historyChanged=!0}}issueRequest(){this.hasPreloadedResponse()?this.simulateRequest():this.shouldIssueRequest()&&!this.request&&(this.request=new G(this,K.get,this.location),this.request.perform())}simulateRequest(){this.response&&(this.startRequest(),this.recordResponse(),this.finishRequest())}startRequest(){this.recordTimingMetric(Pe),this.adapter.visitRequestStarted(this)}recordResponse(e=this.response){if(this.response=e,e){const{statusCode:t}=e;Ue(t)?this.adapter.visitRequestCompleted(this):this.adapter.visitRequestFailedWithStatusCode(this,t)}}finishRequest(){this.recordTimingMetric(Ne),this.adapter.visitRequestFinished(this)}loadResponse(){if(this.response){const{statusCode:e,responseHTML:t}=this.response;this.render(async()=>{if(this.shouldCacheSnapshot&&this.cacheSnapshot(),this.view.renderPromise&&await this.view.renderPromise,Ue(e)&&null!=t){const e=Me.fromHTMLString(t);await this.renderPageSnapshot(e,!1),this.adapter.visitRendered(this),this.complete()}else await this.view.renderError(Me.fromHTMLString(t),this),this.adapter.visitRendered(this),this.fail()})}}getCachedSnapshot(){const e=this.view.getCachedSnapshotForLocation(this.location)||this.getPreloadedSnapshot();if(e&&(!D(this.location)||e.hasAnchor(D(this.location)))&&("restore"==this.action||e.isPreviewable))return e}getPreloadedSnapshot(){if(this.snapshotHTML)return Me.fromHTMLString(this.snapshotHTML)}hasCachedSnapshot(){return null!=this.getCachedSnapshot()}loadCachedSnapshot(){const e=this.getCachedSnapshot();if(e){const t=this.shouldIssueRequest();this.render(async()=>{this.cacheSnapshot(),this.isPageRefresh?this.adapter.visitRendered(this):(this.view.renderPromise&&await this.view.renderPromise,await this.renderPageSnapshot(e,t),this.adapter.visitRendered(this),t||this.complete())})}}followRedirect(){this.redirectedToLocation&&!this.followedRedirect&&this.response?.redirected&&(this.adapter.visitProposedToLocation(this.redirectedToLocation,{action:"replace",response:this.response,shouldCacheSnapshot:!1,willRender:!1}),this.followedRedirect=!0)}prepareRequest(e){this.acceptsStreamResponse&&e.acceptResponseType(te.contentType)}requestStarted(){this.startRequest()}requestPreventedHandlingResponse(e,t){}async requestSucceededWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:o}=t;null==n?this.recordResponse({statusCode:$e,redirected:r}):(this.redirectedToLocation=t.redirected?t.location:void 0,this.recordResponse({statusCode:o,responseHTML:n,redirected:r}))}async requestFailedWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:o}=t;null==n?this.recordResponse({statusCode:$e,redirected:r}):this.recordResponse({statusCode:o,responseHTML:n,redirected:r})}requestErrored(e,t){this.recordResponse({statusCode:je,redirected:!1})}requestFinished(){this.finishRequest()}performScroll(){this.scrolled||this.view.forceReloaded||this.view.shouldPreserveScrollPosition(this)||("restore"==this.action?this.scrollToRestoredPosition()||this.scrollToAnchor()||this.view.scrollToTop():this.scrollToAnchor()||this.view.scrollToTop(),this.scrolled=!0)}scrollToRestoredPosition(){const{scrollPosition:e}=this.restorationData;if(e)return this.view.scrollToPosition(e),!0}scrollToAnchor(){const e=D(this.location);if(null!=e)return this.view.scrollToAnchor(e),!0}recordTimingMetric(e){this.timingMetrics[e]=(new Date).getTime()}getTimingMetrics(){return{...this.timingMetrics}}hasPreloadedResponse(){return"object"==typeof this.response}shouldIssueRequest(){return"restore"==this.action?!this.hasCachedSnapshot():this.willRender}cacheSnapshot(){this.snapshotCached||(this.view.cacheSnapshot(this.snapshot).then(e=>e&&this.visitCachedSnapshot(e)),this.snapshotCached=!0)}async render(e){this.cancelRender(),await new Promise(e=>{this.frame="hidden"===document.visibilityState?setTimeout(()=>e(),0):requestAnimationFrame(()=>e())}),await e(),delete this.frame}async renderPageSnapshot(e,t){await this.viewTransitioner.renderChange(this.view.shouldTransitionTo(e),async()=>{await this.view.renderPage(e,t,this.willRender,this),this.performScroll()})}cancelRender(){this.frame&&(cancelAnimationFrame(this.frame),delete this.frame)}}function Ue(e){return e>=200&&e<300}class Ge{progressBar=new Ae;constructor(e){this.session=e}visitProposedToLocation(e,t){F(e,this.navigator.rootLocation)?this.navigator.startVisit(e,t?.restorationIdentifier||m(),t):window.location.href=e.toString()}visitStarted(e){this.location=e.location,this.redirectedToLocation=null,e.loadCachedSnapshot(),e.issueRequest()}visitRequestStarted(e){this.progressBar.setValue(0),e.hasCachedSnapshot()||"restore"!=e.action?this.showVisitProgressBarAfterDelay():this.showProgressBar()}visitRequestCompleted(e){e.loadResponse(),e.response.redirected&&(this.redirectedToLocation=e.redirectedToLocation)}visitRequestFailedWithStatusCode(e,t){switch(t){case je:case ze:case $e:return this.reload({reason:"request_failed",context:{statusCode:t}});default:return e.loadResponse()}}visitRequestFinished(e){}visitCompleted(e){this.progressBar.setValue(1),this.hideVisitProgressBar()}pageInvalidated(e){this.reload(e)}visitFailed(e){this.progressBar.setValue(1),this.hideVisitProgressBar()}visitRendered(e){}linkPrefetchingIsEnabledForLocation(e){return!0}formSubmissionStarted(e){this.progressBar.setValue(0),this.showFormProgressBarAfterDelay()}formSubmissionFinished(e){this.progressBar.setValue(1),this.hideFormProgressBar()}showVisitProgressBarAfterDelay(){this.visitProgressBarTimeout=window.setTimeout(this.showProgressBar,this.session.progressBarDelay)}hideVisitProgressBar(){this.progressBar.hide(),null!=this.visitProgressBarTimeout&&(window.clearTimeout(this.visitProgressBarTimeout),delete this.visitProgressBarTimeout)}showFormProgressBarAfterDelay(){null==this.formProgressBarTimeout&&(this.formProgressBarTimeout=window.setTimeout(this.showProgressBar,this.session.progressBarDelay))}hideFormProgressBar(){this.progressBar.hide(),null!=this.formProgressBarTimeout&&(window.clearTimeout(this.formProgressBarTimeout),delete this.formProgressBarTimeout)}showProgressBar=()=>{this.progressBar.show()};reload(e){l("turbo:reload",{detail:e}),window.location.href=(this.redirectedToLocation||this.location)?.toString()||window.location.href}get navigator(){return this.session.navigator}}class Qe{selector="[data-turbo-temporary]";started=!1;start(){this.started||(this.started=!0,addEventListener("turbo:before-cache",this.removeTemporaryElements,!1))}stop(){this.started&&(this.started=!1,removeEventListener("turbo:before-cache",this.removeTemporaryElements,!1))}removeTemporaryElements=e=>{for(const t of this.temporaryElements)t.remove()};get temporaryElements(){return[...document.querySelectorAll(this.selector)]}}class Ye{constructor(e,t){this.session=e,this.element=t,this.linkInterceptor=new pe(this,t),this.formSubmitObserver=new de(this,t)}start(){this.linkInterceptor.start(),this.formSubmitObserver.start()}stop(){this.linkInterceptor.stop(),this.formSubmitObserver.stop()}shouldInterceptLinkClick(e,t,n){return this.#f(e)}linkClickIntercepted(e,t,n){const r=this.#p(e);r&&r.delegate.linkClickIntercepted(e,t,n)}willSubmitForm(e,t){return null==e.closest("turbo-frame")&&this.#m(e,t)&&this.#f(e,t)}formSubmitted(e,t){const n=this.#p(e,t);n&&n.delegate.formSubmitted(e,t)}#m(e,t){const n=P(e,t),r=this.element.ownerDocument.querySelector('meta[name="turbo-root"]'),o=O(r?.content??"/");return this.#f(e,t)&&F(n,o)}#f(e,t){if(e instanceof HTMLFormElement?this.session.submissionIsNavigatable(e,t):this.session.elementIsNavigatable(e)){const n=this.#p(e,t);return!!n&&n!=e.closest("turbo-frame")}return!1}#p(e,t){const n=t?.getAttribute("data-turbo-frame")||e.getAttribute("data-turbo-frame");if(n&&"_top"!=n){const e=this.element.querySelector(`#${n}:not([disabled])`);if(e instanceof i)return e}}}class Je{location;restorationIdentifier=m();restorationData={};started=!1;currentIndex=0;constructor(e){this.delegate=e}start(){this.started||(addEventListener("popstate",this.onPopState,!1),this.currentIndex=history.state?.turbo?.restorationIndex||0,this.started=!0,this.replace(new URL(window.location.href)))}stop(){this.started&&(removeEventListener("popstate",this.onPopState,!1),this.started=!1)}push(e,t){this.update(history.pushState,e,t)}replace(e,t){this.update(history.replaceState,e,t)}update(e,t,n=m()){e===history.pushState&&++this.currentIndex;const r={turbo:{restorationIdentifier:n,restorationIndex:this.currentIndex}};e.call(history,r,"",t.href),this.location=t,this.restorationIdentifier=n}getRestorationDataForIdentifier(e){return this.restorationData[e]||{}}updateRestorationData(e){const{restorationIdentifier:t}=this,n=this.restorationData[t];this.restorationData[t]={...n,...e}}assumeControlOfScrollRestoration(){this.previousScrollRestoration||(this.previousScrollRestoration=history.scrollRestoration??"auto",history.scrollRestoration="manual")}relinquishControlOfScrollRestoration(){this.previousScrollRestoration&&(history.scrollRestoration=this.previousScrollRestoration,delete this.previousScrollRestoration)}onPopState=e=>{const{turbo:t}=e.state||{};if(this.location=new URL(window.location.href),t){const{restorationIdentifier:e,restorationIndex:n}=t;this.restorationIdentifier=e;const r=n>this.currentIndex?"forward":"back";this.delegate.historyPoppedToLocationWithRestorationIdentifierAndDirection(this.location,e,r),this.currentIndex=n}else this.currentIndex++,this.delegate.historyPoppedWithEmptyState(this.location)}}class Ze{started=!1;#v=null;constructor(e,t){this.delegate=e,this.eventTarget=t}start(){this.started||("loading"===this.eventTarget.readyState?this.eventTarget.addEventListener("DOMContentLoaded",this.#g,{once:!0}):this.#g())}stop(){this.started&&(this.eventTarget.removeEventListener("mouseenter",this.#b,{capture:!0,passive:!0}),this.eventTarget.removeEventListener("mouseleave",this.#y,{capture:!0,passive:!0}),this.eventTarget.removeEventListener("turbo:before-fetch-request",this.#w,!0),this.started=!1)}#g=()=>{this.eventTarget.addEventListener("mouseenter",this.#b,{capture:!0,passive:!0}),this.eventTarget.addEventListener("mouseleave",this.#y,{capture:!0,passive:!0}),this.eventTarget.addEventListener("turbo:before-fetch-request",this.#w,!0),this.started=!0};#b=e=>{if("false"===x("turbo-prefetch"))return;const t=e.target;if(t.matches&&t.matches("a[href]:not([target^=_]):not([download])")&&this.#S(t)){const e=t,n=W(e);if(this.delegate.canPrefetchRequestToLocation(e,n)){this.#v=e;const r=new G(this,K.get,n,new URLSearchParams,t);r.fetchOptions.priority="low",ie.putLater(n,r,this.#k)}}};#y=e=>{e.target===this.#v&&this.#x()};#x=()=>{ie.clear(),this.#v=null};#w=e=>{if("FORM"!==e.target.tagName&&"GET"===e.detail.fetchOptions.method){const t=ie.get(e.detail.url);t&&(e.detail.fetchRequest=t),ie.clear()}};prepareRequest(e){const t=e.target;e.headers["X-Sec-Purpose"]="prefetch";const n=t.closest("turbo-frame"),r=t.getAttribute("data-turbo-frame")||n?.getAttribute("target")||n?.id;r&&"_top"!==r&&(e.headers["Turbo-Frame"]=r)}requestSucceededWithResponse(){}requestStarted(e){}requestErrored(e){}requestFinished(e){}requestPreventedHandlingResponse(e,t){}requestFailedWithResponse(e,t){}get#k(){return Number(x("turbo-prefetch-cache-time"))||oe}#S(e){return!!e.getAttribute("href")&&(!et(e)&&(!tt(e)&&(!nt(e)&&(!rt(e)&&!it(e)))))}}const et=e=>e.origin!==document.location.origin||!["http:","https:"].includes(e.protocol)||e.hasAttribute("target"),tt=e=>e.pathname+e.search===document.location.pathname+document.location.search||e.href.startsWith("#"),nt=e=>{if("false"===e.getAttribute("data-turbo-prefetch"))return!0;if("false"===e.getAttribute("data-turbo"))return!0;const t=C(e,"[data-turbo-prefetch]");return!(!t||"false"!==t.getAttribute("data-turbo-prefetch"))},rt=e=>{const t=e.getAttribute("data-turbo-method");return!(!t||"get"===t.toLowerCase())||(!!ot(e)||(!!e.hasAttribute("data-turbo-confirm")||!!e.hasAttribute("data-turbo-stream")))},ot=e=>e.hasAttribute("data-remote")||e.hasAttribute("data-behavior")||e.hasAttribute("data-confirm")||e.hasAttribute("data-method"),it=e=>l("turbo:before-prefetch",{target:e,cancelable:!0}).defaultPrevented;class st{constructor(e){this.delegate=e}proposeVisit(e,t={}){this.delegate.allowsVisitingLocationWithAction(e,t.action)&&this.delegate.visitProposedToLocation(e,t)}startVisit(e,t,n={}){this.stop(),this.currentVisit=new Ke(this,O(e),t,{referrer:this.location,...n}),this.currentVisit.start()}submitForm(e,t){this.stop(),this.formSubmission=new ae(this,e,t,!0),this.formSubmission.start()}stop(){this.formSubmission&&(this.formSubmission.stop(),delete this.formSubmission),this.currentVisit&&(this.currentVisit.cancel(),delete this.currentVisit)}get adapter(){return this.delegate.adapter}get view(){return this.delegate.view}get rootLocation(){return this.view.snapshot.rootLocation}get history(){return this.delegate.history}formSubmissionStarted(e){"function"==typeof this.adapter.formSubmissionStarted&&this.adapter.formSubmissionStarted(e)}async formSubmissionSucceededWithResponse(e,t){if(e==this.formSubmission){const n=await t.responseHTML;if(n){const r=e.isSafe;r||this.view.clearSnapshotCache();const{statusCode:o,redirected:i}=t,s={action:this.#E(e,t),shouldCacheSnapshot:r,response:{statusCode:o,responseHTML:n,redirected:i}};this.proposeVisit(t.location,s)}}}async formSubmissionFailedWithResponse(e,t){const n=await t.responseHTML;if(n){const e=Me.fromHTMLString(n);t.serverError?await this.view.renderError(e,this.currentVisit):await this.view.renderPage(e,!1,!0,this.currentVisit),"preserve"!==e.refreshScroll&&this.view.scrollToTop(),this.view.clearSnapshotCache()}}formSubmissionErrored(e,t){console.error(t)}formSubmissionFinished(e){"function"==typeof this.adapter.formSubmissionFinished&&this.adapter.formSubmissionFinished(e)}linkPrefetchingIsEnabledForLocation(e){return"function"!=typeof this.adapter.linkPrefetchingIsEnabledForLocation||this.adapter.linkPrefetchingIsEnabledForLocation(e)}visitStarted(e){this.delegate.visitStarted(e)}visitCompleted(e){this.delegate.visitCompleted(e),delete this.currentVisit}locationWithActionIsSamePage(e,t){return!1}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}#E(e,t){const{submitter:n,formElement:r}=e;return S(n,r)||this.#C(t)}#C(e){return e.redirected&&e.location.href===this.location?.href?"replace":"advance"}}const at=0,lt=1,ct=2,ut=3;class dt{stage=at;started=!1;constructor(e){this.delegate=e}start(){this.started||(this.stage==at&&(this.stage=lt),document.addEventListener("readystatechange",this.interpretReadyState,!1),addEventListener("pagehide",this.pageWillUnload,!1),this.started=!0)}stop(){this.started&&(document.removeEventListener("readystatechange",this.interpretReadyState,!1),removeEventListener("pagehide",this.pageWillUnload,!1),this.started=!1)}interpretReadyState=()=>{const{readyState:e}=this;"interactive"==e?this.pageIsInteractive():"complete"==e&&this.pageIsComplete()};pageIsInteractive(){this.stage==lt&&(this.stage=ct,this.delegate.pageBecameInteractive())}pageIsComplete(){this.pageIsInteractive(),this.stage==ct&&(this.stage=ut,this.delegate.pageLoaded())}pageWillUnload=()=>{this.delegate.pageWillUnload()};get readyState(){return document.readyState}}class ht{started=!1;constructor(e){this.delegate=e}start(){this.started||(addEventListener("scroll",this.onScroll,!1),this.onScroll(),this.started=!0)}stop(){this.started&&(removeEventListener("scroll",this.onScroll,!1),this.started=!1)}onScroll=()=>{this.updatePosition({x:window.pageXOffset,y:window.pageYOffset})};updatePosition(e){this.delegate.scrollPositionChanged(e)}}class ft{render({fragment:e}){ge.preservingPermanentElements(this,function(e){const t=ue(document.documentElement),n={};for(const r of t){const{id:t}=r;for(const o of e.querySelectorAll("turbo-stream")){const e=ce(o.templateElement.content,t);e&&(n[t]=[r,e])}}return n}(e),()=>{!async function(e,t){const n=`turbo-stream-autofocus-${m()}`,r=e.querySelectorAll("turbo-stream"),o=function(e){for(const t of e){const e=A(t.templateElement.content);if(e)return e}return null}(r);let i=null;o&&(i=o.id?o.id:n,o.id=i);t(),await u();if((null==document.activeElement||document.activeElement==document.body)&&i){const e=document.getElementById(i);_(e)&&e.focus(),e&&e.id==n&&e.removeAttribute("id")}}(e,()=>{!async function(e){const[t,n]=await async function(e,t){const n=t();return e(),await d(),[n,t()]}(e,()=>document.activeElement),r=t&&t.id;if(r){const e=document.getElementById(r);_(e)&&e!=n&&e.focus()}}(()=>{document.documentElement.appendChild(e)})})})}enteringBardo(e,t){t.replaceWith(e.cloneNode(!0))}leavingBardo(){}}class pt{sources=new Set;#_=!1;constructor(e){this.delegate=e}start(){this.#_||(this.#_=!0,addEventListener("turbo:before-fetch-response",this.inspectFetchResponse,!1))}stop(){this.#_&&(this.#_=!1,removeEventListener("turbo:before-fetch-response",this.inspectFetchResponse,!1))}connectStreamSource(e){this.streamSourceIsConnected(e)||(this.sources.add(e),e.addEventListener("message",this.receiveMessageEvent,!1))}disconnectStreamSource(e){this.streamSourceIsConnected(e)&&(this.sources.delete(e),e.removeEventListener("message",this.receiveMessageEvent,!1))}streamSourceIsConnected(e){return this.sources.has(e)}inspectFetchResponse=e=>{const t=function(e){const t=e.detail?.fetchResponse;if(t instanceof q)return t}(e);t&&function(e){const t=e.contentType??"";return t.startsWith(te.contentType)}(t)&&(e.preventDefault(),this.receiveMessageResponse(t))};receiveMessageEvent=e=>{this.#_&&"string"==typeof e.data&&this.receiveMessageHTML(e.data)};async receiveMessageResponse(e){const t=await e.responseHTML;t&&this.receiveMessageHTML(t)}receiveMessageHTML(e){this.delegate.receivedMessageFromStream(te.wrap(e))}}class mt extends be{static renderElement(e,t){const{documentElement:n,body:r}=document;n.replaceChild(t,r)}async render(){this.replaceHeadAndBody(),this.activateScriptElements()}replaceHeadAndBody(){const{documentElement:e,head:t}=document;e.replaceChild(this.newHead,t),this.renderElement(this.currentElement,this.newElement)}activateScriptElements(){for(const e of this.scriptElements){const t=e.parentNode;if(t){const n=a(e);t.replaceChild(n,e)}}}get newHead(){return this.newSnapshot.headSnapshot.element}get scriptElements(){return document.documentElement.querySelectorAll("script")}}class vt extends be{static renderElement(e,t){document.body&&t instanceof HTMLBodyElement?document.body.replaceWith(t):document.documentElement.appendChild(t)}get shouldRender(){return this.newSnapshot.isVisitable&&this.trackedElementsAreIdentical}get reloadReason(){return this.newSnapshot.isVisitable?this.trackedElementsAreIdentical?void 0:{reason:"tracked_element_mismatch"}:{reason:"turbo_visit_control_is_reload"}}async prepareToRender(){this.#A(),await this.mergeHead()}async render(){this.willRender&&await this.replaceBody()}finishRendering(){super.finishRendering(),this.isPreview||this.focusFirstAutofocusableElement()}get currentHeadSnapshot(){return this.currentSnapshot.headSnapshot}get newHeadSnapshot(){return this.newSnapshot.headSnapshot}get newElement(){return this.newSnapshot.element}#A(){const{documentElement:e}=this.currentSnapshot,{dir:t,lang:n}=this.newSnapshot;n?e.setAttribute("lang",n):e.removeAttribute("lang"),t?e.setAttribute("dir",t):e.removeAttribute("dir")}async mergeHead(){const e=this.mergeProvisionalElements(),t=this.copyNewHeadStylesheetElements();this.copyNewHeadScriptElements(),await e,await t,this.willRender&&this.removeUnusedDynamicStylesheetElements()}async replaceBody(){await this.preservingPermanentElements(async()=>{this.activateNewBody(),await this.assignNewBody()})}get trackedElementsAreIdentical(){return this.currentHeadSnapshot.trackedElementSignature==this.newHeadSnapshot.trackedElementSignature}async copyNewHeadStylesheetElements(){const e=[];for(const t of this.newHeadStylesheetElements)e.push(y(t)),document.head.appendChild(t);await Promise.all(e)}copyNewHeadScriptElements(){for(const e of this.newHeadScriptElements)document.head.appendChild(a(e))}removeUnusedDynamicStylesheetElements(){for(const e of this.unusedDynamicStylesheetElements)document.head.removeChild(e)}async mergeProvisionalElements(){const e=[...this.newHeadProvisionalElements];for(const t of this.currentHeadProvisionalElements)this.isCurrentElementInElementList(t,e)||document.head.removeChild(t);for(const t of e)document.head.appendChild(t)}isCurrentElementInElementList(e,t){for(const[n,r]of t.entries()){if("TITLE"==e.tagName){if("TITLE"!=r.tagName)continue;if(e.innerHTML==r.innerHTML)return t.splice(n,1),!0}if(r.isEqualNode(e))return t.splice(n,1),!0}return!1}removeCurrentHeadProvisionalElements(){for(const e of this.currentHeadProvisionalElements)document.head.removeChild(e)}copyNewHeadProvisionalElements(){for(const e of this.newHeadProvisionalElements)document.head.appendChild(e)}activateNewBody(){document.adoptNode(this.newElement),this.removeNoscriptElements(),this.activateNewBodyScriptElements()}removeNoscriptElements(){for(const e of this.newElement.querySelectorAll("noscript"))e.remove()}activateNewBodyScriptElements(){for(const e of this.newBodyScriptElements){const t=a(e);e.replaceWith(t)}}async assignNewBody(){await this.renderElement(this.currentElement,this.newElement)}get unusedDynamicStylesheetElements(){return this.oldHeadStylesheetElements.filter(e=>"dynamic"===e.getAttribute("data-turbo-track"))}get oldHeadStylesheetElements(){return this.currentHeadSnapshot.getStylesheetElementsNotInSnapshot(this.newHeadSnapshot)}get newHeadStylesheetElements(){return this.newHeadSnapshot.getStylesheetElementsNotInSnapshot(this.currentHeadSnapshot)}get newHeadScriptElements(){return this.newHeadSnapshot.getScriptElementsNotInSnapshot(this.currentHeadSnapshot)}get currentHeadProvisionalElements(){return this.currentHeadSnapshot.provisionalElements}get newHeadProvisionalElements(){return this.newHeadSnapshot.provisionalElements}get newBodyScriptElements(){return this.newElement.querySelectorAll("script")}}class gt extends vt{static renderElement(e,t){Se(e,t,{callbacks:{beforeNodeMorphed:(e,t)=>!(xe(e,t)&&!Ee(e))||(e.reload(),!1)}}),l("turbo:morph",{detail:{currentElement:e,newElement:t}})}async preservingPermanentElements(e){return await e()}get renderMethod(){return"morph"}get shouldAutofocus(){return!1}}class bt extends re{constructor(e){super(e,B)}get snapshots(){return this.entries}}class yt extends he{snapshotCache=new bt(10);lastRenderedLocation=new URL(location.href);forceReloaded=!1;shouldTransitionTo(e){return this.snapshot.prefersViewTransitions&&e.prefersViewTransitions}renderPage(e,t=!1,n=!0,r){const o=new(this.isPageRefresh(r)&&"morph"===(r?.refresh?.method||this.snapshot.refreshMethod)?gt:vt)(this.snapshot,e,t,n);return o.shouldRender?r?.changeHistory():this.forceReloaded=!0,this.render(o)}renderError(e,t){t?.changeHistory();const n=new mt(this.snapshot,e,!1);return this.render(n)}clearSnapshotCache(){this.snapshotCache.clear()}async cacheSnapshot(e=this.snapshot){if(e.isCacheable){this.delegate.viewWillCacheSnapshot();const{lastRenderedLocation:t}=this;await h();const n=e.clone();return this.snapshotCache.put(t,n),n}}getCachedSnapshotForLocation(e){return this.snapshotCache.get(e)}isPageRefresh(e){return!e||this.lastRenderedLocation.pathname===e.location.pathname&&"replace"===e.action}shouldPreserveScrollPosition(e){return this.isPageRefresh(e)&&"preserve"===(e?.refresh?.scroll||this.snapshot.refreshScroll)}get snapshot(){return Me.fromElement(this.element)}}class wt{selector="a[data-turbo-preload]";constructor(e,t){this.delegate=e,this.snapshotCache=t}start(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.#T):this.preloadOnLoadLinksForView(document.body)}stop(){document.removeEventListener("DOMContentLoaded",this.#T)}preloadOnLoadLinksForView(e){for(const t of e.querySelectorAll(this.selector))this.delegate.shouldPreloadLink(t)&&this.preloadURL(t)}async preloadURL(e){const t=new URL(e.href);if(this.snapshotCache.has(t))return;const n=new G(this,K.get,t,new URLSearchParams,e);await n.perform()}prepareRequest(e){e.headers["X-Sec-Purpose"]="prefetch"}async requestSucceededWithResponse(e,t){try{const n=await t.responseHTML,r=Me.fromHTMLString(n);this.snapshotCache.put(e.url,r)}catch(n){}}requestStarted(e){}requestErrored(e){}requestFinished(e){}requestPreventedHandlingResponse(e,t){}requestFailedWithResponse(e,t){}#T=()=>{this.preloadOnLoadLinksForView(document.body)}}class St{constructor(e){this.session=e}clear(){this.session.clearCache()}resetCacheControl(){this.#L("")}exemptPageFromCache(){this.#L("no-cache")}exemptPageFromPreview(){this.#L("no-preview")}#L(e){!function(e,t){let n=k(e);n||(n=document.createElement("meta"),n.setAttribute("name",e),document.head.appendChild(n)),n.setAttribute("content",t)}("turbo-cache-control",e)}}function kt(e){Object.defineProperties(e,xt)}const xt={absoluteURL:{get(){return this.toString()}}},Et=new class{navigator=new st(this);history=new Je(this);view=new yt(this,document.documentElement);adapter=new Ge(this);pageObserver=new dt(this);cacheObserver=new Qe;linkPrefetchObserver=new Ze(this,document);linkClickObserver=new me(this,window);formSubmitObserver=new de(this,document);scrollObserver=new ht(this);streamObserver=new pt(this);formLinkClickObserver=new ve(this,document.documentElement);frameRedirector=new Ye(this,document.documentElement);streamMessageRenderer=new ft;cache=new St(this);enabled=!0;started=!1;#R=150;constructor(e){this.recentRequests=e,this.preloader=new wt(this,this.view.snapshotCache),this.debouncedRefresh=this.refresh,this.pageRefreshDebouncePeriod=this.pageRefreshDebouncePeriod}start(){this.started||(this.pageObserver.start(),this.cacheObserver.start(),this.linkPrefetchObserver.start(),this.formLinkClickObserver.start(),this.linkClickObserver.start(),this.formSubmitObserver.start(),this.scrollObserver.start(),this.streamObserver.start(),this.frameRedirector.start(),this.history.start(),this.preloader.start(),this.started=!0,this.enabled=!0)}disable(){this.enabled=!1}stop(){this.started&&(this.pageObserver.stop(),this.cacheObserver.stop(),this.linkPrefetchObserver.stop(),this.formLinkClickObserver.stop(),this.linkClickObserver.stop(),this.formSubmitObserver.stop(),this.scrollObserver.stop(),this.streamObserver.stop(),this.frameRedirector.stop(),this.history.stop(),this.preloader.stop(),this.started=!1)}registerAdapter(e){this.adapter=e}visit(e,t={}){const n=t.frame?document.getElementById(t.frame):null;if(n instanceof i){const r=t.action||S(n);n.delegate.proposeVisitIfNavigatedWithAction(n,r),n.src=e.toString()}else this.navigator.proposeVisit(O(e),t)}refresh(e,t={}){t="string"==typeof t?{requestId:t}:t;const{method:n,requestId:r,scroll:o}=t,i=r&&this.recentRequests.has(r),s=e===document.baseURI;i||this.navigator.currentVisit||!s||this.visit(e,{action:"replace",shouldCacheSnapshot:!1,refresh:{method:n,scroll:o}})}connectStreamSource(e){this.streamObserver.connectStreamSource(e)}disconnectStreamSource(e){this.streamObserver.disconnectStreamSource(e)}renderStreamMessage(e){this.streamMessageRenderer.render(te.wrap(e))}clearCache(){this.view.clearSnapshotCache()}setProgressBarDelay(e){console.warn("Please replace `session.setProgressBarDelay(delay)` with `session.progressBarDelay = delay`. The function is deprecated and will be removed in a future version of Turbo.`"),this.progressBarDelay=e}set progressBarDelay(e){I.drive.progressBarDelay=e}get progressBarDelay(){return I.drive.progressBarDelay}set drive(e){I.drive.enabled=e}get drive(){return I.drive.enabled}set formMode(e){I.forms.mode=e}get formMode(){return I.forms.mode}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}get pageRefreshDebouncePeriod(){return this.#R}set pageRefreshDebouncePeriod(e){this.refresh=function(e,t){let n=null;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}}(this.debouncedRefresh.bind(this),e),this.#R=e}shouldPreloadLink(e){const t=e.hasAttribute("data-turbo-method"),n=e.hasAttribute("data-turbo-stream"),r=e.getAttribute("data-turbo-frame"),o="_top"==r?null:document.getElementById(r)||C(e,"turbo-frame:not([disabled])");if(t||n||o instanceof i)return!1;{const t=new URL(e.href);return this.elementIsNavigatable(e)&&F(t,this.snapshot.rootLocation)}}historyPoppedToLocationWithRestorationIdentifierAndDirection(e,t,n){this.enabled?this.navigator.startVisit(e,t,{action:"restore",historyChanged:!0,direction:n}):this.adapter.pageInvalidated({reason:"turbo_disabled"})}historyPoppedWithEmptyState(e){this.history.replace(e),this.view.lastRenderedLocation=e,this.view.cacheSnapshot()}scrollPositionChanged(e){this.history.updateRestorationData({scrollPosition:e})}willSubmitFormLinkToLocation(e,t){return this.elementIsNavigatable(e)&&F(t,this.snapshot.rootLocation)}submittedFormLinkToLocation(){}canPrefetchRequestToLocation(e,t){return this.elementIsNavigatable(e)&&F(t,this.snapshot.rootLocation)&&this.navigator.linkPrefetchingIsEnabledForLocation(t)}willFollowLinkToLocation(e,t,n){return this.elementIsNavigatable(e)&&F(t,this.snapshot.rootLocation)&&this.applicationAllowsFollowingLinkToLocation(e,t,n)}followedLinkToLocation(e,t){const n=this.getActionForLink(e),r=e.hasAttribute("data-turbo-stream");this.visit(t.href,{action:n,acceptsStreamResponse:r})}allowsVisitingLocationWithAction(e,t){return this.applicationAllowsVisitingLocation(e)}visitProposedToLocation(e,t){kt(e),this.adapter.visitProposedToLocation(e,t)}visitStarted(e){e.acceptsStreamResponse||(g(document.documentElement),this.view.markVisitDirection(e.direction)),kt(e.location),this.notifyApplicationAfterVisitingLocation(e.location,e.action)}visitCompleted(e){this.view.unmarkVisitDirection(),b(document.documentElement),this.notifyApplicationAfterPageLoad(e.getTimingMetrics())}willSubmitForm(e,t){const n=P(e,t);return this.submissionIsNavigatable(e,t)&&F(O(n),this.snapshot.rootLocation)}formSubmitted(e,t){this.navigator.submitForm(e,t)}pageBecameInteractive(){this.view.lastRenderedLocation=this.location,this.notifyApplicationAfterPageLoad()}pageLoaded(){this.history.assumeControlOfScrollRestoration()}pageWillUnload(){this.history.relinquishControlOfScrollRestoration()}receivedMessageFromStream(e){this.renderStreamMessage(e)}viewWillCacheSnapshot(){this.notifyApplicationBeforeCachingSnapshot()}allowsImmediateRender({element:e},t){const n=this.notifyApplicationBeforeRender(e,t),{defaultPrevented:r,detail:{render:o}}=n;return this.view.renderer&&o&&(this.view.renderer.renderElement=o),!r}viewRenderedSnapshot(e,t,n){this.view.lastRenderedLocation=this.history.location,this.notifyApplicationAfterRender(n)}preloadOnLoadLinksForView(e){this.preloader.preloadOnLoadLinksForView(e)}viewInvalidated(e){this.adapter.pageInvalidated(e)}frameLoaded(e){this.notifyApplicationAfterFrameLoad(e)}frameRendered(e,t){this.notifyApplicationAfterFrameRender(e,t)}applicationAllowsFollowingLinkToLocation(e,t,n){return!this.notifyApplicationAfterClickingLinkToLocation(e,t,n).defaultPrevented}applicationAllowsVisitingLocation(e){return!this.notifyApplicationBeforeVisitingLocation(e).defaultPrevented}notifyApplicationAfterClickingLinkToLocation(e,t,n){return l("turbo:click",{target:e,detail:{url:t.href,originalEvent:n},cancelable:!0})}notifyApplicationBeforeVisitingLocation(e){return l("turbo:before-visit",{detail:{url:e.href},cancelable:!0})}notifyApplicationAfterVisitingLocation(e,t){return l("turbo:visit",{detail:{url:e.href,action:t}})}notifyApplicationBeforeCachingSnapshot(){return l("turbo:before-cache")}notifyApplicationBeforeRender(e,t){return l("turbo:before-render",{detail:{newBody:e,...t},cancelable:!0})}notifyApplicationAfterRender(e){return l("turbo:render",{detail:{renderMethod:e}})}notifyApplicationAfterPageLoad(e={}){return l("turbo:load",{detail:{url:this.location.href,timing:e}})}notifyApplicationAfterFrameLoad(e){return l("turbo:frame-load",{target:e})}notifyApplicationAfterFrameRender(e,t){return l("turbo:frame-render",{detail:{fetchResponse:e},target:t,cancelable:!0})}submissionIsNavigatable(e,t){if("off"==I.forms.mode)return!1;{const n=!t||this.elementIsNavigatable(t);return"optin"==I.forms.mode?n&&null!=e.closest('[data-turbo="true"]'):n&&this.elementIsNavigatable(e)}}elementIsNavigatable(e){const t=C(e,"[data-turbo]"),n=C(e,"turbo-frame");return I.drive.enabled||n?!t||"false"!=t.getAttribute("data-turbo"):!!t&&"true"==t.getAttribute("data-turbo")}getActionForLink(e){return S(e)||"advance"}get snapshot(){return this.view.snapshot}}(z),{cache:Ct,navigator:_t}=Et;function At(){Et.start()}function Tt(e,t){Et.visit(e,t)}function Lt(e){Et.connectStreamSource(e)}function Rt(e){Et.disconnectStreamSource(e)}function Mt(e,t){gt.renderElement(e,t)}var It=Object.freeze({__proto__:null,PageRenderer:vt,PageSnapshot:Me,FrameRenderer:ye,fetch:$,config:I,session:Et,cache:Ct,navigator:_t,start:At,registerAdapter:function(e){Et.registerAdapter(e)},visit:Tt,connectStreamSource:Lt,disconnectStreamSource:Rt,renderStreamMessage:function(e){Et.renderStreamMessage(e)},setProgressBarDelay:function(e){console.warn("Please replace `Turbo.setProgressBarDelay(delay)` with `Turbo.config.drive.progressBarDelay = delay`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),I.drive.progressBarDelay=e},setConfirmMethod:function(e){console.warn("Please replace `Turbo.setConfirmMethod(confirmMethod)` with `Turbo.config.forms.confirm = confirmMethod`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),I.forms.confirm=e},setFormMode:function(e){console.warn("Please replace `Turbo.setFormMode(mode)` with `Turbo.config.forms.mode = mode`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),I.forms.mode=e},morphBodyElements:Mt,morphTurboFrameElements:function(e,t){_e.renderElement(e,t)},morphChildren:ke,morphElements:Se});class Ot extends Error{}function Dt(e,t){if(e){const n=e.getAttribute("src");if(null!=n&&null!=t&&V(n,t))throw new Error(`Matching <turbo-frame id="${e.id}"> element has a source URL which references itself`);if(e.ownerDocument!==document&&(e=document.importNode(e,!0)),e instanceof i)return e.connectedCallback(),e.disconnectedCallback(),e}}const Pt={after(){this.removeDuplicateTargetSiblings(),this.targetElements.forEach(e=>e.parentElement?.insertBefore(this.templateContent,e.nextSibling))},append(){this.removeDuplicateTargetChildren(),this.targetElements.forEach(e=>e.append(this.templateContent))},before(){this.removeDuplicateTargetSiblings(),this.targetElements.forEach(e=>e.parentElement?.insertBefore(this.templateContent,e))},prepend(){this.removeDuplicateTargetChildren(),this.targetElements.forEach(e=>e.prepend(this.templateContent))},remove(){this.targetElements.forEach(e=>e.remove())},replace(){const e=this.getAttribute("method");this.targetElements.forEach(t=>{"morph"===e?Se(t,this.templateContent):t.replaceWith(this.templateContent)})},update(){const e=this.getAttribute("method");this.targetElements.forEach(t=>{"morph"===e?ke(t,this.templateContent):(t.innerHTML="",t.append(this.templateContent))})},refresh(){const e=this.getAttribute("method"),t=this.requestId,n=this.getAttribute("scroll");Et.refresh(this.baseURI,{method:e,requestId:t,scroll:n})}};class Nt extends HTMLElement{static async renderElement(e){await e.performAction()}async connectedCallback(){try{await this.render()}catch(e){console.error(e)}finally{this.disconnect()}}async render(){return this.renderPromise??=(async()=>{const e=this.beforeRenderEvent;this.dispatchEvent(e)&&(await u(),await e.detail.render(this))})()}disconnect(){try{this.remove()}catch{}}removeDuplicateTargetChildren(){this.duplicateChildren.forEach(e=>e.remove())}get duplicateChildren(){const e=this.targetElements.flatMap(e=>[...e.children]).filter(e=>!!e.getAttribute("id")),t=[...this.templateContent?.children||[]].filter(e=>!!e.getAttribute("id")).map(e=>e.getAttribute("id"));return e.filter(e=>t.includes(e.getAttribute("id")))}removeDuplicateTargetSiblings(){this.duplicateSiblings.forEach(e=>e.remove())}get duplicateSiblings(){const e=this.targetElements.flatMap(e=>[...e.parentElement.children]).filter(e=>!!e.id),t=[...this.templateContent?.children||[]].filter(e=>!!e.id).map(e=>e.id);return e.filter(e=>t.includes(e.id))}get performAction(){if(this.action){const e=Pt[this.action];if(e)return e;this.#M("unknown action")}this.#M("action attribute is missing")}get targetElements(){return this.target?this.targetElementsById:this.targets?this.targetElementsByQuery:void this.#M("target or targets attribute is missing")}get templateContent(){return this.templateElement.content.cloneNode(!0)}get templateElement(){if(null===this.firstElementChild){const e=this.ownerDocument.createElement("template");return this.appendChild(e),e}if(this.firstElementChild instanceof HTMLTemplateElement)return this.firstElementChild;this.#M("first child element must be a <template> element")}get action(){return this.getAttribute("action")}get target(){return this.getAttribute("target")}get targets(){return this.getAttribute("targets")}get requestId(){return this.getAttribute("request-id")}#M(e){throw new Error(`${this.description}: ${e}`)}get description(){return(this.outerHTML.match(/<[^>]+>/)??[])[0]??"<turbo-stream>"}get beforeRenderEvent(){return new CustomEvent("turbo:before-stream-render",{bubbles:!0,cancelable:!0,detail:{newStream:this,render:Nt.renderElement}})}get targetElementsById(){const e=this.ownerDocument?.getElementById(this.target);return null!==e?[e]:[]}get targetElementsByQuery(){const e=this.ownerDocument?.querySelectorAll(this.targets);return 0!==e.length?Array.prototype.slice.call(e):[]}}class Ft extends HTMLElement{streamSource=null;connectedCallback(){this.streamSource=this.src.match(/^ws{1,2}:/)?new WebSocket(this.src):new EventSource(this.src),Lt(this.streamSource)}disconnectedCallback(){this.streamSource&&(this.streamSource.close(),Rt(this.streamSource))}get src(){return this.getAttribute("src")||""}}i.delegateConstructor=class{fetchResponseLoaded=e=>Promise.resolve();#I=null;#O=()=>{};#D=!1;#P=!1;#N=new Set;#F=!1;action=null;constructor(e){this.element=e,this.view=new fe(this,this.element),this.appearanceObserver=new ee(this,this.element),this.formLinkClickObserver=new ve(this,this.element),this.linkInterceptor=new pe(this,this.element),this.restorationIdentifier=m(),this.formSubmitObserver=new de(this,this.element)}connect(){this.#D||(this.#D=!0,this.loadingStyle==o?this.appearanceObserver.start():this.#W(),this.formLinkClickObserver.start(),this.linkInterceptor.start(),this.formSubmitObserver.start())}disconnect(){this.#D&&(this.#D=!1,this.appearanceObserver.stop(),this.formLinkClickObserver.stop(),this.linkInterceptor.stop(),this.formSubmitObserver.stop(),this.element.hasAttribute("recurse")||this.#I?.cancel())}disabledChanged(){this.disabled?this.#I?.cancel():this.loadingStyle==r&&this.#W()}sourceURLChanged(){this.#B("src")||(this.sourceURL||this.#I?.cancel(),this.element.isConnected&&(this.complete=!1),(this.loadingStyle==r||this.#P)&&this.#W())}sourceURLReloaded(){const{refresh:e,src:t}=this.element;return this.#F=t&&"morph"===e,this.element.removeAttribute("complete"),this.element.src=null,this.element.src=t,this.element.loaded}loadingStyleChanged(){this.loadingStyle==o?this.appearanceObserver.start():(this.appearanceObserver.stop(),this.#W())}async#W(){this.enabled&&this.isActive&&!this.complete&&this.sourceURL&&(this.element.loaded=this.#V(O(this.sourceURL)),this.appearanceObserver.stop(),await this.element.loaded,this.#P=!0)}async loadResponse(e){(e.redirected||e.succeeded&&e.isHTML)&&(this.sourceURL=e.response.url);try{const t=await e.responseHTML;if(t){const n=f(t);Me.fromDocument(n).isVisitable?await this.#H(e,n):await this.#q(e)}}finally{this.#F=!1,this.fetchResponseLoaded=()=>Promise.resolve()}}elementAppearedInViewport(e){this.proposeVisitIfNavigatedWithAction(e,S(e)),this.#W()}willSubmitFormLinkToLocation(e){return this.#j(e)}submittedFormLinkToLocation(e,t,n){const r=this.#p(e);r&&n.setAttribute("data-turbo-frame",r.id)}shouldInterceptLinkClick(e,t,n){return this.#j(e)}linkClickIntercepted(e,t){this.#z(e,t)}willSubmitForm(e,t){return e.closest("turbo-frame")==this.element&&this.#j(e,t)}formSubmitted(e,t){this.formSubmission&&this.formSubmission.stop(),this.formSubmission=new ae(this,e,t);const{fetchRequest:n}=this.formSubmission,r=this.#p(e,t);this.prepareRequest(n,r),this.formSubmission.start()}prepareRequest(e,t=this){e.headers["Turbo-Frame"]=t.id,this.currentNavigationElement?.hasAttribute("data-turbo-stream")&&e.acceptResponseType(te.contentType)}requestStarted(e){g(this.element)}requestPreventedHandlingResponse(e,t){this.#O()}async requestSucceededWithResponse(e,t){await this.loadResponse(t),this.#O()}async requestFailedWithResponse(e,t){await this.loadResponse(t),this.#O()}requestErrored(e,t){console.error(t),this.#O()}requestFinished(e){b(this.element)}formSubmissionStarted({formElement:e}){g(e,this.#p(e))}formSubmissionSucceededWithResponse(e,t){const n=this.#p(e.formElement,e.submitter);n.delegate.proposeVisitIfNavigatedWithAction(n,S(e.submitter,e.formElement,n)),n.delegate.loadResponse(t),e.isSafe||Et.clearCache()}formSubmissionFailedWithResponse(e,t){this.element.delegate.loadResponse(t),Et.clearCache()}formSubmissionErrored(e,t){console.error(t)}formSubmissionFinished({formElement:e}){b(e,this.#p(e))}allowsImmediateRender({element:e},t){const n=l("turbo:before-frame-render",{target:this.element,detail:{newFrame:e,...t},cancelable:!0}),{defaultPrevented:r,detail:{render:o}}=n;return this.view.renderer&&o&&(this.view.renderer.renderElement=o),!r}viewRenderedSnapshot(e,t,n){}preloadOnLoadLinksForView(e){Et.preloadOnLoadLinksForView(e)}viewInvalidated(){}willRenderFrame(e,t){this.previousFrameElement=e.cloneNode(!0)}visitCachedSnapshot=({element:e})=>{const t=e.querySelector("#"+this.element.id);t&&this.previousFrameElement&&t.replaceChildren(...this.previousFrameElement.children),delete this.previousFrameElement};async#H(e,t){const n=await this.extractForeignFrameElement(t.body),r=this.#F?_e:ye;if(n){const t=new le(n),o=new r(this,this.view.snapshot,t,!1,!1);this.view.renderPromise&&await this.view.renderPromise,this.changeHistory(),await this.view.render(o),this.complete=!0,Et.frameRendered(e,this.element),Et.frameLoaded(this.element),await this.fetchResponseLoaded(e)}else this.#$(e)&&this.#X(e)}async#V(e){const t=new G(this,K.get,e,new URLSearchParams,this.element);return this.#I?.cancel(),this.#I=t,new Promise(e=>{this.#O=()=>{this.#O=()=>{},this.#I=null,e()},t.perform()})}#z(e,t,n){const r=this.#p(e,n);r.delegate.proposeVisitIfNavigatedWithAction(r,S(n,e,r)),this.#K(e,()=>{r.src=t})}proposeVisitIfNavigatedWithAction(e,t=null){if(this.action=t,this.action){const t=Me.fromElement(e).clone(),{visitCachedSnapshot:n}=e.delegate;e.delegate.fetchResponseLoaded=async r=>{if(e.src){const{statusCode:o,redirected:i}=r,s={response:{statusCode:o,redirected:i,responseHTML:await r.responseHTML},visitCachedSnapshot:n,willRender:!1,updateHistory:!1,restorationIdentifier:this.restorationIdentifier,snapshot:t};this.action&&(s.action=this.action),Et.visit(e.src,s)}}}}changeHistory(){if(this.action){const e=w(this.action);Et.history.update(e,O(this.element.src||""),this.restorationIdentifier)}}async#q(e){console.warn(`The response (${e.statusCode}) from <turbo-frame id="${this.element.id}"> is performing a full page visit due to turbo-visit-control.`),await this.#U(e.response)}#$(e){this.element.setAttribute("complete","");const t=e.response;return!l("turbo:frame-missing",{target:this.element,detail:{response:t,visit:async(e,t)=>{e instanceof Response?this.#U(e):Et.visit(e,t)}},cancelable:!0}).defaultPrevented}#X(e){this.view.missing(),this.#G(e)}#G(e){const t=`The response (${e.statusCode}) did not contain the expected <turbo-frame id="${this.element.id}"> and will be ignored. To perform a full page visit instead, set turbo-visit-control to reload.`;throw new Ot(t)}async#U(e){const t=new q(e),n=await t.responseHTML,{location:r,redirected:o,statusCode:i}=t;return Et.visit(r,{response:{redirected:o,statusCode:i,responseHTML:n}})}#p(e,t){const n=v("data-turbo-frame",t,e)||this.element.getAttribute("target"),r=this.#Q(n);return r instanceof i?r:this.element}async extractForeignFrameElement(e){let t;const n=CSS.escape(this.id);try{if(t=Dt(e.querySelector(`turbo-frame#${n}`),this.sourceURL),t)return t;if(t=Dt(e.querySelector(`turbo-frame[src][recurse~=${n}]`),this.sourceURL),t)return await t.loaded,await this.extractForeignFrameElement(t)}catch(r){return console.error(r),new i}return null}#Y(e,t){return F(O(P(e,t)),this.rootLocation)}#j(e,t){const n=v("data-turbo-frame",t,e)||this.element.getAttribute("target");if(e instanceof HTMLFormElement&&!this.#Y(e,t))return!1;if(!this.enabled||"_top"==n)return!1;if(n){const e=this.#Q(n);if(e)return!e.disabled;if("_parent"==n)return!1}return!!Et.elementIsNavigatable(e)&&!(t&&!Et.elementIsNavigatable(t))}get id(){return this.element.id}get disabled(){return this.element.disabled}get enabled(){return!this.disabled}get sourceURL(){if(this.element.src)return this.element.src}set sourceURL(e){this.#J("src",()=>{this.element.src=e??null})}get loadingStyle(){return this.element.loading}get isLoading(){return void 0!==this.formSubmission||void 0!==this.#O()}get complete(){return this.element.hasAttribute("complete")}set complete(e){e?this.element.setAttribute("complete",""):this.element.removeAttribute("complete")}get isActive(){return this.element.isActive&&this.#D}get rootLocation(){const e=this.element.ownerDocument.querySelector('meta[name="turbo-root"]');return O(e?.content??"/")}#B(e){return this.#N.has(e)}#J(e,t){this.#N.add(e),t(),this.#N.delete(e)}#K(e,t){this.currentNavigationElement=e,t(),delete this.currentNavigationElement}#Q(e){if(null!=e){const t="_parent"===e?this.element.parentElement.closest("turbo-frame"):document.getElementById(e);if(t instanceof i)return t}}},void 0===customElements.get("turbo-frame")&&customElements.define("turbo-frame",i),void 0===customElements.get("turbo-stream")&&customElements.define("turbo-stream",Nt),void 0===customElements.get("turbo-stream-source")&&customElements.define("turbo-stream-source",Ft),(()=>{const e=document.currentScript;if(!e)return;if(e.hasAttribute("data-turbo-suppress-warning"))return;let t=e.parentElement;for(;t;){if(t==document.body)return console.warn(p`
  17. You are loading Turbo from a <script> element inside the <body> element. This is probably not what you meant to do!
  18. Load your application’s JavaScript bundle inside the <head> element instead. <script> elements in <body> are evaluated with each page change.
  19. For more information, see: https://turbo.hotwired.dev/handbook/building#working-with-script-elements
  20. ——
  21. Suppress this warning by adding a "data-turbo-suppress-warning" attribute to: %s
  22. `,e.outerHTML);t=t.parentElement}})(),window.Turbo={...It,StreamActions:Pt},At()},3836(e){!function(){"use strict";function t(e){return parseInt(e)===e}function n(e){if(!t(e.length))return!1;for(var n=0;n<e.length;n++)if(!t(e[n])||e[n]<0||e[n]>255)return!1;return!0}function r(e,r){if(e.buffer&&"Uint8Array"===e.name)return r&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(t(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function o(e){return new Uint8Array(e)}function i(e,t,n,r,o){null==r&&null==o||(e=e.slice?e.slice(r,o):Array.prototype.slice.call(e,r,o)),t.set(e,n)}var s,a={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n<e.length;){var o=e.charCodeAt(n++);37===o?(t.push(parseInt(e.substr(n,2),16)),n+=2):t.push(o)}return r(t)},fromBytes:function(e){for(var t=[],n=0;n<e.length;){var r=e[n];r<128?(t.push(String.fromCharCode(r)),n++):r>191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},l=(s="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},fromBytes:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(s[(240&r)>>4]+s[15&r])}return t.join("")}}),c={16:10,24:12,32:14},u=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],f=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],p=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],v=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],g=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],b=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],y=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],w=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],S=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],k=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],x=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],E=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function C(e){for(var t=[],n=0;n<e.length;n+=4)t.push(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}var _=function(e){if(!(this instanceof _))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:r(e,!0)}),this._prepare()};_.prototype._prepare=function(){var e=c[this.key.length];if(null==e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var t=0;t<=e;t++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var n,r=4*(e+1),o=this.key.length/4,i=C(this.key);for(t=0;t<o;t++)n=t>>2,this._Ke[n][t%4]=i[t],this._Kd[e-n][t%4]=i[t];for(var s,a=0,l=o;l<r;){if(s=i[o-1],i[0]^=d[s>>16&255]<<24^d[s>>8&255]<<16^d[255&s]<<8^d[s>>24&255]^u[a]<<24,a+=1,8!=o)for(t=1;t<o;t++)i[t]^=i[t-1];else{for(t=1;t<o/2;t++)i[t]^=i[t-1];s=i[o/2-1],i[o/2]^=d[255&s]^d[s>>8&255]<<8^d[s>>16&255]<<16^d[s>>24&255]<<24;for(t=o/2+1;t<o;t++)i[t]^=i[t-1]}for(t=0;t<o&&l<r;)h=l>>2,f=l%4,this._Ke[h][f]=i[t],this._Kd[e-h][f]=i[t++],l++}for(var h=1;h<e;h++)for(var f=0;f<4;f++)s=this._Kd[h][f],this._Kd[h][f]=S[s>>24&255]^k[s>>16&255]^x[s>>8&255]^E[255&s]},_.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,n=[0,0,0,0],r=C(e),i=0;i<4;i++)r[i]^=this._Ke[0][i];for(var s=1;s<t;s++){for(i=0;i<4;i++)n[i]=f[r[i]>>24&255]^p[r[(i+1)%4]>>16&255]^m[r[(i+2)%4]>>8&255]^v[255&r[(i+3)%4]]^this._Ke[s][i];r=n.slice()}var a,l=o(16);for(i=0;i<4;i++)a=this._Ke[t][i],l[4*i]=255&(d[r[i]>>24&255]^a>>24),l[4*i+1]=255&(d[r[(i+1)%4]>>16&255]^a>>16),l[4*i+2]=255&(d[r[(i+2)%4]>>8&255]^a>>8),l[4*i+3]=255&(d[255&r[(i+3)%4]]^a);return l},_.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,n=[0,0,0,0],r=C(e),i=0;i<4;i++)r[i]^=this._Kd[0][i];for(var s=1;s<t;s++){for(i=0;i<4;i++)n[i]=g[r[i]>>24&255]^b[r[(i+3)%4]>>16&255]^y[r[(i+2)%4]>>8&255]^w[255&r[(i+1)%4]]^this._Kd[s][i];r=n.slice()}var a,l=o(16);for(i=0;i<4;i++)a=this._Kd[t][i],l[4*i]=255&(h[r[i]>>24&255]^a>>24),l[4*i+1]=255&(h[r[(i+3)%4]>>16&255]^a>>16),l[4*i+2]=255&(h[r[(i+2)%4]>>8&255]^a>>8),l[4*i+3]=255&(h[255&r[(i+1)%4]]^a);return l};var A=function(e){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new _(e)};A.prototype.encrypt=function(e){if((e=r(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),s=0;s<e.length;s+=16)i(e,n,0,s,s+16),i(n=this._aes.encrypt(n),t,s);return t},A.prototype.decrypt=function(e){if((e=r(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),s=0;s<e.length;s+=16)i(e,n,0,s,s+16),i(n=this._aes.decrypt(n),t,s);return t};var T=function(e,t){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastCipherblock=r(t,!0),this._aes=new _(e)};T.prototype.encrypt=function(e){if((e=r(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),s=0;s<e.length;s+=16){i(e,n,0,s,s+16);for(var a=0;a<16;a++)n[a]^=this._lastCipherblock[a];this._lastCipherblock=this._aes.encrypt(n),i(this._lastCipherblock,t,s)}return t},T.prototype.decrypt=function(e){if((e=r(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),s=0;s<e.length;s+=16){i(e,n,0,s,s+16),n=this._aes.decrypt(n);for(var a=0;a<16;a++)t[s+a]=n[a]^this._lastCipherblock[a];i(e,this._lastCipherblock,0,s,s+16)}return t};var L=function(e,t,n){if(!(this instanceof L))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 size)")}else t=o(16);n||(n=1),this.segmentSize=n,this._shiftRegister=r(t,!0),this._aes=new _(e)};L.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,n=r(e,!0),o=0;o<n.length;o+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var s=0;s<this.segmentSize;s++)n[o+s]^=t[s];i(this._shiftRegister,this._shiftRegister,0,this.segmentSize),i(n,this._shiftRegister,16-this.segmentSize,o,o+this.segmentSize)}return n},L.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,n=r(e,!0),o=0;o<n.length;o+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var s=0;s<this.segmentSize;s++)n[o+s]^=t[s];i(this._shiftRegister,this._shiftRegister,0,this.segmentSize),i(e,this._shiftRegister,16-this.segmentSize,o,o+this.segmentSize)}return n};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastPrecipher=r(t,!0),this._lastPrecipherIndex=16,this._aes=new _(e)};R.prototype.encrypt=function(e){for(var t=r(e,!0),n=0;n<t.length;n++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),t[n]^=this._lastPrecipher[this._lastPrecipherIndex++];return t},R.prototype.decrypt=R.prototype.encrypt;var M=function(e){if(!(this instanceof M))throw Error("Counter must be instanitated with `new`");0===e||e||(e=1),"number"==typeof e?(this._counter=o(16),this.setValue(e)):this.setBytes(e)};M.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");if(e>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},M.prototype.setBytes=function(e){if(16!=(e=r(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},M.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var I=function(e,t){if(!(this instanceof I))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof M||(t=new M(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new _(e)};I.prototype.encrypt=function(e){for(var t=r(e,!0),n=0;n<t.length;n++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),t[n]^=this._remainingCounter[this._remainingCounterIndex++];return t},I.prototype.decrypt=I.prototype.encrypt;var O={AES:_,Counter:M,ModeOfOperation:{ecb:A,cbc:T,cfb:L,ofb:R,ctr:I},utils:{hex:l,utf8:a},padding:{pkcs7:{pad:function(e){var t=16-(e=r(e,!0)).length%16,n=o(e.length+t);i(e,n);for(var s=e.length;s<n.length;s++)n[s]=t;return n},strip:function(e){if((e=r(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var t=e[e.length-1];if(t>16)throw new Error("PKCS#7 padding byte out of range");for(var n=e.length-t,s=0;s<t;s++)if(e[n+s]!==t)throw new Error("PKCS#7 invalid padding byte");var a=o(n);return i(e,a,0,0,n),a}}},_arrayTest:{coerceArray:r,createArray:o,copyArray:i}};e.exports=O}()},7576(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var r=n(279),o=n.n(r),i=n(370),s=n.n(i),a=n(817),l=n.n(a);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=l()(e);return c("cut"),t},d=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=l()(n);return c("copy"),n.remove(),r},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=l()(e),c("copy")),n};function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==f(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?h(i,{container:r}):o?"cut"===n?u(o):h(o,{container:r}):void 0};function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function v(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,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function w(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)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}}),t&&g(e,t)}(i,e);var t,n,r,o=b(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=s()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=p({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return w("action",e)}},{key:"defaultTarget",value:function(e){var t=w("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return w("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return h(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}],n&&v(t.prototype,n),r&&v(t,r),i}(o()),k=S},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var s=i.apply(this,arguments);return e.addEventListener(n,s,o),{destroy:function(){e.removeEventListener(n,s,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return o(e,t,n,r,i)}))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,s=r.length;i<s;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},2812(e,t,n){e.exports={ResizeSensor:n(731),ElementQueries:n(5653)}},5653(e,t,n){"use strict";var r,o,i;"undefined"!=typeof window&&window,o=[n(731)],void 0===(i="function"==typeof(r=function(e){var t=function(){var t,n={},r=[];function o(e){e||(e=document.documentElement);var t=window.getComputedStyle(e,null).fontSize;return parseFloat(t)||16}function i(e){if(!e.getBoundingClientRect)return{width:e.offsetWidth,height:e.offsetHeight};var t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height)}}function s(e,t){var n=t.split(/\d/),r=n[n.length-1];switch(t=parseFloat(t),r){case"px":default:return t;case"em":return t*o(e);case"rem":return t*o();case"vw":return t*document.documentElement.clientWidth/100;case"vh":return t*document.documentElement.clientHeight/100;case"vmin":case"vmax":var i=document.documentElement.clientWidth/100,s=document.documentElement.clientHeight/100;return t*(0,Math["vmin"===r?"min":"max"])(i,s)}}function a(e,t){var r,o,a,l,c,u,d,h;this.element=e;var f=["min-width","min-height","max-width","max-height"];this.call=function(){for(r in a=i(this.element),u={},n[t])n[t].hasOwnProperty(r)&&(o=n[t][r],l=s(this.element,o.value),c="width"===o.property?a.width:a.height,h=o.mode+"-"+o.property,d="","min"===o.mode&&c>=l&&(d+=o.value),"max"===o.mode&&c<=l&&(d+=o.value),u[h]||(u[h]=""),d&&-1===(" "+u[h]+" ").indexOf(" "+d+" ")&&(u[h]+=" "+d));for(var e in f)f.hasOwnProperty(e)&&(u[f[e]]?this.element.setAttribute(f[e],u[f[e]].substr(1)):this.element.removeAttribute(f[e]))}}function l(t,n){t.elementQueriesSetupInformation||(t.elementQueriesSetupInformation=new a(t,n)),t.elementQueriesSensor||(t.elementQueriesSensor=new e(t,function(){t.elementQueriesSetupInformation.call()}))}function c(e,o,i,s){if(void 0===n[e]){n[e]=[];var a=r.length;t.innerHTML+="\n"+e+" {animation: 0.1s element-queries;}",t.innerHTML+="\n"+e+" > .resize-sensor {min-width: "+a+"px;}",r.push(e)}n[e].push({mode:o,property:i,value:s})}function u(e){var t;if(document.querySelectorAll&&(t=e?e.querySelectorAll.bind(e):document.querySelectorAll.bind(document)),t||"undefined"==typeof $$||(t=$$),t||"undefined"==typeof jQuery||(t=jQuery),!t)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return t}function d(e){var t=u(e);for(var r in n)if(n.hasOwnProperty(r))for(var o=t(r,e),i=0,s=o.length;i<s;i++)l(o[i],r)}function h(t){var n=[],r=[],o=[],i=0,s=-1,a=[];for(var l in t.children)if(t.children.hasOwnProperty(l)&&t.children[l].tagName&&"img"===t.children[l].tagName.toLowerCase()){n.push(t.children[l]);var c=t.children[l].getAttribute("min-width")||t.children[l].getAttribute("data-min-width"),u=t.children[l].getAttribute("data-src")||t.children[l].getAttribute("url");o.push(u);var d={minWidth:c};r.push(d),c?t.children[l].style.display="none":(i=n.length-1,t.children[l].style.display="block")}function h(){var e,l=!1;for(e in n)n.hasOwnProperty(e)&&r[e].minWidth&&t.offsetWidth>r[e].minWidth&&(l=e);if(l||(l=i),s!==l)if(a[l])n[s].style.display="none",n[l].style.display="block",s=l;else{var c=new Image;c.onload=function(){n[l].src=o[l],n[s].style.display="none",n[l].style.display="block",a[l]=!0,s=l},c.src=o[l]}else n[l].src=o[l]}s=i,t.resizeSensorInstance=new e(t,h),h()}function f(){for(var e=u()("[data-responsive-image],[responsive-image]"),t=0,n=e.length;t<n;t++)h(e[t])}var p=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,m=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function v(e){var t,n,r,o;for(e=e.replace(/'/g,'"');null!==(t=p.exec(e));)for(n=t[1]+t[3],r=t[2];null!==(o=m.exec(r));)c(n,o[1],o[2],o[3])}function g(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&&-1===e.indexOf("max-width")||v(e);else for(var n=0,r=e.length;n<r;n++)1===e[n].type?-1!==(t=e[n].selectorText||e[n].cssText).indexOf("min-height")||-1!==t.indexOf("max-height")?v(t):-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")||v(t):4===e[n].type?g(e[n].cssRules||e[n].rules):3===e[n].type&&e[n].styleSheet.hasOwnProperty("cssRules")&&g(e[n].styleSheet.cssRules)}var b=!1;this.init=function(){var n="animationstart";void 0!==document.documentElement.style.webkitAnimationName?n="webkitAnimationStart":void 0!==document.documentElement.style.MozAnimationName?n="mozanimationstart":void 0!==document.documentElement.style.OAnimationName&&(n="oanimationstart"),document.body.addEventListener(n,function(t){var n=t.target,o=n&&window.getComputedStyle(n,null),i=o&&o.getPropertyValue("animation-name");if(i&&-1!==i.indexOf("element-queries")){n.elementQueriesSensor=new e(n,function(){n.elementQueriesSetupInformation&&n.elementQueriesSetupInformation.call()});var s=window.getComputedStyle(n.resizeSensor,null).getPropertyValue("min-width");s=parseInt(s.replace("px","")),l(t.target,r[s])}}),b||((t=document.createElement("style")).type="text/css",t.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}",t.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }",document.getElementsByTagName("head")[0].appendChild(t),b=!0);for(var o=0,i=document.styleSheets.length;o<i;o++)try{document.styleSheets[o].href&&0===document.styleSheets[o].href.indexOf("file://")&&console.warn("CssElementQueries: unable to parse local css files, "+document.styleSheets[o].href),g(document.styleSheets[o].cssRules||document.styleSheets[o].rules||document.styleSheets[o].cssText)}catch(s){}f()},this.findElementQueriesElements=function(e){d(e)},this.update=function(){this.init()}};t.update=function(){t.instance.update()},t.detach=function(e){e.elementQueriesSetupInformation?(e.elementQueriesSensor.detach(),delete e.elementQueriesSetupInformation,delete e.elementQueriesSensor):e.resizeSensorInstance&&(e.resizeSensorInstance.detach(),delete e.resizeSensorInstance)},t.init=function(){t.instance||(t.instance=new t),t.instance.init()};var n=function(e){if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(e(),clearInterval(t))},10);else window.onload=e};return t.findElementQueriesElements=function(e){t.instance.findElementQueriesElements(e)},t.listen=function(){n(t.init)},t})?r.apply(t,o):r)||(e.exports=i)},731(e,t,n){"use strict";var r,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(r=function(){if("undefined"==typeof window)return null;var e="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||function(t){return e.setTimeout(t,20)},n=e.cancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelAnimationFrame||function(t){e.clearTimeout(t)};function r(e,t){var n=Object.prototype.toString.call(e),r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!=typeof jQuery&&e instanceof jQuery||"undefined"!=typeof Elements&&e instanceof Elements,o=0,i=e.length;if(r)for(;o<i;o++)t(e[o]);else t(e)}function o(e){if(!e.getBoundingClientRect)return{width:e.offsetWidth,height:e.offsetHeight};var t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height)}}function i(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}var s=function(e,a){var l=0;function c(){var e,t,n=[];this.add=function(e){n.push(e)},this.call=function(r){for(e=0,t=n.length;e<t;e++)n[e].call(this,r)},this.remove=function(r){var o=[];for(e=0,t=n.length;e<t;e++)n[e]!==r&&o.push(n[e]);n=o},this.length=function(){return n.length}}function u(e,n){if(e)if(e.resizedAttached)e.resizedAttached.add(n);else{e.resizedAttached=new c,e.resizedAttached.add(n),e.resizeSensor=document.createElement("div"),e.resizeSensor.dir="ltr",e.resizeSensor.className="resize-sensor";var r={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},s={position:"absolute",left:"0px",top:"0px",transition:"0s"};i(e.resizeSensor,r);var a=document.createElement("div");a.className="resize-sensor-expand",i(a,r);var u=document.createElement("div");i(u,s),a.appendChild(u);var d=document.createElement("div");d.className="resize-sensor-shrink",i(d,r);var h=document.createElement("div");i(h,s),i(h,{width:"200%",height:"200%"}),d.appendChild(h),e.resizeSensor.appendChild(a),e.resizeSensor.appendChild(d),e.appendChild(e.resizeSensor);var f=window.getComputedStyle(e),p=f?f.getPropertyValue("position"):null;"absolute"!==p&&"relative"!==p&&"fixed"!==p&&"sticky"!==p&&(e.style.position="relative");var m=!1,v=0,g=o(e),b=0,y=0,w=!0;l=0;var S=function(){var t=e.offsetWidth,n=e.offsetHeight;u.style.width=t+10+"px",u.style.height=n+10+"px",a.scrollLeft=t+10,a.scrollTop=n+10,d.scrollLeft=t+10,d.scrollTop=n+10},k=function(){if(w){if(0===e.offsetWidth&&0===e.offsetHeight)return void(l||(l=t(function(){l=0,k()})));w=!1}S()};e.resizeSensor.resetSensor=k;var x=function(){v=0,m&&(b=g.width,y=g.height,e.resizedAttached&&e.resizedAttached.call(g))},E=function(){g=o(e),(m=g.width!==b||g.height!==y)&&!v&&(v=t(x)),k()},C=function(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n)};C(a,"scroll",E),C(d,"scroll",E),l=t(function(){l=0,k()})}}r(e,function(e){u(e,a)}),this.detach=function(t){l||(n(l),l=0),s.detach(e,t)},this.reset=function(){e.resizeSensor.resetSensor()}};if(s.reset=function(e){r(e,function(e){e.resizeSensor.resetSensor()})},s.detach=function(e,t){r(e,function(e){e&&(e.resizedAttached&&"function"==typeof t&&(e.resizedAttached.remove(t),e.resizedAttached.length())||e.resizeSensor&&(e.contains(e.resizeSensor)&&e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached))})},"undefined"!=typeof MutationObserver){var a=new MutationObserver(function(e){for(var t in e)if(e.hasOwnProperty(t))for(var n=e[t].addedNodes,r=0;r<n.length;r++)n[r].resizeSensor&&s.reset(n[r])});document.addEventListener("DOMContentLoaded",function(e){a.observe(document.body,{childList:!0,subtree:!0})})}return s})?r.call(t,n,t,e):r)||(e.exports=o)},181(e,t,n){var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,h=Math.max,f=Math.min,p=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||s.test(e)?a(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,s,a,l,c=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function w(){var e=p();if(y(e))return S(e);a=setTimeout(w,function(e){var n=t-(e-l);return d?f(n,i-(e-c)):n}(e))}function S(e){return a=void 0,g&&r?b(e):(r=o=void 0,s)}function k(){var e=p(),n=y(e);if(r=arguments,o=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),u?b(e):s}(l);if(d)return a=setTimeout(w,t),b(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=v(t)||0,m(n)&&(u=!!n.leading,i=(d="maxWait"in n)?h(v(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},k.flush=function(){return void 0===a?s:S(p())},k}},3822(e,t,n){"use strict";n.r(t),n.d(t,{DocAnchorTarget:()=>l,DocAnchorTrigger:()=>v,DocBackToTop:()=>w,DocBadge:()=>k,DocCheckbox:()=>A,DocCodeblock:()=>ot,DocCollapse:()=>at,DocDrawer:()=>vt,DocDropdown:()=>St,DocEmoji:()=>Et,DocHistory:()=>Vt,DocIcon:()=>zt,DocIconAlignRight:()=>Ps,DocIconArrowLeft:()=>Ws,DocIconArrowRight:()=>Hs,DocIconArrowTop:()=>zs,DocIconBox:()=>Ks,DocIconButton:()=>Kt,DocIconCheck:()=>Qs,DocIconCheckCircle:()=>Zs,DocIconChevronDown:()=>na,DocIconChevronRight:()=>ia,DocIconCopy:()=>nt,DocIconDeviceDesktop:()=>la,DocIconFile:()=>da,DocIconFilter:()=>pa,DocIconFolder:()=>ga,DocIconHistory:()=>wa,DocIconHome:()=>xa,DocIconInfo:()=>_a,DocIconLayers:()=>La,DocIconLink:()=>Ia,DocIconMenu:()=>Pa,DocIconMinus:()=>Wa,DocIconMoon:()=>Ha,DocIconMoreHorizontal:()=>za,DocIconPlus:()=>Ka,DocIconQuestion:()=>Qa,DocIconSearch:()=>Za,DocIconShield:()=>nl,DocIconSun:()=>il,DocIconX:()=>ll,DocLoadingSpinner:()=>Gt,DocMember:()=>Wn,DocMemberGroup:()=>zn,DocOverloadGroup:()=>Xn,DocPanel:()=>Yn,DocPanels:()=>Jn,DocParameter:()=>lr,DocParameters:()=>hr,DocSearchDesktop:()=>Zr,DocSearchMobile:()=>oo,DocSidebar:()=>Jo,DocSidebarRight:()=>Si,DocStep:()=>ki,DocSteps:()=>xi,DocSwitch:()=>Li,DocTab:()=>Ri,DocTabs:()=>Ii,DocThemeSwitch:()=>Wi,DocToolbar:()=>Ls,DocToolbarMemberFilterNoResults:()=>Is});var r=n(1425),o=["id"];var i=n(1441);const s=(0,r.pM)({name:"DocAnchorTarget",props:{id:{type:String,required:!0}},setup:function(e){var t=(0,i.r)().handleAnchorNavigation,n=(0,r.KR)("#".concat(e.id));(0,r.sV)(function(){if(window.location.hash){var e=decodeURIComponent(window.location.hash);e.toLowerCase()===n.value.toLowerCase()&&t(e,{isPageLoad:!0})}})}});var a=n(6262);const l=(0,a.A)(s,[["render",function(e,t,n,i,s,a){return(0,r.uX)(),(0,r.CE)("div",{id:e.id},[(0,r.RG)(e.$slots,"default")],8,o)}]]);var c=["href","tabindex","aria-disabled"];var u=n(2302),d=n(5493),h=n(6695),f=n(89);const p=(0,r.pM)({name:"DocAnchorTrigger",props:{disabled:Boolean,to:{type:String,required:!0}},emits:["click"],setup:function(e,t){var n=t.emit,o=(0,h.Pj)().store,i=(0,u.D)().scrollTo;return{onClick:function(t){if(!(0,d.VL)(t)){t.preventDefault();var r="#"===e.to.charAt(0);r?history.pushState({},"",e.to):(0,f.YR)(e.to),n("click"),i(e.to,{offset:(0,d.gj)(),onStart:function(){var t=r?e.to.substr(1):e.to;o.actions.updateScrolledElementId(t)}})}},tabindex:(0,r.EW)(function(){return e.disabled?"-1":null})}}}),m=(0,a.A)(p,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("a",{href:e.to,tabindex:e.tabindex,"aria-disabled":e.disabled,onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onClick&&e.onClick.apply(e,t)})},[(0,r.RG)(e.$slots,"default")],8,c)}]]),v=m;var g=n(3137);const b=(0,r.pM)({name:"DocBackToTop",setup:function(){var e=(0,r.KR)(!1),t=(0,u.D)().scrollTo;return(0,g._q)(window,"scroll",function(){document.documentElement.scrollTop>350?e.value=!0:e.value=!1}),{onClick:function(){t("body")},show:e}}}),y=(0,a.A)(b,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-arrow-top"),l=(0,r.g2)("doc-icon");return(0,r.uX)(),(0,r.Wv)(r.eB,{"enter-from-class":"translate-y-4 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-4 opacity-0"},{default:(0,r.k6)(function(){return[e.show?((0,r.uX)(),(0,r.CE)("button",{key:0,id:"retype-back-to-top",class:"print:hidden fixed bottom-6 right-6 w-12 h-12 flex items-center justify-center rounded-full bg-white/70 hover:bg-gray-200 dark:bg-dark-850/70 dark:hover:bg-dark-450 z-40 focus:outline-hidden transition duration-300 linear border border-gray-400/50 hover:border-gray-400/10 dark:border-dark-450",onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onClick&&e.onClick.apply(e,t)})},[(0,r.bF)(l,{class:"w-7 h-7 text-base-500"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1})])):(0,r.Q3)("",!0)]}),_:1})}]]),w=y;const S=(0,r.pM)({name:"DocBadge",props:{type:{type:String,default:""}},setup:function(e){var t=(0,r.EW)(function(){return e.type.trim()});return{badgeClasses:(0,r.EW)(function(){switch(t.value){case"bindable":return"bg-warning-100 text-warning-700 dark:bg-warning-500 dark:text-white";case"required":return"bg-indigo-100 text-indigo-700 dark:bg-indigo-500 dark:text-white";case"internal":return"bg-gray-700 text-white";case"private":case"primary":case"static":return"bg-badge-primary text-badge-primary-text";case"warning":case"readonly":return"bg-orange-100 text-orange-700 dark:bg-orange-500 dark:text-white";case"chainable":case"public":case"success":return"bg-success-100 text-success-700 dark:bg-success-500 dark:text-white";case"template":case"info":return"bg-teal-100 text-teal-700 dark:bg-teal-500 dark:text-white";case"deprecated":case"removed":case"danger":return"bg-danger-100 text-danger-700 dark:bg-danger-500 dark:text-white";default:return"bg-gray-200 text-gray-900 dark:bg-dark-550 dark:text-dark-250"}})}}}),k=(0,a.A)(S,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("span",{class:(0,r.C4)(["inline-flex items-center justify-center h-6 px-2 text-xs font-medium leading-none whitespace-nowrap rounded",e.badgeClasses])},[(0,r.RG)(e.$slots,"default")],2)}]]);var x={class:"inline-flex py-1.5 cursor-pointer select-none"},E=["value"],C={class:"inline-block ml-2"};const _=(0,r.pM)({name:"DocCheckbox",props:{value:[Boolean,String],modelValue:[Boolean,Array]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(e.modelValue),i=(0,r.KR)(!1),s=(0,r.EW)({get:function(){return o.value},set:function(e){o.value=e,n("update:modelValue",o.value)}}),a=(0,r.EW)(function(){return Array.isArray(e.modelValue)?e.modelValue.includes(e.value):e.modelValue}),l=(0,r.EW)(function(){return[{"border-base-500 bg-base-500":a.value},{"border-gray-400 bg-gray-100":!a.value},{"shadow-outline":i.value}]});return(0,r.wB)(function(){return e.modelValue},function(e){return o.value=e}),{localValue:o,computedValue:s,isChecked:a,isFocused:i,checkboxClasses:l}}}),A=(0,a.A)(_,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-check"),l=(0,r.g2)("doc-icon");return(0,r.uX)(),(0,r.CE)("label",x,[(0,r.Lk)("div",{class:(0,r.C4)(["w-4 h-4 mt-px border rounded-xs",e.checkboxClasses])},[(0,r.bo)((0,r.bF)(l,{width:"14",height:"14",class:"text-white"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1},512),[[r.aG,e.isChecked]])],2),(0,r.bo)((0,r.Lk)("input",{"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.computedValue=t}),class:"absolute opacity-0 hidden",style:{"z-index":"-1"},type:"checkbox",value:e.value,onFocus:t[1]||(t[1]=function(t){return e.isFocused=!0}),onBlur:t[2]||(t[2]=function(t){return e.isFocused=!1})},null,40,E),[[r.lH,e.computedValue]]),(0,r.Lk)("span",C,[(0,r.RG)(e.$slots,"default")])])}]]);var T={class:"absolute top-0 right-0 z-5"},L=["innerHTML"];var R=n(2005),M={class:"whitespace-nowrap"};var I=n(5431),O=n.n(I),D=n(7576),P=n.n(D),N={key:0,ref:"tooltip",class:"z-50 px-2 py-1 text-xs text-white bg-gray-900 rounded dark:bg-dark-500 tooltip"};function F(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function W(e){return e instanceof F(e).Element||e instanceof Element}function B(e){return e instanceof F(e).HTMLElement||e instanceof HTMLElement}function V(e){return"undefined"!=typeof ShadowRoot&&(e instanceof F(e).ShadowRoot||e instanceof ShadowRoot)}var H=Math.max,q=Math.min,j=Math.round;function z(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function $(){return!/^((?!chrome|android).)*safari/i.test(z())}function X(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&B(e)&&(o=e.offsetWidth>0&&j(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&j(r.height)/e.offsetHeight||1);var s=(W(e)?F(e):window).visualViewport,a=!$()&&n,l=(r.left+(a&&s?s.offsetLeft:0))/o,c=(r.top+(a&&s?s.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function K(e){var t=F(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(e){return e?(e.nodeName||"").toLowerCase():null}function G(e){return((W(e)?e.ownerDocument:e.document)||window.document).documentElement}function Q(e){return X(G(e)).left+K(e).scrollLeft}function Y(e){return F(e).getComputedStyle(e)}function J(e){var t=Y(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Z(e,t,n){void 0===n&&(n=!1);var r,o,i=B(t),s=B(t)&&function(e){var t=e.getBoundingClientRect(),n=j(t.width)/e.offsetWidth||1,r=j(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=G(t),l=X(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==U(t)||J(a))&&(c=(r=t)!==F(r)&&B(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:K(r)),B(t)?((u=X(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Q(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ee(e){var t=X(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function te(e){return"html"===U(e)?e:e.assignedSlot||e.parentNode||(V(e)?e.host:null)||G(e)}function ne(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:B(e)&&J(e)?e:ne(te(e))}function re(e,t){var n;void 0===t&&(t=[]);var r=ne(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=F(r),s=o?[i].concat(i.visualViewport||[],J(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(re(te(s)))}function oe(e){return["table","td","th"].indexOf(U(e))>=0}function ie(e){return B(e)&&"fixed"!==Y(e).position?e.offsetParent:null}function se(e){for(var t=F(e),n=ie(e);n&&oe(n)&&"static"===Y(n).position;)n=ie(n);return n&&("html"===U(n)||"body"===U(n)&&"static"===Y(n).position)?t:n||function(e){var t=/firefox/i.test(z());if(/Trident/i.test(z())&&B(e)&&"fixed"===Y(e).position)return null;var n=te(e);for(V(n)&&(n=n.host);B(n)&&["html","body"].indexOf(U(n))<0;){var r=Y(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ae="top",le="bottom",ce="right",ue="left",de="auto",he=[ae,le,ce,ue],fe="start",pe="end",me="viewport",ve="popper",ge=he.reduce(function(e,t){return e.concat([t+"-"+fe,t+"-"+pe])},[]),be=[].concat(he,[de]).reduce(function(e,t){return e.concat([t,t+"-"+fe,t+"-"+pe])},[]),ye=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function we(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Se={placement:"bottom",modifiers:[],strategy:"absolute"};function ke(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function xe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Se:o;return function(e,t,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Se,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:W(e)?re(e):e.contextElement?re(e.contextElement):[],popper:re(t)};var s,c,h=function(e){var t=we(e);return ye.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,a.options.modifiers),c=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return a.orderedModifiers=h.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:u,options:r}),s=function(){};l.push(i||s)}}),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(ke(t,n)){a.rects={reference:Z(t,se(n),"fixed"===a.options.strategy),popper:ee(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,s=o.options,l=void 0===s?{}:s,d=o.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){d(),c=!0}};if(!ke(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Ee={passive:!0};function Ce(e){return e.split("-")[0]}function _e(e){return e.split("-")[1]}function Ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Te(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Ce(o):null,s=o?_e(o):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case ae:t={x:a,y:n.y-r.height};break;case le:t={x:a,y:n.y+n.height};break;case ce:t={x:n.x+n.width,y:l};break;case ue:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Ae(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case fe:t[c]=t[c]-(n[u]/2-r[u]/2);break;case pe:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Re(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=s.x,f=void 0===h?0:h,p=s.y,m=void 0===p?0:p,v="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=ue,w=ae,S=window;if(c){var k=se(n),x="clientHeight",E="clientWidth";if(k===F(n)&&"static"!==Y(k=G(n)).position&&"absolute"===a&&(x="scrollHeight",E="scrollWidth"),o===ae||(o===ue||o===ce)&&i===pe)w=le,m-=(d&&k===S&&S.visualViewport?S.visualViewport.height:k[x])-r.height,m*=l?1:-1;if(o===ue||(o===ae||o===le)&&i===pe)y=ce,f-=(d&&k===S&&S.visualViewport?S.visualViewport.width:k[E])-r.width,f*=l?1:-1}var C,_=Object.assign({position:a},c&&Le),A=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:j(n*o)/o||0,y:j(r*o)/o||0}}({x:f,y:m},F(n)):{x:f,y:m};return f=A.x,m=A.y,l?Object.assign({},_,((C={})[w]=b?"0":"",C[y]=g?"0":"",C.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},_,((t={})[w]=b?m+"px":"",t[y]=g?f+"px":"",t.transform="",t))}const Me={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,s=be.reduce(function(e,n){return e[n]=function(e,t,n){var r=Ce(e),o=[ue,ae].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[ue,ce].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e},{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}};var Ie={left:"right",right:"left",bottom:"top",top:"bottom"};function Oe(e){return e.replace(/left|right|bottom|top/g,function(e){return Ie[e]})}var De={start:"end",end:"start"};function Pe(e){return e.replace(/start|end/g,function(e){return De[e]})}function Ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&V(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function We(e,t,n){return t===me?Fe(function(e,t){var n=F(e),r=G(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var c=$();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+Q(e),y:l}}(e,n)):W(t)?function(e,t){var n=X(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Fe(function(e){var t,n=G(e),r=K(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=H(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+Q(e),l=-r.scrollTop;return"rtl"===Y(o||n).direction&&(a+=H(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(G(e)))}function Be(e,t,n,r){var o="clippingParents"===t?function(e){var t=re(te(e)),n=["absolute","fixed"].indexOf(Y(e).position)>=0&&B(e)?se(e):e;return W(n)?t.filter(function(e){return W(e)&&Ne(e,n)&&"body"!==U(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(t,n){var o=We(e,n,r);return t.top=H(o.top,t.top),t.right=q(o.right,t.right),t.bottom=q(o.bottom,t.bottom),t.left=H(o.left,t.left),t},We(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ve(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function He(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function qe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,s=void 0===i?e.strategy:i,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?me:c,d=n.elementContext,h=void 0===d?ve:d,f=n.altBoundary,p=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=Ve("number"!=typeof v?v:He(v,he)),b=h===ve?"reference":ve,y=e.rects.popper,w=e.elements[p?b:h],S=Be(W(w)?w:w.contextElement||G(e.elements.popper),l,u,s),k=X(e.elements.reference),x=Te({reference:k,element:y,strategy:"absolute",placement:o}),E=Fe(Object.assign({},y,x)),C=h===ve?E:k,_={top:S.top-C.top+g.top,bottom:C.bottom-S.bottom+g.bottom,left:S.left-C.left+g.left,right:C.right-S.right+g.right},A=e.modifiersData.offset;if(h===ve&&A){var T=A[o];Object.keys(_).forEach(function(e){var t=[ce,le].indexOf(e)>=0?1:-1,n=[ae,le].indexOf(e)>=0?"y":"x";_[e]+=T[n]*t})}return _}function je(e,t,n){return H(e,q(t,n))}const ze={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,m=void 0===p?0:p,v=qe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=Ce(t.placement),b=_e(t.placement),y=!b,w=Ae(g),S="x"===w?"y":"x",k=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(k){if(i){var L,R="y"===w?ae:ue,M="y"===w?le:ce,I="y"===w?"height":"width",O=k[w],D=O+v[R],P=O-v[M],N=f?-E[I]/2:0,F=b===fe?x[I]:E[I],W=b===fe?-E[I]:-x[I],B=t.elements.arrow,V=f&&B?ee(B):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=j[R],$=j[M],X=je(0,x[I],V[I]),K=y?x[I]/2-N-X-z-_.mainAxis:F-X-z-_.mainAxis,U=y?-x[I]/2+N+X+$+_.mainAxis:W+X+$+_.mainAxis,G=t.elements.arrow&&se(t.elements.arrow),Q=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,Y=null!=(L=null==A?void 0:A[w])?L:0,J=O+U-Y,Z=je(f?q(D,O+K-Y-Q):D,O,f?H(P,J):P);k[w]=Z,T[w]=Z-O}if(a){var te,ne="x"===w?ae:ue,re="x"===w?le:ce,oe=k[S],ie="y"===S?"height":"width",de=oe+v[ne],he=oe-v[re],pe=-1!==[ae,ue].indexOf(g),me=null!=(te=null==A?void 0:A[S])?te:0,ve=pe?de:oe-x[ie]-E[ie]-me+_.altAxis,ge=pe?oe+x[ie]+E[ie]-me-_.altAxis:he,be=f&&pe?function(e,t,n){var r=je(e,t,n);return r>n?n:r}(ve,oe,ge):je(f?ve:de,oe,f?ge:he);k[S]=be,T[S]=be-oe}t.modifiersData[r]=T}},requiresIfExists:["offset"]};const $e={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ce(n.placement),l=Ae(a),c=[ue,ce].indexOf(a)>=0?"height":"width";if(i&&s){var u=function(e,t){return Ve("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:He(e,he))}(o.padding,n),d=ee(i),h="y"===l?ae:ue,f="y"===l?le:ce,p=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=se(i),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=p/2-m/2,y=u[h],w=g-d[c]-u[f],S=g/2-d[c]/2+b,k=je(y,S,w),x=l;n.modifiersData[r]=((t={})[x]=k,t.centerOffset=k-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ke(e){return[ae,ce,le,ue].some(function(t){return e[t]>=0})}var Ue=xe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,a=void 0===s||s,l=F(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,Ee)}),a&&l.addEventListener("resize",n.update,Ee),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Ee)}),a&&l.removeEventListener("resize",n.update,Ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:Ce(t.placement),variation:_e(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Re(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Re(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];B(o)&&U(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});B(r)&&U(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},Me,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=Ce(v),b=l||(g===v||!p?[Oe(v)]:function(e){if(Ce(e)===de)return[];var t=Oe(e);return[Pe(e),t,Pe(t)]}(v)),y=[v].concat(b).reduce(function(e,n){return e.concat(Ce(n)===de?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?be:l,u=_e(r),d=u?a?ge:ge.filter(function(e){return _e(e)===u}):he,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var f=h.reduce(function(t,n){return t[n]=qe(e,{placement:n,boundary:o,rootBoundary:i,padding:s})[Ce(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)},[]),w=t.rects.reference,S=t.rects.popper,k=new Map,x=!0,E=y[0],C=0;C<y.length;C++){var _=y[C],A=Ce(_),T=_e(_)===fe,L=[ae,le].indexOf(A)>=0,R=L?"width":"height",M=qe(t,{placement:_,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),I=L?T?ce:ue:T?le:ae;w[R]>S[R]&&(I=Oe(I));var O=Oe(I),D=[];if(i&&D.push(M[A]<=0),a&&D.push(M[I]<=0,M[O]<=0),D.every(function(e){return e})){E=_,x=!1;break}k.set(_,D)}if(x)for(var P=function(e){var t=y.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},N=p?3:1;N>0;N--){if("break"===P(N))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ze,$e,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=qe(t,{elementContext:"reference"}),a=qe(t,{altBoundary:!0}),l=Xe(s,r),c=Xe(a,o,i),u=Ke(l),d=Ke(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const Ge=(0,r.pM)({name:"DocTooltip",props:{placement:{type:String,default:"top"},offset:{type:Array,default:function(){return[0,8]}},delay:{type:Number,default:250}},emits:["show","hide"],setup:function(e,t){var n,o=t.emit,i=(0,r.KR)(),s=(0,r.KR)(),a=(0,r.KR)(!1),l=null;return{trigger:i,tooltip:s,isOpen:a,show:function(){clearTimeout(n),n=setTimeout(function(){a.value=!0,(0,r.dY)(function(){!function(){var t=document.querySelector("body"),n={placement:e.placement,modifiers:[{name:"offset",options:{offset:e.offset}},{name:"preventOverflow",options:{boundary:t}},{name:"flip",options:{boundary:t}}]};if(!i.value||!s.value)throw new Error("Tooltip trigger or tooltip element not found in DOM");l=Ue(i.value,s.value,n)}(),o("show")})},e.delay)},hide:function(){clearTimeout(n),o("hide"),a.value=!1,l&&(l.destroy(),l=null)},update:function(){l&&l.update()}}}}),Qe=(0,a.A)(Ge,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",{ref:"trigger","aria-describedby":"tooltip",onMouseenter:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.show&&e.show.apply(e,t)}),onMouseleave:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.hide&&e.hide.apply(e,t)})},[(0,r.RG)(e.$slots,"trigger",{},void 0,!0)],544),e.isOpen?((0,r.uX)(),(0,r.CE)("div",N,[(0,r.RG)(e.$slots,"default",{},void 0,!0),t[2]||(t[2]=(0,r.Lk)("div",{class:"arrow","data-popper-arrow":""},null,-1))],512)):(0,r.Q3)("",!0)])}],["__scopeId","data-v-0a72d6d2"]]),Ye=Qe,Je=(0,r.pM)({name:"DocCopyButton",components:{DocTooltip:Ye},props:{copyText:String,tooltipText:{type:String,default:O().resources.API_CopyHint_Label},tooltipPlacement:{type:String,default:"top"},tooltipOffset:{type:Array,default:function(){return[0,8]}},buttonClass:{type:String,default:""}},setup:function(e){var t=(0,r.KR)(),n=(0,r.KR)(),o=(0,r.KR)(e.tooltipText),i=null;return(0,r.sV)(function(){(i=new(P())(n.value,{text:function(){return e.copyText}})).on("success",function(){o.value=O().resources.API_CopiedAckHint_Label,t.value.update()})}),(0,r.xo)(function(){null!==i&&i.destroy()}),{tooltip:t,button:n,btnLabel:o}}}),Ze=(0,a.A)(Je,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-tooltip");return(0,r.uX)(),(0,r.Wv)(a,{ref:"tooltip",placement:e.tooltipPlacement,offset:e.tooltipOffset},{trigger:(0,r.k6)(function(){return[(0,r.Lk)("button",{ref:"button",class:(0,r.C4)(["flex items-center justify-center shrink-0 transition-colors duration-200 ease-in focus:outline-hidden",e.buttonClass]),onMouseleave:t[0]||(t[0]=function(t){return e.btnLabel=e.tooltipText})},[(0,r.RG)(e.$slots,"default")],34)]}),default:(0,r.k6)(function(){return[(0,r.Lk)("span",M,(0,r.v_)(e.btnLabel),1)]}),_:3},8,["placement","offset"])}]]);var et=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const tt=(0,r.pM)({name:"DocIconCopy"}),nt=(0,a.A)(tt,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,et([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M20 8h-9c-1.65 0-3 1.35-3 3v9c0 1.65 1.35 3 3 3h9c1.65 0 3-1.35 3-3v-9c0-1.65-1.35-3-3-3zm1 12c0 .55-.45 1-1 1h-9c-.55 0-1-.45-1-1v-9c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v9z"},null,-1),(0,r.Lk)("path",{d:"M5 14H4c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v1c0 .55.45 1 1 1s1-.45 1-1V4c0-1.65-1.35-3-3-3H4C2.35 1 1 2.35 1 4v9c0 1.65 1.35 3 3 3h1c.55 0 1-.45 1-1s-.45-1-1-1z"},null,-1)]),!0))}]]);const rt=(0,r.pM)({name:"DocCodeblock",components:{DocCopyButton:Ze,DocIconCopy:nt},props:{lineNumbers:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.KR)(),n=(0,r.KR)(""),o=(0,r.KR)(""),i=(0,r.KR)(!1);return(0,r.sV)(function(){var r,s,a,l;i.value="string"==typeof(null===(s=null===(r=t.value)||void 0===r?void 0:r.querySelector(".codeblock-title"))||void 0===s?void 0:s.textContent);var c=null===(a=t.value)||void 0===a?void 0:a.querySelector("code[class*='language-']");n.value=(null==c?void 0:c.innerText.trim())||"",e.lineNumbers&&(o.value=function(e){return e.split("\n").map(function(e,t){return"<div>".concat(t+1,"</div>")}).join("")}(n.value)),"PRE"===(null===(l=null==c?void 0:c.parentElement)||void 0===l?void 0:l.nodeName)&&new R.A(c.parentElement)}),{codeblockRef:t,hasTitle:i,code:n,lineNumbersHtml:o}}}),ot=(0,a.A)(rt,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-copy"),l=(0,r.g2)("doc-icon"),c=(0,r.g2)("doc-copy-button");return(0,r.uX)(),(0,r.CE)("div",{ref:"codeblockRef",class:(0,r.C4)(["codeblock relative",{"line-numbers":e.lineNumbers}])},[(0,r.Lk)("div",T,[(0,r.bF)(c,{"copy-text":e.code,"tooltip-placement":"left","tooltip-offset":[-1,0],class:(0,r.C4)(["mr-1.5",e.hasTitle?"mt-14":"mt-1.5"]),"button-class":"w-10 h-10 text-dark-350 hover:text-white bg-dark-850/50 dark:bg-dark-800/50 rounded-full"},{default:(0,r.k6)(function(){return[(0,r.bF)(l,null,{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1})]}),_:1},8,["copy-text","class"])]),(0,r.RG)(e.$slots,"default"),e.lineNumbers?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,r.C4)(["absolute top-0 w-14 py-4 pr-3 bg-dark-850 dark:bg-dark-800 font-mono leading-normal text-dark-350 text-xs text-right",{"mt-12":e.hasTitle}]),innerHTML:e.lineNumbersHtml},null,10,L)):(0,r.Q3)("",!0)],2)}]]);const it=(0,r.pM)({name:"DocCollapse",props:{modelValue:Boolean,animations:{type:Boolean,default:!0},triggerClass:{type:String,default:null}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(!1),i=(0,r.KR)();function s(){n("update:modelValue",!e.modelValue)}return(0,r.wB)(function(){return e.modelValue},function(e){e?(0,r.dY)(function(){if(i.value){var e=i.value.scrollHeight;i.value.style.height="".concat(e,"px")}}):i.value&&(i.value.style.height="0px")},{immediate:!0}),{toggleCollapse:s,onKeydown:function(e){"Enter"===e.key&&s()},toggleMousedown:function(){o.value=!o.value},onFocus:function(e){o.value&&e.target.blur()},content:i}}}),st=(0,a.A)(it,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",{class:(0,r.C4)(["cursor-pointer focus:outline-hidden focus:bg-gray-200 dark:focus:bg-dark-750",e.triggerClass]),tabindex:"0",onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggleCollapse&&e.toggleCollapse.apply(e,t)}),onMousedown:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggleMousedown&&e.toggleMousedown.apply(e,t)}),onMouseup:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggleMousedown&&e.toggleMousedown.apply(e,t)}),onFocus:t[3]||(t[3]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onFocus&&e.onFocus.apply(e,t)}),onKeydown:t[4]||(t[4]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onKeydown&&e.onKeydown.apply(e,t)})},[(0,r.RG)(e.$slots,"trigger")],34),(0,r.Lk)("div",{ref:"content",class:(0,r.C4)(["collapse-content overflow-hidden",e.animations?"transition-all duration-200 ease-out":null]),style:{height:"0"}},[(0,r.RG)(e.$slots,"default")],2),(0,r.RG)(e.$slots,"footer")])}]]),at=st;const lt=(0,r.pM)({name:"DocOverlay",props:{isOpen:Boolean},emits:["swipe-left","swipe-right","click"],setup:function(e,t){var n=t.emit,o=(0,r.Kh)({x:0,y:0});return{onTouchStart:function(e){o.x=e.changedTouches[0].clientX,o.y=e.changedTouches[0].clientY},onTouchEnd:function(e){var t=e.changedTouches[0].clientX-o.x,r=e.changedTouches[0].clientY-o.y;Math.abs(t)>Math.abs(r)&&Math.abs(t)>40&&(t<0&&n("swipe-left",[e,"swipe-left"]),t>0&&n("swipe-right",[e,"swipe-right"]))},onClick:function(e){n("click",[e,"click"])}}}}),ct=(0,a.A)(lt,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)(["fixed z-30 transition-opacity duration-300 ease-in-out bg-gray-600 dark:bg-dark-900",e.isOpen?"inset-0 opacity-50 dark:bg-dark-900/70":"opacity-0"]),onTouchstart:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onTouchStart&&e.onTouchStart.apply(e,t)}),onTouchend:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onTouchEnd&&e.onTouchEnd.apply(e,t)}),onClick:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onClick&&e.onClick.apply(e,t)})},null,34)}]]),ut=ct;function dt(e){(0,g._q)(window,"resize",function(t){e(t)})}function ht(){var e=document.body,t=(0,r.KR)(0),n=e.offsetWidth;(0,r.sV)(function(){return n=e.offsetWidth}),dt(function(){return n=e.offsetWidth});var o=(0,r.KR)(!1);return{enableBodyScroll:function(){o.value&&(e.classList.remove("overflow-hidden","fixed"),e.style.width="",e.style.top="",window.scrollTo(0,t.value),o.value=!1)},disableBodyScroll:function(){o.value||(t.value=window.scrollY,e.style.width="".concat(n,"px"),e.style.top="".concat(-t.value,"px"),e.classList.add("overflow-hidden","fixed"),o.value=!0)},isBodyScrollDisabled:o}}var ft=r.Im;const pt=(0,r.pM)({name:"DocDrawer",components:{DocOverlay:ut,Teleport:ft},props:{hideEvent:{type:Array,required:!0}},emits:["show","shown","hide","hidden"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(),i=(0,r.KR)(!1),s=ht(),a=s.enableBodyScroll,l=s.disableBodyScroll;return{Teleport:ft,isOpen:i,show:function(){n("show"),i.value=!0,l(),(0,r.dY)(function(){n("shown")})},hide:function(t){var s;if(n("hide"),!t||!t[0])return i.value=!1,a(),void(0,r.dY)(function(){n("hidden")});var l=t[0].target;o.value!==l&&!(null===(s=o.value)||void 0===s?void 0:s.contains(l))&&e.hideEvent.includes(t[1])&&(i.value=!1,a(),(0,r.dY)(function(){n("hidden")}))}}}}),mt=(0,a.A)(pt,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-overlay");return(0,r.uX)(),(0,r.CE)("div",{ref:"el",class:(0,r.C4)(["fixed top-0 bottom-0 right-0 z-40 w-4/5 h-full transition-transform duration-300 ease-in-out bg-white focus:outline-hidden dark:bg-dark-850",e.isOpen?"translate-x-0 shadow-2xl":"translate-x-full"]),tabindex:"-1",onKeyup:t[0]||(t[0]=(0,r.jR)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.hide&&e.hide.apply(e,t)},["esc"]))},[(0,r.RG)(e.$slots,"default"),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.k6)(function(){return[(0,r.bF)(a,{"is-open":e.isOpen,onSwipeLeft:e.hide,onSwipeRight:e.hide,onClick:e.hide},null,8,["is-open","onSwipeLeft","onSwipeRight","onClick"])]}),_:1}))],34)}]]),vt=mt;var gt=["aria-expanded"];var bt=n(4365);const yt=(0,r.pM)({name:"DocDropdown",props:{buttonClass:{type:String,default:""},align:{type:String,default:"left"},menuWidth:{type:String,default:"12rem"}},setup:function(e,t){var n=t.emit,o=(0,r.KR)(),i=(0,r.KR)(!1),s=(0,r.KR)(!1);return(0,r.wB)(i,function(){var e=i.value?"open":"close";n(e)}),(0,bt.m)(function(e){var t,n=e.target;o.value===n||(null===(t=o.value)||void 0===t?void 0:t.contains(n))||(i.value=!1)}),{isOpen:i,isFocused:s,onButtonClick:function(){i.value=!i.value},dropdown:o,hide:function(){i.value=!1}}}}),wt=(0,a.A)(yt,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",{ref:"dropdown",class:"relative",onKeydown:t[4]||(t[4]=(0,r.jR)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.hide&&e.hide.apply(e,t)},["esc"]))},[(0,r.Lk)("div",{class:(0,r.C4)(e.buttonClass),role:"button","aria-haspopup":"true","aria-expanded":e.isOpen,onFocus:t[0]||(t[0]=function(t){return e.isFocused=!0}),onBlur:t[1]||(t[1]=function(t){return e.isFocused=!1}),onClick:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onButtonClick&&e.onButtonClick.apply(e,t)})},[(0,r.RG)(e.$slots,"button-content",{isOpen:e.isOpen,isFocused:e.isFocused})],42,gt),(0,r.bF)(r.eB,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"-translate-y-2 opacity-30","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-75 ease-linear","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"-translate-y-2 opacity-0"},{default:(0,r.k6)(function(){return[(0,r.bo)((0,r.Lk)("div",{class:(0,r.C4)(["absolute z-30 py-2 mt-2 bg-base-bg border border-base-border rounded-lg shadow-lg","right"===e.align?"right-0":"left-0"]),style:(0,r.Tr)({"min-width":e.menuWidth}),onClick:t[3]||(t[3]=(0,r.D$)(function(){},["stop"]))},[(0,r.RG)(e.$slots,"default")],6),[[r.aG,e.isOpen]])]}),_:3})],544)}]]),St=wt;var kt=["innerHTML"];const xt=(0,r.pM)({name:"DocEmoji",props:{emoji:{type:String,required:!0}},setup:function(e){return{emojiHtml:(0,r.EW)(function(){return"&#x".concat(e.emoji.replace(/-/g,"&#x"))})}}}),Et=(0,a.A)(xt,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("span",{class:"docs-emoji",innerHTML:e.emojiHtml},null,8,kt)}]]);var Ct={class:"flex justify-between px-5 py-3 -mt-1 border-b border-base-border"},_t={class:"flex text-sm text-base-text"},At={key:0,class:"flex flex-col items-center py-6"},Tt={class:"text-sm text-base-text-muted"},Lt={key:1,class:"mt-2"},Rt=["href","onClick"],Mt={class:"flex"},It=["textContent"],Ot={class:"invisible ml-5 text-xs text-base-text-muted group-hover:visible"};function Dt(){var e=(0,r.KR)(null);return(0,r.sV)(function(){e.value=window.__DOCS__}),{pageData:e}}var Pt=n(6684),Nt=n(4501),Ft=function(){return Ft=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ft.apply(this,arguments)};const Wt=(0,r.pM)({name:"DocHistory",components:{DocDropdown:St},setup:function(){var e=(0,r.KR)(),t=O().maxHistoryItems,n=(0,r.KR)([]),o=O().resources.History_Title_Label,i=O().resources.History_ClearLink_Label,s=O().resources.History_NoHistory_Label,a=Dt().pageData,l=(0,Pt.r)().route,c=(0,Nt.CB)();function u(){var e=a.value;if(e){var r=(0,Nt.Wg)(l.value.path,e),o={title:e.title,path:r,timestamp:Date.now(),icon:"doc-icon-".concat(e.icon)};!function(e){var t=n.value.findIndex(function(t){return t.path===e.path});t>-1&&n.value.splice(t,1)}(o),n.value.unshift(o),n.value.length>t&&n.value.pop();var i={version:1,items:n.value};(0,d.ni)(O().base,localStorage,"doc_history",i)}}function h(){var e=(0,d.$E)(O().base,localStorage,"doc_history");null==e||("version"in e?n.value=e.items:(!function(e){if(e.length){var t=a.value;if(t)for(var n=0,r=e;n<r.length;n++){var o=r[n];o.path=(0,Nt.Wg)(o.path,t)}}}(e),n.value=e))}function p(e){return e&&"/"!==e?c+e:(0,Nt.Ec)(c)}return(0,r.sV)(function(){h(),u()}),{dropdown:e,history:n,clearHistory:function(){n.value=[],(0,d.ni)(O().base,localStorage,"doc_history",[])},setTimeVisited:function(){n.value=n.value.map(function(e){return Ft(Ft({},e),{timeAgo:(0,d.fF)(e.timestamp)})})},onHistoryItemClick:function(t,n){(0,d.VL)(n)||(n.preventDefault(),(0,f.YR)(p(t)),e.value.hide())},getFullPath:p,titleLabel:o,clearButtonLabel:i,noHistoryLabel:s}}}),Bt=(0,a.A)(Wt,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-history"),l=(0,r.g2)("doc-icon-button"),c=(0,r.g2)("doc-icon"),u=(0,r.g2)("doc-dropdown");return(0,r.uX)(),(0,r.Wv)(u,{ref:"dropdown",style:{"margin-right":"-0.625rem"},align:"right","menu-width":"18rem",onOpen:e.setTimeVisited},{"button-content":(0,r.k6)(function(){var t;return[(0,r.bF)(l,{id:"retype-history-button",class:(0,r.C4)([{"bg-base-item-bg-hover":null===(t=e.dropdown)||void 0===t?void 0:t.isOpen},"w-10 h-10 -mb-0.5"]),"icon-size":"22"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1},8,["class"])]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",Ct,[(0,r.Lk)("div",_t,[(0,r.bF)(c,{width:"15",height:"15",class:"mr-3 mt-0.75"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1}),(0,r.Lk)("span",null,(0,r.v_)(e.titleLabel),1)]),(0,r.Lk)("button",{class:"text-xs text-body-link focus:outline-hidden hover:text-body-link-hover",onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.clearHistory&&e.clearHistory.apply(e,t)})},(0,r.v_)(e.clearButtonLabel),1)]),e.history.length?((0,r.uX)(),(0,r.CE)("ul",Lt,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.history,function(t){return(0,r.uX)(),(0,r.CE)("li",{key:t.timestamp},[(0,r.Lk)("a",{class:"flex justify-between px-5 py-1.5 text-sm whitespace-nowrap group hover:bg-base-item-bg-hover",href:e.getFullPath(t.path),onClick:function(n){return e.onHistoryItemClick(t.path,n)}},[(0,r.Lk)("span",Mt,[(0,r.bF)(c,{class:"mr-3 mt-0.75",width:"15",height:"15"},{default:(0,r.k6)(function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(t.icon)))]}),_:2},1024),(0,r.Lk)("span",{textContent:(0,r.v_)(t.title)},null,8,It)]),(0,r.Lk)("span",Ot,(0,r.v_)(t.timeAgo),1)],8,Rt)])}),128))])):((0,r.uX)(),(0,r.CE)("div",At,[t[1]||(t[1]=(0,r.Lk)("svg",{class:"mb-2",xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60"},[(0,r.Lk)("circle",{cx:"30",cy:"30",r:"30",fill:"#e1edff"}),(0,r.Lk)("path",{d:"M36.5 20.5h-2v-1c0-.55-.45-1-1-1s-1 .45-1 1v1h-6v-1c0-.55-.45-1-1-1s-1 .45-1 1v1h-2c-1.65 0-3 1.35-3 3v14c0 1.65 1.35 3 3 3h14c1.65 0 3-1.35 3-3v-14c0-1.65-1.35-3-3-3zm-14 2h2v1c0 .55.45 1 1 1s1-.45 1-1v-1h6v1c0 .55.45 1 1 1s1-.45 1-1v-1h2c.55 0 1 .45 1 1v3h-16v-3c0-.55.45-1 1-1zm14 16h-14c-.55 0-1-.45-1-1v-9h16v9c0 .55-.45 1-1 1z",fill:"#8dbbff"})],-1)),(0,r.Lk)("div",Tt,(0,r.v_)(e.noHistoryLabel),1)]))]}),_:1},8,["onOpen"])}]]),Vt=Bt;var Ht=["width","height"],qt=["fill"];const jt=(0,r.pM)({name:"DocIcon",props:{width:{type:[Number,String],default:16},height:{type:[Number,String],default:16},iconColor:{type:String,default:"currentColor"}}}),zt=(0,a.A)(jt,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"mb-px",width:e.width,height:e.height,viewBox:"0 0 24 24",role:"presentation"},[(0,r.Lk)("g",{fill:e.iconColor},[(0,r.RG)(e.$slots,"default")],8,qt)],8,Ht)}]]);const $t=(0,r.pM)({name:"DocIconButton",props:{iconSize:{type:[Number,String],default:16},rounded:{type:Boolean,default:!0}},setup:function(){var e=(0,r.KR)();return{button:e,onClick:function(){var t;null===(t=e.value)||void 0===t||t.blur()}}}}),Xt=(0,a.A)($t,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon");return(0,r.uX)(),(0,r.CE)("button",{ref:"button",class:(0,r.C4)(["flex items-center justify-center shrink-0 overflow-hidden transition-colors duration-200 ease-in text-base-item-text bg-base-item-bg hover:bg-base-item-bg-active",e.rounded?"rounded-full":"rounded"]),onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onClick&&e.onClick.apply(e,t)})},[(0,r.bF)(a,{class:"shrink-0",style:{"margin-bottom":"0"},width:e.iconSize,height:e.iconSize},{default:(0,r.k6)(function(){return[(0,r.RG)(e.$slots,"default")]}),_:3},8,["width","height"])],2)}]]),Kt=Xt;const Ut=(0,r.pM)({name:"LoadingSpinner",props:{size:{type:Number,default:20}},setup:function(e){return{styles:(0,r.EW)(function(){return{width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),borderWidth:"".concat(Math.round(e.size/8),"px")}})}}}),Gt=(0,a.A)(Ut,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",{class:"spinner inline-block rounded-full border-gray-400 dark:border-dark-450 border-solid animate-spin",style:(0,r.Tr)(e.styles)},null,4)}],["__scopeId","data-v-79806448"]]);var Qt=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Yt={ref:"memberRef",class:"relative pluggable"},Jt={class:"relative z-10 px-5 pb-5"},Zt={class:"absolute inset-0 transition-all duration-200 ease-linear z-5",style:{margin:"-1px"}};var en=Symbol("DocsGroupId"),tn=Symbol("DocsOverloadId");function nn(e){var t=(0,h.Pj)().store,n=(0,r.WQ)(en),o=(0,r.EW)(function(){return Object.values(t.state.memberGroups[n]).filter(function(n){return function(e,t,n){var r=e.overloadId===n,o=e.access.split(",").map(function(e){return e.trim()}).every(function(e){var n;return null===(n=t.state.access)||void 0===n?void 0:n.includes(e)}),i=!e.isInherited||e.isInherited===t.state.inherited;return r&&o&&i}(n,t,e)})});return{members:o}}var rn={class:"flex justify-between h-16 px-5"},on={class:"flex items-center truncate"},sn={ref:"memberName",class:"flex items-center group"},an={class:"font-mono text-sm truncate whitespace-nowrap dark:text-dark-350"},ln={key:0,class:"ml-2"},cn={key:1,class:"ml-2 text-gray-600 dark:text-dark-350"},un={key:2},dn={key:3,class:"ml-1"},hn={key:0,class:"flex items-center h-6 px-2 ml-3 text-xs leading-none whitespace-nowrap border border-base-border rounded"},fn={class:"flex"};var pn={class:"z-10 inline-flex bg-white border border-base-border rounded shadow-xs dark:bg-dark-650",style:{padding:"2px"}};const mn=(0,r.pM)({name:"DocMemberToolbar",components:{DocCopyButton:Ze},props:{id:String,name:String},setup:function(e){return{buttons:(0,r.EW)(function(){var t=window.location,n=t.origin,r=t.pathname,o="".concat(n).concat(r,"#").concat(e.id);return[{id:1,copyText:e.name,tooltipText:O().resources.API_CopyNameHint_Label,icon:"DocIconCopy"},{id:2,copyText:o,tooltipText:O().resources.API_CopyLinkHint_Label,icon:"DocIconLink"}]})}}}),vn=(0,a.A)(mn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon"),l=(0,r.g2)("doc-copy-button");return(0,r.uX)(),(0,r.CE)("div",pn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.buttons,function(e){return(0,r.uX)(),(0,r.Wv)(l,{key:e.id,"copy-text":e.copyText,"tooltip-text":e.tooltipText,"button-class":"w-7 h-7 hover:bg-gray-200 focus:bg-gray-300 dark:hover:bg-dark-500",onClick:t[0]||(t[0]=(0,r.D$)(function(){},["stop"]))},{default:(0,r.k6)(function(){return[(0,r.bF)(a,null,{default:(0,r.k6)(function(){return[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.icon)))]}),_:2},1024)]}),_:2},1032,["copy-text","tooltip-text"])}),128))])}]]);var gn={class:"flex items-center"};const bn=(0,r.pM)({name:"DocMemberAccessBadges",props:{access:{type:Array}},setup:function(e){return{badges:(0,r.EW)(function(){var t;return null===(t=e.access)||void 0===t?void 0:t.filter(function(e){return"public"!==e})})}}}),yn=(0,a.A)(bn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-badge");return(0,r.uX)(),(0,r.CE)("div",gn,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.badges,function(e,t){return(0,r.uX)(),(0,r.Wv)(a,{key:t,class:"ml-3",type:e},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(e),1)]}),_:2},1032,["type"])}),128))])}]]);const wn=(0,r.pM)({name:"DocMemberTitle",components:{DocMemberToolbar:vn,DocMemberAccessBadges:yn},props:{isVisible:{type:Boolean,default:!1},isIntersecting:Boolean,isWindowScrolling:Boolean,id:String,name:String,overloadId:String,type:String,params:String,returns:String,memberAccess:Array},setup:function(e){var t=(0,r.EW)(function(){return e.overloadId?nn(e.overloadId).members.value.length-1:0}),n=(0,r.EW)(function(){return e.type&&e.type.split(",").join(" | ")}),o=(0,r.EW)(function(){return e.params?"(".concat(e.params.trim(),")"):""}),i=(0,r.EW)(function(){return e.returns&&e.returns.split(",").join(" | ")}),s=function(){var e=(0,r.KR)(),t=(0,r.KR)({});return(0,r.sV)(function(){var n,r=null===(n=e.value)||void 0===n?void 0:n.querySelector("h3");setTimeout(function(){var e=r?"".concat(r.clientWidth,"px"):"0";t.value={width:e,minWidth:"3.75rem",height:"2.625rem"}},1e3)}),{memberName:e,hoverTriggerStyles:t}}();return{overloadCount:t,memberType:n,memberParams:o,memberReturnType:i,memberName:s.memberName,hoverTriggerStyles:s.hoverTriggerStyles,moreLabel:O().resources.API_MoreOverloads_Label}}}),Sn=(0,a.A)(wn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-member-toolbar"),l=(0,r.g2)("doc-member-access-badges");return(0,r.uX)(),(0,r.CE)("div",rn,[(0,r.Lk)("div",on,[(0,r.Lk)("div",sn,[(0,r.RG)(e.$slots,"default"),e.isIntersecting&&!e.isWindowScrolling?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"absolute top-0 rounded-br-full",style:(0,r.Tr)(e.hoverTriggerStyles)},[(0,r.bF)(a,{id:e.id,class:"absolute top-0 left-0 hidden -mt-5 group-hover:inline-flex",name:e.name},null,8,["id","name"])],4)):(0,r.Q3)("",!0)],512),(0,r.Lk)("div",an,[e.memberType?((0,r.uX)(),(0,r.CE)("span",ln,": "+(0,r.v_)(e.memberType),1)):(0,r.Q3)("",!0),e.memberParams?((0,r.uX)(),(0,r.CE)("span",cn,(0,r.v_)(e.memberParams),1)):(0,r.Q3)("",!0),e.memberReturnType?((0,r.uX)(),(0,r.CE)("span",un,":")):(0,r.Q3)("",!0),e.memberReturnType?((0,r.uX)(),(0,r.CE)("span",dn,(0,r.v_)(e.memberReturnType),1)):(0,r.Q3)("",!0)]),e.overloadCount?((0,r.uX)(),(0,r.CE)("div",hn," +"+(0,r.v_)(e.overloadCount)+" "+(0,r.v_)(e.moreLabel),1)):(0,r.Q3)("",!0)]),(0,r.Lk)("div",fn,[(0,r.bF)(l,{access:e.memberAccess},null,8,["access"])])])}]]);var kn={class:"mb-5"},xn={class:"max-h-60 pt-4 pb-2 -mt-3.5 mb-6 overflow-x-hidden overflow-y-auto border border-base-border rounded"},En={class:"pl-0"},Cn=["onClick"],_n={class:"font-mono text-sm truncate whitespace-nowrap"};const An=(0,r.pM)({name:"DocOverloadSelect",components:{DocMemberAccessBadges:yn},setup:function(){var e=nn((0,r.WQ)(tn)).members;return{members:e,memberLabel:function(e){var t=e.name;return t+=e.params?" (".concat(e.params,")"):" ()",t+=e.returns?": ".concat(e.returns):""},memberAccess:function(e){return e.access?e.access.split(",").map(function(e){return e.trim()}):[]},memberClasses:function(e){var t="boolean"==typeof e.overloadVisibility&&e.overloadVisibility;return{"bg-badge-primary text-base-text font-semibold dark:bg-dark-550/50":t,"hover:bg-gray-200 dark:hover:bg-dark-500/50":!t}},onMemberClick:function(t){e.value.forEach(function(e){e.overloadVisibility=e.isOpen=e.id===t.id,function(e){e.animations=!1,setTimeout(function(){e.animations=!0},100)}(e)})}}}}),Tn=(0,a.A)(An,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-member-access-badges");return(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",kn,[t[0]||(t[0]=(0,r.Lk)("span",{class:"relative z-10 px-2 mb-2 ml-2 text-sm text-gray-600 uppercase bg-white rounded dark:bg-dark-850 dark:text-dark-350"}," Overloads ",-1)),(0,r.Lk)("div",xn,[(0,r.Lk)("ul",En,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.members,function(t){return(0,r.uX)(),(0,r.CE)("li",{key:t.id,class:(0,r.C4)(["flex px-4 py-1 list-none transition-colors duration-150 ease-linear cursor-pointer",e.memberClasses(t)]),onClick:function(n){return e.onMemberClick(t)}},[(0,r.Lk)("div",_n,(0,r.v_)(e.memberLabel(t)),1),(0,r.bF)(a,{class:"ml-auto",access:e.memberAccess(t)},null,8,["access"])],10,Cn)}),128))])])],512)),[[r.aG,e.members.length>1]])}]]);var Ln={class:"mb-2 text-sm text-gray-600 dark:text-dark-350 uppercase"},Rn={class:"codeblock-wrapper"},Mn={class:"member-signature language-csharp m-0 px-5 py-4 text-dark-300 text-xs"},In={class:"member-signature language-csharp"};const On=(0,r.pM)({name:"DocMemberSignature",props:{signature:String},setup:function(){return{signatureLabel:O().resources.API_SignatureSection_Label}}}),Dn=(0,a.A)(On,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-codeblock");return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",Ln,(0,r.v_)(e.signatureLabel),1),(0,r.Lk)("div",Rn,[(0,r.bF)(a,null,{default:(0,r.k6)(function(){return[(0,r.Lk)("pre",Mn,[(0,r.Lk)("code",In,(0,r.v_)(e.signature),1)])]}),_:1})])])}]]);function Pn(e,t){var n=Object.assign({},{root:null,rootMargin:"0px",threshold:0},t),o=(0,r.KR)(),i=(0,r.KR)([]),s=(0,r.EW)(function(){return void 0!==e.value&&null!==e.value&&i.value.length>0&&i.value.every(function(e){return e.isIntersecting})}),a=function(e){i.value=e};return(0,r.sV)(function(){e.value&&(o.value=new IntersectionObserver(a,n),o.value.observe(e.value))}),(0,r.xo)(function(){var e;null===(e=o.value)||void 0===e||e.disconnect()}),{isIntersecting:s,elements:i}}function Nn(e,t,n){var o=(0,r.KR)(!1),i=(0,r.EW)(function(){return n.state.scrolledElementId}),s=(0,r.EW)(function(){return n.state.isWindowScrolling});return(0,r.wB)(s,function(t){t||e===i.value&&(o.value=!0,setTimeout(function(){o.value=!1},1e3),n.actions.updateScrolledElementId(""))},{immediate:!0}),{isHighlighted:o}}const Fn=(0,r.pM)({name:"DocMember",components:{DocAnchorTarget:l,DocCollapse:at,DocMemberTitle:Sn,DocOverloadSelect:Tn,DocMemberSignature:Dn},props:{id:{type:String,required:!0},name:{type:String,required:!0},isInherited:{type:Boolean,default:!1},access:{type:String,default:"public"},overloadId:String,type:String,params:String,returns:String,signature:String},setup:function(e){var t=(0,r.KR)(),n=(0,h.Pj)().store,o=(0,r.WQ)(en),i=(0,r.EW)(function(){return n.state.memberGroups[o][e.id].animations});!function(e,t,n){Object.keys(n).forEach(function(r){r&&e.actions.setMemberData(t,n.id,r,n[r])})}(n,o,e);var s=function(e,t,n){var o=(0,r.EW)(function(){var r,o=null===(r=n.state.memberGroups[t][e.id])||void 0===r?void 0:r.isVisible;return void 0===o||o}),i=(0,r.EW)(function(){return e.access.split(",").map(function(e){return e.trim()})}),s=(0,r.EW)(function(){var r=!e.overloadId||n.state.memberGroups[t][e.id].overloadVisibility,o=i.value.every(function(e){var t;return null===(t=n.state.access)||void 0===t?void 0:t.includes(e)}),s=!e.isInherited||e.isInherited===n.state.inherited,a=e.name.toLowerCase().includes(n.state.memberFilter.toLowerCase());return r&&o&&s&&a});return(0,r.wB)(s,function(r){n.actions.setMemberData(t,e.id,"isVisible",r)},{immediate:!0}),{isVisible:o,memberAccess:i}}(e,o,n),a=s.isVisible,l=s.memberAccess,c=function(e,t,n,o){var i=(0,r.EW)({get:function(){var r=n.state.memberGroups[t];return!(!r||!r[e])&&r[e].isOpen},set:function(r){n.actions.setMemberData(t,e,"isOpen",r)}}),s=(0,r.EW)(function(){return n.state.scrolledElementId});return(0,r.wB)(s,function(r){e===r&&n.actions.setMemberData(t,e,"isOpen",!0)}),(0,r.wB)(i,function(e){if(e){var t=o.value;t&&t.classList.contains("pluggable")&&(0,r.dY)(function(){t.dispatchEvent(new Event("onPluginReady"))})}}),{isOpen:i}}(e.id,o,n,t).isOpen;return{isOpen:c,isVisible:a,animations:i,memberAccess:l,isHighlighted:Nn(e.id,0,n).isHighlighted,memberRef:t,isIntersecting:Pn(t).isIntersecting,isWindowScrolling:(0,r.EW)(function(){return n.state.isWindowScrolling})}}}),Wn=(0,a.A)(Fn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-anchor-target"),l=(0,r.g2)("doc-member-title"),c=(0,r.g2)("doc-overload-select"),u=(0,r.g2)("doc-member-signature"),d=(0,r.g2)("doc-collapse");return(0,r.uX)(),(0,r.CE)("div",Yt,[(0,r.bF)(a,{id:e.id,class:"absolute top-5 left-0 right-0 bottom-0",style:{"z-index":"-1"}},null,8,["id"]),(0,r.bo)((0,r.bF)(d,{modelValue:e.isOpen,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.isOpen=t}),class:"relative -mt-px border dark:border-base- doc-member",animations:e.animations},{trigger:(0,r.k6)(function(){return[(0,r.bF)(l,{id:e.id,class:"relative z-10",name:e.name,"overload-id":e.overloadId,type:e.type,params:e.params,returns:e.returns,"member-access":e.memberAccess,"is-visible":e.isVisible,"is-intersecting":e.isIntersecting,"is-window-scrolling":e.isWindowScrolling},{default:(0,r.k6)(function(){return[(0,r.RG)(e.$slots,"name")]}),_:3},8,["id","name","overload-id","type","params","returns","member-access","is-visible","is-intersecting","is-window-scrolling"])]}),footer:(0,r.k6)(function(){return[e.isIntersecting?((0,r.uX)(),(0,r.Wv)(r.eB,{key:0,"enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,r.k6)(function(){return[(0,r.bo)((0,r.Lk)("div",Zt,Qt([],t[2]||(t[2]=[(0,r.Lk)("div",{class:"absolute inset-0 bg-badge-primary/25 border border-badge-primary-border dark:bg-dark-550 dark:border-dark-600"},null,-1)]),!0),512),[[r.aG,e.isHighlighted]])]}),_:1})):(0,r.Q3)("",!0)]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",Jt,[e.isOpen?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[e.overloadId?((0,r.uX)(),(0,r.Wv)(c,{key:0})):(0,r.Q3)("",!0),(0,r.RG)(e.$slots,"default"),t[0]||((0,r.Vq)(-1,!0),(t[0]=e.signature?((0,r.uX)(),(0,r.Wv)(u,{key:1,class:"mb-5",signature:e.signature},null,8,["signature"])):(0,r.Q3)("",!0)).cacheIndex=0,(0,r.Vq)(1),t[0]),(0,r.RG)(e.$slots,"parameters")],64)):(0,r.Q3)("",!0)])]}),_:3},8,["modelValue","animations"]),[[r.aG,e.isVisible]])],512)}]]);var Bn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Vn={class:"mb-6 doc-member-group"},Hn={key:0,class:"flex items-center justify-between"},qn={class:"group"};const jn=(0,r.pM)({name:"MemberGroup",props:{id:{type:String,required:!0}},setup:function(e){(0,r.Gt)(en,e.id);var t=(0,h.Pj)().store;return{visibleMemberCount:(0,r.EW)(function(){return t.getters.getVisibleGroupMembers(e.id).length})}}}),zn=(0,a.A)(jn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-anchor-trigger"),l=(0,r.g2)("doc-anchor-target");return(0,r.uX)(),(0,r.CE)("div",Vn,[e.visibleMemberCount>0?((0,r.uX)(),(0,r.CE)("div",Hn,[(0,r.bF)(l,{id:e.id},{default:(0,r.k6)(function(){return[(0,r.Lk)("h2",qn,[(0,r.bF)(a,{class:"float-left mt-2 -ml-6 text-lg font-normal text-base-500 opacity-0 group-hover:opacity-100",to:"#".concat(e.id)},{default:(0,r.k6)(function(){return Bn([],t[0]||(t[0]=[(0,r.eW)(" # ",-1)]),!0)}),_:1},8,["to"]),(0,r.RG)(e.$slots,"title")])]}),_:3},8,["id"])])):(0,r.Q3)("",!0),(0,r.RG)(e.$slots,"default")])}]]);const $n=(0,r.pM)({name:"DocOverloadGroup",props:{overloadId:{type:String,required:!0}},setup:function(e){(0,r.Gt)(tn,e.overloadId);var t=(0,Pt.r)().route,n=nn(e.overloadId).members;(0,r.nT)(function(){n.value.forEach(function(e,r){e.overloadVisibility=0===r,t.value.hash==="#".concat(e.id)&&0!==r&&(n.value[0].overloadVisibility=!1,e.overloadVisibility=!0)})})}}),Xn=(0,a.A)($n,[["render",function(e,t,n,o,i,s){return(0,r.RG)(e.$slots,"default")}]]);var Kn=["href"],Un={class:"docs-panel-content px-5 pb-5"};const Gn=(0,r.pM)({name:"DocPanel",props:{id:{type:String,required:!0},collapsed:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.KR)(!e.collapsed),n=(0,Pt.r)().route;function o(){n.value.hash&&n.value.hash==="#".concat(e.id)&&(t.value=!0)}return o(),(0,r.wB)(n,function(){o()}),{isExpanded:t,onClick:function(e){(0,d.VL)(e)?e.stopPropagation():e.preventDefault()}}}}),Qn=(0,a.A)(Gn,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-chevron-right"),l=(0,r.g2)("doc-icon"),c=(0,r.g2)("doc-anchor-target"),u=(0,r.g2)("doc-collapse");return(0,r.uX)(),(0,r.Wv)(u,{modelValue:e.isExpanded,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.isExpanded=t}),"trigger-class":"relative py-4 pl-5 font-medium text-gray-900 pr-14 dark:text-white",class:"mb-6 border rounded-md dark:border-base-border"},{trigger:(0,r.k6)(function(){return[(0,r.bF)(c,{id:e.id},{default:(0,r.k6)(function(){return[(0,r.Lk)("div",null,[(0,r.RG)(e.$slots,"title")]),(0,r.Lk)("div",{class:(0,r.C4)(["absolute inline-flex items-center justify-center text-base-500 transition duration-200 ease-out origin-center rounded-full w-7 h-7 right-3 top-4 hover:bg-gray-200 dark:hover:bg-dark-500 z-5",{"rotate-90":e.isExpanded}])},[(0,r.bF)(l,{width:"22",height:"22"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1})],2)]}),_:3},8,["id"]),(0,r.Lk)("a",{href:"#".concat(e.id),class:"absolute inset-0",onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onClick&&e.onClick.apply(e,t)})},null,8,Kn)]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",Un,[(0,r.RG)(e.$slots,"default")])]}),_:3},8,["modelValue"])}]]),Yn=Qn,Jn=(0,r.pM)({name:"DocPanels",setup:function(e,t){var n,o=t.slots,i=(null===(n=o.default)||void 0===n?void 0:n.call(o))||[],s=(0,r.EW)(function(){return i.map(function(e){var t,n,o;return(0,r.h)(Yn,{id:null===(t=e.props)||void 0===t?void 0:t.id,collapsed:null===(n=e.props)||void 0===n?void 0:n.collapsed,class:null===(o=e.props)||void 0===o?void 0:o.class},{title:function(){var t;return null===(t=e.children)||void 0===t?void 0:t.title()},default:function(){var t,n;return null===(n=null===(t=e.children)||void 0===t?void 0:t.default)||void 0===n?void 0:n.call(t)}})})});return function(){return(0,r.h)("div",{class:"docs-panels mb-6 border rounded-md dark:border-base-border"},s.value)}}});var Zn={class:"relative pl-4 mb-5"},er={class:"relative mb-1"},tr={class:"font-semibold"},nr={key:0},rr={key:0,class:"mx-1 text-sm"},or={key:1,class:"text-sm text-gray-600"},ir={key:0,class:"text-sm"},sr={class:"font-medium text-gray-900"};const ar=(0,r.pM)({name:"DocParamater",props:{name:{type:String,required:!0},type:{type:String,default:""},optional:{type:Boolean,default:!1},defaultValue:{type:String,default:""}},setup:function(){return{optionalLabel:O().resources.API_OptionalParameter_Label,defaultValueLabel:O().resources.API_DefaultParameterValue_Label}}}),lr=(0,a.A)(ar,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-badge");return(0,r.uX)(),(0,r.CE)("div",Zn,[(0,r.Lk)("div",er,[t[1]||(t[1]=(0,r.Lk)("span",{class:"absolute -ml-4"},"⚬",-1)),(0,r.Lk)("span",tr,(0,r.v_)(e.name),1),e.type?((0,r.uX)(),(0,r.CE)("span",nr,[t[0]||(t[0]=(0,r.Lk)("span",{class:"font-semibold"},":",-1)),(0,r.bF)(a,{class:"ml-1"},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(e.type),1)]}),_:1}),e.optional?((0,r.uX)(),(0,r.CE)("span",rr,"•")):(0,r.Q3)("",!0),e.optional?((0,r.uX)(),(0,r.CE)("span",or,(0,r.v_)(e.optionalLabel),1)):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0)]),(0,r.RG)(e.$slots,"default"),e.defaultValue?((0,r.uX)(),(0,r.CE)("div",ir,[(0,r.Lk)("div",null,[(0,r.Lk)("span",sr,(0,r.v_)(e.defaultValueLabel)+":",1),(0,r.bF)(a,{class:"ml-1"},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(e.defaultValue),1)]}),_:1})])])):(0,r.Q3)("",!0)])}]]);var cr={class:"p-5 bg-gray-100 rounded parameters dark:bg-dark-800"},ur={class:"mb-4 text-sm text-gray-600 uppercase dark:text-dark-350"};const dr=(0,r.pM)({name:"DocParameters",setup:function(){return{parametersLabel:O().resources.API_ParameterSection_Label}}}),hr=(0,a.A)(dr,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("div",cr,[(0,r.Lk)("div",ur,(0,r.v_)(e.parametersLabel),1),(0,r.RG)(e.$slots,"default")])}]]);var fr=["aria-label"],pr={class:"truncate"},mr={class:"ml-auto flex items-center px-1.5 py-0.5 bg-search-hint-bg border border-search-hint-border rounded-lg text-2xs text-search-hint-text"},vr={key:0,class:"fixed inset-0 z-50 flex items-start justify-center pt-[15vh]",role:"dialog","aria-modal":"true"},gr={class:"bg-search-modal-bg rounded-xl shadow-lg border border-search-modal-border overflow-hidden p-2"},br={key:0,class:"mt-2 bg-search-results-bg rounded-xl shadow-xl border border-search-modal-border overflow-hidden p-2"},yr={key:0,class:"flex items-center gap-3 px-4 py-2 text-xs text-search-footer-text border-t border-search-modal-border"},wr={class:"flex items-center gap-1"},Sr={class:"flex items-center gap-1"},kr={class:"flex items-center gap-1"};var xr=n(3772);function Er(){return(0,r.EW)(function(){return"undefined"!=typeof navigator&&/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)})}var Cr={id:"retype-search",class:"relative"},_r={class:"absolute flex items-center justify-center h-full pl-3 text-search-placeholder"},Ar=["aria-label","placeholder"],Tr={key:0,class:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none"},Lr={class:"flex items-center px-1.5 py-0.5 bg-search-hint-bg border border-search-hint-border rounded-lg text-2xs text-search-hint-text"};function Rr(e){var t=(0,r.KR)(!1);return{currentPlaceholder:(0,r.EW)(function(){return t.value?"":e}),onFocus:function(){t.value=!0},onBlur:function(){t.value=!1},isFocused:t}}const Mr=(0,r.pM)({name:"SearchInput",emits:["select"],setup:function(e,t){var n=t.emit,o=(0,r.WQ)(xr.Rc),i=(0,h.Pj)().store,s=Er(),a=(0,r.EW)({get:function(){return i.state.searchQuery},set:function(e){return i.actions.updateSearchQuery(e)}}),l=Rr(O().search.placeholder),c=l.currentPlaceholder,u=l.onFocus,d=l.onBlur,f=(0,r.EW)(function(){return s.value?"⌘":"Ctrl "}),p=(0,r.EW)(function(){var e;return(null===(e=O().search.hotkeys[0])||void 0===e?void 0:e.toUpperCase())||"K"});var m=(0,r.KR)();var v=O().resources.Search_Input_Placeholder;return{input:m,focus:function(){var e;null===(e=m.value)||void 0===e||e.focus()},config:O(),query:a,search:o,onKeydown:function(e){null==o||o.onKeydown(e),"Enter"===e.code&&n("select")},onFocus:function(){u(),o&&(o.isFocused=!0,o.results.length&&(o.isOpen=!0))},onBlur:function(){d()},currentPlaceholder:c,searchLabel:v,keyboardShortcutSymbol:f,keyboardShortcutKey:p}}}),Ir=(0,a.A)(Mr,[["render",function(e,t,n,o,i,s){var a,l=(0,r.g2)("doc-icon-search"),c=(0,r.g2)("doc-icon"),u=(0,r.g2)("doc-icon-x"),d=(0,r.g2)("doc-icon-button");return(0,r.uX)(),(0,r.CE)("div",Cr,[(0,r.Lk)("div",_r,[(0,r.bF)(c,null,{default:(0,r.k6)(function(){return[(0,r.bF)(l)]}),_:1})]),(0,r.bo)((0,r.Lk)("input",{id:"retype-search-input",ref:"input","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.query=t}),class:"w-full h-10 pl-8 leading-10 transition-colors duration-200 ease-linear bg-search-bg border border-search-border hover:border-search-border-hover rounded-lg shadow-none md:text-sm focus:outline-hidden focus:border-search-border-focus placeholder-search-placeholder text-search-text",style:{padding:"0.625rem 0.75rem 0.625rem 2rem"},type:"text",autocomplete:"off",spellcheck:"false","aria-label":e.searchLabel,placeholder:e.currentPlaceholder,onFocus:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onFocus&&e.onFocus.apply(e,t)}),onBlur:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onBlur&&e.onBlur.apply(e,t)}),onKeydown:t[3]||(t[3]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onKeydown&&e.onKeydown.apply(e,t)})},null,40,Ar),[[r.Jo,e.query]]),e.query?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.CE)("div",Tr,[(0,r.Lk)("div",Lr,[(0,r.Lk)("span",null,(0,r.v_)(e.keyboardShortcutSymbol)+(0,r.v_)(e.keyboardShortcutKey),1)])])),e.query?((0,r.uX)(),(0,r.Wv)(d,{key:1,ref:"closeBtn",class:"absolute top-0 right-0 w-6 h-6 mt-2 mr-2 hover:bg-base-item-bg-hover-active",tabindex:"-1",onClick:(0,r.D$)(null===(a=e.search)||void 0===a?void 0:a.clear,["stop"])},{default:(0,r.k6)(function(){return[(0,r.bF)(u)]}),_:1},8,["onClick"])):(0,r.Q3)("",!0)])}]]),Or=Ir;var Dr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Pr={class:"px-4 py-2 text-xs font-medium text-search-result-count"},Nr=["href","onClick"],Fr=["innerHTML"],Wr=["href","data-result-index","onClick"],Br={class:"flex shrink-0 items-center justify-center w-5 h-5 mt-0.5 text-search-result-icon"},Vr={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Hr={key:1,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor"},qr={key:2,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor"},jr={class:"w-full min-w-0"},zr=["innerHTML"],$r=["innerHTML"],Xr={key:1,class:"flex flex-col items-center py-8 px-5"},Kr={class:"text-sm text-search-no-results-text"};const Ur=(0,r.pM)({name:"DocSearchResults",props:{isMobile:Boolean},emits:["select"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(),i=(0,r.WQ)(xr.Rc),s=(0,Nt.CB)();var a=(0,r.EW)(function(){for(var e=[],t=0,n=0,r=i.results;n<r.length;n++){var o=r[n],s=o.path.split("#")[0],a=e[e.length-1];a&&a.pagePath===s?a.items.push(o):e.push({pagePath:s,pageLabel:o.page,items:[o],startIndex:t}),t++}return e}),l=O().search.noResultsFoundMsg,c=O().resources.Search_TopResults_Label||"Top {0} results",u=O().resources.Search_Result_Singular_Label||"{0} result",h=O().resources.Search_Result_Plural_Label||"{0} results",f=(0,r.EW)(function(){var e=i.results.length;return e>=O().search.maxResults?c.replace("{0}",e.toString()):1===e?u.replace("{0}",e.toString()):h.replace("{0}",e.toString())});return(0,r.wB)(function(){return o.value},function(e){e&&new R.A(e)}),{rootEl:o,searchApi:i,onResultClick:function(e,t){(0,d.VL)(t)||(t.preventDefault(),i.navigateToResult(e.path,s),n("select"))},getFullPath:function(e){return i.getResultFullPath(e,s)},noResultsText:l,resultCountLabel:f,groupedResults:a}}}),Gr=(0,a.A)(Ur,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.Wv)(r.eB,{"enter-active-class":"transition duration-300 ease-out overflow-hidden","enter-from-class":"-translate-y-2 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-100 ease-in overflow-hidden","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"-translate-y-2 opacity-0"},{default:(0,r.k6)(function(){return[e.searchApi.isFocused&&e.searchApi.isOpen?((0,r.uX)(),(0,r.CE)("div",{key:0,ref:"rootEl",class:(0,r.C4)(["z-30 w-full overflow-y-auto rounded bg-search-modal-bg",e.isMobile?"dark:bg-dark-850":""])},[(0,r.Lk)("ul",null,[e.searchApi.results.length?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.Lk)("li",Pr,(0,r.v_)(e.resultCountLabel),1),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.groupedResults,function(n,o){return(0,r.uX)(),(0,r.CE)(r.FK,{key:n.pagePath},[(0,r.Lk)("li",{class:(0,r.C4)(["px-4 pt-3 pb-1 text-xs text-search-result-breadcrumb break-words",o>0?"border-t border-search-result-border":""])},[(0,r.Lk)("a",{href:e.getFullPath(n.pagePath),class:"hover:text-search-result-text transition-colors duration-150",onClick:(0,r.D$)(function(t){return e.searchApi.navigateToResult(n.pagePath)},["prevent"])},[(0,r.Lk)("span",{innerHTML:n.pageLabel},null,8,Fr)],8,Nr)],2),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(n.items,function(o,i){return(0,r.uX)(),(0,r.CE)("li",{key:o.id,class:(0,r.C4)(i<n.items.length-1?"border-b border-search-result-border":"")},[(0,r.Lk)("a",{class:(0,r.C4)(["flex items-start gap-3 py-3 px-4 group hover:bg-search-result-hover focus:outline-hidden overflow-x-clip transition-colors duration-150",e.searchApi.focusIndex>=0&&n.startIndex+i===e.searchApi.focusIndex?"bg-search-result-hover":""]),href:e.getFullPath(o.path),"data-result-index":n.startIndex+i,tabindex:"-1",onClick:function(t){return e.onResultClick(o,t)}},[(0,r.Lk)("span",Br,[o.isCode?((0,r.uX)(),(0,r.CE)("svg",Vr,Dr([],t[0]||(t[0]=[(0,r.Lk)("polyline",{points:"16 18 22 12 16 6"},null,-1),(0,r.Lk)("polyline",{points:"8 6 2 12 8 18"},null,-1)]),!0))):o.isBlog?((0,r.uX)(),(0,r.CE)("svg",Hr,Dr([],t[1]||(t[1]=[(0,r.Lk)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 7h10v2H7V7zm0 4h10v2H7v-2zm0 4h7v2H7v-2z"},null,-1)]),!0))):((0,r.uX)(),(0,r.CE)("svg",qr,Dr([],t[2]||(t[2]=[(0,r.Lk)("path",{d:"M20.92 8.62a.875.875 0 00-.22-.32l-7-7A.995.995 0 0013 1H6C4.35 1 3 2.35 3 4v16c0 1.65 1.35 3 3 3h12c1.65 0 3-1.35 3-3V9c0-.13-.03-.26-.08-.38zM14 4.41L17.59 8H14V4.41zM18 21H6c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h6v6c0 .55.45 1 1 1h6v10c0 .55-.45 1-1 1z"},null,-1)]),!0)))]),(0,r.Lk)("div",jr,[o.heading?((0,r.uX)(),(0,r.CE)("div",{key:0,class:"mb-1 font-semibold text-search-result-heading truncate",innerHTML:o.heading},null,8,zr)):(0,r.Q3)("",!0),(0,r.Lk)("div",{class:(0,r.C4)(["text-sm text-search-result-text",o.isCode?"font-mono bg-search-result-code-bg rounded px-2 py-1":""]),innerHTML:o.text},null,10,$r)])],10,Wr)],2)}),128))],64)}),128))],64)):((0,r.uX)(),(0,r.CE)("li",Xr,[t[3]||(t[3]=(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-8 h-8 mb-3 text-search-no-results-icon",viewBox:"0 0 24 24",fill:"currentColor"},[(0,r.Lk)("path",{d:"M21.71 20.29l-3.68-3.68A8.963 8.963 0 0020 11c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9c2.12 0 4.07-.74 5.61-1.97l3.68 3.68c.2.19.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.03 0-1.42zM4 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 1.92-.78 3.66-2.04 4.93-.01.01-.02.01-.02.01-.01.01-.01.01-.01.02A6.98 6.98 0 0111 18c-3.86 0-7-3.14-7-7z"})],-1)),(0,r.Lk)("span",Kr,(0,r.v_)(e.noResultsText),1)]))])],2)):(0,r.Q3)("",!0)]}),_:1})}]]);var Qr=r.Im;const Yr=(0,r.pM)({name:"DocSearchDesktop",components:{Teleport:Qr,DocSearchInput:Or,DocSearchResults:Gr},setup:function(){var e=(0,r.KR)(),t=(0,r.KR)(),n=(0,r.KR)(!1),o=Er(),i=(0,xr.SQ)(e);(0,r.Gt)(xr.Rc,i);var s=ht(),a=s.enableBodyScroll,l=s.disableBodyScroll,c=O().search.placeholder||O().resources.Search_Input_Placeholder||"Search",u=O().resources.Search_Input_Placeholder||"Search",d=O().resources.Search_Navigate_Label||"navigate",h=O().resources.Search_Open_Label||"open",f=O().resources.Search_Close_Label||"close",p=(0,r.EW)(function(){return o.value?"⌘":"Ctrl+"});function m(){n.value=!0,l(),(0,r.dY)(function(){var e,n;i.isFocused=!0,null===(e=t.value)||void 0===e||e.focus(),null===(n=i.input)||void 0===n||n.select()})}function v(){var e;n.value=!1,i.isFocused=!1,i.isOpen=!1,i.clear(),null===(e=i.input)||void 0===e||e.blur(),a()}return(0,g._q)(window,"keydown",function(e){var t=e;if((t.metaKey||t.ctrlKey)&&"k"===t.key.toLowerCase())return t.preventDefault(),void(n.value?v():m());!n.value&&t.target===document.body&&O().search.hotkeys.includes(t.key)&&(t.preventDefault(),m()),n.value&&"Escape"===t.key&&(t.preventDefault(),v())}),{Teleport:Qr,rootEl:e,searchInput:t,searchApi:i,isModalOpen:n,searchPlaceholder:c,searchLabel:u,navigateLabel:d,openLabel:h,closeLabel:f,keyboardShortcutSymbol:p,openModal:m,closeModal:v,onTabKey:function(e){e.preventDefault()}}}}),Jr=(0,a.A)(Yr,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-search-input"),l=(0,r.g2)("doc-search-results");return(0,r.uX)(),(0,r.CE)(r.FK,null,[(0,r.Lk)("button",{class:"hidden lg:flex items-center gap-2 h-10 px-3 w-52 text-sm rounded-lg border transition-colors duration-200 ease-linear bg-search-bg border-search-border hover:border-search-border-hover text-search-placeholder cursor-pointer","aria-label":e.searchLabel,onClick:t[0]||(t[0]=(0,r.D$)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.openModal&&e.openModal.apply(e,t)},["stop"]))},[t[4]||(t[4]=(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4 shrink-0",viewBox:"0 0 24 24",fill:"currentColor"},[(0,r.Lk)("path",{d:"M21.71 20.29l-3.68-3.68A8.963 8.963 0 0020 11c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9c2.12 0 4.07-.74 5.61-1.97l3.68 3.68c.2.19.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.03 0-1.42zM4 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 1.92-.78 3.66-2.04 4.93-.01.01-.02.01-.02.01-.01.01-.01.01-.01.02A6.98 6.98 0 0111 18c-3.86 0-7-3.14-7-7z"})],-1)),(0,r.Lk)("span",pr,(0,r.v_)(e.searchPlaceholder),1),(0,r.Lk)("span",mr,(0,r.v_)(e.keyboardShortcutSymbol)+"K ",1)],8,fr),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"body"},{default:(0,r.k6)(function(){return[(0,r.bF)(r.eB,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,r.k6)(function(){return[e.isModalOpen?((0,r.uX)(),(0,r.CE)("div",vr,[(0,r.Lk)("div",{class:"absolute inset-0",style:{background:"var(--search-backdrop)"},onMousedown:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.closeModal&&e.closeModal.apply(e,t)})},null,32),(0,r.bF)(r.eB,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0 scale-95 -translate-y-2","enter-to-class":"opacity-100 scale-100 translate-y-0","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100 scale-100 translate-y-0","leave-to-class":"opacity-0 scale-95 -translate-y-2"},{default:(0,r.k6)(function(){return[e.isModalOpen?((0,r.uX)(),(0,r.CE)("div",{key:0,ref:"rootEl",class:"relative z-10 w-full max-w-2xl mx-4 flex flex-col",onClick:t[2]||(t[2]=(0,r.D$)(function(){},["stop"])),onKeydown:t[3]||(t[3]=(0,r.jR)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onTabKey&&e.onTabKey.apply(e,t)},["tab"]))},[(0,r.Lk)("div",gr,[(0,r.bF)(a,{ref:"searchInput",class:"w-full",onSelect:e.closeModal},null,8,["onSelect"])]),e.searchApi.isOpen?((0,r.uX)(),(0,r.CE)("div",br,[(0,r.bF)(l,{class:"max-h-[50vh] overflow-y-auto",onSelect:e.closeModal},null,8,["onSelect"]),e.searchApi.results.length?((0,r.uX)(),(0,r.CE)("div",yr,[(0,r.Lk)("span",wr,[t[5]||(t[5]=(0,r.Lk)("kbd",{class:"px-1 py-0.5 bg-search-footer-kbd-bg rounded text-2xs"},"↑↓",-1)),(0,r.eW)(" "+(0,r.v_)(e.navigateLabel),1)]),(0,r.Lk)("span",Sr,[t[6]||(t[6]=(0,r.Lk)("kbd",{class:"px-1 py-0.5 bg-search-footer-kbd-bg rounded text-2xs"},"↵",-1)),(0,r.eW)(" "+(0,r.v_)(e.openLabel),1)]),(0,r.Lk)("span",kr,[t[7]||(t[7]=(0,r.Lk)("kbd",{class:"px-1 py-0.5 bg-search-footer-kbd-bg rounded text-2xs"},"esc",-1)),(0,r.eW)(" "+(0,r.v_)(e.closeLabel),1)])])):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0)],544)):(0,r.Q3)("",!0)]}),_:1})])):(0,r.Q3)("",!0)]}),_:1})]}),_:1}))],64)}]]),Zr=Jr;var eo={ref:"searchRoot",class:"flex flex-col h-full"},to={class:"flex items-center justify-between shrink-0 h-16 bg-white md:h-20 dark:bg-dark-850"};var no=r.Im;const ro=(0,r.pM)({name:"DocSearchMobile",components:{Teleport:no,DocSearchInput:Or,DocSearchResults:Gr},setup:function(){var e=(0,r.KR)(),t=(0,r.KR)(),n=(0,xr.SQ)(t);return(0,r.Gt)(xr.Rc,n),{Teleport:no,docDrawer:e,searchRoot:t,show:function(){e.value.show()},onShown:function(){var e;null===(e=n.input)||void 0===e||e.focus()},onHidden:function(){var e;null===(e=n.input)||void 0===e||e.blur()},hideDrawer:function(){null==e||e.value.hide()},searchApi:n}}}),oo=(0,a.A)(ro,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-search-input"),l=(0,r.g2)("doc-icon-arrow-right"),c=(0,r.g2)("doc-icon-button"),u=(0,r.g2)("doc-search-results"),d=(0,r.g2)("doc-icon-search"),h=(0,r.g2)("doc-drawer");return(0,r.uX)(),(0,r.Wv)(h,{ref:"docDrawer",class:"md:w-104","hide-event":["swipe-right","click"],onShown:e.onShown,onHidden:e.onHidden},{default:(0,r.k6)(function(){return[(0,r.Lk)("div",eo,[(0,r.Lk)("div",to,[(0,r.bF)(a,{class:"ml-3 w-full",onSelect:e.hideDrawer},null,8,["onSelect"]),(0,r.bF)(c,{class:"w-10 h-10 ml-3",style:{"margin-right":"0.875rem"},"icon-size":"22",onClick:e.hideDrawer},{default:(0,r.k6)(function(){return[(0,r.bF)(l)]}),_:1},8,["onClick"])]),(0,r.bF)(u,{class:"pb-6",style:{"max-height":"100%"},"is-mobile":!0,onSelect:e.hideDrawer},null,8,["onSelect"])],512),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"#retype-mobile-search-button"},{default:(0,r.k6)(function(){return[(0,r.bF)(c,{class:"w-10 h-10 lg:hidden","icon-size":"20",onClick:(0,r.D$)(e.show,["stop"])},{default:(0,r.k6)(function(){return[(0,r.bF)(d)]}),_:1},8,["onClick"])]}),_:1}))]}),_:1},8,["onShown","onHidden"])}]]);var io={class:"flex items-center shrink-0 h-16 px-6 -ml-6 bg-sidebar-left-bg border-b border-sidebar-left-border md:hidden"},so={ref:"sidebarFooter"};var ao={key:0,ref:"sidebarLinksEl",class:"overflow-y-auto h-full"};var lo=n(181),co=n.n(lo);const uo=e=>"object"==typeof e&&null!=e&&1===e.nodeType,ho=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,fo=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return ho(n.overflowY,t)||ho(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},po=(e,t,n,r,o,i,s,a)=>i<e&&s>t||i>e&&s<t?0:i<=e&&a<=n||s>=t&&a>=n?i-e-r:s>t&&a<n||i<e&&a>n?s-t+o:0,mo=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},vo=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:s,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!uo(e))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,f=[];let p=e;for(;uo(p)&&d(p);){if(p=mo(p),p===h){f.push(p);break}null!=p&&p===document.body&&fo(p)&&!fo(document.documentElement)||null!=p&&fo(p,u)&&f.push(p)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:g,scrollY:b}=window,{height:y,width:w,top:S,right:k,bottom:x,left:E}=e.getBoundingClientRect(),{top:C,right:_,bottom:A,left:T}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let L="start"===a||"nearest"===a?S-C:"end"===a?x+A:S+y/2-C+A,R="center"===l?E+w/2-T+_:"end"===l?k+_:E-T;const M=[];for(let I=0;I<f.length;I++){const e=f[I],{height:t,width:n,top:r,right:o,bottom:i,left:c}=e.getBoundingClientRect();if("if-needed"===s&&S>=0&&E>=0&&x<=v&&k<=m&&(e===h&&!fo(e)||S>=r&&x<=i&&E>=c&&k<=o))return M;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),p=parseInt(u.borderTopWidth,10),C=parseInt(u.borderRightWidth,10),_=parseInt(u.borderBottomWidth,10);let A=0,T=0;const O="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-C:0,D="offsetHeight"in e?e.offsetHeight-e.clientHeight-p-_:0,P="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,N="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(h===e)A="start"===a?L:"end"===a?L-v:"nearest"===a?po(b,b+v,v,p,_,b+L,b+L+y,y):L-v/2,T="start"===l?R:"center"===l?R-m/2:"end"===l?R-m:po(g,g+m,m,d,C,g+R,g+R+w,w),A=Math.max(0,A+b),T=Math.max(0,T+g);else{A="start"===a?L-r-p:"end"===a?L-i+_+D:"nearest"===a?po(r,i,t,p,_+D,L,L+y,y):L-(r+t/2)+D/2,T="start"===l?R-c-d:"center"===l?R-(c+n/2)+O/2:"end"===l?R-o+C+O:po(c,o,n,d,C+O,R,R+w,w);const{scrollLeft:s,scrollTop:u}=e;A=0===N?0:Math.max(0,Math.min(u+A/N,e.scrollHeight-t/N+D)),T=0===P?0:Math.max(0,Math.min(s+T/P,e.scrollWidth-n/P+O)),L+=u-A,R+=s-T}M.push({el:e,top:A,left:T})}return M};function go(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(vo(e,t));const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:s}of vo(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t))){const e=i-n.top+n.bottom,t=s-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}var bo=["href","target","rel"],yo={key:0,class:"flex shrink-0 items-center justify-center w-6 h-6 mr-2"},wo=["innerHTML"],So=["src"],ko=["textContent"],xo={key:1,class:"absolute right-0 h-full bg-nav-item-border-active w-px"};var Eo=n(5601),Co=n(6514),_o={key:0},Ao=["innerHTML"],To=["src","height","width"],Lo={key:1},Ro=["innerHTML"],Mo=["src","height","width"];const Io=(0,r.pM)({name:"RetypeNavBadge",components:{DocEmoji:Et},props:{badge:{type:[String,Object],required:!0},class:{type:String,default:""},onNavigate:{type:Function,default:void 0}},setup:function(e){var t=(0,r.EW)(function(){return"string"==typeof e.badge?{text:e.badge}:e.badge}),n=(0,r.EW)(function(){return t.value.text||""}),o=(0,r.EW)(function(){return!!n.value.trim()}),i=(0,r.EW)(function(){return t.value.link?"a":"span"}),s=(0,r.EW)(function(){var e=t.value.s||t.value.e,n=t.value.iconAlign||"left";return e&&"left"===n}),a=(0,r.EW)(function(){var e=t.value.s||t.value.e,n=t.value.iconAlign||"left";return e&&"right"===n}),l=(0,r.EW)(function(){switch(t.value.size||"s"){case"xs":return"14";case"s":default:return"16";case"m":return"18";case"l":case"xl":return"22";case"2xl":return"24";case"3xl":return"30"}}),c=(0,r.EW)(function(){var n=[];e.class&&n.push(e.class);var r=t.value.variant||"primary";switch(n.push("text-badge-".concat(r,"-text")),n.push("bg-badge-".concat(r)),n.push("border"),n.push("border-badge-".concat(r,"-border")),t.value.size||"s"){case"xs":n.push("h-4.5","px-1.5","text-3xs");break;case"s":default:n.push("h-5","px-1.5","text-2xs");break;case"m":n.push("h-6","px-2","text-xs");break;case"l":n.push("h-8","px-3","text-sm");break;case"xl":n.push("h-8","px-4","text-base");break;case"2xl":n.push("h-14","px-4","text-lg");break;case"3xl":n.push("h-16","px-5","text-xl")}switch(t.value.corners||"round"){case"square":n.push("rounded-none");break;case"round":default:n.push("rounded");break;case"pill":n.push("rounded-full")}return n.join(" ")}),u=(0,r.EW)(function(){var e={};return t.value.margin&&(e.margin=t.value.margin),e});return{badgeConfig:t,badgeText:n,badgeElement:i,showIconLeft:s,showIconRight:a,iconSize:l,badgeClasses:c,badgeStyle:u,onBadgeClick:function(e){var n;if(!t.value.link){e.preventDefault(),e.stopPropagation();var r=null===(n=e.target.closest(".relative.flex.items-center"))||void 0===n?void 0:n.querySelector("a");r&&r.click()}},hasText:o}}}),Oo=(0,a.A)(Io,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon"),l=(0,r.g2)("doc-emoji");return(0,r.uX)(),(0,r.Wv)((0,r.$y)(e.badgeElement),{href:e.badgeConfig.link,target:e.badgeConfig.target,title:e.badgeConfig.title,class:(0,r.C4)(["no-link inline-flex align-middle items-center justify-center font-medium leading-none whitespace-nowrap",e.badgeClasses]),style:(0,r.Tr)(e.badgeStyle),onClick:e.onBadgeClick},{default:(0,r.k6)(function(){return[e.showIconLeft?((0,r.uX)(),(0,r.CE)("span",_o,[e.badgeConfig.s&&e.badgeConfig.s.startsWith("<")?((0,r.uX)(),(0,r.Wv)(a,{key:0,class:(0,r.C4)(["mb-px inline-flex",{"mr-2":e.hasText}]),height:e.iconSize,width:e.iconSize},{default:(0,r.k6)(function(){return[(0,r.Lk)("g",{innerHTML:e.badgeConfig.s},null,8,Ao)]}),_:1},8,["class","height","width"])):e.badgeConfig.s?((0,r.uX)(),(0,r.CE)("img",{key:1,src:e.badgeConfig.s,class:(0,r.C4)(["mb-px inline-flex",{"mr-2":e.hasText}]),height:e.iconSize,width:e.iconSize},null,10,To)):e.badgeConfig.e?((0,r.uX)(),(0,r.Wv)(l,{key:2,class:(0,r.C4)({"mr-2":e.hasText}),emoji:e.badgeConfig.e},null,8,["class","emoji"])):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0),(0,r.Lk)("span",null,(0,r.v_)(e.badgeText),1),e.showIconRight?((0,r.uX)(),(0,r.CE)("span",Lo,[e.badgeConfig.s&&e.badgeConfig.s.startsWith("<")?((0,r.uX)(),(0,r.Wv)(a,{key:0,class:(0,r.C4)(["mb-px inline-flex",{"ml-2":e.hasText}]),height:e.iconSize,width:e.iconSize},{default:(0,r.k6)(function(){return[(0,r.Lk)("g",{innerHTML:e.badgeConfig.s},null,8,Ro)]}),_:1},8,["class","height","width"])):e.badgeConfig.s?((0,r.uX)(),(0,r.CE)("img",{key:1,src:e.badgeConfig.s,class:(0,r.C4)(["mb-px inline-flex",{"ml-2":e.hasText}]),height:e.iconSize,width:e.iconSize},null,10,Mo)):e.badgeConfig.e?((0,r.uX)(),(0,r.Wv)(l,{key:2,class:(0,r.C4)({"ml-2":e.hasText}),emoji:e.badgeConfig.e},null,8,["class","emoji"])):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0)]}),_:1},8,["href","target","title","class","style","onClick"])}]]);var Do=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(ho){i(ho)}}function a(e){try{l(r.throw(e))}catch(ho){i(ho)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},Po=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(ho){a=[6,ho],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};const No=(0,r.pM)({name:"DocSidebarLink",components:{RetypeNavBadge:Oo},props:{item:{type:Object,required:!0},depth:{type:Number,default:0},isFiltered:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.KR)(),n=(0,r.EW)(function(){return!!e.item.hash||!(!e.item.children||0===e.item.children.length)&&e.item.children.some(function(e){return!1!==e.visible})}),o=(0,r.EW)(function(){return"stack"===e.item.mode}),i=(0,r.EW)(function(){return!(!e.item.icon&&!e.item.emoji)}),s=(0,Nt.CB)(),a=O().appendDocumentName?O().documentName:"",l=(0,r.EW)(function(){return e.item.clickable?e.item.url?e.item.url.startsWith(O().base)?s+e.item.url.slice(O().base.length):e.item.url:e.item.path&&"/"!==e.item.path?!O().trailingSlash&&a&&e.item.path?"".concat(s).concat(e.item.path,"/").concat(a):"".concat(s).concat(e.item.path).concat(a):(0,Nt.Ec)(s):null}),c=(0,r.EW)(function(){return e.item.icon&&!e.item.icon.startsWith("<")&&-1==e.item.icon.indexOf("://")?s+e.item.icon:e.item.icon}),u=(0,Pt.r)().route,f=(0,r.EW)(function(){if(e.item.url)return!1;var t=s+(0,Nt.Wg)(u.value.path),n=l.value;return null!=n&&null!=t&&(n.length===t.length&&n===t||n.length===t.length+1&&"/"!==t[t.length-1]&&"/"===n[n.length-1]&&n.startsWith(t)||n.length+1===t.length&&"/"===t[t.length-1]&&"/"!==n[n.length-1]&&t.startsWith(n))}),p=(0,h.Pj)().store,m=(0,r.EW)(function(){return p.state.sidebarLookup}),v=m.value.get(e.item.path);(e.isFiltered||e.item.open||o.value)&&E();var g=(0,Eo.s)(),b=g.result,y=g.error,w=g.loading,S=g.execute,k="".concat(location.origin).concat(Co.bj);function x(){return Do(this,void 0,void 0,function(){return Po(this,function(t){switch(t.label){case 0:return[4,S("".concat(k,"/").concat(e.item.hash,".json"))];case 1:if(t.sent(),y.value)throw new Error("Error fetching sidebar navigation items. ".concat(y.value));return(0,d.pt)(m.value,b.value,O().trailingSlash),[2]}})})}function E(t){return Do(this,void 0,void 0,function(){var n,r;return Po(this,function(o){switch(o.label){case 0:return(n=t||v)?!e.item.hash||(null===(r=e.item.children)||void 0===r?void 0:r.length)?[3,2]:[4,x()]:[2];case 1:o.sent(),o.label=2;case 2:return p.actions.updateSidebarLookupItem(n,"open",!0),[2]}})})}function C(){v&&p.actions.updateSidebarLookupItem(v,"open",!1)}function _(){v&&v.open?C():E()}function A(){var t;f.value&&(n.value&&E(),null===(t=e.item.parentNodes)||void 0===t||t.forEach(function(e){E(m.value.get(e))}))}(0,r.wB)(function(){return e.isFiltered},function(e){e?E(v):(C(),A())});var T=(0,r.KR)(!1);(0,r.sV)(function(){f.value&&t.value&&p.actions.setActiveSidebarEl(t.value),A(),(0,r.dY)(function(){T.value=!0})});var L=(0,r.EW)(function(){var e;return(null===(e=O().navIcons)||void 0===e?void 0:e.mode)||"all"}),R=(0,r.EW)(function(){return"none"!==L.value}),M=(0,r.EW)(function(){if(!R.value)return!1;var t=L.value;return"all"===t||(!("folders"!==t||!n.value)||("pages"===t&&!n.value||"top"===t&&0===e.depth))}),I=(0,r.EW)(function(){var e=[];return!n.value||o.value?e.push("ml-nav-badge-margin-left"):e.push("ml-nav-badge-margin-left-alt"),e.join(" ")});return{sidebarLinkRef:t,isGroup:n,isStack:o,hasCustomIcon:i,href:l,icon:c,isActive:f,onLinkClick:function(e){if(!(0,d.VL)(e)){if(f.value)e.preventDefault();else if((null==v?void 0:v.open)&&l.value)return;_()}},toggle:_,loading:w,transitionsEnabled:T,onEnter:function(e){T.value&&(e.style.height="0"),(0,r.dY)(function(){e.style.height="".concat(e.scrollHeight,"px")})},onAfterEnter:function(e){(0,r.dY)(function(){e.style.height="auto"})},onBeforeLeave:function(e){e.style.height="".concat(e.scrollHeight)},onLeave:function(e){e.style.height="0px"},lookup:m,lookupItem:v,showSidebarIcons:R,shouldShowIcon:M,badgeClasses:I}}}),Fo=(0,a.A)(No,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon"),l=(0,r.g2)("doc-emoji"),c=(0,r.g2)("doc-icon-folder"),u=(0,r.g2)("retype-nav-badge"),d=(0,r.g2)("doc-loading-spinner"),h=(0,r.g2)("doc-icon-chevron-right"),f=(0,r.g2)("doc-sidebar-link");return!1!==e.item.visible?((0,r.uX)(),(0,r.CE)("li",{key:0,class:(0,r.C4)({"menu-section mt-4 mb-4":e.isStack})},[(0,r.Lk)("div",{class:(0,r.C4)(["relative flex items-center justify-between break-normal pl-3 pr-4 select-none rounded-l-lg transition-colors ease-out duration-150",{"text-nav-item-text-active font-nav-item-text-active bg-nav-item-bg-active":e.isActive,"text-nav-item-text":!e.isActive&&!e.isStack,"mt-1":e.isStack,"cursor-pointer hover:bg-nav-item-bg-hover":e.href||e.isGroup&&!e.isStack}])},[(0,r.Lk)("a",{ref:"sidebarLinkRef",class:(0,r.C4)(["flex flex-1 items-center",{"hover:text-nav-item-text-active-hover":e.href}]),href:e.href||void 0,target:e.item.target||void 0,rel:"_blank"===e.item.target?"noopener noreferrer":void 0,onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onLinkClick&&e.onLinkClick.apply(e,t)})},[e.shouldShowIcon?((0,r.uX)(),(0,r.CE)("span",yo,[e.item.icon&&e.item.icon.startsWith("<")?((0,r.uX)(),(0,r.Wv)(a,{key:0,class:"w-4.5 h-4.5"},{default:(0,r.k6)(function(){return[(0,r.Lk)("g",{innerHTML:e.item.icon},null,8,wo)]}),_:1})):e.item.icon?((0,r.uX)(),(0,r.CE)("img",{key:1,src:e.icon,class:"w-4.5"},null,8,So)):e.item.emoji?((0,r.uX)(),(0,r.Wv)(l,{key:2,emoji:e.item.emoji},null,8,["emoji"])):e.item.icon||0!==e.depth||!e.isGroup||e.isStack?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.Wv)(a,{key:3,class:"w-4.5 h-4.5"},{default:(0,r.k6)(function(){return[(0,r.bF)(c)]}),_:1}))])):(0,r.Q3)("",!0),(0,r.Lk)("span",{class:(0,r.C4)(["py-1.5",{"font-nav-item-text-stack text-xs text-nav-item-text-stack nav-item-text-stack-case":e.isStack,"text-sm":!e.isStack}]),textContent:(0,r.v_)(e.item.label)},null,10,ko),e.item.badge?((0,r.uX)(),(0,r.Wv)(u,{key:1,badge:e.item.badge,class:(0,r.C4)(e.badgeClasses),"on-navigate":e.onLinkClick},null,8,["badge","class","on-navigate"])):(0,r.Q3)("",!0)],10,bo),e.isGroup&&!e.isStack?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,r.C4)(["flex items-center justify-center w-7 h-7 rounded-full transition-colors ease-linear duration-150 group shrink-0",{"hover:bg-nav-item-button-active-hover/50":e.isActive&&!e.loading,"hover:bg-gray-200 dark:hover:bg-dark-500":!e.loading}])},[e.loading?((0,r.uX)(),(0,r.Wv)(d,{key:0,size:16})):((0,r.uX)(),(0,r.CE)("button",{key:1,class:(0,r.C4)(["text-nav-item-button group-hover:text-nav-item-text-hover focus:outline-hidden",{"rotate-90":e.item.open,"transition-transform ease-out duration-200":e.transitionsEnabled}]),onClick:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggle&&e.toggle.apply(e,t)})},[(0,r.bF)(a,{class:"w-5 h-5"},{default:(0,r.k6)(function(){return[(0,r.bF)(h)]}),_:1})],2))],2)):(0,r.Q3)("",!0),e.isActive?((0,r.uX)(),(0,r.CE)("span",xo)):(0,r.Q3)("",!0)],2),e.isGroup?((0,r.uX)(),(0,r.Wv)(r.eB,{key:0,"enter-active-class":"overflow-hidden","leave-active-class":"overflow-hidden",onEnter:t[2]||(t[2]=function(t){return e.onEnter(t)}),onAfterEnter:t[3]||(t[3]=function(t){return e.onAfterEnter(t)}),onBeforeLeave:t[4]||(t[4]=function(t){return e.onBeforeLeave(t)}),onLeave:t[5]||(t[5]=function(t){return e.onLeave(t)})},{default:(0,r.k6)(function(){var t,n;return[(0,r.bo)((0,r.Lk)("ul",{class:(0,r.C4)(["transition-all duration-200 ease-out",{"ml-4":!e.isStack&&(e.depth>0||!(null===(n=null===(t=e.lookupItem)||void 0===t?void 0:t.parentNodes)||void 0===n?void 0:n.some(function(t){var n;return null===(n=e.lookup.get(t))||void 0===n?void 0:n.mode})))}])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.item.children,function(t){return(0,r.uX)(),(0,r.Wv)(f,{key:t.path,item:t,depth:e.depth+1,"is-filtered":e.isFiltered},null,8,["item","depth","is-filtered"])}),128))],2),[[r.aG,e.isGroup&&(e.item.open||e.isStack)]])]}),_:1})):(0,r.Q3)("",!0)],2)):(0,r.Q3)("",!0)}]]),Wo=Fo,Bo=(0,r.pM)({name:"DocSidebarLinks",components:{DocSidebarLink:Wo},props:{items:{type:Array,required:!0},isFiltered:{type:Boolean,required:!0}},setup:function(){var e=(0,r.KR)(),t=(0,r.KR)(),n=(0,r.KR)(0),o=(0,r.KR)(),i=(0,h.Pj)().store,s=(0,r.EW)(function(){return i.state.sidebarActiveEl}),a=Pn(s,{threshold:1}).elements,l=co()(function(){var e,r,o=(null===(e=t.value)||void 0===e?void 0:e.scrollTop)||0;i.state.sidebarScroll!==o&&(n.value=(null===(r=t.value)||void 0===r?void 0:r.scrollTop)||0,i.actions.setSidebarScroll(n.value))},200);return(0,r.sV)(function(){var n,r,c;o.value=e.value&&new R.A(e.value),t.value=null===(n=o.value)||void 0===n?void 0:n.getScrollElement(),null===(c=null===(r=o.value)||void 0===r?void 0:r.getScrollElement())||void 0===c||c.addEventListener("scroll",l),t.value&&(t.value.scrollTop=i.state.sidebarScroll),setTimeout(function(){!a.value.some(function(e){return e.isIntersecting})&&s.value&&go(s.value,{behavior:"smooth",block:"center",boundary:t.value})},200)}),(0,r.xo)(function(){var e;null===(e=t.value)||void 0===e||e.removeEventListener("scroll",l)}),{sidebarLinksEl:e}}}),Vo=(0,a.A)(Bo,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-sidebar-link");return e.items.length?((0,r.uX)(),(0,r.CE)("ul",ao,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.items,function(t){return(0,r.uX)(),(0,r.Wv)(a,{key:t.path,item:t,"is-filtered":e.isFiltered},null,8,["item","is-filtered"])}),128))],512)):(0,r.Q3)("",!0)}]]);var Ho={id:"retype-sidebar-filter",class:"relative flex items-center w-full"},qo={class:"absolute flex items-center justify-center h-full pl-3 text-filter-placeholder"},jo=["value","placeholder"];const zo=(0,r.pM)({name:"DocSidebarFilter",props:{modelValue:String,isOpen:Boolean},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(),i=O().sidebarFilterPlaceholder,s=Rr(i),a=s.currentPlaceholder,l=s.onFocus,c=s.onBlur;var u=co()(function(e){n("update:modelValue",e.target.value)},200);return(0,r.wB)(function(){return e.isOpen},function(){var e;null===(e=o.value)||void 0===e||e.blur()}),{input:o,placeholder:i,currentPlaceholder:a,clear:function(){var e;n("update:modelValue",""),null===(e=o.value)||void 0===e||e.focus()},onInput:u,onFocus:l,onBlur:c}}}),$o=(0,a.A)(zo,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-filter"),l=(0,r.g2)("doc-icon"),c=(0,r.g2)("doc-icon-x"),u=(0,r.g2)("doc-icon-button");return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",Ho,[(0,r.Lk)("div",qo,[(0,r.bF)(l,null,{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1})]),(0,r.Lk)("input",{id:"retype-filter-input",ref:"input",value:e.modelValue,class:"w-full h-10 pl-8 px-3 py-2 transition-colors duration-200 ease-linear bg-filter-bg border border-filter-border rounded-lg shadow-none md:text-sm hover:border-filter-border-hover focus:outline-hidden focus:border-filter-border-focus placeholder-filter-placeholder",type:"text",placeholder:e.currentPlaceholder,onInput:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onInput&&e.onInput.apply(e,t)}),onFocus:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onFocus&&e.onFocus.apply(e,t)}),onBlur:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onBlur&&e.onBlur.apply(e,t)})},null,40,jo),e.modelValue?((0,r.uX)(),(0,r.Wv)(u,{key:0,class:"absolute top-0 right-0 w-6 h-6 mt-2 mr-2 hover:bg-base-item-bg-hover-active",tabindex:"-1",onClick:e.clear},{default:(0,r.k6)(function(){return[(0,r.bF)(c)]}),_:1},8,["onClick"])):(0,r.Q3)("",!0)])])}]]),Xo=$o;var Ko=function(){return Ko=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ko.apply(this,arguments)},Uo=r.Im;function Go(e){var t=(0,r.EW)(function(){return e.state.sidebarLookup});e.state.initialPageLoad&&function(){if(e.state.sidebar.id&&e.state.sidebar.id===O().id)r=new Map,(o=function(e){e.forEach(function(e){e.children&&(r.set(e.path,e),o(e.children))})})(e.state.sidebar.data),e.actions.setSidebarLookupData(r);else{var n=(0,d.og)(t.value,O().sidebar,O().trailingSlash);e.actions.setSidebarData({id:O().id,data:n})}var r,o}()}function Qo(e){var t=(0,r.KR)(""),n=(0,r.KR)(!1),o=(0,r.EW)(function(){return e.state.sidebar});var i=(0,r.EW)(function(){var e=t.value.toLowerCase();return n.value=!!e,function(e){var t=function(n,r){if(!r.visible)return n;var o=[],i=r.searchLabel.includes(e);return r.children?((o=i?r.children:r.children.reduce(t,[])).length||r.clickable&&i||!e||i)&&n.push(Ko(Ko({},r),{children:o})):e&&!i||n.push(r),n};return o.value.data.reduce(t,[])}(e)});return{query:t,isFiltered:n,filteredItems:i}}const Yo=(0,r.pM)({name:"DocSidebar",components:{Teleport:Uo,DocSidebarLinks:Vo,DocSidebarFilter:Xo,DocOverlay:ut},setup:function(){var e=(0,r.KR)(!1),t=(0,h.Pj)().store,n=(0,r.KR)();Go(t);var o=Qo(t),i=o.query,s=o.isFiltered,a=o.filteredItems,l=ht(),c=l.enableBodyScroll,u=l.disableBodyScroll;return{Teleport:Uo,sidebarFooter:n,isOpen:e,show:function(){e.value=!0,u()},hide:function(){e.value=!1,c()},filteredItems:a,isFiltered:s,query:i,showSidebarFilter:O().showSidebarFilter}}}),Jo=(0,a.A)(Yo,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-arrow-left"),l=(0,r.g2)("doc-icon-button"),c=(0,r.g2)("doc-sidebar-filter"),u=(0,r.g2)("doc-sidebar-links"),d=(0,r.g2)("doc-icon-menu"),h=(0,r.g2)("doc-overlay");return(0,r.uX)(),(0,r.CE)("aside",{id:"retype-sidebar-left",class:(0,r.C4)(["fixed top-0 z-40 flex flex-col shrink-0 w-4/5 duration-300 ease-in-out bg-sidebar-left-bg border-sidebar-left-border sidebar md:top-20 sm:w-1/2 md:w-75 md:z-0 md:border-r md:h-screen md:sticky md:transition-transform",{"shadow-2xl md:shadow-none":e.isOpen}]),style:(0,r.Tr)({transform:e.isOpen?"translateX(0)":""})},[(0,r.Lk)("div",io,[(0,r.bF)(l,{class:"w-10 h-10 ml-3.5 md:hidden","icon-size":"22",onClick:e.hide},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1},8,["onClick"]),e.showSidebarFilter?((0,r.uX)(),(0,r.Wv)(c,{key:0,modelValue:e.query,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.query=t}),class:"w-full ml-0.5","is-open":e.isOpen},null,8,["modelValue","is-open"])):(0,r.Q3)("",!0)]),e.showSidebarFilter?((0,r.uX)(),(0,r.Wv)(c,{key:0,modelValue:e.query,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.query=t}),class:"absolute top-0 left-0 right-0 z-5 h-16 px-6 hidden md:flex items-center","is-open":e.isOpen},null,8,["modelValue","is-open"])):(0,r.Q3)("",!0),(0,r.bF)(u,{class:(0,r.C4)(["flex-1 pl-3 pt-4 md:pt-0 pb-4",e.showSidebarFilter?"md:mt-16":"md:mt-6"]),items:e.filteredItems,"is-filtered":e.isFiltered},null,8,["class","items","is-filtered"]),(0,r.Lk)("div",so,[(0,r.RG)(e.$slots,"sidebar-footer")],512),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"#retype-sidebar-left-toggle-button"},{default:(0,r.k6)(function(){return[(0,r.bF)(l,{class:"w-10 h-10 ml-3.5 md:hidden","icon-size":"24",onClick:e.show},{default:(0,r.k6)(function(){return[(0,r.bF)(d)]}),_:1},8,["onClick"])]}),_:1})),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.k6)(function(){return[(0,r.bF)(h,{"is-open":e.isOpen,onSwipeLeft:e.hide,onClick:e.hide},null,8,["is-open","onSwipeLeft","onClick"])]}),_:1}))],6)}]]);var Zo={id:"retype-sidebar-right",ref:"content",class:"w-full h-full overflow-auto"},ei={key:0,class:"flex items-center justify-between h-16 mb-4 border-b lg:border-none lg:h-auto dark:border-base-border"},ti={id:"retype-toc-heading",class:"px-5 font-toc-heading text-xs text-toc-heading toc-heading-case"};const ni=(0,r.pM)({name:"DocSidebarRightToggle",emits:["click"]}),ri=(0,a.A)(ni,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-align-right"),l=(0,r.g2)("doc-icon-button");return(0,r.uX)(),(0,r.Wv)(l,{id:"retype-sidebar-right-toggle-button",class:"w-10 h-10 bg-white/80 dark:bg-dark-850/80 text-gray-600 hover:text-gray-800 lg:hidden","icon-size":"20",onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1})}]]);var oi={key:0,class:"pb-4 break-words"};var ii=n(2812);function si(e){var t,n,o=-1,i=-1,s=0,a=document.getElementById("retype-content"),l=null!==(t=null==a?void 0:a.offsetTop)&&void 0!==t?t:24,c=(0,d.gj)(),u=document.getElementById("retype-sidebar-right");function h(){var t=e.value;if(t&&t.length){var n=(document.documentElement.scrollTop||document.body.scrollTop)+l,r=function(e,t,n){var r=0,o=n.length-1;if(t>=r&&t<=o)if(e>=n[t].el.offsetTop){if(r=t+1,t===o||e<n[r].el.offsetTop)return t}else if(o=t-1,t>0&&e>=n[o].el.offsetTop)return o;for(;r<=o;){var i=o+r>>1,s=e-n[i].el.offsetTop;if(s>0)r=i+1;else{if(!(s<0)){r=i;break}o=i-1}}return r>o?o:r}(n,o,t),s=function(e,t,n,r){var o=Math.max(0,n),i=r.length-1;if(n===i)return i;if(t>=o&&t<=i)if(e>=r[t].el.offsetTop){if(o=t+1,t===i||e<r[o].el.offsetTop)return t}else if(i=t-1,t>0&&e>=r[i].el.offsetTop)return i;if(i<=n)return n;for(;o<=i;){var s=i+o>>1,a=e-r[s].el.offsetTop;if(a>0)o=s+1;else{if(!(a<0)){o=s;break}i=s-1}}return o>i?i:o}(n+Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)+c-2*l,i,r,t);r<0?s>=0&&(r=0):s<r&&(s=r),r<0?o>=0&&f(t,o,i,!1):o<0?f(t,r,s,!0):s<o||r>i?(f(t,r,s,!0),f(t,o,i,!1)):r<=o?s<=i?(f(t,r,o-1,!0),f(t,s+1,i,!1)):(f(t,r,o-1,!0),f(t,i,s,!0)):s<=i?(f(t,o,r-1,!1),f(t,s+1,i,!1)):(f(t,i,s,!0),f(t,o,r-1,!1)),o=r,i=s}}function f(e,t,n,r){for(var o=[],i=t;i<=n;++i)e[i].isActive=r,r&&o.push(e[i]);r&&o.length&&function(e){if(!u||!e.length)return;var t=document.documentElement.scrollTop||document.body.scrollTop,n=t>s?e[e.length-1]:e[0];if(n){var r=document.querySelector("#retype-sidebar-right li [href='#".concat(n.slug,"']"));if(!r)return;go(r,{behavior:"smooth",block:"center",boundary:u,scrollMode:"if-needed"}),s=t}}(o)}(0,g.YF)(window,"scroll",h,3,300),(0,g.YF)(window,"resize",h,3,300),a&&(n=new ii.ResizeSensor(a,(0,g.Mk)(h,3,300))),(0,r.xo)(function(){n&&(n.detach(),n=void 0)})}const ai=(0,r.pM)({name:"DocToc",emits:["link-click"],setup:function(e,t){var n=t.emit,o=(0,r.KR)([]);si(o);var i=(0,h.Pj)().store,s=Dt().pageData;return(0,r.sV)(function(){var e,t,n=null!==(t=null===(e=s.value)||void 0===e?void 0:e.tocDepth)&&void 0!==t?t:0,r=n>0?Array.from(String(n),Number):[];o.value=function(e){void 0===e&&(e=[2,3]);var t=[],n=e.map(function(e){return"#retype-content h".concat(e)}).join(", "),r=document.querySelectorAll(n),o=[];return r.forEach(function(e){var t=parseInt(e.tagName.replace("H",""),10);-1===o.indexOf(t)&&o.push(t)}),o.sort(function(e,t){return e-t}),r.forEach(function(e){var n,r,i=parseInt(e.tagName.replace("H",""),10),s=o.indexOf(i),a=(null===(n=e.querySelector("a"))||void 0===n?void 0:n.href.split("#")[1])||"",l=(null===(r=e.querySelector("span"))||void 0===r?void 0:r.textContent)||"";if(a.length>0&&l.length>0){var c=decodeURIComponent(a);t.push({el:e,level:i,idx:s,slug:c,title:l,isActive:!1})}}),t}(r),i.state.sidebarRightHasContent=o.value.length>0}),{tocData:o,getPaddingLeft:function(e){return e.idx>0?"padding-left: ".concat(1.25+1.25*e.idx,"rem;"):""},classList:function(e){return e.isActive?"text-toc-text-active":"text-toc-text hover:text-toc-text-hover"},onClick:function(){n("link-click")}}}}),li=(0,a.A)(ai,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-anchor-trigger");return e.tocData&&e.tocData.length?((0,r.uX)(),(0,r.CE)("ul",oi,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.tocData,function(t){return(0,r.uX)(),(0,r.CE)("li",{key:t.slug},[(0,r.bF)(a,{class:(0,r.C4)(["relative block px-5 py-1 toc-link",e.classList(t)]),style:(0,r.Tr)(e.getPaddingLeft(t)),to:"#".concat(t.slug),onClick:e.onClick},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(t.title)+" ",1),(0,r.Lk)("div",{style:{width:"1px"},class:(0,r.C4)({"absolute top-0 left-0 h-full bg-toc-border-active":t.isActive})},null,2)]}),_:2},1032,["class","style","to","onClick"])])}),128))])):(0,r.Q3)("",!0)}]]);var ci={key:0,class:"px-5 text-sm"};var ui={key:0,class:"mt-3 mb-2 text-gray-600 uppercase dark:text-dark-400"},di=["href"],hi={key:2,class:"font-semibold text-base-text"},fi={key:1};const pi=(0,r.pM)({name:"DocRelatedClassItem",props:{item:{type:Object,default:function(){return{}}},depth:{type:Number,default:0}},setup:function(e){return{hasChildren:(0,r.EW)(function(){return void 0!==e.item.children&&e.item.children.length>0}),marginLeft:(0,r.EW)(function(){var t=e.depth>1?.5:0;return"".concat((e.depth-1)*t,"rem")}),showIcon:(0,r.EW)(function(){return!0!==e.item.isGroup&&void 0!==e.item.children&&e.item.children.length>0}),onItemClick:function(e,t){(0,d.VL)(t)||(t.preventDefault(),(0,f.YR)(e))}}}}),mi=(0,a.A)(pi,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-related-class-item");return(0,r.uX)(),(0,r.CE)("li",{class:(0,r.C4)(["relative",{"pl-1":e.depth>1,"mb-4":0===e.depth}])},[(0,r.Lk)("div",{class:"flex items-center truncate",style:(0,r.Tr)({marginLeft:e.marginLeft,minHeight:"1.875rem"})},[e.item.isGroup?((0,r.uX)(),(0,r.CE)("h6",ui,(0,r.v_)(e.item.title),1)):e.item.href?((0,r.uX)(),(0,r.CE)("a",{key:1,class:"truncate transition-colors duration-100 ease-linear cursor-pointer hover:text-base-500 dark:text-dark-300",href:e.item.href,onClick:t[0]||(t[0]=function(t){return e.onItemClick(e.item.href,t)})},(0,r.v_)(e.item.label),9,di)):((0,r.uX)(),(0,r.CE)("div",hi,(0,r.v_)(e.item.label),1))],4),e.showIcon?((0,r.uX)(),(0,r.CE)("span",{key:0,class:"absolute w-2 h-3 border-b border-l border-gray-600",style:(0,r.Tr)({marginLeft:e.marginLeft,marginTop:"0.375rem"})},null,4)):(0,r.Q3)("",!0),e.hasChildren?((0,r.uX)(),(0,r.CE)("ul",fi,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.item.children,function(t,n){return(0,r.uX)(),(0,r.Wv)(a,{key:n,item:t,depth:e.depth+1},null,8,["item","depth"])}),128))])):(0,r.Q3)("",!0)],2)}]]),vi=(0,r.pM)({name:"DocRelatedClasses",components:{DocRelatedClassItem:mi},setup:function(){var e=Dt().pageData;return{relatedClasses:(0,r.EW)(function(){var t;return(null===(t=e.value)||void 0===t?void 0:t.relatedClasses)||[]})}}}),gi=(0,a.A)(vi,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-related-class-item");return e.relatedClasses.length?((0,r.uX)(),(0,r.CE)("ul",ci,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.relatedClasses,function(e,t){return(0,r.uX)(),(0,r.Wv)(a,{key:t,item:e},null,8,["item"])}),128))])):(0,r.Q3)("",!0)}]]);var bi=r.Im;const yi=(0,r.pM)({name:"DocSidebarRight",components:{Teleport:bi,DocToc:li,DocOverlay:ut,DocSidebarRightToggle:ri,DocRelatedClasses:gi},setup:function(){var e=(0,r.KR)(),t=(0,r.KR)(!1),n=(0,r.KR)(!1),o=Dt().pageData,i=(0,h.Pj)().store,s=(0,r.EW)(function(){return o.value?o.value.relatedClasses?"DocRelatedClasses":"DocToc":null}),a=(0,r.EW)(function(){var e,t;return"DocToc"===s.value?null!==(t=null===(e=o.value)||void 0===e?void 0:e.tocLabel)&&void 0!==t?t:O().resources.Toc_Contents_Label:"DocRelatedClasses"===s.value?O().resources.Toc_RelatedClasses_Label:null}),l=(0,r.EW)(function(){return{"translate-x-0 shadow-2xl":t.value,"translate-x-full":!t.value,"lg:top-40":"DocRelatedClasses"===s.value,"lg:top-20":"DocToc"===s.value}}),c=(0,r.EW)(function(){return{height:"DocRelatedClasses"===s.value?"calc(100vh - 10rem)":"calc(100vh - 5rem"}});return(0,r.sV)(function(){n.value=!0,e.value&&new R.A(e.value)}),{Teleport:bi,content:e,isOpen:t,isMounted:n,store:i,show:function(){t.value=!0},hide:function(){t.value=!1},currentComponent:s,title:a,classes:l,styles:c}}}),wi=(0,a.A)(yi,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-arrow-right"),l=(0,r.g2)("doc-icon-button"),c=(0,r.g2)("doc-sidebar-right-toggle"),u=(0,r.g2)("doc-overlay");return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)(["fixed top-0 bottom-0 right-0 z-40 w-4/5 text-sm transition-transform duration-300 ease-in-out bg-sidebar-right-bg border-sidebar-right-border sidebar-right sm:w-1/2 md:w-104 lg:z-0 lg:sticky lg:w-64 lg:shrink-0 lg:translate-x-0 lg:border-l lg:shadow-none lg:pt-6 focus:outline-hidden",e.classes]),style:(0,r.Tr)(e.styles),onKeyup:t[0]||(t[0]=(0,r.jR)(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.hide&&e.hide.apply(e,t)},["esc"]))},[(0,r.Lk)("div",Zo,[e.store.state.sidebarRightHasContent?((0,r.uX)(),(0,r.CE)("div",ei,[(0,r.Lk)("div",ti,(0,r.v_)(e.title),1),(0,r.bF)(l,{class:"w-10 h-10 ml-3 lg:hidden",style:{"margin-right":"0.875rem"},"icon-size":"22",onClick:e.hide},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1},8,["onClick"])])):(0,r.Q3)("",!0),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.currentComponent),{onLinkClick:e.hide},null,40,["onLinkClick"]))],512),e.isMounted&&e.store.state.sidebarRightHasContent?((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{key:0,to:"#retype-sidebar-right-toggle"},{default:(0,r.k6)(function(){return[(0,r.bF)(c,{class:"fixed right-3 z-40",onClick:e.show},null,8,["onClick"])]}),_:1})):(0,r.Q3)("",!0),((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.k6)(function(){return[(0,r.bF)(u,{"is-open":e.isOpen,onSwipeRight:e.hide,onClick:e.hide},null,8,["is-open","onSwipeRight","onClick"])]}),_:1}))],38)}],["__scopeId","data-v-7ac62b95"]]),Si=wi,ki=(0,r.pM)({name:"DocStep",props:{id:{type:String,required:!0},stepNumber:{type:[Number,String]}},setup:function(e,t){var n=t.slots;return function(){return(0,r.h)(function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)})}}}),xi=(0,r.pM)({name:"DocSteps",components:{DocAnchorTarget:l},setup:function(e,t){var n,o=t.slots,i=(0,r.KR)(),s=(null===(n=o.default)||void 0===n?void 0:n.call(o))||[];(0,r.nT)(function(){var e;null===(e=i.value)||void 0===e||e.dispatchEvent(new Event("onPluginReady"))},{flush:"post"});var a=(0,r.EW)(function(){return s.map(function(e,t){var n,o,i,s,a,c,u,d,h,f,p=null===(n=e.props)||void 0===n?void 0:n.id,m=null!==(a=null!==(i=null===(o=e.props)||void 0===o?void 0:o["step-number"])&&void 0!==i?i:null===(s=e.props)||void 0===s?void 0:s.stepNumber)&&void 0!==a?a:t+1;return(0,r.h)("div",{class:["docs-step",null===(c=e.props)||void 0===c?void 0:c.class]},[(0,r.h)("div",{class:"docs-step-indicator"},[(0,r.h)(l,{id:p},function(){return(0,r.h)("a",{href:"#".concat(p),class:"docs-step-number no-link"},String(m))}),(0,r.h)("div",{class:"docs-step-line"})]),(0,r.h)("div",{class:"docs-step-body"},[(0,r.h)("div",{class:"docs-step-title"},null===(d=null===(u=e.children)||void 0===u?void 0:u.title)||void 0===d?void 0:d.call(u)),(0,r.h)("div",{class:"docs-step-content"},null===(f=null===(h=e.children)||void 0===h?void 0:h.default)||void 0===f?void 0:f.call(h))])])})});return function(){return(0,r.h)("div",{ref:i,class:"retype-steps mt-2 mb-2 mb-6 pluggable"},a.value)}}});var Ei=["aria-checked"],Ci=["checked"],_i={class:"inline-flex items-center"};const Ai=(0,r.pM)({name:"DocSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup:function(e,t){var n=t.emit;return{isFocused:(0,r.KR)(!1),toggle:function(){n("update:modelValue",!e.modelValue)}}}}),Ti=(0,a.A)(Ai,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("label",{class:"relative inline-block cursor-pointer whitespace-nowrap",role:"switch","aria-checked":e.modelValue},[(0,r.Lk)("input",{type:"checkbox",class:"absolute opacity-0",style:{"z-index":"-1"},checked:e.modelValue,onChange:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggle&&e.toggle.apply(e,t)}),onFocus:t[1]||(t[1]=function(t){return e.isFocused=!0}),onBlur:t[2]||(t[2]=function(t){return e.isFocused=!1})},null,40,Ci),(0,r.Lk)("div",_i,[(0,r.Lk)("div",{class:(0,r.C4)(["w-6 h-2 transition-colors duration-100 ease-linear rounded-full",e.modelValue?"bg-base-link":"bg-gray-400 dark:bg-dark-400"])},null,2),(0,r.Lk)("div",{class:(0,r.C4)(["absolute w-4 h-4 transition-transform duration-100 ease-linear bg-white border border-gray-500 rounded-full",{"shadow-outline":e.isFocused}]),style:(0,r.Tr)({transform:e.modelValue?"translateX(8px)":null})},null,6)]),(0,r.RG)(e.$slots,"default")],8,Ei)}]]),Li=Ti,Ri=(0,r.pM)({name:"DocTab",props:{id:{type:String,required:!0},active:Boolean},setup:function(e,t){var n=t.slots;return function(){return(0,r.h)(function(){var e;return null===(e=n.default)||void 0===e?void 0:e.call(n)})}}}),Mi=(0,r.pM)({name:"DocTabs",components:{DocAnchorTarget:l},setup:function(e,t){var n,o,i,s,a=t.slots,c=(0,r.KR)(),u=(0,r.KR)(""),h=(null===(n=a.default)||void 0===n?void 0:n.call(a))||[],f={};u.value=(null===(i=null===(o=h.find(function(e){var t,n;return""===(null===(t=e.props)||void 0===t?void 0:t.active)||(null===(n=e.props)||void 0===n?void 0:n.active)}))||void 0===o?void 0:o.props)||void 0===i?void 0:i.id)||(null===(s=h[0].props)||void 0===s?void 0:s.id);var p=h.map(function(e){var t,n=null===(t=e.props)||void 0===t?void 0:t.id;return"#".concat(n)}),m=(0,Pt.r)().route;function v(){if(m.value.hash&&p.includes(m.value.hash)){var e=m.value.hash.substr(1);if(u.value!==e)return u.value=e,!0}return!1}function g(){var e=u.value;f[e],f[e]=!0;var t=(0,r.nT)(function(){var e;null===(e=c.value)||void 0===e||e.dispatchEvent(new Event("onPluginReady")),t()},{flush:"post"})}v(),f[u.value]=!0,(0,r.wB)(m,function(){v()&&g()});var b=(0,r.EW)(function(){return h.map(function(e){var t,n,o=null===(t=e.props)||void 0===t?void 0:t.id,i=u.value===o;return(0,r.h)(l,{id:o,class:null===(n=e.props)||void 0===n?void 0:n.class},function(){var t,n;return(0,r.h)("a",{href:"#".concat(o),class:{"no-link block px-5 py-4 cursor-pointer border-b-2 font-medium":!0,"text-tab-text hover:text-tab-text-hover border-tab-border hover:border-tab-border-hover":!i,"text-tab-text-active border-tab-border-active":i},onClick:function(e){(0,d.VL)(e)||(e.preventDefault(),u.value!==o&&(u.value=o,g()))}},null===(n=(t=e.children).title)||void 0===n?void 0:n.call(t))})})}),y=(0,r.EW)(function(){return h.map(function(e){var t,n;if(u.value===(null===(t=e.props)||void 0===t?void 0:t.id)){var o=null===(n=e.props)||void 0===n?void 0:n.class,i=o?"tab-content ".concat(o):"tab-content";return(0,r.h)(function(){return(0,r.h)("div",{class:i},e)})}})});return function(){return(0,r.h)("div",{ref:c,class:"mb-6 pluggable"},[(0,r.h)("div",{class:"flex border dark:border-base-border -mb-px rounded-t"},b.value),(0,r.h)("div",{class:"p-5 border dark:border-base-border rounded-b-md"},y.value)])}}}),Ii=Mi;var Oi={class:"scheme-menu"},Di={class:"scheme-menu-item-text"},Pi={class:"scheme-menu-item-text"},Ni={class:"scheme-menu-item-text"};const Fi=(0,r.pM)({name:"DocThemeSwitch",setup:function(){var e=(0,r.KR)(),t=(0,r.KR)("system"),n=(0,r.EW)(function(){return"light"!==t.value&&("dark"===t.value||document.documentElement.classList.contains("dark"))}),o=(0,r.EW)(function(){return"system"===t.value}),i=O().resources.Text_Light,s=O().resources.Text_Dark,a=O().resources.Text_System,l=(0,d.$E)(O().base,localStorage,"retype_scheme");function c(){document.documentElement.classList.add("dark"),document.documentElement.classList.remove("light")}function u(){document.documentElement.classList.remove("dark"),document.documentElement.classList.add("light")}function h(){document.documentElement.classList.add("no-transitions"),setTimeout(function(){document.documentElement.classList.remove("no-transitions")},50)}function f(e){h(),t.value=e,"system"===e?(localStorage.removeItem("retype_scheme"),document.documentElement.classList.remove("dark","light"),window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.add("dark"):document.documentElement.classList.add("light")):((0,d.ni)(O().base,localStorage,"retype_scheme",e),"dark"===e?c():u())}t.value=l||"system";var p,m=(0,r.KR)();return(0,r.sV)(function(){m.value=window.matchMedia("(prefers-color-scheme: dark)"),p=function(e){"system"===t.value&&(h(),e.matches?c():u())},m.value.addEventListener("change",p)}),(0,r.xo)(function(){var e;null===(e=m.value)||void 0===e||e.removeEventListener("change",p)}),{dropdown:e,mode:t,isDark:n,isSystem:o,lightText:i,darkText:s,systemText:a,setTheme:f,onThemeSelect:function(t){var n;f(t),null===(n=e.value)||void 0===n||n.hide()},onDropdownClose:function(){}}}}),Wi=(0,a.A)(Fi,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-moon"),l=(0,r.g2)("doc-icon-sun"),c=(0,r.g2)("doc-icon-button"),u=(0,r.g2)("doc-icon"),d=(0,r.g2)("doc-icon-device-desktop"),h=(0,r.g2)("doc-dropdown");return(0,r.uX)(),(0,r.Wv)(h,{id:"retype-scheme-button",ref:"dropdown",class:"inline-block",align:"right","menu-width":"10rem",onClose:e.onDropdownClose},{"button-content":(0,r.k6)(function(){return[(0,r.bF)(c,{class:(0,r.C4)(["w-10 h-10",{"-mb-0.5":!e.isDark}]),"icon-size":"20"},{default:(0,r.k6)(function(){return[e.isDark?((0,r.uX)(),(0,r.Wv)(a,{key:0})):((0,r.uX)(),(0,r.Wv)(l,{key:1}))]}),_:1},8,["class"])]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",Oi,[(0,r.Lk)("button",{class:(0,r.C4)(["scheme-menu-item",{"scheme-menu-item-active":"light"===e.mode}]),onClick:t[0]||(t[0]=function(t){return e.onThemeSelect("light")})},[(0,r.bF)(u,{width:"16",height:"16"},{default:(0,r.k6)(function(){return[(0,r.bF)(l)]}),_:1}),(0,r.Lk)("span",Di,(0,r.v_)(e.lightText),1)],2),(0,r.Lk)("button",{class:(0,r.C4)(["scheme-menu-item",{"scheme-menu-item-active":"dark"===e.mode}]),onClick:t[1]||(t[1]=function(t){return e.onThemeSelect("dark")})},[(0,r.bF)(u,{width:"16",height:"16"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1}),(0,r.Lk)("span",Pi,(0,r.v_)(e.darkText),1)],2),(0,r.Lk)("button",{class:(0,r.C4)(["scheme-menu-item",{"scheme-menu-item-active":"system"===e.mode}]),onClick:t[2]||(t[2]=function(t){return e.onThemeSelect("system")})},[(0,r.bF)(u,{width:"16",height:"16"},{default:(0,r.k6)(function(){return[(0,r.bF)(d)]}),_:1}),(0,r.Lk)("span",Ni,(0,r.v_)(e.systemText),1)],2)])]}),_:1},8,["onClose"])}],["__scopeId","data-v-4962ba66"]]);var Bi={id:"docs-toolbar",class:"sticky z-20 flex items-center justify-between h-16 px-6 bg-body-bg border-b border-base-border md:h-20 md:pl-16 md:top-20 top-16"};var Vi={class:"relative"},Hi={ref:"visibleLinksDiv",class:"flex whitespace-nowrap"},qi={class:"block"},ji=["innerHTML"],zi={ref:"more",class:"mr-3 more-dropdown"},$i={class:"flex flex-col"};var Xi={class:"flex items-center h-5 px-2 text-xs font-semibold text-white bg-base-500 rounded-full md:text-2xs"};const Ki=(0,r.pM)({name:"DocToolbarMemberCount"}),Ui=(0,a.A)(Ki,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("span",Xi,[(0,r.RG)(e.$slots,"default")])}]]);var Gi=["aria-expanded","aria-disabled","disabled"],Qi={class:"absolute left-0 z-20"};var Yi={ref:"dropdownBottom",class:"h-2"},Ji={key:0,class:"absolute bottom-0 right-0 z-50 flex items-center h-6 px-2 mb-4 mr-8 text-xs leading-none text-center text-gray-500 bg-white rounded-full shadow-md dark:bg-dark-550 dark:text-dark-200"};var Zi=function(){return Zi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Zi.apply(this,arguments)};const es=(0,r.pM)({name:"ToolbarLinkDropdownContent",components:{DocAnchorTrigger:v},props:{groupId:{type:String,required:!0},members:{type:Array,required:!0},isSingleColumn:{type:Boolean,required:!0},linkWidth:{type:Number,required:!0}},emits:["click"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(3),i=(0,r.KR)(0),s=(0,r.EW)(function(){return Zi({maxHeight:"calc(100vh - 11rem)",minWidth:"".concat(e.linkWidth,"px")},!e.isSingleColumn&&{width:"".concat(i.value,"px")})}),a=(0,r.EW)(function(){var t=Math.ceil(e.members.length/o.value);return{gridTemplateColumns:"repeat(".concat(o.value,", 1fr)"),gridTemplateRows:"repeat(".concat(t,", 1fr)")}}),l=ht(),c=l.enableBodyScroll,u=l.disableBodyScroll;function d(){var e=document.querySelector("#retype-content");i.value=e?e.clientWidth:0}dt(function(){!function(){var e=window.innerWidth;o.value=e<1124&&e>1024||e<900?2:3}(),d()}),(0,r.sV)(d);var h=function(){var e=(0,r.KR)();return{dropdownBottom:e,isIntersecting:Pn(e).isIntersecting}}(),f=h.dropdownBottom,p=h.isIntersecting,m=O().resources.API_MoreDropdownItems_Label;return{memberGridStyles:a,mmemberGridWrapperStyles:s,enableBodyScroll:c,disableBodyScroll:u,onClick:function(){c(),n("click")},dropdownBottom:f,isIntersecting:p,moreLabel:m}}}),ts=(0,a.A)(es,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-anchor-trigger");return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",{ref:"gridWrapper",class:"px-2 pt-2 mt-2 overflow-y-auto bg-white border border-gray-300 rounded shadow-lg member-links-dropdown dark:bg-dark-650 dark:border-dark-500",style:(0,r.Tr)(e.mmemberGridWrapperStyles),onMouseenter:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.disableBodyScroll&&e.disableBodyScroll.apply(e,t)}),onMouseleave:t[2]||(t[2]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.enableBodyScroll&&e.enableBodyScroll.apply(e,t)})},[(0,r.Lk)("div",{class:(0,r.C4)({"sm:grid grid-flow-col":!e.isSingleColumn}),style:(0,r.Tr)(e.memberGridStyles)},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.members,function(n){return(0,r.uX)(),(0,r.Wv)(a,{key:n.id,to:"#".concat(n.id),onClick:t[0]||(t[0]=function(t){return e.onClick()})},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(n.name),1)]}),_:2},1032,["to"])}),128))],6),(0,r.Lk)("div",Yi,null,512)],36),e.isIntersecting?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.CE)("span",Ji,(0,r.v_)(e.moreLabel)+"... ",1))])}],["__scopeId","data-v-97467732"]]),ns=ts,rs=(0,r.pM)({name:"DocToolbarLinkDropdown",components:{DocToolbarMemberCount:Ui,DocToolbarLinkDropdownContent:ns},props:{value:Boolean,inDropdown:Boolean,isSingleColumn:Boolean,disabled:Boolean,groupId:String,count:Number,members:Array,linkWidth:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=(0,r.KR)(),i=(0,r.KR)(!1);return(0,bt.m)(function(e){var t,n=e.target;o.value===n||(null===(t=o.value)||void 0===t?void 0:t.contains(n))||(i.value=!1)}),(0,r.wB)(i,function(e){n("update:modelValue",e)}),{dropdown:o,toggleDropdown:function(){i.value=!i.value},onBodyClick:bt.m,isOpen:i}}}),os=(0,a.A)(rs,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-chevron-down"),l=(0,r.g2)("doc-icon"),c=(0,r.g2)("doc-toolbar-member-count"),u=(0,r.g2)("doc-toolbar-link-dropdown-content");return(0,r.uX)(),(0,r.CE)("div",{ref:"dropdown",class:(0,r.C4)({hidden:e.inDropdown})},[(0,r.Lk)("button",{class:(0,r.C4)(["relative z-20 flex items-center justify-center w-6 h-full px-0 transition-colors duration-200 ease-out border-l border-white rounded-r focus:outline-hidden focus:bg-gray-400 hover:bg-gray-300 dark:border-dark-850 dark:hover:bg-dark-450 dark:focus:bg-dark-450",{"opacity-30 cursor-default pointer-events-none":e.disabled,"bg-gray-400 dark:bg-dark-450":e.isOpen,"bg-gray-200 dark:bg-dark-550":!e.isOpen}]),role:"button","aria-haspopup":"true","aria-expanded":e.isOpen,"aria-disabled":e.disabled,disabled:e.disabled,onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.toggleDropdown&&e.toggleDropdown.apply(e,t)})},[(0,r.bF)(l,{class:"dark:text-white",width:"13",height:"13"},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1}),(0,r.bF)(c,{class:"absolute top-0 right-0 -mt-3 -mr-2"},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(e.count),1)]}),_:1})],10,Gi),(0,r.bF)(r.eB,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"-translate-y-2 opacity-30","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-75 ease-linear","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"-translate-y-2 opacity-0"},{default:(0,r.k6)(function(){return[(0,r.bo)((0,r.Lk)("div",Qi,[(0,r.bF)(u,{members:e.members,"is-single-column":e.isSingleColumn,"group-id":e.groupId,"link-width":e.linkWidth,onClick:t[1]||(t[1]=function(t){return e.isOpen=!1})},null,8,["members","is-single-column","group-id","link-width"])],512),[[r.aG,e.isOpen]])]}),_:1})],2)}]]),is=os,ss=(0,r.pM)({name:"DocToolbarLink",components:{DocToolbarLinkDropdown:is,DocToolbarMemberCount:Ui,DocAnchorTrigger:v},props:{link:{type:Object,required:!0},inDropdown:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.KR)(),n=(0,r.KR)(!1),o=(0,h.Pj)().store,i=(0,r.EW)(function(){return o.getters.getVisibleGroupMembers(e.link.id)}),s=(0,r.EW)(function(){return i.value.length}),a=(0,r.EW)(function(){return s.value<=12}),l=(0,r.EW)(function(){return 0===s.value}),c=(0,r.EW)(function(){return 0===s.value?"":"#".concat(e.link.id)}),u=(0,r.EW)(function(){return t.value?t.value.clientWidth:0});return{linkEl:t,linkWidth:u,isSingleColumn:a,isDropdownOpen:n,disabled:l,href:c,count:s,members:i}}}),as=(0,a.A)(ss,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-toolbar-member-count"),l=(0,r.g2)("doc-anchor-trigger"),c=(0,r.g2)("doc-toolbar-link-dropdown");return(0,r.uX)(),(0,r.CE)("div",{ref:"linkEl",class:(0,r.C4)(["inline-flex h-8 text-sm leading-none",{"mr-3":!e.inDropdown,relative:e.isSingleColumn}]),onKeydown:t[1]||(t[1]=(0,r.jR)(function(t){return e.isDropdownOpen=!1},["esc"]))},[(0,r.bF)(l,{class:(0,r.C4)(["flex items-center justify-between grow px-3 font-medium text-gray-900 focus:bg-gray-400 focus:outline-hidden dark:text-white dark:focus:bg-dark-450 transition-colors duration-200 ease-out",{"px-5 hover:bg-gray-200 dark:hover:bg-dark-500":e.inDropdown,"rounded-l hover:bg-gray-300 dark:hover:bg-dark-450":!e.inDropdown,"opacity-30 cursor-default pointer-events-none":e.disabled,"bg-gray-400 dark:bg-dark-450":e.isDropdownOpen,"bg-gray-200 dark:bg-dark-550":!e.isDropdownOpen&&!e.inDropdown}]),to:e.href,disabled:e.disabled},{default:(0,r.k6)(function(){return[(0,r.RG)(e.$slots,"default"),(0,r.bF)(a,{class:(0,r.C4)({hidden:!e.inDropdown})},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(e.count),1)]}),_:1},8,["class"])]}),_:3},8,["class","to","disabled"]),(0,r.bF)(c,{modelValue:e.isDropdownOpen,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.isDropdownOpen=t}),"in-dropdown":e.inDropdown,"is-single-column":e.isSingleColumn,disabled:e.disabled,count:e.count,members:e.members,"group-id":e.link.id,"link-width":e.linkWidth},null,8,["modelValue","in-dropdown","is-single-column","disabled","count","members","group-id","link-width"])],34)}]]);function ls(){var e=(0,r.KR)(),t=(0,r.KR)(),n=O().toolbarLinks,o=(0,r.KR)([]),i=(0,r.KR)([]),s=(0,r.KR)([]);(0,r.sV)(function(){o.value=n.slice()});var a=function(){var e;return null===(e=t.value)||void 0===e?void 0:e.clientWidth},l=function(){var e,t,n,c=(t=document.querySelector("#docs-toolbar"),n=window.innerWidth<960?48:88,(t?t.clientWidth-n:0)-((null===(e=document.querySelector("#docs-filters"))||void 0===e?void 0:e.clientWidth)||0));if(a()>c&&o.value.length){s.value.push(a());var u=o.value.pop();u&&i.value.unshift(u)}else if(c>s.value[s.value.length-1]){var d=i.value[0];i.value.splice(0,1),o.value.push(d),s.value.pop()}(0,r.dY)(function(){a()>c&&o.value.length&&l()})};return{more:e,visibleLinksDiv:t,visibleLinks:o,invisibleLinks:i,updateNavLinks:l}}const cs=(0,r.pM)({name:"DocToolbarLinks",components:{DocToolbarLink:as},setup:function(){var e=(0,r.KR)(),t=(0,r.KR)(0),n=ls(),o=n.more,i=n.visibleLinksDiv,s=n.visibleLinks,a=n.invisibleLinks,l=n.updateNavLinks,c=(0,r.EW)(function(){return s.value.length<=1&&t.value<960?"left":"right"});function u(){t.value=window.innerWidth}return(0,r.sV)(function(){u(),l()}),dt(function(){u(),l()}),{dropdown:e,more:o,visibleLinksDiv:i,visibleLinks:s,invisibleLinks:a,dropdownAlignment:c,onClick:function(){e.value.hide()}}}}),us=(0,a.A)(cs,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-toolbar-link"),l=(0,r.g2)("doc-icon-more-horizontal"),c=(0,r.g2)("doc-icon-button"),u=(0,r.g2)("doc-dropdown");return(0,r.uX)(),(0,r.CE)("div",Vi,[(0,r.Lk)("div",Hi,[(0,r.Lk)("div",qi,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.visibleLinks,function(e){return(0,r.uX)(),(0,r.Wv)(a,{key:e.id,link:e,"in-dropdown":!1},{default:(0,r.k6)(function(){return[(0,r.Lk)("span",{innerHTML:e.shortLabel?e.shortLabel:e.label},null,8,ji)]}),_:2},1032,["link"])}),128))]),(0,r.bo)((0,r.Lk)("div",zi,[(0,r.bF)(u,{ref:"dropdown",class:"inline-block",align:e.dropdownAlignment},{"button-content":(0,r.k6)(function(){return[(0,r.bF)(c,{class:"w-8 h-8 bg-gray-200 hover:bg-gray-300 dark:bg-dark-550 dark:hover:bg-dark-450",rounded:!1},{default:(0,r.k6)(function(){return[(0,r.bF)(l)]}),_:1})]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",$i,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.invisibleLinks,function(t){return(0,r.uX)(),(0,r.Wv)(a,{key:t.id,link:t,"in-dropdown":!0,onClick:e.onClick},{default:(0,r.k6)(function(){return[(0,r.Lk)("span",null,(0,r.v_)(t.label),1)]}),_:2},1032,["link","onClick"])}),128))])]}),_:1},8,["align"])],512),[[r.aG,e.invisibleLinks.length]])],512)])}]]);var ds={id:"docs-filters"},hs={class:"items-center hidden lg:flex"},fs={key:0,class:"absolute top-0 right-0 w-4 h-4 -mt-2 -mr-2 bg-orange-500 border-4 border-white rounded-full dark:border-dark-850"},ps={class:"pt-2 pb-3"},ms={class:"px-5 pb-4 border-b dark:border-dark-500"},vs={class:"px-5 pt-4"};var gs={key:0,class:"absolute top-0 right-0 w-4 h-4 -mt-2 -mr-2 bg-orange-500 border-4 border-white rounded-full dark:border-dark-850"},bs={class:"pt-1"};const ys=(0,r.pM)({name:"DocToolbarAccess",setup:function(){var e=(0,h.Pj)().store;return{access:O().access,accessLabel:O().resources.API_AccessFilter_Label,selected:(0,r.EW)({get:function(){return e.state.access},set:function(t){return e.actions.updateAccess(t)}}),isDirty:(0,r.EW)(function(){return e.getters.isAccessDirty()})}}}),ws=(0,a.A)(ys,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-shield"),l=(0,r.g2)("doc-icon"),c=(0,r.g2)("doc-checkbox"),u=(0,r.g2)("doc-dropdown");return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.bF)(u,{class:"hidden lg:block",align:"right","menu-width":"9rem"},{"button-content":(0,r.k6)(function(t){var n=t.isOpen,o=t.isFocused;return[(0,r.Lk)("button",{class:(0,r.C4)(["relative text-gray-900 bg-white border btn focus:border-gray-600 dark:border-base-border dark:text-white dark:hover:bg-dark-450 dark:hover:border-dark-450 dark:focus:bg-dark-450 dark:focus:border-dark-450",n||o?"border-gray-600 dark:bg-dark-450":"border-gray-400 dark:bg-dark-550"])},[e.isDirty?((0,r.uX)(),(0,r.CE)("span",gs)):(0,r.Q3)("",!0),(0,r.bF)(l,{class:"mr-1 -ml-1",width:"14",height:"14",style:{"margin-bottom":"0"}},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1}),(0,r.Lk)("span",null,(0,r.v_)(e.accessLabel),1)],2)]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",bs,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.access,function(n){return(0,r.uX)(),(0,r.CE)("div",{key:n.value,class:"flex px-5 hover:bg-gray-200 dark:hover:bg-dark-500"},[(0,r.bF)(c,{modelValue:e.selected,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.selected=t}),class:"text-xs",value:n.value},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(n.label),1)]}),_:2},1032,["modelValue","value"])])}),128))])]}),_:1}),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.access,function(n){return(0,r.uX)(),(0,r.CE)("div",{key:n.value,class:"py-0.5 lg:hidden"},[(0,r.bF)(c,{modelValue:e.selected,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.selected=t}),class:"text-xs",value:n.value},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(n.label),1)]}),_:2},1032,["modelValue","value"])])}),128))])}]]);var Ss={class:"relative",style:{width:"12.4375rem"}},ks=["placeholder"];const xs=(0,r.pM)({name:"DocToolbarMemberFilter",setup:function(){var e=(0,h.Pj)().store,t=(0,r.KR)(),n=O().toolbarFilterPlaceholder,o=(0,r.EW)({get:function(){return e.state.memberFilter},set:co()(function(t){e.actions.updateMemberFilter(t)},400)});function i(){var e;null===(e=t.value)||void 0===e||e.select()}return(0,r.sV)(function(){var e;window.innerWidth>960&&(null===(e=t.value)||void 0===e||e.focus(),i())}),function(e){var t=(0,Pt.r)(),n=t.route,o=t.Router;n.value.query&&n.value.query.q&&(e.value=n.value.query.q),(0,r.wB)(e,function(e){var t=e?{q:e}:{};n.value.query=t,o.replace(n.value)})}(o),{input:t,query:o,placeholder:n,select:i,clear:function(){var e;o.value="",null===(e=t.value)||void 0===e||e.focus()}}}}),Es=(0,a.A)(xs,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-icon-x"),l=(0,r.g2)("doc-icon-button");return(0,r.uX)(),(0,r.CE)("div",Ss,[(0,r.bo)((0,r.Lk)("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.query=t}),class:"w-full h-8 px-3 leading-8 transition-colors duration-200 ease-linear bg-white border border-gray-200 rounded shadow-none md:text-sm focus:outline-hidden focus:border-gray-600 dark:bg-dark-550 dark:border-dark-600 dark:hover:bg-dark-450 dark:hover:border-dark-450 dark:focus:bg-dark-450 dark:focus:border-dark-450 dark:text-white placeholder-gray-400 dark:placeholder-dark-400",type:"text",placeholder:e.placeholder,onFocus:t[1]||(t[1]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.select&&e.select.apply(e,t)})},null,40,ks),[[r.Jo,e.query,void 0,{trim:!0}]]),e.query?((0,r.uX)(),(0,r.Wv)(l,{key:0,ref:"closeBtn",class:"absolute top-0 right-0 w-6 h-6 mt-1 mr-1",onClick:e.clear},{default:(0,r.k6)(function(){return[(0,r.bF)(a)]}),_:1},8,["onClick"])):(0,r.Q3)("",!0)])}]]),Cs=Es,_s=(0,r.pM)({name:"DocToolbarFilters",components:{DocToolbarAccess:ws,DocToolbarMemberFilter:Cs},setup:function(){var e=(0,h.Pj)().store;return{isFiltersDirty:(0,r.EW)(function(){return e.getters.isFiltersDirty()})}}}),As=(0,a.A)(_s,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-toolbar-access"),l=(0,r.g2)("doc-toolbar-member-filter"),c=(0,r.g2)("doc-icon-filter"),u=(0,r.g2)("doc-icon"),d=(0,r.g2)("doc-dropdown");return(0,r.uX)(),(0,r.CE)("div",ds,[(0,r.Lk)("div",hs,[(0,r.bF)(a,{class:"ml-3"}),(0,r.bF)(l,{class:"ml-3"})]),(0,r.bF)(d,{class:"lg:hidden",align:"right","menu-width":"13rem"},{"button-content":(0,r.k6)(function(n){var o=n.isOpen,i=n.isFocused;return[(0,r.Lk)("button",{class:(0,r.C4)(["relative inline-flex items-center justify-center w-8 h-8 p-0 text-sm font-medium leading-none text-gray-900 whitespace-nowrap bg-body-bg border border-base-border rounded cursor-pointer select-none sm:w-auto sm:px-3 focus:outline-hidden focus:border-gray-600 dark:text-white dark:hover:bg-dark-450 transition-colors duration-200 ease-out",o||i?"border-gray-600 dark:bg-dark-450":"border-gray-400 dark:bg-dark-550"])},[e.isFiltersDirty?((0,r.uX)(),(0,r.CE)("span",fs)):(0,r.Q3)("",!0),(0,r.bF)(u,{class:"mb-0 sm:mr-1",width:"14",height:"14"},{default:(0,r.k6)(function(){return[(0,r.bF)(c)]}),_:1}),t[0]||(t[0]=(0,r.Lk)("span",{class:"hidden sm:inline"},"Filters",-1))],2)]}),default:(0,r.k6)(function(){return[(0,r.Lk)("div",ps,[(0,r.Lk)("div",ms,[(0,r.bF)(l)]),(0,r.Lk)("div",vs,[(0,r.bF)(a)])])]}),_:1})])}]]),Ts=(0,r.pM)({name:"DocToolbar",components:{DocToolbarLinks:us,DocToolbarFilters:As},setup:function(){return{checkState:(0,r.KR)(!0),selected:(0,r.KR)([])}}}),Ls=(0,a.A)(Ts,[["render",function(e,t,n,o,i,s){var a=(0,r.g2)("doc-toolbar-links"),l=(0,r.g2)("doc-toolbar-filters");return(0,r.uX)(),(0,r.CE)("div",Bi,[(0,r.bF)(a,{class:"grow-0"}),(0,r.bF)(l)])}]]);var Rs={key:0,class:"w-full px-4 py-3 text-center text-danger-800 bg-danger-100 rounded dark:bg-danger-400 dark:text-white"};const Ms=(0,r.pM)({name:"DocToolbarMemberFilterNoResults",setup:function(){var e=(0,h.Pj)().store,t=(0,r.EW)(function(){return e.state.memberFilter}),n=(0,r.EW)(function(){var t=0;return O().toolbarLinks.forEach(function(n){t+=e.getters.getVisibleGroupMembers(n.id).length}),t}),o=(0,r.EW)(function(){return 0===n.value}),i=(0,r.EW)(function(){return O().filterNotFoundMsg.replace("{query}",t.value)});return{query:t,noResults:o,notFoundMsg:i}}}),Is=(0,a.A)(Ms,[["render",function(e,t,n,o,i,s){return e.query&&e.noResults?((0,r.uX)(),(0,r.CE)("div",Rs,(0,r.v_)(e.notFoundMsg),1)):(0,r.Q3)("",!0)}]]);var Os={d:"M21 9H7c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM3 7h18c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1zM21 13H3c-.55 0-1 .45-1 1s.45 1 1 1h18c.55 0 1-.45 1-1s-.45-1-1-1zM21 17H7c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1z"};const Ds=(0,r.pM)({name:"DocIconAlignRight"}),Ps=(0,a.A)(Ds,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Os)}]]);var Ns={d:"M19 11H7.41l5.29-5.29a.996.996 0 10-1.41-1.41l-7 7a1 1 0 000 1.42l7 7a1.024 1.024 0 001.42-.01.996.996 0 000-1.41L7.41 13H19c.55 0 1-.45 1-1s-.45-1-1-1z"};const Fs=(0,r.pM)({name:"DocIconArrowLeft"}),Ws=(0,a.A)(Fs,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Ns)}]]);var Bs={d:"M19.92 12.38a1 1 0 00-.22-1.09l-7-7a.996.996 0 10-1.41 1.41l5.3 5.3H5c-.55 0-1 .45-1 1s.45 1 1 1h11.59l-5.29 5.29a.996.996 0 000 1.41c.19.2.44.3.7.3s.51-.1.71-.29l7-7c.09-.09.16-.21.21-.33z"};const Vs=(0,r.pM)({name:"DocIconArrowRight"}),Hs=(0,a.A)(Vs,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Bs)}]]);var qs={d:"M19.71 11.29l-7-7a1 1 0 00-1.42 0l-7 7A.996.996 0 105.7 12.7L11 7.41V19c0 .55.45 1 1 1s1-.45 1-1V7.41l5.29 5.29c.2.2.45.3.71.3s.51-.1.71-.29c.39-.39.39-1.03 0-1.42z"};const js=(0,r.pM)({name:"DocIconArrowTop"}),zs=(0,a.A)(js,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",qs)}]]);var $s={d:"M21.67 6.68c-.02-.07-.03-.15-.07-.22a.967.967 0 00-.25-.28c-.24-.3-.51-.58-.85-.78l-7-4c-.93-.53-2.08-.54-3 0l-7 4c-.35.2-.62.48-.86.79-.09.08-.17.16-.24.27-.03.07-.05.14-.07.21C2.13 7.08 2 7.53 2 8v8c0 1.07.58 2.06 1.5 2.6l7 4c.32.18.66.28 1.01.34.15.09.31.15.49.15s.34-.06.49-.15c.35-.06.69-.15 1.01-.34l7-4c.92-.54 1.5-1.53 1.5-2.6V8c0-.47-.13-.91-.33-1.32zM11.5 3.14c.15-.09.33-.14.5-.14.17 0 .35.05.5.14l6.46 3.69L12 10.85 5.04 6.83l6.46-3.69zm-7 13.73c-.31-.18-.5-.52-.5-.87V8.54l7 4.05v7.99l-6.5-3.71zm15-.01L13 20.58v-7.99l7-4.05V16c0 .35-.19.69-.5.86z"};const Xs=(0,r.pM)({name:"DocIconBox"}),Ks=(0,a.A)(Xs,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",$s)}]]);var Us={d:"M9 18.5c-.38 0-.77-.15-1.06-.44l-5-5a1.49 1.49 0 010-2.12 1.49 1.49 0 012.12 0L9 14.88l9.94-9.94a1.49 1.49 0 012.12 0c.59.59.59 1.54 0 2.12l-11 11c-.29.29-.68.44-1.06.44z"};const Gs=(0,r.pM)({name:"DocIconCheck"}),Qs=(0,a.A)(Gs,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Us)}]]);var Ys=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Js=(0,r.pM)({name:"DocIconCheckCircle"}),Zs=(0,a.A)(Js,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Ys([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M21 9.09c-.55 0-1 .45-1 1v.92c0 4.96-4.04 8.99-9 8.99-4.97 0-9-4.04-9-9s4.04-9 9-9c1.27 0 2.5.26 3.66.78.51.22 1.1 0 1.32-.51.23-.5 0-1.1-.51-1.32C14.06.32 12.56 0 11.01 0H11C4.94 0 0 4.93 0 10.99 0 17.06 4.93 22 10.99 22H11c6.06 0 11-4.93 11-10.99v-.92c0-.56-.45-1-1-1z"},null,-1),(0,r.Lk)("path",{d:"M8.71 9.31a.996.996 0 10-1.41 1.41l3 3c.19.19.44.29.71.29.27 0 .52-.11.71-.29l10-10.01a.996.996 0 10-1.41-1.41L11 11.6 8.71 9.31z"},null,-1)]),!0))}]]);var ea={d:"M12 16c-.26 0-.51-.1-.71-.29l-6-6A.996.996 0 116.7 8.3l5.3 5.29 5.29-5.29a.996.996 0 111.41 1.41l-6 6c-.19.19-.44.29-.7.29z"};const ta=(0,r.pM)({name:"DocIconChevronDown"}),na=(0,a.A)(ta,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",ea)}]]);var ra={d:"M15.71 11.29l-6-6A.996.996 0 108.3 6.7l5.29 5.3-5.29 5.29a.996.996 0 000 1.41c.19.2.44.3.7.3s.51-.1.71-.29l6-6c.39-.39.39-1.03 0-1.42z"};const oa=(0,r.pM)({name:"DocIconChevronRight"}),ia=(0,a.A)(oa,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",ra)}]]);var sa={d:"M8.954 17H2.75A1.75 1.75 0 0 1 1 15.25V3.75C1 2.784 1.784 2 2.75 2h18.5c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0 1 21.25 17h-6.204c.171 1.375.805 2.652 1.769 3.757A.752.752 0 0 1 16.25 22h-8.5a.75.75 0 0 1-.565-1.243c.964-1.105 1.598-2.382 1.769-3.757ZM21.5 3.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25v11.5c0 .138.112.25.25.25h18.5a.25.25 0 0 0 .25-.25ZM13.537 17h-3.074c-.126 1.266-.564 2.445-1.223 3.5h5.52c-.659-1.055-1.098-2.234-1.223-3.5Z"};const aa=(0,r.pM)({name:"DocIconDeviceDesktop"}),la=(0,a.A)(aa,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",sa)}]]);var ca={d:"M20.92 8.62a.875.875 0 00-.22-.32l-7-7A.995.995 0 0013 1H6C4.35 1 3 2.35 3 4v16c0 1.65 1.35 3 3 3h12c1.65 0 3-1.35 3-3V9c0-.13-.03-.26-.08-.38zM14 4.41L17.59 8H14V4.41zM18 21H6c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h6v6c0 .55.45 1 1 1h6v10c0 .55-.45 1-1 1z"};const ua=(0,r.pM)({name:"DocIconFile"}),da=(0,a.A)(ua,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",ca)}]]);var ha={d:"M2.75 6a.75.75 0 0 0 0 1.5h18.5a.75.75 0 0 0 0-1.5H2.75ZM6 11.75a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H6.75a.75.75 0 0 1-.75-.75Zm4 4.938a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"};const fa=(0,r.pM)({name:"DocIconFilter"}),pa=(0,a.A)(fa,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",ha)}]]);var ma={d:"M2 4.75C2 3.784 2.784 3 3.75 3h4.971c.58 0 1.12.286 1.447.765l1.404 2.063c.046.069.124.11.207.11h8.471c.966 0 1.75.783 1.75 1.75V19.25A1.75 1.75 0 0 1 20.25 21H3.75A1.75 1.75 0 0 1 2 19.25Zm1.75-.25a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V7.687a.25.25 0 0 0-.25-.25h-8.471a1.75 1.75 0 0 1-1.447-.765L8.928 4.61a.252.252 0 0 0-.208-.11Z"};const va=(0,r.pM)({name:"DocIconFolder"}),ga=(0,a.A)(va,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",ma)}]]);var ba=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const ya=(0,r.pM)({name:"DocIconHistory"}),wa=(0,a.A)(ya,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,ba([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M12.01 6.01c-.55 0-1 .45-1 1V12a1 1 0 00.4.8l3 2.22a.985.985 0 001.39-.2.996.996 0 00-.21-1.4l-2.6-1.92V7.01c.02-.55-.43-1-.98-1z"},null,-1),(0,r.Lk)("path",{d:"M12.01 1.91c-5.33 0-9.69 4.16-10.05 9.4l-.29-.26a.997.997 0 10-1.34 1.48l1.97 1.79c.19.17.43.26.67.26s.48-.09.67-.26l1.97-1.79a.997.997 0 10-1.34-1.48l-.31.28c.34-4.14 3.82-7.41 8.05-7.41 4.46 0 8.08 3.63 8.08 8.09s-3.63 8.08-8.08 8.08c-2.18 0-4.22-.85-5.75-2.4a.996.996 0 10-1.42 1.4 10.02 10.02 0 007.17 2.99c5.56 0 10.08-4.52 10.08-10.08.01-5.56-4.52-10.09-10.08-10.09z"},null,-1)]),!0))}]]);var Sa={d:"M21.61 8.21l-9-7c-.36-.28-.87-.28-1.23 0l-9 7C2.14 8.4 2 8.69 2 9v11c0 1.65 1.35 3 3 3h14c1.65 0 3-1.35 3-3V9c0-.31-.14-.6-.39-.79zM14 21h-4v-8h4v8zm6-1c0 .55-.45 1-1 1h-3v-9c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v9H5c-.55 0-1-.45-1-1V9.49l8-6.22 8 6.22V20z"};const ka=(0,r.pM)({name:"DocIconHome"}),xa=(0,a.A)(ka,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Sa)}]]);var Ea=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Ca=(0,r.pM)({name:"DocIconInfo"}),_a=(0,a.A)(Ca,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Ea([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9z"},null,-1),(0,r.Lk)("path",{d:"M12 11c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1zM12.01 7c-.56 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z"},null,-1),(0,r.Lk)("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1)]),!0))}]]);var Aa=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Ta=(0,r.pM)({name:"DocIconLayers"}),La=(0,a.A)(Ta,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Aa([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M.55 6.89l10 5c.14.07.3.11.45.11s.31-.04.45-.11l10-5c.34-.16.55-.51.55-.89s-.21-.73-.55-.89l-10-5a.995.995 0 00-.89 0l-10 5C.21 5.27 0 5.62 0 6s.21.73.55.89zM11 2.12L18.76 6 11 9.88 3.24 6 11 2.12zM20.55 15.11L11 19.88 1.45 15.1c-.49-.25-1.09-.05-1.34.45s-.05 1.09.45 1.34l10 5a.956.956 0 00.89 0l10-5c.49-.25.69-.85.45-1.34-.25-.49-.85-.69-1.35-.44z"},null,-1),(0,r.Lk)("path",{d:"M20.55 10.11L11 14.88 1.45 10.1a.993.993 0 00-1.34.45.993.993 0 00.45 1.34l10 5a.956.956 0 00.89 0l10-5c.49-.25.69-.85.45-1.34-.25-.49-.85-.69-1.35-.44z"},null,-1)]),!0))}]]);var Ra=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Ma=(0,r.pM)({name:"DocIconLink"}),Ia=(0,a.A)(Ma,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Ra([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M21.11 2.75a5.98 5.98 0 00-8.35.01l-1.72 1.71a.996.996 0 101.41 1.41l1.71-1.7c1.56-1.5 4-1.5 5.56 0 1.59 1.53 1.63 4.07.11 5.64l-3 3c-.13.13-.28.26-.43.38a4.003 4.003 0 01-5.6-.81c-.33-.44-.96-.53-1.4-.2-.44.33-.53.96-.2 1.4a5.999 5.999 0 004.81 2.4c1.25 0 2.51-.39 3.58-1.19.23-.17.45-.36.65-.56l3.01-3.01a5.991 5.991 0 00-.14-8.48z"},null,-1),(0,r.Lk)("path",{d:"M11.53 18.11l-1.7 1.7c-1.56 1.5-4 1.5-5.56 0-1.59-1.53-1.63-4.07-.11-5.64l3-3c.14-.14.28-.26.43-.38a3.997 3.997 0 015.6.8c.33.44.96.53 1.4.2.44-.33.53-.96.2-1.4a5.93 5.93 0 00-3.95-2.34c-1.58-.22-3.15.18-4.44 1.14-.23.17-.44.36-.65.56l-3.01 3.01c-2.3 2.38-2.23 6.19.15 8.48a5.956 5.956 0 004.16 1.69c1.5 0 3.01-.57 4.19-1.7l1.71-1.71c.39-.39.39-1.02 0-1.41s-1.03-.39-1.42 0z"},null,-1)]),!0))}]]);var Oa={d:"M2 4h20v2H2zM2 11h20v2H2zM2 18h20v2H2z"};const Da=(0,r.pM)({name:"DocIconMenu"}),Pa=(0,a.A)(Da,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Oa)}]]);var Na={d:"M19 13H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1z"};const Fa=(0,r.pM)({name:"DocIconMinus"}),Wa=(0,a.A)(Fa,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Na)}]]);var Ba=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Va=(0,r.pM)({name:"DocIconMoon"}),Ha=(0,a.A)(Va,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Ba([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M11 22C4.93 22 0 17.07 0 11S4.93 0 11 0s11 4.93 11 11-4.93 11-11 11zm0-20c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9z"},null,-1),(0,r.Lk)("path",{d:"M16.5 11c0 3.05-2.46 5.51-5.49 5.51-2.16 0-4.02-1.25-4.92-3.05-.11-.22.08-.49.32-.43 1.15.28 2.43.2 3.71-.42 1.88-.9 3.07-2.89 3.06-4.97 0-.42-.05-.83-.15-1.22-.06-.24.21-.43.43-.32 1.79.88 3.04 2.74 3.04 4.9z"},null,-1)]),!0))}]]);var qa=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const ja=(0,r.pM)({name:"DocIconMoreHorizontal"}),za=(0,a.A)(ja,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,qa([],t[0]||(t[0]=[(0,r.Lk)("circle",{cx:"12",cy:"12",r:"2"},null,-1),(0,r.Lk)("circle",{cx:"19",cy:"12",r:"2"},null,-1),(0,r.Lk)("circle",{cx:"5",cy:"12",r:"2"},null,-1)]),!0))}]]);var $a={d:"M19 11h-6V5c0-.55-.45-1-1-1s-1 .45-1 1v6H5c-.55 0-1 .45-1 1s.45 1 1 1h6v6c0 .55.45 1 1 1s1-.45 1-1v-6h6c.55 0 1-.45 1-1s-.45-1-1-1z"};const Xa=(0,r.pM)({name:"DocIconPlus"}),Ka=(0,a.A)(Xa,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",$a)}]]);var Ua=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};const Ga=(0,r.pM)({name:"DocIconQuestion"}),Qa=(0,a.A)(Ga,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("g",null,Ua([],t[0]||(t[0]=[(0,r.Lk)("path",{d:"M20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C15.9706 20 20 15.9706 20 11ZM22 11C22 17.0751 17.0751 22 11 22C4.92487 22 0 17.0751 0 11C0 4.92487 4.92487 0 11 0C17.0751 0 22 4.92487 22 11Z"},null,-1),(0,r.Lk)("path",{d:"M8.89368 5.54722C9.70794 5.06874 10.665 4.8935 11.5958 5.05308C12.5267 5.21276 13.3713 5.6968 13.9796 6.41929C14.5877 7.14169 14.9212 8.0561 14.92 9.00035L14.9074 9.28062C14.7798 10.6552 13.7345 11.5758 12.9747 12.0824C12.5393 12.3727 12.1107 12.5857 11.795 12.7259C11.6358 12.7967 11.5011 12.8503 11.4044 12.8871C11.3561 12.9055 11.3167 12.9199 11.2882 12.93C11.2741 12.9351 11.2628 12.9397 11.254 12.9427C11.2498 12.9442 11.2462 12.9457 11.2433 12.9466C11.242 12.9471 11.2404 12.9473 11.2394 12.9476L11.2374 12.9486H11.2365L11.1378 12.9759C10.6432 13.087 10.1346 12.8071 9.97083 12.3158C9.79672 11.7926 10.0791 11.2264 10.6017 11.0511V11.0521L10.6036 11.0511C10.6063 11.0502 10.6113 11.0487 10.6183 11.0462C10.6336 11.0408 10.6591 11.0316 10.6925 11.0189C10.7599 10.9932 10.8606 10.953 10.9825 10.8988C11.2293 10.7891 11.551 10.6279 11.8654 10.4183C12.5548 9.95872 12.9198 9.46936 12.92 9.00035V8.9984L12.9122 8.82261C12.8768 8.41362 12.7165 8.02363 12.4503 7.70738C12.1461 7.34604 11.7235 7.10364 11.2579 7.02379C10.7925 6.944 10.3135 7.03158 9.90638 7.27086C9.49929 7.51011 9.1901 7.88601 9.03333 8.3314L8.99427 8.42613C8.7787 8.88497 8.24645 9.11555 7.75794 8.94371C7.23704 8.76045 6.96349 8.18924 7.14661 7.66832L7.20911 7.5023C7.53839 6.68391 8.1303 5.99587 8.89368 5.54722Z"},null,-1),(0,r.Lk)("path",{d:"M11.0098 15L11.1123 15.0049C11.6165 15.0561 12.0098 15.4822 12.0098 16C12.0098 16.5178 11.6165 16.9439 11.1123 16.9951L11.0098 17H11C10.4477 17 10 16.5523 10 16C10 15.4477 10.4477 15 11 15H11.0098Z"},null,-1)]),!0))}]]);var Ya={d:"M21.71 20.29l-3.68-3.68A8.963 8.963 0 0020 11c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9c2.12 0 4.07-.74 5.61-1.97l3.68 3.68c.2.19.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.03 0-1.42zM4 11c0-3.86 3.14-7 7-7s7 3.14 7 7c0 1.92-.78 3.66-2.04 4.93-.01.01-.02.01-.02.01-.01.01-.01.01-.01.02A6.98 6.98 0 0111 18c-3.86 0-7-3.14-7-7z"};const Ja=(0,r.pM)({name:"DocIconSearch"}),Za=(0,a.A)(Ja,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",Ya)}]]);var el={d:"M12 23c-.15 0-.31-.04-.45-.11C11.2 22.72 3 18.54 3 12V5c0-.42.26-.79.65-.94l8-3c.23-.08.48-.08.7 0l8 3c.39.15.65.52.65.94v7c0 6.54-8.2 10.72-8.55 10.89-.14.07-.3.11-.45.11zM5 5.69V12c0 4.55 5.39 7.95 7 8.86 1.61-.92 7-4.33 7-8.86V5.69l-7-2.63-7 2.63z"};const tl=(0,r.pM)({name:"DocIconShield"}),nl=(0,a.A)(tl,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",el)}]]);var rl={d:"M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zM12 4c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zM12 20c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1zM4.93 6.35c.2.2.45.29.71.29s.51-.1.71-.29a.996.996 0 000-1.41L4.93 3.51a.996.996 0 10-1.41 1.41l1.41 1.43zM19.07 17.65a.996.996 0 10-1.41 1.41l1.42 1.42c.2.2.45.29.71.29s.51-.1.71-.29a.996.996 0 000-1.41l-1.43-1.42zM4 12c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1zM23 11h-2c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1-.45 1-1s-.45-1-1-1zM4.93 17.65l-1.42 1.42a.996.996 0 00.71 1.7c.26 0 .51-.1.71-.29l1.42-1.42c.39-.39.39-1.02 0-1.41s-1.03-.39-1.42 0zM18.36 6.64c.26 0 .51-.1.71-.29l1.42-1.42a.996.996 0 10-1.41-1.41l-1.42 1.42a.996.996 0 00.7 1.7z"};const ol=(0,r.pM)({name:"DocIconSun"}),il=(0,a.A)(ol,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",rl)}]]);var sl={d:"M13.41 12l5.29-5.29a.996.996 0 10-1.41-1.41L12 10.59l-5.29-5.3A.996.996 0 105.3 6.7l5.29 5.3-5.29 5.29a.996.996 0 000 1.41c.19.2.44.3.7.3s.51-.1.71-.29l5.29-5.3 5.29 5.29c.2.2.45.3.71.3s.51-.1.71-.29a.996.996 0 000-1.41l-5.3-5.3z"};const al=(0,r.pM)({name:"DocIconX"}),ll=(0,a.A)(al,[["render",function(e,t,n,o,i,s){return(0,r.uX)(),(0,r.CE)("path",sl)}]])},1441(e,t,n){"use strict";n.d(t,{r:()=>s});var r=n(2302),o=n(5493),i=n(6695);function s(){var e=(0,r.D)().scrollTo;function t(e){var t=e.startsWith("#")?e.slice(1):e,n=document.getElementById(t);if(!n)for(var r=0,o=Array.from(document.querySelectorAll("[id]"));r<o.length;r++){var i=o[r];if(i.id.toLowerCase()===t.toLowerCase()){n=i;break}}return n||(n=document.querySelector(e)),n}function n(n,r){if(void 0===r&&(r={}),i.M_.state.isScrollPositionRestored)return!1;if(!t(n))return!1;var s=n.startsWith("#")?n.slice(1):n;r.resetPosition&&window.scrollTo(0,0);var a=r.resetPosition?50:0;return setTimeout(function(){e(n,{offset:o.gj,onStart:function(){i.M_.actions.updateScrolledElementId(s)}})},a),!0}return{findAnchorElement:t,scrollToAnchor:n,handleAnchorNavigation:function(e,t){void 0===t&&(t={});var r=e||window.location.hash;if(r){var o=t.isPageLoad,s=void 0!==o&&o,a=t.maxRetries,l=void 0===a?2:a,c=t.retryDelay,u=void 0===c?100:c;if(!s||!i.M_.state.isScrollPositionRestored){var d=0,h=function(){!n(r,{resetPosition:s})&&d<l&&(d++,setTimeout(h,u*d))};setTimeout(h,s?1:0)}}}}}},4365(e,t,n){"use strict";n.d(t,{m:()=>o});var r=n(3137);function o(e){(0,r._q)(document.body,"click",function(t){e(t)})}},3137(e,t,n){"use strict";n.d(t,{Mk:()=>s,YF:()=>i,_q:()=>o});var r=n(1425);function o(e,t,n){var o=function(){return e.removeEventListener(t,n)};return(0,r.sV)(function(){e&&e.addEventListener(t,n)}),(0,r.xo)(o),o}function i(e,t,n,r,i){return o(e,t,s(n,r,i))}function s(e,t,n){var r,o=0,i=-1;return function(){++o%t===0?e():(i=o,r||(r=setTimeout(function(){var t=i>=o;o=0,i=-1,r=void 0,t&&e()},n,null)))}}},5601(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(1425),o=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function s(e){var t=(0,r.KR)(),n=(0,r.KR)(!1),s=(0,r.KR)(null);return{result:t,loading:n,error:s,execute:function(r,a){return o(this,void 0,void 0,function(){var o,l,c,u;return i(this,function(i){switch(i.label){case 0:return i.trys.push([0,6,7,8]),n.value=!0,[4,fetch(r,a)];case 1:if(!(o=i.sent()).ok)throw new Error(o.statusText);return e?[4,e(o)]:[3,3];case 2:return c=i.sent(),[3,5];case 3:return[4,o.json()];case 4:c=i.sent(),i.label=5;case 5:return l=c,t.value=l,[3,8];case 6:return u=i.sent(),s.value=u,[3,8];case 7:return n.value=!1,[7];case 8:return[2]}})})}}}},7356(e,t,n){"use strict";n.d(t,{Rh:()=>i,a9:()=>a,rk:()=>s});var r=n(7783),o=n(1425),i=(0,r.y$)("retype","store"),s=Symbol("DocsIdbStore");function a(){return{idbStore:(0,o.WQ)(s)}}},6684(e,t,n){"use strict";n.d(t,{q:()=>c,r:()=>u});var r=n(1425),o=n(3137);var i=(0,r.KR)({path:"/"});function s(e,t){if("string"==typeof t)"push"===e?window.history.pushState(null,"",t):"replace"===e&&window.history.replaceState(null,"",t);else{if("object"!=typeof t)throw new Error("Invalid type. Expected a string or a Route object for new route location.");var n=t.path?t.path:window.location.href,r="";t.query&&(r=function(e){if(!Object.keys(e).length)return"";var t="?",n=[];return Object.keys(e).forEach(function(t){n.push("".concat(t,"=").concat(e[t]))}),t+n.join("&")}(t.query));var o="".concat(n).concat(r).concat(t.hash);"push"===e?window.history.pushState(null,"",o):"replace"===e&&window.history.replaceState(null,"",o)}a()}function a(){var e,t;i.value={path:window.location.pathname?decodeURIComponent(window.location.pathname):"",query:(e=window.location.search,t={},""===e||"?"===e||(e=e.trim().replace(/^(\?|#|&)/,"")).split("&").forEach(function(e){var n=e.split("="),r=n[0],o=n[1];r=decodeURIComponent(r);var i=null==o?null:decodeURIComponent(o);t[r]=i}),t),hash:window.location.hash?decodeURIComponent(window.location.hash):""}}var l={replace:function(e){return s("replace",e)},push:function(e){return s("push",e)}};function c(){(0,o._q)(window,"turbo:visit",function(){a()}),(0,o._q)(window,"hashchange",function(){(0,r.dY)(function(){a()})})}function u(){return a(),{route:i,Router:l}}},3772(e,t,n){"use strict";n.d(t,{Rc:()=>x,Se:()=>T,SQ:()=>L});var r=n(1425),o=n(7783),i=n(181),s=n.n(i),a=n(89),l=n(5431),c=n.n(l);const u=()=>window.__DOCS_LUNR__;var d=n.n(u),h=n(7356),f=n(4365),p=n(2302),m=n(6695),v=n(5493),g=n(4501),b=n(5601),y=n(6514),w=n(5780),S=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},k=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},x=Symbol("DocsSearch"),E=(0,h.a9)().idbStore,C=!1;function _(e,t){return S(this,void 0,void 0,function(){var n,r,o,i;return k(this,function(s){switch(s.label){case 0:return n={map:null,index:null},e.length&&t?(n.map=function(e,t){var n=0,r=0,o=new Map,i=c().appendDocumentName?c().documentName:"";return function e(t,s,a){t.forEach(function(t){var l=a?a+" > "+t.label:t.label,u=t.clickable&&!1===t.visible;t.clickable&&(s[r].forEach(function(e,r){var s,a,d,h,f,p=e.i||(null===(s=e.l)||void 0===s?void 0:s.toLowerCase().replace(/[.:;,!?'"()[\]{}<>@#$%^&*+=|\\\/~`\u2013\u2014\u2015\u2010\u2011\u2012]/g,"").replace(/\s/g,"-"));if(p&&(e.l||(null===(a=e.p)||void 0===a?void 0:a.length)||(null===(d=e.c)||void 0===d?void 0:d.length))){var m=p&&"#"!==p?"#"+p:"",v="/"===t.path?"".concat(i).concat(m):!c().trailingSlash&&i&&t.path?"".concat(t.path,"/").concat(i).concat(m):"".concat(t.path).concat(i).concat(m),g=0===r&&e.l&&v.split("#")[0]||v;e.l&&o.set((++n).toString(),{path:g,text:e.l,heading:e.l,page:l,isBlog:u||void 0}),(null===(h=e.p)||void 0===h?void 0:h.length)&&e.p.forEach(function(t){o.set((++n).toString(),{path:g,text:t,heading:e.l,page:l,isBlog:u||void 0})}),(null===(f=e.c)||void 0===f?void 0:f.length)&&e.c.forEach(function(t){o.set((++n).toString(),{path:g,text:t,heading:e.l,page:l,isCode:!0})})}}),r++),t.children&&e(t.children,s,l)})}(e,t,""),o}(e,t),null==n.map?[3,2]:[4,(0,w.L)("lunr-js",d())]):[2,n];case 1:(r=s.sent())&&(o=[],null===(i=n.map)||void 0===i||i.forEach(function(e,t){return o.push([t,e])}),n.index=r.createIndex(o)),s.label=2;case 2:return[2,n]}})})}function A(){return"/"===c().base?"search":c().base+"search"}function T(){return S(this,void 0,void 0,function(){var e;return k(this,function(t){switch(t.label){case 0:return e=A(),[4,(0,o.yH)(e,E)];case 1:return t.sent(),C=!0,[2]}})})}function L(e){var t=this,n=(0,m.Pj)().store,i=(0,r.KR)(null),l=(0,r.KR)(null),u=(0,r.EW)(function(){return n.state.searchQuery}),h=(0,r.KR)([]),x=(0,r.KR)(!1),T=(0,r.KR)(!1),L=(0,r.KR)(-1),R=(0,r.EW)(function(){var t;return null===(t=e.value)||void 0===t?void 0:t.querySelector("input")});function M(e){return S(this,void 0,void 0,function(){var t,n,r,o,s,a,u,f,p,m,v,g,b,y,S,x,E,C,_,A,T,L,R,M,D,P,N,F,W,B,V,H,q,j,z,$,X,K,U,G;return k(this,function(k){switch(k.label){case 0:return l.value&&i.value?e?e.length>=c().search.minChars?(t=[],n=e.toLowerCase().trim(),[4,(0,w.L)("lunr-js",d())]):[3,2]:(h.value=[],[2]):[2];case 1:if((r=k.sent())&&(t=r.query(l.value,n)),o=n.includes(" "),s=[],a=new Set,u=3*c().search.maxResults,o)for(f=[],i.value.forEach(function(e,t){var r,o,i,s=null!==(r=e.text)&&void 0!==r?r:"",a=null!==(o=e.heading)&&void 0!==o?o:"",l=a.length>=n.length&&a.toLowerCase().includes(n),c=!l&&s.length>=n.length&&s.toLowerCase().includes(n);(l||c)&&f.push({key:t,path:null!==(i=e.path)&&void 0!==i?i:"",score:l?1e3:500})}),f.sort(function(e,t){return t.score-e.score}),p=0,m=f;p<m.length&&(v=m[p],!(s.length>=u));p++)if(!a.has(v.path)){for(a.add(v.path),x=i.value.get(v.key),g=(null!==(H=x.text)&&void 0!==H?H:"").toLowerCase(),C=[],b=0;b<g.length&&-1!==(y=g.indexOf(n,b));)C.push([y,y+n.length]),b=y+1;s.push({item:{id:v.key,path:v.path,heading:null!==(q=x.heading)&&void 0!==q?q:"",page:null!==(j=x.page)&&void 0!==j?j:"",text:O(null!==(z=x.text)&&void 0!==z?z:"",C),isCode:x.isCode,isBlog:x.isBlog},score:v.score})}for(S=0;S<t.length&&!(s.length>=u);S++)(x=i.value.get(t[S].ref))&&(E=null!==($=x.path)&&void 0!==$?$:"",a.has(E)||(a.add(E),C=I(null===(X=t[S].matchData)||void 0===X?void 0:X.metadata),_=O(null!==(K=x.text)&&void 0!==K?K:"",C),A=x.isBlog?1.2:1,s.push({item:{id:t[S].ref,path:E,heading:null!==(U=x.heading)&&void 0!==U?U:"",page:null!==(G=x.page)&&void 0!==G?G:"",text:_,isCode:x.isCode,isBlog:x.isBlog},score:t[S].score*A})));for(s.sort(function(e,t){return t.score-e.score}),T=s.slice(0,c().search.maxResults),L=[],R=new Map,M=0,D=T;M<D.length;M++)P=D[M],N=P.item.path.split("#")[0],R.has(N)||(L.push(N),R.set(N,[])),R.get(N).push(P);for(F=[],W=0,B=L;W<B.length;W++)V=B[W],F.push.apply(F,R.get(V));h.value=F.map(function(e){return e.item}),k.label=2;case 2:return[2]}})})}function I(e){var t,n,r,o=[],i=e;if(i)for(var s in i)for(var a=0,l=["text","heading"];a<l.length;a++){var c=l[a],u=null===(n=null===(t=i[s])||void 0===t?void 0:t[c])||void 0===n?void 0:n.position;if(null==u?void 0:u.length)for(var d=0;d<u.length;++d)2===(null===(r=u[d])||void 0===r?void 0:r.length)&&u[d][1]>0&&o.push([u[d][0],u[d][0]+u[d][1]])}return o}function O(e,t,n){if(void 0===n&&(n=24),!t.length){var r=e.trim().split(/\s+/).filter(function(e){return e});return r.length>n&&(r=r.slice(0,n)).push("..."),r.join(" ")}t.sort(function(e,t){return e[0]-t[0]});for(var o=0;o<t.length;++o){for(;t[o][0]>0&&!/\s/.test(e[t[o][0]-1]);)--t[o][0];for(;t[o][1]<e.length&&!/\s/.test(e[t[o][1]]);)++t[o][1]}for(o=t.length-2;o>=0;--o)t[o][1]>=t[o+1][0]&&(t[o][1]=Math.max(t[o][1],t[o+1][1]),t.splice(o+1,1));var i=[],s=0,a=-1,l=-1;for(o=0;o<t.length;++o){var c=t[o][0],u=t[o][1],d=e.slice(s,c);if(d){var h=d.trim().split(/\s+/).filter(function(e){return e}).map(function(e){return[e,!1]});i.push.apply(i,h)}-1===a?(a=i.length,l=i.length):l=i.length,i.push(['<mark class="bg-search-highlight-bg text-inherit font-semibold rounded-sm px-0.5">'.concat(e.slice(c,u),"</mark>"),!0]),s=u}if(s<e.length){var f=e.slice(s);if(f){var p=f.trim().split(/\s+/).filter(function(e){return e}).map(function(e){return[e,!1]});i.push.apply(i,p)}}for(var m=0,v=1+l-a,g=i.length-1;v<n;){if(a>0&&(m%2==0||l>=g))--a;else{if(!(l<g))break;++l}++m,++v}v>n&&(l-=v-n);var b=i.slice(a,l+1).map(function(e){return e[0]});return a>0&&b.splice(0,0,"..."),l<i.length-1&&b.push("..."),b.join(" ")}(0,r.wB)(u,s()(function(e){return S(this,void 0,void 0,function(){return k(this,function(t){switch(t.label){case 0:return[4,M(e)];case 1:return t.sent(),L.value=-1,e.length>=c().search.minChars||h.value.length>0?x.value=!0:x.value=!1,[2]}})})},350)),(0,f.m)(function(t){var n,r=t.target;e.value===r||(null===(n=e.value)||void 0===n?void 0:n.contains(r))||(T.value=!1)});var D=(0,p.D)().scrollTo;function P(e,t){var o;if(x.value=!1,T.value=!1,L.value=-1,setTimeout(function(){var e;null===(e=R.value)||void 0===e||e.blur()},100),e){var i=N(e,t);(0,a.YR)(i);var s=null===(o=i.split("/").pop())||void 0===o?void 0:o.substring(1);if(s&&document.getElementById(s)){if(s.split("-").length>1){var l=!1;for(var c in n.state.memberGroups){if(l)break;for(var u in n.state.memberGroups[c])if(s===u){n.state.memberGroups[c][u].isOpen=!0,l=!0;break}}}(0,r.dY)(function(){D("#".concat(s),{offset:v.gj,onDone:function(){n.actions.updateScrolledElementId(s)}})})}}}function N(e,t){return t=null!=t?t:(0,g.CB)(),e.startsWith("#")?(0,g.Ec)(t)+e:t+e}function F(){if(L.value<0){var e=document.querySelector(".simplebar-content-wrapper");e&&(e.scrollTop=0)}else{var t=document.querySelector('[data-result-index="'.concat(L.value,'"]'));if(t){var n=t.closest(".simplebar-content-wrapper");if(n){var r=n.getBoundingClientRect(),o=t.getBoundingClientRect();o.bottom>r.bottom?n.scrollTop+=o.bottom-r.bottom:o.top<r.top&&(n.scrollTop-=r.top-o.top)}else t.scrollIntoView({block:"nearest"})}}}var W=c().preloadSearch?(0,b.s)(function(e){return S(t,void 0,void 0,function(){var t,n,r;return k(this,function(o){switch(o.label){case 0:return"file:"===location.protocol.toLowerCase()?[2,void 0]:[4,e.text()];case 1:return t=o.sent(),n=t.indexOf("="),r=t.slice(n+1).trim().slice(0,-1),[2,JSON.parse(r)]}})})}):(0,b.s)(),B=W.execute,V=W.error,H=W.result,q=c().preloadSearch?"js":"json",j=c().cacheBustingToken&&"none"!=c().cacheBustingStrategy?"path"==c().cacheBustingStrategy?"".concat(location.origin).concat(y.h6,".").concat(c().cacheBustingToken,".").concat(q):"".concat(location.origin).concat(y.h6,".").concat(q,"?v=").concat(c().cacheBustingToken):"".concat(location.origin).concat(y.h6,".").concat(q),z=(0,r.EW)(function(){return n.state.sidebar}),$=A();(0,r.wB)(T,function(e){e&&(!function(){S(this,void 0,void 0,function(){var e,t,n,r,s,a,u;return k(this,function(h){switch(h.label){case 0:return[4,(0,o.Jt)($,E)];case 1:return(e=h.sent())&&e.id===c().id?(i.value||(i.value=e.map),l.value?[3,3]:[4,(0,w.L)("lunr-js",d())]):[3,4];case 2:(t=h.sent())&&(n=JSON.parse(e.index),l.value=t.loadIndex(n)),h.label=3;case 3:return[3,10];case 4:return[4,(0,o.yH)($,E)];case 5:return h.sent(),r=void 0,!C&&c().preloadSearch?[3,7]:[4,B(j)];case 6:if(h.sent(),V.value)throw new Error("Error fetching search data. ".concat(V.value));r=H.value,h.label=7;case 7:return r||(r=window.__DOCS_SEARCH__),C=!1,[4,_(z.value.data,r)];case 8:return s=h.sent(),a=s.index,u=s.map,i.value=u,l.value=a,[4,(0,o.hZ)($,{index:JSON.stringify(a),map:u,id:c().id},E)];case 9:h.sent(),h.label=10;case 10:return[2]}})})}(),F())});var X=(0,r.Kh)({input:R,isOpen:x,isFocused:T,results:h,focusIndex:L,clear:function(){var e;n.actions.updateSearchQuery(""),L.value=-1,null===(e=R.value)||void 0===e||e.focus()},onKeydown:function(e){if(h.value.length)switch(e.code){case"ArrowDown":e.preventDefault(),L.value<h.value.length-1&&(L.value++,F());break;case"ArrowUp":e.preventDefault(),L.value>-1&&(L.value--,F());break;case"Enter":e.preventDefault(),L.value>=0&&P(h.value[L.value].path);break;case"Escape":x.value=!1,n.actions.updateSearchQuery("")}},navigateToResult:P,getResultFullPath:N});return X}},2302(e,t,n){"use strict";function r(){var e={duration:500,offset:0},t=null;return{scrollTo:function(n,r){var o,i=Object.assign({},e,r),s=decodeURI(n),a=null!==(o=document.getElementById(n.startsWith("#")?s.slice(1):n))&&void 0!==o?o:document.querySelector(s);if(!a)throw new Error("Invalid target");var l="function"==typeof i.offset?i.offset():i.offset,c=a.getBoundingClientRect().top,u=window.scrollY||window.pageYOffset,d=c+u-u+l;i.onStart&&"function"==typeof i.onStart&&i.onStart(),window.requestAnimationFrame(function e(n){t||(t=n);var r=n-t,o=function(e,t,n,r){return-n*(e/=r)*(e-2)+t}(r,u,d,i.duration);window.scrollTo(0,o),r<i.duration?window.requestAnimationFrame(e):(i.onDone&&"function"==typeof i.onDone&&i.onDone(),t=null)})}}}n.d(t,{D:()=>r})},6514(e,t,n){"use strict";n.d(t,{bj:()=>s,go:()=>c,h6:()=>a,qX:()=>l});var r=n(5431),o=n.n(r),i="resources",s="".concat(o().base).concat(i,"/nav"),a="".concat(o().base).concat(i,"/js/search"),l=new Uint8Array([83,72,65,45,50,53,54]),c=new Uint8Array([82,83,65,83,83,65,45,80,75,67,83,49,45,118,49,95,53])},5780(e,t,n){"use strict";function r(e,t,n){var o=t();if(o&&o.default)n(o.default);else if(e){var i=document.getElementById(e);i&&i.addEventListener("load",function(){return r(null,t,n)})}}function o(e,t){return new Promise(function(n,o){try{r(e,t,function(e){n(e)})}catch(i){o(i)}})}n.d(t,{B:()=>r,L:()=>o})},6695(e,t,n){"use strict";n.d(t,{eD:()=>c,M_:()=>d,Pj:()=>h});var r=n(5431),o=n.n(r),i=n(1425),s=n(5493),a=n(8800);(0,i.pM)({name:"DocStoreDebug",setup:function(){var e=(0,i.KR)(!1),t=(0,i.EW)(function(){return d.state}),n=(0,i.EW)(function(){return{"top-0 max-w-md p-5 text-sm":e.value,"px-3 flex items-center text-xs mr-0 mb-0":!e.value}});return{state:t,isOpen:e,classes:n,toggle:function(){e.value=!e.value}}}});var l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},c=Symbol("DocsStore"),u={inherited:!0,access:o().access.map(function(e){return e.value})},d={state:(0,i.Kh)({initialPageLoad:!0,unloading:!1,inherited:u.inherited,isWindowScrolling:!1,isScrollPositionRestored:!1,memberFilter:"",scrolledElementId:"",searchQuery:"",sidebarRightHasContent:!1,sidebarScroll:0,sidebarActiveEl:void 0,sidebar:{id:"",data:[]},sidebarLookup:new Map,memberGroups:(0,a.a)(),access:u.access}),actions:{setMemberData:function(e,t,n,r){d.state.memberGroups[e][t]||(d.state.memberGroups[e][t]={isOpen:!1,isVisible:!0,animations:!0,access:"public",name:"UnknownMember"}),d.state.memberGroups[e][t][n]=r},resetMemberData:function(){Object.keys(d.state.memberGroups).forEach(function(e){d.state.memberGroups[e]={}})},updateAccess:function(e){d.state.access=e,(0,s.ni)(o().base,localStorage,"doc_access",e)},setInherited:function(e){d.state.inherited=e},toggleInherited:function(){d.state.inherited=!d.state.inherited,(0,s.ni)(o().base,localStorage,"doc_inherited",d.state.inherited)},updateMemberFilter:function(e){d.state.memberFilter=e},updateScrolledElementId:function(e){d.state.scrolledElementId=e},updateSearchQuery:function(e){d.state.searchQuery=e},setSidebarData:function(e){d.state.sidebar=e,(0,s.ni)(o().base,sessionStorage,"doc_sidebar",e)},setSidebarLookupData:function(e){d.state.sidebarLookup=e},setSidebarScroll:function(e){d.state.sidebarScroll=e,(0,s.ni)(o().base,sessionStorage,"doc_sidebar_scroll",e)},setActiveSidebarEl:function(e){d.state.sidebarActiveEl=e},setWindowScrollingState:function(e){d.state.isWindowScrolling=e},updateSidebarLookupItem:function(e,t,n){e[t]=n;var r=(0,s.$E)(o().base,sessionStorage,"doc_sidebar");r&&(0,s.ni)(o().base,sessionStorage,"doc_sidebar",l(l({},r),d.state.sidebar))}},getters:{isAccessDirty:function(){return u.access.length!==d.state.access.length},isFiltersDirty:function(){return u.access.length!==d.state.access.length||u.inherited!==d.state.inherited||""!==d.state.memberFilter},getVisibleGroupMembers:function(e){return Object.values(d.state.memberGroups[e]).filter(function(e){return!0===e.isVisible})}}};function h(){return{store:(0,i.WQ)(c)}}},8800(e,t,n){"use strict";n.d(t,{D:()=>a,a:()=>s});var r=n(5431),o=n.n(r),i=n(5493);function s(){var e={};return o().toolbarLinks.forEach(function(t){e[t.id]={}}),e}function a(e){if(e.state.initialPageLoad){var t=(0,i.$E)(o().base,sessionStorage,"doc_sidebar_scroll");null!==t&&e.actions.setSidebarScroll(t);var n=(0,i.$E)(o().base,sessionStorage,"doc_sidebar");null!==n&&e.actions.setSidebarData(n);var r=(0,i.$E)(o().base,localStorage,"doc_inherited");null!==r&&e.actions.setInherited(r);var s=(0,i.$E)(o().base,localStorage,"doc_access");null!==s&&e.actions.updateAccess(s)}}},5493(e,t,n){"use strict";n.d(t,{$E:()=>s,VL:()=>v,fF:()=>c,gj:()=>l,ni:()=>a,og:()=>u,pt:()=>p});var r=n(5431),o=n.n(r),i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function s(e,t,n){var r=h(n)?d(e,n):n,o=t.getItem(r);return o&&"null"!==o?"{"===o[0]||"["===o[0]||'"'===o[0]||"true"===o||"false"===o?JSON.parse(o):o:null}function a(e,t,n,r){var o=h(n)?d(e,n):n,i="string"!=typeof r?JSON.stringify(r):r;t.setItem(o,i)}function l(){var e=document.getElementById("retype-header"),t=document.getElementById("docs-toolbar"),n=20;return n+=e?e.offsetHeight:0,-(n+=t?t.offsetHeight:0)}function c(e){var t,n,r,i=((t={})[o().resources.History_YearTime_Label]=31536e3,t[o().resources.History_MonthTime_Label]=2592e3,t[o().resources.History_DayTime_Label]=86400,t[o().resources.History_HourTime_Label]=3600,t[o().resources.History_MinuteTime_Label]=60,t[o().resources.History_SecondTime_Label]=1,t),s=Math.floor((Date.now()-e)/1e3);return Object.keys(i).some(function(e){return n=Math.floor(s/i[e]),r=e,n>=1}),0===n?o().resources.History_JustNowTime_Label:"".concat(n).concat(r," ").concat(o().resources.History_AgoTime_Label)}function u(e,t,n,r,o){if(void 0===r&&(r=""),void 0===o&&(o=[]),!t||!t.length)return[];var i=[];return t.forEach(function(t){var s,a=f(e,t,n,r,o);(null===(s=a.parentNodes)||void 0===s?void 0:s.length)&&a.parentNodes.splice(-1,1),i.push(a)}),i}function d(e,t){return e&&"/"!==e?e+t:t}function h(e){switch(e){case"retype_scheme":return!1;case"doc_access":case"doc_history":case"doc_inherited":case"doc_sidebar":case"doc_sidebar_scroll":return!0;default:throw new Error("Unexpected storage key.")}}function f(e,t,n,r,o){void 0===r&&(r=""),void 0===o&&(o=[]);var s={};s.path=n?t.n.startsWith("/")?"".concat(t.n.slice(1),"/"):"".concat(r).concat(t.n,"/"):t.n.startsWith("/")?"".concat(t.n.slice(1)):!r||r.endsWith("/")?"".concat(r).concat(t.n):"".concat(r,"/").concat(t.n),s.parentNodes=o.length?i(i([],o,!0),[s.path],!1):[s.path];var a=t.i||t.h;return a&&e.set(s.path,s),s.clickable=!1!==t.c,s.visible=!1!==t.v,t.s&&(s.icon=t.s),t.e&&(s.emoji=t.e),t.h&&(s.hash=t.h),s.label=t.l||t.n,t.u&&(s.url=t.u),s.searchLabel=s.label.toLowerCase().replace(/\u200B/g,""),t.b&&(s.mode=t.b),t.o&&(s.open=t.o),t.g&&(s.badge=t.g),t.t&&(s.target=t.t),a&&(s.children=u(e,t.i,n,s.path,s.parentNodes)),s}function p(e,t,n,r){void 0===r&&(r=""),t&&t.length&&t.forEach(function(t){var o=n?"".concat(r).concat(t.n,"/"):!r||r.endsWith("/")?"".concat(r).concat(t.n):"".concat(r,"/").concat(t.n);if(e.get(o))p(e,t.i,n,o);else{var i=e.get(r);if(!i)throw new Error("Unexpected state. The parent node must exist at this point.");var s=f(e,t,n,r);if(i.children){var a=function(e,t){var n=0,r=e.length-1;if(r<n)return 0;for(;;){var o=Math.floor((n+r)/2),i=m(e[o].label,t.label);if(i<0){if((n=o+1)>r)return n}else{if(!(i>0))return o;if((r=o-1)<n)return o}}}(i.children,s);i.children.splice(a,0,s)}}})}function m(e,t){if(null==t)return 1;if(null==e)return-1;var n=e.toUpperCase(),r=t.toUpperCase();return n>r?1:n<r?-1:0}function v(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey}},4501(e,t,n){"use strict";n.d(t,{CB:()=>c,Ec:()=>a,Wg:()=>l});var r=n(5431),o=n.n(r),i=n(4162),s=n.n(i);function a(e){var t=o().appendDocumentName?o().documentName:"";if(o().trailingSlash||t)return"".concat(e).concat(t);var n=e.slice(0,-1);return o().base.length>1&&n.endsWith(".")&&(n=n.length>1?"../"+n+o().base.slice(0,-1):".."+o().base.slice(0,-1)),n}function l(e,t){var n="/"+o().documentName,r=e;if(o().appendDocumentName?r.endsWith(n)||(r=r.endsWith("/")?r+o().documentName:r+n):r.endsWith(n)&&(r=r.slice(0,-n.length)),o().useRelativePaths&&"file:"===location.protocol.toLowerCase()){var i=null!=t?t:s()();if(i){var a=r.split("/");r=a.slice(-i.level-1).join("/")}}else r.startsWith(o().base)?r=r.slice(o().base.length):o().trailingSlash||o().appendDocumentName||r!==o().base.slice(0,-1)||(r="");return r}function c(){if(!o().useRelativePaths)return o().base;var e=s()();if(!e)return o().base;var t=e.level;return o().appendDocumentName||e.isRoot||(o().trailingSlash?location.pathname.endsWith("/"+o().documentName)||location.pathname.endsWith("/")||--t:(location.pathname.endsWith("/"+o().documentName)||location.pathname.endsWith("/"))&&++t),e.relativeBaseCache||(e.relativeBaseCache=t<=0?!e.isRoot||o().trailingSlash||location.pathname.endsWith("/"+o().documentName)||location.pathname.endsWith("/")?"./":"."+o().base:"../".repeat(t)),e.relativeBaseCache}},183(e,t,n){"use strict";n.r(t),n.d(t,{csh:()=>h,unprotectPage:()=>c,vbi:()=>f});var r,o=n(3836),i=n.n(o),s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},l=(r={},function(){return r});function c(e,t,n){return s(this,void 0,void 0,function(){var r,o,i,s,c;return a(this,function(a){switch(a.label){case 0:if(r=!1,o="/",i=l(),s=function(e,t){var n=e[t];if(n){var r=atob(n);return Uint8Array.from(r,function(e){return e.charCodeAt(0)})}return null}(i,o),s&&(r=d(e,s.buffer)),r)return[3,5];c=null,t(),a.label=1;case 1:return[4,u()];case 2:if(!(c=a.sent()))return[3,4];(r=d(e,c,n))||(h=document.getElementById("protected-content-error"))&&(h.classList.remove("opacity-0"),setTimeout(function(){h.classList.add("opacity-0")},1e3)),a.label=3;case 3:if(!r)return[3,1];a.label=4;case 4:r&&c&&function(e,t,n){for(var r=new Uint8Array(t),o="",i=0;i<r.length;i++)o+=String.fromCharCode(r[i]);var s=btoa(o);e[n]=s}(i,c,o),a.label=5;case 5:return r||(e.innerHTML="<h4>Access denied</h4>"),t(),[2]}var h})})}function u(){var e=this;return new Promise(function(t){document.getElementById("protected-content-password").focus(),document.getElementById("protected-content-ok").addEventListener("click",function(){return s(e,void 0,void 0,function(){var e,n,r,o;return a(this,function(i){switch(i.label){case 0:return e=null===(o=document.getElementById("protected-content-password"))||void 0===o?void 0:o.value,n=(new TextEncoder).encode(e),[4,crypto.subtle.digest("SHA-256",n)];case 1:return r=i.sent(),t(r),[2]}})})},{once:!0})})}function d(e,t,n){var r,o,s;try{var a=(null!==(r=e.getAttribute("data"))&&void 0!==r?r:"").split("."),l=parseInt(a[0]),c=a[1],u=atob(c),d=new Uint8Array((null!==(o=u.match(/[\s\S]/g))&&void 0!==o?o:[]).map(function(e){return e.charCodeAt(0)})),h=a[2],f=atob(h),p=new Uint8Array((null!==(s=f.match(/[\s\S]/g))&&void 0!==s?s:[]).map(function(e){return e.charCodeAt(0)})),m=new Uint8Array(t),v=new(i().ModeOfOperation.cbc)(m,d).decrypt(p),g=(new TextDecoder).decode(v);if(!g.trimStart().startsWith("<"))throw new Error("Invalid password.");if(n){n();var b=document.getElementById(e.id);b&&(e=b)}return e.outerHTML=g.slice(0,l),!0}catch(y){return!1}}function h(e){return s(this,void 0,void 0,function(){var t,n;return a(this,function(r){switch(r.label){case 0:return t=(new TextEncoder).encode(e),[4,crypto.subtle.digest("SHA-256",t)];case 1:return n=r.sent(),[2,(o=n,Array.from(new Uint8Array(o)).map(function(e){return e.toString(16).padStart(2,"0")}).join(""))]}var o})})}function f(){return s(this,void 0,void 0,function(){var e,t,n,r,o,i,s,l,c;return a(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),e=window.__DOCS_CONFIG__,"number"!=typeof(t=null==e?void 0:e.flags)?[2,!0]:1==(t>>2&1)||1&~t?[2,!0]:(n=function(){var e=null,t=getComputedStyle(document.documentElement).getPropertyValue("--grid").trim(),n=getComputedStyle(document.documentElement).getPropertyValue("--selector").trim();t.startsWith("#")&&t.length>=7&&n.startsWith("#")&&n.length>=7&&(e=t.slice(3,5)+n.slice(1,11));var r=null,o=window.__DOCS_CONFIG__,i=null==o?void 0:o.init;return i&&"string"==typeof i&&(r=atob(i)),{cssComponent:e,configComponent:r}}(),r=n.cssComponent,o=n.configComponent,r&&o?(i=r+o,(s=null==e?void 0:e.host)?[4,h(s)]:[2,!1]):[2,!1]);case 1:return l=a.sent(),c=l.substring(0,24),[2,i===c];case 2:return a.sent(),[2,!1];case 3:return[2]}})})}},6262(e,t){"use strict";t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},1425(e,t,n){"use strict";n.d(t,{FK:()=>hs,Im:()=>vr,eB:()=>Wa,EW:()=>fa,Ef:()=>fc,Wv:()=>Cs,Q3:()=>Ws,CE:()=>Es,Lk:()=>Ms,eW:()=>Ns,bF:()=>Is,pM:()=>Or,h:()=>pa,WQ:()=>Qn,dY:()=>Ln,C4:()=>Q,Tr:()=>$,xo:()=>wo,sV:()=>go,uX:()=>bs,Gt:()=>Gn,Kh:()=>Lt,KR:()=>jt,pI:()=>Oo,RG:()=>Po,g2:()=>Ao,$y:()=>Lo,Vq:()=>ks,v_:()=>le,lH:()=>$l,Jo:()=>zl,aG:()=>el,wB:()=>rr,nT:()=>er,k6:()=>Xn,bo:()=>Kn,jR:()=>ic,D$:()=>rc});var r={};function o(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.r(r),n.d(r,{BaseTransition:()=>_r,BaseTransitionPropsValidators:()=>xr,Comment:()=>ps,DeprecationTypes:()=>_a,EffectScope:()=>pe,ErrorCodes:()=>gn,ErrorTypeStrings:()=>wa,Fragment:()=>hs,KeepAlive:()=>io,ReactiveEffect:()=>ye,Static:()=>ms,Suspense:()=>ss,Teleport:()=>vr,Text:()=>fs,TrackOpTypes:()=>an,Transition:()=>Wa,TransitionGroup:()=>Dl,TriggerOpTypes:()=>ln,VueElement:()=>_l,assertNumber:()=>vn,callWithAsyncErrorHandling:()=>wn,callWithErrorHandling:()=>yn,camelize:()=>I,capitalize:()=>P,cloneVNode:()=>Ps,compatUtils:()=>Ca,computed:()=>fa,createApp:()=>fc,createBlock:()=>Cs,createCommentVNode:()=>Ws,createElementBlock:()=>Es,createElementVNode:()=>Ms,createHydrationRenderer:()=>Gi,createPropsRestProxy:()=>ni,createRenderer:()=>Ui,createSSRApp:()=>pc,createSlots:()=>Do,createStaticVNode:()=>Fs,createTextVNode:()=>Ns,createVNode:()=>Is,customRef:()=>Zt,defineAsyncComponent:()=>no,defineComponent:()=>Or,defineCustomElement:()=>xl,defineEmits:()=>zo,defineExpose:()=>$o,defineModel:()=>Uo,defineOptions:()=>Xo,defineProps:()=>jo,defineSSRCustomElement:()=>El,defineSlots:()=>Ko,devtools:()=>Sa,effect:()=>Ie,effectScope:()=>me,getCurrentInstance:()=>Us,getCurrentScope:()=>ve,getCurrentWatcher:()=>hn,getTransitionRawChildren:()=>Ir,guardReactiveProps:()=>Ds,h:()=>pa,handleError:()=>Sn,hasInjectionContext:()=>Yn,hydrate:()=>hc,hydrateOnIdle:()=>Yr,hydrateOnInteraction:()=>eo,hydrateOnMediaQuery:()=>Zr,hydrateOnVisible:()=>Jr,initCustomFormatter:()=>ma,initDirectivesForSSR:()=>bc,inject:()=>Qn,isMemoSame:()=>ga,isProxy:()=>Ft,isReactive:()=>Dt,isReadonly:()=>Pt,isRef:()=>qt,isRuntimeOnly:()=>sa,isShallow:()=>Nt,isVNode:()=>_s,markRaw:()=>Bt,mergeDefaults:()=>ei,mergeModels:()=>ti,mergeProps:()=>qs,nextTick:()=>Ln,nodeOps:()=>Ia,normalizeClass:()=>Q,normalizeProps:()=>Y,normalizeStyle:()=>$,onActivated:()=>ao,onBeforeMount:()=>vo,onBeforeUnmount:()=>wo,onBeforeUpdate:()=>bo,onDeactivated:()=>lo,onErrorCaptured:()=>Co,onMounted:()=>go,onRenderTracked:()=>Eo,onRenderTriggered:()=>xo,onScopeDispose:()=>ge,onServerPrefetch:()=>ko,onUnmounted:()=>So,onUpdated:()=>yo,onWatcherCleanup:()=>fn,openBlock:()=>bs,patchProp:()=>Sl,popScopeId:()=>zn,provide:()=>Gn,proxyRefs:()=>Yt,pushScopeId:()=>jn,queuePostFlushCb:()=>In,reactive:()=>Lt,readonly:()=>Mt,ref:()=>jt,registerRuntimeCompiler:()=>ia,render:()=>dc,renderList:()=>Oo,renderSlot:()=>Po,resolveComponent:()=>Ao,resolveDirective:()=>Ro,resolveDynamicComponent:()=>Lo,resolveFilter:()=>Ea,resolveTransitionHooks:()=>Tr,setBlockTracking:()=>ks,setDevtoolsHook:()=>ka,setTransitionHooks:()=>Mr,shallowReactive:()=>Rt,shallowReadonly:()=>It,shallowRef:()=>zt,ssrContextKey:()=>Jn,ssrUtils:()=>xa,stop:()=>Oe,toDisplayString:()=>le,toHandlerKey:()=>N,toHandlers:()=>Fo,toRaw:()=>Wt,toRef:()=>rn,toRefs:()=>en,toValue:()=>Gt,transformVNodeArgs:()=>Ts,triggerRef:()=>Kt,unref:()=>Ut,useAttrs:()=>Yo,useCssModule:()=>Ll,useCssVars:()=>rl,useHost:()=>Al,useId:()=>Dr,useModel:()=>wi,useSSRContext:()=>Zn,useShadowRoot:()=>Tl,useSlots:()=>Qo,useTemplateRef:()=>Nr,useTransitionState:()=>Sr,vModelCheckbox:()=>$l,vModelDynamic:()=>Jl,vModelRadio:()=>Kl,vModelSelect:()=>Ul,vModelText:()=>zl,vShow:()=>el,version:()=>ba,warn:()=>ya,watch:()=>rr,watchEffect:()=>er,watchPostEffect:()=>tr,watchSyncEffect:()=>nr,withAsyncContext:()=>ri,withCtx:()=>Xn,withDefaults:()=>Go,withDirectives:()=>Kn,withKeys:()=>ic,withMemo:()=>va,withModifiers:()=>rc,withScopeId:()=>$n});const i={},s=[],a=()=>{},l=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),d=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),m=Array.isArray,v=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),b=e=>"[object Date]"===C(e),y=e=>"function"==typeof e,w=e=>"string"==typeof e,S=e=>"symbol"==typeof e,k=e=>null!==e&&"object"==typeof e,x=e=>(k(e)||y(e))&&y(e.then)&&y(e.catch),E=Object.prototype.toString,C=e=>E.call(e),_=e=>"[object Object]"===C(e),A=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),R=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},M=/-\w/g,I=R(e=>e.replace(M,e=>e.slice(1).toUpperCase())),O=/\B([A-Z])/g,D=R(e=>e.replace(O,"-$1").toLowerCase()),P=R(e=>e.charAt(0).toUpperCase()+e.slice(1)),N=R(e=>e?`on${P(e)}`:""),F=(e,t)=>!Object.is(e,t),W=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},B=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},H=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let q;const j=()=>q||(q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});const z=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function $(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=w(r)?G(r):$(r);if(o)for(const e in o)t[e]=o[e]}return t}if(w(e)||k(e))return e}const X=/;(?![^(]*\))/g,K=/:([^]+)/,U=/\/\*[^]*?\*\//g;function G(e){const t={};return e.replace(U,"").split(X).forEach(e=>{if(e){const n=e.split(K);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Q(e){let t="";if(w(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const r=Q(e[n]);r&&(t+=r+" ")}else if(k(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Y(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=Q(t)),n&&(e.style=$(n)),e}const J=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Z=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),ee=o("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),te=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),ne="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",re=o(ne);function oe(e){return!!e||""===e}function ie(e,t){if(e===t)return!0;let n=b(e),r=b(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=S(e),r=S(t),n||r)return e===t;if(n=m(e),r=m(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ie(e[r],t[r]);return n}(e,t);if(n=k(e),r=k(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!ie(e[n],t[n]))return!1}}return String(e)===String(t)}function se(e,t){return e.findIndex(e=>ie(e,t))}const ae=e=>!(!e||!0!==e.__v_isRef),le=e=>w(e)?e:null==e?"":m(e)||k(e)&&(e.toString===E||!y(e.toString))?ae(e)?le(e.value):JSON.stringify(e,ce,2):String(e),ce=(e,t)=>ae(t)?ce(e,t.value):v(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[ue(t,r)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ue(e))}:S(t)?ue(t):!k(t)||m(t)||_(t)?t:String(t),ue=(e,t="")=>{var n;return S(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};function de(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:("number"==typeof e&&Number.isFinite(e),String(e))}let he,fe;class pe{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=he,!e&&he&&(this.index=(he.scopes||(he.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=he;try{return he=this,e()}finally{he=t}}else 0}on(){1===++this._on&&(this.prevScope=he,he=this)}off(){this._on>0&&0===--this._on&&(he=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function me(e){return new pe(e)}function ve(){return he}function ge(e,t=!1){he&&he.cleanups.push(e)}const be=new WeakSet;class ye{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,he&&he.active&&he.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,be.has(this)&&(be.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||xe(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,We(this),_e(this);const e=fe,t=De;fe=this,De=!0;try{return this.fn()}finally{0,Ae(this),fe=e,De=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)Re(e);this.deps=this.depsTail=void 0,We(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?be.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Te(this)&&this.run()}get dirty(){return Te(this)}}let we,Se,ke=0;function xe(e,t=!1){if(e.flags|=8,t)return e.next=Se,void(Se=e);e.next=we,we=e}function Ee(){ke++}function Ce(){if(--ke>0)return;if(Se){let e=Se;for(Se=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;we;){let n=we;for(we=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function _e(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ae(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Re(r),Me(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Te(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Le(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Le(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Be)return;if(e.globalVersion=Be,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Te(e)))return;e.flags|=2;const t=e.dep,n=fe,r=De;fe=e,De=!0;try{_e(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(o){throw t.version++,o}finally{fe=n,De=r,Ae(e),e.flags&=-3}}function Re(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Re(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Me(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Ie(e,t){e.effect instanceof ye&&(e=e.effect.fn);const n=new ye(e);t&&d(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function Oe(e){e.effect.stop()}let De=!0;const Pe=[];function Ne(){Pe.push(De),De=!1}function Fe(){const e=Pe.pop();De=void 0===e||e}function We(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=fe;fe=void 0;try{t()}finally{fe=e}}}let Be=0;class Ve{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class He{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!fe||!De||fe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==fe)t=this.activeLink=new Ve(fe,this),fe.deps?(t.prevDep=fe.depsTail,fe.depsTail.nextDep=t,fe.depsTail=t):fe.deps=fe.depsTail=t,qe(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=fe.depsTail,t.nextDep=void 0,fe.depsTail.nextDep=t,fe.depsTail=t,fe.deps===t&&(fe.deps=e)}return t}trigger(e){this.version++,Be++,this.notify(e)}notify(e){Ee();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ce()}}}function qe(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)qe(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const je=new WeakMap,ze=Symbol(""),$e=Symbol(""),Xe=Symbol("");function Ke(e,t,n){if(De&&fe){let t=je.get(e);t||je.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new He),r.map=t,r.key=n),r.track()}}function Ue(e,t,n,r,o,i){const s=je.get(e);if(!s)return void Be++;const a=e=>{e&&e.trigger()};if(Ee(),"clear"===t)s.forEach(a);else{const o=m(e),i=o&&A(n);if(o&&"length"===n){const e=Number(r);s.forEach((t,n)=>{("length"===n||n===Xe||!S(n)&&n>=e)&&a(t)})}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),i&&a(s.get(Xe)),t){case"add":o?i&&a(s.get("length")):(a(s.get(ze)),v(e)&&a(s.get($e)));break;case"delete":o||(a(s.get(ze)),v(e)&&a(s.get($e)));break;case"set":v(e)&&a(s.get(ze))}}Ce()}function Ge(e){const t=Wt(e);return t===e?t:(Ke(t,0,Xe),Nt(e)?t:t.map(Vt))}function Qe(e){return Ke(e=Wt(e),0,Xe),e}function Ye(e,t){return Pt(e)?Dt(e)?Ht(Vt(t)):Ht(t):Vt(t)}const Je={__proto__:null,[Symbol.iterator](){return Ze(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Ge(this).concat(...e.map(e=>m(e)?Ge(e):e))},entries(){return Ze(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,e=>e.map(e=>Ye(this,e)),arguments)},find(e,t){return tt(this,"find",e,t,e=>Ye(this,e),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,e=>Ye(this,e),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return rt(this,"includes",e)},indexOf(...e){return rt(this,"indexOf",e)},join(e){return Ge(this).join(e)},lastIndexOf(...e){return rt(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return ot(this,"pop")},push(...e){return ot(this,"push",e)},reduce(e,...t){return nt(this,"reduce",e,t)},reduceRight(e,...t){return nt(this,"reduceRight",e,t)},shift(){return ot(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return ot(this,"splice",e)},toReversed(){return Ge(this).toReversed()},toSorted(e){return Ge(this).toSorted(e)},toSpliced(...e){return Ge(this).toSpliced(...e)},unshift(...e){return ot(this,"unshift",e)},values(){return Ze(this,"values",e=>Ye(this,e))}};function Ze(e,t,n){const r=Qe(e),o=r[t]();return r===e||Nt(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=n(e.value)),e}),o}const et=Array.prototype;function tt(e,t,n,r,o,i){const s=Qe(e),a=s!==e&&!Nt(e),l=s[t];if(l!==et[t]){const t=l.apply(e,i);return a?Vt(t):t}let c=n;s!==e&&(a?c=function(t,r){return n.call(this,Ye(e,t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function nt(e,t,n,r){const o=Qe(e);let i=n;return o!==e&&(Nt(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Ye(e,r),o,e)}),o[t](i,...r)}function rt(e,t,n){const r=Wt(e);Ke(r,0,Xe);const o=r[t](...n);return-1!==o&&!1!==o||!Ft(n[0])?o:(n[0]=Wt(n[0]),r[t](...n))}function ot(e,t,n=[]){Ne(),Ee();const r=Wt(e)[t].apply(e,n);return Ce(),Fe(),r}const it=o("__proto__,__v_isRef,__isVue"),st=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(S));function at(e){S(e)||(e=String(e));const t=Wt(this);return Ke(t,0,e),t.hasOwnProperty(e)}class lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?At:_t:o?Ct:Et).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=m(e);if(!r){let e;if(i&&(e=Je[t]))return e;if("hasOwnProperty"===t)return at}const s=Reflect.get(e,t,qt(e)?e:n);if(S(t)?st.has(t):it(t))return s;if(r||Ke(e,0,t),o)return s;if(qt(s)){const e=i&&A(t)?s:s.value;return r&&k(e)?Mt(e):e}return k(s)?r?Mt(s):Lt(s):s}}class ct extends lt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];const i=m(e)&&A(t);if(!this._isShallow){const e=Pt(o);if(Nt(n)||Pt(n)||(o=Wt(o),n=Wt(n)),!i&&qt(o)&&!qt(n))return e||(o.value=n),!0}const s=i?Number(t)<e.length:p(e,t),a=Reflect.set(e,t,n,qt(e)?e:r);return e===Wt(r)&&(s?F(n,o)&&Ue(e,"set",t,n):Ue(e,"add",t,n)),a}deleteProperty(e,t){const n=p(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&n&&Ue(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return S(t)&&st.has(t)||Ke(e,0,t),n}ownKeys(e){return Ke(e,0,m(e)?"length":ze),Reflect.ownKeys(e)}}class ut extends lt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const dt=new ct,ht=new ut,ft=new ct(!0),pt=new ut(!0),mt=e=>e,vt=e=>Reflect.getPrototypeOf(e);function gt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function bt(e,t){const n={get(n){const r=this.__v_raw,o=Wt(r),i=Wt(n);e||(F(n,i)&&Ke(o,0,n),Ke(o,0,i));const{has:s}=vt(o),a=t?mt:e?Ht:Vt;return s.call(o,n)?a(r.get(n)):s.call(o,i)?a(r.get(i)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&Ke(Wt(t),0,ze),t.size},has(t){const n=this.__v_raw,r=Wt(n),o=Wt(t);return e||(F(t,o)&&Ke(r,0,t),Ke(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,i=o.__v_raw,s=Wt(i),a=t?mt:e?Ht:Vt;return!e&&Ke(s,0,ze),i.forEach((e,t)=>n.call(r,a(e),a(t),o))}};d(n,e?{add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear")}:{add(e){t||Nt(e)||Pt(e)||(e=Wt(e));const n=Wt(this);return vt(n).has.call(n,e)||(n.add(e),Ue(n,"add",e,e)),this},set(e,n){t||Nt(n)||Pt(n)||(n=Wt(n));const r=Wt(this),{has:o,get:i}=vt(r);let s=o.call(r,e);s||(e=Wt(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,n),s?F(n,a)&&Ue(r,"set",e,n):Ue(r,"add",e,n),this},delete(e){const t=Wt(this),{has:n,get:r}=vt(t);let o=n.call(t,e);o||(e=Wt(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&Ue(t,"delete",e,void 0),i},clear(){const e=Wt(this),t=0!==e.size,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,i=Wt(o),s=v(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=o[e](...r),u=n?mt:t?Ht:Vt;return!t&&Ke(i,0,l?$e:ze),d(Object.create(c),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}}})}}(r,e,t)}),n}function yt(e,t){const n=bt(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(p(n,r)&&r in t?n:t,r,o)}const wt={get:yt(!1,!1)},St={get:yt(!1,!0)},kt={get:yt(!0,!1)},xt={get:yt(!0,!0)};const Et=new WeakMap,Ct=new WeakMap,_t=new WeakMap,At=new WeakMap;function Tt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>C(e).slice(8,-1))(e))}function Lt(e){return Pt(e)?e:Ot(e,!1,dt,wt,Et)}function Rt(e){return Ot(e,!1,ft,St,Ct)}function Mt(e){return Ot(e,!0,ht,kt,_t)}function It(e){return Ot(e,!0,pt,xt,At)}function Ot(e,t,n,r,o){if(!k(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=Tt(e);if(0===i)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,2===i?r:n);return o.set(e,a),a}function Dt(e){return Pt(e)?Dt(e.__v_raw):!(!e||!e.__v_isReactive)}function Pt(e){return!(!e||!e.__v_isReadonly)}function Nt(e){return!(!e||!e.__v_isShallow)}function Ft(e){return!!e&&!!e.__v_raw}function Wt(e){const t=e&&e.__v_raw;return t?Wt(t):e}function Bt(e){return!p(e,"__v_skip")&&Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const Vt=e=>k(e)?Lt(e):e,Ht=e=>k(e)?Mt(e):e;function qt(e){return!!e&&!0===e.__v_isRef}function jt(e){return $t(e,!1)}function zt(e){return $t(e,!0)}function $t(e,t){return qt(e)?e:new Xt(e,t)}class Xt{constructor(e,t){this.dep=new He,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Wt(e),this._value=t?e:Vt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Nt(e)||Pt(e);e=n?e:Wt(e),F(e,t)&&(this._rawValue=e,this._value=n?e:Vt(e),this.dep.trigger())}}function Kt(e){e.dep&&e.dep.trigger()}function Ut(e){return qt(e)?e.value:e}function Gt(e){return y(e)?e():Ut(e)}const Qt={get:(e,t,n)=>"__v_raw"===t?e:Ut(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return qt(o)&&!qt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Yt(e){return Dt(e)?e:new Proxy(e,Qt)}class Jt{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new He,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Zt(e){return new Jt(e)}function en(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=on(e,n);return t}class tn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=Wt(e);let r=!0,o=e;if(!m(e)||!A(String(t)))do{r=!Ft(o)||Nt(o)}while(r&&(o=o.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Ut(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&qt(this._raw[this._key])){const t=this._object[this._key];if(qt(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){const n=je.get(e);return n&&n.get(t)}(this._raw,this._key)}}class nn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rn(e,t,n){return qt(e)?e:y(e)?new nn(e):k(e)&&arguments.length>1?on(e,t,n):jt(e)}function on(e,t,n){return new tn(e,t,n)}class sn{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new He(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Be-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||fe===this))return xe(this,!0),!0}get value(){const e=this.dep.track();return Le(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const an={GET:"get",HAS:"has",ITERATE:"iterate"},ln={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},cn={},un=new WeakMap;let dn;function hn(){return dn}function fn(e,t=!1,n=dn){if(n){let t=un.get(n);t||un.set(n,t=[]),t.push(e)}else 0}function pn(e,t=1/0,n){if(t<=0||!k(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,qt(e))pn(e.value,t,n);else if(m(e))for(let r=0;r<e.length;r++)pn(e[r],t,n);else if(g(e)||v(e))e.forEach(e=>{pn(e,t,n)});else if(_(e)){for(const r in e)pn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&pn(e[r],t,n)}return e}const mn=[];function vn(e,t){}const gn={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},bn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function yn(e,t,n,r){try{return r?e(...r):e()}catch(o){Sn(o,t,n)}}function wn(e,t,n,r){if(y(e)){const o=yn(e,t,n,r);return o&&x(o)&&o.catch(e=>{Sn(e,t,n)}),o}if(m(e)){const o=[];for(let i=0;i<e.length;i++)o.push(wn(e[i],t,n,r));return o}}function Sn(e,t,n,r=!0){t&&t.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||i;if(t){let r=t.parent;const i=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,s))return;r=r.parent}if(o)return Ne(),yn(o,null,10,[e,i,s]),void Fe()}!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,s)}const kn=[];let xn=-1;const En=[];let Cn=null,_n=0;const An=Promise.resolve();let Tn=null;function Ln(e){const t=Tn||An;return e?t.then(this?e.bind(this):e):t}function Rn(e){if(!(1&e.flags)){const t=Pn(e),n=kn[kn.length-1];!n||!(2&e.flags)&&t>=Pn(n)?kn.push(e):kn.splice(function(e){let t=xn+1,n=kn.length;for(;t<n;){const r=t+n>>>1,o=kn[r],i=Pn(o);i<e||i===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Mn()}}function Mn(){Tn||(Tn=An.then(Nn))}function In(e){m(e)?En.push(...e):Cn&&-1===e.id?Cn.splice(_n+1,0,e):1&e.flags||(En.push(e),e.flags|=1),Mn()}function On(e,t,n=xn+1){for(0;n<kn.length;n++){const t=kn[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;0,kn.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Dn(e){if(En.length){const e=[...new Set(En)].sort((e,t)=>Pn(e)-Pn(t));if(En.length=0,Cn)return void Cn.push(...e);for(Cn=e,_n=0;_n<Cn.length;_n++){const e=Cn[_n];0,4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Cn=null,_n=0}}const Pn=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Nn(e){try{for(xn=0;xn<kn.length;xn++){const e=kn[xn];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),yn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;xn<kn.length;xn++){const e=kn[xn];e&&(e.flags&=-2)}xn=-1,kn.length=0,Dn(),Tn=null,(kn.length||En.length)&&Nn(e)}}let Fn,Wn=[],Bn=!1;let Vn=null,Hn=null;function qn(e){const t=Vn;return Vn=e,Hn=e&&e.type.__scopeId||null,t}function jn(e){Hn=e}function zn(){Hn=null}const $n=e=>Xn;function Xn(e,t=Vn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&ks(-1);const o=qn(t);let i;try{i=e(...n)}finally{qn(o),r._d&&ks(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Kn(e,t){if(null===Vn)return e;const n=ua(Vn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,s,a,l=i]=t[o];e&&(y(e)&&(e={mounted:e,updated:e}),e.deep&&pn(s),r.push({dir:e,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Un(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Ne(),wn(l,n,8,[e.el,a,e,t]),Fe())}}function Gn(e,t){if(Ks){let n=Ks.provides;const r=Ks.parent&&Ks.parent.provides;r===n&&(n=Ks.provides=Object.create(r)),n[e]=t}}function Qn(e,t,n=!1){const r=Us();if(r||yi){let o=yi?yi._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&y(t)?t.call(r&&r.proxy):t}else 0}function Yn(){return!(!Us()&&!yi)}const Jn=Symbol.for("v-scx"),Zn=()=>{{const e=Qn(Jn);return e}};function er(e,t){return or(e,null,t)}function tr(e,t){return or(e,null,{flush:"post"})}function nr(e,t){return or(e,null,{flush:"sync"})}function rr(e,t,n){return or(e,t,n)}function or(e,t,n=i){const{immediate:r,deep:o,flush:s,once:l}=n;const c=d({},n);const u=t&&r||!t&&"post"!==s;let f;if(na)if("sync"===s){const e=Zn();f=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}const p=Ks;c.call=(e,t,n)=>wn(e,p,t,n);let v=!1;"post"===s?c.scheduler=e=>{Ki(e,p&&p.suspense)}:"sync"!==s&&(v=!0,c.scheduler=(e,t)=>{t?e():Rn(e)}),c.augmentJob=e=>{t&&(e.flags|=4),v&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const g=function(e,t,n=i){const{immediate:r,deep:o,once:s,scheduler:l,augmentJob:c,call:u}=n,d=e=>o?e:Nt(e)||!1===o||0===o?pn(e,1):pn(e);let f,p,v,g,b=!1,w=!1;if(qt(e)?(p=()=>e.value,b=Nt(e)):Dt(e)?(p=()=>d(e),b=!0):m(e)?(w=!0,b=e.some(e=>Dt(e)||Nt(e)),p=()=>e.map(e=>qt(e)?e.value:Dt(e)?d(e):y(e)?u?u(e,2):e():void 0)):p=y(e)?t?u?()=>u(e,2):e:()=>{if(v){Ne();try{v()}finally{Fe()}}const t=dn;dn=f;try{return u?u(e,3,[g]):e(g)}finally{dn=t}}:a,t&&o){const e=p,t=!0===o?1/0:o;p=()=>pn(e(),t)}const S=ve(),k=()=>{f.stop(),S&&S.active&&h(S.effects,f)};if(s&&t){const e=t;t=(...t)=>{e(...t),k()}}let x=w?new Array(e.length).fill(cn):cn;const E=e=>{if(1&f.flags&&(f.dirty||e))if(t){const e=f.run();if(o||b||(w?e.some((e,t)=>F(e,x[t])):F(e,x))){v&&v();const n=dn;dn=f;try{const n=[e,x===cn?void 0:w&&x[0]===cn?[]:x,g];x=e,u?u(t,3,n):t(...n)}finally{dn=n}}}else f.run()};return c&&c(E),f=new ye(p),f.scheduler=l?()=>l(E,!1):E,g=e=>fn(e,!1,f),v=f.onStop=()=>{const e=un.get(f);if(e){if(u)u(e,4);else for(const t of e)t();un.delete(f)}},t?r?E(!0):x=f.run():l?l(E.bind(null,!0),!0):f.run(),k.pause=f.pause.bind(f),k.resume=f.resume.bind(f),k.stop=k,k}(e,t,c);return na&&(f?f.push(g):u&&g()),g}function ir(e,t,n){const r=this.proxy,o=w(e)?e.includes(".")?sr(r,e):()=>r[e]:e.bind(r,r);let i;y(t)?i=t:(i=t.handler,n=t);const s=Ys(this),a=or(o,i.bind(r),n);return s(),a}function sr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const ar=Symbol("_vte"),lr=e=>e.__isTeleport,cr=e=>e&&(e.disabled||""===e.disabled),ur=e=>e&&(e.defer||""===e.defer),dr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,hr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,fr=(e,t)=>{const n=e&&e.to;if(w(n)){if(t){return t(n)}return null}return n},pr={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:h,o:{insert:f,querySelector:p,createText:m,createComment:v}}=c,g=cr(t.props);let{shapeFlag:b,children:y,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,r),f(c,n,r);const d=(e,t)=>{16&b&&u(y,e,t,o,i,s,a,l)},h=()=>{const e=t.target=fr(t.props,p),n=br(e,t,m,f);e&&("svg"!==s&&dr(e)?s="svg":"mathml"!==s&&hr(e)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(e),g||(d(e,n),gr(t,!1)))};g&&(d(n,c),gr(t,!0)),ur(t.props)?(t.el.__isMounted=!1,Ki(()=>{h(),delete t.el.__isMounted},i)):h()}else{if(ur(t.props)&&!1===e.el.__isMounted)return void Ki(()=>{pr.process(e,t,n,r,o,i,s,a,l,c)},i);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,f=t.target=e.target,m=t.targetAnchor=e.targetAnchor,v=cr(e.props),b=v?n:f,y=v?u:m;if("svg"===s||dr(f)?s="svg":("mathml"===s||hr(f))&&(s="mathml"),w?(h(e.dynamicChildren,w,b,o,i,s,a),es(e,t,!0)):l||d(e,t,b,y,o,i,s,a,!1),g)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mr(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=fr(t.props,p);e&&mr(t,e,null,c,0)}else v&&mr(t,f,m,c,1);gr(t,g)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(o(c),o(u)),i&&o(l),16&s){const e=i||!cr(h);for(let o=0;o<a.length;o++){const i=a[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:mr,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},d){function h(e,n){let r=n;for(;r;){if(r&&8===r.nodeType)if("teleport start anchor"===r.data)t.targetStart=r;else if("teleport anchor"===r.data){t.targetAnchor=r,e._lpa=t.targetAnchor&&s(t.targetAnchor);break}r=s(r)}}function f(e,t){t.anchor=d(s(e),t,a(e),n,r,o,i)}const p=t.target=fr(t.props,l),m=cr(t.props);if(p){const l=p._lpa||p.firstChild;16&t.shapeFlag&&(m?(f(e,t),h(p,l),t.targetAnchor||br(p,t,u,c,a(e)===p?e:null)):(t.anchor=s(e),h(p,l),t.targetAnchor||br(p,t,u,c),d(l&&s(l),t,p,n,r,o,i))),gr(t,m)}else m&&16&t.shapeFlag&&(f(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}};function mr(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||cr(u))&&16&l)for(let h=0;h<c.length;h++)o(c[h],t,n,2);d&&r(a,t,n)}const vr=pr;function gr(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function br(e,t,n,r,o=null){const i=t.targetStart=n(""),s=t.targetAnchor=n("");return i[ar]=s,e&&(r(i,e,o),r(s,e,o)),s}const yr=Symbol("_leaveCb"),wr=Symbol("_enterCb");function Sr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return go(()=>{e.isMounted=!0}),wo(()=>{e.isUnmounting=!0}),e}const kr=[Function,Array],xr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kr,onEnter:kr,onAfterEnter:kr,onEnterCancelled:kr,onBeforeLeave:kr,onLeave:kr,onAfterLeave:kr,onLeaveCancelled:kr,onBeforeAppear:kr,onAppear:kr,onAfterAppear:kr,onAppearCancelled:kr},Er=e=>{const t=e.subTree;return t.component?Er(t.component):t};function Cr(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==ps){0,t=r,n=!0;break}}return t}const _r={name:"BaseTransition",props:xr,setup(e,{slots:t}){const n=Us(),r=Sr();return()=>{const o=t.default&&Ir(t.default(),!0);if(!o||!o.length)return;const i=Cr(o),s=Wt(e),{mode:a}=s;if(r.isLeaving)return Lr(i);const l=Rr(i);if(!l)return Lr(i);let c=Tr(l,s,r,n,e=>c=e);l.type!==ps&&Mr(l,c);let u=n.subTree&&Rr(n.subTree);if(u&&u.type!==ps&&!As(u,l)&&Er(n).type!==ps){let e=Tr(u,s,r,n);if(Mr(u,e),"out-in"===a&&l.type!==ps)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},Lr(i);"in-out"===a&&l.type!==ps?e.delayLeave=(e,t,n)=>{Ar(r,u)[String(u.key)]=u,e[yr]=()=>{t(),e[yr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function Ar(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Tr(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:g,onAppear:b,onAfterAppear:y,onAppearCancelled:w}=t,S=String(e.key),k=Ar(n,e),x=(e,t)=>{e&&wn(e,r,9,t)},E=(e,t)=>{const n=t[1];x(e,t),m(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!i)return;r=g||l}t[yr]&&t[yr](!0);const o=k[S];o&&As(e,o)&&o.el[yr]&&o.el[yr](),x(r,[t])},enter(e){let t=c,r=u,o=d;if(!n.isMounted){if(!i)return;t=b||c,r=y||u,o=w||d}let s=!1;e[wr]=t=>{s||(s=!0,x(t?o:r,[e]),C.delayedLeave&&C.delayedLeave(),e[wr]=void 0)};const a=e[wr].bind(null,!1);t?E(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t[wr]&&t[wr](!0),n.isUnmounting)return r();x(h,[t]);let i=!1;t[yr]=n=>{i||(i=!0,r(),x(n?v:p,[t]),t[yr]=void 0,k[o]===e&&delete k[o])};const s=t[yr].bind(null,!1);k[o]=e,f?E(f,[t,s]):s()},clone(e){const i=Tr(e,t,n,r,o);return o&&o(i),i}};return C}function Lr(e){if(oo(e))return(e=Ps(e)).children=null,e}function Rr(e){if(!oo(e))return lr(e.type)&&e.children?Cr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&y(n.default))return n.default()}}function Mr(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Mr(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ir(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===hs?(128&s.patchFlag&&o++,r=r.concat(Ir(s.children,t,a))):(t||s.type!==ps)&&r.push(null!=a?Ps(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function Or(e,t){return y(e)?(()=>d({name:e.name},t,{setup:e}))():e}function Dr(){const e=Us();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Pr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Nr(e){const t=Us(),n=zt(null);if(t){const r=t.refs===i?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}else 0;return n}function Fr(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const Wr=new WeakMap;function Br(e,t,n,r,o=!1){if(m(e))return void e.forEach((e,i)=>Br(e,t&&(m(t)?t[i]:t),n,r,o));if(to(r)&&!o)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Br(e,t,n,r.component.subTree));const s=4&r.shapeFlag?ua(r.component):r.el,a=o?null:s,{i:c,r:u}=e;const d=t&&t.r,f=c.refs===i?c.refs={}:c.refs,v=c.setupState,g=Wt(v),b=v===i?l:e=>!Fr(f,e)&&p(g,e),S=(e,t)=>!t||!Fr(f,t);if(null!=d&&d!==u)if(Vr(t),w(d))f[d]=null,b(d)&&(v[d]=null);else if(qt(d)){const e=t;S(0,e.k)&&(d.value=null),e.k&&(f[e.k]=null)}if(y(u))yn(u,c,12,[a,f]);else{const t=w(u),r=qt(u);if(t||r){const i=()=>{if(e.f){const n=t?b(u)?v[u]:f[u]:S()||!e.k?u.value:f[e.k];if(o)m(n)&&h(n,s);else if(m(n))n.includes(s)||n.push(s);else if(t)f[u]=[s],b(u)&&(v[u]=f[u]);else{const t=[s];S(0,e.k)&&(u.value=t),e.k&&(f[e.k]=t)}}else t?(f[u]=a,b(u)&&(v[u]=a)):r&&(S(0,e.k)&&(u.value=a),e.k&&(f[e.k]=a))};if(a){const t=()=>{i(),Wr.delete(e)};t.id=-1,Wr.set(e,t),Ki(t,n)}else Vr(e),i()}else 0}}function Vr(e){const t=Wr.get(e);t&&(t.flags|=8,Wr.delete(e))}let Hr=!1;const qr=()=>{Hr||(console.error("Hydration completed but contains mismatches."),Hr=!0)},jr=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},zr=e=>8===e.nodeType;function $r(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,d=(n,r,a,c,u,y=!1)=>{y=y||!!r.dynamicChildren;const w=zr(n)&&"["===n.data,S=()=>m(n,r,a,c,u,w),{type:k,ref:x,shapeFlag:E,patchFlag:C}=r;let _=n.nodeType;r.el=n,-2===C&&(y=!1,r.dynamicChildren=null);let A=null;switch(k){case fs:3!==_?""===r.children?(l(r.el=o(""),s(n),n),A=n):A=S():(n.data!==r.children&&(qr(),n.data=r.children),A=i(n));break;case ps:b(n)?(A=i(n),g(r.el=n.content.firstChild,n,a)):A=8!==_||w?S():i(n);break;case ms:if(w&&(_=(n=i(n)).nodeType),1===_||3===_){A=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===A.nodeType?A.outerHTML:A.data),t===r.staticCount-1&&(r.anchor=A),A=i(A);return w?i(A):A}S();break;case hs:A=w?p(n,r,a,c,u,y):S();break;default:if(1&E)A=1===_&&r.type.toLowerCase()===n.tagName.toLowerCase()||b(n)?h(n,r,a,c,u,y):S();else if(6&E){r.slotScopeIds=u;const e=s(n);if(A=w?v(n):zr(n)&&"teleport start"===n.data?v(n,n.data,"teleport end"):i(n),t(r,e,null,a,c,jr(e),y),to(r)&&!r.type.__asyncResolved){let t;w?(t=Is(hs),t.anchor=A?A.previousSibling:e.lastChild):t=3===n.nodeType?Ns(""):Is("div"),t.el=n,r.component.subTree=t}}else 64&E?A=8!==_?S():r.type.hydrate(n,r,a,c,u,y,e,f):128&E&&(A=r.type.hydrate(n,r,a,c,jr(s(n)),u,y,e,d))}return null!=x&&Br(x,null,c,r),A},h=(e,t,n,o,i,s)=>{s=s||!!t.dynamicChildren;const{type:l,props:u,patchFlag:d,shapeFlag:h,dirs:p,transition:m}=t,v="input"===l||"option"===l;if(v||-1!==d){p&&Un(t,null,n,"created");let l,y=!1;if(b(e)){y=Zi(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;if(y){const e=r.getAttribute("class");e&&(r.$cls=e),m.beforeEnter(r)}g(r,e,n),t.el=e=r}if(16&h&&(!u||!u.innerHTML&&!u.textContent)){let r=f(e.firstChild,t,e,n,o,i,s);for(;r;){Ur(e,1)||qr();const t=r;r=r.nextSibling,a(t)}}else if(8&h){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1));const{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,"\n")&&(Ur(e,0)||qr(),e.textContent=t.children)}if(u)if(v||!s||48&d){const t=e.tagName.includes("-");for(const o in u)(v&&(o.endsWith("value")||"indeterminate"===o)||c(o)&&!T(o)||"."===o[0]||t&&!T(o))&&r(e,o,null,u[o],void 0,n)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,n);else if(4&d&&Dt(u.style))for(const e in u.style)u.style[e];(l=u&&u.onVnodeBeforeMount)&&js(l,n,t),p&&Un(t,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||p||y)&&us(()=>{l&&js(l,n,t),y&&m.enter(e),p&&Un(t,null,n,"mounted")},o)}return e.nextSibling},f=(e,t,r,s,a,c,u)=>{u=u||!!t.dynamicChildren;const h=t.children,f=h.length;for(let p=0;p<f;p++){const t=u?h[p]:h[p]=Bs(h[p]),m=t.type===fs;e?(m&&!u&&p+1<f&&Bs(h[p+1]).type===fs&&(l(o(e.data.slice(t.children.length)),r,i(e)),e.data=t.children),e=d(e,t,s,a,c,u)):m&&!t.children?l(t.el=o(""),r):(Ur(r,1)||qr(),n(null,t,r,null,s,a,jr(r),c))}return e},p=(e,t,n,r,o,a)=>{const{slotScopeIds:c}=t;c&&(o=o?o.concat(c):c);const d=s(e),h=f(i(e),t,d,n,r,o,a);return h&&zr(h)&&"]"===h.data?i(t.anchor=h):(qr(),l(t.anchor=u("]"),d,h),h)},m=(e,t,r,o,l,c)=>{if(Ur(e.parentElement,1)||qr(),t.el=null,c){const t=v(e);for(;;){const n=i(e);if(!n||n===t)break;a(n)}}const u=i(e),d=s(e);return a(e),n(null,t,d,u,r,o,jr(d),l),r&&(r.vnode.el=t.el,Ii(r,t.el)),u},v=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&zr(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},b=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),Dn(),void(t._vnode=e);d(t.firstChild,e,null,null,null),Dn(),t._vnode=e},d]}const Xr="data-allow-mismatch",Kr={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ur(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Xr);)e=e.parentElement;const n=e&&e.getAttribute(Xr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(Kr[t])}}const Gr=j().requestIdleCallback||(e=>setTimeout(e,1)),Qr=j().cancelIdleCallback||(e=>clearTimeout(e)),Yr=(e=1e4)=>t=>{const n=Gr(t,{timeout:e});return()=>Qr(n)};const Jr=e=>(t,n)=>{const r=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||r>0&&r<i)&&(n>0&&n<s||o>0&&o<s)}(e)?(t(),r.disconnect(),!1):void r.observe(e)}),()=>r.disconnect()},Zr=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},eo=(e=[])=>(t,n)=>{w(e)&&(e=[e]);let r=!1;const o=e=>{r||(r=!0,i(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},i=()=>{n(t=>{for(const n of e)t.removeEventListener(n,o)})};return n(t=>{for(const n of e)t.addEventListener(n,o,{once:!0})}),i};const to=e=>!!e.type.__asyncLoader;function no(e){y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const h=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((d++,u=null,h())),()=>n(e),d+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Or({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(e,t,n){let r=!1;(t.bu||(t.bu=[])).push(()=>r=!0);const o=()=>{r||n()},s=i?()=>{const n=i(o,t=>function(e,t){if(zr(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(zr(r))if("]"===r.data){if(0===--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:o;c?s():h().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return c},setup(){const e=Ks;if(Pr(e),c)return()=>ro(c,e);const t=t=>{u=null,Sn(t,e,13,!r)};if(a&&e.suspense||na)return h().then(t=>()=>ro(t,e)).catch(e=>(t(e),()=>r?Is(r,{error:e}):null));const i=jt(!1),l=jt(),d=jt(!!o);return o&&setTimeout(()=>{d.value=!1},o),null!=s&&setTimeout(()=>{if(!i.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}},s),h().then(()=>{i.value=!0,e.parent&&oo(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),l.value=e}),()=>i.value&&c?ro(c,e):l.value&&r?Is(r,{error:l.value}):n&&!d.value?ro(n,e):void 0}})}function ro(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=Is(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const oo=e=>e.type.__isKeepAlive,io={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Us(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,h=d("div");function f(e){ho(e),u(e,n,a,!0)}function p(e){o.forEach((t,n)=>{const r=da(to(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&m(n)})}function m(e){const t=o.get(e);!t||s&&As(t,s)?s&&ho(s):f(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,r,e.slotScopeIds,o),Ki(()=>{i.isDeactivated=!1,i.a&&W(i.a);const t=e.props&&e.props.onVnodeMounted;t&&js(t,i.parent,e)},a)},r.deactivate=e=>{const t=e.component;ns(t.m),ns(t.a),c(e,h,null,1,a),Ki(()=>{t.da&&W(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&js(n,t.parent,e),t.isDeactivated=!0},a)},rr(()=>[e.include,e.exclude],([e,t])=>{e&&p(t=>so(e,t)),t&&p(e=>!so(t,e))},{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(os(n.subTree.type)?Ki(()=>{o.set(v,fo(n.subTree))},n.subTree.suspense):o.set(v,fo(n.subTree)))};return go(g),yo(g),wo(()=>{o.forEach(e=>{const{subTree:t,suspense:r}=n,o=fo(t);if(e.type===o.type&&e.key===o.key){ho(o);const e=o.component.da;return void(e&&Ki(e,r))}f(e)})}),()=>{if(v=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!(_s(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;let a=fo(r);if(a.type===ps)return s=null,a;const l=a.type,c=da(to(a)?a.type.__asyncResolved||{}:l),{include:u,exclude:d,max:h}=e;if(u&&(!c||!so(u,c))||d&&c&&so(d,c))return a.shapeFlag&=-257,s=a,r;const f=null==a.key?l:a.key,p=o.get(f);return a.el&&(a=Ps(a),128&r.shapeFlag&&(r.ssContent=a)),v=f,p?(a.el=p.el,a.component=p.component,a.transition&&Mr(a,a.transition),a.shapeFlag|=512,i.delete(f),i.add(f)):(i.add(f),h&&i.size>parseInt(h,10)&&m(i.values().next().value)),a.shapeFlag|=256,s=a,os(r.type)?r:a}}};function so(e,t){return m(e)?e.some(e=>so(e,t)):w(e)?e.split(",").includes(t):"[object RegExp]"===C(e)&&(e.lastIndex=0,e.test(t))}function ao(e,t){co(e,"a",t)}function lo(e,t){co(e,"da",t)}function co(e,t,n=Ks){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(po(t,r,n),n){let e=n.parent;for(;e&&e.parent;)oo(e.parent.vnode)&&uo(r,t,n,e),e=e.parent}}function uo(e,t,n,r){const o=po(t,e,r,!0);So(()=>{h(r[t],o)},n)}function ho(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fo(e){return 128&e.shapeFlag?e.ssContent:e}function po(e,t,n=Ks,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Ne();const o=Ys(n),i=wn(t,n,e,r);return o(),Fe(),i});return r?o.unshift(i):o.push(i),i}}const mo=e=>(t,n=Ks)=>{na&&"sp"!==e||po(e,(...e)=>t(...e),n)},vo=mo("bm"),go=mo("m"),bo=mo("bu"),yo=mo("u"),wo=mo("bum"),So=mo("um"),ko=mo("sp"),xo=mo("rtg"),Eo=mo("rtc");function Co(e,t=Ks){po("ec",e,t)}const _o="components";function Ao(e,t){return Mo(_o,e,!0,t)||e}const To=Symbol.for("v-ndc");function Lo(e){return w(e)?Mo(_o,e,!1)||e:e||To}function Ro(e){return Mo("directives",e)}function Mo(e,t,n=!0,r=!1){const o=Vn||Ks;if(o){const n=o.type;if(e===_o){const e=da(n,!1);if(e&&(e===t||e===I(t)||e===P(I(t))))return n}const i=Io(o[e]||n[e],t)||Io(o.appContext[e],t);return!i&&r?n:i}}function Io(e,t){return e&&(e[t]||e[I(t)]||e[P(I(t))])}function Oo(e,t,n,r){let o;const i=n&&n[r],s=m(e);if(s||w(e)){let n=!1,r=!1;s&&Dt(e)&&(n=!Nt(e),r=Pt(e),e=Qe(e)),o=new Array(e.length);for(let s=0,a=e.length;s<a;s++)o[s]=t(n?r?Ht(Vt(e[s])):Vt(e[s]):e[s],s,void 0,i&&i[s])}else if("number"==typeof e){0,o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(k(e))if(e[Symbol.iterator])o=Array.from(e,(e,n)=>t(e,n,void 0,i&&i[n]));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r<s;r++){const s=n[r];o[r]=t(e[s],s,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function Do(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(m(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Po(e,t,n={},r,o){if(Vn.ce||Vn.parent&&to(Vn.parent)&&Vn.parent.ce){const e=Object.keys(n).length>0;return"default"!==t&&(n.name=t),bs(),Cs(hs,null,[Is("slot",n,r&&r())],e?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),bs();const s=i&&No(i(n)),a=n.key||s&&s.key,l=Cs(hs,{key:(a&&!S(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function No(e){return e.some(e=>!_s(e)||e.type!==ps&&!(e.type===hs&&!No(e.children)))?e:null}function Fo(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:N(r)]=e[r];return n}const Wo=e=>e?Zs(e)?ua(e):Wo(e.parent):null,Bo=d(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wo(e.parent),$root:e=>Wo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>li(e),$forceUpdate:e=>e.f||(e.f=()=>{Rn(e.update)}),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>ir.bind(e)}),Vo=(e,t)=>e!==i&&!e.__isScriptSetup&&p(e,t),Ho={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:l,appContext:c}=e;if("$"!==t[0]){const e=a[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Vo(r,t))return a[t]=1,r[t];if(o!==i&&p(o,t))return a[t]=2,o[t];if(p(s,t))return a[t]=3,s[t];if(n!==i&&p(n,t))return a[t]=4,n[t];oi&&(a[t]=0)}}const u=Bo[t];let d,h;return u?("$attrs"===t&&Ke(e.attrs,0,""),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==i&&p(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Vo(o,t)?(o[t]=n,!0):r!==i&&p(r,t)?(r[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:a}},l){let c;return!!(n[l]||e!==i&&"$"!==l[0]&&p(e,l)||Vo(t,l)||p(s,l)||p(r,l)||p(Bo,l)||p(o.config.globalProperties,l)||(c=a.__cssModules)&&c[l])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const qo=d({},Ho,{get(e,t){if(t!==Symbol.unscopables)return Ho.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!z(t)});function jo(){return null}function zo(){return null}function $o(e){0}function Xo(e){0}function Ko(){return null}function Uo(){0}function Go(e,t){return null}function Qo(){return Jo("useSlots").slots}function Yo(){return Jo("useAttrs").attrs}function Jo(e){const t=Us();return t.setupContext||(t.setupContext=ca(t))}function Zo(e){return m(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ei(e,t){const n=Zo(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r];e?m(e)||y(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n}function ti(e,t){return e&&t?m(e)&&m(t)?e.concat(t):d({},Zo(e),Zo(t)):e||t}function ni(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ri(e){const t=Us();let n=e();return Js(),x(n)&&(n=n.catch(e=>{throw Ys(t),e})),[n,()=>Ys(t)]}let oi=!0;function ii(e){const t=li(e),n=e.proxy,r=e.ctx;oi=!1,t.beforeCreate&&si(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:f,beforeUpdate:p,updated:v,activated:g,deactivated:b,beforeDestroy:w,beforeUnmount:S,destroyed:x,unmounted:E,render:C,renderTracked:_,renderTriggered:A,errorCaptured:T,serverPrefetch:L,expose:R,inheritAttrs:M,components:I,directives:O,filters:D}=t;if(u&&function(e,t){m(e)&&(e=hi(e));for(const n in e){const r=e[n];let o;o=k(r)?"default"in r?Qn(r.from||n,r.default,!0):Qn(r.from||n):Qn(r),qt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,r,null),s)for(const a in s){const e=s[a];y(e)&&(r[a]=e.bind(n))}if(o){0;const t=o.call(n,n);0,k(t)&&(e.data=Lt(t))}if(oi=!0,i)for(const m in i){const e=i[m],t=y(e)?e.bind(n,n):y(e.get)?e.get.bind(n,n):a;0;const o=!y(e)&&y(e.set)?e.set.bind(n):a,s=fa({get:t,set:o});Object.defineProperty(r,m,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)ai(l[a],r,n,a);if(c){const e=y(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Gn(t,e[t])})}function P(e,t){m(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&si(d,e,"c"),P(vo,h),P(go,f),P(bo,p),P(yo,v),P(ao,g),P(lo,b),P(Co,T),P(Eo,_),P(xo,A),P(wo,S),P(So,E),P(ko,L),m(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===a&&(e.render=C),null!=M&&(e.inheritAttrs=M),I&&(e.components=I),O&&(e.directives=O),L&&Pr(e)}function si(e,t,n){wn(m(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function ai(e,t,n,r){let o=r.includes(".")?sr(n,r):()=>n[r];if(w(e)){const n=t[e];y(n)&&rr(o,n)}else if(y(e))rr(o,e.bind(n));else if(k(e))if(m(e))e.forEach(e=>ai(e,t,n,r));else{const r=y(e.handler)?e.handler.bind(n):t[e.handler];y(r)&&rr(o,r,e)}else 0}function li(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||r?(l={},o.length&&o.forEach(e=>ci(l,e,s,!0)),ci(l,t,s)):l=t,k(t)&&i.set(t,l),l}function ci(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&ci(e,i,n,!0),o&&o.forEach(t=>ci(e,t,n,!0));for(const s in t)if(r&&"expose"===s);else{const r=ui[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const ui={data:di,props:mi,emits:mi,methods:pi,computed:pi,beforeCreate:fi,created:fi,beforeMount:fi,mounted:fi,beforeUpdate:fi,updated:fi,beforeDestroy:fi,beforeUnmount:fi,destroyed:fi,unmounted:fi,activated:fi,deactivated:fi,errorCaptured:fi,serverPrefetch:fi,components:pi,directives:pi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=d(Object.create(null),e);for(const r in t)n[r]=fi(e[r],t[r]);return n},provide:di,inject:function(e,t){return pi(hi(e),hi(t))}};function di(e,t){return t?e?function(){return d(y(e)?e.call(this,this):e,y(t)?t.call(this,this):t)}:t:e}function hi(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function fi(e,t){return e?[...new Set([].concat(e,t))]:t}function pi(e,t){return e?d(Object.create(null),e,t):t}function mi(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:d(Object.create(null),Zo(e),Zo(null!=t?t:{})):t}function vi(){return{app:null,config:{isNativeTag:l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gi=0;function bi(e,t){return function(n,r=null){y(n)||(n=d({},n)),null==r||k(r)||(r=null);const o=vi(),i=new WeakSet,s=[];let a=!1;const l=o.app={_uid:gi++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:ba,get config(){return o.config},set config(e){0},use:(e,...t)=>(i.has(e)||(e&&y(e.install)?(i.add(e),e.install(l,...t)):y(e)&&(i.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(i,s,c){if(!a){0;const u=l._ceVNode||Is(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(u,i):e(u,i,c),a=!0,l._container=i,i.__vue_app__=l,ua(u.component)}},onUnmount(e){s.push(e)},unmount(){a&&(wn(s,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=yi;yi=l;try{return e()}finally{yi=t}}};return l}}let yi=null;function wi(e,t,n=i){const r=Us();const o=I(t);const s=D(t),a=Si(e,o),l=Zt((a,l)=>{let c,u,d=i;return nr(()=>{const t=e[o];F(c,t)&&(c=t,l())}),{get:()=>(a(),n.get?n.get(c):c),set(e){const a=n.set?n.set(e):e;if(!(F(a,c)||d!==i&&F(e,d)))return;const h=r.vnode.props;h&&(t in h||o in h||s in h)&&(`onUpdate:${t}`in h||`onUpdate:${o}`in h||`onUpdate:${s}`in h)||(c=e,l()),r.emit(`update:${t}`,a),F(e,a)&&F(e,d)&&!F(a,u)&&l(),d=e,u=a}}});return l[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||i:l,done:!1}:{done:!0}}},l}const Si=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${I(t)}Modifiers`]||e[`${D(t)}Modifiers`];function ki(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||i;let o=n;const s=t.startsWith("update:"),a=s&&Si(r,t.slice(7));let l;a&&(a.trim&&(o=n.map(e=>w(e)?e.trim():e)),a.number&&(o=n.map(V)));let c=r[l=N(t)]||r[l=N(I(t))];!c&&s&&(c=r[l=N(D(t))]),c&&wn(c,e,6,o);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,wn(u,e,6,o)}}const xi=new WeakMap;function Ei(e,t,n=!1){const r=n?xi:t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!y(e)){const r=e=>{const n=Ei(e,t,!0);n&&(a=!0,d(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(m(i)?i.forEach(e=>s[e]=null):d(s,i),k(e)&&r.set(e,s),s):(k(e)&&r.set(e,null),null)}function Ci(e,t){return!(!e||!c(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,D(t))||p(e,t))}function _i(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:d,props:h,data:f,setupState:p,ctx:m,inheritAttrs:v}=e,g=qn(e);let b,y;try{if(4&n.shapeFlag){const e=o||r,t=e;b=Bs(c.call(t,e,d,h,p,f,m)),y=a}else{const e=t;0,b=Bs(e.length>1?e(h,{attrs:a,slots:s,emit:l}):e(h,null)),y=t.props?a:Ti(a)}}catch(S){vs.length=0,Sn(S,e,1),b=Is(ps)}let w=b;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(u)&&(y=Li(y,i)),w=Ps(w,y,!1,!0))}return n.dirs&&(w=Ps(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&Mr(w,n.transition),b=w,qn(g),b}function Ai(e,t=!0){let n;for(let r=0;r<e.length;r++){const t=e[r];if(!_s(t))return;if(t.type!==ps||"v-if"===t.children){if(n)return;n=t}}return n}const Ti=e=>{let t;for(const n in e)("class"===n||"style"===n||c(n))&&((t||(t={}))[n]=e[n]);return t},Li=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ri(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(Mi(t,e,i)&&!Ci(n,i))return!0}return!1}function Mi(e,t,n){const r=e[n],o=t[n];return"style"===n&&k(r)&&k(o)?!ie(r,o):r!==o}function Ii({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const Oi={},Di=()=>Object.create(Oi),Pi=e=>Object.getPrototypeOf(e)===Oi;function Ni(e,t,n,r){const[o,s]=e.propsOptions;let a,l=!1;if(t)for(let i in t){if(T(i))continue;const c=t[i];let u;o&&p(o,u=I(i))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Ci(e.emitsOptions,i)||i in r&&c===r[i]||(r[i]=c,l=!0)}if(s){const t=Wt(n),r=a||i;for(let i=0;i<s.length;i++){const a=s[i];n[a]=Fi(o,t,a,r[a],e,!p(r,a))}}return l}function Fi(e,t,n,r,o,i){const s=e[n];if(null!=s){const e=p(s,"default");if(e&&void 0===r){const e=s.default;if(s.type!==Function&&!s.skipFactory&&y(e)){const{propsDefaults:i}=o;if(n in i)r=i[n];else{const s=Ys(o);r=i[n]=e.call(null,t),s()}}else r=e;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!e?r=!1:!s[1]||""!==r&&r!==D(n)||(r=!0))}return r}const Wi=new WeakMap;function Bi(e,t,n=!1){const r=n?Wi:t.propsCache,o=r.get(e);if(o)return o;const a=e.props,l={},c=[];let u=!1;if(!y(e)){const r=e=>{u=!0;const[n,r]=Bi(e,t,!0);d(l,n),r&&c.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!u)return k(e)&&r.set(e,s),s;if(m(a))for(let s=0;s<a.length;s++){0;const e=I(a[s]);Vi(e)&&(l[e]=i)}else if(a){0;for(const e in a){const t=I(e);if(Vi(t)){const n=a[e],r=l[t]=m(n)||y(n)?{type:n}:d({},n),o=r.type;let i=!1,s=!0;if(m(o))for(let e=0;e<o.length;++e){const t=o[e],n=y(t)&&t.name;if("Boolean"===n){i=!0;break}"String"===n&&(s=!1)}else i=y(o)&&"Boolean"===o.name;r[0]=i,r[1]=s,(i||p(r,"default"))&&c.push(t)}}}const h=[l,c];return k(e)&&r.set(e,h),h}function Vi(e){return"$"!==e[0]&&!T(e)}const Hi=e=>"_"===e||"_ctx"===e||"$stable"===e,qi=e=>m(e)?e.map(Bs):[Bs(e)],ji=(e,t,n)=>{if(t._n)return t;const r=Xn((...e)=>qi(t(...e)),n);return r._c=!1,r},zi=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Hi(o))continue;const n=e[o];if(y(n))t[o]=ji(0,n,r);else if(null!=n){0;const e=qi(n);t[o]=()=>e}}},$i=(e,t)=>{const n=qi(t);e.slots.default=()=>n},Xi=(e,t,n)=>{for(const r in t)!n&&Hi(r)||(e[r]=t[r])};const Ki=us;function Ui(e){return Qi(e)}function Gi(e){return Qi(e,$r)}function Qi(e,t){j().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:l,createText:c,createComment:u,setText:d,setElementText:h,parentNode:f,nextSibling:m,setScopeId:v=a,insertStaticContent:g}=e,b=(e,t,n,r=null,o=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!As(e,t)&&(r=Q(e),$(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case fs:y(e,t,n,r);break;case ps:w(e,t,n,r);break;case ms:null==e&&S(t,n,r,s);break;case hs:M(e,t,n,r,o,i,s,a,l);break;default:1&d?x(e,t,n,r,o,i,s,a,l):6&d?O(e,t,n,r,o,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,s,a,l,Z)}null!=u&&o?Br(u,e&&e.ref,i,t||e,!t):null==u&&e&&null!=e.ref&&Br(e.ref,null,i,e,!0)},y=(e,t,r,o)=>{if(null==e)n(t.el=c(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},w=(e,t,r,o)=>{null==e?n(t.el=u(t.children||""),r,o):t.el=e.el},S=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),r(e),e=n;r(t)},x=(e,t,n,r,o,i,s,a,l)=>{if("svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e)E(t,n,r,o,i,s,a,l);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),A(e,t,o,i,s,a,l)}finally{n&&n._endPatch()}}},E=(e,t,r,i,s,a,c,u)=>{let d,f;const{props:p,shapeFlag:m,transition:v,dirs:g}=e;if(d=e.el=l(e.type,a,p&&p.is,p),8&m?h(d,e.children):16&m&&_(e.children,d,null,i,s,Yi(e,a),c,u),g&&Un(e,null,i,"created"),C(d,e,e.scopeId,c,i),p){for(const e in p)"value"===e||T(e)||o(d,e,null,p[e],a,i);"value"in p&&o(d,"value",null,p.value,a),(f=p.onVnodeBeforeMount)&&js(f,i,e)}g&&Un(e,null,i,"beforeMount");const b=Zi(s,v);b&&v.beforeEnter(d),n(d,t,r),((f=p&&p.onVnodeMounted)||b||g)&&Ki(()=>{f&&js(f,i,e),b&&v.enter(d),g&&Un(e,null,i,"mounted")},s)},C=(e,t,n,r,o)=>{if(n&&v(e,n),r)for(let i=0;i<r.length;i++)v(e,r[i]);if(o){let n=o.subTree;if(t===n||os(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;C(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},_=(e,t,n,r,o,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Vs(e[c]):Bs(e[c]);b(null,l,t,n,r,o,i,s,a)}},A=(e,t,n,r,s,a,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=16&e.patchFlag;const p=e.props||i,m=t.props||i;let v;if(n&&Ji(n,!1),(v=m.onVnodeBeforeUpdate)&&js(v,n,t,e),f&&Un(t,e,n,"beforeUpdate"),n&&Ji(n,!0),(p.innerHTML&&null==m.innerHTML||p.textContent&&null==m.textContent)&&h(c,""),d?L(e.dynamicChildren,d,c,n,r,Yi(t,s),a):l||V(e,t,c,null,n,r,Yi(t,s),a,!1),u>0){if(16&u)R(c,p,m,n,s);else if(2&u&&p.class!==m.class&&o(c,"class",null,m.class,s),4&u&&o(c,"style",p.style,m.style,s),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],i=p[r],a=m[r];a===i&&"value"!==r||o(c,r,i,a,s,n)}}1&u&&e.children!==t.children&&h(c,t.children)}else l||null!=d||R(c,p,m,n,s);((v=m.onVnodeUpdated)||f)&&Ki(()=>{v&&js(v,n,t,e),f&&Un(t,e,n,"updated")},r)},L=(e,t,n,r,o,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===hs||!As(l,c)||198&l.shapeFlag)?f(l.el):n;b(l,c,u,null,r,o,i,s,!0)}},R=(e,t,n,r,s)=>{if(t!==n){if(t!==i)for(const i in t)T(i)||i in n||o(e,i,t[i],null,s,r);for(const i in n){if(T(i))continue;const a=n[i],l=t[i];a!==l&&"value"!==i&&o(e,i,l,a,s,r)}"value"in n&&o(e,"value",t.value,n.value,s)}},M=(e,t,r,o,i,s,a,l,u)=>{const d=t.el=e?e.el:c(""),h=t.anchor=e?e.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,o),n(h,r,o),_(t.children||[],r,h,i,s,a,l,u)):f>0&&64&f&&p&&e.dynamicChildren&&e.dynamicChildren.length===p.length?(L(e.dynamicChildren,p,r,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&es(e,t,!0)):V(e,t,r,h,i,s,a,l,u)},O=(e,t,n,r,o,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):P(t,n,r,o,i,s,l):N(e,t,l)},P=(e,t,n,r,o,i,s)=>{const a=e.component=Xs(e,r,o);if(oo(e)&&(a.ctx.renderer=Z),ra(a,!1,s),a.asyncDep){if(o&&o.registerDep(a,F,s),!e.el){const r=a.subTree=Is(ps);w(null,r,t,n),e.placeholder=r.el}}else F(a,e,t,n,o,i,s)},N=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||Ri(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?Ri(r,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(Mi(s,r,n)&&!Ci(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},F=(e,t,n,r,o,i,s)=>{e.scope.on();const a=e.effect=new ye(()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:a,vnode:c}=e;{const n=ts(e);if(n)return t&&(t.el=c.el,B(e,t,s)),void n.asyncDep.then(()=>{Ki(()=>{e.isUnmounted||l()},o)})}let u,d=t;0,Ji(e,!1),t?(t.el=c.el,B(e,t,s)):t=c,n&&W(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&js(u,a,t,c),Ji(e,!0);const h=_i(e);0;const p=e.subTree;e.subTree=h,b(p,h,f(p.el),Q(p),e,o,i),t.el=h.el,null===d&&Ii(e,h.el),r&&Ki(r,o),(u=t.props&&t.props.onVnodeUpdated)&&Ki(()=>js(u,a,t,c),o)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d,root:h,type:f}=e,p=to(t);if(Ji(e,!1),c&&W(c),!p&&(s=l&&l.onVnodeBeforeMount)&&js(s,d,t),Ji(e,!0),a&&te){const t=()=>{e.subTree=_i(e),te(a,e.subTree,e,o,null)};p&&f.__asyncHydrate?f.__asyncHydrate(a,e,t):t()}else{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(f);const s=e.subTree=_i(e);0,b(null,s,n,r,e,o,i),t.el=s.el}if(u&&Ki(u,o),!p&&(s=l&&l.onVnodeMounted)){const e=t;Ki(()=>js(s,d,e),o)}(256&t.shapeFlag||d&&to(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&Ki(e.a,o),e.isMounted=!0,t=n=r=null}});e.scope.off();const l=e.update=a.run.bind(a),c=e.job=a.runIfDirty.bind(a);c.i=e,c.id=e.uid,a.scheduler=()=>Rn(c),Ji(e,!0),l()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=Wt(o),[l]=e.propsOptions;let c=!1;if(!(r||s>0)||16&s){let r;Ni(e,t,o,i)&&(c=!0);for(const i in a)t&&(p(t,i)||(r=D(i))!==i&&p(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=Fi(l,a,i,void 0,e,!0)):delete o[i]);if(i!==a)for(const e in i)t&&p(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let s=n[r];if(Ci(e.emitsOptions,s))continue;const u=t[s];if(l)if(p(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=I(s);o[t]=Fi(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&Ue(e.attrs,"set","")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=i;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:Xi(o,t,n):(s=!t.$stable,zi(t,o)),a=t}else t&&($i(e,t),a={default:1});if(s)for(const i in o)Hi(i)||null!=a[i]||delete o[i]})(e,t.children,n),Ne(),On(e),Fe()},V=(e,t,n,r,o,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void q(c,d,n,r,o,i,s,a,l);if(256&f)return void H(c,d,n,r,o,i,s,a,l)}8&p?(16&u&&G(c,o,i),d!==c&&h(n,d)):16&u?16&p?q(c,d,n,r,o,i,s,a,l):G(c,o,i,!0):(8&u&&h(n,""),16&p&&_(d,n,r,o,i,s,a,l))},H=(e,t,n,r,o,i,a,l,c)=>{t=t||s;const u=(e=e||s).length,d=t.length,h=Math.min(u,d);let f;for(f=0;f<h;f++){const r=t[f]=c?Vs(t[f]):Bs(t[f]);b(e[f],r,n,null,o,i,a,l,c)}u>d?G(e,o,i,!0,!1,h):_(t,n,r,o,i,a,l,c,h)},q=(e,t,n,r,o,i,a,l,c)=>{let u=0;const d=t.length;let h=e.length-1,f=d-1;for(;u<=h&&u<=f;){const r=e[u],s=t[u]=c?Vs(t[u]):Bs(t[u]);if(!As(r,s))break;b(r,s,n,null,o,i,a,l,c),u++}for(;u<=h&&u<=f;){const r=e[h],s=t[f]=c?Vs(t[f]):Bs(t[f]);if(!As(r,s))break;b(r,s,n,null,o,i,a,l,c),h--,f--}if(u>h){if(u<=f){const e=f+1,s=e<d?t[e].el:r;for(;u<=f;)b(null,t[u]=c?Vs(t[u]):Bs(t[u]),n,s,o,i,a,l,c),u++}}else if(u>f)for(;u<=h;)$(e[u],o,i,!0),u++;else{const p=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Vs(t[u]):Bs(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const w=f-m+1;let S=!1,k=0;const x=new Array(w);for(u=0;u<w;u++)x[u]=0;for(u=p;u<=h;u++){const r=e[u];if(y>=w){$(r,o,i,!0);continue}let s;if(null!=r.key)s=v.get(r.key);else for(g=m;g<=f;g++)if(0===x[g-m]&&As(r,t[g])){s=g;break}void 0===s?$(r,o,i,!0):(x[s-m]=u+1,s>=k?k=s:S=!0,b(r,t[s],n,null,o,i,a,l,c),y++)}const E=S?function(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(x):s;for(g=E.length-1,u=w-1;u>=0;u--){const e=m+u,s=t[e],h=t[e+1],f=e+1<d?h.el||rs(h):r;0===x[u]?b(null,s,n,f,o,i,a,l,c):S&&(g<0||u!==E[g]?z(s,n,f,2):g--)}}},z=(e,t,o,i,s=null)=>{const{el:a,type:l,transition:c,children:u,shapeFlag:d}=e;if(6&d)return void z(e.component.subTree,t,o,i);if(128&d)return void e.suspense.move(t,o,i);if(64&d)return void l.move(e,t,o,Z);if(l===hs){n(a,t,o);for(let e=0;e<u.length;e++)z(u[e],t,o,i);return void n(e.anchor,t,o)}if(l===ms)return void(({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=m(e),n(e,r,o),e=i;n(t,r,o)})(e,t,o);if(2!==i&&1&d&&c)if(0===i)c.beforeEnter(a),n(a,t,o),Ki(()=>c.enter(a),s);else{const{leave:i,delayLeave:s,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?r(a):n(a,t,o)},d=()=>{a._isLeaving&&a[yr](!0),i(a,()=>{u(),l&&l()})};s?s(a,u,d):d()}else n(a,t,o)},$=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h,cacheIndex:f}=e;if(-2===d&&(o=!1),null!=a&&(Ne(),Br(a,null,n,e,!0),Fe()),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const p=1&u&&h,m=!to(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&js(v,t,e),6&u)U(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Un(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Z,r):c&&!c.hasOnce&&(i!==hs||d>0&&64&d)?G(c,t,n,!1,!0):(i===hs&&384&d||!o&&16&u)&&G(l,t,n),r&&X(e)}(m&&(v=s&&s.onVnodeUnmounted)||p)&&Ki(()=>{v&&js(v,t,e),p&&Un(e,null,t,"unmounted")},n)},X=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===hs)return void K(n,o);if(t===ms)return void k(e);const s=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,s);r?r(e.el,s,o):o()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),r(e),e=n;r(t)},U=(e,t,n)=>{const{bum:r,scope:o,job:i,subTree:s,um:a,m:l,a:c}=e;ns(l),ns(c),r&&W(r),o.stop(),i&&(i.flags|=8,$(s,e,t,n)),a&&Ki(a,t),Ki(()=>{e.isUnmounted=!0},t)},G=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s<e.length;s++)$(e[s],t,n,r,o)},Q=e=>{if(6&e.shapeFlag)return Q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[ar];return n?m(n):t};let Y=!1;const J=(e,t,n)=>{let r;null==e?t._vnode&&($(t._vnode,null,null,!0),r=t._vnode.component):b(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Y||(Y=!0,On(r),Dn(),Y=!1)},Z={p:b,um:$,m:z,r:X,mt:P,mc:_,pc:V,pbc:L,n:Q,o:e};let ee,te;return t&&([ee,te]=t(Z)),{render:J,hydrate:ee,createApp:bi(J,ee)}}function Yi({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ji({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Zi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function es(e,t,n=!1){const r=e.children,o=t.children;if(m(r)&&m(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=Vs(o[i]),t.el=e.el),n||-2===t.patchFlag||es(e,t)),t.type===fs&&(-1===t.patchFlag&&(t=o[i]=Vs(t)),t.el=e.el),t.type!==ps||t.el||(t.el=e.el)}}function ts(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ts(t)}function ns(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function rs(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?rs(t.subTree):null}const os=e=>e.__isSuspense;let is=0;const ss={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(null==e)!function(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=ls(e,o,r,t,d,n,i,s,a,l);c(null,h.pendingBranch=e.ssContent,d,null,r,h,i,s),h.deps>0?(as(e,"onPending"),as(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),ds(h,e.ssFallback)):h.resolve(!1,!0)}(t,n,r,o,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const h=t.ssContent,f=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=h,As(m,h)?(l(m,h,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():v&&(g||(l(p,f,n,r,o,null,i,s,a),ds(d,f)))):(d.pendingId=is++,g?(d.isHydrating=!1,d.activeBranch=m):c(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,h,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():(l(p,f,n,r,o,null,i,s,a),ds(d,f))):p&&As(p,h)?(l(p,h,n,r,o,d,i,s,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0&&d.resolve()));else if(p&&As(p,h))l(p,h,n,r,o,d,i,s,a),ds(d,h);else if(as(t,"onPending"),d.pendingBranch=h,512&h.shapeFlag?d.pendingId=h.component.suspenseId:d.pendingId=is++,l(null,h,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(f)},e):0===e&&d.fallback(f)}}(e,t,n,r,o,s,a,l,c)}},hydrate:function(e,t,n,r,o,i,s,a,l){const c=t.suspense=ls(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&&c.resolve(!1,!0);return u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=cs(r?n.default:n),e.ssFallback=r?cs(n.fallback):Is(ps)}};function as(e,t){const n=e.props&&e.props[t];y(n)&&n()}function ls(e,t,n,r,o,i,s,a,l,c,u=!1){const{p:d,m:h,um:f,n:p,o:{parentNode:m,remove:v}}=c;let g;const b=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);b&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const y=e.props?H(e.props.timeout):void 0;const w=i,S={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:is++,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:o,pendingBranch:s,pendingId:a,effects:l,parentComponent:c,container:u,isInFallback:d}=S;let v=!1;S.isHydrating?S.isHydrating=!1:e||(v=o&&s.transition&&"out-in"===s.transition.mode,v&&(o.transition.afterLeave=()=>{a===S.pendingId&&(h(s,u,i===w?p(o):i,0),In(l),d&&r.ssFallback&&(r.ssFallback.el=null))}),o&&(m(o.el)===u&&(i=p(o)),f(o,c,S,!0),!v&&d&&r.ssFallback&&Ki(()=>r.ssFallback.el=null,S)),v||h(s,u,i,0)),ds(S,s),S.pendingBranch=null,S.isInFallback=!1;let y=S.parent,k=!1;for(;y;){if(y.pendingBranch){y.effects.push(...l),k=!0;break}y=y.parent}k||v||In(l),S.effects=[],b&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),as(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,namespace:i}=S;as(t,"onFallback");const s=p(n),c=()=>{S.isInFallback&&(d(null,e,o,s,r,null,i,a,l),ds(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,f(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&h(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&p(S.activeBranch),registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const o=e.vnode.el;e.asyncDep.catch(t=>{Sn(t,e,0)}).then(i=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;oa(e,i,!1),o&&(a.el=o);const l=!o&&e.subTree.el;t(e,a,m(o||e.subTree.el),o?null:p(e.subTree),S,s,n),l&&(a.placeholder=null,v(l)),Ii(e,a.el),r&&0===--S.deps&&S.resolve()})},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&f(S.activeBranch,n,e,t),S.pendingBranch&&f(S.pendingBranch,n,e,t)}};return S}function cs(e){let t;if(y(e)){const n=Ss&&e._c;n&&(e._d=!1,bs()),e=e(),n&&(e._d=!0,t=gs,ys())}if(m(e)){const t=Ai(e);0,e=t}return e=Bs(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function us(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):In(e)}function ds(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Ii(r,o))}const hs=Symbol.for("v-fgt"),fs=Symbol.for("v-txt"),ps=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),vs=[];let gs=null;function bs(e=!1){vs.push(gs=e?null:[])}function ys(){vs.pop(),gs=vs[vs.length-1]||null}let ws,Ss=1;function ks(e,t=!1){Ss+=e,e<0&&gs&&t&&(gs.hasOnce=!0)}function xs(e){return e.dynamicChildren=Ss>0?gs||s:null,ys(),Ss>0&&gs&&gs.push(e),e}function Es(e,t,n,r,o,i){return xs(Ms(e,t,n,r,o,i,!0))}function Cs(e,t,n,r,o){return xs(Is(e,t,n,r,o,!0))}function _s(e){return!!e&&!0===e.__v_isVNode}function As(e,t){return e.type===t.type&&e.key===t.key}function Ts(e){ws=e}const Ls=({key:e})=>null!=e?e:null,Rs=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?w(e)||qt(e)||y(e)?{i:Vn,r:e,k:t,f:!!n}:e:null);function Ms(e,t=null,n=null,r=0,o=null,i=(e===hs?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ls(t),ref:t&&Rs(t),scopeId:Hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Vn};return a?(Hs(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=w(n)?8:16),Ss>0&&!s&&gs&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&gs.push(l),l}const Is=Os;function Os(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==To||(e=ps),_s(e)){const r=Ps(e,t,!0);return n&&Hs(r,n),Ss>0&&!i&&gs&&(6&r.shapeFlag?gs[gs.indexOf(e)]=r:gs.push(r)),r.patchFlag=-2,r}if(ha(e)&&(e=e.__vccOpts),t){t=Ds(t);let{class:e,style:n}=t;e&&!w(e)&&(t.class=Q(e)),k(n)&&(Ft(n)&&!m(n)&&(n=d({},n)),t.style=$(n))}return Ms(e,t,n,r,o,w(e)?1:os(e)?128:lr(e)?64:k(e)?4:y(e)?2:0,i,!0)}function Ds(e){return e?Ft(e)||Pi(e)?d({},e):e:null}function Ps(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?qs(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ls(c),ref:t&&t.ref?n&&i?m(i)?i.concat(Rs(t)):[i,Rs(t)]:Rs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==hs?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ps(e.ssContent),ssFallback:e.ssFallback&&Ps(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Mr(u,l.clone(u)),u}function Ns(e=" ",t=0){return Is(fs,null,e,t)}function Fs(e,t){const n=Is(ms,null,e);return n.staticCount=t,n}function Ws(e="",t=!1){return t?(bs(),Cs(ps,null,e)):Is(ps,null,e)}function Bs(e){return null==e||"boolean"==typeof e?Is(ps):m(e)?Is(hs,null,e.slice()):_s(e)?Vs(e):Is(fs,null,String(e))}function Vs(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ps(e)}function Hs(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(m(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Hs(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Pi(t)?3===r&&Vn&&(1===Vn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Vn}}else y(t)?(t={default:t,_ctx:Vn},n=32):(t=String(t),64&r?(n=16,t=[Ns(t)]):n=8);e.children=t,e.shapeFlag|=n}function qs(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=Q([t.class,r.class]));else if("style"===e)t.style=$([t.style,r.style]);else if(c(e)){const n=t[e],o=r[e];!o||n===o||m(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function js(e,t,n,r=null){wn(e,t,7,[n,r])}const zs=vi();let $s=0;function Xs(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||zs,s={uid:$s++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new pe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bi(r,o),emitsOptions:Ei(r,o),emit:null,emitted:null,propsDefaults:i,inheritAttrs:r.inheritAttrs,ctx:i,data:i,props:i,attrs:i,slots:i,refs:i,setupState:i,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=ki.bind(null,s),e.ce&&e.ce(s),s}let Ks=null;const Us=()=>Ks||Vn;let Gs,Qs;{const e=j(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Gs=t("__VUE_INSTANCE_SETTERS__",e=>Ks=e),Qs=t("__VUE_SSR_SETTERS__",e=>na=e)}const Ys=e=>{const t=Ks;return Gs(e),e.scope.on(),()=>{e.scope.off(),Gs(t)}},Js=()=>{Ks&&Ks.scope.off(),Gs(null)};function Zs(e){return 4&e.vnode.shapeFlag}let ea,ta,na=!1;function ra(e,t=!1,n=!1){t&&Qs(t);const{props:r,children:o}=e.vnode,i=Zs(e);!function(e,t,n,r=!1){const o={},i=Di();e.propsDefaults=Object.create(null),Ni(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Rt(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,r,i,t),((e,t,n)=>{const r=e.slots=Di();if(32&e.vnode.shapeFlag){const e=t._;e?(Xi(r,t,n),n&&B(r,"_",e,!0)):zi(t,r)}else t&&$i(e,t)})(e,o,n||t);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ho),!1;const{setup:r}=n;if(r){Ne();const n=e.setupContext=r.length>1?ca(e):null,o=Ys(e),i=yn(r,e,0,[e.props,n]),s=x(i);if(Fe(),o(),!s&&!e.sp||to(e)||Pr(e),s){if(i.then(Js,Js),t)return i.then(n=>{oa(e,n,t)}).catch(t=>{Sn(t,e,0)});e.asyncDep=i}else oa(e,i,t)}else aa(e,t)}(e,t):void 0;return t&&Qs(!1),s}function oa(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:k(t)&&(e.setupState=Yt(t)),aa(e,n)}function ia(e){ea=e,ta=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,qo))}}const sa=()=>!ea;function aa(e,t,n){const r=e.type;if(!e.render){if(!t&&ea&&!r.render){const t=r.template||li(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:s}=r,a=d(d({isCustomElement:n,delimiters:i},o),s);r.render=ea(t,a)}}e.render=r.render||a,ta&&ta(e)}{const t=Ys(e);Ne();try{ii(e)}finally{Fe(),t()}}}const la={get:(e,t)=>(Ke(e,0,""),e[t])};function ca(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,la),slots:e.slots,emit:e.emit,expose:t}}function ua(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yt(Bt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Bo?Bo[n](e):void 0,has:(e,t)=>t in e||t in Bo})):e.proxy}function da(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}function ha(e){return y(e)&&"__vccOpts"in e}const fa=(e,t)=>{const n=function(e,t,n=!1){let r,o;return y(e)?r=e:(r=e.get,o=e.set),new sn(r,o,n)}(e,0,na);return n};function pa(e,t,n){try{ks(-1);const r=arguments.length;return 2===r?k(t)&&!m(t)?_s(t)?Is(e,null,[t]):Is(e,t):Is(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&_s(n)&&(n=[n]),Is(e,t,n))}finally{ks(1)}}function ma(){return void 0}function va(e,t,n,r){const o=n[r];if(o&&ga(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function ga(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(F(n[r],t[r]))return!1;return Ss>0&&gs&&gs.push(e),!0}const ba="3.5.28",ya=a,wa=bn,Sa=Fn,ka=function e(t,n){var r,o;if(Fn=t,Fn)Fn.enabled=!0,Wn.forEach(({event:e,args:t})=>Fn.emit(e,...t)),Wn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(o=null==(r=window.navigator)?void 0:r.userAgent)?void 0:o.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{e(t,n)}),setTimeout(()=>{Fn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Bn=!0,Wn=[])},3e3)}else Bn=!0,Wn=[]},xa={createComponentInstance:Xs,setupComponent:ra,renderComponentRoot:_i,setCurrentRenderingInstance:qn,isVNode:_s,normalizeVNode:Bs,getComponentPublicInstance:ua,ensureValidVNode:No,pushWarningContext:function(e){mn.push(e)},popWarningContext:function(){mn.pop()}},Ea=null,Ca=null,_a=null;let Aa;const Ta="undefined"!=typeof window&&window.trustedTypes;if(Ta)try{Aa=Ta.createPolicy("vue",{createHTML:e=>e})}catch(vf){}const La=Aa?e=>Aa.createHTML(e):e=>e,Ra="undefined"!=typeof document?document:null,Ma=Ra&&Ra.createElement("template"),Ia={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?Ra.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ra.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ra.createElement(e,{is:n}):Ra.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ra.createTextNode(e),createComment:e=>Ra.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ra.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{Ma.innerHTML=La("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const o=Ma.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Oa="transition",Da="animation",Pa=Symbol("_vtc"),Na={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Fa=d({},xr,Na),Wa=(e=>(e.displayName="Transition",e.props=Fa,e))((e,{slots:t})=>pa(_r,Ha(e),t)),Ba=(e,t=[])=>{m(e)?e.forEach(e=>e(...t)):e&&e(...t)},Va=e=>!!e&&(m(e)?e.some(e=>e.length>1):e.length>1);function Ha(e){const t={};for(const d in e)d in Na||(t[d]=e[d]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(k(e))return[qa(e.enter),qa(e.leave)];{const t=qa(e);return[t,t]}}(o),v=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:w,onLeave:S,onLeaveCancelled:x,onBeforeAppear:E=b,onAppear:C=y,onAppearCancelled:_=w}=t,A=(e,t,n,r)=>{e._enterCancelled=r,za(e,t?u:a),za(e,t?c:s),n&&n()},T=(e,t)=>{e._isLeaving=!1,za(e,h),za(e,p),za(e,f),t&&t()},L=e=>(t,n)=>{const o=e?C:y,s=()=>A(t,e,n);Ba(o,[t,s]),$a(()=>{za(t,e?l:i),ja(t,e?u:a),Va(o)||Ka(t,r,v,s)})};return d(t,{onBeforeEnter(e){Ba(b,[e]),ja(e,i),ja(e,s)},onBeforeAppear(e){Ba(E,[e]),ja(e,l),ja(e,c)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>T(e,t);ja(e,h),e._enterCancelled?(ja(e,f),Ya(e)):(Ya(e),ja(e,f)),$a(()=>{e._isLeaving&&(za(e,h),ja(e,p),Va(S)||Ka(e,r,g,n))}),Ba(S,[e,n])},onEnterCancelled(e){A(e,!1,void 0,!0),Ba(w,[e])},onAppearCancelled(e){A(e,!0,void 0,!0),Ba(_,[e])},onLeaveCancelled(e){T(e),Ba(x,[e])}})}function qa(e){return H(e)}function ja(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Pa]||(e[Pa]=new Set)).add(t)}function za(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Pa];n&&(n.delete(t),n.size||(e[Pa]=void 0))}function $a(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xa=0;function Ka(e,t,n,r){const o=e._endId=++Xa,i=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=Ua(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),i()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,h)}function Ua(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${Oa}Delay`),i=r(`${Oa}Duration`),s=Ga(o,i),a=r(`${Da}Delay`),l=r(`${Da}Duration`),c=Ga(a,l);let u=null,d=0,h=0;t===Oa?s>0&&(u=Oa,d=s,h=i.length):t===Da?c>0&&(u=Da,d=c,h=l.length):(d=Math.max(s,c),u=d>0?s>c?Oa:Da:null,h=u?u===Oa?i.length:l.length:0);return{type:u,timeout:d,propCount:h,hasTransform:u===Oa&&/\b(?:transform|all)(?:,|$)/.test(r(`${Oa}Property`).toString())}}function Ga(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Qa(t)+Qa(e[n])))}function Qa(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Ya(e){return(e?e.ownerDocument:document).body.offsetHeight}const Ja=Symbol("_vod"),Za=Symbol("_vsh"),el={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ja]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):tl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),tl(e,!0),r.enter(e)):r.leave(e,()=>{tl(e,!1)}):tl(e,t))},beforeUnmount(e,{value:t}){tl(e,t)}};function tl(e,t){e.style.display=t?e[Ja]:"none",e[Za]=!t}const nl=Symbol("");function rl(e){const t=Us();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>il(e,n))};const r=()=>{const r=e(t.proxy);t.ce?il(t.ce,r):ol(t.subTree,r),n(r)};bo(()=>{In(r)}),go(()=>{rr(r,a,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),So(()=>e.disconnect())})}function ol(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ol(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)il(e.el,t);else if(e.type===hs)e.children.forEach(e=>ol(e,t));else if(e.type===ms){let{el:n,anchor:r}=e;for(;n&&(il(n,t),n!==r);)n=n.nextSibling}}function il(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t){const o=de(t[e]);n.setProperty(`--${e}`,o),r+=`--${e}: ${o};`}n[nl]=r}}const sl=/(?:^|;)\s*display\s*:/;const al=/\s*!important$/;function ll(e,t,n){if(m(n))n.forEach(n=>ll(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=ul[t];if(n)return n;let r=I(t);if("filter"!==r&&r in e)return ul[t]=r;r=P(r);for(let o=0;o<cl.length;o++){const n=cl[o]+r;if(n in e)return ul[t]=n}return t}(e,t);al.test(n)?e.setProperty(D(r),n.replace(al,""),"important"):e[r]=n}}const cl=["Webkit","Moz","ms"],ul={};const dl="http://www.w3.org/1999/xlink";function hl(e,t,n,r,o,i=re(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(dl,t.slice(6,t.length)):e.setAttributeNS(dl,t,n):null==n||i&&!oe(n)?e.removeAttribute(t):e.setAttribute(t,i?"":S(n)?String(n):n)}function fl(e,t,n,r,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?La(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=oe(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0)}try{e[t]=n}catch(vf){0}s&&e.removeAttribute(o||t)}function pl(e,t,n,r){e.addEventListener(t,n,r)}const ml=Symbol("_vei");function vl(e,t,n,r,o=null){const i=e[ml]||(e[ml]={}),s=i[t];if(r&&s)s.value=r;else{const[n,a]=function(e){let t;if(gl.test(e)){let n;for(t={};n=e.match(gl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):D(e.slice(2));return[n,t]}(t);if(r){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();wn(function(e,t){if(m(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>bl||(yl.then(()=>bl=0),bl=Date.now()))(),n}(r,o);pl(e,n,s,a)}else s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),i[t]=void 0)}}const gl=/(?:Once|Passive|Capture)$/;let bl=0;const yl=Promise.resolve();const wl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sl=(e,t,n,r,o,i)=>{const s="svg"===o;"class"===t?function(e,t,n){const r=e[Pa];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,s):"style"===t?function(e,t,n){const r=e.style,o=w(n);let i=!1;if(n&&!o){if(t)if(w(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ll(r,t,"")}else for(const e in t)null==n[e]&&ll(r,e,"");for(const e in n)"display"===e&&(i=!0),ll(r,e,n[e])}else if(o){if(t!==n){const e=r[nl];e&&(n+=";"+e),r.cssText=n,i=sl.test(n)}}else t&&e.removeAttribute("style");Ja in e&&(e[Ja]=i?r.display:"",e[Za]&&(r.display="none"))}(e,n,r):c(t)?u(t)||vl(e,t,0,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&wl(t)&&y(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(wl(t)&&w(n))return!1;return t in e}(e,t,r,s))?(fl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||hl(e,t,r,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&w(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),hl(e,t,r,s)):fl(e,I(t),r,0,t)};const kl={};function xl(e,t,n){let r=Or(e,t);_(r)&&(r=d({},r,t));class o extends _l{constructor(e){super(r,e,n)}}return o.def=r,o}const El=(e,t)=>xl(e,t,pc),Cl="undefined"!=typeof HTMLElement?HTMLElement:class{};class _l extends Cl{constructor(e,t={},n=fc){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==fc?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(d({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof _l){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Ln(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:r}=e;let o;if(n&&!m(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=H(this._props[i])),(o||(o=Object.create(null)))[I(i)]=!0)}this._numberProps=o,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const n in t)p(this,n)||Object.defineProperty(this,n,{get:()=>Ut(t[n])})}_resolveProps(e){const{props:t}=e,n=m(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(I))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(e){this._setProp(r,e,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):kl;const r=I(e);t&&this._numberProps&&this._numberProps[r]&&(n=H(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===kl?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===t?this.setAttribute(D(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(D(e),t+""):t||this.removeAttribute(D(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),dc(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=Is(this._def,d(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,_(t[0])?d({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),D(e)!==e&&t(D(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let r=e.length-1;r>=0;r--){const t=document.createElement("style");n&&t.setAttribute("nonce",n),t.textContent=e[r],this.shadowRoot.prepend(t)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],o=r.getAttribute("name")||"default",i=this._slots[o],s=r.parentNode;if(i)for(const e of i){if(t&&1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let o;for(e.setAttribute(n,"");o=r.nextNode();)o.setAttribute(n,"")}s.insertBefore(e,r)}else for(;r.firstChild;)s.insertBefore(r.firstChild,r);s.removeChild(r)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const t=new Set;for(const n of e){const e=n.querySelectorAll("slot");for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return!1!==this._def.shadowRoot}_removeChildStyle(e){0}}function Al(e){const t=Us(),n=t&&t.ce;return n||null}function Tl(){const e=Al();return e&&e.shadowRoot}function Ll(e="$style"){{const t=Us();if(!t)return i;const n=t.type.__cssModules;if(!n)return i;const r=n[e];return r||i}}const Rl=new WeakMap,Ml=new WeakMap,Il=Symbol("_moveCb"),Ol=Symbol("_enterCb"),Dl=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:d({},Fa,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Us(),r=Sr();let o,i;return yo(()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),o=e[Pa];o&&o.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=Ua(r);return i.removeChild(r),s}(o[0].el,n.vnode.el,t))return void(o=[]);o.forEach(Pl),o.forEach(Nl);const r=o.filter(Fl);Ya(n.vnode.el),r.forEach(e=>{const n=e.el,r=n.style;ja(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[Il]=e=>{e&&e.target!==n||e&&!e.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",o),n[Il]=null,za(n,t))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const s=Wt(e),a=Ha(s);let l=s.tag||hs;if(o=[],i)for(let e=0;e<i.length;e++){const t=i[e];t.el&&t.el instanceof Element&&(o.push(t),Mr(t,Tr(t,a,r,n)),Rl.set(t,Wl(t.el)))}i=t.default?Ir(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&Mr(t,Tr(t,a,r,n))}return Is(l,null,i)}}});function Pl(e){const t=e.el;t[Il]&&t[Il](),t[Ol]&&t[Ol]()}function Nl(e){Ml.set(e,Wl(e.el))}function Fl(e){const t=Rl.get(e),n=Ml.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el,n=t.style,i=t.getBoundingClientRect();let s=1,a=1;return t.offsetWidth&&(s=i.width/t.offsetWidth),t.offsetHeight&&(a=i.height/t.offsetHeight),Number.isFinite(s)&&0!==s||(s=1),Number.isFinite(a)&&0!==a||(a=1),Math.abs(s-1)<.01&&(s=1),Math.abs(a-1)<.01&&(a=1),n.transform=n.webkitTransform=`translate(${r/s}px,${o/a}px)`,n.transitionDuration="0s",e}}function Wl(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}const Bl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>W(t,e):t};function Vl(e){e.target.composing=!0}function Hl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ql=Symbol("_assign");function jl(e,t,n){return t&&(e=e.trim()),n&&(e=V(e)),e}const zl={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[ql]=Bl(o);const i=r||o.props&&"number"===o.props.type;pl(e,t?"change":"input",t=>{t.target.composing||e[ql](jl(e.value,n,i))}),(n||i)&&pl(e,"change",()=>{e.value=jl(e.value,n,i)}),t||(pl(e,"compositionstart",Vl),pl(e,"compositionend",Hl),pl(e,"change",Hl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[ql]=Bl(s),e.composing)return;const a=null==t?"":t;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:V(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===a)return}e.value=a}}},$l={deep:!0,created(e,t,n){e[ql]=Bl(n),pl(e,"change",()=>{const t=e._modelValue,n=Ql(e),r=e.checked,o=e[ql];if(m(t)){const e=se(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(g(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(Yl(e,r))})},mounted:Xl,beforeUpdate(e,t,n){e[ql]=Bl(n),Xl(e,t,n)}};function Xl(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,m(t))o=se(t,r.props.value)>-1;else if(g(t))o=t.has(r.props.value);else{if(t===n)return;o=ie(t,Yl(e,!0))}e.checked!==o&&(e.checked=o)}const Kl={created(e,{value:t},n){e.checked=ie(t,n.props.value),e[ql]=Bl(n),pl(e,"change",()=>{e[ql](Ql(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ql]=Bl(r),t!==n&&(e.checked=ie(t,r.props.value))}},Ul={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=g(t);pl(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?V(Ql(e)):Ql(e));e[ql](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,Ln(()=>{e._assigning=!1})}),e[ql]=Bl(r)},mounted(e,{value:t}){Gl(e,t)},beforeUpdate(e,t,n){e[ql]=Bl(n)},updated(e,{value:t}){e._assigning||Gl(e,t)}};function Gl(e,t){const n=e.multiple,r=m(t);if(!n||r||g(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],s=Ql(i);if(n)if(r){const e=typeof s;i.selected="string"===e||"number"===e?t.some(e=>String(e)===String(s)):se(t,s)>-1}else i.selected=t.has(s);else if(ie(Ql(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ql(e){return"_value"in e?e._value:e.value}function Yl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Jl={created(e,t,n){ec(e,t,n,null,"created")},mounted(e,t,n){ec(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ec(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ec(e,t,n,r,"updated")}};function Zl(e,t){switch(e){case"SELECT":return Ul;case"TEXTAREA":return zl;default:switch(t){case"checkbox":return $l;case"radio":return Kl;default:return zl}}}function ec(e,t,n,r,o){const i=Zl(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const tc=["ctrl","shift","alt","meta"],nc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>tc.some(n=>e[`${n}Key`]&&!t.includes(n))},rc=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=nc[t[e]];if(r&&r(n,t))return}return e(n,...r)})},oc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ic=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=D(n.key);return t.some(e=>e===r||oc[e]===r)?e(n):void 0})},sc=d({patchProp:Sl},Ia);let ac,lc=!1;function cc(){return ac||(ac=Ui(sc))}function uc(){return ac=lc?ac:Gi(sc),lc=!0,ac}const dc=(...e)=>{cc().render(...e)},hc=(...e)=>{uc().hydrate(...e)},fc=(...e)=>{const t=cc().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=vc(e);if(!r)return;const o=t._component;y(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,mc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},pc=(...e)=>{const t=uc().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=vc(e);if(t)return n(t,!0,mc(t))},t};function mc(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function vc(e){if(w(e)){return document.querySelector(e)}return e}let gc=!1;const bc=()=>{gc||(gc=!0,zl.getSSRProps=({value:e})=>({value:e}),Kl.getSSRProps=({value:e},t)=>{if(t.props&&ie(t.props.value,e))return{checked:!0}},$l.getSSRProps=({value:e},t)=>{if(m(e)){if(t.props&&se(e,t.props.value)>-1)return{checked:!0}}else if(g(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Jl.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Zl(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},el.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})};const yc=Symbol(""),wc=Symbol(""),Sc=Symbol(""),kc=Symbol(""),xc=Symbol(""),Ec=Symbol(""),Cc=Symbol(""),_c=Symbol(""),Ac=Symbol(""),Tc=Symbol(""),Lc=Symbol(""),Rc=Symbol(""),Mc=Symbol(""),Ic=Symbol(""),Oc=Symbol(""),Dc=Symbol(""),Pc=Symbol(""),Nc=Symbol(""),Fc=Symbol(""),Wc=Symbol(""),Bc=Symbol(""),Vc=Symbol(""),Hc=Symbol(""),qc=Symbol(""),jc=Symbol(""),zc=Symbol(""),$c=Symbol(""),Xc=Symbol(""),Kc=Symbol(""),Uc=Symbol(""),Gc=Symbol(""),Qc=Symbol(""),Yc=Symbol(""),Jc=Symbol(""),Zc=Symbol(""),eu=Symbol(""),tu=Symbol(""),nu=Symbol(""),ru=Symbol(""),ou={[yc]:"Fragment",[wc]:"Teleport",[Sc]:"Suspense",[kc]:"KeepAlive",[xc]:"BaseTransition",[Ec]:"openBlock",[Cc]:"createBlock",[_c]:"createElementBlock",[Ac]:"createVNode",[Tc]:"createElementVNode",[Lc]:"createCommentVNode",[Rc]:"createTextVNode",[Mc]:"createStaticVNode",[Ic]:"resolveComponent",[Oc]:"resolveDynamicComponent",[Dc]:"resolveDirective",[Pc]:"resolveFilter",[Nc]:"withDirectives",[Fc]:"renderList",[Wc]:"renderSlot",[Bc]:"createSlots",[Vc]:"toDisplayString",[Hc]:"mergeProps",[qc]:"normalizeClass",[jc]:"normalizeStyle",[zc]:"normalizeProps",[$c]:"guardReactiveProps",[Xc]:"toHandlers",[Kc]:"camelize",[Uc]:"capitalize",[Gc]:"toHandlerKey",[Qc]:"setBlockTracking",[Yc]:"pushScopeId",[Jc]:"popScopeId",[Zc]:"withCtx",[eu]:"unref",[tu]:"isRef",[nu]:"withMemo",[ru]:"isMemoSame"};const iu={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function su(e,t,n,r,o,i,s,a=!1,l=!1,c=!1,u=iu){return e&&(a?(e.helper(Ec),e.helper(vu(e.inSSR,c))):e.helper(mu(e.inSSR,c)),s&&e.helper(Nc)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:s,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function au(e,t=iu){return{type:17,loc:t,elements:e}}function lu(e,t=iu){return{type:15,loc:t,properties:e}}function cu(e,t){return{type:16,loc:iu,key:w(e)?uu(e,!0):e,value:t}}function uu(e,t=!1,n=iu,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function du(e,t=iu){return{type:8,loc:t,children:e}}function hu(e,t=[],n=iu){return{type:14,loc:n,callee:e,arguments:t}}function fu(e,t=void 0,n=!1,r=!1,o=iu){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function pu(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:iu}}function mu(e,t){return e||t?Ac:Tc}function vu(e,t){return e||t?Cc:_c}function gu(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(mu(r,e.isComponent)),t(Ec),t(vu(r,e.isComponent)))}const bu=new Uint8Array([123,123]),yu=new Uint8Array([125,125]);function wu(e){return e>=97&&e<=122||e>=65&&e<=90}function Su(e){return 32===e||10===e||9===e||12===e||13===e}function ku(e){return 47===e||62===e||Su(e)}function xu(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Eu={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function Cu(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function _u(e,t){const n=Cu("MODE",t),r=Cu(e,t);return 3===n?!0===r:!1!==r}function Au(e,t,n,...r){return _u(e,t)}function Tu(e){throw e}function Lu(e){}function Ru(e,t,n,r){const o=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return o.code=e,o.loc=t,o}const Mu=e=>4===e.type&&e.isStatic;function Iu(e){switch(e){case"Teleport":case"teleport":return wc;case"Suspense":case"suspense":return Sc;case"KeepAlive":case"keep-alive":return kc;case"BaseTransition":case"base-transition":return xc}}const Ou=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Du=e=>!Ou.test(e),Pu=/[A-Za-z_$\xA0-\uFFFF]/,Nu=/[\.\?\w$\xA0-\uFFFF]/,Fu=/\s+[.[]\s*|\s*[.[]\s+/g,Wu=e=>4===e.type?e.content:e.loc.source,Bu=e=>{const t=Wu(e).trim().replace(Fu,e=>e.trim());let n=0,r=[],o=0,i=0,s=null;for(let a=0;a<t.length;a++){const e=t.charAt(a);switch(n){case 0:if("["===e)r.push(n),n=1,o++;else if("("===e)r.push(n),n=2,i++;else if(!(0===a?Pu:Nu).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(n),n=3,s=e):"["===e?o++:"]"===e&&(--o||(n=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(n),n=3,s=e;else if("("===e)i++;else if(")"===e){if(a===t.length-1)return!1;--i||(n=r.pop())}break;case 3:e===s&&(n=r.pop(),s=null)}}return!o&&!i},Vu=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Hu=e=>Vu.test(Wu(e));function qu(e,t,n=!1){for(let r=0;r<e.props.length;r++){const o=e.props[r];if(7===o.type&&(n||o.exp)&&(w(t)?o.name===t:t.test(o.name)))return o}}function ju(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||r))return i}else if("bind"===i.name&&(i.exp||r)&&zu(i.arg,t))return i}}function zu(e,t){return!(!e||!Mu(e)||e.content!==t)}function $u(e){return 5===e.type||2===e.type}function Xu(e){return 7===e.type&&"pre"===e.name}function Ku(e){return 7===e.type&&"slot"===e.name}function Uu(e){return 1===e.type&&3===e.tagType}function Gu(e){return 1===e.type&&2===e.tagType}const Qu=new Set([zc,$c]);function Yu(e,t=[]){if(e&&!w(e)&&14===e.type){const n=e.callee;if(!w(n)&&Qu.has(n))return Yu(e.arguments[0],t.concat(e))}return[e,t]}function Ju(e,t,n){let r,o,i=13===e.type?e.props:e.arguments[2],s=[];if(i&&!w(i)&&14===i.type){const e=Yu(i);i=e[0],s=e[1],o=s[s.length-1]}if(null==i||w(i))r=lu([t]);else if(14===i.type){const e=i.arguments[0];w(e)||15!==e.type?i.callee===Xc?r=hu(n.helper(Hc),[lu([t]),i]):i.arguments.unshift(lu([t])):Zu(t,e)||e.properties.unshift(t),!r&&(r=i)}else 15===i.type?(Zu(t,i)||i.properties.unshift(t),r=i):(r=hu(n.helper(Hc),[lu([t]),i]),o&&o.callee===$c&&(o=s[s.length-2]));13===e.type?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Zu(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some(e=>4===e.key.type&&e.key.content===r)}return n}function ed(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>"-"===t?"_":e.charCodeAt(n).toString())}`}const td=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function nd(e){for(let t=0;t<e.length;t++)if(!Su(e.charCodeAt(t)))return!1;return!0}function rd(e){return 2===e.type&&nd(e.content)||12===e.type&&rd(e.content)}function od(e){return 3===e.type||rd(e)}const id={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:l,isPreTag:l,isIgnoreNewlineTag:l,isCustomElement:l,onError:Tu,onWarn:Lu,comments:!1,prefixIdentifiers:!1};let sd=id,ad=null,ld="",cd=null,ud=null,dd="",hd=-1,fd=-1,pd=0,md=!1,vd=null;const gd=[],bd=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=bu,this.delimiterClose=yu,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=bu,this.delimiterClose=yu}getPos(e){let t=1,n=e+1;const r=this.newlines.length;let o=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){const r=t+n>>>1;this.newlines[r]<e?t=r:n=r}o=t}else for(let i=r-1;i>=0;i--)if(e>this.newlines[i]){o=i;break}return o>=0&&(t=o+2,n=e-this.newlines[o]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?ku(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Su(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Eu.TitleEnd||this.currentSequence===Eu.TextareaEnd&&!this.inSFCRoot?this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===Eu.Cdata[this.sequenceIndex]?++this.sequenceIndex===Eu.Cdata.length&&(this.state=28,this.currentSequence=Eu.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Eu.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):wu(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){ku(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(ku(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(xu("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Su(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=wu(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||Su(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Su(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Su(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||ku(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||ku(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||ku(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||ku(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||ku(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):Su(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):Su(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Su(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=Eu.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===Eu.ScriptEnd[3]?this.startSpecial(Eu.ScriptEnd,4):e===Eu.StyleEnd[3]?this.startSpecial(Eu.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===Eu.TitleEnd[3]?this.startSpecial(Eu.TitleEnd,4):e===Eu.TextareaEnd[3]?this.startSpecial(Eu.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&33!==this.state&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===Eu.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(gd,{onerr:Wd,ontext(e,t){xd(Sd(e,t),e,t)},ontextentity(e,t,n){xd(e,t,n)},oninterpolation(e,t){if(md)return xd(Sd(e,t),e,t);let n=e+bd.delimiterOpen.length,r=t-bd.delimiterClose.length;for(;Su(ld.charCodeAt(n));)n++;for(;Su(ld.charCodeAt(r-1));)r--;let o=Sd(n,r);o.includes("&")&&(o=sd.decodeEntities(o,!1)),Id({type:5,content:Fd(o,!1,Od(n,r)),loc:Od(e,t)})},onopentagname(e,t){const n=Sd(e,t);cd={type:1,tag:n,ns:sd.getNamespace(n,gd[0],sd.ns),tagType:0,props:[],children:[],loc:Od(e-1,t),codegenNode:void 0}},onopentagend(e){kd(e)},onclosetag(e,t){const n=Sd(e,t);if(!sd.isVoidTag(n)){let r=!1;for(let e=0;e<gd.length;e++){if(gd[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&Wd(24,gd[0].loc.start.offset);for(let n=0;n<=e;n++){Ed(gd.shift(),t,n<e)}break}}r||Wd(23,Cd(e,60))}},onselfclosingtag(e){const t=cd.tag;cd.isSelfClosing=!0,kd(e),gd[0]&&gd[0].tag===t&&Ed(gd.shift(),e)},onattribname(e,t){ud={type:6,name:Sd(e,t),nameLoc:Od(e,t),value:void 0,loc:Od(e)}},ondirname(e,t){const n=Sd(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(md||""!==r||Wd(26,e),md||""===r)ud={type:6,name:n,nameLoc:Od(e,t),value:void 0,loc:Od(e)};else if(ud={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[uu("prop")]:[],loc:Od(e)},"pre"===r){md=bd.inVPre=!0,vd=cd;const e=cd.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=Nd(e[t]))}},ondirarg(e,t){if(e===t)return;const n=Sd(e,t);if(md&&!Xu(ud))ud.name+=n,Pd(ud.nameLoc,t);else{const r="["!==n[0];ud.arg=Fd(r?n:n.slice(1,-1),r,Od(e,t),r?3:0)}},ondirmodifier(e,t){const n=Sd(e,t);if(md&&!Xu(ud))ud.name+="."+n,Pd(ud.nameLoc,t);else if("slot"===ud.name){const e=ud.arg;e&&(e.content+="."+n,Pd(e.loc,t))}else{const r=uu(n,!0,Od(e,t));ud.modifiers.push(r)}},onattribdata(e,t){dd+=Sd(e,t),hd<0&&(hd=e),fd=t},onattribentity(e,t,n){dd+=e,hd<0&&(hd=t),fd=n},onattribnameend(e){const t=ud.loc.start.offset,n=Sd(t,e);7===ud.type&&(ud.rawName=n),cd.props.some(e=>(7===e.type?e.rawName:e.name)===n)&&Wd(2,t)},onattribend(e,t){if(cd&&ud){if(Pd(ud.loc,t),0!==e)if(dd.includes("&")&&(dd=sd.decodeEntities(dd,!0)),6===ud.type)"class"===ud.name&&(dd=Md(dd).trim()),1!==e||dd||Wd(13,t),ud.value={type:2,content:dd,loc:1===e?Od(hd,fd):Od(hd-1,fd+1)},bd.inSFCRoot&&"template"===cd.tag&&"lang"===ud.name&&dd&&"html"!==dd&&bd.enterRCDATA(xu("</template"),0);else{let e=0;ud.exp=Fd(dd,!1,Od(hd,fd),0,e),"for"===ud.name&&(ud.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(td);if(!r)return;const[,o,i]=r,s=(e,n,r=!1)=>{const o=t.start.offset+n;return Fd(e,!1,Od(o,o+e.length),0,r?1:0)},a={source:s(i.trim(),n.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=o.trim().replace(wd,"").trim();const c=o.indexOf(l),u=l.match(yd);if(u){l=l.replace(yd,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,c+l.length),a.key=s(e,t,!0)),u[2]){const r=u[2].trim();r&&(a.index=s(r,n.indexOf(r,a.key?t+e.length:c+l.length),!0))}}l&&(a.value=s(l,c,!0));return a}(ud.exp));let t=-1;"bind"===ud.name&&(t=ud.modifiers.findIndex(e=>"sync"===e.content))>-1&&Au("COMPILER_V_BIND_SYNC",sd,ud.loc,ud.arg.loc.source)&&(ud.name="model",ud.modifiers.splice(t,1))}7===ud.type&&"pre"===ud.name||cd.props.push(ud)}dd="",hd=fd=-1},oncomment(e,t){sd.comments&&Id({type:3,content:Sd(e,t),loc:Od(e-4,t+3)})},onend(){const e=ld.length;for(let t=0;t<gd.length;t++)Ed(gd[t],e-1),Wd(24,gd[t].loc.start.offset)},oncdata(e,t){0!==gd[0].ns?xd(Sd(e,t),e,t):Wd(1,e-9)},onprocessinginstruction(e){0===(gd[0]?gd[0].ns:sd.ns)&&Wd(21,e-1)}}),yd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,wd=/^\(|\)$/g;function Sd(e,t){return ld.slice(e,t)}function kd(e){bd.inSFCRoot&&(cd.innerLoc=Od(e+1,e+1)),Id(cd);const{tag:t,ns:n}=cd;0===n&&sd.isPreTag(t)&&pd++,sd.isVoidTag(t)?Ed(cd,e):(gd.unshift(cd),1!==n&&2!==n||(bd.inXML=!0)),cd=null}function xd(e,t,n){{const t=gd[0]&&gd[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=sd.decodeEntities(e,!1))}const r=gd[0]||ad,o=r.children[r.children.length-1];o&&2===o.type?(o.content+=e,Pd(o.loc,n)):r.children.push({type:2,content:e,loc:Od(t,n)})}function Ed(e,t,n=!1){Pd(e.loc,n?Cd(t,60):function(e,t){let n=e;for(;ld.charCodeAt(n)!==t&&n<ld.length-1;)n++;return n}(t,62)+1),bd.inSFCRoot&&(e.children.length?e.innerLoc.end=d({},e.children[e.children.length-1].loc.end):e.innerLoc.end=d({},e.innerLoc.start),e.innerLoc.source=Sd(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:o,children:i}=e;if(md||("slot"===r?e.tagType=2:Ad(e)?e.tagType=3:function({tag:e,props:t}){if(sd.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0),n>64&&n<91)||Iu(e)||sd.isBuiltInComponent&&sd.isBuiltInComponent(e)||sd.isNativeTag&&!sd.isNativeTag(e))return!0;var n;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(Au("COMPILER_IS_ON_ELEMENT",sd,e.loc))return!0}}else if("bind"===e.name&&zu(e.arg,"is")&&Au("COMPILER_IS_ON_ELEMENT",sd,e.loc))return!0}return!1}(e)&&(e.tagType=1)),bd.inRCDATA||(e.children=Ld(i)),0===o&&sd.isIgnoreNewlineTag(r)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===o&&sd.isPreTag(r)&&pd--,vd===e&&(md=bd.inVPre=!1,vd=null),bd.inXML&&0===(gd[0]?gd[0].ns:sd.ns)&&(bd.inXML=!1);{const t=e.props;if(!bd.inSFCRoot&&_u("COMPILER_NATIVE_TEMPLATE",sd)&&"template"===e.tag&&!Ad(e)){const t=gd[0]||ad,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find(e=>6===e.type&&"inline-template"===e.name);n&&Au("COMPILER_INLINE_TEMPLATE",sd,n.loc)&&e.children.length&&(n.value={type:2,content:Sd(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Cd(e,t){let n=e;for(;ld.charCodeAt(n)!==t&&n>=0;)n--;return n}const _d=new Set(["if","else","else-if","for","slot"]);function Ad({tag:e,props:t}){if("template"===e)for(let n=0;n<t.length;n++)if(7===t[n].type&&_d.has(t[n].name))return!0;return!1}const Td=/\r\n/g;function Ld(e){const t="preserve"!==sd.whitespace;let n=!1;for(let r=0;r<e.length;r++){const o=e[r];if(2===o.type)if(pd)o.content=o.content.replace(Td,"\n");else if(nd(o.content)){const i=e[r-1]&&e[r-1].type,s=e[r+1]&&e[r+1].type;!i||!s||t&&(3===i&&(3===s||1===s)||1===i&&(3===s||1===s&&Rd(o.content)))?(n=!0,e[r]=null):o.content=" "}else t&&(o.content=Md(o.content))}return n?e.filter(Boolean):e}function Rd(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function Md(e){let t="",n=!1;for(let r=0;r<e.length;r++)Su(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function Id(e){(gd[0]||ad).children.push(e)}function Od(e,t){return{start:bd.getPos(e),end:null==t?t:bd.getPos(t),source:null==t?t:Sd(e,t)}}function Dd(e){return Od(e.start.offset,e.end.offset)}function Pd(e,t){e.end=bd.getPos(t),e.source=Sd(e.start.offset,t)}function Nd(e){const t={type:6,name:e.rawName,nameLoc:Od(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Fd(e,t=!1,n,r=0,o=0){return uu(e,t,n,r)}function Wd(e,t,n){sd.onError(Ru(e,Od(t,t)))}function Bd(e,t){if(bd.reset(),cd=null,ud=null,dd="",hd=-1,fd=-1,gd.length=0,ld=e,sd=d({},id),t){let e;for(e in t)null!=t[e]&&(sd[e]=t[e])}bd.mode="html"===sd.parseMode?1:"sfc"===sd.parseMode?2:0,bd.inXML=1===sd.ns||2===sd.ns;const n=t&&t.delimiters;n&&(bd.delimiterOpen=xu(n[0]),bd.delimiterClose=xu(n[1]));const r=ad=function(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:iu}}([],e);return bd.parse(ld),r.loc=Od(0,e.length),r.children=Ld(r.children),ad=null,r}function Vd(e,t){qd(e,void 0,t,!!Hd(e))}function Hd(e){const t=e.children.filter(e=>3!==e.type);return 1!==t.length||1!==t[0].type||Gu(t[0])?null:t[0]}function qd(e,t,n,r=!1,o=!1){const{children:i}=e,s=[];for(let u=0;u<i.length;u++){const t=i[u];if(1===t.type&&0===t.tagType){const e=r?0:jd(t,n);if(e>0){if(e>=2){t.codegenNode.patchFlag=-1,s.push(t);continue}}else{const e=t.codegenNode;if(13===e.type){const r=e.patchFlag;if((void 0===r||512===r||1===r)&&Xd(t,n)>=2){const r=Kd(t);r&&(e.props=n.hoist(r))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===t.type){if((r?0:jd(t,n))>=2){14===t.codegenNode.type&&t.codegenNode.arguments.length>0&&t.codegenNode.arguments.push("-1"),s.push(t);continue}}if(1===t.type){const r=1===t.tagType;r&&n.scopes.vSlot++,qd(t,e,n,!1,o),r&&n.scopes.vSlot--}else if(11===t.type)qd(t,e,n,1===t.children.length,!0);else if(9===t.type)for(let r=0;r<t.branches.length;r++)qd(t.branches[r],e,n,1===t.branches[r].children.length,o)}let a=!1;if(s.length===i.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&m(e.codegenNode.children))e.codegenNode.children=l(au(e.codegenNode.children)),a=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!m(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=c(e.codegenNode,"default");t&&(t.returns=l(au(t.returns)),a=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!m(t.codegenNode.children)&&15===t.codegenNode.children.type){const n=qu(e,"slot",!0),r=n&&n.arg&&c(t.codegenNode,n.arg);r&&(r.returns=l(au(r.returns)),a=!0)}if(!a)for(const u of s)u.codegenNode=n.cache(u.codegenNode);function l(e){const t=n.cache(e);return t.needArraySpread=!0,t}function c(e,t){if(e.children&&!m(e.children)&&15===e.children.type){const n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}s.length&&n.transformHoist&&n.transformHoist(i,n,e)}function jd(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===o.patchFlag){let r=3;const i=Xd(e,t);if(0===i)return n.set(e,0),0;i<r&&(r=i);for(let o=0;o<e.children.length;o++){const i=jd(e.children[o],t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}if(r>1)for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&"bind"===i.name&&i.exp){const o=jd(i.exp,t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}}if(o.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(Ec),t.removeHelper(vu(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(mu(t.inSSR,o.isComponent))}return n.set(e,r),r}return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return jd(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(w(r)||S(r))continue;const o=jd(r,t);if(0===o)return 0;o<i&&(i=o)}return i;case 20:return 2}}const zd=new Set([qc,jc,zc,$c]);function $d(e,t){if(14===e.type&&!w(e.callee)&&zd.has(e.callee)){const n=e.arguments[0];if(4===n.type)return jd(n,t);if(14===n.type)return $d(n,t)}return 0}function Xd(e,t){let n=3;const r=Kd(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:o,value:i}=e[r],s=jd(o,t);if(0===s)return s;let a;if(s<n&&(n=s),a=4===i.type?jd(i,t):14===i.type?$d(i,t):0,0===a)return a;a<n&&(n=a)}}return n}function Kd(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ud(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:o=!1,cacheHandlers:s=!1,nodeTransforms:l=[],directiveTransforms:c={},transformHoist:u=null,isBuiltInComponent:d=a,isCustomElement:h=a,expressionPlugins:f=[],scopeId:p=null,slotted:m=!0,ssr:v=!1,inSSR:g=!1,ssrCssVars:b="",bindingMetadata:y=i,inline:S=!1,isTS:k=!1,onError:x=Tu,onWarn:E=Lu,compatConfig:C}){const _=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={filename:t,selfName:_&&P(I(_[1])),prefixIdentifiers:n,hoistStatic:r,hmr:o,cacheHandlers:s,nodeTransforms:l,directiveTransforms:c,transformHoist:u,isBuiltInComponent:d,isCustomElement:h,expressionPlugins:f,scopeId:p,slotted:m,ssr:v,inSSR:g,ssrCssVars:b,bindingMetadata:y,inline:S,isTS:k,onError:x,onWarn:E,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=A.helpers.get(e)||0;return A.helpers.set(e,t+1),e},removeHelper(e){const t=A.helpers.get(e);if(t){const n=t-1;n?A.helpers.set(e,n):A.helpers.delete(e)}},helperString:e=>`_${ou[A.helper(e)]}`,replaceNode(e){A.parent.children[A.childIndex]=A.currentNode=e},removeNode(e){const t=A.parent.children,n=e?t.indexOf(e):A.currentNode?A.childIndex:-1;e&&e!==A.currentNode?A.childIndex>n&&(A.childIndex--,A.onNodeRemoved()):(A.currentNode=null,A.onNodeRemoved()),A.parent.children.splice(n,1)},onNodeRemoved:a,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){w(e)&&(e=uu(e)),A.hoists.push(e);const t=uu(`_hoisted_${A.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){const r=function(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:iu}}(A.cached.length,e,t,n);return A.cached.push(r),r}};return A.filters=new Set,A}function Gd(e,t){const n=Ud(e,t);Qd(e,n),t.hoistStatic&&Vd(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=Hd(e);if(n&&n.codegenNode){const r=n.codegenNode;13===r.type&&gu(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let r=64;0,e.codegenNode=su(t,n(yc),void 0,e.children,r,void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Qd(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){const o=n[i](e,t);if(o&&(m(o)?r.push(...o):r.push(o)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Lc);break;case 5:t.ssr||t.helper(Vc);break;case 9:for(let n=0;n<e.branches.length;n++)Qd(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];w(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Qd(o,t))}}(e,t)}t.currentNode=e;let o=r.length;for(;o--;)r[o]()}function Yd(e,t){const n=w(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(Ku))return;const i=[];for(let s=0;s<o.length;s++){const a=o[s];if(7===a.type&&n(a.name)){o.splice(s,1),s--;const n=t(e,a,r);n&&i.push(n)}}return i}}}const Jd="/*@__PURE__*/",Zd=e=>`${ou[e]}: _${ou[e]}`;function eh(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:h=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${ou[e]}`,push(e,t=-2,n){f.code+=e},indent(){p(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:p(--f.indentLevel)},newline(){p(f.indentLevel)}};function p(e){f.push("\n"+" ".repeat(e),0)}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:s,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=Array.from(e.helpers),h=d.length>0,f=!i&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);if(u.length>0&&(o(`const _Vue = ${c}\n`,-1),e.hoists.length)){o(`const { ${[Ac,Tc,Lc,Rc,Mc].filter(e=>u.includes(e)).map(Zd).join(", ")} } = _Vue\n`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let o=0;o<e.length;o++){const i=e[o];i&&(n(`const _hoisted_${o+1} = `),oh(i,t),r())}t.pure=!1})(e.hoists,t),i(),o("return ")}(e,n);if(o(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),f&&(o("with (_ctx) {"),s(),h&&(o(`const { ${d.map(Zd).join(", ")} } = _Vue\n`,-1),l())),e.components.length&&(th(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(th(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),th(e.filters,"filter",n),l()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n",0),l()),u||o("return "),e.codegenNode?oh(e.codegenNode,n):o("null"),f&&(a(),o("}")),a(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function th(e,t,{helper:n,push:r,newline:o,isTS:i}){const s=n("filter"===t?Pc:"component"===t?Ic:Dc);for(let a=0;a<e.length;a++){let n=e[a];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),r(`const ${ed(n,t)} = ${s}(${JSON.stringify(n)}${l?", true":""})${i?"!":""}`),a<e.length-1&&o()}}function nh(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rh(e,t,n),n&&t.deindent(),t.push("]")}function rh(e,t,n=!1,r=!0){const{push:o,newline:i}=t;for(let s=0;s<e.length;s++){const a=e[s];w(a)?o(a,-3):m(a)?nh(a,t):oh(a,t),s<e.length-1&&(n?(r&&o(","),i()):r&&o(", "))}}function oh(e,t){if(w(e))t.push(e,-3);else if(S(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:oh(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:ih(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Jd);n(`${r(Vc)}(`),oh(e.content,t),n(")")}(e,t);break;case 8:sh(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Jd);n(`${r(Lc)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:o}=t,{tag:i,props:s,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:h,isComponent:f}=e;let p;l&&(p=String(l));u&&n(r(Nc)+"(");d&&n(`(${r(Ec)}(${h?"true":""}), `);o&&n(Jd);const m=d?vu(t.inSSR,f):mu(t.inSSR,f);n(r(m)+"(",-2,e),rh(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([i,s,a,p,c]),t),n(")"),d&&n(")");u&&(n(", "),oh(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,i=w(e.callee)?e.callee:r(e.callee);o&&n(Jd);n(i+"(",-2,e),rh(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:s}=e;if(!s.length)return void n("{}",-2,e);const a=s.length>1||!1;n(a?"{":"{ "),a&&r();for(let l=0;l<s.length;l++){const{key:e,value:r}=s[l];ah(e,t),n(": "),oh(r,t),l<s.length-1&&(n(","),i())}a&&o(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){nh(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:o}=t,{params:i,returns:s,body:a,newline:l,isSlot:c}=e;c&&n(`_${ou[Zc]}(`);n("(",-2,e),m(i)?rh(i,t):i&&oh(i,t);n(") => "),(l||a)&&(n("{"),r());s?(l&&n("return "),m(s)?nh(s,t):oh(s,t)):a&&oh(a,t);(l||a)&&(o(),n("}"));c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:i}=e,{push:s,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Du(n.content);e&&s("("),ih(n,t),e&&s(")")}else s("("),oh(n,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),oh(r,t),t.indentLevel--,i&&c(),i||s(" "),s(": ");const u=19===o.type;u||t.indentLevel++;oh(o,t),u||t.indentLevel--;i&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:s}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&n("[...(");n(`_cache[${e.index}] || (`),a&&(o(),n(`${r(Qc)}(-1`),e.inVOnce&&n(", true"),n("),"),s(),n("("));n(`_cache[${e.index}] = `),oh(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),s(),n(`${r(Qc)}(1),`),s(),n(`_cache[${e.index}]`),i());n(")"),l&&n(")]")}(e,t);break;case 21:rh(e.body,t,!0,!1)}}function ih(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function sh(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];w(r)?t.push(r,-3):oh(r,t)}}function ah(e,t){const{push:n}=t;if(8===e.type)n("["),sh(e,t),n("]");else if(e.isStatic){n(Du(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const lh=Yd(/^(?:if|else|else-if)$/,(e,t,n)=>function(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Ru(28,t.loc)),t.exp=uu("true",!1,r)}0;if("if"===t.name){const o=ch(e,t),i={type:9,loc:Dd(e.loc),branches:[o]};if(n.replaceNode(i),r)return r(i,o,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-- >=-1;){const s=o[i];if(!s||!od(s)){if(s&&9===s.type){"else-if"!==t.name&&"else"!==t.name||void 0!==s.branches[s.branches.length-1].condition||n.onError(Ru(30,e.loc)),n.removeNode();const o=ch(e,t);0,s.branches.push(o);const i=r&&r(s,o,!1);Qd(o,n),i&&i(),n.currentNode=null}else n.onError(Ru(30,e.loc));break}n.removeNode(s)}}}(e,t,n,(e,t,r)=>{const o=n.parent.children;let i=o.indexOf(e),s=0;for(;i-- >=0;){const e=o[i];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(r)e.codegenNode=uh(t,s,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=uh(t,s+e.branches.length-1,n)}}}));function ch(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!qu(e,"for")?e.children:[e],userKey:ju(e,"key"),isTemplateIf:n}}function uh(e,t,n){return e.condition?pu(e.condition,dh(e,t,n),hu(n.helper(Lc),['""',"true"])):dh(e,t,n)}function dh(e,t,n){const{helper:r}=n,o=cu("key",uu(`${t}`,!1,iu,2)),{children:i}=e,s=i[0];if(1!==i.length||1!==s.type){if(1===i.length&&11===s.type){const e=s.codegenNode;return Ju(e,o,n),e}{let t=64;return su(n,r(yc),lu([o]),i,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=s.codegenNode,t=14===(a=e).type&&a.callee===nu?a.arguments[1].returns:a;return 13===t.type&&gu(t,n),Ju(t,o,n),e}var a}const hh=Yd("for",(e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Ru(31,t.loc));const o=t.forParseResult;if(!o)return void n.onError(Ru(32,t.loc));fh(o,n);const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=n,{source:l,value:c,key:u,index:d}=o,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:o,children:Uu(e)?e.children:[e]};n.replaceNode(h),a.vFor++;const f=r&&r(h);return()=>{a.vFor--,f&&f()}}(e,t,n,t=>{const i=hu(r(Fc),[t.source]),s=Uu(e),a=qu(e,"memo"),l=ju(e,"key",!1,!0);l&&l.type;let c=l&&(6===l.type?l.value?uu(l.value.content,!0):void 0:l.exp);const u=l&&c?cu("key",c):null,d=4===t.source.type&&t.source.constType>0,h=d?64:l?128:256;return t.codegenNode=su(n,r(yc),void 0,i,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let l;const{children:h}=t;const f=1!==h.length||1!==h[0].type,p=Gu(e)?e:s&&1===e.children.length&&Gu(e.children[0])?e.children[0]:null;if(p?(l=p.codegenNode,s&&u&&Ju(l,u,n)):f?l=su(n,r(yc),u?lu([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=h[0].codegenNode,s&&u&&Ju(l,u,n),l.isBlock!==!d&&(l.isBlock?(o(Ec),o(vu(n.inSSR,l.isComponent))):o(mu(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(r(Ec),r(vu(n.inSSR,l.isComponent))):r(mu(n.inSSR,l.isComponent))),a){const e=fu(ph(t.parseResult,[uu("_cached")]));e.body={type:21,body:[du(["const _memo = (",a.exp,")"]),du(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(ru)}(_cached, _memo)) return _cached`]),du(["const _item = ",l]),uu("_item.memo = _memo"),uu("return _item")],loc:iu},i.arguments.push(e,uu("_cache"),uu(String(n.cached.length))),n.cached.push(null)}else i.arguments.push(fu(ph(t.parseResult),l,!0))}})});function fh(e,t){e.finalized||(e.finalized=!0)}function ph({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||uu("_".repeat(t+1),!1))}([e,t,n,...r])}const mh=uu("undefined",!1),vh=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=qu(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},gh=(e,t,n,r)=>fu(e,n,!1,!0,n.length?n[0].loc:r);function bh(e,t,n=gh){t.helper(Zc);const{children:r,loc:o}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=qu(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Mu(e)&&(a=!0),i.push(cu(e||uu("default",!0),n(t,void 0,r,o)))}let c=!1,u=!1;const d=[],h=new Set;let f=0;for(let v=0;v<r.length;v++){const e=r[v];let o;if(!Uu(e)||!(o=qu(e,"slot",!0))){3!==e.type&&d.push(e);continue}if(l){t.onError(Ru(37,o.loc));break}c=!0;const{children:p,loc:m}=e,{arg:g=uu("default",!0),exp:b,loc:y}=o;let w;Mu(g)?w=g?g.content:"default":a=!0;const S=qu(e,"for"),k=n(b,S,p,m);let x,E;if(x=qu(e,"if"))a=!0,s.push(pu(x.exp,yh(g,k,f++),mh));else if(E=qu(e,/^else(?:-if)?$/,!0)){let e,n=v;for(;n--&&(e=r[n],od(e)););if(e&&Uu(e)&&qu(e,/^(?:else-)?if$/)){let e=s[s.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?pu(E.exp,yh(g,k,f++),mh):yh(g,k,f++)}else t.onError(Ru(30,E.loc))}else if(S){a=!0;const e=S.forParseResult;e?(fh(e),s.push(hu(t.helper(Fc),[e.source,fu(ph(e),yh(g,k),!0)]))):t.onError(Ru(32,S.loc))}else{if(w){if(h.has(w)){t.onError(Ru(38,y));continue}h.add(w),"default"===w&&(u=!0)}i.push(cu(g,k))}}if(!l){const e=(e,r)=>{const i=n(e,void 0,r,o);return t.compatConfig&&(i.isNonScopedSlot=!0),cu("default",i)};c?d.length&&!d.every(rd)&&(u?t.onError(Ru(39,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,r))}const p=a?2:wh(e.children)?3:1;let m=lu(i.concat(cu("_",uu(p+"",!1))),o);return s.length&&(m=hu(t.helper(Bc),[m,au(s)])),{slots:m,hasDynamicSlots:a}}function yh(e,t,n){const r=[cu("name",e),cu("fn",t)];return null!=n&&r.push(cu("key",uu(String(n),!0))),lu(r)}function wh(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||wh(n.children))return!0;break;case 9:if(wh(n.branches))return!0;break;case 10:case 11:if(wh(n.children))return!0}}return!1}const Sh=new WeakMap,kh=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let i=o?function(e,t,n=!1){let{tag:r}=e;const o=_h(r),i=ju(e,"is",!1,!0);if(i)if(o||_u("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===i.type?e=i.value&&uu(i.value.content,!0):(e=i.exp,e||(e=uu("is",!1,i.arg.loc))),e)return hu(t.helper(Oc),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const s=Iu(r)||t.isBuiltInComponent(r);if(s)return n||t.helper(s),s;return t.helper(Ic),t.components.add(r),ed(r,"component")}(e,t):`"${n}"`;const s=k(i)&&i.callee===Oc;let a,l,c,u,d,h=0,f=s||i===wc||i===Sc||!o&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=xh(e,t,void 0,o,s);a=n.props,h=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;d=r&&r.length?au(r.map(e=>function(e,t){const n=[],r=Sh.get(e);r?n.push(t.helperString(r)):(t.helper(Dc),t.directives.add(e.name),n.push(ed(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=uu("true",!1,o);n.push(lu(e.modifiers.map(e=>cu(e,t)),o))}return au(n,e.loc)}(e,t))):void 0,n.shouldUseBlock&&(f=!0)}if(e.children.length>0){i===kc&&(f=!0,h|=1024);if(o&&i!==wc&&i!==kc){const{slots:n,hasDynamicSlots:r}=bh(e,t);l=n,r&&(h|=1024)}else if(1===e.children.length&&i!==wc){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===jd(n,t)&&(h|=1),l=o||2===r?n:e.children}else l=e.children}u&&u.length&&(c=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(u)),e.codegenNode=su(t,i,a,l,0===h?void 0:h,c,d,!!f,!1,o,e.loc)};function xh(e,t,n=e.props,r,o,i=!1){const{tag:s,loc:a,children:l}=e;let u=[];const d=[],h=[],f=l.length>0;let p=!1,m=0,v=!1,g=!1,b=!1,y=!1,w=!1,k=!1;const x=[],E=e=>{u.length&&(d.push(lu(Eh(u),a)),u=[]),e&&d.push(e)},C=()=>{t.scopes.vFor>0&&u.push(cu(uu("ref_for",!0),uu("true")))},_=({key:e,value:n})=>{if(Mu(e)){const i=e.content,s=c(i);if(!s||r&&!o||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||T(i)||(y=!0),s&&T(i)&&(k=!0),s&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&jd(n,t)>0)return;"ref"===i?v=!0:"class"===i?g=!0:"style"===i?b=!0:"key"===i||x.includes(i)||x.push(i),!r||"class"!==i&&"style"!==i||x.includes(i)||x.push(i)}else w=!0};for(let c=0;c<n.length;c++){const o=n[c];if(6===o.type){const{loc:e,name:n,nameLoc:r,value:i}=o;let a=!0;if("ref"===n&&(v=!0,C()),"is"===n&&(_h(s)||i&&i.content.startsWith("vue:")||_u("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(cu(uu(n,!0,r),uu(i?i.content:"",a,i?i.loc:e)))}else{const{name:n,arg:l,exp:c,loc:v,modifiers:g}=o,b="bind"===n,y="on"===n;if("slot"===n){r||t.onError(Ru(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||b&&zu(l,"is")&&(_h(s)||_u("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&i)continue;if((b&&zu(l,"key")||y&&f&&zu(l,"vue:before-update"))&&(p=!0),b&&zu(l,"ref")&&C(),!l&&(b||y)){if(w=!0,c)if(b){if(E(),_u("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(c);continue}C(),E(),d.push(c)}else E({type:14,loc:v,callee:t.helper(Xc),arguments:r?[c]:[c,"true"]});else t.onError(Ru(b?34:35,v));continue}b&&g.some(e=>"prop"===e.content)&&(m|=32);const k=t.directiveTransforms[n];if(k){const{props:n,needRuntime:r}=k(o,e,t);!i&&n.forEach(_),y&&l&&!Mu(l)?E(lu(n,a)):u.push(...n),r&&(h.push(o),S(r)&&Sh.set(o,r))}else L(n)||(h.push(o),f&&(p=!0))}}let A;if(d.length?(E(),A=d.length>1?hu(t.helper(Hc),d,a):d[0]):u.length&&(A=lu(Eh(u),a)),w?m|=16:(g&&!r&&(m|=2),b&&!r&&(m|=4),x.length&&(m|=8),y&&(m|=32)),p||0!==m&&32!==m||!(v||k||h.length>0)||(m|=512),!t.inSSR&&A)switch(A.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<A.properties.length;t++){const o=A.properties[t].key;Mu(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(r=!0)}const o=A.properties[e],i=A.properties[n];r?A=hu(t.helper(zc),[A]):(o&&!Mu(o.value)&&(o.value=hu(t.helper(qc),[o.value])),i&&(b||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=hu(t.helper(jc),[i.value])));break;case 14:break;default:A=hu(t.helper(zc),[hu(t.helper($c),[A])])}return{props:A,directives:h,patchFlag:m,dynamicPropNames:x,shouldUseBlock:p}}function Eh(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const o=e[r];if(8===o.key.type||!o.key.isStatic){n.push(o);continue}const i=o.key.content,s=t.get(i);s?("style"===i||"class"===i||c(i))&&Ch(s,o):(t.set(i,o),n.push(o))}return n}function Ch(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=au([e.value,t.value],e.loc)}function _h(e){return"component"===e||"Component"===e}const Ah=(e,t)=>{if(Gu(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:i}=function(e,t){let n,r='"default"';const o=[];for(let i=0;i<e.props.length;i++){const t=e.props[i];if(6===t.type)t.value&&("name"===t.name?r=JSON.stringify(t.value.content):(t.name=I(t.name),o.push(t)));else if("bind"===t.name&&zu(t.arg,"name")){if(t.exp)r=t.exp;else if(t.arg&&4===t.arg.type){const e=I(t.arg.content);r=t.exp=uu(e,!1,t.arg.loc)}}else"bind"===t.name&&t.arg&&Mu(t.arg)&&(t.arg.content=I(t.arg.content)),o.push(t)}if(o.length>0){const{props:r,directives:i}=xh(e,t,o,!1,!1);n=r,i.length&&t.onError(Ru(36,i[0].loc))}return{slotName:r,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;i&&(s[2]=i,a=3),n.length&&(s[3]=fu([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=hu(t.helper(Wc),s,r)}};const Th=(e,t,n,r)=>{const{loc:o,modifiers:i,arg:s}=e;let a;if(e.exp||i.length||n.onError(Ru(35,o)),4===s.type)if(s.isStatic){let e=s.content;0,e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);a=uu(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?N(I(e)):`on:${e}`,!0,s.loc)}else a=du([`${n.helperString(Gc)}(`,s,")"]);else a=s,a.children.unshift(`${n.helperString(Gc)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Bu(l),t=!(e||Hu(l)),n=l.content.includes(";");0,(t||c&&e)&&(l=du([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[cu(a,l||uu("() => {}",!1,o))]};return r&&(u=r(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},Lh=(e,t,n)=>{const{modifiers:r,loc:o}=e,i=e.arg;let{exp:s}=e;return s&&4===s.type&&!s.content.trim()&&(s=void 0),4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===i.type?i.isStatic?i.content=I(i.content):i.content=`${n.helperString(Kc)}(${i.content})`:(i.children.unshift(`${n.helperString(Kc)}(`),i.children.push(")"))),n.inSSR||(r.some(e=>"prop"===e.content)&&Rh(i,"."),r.some(e=>"attr"===e.content)&&Rh(i,"^")),{props:[cu(i,s)]}},Rh=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Mh=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if($u(t)){o=!0;for(let o=e+1;o<n.length;o++){const i=n[o];if(!$u(i)){r=void 0;break}r||(r=n[e]=du([t],t.loc)),r.children.push(" + ",i),n.splice(o,1),o--}}}if(o&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if($u(r)||8===r.type){const o=[];2===r.type&&" "===r.content||o.push(r),t.ssr||0!==jd(r,t)||o.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:hu(t.helper(Rc),o)}}}}},Ih=new WeakSet,Oh=(e,t)=>{if(1===e.type&&qu(e,"once",!0)){if(Ih.has(e)||t.inVOnce||t.inSSR)return;return Ih.add(e),t.inVOnce=!0,t.helper(Qc),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},Dh=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Ru(41,e.loc)),Ph();const i=r.loc.source.trim(),s=4===r.type?r.content:i,a=n.bindingMetadata[i];if("props"===a||"props-aliased"===a)return n.onError(Ru(44,r.loc)),Ph();if("literal-const"===a||"setup-const"===a)return n.onError(Ru(45,r.loc)),Ph();if(!s.trim()||!Bu(r))return n.onError(Ru(42,r.loc)),Ph();const l=o||uu("modelValue",!0),c=o?Mu(o)?`onUpdate:${I(o.content)}`:du(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=du([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const d=[cu(l,e.exp),cu(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(Du(e)?e:JSON.stringify(e))+": true").join(", "),n=o?Mu(o)?`${o.content}Modifiers`:du([o,' + "Modifiers"']):"modelModifiers";d.push(cu(n,uu(`{ ${t} }`,!1,e.loc,2)))}return Ph(d)};function Ph(e=[]){return{props:e}}const Nh=/[\w).+\-_$\]]/,Fh=(e,t)=>{_u("COMPILER_FILTERS",t)&&(5===e.type?Wh(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&Wh(e.exp,t)}))};function Wh(e,t){if(4===e.type)Bh(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?Bh(r,t):8===r.type?Wh(e,t):5===r.type&&Wh(r.content,t))}}function Bh(e,t){const n=e.content;let r,o,i,s,a=!1,l=!1,c=!1,u=!1,d=0,h=0,f=0,p=0,m=[];for(i=0;i<n.length;i++)if(o=r,r=n.charCodeAt(i),a)39===r&&92!==o&&(a=!1);else if(l)34===r&&92!==o&&(l=!1);else if(c)96===r&&92!==o&&(c=!1);else if(u)47===r&&92!==o&&(u=!1);else if(124!==r||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||h||f){switch(r){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:d++;break;case 125:d--}if(47===r){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Nh.test(e)||(u=!0)}}else void 0===s?(p=i+1,s=n.slice(0,i).trim()):v();function v(){m.push(n.slice(p,i).trim()),p=i+1}if(void 0===s?s=n.slice(0,i).trim():0!==p&&v(),m.length){for(i=0;i<m.length;i++)s=Vh(s,m[i],t);e.content=s,e.ast=void 0}}function Vh(e,t,n){n.helper(Pc);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${ed(t,"filter")}(${e})`;{const o=t.slice(0,r),i=t.slice(r+1);return n.filters.add(o),`${ed(o,"filter")}(${e}${")"!==i?","+i:i}`}}const Hh=new WeakSet,qh=(e,t)=>{if(1===e.type){const n=qu(e,"memo");if(!n||Hh.has(e)||t.inSSR)return;return Hh.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&gu(r,t),e.codegenNode=hu(t.helper(nu),[n.exp,fu(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}},jh=(e,t)=>{if(1===e.type)for(const n of e.props)if(7===n.type&&"bind"===n.name&&(!n.exp||4===n.exp.type&&!n.exp.content.trim())&&n.arg){const e=n.arg;if(4===e.type&&e.isStatic){const t=I(e.content);(Pu.test(t[0])||"-"===t[0])&&(n.exp=uu(t,!1,e.loc))}else t.onError(Ru(53,e.loc)),n.exp=uu("",!0,e.loc)}};function zh(e,t={}){const n=t.onError||Tu,r="module"===t.mode;!0===t.prefixIdentifiers?n(Ru(48)):r&&n(Ru(49));t.cacheHandlers&&n(Ru(50)),t.scopeId&&!r&&n(Ru(51));const o=d({},t,{prefixIdentifiers:!1}),i=w(e)?Bd(e,o):e,[s,a]=[[jh,Oh,lh,qh,hh,Fh,Ah,kh,vh,Mh],{on:Th,bind:Lh,model:Dh}];return Gd(i,d({},o,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},a,t.directiveTransforms||{})})),eh(i,o)}const $h=Symbol(""),Xh=Symbol(""),Kh=Symbol(""),Uh=Symbol(""),Gh=Symbol(""),Qh=Symbol(""),Yh=Symbol(""),Jh=Symbol(""),Zh=Symbol(""),ef=Symbol("");var tf;let nf;tf={[$h]:"vModelRadio",[Xh]:"vModelCheckbox",[Kh]:"vModelText",[Uh]:"vModelSelect",[Gh]:"vModelDynamic",[Qh]:"withModifiers",[Yh]:"withKeys",[Jh]:"vShow",[Zh]:"Transition",[ef]:"TransitionGroup"},Object.getOwnPropertySymbols(tf).forEach(e=>{ou[e]=tf[e]});const rf={parseMode:"html",isVoidTag:te,isNativeTag:e=>J(e)||Z(e)||ee(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return nf||(nf=document.createElement("div")),t?(nf.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,nf.children[0].getAttribute("foo")):(nf.innerHTML=e,nf.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Zh:"TransitionGroup"===e||"transition-group"===e?ef:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},of=(e,t)=>{const n=G(e);return uu(JSON.stringify(n),!1,t,3)};function sf(e,t){return Ru(e,t)}const af=o("passive,once,capture"),lf=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),cf=o("left,right"),uf=o("onkeyup,onkeydown,onkeypress"),df=(e,t)=>Mu(e)&&"onclick"===e.content.toLowerCase()?uu(t,!0):4!==e.type?du(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const hf=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()};const ff=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:uu("style",!0,t.loc),exp:of(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],pf={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(sf(54,o)),t.children.length&&(n.onError(sf(55,o)),t.children.length=0),{props:[cu(uu("innerHTML",!0,o),r||uu("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(sf(56,o)),t.children.length&&(n.onError(sf(57,o)),t.children.length=0),{props:[cu(uu("textContent",!0),r?jd(r,n)>0?r:hu(n.helperString(Vc),[r],o):uu("",!0))]}},model:(e,t,n)=>{const r=Dh(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(sf(59,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){let s=Kh,a=!1;if("input"===o||i){const r=ju(t,"type");if(r){if(7===r.type)s=Gh;else if(r.value)switch(r.value.content){case"radio":s=$h;break;case"checkbox":s=Xh;break;case"file":a=!0,n.onError(sf(60,e.loc))}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(s=Gh)}else"select"===o&&(s=Uh);a||(r.needRuntime=n.helper(s))}else n.onError(sf(58,e.loc));return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},on:(e,t,n)=>Th(e,t,n,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:i}=t.props[0];const{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:l}=((e,t,n)=>{const r=[],o=[],i=[];for(let s=0;s<t.length;s++){const a=t[s].content;"native"===a&&Au("COMPILER_V_ON_NATIVE",n)||af(a)?i.push(a):cf(a)?Mu(e)?uf(e.content.toLowerCase())?r.push(a):o.push(a):(r.push(a),o.push(a)):lf(a)?o.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:o,eventOptionModifiers:i}})(o,r,n,e.loc);if(a.includes("right")&&(o=df(o,"onContextmenu")),a.includes("middle")&&(o=df(o,"onMouseup")),a.length&&(i=hu(n.helper(Qh),[i,JSON.stringify(a)])),!s.length||Mu(o)&&!uf(o.content.toLowerCase())||(i=hu(n.helper(Yh),[i,JSON.stringify(s)])),l.length){const e=l.map(P).join("");o=Mu(o)?uu(`${o.content}${e}`,!0):du(["(",o,`) + "${e}"`])}return{props:[cu(o,i)]}}),show:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(sf(62,o)),{props:[],needRuntime:n.helper(Jh)}}};const mf=Object.create(null);ia(function(e,t){if(!w(e)){if(!e.nodeType)return a;e=e.innerHTML}const n=function(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)}(e,t),o=mf[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const i=d({hoistStatic:!0,onError:void 0,onWarn:a},t);i.isCustomElement||"undefined"==typeof customElements||(i.isCustomElement=e=>!!customElements.get(e));const{code:s}=function(e,t={}){return zh(e,d({},rf,t,{nodeTransforms:[hf,...ff,...t.nodeTransforms||[]],directiveTransforms:d({},pf,t.directiveTransforms||{}),transformHoist:null}))}(e,i),l=new Function("Vue",s)(r);return l._rc=!0,mf[n]=l})},5024(e,t,n){var r={"./index.ts":3822};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=5024},4162(e){"use strict";e.exports=()=>window.__DOCS__},5431(e){"use strict";e.exports=__DOCS_CONFIG__},7783(e,t,n){"use strict";function r(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function o(e,t){let n;return(o,i)=>(()=>{if(n)return n;const o=indexedDB.open(e);return o.onupgradeneeded=()=>o.result.createObjectStore(t),n=r(o),n.then(e=>{e.onclose=()=>n=void 0},()=>{}),n})().then(e=>i(e.transaction(t,o).objectStore(t)))}let i;function s(){return i||(i=o("keyval-store","keyval")),i}function a(e,t=s()){return t("readonly",t=>r(t.get(e)))}function l(e,t,n=s()){return n("readwrite",n=>(n.put(t,e),r(n.transaction)))}function c(e,t=s()){return t("readwrite",t=>(t.delete(e),r(t.transaction)))}n.d(t,{Jt:()=>a,hZ:()=>l,y$:()=>o,yH:()=>c})},2005(e,t,n){"use strict";n.d(t,{A:()=>re});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var i="object"==typeof self&&self&&self.Object===Object&&self;const s=o||i||Function("return this")();const a=function(){return s.Date.now()};var l=/\s/;const c=function(e){for(var t=e.length;t--&&l.test(e.charAt(t)););return t};var u=/^\s+/;const d=function(e){return e?e.slice(0,c(e)+1).replace(u,""):e};const h=s.Symbol;var f=Object.prototype,p=f.hasOwnProperty,m=f.toString,v=h?h.toStringTag:void 0;const g=function(e){var t=p.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(i){}var o=m.call(e);return r&&(t?e[v]=n:delete e[v]),o};var b=Object.prototype.toString;const y=function(e){return b.call(e)};var w=h?h.toStringTag:void 0;const S=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":w&&w in Object(e)?g(e):y(e)};const k=function(e){return null!=e&&"object"==typeof e};const x=function(e){return"symbol"==typeof e||k(e)&&"[object Symbol]"==S(e)};var E=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,_=/^0o[0-7]+$/i,A=parseInt;const T=function(e){if("number"==typeof e)return e;if(x(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=d(e);var n=C.test(e);return n||_.test(e)?A(e.slice(2),n?2:8):E.test(e)?NaN:+e};var L=Math.max,R=Math.min;const M=function(e,t,n){var o,i,s,l,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=o,r=i;return o=i=void 0,d=t,l=e.apply(r,n)}function v(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-d>=s}function g(){var e=a();if(v(e))return b(e);c=setTimeout(g,function(e){var n=t-(e-u);return f?R(n,s-(e-d)):n}(e))}function b(e){return c=void 0,p&&o?m(e):(o=i=void 0,l)}function y(){var e=a(),n=v(e);if(o=arguments,i=this,u=e,n){if(void 0===c)return function(e){return d=e,c=setTimeout(g,t),h?m(e):l}(u);if(f)return clearTimeout(c),c=setTimeout(g,t),m(u)}return void 0===c&&(c=setTimeout(g,t)),l}return t=T(t)||0,r(n)&&(h=!!n.leading,s=(f="maxWait"in n)?L(T(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==c&&clearTimeout(c),d=0,o=u=i=c=void 0},y.flush=function(){return void 0===c?l:b(a())},y};const I=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),M(e,t,{leading:o,maxWait:t,trailing:i})};var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)};function D(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function P(e){return e&&e.ownerDocument?e.ownerDocument:document}var N=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function F(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function W(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function B(e){return".".concat(e.split(" ").join("."))}var V=!("undefined"==typeof window||!window.document||!window.document.createElement),H=Object.freeze({__proto__:null,addClasses:F,canUseDOM:V,classNamesToQuery:B,getElementDocument:P,getElementWindow:D,getOptions:N,removeClasses:W}),q=null,j=null;function z(){if(null===q){if("undefined"==typeof document)return q=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),q=n}return q}V&&window.addEventListener("resize",function(){j!==window.devicePixelRatio&&(j=window.devicePixelRatio,q=null)});var $=D,X=P,K=N,U=F,G=W,Q=B,Y=function(){function e(t,n){void 0===n&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=$(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,U(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){G(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(U(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){G(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,n;r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el&&(r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y")))))},this.drag=function(t){var n,o,i,s,a,l,c,u,d,h,f;if(r.draggedAxis&&r.contentWrapperEl){var p=r.axis[r.draggedAxis].track,m=null!==(o=null===(n=p.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==o?o:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(s=null===(i=r.contentWrapperEl)||void 0===i?void 0:i[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==s?s:0,b=parseInt(null!==(l=null===(a=r.elStyles)||void 0===a?void 0:a[r.axis[r.draggedAxis].sizeAttr])&&void 0!==l?l:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(u=null===(c=p.rect)||void 0===c?void 0:c[r.axis[r.draggedAxis].offsetAttr])&&void 0!==u?u:0)-r.axis[r.draggedAxis].dragOffset,w=(y="x"===r.draggedAxis&&r.isRtl?(null!==(h=null===(d=p.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==h?h:0)-v.size-y:y)/(m-v.size)*(g-b);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(f=e.getRtlHelpers())||void 0===f?void 0:f.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=X(r.el),n=$(r.el);e.preventDefault(),e.stopPropagation(),G(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=O(O({},e.defaultOptions),n),this.classNames=O(O({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=I(this._onMouseMove,64),this.onWindowResize=M(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=M(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=M(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=null==n?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),i=e.getOffset(r);n.scrollLeft=-999;var s=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.left!==s.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:z()}catch(e){return z()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=X(e),r=$(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){V&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(Q(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Q(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Q(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Q(this.classNames.offset)),this.maskEl=this.el.querySelector(Q(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Q(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Q(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Q(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Q(this.classNames.track)).concat(Q(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Q(this.classNames.track)).concat(Q(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(Q(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(Q(this.classNames.scrollbar)))||null,this.options.autoHide||(U(this.axis.x.scrollbar.el,this.classNames.visible),U(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=$(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=$(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,s=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var a=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||l,"px"):"auto",this.placeholderEl.style.height="".concat(a,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=a>c,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>o-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>c-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,n;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r,o=this.contentEl[this.axis[e].scrollSizeAttr],i=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,s=i/o;return r=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,o;void 0===t&&(t="y");var i=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&i.el&&this.elStyles){var s=this.contentWrapperEl[this.axis[t].scrollSizeAttr],a=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(o=e.getRtlHelpers())||void 0===o?void 0:o.isScrollingToNegative)?c:-c);var u=c/(s-l),d=~~((a-i.size)*u);d="x"===t&&this.isRtl?-d+(a-i.size):d,i.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(U(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(G(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),U(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?U(t.scrollbar.el,this.classNames.hover):G(t.scrollbar.el,this.classNames.hover)):(G(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),G(this.axis[e].track.el,this.classNames.hover),G(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var n;void 0===t&&(t="y"),this.isDragging=!0;var r=X(this.el),o=$(this.el),i=this.axis[t].scrollbar,s="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=s-((null===(n=i.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,U(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,o,i,s=this;void 0===t&&(t="y");var a=this.axis[t];if(this.options.clickOnTrack&&a.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var l=$(this.el);this.axis[t].scrollbar.rect=a.scrollbar.el.getBoundingClientRect();var c=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,u=parseInt(null!==(i=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==i?i:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],h=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,f=-1===h?d-u:d+u,p=function(){s.contentWrapperEl&&(-1===h?d>f&&(d-=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(p)):d<f&&(d+=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(p)))};p()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=$(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=K,e.helpers=H,e}(),J=function(e,t){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},J(e,t)};var Z=Y.helpers,ee=Z.getOptions,te=Z.addClasses,ne=Z.canUseDOM,re=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return t.instances.set(n[0],o),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}J(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,ee(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,n,r=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),te(this.wrapperEl,this.classNames.wrapper),te(this.contentWrapperEl,this.classNames.contentWrapper),te(this.offsetEl,this.classNames.offset),te(this.maskEl,this.classNames.mask),te(this.contentEl,this.classNames.contentEl),te(this.placeholderEl,this.classNames.placeholder),te(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),te(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(n=this.contentWrapperEl)||void 0===n||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var o=document.createElement("div"),i=document.createElement("div");te(o,this.classNames.track),te(i,this.classNames.scrollbar),o.appendChild(i),this.axis.x.track.el=o.cloneNode(!0),te(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),te(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}Y.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){Y.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,ee(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,ee(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var n;!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount())}))})})},t.instances=new WeakMap,t}(Y);ne&&re.initHtmlApi()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=n(1425),t=n(6695),r=n(8800),o=n(7356),i=n(5431),s=n.n(i),a=n(6514),l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function u(e){setTimeout(function(){var n,r;e((n=function(){var e;if("number"==typeof s().flags)e=s().flags;else{if(!d())return!1;if("number"!=typeof s().flags)return!1;e=s().flags}var n=m(p("73696465626172"),p("444F432D53494445424152"),p("646F63732D706F77657265642D6279"),document.children),r=0===n.length&&t.M_.state.unloading;if(n.length>0)for(var o=0;o<n.length;++o){var i=n[o],a=null==i?void 0:i.firstChild,l=null==i?void 0:i.querySelector("svg");if(!(i&&a&&l&&i.getAttribute(p("68726566"))===p("68747470733A2F2F7265747970652E636F6D2F")&&a.innerHTML===p("506F7765726564206279")&&l.getAttribute(p("7769647468"))===p("3936")&&l.getAttribute(p("686569676874"))===p("3230")&&1045===l.innerHTML.replace(/\s+/g,"").split("").map(function(e){return e.charCodeAt(0)}).reduce(function(e,t){return e^23*t},0)))return!1;r||i&&(i.offsetWidth||i.offsetHeight||i.getClientRects().length)&&(r=!0)}return r||(1&e)*(2&e)>0}(),r=v(),n&&r))},10)}function d(){var e,t=f();if(!t)return!1;for(var n=parseInt(t.checksum.slice(0,-5)||"0"),r=[s().id,t.fingerprint,".",t.signature,s().base,s().host,n.toString()],o=0,i=s().sidebar;o<i.length;o++){var a=i[o];r.push(null!==(e=a.l)&&void 0!==e?e:a.n)}for(var l=0,c=0,u=r;c<u.length;c++)for(var d=u[c],h=0;h<d.length;++h)l^=d.charCodeAt(h);return l===parseInt(t.checksum.slice(-5))&&(s().flags=n,!0)}function h(t,n,r){if(!n){var o="5B464154414C5D3A20436F".concat(727275,"7074656420776"),i=function(){t&&t.unmount();var e=window.dce;e&&e();var n="56273697".concat(4652063,"6F6E66696775726174696F6E");window[p("636F6E736F6C65")][p("6572726F72")](p(o+n))};r?(0,e.dY)(function(){return i()}):i()}}function f(){var e=null===s()||void 0===s()?void 0:s().key;if(!e||"string"!=typeof e)return null;var t=e.indexOf(".");if(t<=0)return null;var n=e.lastIndexOf(".");if(n<=t)return null;for(var r={fingerprint:e.slice(0,t),signature:e.slice(t+1,n),checksum:e.slice(n+1)},o=r.signature.length%4;o>0;--o)r.signature+="=";return r}function p(e){if(e.length%2!=0)throw new Error("Invalid hex string length");for(var t=[],n=0;n<e.length;n+=2){var r=parseInt(e.slice(n,n+2),16);if(isNaN(r))throw new Error("Invalid hex pair: ".concat(e.slice(n,n+2)));t.push(String.fromCharCode(r))}return t.join("")}function m(e,t,n,r,o,i){null!=i||(i=[]);for(var s=0;s<r.length;++s){var a=r[s];if("A"===a.nodeName&&a.classList.contains(n)&&a instanceof HTMLElement)i.push(a);else{var l=a.children.length?a.children:"TEMPLATE"===a.nodeName&&a instanceof HTMLTemplateElement&&a.content.children?a.content.children:null;(null==l?void 0:l.length)&&m(e,t,n,l,o,i)}}return i}function v(){var e=this,t=s().flags;if("number"==typeof t&&1==(t>>2&1))return!0;if(b())return!0;if(!function(){var e=s().flags;if("number"!=typeof e)return!1;return(1&e)>0}())return!0;var r=function(){try{return(new g).mlv()}catch(ee){return!1}}();return!!r&&(setTimeout(function(){return l(e,void 0,void 0,function(){return c(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,Promise.resolve().then(n.bind(n,183))];case 1:return[4,(0,e.sent().vbi)()];case 2:return e.sent()||window.dce(),[3,4];case 3:return e.sent(),window.dce(),[3,4];case 4:return[2]}})})},100),r)}var g=function(){function e(){this.flags=s().flags||0,this.seed=s().seed}return e.prototype.mlv=function(){return!!this.uvf()&&(!!this.vcd()&&!!this.riv())},e.prototype.uvf=function(){var e=1===(this.flags<<28>>>31&1),t=1==(this.flags>>3&1),n=e&&t;return!n&&1&this.flags?this.vdm():n},e.prototype.vdm=function(){var e=window.__DOCS_CONFIG__,t=null==e?void 0:e.host,n=window.location.hostname;return n===t&&!!this.vld(n)},e.prototype.vld=function(e){var t=window.__DOCS_CONFIG__;if(!(null==t?void 0:t.seed))return!1;try{var n=(new TextEncoder).encode(e),r=this.btb(t.seed),o=this.sdv(n),i=r.slice(0,4);return!!o.every(function(e,t){return e===i[t]})}catch(ee){return!1}},e.prototype.btb=function(e){for(var t=atob(e),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},e.prototype.sdv=function(e){for(var t=new Uint8Array(4),n=0;n<e.length;n++)t[n%4]^=e[n];return t},e.prototype.vcd=function(){if(!this.seed)return!1;try{return!!this.ecd()&&function(){try{var e="href",t=function(e){if(!e||"string"!=typeof e)return null;try{return new URL(e).hostname.toLowerCase()}catch(ee){return e.replace(/^https?:\/\//,"").split("/")[0].toLowerCase()}}(window["location"][e]);if(!t)return!0;var n=function(){try{var e=y();return e||null}catch(ee){return null}}();if(!n)return!1;var r=y();if(!r)return!1;var o=w(t,n),i=w(t,r),s=w(n,r);return!!(o&&i&&s)}catch(ee){return!1}}()}catch(ee){return!1}},e.prototype.riv=function(){var e=this.uvf.toString().length+this.vcd.toString().length+this.riv.toString().length;return e>=500&&e<=1500},e.prototype.ecd=function(){try{var e=window.location.hostname.toLowerCase();return e.startsWith("www.")?e.substring(4):e}catch(ee){return null}},e}();function b(){var e=s().flags;return"number"==typeof e&&1==(e>>2&1)}function y(){try{return s().host?s().host.toLowerCase().replace(/^www\./,""):null}catch(ee){return null}}function w(e,t){return!(!e||!t)&&(e===t||(!!e.endsWith("."+t)||!!t.endsWith("."+e)))}var S=n(4162),k=n.n(S);const x=()=>window.__DOCS_MERMAID__;var E=n.n(x);const C=()=>window.__DOCS_PRISM__;var _=n.n(C);const A=()=>window.__DOCS_KATEX__;var T=n.n(A),L=n(89),R=n(3137);var M=n(2302),I=n(5493);var O=n(3772),D=n(1441),P=n(5780),N=n(2005),F=n(183),W=n(6684),B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},B.apply(this,arguments)},V="turbo_scroll_positions",H=!1,q={x:0,y:0},j="",z=null;function $(){return window.location.pathname}function X(){try{var e=sessionStorage.getItem(V);return e?JSON.parse(e):{}}catch(ee){return{}}}function K(e){try{var t=Object.entries(e);t.length>50&&(t.sort(function(e,t){return t[1].timestamp-e[1].timestamp}),e=Object.fromEntries(t.slice(0,50))),sessionStorage.setItem(V,JSON.stringify(e))}catch(ee){}}function U(){var e,t;e=$(),(t=X())[e]={x:Math.round(window.scrollX),y:Math.round(window.scrollY),timestamp:Date.now()},K(t)}function G(){z||(z=setTimeout(function(){q={x:Math.round(window.scrollX),y:Math.round(window.scrollY)},j=$(),z=null},100))}function Q(){var e=window.location.pathname;if((!j||j!==e)&&(z&&(clearTimeout(z),z=null),q={x:Math.round(window.scrollX),y:Math.round(window.scrollY)},j)){var t=X();t[j]=B(B({},q),{timestamp:Date.now()}),K(t)}}function Y(e){var t=e.detail;H="restore"===(null==t?void 0:t.action)}function J(){H&&L.gM.currentVisit&&(L.gM.currentVisit.scrolled=!0)}function Z(){var e=$();if(j=e,q={x:window.scrollX,y:window.scrollY},H){var t=X()[e];t&&(L.gM.currentVisit&&(L.gM.currentVisit.scrolled=!0),requestAnimationFrame(function(){requestAnimationFrame(function(){window.scrollTo(t.x,t.y),q={x:t.x,y:t.y}})})),H=!1}}var ee,te,ne,re,oe,ie,se=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},ae=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function le(){var e=document.getElementById("retype-app");e&&(e.innerHTML='<div class="min-h-screen flex items-center container mx-auto px-6 text-center"><div class="max-w-2xl mx-auto"><h1 class="text-heading-h1 font-bold text-callout-danger mb-6 heading-case">Website Configuration Error</h1><div class="bg-callout-base-bg border border-callout-base-border rounded-lg p-6 mb-6 text-base-text leading-relaxed"><div><p class="mb-4">This website is misconfigured.</p><p>Please see the <a href="https://retype.com/guides/troubleshooting/" class="text-base-link hover:text-base-link-hover underline">troubleshooting</a> guide for assistance.</p></div></div></div></div>')}function ce(){return se(this,void 0,void 0,function(){return ae(this,function(e){try{return d()&&(b()||v())?[2,!0]:(le(),[2,!1])}catch(te){return le(),[2,!1]}})})}function ue(){(re=(0,e.Ef)((0,e.pM)({name:"DocApp",compilerOptions:{delimiters:["\0\0","\0\0"]},setup:function(){var n=(0,t.Pj)().store;(0,W.q)(),(0,r.D)(n),n.actions.resetMemberData();var o=function(){var t=(0,e.KR)(!1),n=null;return(0,R._q)(window,"scroll",function(){t.value=!0,null!==n&&clearTimeout(n),n=setTimeout(function(){t.value=!1},100)}),{isScrolling:t}}().isScrolling;(0,e.wB)(o,function(e){n.state.isWindowScrolling=e},{immediate:!0}),(0,e.sV)(function(){(0,e.dY)(function(){n.state.initialPageLoad=!1})}),function(){var e=(0,t.Pj)().store,n=(0,M.D)().scrollTo;(0,R._q)(window,"popstate",function(){if(window.location.hash){var t=decodeURIComponent(window.location.hash),r=t.slice(1),o=document.getElementById(r);if(!o)for(var i=0,s=Array.from(document.querySelectorAll("[id]"));i<s.length;i++){var a=s[i];if(a.id.toLowerCase()===r.toLowerCase()){o=a;break}}o||(o=document.querySelector(t)),o&&n(t,{offset:I.gj,onStart:function(){e.actions.updateScrolledElementId(r)}})}})}()}}))).provide(t.eD,t.M_),re.provide(o.rk,o.Rh);var i=n(5024);i.keys().forEach(function(e){var t=i(e);Object.keys(t).forEach(function(e){re.component(e,t[e])})});var s=[],a=document.getElementById("retype-app");a&&a.querySelectorAll("script, style, iframe").forEach(function(e){if(e.parentElement){var t=document.createElement("div");t.id=e.id?"element-placeholder-".concat(s.length,"-").concat(e.id):"element-placeholder-".concat(s.length),e.parentElement.insertBefore(t,e),s.push([e,t]),e.remove()}}),re.mount("#retype-app"),s.length&&(0,e.dY)(function(){for(var e=0,t=s;e<t.length;e++){var n=t[e],r=document.getElementById(n[1].id);(null==r?void 0:r.parentElement)&&(r.parentElement.insertBefore(n[0],r),r.remove())}})}window.addEventListener("scroll",G,{passive:!0}),q={x:window.scrollX,y:window.scrollY},j=$(),window.addEventListener("popstate",Q),document.addEventListener("turbo:before-visit",U),document.addEventListener("turbo:visit",Y),document.addEventListener("turbo:before-render",J),document.addEventListener("turbo:load",Z),"file:"===location.protocol.toLowerCase()&&(L.dZ.drive=!1,L.dZ.navigator.proposeVisit=function(e){window.location.href=e.toString()}),window.dce=le;var de,he=!1,fe=0,pe="reloadPosition=";document.addEventListener("turbo:before-render",function(e){if(he){L.gM.currentVisit&&(L.gM.currentVisit.scrolled=!0);var t=oe;e.detail.render=function(e,n){return se(void 0,void 0,void 0,function(){var r,o;return ae(this,function(i){return r=e.querySelector("#retype-main"),o=n.querySelector("#retype-main"),r&&o?r.innerHTML=o.innerHTML:(0,L.Su)(e,n),t&&de.call(window,t[0],t[1]),[2]})})}}}),null!==(ee=window.retype)&&void 0!==ee||(window.retype={}),null!==(te=(ne=window.retype).reload)&&void 0!==te||(ne.reload=function(e,t){if(e){if(he||Date.now()-fe<5e3)return;var n=location.pathname.endsWith("/")||/[.]html?$/i.test(location.pathname)?location.pathname:location.pathname+"/",r=Math.round(window.scrollX),o=Math.round(window.scrollY);document.cookie="".concat(pe).concat(r,",").concat(o,";path=").concat(n,";max-age=5"),window.location.reload()}else{oe=[window.scrollX,window.scrollY],ie=window.location.hash,he=!0,fe=Date.now(),de=window.scrollTo,window.scrollTo=function(){},window.scroll=function(){};var i=window.location.href,s=ie?window.location.pathname+window.location.search:i;(0,L.YR)(s,{action:"replace"}),t&&(0,O.Se)()}});var me=null,ve=null;document.addEventListener("turbo:load",function(){return se(void 0,void 0,void 0,function(){var e,n,r,o,i,d,p,m,v,g,b;return ae(this,function(y){switch(y.label){case 0:return function(){var e=document.getElementById("retype-favicon");if(null==e?void 0:e.dataset.hrefLight){var t=function(t){e.href=t?e.dataset.hrefDark:e.dataset.hrefLight};me&&ve&&me.removeEventListener("change",ve),me=window.matchMedia("(prefers-color-scheme: dark)"),ve=function(e){return t(e.matches)},t(me.matches),me.addEventListener("change",ve)}}(),t.M_.state.initialPageLoad?[3,1]:(re.unmount(),he&&oe&&(t.M_.state.isScrollPositionRestored=!0),[3,3]);case 1:return[4,ce()];case 2:if(!y.sent())return[2];(function(){return l(this,void 0,void 0,function(){var e,t,n,r,o,i,l,u,d,h,p,m,v,g,b,y;return c(this,function(c){switch(c.label){case 0:if(!(e=f()))return[2,!1];for(t=parseInt(e.checksum.slice(0,-5)||"0"),n=atob(e.signature),r=[],g=0;g<n.length;++g)r.push(n.charCodeAt(g));for(o=[s().id,s().base,s().host,t.toString()],i=0,l=s().sidebar;i<l.length;i++)u=l[i],o.push(null!==(y=u.l)&&void 0!==y?y:u.n);return o.push(e.fingerprint),d=o.join(""),h=new TextEncoder,p=new TextDecoder,[4,crypto.subtle.digest("SHA-256",h.encode(d))];case 1:for(m=c.sent(),v=[48,71,48,115,103,125,49,133,75,132,137,14,25,65,99,18,116,124,42,116,85,72,11,45,125,183,150,91,96,33,111,30,32,103,88,212,96,188,182,160,83,67,148,88,185,171,117,178,221,234,50,86,254,60,165,240,3,106,69,30,235,147,143,222,64,97,80,223,163,20,180,16,45,166,117,156,157,202,217,232,216,165,93,4,176,78,44,97,133,2,3,1,0,1],g=a.go.length+a.qX.length;g>0;--g)v[g%v.length]^=a.go[g%a.go.length]^a.qX[g%a.qX.length];return[4,crypto.subtle.importKey("spki",new Uint8Array(v),{name:p.decode(a.go),hash:p.decode(a.qX)},!1,["verify"])];case 2:return b=c.sent(),[4,crypto.subtle.verify(b.algorithm,b,new Uint8Array(r),m)];case 3:return[2,c.sent()]}})})})().then(function(e){return h(re,e,!0)}),y.label=3;case 3:return(e=document.getElementById("protected-content"))?(n=document.getElementById("retype-app"))?(r=n.outerHTML,[4,(0,F.unprotectPage)(e,function(){ue()},function(){re.unmount(),n.outerHTML=r})]):[3,5]:[3,6];case 4:y.sent(),y.label=5;case 5:return[3,7];case 6:ue(),y.label=7;case 7:return u(function(e){return h(re,e)}),(null===(g=null===(v=window.retype)||void 0===v?void 0:v.editor)||void 0===g?void 0:g.initView)&&window.retype.editor.initView(),(null==(o=k()())?void 0:o.hasPrism)&&(0,P.B)("prism-js",_(),function(e){return null==e?void 0:e.initPrism()}),(null==o?void 0:o.hasMermaid)&&(0,P.B)("mermaid-js",E(),function(e){return null==e?void 0:e.initMermaid()}),(null==o?void 0:o.hasMath)&&(0,P.B)("katex-js",T(),function(e){return null==e?void 0:e.initKatex()}),document.querySelectorAll(".scrollbar").forEach(function(e){e.classList.remove("overflow-hidden"),new N.A(e)}),i=!1,oe?(t.M_.state.isScrollPositionRestored=!0,setTimeout(function(){t.M_.state.isScrollPositionRestored=!1},3e3),d=oe,oe=null,he=!1,requestAnimationFrame(function(){de.call(window,d[0],d[1]),setTimeout(function(){ie&&(history.replaceState(history.state,document.title,window.location.pathname+ie+window.location.search),ie=null),window.scrollTo=de,window.scroll=de},1500)}),i=!0):t.M_.state.initialPageLoad&&(p=null===(b=document.cookie.split(";").find(function(e){return e.trim().startsWith(pe)}))||void 0===b?void 0:b.trim())&&(m=p.slice(15).split(","))&&2==m.length&&/^\d+$/.test(m[0])&&/^\d+$/.test(m[1])&&(t.M_.state.isScrollPositionRestored=!0,setTimeout(function(){t.M_.state.isScrollPositionRestored=!1},3e3),window.scrollTo(Number.parseInt(m[0]),Number.parseInt(m[1])),i=!0),i&&L.gM.currentVisit&&(L.gM.currentVisit.scrolled=!0),t.M_.actions.updateMemberFilter(""),t.M_.actions.updateSearchQuery(""),(0,(0,D.r)().handleAnchorNavigation)(void 0,{isPageLoad:!0}),[2]}})})}),window.addEventListener("beforeunload",function(){t.M_.state.unloading=!0})})()})();