pocketpy/resources/js/retype.js
2025-09-23 06:50:35 +00:00

27 lines
511 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! Retype v3.11.0 | retype.com | Copyright 2025. Retype, Inc. All rights reserved. */
/*! For license information please see retype.js.LICENSE.txt */
(()=>{var e={6184:(e,t,n)=>{"use strict";n.d(t,{BL:()=>Ce,Vn:()=>Te,nP:()=>ke,ry:()=>_e}),function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}(),function(e){function t(e,t,n){throw new e("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",n)}"function"!=typeof e.requestSubmit&&(e.requestSubmit=function(e){e?(function(e,n){e instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==e.type||t(TypeError,"The specified element is not a submit button"),e.form==n||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(e,this),e.click()):((e=document.createElement("input")).type="submit",e.hidden=!0,this.appendChild(e),e.click(),this.removeChild(e))})}(HTMLFormElement.prototype);const r=new WeakMap;function i(e){const t=function(e){const t=e instanceof Element?e:e instanceof Node?e.parentElement:null,n=t?t.closest("input, button"):null;return"submit"==(null==n?void 0:n.type)?n:null}(e.target);t&&t.form&&r.set(t.form,t)}var o,s,a,l,c,u;!function(){if("submitter"in Event.prototype)return;let e=window.Event.prototype;if("SubmitEvent"in window&&/Apple Computer/.test(navigator.vendor))e=window.SubmitEvent.prototype;else if("SubmitEvent"in window)return;addEventListener("click",i,!0),Object.defineProperty(e,"submitter",{get(){if("submit"==this.type&&this.target instanceof HTMLFormElement)return r.get(this.target)}})}(),function(e){e.eager="eager",e.lazy="lazy"}(o||(o={}));class d extends HTMLElement{static get observedAttributes(){return["disabled","complete","loading","src"]}constructor(){super(),this.loaded=Promise.resolve(),this.delegate=new d.delegateConstructor(this)}connectedCallback(){this.delegate.connect()}disconnectedCallback(){this.delegate.disconnect()}reload(){return this.delegate.sourceURLReloaded()}attributeChangedCallback(e){"loading"==e?this.delegate.loadingStyleChanged():"complete"==e?this.delegate.completeChanged():"src"==e?this.delegate.sourceURLChanged():this.delegate.disabledChanged()}get src(){return this.getAttribute("src")}set src(e){e?this.setAttribute("src",e):this.removeAttribute("src")}get loading(){return"lazy"===(this.getAttribute("loading")||"").toLowerCase()?o.lazy:o.eager}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(){var e,t;return null===(t=null===(e=this.ownerDocument)||void 0===e?void 0:e.documentElement)||void 0===t?void 0:t.hasAttribute("data-turbo-preview")}}function h(e){return new URL(e.toString(),document.baseURI)}function p(e){let t;return e.hash?e.hash.slice(1):(t=e.href.match(/#(.*)$/))?t[1]:void 0}function f(e,t){return h((null==t?void 0:t.getAttribute("formaction"))||e.getAttribute("action")||e.action)}function m(e,t){return function(e,t){const n=function(e){return(t=e.origin+e.pathname).endsWith("/")?t:t+"/";var t}(t);return e.href===h(n).href||e.href.startsWith(n)}(e,t)&&!!(n=e,(function(e){return function(e){return e.pathname.split("/").slice(1)}(e).slice(-1)[0]}(n).match(/\.[^.]*$/)||[])[0]||"").match(/^(?:|\.(?:htm|html|xhtml|php))$/);var n}function v(e){const t=p(e);return null!=t?e.href.slice(0,-(t.length+1)):e.href}function g(e){return v(e)}class b{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 h(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)}}function y(e){if("false"==e.getAttribute("data-turbo-eval"))return e;{const t=document.createElement("script"),n=R("csp-nonce");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 w(e,{target:t,cancelable:n,detail:r}={}){const i=new CustomEvent(e,{cancelable:n,bubbles:!0,composed:!0,detail:r});return t&&t.isConnected?t.dispatchEvent(i):document.documentElement.dispatchEvent(i),i}function S(){return new Promise((e=>requestAnimationFrame((()=>e()))))}function x(e=""){return(new DOMParser).parseFromString(e,"text/html")}function k(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+/),i=r?r[0].length:0;return n.map((e=>e.slice(i))).join("\n")}function E(){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(15*Math.random()).toString(16))).join("")}function _(e,...t){for(const n of t.map((t=>null==t?void 0:t.getAttribute(e))))if("string"==typeof n)return n;return null}function C(...e){for(const t of e)"turbo-frame"==t.localName&&t.setAttribute("busy",""),t.setAttribute("aria-busy","true")}function T(...e){for(const t of e)"turbo-frame"==t.localName&&t.removeAttribute("busy"),t.removeAttribute("aria-busy")}function A(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 L(e){switch(e){case"replace":return history.replaceState;case"advance":case"restore":return history.pushState}}function D(...e){const t=_("data-turbo-action",...e);return function(e){return"advance"==e||"replace"==e||"restore"==e}(t)?t:null}function I(e){return document.querySelector(`meta[name="${e}"]`)}function R(e){const t=I(e);return t&&t.content}function O(e,t){var n;if(e instanceof Element)return e.closest(t)||O(e.assignedSlot||(null===(n=e.getRootNode())||void 0===n?void 0:n.host),t)}!function(e){e[e.get=0]="get",e[e.post=1]="post",e[e.put=2]="put",e[e.patch=3]="patch",e[e.delete=4]="delete"}(s||(s={}));class M{constructor(e,t,n,r=new URLSearchParams,i=null){this.abortController=new AbortController,this.resolveRequestPromise=e=>{},this.delegate=e,this.method=t,this.headers=this.defaultHeaders,this.body=r,this.url=n,this.target=i}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),await this.allowRequestToBeIntercepted(e);try{this.delegate.requestStarted(this);const t=await fetch(this.url.href,e);return await this.receive(t)}catch(e){if("AbortError"!==e.name)throw this.willDelegateErrorHandling(e)&&this.delegate.requestErrored(this,e),e}finally{this.delegate.requestFinished(this)}}async receive(e){const t=new b(e);return w("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 fetchOptions(){var e;return{method:s[this.method].toUpperCase(),credentials:"same-origin",headers:this.headers,redirect:"follow",body:this.isSafe?null:this.body,signal:this.abortSignal,referrer:null===(e=this.delegate.referrer)||void 0===e?void 0:e.href}}get defaultHeaders(){return{Accept:"text/html, application/xhtml+xml"}}get isSafe(){return this.method===s.get}get abortSignal(){return this.abortController.signal}acceptResponseType(e){this.headers.Accept=[e,this.headers.Accept].join(", ")}async allowRequestToBeIntercepted(e){const t=new Promise((e=>this.resolveRequestPromise=e));w("turbo:before-fetch-request",{cancelable:!0,detail:{fetchOptions:e,url:this.url,resume:this.resolveRequestPromise},target:this.target}).defaultPrevented&&await t}willDelegateErrorHandling(e){return!w("turbo:fetch-request-error",{target:this.target,cancelable:!0,detail:{request:this,error:e}}).defaultPrevented}}class N{constructor(e,t){this.started=!1,this.intersect=e=>{const t=e.slice(-1)[0];(null==t?void 0:t.isIntersecting)&&this.delegate.elementAppearedInViewport(this.element)},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))}}class F{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(y(t));t.replaceWith(e)}return e}(e)}}F.contentType="text/vnd.turbo-stream.html",function(e){e[e.initialized=0]="initialized",e[e.requesting=1]="requesting",e[e.waiting=2]="waiting",e[e.receiving=3]="receiving",e[e.stopping=4]="stopping",e[e.stopped=5]="stopped"}(a||(a={})),function(e){e.urlEncoded="application/x-www-form-urlencoded",e.multipart="multipart/form-data",e.plain="text/plain"}(l||(l={}));class P{static confirmMethod(e,t,n){return Promise.resolve(confirm(e))}constructor(e,t,n,r=!1){this.state=a.initialized,this.delegate=e,this.formElement=t,this.submitter=n,this.formData=function(e,t){const n=new FormData(e),r=null==t?void 0:t.getAttribute("name"),i=null==t?void 0:t.getAttribute("value");return r&&n.append(r,i||""),n}(t,n),this.location=h(this.action),this.method==s.get&&function(e,t){const n=new URLSearchParams;for(const[e,r]of t)r instanceof File||n.append(e,r);e.search=n.toString()}(this.location,[...this.body.entries()]),this.fetchRequest=new M(this,this.method,this.location,this.body,this.formElement),this.mustRedirect=r}get method(){var e;return function(e){switch(e.toLowerCase()){case"get":return s.get;case"post":return s.post;case"put":return s.put;case"patch":return s.patch;case"delete":return s.delete}}(((null===(e=this.submitter)||void 0===e?void 0:e.getAttribute("formmethod"))||this.formElement.getAttribute("method")||"").toLowerCase())||s.get}get action(){var e;const t="string"==typeof this.formElement.action?this.formElement.action:null;return(null===(e=this.submitter)||void 0===e?void 0:e.hasAttribute("formaction"))?this.submitter.getAttribute("formaction")||"":this.formElement.getAttribute("action")||t||""}get body(){return this.enctype==l.urlEncoded||this.method==s.get?new URLSearchParams(this.stringFormData):this.formData}get enctype(){var e;return function(e){switch(e.toLowerCase()){case l.multipart:return l.multipart;case l.plain:return l.plain;default:return l.urlEncoded}}((null===(e=this.submitter)||void 0===e?void 0:e.getAttribute("formenctype"))||this.formElement.enctype)}get isSafe(){return this.fetchRequest.isSafe}get stringFormData(){return[...this.formData].reduce(((e,[t,n])=>e.concat("string"==typeof n?[[t,n]]:[])),[])}async start(){const{initialized:e,requesting:t}=a,n=_("data-turbo-confirm",this.submitter,this.formElement);if("string"!=typeof n||await P.confirmMethod(n,this.formElement,this.submitter))return this.state==e?(this.state=t,this.fetchRequest.perform()):void 0}stop(){const{stopping:e,stopped:t}=a;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}}}(R("csrf-param"))||R("csrf-token");t&&(e.headers["X-CSRF-Token"]=t)}this.requestAcceptsTurboStreamResponse(e)&&e.acceptResponseType(F.contentType)}requestStarted(e){var t;this.state=a.waiting,null===(t=this.submitter)||void 0===t||t.setAttribute("disabled",""),this.setSubmitsWith(),w("turbo:submit-start",{target:this.formElement,detail:{formSubmission:this}}),this.delegate.formSubmissionStarted(this)}requestPreventedHandlingResponse(e,t){this.result={success:t.succeeded,fetchResponse:t}}requestSucceededWithResponse(e,t){if(t.clientError||t.serverError)this.delegate.formSubmissionFailedWithResponse(this,t);else if(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=a.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){var t;this.state=a.stopped,null===(t=this.submitter)||void 0===t||t.removeAttribute("disabled"),this.resetSubmitterText(),w("turbo:submit-end",{target:this.formElement,detail:Object.assign({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(){this.submitter&&this.originalSubmitText&&(this.submitter.matches("button")?this.submitter.innerHTML=this.originalSubmitText: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(){var e;return null===(e=this.submitter)||void 0===e?void 0:e.getAttribute("data-turbo-submits-with")}}class H{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(){for(const e of this.element.querySelectorAll("[autofocus]"))if(null==e.closest("[inert], :disabled, [hidden], details:not([open]), dialog:not([open])"))return e;return null}get permanentElements(){return B(this.element)}getPermanentElementById(e){return W(this.element,e)}getPermanentElementMapForSnapshot(e){const t={};for(const n of this.permanentElements){const{id:r}=n,i=e.getPermanentElementById(r);i&&(t[r]=[n,i])}return t}}function W(e,t){return e.querySelector(`#${t}[data-turbo-permanent]`)}function B(e){return e.querySelectorAll("[id][data-turbo-permanent]")}class V{constructor(e,t){this.started=!1,this.submitCaptured=()=>{this.eventTarget.removeEventListener("submit",this.submitBubbled,!1),this.eventTarget.addEventListener("submit",this.submitBubbled,!1)},this.submitBubbled=e=>{if(!e.defaultPrevented){const t=e.target instanceof HTMLFormElement?e.target:void 0,n=e.submitter||void 0;t&&function(e,t){return"dialog"!=((null==t?void 0:t.getAttribute("formmethod"))||e.getAttribute("method"))}(t,n)&&function(e,t){if((null==t?void 0:t.hasAttribute("formtarget"))||e.hasAttribute("target")){const n=(null==t?void 0:t.getAttribute("formtarget"))||e.target;for(const e of document.getElementsByName(n))if(e instanceof HTMLIFrameElement)return!1;return!0}return!0}(t,n)&&this.delegate.willSubmitForm(t,n)&&(e.preventDefault(),e.stopImmediatePropagation(),this.delegate.formSubmitted(t,n))}},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)}}class j{constructor(e,t){this.resolveRenderPromise=e=>{},this.resolveInterceptionPromise=e=>{},this.delegate=e,this.element=t}scrollToAnchor(e){const t=this.snapshot.getElementForAnchor(e);t?(this.scrollToElement(t),this.focusElement(t)):this.scrollToPosition({x:0,y:0})}scrollToAnchorFromLocation(e){this.scrollToAnchor(p(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,newSnapshot:r}=e;if(n)try{this.renderPromise=new Promise((e=>this.resolveRenderPromise=e)),this.renderer=e,await this.prepareToRenderSnapshot(e);const n=new Promise((e=>this.resolveInterceptionPromise=e)),i={resume:this.resolveInterceptionPromise,render:this.renderer.renderElement};this.delegate.allowsImmediateRender(r,i)||await n,await this.renderSnapshot(e),this.delegate.viewRenderedSnapshot(r,t),this.delegate.preloadOnLoadLinksForView(this.element),this.finishRenderingSnapshot(e)}finally{delete this.renderer,this.resolveRenderPromise(void 0),delete this.renderPromise}else 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")}async renderSnapshot(e){await e.render()}finishRenderingSnapshot(e){e.finishRendering()}}class q extends j{missing(){this.element.innerHTML='<strong class="turbo-frame-error">Content missing</strong>'}get snapshot(){return new H(this.element)}}class z{constructor(e,t){this.clickBubbled=e=>{this.respondsToEventTarget(e.target)?this.clickEvent=e:delete this.clickEvent},this.linkClicked=e=>{this.clickEvent&&this.respondsToEventTarget(e.target)&&e.target instanceof Element&&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},this.willVisit=e=>{delete this.clickEvent},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)}respondsToEventTarget(e){const t=e instanceof Element?e:e instanceof Node?e.parentElement:null;return t&&t.closest("turbo-frame, html")==this.element}}class ${constructor(e,t){this.started=!1,this.clickCaptured=()=>{this.eventTarget.removeEventListener("click",this.clickBubbled,!1),this.eventTarget.addEventListener("click",this.clickBubbled,!1)},this.clickBubbled=e=>{if(e instanceof MouseEvent&&this.clickEventIsSignificant(e)){const t=e.composedPath&&e.composedPath()[0]||e.target,n=this.findLinkFromClickTarget(t);if(n&&function(e){if(e.hasAttribute("target")){for(const t of document.getElementsByName(e.target))if(t instanceof HTMLIFrameElement)return!1;return!0}return!0}(n)){const t=this.getLocationForLink(n);this.delegate.willFollowLinkToLocation(n,t,e)&&(e.preventDefault(),this.delegate.followedLinkToLocation(n,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)}clickEventIsSignificant(e){return!(e.target&&e.target.isContentEditable||e.defaultPrevented||e.which>1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}findLinkFromClickTarget(e){return O(e,"a[href]:not([target^=_]):not([download])")}getLocationForLink(e){return h(e.getAttribute("href")||"")}}class U{constructor(e,t){this.delegate=e,this.linkInterceptor=new $(this,t)}start(){this.linkInterceptor.start()}stop(){this.linkInterceptor.stop()}willFollowLinkToLocation(e,t,n){return this.delegate.willSubmitFormLinkToLocation(e,t,n)&&e.hasAttribute("data-turbo-method")}followedLinkToLocation(e,t){const n=document.createElement("form");for(const[e,r]of t.searchParams)n.append(Object.assign(document.createElement("input"),{type:"hidden",name:e,value:r}));const r=Object.assign(t,{search:""});n.setAttribute("data-turbo","true"),n.setAttribute("action",r.href),n.setAttribute("hidden","");const i=e.getAttribute("data-turbo-method");i&&n.setAttribute("method",i);const o=e.getAttribute("data-turbo-frame");o&&n.setAttribute("data-turbo-frame",o);const s=D(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 Z{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);null==t||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 K{constructor(e,t,n,r,i=!0){this.activeElement=null,this.currentSnapshot=e,this.newSnapshot=t,this.isPreview=r,this.willRender=i,this.renderElement=n,this.promise=new Promise(((e,t)=>this.resolvingFunctions={resolve:e,reject:t}))}get shouldRender(){return!0}get reloadReason(){}prepareToRender(){}finishRendering(){this.resolvingFunctions&&(this.resolvingFunctions.resolve(),delete this.resolvingFunctions)}async preservingPermanentElements(e){await Z.preservingPermanentElements(this,this.permanentElementMap,e)}focusFirstAutofocusableElement(){const e=this.connectedSnapshot.firstAutofocusableElement;(function(e){return e&&"function"==typeof e.focus})(e)&&e.focus()}enteringBardo(e){this.activeElement||e.contains(this.currentSnapshot.activeElement)&&(this.activeElement=this.currentSnapshot.activeElement)}leavingBardo(e){e.contains(this.activeElement)&&this.activeElement instanceof HTMLElement&&(this.activeElement.focus(),this.activeElement=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)}}class Y extends K{static renderElement(e,t){var n;const r=document.createRange();r.selectNodeContents(e),r.deleteContents();const i=t,o=null===(n=i.ownerDocument)||void 0===n?void 0:n.createRange();o&&(o.selectNodeContents(i),e.appendChild(o.extractContents()))}constructor(e,t,n,r,i,o=!0){super(t,n,r,i,o),this.delegate=e}get shouldRender(){return!0}async render(){await S(),this.preservingPermanentElements((()=>{this.loadFrameElement()})),this.scrollFrameIntoView(),await S(),this.focusFirstAutofocusableElement(),await S(),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 t=this.currentElement.firstElementChild,n=("end","end"==(e=this.currentElement.getAttribute("data-autoscroll-block"))||"start"==e||"center"==e||"nearest"==e?e:"end"),r=function(e,t){return"auto"==e||"smooth"==e?e:"auto"}(this.currentElement.getAttribute("data-autoscroll-behavior"));if(t)return t.scrollIntoView({block:n,behavior:r}),!0}var e;return!1}activateScriptElements(){for(const e of this.newScriptElements){const t=y(e);e.replaceWith(t)}}get newScriptElements(){return this.currentElement.querySelectorAll("script")}}class G{static get defaultCSS(){return k`
.turbo-progress-bar {
position: fixed;
display: block;
top: 0;
left: 0;
height: 3px;
background: #0076ff;
z-index: 2147483647;
transition:
width ${G.animationDuration}ms ease-out,
opacity ${G.animationDuration/2}ms ${G.animationDuration/2}ms ease-in;
transform: translate3d(0, 0, 0);
}
`}constructor(){this.hiding=!1,this.value=0,this.visible=!1,this.trickle=()=>{this.setValue(this.value+Math.random()/100)},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*G.animationDuration)}uninstallProgressElement(){this.progressElement.parentNode&&document.documentElement.removeChild(this.progressElement)}startTrickling(){this.trickleInterval||(this.trickleInterval=window.setInterval(this.trickle,G.animationDuration))}stopTrickling(){window.clearInterval(this.trickleInterval),delete this.trickleInterval}refresh(){requestAnimationFrame((()=>{this.progressElement.style.width=10+90*this.value+"%"}))}createStylesheetElement(){const e=document.createElement("style");return e.type="text/css",e.textContent=G.defaultCSS,this.cspNonce&&(e.nonce=this.cspNonce),e}createProgressElement(){const e=document.createElement("div");return e.className="turbo-progress-bar",e}get cspNonce(){return R("csp-nonce")}}G.animationDuration=300;class X extends H{constructor(){super(...arguments),this.detailsByOuterHTML=this.children.filter((e=>!function(e){return"noscript"==e.localName}(e))).map((e=>function(e){return e.hasAttribute("nonce")&&e.setAttribute("nonce",""),e}(e))).reduce(((e,t)=>{const{outerHTML:n}=t,r=n in e?e[n]:{type:Q(t),tracked:J(t),elements:[]};return Object.assign(Object.assign({},e),{[n]:Object.assign(Object.assign({},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:i}=this.detailsByOuterHTML[t];return null!=n||r?i.length>1?[...e,...i.slice(1)]:e:[...e,...i]}),[])}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){return"meta"==e.localName&&e.getAttribute("name")==t}(r,e)?r:t}),void 0)}}function Q(e){return function(e){return"script"==e.localName}(e)?"script":function(e){const t=e.localName;return"style"==t||"link"==t&&"stylesheet"==e.getAttribute("rel")}(e)?"stylesheet":void 0}function J(e){return"reload"==e.getAttribute("data-turbo-track")}class ee extends H{static fromHTMLString(e=""){return this.fromDocument(x(e))}static fromElement(e){return this.fromDocument(e.ownerDocument)}static fromDocument({head:e,body:t}){return new this(t,new X(e))}constructor(e,t){super(e),this.headSnapshot=t}clone(){const e=this.element.cloneNode(!0),t=this.element.querySelectorAll("select"),n=e.querySelectorAll("select");for(const[e,r]of t.entries()){const t=n[e];for(const e of t.selectedOptions)e.selected=!1;for(const e of r.selectedOptions)t.options[e.index].selected=!0}for(const t of e.querySelectorAll('input[type="password"]'))t.value="";return new ee(e,this.headSnapshot)}get headElement(){return this.headSnapshot.element}get rootLocation(){var e;return h(null!==(e=this.getSetting("root"))&&void 0!==e?e:"/")}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")}getSetting(e){return this.headSnapshot.getMetaValue(`turbo-${e}`)}}!function(e){e.visitStart="visitStart",e.requestStart="requestStart",e.requestEnd="requestEnd",e.visitEnd="visitEnd"}(c||(c={})),function(e){e.initialized="initialized",e.started="started",e.canceled="canceled",e.failed="failed",e.completed="completed"}(u||(u={}));const te={action:"advance",historyChanged:!1,visitCachedSnapshot:()=>{},willRender:!0,updateHistory:!0,shouldCacheSnapshot:!0,acceptsStreamResponse:!1};var ne,re;!function(e){e[e.networkFailure=0]="networkFailure",e[e.timeoutFailure=-1]="timeoutFailure",e[e.contentTypeMismatch=-2]="contentTypeMismatch"}(ne||(ne={}));class ie{constructor(e,t,n,r={}){this.identifier=E(),this.timingMetrics={},this.followedRedirect=!1,this.historyChanged=!1,this.scrolled=!1,this.shouldCacheSnapshot=!0,this.acceptsStreamResponse=!1,this.snapshotCached=!1,this.state=u.initialized,this.delegate=e,this.location=t,this.restorationIdentifier=n||E();const{action:i,historyChanged:o,referrer:s,snapshot:a,snapshotHTML:l,response:c,visitCachedSnapshot:d,willRender:h,updateHistory:p,shouldCacheSnapshot:f,acceptsStreamResponse:m}=Object.assign(Object.assign({},te),r);this.action=i,this.historyChanged=o,this.referrer=s,this.snapshot=a,this.snapshotHTML=l,this.response=c,this.isSamePage=this.delegate.locationWithActionIsSamePage(this.location,this.action),this.visitCachedSnapshot=d,this.willRender=h,this.updateHistory=p,this.scrolled=!h,this.shouldCacheSnapshot=f,this.acceptsStreamResponse=m}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)}get silent(){return this.isSamePage}start(){this.state==u.initialized&&(this.recordTimingMetric(c.visitStart),this.state=u.started,this.adapter.visitStarted(this),this.delegate.visitStarted(this))}cancel(){this.state==u.started&&(this.request&&this.request.cancel(),this.cancelRender(),this.state=u.canceled)}complete(){this.state==u.started&&(this.recordTimingMetric(c.visitEnd),this.state=u.completed,this.followRedirect(),this.followedRedirect||(this.adapter.visitCompleted(this),this.delegate.visitCompleted(this)))}fail(){this.state==u.started&&(this.state=u.failed,this.adapter.visitFailed(this))}changeHistory(){var e;if(!this.historyChanged&&this.updateHistory){const t=L(this.location.href===(null===(e=this.referrer)||void 0===e?void 0:e.href)?"replace":this.action);this.history.update(t,this.location,this.restorationIdentifier),this.historyChanged=!0}}issueRequest(){this.hasPreloadedResponse()?this.simulateRequest():this.shouldIssueRequest()&&!this.request&&(this.request=new M(this,s.get,this.location),this.request.perform())}simulateRequest(){this.response&&(this.startRequest(),this.recordResponse(),this.finishRequest())}startRequest(){this.recordTimingMetric(c.requestStart),this.adapter.visitRequestStarted(this)}recordResponse(e=this.response){if(this.response=e,e){const{statusCode:t}=e;oe(t)?this.adapter.visitRequestCompleted(this):this.adapter.visitRequestFailedWithStatusCode(this,t)}}finishRequest(){this.recordTimingMetric(c.requestEnd),this.adapter.visitRequestFinished(this)}loadResponse(){if(this.response){const{statusCode:e,responseHTML:t}=this.response;this.render((async()=>{this.shouldCacheSnapshot&&this.cacheSnapshot(),this.view.renderPromise&&await this.view.renderPromise,oe(e)&&null!=t?(await this.view.renderPage(ee.fromHTMLString(t),!1,this.willRender,this),this.performScroll(),this.adapter.visitRendered(this),this.complete()):(await this.view.renderError(ee.fromHTMLString(t),this),this.adapter.visitRendered(this),this.fail())}))}}getCachedSnapshot(){const e=this.view.getCachedSnapshotForLocation(this.location)||this.getPreloadedSnapshot();if(e&&(!p(this.location)||e.hasAnchor(p(this.location)))&&("restore"==this.action||e.isPreviewable))return e}getPreloadedSnapshot(){if(this.snapshotHTML)return ee.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.isSamePage?this.adapter.visitRendered(this):(this.view.renderPromise&&await this.view.renderPromise,await this.view.renderPage(e,t,this.willRender,this),this.performScroll(),this.adapter.visitRendered(this),t||this.complete())}))}}followRedirect(){var e;this.redirectedToLocation&&!this.followedRedirect&&(null===(e=this.response)||void 0===e?void 0:e.redirected)&&(this.adapter.visitProposedToLocation(this.redirectedToLocation,{action:"replace",response:this.response,shouldCacheSnapshot:!1,willRender:!1}),this.followedRedirect=!0)}goToSamePageAnchor(){this.isSamePage&&this.render((async()=>{this.cacheSnapshot(),this.performScroll(),this.changeHistory(),this.adapter.visitRendered(this)}))}prepareRequest(e){this.acceptsStreamResponse&&e.acceptResponseType(F.contentType)}requestStarted(){this.startRequest()}requestPreventedHandlingResponse(e,t){}async requestSucceededWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:i}=t;null==n?this.recordResponse({statusCode:ne.contentTypeMismatch,redirected:r}):(this.redirectedToLocation=t.redirected?t.location:void 0,this.recordResponse({statusCode:i,responseHTML:n,redirected:r}))}async requestFailedWithResponse(e,t){const n=await t.responseHTML,{redirected:r,statusCode:i}=t;null==n?this.recordResponse({statusCode:ne.contentTypeMismatch,redirected:r}):this.recordResponse({statusCode:i,responseHTML:n,redirected:r})}requestErrored(e,t){this.recordResponse({statusCode:ne.networkFailure,redirected:!1})}requestFinished(){this.finishRequest()}performScroll(){this.scrolled||this.view.forceReloaded||("restore"==this.action?this.scrollToRestoredPosition()||this.scrollToAnchor()||this.view.scrollToTop():this.scrollToAnchor()||this.view.scrollToTop(),this.isSamePage&&this.delegate.visitScrolledToSamePageLocation(this.view.lastRenderedLocation,this.location),this.scrolled=!0)}scrollToRestoredPosition(){const{scrollPosition:e}=this.restorationData;if(e)return this.view.scrollToPosition(e),!0}scrollToAnchor(){const e=p(this.location);if(null!=e)return this.view.scrollToAnchor(e),!0}recordTimingMetric(e){this.timingMetrics[e]=(new Date).getTime()}getTimingMetrics(){return Object.assign({},this.timingMetrics)}getHistoryMethodForAction(e){switch(e){case"replace":return history.replaceState;case"advance":case"restore":return history.pushState}}hasPreloadedResponse(){return"object"==typeof this.response}shouldIssueRequest(){return!this.isSamePage&&("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=requestAnimationFrame((()=>e()))})),await e(),delete this.frame}cancelRender(){this.frame&&(cancelAnimationFrame(this.frame),delete this.frame)}}function oe(e){return e>=200&&e<300}class se{constructor(e){this.progressBar=new G,this.showProgressBar=()=>{this.progressBar.show()},this.session=e}visitProposedToLocation(e,t){this.navigator.startVisit(e,(null==t?void 0:t.restorationIdentifier)||E(),t)}visitStarted(e){this.location=e.location,e.loadCachedSnapshot(),e.issueRequest(),e.goToSamePageAnchor()}visitRequestStarted(e){this.progressBar.setValue(0),e.hasCachedSnapshot()||"restore"!=e.action?this.showVisitProgressBarAfterDelay():this.showProgressBar()}visitRequestCompleted(e){e.loadResponse()}visitRequestFailedWithStatusCode(e,t){switch(t){case ne.networkFailure:case ne.timeoutFailure:case ne.contentTypeMismatch:return this.reload({reason:"request_failed",context:{statusCode:t}});default:return e.loadResponse()}}visitRequestFinished(e){this.progressBar.setValue(1),this.hideVisitProgressBar()}visitCompleted(e){}pageInvalidated(e){this.reload(e)}visitFailed(e){}visitRendered(e){}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)}reload(e){var t;w("turbo:reload",{detail:e}),window.location.href=(null===(t=this.location)||void 0===t?void 0:t.toString())||window.location.href}get navigator(){return this.session.navigator}}class ae{constructor(){this.selector="[data-turbo-temporary]",this.deprecatedSelector="[data-turbo-cache=false]",this.started=!1,this.removeTemporaryElements=e=>{for(const e of this.temporaryElements)e.remove()}}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))}get temporaryElements(){return[...document.querySelectorAll(this.selector),...this.temporaryElementsWithDeprecation]}get temporaryElementsWithDeprecation(){const e=document.querySelectorAll(this.deprecatedSelector);return e.length&&console.warn(`The ${this.deprecatedSelector} selector is deprecated and will be removed in a future version. Use ${this.selector} instead.`),[...e]}}class le{constructor(e,t){this.session=e,this.element=t,this.linkInterceptor=new z(this,t),this.formSubmitObserver=new V(this,t)}start(){this.linkInterceptor.start(),this.formSubmitObserver.start()}stop(){this.linkInterceptor.stop(),this.formSubmitObserver.stop()}shouldInterceptLinkClick(e,t,n){return this.shouldRedirect(e)}linkClickIntercepted(e,t,n){const r=this.findFrameElement(e);r&&r.delegate.linkClickIntercepted(e,t,n)}willSubmitForm(e,t){return null==e.closest("turbo-frame")&&this.shouldSubmit(e,t)&&this.shouldRedirect(e,t)}formSubmitted(e,t){const n=this.findFrameElement(e,t);n&&n.delegate.formSubmitted(e,t)}shouldSubmit(e,t){var n;const r=f(e,t),i=this.element.ownerDocument.querySelector('meta[name="turbo-root"]'),o=h(null!==(n=null==i?void 0:i.content)&&void 0!==n?n:"/");return this.shouldRedirect(e,t)&&m(r,o)}shouldRedirect(e,t){if(e instanceof HTMLFormElement?this.session.submissionIsNavigatable(e,t):this.session.elementIsNavigatable(e)){const n=this.findFrameElement(e,t);return!!n&&n!=e.closest("turbo-frame")}return!1}findFrameElement(e,t){const n=(null==t?void 0: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 d)return e}}}class ce{constructor(e){this.restorationIdentifier=E(),this.restorationData={},this.started=!1,this.pageLoaded=!1,this.onPopState=e=>{if(this.shouldHandlePopState()){const{turbo:t}=e.state||{};if(t){this.location=new URL(window.location.href);const{restorationIdentifier:e}=t;this.restorationIdentifier=e,this.delegate.historyPoppedToLocationWithRestorationIdentifier(this.location,e)}}},this.onPageLoad=async e=>{await Promise.resolve(),this.pageLoaded=!0},this.delegate=e}start(){this.started||(addEventListener("popstate",this.onPopState,!1),addEventListener("load",this.onPageLoad,!1),this.started=!0,this.replace(new URL(window.location.href)))}stop(){this.started&&(removeEventListener("popstate",this.onPopState,!1),removeEventListener("load",this.onPageLoad,!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=E()){const r={turbo:{restorationIdentifier:n}};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]=Object.assign(Object.assign({},n),e)}assumeControlOfScrollRestoration(){var e;this.previousScrollRestoration||(this.previousScrollRestoration=null!==(e=history.scrollRestoration)&&void 0!==e?e:"auto",history.scrollRestoration="manual")}relinquishControlOfScrollRestoration(){this.previousScrollRestoration&&(history.scrollRestoration=this.previousScrollRestoration,delete this.previousScrollRestoration)}shouldHandlePopState(){return this.pageIsLoaded()}pageIsLoaded(){return this.pageLoaded||"complete"==document.readyState}}class ue{constructor(e){this.delegate=e}proposeVisit(e,t={}){this.delegate.allowsVisitingLocationWithAction(e,t.action)&&(m(e,this.view.snapshot.rootLocation)?this.delegate.visitProposedToLocation(e,t):window.location.href=e.toString())}startVisit(e,t,n={}){this.stop(),this.currentVisit=new ie(this,h(e),t,Object.assign({referrer:this.location},n)),this.currentVisit.start()}submitForm(e,t){this.stop(),this.formSubmission=new P(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 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:i,redirected:o}=t,s={action:this.getActionForFormSubmission(e),shouldCacheSnapshot:r,response:{statusCode:i,responseHTML:n,redirected:o}};this.proposeVisit(t.location,s)}}}async formSubmissionFailedWithResponse(e,t){const n=await t.responseHTML;if(n){const e=ee.fromHTMLString(n);t.serverError?await this.view.renderError(e,this.currentVisit):await this.view.renderPage(e,!1,!0,this.currentVisit),this.view.scrollToTop(),this.view.clearSnapshotCache()}}formSubmissionErrored(e,t){console.error(t)}formSubmissionFinished(e){"function"==typeof this.adapter.formSubmissionFinished&&this.adapter.formSubmissionFinished(e)}visitStarted(e){this.delegate.visitStarted(e)}visitCompleted(e){this.delegate.visitCompleted(e)}locationWithActionIsSamePage(e,t){const n=p(e),r=p(this.view.lastRenderedLocation),i="restore"===t&&void 0===n;return"replace"!==t&&v(e)===v(this.view.lastRenderedLocation)&&(i||null!=n&&n!==r)}visitScrolledToSamePageLocation(e,t){this.delegate.visitScrolledToSamePageLocation(e,t)}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}getActionForFormSubmission({submitter:e,formElement:t}){return D(e,t)||"advance"}}!function(e){e[e.initial=0]="initial",e[e.loading=1]="loading",e[e.interactive=2]="interactive",e[e.complete=3]="complete"}(re||(re={}));class de{constructor(e){this.stage=re.initial,this.started=!1,this.interpretReadyState=()=>{const{readyState:e}=this;"interactive"==e?this.pageIsInteractive():"complete"==e&&this.pageIsComplete()},this.pageWillUnload=()=>{this.delegate.pageWillUnload()},this.delegate=e}start(){this.started||(this.stage==re.initial&&(this.stage=re.loading),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)}pageIsInteractive(){this.stage==re.loading&&(this.stage=re.interactive,this.delegate.pageBecameInteractive())}pageIsComplete(){this.pageIsInteractive(),this.stage==re.interactive&&(this.stage=re.complete,this.delegate.pageLoaded())}get readyState(){return document.readyState}}class he{constructor(e){this.started=!1,this.onScroll=()=>{this.updatePosition({x:window.pageXOffset,y:window.pageYOffset})},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)}updatePosition(e){this.delegate.scrollPositionChanged(e)}}class pe{render({fragment:e}){Z.preservingPermanentElements(this,function(e){const t=B(document.documentElement),n={};for(const r of t){const{id:t}=r;for(const i of e.querySelectorAll("turbo-stream")){const e=W(i.templateElement.content,t);e&&(n[t]=[r,e])}}return n}(e),(()=>document.documentElement.appendChild(e)))}enteringBardo(e,t){t.replaceWith(e.cloneNode(!0))}leavingBardo(){}}class fe{constructor(e){this.sources=new Set,this.started=!1,this.inspectFetchResponse=e=>{const t=function(e){var t;const n=null===(t=e.detail)||void 0===t?void 0:t.fetchResponse;if(n instanceof b)return n}(e);t&&function(e){var t;return(null!==(t=e.contentType)&&void 0!==t?t:"").startsWith(F.contentType)}(t)&&(e.preventDefault(),this.receiveMessageResponse(t))},this.receiveMessageEvent=e=>{this.started&&"string"==typeof e.data&&this.receiveMessageHTML(e.data)},this.delegate=e}start(){this.started||(this.started=!0,addEventListener("turbo:before-fetch-response",this.inspectFetchResponse,!1))}stop(){this.started&&(this.started=!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)}async receiveMessageResponse(e){const t=await e.responseHTML;t&&this.receiveMessageHTML(t)}receiveMessageHTML(e){this.delegate.receivedMessageFromStream(F.wrap(e))}}class me extends K{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=y(e);t.replaceChild(n,e)}}}get newHead(){return this.newSnapshot.headSnapshot.element}get scriptElements(){return document.documentElement.querySelectorAll("script")}}class ve extends K{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(){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}async mergeHead(){const e=this.mergeProvisionalElements(),t=this.copyNewHeadStylesheetElements();this.copyNewHeadScriptElements(),await e,await t}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(A(t)),document.head.appendChild(t);await Promise.all(e)}copyNewHeadScriptElements(){for(const e of this.newHeadScriptElements)document.head.appendChild(y(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.activateNewBodyScriptElements()}activateNewBodyScriptElements(){for(const e of this.newBodyScriptElements){const t=y(e);e.replaceWith(t)}}async assignNewBody(){await this.renderElement(this.currentElement,this.newElement)}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 ge{constructor(e){this.keys=[],this.snapshots={},this.size=e}has(e){return g(e)in this.snapshots}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(){this.snapshots={}}read(e){return this.snapshots[g(e)]}write(e,t){this.snapshots[g(e)]=t}touch(e){const t=g(e),n=this.keys.indexOf(t);n>-1&&this.keys.splice(n,1),this.keys.unshift(t),this.trim()}trim(){for(const e of this.keys.splice(this.size))delete this.snapshots[e]}}class be extends j{constructor(){super(...arguments),this.snapshotCache=new ge(10),this.lastRenderedLocation=new URL(location.href),this.forceReloaded=!1}renderPage(e,t=!1,n=!0,r){const i=new ve(this.snapshot,e,ve.renderElement,t,n);return i.shouldRender?null==r||r.changeHistory():this.forceReloaded=!0,this.render(i)}renderError(e,t){null==t||t.changeHistory();const n=new me(this.snapshot,e,me.renderElement,!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 new Promise((e=>setTimeout((()=>e()),0)));const n=e.clone();return this.snapshotCache.put(t,n),n}}getCachedSnapshotForLocation(e){return this.snapshotCache.get(e)}get snapshot(){return ee.fromElement(this.element)}}class ye{constructor(e){this.selector="a[data-turbo-preload]",this.delegate=e}get snapshotCache(){return this.delegate.navigator.view.snapshotCache}start(){if("loading"===document.readyState)return document.addEventListener("DOMContentLoaded",(()=>{this.preloadOnLoadLinksForView(document.body)}));this.preloadOnLoadLinksForView(document.body)}preloadOnLoadLinksForView(e){for(const t of e.querySelectorAll(this.selector))this.preloadURL(t)}async preloadURL(e){const t=new URL(e.href);if(!this.snapshotCache.has(t))try{const e=await fetch(t.toString(),{headers:{"VND.PREFETCH":"true",Accept:"text/html"}}),n=await e.text(),r=ee.fromHTMLString(n);this.snapshotCache.put(t,r)}catch(e){}}}function we(e){Object.defineProperties(e,Se)}const Se={absoluteURL:{get(){return this.toString()}}},xe={after(){this.targetElements.forEach((e=>{var t;return null===(t=e.parentElement)||void 0===t?void 0:t.insertBefore(this.templateContent,e.nextSibling)}))},append(){this.removeDuplicateTargetChildren(),this.targetElements.forEach((e=>e.append(this.templateContent)))},before(){this.targetElements.forEach((e=>{var t;return null===(t=e.parentElement)||void 0===t?void 0:t.insertBefore(this.templateContent,e)}))},prepend(){this.removeDuplicateTargetChildren(),this.targetElements.forEach((e=>e.prepend(this.templateContent)))},remove(){this.targetElements.forEach((e=>e.remove()))},replace(){this.targetElements.forEach((e=>e.replaceWith(this.templateContent)))},update(){this.targetElements.forEach((e=>{e.innerHTML="",e.append(this.templateContent)}))}},ke=new class{constructor(){this.navigator=new ue(this),this.history=new ce(this),this.preloader=new ye(this),this.view=new be(this,document.documentElement),this.adapter=new se(this),this.pageObserver=new de(this),this.cacheObserver=new ae,this.linkClickObserver=new $(this,window),this.formSubmitObserver=new V(this,document),this.scrollObserver=new he(this),this.streamObserver=new fe(this),this.formLinkClickObserver=new U(this,document.documentElement),this.frameRedirector=new le(this,document.documentElement),this.streamMessageRenderer=new pe,this.drive=!0,this.enabled=!0,this.progressBarDelay=500,this.started=!1,this.formMode="on"}start(){this.started||(this.pageObserver.start(),this.cacheObserver.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.formLinkClickObserver.stop(),this.linkClickObserver.stop(),this.formSubmitObserver.stop(),this.scrollObserver.stop(),this.streamObserver.stop(),this.frameRedirector.stop(),this.history.stop(),this.started=!1)}registerAdapter(e){this.adapter=e}visit(e,t={}){const n=t.frame?document.getElementById(t.frame):null;n instanceof d?(n.src=e.toString(),n.loaded):this.navigator.proposeVisit(h(e),t)}connectStreamSource(e){this.streamObserver.connectStreamSource(e)}disconnectStreamSource(e){this.streamObserver.disconnectStreamSource(e)}renderStreamMessage(e){this.streamMessageRenderer.render(F.wrap(e))}clearCache(){this.view.clearSnapshotCache()}setProgressBarDelay(e){this.progressBarDelay=e}setFormMode(e){this.formMode=e}get location(){return this.history.location}get restorationIdentifier(){return this.history.restorationIdentifier}historyPoppedToLocationWithRestorationIdentifier(e,t){this.enabled?this.navigator.startVisit(e,t,{action:"restore",historyChanged:!0}):this.adapter.pageInvalidated({reason:"turbo_disabled"})}scrollPositionChanged(e){this.history.updateRestorationData({scrollPosition:e})}willSubmitFormLinkToLocation(e,t){return this.elementIsNavigatable(e)&&m(t,this.snapshot.rootLocation)}submittedFormLinkToLocation(){}willFollowLinkToLocation(e,t,n){return this.elementIsNavigatable(e)&&m(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.locationWithActionIsSamePage(e,t)||this.applicationAllowsVisitingLocation(e)}visitProposedToLocation(e,t){we(e),this.adapter.visitProposedToLocation(e,t)}visitStarted(e){e.acceptsStreamResponse||C(document.documentElement),we(e.location),e.silent||this.notifyApplicationAfterVisitingLocation(e.location,e.action)}visitCompleted(e){T(document.documentElement),this.notifyApplicationAfterPageLoad(e.getTimingMetrics())}locationWithActionIsSamePage(e,t){return this.navigator.locationWithActionIsSamePage(e,t)}visitScrolledToSamePageLocation(e,t){this.notifyApplicationAfterVisitingSamePageLocation(e,t)}willSubmitForm(e,t){const n=f(e,t);return this.submissionIsNavigatable(e,t)&&m(h(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(){var e;(null===(e=this.navigator.currentVisit)||void 0===e?void 0:e.silent)||this.notifyApplicationBeforeCachingSnapshot()}allowsImmediateRender({element:e},t){const n=this.notifyApplicationBeforeRender(e,t),{defaultPrevented:r,detail:{render:i}}=n;return this.view.renderer&&i&&(this.view.renderer.renderElement=i),!r}viewRenderedSnapshot(e,t){this.view.lastRenderedLocation=this.history.location,this.notifyApplicationAfterRender()}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 w("turbo:click",{target:e,detail:{url:t.href,originalEvent:n},cancelable:!0})}notifyApplicationBeforeVisitingLocation(e){return w("turbo:before-visit",{detail:{url:e.href},cancelable:!0})}notifyApplicationAfterVisitingLocation(e,t){return w("turbo:visit",{detail:{url:e.href,action:t}})}notifyApplicationBeforeCachingSnapshot(){return w("turbo:before-cache")}notifyApplicationBeforeRender(e,t){return w("turbo:before-render",{detail:Object.assign({newBody:e},t),cancelable:!0})}notifyApplicationAfterRender(){return w("turbo:render")}notifyApplicationAfterPageLoad(e={}){return w("turbo:load",{detail:{url:this.location.href,timing:e}})}notifyApplicationAfterVisitingSamePageLocation(e,t){dispatchEvent(new HashChangeEvent("hashchange",{oldURL:e.toString(),newURL:t.toString()}))}notifyApplicationAfterFrameLoad(e){return w("turbo:frame-load",{target:e})}notifyApplicationAfterFrameRender(e,t){return w("turbo:frame-render",{detail:{fetchResponse:e},target:t,cancelable:!0})}submissionIsNavigatable(e,t){if("off"==this.formMode)return!1;{const n=!t||this.elementIsNavigatable(t);return"optin"==this.formMode?n&&null!=e.closest('[data-turbo="true"]'):n&&this.elementIsNavigatable(e)}}elementIsNavigatable(e){const t=O(e,"[data-turbo]"),n=O(e,"turbo-frame");return this.drive||n?!t||"false"!=t.getAttribute("data-turbo"):!!t&&"true"==t.getAttribute("data-turbo")}getActionForLink(e){return D(e)||"advance"}get snapshot(){return this.view.snapshot}},Ee=new class{constructor(e){this.session=e}clear(){this.session.clearCache()}resetCacheControl(){this.setCacheControl("")}exemptPageFromCache(){this.setCacheControl("no-cache")}exemptPageFromPreview(){this.setCacheControl("no-preview")}setCacheControl(e){!function(e,t){let n=I(e);n||(n=document.createElement("meta"),n.setAttribute("name",e),document.head.appendChild(n)),n.setAttribute("content",t)}("turbo-cache-control",e)}}(ke),{navigator:_e}=ke;function Ce(){ke.start()}function Te(e,t){ke.visit(e,t)}function Ae(e){ke.connectStreamSource(e)}function Le(e){ke.disconnectStreamSource(e)}var De=Object.freeze({__proto__:null,navigator:_e,session:ke,cache:Ee,PageRenderer:ve,PageSnapshot:ee,FrameRenderer:Y,start:Ce,registerAdapter:function(e){ke.registerAdapter(e)},visit:Te,connectStreamSource:Ae,disconnectStreamSource:Le,renderStreamMessage:function(e){ke.renderStreamMessage(e)},clearCache:function(){console.warn("Please replace `Turbo.clearCache()` with `Turbo.cache.clear()`. The top-level function is deprecated and will be removed in a future version of Turbo.`"),ke.clearCache()},setProgressBarDelay:function(e){ke.setProgressBarDelay(e)},setConfirmMethod:function(e){P.confirmMethod=e},setFormMode:function(e){ke.setFormMode(e)},StreamActions:xe});class Ie extends Error{}function Re(e){if(null!=e){const t=document.getElementById(e);if(t instanceof d)return t}}function Oe(e,t){if(e){const r=e.getAttribute("src");if(null!=r&&null!=t&&(n=t,h(r).href==h(n).href))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 d)return e.connectedCallback(),e.disconnectedCallback(),e}var n}class Me 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(){var e;return null!==(e=this.renderPromise)&&void 0!==e?e:this.renderPromise=(async()=>{const e=this.beforeRenderEvent;this.dispatchEvent(e)&&(await S(),await e.detail.render(this))})()}disconnect(){try{this.remove()}catch(e){}}removeDuplicateTargetChildren(){this.duplicateChildren.forEach((e=>e.remove()))}get duplicateChildren(){var e;const t=this.targetElements.flatMap((e=>[...e.children])).filter((e=>!!e.id)),n=[...(null===(e=this.templateContent)||void 0===e?void 0:e.children)||[]].filter((e=>!!e.id)).map((e=>e.id));return t.filter((e=>n.includes(e.id)))}get performAction(){if(this.action){const e=xe[this.action];if(e)return e;this.raise("unknown action")}this.raise("action attribute is missing")}get targetElements(){return this.target?this.targetElementsById:this.targets?this.targetElementsByQuery:void this.raise("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.raise("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")}raise(e){throw new Error(`${this.description}: ${e}`)}get description(){var e,t;return null!==(t=(null!==(e=this.outerHTML.match(/<[^>]+>/))&&void 0!==e?e:[])[0])&&void 0!==t?t:"<turbo-stream>"}get beforeRenderEvent(){return new CustomEvent("turbo:before-stream-render",{bubbles:!0,cancelable:!0,detail:{newStream:this,render:Me.renderElement}})}get targetElementsById(){var e;const t=null===(e=this.ownerDocument)||void 0===e?void 0:e.getElementById(this.target);return null!==t?[t]:[]}get targetElementsByQuery(){var e;const t=null===(e=this.ownerDocument)||void 0===e?void 0:e.querySelectorAll(this.targets);return 0!==t.length?Array.prototype.slice.call(t):[]}}class Ne extends HTMLElement{constructor(){super(...arguments),this.streamSource=null}connectedCallback(){this.streamSource=this.src.match(/^ws{1,2}:/)?new WebSocket(this.src):new EventSource(this.src),Ae(this.streamSource)}disconnectedCallback(){this.streamSource&&Le(this.streamSource)}get src(){return this.getAttribute("src")||""}}d.delegateConstructor=class{constructor(e){this.fetchResponseLoaded=e=>{},this.currentFetchRequest=null,this.resolveVisitPromise=()=>{},this.connected=!1,this.hasBeenLoaded=!1,this.ignoredAttributes=new Set,this.action=null,this.visitCachedSnapshot=({element:e})=>{const t=e.querySelector("#"+this.element.id);t&&this.previousFrameElement&&t.replaceChildren(...this.previousFrameElement.children),delete this.previousFrameElement},this.element=e,this.view=new q(this,this.element),this.appearanceObserver=new N(this,this.element),this.formLinkClickObserver=new U(this,this.element),this.linkInterceptor=new z(this,this.element),this.restorationIdentifier=E(),this.formSubmitObserver=new V(this,this.element)}connect(){this.connected||(this.connected=!0,this.loadingStyle==o.lazy?this.appearanceObserver.start():this.loadSourceURL(),this.formLinkClickObserver.start(),this.linkInterceptor.start(),this.formSubmitObserver.start())}disconnect(){this.connected&&(this.connected=!1,this.appearanceObserver.stop(),this.formLinkClickObserver.stop(),this.linkInterceptor.stop(),this.formSubmitObserver.stop())}disabledChanged(){this.loadingStyle==o.eager&&this.loadSourceURL()}sourceURLChanged(){this.isIgnoringChangesTo("src")||(this.element.isConnected&&(this.complete=!1),(this.loadingStyle==o.eager||this.hasBeenLoaded)&&this.loadSourceURL())}sourceURLReloaded(){const{src:e}=this.element;return this.ignoringChangesToAttribute("complete",(()=>{this.element.removeAttribute("complete")})),this.element.src=null,this.element.src=e,this.element.loaded}completeChanged(){this.isIgnoringChangesTo("complete")||this.loadSourceURL()}loadingStyleChanged(){this.loadingStyle==o.lazy?this.appearanceObserver.start():(this.appearanceObserver.stop(),this.loadSourceURL())}async loadSourceURL(){this.enabled&&this.isActive&&!this.complete&&this.sourceURL&&(this.element.loaded=this.visit(h(this.sourceURL)),this.appearanceObserver.stop(),await this.element.loaded,this.hasBeenLoaded=!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=x(t);ee.fromDocument(n).isVisitable?await this.loadFrameResponse(e,n):await this.handleUnvisitableFrameResponse(e)}}finally{this.fetchResponseLoaded=()=>{}}}elementAppearedInViewport(e){this.proposeVisitIfNavigatedWithAction(e,e),this.loadSourceURL()}willSubmitFormLinkToLocation(e){return this.shouldInterceptNavigation(e)}submittedFormLinkToLocation(e,t,n){const r=this.findFrameElement(e);r&&n.setAttribute("data-turbo-frame",r.id)}shouldInterceptLinkClick(e,t,n){return this.shouldInterceptNavigation(e)}linkClickIntercepted(e,t){this.navigateFrame(e,t)}willSubmitForm(e,t){return e.closest("turbo-frame")==this.element&&this.shouldInterceptNavigation(e,t)}formSubmitted(e,t){this.formSubmission&&this.formSubmission.stop(),this.formSubmission=new P(this,e,t);const{fetchRequest:n}=this.formSubmission;this.prepareRequest(n),this.formSubmission.start()}prepareRequest(e){var t;e.headers["Turbo-Frame"]=this.id,(null===(t=this.currentNavigationElement)||void 0===t?void 0:t.hasAttribute("data-turbo-stream"))&&e.acceptResponseType(F.contentType)}requestStarted(e){C(this.element)}requestPreventedHandlingResponse(e,t){this.resolveVisitPromise()}async requestSucceededWithResponse(e,t){await this.loadResponse(t),this.resolveVisitPromise()}async requestFailedWithResponse(e,t){await this.loadResponse(t),this.resolveVisitPromise()}requestErrored(e,t){console.error(t),this.resolveVisitPromise()}requestFinished(e){T(this.element)}formSubmissionStarted({formElement:e}){C(e,this.findFrameElement(e))}formSubmissionSucceededWithResponse(e,t){const n=this.findFrameElement(e.formElement,e.submitter);n.delegate.proposeVisitIfNavigatedWithAction(n,e.formElement,e.submitter),n.delegate.loadResponse(t),e.isSafe||ke.clearCache()}formSubmissionFailedWithResponse(e,t){this.element.delegate.loadResponse(t),ke.clearCache()}formSubmissionErrored(e,t){console.error(t)}formSubmissionFinished({formElement:e}){T(e,this.findFrameElement(e))}allowsImmediateRender({element:e},t){const n=w("turbo:before-frame-render",{target:this.element,detail:Object.assign({newFrame:e},t),cancelable:!0}),{defaultPrevented:r,detail:{render:i}}=n;return this.view.renderer&&i&&(this.view.renderer.renderElement=i),!r}viewRenderedSnapshot(e,t){}preloadOnLoadLinksForView(e){ke.preloadOnLoadLinksForView(e)}viewInvalidated(){}willRenderFrame(e,t){this.previousFrameElement=e.cloneNode(!0)}async loadFrameResponse(e,t){const n=await this.extractForeignFrameElement(t.body);if(n){const t=new H(n),r=new Y(this,this.view.snapshot,t,Y.renderElement,!1,!1);this.view.renderPromise&&await this.view.renderPromise,this.changeHistory(),await this.view.render(r),this.complete=!0,ke.frameRendered(e,this.element),ke.frameLoaded(this.element),this.fetchResponseLoaded(e)}else this.willHandleFrameMissingFromResponse(e)&&this.handleFrameMissingFromResponse(e)}async visit(e){var t;const n=new M(this,s.get,e,new URLSearchParams,this.element);return null===(t=this.currentFetchRequest)||void 0===t||t.cancel(),this.currentFetchRequest=n,new Promise((e=>{this.resolveVisitPromise=()=>{this.resolveVisitPromise=()=>{},this.currentFetchRequest=null,e()},n.perform()}))}navigateFrame(e,t,n){const r=this.findFrameElement(e,n);r.delegate.proposeVisitIfNavigatedWithAction(r,e,n),this.withCurrentNavigationElement(e,(()=>{r.src=t}))}proposeVisitIfNavigatedWithAction(e,t,n){if(this.action=D(n,t,e),this.action){const t=ee.fromElement(e).clone(),{visitCachedSnapshot:n}=e.delegate;e.delegate.fetchResponseLoaded=r=>{if(e.src){const{statusCode:i,redirected:o}=r,s={response:{statusCode:i,redirected:o,responseHTML:e.ownerDocument.documentElement.outerHTML},visitCachedSnapshot:n,willRender:!1,updateHistory:!1,restorationIdentifier:this.restorationIdentifier,snapshot:t};this.action&&(s.action=this.action),ke.visit(e.src,s)}}}}changeHistory(){if(this.action){const e=L(this.action);ke.history.update(e,h(this.element.src||""),this.restorationIdentifier)}}async handleUnvisitableFrameResponse(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.visitResponse(e.response)}willHandleFrameMissingFromResponse(e){this.element.setAttribute("complete","");const t=e.response;return!w("turbo:frame-missing",{target:this.element,detail:{response:t,visit:async(e,t={})=>{e instanceof Response?this.visitResponse(e):ke.visit(e,t)}},cancelable:!0}).defaultPrevented}handleFrameMissingFromResponse(e){this.view.missing(),this.throwFrameMissingError(e)}throwFrameMissingError(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 Ie(t)}async visitResponse(e){const t=new b(e),n=await t.responseHTML,{location:r,redirected:i,statusCode:o}=t;return ke.visit(r,{response:{redirected:i,statusCode:o,responseHTML:n}})}findFrameElement(e,t){var n;return null!==(n=Re(_("data-turbo-frame",t,e)||this.element.getAttribute("target")))&&void 0!==n?n:this.element}async extractForeignFrameElement(e){let t;const n=CSS.escape(this.id);try{if(t=Oe(e.querySelector(`turbo-frame#${n}`),this.sourceURL),t)return t;if(t=Oe(e.querySelector(`turbo-frame[src][recurse~=${n}]`),this.sourceURL),t)return await t.loaded,await this.extractForeignFrameElement(t)}catch(e){return console.error(e),new d}return null}formActionIsVisitable(e,t){return m(h(f(e,t)),this.rootLocation)}shouldInterceptNavigation(e,t){const n=_("data-turbo-frame",t,e)||this.element.getAttribute("target");if(e instanceof HTMLFormElement&&!this.formActionIsVisitable(e,t))return!1;if(!this.enabled||"_top"==n)return!1;if(n){const e=Re(n);if(e)return!e.disabled}return!(!ke.elementIsNavigatable(e)||t&&!ke.elementIsNavigatable(t))}get id(){return this.element.id}get enabled(){return!this.element.disabled}get sourceURL(){if(this.element.src)return this.element.src}set sourceURL(e){this.ignoringChangesToAttribute("src",(()=>{this.element.src=null!=e?e:null}))}get loadingStyle(){return this.element.loading}get isLoading(){return void 0!==this.formSubmission||void 0!==this.resolveVisitPromise()}get complete(){return this.element.hasAttribute("complete")}set complete(e){this.ignoringChangesToAttribute("complete",(()=>{e?this.element.setAttribute("complete",""):this.element.removeAttribute("complete")}))}get isActive(){return this.element.isActive&&this.connected}get rootLocation(){var e;const t=this.element.ownerDocument.querySelector('meta[name="turbo-root"]');return h(null!==(e=null==t?void 0:t.content)&&void 0!==e?e:"/")}isIgnoringChangesTo(e){return this.ignoredAttributes.has(e)}ignoringChangesToAttribute(e,t){this.ignoredAttributes.add(e),t(),this.ignoredAttributes.delete(e)}withCurrentNavigationElement(e,t){this.currentNavigationElement=e,t(),delete this.currentNavigationElement}},void 0===customElements.get("turbo-frame")&&customElements.define("turbo-frame",d),void 0===customElements.get("turbo-stream")&&customElements.define("turbo-stream",Me),void 0===customElements.get("turbo-stream-source")&&customElements.define("turbo-stream-source",Ne),(()=>{let e=document.currentScript;if(e&&!e.hasAttribute("data-turbo-suppress-warning"))for(e=e.parentElement;e;){if(e==document.body)return console.warn(k`
You are loading Turbo from a <script> element inside the <body> element. This is probably not what you meant to do!
Load your applications JavaScript bundle inside the <head> element instead. <script> elements in <body> are evaluated with each page change.
For more information, see: https://turbo.hotwired.dev/handbook/building#working-with-script-elements
——
Suppress this warning by adding a "data-turbo-suppress-warning" attribute to: %s
`,e.outerHTML);e=e.parentElement}})(),window.Turbo=De,Ce()},8826:function(e){!function(t){"use strict";function n(e){return parseInt(e)===e}function r(e){if(!n(e.length))return!1;for(var t=0;t<e.length;t++)if(!n(e[t])||e[t]<0||e[t]>255)return!1;return!0}function i(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!r(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&r(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function o(e){return new Uint8Array(e)}function s(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var a,l={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n<e.length;){var r=e.charCodeAt(n++);37===r?(t.push(parseInt(e.substr(n,2),16)),n+=2):t.push(r)}return i(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("")}},c=(a="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(a[(240&r)>>4]+a[15&r])}return t.join("")}}),u={16:10,24:12,32:14},d=[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],h=[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],p=[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],m=[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],v=[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],g=[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],b=[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],y=[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],w=[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],S=[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],x=[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],E=[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],_=[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 T=function(e){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:i(e,!0)}),this._prepare()};T.prototype._prepare=function(){var e=u[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),i=this.key.length/4,o=C(this.key);for(t=0;t<i;t++)n=t>>2,this._Ke[n][t%4]=o[t],this._Kd[e-n][t%4]=o[t];for(var s,a=0,l=i;l<r;){if(s=o[i-1],o[0]^=h[s>>16&255]<<24^h[s>>8&255]<<16^h[255&s]<<8^h[s>>24&255]^d[a]<<24,a+=1,8!=i)for(t=1;t<i;t++)o[t]^=o[t-1];else{for(t=1;t<i/2;t++)o[t]^=o[t-1];for(s=o[i/2-1],o[i/2]^=h[255&s]^h[s>>8&255]<<8^h[s>>16&255]<<16^h[s>>24&255]<<24,t=i/2+1;t<i;t++)o[t]^=o[t-1]}for(t=0;t<i&&l<r;)c=l>>2,p=l%4,this._Ke[c][p]=o[t],this._Kd[e-c][p]=o[t++],l++}for(var c=1;c<e;c++)for(var p=0;p<4;p++)s=this._Kd[c][p],this._Kd[c][p]=x[s>>24&255]^k[s>>16&255]^E[s>>8&255]^_[255&s]},T.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]^m[r[(i+1)%4]>>16&255]^v[r[(i+2)%4]>>8&255]^g[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&(h[r[i]>>24&255]^a>>24),l[4*i+1]=255&(h[r[(i+1)%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+3)%4]]^a);return l},T.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]=b[r[i]>>24&255]^y[r[(i+3)%4]>>16&255]^w[r[(i+2)%4]>>8&255]^S[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&(p[r[i]>>24&255]^a>>24),l[4*i+1]=255&(p[r[(i+3)%4]>>16&255]^a>>16),l[4*i+2]=255&(p[r[(i+2)%4]>>8&255]^a>>8),l[4*i+3]=255&(p[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 T(e)};A.prototype.encrypt=function(e){if((e=i(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),r=0;r<e.length;r+=16)s(e,n,0,r,r+16),s(n=this._aes.encrypt(n),t,r);return t},A.prototype.decrypt=function(e){if((e=i(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),r=0;r<e.length;r+=16)s(e,n,0,r,r+16),s(n=this._aes.decrypt(n),t,r);return t};var L=function(e,t){if(!(this instanceof L))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=i(t,!0),this._aes=new T(e)};L.prototype.encrypt=function(e){if((e=i(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),r=0;r<e.length;r+=16){s(e,n,0,r,r+16);for(var a=0;a<16;a++)n[a]^=this._lastCipherblock[a];this._lastCipherblock=this._aes.encrypt(n),s(this._lastCipherblock,t,r)}return t},L.prototype.decrypt=function(e){if((e=i(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),r=0;r<e.length;r+=16){s(e,n,0,r,r+16),n=this._aes.decrypt(n);for(var a=0;a<16;a++)t[r+a]=n[a]^this._lastCipherblock[a];s(e,this._lastCipherblock,0,r,r+16)}return t};var D=function(e,t,n){if(!(this instanceof D))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=i(t,!0),this._aes=new T(e)};D.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,n=i(e,!0),r=0;r<n.length;r+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)n[r+o]^=t[o];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(n,this._shiftRegister,16-this.segmentSize,r,r+this.segmentSize)}return n},D.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,n=i(e,!0),r=0;r<n.length;r+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)n[r+o]^=t[o];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(e,this._shiftRegister,16-this.segmentSize,r,r+this.segmentSize)}return n};var I=function(e,t){if(!(this instanceof I))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=i(t,!0),this._lastPrecipherIndex=16,this._aes=new T(e)};I.prototype.encrypt=function(e){for(var t=i(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},I.prototype.decrypt=I.prototype.encrypt;var R=function(e){if(!(this instanceof R))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)};R.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)},R.prototype.setBytes=function(e){if(16!=(e=i(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},R.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var O=function(e,t){if(!(this instanceof O))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof R||(t=new R(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new T(e)};O.prototype.encrypt=function(e){for(var t=i(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},O.prototype.decrypt=O.prototype.encrypt;var M={AES:T,Counter:R,ModeOfOperation:{ecb:A,cbc:L,cfb:D,ofb:I,ctr:O},utils:{hex:c,utf8:l},padding:{pkcs7:{pad:function(e){var t=16-(e=i(e,!0)).length%16,n=o(e.length+t);s(e,n);for(var r=e.length;r<n.length;r++)n[r]=t;return n},strip:function(e){if((e=i(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,r=0;r<t;r++)if(e[n+r]!==t)throw new Error("PKCS#7 invalid padding byte");var a=o(n);return s(e,a,0,0,n),a}}},_arrayTest:{coerceArray:i,createArray:o,copyArray:s}};e.exports=M}()},1807:e=>{var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},2152:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return w}});var r=n(279),i=n.n(r),o=n(370),s=n.n(o),a=n(817),l=n.n(a);function c(e){try{return document.execCommand(e)}catch(e){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 p(e){return p="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},p(e)}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)}function m(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 v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var y=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&&v(e,t)}(l,e);var t,n,r,i,o,a=(i=l,o=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}}(),function(){var e,t=g(i);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==f(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,e)});function l(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=a.call(this)).resolveOptions(t),n.listenClick(e),n}return t=l,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"===f(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=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==p(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?h(o,{container:r}):i?"cut"===n?u(i):h(i,{container:r}):void 0}({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 b("action",e)}},{key:"defaultTarget",value:function(e){var t=b("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return b("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&&m(t.prototype,n),r&&m(t,r),l}(i()),w=y},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 i(e,t,n,r,i){var s=o.apply(this,arguments);return e.addEventListener(n,s,i),{destroy:function(){e.removeEventListener(n,s,i)}}}function o(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,o)})))}},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),i=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 i(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(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),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 i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,s=r.length;o<s;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.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()},9843:(e,t,n)=>{e.exports={ResizeSensor:n(6087),ElementQueries:n(6456)}},6456:function(e,t,n){"use strict";var r,i,o;"undefined"!=typeof window&&window,i=[n(6087)],void 0===(o="function"==typeof(r=function(e){var t=function(){var t,n={},r=[];function i(e){e||(e=document.documentElement);var t=window.getComputedStyle(e,null).fontSize;return parseFloat(t)||16}function o(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*i(e);case"rem":return t*i();case"vw":return t*document.documentElement.clientWidth/100;case"vh":return t*document.documentElement.clientHeight/100;case"vmin":case"vmax":var o=document.documentElement.clientWidth/100,s=document.documentElement.clientHeight/100;return t*(0,Math["vmin"===r?"min":"max"])(o,s)}}function s(e,t){var r,i,s,a,l,c,u,d;this.element=e;var h=["min-width","min-height","max-width","max-height"];this.call=function(){for(r in s=function(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)}}(this.element),c={},n[t])n[t].hasOwnProperty(r)&&(i=n[t][r],a=o(this.element,i.value),l="width"===i.property?s.width:s.height,d=i.mode+"-"+i.property,u="","min"===i.mode&&l>=a&&(u+=i.value),"max"===i.mode&&l<=a&&(u+=i.value),c[d]||(c[d]=""),u&&-1===(" "+c[d]+" ").indexOf(" "+u+" ")&&(c[d]+=" "+u));for(var e in h)h.hasOwnProperty(e)&&(c[h[e]]?this.element.setAttribute(h[e],c[h[e]].substr(1)):this.element.removeAttribute(h[e]))}}function a(t,n){t.elementQueriesSetupInformation||(t.elementQueriesSetupInformation=new s(t,n)),t.elementQueriesSensor||(t.elementQueriesSensor=new e(t,(function(){t.elementQueriesSetupInformation.call()})))}function l(e,i,o,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:i,property:o,value:s})}function c(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 u(t){var n=[],r=[],i=[],o=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");i.push(u);var d={minWidth:c};r.push(d),c?t.children[l].style.display="none":(o=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=o),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=i[l],n[s].style.display="none",n[l].style.display="block",a[l]=!0,s=l},c.src=i[l]}else n[l].src=i[l]}s=o,t.resizeSensorInstance=new e(t,h),h()}var d=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,h=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function p(e){var t,n,r,i;for(e=e.replace(/'/g,'"');null!==(t=d.exec(e));)for(n=t[1]+t[3],r=t[2];null!==(i=h.exec(r));)l(n,i[1],i[2],i[3])}function f(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&&-1===e.indexOf("max-width")||p(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")?p(t):-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")||p(t):4===e[n].type?f(e[n].cssRules||e[n].rules):3===e[n].type&&e[n].styleSheet.hasOwnProperty("cssRules")&&f(e[n].styleSheet.cssRules)}var m=!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,i=n&&window.getComputedStyle(n,null),o=i&&i.getPropertyValue("animation-name");if(o&&-1!==o.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","")),a(t.target,r[s])}})),m||((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),m=!0);for(var i=0,o=document.styleSheets.length;i<o;i++)try{document.styleSheets[i].href&&0===document.styleSheets[i].href.indexOf("file://")&&console.warn("CssElementQueries: unable to parse local css files, "+document.styleSheets[i].href),f(document.styleSheets[i].cssRules||document.styleSheets[i].rules||document.styleSheets[i].cssText)}catch(e){}!function(){for(var e=c()("[data-responsive-image],[responsive-image]"),t=0,n=e.length;t<n;t++)u(e[t])}()},this.findElementQueriesElements=function(e){!function(e){var t=c(e);for(var r in n)if(n.hasOwnProperty(r))for(var i=t(r,e),o=0,s=i.length;o<s;o++)a(i[o],r)}(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()};return t.findElementQueriesElements=function(e){t.instance.findElementQueriesElements(e)},t.listen=function(){!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}(t.init)},t})?r.apply(t,i):r)||(e.exports=o)},6087:function(e,t,n){"use strict";var r,i;"undefined"!=typeof window&&window,void 0===(i="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,i=0,o=e.length;if(r)for(;i<o;i++)t(e[i]);else t(e)}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 o(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 i=[];for(e=0,t=n.length;e<t;e++)n[e]!==r&&i.push(n[e]);n=i},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"};o(e.resizeSensor,r);var a=document.createElement("div");a.className="resize-sensor-expand",o(a,r);var u=document.createElement("div");o(u,s),a.appendChild(u);var d=document.createElement("div");d.className="resize-sensor-shrink",o(d,r);var h=document.createElement("div");o(h,s),o(h,{width:"200%",height:"200%"}),d.appendChild(h),e.resizeSensor.appendChild(a),e.resizeSensor.appendChild(d),e.appendChild(e.resizeSensor);var p=window.getComputedStyle(e),f=p?p.getPropertyValue("position"):null;"absolute"!==f&&"relative"!==f&&"fixed"!==f&&"sticky"!==f&&(e.style.position="relative");var m=!1,v=0,g=i(e),b=0,y=0,w=!0;l=0;var S=function(){if(w){if(0===e.offsetWidth&&0===e.offsetHeight)return void(l||(l=t((function(){l=0,S()}))));w=!1}var n,r;n=e.offsetWidth,r=e.offsetHeight,u.style.width=n+10+"px",u.style.height=r+10+"px",a.scrollLeft=n+10,a.scrollTop=r+10,d.scrollLeft=n+10,d.scrollTop=r+10};e.resizeSensor.resetSensor=S;var x=function(){v=0,m&&(b=g.width,y=g.height,e.resizedAttached&&e.resizedAttached.call(g))},k=function(){g=i(e),(m=g.width!==b||g.height!==y)&&!v&&(v=t(x)),S()},E=function(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n)};E(a,"scroll",k),E(d,"scroll",k),l=t((function(){l=0,S()}))}}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=i)},1296:(e,t,n)=>{var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^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,p=Math.min,f=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=o.test(e);return n||s.test(e)?a(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,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,o=i;return r=i=void 0,c=t,s=e.apply(o,n)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function w(){var e=f();if(y(e))return S(e);a=setTimeout(w,function(e){var n=t-(e-l);return d?p(n,o-(e-c)):n}(e))}function S(e){return a=void 0,g&&r?b(e):(r=i=void 0,s)}function x(){var e=f(),n=y(e);if(r=arguments,i=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,o=(d="maxWait"in n)?h(v(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=i=a=void 0},x.flush=function(){return void 0===a?s:S(f())},x}},327:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DocAnchorTarget:()=>l,DocAnchorTrigger:()=>m,DocBackToTop:()=>b,DocBadge:()=>w,DocCheckbox:()=>_,DocCodeblock:()=>Xe,DocCollapse:()=>Je,DocDrawer:()=>st,DocDropdown:()=>ut,DocEmoji:()=>pt,DocHistory:()=>At,DocIcon:()=>Rt,DocIconAlignRight:()=>Vo,DocIconArrowLeft:()=>zo,DocIconArrowRight:()=>Zo,DocIconArrowTop:()=>Go,DocIconBox:()=>Jo,DocIconButton:()=>Mt,DocIconCheck:()=>ns,DocIconCheckCircle:()=>is,DocIconChevronDown:()=>as,DocIconChevronRight:()=>us,DocIconCopy:()=>Ye,DocIconDeviceDesktop:()=>ps,DocIconFile:()=>vs,DocIconFilter:()=>ys,DocIconFolder:()=>xs,DocIconHistory:()=>Es,DocIconHome:()=>Ts,DocIconInfo:()=>Ls,DocIconLayers:()=>Is,DocIconLink:()=>Os,DocIconMenu:()=>Fs,DocIconMinus:()=>Ws,DocIconMoon:()=>Vs,DocIconMoreHorizontal:()=>qs,DocIconPlus:()=>Us,DocIconQuestion:()=>Ks,DocIconSearch:()=>Xs,DocIconShield:()=>ea,DocIconSun:()=>ra,DocIconX:()=>sa,DocLoadingSpinner:()=>Ft,DocMember:()=>En,DocMemberGroup:()=>Ln,DocOverloadGroup:()=>In,DocPanel:()=>Nn,DocPanels:()=>Fn,DocParameter:()=>Un,DocParameters:()=>Gn,DocSearchDesktop:()=>mr,DocSearchMobile:()=>wr,DocSidebar:()=>ui,DocSidebarRight:()=>Oi,DocSwitch:()=>Hi,DocTab:()=>Wi,DocTabs:()=>Vi,DocThemeSwitch:()=>Zi,DocToolbar:()=>No,DocToolbarMemberFilterNoResults:()=>Ho});var r=n(5166),i=["id"],o=n(9586);const s=(0,r.aZ)({name:"DocAnchorTarget",props:{id:{type:String,required:!0}},setup:function(e){var t=(0,o.m)().handleAnchorNavigation,n=(0,r.iH)("#".concat(e.id));(0,r.bv)((function(){if(window.location.hash){var e=decodeURIComponent(window.location.hash);e.toLowerCase()===n.value.toLowerCase()&&t(e,{isPageLoad:!0})}}))}});var a=n(3744);const l=(0,a.Z)(s,[["render",function(e,t,n,o,s,a){return(0,r.wg)(),(0,r.iD)("div",{id:e.id},[(0,r.WI)(e.$slots,"default")],8,i)}]]);var c=["href","tabindex","aria-disabled"],u=n(5184),d=n(5543),h=n(3095),p=n(6184);const f=(0,r.aZ)({name:"DocAnchorTrigger",props:{disabled:Boolean,to:{type:String,required:!0}},emits:["click"],setup:function(e,t){var n=t.emit,i=(0,h.oR)().store,o=(0,u.B)().scrollTo;return{onClick:function(t){(0,d.pI)(t)||(t.preventDefault(),(0,p.Vn)(e.to),n("click"),o(e.to,{offset:(0,d.vE)(),onStart:function(){var t="#"===e.to.charAt(0)?e.to.substr(1):e.to;i.actions.updateScrolledElementId(t)}}))},tabindex:(0,r.Fl)((function(){return e.disabled?"-1":null}))}}}),m=(0,a.Z)(f,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("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.WI)(e.$slots,"default")],8,c)}]]);var v=n(7023);const g=(0,r.aZ)({name:"DocBackToTop",setup:function(){var e=(0,r.iH)(!1),t=(0,u.B)().scrollTo;return(0,v.zX)(window,"scroll",(function(){document.documentElement.scrollTop>350?e.value=!0:e.value=!1})),{onClick:function(){t("body")},show:e}}}),b=(0,a.Z)(g,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-arrow-top"),l=(0,r.up)("doc-icon");return(0,r.wg)(),(0,r.j4)(r.uT,{"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.w5)((function(){return[e.show?((0,r.wg)(),(0,r.iD)("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 bg-opacity-70 hover:bg-gray-200 dark:bg-dark-850 dark:hover:bg-dark-450 z-40 focus:outline-none transition duration-300 linear border border-gray-400 border-opacity-50 hover:border-opacity-10 dark:border-dark-450 dark:bg-opacity-70",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.Wm)(l,{class:"w-7 h-7 text-base-500"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1})])):(0,r.kq)("",!0)]})),_:1})}]]),y=(0,r.aZ)({name:"DocBadge",props:{type:{type:String,default:""}},setup:function(e){var t=(0,r.Fl)((function(){return e.type.trim()}));return{badgeClasses:(0,r.Fl)((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"}}))}}}),w=(0,a.Z)(y,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("span",{class:(0,r.C_)(["inline-flex items-center justify-center h-6 px-2 text-xs font-medium leading-none whitespace-nowrap rounded",e.badgeClasses])},[(0,r.WI)(e.$slots,"default")],2)}]]);var S={class:"inline-flex py-1.5 cursor-pointer select-none"},x=["value"],k={class:"inline-block ml-2"};const E=(0,r.aZ)({name:"DocCheckbox",props:{value:[Boolean,String],modelValue:[Boolean,Array]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,i=(0,r.iH)(e.modelValue),o=(0,r.iH)(!1),s=(0,r.Fl)({get:function(){return i.value},set:function(e){i.value=e,n("update:modelValue",i.value)}}),a=(0,r.Fl)((function(){return Array.isArray(e.modelValue)?e.modelValue.includes(e.value):e.modelValue})),l=(0,r.Fl)((function(){return[{"border-base-500 bg-base-500":a.value},{"border-gray-400 bg-gray-100":!a.value},{"shadow-outline":o.value}]}));return(0,r.YP)((function(){return e.modelValue}),(function(e){return i.value=e})),{localValue:i,computedValue:s,isChecked:a,isFocused:o,checkboxClasses:l}}}),_=(0,a.Z)(E,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-check"),l=(0,r.up)("doc-icon");return(0,r.wg)(),(0,r.iD)("label",S,[(0,r._)("div",{class:(0,r.C_)(["w-4 h-4 mt-px border rounded-sm",e.checkboxClasses])},[(0,r.wy)((0,r.Wm)(l,{width:"14",height:"14",class:"text-white"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1},512),[[r.F8,e.isChecked]])],2),(0,r.wy)((0,r._)("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,x),[[r.e8,e.computedValue]]),(0,r._)("span",k,[(0,r.WI)(e.$slots,"default")])])}]]);var C={class:"absolute top-0 right-0 z-5"},T=["innerHTML"],A=n(4430),L={class:"whitespace-nowrap"},D=n(9984),I=n.n(D),R=n(2152),O=n.n(R),M={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 N(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function F(e){return e instanceof N(e).Element||e instanceof Element}function P(e){return e instanceof N(e).HTMLElement||e instanceof HTMLElement}function H(e){return"undefined"!=typeof ShadowRoot&&(e instanceof N(e).ShadowRoot||e instanceof ShadowRoot)}var W=Math.max,B=Math.min,V=Math.round;function j(){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 q(){return!/^((?!chrome|android).)*safari/i.test(j())}function z(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&P(e)&&(i=e.offsetWidth>0&&V(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&V(r.height)/e.offsetHeight||1);var s=(F(e)?N(e):window).visualViewport,a=!q()&&n,l=(r.left+(a&&s?s.offsetLeft:0))/i,c=(r.top+(a&&s?s.offsetTop:0))/o,u=r.width/i,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function $(e){var t=N(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(e){return e?(e.nodeName||"").toLowerCase():null}function Z(e){return((F(e)?e.ownerDocument:e.document)||window.document).documentElement}function K(e){return z(Z(e)).left+$(e).scrollLeft}function Y(e){return N(e).getComputedStyle(e)}function G(e){var t=Y(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function X(e,t,n){void 0===n&&(n=!1);var r,i,o=P(t),s=P(t)&&function(e){var t=e.getBoundingClientRect(),n=V(t.width)/e.offsetWidth||1,r=V(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Z(t),l=z(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==U(t)||G(a))&&(c=(r=t)!==N(r)&&P(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:$(r)),P(t)?((u=z(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=K(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Q(e){var t=z(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 J(e){return"html"===U(e)?e:e.assignedSlot||e.parentNode||(H(e)?e.host:null)||Z(e)}function ee(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:P(e)&&G(e)?e:ee(J(e))}function te(e,t){var n;void 0===t&&(t=[]);var r=ee(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=N(r),s=i?[o].concat(o.visualViewport||[],G(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(te(J(s)))}function ne(e){return["table","td","th"].indexOf(U(e))>=0}function re(e){return P(e)&&"fixed"!==Y(e).position?e.offsetParent:null}function ie(e){for(var t=N(e),n=re(e);n&&ne(n)&&"static"===Y(n).position;)n=re(n);return n&&("html"===U(n)||"body"===U(n)&&"static"===Y(n).position)?t:n||function(e){var t=/firefox/i.test(j());if(/Trident/i.test(j())&&P(e)&&"fixed"===Y(e).position)return null;var n=J(e);for(H(n)&&(n=n.host);P(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 oe="top",se="bottom",ae="right",le="left",ce="auto",ue=[oe,se,ae,le],de="start",he="end",pe="viewport",fe="popper",me=ue.reduce((function(e,t){return e.concat([t+"-"+de,t+"-"+he])}),[]),ve=[].concat(ue,[ce]).reduce((function(e,t){return e.concat([t,t+"-"+de,t+"-"+he])}),[]),ge=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function be(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var ye={placement:"bottom",modifiers:[],strategy:"absolute"};function we(){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 Se(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?ye:i;return function(e,t,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ye,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:F(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var s,c,h=function(e){var t=be(e);return ge.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,i=e.effect;if("function"==typeof i){var o=i({state:a,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(we(t,n)){a.rects={reference:X(t,ie(n),"fixed"===a.options.strategy),popper:Q(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 i=a.orderedModifiers[r],o=i.fn,s=i.options,l=void 0===s?{}:s,d=i.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,r=-1}}},update:(i=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(i())}))}))),s}),destroy:function(){d(),c=!0}};if(!we(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 xe={passive:!0};function ke(e){return e.split("-")[0]}function Ee(e){return e.split("-")[1]}function _e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ce(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?ke(i):null,s=i?Ee(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case oe:t={x:a,y:n.y-r.height};break;case se:t={x:a,y:n.y+n.height};break;case ae:t={x:n.x+n.width,y:l};break;case le:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?_e(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case de:t[c]=t[c]-(n[u]/2-r[u]/2);break;case he:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Te={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ae(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=s.x,p=void 0===h?0:h,f=s.y,m=void 0===f?0:f,v="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=le,w=oe,S=window;if(c){var x=ie(n),k="clientHeight",E="clientWidth";x===N(n)&&"static"!==Y(x=Z(n)).position&&"absolute"===a&&(k="scrollHeight",E="scrollWidth"),(i===oe||(i===le||i===ae)&&o===he)&&(w=se,m-=(d&&x===S&&S.visualViewport?S.visualViewport.height:x[k])-r.height,m*=l?1:-1),i!==le&&(i!==oe&&i!==se||o!==he)||(y=ae,p-=(d&&x===S&&S.visualViewport?S.visualViewport.width:x[E])-r.width,p*=l?1:-1)}var _,C=Object.assign({position:a},c&&Te),T=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:V(n*i)/i||0,y:V(r*i)/i||0}}({x:p,y:m},N(n)):{x:p,y:m};return p=T.x,m=T.y,l?Object.assign({},C,((_={})[w]=b?"0":"",_[y]=g?"0":"",_.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",_)):Object.assign({},C,((t={})[w]=b?m+"px":"",t[y]=g?p+"px":"",t.transform="",t))}var Le={left:"right",right:"left",bottom:"top",top:"bottom"};function De(e){return e.replace(/left|right|bottom|top/g,(function(e){return Le[e]}))}var Ie={start:"end",end:"start"};function Re(e){return e.replace(/start|end/g,(function(e){return Ie[e]}))}function Oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&H(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Me(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ne(e,t,n){return t===pe?Me(function(e,t){var n=N(e),r=Z(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=q();(c||!c&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+K(e),y:l}}(e,n)):F(t)?function(e,t){var n=z(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):Me(function(e){var t,n=Z(e),r=$(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=W(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=W(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+K(e),l=-r.scrollTop;return"rtl"===Y(i||n).direction&&(a+=W(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Z(e)))}function Fe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function He(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,s=void 0===o?e.strategy:o,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?pe:c,d=n.elementContext,h=void 0===d?fe:d,p=n.altBoundary,f=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=Fe("number"!=typeof v?v:Pe(v,ue)),b=h===fe?"reference":fe,y=e.rects.popper,w=e.elements[f?b:h],S=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=te(J(e)),n=["absolute","fixed"].indexOf(Y(e).position)>=0&&P(e)?ie(e):e;return F(n)?t.filter((function(e){return F(e)&&Oe(e,n)&&"body"!==U(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce((function(t,n){var i=Ne(e,n,r);return t.top=W(i.top,t.top),t.right=B(i.right,t.right),t.bottom=B(i.bottom,t.bottom),t.left=W(i.left,t.left),t}),Ne(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}(F(w)?w:w.contextElement||Z(e.elements.popper),l,u,s),x=z(e.elements.reference),k=Ce({reference:x,element:y,strategy:"absolute",placement:i}),E=Me(Object.assign({},y,k)),_=h===fe?E:x,C={top:S.top-_.top+g.top,bottom:_.bottom-S.bottom+g.bottom,left:S.left-_.left+g.left,right:_.right-S.right+g.right},T=e.modifiersData.offset;if(h===fe&&T){var A=T[i];Object.keys(C).forEach((function(e){var t=[ae,se].indexOf(e)>=0?1:-1,n=[oe,se].indexOf(e)>=0?"y":"x";C[e]+=A[n]*t}))}return C}const We={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 i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=ke(v),b=l||(g!==v&&f?function(e){if(ke(e)===ce)return[];var t=De(e);return[Re(e),t,Re(t)]}(v):[De(v)]),y=[v].concat(b).reduce((function(e,n){return e.concat(ke(n)===ce?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ve:l,u=Ee(r),d=u?a?me:me.filter((function(e){return Ee(e)===u})):ue,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var p=h.reduce((function(t,n){return t[n]=He(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[ke(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,S=t.rects.popper,x=new Map,k=!0,E=y[0],_=0;_<y.length;_++){var C=y[_],T=ke(C),A=Ee(C)===de,L=[oe,se].indexOf(T)>=0,D=L?"width":"height",I=He(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),R=L?A?ae:le:A?se:oe;w[D]>S[D]&&(R=De(R));var O=De(R),M=[];if(o&&M.push(I[T]<=0),a&&M.push(I[R]<=0,I[O]<=0),M.every((function(e){return e}))){E=C,k=!1;break}x.set(C,M)}if(k)for(var N=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},F=f?3:1;F>0&&"break"!==N(F);F--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Be(e,t,n){return W(e,B(t,n))}function Ve(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 je(e){return[oe,ae,se,le].some((function(t){return e[t]>=0}))}var qe=Se({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,l=N(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,xe)})),a&&l.addEventListener("resize",n.update,xe),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,xe)})),a&&l.removeEventListener("resize",n.update,xe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ce({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,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:ke(t.placement),variation:Ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ae(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,Ae(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]||{},i=t.elements[e];P(i)&&U(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.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],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});P(r)&&U(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=ve.reduce((function(e,n){return e[n]=function(e,t,n){var r=ke(e),i=[le,oe].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[le,ae].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),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}},We,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=void 0===h||h,f=n.tetherOffset,m=void 0===f?0:f,v=He(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=ke(t.placement),b=Ee(t.placement),y=!b,w=_e(g),S="x"===w?"y":"x",x=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,_="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(x){if(o){var L,D="y"===w?oe:le,I="y"===w?se:ae,R="y"===w?"height":"width",O=x[w],M=O+v[D],N=O-v[I],F=p?-E[R]/2:0,P=b===de?k[R]:E[R],H=b===de?-E[R]:-k[R],V=t.elements.arrow,j=p&&V?Q(V):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=q[D],$=q[I],U=Be(0,k[R],j[R]),Z=y?k[R]/2-F-U-z-C.mainAxis:P-U-z-C.mainAxis,K=y?-k[R]/2+F+U+$+C.mainAxis:H+U+$+C.mainAxis,Y=t.elements.arrow&&ie(t.elements.arrow),G=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(L=null==T?void 0:T[w])?L:0,J=O+K-X,ee=Be(p?B(M,O+Z-X-G):M,O,p?W(N,J):N);x[w]=ee,A[w]=ee-O}if(a){var te,ne="x"===w?oe:le,re="x"===w?se:ae,ce=x[S],ue="y"===S?"height":"width",he=ce+v[ne],pe=ce-v[re],fe=-1!==[oe,le].indexOf(g),me=null!=(te=null==T?void 0:T[S])?te:0,ve=fe?he:ce-k[ue]-E[ue]-me+C.altAxis,ge=fe?ce+k[ue]+E[ue]-me-C.altAxis:pe,be=p&&fe?function(e,t,n){var r=Be(e,t,n);return r>n?n:r}(ve,ce,ge):Be(p?ve:he,ce,p?ge:pe);x[S]=be,A[S]=be-ce}t.modifiersData[r]=A}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ke(n.placement),l=_e(a),c=[le,ae].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return Fe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pe(e,ue))}(i.padding,n),d=Q(o),h="y"===l?oe:le,p="y"===l?se:ae,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=ie(o),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=f/2-m/2,y=u[h],w=g-d[c]-u[p],S=g/2-d[c]/2+b,x=Be(y,S,w),k=l;n.modifiersData[r]=((t={})[k]=x,t.centerOffset=x-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)))&&Oe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=He(t,{elementContext:"reference"}),a=He(t,{altBoundary:!0}),l=Ve(s,r),c=Ve(a,i,o),u=je(l),d=je(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 ze=(0,r.aZ)({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,i=t.emit,o=(0,r.iH)(),s=(0,r.iH)(),a=(0,r.iH)(!1),l=null;return{trigger:o,tooltip:s,isOpen:a,show:function(){clearTimeout(n),n=setTimeout((function(){a.value=!0,(0,r.Y3)((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(!o.value||!s.value)throw new Error("Tooltip trigger or tooltip element not found in DOM");l=qe(o.value,s.value,n)}(),i("show")}))}),e.delay)},hide:function(){clearTimeout(n),i("hide"),a.value=!1,l&&(l.destroy(),l=null)},update:function(){l&&l.update()}}}}),$e=(0,a.Z)(ze,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",null,[(0,r._)("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.WI)(e.$slots,"trigger",{},void 0,!0)],544),e.isOpen?((0,r.wg)(),(0,r.iD)("div",M,[(0,r.WI)(e.$slots,"default",{},void 0,!0),t[2]||(t[2]=(0,r._)("div",{class:"arrow","data-popper-arrow":""},null,-1))],512)):(0,r.kq)("",!0)])}],["__scopeId","data-v-325bee49"]]),Ue=(0,r.aZ)({name:"DocCopyButton",components:{DocTooltip:$e},props:{copyText:String,tooltipText:{type:String,default:I().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.iH)(),n=(0,r.iH)(),i=(0,r.iH)(e.tooltipText),o=null;return(0,r.bv)((function(){(o=new(O())(n.value,{text:function(){return e.copyText}})).on("success",(function(){i.value=I().resources.API_CopiedAckHint_Label,t.value.update()}))})),(0,r.Jd)((function(){null!==o&&o.destroy()})),{tooltip:t,button:n,btnLabel:i}}}),Ze=(0,a.Z)(Ue,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-tooltip");return(0,r.wg)(),(0,r.j4)(a,{ref:"tooltip",placement:e.tooltipPlacement,offset:e.tooltipOffset},{trigger:(0,r.w5)((function(){return[(0,r._)("button",{ref:"button",class:(0,r.C_)(["flex items-center justify-center shrink-0 transition-colors duration-200 ease-in focus:outline-none",e.buttonClass]),onMouseleave:t[0]||(t[0]=function(t){return e.btnLabel=e.tooltipText})},[(0,r.WI)(e.$slots,"default")],34)]})),default:(0,r.w5)((function(){return[(0,r._)("span",L,(0,r.zw)(e.btnLabel),1)]})),_:3},8,["placement","offset"])}]]),Ke=(0,r.aZ)({name:"DocIconCopy"}),Ye=(0,a.Z)(Ke,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]),Ge=(0,r.aZ)({name:"DocCodeblock",components:{DocCopyButton:Ze,DocIconCopy:Ye},props:{lineNumbers:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.iH)(),n=(0,r.iH)(""),i=(0,r.iH)(""),o=(0,r.iH)(!1);return(0,r.bv)((function(){var r,s,a,l;o.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&&(i.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 A.Z(c.parentElement)})),{codeblockRef:t,hasTitle:o,code:n,lineNumbersHtml:i}}}),Xe=(0,a.Z)(Ge,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-copy"),l=(0,r.up)("doc-icon"),c=(0,r.up)("doc-copy-button");return(0,r.wg)(),(0,r.iD)("div",{ref:"codeblockRef",class:(0,r.C_)(["codeblock relative",{"line-numbers":e.lineNumbers}])},[(0,r._)("div",C,[(0,r.Wm)(c,{"copy-text":e.code,"tooltip-placement":"left","tooltip-offset":[-1,0],class:(0,r.C_)(["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 dark:bg-dark-800 bg-opacity-50 dark:bg-opacity-50 rounded-full"},{default:(0,r.w5)((function(){return[(0,r.Wm)(l,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1})]})),_:1},8,["copy-text","class"])]),(0,r.WI)(e.$slots,"default"),e.lineNumbers?((0,r.wg)(),(0,r.iD)("div",{key:0,class:(0,r.C_)(["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,T)):(0,r.kq)("",!0)],2)}]]),Qe=(0,r.aZ)({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,i=(0,r.iH)(!1),o=(0,r.iH)();function s(){n("update:modelValue",!e.modelValue)}return(0,r.YP)((function(){return e.modelValue}),(function(e){e?(0,r.Y3)((function(){if(o.value){var e=o.value.scrollHeight;o.value.style.height="".concat(e,"px")}})):o.value&&(o.value.style.height="0px")}),{immediate:!0}),{toggleCollapse:s,onKeydown:function(e){"Enter"===e.key&&s()},toggleMousedown:function(){i.value=!i.value},onFocus:function(e){i.value&&e.target.blur()},content:o}}}),Je=(0,a.Z)(Qe,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",null,[(0,r._)("div",{class:(0,r.C_)(["cursor-pointer focus:outline-none 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.WI)(e.$slots,"trigger")],34),(0,r._)("div",{ref:"content",class:(0,r.C_)(["collapse-content overflow-hidden",e.animations?"transition-all duration-200 ease-out":null]),style:{height:"0"}},[(0,r.WI)(e.$slots,"default")],2),(0,r.WI)(e.$slots,"footer")])}]]),et=(0,r.aZ)({name:"DocOverlay",props:{isOpen:Boolean},emits:["swipe-left","swipe-right","click"],setup:function(e,t){var n=t.emit,i=(0,r.qj)({x:0,y:0});return{onTouchStart:function(e){i.x=e.changedTouches[0].clientX,i.y=e.changedTouches[0].clientY},onTouchEnd:function(e){var t=e.changedTouches[0].clientX-i.x,r=e.changedTouches[0].clientY-i.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"])}}}}),tt=(0,a.Z)(et,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",{class:(0,r.C_)(["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-opacity-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)}]]);function nt(e){(0,v.zX)(window,"resize",(function(t){e(t)}))}function rt(){var e=document.body,t=(0,r.iH)(0),n=e.offsetWidth;(0,r.bv)((function(){return n=e.offsetWidth})),nt((function(){return n=e.offsetWidth}));var i=(0,r.iH)(!1);return{enableBodyScroll:function(){i.value&&(e.classList.remove("overflow-hidden","fixed"),e.style.width="",e.style.top="",window.scrollTo(0,t.value),i.value=!1)},disableBodyScroll:function(){i.value||(t.value=window.scrollY,e.style.width="".concat(n,"px"),e.style.top="".concat(-t.value,"px"),e.classList.add("overflow-hidden","fixed"),i.value=!0)},isBodyScrollDisabled:i}}var it=r.lR;const ot=(0,r.aZ)({name:"DocDrawer",components:{DocOverlay:tt,Teleport:it},props:{hideEvent:{type:Array,required:!0}},emits:["show","shown","hide","hidden"],setup:function(e,t){var n=t.emit,i=(0,r.iH)(),o=(0,r.iH)(!1),s=rt(),a=s.enableBodyScroll,l=s.disableBodyScroll;return{Teleport:it,isOpen:o,show:function(){n("show"),o.value=!0,l(),(0,r.Y3)((function(){n("shown")}))},hide:function(t){var s;if(n("hide"),!t||!t[0])return o.value=!1,a(),void(0,r.Y3)((function(){n("hidden")}));var l=t[0].target;i.value!==l&&!(null===(s=i.value)||void 0===s?void 0:s.contains(l))&&e.hideEvent.includes(t[1])&&(o.value=!1,a(),(0,r.Y3)((function(){n("hidden")})))}}}}),st=(0,a.Z)(ot,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-overlay");return(0,r.wg)(),(0,r.iD)("div",{ref:"el",class:(0,r.C_)(["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-none dark:bg-dark-850",e.isOpen?"translate-x-0 shadow-2xl":"translate-x-full"]),tabindex:"-1",onKeyup:t[0]||(t[0]=(0,r.D2)((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.WI)(e.$slots,"default"),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a,{"is-open":e.isOpen,onSwipeLeft:e.hide,onSwipeRight:e.hide,onClick:e.hide},null,8,["is-open","onSwipeLeft","onSwipeRight","onClick"])]})),_:1}))],34)}]]);var at=["aria-expanded"],lt=n(6850);const ct=(0,r.aZ)({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,i=(0,r.iH)(),o=(0,r.iH)(!1),s=(0,r.iH)(!1);return(0,r.YP)(o,(function(){var e=o.value?"open":"close";n(e)})),(0,lt.w)((function(e){var t,n=e.target;i.value===n||(null===(t=i.value)||void 0===t?void 0:t.contains(n))||(o.value=!1)})),{isOpen:o,isFocused:s,onButtonClick:function(){o.value=!o.value},dropdown:i,hide:function(){o.value=!1}}}}),ut=(0,a.Z)(ct,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",{ref:"dropdown",class:"relative",onKeydown:t[4]||(t[4]=(0,r.D2)((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._)("div",{class:(0,r.C_)(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.WI)(e.$slots,"button-content",{isOpen:e.isOpen,isFocused:e.isFocused})],42,at),(0,r.Wm)(r.uT,{"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.w5)((function(){return[(0,r.wy)((0,r._)("div",{class:(0,r.C_)(["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.j5)({"min-width":e.menuWidth}),onClick:t[3]||(t[3]=(0,r.iM)((function(){}),["stop"]))},[(0,r.WI)(e.$slots,"default")],6),[[r.F8,e.isOpen]])]})),_:3})],544)}]]);var dt=["innerHTML"];const ht=(0,r.aZ)({name:"DocEmoji",props:{emoji:{type:String,required:!0}},setup:function(e){return{emojiHtml:(0,r.Fl)((function(){return"&#x".concat(e.emoji.replace(/-/g,"&#x"))}))}}}),pt=(0,a.Z)(ht,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("span",{class:"docs-emoji",innerHTML:e.emojiHtml},null,8,dt)}]]);var ft={class:"flex justify-between px-5 py-3 -mt-1 border-b border-base-border"},mt={class:"flex text-sm text-base-text"},vt={key:0,class:"flex flex-col items-center py-6"},gt={class:"text-sm text-base-text-muted"},bt={key:1,class:"mt-2"},yt=["href","onClick"],wt={class:"flex"},St=["textContent"],xt={class:"invisible ml-5 text-xs text-base-text-muted group-hover:visible"};function kt(){var e=(0,r.iH)(null);return(0,r.bv)((function(){e.value=window.__DOCS__})),{pageData:e}}var Et=n(1474),_t=n(830),Ct=function(){return Ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ct.apply(this,arguments)};const Tt=(0,r.aZ)({name:"DocHistory",components:{DocDropdown:ut},setup:function(){var e=(0,r.iH)(),t=I().maxHistoryItems,n=(0,r.iH)([]),i=I().resources.History_Title_Label,o=I().resources.History_ClearLink_Label,s=I().resources.History_NoHistory_Label,a=kt().pageData,l=(0,Et.t)().route,c=(0,_t.Rs)();function u(e){return e&&"/"!==e?c+e:(0,_t.wE)(c)}return(0,r.bv)((function(){var e;null==(e=(0,d.qn)(I().base,localStorage,"doc_history"))||("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 i=r[n];i.path=(0,_t.cD)(i.path,t)}}}(e),n.value=e)),function(){var e=a.value;if(e){var r=(0,_t.cD)(l.value.path,e),i={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)}(i),n.value.unshift(i),n.value.length>t&&n.value.pop();var o={version:1,items:n.value};(0,d.Nh)(I().base,localStorage,"doc_history",o)}}()})),{dropdown:e,history:n,clearHistory:function(){n.value=[],(0,d.Nh)(I().base,localStorage,"doc_history",[])},setTimeVisited:function(){n.value=n.value.map((function(e){return Ct(Ct({},e),{timeAgo:(0,d.Sy)(e.timestamp)})}))},onHistoryItemClick:function(t,n){(0,d.pI)(n)||(n.preventDefault(),(0,p.Vn)(u(t)),e.value.hide())},getFullPath:u,titleLabel:i,clearButtonLabel:o,noHistoryLabel:s}}}),At=(0,a.Z)(Tt,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-history"),l=(0,r.up)("doc-icon-button"),c=(0,r.up)("doc-icon"),u=(0,r.up)("doc-dropdown");return(0,r.wg)(),(0,r.j4)(u,{ref:"dropdown",style:{"margin-right":"-0.625rem"},align:"right","menu-width":"18rem",onOpen:e.setTimeVisited},{"button-content":(0,r.w5)((function(){var t;return[(0,r.Wm)(l,{id:"retype-history-button",class:(0,r.C_)([{"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.w5)((function(){return[(0,r.Wm)(a)]})),_:1},8,["class"])]})),default:(0,r.w5)((function(){return[(0,r._)("div",ft,[(0,r._)("div",mt,[(0,r.Wm)(c,{width:"15",height:"15",class:"mr-3 mt-0.75"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1}),(0,r._)("span",null,(0,r.zw)(e.titleLabel),1)]),(0,r._)("button",{class:"text-xs text-body-link focus:outline-none 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.zw)(e.clearButtonLabel),1)]),e.history.length?((0,r.wg)(),(0,r.iD)("ul",bt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.history,(function(t){return(0,r.wg)(),(0,r.iD)("li",{key:t.timestamp},[(0,r._)("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._)("span",wt,[(0,r.Wm)(c,{class:"mr-3 mt-0.75",width:"15",height:"15"},{default:(0,r.w5)((function(){return[((0,r.wg)(),(0,r.j4)((0,r.LL)(t.icon)))]})),_:2},1024),(0,r._)("span",{textContent:(0,r.zw)(t.title)},null,8,St)]),(0,r._)("span",xt,(0,r.zw)(t.timeAgo),1)],8,yt)])})),128))])):((0,r.wg)(),(0,r.iD)("div",vt,[t[1]||(t[1]=(0,r._)("svg",{class:"mb-2",xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60"},[(0,r._)("circle",{cx:"30",cy:"30",r:"30",fill:"#e1edff"}),(0,r._)("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._)("div",gt,(0,r.zw)(e.noHistoryLabel),1)]))]})),_:1},8,["onOpen"])}]]);var Lt=["width","height"],Dt=["fill"];const It=(0,r.aZ)({name:"DocIcon",props:{width:{type:[Number,String],default:16},height:{type:[Number,String],default:16},iconColor:{type:String,default:"currentColor"}}}),Rt=(0,a.Z)(It,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("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._)("g",{fill:e.iconColor},[(0,r.WI)(e.$slots,"default")],8,Dt)],8,Lt)}]]),Ot=(0,r.aZ)({name:"DocIconButton",props:{iconSize:{type:[Number,String],default:16},rounded:{type:Boolean,default:!0}},setup:function(){var e=(0,r.iH)();return{button:e,onClick:function(){var t;null===(t=e.value)||void 0===t||t.blur()}}}}),Mt=(0,a.Z)(Ot,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon");return(0,r.wg)(),(0,r.iD)("button",{ref:"button",class:(0,r.C_)(["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.Wm)(a,{class:"shrink-0",style:{"margin-bottom":"0"},width:e.iconSize,height:e.iconSize},{default:(0,r.w5)((function(){return[(0,r.WI)(e.$slots,"default")]})),_:3},8,["width","height"])],2)}]]),Nt=(0,r.aZ)({name:"LoadingSpinner",props:{size:{type:Number,default:20}},setup:function(e){return{styles:(0,r.Fl)((function(){return{width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),borderWidth:"".concat(Math.round(e.size/8),"px")}}))}}}),Ft=(0,a.Z)(Nt,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",{class:"spinner inline-block rounded-full border-gray-400 dark:border-dark-450 border-solid animate-spin",style:(0,r.j5)(e.styles)},null,4)}],["__scopeId","data-v-79806448"]]);var Pt={ref:"memberRef",class:"relative pluggable"},Ht={class:"relative z-10 px-5 pb-5"},Wt={class:"absolute inset-0 transition-all duration-200 ease-linear z-5",style:{margin:"-1px"}},Bt=Symbol("DocsGroupId"),Vt=Symbol("DocsOverloadId");function jt(e){var t=(0,h.oR)().store,n=(0,r.f3)(Bt),i=(0,r.Fl)((function(){return Object.values(t.state.memberGroups[n]).filter((function(n){return function(e,t,n){var r=e.overloadId===n,i=e.access.split(",").map((function(e){return e.trim()})),o=i.every((function(e){var n;return null===(n=t.state.access)||void 0===n?void 0:n.includes(e)})),s=!e.isInherited||e.isInherited===t.state.inherited;return r&&o&&s}(n,t,e)}))}));return{members:i}}var qt={class:"flex justify-between h-16 px-5"},zt={class:"flex items-center truncate"},$t={ref:"memberName",class:"flex items-center group"},Ut={class:"font-mono text-sm truncate whitespace-nowrap dark:text-dark-350"},Zt={key:0,class:"ml-2"},Kt={key:1,class:"ml-2 text-gray-600 dark:text-dark-350"},Yt={key:2},Gt={key:3,class:"ml-1"},Xt={key:0,class:"flex items-center h-6 px-2 ml-3 text-xs leading-none whitespace-nowrap border border-base-border rounded"},Qt={class:"flex"},Jt={class:"z-10 inline-flex bg-white border border-base-border rounded shadow-sm dark:bg-dark-650",style:{padding:"2px"}};const en=(0,r.aZ)({name:"DocMemberToolbar",components:{DocCopyButton:Ze},props:{id:String,name:String},setup:function(e){return{buttons:(0,r.Fl)((function(){var t=window.location,n=t.origin,r=t.pathname,i="".concat(n).concat(r,"#").concat(e.id);return[{id:1,copyText:e.name,tooltipText:I().resources.API_CopyNameHint_Label,icon:"DocIconCopy"},{id:2,copyText:i,tooltipText:I().resources.API_CopyLinkHint_Label,icon:"DocIconLink"}]}))}}}),tn=(0,a.Z)(en,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon"),l=(0,r.up)("doc-copy-button");return(0,r.wg)(),(0,r.iD)("div",Jt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.buttons,(function(e){return(0,r.wg)(),(0,r.j4)(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.iM)((function(){}),["stop"]))},{default:(0,r.w5)((function(){return[(0,r.Wm)(a,null,{default:(0,r.w5)((function(){return[((0,r.wg)(),(0,r.j4)((0,r.LL)(e.icon)))]})),_:2},1024)]})),_:2},1032,["copy-text","tooltip-text"])})),128))])}]]);var nn={class:"flex items-center"};const rn=(0,r.aZ)({name:"DocMemberAccessBadges",props:{access:{type:Array}},setup:function(e){var t=(0,r.Fl)((function(){var t;return null===(t=e.access)||void 0===t?void 0:t.filter((function(e){return"public"!==e}))}));return{badges:t}}}),on=(0,a.Z)(rn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-badge");return(0,r.wg)(),(0,r.iD)("div",nn,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.badges,(function(e,t){return(0,r.wg)(),(0,r.j4)(a,{key:t,class:"ml-3",type:e},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e),1)]})),_:2},1032,["type"])})),128))])}]]),sn=(0,r.aZ)({name:"DocMemberTitle",components:{DocMemberToolbar:tn,DocMemberAccessBadges:on},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,n,i=(0,r.Fl)((function(){return e.overloadId?jt(e.overloadId).members.value.length-1:0})),o=(0,r.Fl)((function(){return e.type&&e.type.split(",").join(" | ")})),s=(0,r.Fl)((function(){return e.params?"(".concat(e.params.trim(),")"):""})),a=(0,r.Fl)((function(){return e.returns&&e.returns.split(",").join(" | ")})),l=(t=(0,r.iH)(),n=(0,r.iH)({}),(0,r.bv)((function(){var e,r=null===(e=t.value)||void 0===e?void 0:e.querySelector("h3");setTimeout((function(){var e=r?"".concat(r.clientWidth,"px"):"0";n.value={width:e,minWidth:"3.75rem",height:"2.625rem"}}),1e3)})),{memberName:t,hoverTriggerStyles:n});return{overloadCount:i,memberType:o,memberParams:s,memberReturnType:a,memberName:l.memberName,hoverTriggerStyles:l.hoverTriggerStyles,moreLabel:I().resources.API_MoreOverloads_Label}}}),an=(0,a.Z)(sn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-member-toolbar"),l=(0,r.up)("doc-member-access-badges");return(0,r.wg)(),(0,r.iD)("div",qt,[(0,r._)("div",zt,[(0,r._)("div",$t,[(0,r.WI)(e.$slots,"default"),e.isIntersecting&&!e.isWindowScrolling?((0,r.wg)(),(0,r.iD)("div",{key:0,class:"absolute top-0 rounded-br-full",style:(0,r.j5)(e.hoverTriggerStyles)},[(0,r.Wm)(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.kq)("",!0)],512),(0,r._)("div",Ut,[e.memberType?((0,r.wg)(),(0,r.iD)("span",Zt,": "+(0,r.zw)(e.memberType),1)):(0,r.kq)("",!0),e.memberParams?((0,r.wg)(),(0,r.iD)("span",Kt,(0,r.zw)(e.memberParams),1)):(0,r.kq)("",!0),e.memberReturnType?((0,r.wg)(),(0,r.iD)("span",Yt,":")):(0,r.kq)("",!0),e.memberReturnType?((0,r.wg)(),(0,r.iD)("span",Gt,(0,r.zw)(e.memberReturnType),1)):(0,r.kq)("",!0)]),e.overloadCount?((0,r.wg)(),(0,r.iD)("div",Xt," +"+(0,r.zw)(e.overloadCount)+" "+(0,r.zw)(e.moreLabel),1)):(0,r.kq)("",!0)]),(0,r._)("div",Qt,[(0,r.Wm)(l,{access:e.memberAccess},null,8,["access"])])])}]]);var ln={class:"mb-5"},cn={class:"max-h-60 pt-4 pb-2 -mt-3.5 mb-6 overflow-x-hidden overflow-y-auto border border-base-border rounded"},un={class:"pl-0"},dn=["onClick"],hn={class:"font-mono text-sm truncate whitespace-nowrap"};const pn=(0,r.aZ)({name:"DocOverloadSelect",components:{DocMemberAccessBadges:on},setup:function(){var e=jt((0,r.f3)(Vt)).members;return{members:e,memberLabel:function(e){var t=e.name;return(t+=e.params?" (".concat(e.params,")"):" ()")+(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 dark:bg-opacity-50":t,"hover:bg-gray-200 dark:hover:bg-dark-500 dark:hover:bg-opacity-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)}))}}}}),fn=(0,a.Z)(pn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-member-access-badges");return(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",ln,[t[0]||(t[0]=(0,r._)("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._)("div",cn,[(0,r._)("ul",un,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.members,(function(t){return(0,r.wg)(),(0,r.iD)("li",{key:t.id,class:(0,r.C_)(["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._)("div",hn,(0,r.zw)(e.memberLabel(t)),1),(0,r.Wm)(a,{class:"ml-auto",access:e.memberAccess(t)},null,8,["access"])],10,dn)})),128))])])],512)),[[r.F8,e.members.length>1]])}]]);var mn={class:"mb-2 text-sm text-gray-600 dark:text-dark-350 uppercase"},vn={class:"codeblock-wrapper"},gn={class:"member-signature language-csharp m-0 px-5 py-4 text-dark-300 text-xs"},bn={class:"member-signature language-csharp"};const yn=(0,r.aZ)({name:"DocMemberSignature",props:{signature:String},setup:function(){return{signatureLabel:I().resources.API_SignatureSection_Label}}}),wn=(0,a.Z)(yn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-codeblock");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r._)("div",mn,(0,r.zw)(e.signatureLabel),1),(0,r._)("div",vn,[(0,r.Wm)(a,null,{default:(0,r.w5)((function(){return[(0,r._)("pre",gn,[(0,r._)("code",bn,(0,r.zw)(e.signature),1)])]})),_:1})])])}]]);function Sn(e,t){var n=Object.assign({},{root:null,rootMargin:"0px",threshold:0},t),i=(0,r.iH)(),o=(0,r.iH)([]),s=(0,r.Fl)((function(){return void 0!==e.value&&null!==e.value&&o.value.length>0&&o.value.every((function(e){return e.isIntersecting}))})),a=function(e){o.value=e};return(0,r.bv)((function(){e.value&&(i.value=new IntersectionObserver(a,n),i.value.observe(e.value))})),(0,r.Jd)((function(){var e;null===(e=i.value)||void 0===e||e.disconnect()})),{isIntersecting:s,elements:o}}function xn(e,t,n){var i=(0,r.iH)(!1),o=(0,r.Fl)((function(){return n.state.scrolledElementId})),s=(0,r.Fl)((function(){return n.state.isWindowScrolling}));return(0,r.YP)(s,(function(t){t||e===o.value&&(i.value=!0,setTimeout((function(){i.value=!1}),1e3),n.actions.updateScrolledElementId(""))}),{immediate:!0}),{isHighlighted:i}}const kn=(0,r.aZ)({name:"DocMember",components:{DocAnchorTarget:l,DocCollapse:Je,DocMemberTitle:an,DocOverloadSelect:fn,DocMemberSignature:wn},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.iH)(),n=(0,h.oR)().store,i=(0,r.f3)(Bt),o=(0,r.Fl)((function(){return n.state.memberGroups[i][e.id].animations}));!function(e,t,n){Object.keys(n).forEach((function(r){r&&e.actions.setMemberData(t,n.id,r,n[r])}))}(n,i,e);var s=function(e,t,n){var i=(0,r.Fl)((function(){var r,i=null===(r=n.state.memberGroups[t][e.id])||void 0===r?void 0:r.isVisible;return void 0===i||i})),o=(0,r.Fl)((function(){return e.access.split(",").map((function(e){return e.trim()}))})),s=(0,r.Fl)((function(){var r=!e.overloadId||n.state.memberGroups[t][e.id].overloadVisibility,i=o.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&&i&&s&&a}));return(0,r.YP)(s,(function(r){n.actions.setMemberData(t,e.id,"isVisible",r)}),{immediate:!0}),{isVisible:i,memberAccess:o}}(e,i,n),a=s.isVisible,l=s.memberAccess,c=function(e,t,n,i){var o=(0,r.Fl)({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.Fl)((function(){return n.state.scrolledElementId}));return(0,r.YP)(s,(function(r){e===r&&n.actions.setMemberData(t,e,"isOpen",!0)})),(0,r.YP)(o,(function(e){if(e){var t=i.value;t&&t.classList.contains("pluggable")&&(0,r.Y3)((function(){t.dispatchEvent(new Event("onPluginReady"))}))}})),{isOpen:o}}(e.id,i,n,t).isOpen;return{isOpen:c,isVisible:a,animations:o,memberAccess:l,isHighlighted:xn(e.id,0,n).isHighlighted,memberRef:t,isIntersecting:Sn(t).isIntersecting,isWindowScrolling:(0,r.Fl)((function(){return n.state.isWindowScrolling}))}}}),En=(0,a.Z)(kn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-anchor-target"),l=(0,r.up)("doc-member-title"),c=(0,r.up)("doc-overload-select"),u=(0,r.up)("doc-member-signature"),d=(0,r.up)("doc-collapse");return(0,r.wg)(),(0,r.iD)("div",Pt,[(0,r.Wm)(a,{id:e.id,class:"absolute top-5 left-0 right-0 bottom-0",style:{"z-index":"-1"}},null,8,["id"]),(0,r.wy)((0,r.Wm)(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.w5)((function(){return[(0,r.Wm)(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.w5)((function(){return[(0,r.WI)(e.$slots,"name")]})),_:3},8,["id","name","overload-id","type","params","returns","member-access","is-visible","is-intersecting","is-window-scrolling"])]})),footer:(0,r.w5)((function(){return[e.isIntersecting?((0,r.wg)(),(0,r.j4)(r.uT,{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.w5)((function(){return[(0,r.wy)((0,r._)("div",Wt,t[2]||(t[2]=[(0,r._)("div",{class:"absolute inset-0 bg-badge-primary bg-opacity-25 border border-badge-primary-border dark:bg-dark-550 dark:border-dark-600"},null,-1)]),512),[[r.F8,e.isHighlighted]])]})),_:1})):(0,r.kq)("",!0)]})),default:(0,r.w5)((function(){return[(0,r._)("div",Ht,[e.isOpen?((0,r.wg)(),(0,r.iD)(r.HY,{key:0},[e.overloadId?((0,r.wg)(),(0,r.j4)(c,{key:0})):(0,r.kq)("",!0),(0,r.WI)(e.$slots,"default"),t[0]||((0,r.qZ)(-1,!0),(t[0]=e.signature?((0,r.wg)(),(0,r.j4)(u,{key:1,class:"mb-5",signature:e.signature},null,8,["signature"])):(0,r.kq)("",!0)).cacheIndex=0,(0,r.qZ)(1),t[0]),(0,r.WI)(e.$slots,"parameters")],64)):(0,r.kq)("",!0)])]})),_:3},8,["modelValue","animations"]),[[r.F8,e.isVisible]])],512)}]]);var _n={class:"mb-6 doc-member-group"},Cn={key:0,class:"flex items-center justify-between"},Tn={class:"group"};const An=(0,r.aZ)({name:"MemberGroup",props:{id:{type:String,required:!0}},setup:function(e){(0,r.JJ)(Bt,e.id);var t=(0,h.oR)().store;return{visibleMemberCount:(0,r.Fl)((function(){return t.getters.getVisibleGroupMembers(e.id).length}))}}}),Ln=(0,a.Z)(An,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-anchor-trigger"),l=(0,r.up)("doc-anchor-target");return(0,r.wg)(),(0,r.iD)("div",_n,[e.visibleMemberCount>0?((0,r.wg)(),(0,r.iD)("div",Cn,[(0,r.Wm)(l,{id:e.id},{default:(0,r.w5)((function(){return[(0,r._)("h2",Tn,[(0,r.Wm)(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.w5)((function(){return t[0]||(t[0]=[(0,r.Uk)(" # ")])})),_:1,__:[0]},8,["to"]),(0,r.WI)(e.$slots,"title")])]})),_:3},8,["id"])])):(0,r.kq)("",!0),(0,r.WI)(e.$slots,"default")])}]]),Dn=(0,r.aZ)({name:"DocOverloadGroup",props:{overloadId:{type:String,required:!0}},setup:function(e){(0,r.JJ)(Vt,e.overloadId);var t=(0,Et.t)().route,n=jt(e.overloadId).members;(0,r.m0)((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)}))}))}}),In=(0,a.Z)(Dn,[["render",function(e,t,n,i,o,s){return(0,r.WI)(e.$slots,"default")}]]);var Rn=["href"],On={class:"docs-panel-content px-5 pb-5"};const Mn=(0,r.aZ)({name:"DocPanel",props:{id:{type:String,required:!0},collapsed:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.iH)(!e.collapsed),n=(0,Et.t)().route;function i(){n.value.hash&&n.value.hash==="#".concat(e.id)&&(t.value=!0)}return i(),(0,r.YP)(n,(function(){i()})),{isExpanded:t,onClick:function(e){(0,d.pI)(e)?e.stopPropagation():e.preventDefault()}}}}),Nn=(0,a.Z)(Mn,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-chevron-right"),l=(0,r.up)("doc-icon"),c=(0,r.up)("doc-anchor-target"),u=(0,r.up)("doc-collapse");return(0,r.wg)(),(0,r.j4)(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.w5)((function(){return[(0,r.Wm)(c,{id:e.id},{default:(0,r.w5)((function(){return[(0,r._)("div",null,[(0,r.WI)(e.$slots,"title")]),(0,r._)("div",{class:(0,r.C_)(["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.Wm)(l,{width:"22",height:"22"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1})],2)]})),_:3},8,["id"]),(0,r._)("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,Rn)]})),default:(0,r.w5)((function(){return[(0,r._)("div",On,[(0,r.WI)(e.$slots,"default")])]})),_:3},8,["modelValue"])}]]),Fn=(0,r.aZ)({name:"DocPanels",setup:function(e,t){var n,i=t.slots,o=(null===(n=i.default)||void 0===n?void 0:n.call(i))||[],s=(0,r.Fl)((function(){return o.map((function(e){var t,n;return(0,r.h)(Nn,{id:null===(t=e.props)||void 0===t?void 0:t.id,collapsed:null===(n=e.props)||void 0===n?void 0:n.collapsed},{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 Pn={class:"relative pl-4 mb-5"},Hn={class:"relative mb-1"},Wn={class:"font-semibold"},Bn={key:0},Vn={key:0,class:"mx-1 text-sm"},jn={key:1,class:"text-sm text-gray-600"},qn={key:0,class:"text-sm"},zn={class:"font-medium text-gray-900"};const $n=(0,r.aZ)({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:I().resources.API_OptionalParameter_Label,defaultValueLabel:I().resources.API_DefaultParameterValue_Label}}}),Un=(0,a.Z)($n,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-badge");return(0,r.wg)(),(0,r.iD)("div",Pn,[(0,r._)("div",Hn,[t[1]||(t[1]=(0,r._)("span",{class:"absolute -ml-4"},"⚬",-1)),(0,r._)("span",Wn,(0,r.zw)(e.name),1),e.type?((0,r.wg)(),(0,r.iD)("span",Bn,[t[0]||(t[0]=(0,r._)("span",{class:"font-semibold"},":",-1)),(0,r.Wm)(a,{class:"ml-1"},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.type),1)]})),_:1}),e.optional?((0,r.wg)(),(0,r.iD)("span",Vn,"•")):(0,r.kq)("",!0),e.optional?((0,r.wg)(),(0,r.iD)("span",jn,(0,r.zw)(e.optionalLabel),1)):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]),(0,r.WI)(e.$slots,"default"),e.defaultValue?((0,r.wg)(),(0,r.iD)("div",qn,[(0,r._)("div",null,[(0,r._)("span",zn,(0,r.zw)(e.defaultValueLabel)+":",1),(0,r.Wm)(a,{class:"ml-1"},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.defaultValue),1)]})),_:1})])])):(0,r.kq)("",!0)])}]]);var Zn={class:"p-5 bg-gray-100 rounded parameters dark:bg-dark-800"},Kn={class:"mb-4 text-sm text-gray-600 uppercase dark:text-dark-350"};const Yn=(0,r.aZ)({name:"DocParameters",setup:function(){return{parametersLabel:I().resources.API_ParameterSection_Label}}}),Gn=(0,a.Z)(Yn,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("div",Zn,[(0,r._)("div",Kn,(0,r.zw)(e.parametersLabel),1),(0,r.WI)(e.$slots,"default")])}]]);var Xn=n(8816),Qn={id:"retype-search",class:"relative"},Jn={class:"absolute flex items-center justify-center h-full pl-3 text-search-placeholder"},er=["aria-label","placeholder"],tr={key:0,class:"absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none"},nr={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.iH)(!1);return{currentPlaceholder:(0,r.Fl)((function(){return t.value?"":e})),onFocus:function(){t.value=!0},onBlur:function(){t.value=!1},isFocused:t}}const ir=(0,r.aZ)({name:"SearchInput",emits:["select"],setup:function(e,t){var n=t.emit,i=(0,r.f3)(Xn.xf),o=(0,h.oR)().store,s=(0,r.Fl)((function(){return"undefined"!=typeof navigator&&/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)})),a=(0,r.Fl)({get:function(){return o.state.searchQuery},set:function(e){return o.actions.updateSearchQuery(e)}}),l=rr(I().search.placeholder),c=l.currentPlaceholder,u=l.onFocus,d=l.onBlur,p=(0,r.Fl)((function(){return s.value?"⌘":"Ctrl "})),f=(0,r.Fl)((function(){var e;return(null===(e=I().search.hotkeys[0])||void 0===e?void 0:e.toUpperCase())||"K"})),m=(0,r.iH)(),v=I().resources.Search_Input_Placeholder;return{input:m,focus:function(){var e;null===(e=m.value)||void 0===e||e.focus()},config:I(),query:a,search:i,onKeydown:function(e){"Enter"===e.code&&n("select"),null==i||i.onKeydown(e)},onFocus:function(){u(),i&&(i.isFocused=!0,i.results.length&&(i.isOpen=!0))},onBlur:function(){d()},currentPlaceholder:c,searchLabel:v,keyboardShortcutSymbol:p,keyboardShortcutKey:f}}}),or=(0,a.Z)(ir,[["render",function(e,t,n,i,o,s){var a,l=(0,r.up)("doc-icon-search"),c=(0,r.up)("doc-icon"),u=(0,r.up)("doc-icon-x"),d=(0,r.up)("doc-icon-button");return(0,r.wg)(),(0,r.iD)("div",Qn,[(0,r._)("div",Jn,[(0,r.Wm)(c,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(l)]})),_:1})]),(0,r.wy)((0,r._)("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-none focus:border-search-border-focus placeholder-search-placeholder",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,er),[[r.nr,e.query]]),e.query?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",tr,[(0,r._)("div",nr,[(0,r._)("span",null,(0,r.zw)(e.keyboardShortcutSymbol)+(0,r.zw)(e.keyboardShortcutKey),1)])])),e.query?((0,r.wg)(),(0,r.j4)(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.iM)(null===(a=e.search)||void 0===a?void 0:a.clear,["stop"])},{default:(0,r.w5)((function(){return[(0,r.Wm)(u)]})),_:1},8,["onClick"])):(0,r.kq)("",!0)])}]]);var sr=["href","onClick"],ar={class:"w-full"},lr=["innerHTML"],cr=["innerHTML"],ur=["innerHTML"],dr={key:1,class:"text-sm px-5 py-4 mb-3"};const hr=(0,r.aZ)({name:"DocSearchResults",props:{isMobile:Boolean},emits:["select"],setup:function(e,t){var n=t.emit,i=(0,r.iH)(),o=(0,r.f3)(Xn.xf),s=(0,_t.Rs)(),a=I().search.noResultsFoundMsg;return(0,r.YP)((function(){return i.value}),(function(e){e&&new A.Z(e)})),{rootEl:i,searchApi:o,onResultClick:function(e,t){(0,d.pI)(t)||(t.preventDefault(),o.navigateToResult(e.path,s),n("select"))},getFullPath:function(e){return o.getResultFullPath(e,s)},noResultsText:a}}}),pr=(0,a.Z)(hr,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.j4)(r.uT,{"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.w5)((function(){return[e.searchApi.isFocused&&e.searchApi.isOpen?((0,r.wg)(),(0,r.iD)("div",{key:0,ref:"rootEl",class:(0,r.C_)(["z-30 w-full overflow-y-auto rounded bg-white",e.isMobile?"dark:bg-dark-850":"dark:bg-dark-650 dark:border-dark-500"])},[(0,r._)("ul",null,[e.searchApi.results.length?((0,r.wg)(!0),(0,r.iD)(r.HY,{key:0},(0,r.Ko)(e.searchApi.results,(function(t,n){return(0,r.wg)(),(0,r.iD)("li",{key:t.id},[(0,r._)("a",{class:(0,r.C_)(["flex justify-between m-3 mt-0 py-4 px-4 rounded-md group hover:bg-gray-200 dark:hover:bg-dark-450 focus:outline-none overflow-x-clip",n===e.searchApi.focusIndex?"bg-gray-200 dark:bg-dark-450":"bg-gray-100 dark:bg-dark-550"]),href:e.getFullPath(t.path),tabindex:"-1",onClick:function(n){return e.onResultClick(t,n)}},[(0,r._)("div",ar,[t.heading?((0,r.wg)(),(0,r.iD)("div",{key:0,class:"mb-2 font-semibold text-gray-900 dark:text-white",innerHTML:t.heading},null,8,lr)):(0,r.kq)("",!0),(0,r._)("div",{class:"text-sm",innerHTML:t.text},null,8,cr),(0,r._)("div",{class:"mt-2 text-xs font-medium text-gray-900 dark:text-white break-words",innerHTML:t.page},null,8,ur)])],10,sr)])})),128)):((0,r.wg)(),(0,r.iD)("li",dr,(0,r.zw)(e.noResultsText),1))])],2)):(0,r.kq)("",!0)]})),_:1})}]]),fr=(0,r.aZ)({name:"DocSearchDesktop",components:{DocSearchInput:or,DocSearchResults:pr},setup:function(){var e=(0,r.iH)(),t=(0,Xn.Rx)(e);(0,r.JJ)(Xn.xf,t);var n=(0,r.iH)();return(0,v.zX)(window,"keydown",(function(e){var t,r=e;r.target===document.body&&I().search.hotkeys.includes(r.key)&&(r.preventDefault(),null===(t=n.value)||void 0===t||t.focus())})),{rootEl:e,onRootClick:function(){var e;null===(e=t.input)||void 0===e||e.focus(),t.isFocused=!0},searchInput:n,searchApi:t}}}),mr=(0,a.Z)(fr,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-search-input"),l=(0,r.up)("doc-search-results");return(0,r.wg)(),(0,r.iD)("div",{ref:"rootEl",class:(0,r.C_)(["absolute hidden transition-all duration-300 ease-out right-25 lg:flex lg:flex-col lg:ml-auto",e.searchApi.isFocused?"w-[42rem]":"w-40"]),onClick:t[0]||(t[0]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.onRootClick&&e.onRootClick.apply(e,t)}),onKeydown:t[1]||(t[1]=(0,r.D2)((function(t){return e.searchApi.isFocused=!1}),["tab"]))},[(0,r.Wm)(a,{ref:"searchInput",class:(0,r.C_)(["self-end transition-all duration-300 ease-out",e.searchApi.isFocused?"w-96":"w-40"])},null,8,["class"]),(0,r.Wm)(l,{class:"absolute max-h-[32rem] pt-3 mt-2 border flex border-base-border shadow-lg"})],34)}]]);var vr={ref:"searchRoot",class:"flex flex-col h-full"},gr={class:"flex items-center justify-between shrink-0 h-16 bg-white md:h-20 dark:bg-dark-850"},br=r.lR;const yr=(0,r.aZ)({name:"DocSearchMobile",components:{Teleport:br,DocSearchInput:or,DocSearchResults:pr},setup:function(){var e=(0,r.iH)(),t=(0,r.iH)(),n=(0,Xn.Rx)(t);return(0,r.JJ)(Xn.xf,n),{Teleport:br,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}}}),wr=(0,a.Z)(yr,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-search-input"),l=(0,r.up)("doc-icon-arrow-right"),c=(0,r.up)("doc-icon-button"),u=(0,r.up)("doc-search-results"),d=(0,r.up)("doc-icon-search"),h=(0,r.up)("doc-drawer");return(0,r.wg)(),(0,r.j4)(h,{ref:"docDrawer",class:"md:w-104","hide-event":["swipe-right","click"],onShown:e.onShown,onHidden:e.onHidden},{default:(0,r.w5)((function(){return[(0,r._)("div",vr,[(0,r._)("div",gr,[(0,r.Wm)(a,{class:"ml-3 w-full",onSelect:e.hideDrawer},null,8,["onSelect"]),(0,r.Wm)(c,{class:"w-10 h-10 ml-3",style:{"margin-right":"0.875rem"},"icon-size":"22",onClick:e.hideDrawer},{default:(0,r.w5)((function(){return[(0,r.Wm)(l)]})),_:1},8,["onClick"])]),(0,r.Wm)(u,{class:"pb-6",style:{"max-height":"100%"},"is-mobile":!0,onSelect:e.hideDrawer},null,8,["onSelect"])],512),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{to:"#retype-mobile-search-button"},{default:(0,r.w5)((function(){return[(0,r.Wm)(c,{class:"w-10 h-10 lg:hidden","icon-size":"20",onClick:(0,r.iM)(e.show,["stop"])},{default:(0,r.w5)((function(){return[(0,r.Wm)(d)]})),_:1},8,["onClick"])]})),_:1}))]})),_:1},8,["onShown","onHidden"])}]]);var Sr={class:"flex items-center shrink-0 h-16 px-6 -ml-6 bg-sidebar-left-bg border-b border-sidebar-left-border md:hidden"},xr={ref:"sidebarFooter"},kr={key:0,ref:"sidebarLinksEl",class:"overflow-y-auto h-full"},Er=n(1296),_r=n.n(Er);const Cr=e=>"object"==typeof e&&null!=e&&1===e.nodeType,Tr=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,Ar=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return Tr(n.overflowY,t)||Tr(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},Lr=(e,t,n,r,i,o,s,a)=>o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0,Dr=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},Ir=(e,t)=>{var n,r,i,o;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(!Cr(e))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,p=[];let f=e;for(;Cr(f)&&d(f);){if(f=Dr(f),f===h){p.push(f);break}null!=f&&f===document.body&&Ar(f)&&!Ar(document.documentElement)||null!=f&&Ar(f,u)&&p.push(f)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,v=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:g,scrollY:b}=window,{height:y,width:w,top:S,right:x,bottom:k,left:E}=e.getBoundingClientRect();let _="start"===a||"nearest"===a?S:"end"===a?k:S+y/2,C="center"===l?E+w/2:"end"===l?x:E;const T=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:i,right:o,bottom:c,left:u}=t.getBoundingClientRect();if("if-needed"===s&&S>=0&&E>=0&&k<=v&&x<=m&&S>=i&&k<=c&&E>=u&&x<=o)return T;const d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),A=parseInt(d.borderTopWidth,10),L=parseInt(d.borderRightWidth,10),D=parseInt(d.borderBottomWidth,10);let I=0,R=0;const O="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-L:0,M="offsetHeight"in t?t.offsetHeight-t.clientHeight-A-D:0,N="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,F="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)I="start"===a?_:"end"===a?_-v:"nearest"===a?Lr(b,b+v,v,A,D,b+_,b+_+y,y):_-v/2,R="start"===l?C:"center"===l?C-m/2:"end"===l?C-m:Lr(g,g+m,m,f,L,g+C,g+C+w,w),I=Math.max(0,I+b),R=Math.max(0,R+g);else{I="start"===a?_-i-A:"end"===a?_-c+D+M:"nearest"===a?Lr(i,c,n,A,D+M,_,_+y,y):_-(i+n/2)+M/2,R="start"===l?C-u-f:"center"===l?C-(u+r/2)+O/2:"end"===l?C-o+L+O:Lr(u,o,r,f,L+O,C,C+w,w);const{scrollLeft:e,scrollTop:s}=t;I=Math.max(0,Math.min(s+I/F,t.scrollHeight-n/F+M)),R=Math.max(0,Math.min(e+R/N,t.scrollWidth-r/N+O)),_+=s-I,C+=e-R}T.push({el:t,top:I,left:R})}return T},Rr=e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"};function Or(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;if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(Ir(e,t));const n="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:r,top:i,left:o}of Ir(e,Rr(t)))r.scroll({top:i,left:o,behavior:n})}var Mr=["href"],Nr={key:0,class:"flex shrink-0 items-center justify-center w-6 h-6 mr-2"},Fr=["innerHTML"],Pr=["src"],Hr=["textContent"],Wr={key:1,class:"absolute right-0 h-full bg-nav-item-border-active w-px"},Br=n(2376),Vr=n(2110),jr={key:0},qr=["innerHTML"],zr=["src","height","width"],$r={key:1},Ur=["innerHTML"],Zr=["src","height","width"];const Kr=(0,r.aZ)({name:"RetypeNavBadge",components:{DocEmoji:pt},props:{badge:{type:[String,Object],required:!0},class:{type:String,default:""},onNavigate:{type:Function,default:void 0}},setup:function(e){var t=(0,r.Fl)((function(){return"string"==typeof e.badge?{text:e.badge}:e.badge})),n=(0,r.Fl)((function(){return t.value.text||""})),i=(0,r.Fl)((function(){return!!n.value.trim()})),o=(0,r.Fl)((function(){return t.value.link?"a":"span"})),s=(0,r.Fl)((function(){var e=t.value.s||t.value.e,n=t.value.iconAlign||"left";return e&&"left"===n})),a=(0,r.Fl)((function(){var e=t.value.s||t.value.e,n=t.value.iconAlign||"left";return e&&"right"===n})),l=(0,r.Fl)((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.Fl)((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.Fl)((function(){var e={};return t.value.margin&&(e.margin=t.value.margin),e}));return{badgeConfig:t,badgeText:n,badgeElement:o,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:i}}}),Yr=(0,a.Z)(Kr,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon"),l=(0,r.up)("doc-emoji");return(0,r.wg)(),(0,r.j4)((0,r.LL)(e.badgeElement),{href:e.badgeConfig.link,target:e.badgeConfig.target,title:e.badgeConfig.title,class:(0,r.C_)(["no-link inline-flex align-middle items-center justify-center font-medium leading-none whitespace-nowrap",e.badgeClasses]),style:(0,r.j5)(e.badgeStyle),onClick:e.onBadgeClick},{default:(0,r.w5)((function(){return[e.showIconLeft?((0,r.wg)(),(0,r.iD)("span",jr,[e.badgeConfig.s&&e.badgeConfig.s.startsWith("<")?((0,r.wg)(),(0,r.j4)(a,{key:0,class:(0,r.C_)(["mb-px inline-flex",{"mr-2":e.hasText}]),height:e.iconSize,width:e.iconSize},{default:(0,r.w5)((function(){return[(0,r._)("g",{innerHTML:e.badgeConfig.s},null,8,qr)]})),_:1},8,["class","height","width"])):e.badgeConfig.s?((0,r.wg)(),(0,r.iD)("img",{key:1,src:e.badgeConfig.s,class:(0,r.C_)(["mb-px inline-flex",{"mr-2":e.hasText}]),height:e.iconSize,width:e.iconSize},null,10,zr)):e.badgeConfig.e?((0,r.wg)(),(0,r.j4)(l,{key:2,class:(0,r.C_)({"mr-2":e.hasText}),emoji:e.badgeConfig.e},null,8,["class","emoji"])):(0,r.kq)("",!0)])):(0,r.kq)("",!0),(0,r._)("span",null,(0,r.zw)(e.badgeText),1),e.showIconRight?((0,r.wg)(),(0,r.iD)("span",$r,[e.badgeConfig.s&&e.badgeConfig.s.startsWith("<")?((0,r.wg)(),(0,r.j4)(a,{key:0,class:(0,r.C_)(["mb-px inline-flex",{"ml-2":e.hasText}]),height:e.iconSize,width:e.iconSize},{default:(0,r.w5)((function(){return[(0,r._)("g",{innerHTML:e.badgeConfig.s},null,8,Ur)]})),_:1},8,["class","height","width"])):e.badgeConfig.s?((0,r.wg)(),(0,r.iD)("img",{key:1,src:e.badgeConfig.s,class:(0,r.C_)(["mb-px inline-flex",{"ml-2":e.hasText}]),height:e.iconSize,width:e.iconSize},null,10,Zr)):e.badgeConfig.e?((0,r.wg)(),(0,r.j4)(l,{key:2,class:(0,r.C_)({"ml-2":e.hasText}),emoji:e.badgeConfig.e},null,8,["class","emoji"])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},8,["href","target","title","class","style","onClick"])}]]);var Gr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(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())}))},Xr=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};const Qr=(0,r.aZ)({name:"DocSidebarLink",components:{RetypeNavBadge:Yr},props:{item:{type:Object,required:!0},depth:{type:Number,default:0},isFiltered:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.iH)(),n=(0,r.Fl)((function(){return e.item.children&&e.item.children.length>0||e.item.hash})),i=(0,r.Fl)((function(){return"stack"===e.item.mode})),o=(0,r.Fl)((function(){return!(!e.item.icon&&!e.item.emoji)})),s=(0,_t.sy)(),a=(0,_t.Rs)(),l=I().appendDocumentName?I().documentName:"",c=(0,r.Fl)((function(){return e.item.clickable?e.item.url?e.item.url.startsWith(I().base)?a+e.item.url.slice(I().base.length):e.item.url:e.item.path&&"/"!==e.item.path?!I().trailingSlash&&l&&e.item.path?"".concat(a).concat(e.item.path,"/").concat(l):"".concat(a).concat(e.item.path).concat(l):(0,_t.wE)(a):null})),u=(0,r.Fl)((function(){return e.item.icon&&!e.item.icon.startsWith("<")&&-1==e.item.icon.indexOf("://")?a+e.item.icon:e.item.icon})),p=(0,Et.t)().route,f=(0,r.Fl)((function(){if(e.item.url)return!1;var t=s+(0,_t.cD)(p.value.path),n=c.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))})),m=(0,h.oR)().store,v=(0,r.Fl)((function(){return m.state.sidebarLookup})),g=v.value.get(e.item.path);(e.isFiltered||e.item.open||i.value)&&_();var b=(0,Br.i)(),y=b.result,w=b.error,S=b.loading,x=b.execute,k="".concat(location.origin).concat(Vr.as);function E(){return Gr(this,void 0,void 0,(function(){return Xr(this,(function(t){switch(t.label){case 0:return[4,x("".concat(k,"/").concat(e.item.hash,".json"))];case 1:if(t.sent(),w.value)throw new Error("Error fetching sidebar navigation items. ".concat(w.value));return(0,d.rw)(v.value,y.value,I().trailingSlash),[2]}}))}))}function _(t){var n;return Gr(this,void 0,void 0,(function(){var r;return Xr(this,(function(i){switch(i.label){case 0:return(r=t||g)?!e.item.hash||(null===(n=e.item.children)||void 0===n?void 0:n.length)?[3,2]:[4,E()]:[2];case 1:i.sent(),i.label=2;case 2:return m.actions.updateSidebarLookupItem(r,"open",!0),[2]}}))}))}function C(){g&&m.actions.updateSidebarLookupItem(g,"open",!1)}function T(){g&&g.open?C():_()}function A(){var t;f.value&&(n.value&&_(),null===(t=e.item.parentNodes)||void 0===t||t.forEach((function(e){_(v.value.get(e))})))}(0,r.YP)((function(){return e.isFiltered}),(function(e){e?_(g):(C(),A())}));var L=(0,r.iH)(!1);(0,r.bv)((function(){f.value&&t.value&&m.actions.setActiveSidebarEl(t.value),A(),(0,r.Y3)((function(){L.value=!0}))}));var D=(0,r.Fl)((function(){var e;return(null===(e=I().navIcons)||void 0===e?void 0:e.mode)||"all"})),R=(0,r.Fl)((function(){return"none"!==D.value})),O=(0,r.Fl)((function(){if(!R.value)return!1;var t=D.value;return"all"===t||!("folders"!==t||!n.value)||"pages"===t&&!n.value||"top"===t&&0===e.depth})),M=(0,r.Fl)((function(){var e=[];return!n.value||i.value?e.push("ml-nav-badge-margin-left"):e.push("ml-nav-badge-margin-left-alt"),e.join(" ")}));return{sidebarLinkRef:t,isGroup:n,isStack:i,hasCustomIcon:o,href:c,icon:u,isActive:f,onLinkClick:function(e){if(!(0,d.pI)(e)){if(f.value)e.preventDefault();else if((null==g?void 0:g.open)&&c.value)return;T()}},toggle:T,loading:S,transitionsEnabled:L,onEnter:function(e){L.value&&(e.style.height="0"),(0,r.Y3)((function(){e.style.height="".concat(e.scrollHeight,"px")}))},onAfterEnter:function(e){(0,r.Y3)((function(){e.style.height="auto"}))},onBeforeLeave:function(e){e.style.height="".concat(e.scrollHeight)},onLeave:function(e){e.style.height="0px"},lookup:v,lookupItem:g,showSidebarIcons:R,shouldShowIcon:O,badgeClasses:M}}}),Jr=(0,a.Z)(Qr,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon"),l=(0,r.up)("doc-emoji"),c=(0,r.up)("doc-icon-folder"),u=(0,r.up)("retype-nav-badge"),d=(0,r.up)("doc-loading-spinner"),h=(0,r.up)("doc-icon-chevron-right"),p=(0,r.up)("doc-sidebar-link");return!1!==e.item.visible?((0,r.wg)(),(0,r.iD)("li",{key:0,class:(0,r.C_)({"menu-section mt-4 mb-4":e.isStack})},[(0,r._)("div",{class:(0,r.C_)(["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-weight 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._)("a",{ref:"sidebarLinkRef",class:(0,r.C_)(["flex flex-1 items-center",{"hover:text-nav-item-text-active-hover":e.href}]),href:e.href||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.wg)(),(0,r.iD)("span",Nr,[e.item.icon&&e.item.icon.startsWith("<")?((0,r.wg)(),(0,r.j4)(a,{key:0,class:"w-4.5 h-4.5"},{default:(0,r.w5)((function(){return[(0,r._)("g",{innerHTML:e.item.icon},null,8,Fr)]})),_:1})):e.item.icon?((0,r.wg)(),(0,r.iD)("img",{key:1,src:e.icon,class:"w-4.5"},null,8,Pr)):e.item.emoji?((0,r.wg)(),(0,r.j4)(l,{key:2,emoji:e.item.emoji},null,8,["emoji"])):e.item.icon||0!==e.depth||!e.isGroup||e.isStack?(0,r.kq)("",!0):((0,r.wg)(),(0,r.j4)(a,{key:3,class:"w-4.5 h-4.5"},{default:(0,r.w5)((function(){return[(0,r.Wm)(c)]})),_:1}))])):(0,r.kq)("",!0),(0,r._)("span",{class:(0,r.C_)(["py-1.5",{"font-nav-item-text-stack-weight text-xs text-nav-item-text-stack nav-item-text-stack-case":e.isStack,"text-sm":!e.isStack}]),textContent:(0,r.zw)(e.item.label)},null,10,Hr),e.item.badge?((0,r.wg)(),(0,r.j4)(u,{key:1,badge:e.item.badge,class:(0,r.C_)(e.badgeClasses),"on-navigate":e.onLinkClick},null,8,["badge","class","on-navigate"])):(0,r.kq)("",!0)],10,Mr),e.isGroup&&!e.isStack?((0,r.wg)(),(0,r.iD)("div",{key:0,class:(0,r.C_)(["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 hover:bg-opacity-50":e.isActive&&!e.loading,"hover:bg-gray-200 dark:hover:bg-dark-500":!e.loading}])},[e.loading?((0,r.wg)(),(0,r.j4)(d,{key:0,size:16})):((0,r.wg)(),(0,r.iD)("button",{key:1,class:(0,r.C_)(["text-nav-item-button group-hover:text-nav-item-text-hover focus:outline-none",{"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.Wm)(a,{class:"w-5 h-5"},{default:(0,r.w5)((function(){return[(0,r.Wm)(h)]})),_:1})],2))],2)):(0,r.kq)("",!0),e.isActive?((0,r.wg)(),(0,r.iD)("span",Wr)):(0,r.kq)("",!0)],2),e.isGroup?((0,r.wg)(),(0,r.j4)(r.uT,{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.w5)((function(){var t,n;return[(0,r.wy)((0,r._)("ul",{class:(0,r.C_)(["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.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.item.children,(function(t){return(0,r.wg)(),(0,r.j4)(p,{key:t.path,item:t,depth:e.depth+1,"is-filtered":e.isFiltered},null,8,["item","depth","is-filtered"])})),128))],2),[[r.F8,e.isGroup&&(e.item.open||e.isStack)]])]})),_:1})):(0,r.kq)("",!0)],2)):(0,r.kq)("",!0)}]]),ei=(0,r.aZ)({name:"DocSidebarLinks",components:{DocSidebarLink:Jr},props:{items:{type:Array,required:!0},isFiltered:{type:Boolean,required:!0}},setup:function(){var e=(0,r.iH)(),t=(0,r.iH)(),n=(0,r.iH)(0),i=(0,r.iH)(),o=(0,h.oR)().store,s=(0,r.Fl)((function(){return o.state.sidebarActiveEl})),a=Sn(s,{threshold:1}).elements,l=_r()((function(){var e,r,i=(null===(e=t.value)||void 0===e?void 0:e.scrollTop)||0;o.state.sidebarScroll!==i&&(n.value=(null===(r=t.value)||void 0===r?void 0:r.scrollTop)||0,o.actions.setSidebarScroll(n.value))}),200);return(0,r.bv)((function(){var n,r,c;i.value=e.value&&new A.Z(e.value),t.value=null===(n=i.value)||void 0===n?void 0:n.getScrollElement(),null===(c=null===(r=i.value)||void 0===r?void 0:r.getScrollElement())||void 0===c||c.addEventListener("scroll",l),t.value&&(t.value.scrollTop=o.state.sidebarScroll),setTimeout((function(){!a.value.some((function(e){return e.isIntersecting}))&&s.value&&Or(s.value,{behavior:"smooth",block:"center",boundary:t.value})}),200)})),(0,r.Jd)((function(){var e;null===(e=t.value)||void 0===e||e.removeEventListener("scroll",l)})),{sidebarLinksEl:e}}}),ti=(0,a.Z)(ei,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-sidebar-link");return e.items.length?((0,r.wg)(),(0,r.iD)("ul",kr,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.items,(function(t){return(0,r.wg)(),(0,r.j4)(a,{key:t.path,item:t,"is-filtered":e.isFiltered},null,8,["item","is-filtered"])})),128))],512)):(0,r.kq)("",!0)}]]);var ni={id:"retype-sidebar-filter",class:"relative flex items-center w-full"},ri={class:"absolute flex items-center justify-center h-full pl-3 text-filter-placeholder"},ii=["value","placeholder"];const oi=(0,r.aZ)({name:"DocSidebarFilter",props:{modelValue:String,isOpen:Boolean},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,i=(0,r.iH)(),o=I().sidebarFilterPlaceholder,s=rr(o),a=s.currentPlaceholder,l=s.onFocus,c=s.onBlur,u=_r()((function(e){n("update:modelValue",e.target.value)}),200);return(0,r.YP)((function(){return e.isOpen}),(function(){var e;null===(e=i.value)||void 0===e||e.blur()})),{input:i,placeholder:o,currentPlaceholder:a,clear:function(){var e;n("update:modelValue",""),null===(e=i.value)||void 0===e||e.focus()},onInput:u,onFocus:l,onBlur:c}}}),si=(0,a.Z)(oi,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-filter"),l=(0,r.up)("doc-icon"),c=(0,r.up)("doc-icon-x"),u=(0,r.up)("doc-icon-button");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r._)("div",ni,[(0,r._)("div",ri,[(0,r.Wm)(l,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1})]),(0,r._)("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-none 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,ii),e.modelValue?((0,r.wg)(),(0,r.j4)(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.w5)((function(){return[(0,r.Wm)(c)]})),_:1},8,["onClick"])):(0,r.kq)("",!0)])])}]]);var ai=function(){return ai=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ai.apply(this,arguments)},li=r.lR;const ci=(0,r.aZ)({name:"DocSidebar",components:{Teleport:li,DocSidebarLinks:ti,DocSidebarFilter:si,DocOverlay:tt},setup:function(){var e=(0,r.iH)(!1),t=(0,h.oR)().store,n=(0,r.iH)();!function(e){var t=(0,r.Fl)((function(){return e.state.sidebarLookup}));e.state.initialPageLoad&&function(){if(e.state.sidebar.id&&e.state.sidebar.id===I().id)r=new Map,(i=function(e){e.forEach((function(e){e.children&&(r.set(e.path,e),i(e.children))}))})(e.state.sidebar.data),e.actions.setSidebarLookupData(r);else{var n=(0,d.am)(t.value,I().sidebar,I().trailingSlash);e.actions.setSidebarData({id:I().id,data:n})}var r,i}()}(t);var i=function(e){var t=(0,r.iH)(""),n=(0,r.iH)(!1),i=(0,r.Fl)((function(){return e.state.sidebar})),o=(0,r.Fl)((function(){var e=t.value.toLowerCase();return n.value=!!e,function(e){var t=function(n,r){if(!r.visible)return n;var i=[],o=r.searchLabel.includes(e);return r.children?((i=o?r.children:r.children.reduce(t,[])).length||r.clickable&&o||!e||o)&&n.push(ai(ai({},r),{children:i})):e&&!o||n.push(r),n};return i.value.data.reduce(t,[])}(e)}));return{query:t,isFiltered:n,filteredItems:o}}(t),o=i.query,s=i.isFiltered,a=i.filteredItems,l=rt(),c=l.enableBodyScroll,u=l.disableBodyScroll;return{Teleport:li,sidebarFooter:n,isOpen:e,show:function(){e.value=!0,u()},hide:function(){e.value=!1,c()},filteredItems:a,isFiltered:s,query:o,showSidebarFilter:I().showSidebarFilter}}}),ui=(0,a.Z)(ci,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-arrow-left"),l=(0,r.up)("doc-icon-button"),c=(0,r.up)("doc-sidebar-filter"),u=(0,r.up)("doc-sidebar-links"),d=(0,r.up)("doc-icon-menu"),h=(0,r.up)("doc-overlay");return(0,r.wg)(),(0,r.iD)("aside",{id:"retype-sidebar-left",class:(0,r.C_)(["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.j5)({transform:e.isOpen?"translateX(0)":""})},[(0,r._)("div",Sr,[(0,r.Wm)(l,{class:"w-10 h-10 ml-3.5 md:hidden","icon-size":"22",onClick:e.hide},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1},8,["onClick"]),e.showSidebarFilter?((0,r.wg)(),(0,r.j4)(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.kq)("",!0)]),e.showSidebarFilter?((0,r.wg)(),(0,r.j4)(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.kq)("",!0),(0,r.Wm)(u,{class:(0,r.C_)(["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._)("div",xr,[(0,r.WI)(e.$slots,"sidebar-footer")],512),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{to:"#retype-sidebar-left-toggle-button"},{default:(0,r.w5)((function(){return[(0,r.Wm)(l,{class:"w-10 h-10 ml-3.5 md:hidden","icon-size":"24",onClick:e.show},{default:(0,r.w5)((function(){return[(0,r.Wm)(d)]})),_:1},8,["onClick"])]})),_:1})),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.w5)((function(){return[(0,r.Wm)(h,{"is-open":e.isOpen,onSwipeLeft:e.hide,onClick:e.hide},null,8,["is-open","onSwipeLeft","onClick"])]})),_:1}))],6)}]]);var di={id:"retype-sidebar-right",ref:"content",class:"w-full h-full overflow-auto"},hi={key:0,class:"flex items-center justify-between h-16 mb-4 border-b lg:border-none lg:h-auto dark:border-base-border"},pi={id:"retype-toc-heading",class:"px-5 font-toc-heading-weight text-xs text-toc-heading toc-heading-case"};const fi=(0,r.aZ)({name:"DocSidebarRightToggle",emits:["click"]}),mi=(0,a.Z)(fi,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-align-right"),l=(0,r.up)("doc-icon-button");return(0,r.wg)(),(0,r.j4)(l,{id:"retype-sidebar-right-toggle-button",class:"w-10 h-10 bg-white dark:bg-dark-850 bg-opacity-80 dark:bg-opacity-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.w5)((function(){return[(0,r.Wm)(a)]})),_:1})}]]);var vi={key:0,class:"pb-4 break-words"},gi=n(9843);const bi=(0,r.aZ)({name:"DocToc",emits:["link-click"],setup:function(e,t){var n=t.emit,i=(0,r.iH)([]);!function(e){var t,n,i=-1,o=-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.vE)(),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,i=n.length-1;if(t>=r&&t<=i)if(e>=n[t].el.offsetTop){if(r=t+1,t===i||e<n[r].el.offsetTop)return t}else if(i=t-1,t>0&&e>=n[i].el.offsetTop)return i;for(;r<=i;){var o=i+r>>1,s=e-n[o].el.offsetTop;if(s>0)r=o+1;else{if(!(s<0)){r=o;break}i=o-1}}return r>i?i:r}(n,i,t),s=function(e,t,n,r){var i=Math.max(0,n),o=r.length-1;if(n===o)return o;if(t>=i&&t<=o)if(e>=r[t].el.offsetTop){if(i=t+1,t===o||e<r[i].el.offsetTop)return t}else if(o=t-1,t>0&&e>=r[o].el.offsetTop)return o;if(o<=n)return n;for(;i<=o;){var s=o+i>>1,a=e-r[s].el.offsetTop;if(a>0)i=s+1;else{if(!(a<0)){i=s;break}o=s-1}}return i>o?o:i}(n+Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)+c-2*l,o,r,t);r<0?s>=0&&(r=0):s<r&&(s=r),r<0?i>=0&&p(t,i,o,!1):i<0?p(t,r,s,!0):s<i||r>o?(p(t,r,s,!0),p(t,i,o,!1)):r<=i?s<=o?(p(t,r,i-1,!0),p(t,s+1,o,!1)):(p(t,r,i-1,!0),p(t,o,s,!0)):s<=o?(p(t,i,r-1,!1),p(t,s+1,o,!1)):(p(t,o,s,!0),p(t,i,r-1,!1)),i=r,o=s}}function p(e,t,n,r){for(var i=[],o=t;o<=n;++o)e[o].isActive=r,r&&i.push(e[o]);r&&i.length&&function(e){if(u&&e.length){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;Or(r,{behavior:"smooth",block:"center",boundary:u,scrollMode:"if-needed"}),s=t}}}(i)}(0,v.Up)(window,"scroll",h,3,300),(0,v.Up)(window,"resize",h,3,300),a&&(n=new gi.ResizeSensor(a,(0,v.BK)(h,3,300))),(0,r.Jd)((function(){n&&(n.detach(),n=void 0)}))}(i);var o=(0,h.oR)().store,s=kt().pageData;return(0,r.bv)((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):[];i.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),i=[];return r.forEach((function(e){var t=parseInt(e.tagName.replace("H",""),10);-1===i.indexOf(t)&&i.push(t)})),i.sort((function(e,t){return e-t})),r.forEach((function(e){var n,r,o=parseInt(e.tagName.replace("H",""),10),s=i.indexOf(o),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:o,idx:s,slug:c,title:l,isActive:!1})}})),t}(r),o.state.sidebarRightHasContent=i.value.length>0})),{tocData:i,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")}}}}),yi=(0,a.Z)(bi,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-anchor-trigger");return e.tocData&&e.tocData.length?((0,r.wg)(),(0,r.iD)("ul",vi,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.tocData,(function(t){return(0,r.wg)(),(0,r.iD)("li",{key:t.slug},[(0,r.Wm)(a,{class:(0,r.C_)(["relative block px-5 py-1 toc-link",e.classList(t)]),style:(0,r.j5)(e.getPaddingLeft(t)),to:"#".concat(t.slug),onClick:e.onClick},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(t.title)+" ",1),(0,r._)("div",{style:{width:"1px"},class:(0,r.C_)({"absolute top-0 left-0 h-full bg-toc-border-active":t.isActive})},null,2)]})),_:2},1032,["class","style","to","onClick"])])})),128))])):(0,r.kq)("",!0)}]]);var wi={key:0,class:"px-5 text-sm"},Si={key:0,class:"mt-3 mb-2 text-gray-600 uppercase dark:text-dark-400"},xi=["href"],ki={key:2,class:"font-semibold text-base-text"},Ei={key:1};const _i=(0,r.aZ)({name:"DocRelatedClassItem",props:{item:{type:Object,default:function(){return{}}},depth:{type:Number,default:0}},setup:function(e){var t=(0,r.Fl)((function(){return void 0!==e.item.children&&e.item.children.length>0})),n=(0,r.Fl)((function(){var t=e.depth>1?.5:0;return"".concat((e.depth-1)*t,"rem")}));return{hasChildren:t,marginLeft:n,showIcon:(0,r.Fl)((function(){return!0!==e.item.isGroup&&void 0!==e.item.children&&e.item.children.length>0})),onItemClick:function(e,t){(0,d.pI)(t)||(t.preventDefault(),(0,p.Vn)(e))}}}}),Ci=(0,a.Z)(_i,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-related-class-item");return(0,r.wg)(),(0,r.iD)("li",{class:(0,r.C_)(["relative",{"pl-1":e.depth>1,"mb-4":0===e.depth}])},[(0,r._)("div",{class:"flex items-center truncate",style:(0,r.j5)({marginLeft:e.marginLeft,minHeight:"1.875rem"})},[e.item.isGroup?((0,r.wg)(),(0,r.iD)("h6",Si,(0,r.zw)(e.item.title),1)):e.item.href?((0,r.wg)(),(0,r.iD)("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.zw)(e.item.label),9,xi)):((0,r.wg)(),(0,r.iD)("div",ki,(0,r.zw)(e.item.label),1))],4),e.showIcon?((0,r.wg)(),(0,r.iD)("span",{key:0,class:"absolute w-2 h-3 border-b border-l border-gray-600",style:(0,r.j5)({marginLeft:e.marginLeft,marginTop:"0.375rem"})},null,4)):(0,r.kq)("",!0),e.hasChildren?((0,r.wg)(),(0,r.iD)("ul",Ei,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.item.children,(function(t,n){return(0,r.wg)(),(0,r.j4)(a,{key:n,item:t,depth:e.depth+1},null,8,["item","depth"])})),128))])):(0,r.kq)("",!0)],2)}]]),Ti=Ci,Ai=(0,r.aZ)({name:"DocRelatedClasses",components:{DocRelatedClassItem:Ti},setup:function(){var e=kt().pageData;return{relatedClasses:(0,r.Fl)((function(){var t;return(null===(t=e.value)||void 0===t?void 0:t.relatedClasses)||[]}))}}}),Li=(0,a.Z)(Ai,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-related-class-item");return e.relatedClasses.length?((0,r.wg)(),(0,r.iD)("ul",wi,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.relatedClasses,(function(e,t){return(0,r.wg)(),(0,r.j4)(a,{key:t,item:e},null,8,["item"])})),128))])):(0,r.kq)("",!0)}]]),Di=Li;var Ii=r.lR;const Ri=(0,r.aZ)({name:"DocSidebarRight",components:{Teleport:Ii,DocToc:yi,DocOverlay:tt,DocSidebarRightToggle:mi,DocRelatedClasses:Di},setup:function(){var e=(0,r.iH)(),t=(0,r.iH)(!1),n=(0,r.iH)(!1),i=kt().pageData,o=(0,h.oR)().store,s=(0,r.Fl)((function(){return i.value?i.value.relatedClasses?"DocRelatedClasses":"DocToc":null})),a=(0,r.Fl)((function(){var e,t;return"DocToc"===s.value?null!==(t=null===(e=i.value)||void 0===e?void 0:e.tocLabel)&&void 0!==t?t:I().resources.Toc_Contents_Label:"DocRelatedClasses"===s.value?I().resources.Toc_RelatedClasses_Label:null})),l=(0,r.Fl)((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.Fl)((function(){return{height:"DocRelatedClasses"===s.value?"calc(100vh - 10rem)":"calc(100vh - 5rem"}}));return(0,r.bv)((function(){n.value=!0,e.value&&new A.Z(e.value)})),{Teleport:Ii,content:e,isOpen:t,isMounted:n,store:o,show:function(){t.value=!0},hide:function(){t.value=!1},currentComponent:s,title:a,classes:l,styles:c}}}),Oi=(0,a.Z)(Ri,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-arrow-right"),l=(0,r.up)("doc-icon-button"),c=(0,r.up)("doc-sidebar-right-toggle"),u=(0,r.up)("doc-overlay");return(0,r.wg)(),(0,r.iD)("div",{class:(0,r.C_)(["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:transform-none lg:border-l lg:shadow-none lg:pt-6 focus:outline-none",e.classes]),style:(0,r.j5)(e.styles),onKeyup:t[0]||(t[0]=(0,r.D2)((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._)("div",di,[e.store.state.sidebarRightHasContent?((0,r.wg)(),(0,r.iD)("div",hi,[(0,r._)("div",pi,(0,r.zw)(e.title),1),(0,r.Wm)(l,{class:"w-10 h-10 ml-3 lg:hidden",style:{"margin-right":"0.875rem"},"icon-size":"22",onClick:e.hide},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1},8,["onClick"])])):(0,r.kq)("",!0),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.currentComponent),{onLinkClick:e.hide},null,40,["onLinkClick"]))],512),e.isMounted&&e.store.state.sidebarRightHasContent?((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{key:0,to:"#retype-sidebar-right-toggle"},{default:(0,r.w5)((function(){return[(0,r.Wm)(c,{class:"fixed right-3 z-40",onClick:e.show},null,8,["onClick"])]})),_:1})):(0,r.kq)("",!0),((0,r.wg)(),(0,r.j4)((0,r.LL)(e.Teleport),{to:"#retype-overlay-target"},{default:(0,r.w5)((function(){return[(0,r.Wm)(u,{"is-open":e.isOpen,onSwipeRight:e.hide,onClick:e.hide},null,8,["is-open","onSwipeRight","onClick"])]})),_:1}))],38)}],["__scopeId","data-v-bfb85f6e"]]);var Mi=["aria-checked"],Ni=["checked"],Fi={class:"inline-flex items-center"};const Pi=(0,r.aZ)({name:"DocSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup:function(e,t){var n=t.emit;return{isFocused:(0,r.iH)(!1),toggle:function(){n("update:modelValue",!e.modelValue)}}}}),Hi=(0,a.Z)(Pi,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("label",{class:"relative inline-block cursor-pointer whitespace-nowrap",role:"switch","aria-checked":e.modelValue},[(0,r._)("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,Ni),(0,r._)("div",Fi,[(0,r._)("div",{class:(0,r.C_)(["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._)("div",{class:(0,r.C_)(["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.j5)({transform:e.modelValue?"translateX(8px)":null})},null,6)]),(0,r.WI)(e.$slots,"default")],8,Mi)}]]),Wi=(0,r.aZ)({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)}))}}}),Bi=(0,r.aZ)({name:"DocTabs",components:{DocAnchorTarget:l},setup:function(e,t){var n,i,o,s,a=t.slots,c=(0,r.iH)(),u=(0,r.iH)(""),h=(null===(n=a.default)||void 0===n?void 0:n.call(a))||[],p={};u.value=(null===(o=null===(i=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===i?void 0:i.props)||void 0===o?void 0:o.id)||(null===(s=h[0].props)||void 0===s?void 0:s.id);var f=h.map((function(e){var t,n=null===(t=e.props)||void 0===t?void 0:t.id;return"#".concat(n)})),m=(0,Et.t)().route;function v(){if(m.value.hash&&f.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;p[e],p[e]=!0;var t=(0,r.m0)((function(){var e;null===(e=c.value)||void 0===e||e.dispatchEvent(new Event("onPluginReady")),t()}),{flush:"post"})}v(),p[u.value]=!0,(0,r.YP)(m,(function(){v()&&g()}));var b=(0,r.Fl)((function(){return h.map((function(e){var t,n=null===(t=e.props)||void 0===t?void 0:t.id,i=u.value===n;return(0,r.h)(l,{id:n},(function(){var t,o;return(0,r.h)("a",{href:"#".concat(n),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.pI)(e)||(e.preventDefault(),u.value!==n&&(u.value=n,g()))}},null===(o=(t=e.children).title)||void 0===o?void 0:o.call(t))}))}))})),y=(0,r.Fl)((function(){return h.map((function(e){var t;if(u.value===(null===(t=e.props)||void 0===t?void 0:t.id))return(0,r.h)((function(){return(0,r.h)("div",{class:"tab-content"},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)])}}}),Vi=Bi;var ji={class:"scheme-menu"},qi={class:"scheme-menu-item-text"},zi={class:"scheme-menu-item-text"},$i={class:"scheme-menu-item-text"};const Ui=(0,r.aZ)({name:"DocThemeSwitch",setup:function(){var e=(0,r.iH)(),t=(0,r.iH)("system"),n=(0,r.Fl)((function(){return"light"!==t.value&&("dark"===t.value||document.documentElement.classList.contains("dark"))})),i=(0,r.Fl)((function(){return"system"===t.value})),o=I().resources.Text_Light,s=I().resources.Text_Dark,a=I().resources.Text_System,l=(0,d.qn)(I().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 p(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.Nh)(I().base,localStorage,"retype_scheme",e),"dark"===e?c():u())}t.value=l||"system";var f,m=(0,r.iH)();return(0,r.bv)((function(){m.value=window.matchMedia("(prefers-color-scheme: dark)"),f=function(e){"system"===t.value&&(h(),e.matches?c():u())},m.value.addEventListener("change",f)})),(0,r.Jd)((function(){var e;null===(e=m.value)||void 0===e||e.removeEventListener("change",f)})),{dropdown:e,mode:t,isDark:n,isSystem:i,lightText:o,darkText:s,systemText:a,setTheme:p,onThemeSelect:function(t){var n;p(t),null===(n=e.value)||void 0===n||n.hide()},onDropdownClose:function(){}}}}),Zi=(0,a.Z)(Ui,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-moon"),l=(0,r.up)("doc-icon-sun"),c=(0,r.up)("doc-icon-button"),u=(0,r.up)("doc-icon"),d=(0,r.up)("doc-icon-device-desktop"),h=(0,r.up)("doc-dropdown");return(0,r.wg)(),(0,r.j4)(h,{id:"retype-scheme-button",ref:"dropdown",class:"inline-block",align:"right","menu-width":"10rem",onClose:e.onDropdownClose},{"button-content":(0,r.w5)((function(){return[(0,r.Wm)(c,{class:(0,r.C_)(["w-10 h-10",{"-mb-0.5":!e.isDark}]),"icon-size":"20"},{default:(0,r.w5)((function(){return[e.isDark?((0,r.wg)(),(0,r.j4)(a,{key:0})):((0,r.wg)(),(0,r.j4)(l,{key:1}))]})),_:1},8,["class"])]})),default:(0,r.w5)((function(){return[(0,r._)("div",ji,[(0,r._)("button",{class:(0,r.C_)(["scheme-menu-item",{"scheme-menu-item-active":"light"===e.mode}]),onClick:t[0]||(t[0]=function(t){return e.onThemeSelect("light")})},[(0,r.Wm)(u,{width:"16",height:"16"},{default:(0,r.w5)((function(){return[(0,r.Wm)(l)]})),_:1}),(0,r._)("span",qi,(0,r.zw)(e.lightText),1)],2),(0,r._)("button",{class:(0,r.C_)(["scheme-menu-item",{"scheme-menu-item-active":"dark"===e.mode}]),onClick:t[1]||(t[1]=function(t){return e.onThemeSelect("dark")})},[(0,r.Wm)(u,{width:"16",height:"16"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1}),(0,r._)("span",zi,(0,r.zw)(e.darkText),1)],2),(0,r._)("button",{class:(0,r.C_)(["scheme-menu-item",{"scheme-menu-item-active":"system"===e.mode}]),onClick:t[2]||(t[2]=function(t){return e.onThemeSelect("system")})},[(0,r.Wm)(u,{width:"16",height:"16"},{default:(0,r.w5)((function(){return[(0,r.Wm)(d)]})),_:1}),(0,r._)("span",$i,(0,r.zw)(e.systemText),1)],2)])]})),_:1},8,["onClose"])}],["__scopeId","data-v-0271b5b0"]]);var Ki={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"},Yi={class:"relative"},Gi={ref:"visibleLinksDiv",class:"flex whitespace-nowrap"},Xi={class:"block"},Qi=["innerHTML"],Ji={ref:"more",class:"mr-3 more-dropdown"},eo={class:"flex flex-col"},to={class:"flex items-center h-5 px-2 text-xs font-semibold text-white bg-base-500 rounded-full md:text-2xs"};const no=(0,r.aZ)({name:"DocToolbarMemberCount"}),ro=(0,a.Z)(no,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("span",to,[(0,r.WI)(e.$slots,"default")])}]]);var io=["aria-expanded","aria-disabled","disabled"],oo={class:"absolute left-0 z-20"},so={ref:"dropdownBottom",class:"h-2"},ao={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"},lo=function(){return lo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lo.apply(this,arguments)};const co=(0,r.aZ)({name:"ToolbarLinkDropdownContent",components:{DocAnchorTrigger:m},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,i=(0,r.iH)(3),o=(0,r.iH)(0),s=(0,r.Fl)((function(){return lo({maxHeight:"calc(100vh - 11rem)",minWidth:"".concat(e.linkWidth,"px")},!e.isSingleColumn&&{width:"".concat(o.value,"px")})})),a=(0,r.Fl)((function(){var t=Math.ceil(e.members.length/i.value);return{gridTemplateColumns:"repeat(".concat(i.value,", 1fr)"),gridTemplateRows:"repeat(".concat(t,", 1fr)")}})),l=rt(),c=l.enableBodyScroll,u=l.disableBodyScroll;function d(){var e=document.querySelector("#retype-content");o.value=e?e.clientWidth:0}nt((function(){!function(){var e=window.innerWidth;i.value=e<1124&&e>1024||e<900?2:3}(),d()})),(0,r.bv)(d);var h=function(){var e=(0,r.iH)();return{dropdownBottom:e,isIntersecting:Sn(e).isIntersecting}}(),p=h.dropdownBottom,f=h.isIntersecting,m=I().resources.API_MoreDropdownItems_Label;return{memberGridStyles:a,mmemberGridWrapperStyles:s,enableBodyScroll:c,disableBodyScroll:u,onClick:function(){c(),n("click")},dropdownBottom:p,isIntersecting:f,moreLabel:m}}}),uo=(0,a.Z)(co,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-anchor-trigger");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r._)("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.j5)(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._)("div",{class:(0,r.C_)({"sm:grid grid-flow-col":!e.isSingleColumn}),style:(0,r.j5)(e.memberGridStyles)},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.members,(function(n){return(0,r.wg)(),(0,r.j4)(a,{key:n.id,to:"#".concat(n.id),onClick:t[0]||(t[0]=function(t){return e.onClick()})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(n.name),1)]})),_:2},1032,["to"])})),128))],6),(0,r._)("div",so,null,512)],36),e.isIntersecting?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("span",ao,(0,r.zw)(e.moreLabel)+"... ",1))])}],["__scopeId","data-v-b251436a"]]),ho=(0,r.aZ)({name:"DocToolbarLinkDropdown",components:{DocToolbarMemberCount:ro,DocToolbarLinkDropdownContent:uo},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,i=(0,r.iH)(),o=(0,r.iH)(!1);return(0,lt.w)((function(e){var t,n=e.target;i.value===n||(null===(t=i.value)||void 0===t?void 0:t.contains(n))||(o.value=!1)})),(0,r.YP)(o,(function(e){n("update:modelValue",e)})),{dropdown:i,toggleDropdown:function(){o.value=!o.value},onBodyClick:lt.w,isOpen:o}}}),po=(0,a.Z)(ho,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-chevron-down"),l=(0,r.up)("doc-icon"),c=(0,r.up)("doc-toolbar-member-count"),u=(0,r.up)("doc-toolbar-link-dropdown-content");return(0,r.wg)(),(0,r.iD)("div",{ref:"dropdown",class:(0,r.C_)({hidden:e.inDropdown})},[(0,r._)("button",{class:(0,r.C_)(["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-none 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.Wm)(l,{class:"dark:text-white",width:"13",height:"13"},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1}),(0,r.Wm)(c,{class:"absolute top-0 right-0 -mt-3 -mr-2"},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.count),1)]})),_:1})],10,io),(0,r.Wm)(r.uT,{"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.w5)((function(){return[(0,r.wy)((0,r._)("div",oo,[(0,r.Wm)(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.F8,e.isOpen]])]})),_:1})],2)}]]),fo=(0,r.aZ)({name:"DocToolbarLink",components:{DocToolbarLinkDropdown:po,DocToolbarMemberCount:ro,DocAnchorTrigger:m},props:{link:{type:Object,required:!0},inDropdown:{type:Boolean,default:!1}},setup:function(e){var t=(0,r.iH)(),n=(0,r.iH)(!1),i=(0,h.oR)().store,o=(0,r.Fl)((function(){return i.getters.getVisibleGroupMembers(e.link.id)})),s=(0,r.Fl)((function(){return o.value.length})),a=(0,r.Fl)((function(){return s.value<=12})),l=(0,r.Fl)((function(){return 0===s.value})),c=(0,r.Fl)((function(){return 0===s.value?"":"#".concat(e.link.id)})),u=(0,r.Fl)((function(){return t.value?t.value.clientWidth:0}));return{linkEl:t,linkWidth:u,isSingleColumn:a,isDropdownOpen:n,disabled:l,href:c,count:s,members:o}}}),mo=(0,a.Z)(fo,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-toolbar-member-count"),l=(0,r.up)("doc-anchor-trigger"),c=(0,r.up)("doc-toolbar-link-dropdown");return(0,r.wg)(),(0,r.iD)("div",{ref:"linkEl",class:(0,r.C_)(["inline-flex h-8 text-sm leading-none",{"mr-3":!e.inDropdown,relative:e.isSingleColumn}]),onKeydown:t[1]||(t[1]=(0,r.D2)((function(t){return e.isDropdownOpen=!1}),["esc"]))},[(0,r.Wm)(l,{class:(0,r.C_)(["flex items-center justify-between grow px-3 font-medium text-gray-900 focus:bg-gray-400 focus:outline-none 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.w5)((function(){return[(0,r.WI)(e.$slots,"default"),(0,r.Wm)(a,{class:(0,r.C_)({hidden:!e.inDropdown})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.count),1)]})),_:1},8,["class"])]})),_:3},8,["class","to","disabled"]),(0,r.Wm)(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)}]]);const vo=(0,r.aZ)({name:"DocToolbarLinks",components:{DocToolbarLink:mo},setup:function(){var e=(0,r.iH)(),t=(0,r.iH)(0),n=function(){var e=(0,r.iH)(),t=(0,r.iH)(),n=I().toolbarLinks,i=(0,r.iH)([]),o=(0,r.iH)([]),s=(0,r.iH)([]);(0,r.bv)((function(){i.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&&i.value.length){s.value.push(a());var u=i.value.pop();u&&o.value.unshift(u)}else if(c>s.value[s.value.length-1]){var d=o.value[0];o.value.splice(0,1),i.value.push(d),s.value.pop()}(0,r.Y3)((function(){a()>c&&i.value.length&&l()}))};return{more:e,visibleLinksDiv:t,visibleLinks:i,invisibleLinks:o,updateNavLinks:l}}(),i=n.more,o=n.visibleLinksDiv,s=n.visibleLinks,a=n.invisibleLinks,l=n.updateNavLinks,c=(0,r.Fl)((function(){return s.value.length<=1&&t.value<960?"left":"right"}));function u(){t.value=window.innerWidth}return(0,r.bv)((function(){u(),l()})),nt((function(){u(),l()})),{dropdown:e,more:i,visibleLinksDiv:o,visibleLinks:s,invisibleLinks:a,dropdownAlignment:c,onClick:function(){e.value.hide()}}}}),go=(0,a.Z)(vo,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-toolbar-link"),l=(0,r.up)("doc-icon-more-horizontal"),c=(0,r.up)("doc-icon-button"),u=(0,r.up)("doc-dropdown");return(0,r.wg)(),(0,r.iD)("div",Yi,[(0,r._)("div",Gi,[(0,r._)("div",Xi,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.visibleLinks,(function(e){return(0,r.wg)(),(0,r.j4)(a,{key:e.id,link:e,"in-dropdown":!1},{default:(0,r.w5)((function(){return[(0,r._)("span",{innerHTML:e.shortLabel?e.shortLabel:e.label},null,8,Qi)]})),_:2},1032,["link"])})),128))]),(0,r.wy)((0,r._)("div",Ji,[(0,r.Wm)(u,{ref:"dropdown",class:"inline-block",align:e.dropdownAlignment},{"button-content":(0,r.w5)((function(){return[(0,r.Wm)(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.w5)((function(){return[(0,r.Wm)(l)]})),_:1})]})),default:(0,r.w5)((function(){return[(0,r._)("div",eo,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.invisibleLinks,(function(t){return(0,r.wg)(),(0,r.j4)(a,{key:t.id,link:t,"in-dropdown":!0,onClick:e.onClick},{default:(0,r.w5)((function(){return[(0,r._)("span",null,(0,r.zw)(t.label),1)]})),_:2},1032,["link","onClick"])})),128))])]})),_:1},8,["align"])],512),[[r.F8,e.invisibleLinks.length]])],512)])}]]);var bo={id:"docs-filters"},yo={class:"items-center hidden lg:flex"},wo={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"},So={class:"pt-2 pb-3"},xo={class:"px-5 pb-4 border-b dark:border-dark-500"},ko={class:"px-5 pt-4"},Eo={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"},_o={class:"pt-1"};const Co=(0,r.aZ)({name:"DocToolbarAccess",setup:function(){var e=(0,h.oR)().store;return{access:I().access,accessLabel:I().resources.API_AccessFilter_Label,selected:(0,r.Fl)({get:function(){return e.state.access},set:function(t){return e.actions.updateAccess(t)}}),isDirty:(0,r.Fl)((function(){return e.getters.isAccessDirty()}))}}}),To=(0,a.Z)(Co,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-shield"),l=(0,r.up)("doc-icon"),c=(0,r.up)("doc-checkbox"),u=(0,r.up)("doc-dropdown");return(0,r.wg)(),(0,r.iD)("div",null,[(0,r.Wm)(u,{class:"hidden lg:block",align:"right","menu-width":"9rem"},{"button-content":(0,r.w5)((function(t){var n=t.isOpen,i=t.isFocused;return[(0,r._)("button",{class:(0,r.C_)(["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||i?"border-gray-600 dark:bg-dark-450":"border-gray-400 dark:bg-dark-550"])},[e.isDirty?((0,r.wg)(),(0,r.iD)("span",Eo)):(0,r.kq)("",!0),(0,r.Wm)(l,{class:"mr-1 -ml-1",width:"14",height:"14",style:{"margin-bottom":"0"}},{default:(0,r.w5)((function(){return[(0,r.Wm)(a)]})),_:1}),(0,r._)("span",null,(0,r.zw)(e.accessLabel),1)],2)]})),default:(0,r.w5)((function(){return[(0,r._)("div",_o,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.access,(function(n){return(0,r.wg)(),(0,r.iD)("div",{key:n.value,class:"flex px-5 hover:bg-gray-200 dark:hover:bg-dark-500"},[(0,r.Wm)(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.w5)((function(){return[(0,r.Uk)((0,r.zw)(n.label),1)]})),_:2},1032,["modelValue","value"])])})),128))])]})),_:1}),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.access,(function(n){return(0,r.wg)(),(0,r.iD)("div",{key:n.value,class:"py-0.5 lg:hidden"},[(0,r.Wm)(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.w5)((function(){return[(0,r.Uk)((0,r.zw)(n.label),1)]})),_:2},1032,["modelValue","value"])])})),128))])}]]);var Ao={class:"relative",style:{width:"12.4375rem"}},Lo=["placeholder"];const Do=(0,r.aZ)({name:"DocToolbarMemberFilter",setup:function(){var e=(0,h.oR)().store,t=(0,r.iH)(),n=I().toolbarFilterPlaceholder,i=(0,r.Fl)({get:function(){return e.state.memberFilter},set:_r()((function(t){e.actions.updateMemberFilter(t)}),400)});function o(){var e;null===(e=t.value)||void 0===e||e.select()}return(0,r.bv)((function(){var e;window.innerWidth>960&&(null===(e=t.value)||void 0===e||e.focus(),o())})),function(e){var t=(0,Et.t)(),n=t.route,i=t.Router;n.value.query&&n.value.query.q&&(e.value=n.value.query.q),(0,r.YP)(e,(function(e){var t=e?{q:e}:{};n.value.query=t,i.replace(n.value)}))}(i),{input:t,query:i,placeholder:n,select:o,clear:function(){var e;i.value="",null===(e=t.value)||void 0===e||e.focus()}}}}),Io=(0,a.Z)(Do,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-icon-x"),l=(0,r.up)("doc-icon-button");return(0,r.wg)(),(0,r.iD)("div",Ao,[(0,r.wy)((0,r._)("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-none 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,Lo),[[r.nr,e.query,void 0,{trim:!0}]]),e.query?((0,r.wg)(),(0,r.j4)(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.w5)((function(){return[(0,r.Wm)(a)]})),_:1},8,["onClick"])):(0,r.kq)("",!0)])}]]),Ro=(0,r.aZ)({name:"DocToolbarFilters",components:{DocToolbarAccess:To,DocToolbarMemberFilter:Io},setup:function(){var e=(0,h.oR)().store;return{isFiltersDirty:(0,r.Fl)((function(){return e.getters.isFiltersDirty()}))}}}),Oo=(0,a.Z)(Ro,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-toolbar-access"),l=(0,r.up)("doc-toolbar-member-filter"),c=(0,r.up)("doc-icon-filter"),u=(0,r.up)("doc-icon"),d=(0,r.up)("doc-dropdown");return(0,r.wg)(),(0,r.iD)("div",bo,[(0,r._)("div",yo,[(0,r.Wm)(a,{class:"ml-3"}),(0,r.Wm)(l,{class:"ml-3"})]),(0,r.Wm)(d,{class:"lg:hidden",align:"right","menu-width":"13rem"},{"button-content":(0,r.w5)((function(n){var i=n.isOpen,o=n.isFocused;return[(0,r._)("button",{class:(0,r.C_)(["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-none focus:border-gray-600 dark:text-white dark:hover:bg-dark-450 transition-colors duration-200 ease-out",i||o?"border-gray-600 dark:bg-dark-450":"border-gray-400 dark:bg-dark-550"])},[e.isFiltersDirty?((0,r.wg)(),(0,r.iD)("span",wo)):(0,r.kq)("",!0),(0,r.Wm)(u,{class:"mb-0 sm:mr-1",width:"14",height:"14"},{default:(0,r.w5)((function(){return[(0,r.Wm)(c)]})),_:1}),t[0]||(t[0]=(0,r._)("span",{class:"hidden sm:inline"},"Filters",-1))],2)]})),default:(0,r.w5)((function(){return[(0,r._)("div",So,[(0,r._)("div",xo,[(0,r.Wm)(l)]),(0,r._)("div",ko,[(0,r.Wm)(a)])])]})),_:1})])}]]),Mo=(0,r.aZ)({name:"DocToolbar",components:{DocToolbarLinks:go,DocToolbarFilters:Oo},setup:function(){return{checkState:(0,r.iH)(!0),selected:(0,r.iH)([])}}}),No=(0,a.Z)(Mo,[["render",function(e,t,n,i,o,s){var a=(0,r.up)("doc-toolbar-links"),l=(0,r.up)("doc-toolbar-filters");return(0,r.wg)(),(0,r.iD)("div",Ki,[(0,r.Wm)(a,{class:"grow-0"}),(0,r.Wm)(l)])}]]);var Fo={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 Po=(0,r.aZ)({name:"DocToolbarMemberFilterNoResults",setup:function(){var e=(0,h.oR)().store,t=(0,r.Fl)((function(){return e.state.memberFilter})),n=(0,r.Fl)((function(){var t=0;return I().toolbarLinks.forEach((function(n){t+=e.getters.getVisibleGroupMembers(n.id).length})),t})),i=(0,r.Fl)((function(){return 0===n.value})),o=(0,r.Fl)((function(){return I().filterNotFoundMsg.replace("{query}",t.value)}));return{query:t,noResults:i,notFoundMsg:o}}}),Ho=(0,a.Z)(Po,[["render",function(e,t,n,i,o,s){return e.query&&e.noResults?((0,r.wg)(),(0,r.iD)("div",Fo,(0,r.zw)(e.notFoundMsg),1)):(0,r.kq)("",!0)}]]);var Wo={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 Bo=(0,r.aZ)({name:"DocIconAlignRight"}),Vo=(0,a.Z)(Bo,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Wo)}]]);var jo={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 qo=(0,r.aZ)({name:"DocIconArrowLeft"}),zo=(0,a.Z)(qo,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",jo)}]]);var $o={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 Uo=(0,r.aZ)({name:"DocIconArrowRight"}),Zo=(0,a.Z)(Uo,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",$o)}]]);var Ko={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 Yo=(0,r.aZ)({name:"DocIconArrowTop"}),Go=(0,a.Z)(Yo,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Ko)}]]);var Xo={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 Qo=(0,r.aZ)({name:"DocIconBox"}),Jo=(0,a.Z)(Qo,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Xo)}]]);var es={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 ts=(0,r.aZ)({name:"DocIconCheck"}),ns=(0,a.Z)(ts,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",es)}]]),rs=(0,r.aZ)({name:"DocIconCheckCircle"}),is=(0,a.Z)(rs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]);var os={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 ss=(0,r.aZ)({name:"DocIconChevronDown"}),as=(0,a.Z)(ss,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",os)}]]);var ls={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 cs=(0,r.aZ)({name:"DocIconChevronRight"}),us=(0,a.Z)(cs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",ls)}]]);var ds={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 hs=(0,r.aZ)({name:"DocIconDeviceDesktop"}),ps=(0,a.Z)(hs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",ds)}]]);var fs={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 ms=(0,r.aZ)({name:"DocIconFile"}),vs=(0,a.Z)(ms,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",fs)}]]);var gs={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 bs=(0,r.aZ)({name:"DocIconFilter"}),ys=(0,a.Z)(bs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",gs)}]]);var ws={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 Ss=(0,r.aZ)({name:"DocIconFolder"}),xs=(0,a.Z)(Ss,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",ws)}]]),ks=(0,r.aZ)({name:"DocIconHistory"}),Es=(0,a.Z)(ks,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]);var _s={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 Cs=(0,r.aZ)({name:"DocIconHome"}),Ts=(0,a.Z)(Cs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",_s)}]]),As=(0,r.aZ)({name:"DocIconInfo"}),Ls=(0,a.Z)(As,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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._)("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1)]))}]]),Ds=(0,r.aZ)({name:"DocIconLayers"}),Is=(0,a.Z)(Ds,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]),Rs=(0,r.aZ)({name:"DocIconLink"}),Os=(0,a.Z)(Rs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]);var Ms={d:"M2 4h20v2H2zM2 11h20v2H2zM2 18h20v2H2z"};const Ns=(0,r.aZ)({name:"DocIconMenu"}),Fs=(0,a.Z)(Ns,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Ms)}]]);var Ps={d:"M19 13H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1z"};const Hs=(0,r.aZ)({name:"DocIconMinus"}),Ws=(0,a.Z)(Hs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Ps)}]]),Bs=(0,r.aZ)({name:"DocIconMoon"}),Vs=(0,a.Z)(Bs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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)]))}]]),js=(0,r.aZ)({name:"DocIconMoreHorizontal"}),qs=(0,a.Z)(js,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("circle",{cx:"12",cy:"12",r:"2"},null,-1),(0,r._)("circle",{cx:"19",cy:"12",r:"2"},null,-1),(0,r._)("circle",{cx:"5",cy:"12",r:"2"},null,-1)]))}]]);var zs={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 $s=(0,r.aZ)({name:"DocIconPlus"}),Us=(0,a.Z)($s,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",zs)}]]),Zs=(0,r.aZ)({name:"DocIconQuestion"}),Ks=(0,a.Z)(Zs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("g",null,t[0]||(t[0]=[(0,r._)("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._)("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._)("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)]))}]]);var Ys={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 Gs=(0,r.aZ)({name:"DocIconSearch"}),Xs=(0,a.Z)(Gs,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Ys)}]]);var Qs={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 Js=(0,r.aZ)({name:"DocIconShield"}),ea=(0,a.Z)(Js,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",Qs)}]]);var ta={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 na=(0,r.aZ)({name:"DocIconSun"}),ra=(0,a.Z)(na,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",ta)}]]);var ia={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 oa=(0,r.aZ)({name:"DocIconX"}),sa=(0,a.Z)(oa,[["render",function(e,t,n,i,o,s){return(0,r.wg)(),(0,r.iD)("path",ia)}]])},9586:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(5184),i=n(5543),o=n(3095);function s(){var e=(0,r.B)().scrollTo,t=(0,o.oR)().store;function n(e){var t=e.startsWith("#")?e.slice(1):e,n=document.getElementById(t);if(!n)for(var r=0,i=Array.from(document.querySelectorAll("[id]"));r<i.length;r++){var o=i[r];if(o.id.toLowerCase()===t.toLowerCase()){n=o;break}}return n||(n=document.querySelector(e)),n}function s(r,o){if(void 0===o&&(o={}),!n(r))return!1;var s=r.startsWith("#")?r.slice(1):r;o.resetPosition&&window.scrollTo(0,0);var a=o.resetPosition?50:0;return setTimeout((function(){e(r,{offset:i.vE,onStart:function(){t.actions.updateScrolledElementId(s)}})}),a),!0}return{findAnchorElement:n,scrollToAnchor:s,handleAnchorNavigation:function(e,n){void 0===n&&(n={});var r=e||window.location.hash;if(r){var i=n.isPageLoad,o=void 0!==i&&i,a=n.maxRetries,l=void 0===a?2:a,c=n.retryDelay,u=void 0===c?100:c;if(!o||!t.state.isScrollPositionRestored){var d=0,h=function(){!s(r,{resetPosition:o})&&d<l&&(d++,setTimeout(h,u*d))};setTimeout(h,o?1:0)}}}}}},6850:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(7023);function i(e){(0,r.zX)(document.body,"click",(function(t){e(t)}))}},7023:(e,t,n)=>{"use strict";n.d(t,{BK:()=>s,Up:()=>o,zX:()=>i});var r=n(5166);function i(e,t,n){var i=function(){return e.removeEventListener(t,n)};return(0,r.bv)((function(){e&&e.addEventListener(t,n)})),(0,r.Jd)(i),i}function o(e,t,n,r,o){return i(e,t,s(n,r,o))}function s(e,t,n){var r,i=0,o=-1;return function(){++i%t==0?e():(o=i,r||(r=setTimeout((function(){var t=o>=i;i=0,o=-1,r=void 0,t&&e()}),n,null)))}}},2376:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(5166),i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(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())}))},o=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=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.iH)(),n=(0,r.iH)(!1),s=(0,r.iH)(null);return{result:t,loading:n,error:s,execute:function(r,a){return i(this,void 0,void 0,(function(){var i,l,c,u;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,6,7,8]),n.value=!0,[4,fetch(r,a)];case 1:if(!(i=o.sent()).ok)throw new Error(i.statusText);return e?[4,e(i)]:[3,3];case 2:return c=o.sent(),[3,5];case 3:return[4,i.json()];case 4:c=o.sent(),o.label=5;case 5:return l=c,t.value=l,[3,8];case 6:return u=o.sent(),s.value=u,[3,8];case 7:return n.value=!1,[7];case 8:return[2]}}))}))}}}},5701:(e,t,n)=>{"use strict";n.d(t,{Ke:()=>o,Mu:()=>s,ft:()=>a});var r=n(4678),i=n(5166),o=(0,r.MT)("retype","store"),s=Symbol("DocsIdbStore");function a(){return{idbStore:(0,i.f3)(s)}}},1474:(e,t,n)=>{"use strict";n.d(t,{L:()=>c,t:()=>u});var r=n(5166),i=n(7023),o=(0,r.iH)({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=[];return Object.keys(e).forEach((function(n){t.push("".concat(n,"=").concat(e[n]))})),"?"+t.join("&")}(t.query));var i="".concat(n).concat(r).concat(t.hash);"push"===e?window.history.pushState(null,"",i):"replace"===e&&window.history.replaceState(null,"",i)}a()}function a(){var e,t;o.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],i=n[1];r=decodeURIComponent(r);var o=null==i?null:decodeURIComponent(i);t[r]=o})),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,i.zX)(window,"turbo:visit",(function(){a()})),(0,i.zX)(window,"hashchange",(function(){(0,r.Y3)((function(){a()}))}))}function u(){return a(),{route:o,Router:l}}},8816:(e,t,n)=>{"use strict";n.d(t,{xf:()=>k,v2:()=>A,Rx:()=>L});var r=n(5166),i=n(4678),o=n(1296),s=n.n(o),a=n(6184),l=n(9984),c=n.n(l);const u=()=>window.__DOCS_LUNR__;var d=n.n(u),h=n(5701),p=n(6850),f=n(5184),m=n(3095),v=n(5543),g=n(830),b=n(2376),y=n(2110),w=n(7755),S=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(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())}))},x=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},k=Symbol("DocsSearch"),E=(0,h.ft)().idbStore,_=!1;function C(e,t){var n;return S(this,void 0,void 0,(function(){var r,i,o;return x(this,(function(s){switch(s.label){case 0:return r={map:null,index:null},e.length&&t?(r.map=function(e,t){var n=0,r=0,i=new Map,o=c().appendDocumentName?c().documentName:"";return function e(t,s,a){t.forEach((function(t){var l=a?a+" > "+t.label:t.label;t.clickable&&(s[r].forEach((function(e){var r,s,a,u=e.i||(null===(r=e.l)||void 0===r?void 0:r.toLowerCase().replace(/[\s\-.]+/g,"-"));if(u&&(e.l||(null===(s=e.p)||void 0===s?void 0:s.length))){var d=u&&"#"!==u?"#"+u:"",h="/"===t.path?"".concat(o).concat(d):!c().trailingSlash&&o&&t.path?"".concat(t.path,"/").concat(o).concat(d):"".concat(t.path).concat(o).concat(d);e.l&&i.set((++n).toString(),{path:h,text:e.l,page:l}),(null===(a=e.p)||void 0===a?void 0:a.length)&&e.p.forEach((function(t){i.set((++n).toString(),{path:h,text:t,heading:e.l,page:l})}))}})),r++),t.children&&e(t.children,s,l)}))}(e,t,""),i}(e,t),null==r.map?[3,2]:[4,(0,w.T)("lunr-js",d())]):[2,r];case 1:(i=s.sent())&&(o=[],null===(n=r.map)||void 0===n||n.forEach((function(e,t){return o.push([t,e])})),r.index=i.createIndex(o)),s.label=2;case 2:return[2,r]}}))}))}function T(){return"/"===c().base?"search":c().base+"search"}function A(){return S(this,void 0,void 0,(function(){var e;return x(this,(function(t){switch(t.label){case 0:return e=T(),[4,(0,i.IV)(e,E)];case 1:return t.sent(),_=!0,[2]}}))}))}function L(e){var t=this,n=(0,m.oR)().store,o=(0,r.iH)(null),l=(0,r.iH)(null),u=(0,r.Fl)((function(){return n.state.searchQuery})),h=(0,r.iH)([]),k=(0,r.iH)(!1),A=(0,r.iH)(!1),L=(0,r.iH)(0),D=(0,r.Fl)((function(){var t;return null===(t=e.value)||void 0===t?void 0:t.querySelector("input")}));function I(e){var t,n,r,i,s;return S(this,void 0,void 0,(function(){var a,u,p,f,m,v,g,b;return x(this,(function(y){switch(y.label){case 0:return l.value&&o.value?e?e.length>=c().search.minChars?(a=[],[4,(0,w.T)("lunr-js",d())]):[3,2]:(h.value=[],[2]):[2];case 1:for((u=y.sent())&&(p=e.toLowerCase().trim(),a=u.query(l.value,p)),f=[],m=0;m<c().search.maxResults&&a[m];m++)(v=o.value.get(a[m].ref))&&(g=R(null===(t=a[m].matchData)||void 0===t?void 0:t.metadata),b=O(null!==(n=v.text)&&void 0!==n?n:"",g),f.push({id:a[m].ref,path:null!==(r=v.path)&&void 0!==r?r:"",heading:null!==(i=v.heading)&&void 0!==i?i:"",page:null!==(s=v.page)&&void 0!==s?s:"",text:b}));h.value=f,y.label=2;case 2:return[2]}}))}))}function R(e){var t,n,r,i=[],o=e;if(o)for(var s in o){var a=null===(n=null===(t=o[s])||void 0===t?void 0:t.text)||void 0===n?void 0:n.position;if(null==a?void 0:a.length)for(var l=0;l<a.length;++l)2===(null===(r=a[l])||void 0===r?void 0:r.length)&&a[l][1]>0&&i.push([a[l][0],a[l][0]+a[l][1]])}return i}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 i=t.length-2;i>=0;--i)t[i][1]>=t[i+1][0]&&(t[i][1]=Math.max(t[i][1],t[i+1][1]),t.splice(i+1,1));var o=[],s=0,a=-1,l=-1;for(i=0;i<t.length;++i){var c=t[i][0],u=t[i][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]}));o.push.apply(o,h)}-1===a?(a=o.length,l=o.length):l=o.length,o.push(['<span class="text-base-500 font-semibold">'.concat(e.slice(c,u),"</span>"),!0]),s=u}if(s<e.length){var p=e.slice(s);if(p){var f=p.trim().split(/\s+/).filter((function(e){return e})).map((function(e){return[e,!1]}));o.push.apply(o,f)}}for(var m=0,v=1+l-a,g=o.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=o.slice(a,l+1).map((function(e){return e[0]}));return a>0&&b.splice(0,0,"..."),l<o.length-1&&b.push("..."),b.join(" ")}(0,r.YP)(u,s()((function(e){return S(this,void 0,void 0,(function(){return x(this,(function(t){switch(t.label){case 0:return[4,I(e)];case 1:return t.sent(),e.length>=c().search.minChars||h.value.length>0?k.value=!0:(k.value=!1,L.value=0),[2]}}))}))}),50)),(0,p.w)((function(t){var n,r=t.target;e.value===r||(null===(n=e.value)||void 0===n?void 0:n.contains(r))||(A.value=!1)}));var M=(0,f.B)().scrollTo;function N(e,t){var i;if(k.value=!1,A.value=!1,L.value=0,setTimeout((function(){var e;null===(e=D.value)||void 0===e||e.blur()}),100),e){var o=F(e,t);(0,a.Vn)(o);var s=null===(i=o.split("/").pop())||void 0===i?void 0:i.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.Y3)((function(){M("#".concat(s),{offset:v.vE,onDone:function(){n.actions.updateScrolledElementId(s)}})}))}}}function F(e,t){return t=null!=t?t:(0,g.Rs)(),e.startsWith("#")?(0,g.wE)(t)+e:t+e}function P(){var t,n=null===(t=e.value)||void 0===t?void 0:t.querySelector("ul"),r=null==n?void 0:n.children.item(L.value);null==r||r.scrollIntoView({block:"nearest"})}var H=c().preloadSearch?(0,b.i)((function(e){return S(t,void 0,void 0,(function(){var t,n,r;return x(this,(function(i){switch(i.label){case 0:return"file:"===location.protocol.toLowerCase()?[2,void 0]:[4,e.text()];case 1:return t=i.sent(),n=t.indexOf("="),r=t.slice(n+1).trim().slice(0,-1),[2,JSON.parse(r)]}}))}))})):(0,b.i)(),W=H.execute,B=H.error,V=H.result,j=c().preloadSearch?"js":"json",q=c().cacheBustingToken&&"none"!=c().cacheBustingStrategy?"path"==c().cacheBustingStrategy?"".concat(location.origin).concat(y.uj,".").concat(c().cacheBustingToken,".").concat(j):"".concat(location.origin).concat(y.uj,".").concat(j,"?v=").concat(c().cacheBustingToken):"".concat(location.origin).concat(y.uj,".").concat(j),z=(0,r.Fl)((function(){return n.state.sidebar})),$=T();(0,r.YP)(A,(function(e){e&&(function(){S(this,void 0,void 0,(function(){var e,t,n,r,s,a,u;return x(this,(function(h){switch(h.label){case 0:return[4,(0,i.U2)($,E)];case 1:return(e=h.sent())&&e.id===c().id?(o.value||(o.value=e.map),l.value?[3,3]:[4,(0,w.T)("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,i.IV)($,E)];case 5:return h.sent(),r=void 0,!_&&c().preloadSearch?[3,7]:[4,W(q)];case 6:if(h.sent(),B.value)throw new Error("Error fetching search data. ".concat(B.value));r=V.value,h.label=7;case 7:return r||(r=window.__DOCS_SEARCH__),_=!1,[4,C(z.value.data,r)];case 8:return s=h.sent(),a=s.index,u=s.map,o.value=u,l.value=a,[4,(0,i.t8)($,{index:JSON.stringify(a),map:u,id:c().id},E)];case 9:h.sent(),h.label=10;case 10:return[2]}}))}))}(),P())}));var U=(0,r.qj)({input:D,isOpen:k,isFocused:A,results:h,focusIndex:L,clear:function(){var e;n.actions.updateSearchQuery(""),null===(e=D.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++,P());break;case"ArrowUp":e.preventDefault(),L.value>0&&(L.value--,P());break;case"Enter":e.preventDefault(),N(h.value[L.value].path);break;case"Escape":k.value=!1,n.actions.updateSearchQuery("")}},navigateToResult:N,getResultFullPath:F});return U}},5184:(e,t,n)=>{"use strict";function r(){var e={duration:500,offset:0},t=null;return{scrollTo:function(n,r){var i,o=Object.assign({},e,r),s=decodeURI(n),a=null!==(i=document.getElementById(n.startsWith("#")?s.slice(1):n))&&void 0!==i?i:document.querySelector(s);if(!a)throw new Error("Invalid target");var l="function"==typeof o.offset?o.offset():o.offset,c=a.getBoundingClientRect().top,u=window.scrollY||window.pageYOffset,d=c+u-u+l;o.onStart&&"function"==typeof o.onStart&&o.onStart(),window.requestAnimationFrame((function e(n){t||(t=n);var r=n-t,i=function(e,t,n,r){return-n*(e/=r)*(e-2)+t}(r,u,d,o.duration);window.scrollTo(0,i),r<o.duration?window.requestAnimationFrame(e):(o.onDone&&"function"==typeof o.onDone&&o.onDone(),t=null)}))}}}n.d(t,{B:()=>r})},2110:(e,t,n)=>{"use strict";n.d(t,{as:()=>s,bT:()=>l,u:()=>c,uj:()=>a});var r=n(9984),i=n.n(r),o="resources",s="".concat(i().base).concat(o,"/nav"),a="".concat(i().base).concat(o,"/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])},7755:(e,t,n)=>{"use strict";function r(e,t,n){var i=t();if(i&&i.default)n(i.default);else if(e){var o=document.getElementById(e);o&&o.addEventListener("load",(function(){return r(null,t,n)}))}}function i(e,t){return new Promise((function(n,i){try{r(e,t,(function(e){n(e)}))}catch(e){i(e)}}))}n.d(t,{T:()=>i,b:()=>r})},3095:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>c,h:()=>d,oR:()=>h});var r=n(9984),i=n.n(r),o=n(5166),s=n(5543),a=n(872);(0,o.aZ)({name:"DocStoreDebug",setup:function(){var e=(0,o.iH)(!1),t=(0,o.Fl)((function(){return d.state})),n=(0,o.Fl)((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 i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},l.apply(this,arguments)},c=Symbol("DocsStore"),u={inherited:!0,access:i().access.map((function(e){return e.value}))},d={state:(0,o.qj)({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.s)(),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.Nh)(i().base,localStorage,"doc_access",e)},setInherited:function(e){d.state.inherited=e},toggleInherited:function(){d.state.inherited=!d.state.inherited,(0,s.Nh)(i().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.Nh)(i().base,sessionStorage,"doc_sidebar",e)},setSidebarLookupData:function(e){d.state.sidebarLookup=e},setSidebarScroll:function(e){d.state.sidebarScroll=e,(0,s.Nh)(i().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.qn)(i().base,sessionStorage,"doc_sidebar");r&&(0,s.Nh)(i().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,o.f3)(c)}}},872:(e,t,n)=>{"use strict";n.d(t,{g:()=>a,s:()=>s});var r=n(9984),i=n.n(r),o=n(5543);function s(){var e={};return i().toolbarLinks.forEach((function(t){e[t.id]={}})),e}function a(e){if(e.state.initialPageLoad){var t=(0,o.qn)(i().base,sessionStorage,"doc_sidebar_scroll");null!==t&&e.actions.setSidebarScroll(t);var n=(0,o.qn)(i().base,sessionStorage,"doc_sidebar");null!==n&&e.actions.setSidebarData(n);var r=(0,o.qn)(i().base,localStorage,"doc_inherited");null!==r&&e.actions.setInherited(r);var s=(0,o.qn)(i().base,localStorage,"doc_access");null!==s&&e.actions.updateAccess(s)}}},5543:(e,t,n)=>{"use strict";n.d(t,{Nh:()=>a,Sy:()=>c,am:()=>u,pI:()=>v,qn:()=>s,rw:()=>f,vE:()=>l});var r=n(9984),i=n.n(r),o=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};function s(e,t,n){var r=h(n)?d(e,n):n,i=t.getItem(r);return i&&"null"!==i?"{"===i[0]||"["===i[0]||'"'===i[0]||"true"===i||"false"===i?JSON.parse(i):i:null}function a(e,t,n,r){var i=h(n)?d(e,n):n,o="string"!=typeof r?JSON.stringify(r):r;t.setItem(i,o)}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,o=((t={})[i().resources.History_YearTime_Label]=31536e3,t[i().resources.History_MonthTime_Label]=2592e3,t[i().resources.History_DayTime_Label]=86400,t[i().resources.History_HourTime_Label]=3600,t[i().resources.History_MinuteTime_Label]=60,t[i().resources.History_SecondTime_Label]=1,t),s=Math.floor((Date.now()-e)/1e3);return Object.keys(o).some((function(e){return n=Math.floor(s/o[e]),r=e,n>=1})),0===n?i().resources.History_JustNowTime_Label:"".concat(n).concat(r," ").concat(i().resources.History_AgoTime_Label)}function u(e,t,n,r,i){if(void 0===r&&(r=""),void 0===i&&(i=[]),!t||!t.length)return[];var o=[];return t.forEach((function(t){var s,a=p(e,t,n,r,i);(null===(s=a.parentNodes)||void 0===s?void 0:s.length)&&a.parentNodes.splice(-1,1),o.push(a)})),o}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 p(e,t,n,r,i){void 0===r&&(r=""),void 0===i&&(i=[]);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=i.length?o(o([],i,!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),a&&(s.children=u(e,t.i,n,s.path,s.parentNodes)),s}function f(e,t,n,r){void 0===r&&(r=""),t&&t.length&&t.forEach((function(t){var i=n?"".concat(r).concat(t.n,"/"):!r||r.endsWith("/")?"".concat(r).concat(t.n):"".concat(r,"/").concat(t.n);if(e.get(i))f(e,t.i,n,i);else{var o=e.get(r);if(!o)throw new Error("Unexpected state. The parent node must exist at this point.");var s=p(e,t,n,r);if(o.children){var a=function(e,t){var n=0,r=e.length-1;if(r<n)return 0;for(;;){var i=Math.floor((n+r)/2),o=m(e[i].label,t.label);if(o<0){if((n=i+1)>r)return n}else{if(!(o>0))return i;if((r=i-1)<n)return i}}}(o.children,s);o.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}},830:(e,t,n)=>{"use strict";n.d(t,{Rs:()=>c,cD:()=>l,sy:()=>u,wE:()=>a});var r=n(9984),i=n.n(r),o=n(4884),s=n.n(o);function a(e){var t=i().appendDocumentName?i().documentName:"";if(i().trailingSlash||t)return"".concat(e).concat(t);var n=e.slice(0,-1);return i().base.length>1&&n.endsWith(".")&&(n=n.length>1?"../"+n+i().base.slice(0,-1):".."+i().base.slice(0,-1)),n}function l(e,t){var n="/"+i().documentName,r=e;if(i().appendDocumentName?r.endsWith(n)||(r=r.endsWith("/")?r+i().documentName:r+n):r.endsWith(n)&&(r=r.slice(0,-n.length)),i().useRelativePaths&&"file:"===location.protocol.toLowerCase()){var o=null!=t?t:s()();if(o){var a=r.split("/");r=a.slice(-o.level-1).join("/")}}else r.startsWith(i().base)?r=r.slice(i().base.length):i().trailingSlash||i().appendDocumentName||r!==i().base.slice(0,-1)||(r="");return r}function c(){if(!i().useRelativePaths)return i().base;var e=s()();if(!e)return i().base;var t=e.level;return i().appendDocumentName||e.isRoot||(i().trailingSlash?location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/")||--t:(location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/"))&&++t),e.relativeBaseCache||(e.relativeBaseCache=t<=0?!e.isRoot||i().trailingSlash||location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/")?"./":"."+i().base:"../".repeat(t)),e.relativeBaseCache}function u(){if(!i().useRelativePaths)return"/";var e=s()();if(!e)return"/";var t=e.level;return i().appendDocumentName||e.isRoot||(i().trailingSlash?location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/")||--t:(location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/"))&&++t),e.relativeRootCache||(e.relativeRootCache=t<=0?!e.isRoot||i().trailingSlash||location.pathname.endsWith("/"+i().documentName)||location.pathname.endsWith("/")?"./":"."+i().base:"../".repeat(t)),e.relativeRootCache}},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},5166:(e,t,n)=>{"use strict";n.d(t,{HY:()=>ns,lR:()=>Jn,uT:()=>Ca,Fl:()=>ta,ri:()=>Ql,j4:()=>ms,kq:()=>Ts,iD:()=>fs,_:()=>Ss,Uk:()=>_s,Wm:()=>xs,aZ:()=>vr,h:()=>na,f3:()=>eo,Y3:()=>En,C_:()=>X,j5:()=>U,Jd:()=>Jr,bv:()=>Gr,wg:()=>ls,JJ:()=>Ji,qj:()=>_t,iH:()=>Wt,Ko:()=>pi,WI:()=>mi,up:()=>ai,LL:()=>ci,qZ:()=>hs,zw:()=>le,e8:()=>Dl,nr:()=>Ll,F8:()=>ja,YP:()=>Mo,m0:()=>Io,w5:()=>Vn,wy:()=>jn,D2:()=>zl,iM:()=>jl});var r={};function i(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:()=>cr,BaseTransitionPropsValidators:()=>sr,Comment:()=>is,DeprecationTypes:()=>fa,EffectScope:()=>pe,ErrorCodes:()=>pn,ErrorTypeStrings:()=>la,Fragment:()=>ns,KeepAlive:()=>Wr,ReactiveEffect:()=>be,Static:()=>os,Suspense:()=>Go,Teleport:()=>Jn,Text:()=>rs,TrackOpTypes:()=>nn,Transition:()=>Ca,TransitionGroup:()=>Sl,TriggerOpTypes:()=>rn,VueElement:()=>pl,assertNumber:()=>hn,callWithAsyncErrorHandling:()=>mn,callWithErrorHandling:()=>fn,camelize:()=>O,capitalize:()=>F,cloneVNode:()=>Es,compatUtils:()=>pa,computed:()=>ta,createApp:()=>Ql,createBlock:()=>ms,createCommentVNode:()=>Ts,createElementBlock:()=>fs,createElementVNode:()=>Ss,createHydrationRenderer:()=>So,createPropsRestProxy:()=>Fi,createRenderer:()=>wo,createSSRApp:()=>Jl,createSlots:()=>fi,createStaticVNode:()=>Cs,createTextVNode:()=>_s,createVNode:()=>xs,customRef:()=>Yt,defineAsyncComponent:()=>Fr,defineComponent:()=>vr,defineCustomElement:()=>ul,defineEmits:()=>Ei,defineExpose:()=>_i,defineModel:()=>Ai,defineOptions:()=>Ci,defineProps:()=>ki,defineSSRCustomElement:()=>dl,defineSlots:()=>Ti,devtools:()=>ca,effect:()=>Ie,effectScope:()=>fe,getCurrentInstance:()=>Ps,getCurrentScope:()=>me,getCurrentWatcher:()=>ln,getTransitionRawChildren:()=>mr,guardReactiveProps:()=>ks,h:()=>na,handleError:()=>vn,hasInjectionContext:()=>to,hydrate:()=>Xl,hydrateOnIdle:()=>Ir,hydrateOnInteraction:()=>Mr,hydrateOnMediaQuery:()=>Or,hydrateOnVisible:()=>Rr,initCustomFormatter:()=>ra,initDirectivesForSSR:()=>rc,inject:()=>eo,isMemoSame:()=>oa,isProxy:()=>Ot,isReactive:()=>Dt,isReadonly:()=>It,isRef:()=>Ht,isRuntimeOnly:()=>Ys,isShallow:()=>Rt,isVNode:()=>vs,markRaw:()=>Nt,mergeDefaults:()=>Mi,mergeModels:()=>Ni,mergeProps:()=>Is,nextTick:()=>En,normalizeClass:()=>X,normalizeProps:()=>Q,normalizeStyle:()=>U,onActivated:()=>Vr,onBeforeMount:()=>Yr,onBeforeUnmount:()=>Jr,onBeforeUpdate:()=>Xr,onDeactivated:()=>jr,onErrorCaptured:()=>ii,onMounted:()=>Gr,onRenderTracked:()=>ri,onRenderTriggered:()=>ni,onScopeDispose:()=>ve,onServerPrefetch:()=>ti,onUnmounted:()=>ei,onUpdated:()=>Qr,onWatcherCleanup:()=>cn,openBlock:()=>ls,popScopeId:()=>Wn,provide:()=>Ji,proxyRefs:()=>Zt,pushScopeId:()=>Hn,queuePostFlushCb:()=>Tn,reactive:()=>_t,readonly:()=>Tt,ref:()=>Wt,registerRuntimeCompiler:()=>Ks,render:()=>Gl,renderList:()=>pi,renderSlot:()=>mi,resolveComponent:()=>ai,resolveDirective:()=>ui,resolveDynamicComponent:()=>ci,resolveFilter:()=>ha,resolveTransitionHooks:()=>dr,setBlockTracking:()=>hs,setDevtoolsHook:()=>ua,setTransitionHooks:()=>fr,shallowReactive:()=>Ct,shallowReadonly:()=>At,shallowRef:()=>Bt,ssrContextKey:()=>Lo,ssrUtils:()=>da,stop:()=>Re,toDisplayString:()=>le,toHandlerKey:()=>P,toHandlers:()=>gi,toRaw:()=>Mt,toRef:()=>Jt,toRefs:()=>Gt,toValue:()=>$t,transformVNodeArgs:()=>bs,triggerRef:()=>qt,unref:()=>zt,useAttrs:()=>Ii,useCssModule:()=>vl,useCssVars:()=>$a,useHost:()=>fl,useId:()=>gr,useModel:()=>Ho,useSSRContext:()=>Do,useShadowRoot:()=>ml,useSlots:()=>Di,useTemplateRef:()=>yr,useTransitionState:()=>ir,vModelCheckbox:()=>Dl,vModelDynamic:()=>Pl,vModelRadio:()=>Rl,vModelSelect:()=>Ol,vModelText:()=>Ll,vShow:()=>ja,version:()=>sa,warn:()=>aa,watch:()=>Mo,watchEffect:()=>Io,watchPostEffect:()=>Ro,watchSyncEffect:()=>Oo,withAsyncContext:()=>Pi,withCtx:()=>Vn,withDefaults:()=>Li,withDirectives:()=>jn,withKeys:()=>zl,withMemo:()=>ia,withModifiers:()=>jl,withScopeId:()=>Bn});const o={},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)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),m=Array.isArray,v=e=>"[object Map]"===_(e),g=e=>"[object Set]"===_(e),b=e=>"[object Date]"===_(e),y=e=>"function"==typeof e,w=e=>"string"==typeof e,S=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,k=e=>(x(e)||y(e))&&y(e.then)&&y(e.catch),E=Object.prototype.toString,_=e=>E.call(e),C=e=>_(e).slice(8,-1),T=e=>"[object Object]"===_(e),A=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,L=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=i("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),I=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R=/-(\w)/g,O=I((e=>e.replace(R,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,N=I((e=>e.replace(M,"-$1").toLowerCase())),F=I((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=I((e=>e?`on${F(e)}`:"")),H=(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},j=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let q;const z=()=>q||(q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),$=i("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 U(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=w(r)?G(r):U(r);if(i)for(const e in i)t[e]=i[e]}return t}if(w(e)||x(e))return e}const Z=/;(?![^(]*\))/g,K=/:([^]+)/,Y=/\/\*[^]*?\*\//g;function G(e){const t={};return e.replace(Y,"").split(Z).forEach((e=>{if(e){const n=e.split(K);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function X(e){let t="";if(w(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const r=X(e[n]);r&&(t+=r+" ")}else if(x(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Q(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=X(t)),n&&(e.style=U(n)),e}const J=i("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"),ee=i("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"),te=i("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"),ne=i("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),re=i("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ie(e){return!!e||""===e}function oe(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=oe(e[r],t[r]);return n}(e,t);if(n=x(e),r=x(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),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!oe(e[n],t[n]))return!1}}return String(e)===String(t)}function se(e,t){return e.findIndex((e=>oe(e,t)))}const ae=e=>!(!e||!0!==e.__v_isRef),le=e=>w(e)?e:null==e?"":m(e)||x(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):!x(t)||m(t)||T(t)?t:String(t),ue=(e,t="")=>{var n;return S(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let de,he;class pe{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=de,!e&&de&&(this.index=(de.scopes||(de.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=de;try{return de=this,e()}finally{de=t}}}on(){1==++this._on&&(this.prevScope=de,de=this)}off(){this._on>0&&0==--this._on&&(de=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 fe(e){return new pe(e)}function me(){return de}function ve(e,t=!1){de&&de.cleanups.push(e)}const ge=new WeakSet;class be{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,de&&de.active&&de.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ge.has(this)&&(ge.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,Pe(this),_e(this);const e=he,t=Oe;he=this,Oe=!0;try{return this.fn()}finally{Ce(this),he=e,Oe=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)Le(e);this.deps=this.depsTail=void 0,Pe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ge.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Te(this)&&this.run()}get dirty(){return Te(this)}}let ye,we,Se=0;function xe(e,t=!1){if(e.flags|=8,t)return e.next=we,void(we=e);e.next=ye,ye=e}function ke(){Se++}function Ee(){if(--Se>0)return;if(we){let e=we;for(we=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ye;){let t=ye;for(ye=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}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 Ce(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),Le(r),De(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&&(Ae(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ae(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===He)return;if(e.globalVersion=He,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!Te(e)))return;e.flags|=2;const t=e.dep,n=he,r=Oe;he=e,Oe=!0;try{_e(e);const n=e.fn(e._value);(0===t.version||H(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{he=n,Oe=r,Ce(e),e.flags&=-3}}function Le(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.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)Le(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function De(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 be&&(e=e.effect.fn);const n=new be(e);t&&d(n,t);try{n.run()}catch(e){throw n.stop(),e}const r=n.run.bind(n);return r.effect=n,r}function Re(e){e.effect.stop()}let Oe=!0;const Me=[];function Ne(){Me.push(Oe),Oe=!1}function Fe(){const e=Me.pop();Oe=void 0===e||e}function Pe(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=he;he=void 0;try{t()}finally{he=e}}}let He=0;class We{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 Be{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(!he||!Oe||he===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==he)t=this.activeLink=new We(he,this),he.deps?(t.prevDep=he.depsTail,he.depsTail.nextDep=t,he.depsTail=t):he.deps=he.depsTail=t,Ve(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=he.depsTail,t.nextDep=void 0,he.depsTail.nextDep=t,he.depsTail=t,he.deps===t&&(he.deps=e)}return t}trigger(e){this.version++,He++,this.notify(e)}notify(e){ke();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ee()}}}function Ve(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)Ve(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const je=new WeakMap,qe=Symbol(""),ze=Symbol(""),$e=Symbol("");function Ue(e,t,n){if(Oe&&he){let t=je.get(e);t||je.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Be),r.map=t,r.key=n),r.track()}}function Ze(e,t,n,r,i,o){const s=je.get(e);if(!s)return void He++;const a=e=>{e&&e.trigger()};if(ke(),"clear"===t)s.forEach(a);else{const i=m(e),o=i&&A(n);if(i&&"length"===n){const e=Number(r);s.forEach(((t,n)=>{("length"===n||n===$e||!S(n)&&n>=e)&&a(t)}))}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get($e)),t){case"add":i?o&&a(s.get("length")):(a(s.get(qe)),v(e)&&a(s.get(ze)));break;case"delete":i||(a(s.get(qe)),v(e)&&a(s.get(ze)));break;case"set":v(e)&&a(s.get(qe))}}Ee()}function Ke(e){const t=Mt(e);return t===e?t:(Ue(t,0,$e),Rt(e)?t:t.map(Ft))}function Ye(e){return Ue(e=Mt(e),0,$e),e}const Ge={__proto__:null,[Symbol.iterator](){return Xe(this,Symbol.iterator,Ft)},concat(...e){return Ke(this).concat(...e.map((e=>m(e)?Ke(e):e)))},entries(){return Xe(this,"entries",(e=>(e[1]=Ft(e[1]),e)))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,(e=>e.map(Ft)),arguments)},find(e,t){return Je(this,"find",e,t,Ft,arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,Ft,arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return tt(this,"includes",e)},indexOf(...e){return tt(this,"indexOf",e)},join(e){return Ke(this).join(e)},lastIndexOf(...e){return tt(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return nt(this,"pop")},push(...e){return nt(this,"push",e)},reduce(e,...t){return et(this,"reduce",e,t)},reduceRight(e,...t){return et(this,"reduceRight",e,t)},shift(){return nt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return nt(this,"splice",e)},toReversed(){return Ke(this).toReversed()},toSorted(e){return Ke(this).toSorted(e)},toSpliced(...e){return Ke(this).toSpliced(...e)},unshift(...e){return nt(this,"unshift",e)},values(){return Xe(this,"values",Ft)}};function Xe(e,t,n){const r=Ye(e),i=r[t]();return r===e||Rt(e)||(i._next=i.next,i.next=()=>{const e=i._next();return e.value&&(e.value=n(e.value)),e}),i}const Qe=Array.prototype;function Je(e,t,n,r,i,o){const s=Ye(e),a=s!==e&&!Rt(e),l=s[t];if(l!==Qe[t]){const t=l.apply(e,o);return a?Ft(t):t}let c=n;s!==e&&(a?c=function(t,r){return n.call(this,Ft(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&&i?i(u):u}function et(e,t,n,r){const i=Ye(e);let o=n;return i!==e&&(Rt(e)?n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}):o=function(t,r,i){return n.call(this,t,Ft(r),i,e)}),i[t](o,...r)}function tt(e,t,n){const r=Mt(e);Ue(r,0,$e);const i=r[t](...n);return-1!==i&&!1!==i||!Ot(n[0])?i:(n[0]=Mt(n[0]),r[t](...n))}function nt(e,t,n=[]){Ne(),ke();const r=Mt(e)[t].apply(e,n);return Ee(),Fe(),r}const rt=i("__proto__,__v_isRef,__isVue"),it=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(S));function ot(e){S(e)||(e=String(e));const t=Mt(this);return Ue(t,0,e),t.hasOwnProperty(e)}class st{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,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?Et:kt:i?xt:St).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=m(e);if(!r){let e;if(o&&(e=Ge[t]))return e;if("hasOwnProperty"===t)return ot}const s=Reflect.get(e,t,Ht(e)?e:n);return(S(t)?it.has(t):rt(t))?s:(r||Ue(e,0,t),i?s:Ht(s)?o&&A(t)?s:s.value:x(s)?r?Tt(s):_t(s):s)}}class at extends st{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];if(!this._isShallow){const t=It(i);if(Rt(n)||It(n)||(i=Mt(i),n=Mt(n)),!m(e)&&Ht(i)&&!Ht(n))return!t&&(i.value=n,!0)}const o=m(e)&&A(t)?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,Ht(e)?e:r);return e===Mt(r)&&(o?H(n,i)&&Ze(e,"set",t,n):Ze(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&n&&Ze(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return S(t)&&it.has(t)||Ue(e,0,t),n}ownKeys(e){return Ue(e,0,m(e)?"length":qe),Reflect.ownKeys(e)}}class lt extends st{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ct=new at,ut=new lt,dt=new at(!0),ht=new lt(!0),pt=e=>e,ft=e=>Reflect.getPrototypeOf(e);function mt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function vt(e,t){const n=function(e,t){const n={get(n){const r=this.__v_raw,i=Mt(r),o=Mt(n);e||(H(n,o)&&Ue(i,0,n),Ue(i,0,o));const{has:s}=ft(i),a=t?pt:e?Pt:Ft;return s.call(i,n)?a(r.get(n)):s.call(i,o)?a(r.get(o)):void(r!==i&&r.get(n))},get size(){const t=this.__v_raw;return!e&&Ue(Mt(t),0,qe),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Mt(n),i=Mt(t);return e||(H(t,i)&&Ue(r,0,t),Ue(r,0,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const i=this,o=i.__v_raw,s=Mt(o),a=t?pt:e?Pt:Ft;return!e&&Ue(s,0,qe),o.forEach(((e,t)=>n.call(r,a(e),a(t),i)))}};return d(n,e?{add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear")}:{add(e){t||Rt(e)||It(e)||(e=Mt(e));const n=Mt(this);return ft(n).has.call(n,e)||(n.add(e),Ze(n,"add",e,e)),this},set(e,n){t||Rt(n)||It(n)||(n=Mt(n));const r=Mt(this),{has:i,get:o}=ft(r);let s=i.call(r,e);s||(e=Mt(e),s=i.call(r,e));const a=o.call(r,e);return r.set(e,n),s?H(n,a)&&Ze(r,"set",e,n):Ze(r,"add",e,n),this},delete(e){const t=Mt(this),{has:n,get:r}=ft(t);let i=n.call(t,e);i||(e=Mt(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&Ze(t,"delete",e,void 0),o},clear(){const e=Mt(this),t=0!==e.size,n=e.clear();return t&&Ze(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const i=this.__v_raw,o=Mt(i),s=v(o),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=i[e](...r),u=n?pt:t?Pt:Ft;return!t&&Ue(o,0,l?ze:qe),{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}},[Symbol.iterator](){return this}}}}(r,e,t)})),n}(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(f(n,r)&&r in t?n:t,r,i)}const gt={get:vt(!1,!1)},bt={get:vt(!1,!0)},yt={get:vt(!0,!1)},wt={get:vt(!0,!0)},St=new WeakMap,xt=new WeakMap,kt=new WeakMap,Et=new WeakMap;function _t(e){return It(e)?e:Lt(e,!1,ct,gt,St)}function Ct(e){return Lt(e,!1,dt,bt,xt)}function Tt(e){return Lt(e,!0,ut,yt,kt)}function At(e){return Lt(e,!0,ht,wt,Et)}function Lt(e,t,n,r,i){if(!x(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(s));var s;if(0===o)return e;const a=i.get(e);if(a)return a;const l=new Proxy(e,2===o?r:n);return i.set(e,l),l}function Dt(e){return It(e)?Dt(e.__v_raw):!(!e||!e.__v_isReactive)}function It(e){return!(!e||!e.__v_isReadonly)}function Rt(e){return!(!e||!e.__v_isShallow)}function Ot(e){return!!e&&!!e.__v_raw}function Mt(e){const t=e&&e.__v_raw;return t?Mt(t):e}function Nt(e){return!f(e,"__v_skip")&&Object.isExtensible(e)&&B(e,"__v_skip",!0),e}const Ft=e=>x(e)?_t(e):e,Pt=e=>x(e)?Tt(e):e;function Ht(e){return!!e&&!0===e.__v_isRef}function Wt(e){return Vt(e,!1)}function Bt(e){return Vt(e,!0)}function Vt(e,t){return Ht(e)?e:new jt(e,t)}class jt{constructor(e,t){this.dep=new Be,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Mt(e),this._value=t?e:Ft(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Rt(e)||It(e);e=n?e:Mt(e),H(e,t)&&(this._rawValue=e,this._value=n?e:Ft(e),this.dep.trigger())}}function qt(e){e.dep&&e.dep.trigger()}function zt(e){return Ht(e)?e.value:e}function $t(e){return y(e)?e():zt(e)}const Ut={get:(e,t,n)=>"__v_raw"===t?e:zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ht(i)&&!Ht(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Zt(e){return Dt(e)?e:new Proxy(e,Ut)}class Kt{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Be,{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 Yt(e){return new Kt(e)}function Gt(e){const t=m(e)?new Array(e.length):{};for(const n in e)t[n]=en(e,n);return t}class Xt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=je.get(e);return n&&n.get(t)}(Mt(this._object),this._key)}}class Qt{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 Jt(e,t,n){return Ht(e)?e:y(e)?new Qt(e):x(e)&&arguments.length>1?en(e,t,n):Wt(e)}function en(e,t,n){const r=e[t];return Ht(r)?r:new Xt(e,t,n)}class tn{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Be(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=He-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||he===this))return xe(this,!0),!0}get value(){const e=this.dep.track();return Ae(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const nn={GET:"get",HAS:"has",ITERATE:"iterate"},rn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},on={},sn=new WeakMap;let an;function ln(){return an}function cn(e,t=!1,n=an){if(n){let t=sn.get(n);t||sn.set(n,t=[]),t.push(e)}}function un(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ht(e))un(e.value,t,n);else if(m(e))for(let r=0;r<e.length;r++)un(e[r],t,n);else if(g(e)||v(e))e.forEach((e=>{un(e,t,n)}));else if(T(e)){for(const r in e)un(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&un(e[r],t,n)}return e}const dn=[];function hn(e,t){}const pn={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"};function fn(e,t,n,r){try{return r?e(...r):e()}catch(e){vn(e,t,n)}}function mn(e,t,n,r){if(y(e)){const i=fn(e,t,n,r);return i&&k(i)&&i.catch((e=>{vn(e,t,n)})),i}if(m(e)){const i=[];for(let o=0;o<e.length;o++)i.push(mn(e[o],t,n,r));return i}}function vn(e,t,n,r=!0){t&&t.vnode;const{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||o;if(t){let r=t.parent;const o=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,o,s))return;r=r.parent}if(i)return Ne(),fn(i,null,10,[e,o,s]),void Fe()}!function(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}(e,0,0,r,s)}const gn=[];let bn=-1;const yn=[];let wn=null,Sn=0;const xn=Promise.resolve();let kn=null;function En(e){const t=kn||xn;return e?t.then(this?e.bind(this):e):t}function _n(e){if(!(1&e.flags)){const t=Dn(e),n=gn[gn.length-1];!n||!(2&e.flags)&&t>=Dn(n)?gn.push(e):gn.splice(function(e){let t=bn+1,n=gn.length;for(;t<n;){const r=t+n>>>1,i=gn[r],o=Dn(i);o<e||o===e&&2&i.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Cn()}}function Cn(){kn||(kn=xn.then(In))}function Tn(e){m(e)?yn.push(...e):wn&&-1===e.id?wn.splice(Sn+1,0,e):1&e.flags||(yn.push(e),e.flags|=1),Cn()}function An(e,t,n=bn+1){for(;n<gn.length;n++){const t=gn[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;gn.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Ln(e){if(yn.length){const e=[...new Set(yn)].sort(((e,t)=>Dn(e)-Dn(t)));if(yn.length=0,wn)return void wn.push(...e);for(wn=e,Sn=0;Sn<wn.length;Sn++){const e=wn[Sn];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}wn=null,Sn=0}}const Dn=e=>null==e.id?2&e.flags?-1:1/0:e.id;function In(e){try{for(bn=0;bn<gn.length;bn++){const e=gn[bn];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),fn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;bn<gn.length;bn++){const e=gn[bn];e&&(e.flags&=-2)}bn=-1,gn.length=0,Ln(),kn=null,(gn.length||yn.length)&&In(e)}}let Rn,On=[],Mn=!1,Nn=null,Fn=null;function Pn(e){const t=Nn;return Nn=e,Fn=e&&e.type.__scopeId||null,t}function Hn(e){Fn=e}function Wn(){Fn=null}const Bn=e=>Vn;function Vn(e,t=Nn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&hs(-1);const i=Pn(t);let o;try{o=e(...n)}finally{Pn(i),r._d&&hs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function jn(e,t){if(null===Nn)return e;const n=Js(Nn),r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,s,a,l=o]=t[e];i&&(y(i)&&(i={mounted:i,updated:i}),i.deep&&un(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function qn(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let l=a.dir[r];l&&(Ne(),mn(l,n,8,[e.el,a,e,t]),Fe())}}const zn=Symbol("_vte"),$n=e=>e.__isTeleport,Un=e=>e&&(e.disabled||""===e.disabled),Zn=e=>e&&(e.defer||""===e.defer),Kn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Yn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Gn=(e,t)=>{const n=e&&e.to;return w(n)?t?t(n):null:n},Xn={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:f,createText:m,createComment:v}}=c,g=Un(t.props);let{shapeFlag:b,children:y,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");p(e,n,r),p(c,n,r);const d=(e,t)=>{16&b&&(i&&i.isCE&&(i.ce._teleportTarget=e),u(y,e,t,i,o,s,a,l))},h=()=>{const e=t.target=Gn(t.props,f),n=tr(e,t,m,p);e&&("svg"!==s&&Kn(e)?s="svg":"mathml"!==s&&Yn(e)&&(s="mathml"),g||(d(e,n),er(t,!1)))};g&&(d(n,c),er(t,!0)),Zn(t.props)?(t.el.__isMounted=!1,yo((()=>{h(),delete t.el.__isMounted}),o)):h()}else{if(Zn(t.props)&&!1===e.el.__isMounted)return void yo((()=>{Xn.process(e,t,n,r,i,o,s,a,l,c)}),o);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,p=t.target=e.target,m=t.targetAnchor=e.targetAnchor,v=Un(e.props),b=v?n:p,y=v?u:m;if("svg"===s||Kn(p)?s="svg":("mathml"===s||Yn(p))&&(s="mathml"),w?(h(e.dynamicChildren,w,b,i,o,s,a),Co(e,t,!0)):l||d(e,t,b,y,i,o,s,a,!1),g)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Qn(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Gn(t.props,f);e&&Qn(t,e,null,c,0)}else v&&Qn(t,p,m,c,1);er(t,g)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(i(c),i(u)),o&&i(l),16&s){const e=o||!Un(h);for(let i=0;i<a.length;i++){const o=a[i];r(o,t,n,e,!!o.dynamicChildren)}}},move:Qn,hydrate:function(e,t,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},d){const h=t.target=Gn(t.props,l);if(h){const l=Un(t.props),p=h._lpa||h.firstChild;if(16&t.shapeFlag)if(l)t.anchor=d(s(e),t,a(e),n,r,i,o),t.targetStart=p,t.targetAnchor=p&&s(p);else{t.anchor=s(e);let a=p;for(;a;){if(a&&8===a.nodeType)if("teleport start anchor"===a.data)t.targetStart=a;else if("teleport anchor"===a.data){t.targetAnchor=a,h._lpa=t.targetAnchor&&s(t.targetAnchor);break}a=s(a)}t.targetAnchor||tr(h,t,u,c),d(p&&s(p),t,h,n,r,i,o)}er(t,l)}return t.anchor&&s(t.anchor)}};function Qn(e,t,n,{o:{insert:r},m:i},o=2){0===o&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===o;if(d&&r(s,t,n),(!d||Un(u))&&16&l)for(let e=0;e<c.length;e++)i(c[e],t,n,2);d&&r(a,t,n)}const Jn=Xn;function er(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function tr(e,t,n,r){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[zn]=o,e&&(r(i,e),r(o,e)),o}const nr=Symbol("_leaveCb"),rr=Symbol("_enterCb");function ir(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Gr((()=>{e.isMounted=!0})),Jr((()=>{e.isUnmounting=!0})),e}const or=[Function,Array],sr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:or,onEnter:or,onAfterEnter:or,onEnterCancelled:or,onBeforeLeave:or,onLeave:or,onAfterLeave:or,onLeaveCancelled:or,onBeforeAppear:or,onAppear:or,onAfterAppear:or,onAppearCancelled:or},ar=e=>{const t=e.subTree;return t.component?ar(t.component):t};function lr(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==is){t=r,n=!0;break}}return t}const cr={name:"BaseTransition",props:sr,setup(e,{slots:t}){const n=Ps(),r=ir();return()=>{const i=t.default&&mr(t.default(),!0);if(!i||!i.length)return;const o=lr(i),s=Mt(e),{mode:a}=s;if(r.isLeaving)return hr(o);const l=pr(o);if(!l)return hr(o);let c=dr(l,s,r,n,(e=>c=e));l.type!==is&&fr(l,c);let u=n.subTree&&pr(n.subTree);if(u&&u.type!==is&&!gs(l,u)&&ar(n).type!==is){let e=dr(u,s,r,n);if(fr(u,e),"out-in"===a&&l.type!==is)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},hr(o);"in-out"===a&&l.type!==is?e.delayLeave=(e,t,n)=>{ur(r,u)[String(u.key)]=u,e[nr]=()=>{t(),e[nr]=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 o}}};function ur(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 dr(e,t,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:g,onAppear:b,onAfterAppear:y,onAppearCancelled:w}=t,S=String(e.key),x=ur(n,e),k=(e,t)=>{e&&mn(e,r,9,t)},E=(e,t)=>{const n=t[1];k(e,t),m(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},_={mode:s,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=g||l}t[nr]&&t[nr](!0);const i=x[S];i&&gs(e,i)&&i.el[nr]&&i.el[nr](),k(r,[t])},enter(e){let t=c,r=u,i=d;if(!n.isMounted){if(!o)return;t=b||c,r=y||u,i=w||d}let s=!1;const a=e[rr]=t=>{s||(s=!0,k(t?i:r,[e]),_.delayedLeave&&_.delayedLeave(),e[rr]=void 0)};t?E(t,[e,a]):a()},leave(t,r){const i=String(e.key);if(t[rr]&&t[rr](!0),n.isUnmounting)return r();k(h,[t]);let o=!1;const s=t[nr]=n=>{o||(o=!0,r(),k(n?v:f,[t]),t[nr]=void 0,x[i]===e&&delete x[i])};x[i]=e,p?E(p,[t,s]):s()},clone(e){const o=dr(e,t,n,r,i);return i&&i(o),o}};return _}function hr(e){if(Hr(e))return(e=Es(e)).children=null,e}function pr(e){if(!Hr(e))return $n(e.type)&&e.children?lr(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 fr(e,t){6&e.shapeFlag&&e.component?(e.transition=t,fr(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 mr(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===ns?(128&s.patchFlag&&i++,r=r.concat(mr(s.children,t,a))):(t||s.type!==is)&&r.push(null!=a?Es(s,{key:a}):s)}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function vr(e,t){return y(e)?(()=>d({name:e.name},t,{setup:e}))():e}function gr(){const e=Ps();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function br(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function yr(e){const t=Ps(),n=Bt(null);if(t){const r=t.refs===o?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function wr(e,t,n,r,i=!1){if(m(e))return void e.forEach(((e,o)=>wr(e,t&&(m(t)?t[o]:t),n,r,i)));if(Nr(r)&&!i)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&wr(e,t,n,r.component.subTree));const s=4&r.shapeFlag?Js(r.component):r.el,a=i?null:s,{i:l,r:c}=e,u=t&&t.r,d=l.refs===o?l.refs={}:l.refs,p=l.setupState,v=Mt(p),g=p===o?()=>!1:e=>f(v,e);if(null!=u&&u!==c&&(w(u)?(d[u]=null,g(u)&&(p[u]=null)):Ht(u)&&(u.value=null)),y(c))fn(c,l,12,[a,d]);else{const t=w(c),r=Ht(c);if(t||r){const o=()=>{if(e.f){const n=t?g(c)?p[c]:d[c]:c.value;i?m(n)&&h(n,s):m(n)?n.includes(s)||n.push(s):t?(d[c]=[s],g(c)&&(p[c]=d[c])):(c.value=[s],e.k&&(d[e.k]=c.value))}else t?(d[c]=a,g(c)&&(p[c]=a)):r&&(c.value=a,e.k&&(d[e.k]=a))};a?(o.id=-1,yo(o,n)):o()}}}let Sr=!1;const xr=()=>{Sr||(console.error("Hydration completed but contains mismatches."),Sr=!0)},kr=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},Er=e=>8===e.nodeType;function _r(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:a,insert:l,createComment:u}}=e,d=(n,r,a,c,u,y=!1)=>{y=y||!!r.dynamicChildren;const w=Er(n)&&"["===n.data,S=()=>m(n,r,a,c,u,w),{type:x,ref:k,shapeFlag:E,patchFlag:_}=r;let C=n.nodeType;r.el=n,-2===_&&(y=!1,r.dynamicChildren=null);let T=null;switch(x){case rs:3!==C?""===r.children?(l(r.el=i(""),s(n),n),T=n):T=S():(n.data!==r.children&&(xr(),n.data=r.children),T=o(n));break;case is:b(n)?(T=o(n),g(r.el=n.content.firstChild,n,a)):T=8!==C||w?S():o(n);break;case os:if(w&&(C=(n=o(n)).nodeType),1===C||3===C){T=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===T.nodeType?T.outerHTML:T.data),t===r.staticCount-1&&(r.anchor=T),T=o(T);return w?o(T):T}S();break;case ns:T=w?f(n,r,a,c,u,y):S();break;default:if(1&E)T=1===C&&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(T=w?v(n):Er(n)&&"teleport start"===n.data?v(n,n.data,"teleport end"):o(n),t(r,e,null,a,c,kr(e),y),Nr(r)&&!r.type.__asyncResolved){let t;w?(t=xs(ns),t.anchor=T?T.previousSibling:e.lastChild):t=3===n.nodeType?_s(""):xs("div"),t.el=n,r.component.subTree=t}}else 64&E?T=8!==C?S():r.type.hydrate(n,r,a,c,u,y,e,p):128&E&&(T=r.type.hydrate(n,r,a,c,kr(s(n)),u,y,e,d))}return null!=k&&wr(k,null,c,r),T},h=(e,t,n,i,o,s)=>{s=s||!!t.dynamicChildren;const{type:l,props:u,patchFlag:d,shapeFlag:h,dirs:f,transition:m}=t,v="input"===l||"option"===l;if(v||-1!==d){f&&qn(t,null,n,"created");let l,y=!1;if(b(e)){y=_o(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=p(e.firstChild,t,e,n,i,o,s);for(;r;){Ar(e,1)||xr();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)),e.textContent!==n&&(Ar(e,0)||xr(),e.textContent=t.children)}if(u)if(v||!s||48&d){const t=e.tagName.includes("-");for(const i in u)(v&&(i.endsWith("value")||"indeterminate"===i)||c(i)&&!L(i)||"."===i[0]||t)&&r(e,i,null,u[i],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)&&Rs(l,n,t),f&&qn(t,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||f||y)&&es((()=>{l&&Rs(l,n,t),y&&m.enter(e),f&&qn(t,null,n,"mounted")}),i)}return e.nextSibling},p=(e,t,r,s,a,c,u)=>{u=u||!!t.dynamicChildren;const h=t.children,p=h.length;for(let t=0;t<p;t++){const f=u?h[t]:h[t]=As(h[t]),m=f.type===rs;e?(m&&!u&&t+1<p&&As(h[t+1]).type===rs&&(l(i(e.data.slice(f.children.length)),r,o(e)),e.data=f.children),e=d(e,f,s,a,c,u)):m&&!f.children?l(f.el=i(""),r):(Ar(r,1)||xr(),n(null,f,r,null,s,a,kr(r),c))}return e},f=(e,t,n,r,i,a)=>{const{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);const d=s(e),h=p(o(e),t,d,n,r,i,a);return h&&Er(h)&&"]"===h.data?o(t.anchor=h):(xr(),l(t.anchor=u("]"),d,h),h)},m=(e,t,r,i,l,c)=>{if(Ar(e.parentElement,1)||xr(),t.el=null,c){const t=v(e);for(;;){const n=o(e);if(!n||n===t)break;a(n)}}const u=o(e),d=s(e);return a(e),n(null,t,d,u,r,i,kr(d),l),r&&(r.vnode.el=t.el,Zo(r,t.el)),u},v=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=o(e))&&Er(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return o(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},b=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),Ln(),void(t._vnode=e);d(t.firstChild,e,null,null,null),Ln(),t._vnode=e},d]}const Cr="data-allow-mismatch",Tr={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ar(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Cr);)e=e.parentElement;const n=e&&e.getAttribute(Cr);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||e.includes(Tr[t])}}const Lr=z().requestIdleCallback||(e=>setTimeout(e,1)),Dr=z().cancelIdleCallback||(e=>clearTimeout(e)),Ir=(e=1e4)=>t=>{const n=Lr(t,{timeout:e});return()=>Dr(n)},Rr=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:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t<o||r>0&&r<o)&&(n>0&&n<s||i>0&&i<s)}(e)?(t(),r.disconnect(),!1):void r.observe(e)})),()=>r.disconnect()},Or=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},Mr=(e=[])=>(t,n)=>{w(e)&&(e=[e]);let r=!1;const i=e=>{r||(r=!0,o(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},o=()=>{n((t=>{for(const n of e)t.removeEventListener(n,i)}))};return n((t=>{for(const n of e)t.addEventListener(n,i,{once:!0})})),o},Nr=e=>!!e.type.__asyncLoader;function Fr(e){y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,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 vr({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(e,t,n){let r=!1;const i=o?()=>{const i=o((()=>{n()}),(t=>function(e,t){if(Er(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Er(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));i&&(t.bum||(t.bum=[])).push(i),(t.u||(t.u=[])).push((()=>r=!0))}:n;c?i():h().then((()=>!t.isUnmounted&&i()))},get __asyncResolved(){return c},setup(){const e=Fs;if(br(e),c)return()=>Pr(c,e);const t=t=>{u=null,vn(t,e,13,!r)};if(a&&e.suspense||$s)return h().then((t=>()=>Pr(t,e))).catch((e=>(t(e),()=>r?xs(r,{error:e}):null)));const o=Wt(!1),l=Wt(),d=Wt(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),h().then((()=>{o.value=!0,e.parent&&Hr(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),l.value=e})),()=>o.value&&c?Pr(c,e):l.value&&r?xs(r,{error:l.value}):n&&!d.value?xs(n):void 0}})}function Pr(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,s=xs(e,r,i);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const Hr=e=>e.type.__isKeepAlive,Wr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ps(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=new Map,o=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,h=d("div");function p(e){$r(e),u(e,n,a,!0)}function f(e){i.forEach(((t,n)=>{const r=ea(t.type);r&&!e(r)&&m(n)}))}function m(e){const t=i.get(e);!t||s&&gs(t,s)?s&&$r(s):p(t),i.delete(e),o.delete(e)}r.activate=(e,t,n,r,i)=>{const o=e.component;c(e,t,n,0,a),l(o.vnode,e,t,n,o,a,r,e.slotScopeIds,i),yo((()=>{o.isDeactivated=!1,o.a&&W(o.a);const t=e.props&&e.props.onVnodeMounted;t&&Rs(t,o.parent,e)}),a)},r.deactivate=e=>{const t=e.component;Ao(t.m),Ao(t.a),c(e,h,null,1,a),yo((()=>{t.da&&W(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Rs(n,t.parent,e),t.isDeactivated=!0}),a)},Mo((()=>[e.include,e.exclude]),(([e,t])=>{e&&f((t=>Br(e,t))),t&&f((e=>!Br(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(Ko(n.subTree.type)?yo((()=>{i.set(v,Ur(n.subTree))}),n.subTree.suspense):i.set(v,Ur(n.subTree)))};return Gr(g),Qr(g),Jr((()=>{i.forEach((e=>{const{subTree:t,suspense:r}=n,i=Ur(t);if(e.type!==i.type||e.key!==i.key)p(e);else{$r(i);const e=i.component.da;e&&yo(e,r)}}))})),()=>{if(v=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!vs(r)||!(4&r.shapeFlag||128&r.shapeFlag))return s=null,r;let a=Ur(r);if(a.type===is)return s=null,a;const l=a.type,c=ea(Nr(a)?a.type.__asyncResolved||{}:l),{include:u,exclude:d,max:h}=e;if(u&&(!c||!Br(u,c))||d&&c&&Br(d,c))return a.shapeFlag&=-257,s=a,r;const p=null==a.key?l:a.key,f=i.get(p);return a.el&&(a=Es(a),128&r.shapeFlag&&(r.ssContent=a)),v=p,f?(a.el=f.el,a.component=f.component,a.transition&&fr(a,a.transition),a.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),h&&o.size>parseInt(h,10)&&m(o.values().next().value)),a.shapeFlag|=256,s=a,Ko(r.type)?r:a}}};function Br(e,t){return m(e)?e.some((e=>Br(e,t))):w(e)?e.split(",").includes(t):"[object RegExp]"===_(e)&&(e.lastIndex=0,e.test(t))}function Vr(e,t){qr(e,"a",t)}function jr(e,t){qr(e,"da",t)}function qr(e,t,n=Fs){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Zr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Hr(e.parent.vnode)&&zr(r,t,n,e),e=e.parent}}function zr(e,t,n,r){const i=Zr(t,e,r,!0);ei((()=>{h(r[t],i)}),n)}function $r(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ur(e){return 128&e.shapeFlag?e.ssContent:e}function Zr(e,t,n=Fs,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Ne();const i=Bs(n),o=mn(t,n,e,r);return i(),Fe(),o});return r?i.unshift(o):i.push(o),o}}const Kr=e=>(t,n=Fs)=>{$s&&"sp"!==e||Zr(e,((...e)=>t(...e)),n)},Yr=Kr("bm"),Gr=Kr("m"),Xr=Kr("bu"),Qr=Kr("u"),Jr=Kr("bum"),ei=Kr("um"),ti=Kr("sp"),ni=Kr("rtg"),ri=Kr("rtc");function ii(e,t=Fs){Zr("ec",e,t)}const oi="components",si="directives";function ai(e,t){return di(oi,e,!0,t)||e}const li=Symbol.for("v-ndc");function ci(e){return w(e)?di(oi,e,!1)||e:e||li}function ui(e){return di(si,e)}function di(e,t,n=!0,r=!1){const i=Nn||Fs;if(i){const n=i.type;if(e===oi){const e=ea(n,!1);if(e&&(e===t||e===O(t)||e===F(O(t))))return n}const o=hi(i[e]||n[e],t)||hi(i.appContext[e],t);return!o&&r?n:o}}function hi(e,t){return e&&(e[t]||e[O(t)]||e[F(O(t))])}function pi(e,t,n,r){let i;const o=n&&n[r],s=m(e);if(s||w(e)){let n=!1,r=!1;s&&Dt(e)&&(n=!Rt(e),r=It(e),e=Ye(e)),i=new Array(e.length);for(let s=0,a=e.length;s<a;s++)i[s]=t(n?r?Pt(Ft(e[s])):Ft(e[s]):e[s],s,void 0,o&&o[s])}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,o&&o[n])}else if(x(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,o&&o[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,s=n.length;r<s;r++){const s=n[r];i[r]=t(e[s],s,r,o&&o[r])}}else i=[];return n&&(n[r]=i),i}function fi(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 mi(e,t,n={},r,i){if(Nn.ce||Nn.parent&&Nr(Nn.parent)&&Nn.parent.ce)return"default"!==t&&(n.name=t),ls(),ms(ns,null,[xs("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ls();const s=o&&vi(o(n)),a=n.key||s&&s.key,l=ms(ns,{key:(a&&!S(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function vi(e){return e.some((e=>!vs(e)||e.type!==is&&!(e.type===ns&&!vi(e.children))))?e:null}function gi(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:P(r)]=e[r];return n}const bi=e=>e?js(e)?Js(e):bi(e.parent):null,yi=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=>bi(e.parent),$root:e=>bi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vi(e),$forceUpdate:e=>e.f||(e.f=()=>{_n(e.update)}),$nextTick:e=>e.n||(e.n=En.bind(e.proxy)),$watch:e=>Fo.bind(e)}),wi=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Si={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(wi(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];Hi&&(a[t]=0)}}const d=yi[t];let h,p;return d?("$attrs"===t&&Ue(e.attrs,0,""),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==o&&f(n,t)?(a[t]=4,n[t]):(p=c.config.globalProperties,f(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return wi(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!(f(e.props,t)||"$"===t[0]&&t.slice(1)in e||(s[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||wi(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(yi,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},xi=d({},Si,{get(e,t){if(t!==Symbol.unscopables)return Si.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!$(t)});function ki(){return null}function Ei(){return null}function _i(e){}function Ci(e){}function Ti(){return null}function Ai(){}function Li(e,t){return null}function Di(){return Ri().slots}function Ii(){return Ri().attrs}function Ri(){const e=Ps();return e.setupContext||(e.setupContext=Qs(e))}function Oi(e){return m(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Mi(e,t){const n=Oi(e);for(const e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?m(r)||y(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Ni(e,t){return e&&t?m(e)&&m(t)?e.concat(t):d({},Oi(e),Oi(t)):e||t}function Fi(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Pi(e){const t=Ps();let n=e();return Vs(),k(n)&&(n=n.catch((e=>{throw Bs(t),e}))),[n,()=>Bs(t)]}let Hi=!0;function Wi(e,t,n){mn(m(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Bi(e,t,n,r){let i=r.includes(".")?Po(n,r):()=>n[r];if(w(e)){const n=t[e];y(n)&&Mo(i,n)}else if(y(e))Mo(i,e.bind(n));else if(x(e))if(m(e))e.forEach((e=>Bi(e,t,n,r)));else{const r=y(e.handler)?e.handler.bind(n):t[e.handler];y(r)&&Mo(i,r,e)}}function Vi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach((e=>ji(l,e,s,!0))),ji(l,t,s)):l=t,x(t)&&o.set(t,l),l}function ji(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&ji(e,o,n,!0),i&&i.forEach((t=>ji(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=qi[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const qi={data:zi,props:Ki,emits:Ki,methods:Zi,computed:Zi,beforeCreate:Ui,created:Ui,beforeMount:Ui,mounted:Ui,beforeUpdate:Ui,updated:Ui,beforeDestroy:Ui,beforeUnmount:Ui,destroyed:Ui,unmounted:Ui,activated:Ui,deactivated:Ui,errorCaptured:Ui,serverPrefetch:Ui,components:Zi,directives:Zi,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]=Ui(e[r],t[r]);return n},provide:zi,inject:function(e,t){return Zi($i(e),$i(t))}};function zi(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 $i(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ui(e,t){return e?[...new Set([].concat(e,t))]:t}function Zi(e,t){return e?d(Object.create(null),e,t):t}function Ki(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:d(Object.create(null),Oi(e),Oi(null!=t?t:{})):t}function Yi(){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 Xi(e,t){return function(n,r=null){y(n)||(n=d({},n)),null==r||x(r)||(r=null);const i=Yi(),o=new WeakSet,s=[];let a=!1;const l=i.app={_uid:Gi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:sa,get config(){return i.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&y(e.install)?(o.add(e),e.install(l,...t)):y(e)&&(o.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(o,s,c){if(!a){const u=l._ceVNode||xs(n,r);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(u,o):e(u,o,c),a=!0,l._container=o,o.__vue_app__=l,Js(u.component)}},onUnmount(e){s.push(e)},unmount(){a&&(mn(s,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l),runWithContext(e){const t=Qi;Qi=l;try{return e()}finally{Qi=t}}};return l}}let Qi=null;function Ji(e,t){if(Fs){let n=Fs.provides;const r=Fs.parent&&Fs.parent.provides;r===n&&(n=Fs.provides=Object.create(r)),n[e]=t}}function eo(e,t,n=!1){const r=Fs||Nn;if(r||Qi){let i=Qi?Qi._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&y(t)?t.call(r&&r.proxy):t}}function to(){return!!(Fs||Nn||Qi)}const no={},ro=()=>Object.create(no),io=e=>Object.getPrototypeOf(e)===no;function oo(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(L(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:jo(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Mt(n),r=a||o;for(let o=0;o<s.length;o++){const a=s[o];n[a]=so(i,t,a,r[a],e,!f(r,a))}}return l}function so(e,t,n,r,i,o){const s=e[n];if(null!=s){const e=f(s,"default");if(e&&void 0===r){const e=s.default;if(s.type!==Function&&!s.skipFactory&&y(e)){const{propsDefaults:o}=i;if(n in o)r=o[n];else{const s=Bs(i);r=o[n]=e.call(null,t),s()}}else r=e;i.ce&&i.ce._setProp(n,r)}s[0]&&(o&&!e?r=!1:!s[1]||""!==r&&r!==N(n)||(r=!0))}return r}const ao=new WeakMap;function lo(e,t,n=!1){const r=n?ao:t.propsCache,i=r.get(e);if(i)return i;const a=e.props,l={},c=[];let u=!1;if(!y(e)){const r=e=>{u=!0;const[n,r]=lo(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 x(e)&&r.set(e,s),s;if(m(a))for(let e=0;e<a.length;e++){const t=O(a[e]);co(t)&&(l[t]=o)}else if(a)for(const e in a){const t=O(e);if(co(t)){const n=a[e],r=l[t]=m(n)||y(n)?{type:n}:d({},n),i=r.type;let o=!1,s=!0;if(m(i))for(let e=0;e<i.length;++e){const t=i[e],n=y(t)&&t.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=y(i)&&"Boolean"===i.name;r[0]=o,r[1]=s,(o||f(r,"default"))&&c.push(t)}}const h=[l,c];return x(e)&&r.set(e,h),h}function co(e){return"$"!==e[0]&&!L(e)}const uo=e=>"_"===e[0]||"$stable"===e,ho=e=>m(e)?e.map(As):[As(e)],po=(e,t,n)=>{if(t._n)return t;const r=Vn(((...e)=>ho(t(...e))),n);return r._c=!1,r},fo=(e,t,n)=>{const r=e._ctx;for(const n in e){if(uo(n))continue;const i=e[n];if(y(i))t[n]=po(0,i,r);else if(null!=i){const e=ho(i);t[n]=()=>e}}},mo=(e,t)=>{const n=ho(t);e.slots.default=()=>n},vo=(e,t,n)=>{for(const r in t)!n&&uo(r)||(e[r]=t[r])},go=(e,t,n)=>{const r=e.slots=ro();if(32&e.vnode.shapeFlag){const e=t.__;e&&B(r,"__",e,!0);const i=t._;i?(vo(r,t,n),n&&B(r,"_",i,!0)):fo(t,r)}else t&&mo(e,t)},bo=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:vo(i,t,n):(s=!t.$stable,fo(t,i)),a=t}else t&&(mo(e,t),a={default:1});if(s)for(const e in i)uo(e)||null!=a[e]||delete i[e]},yo=es;function wo(e){return xo(e)}function So(e){return xo(e,_r)}function xo(e,t){z().__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:l,createText:c,createComment:u,setText:d,setElementText:h,parentNode:p,nextSibling:v,setScopeId:g=a,insertStaticContent:b}=e,y=(e,t,n,r=null,i=null,o=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!gs(e,t)&&(r=G(e),$(e,i,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case rs:w(e,t,n,r);break;case is:S(e,t,n,r);break;case os:null==e&&x(t,n,r,s);break;case ns:I(e,t,n,r,i,o,s,a,l);break;default:1&d?k(e,t,n,r,i,o,s,a,l):6&d?R(e,t,n,r,i,o,s,a,l):(64&d||128&d)&&c.process(e,t,n,r,i,o,s,a,l,J)}null!=u&&i?wr(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&wr(e.ref,null,o,e,!0)},w=(e,t,r,i)=>{if(null==e)n(t.el=c(t.children),r,i);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},S=(e,t,r,i)=>{null==e?n(t.el=u(t.children||""),r,i):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r,e.el,e.anchor)},k=(e,t,n,r,i,o,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?E(t,n,r,i,o,s,a,l):T(e,t,i,o,s,a,l)},E=(e,t,r,o,s,a,c,u)=>{let d,p;const{props:f,shapeFlag:m,transition:v,dirs:g}=e;if(d=e.el=l(e.type,a,f&&f.is,f),8&m?h(d,e.children):16&m&&C(e.children,d,null,o,s,ko(e,a),c,u),g&&qn(e,null,o,"created"),_(d,e,e.scopeId,c,o),f){for(const e in f)"value"===e||L(e)||i(d,e,null,f[e],a,o);"value"in f&&i(d,"value",null,f.value,a),(p=f.onVnodeBeforeMount)&&Rs(p,o,e)}g&&qn(e,null,o,"beforeMount");const b=_o(s,v);b&&v.beforeEnter(d),n(d,t,r),((p=f&&f.onVnodeMounted)||b||g)&&yo((()=>{p&&Rs(p,o,e),b&&v.enter(d),g&&qn(e,null,o,"mounted")}),s)},_=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Ko(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=i.vnode;_(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},C=(e,t,n,r,i,o,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Ls(e[c]):As(e[c]);y(null,l,t,n,r,i,o,s,a)}},T=(e,t,n,r,s,a,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||o,m=t.props||o;let v;if(n&&Eo(n,!1),(v=m.onVnodeBeforeUpdate)&&Rs(v,n,t,e),p&&qn(t,e,n,"beforeUpdate"),n&&Eo(n,!0),(f.innerHTML&&null==m.innerHTML||f.textContent&&null==m.textContent)&&h(c,""),d?A(e.dynamicChildren,d,c,n,r,ko(t,s),a):l||B(e,t,c,null,n,r,ko(t,s),a,!1),u>0){if(16&u)D(c,f,m,n,s);else if(2&u&&f.class!==m.class&&i(c,"class",null,m.class,s),4&u&&i(c,"style",f.style,m.style,s),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],o=f[r],a=m[r];a===o&&"value"!==r||i(c,r,o,a,s,n)}}1&u&&e.children!==t.children&&h(c,t.children)}else l||null!=d||D(c,f,m,n,s);((v=m.onVnodeUpdated)||p)&&yo((()=>{v&&Rs(v,n,t,e),p&&qn(t,e,n,"updated")}),r)},A=(e,t,n,r,i,o,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===ns||!gs(l,c)||198&l.shapeFlag)?p(l.el):n;y(l,c,u,null,r,i,o,s,!0)}},D=(e,t,n,r,s)=>{if(t!==n){if(t!==o)for(const o in t)L(o)||o in n||i(e,o,t[o],null,s,r);for(const o in n){if(L(o))continue;const a=n[o],l=t[o];a!==l&&"value"!==o&&i(e,o,l,a,s,r)}"value"in n&&i(e,"value",t.value,n.value,s)}},I=(e,t,r,i,o,s,a,l,u)=>{const d=t.el=e?e.el:c(""),h=t.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=t;m&&(l=l?l.concat(m):m),null==e?(n(d,r,i),n(h,r,i),C(t.children||[],r,h,o,s,a,l,u)):p>0&&64&p&&f&&e.dynamicChildren?(A(e.dynamicChildren,f,r,o,s,a,l),(null!=t.key||o&&t===o.subTree)&&Co(e,t,!0)):B(e,t,r,h,o,s,a,l,u)},R=(e,t,n,r,i,o,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,s,l):M(t,n,r,i,o,s,l):F(e,t,l)},M=(e,t,n,r,i,o,s)=>{const a=e.component=Ns(e,r,i);if(Hr(e)&&(a.ctx.renderer=J),Us(a,!1,s),a.asyncDep){if(i&&i.registerDep(a,P,s),!e.el){const e=a.subTree=xs(is);S(null,e,t,n)}}else P(a,e,t,n,i,o,s)},F=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||Uo(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?Uo(r,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==r[n]&&!jo(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void H(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},P=(e,t,n,r,i,o,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=To(e);if(n)return t&&(t.el=c.el,H(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let u,d=t;Eo(e,!1),t?(t.el=c.el,H(e,t,s)):t=c,n&&W(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Rs(u,l,t,c),Eo(e,!0);const h=qo(e),f=e.subTree;e.subTree=h,y(f,h,p(f.el),G(f),e,i,o),t.el=h.el,null===d&&Zo(e,h.el),r&&yo(r,i),(u=t.props&&t.props.onVnodeUpdated)&&yo((()=>Rs(u,l,t,c)),i)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d,root:h,type:p}=e,f=Nr(t);if(Eo(e,!1),c&&W(c),!f&&(s=l&&l.onVnodeBeforeMount)&&Rs(s,d,t),Eo(e,!0),a&&te){const t=()=>{e.subTree=qo(e),te(a,e.subTree,e,i,null)};f&&p.__asyncHydrate?p.__asyncHydrate(a,e,t):t()}else{h.ce&&!1!==h.ce._def.shadowRoot&&h.ce._injectChildStyle(p);const s=e.subTree=qo(e);y(null,s,n,r,e,i,o),t.el=s.el}if(u&&yo(u,i),!f&&(s=l&&l.onVnodeMounted)){const e=t;yo((()=>Rs(s,d,e)),i)}(256&t.shapeFlag||d&&Nr(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&yo(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new be(a);e.scope.off();const c=e.update=l.run.bind(l),u=e.job=l.runIfDirty.bind(l);u.i=e,u.id=e.uid,l.scheduler=()=>_n(u),Eo(e,!0),c()},H=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=Mt(i),[l]=e.propsOptions;let c=!1;if(!(r||s>0)||16&s){let r;oo(e,t,i,o)&&(c=!0);for(const o in a)t&&(f(t,o)||(r=N(o))!==o&&f(t,r))||(l?!n||void 0===n[o]&&void 0===n[r]||(i[o]=so(l,a,o,void 0,e,!0)):delete i[o]);if(o!==a)for(const e in o)t&&f(t,e)||(delete o[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(jo(e.emitsOptions,s))continue;const u=t[s];if(l)if(f(o,s))u!==o[s]&&(o[s]=u,c=!0);else{const t=O(s);i[t]=so(l,a,t,u,e,!1)}else u!==o[s]&&(o[s]=u,c=!0)}}c&&Ze(e.attrs,"set","")}(e,t.props,r,n),bo(e,t.children,n),Ne(),An(e),Fe()},B=(e,t,n,r,i,o,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void j(c,d,n,r,i,o,s,a,l);if(256&p)return void V(c,d,n,r,i,o,s,a,l)}8&f?(16&u&&Y(c,i,o),d!==c&&h(n,d)):16&u?16&f?j(c,d,n,r,i,o,s,a,l):Y(c,i,o,!0):(8&u&&h(n,""),16&f&&C(d,n,r,i,o,s,a,l))},V=(e,t,n,r,i,o,a,l,c)=>{t=t||s;const u=(e=e||s).length,d=t.length,h=Math.min(u,d);let p;for(p=0;p<h;p++){const r=t[p]=c?Ls(t[p]):As(t[p]);y(e[p],r,n,null,i,o,a,l,c)}u>d?Y(e,i,o,!0,!1,h):C(t,n,r,i,o,a,l,c,h)},j=(e,t,n,r,i,o,a,l,c)=>{let u=0;const d=t.length;let h=e.length-1,p=d-1;for(;u<=h&&u<=p;){const r=e[u],s=t[u]=c?Ls(t[u]):As(t[u]);if(!gs(r,s))break;y(r,s,n,null,i,o,a,l,c),u++}for(;u<=h&&u<=p;){const r=e[h],s=t[p]=c?Ls(t[p]):As(t[p]);if(!gs(r,s))break;y(r,s,n,null,i,o,a,l,c),h--,p--}if(u>h){if(u<=p){const e=p+1,s=e<d?t[e].el:r;for(;u<=p;)y(null,t[u]=c?Ls(t[u]):As(t[u]),n,s,i,o,a,l,c),u++}}else if(u>p)for(;u<=h;)$(e[u],i,o,!0),u++;else{const f=u,m=u,v=new Map;for(u=m;u<=p;u++){const e=t[u]=c?Ls(t[u]):As(t[u]);null!=e.key&&v.set(e.key,u)}let g,b=0;const w=p-m+1;let S=!1,x=0;const k=new Array(w);for(u=0;u<w;u++)k[u]=0;for(u=f;u<=h;u++){const r=e[u];if(b>=w){$(r,i,o,!0);continue}let s;if(null!=r.key)s=v.get(r.key);else for(g=m;g<=p;g++)if(0===k[g-m]&&gs(r,t[g])){s=g;break}void 0===s?$(r,i,o,!0):(k[s-m]=u+1,s>=x?x=s:S=!0,y(r,t[s],n,null,i,o,a,l,c),b++)}const E=S?function(e){const t=e.slice(),n=[0];let r,i,o,s,a;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<l?o=a+1:s=a;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}(k):s;for(g=E.length-1,u=w-1;u>=0;u--){const e=m+u,s=t[e],h=e+1<d?t[e+1].el:r;0===k[u]?y(null,s,n,h,i,o,a,l,c):S&&(g<0||u!==E[g]?q(s,n,h,2):g--)}}},q=(e,t,i,o,s=null)=>{const{el:a,type:l,transition:c,children:u,shapeFlag:d}=e;if(6&d)q(e.component.subTree,t,i,o);else if(128&d)e.suspense.move(t,i,o);else if(64&d)l.move(e,t,i,J);else if(l!==ns)if(l!==os)if(2!==o&&1&d&&c)if(0===o)c.beforeEnter(a),n(a,t,i),yo((()=>c.enter(a)),s);else{const{leave:o,delayLeave:s,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?r(a):n(a,t,i)},d=()=>{o(a,(()=>{u(),l&&l()}))};s?s(a,u,d):d()}else n(a,t,i);else(({el:e,anchor:t},r,i)=>{let o;for(;e&&e!==t;)o=v(e),n(e,r,i),e=o;n(t,r,i)})(e,t,i);else{n(a,t,i);for(let e=0;e<u.length;e++)q(u[e],t,i,o);n(e.anchor,t,i)}},$=(e,t,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:h,cacheIndex:p}=e;if(-2===d&&(i=!1),null!=a&&(Ne(),wr(a,null,n,e,!0),Fe()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const f=1&u&&h,m=!Nr(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&Rs(v,t,e),6&u)K(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);f&&qn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,J,r):c&&!c.hasOnce&&(o!==ns||d>0&&64&d)?Y(c,t,n,!1,!0):(o===ns&&384&d||!i&&16&u)&&Y(l,t,n),r&&U(e)}(m&&(v=s&&s.onVnodeUnmounted)||f)&&yo((()=>{v&&Rs(v,t,e),f&&qn(e,null,t,"unmounted")}),n)},U=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===ns)return void Z(n,i);if(t===os)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),r(e),e=n;r(t)})(e);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),r(e),e=n;r(t)},K=(e,t,n)=>{const{bum:r,scope:i,job:o,subTree:s,um:a,m:l,a:c,parent:u,slots:{__:d}}=e;Ao(l),Ao(c),r&&W(r),u&&m(d)&&d.forEach((e=>{u.renderCache[e]=void 0})),i.stop(),o&&(o.flags|=8,$(s,e,t,n)),a&&yo(a,t),yo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,r=!1,i=!1,o=0)=>{for(let s=o;s<e.length;s++)$(e[s],t,n,r,i)},G=e=>{if(6&e.shapeFlag)return G(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=v(e.anchor||e.el),n=t&&t[zn];return n?v(n):t};let X=!1;const Q=(e,t,n)=>{null==e?t._vnode&&$(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,X||(X=!0,An(),Ln(),X=!1)},J={p:y,um:$,m:q,r:U,mt:M,mc:C,pc:B,pbc:A,n:G,o:e};let ee,te;return t&&([ee,te]=t(J)),{render:Q,hydrate:ee,createApp:Xi(Q,ee)}}function ko({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 Eo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function _o(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Co(e,t,n=!1){const r=e.children,i=t.children;if(m(r)&&m(i))for(let e=0;e<r.length;e++){const t=r[e];let o=i[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[e]=Ls(i[e]),o.el=t.el),n||-2===o.patchFlag||Co(t,o)),o.type===rs&&(o.el=t.el),o.type!==is||o.el||(o.el=t.el)}}function To(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:To(t)}function Ao(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Lo=Symbol.for("v-scx"),Do=()=>eo(Lo);function Io(e,t){return No(e,null,t)}function Ro(e,t){return No(e,null,{flush:"post"})}function Oo(e,t){return No(e,null,{flush:"sync"})}function Mo(e,t,n){return No(e,t,n)}function No(e,t,n=o){const{immediate:r,deep:i,flush:s,once:l}=n,c=d({},n),u=t&&r||!t&&"post"!==s;let p;if($s)if("sync"===s){const e=Do();p=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}const f=Fs;c.call=(e,t,n)=>mn(e,f,t,n);let v=!1;"post"===s?c.scheduler=e=>{yo(e,f&&f.suspense)}:"sync"!==s&&(v=!0,c.scheduler=(e,t)=>{t?e():_n(e)}),c.augmentJob=e=>{t&&(e.flags|=4),v&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};const g=function(e,t,n=o){const{immediate:r,deep:i,once:s,scheduler:l,augmentJob:c,call:u}=n,d=e=>i?e:Rt(e)||!1===i||0===i?un(e,1):un(e);let p,f,v,g,b=!1,w=!1;if(Ht(e)?(f=()=>e.value,b=Rt(e)):Dt(e)?(f=()=>d(e),b=!0):m(e)?(w=!0,b=e.some((e=>Dt(e)||Rt(e))),f=()=>e.map((e=>Ht(e)?e.value:Dt(e)?d(e):y(e)?u?u(e,2):e():void 0))):f=y(e)?t?u?()=>u(e,2):e:()=>{if(v){Ne();try{v()}finally{Fe()}}const t=an;an=p;try{return u?u(e,3,[g]):e(g)}finally{an=t}}:a,t&&i){const e=f,t=!0===i?1/0:i;f=()=>un(e(),t)}const S=me(),x=()=>{p.stop(),S&&S.active&&h(S.effects,p)};if(s&&t){const e=t;t=(...t)=>{e(...t),x()}}let k=w?new Array(e.length).fill(on):on;const E=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(i||b||(w?e.some(((e,t)=>H(e,k[t]))):H(e,k))){v&&v();const n=an;an=p;try{const n=[e,k===on?void 0:w&&k[0]===on?[]:k,g];k=e,u?u(t,3,n):t(...n)}finally{an=n}}}else p.run()};return c&&c(E),p=new be(f),p.scheduler=l?()=>l(E,!1):E,g=e=>cn(e,!1,p),v=p.onStop=()=>{const e=sn.get(p);if(e){if(u)u(e,4);else for(const t of e)t();sn.delete(p)}},t?r?E(!0):k=p.run():l?l(E.bind(null,!0),!0):p.run(),x.pause=p.pause.bind(p),x.resume=p.resume.bind(p),x.stop=x,x}(e,t,c);return $s&&(p?p.push(g):u&&g()),g}function Fo(e,t,n){const r=this.proxy,i=w(e)?e.includes(".")?Po(r,e):()=>r[e]:e.bind(r,r);let o;y(t)?o=t:(o=t.handler,n=t);const s=Bs(this),a=No(i,o.bind(r),n);return s(),a}function Po(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}}function Ho(e,t,n=o){const r=Ps(),i=O(t),s=N(t),a=Wo(e,i),l=Yt(((a,l)=>{let c,u,d=o;return Oo((()=>{const t=e[i];H(c,t)&&(c=t,l())})),{get:()=>(a(),n.get?n.get(c):c),set(e){const a=n.set?n.set(e):e;if(!(H(a,c)||d!==o&&H(e,d)))return;const h=r.vnode.props;h&&(t in h||i in h||s in h)&&(`onUpdate:${t}`in h||`onUpdate:${i}`in h||`onUpdate:${s}`in h)||(c=e,l()),r.emit(`update:${t}`,a),H(e,a)&&H(e,d)&&!H(a,u)&&l(),d=e,u=a}}}));return l[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?a||o:l,done:!1}:{done:!0}}},l}const Wo=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${O(t)}Modifiers`]||e[`${N(t)}Modifiers`];function Bo(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o;let i=n;const s=t.startsWith("update:"),a=s&&Wo(r,t.slice(7));let l;a&&(a.trim&&(i=n.map((e=>w(e)?e.trim():e))),a.number&&(i=n.map(V)));let c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P(N(t))]),c&&mn(c,e,6,i);const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,mn(u,e,6,i)}}function Vo(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const o=e.emits;let s={},a=!1;if(!y(e)){const r=e=>{const n=Vo(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 o||a?(m(o)?o.forEach((e=>s[e]=null)):d(s,o),x(e)&&r.set(e,s),s):(x(e)&&r.set(e,null),null)}function jo(e,t){return!(!e||!c(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,N(t))||f(e,t))}function qo(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:l,render:c,renderCache:d,props:h,data:p,setupState:f,ctx:m,inheritAttrs:v}=e,g=Pn(e);let b,y;try{if(4&n.shapeFlag){const e=i||r,t=e;b=As(c.call(t,e,d,h,f,p,m)),y=a}else{const e=t;b=As(e.length>1?e(h,{attrs:a,slots:s,emit:l}):e(h,null)),y=t.props?a:zo(a)}}catch(t){ss.length=0,vn(t,e,1),b=xs(is)}let w=b;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(o&&e.some(u)&&(y=$o(y,o)),w=Es(w,y,!1,!0))}return n.dirs&&(w=Es(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&fr(w,n.transition),b=w,Pn(g),b}const zo=e=>{let t;for(const n in e)("class"===n||"style"===n||c(n))&&((t||(t={}))[n]=e[n]);return t},$o=(e,t)=>{const n={};for(const r in e)u(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Uo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!jo(n,o))return!0}return!1}function Zo({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 Ko=e=>e.__isSuspense;let Yo=0;const Go={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,s,a,l,c){if(null==e)!function(e,t,n,r,i,o,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=Qo(e,i,r,t,d,n,o,s,a,l);c(null,h.pendingBranch=e.ssContent,d,null,r,h,o,s),h.deps>0?(Xo(e,"onPending"),Xo(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,s),ts(h,e.ssFallback)):h.resolve(!1,!0)}(t,n,r,i,o,s,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,r,i,o,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,p=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=h,gs(h,m)?(l(m,h,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0?d.resolve():v&&(g||(l(f,p,n,r,i,null,o,s,a),ts(d,p)))):(d.pendingId=Yo++,g?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,h,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0?d.resolve():(l(f,p,n,r,i,null,o,s,a),ts(d,p))):f&&gs(h,f)?(l(f,h,n,r,i,d,o,s,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0&&d.resolve()));else if(f&&gs(h,f))l(f,h,n,r,i,d,o,s,a),ts(d,h);else if(Xo(t,"onPending"),d.pendingBranch=h,512&h.shapeFlag?d.pendingId=h.component.suspenseId:d.pendingId=Yo++,l(null,h,d.hiddenContainer,null,i,d,o,s,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(p)}),e):0===e&&d.fallback(p)}}(e,t,n,r,i,s,a,l,c)}},hydrate:function(e,t,n,r,i,o,s,a,l){const c=t.suspense=Qo(t,r,n,e.parentNode,document.createElement("div"),null,i,o,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,s);return 0===c.deps&&c.resolve(!1,!0),u},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Jo(r?n.default:n),e.ssFallback=r?Jo(n.fallback):xs(is)}};function Xo(e,t){const n=e.props&&e.props[t];y(n)&&n()}function Qo(e,t,n,r,i,o,s,a,l,c,u=!1){const{p:d,m:h,um:p,n:f,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?j(e.props.timeout):void 0,w=o,S={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:i,deps:0,pendingId:Yo++,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:i,pendingBranch:s,pendingId:a,effects:l,parentComponent:c,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=i&&s.transition&&"out-in"===s.transition.mode,d&&(i.transition.afterLeave=()=>{a===S.pendingId&&(h(s,u,o===w?f(i):o,0),Tn(l))}),i&&(m(i.el)===u&&(o=f(i)),p(i,c,S,!0)),d||h(s,u,o,0)),ts(S,s),S.pendingBranch=null,S.isInFallback=!1;let v=S.parent,y=!1;for(;v;){if(v.pendingBranch){v.effects.push(...l),y=!0;break}v=v.parent}y||d||Tn(l),S.effects=[],b&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),Xo(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:o}=S;Xo(t,"onFallback");const s=f(n),c=()=>{S.isInFallback&&(d(null,e,i,s,r,null,o,a,l),ts(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),S.isInFallback=!0,p(n,r,null,!0),u||c()},move(e,t,n){S.activeBranch&&h(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&f(S.activeBranch),registerDep(e,t,n){const r=!!S.pendingBranch;r&&S.deps++;const i=e.vnode.el;e.asyncDep.catch((t=>{vn(t,e,0)})).then((o=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;Zs(e,o,!1),i&&(a.el=i);const l=!i&&e.subTree.el;t(e,a,m(i||e.subTree.el),i?null:f(e.subTree),S,s,n),l&&v(l),Zo(e,a.el),r&&0==--S.deps&&S.resolve()}))},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,e,t),S.pendingBranch&&p(S.pendingBranch,n,e,t)}};return S}function Jo(e){let t;if(y(e)){const n=ds&&e._c;n&&(e._d=!1,ls()),e=e(),n&&(e._d=!0,t=as,cs())}if(m(e)){const t=function(e,t=!0){let n;for(let t=0;t<e.length;t++){const r=e[t];if(!vs(r))return;if(r.type!==is||"v-if"===r.children){if(n)return;n=r}}return n}(e);e=t}return e=As(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function es(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):Tn(e)}function ts(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Zo(r,i))}const ns=Symbol.for("v-fgt"),rs=Symbol.for("v-txt"),is=Symbol.for("v-cmt"),os=Symbol.for("v-stc"),ss=[];let as=null;function ls(e=!1){ss.push(as=e?null:[])}function cs(){ss.pop(),as=ss[ss.length-1]||null}let us,ds=1;function hs(e,t=!1){ds+=e,e<0&&as&&t&&(as.hasOnce=!0)}function ps(e){return e.dynamicChildren=ds>0?as||s:null,cs(),ds>0&&as&&as.push(e),e}function fs(e,t,n,r,i,o){return ps(Ss(e,t,n,r,i,o,!0))}function ms(e,t,n,r,i){return ps(xs(e,t,n,r,i,!0))}function vs(e){return!!e&&!0===e.__v_isVNode}function gs(e,t){return e.type===t.type&&e.key===t.key}function bs(e){us=e}const ys=({key:e})=>null!=e?e:null,ws=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?w(e)||Ht(e)||y(e)?{i:Nn,r:e,k:t,f:!!n}:e:null);function Ss(e,t=null,n=null,r=0,i=null,o=(e===ns?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ys(t),ref:t&&ws(t),scopeId:Fn,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Nn};return a?(Ds(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=w(n)?8:16),ds>0&&!s&&as&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&as.push(l),l}const xs=function(e,t=null,n=null,r=0,i=null,o=!1){if(e&&e!==li||(e=is),vs(e)){const r=Es(e,t,!0);return n&&Ds(r,n),ds>0&&!o&&as&&(6&r.shapeFlag?as[as.indexOf(e)]=r:as.push(r)),r.patchFlag=-2,r}if(s=e,y(s)&&"__vccOpts"in s&&(e=e.__vccOpts),t){t=ks(t);let{class:e,style:n}=t;e&&!w(e)&&(t.class=X(e)),x(n)&&(Ot(n)&&!m(n)&&(n=d({},n)),t.style=U(n))}var s;return Ss(e,t,n,r,i,w(e)?1:Ko(e)?128:$n(e)?64:x(e)?4:y(e)?2:0,o,!0)};function ks(e){return e?Ot(e)||io(e)?d({},e):e:null}function Es(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:l}=e,c=t?Is(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ys(c),ref:t&&t.ref?n&&o?m(o)?o.concat(ws(t)):[o,ws(t)]:ws(t):o,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!==ns?-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&&Es(e.ssContent),ssFallback:e.ssFallback&&Es(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&fr(u,l.clone(u)),u}function _s(e=" ",t=0){return xs(rs,null,e,t)}function Cs(e,t){const n=xs(os,null,e);return n.staticCount=t,n}function Ts(e="",t=!1){return t?(ls(),ms(is,null,e)):xs(is,null,e)}function As(e){return null==e||"boolean"==typeof e?xs(is):m(e)?xs(ns,null,e.slice()):vs(e)?Ls(e):xs(rs,null,String(e))}function Ls(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Es(e)}function Ds(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),Ds(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||io(t)?3===r&&Nn&&(1===Nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Nn}}else y(t)?(t={default:t,_ctx:Nn},n=32):(t=String(t),64&r?(n=16,t=[_s(t)]):n=8);e.children=t,e.shapeFlag|=n}function Is(...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=X([t.class,r.class]));else if("style"===e)t.style=U([t.style,r.style]);else if(c(e)){const n=t[e],i=r[e];!i||n===i||m(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=r[e])}return t}function Rs(e,t,n,r=null){mn(e,t,7,[n,r])}const Os=Yi();let Ms=0;function Ns(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Os,s={uid:Ms++,vnode:e,type:r,parent:t,appContext:i,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(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lo(r,i),emitsOptions:Vo(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,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=Bo.bind(null,s),e.ce&&e.ce(s),s}let Fs=null;const Ps=()=>Fs||Nn;let Hs,Ws;{const e=z(),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)}};Hs=t("__VUE_INSTANCE_SETTERS__",(e=>Fs=e)),Ws=t("__VUE_SSR_SETTERS__",(e=>$s=e))}const Bs=e=>{const t=Fs;return Hs(e),e.scope.on(),()=>{e.scope.off(),Hs(t)}},Vs=()=>{Fs&&Fs.scope.off(),Hs(null)};function js(e){return 4&e.vnode.shapeFlag}let qs,zs,$s=!1;function Us(e,t=!1,n=!1){t&&Ws(t);const{props:r,children:i}=e.vnode,o=js(e);!function(e,t,n,r=!1){const i={},o=ro();e.propsDefaults=Object.create(null),oo(e,t,i,o);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Ct(i):e.type.props?e.props=i:e.props=o,e.attrs=o}(e,r,o,t),go(e,i,n||t);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Si);const{setup:r}=n;if(r){Ne();const n=e.setupContext=r.length>1?Qs(e):null,i=Bs(e),o=fn(r,e,0,[e.props,n]),s=k(o);if(Fe(),i(),!s&&!e.sp||Nr(e)||br(e),s){if(o.then(Vs,Vs),t)return o.then((n=>{Zs(e,n,t)})).catch((t=>{vn(t,e,0)}));e.asyncDep=o}else Zs(e,o,t)}else Gs(e,t)}(e,t):void 0;return t&&Ws(!1),s}function Zs(e,t,n){y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=Zt(t)),Gs(e,n)}function Ks(e){qs=e,zs=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,xi))}}const Ys=()=>!qs;function Gs(e,t,n){const r=e.type;if(!e.render){if(!t&&qs&&!r.render){const t=r.template||Vi(e).template;if(t){const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:s}=r,a=d(d({isCustomElement:n,delimiters:o},i),s);r.render=qs(t,a)}}e.render=r.render||a,zs&&zs(e)}{const t=Bs(e);Ne();try{!function(e){const t=Vi(e),n=e.proxy,r=e.ctx;Hi=!1,t.beforeCreate&&Wi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:p,beforeUpdate:f,updated:v,activated:g,deactivated:b,beforeDestroy:w,beforeUnmount:S,destroyed:k,unmounted:E,render:_,renderTracked:C,renderTriggered:T,errorCaptured:A,serverPrefetch:L,expose:D,inheritAttrs:I,components:R,directives:O,filters:M}=t;if(u&&function(e,t,n=a){m(e)&&(e=$i(e));for(const n in e){const r=e[n];let i;i=x(r)?"default"in r?eo(r.from||n,r.default,!0):eo(r.from||n):eo(r),Ht(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,r,null),s)for(const e in s){const t=s[e];y(t)&&(r[e]=t.bind(n))}if(i){const t=i.call(n,n);x(t)&&(e.data=_t(t))}if(Hi=!0,o)for(const e in o){const t=o[e],i=y(t)?t.bind(n,n):y(t.get)?t.get.bind(n,n):a,s=!y(t)&&y(t.set)?t.set.bind(n):a,l=ta({get:i,set:s});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)Bi(l[e],r,n,e);if(c){const e=y(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Ji(t,e[t])}))}function N(e,t){m(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Wi(d,e,"c"),N(Yr,h),N(Gr,p),N(Xr,f),N(Qr,v),N(Vr,g),N(jr,b),N(ii,A),N(ri,C),N(ni,T),N(Jr,S),N(ei,E),N(ti,L),m(D))if(D.length){const t=e.exposed||(e.exposed={});D.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});_&&e.render===a&&(e.render=_),null!=I&&(e.inheritAttrs=I),R&&(e.components=R),O&&(e.directives=O),L&&br(e)}(e)}finally{Fe(),t()}}}const Xs={get:(e,t)=>(Ue(e,0,""),e[t])};function Qs(e){return{attrs:new Proxy(e.attrs,Xs),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Js(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zt(Nt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in yi?yi[n](e):void 0,has:(e,t)=>t in e||t in yi})):e.proxy}function ea(e,t=!0){return y(e)?e.displayName||e.name:e.name||t&&e.__name}const ta=(e,t)=>{const n=function(e,t,n=!1){let r,i;return y(e)?r=e:(r=e.get,i=e.set),new tn(r,i,n)}(e,0,$s);return n};function na(e,t,n){const r=arguments.length;return 2===r?x(t)&&!m(t)?vs(t)?xs(e,null,[t]):xs(e,t):xs(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&vs(n)&&(n=[n]),xs(e,t,n))}function ra(){}function ia(e,t,n,r){const i=n[r];if(i&&oa(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function oa(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(H(n[e],t[e]))return!1;return ds>0&&as&&as.push(e),!0}const sa="3.5.17",aa=a,la={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"},ca=Rn,ua=function e(t,n){var r,i;Rn=t,Rn?(Rn.enabled=!0,On.forEach((({event:e,args:t})=>Rn.emit(e,...t))),On=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(r=window.navigator)?void 0:r.userAgent)?void 0:i.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{e(t,n)})),setTimeout((()=>{Rn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Mn=!0,On=[])}),3e3)):(Mn=!0,On=[])},da={createComponentInstance:Ns,setupComponent:Us,renderComponentRoot:qo,setCurrentRenderingInstance:Pn,isVNode:vs,normalizeVNode:As,getComponentPublicInstance:Js,ensureValidVNode:vi,pushWarningContext:function(e){dn.push(e)},popWarningContext:function(){dn.pop()}},ha=null,pa=null,fa=null;let ma;const va="undefined"!=typeof window&&window.trustedTypes;if(va)try{ma=va.createPolicy("vue",{createHTML:e=>e})}catch(e){}const ga=ma?e=>ma.createHTML(e):e=>e,ba="undefined"!=typeof document?document:null,ya=ba&&ba.createElement("template"),wa={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 i="svg"===t?ba.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ba.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ba.createElement(e,{is:n}):ba.createElement(e);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>ba.createTextNode(e),createComment:e=>ba.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ba.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==o&&(i=i.nextSibling););else{ya.innerHTML=ga("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);const i=ya.content;if("svg"===r||"mathml"===r){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sa="transition",xa="animation",ka=Symbol("_vtc"),Ea={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},_a=d({},sr,Ea),Ca=(e=>(e.displayName="Transition",e.props=_a,e))(((e,{slots:t})=>na(cr,La(e),t))),Ta=(e,t=[])=>{m(e)?e.forEach((e=>e(...t))):e&&e(...t)},Aa=e=>!!e&&(m(e)?e.some((e=>e.length>1)):e.length>1);function La(e){const t={};for(const n in e)n in Ea||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if(x(e))return[Da(e.enter),Da(e.leave)];{const t=Da(e);return[t,t]}}(i),v=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:w,onLeave:S,onLeaveCancelled:k,onBeforeAppear:E=b,onAppear:_=y,onAppearCancelled:C=w}=t,T=(e,t,n,r)=>{e._enterCancelled=r,Ra(e,t?u:a),Ra(e,t?c:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,Ra(e,h),Ra(e,f),Ra(e,p),t&&t()},L=e=>(t,n)=>{const i=e?_:y,s=()=>T(t,e,n);Ta(i,[t,s]),Oa((()=>{Ra(t,e?l:o),Ia(t,e?u:a),Aa(i)||Na(t,r,v,s)}))};return d(t,{onBeforeEnter(e){Ta(b,[e]),Ia(e,o),Ia(e,s)},onBeforeAppear(e){Ta(E,[e]),Ia(e,l),Ia(e,c)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);Ia(e,h),e._enterCancelled?(Ia(e,p),Wa()):(Wa(),Ia(e,p)),Oa((()=>{e._isLeaving&&(Ra(e,h),Ia(e,f),Aa(S)||Na(e,r,g,n))})),Ta(S,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Ta(w,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Ta(C,[e])},onLeaveCancelled(e){A(e),Ta(k,[e])}})}function Da(e){return j(e)}function Ia(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[ka]||(e[ka]=new Set)).add(t)}function Ra(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[ka];n&&(n.delete(t),n.size||(e[ka]=void 0))}function Oa(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ma=0;function Na(e,t,n,r){const i=e._endId=++Ma,o=()=>{i===e._endId&&r()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=Fa(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),o()},h=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,h)}function Fa(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),i=r(`${Sa}Delay`),o=r(`${Sa}Duration`),s=Pa(i,o),a=r(`${xa}Delay`),l=r(`${xa}Duration`),c=Pa(a,l);let u=null,d=0,h=0;return t===Sa?s>0&&(u=Sa,d=s,h=o.length):t===xa?c>0&&(u=xa,d=c,h=l.length):(d=Math.max(s,c),u=d>0?s>c?Sa:xa:null,h=u?u===Sa?o.length:l.length:0),{type:u,timeout:d,propCount:h,hasTransform:u===Sa&&/\b(transform|all)(,|$)/.test(r(`${Sa}Property`).toString())}}function Pa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ha(t)+Ha(e[n]))))}function Ha(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Wa(){return document.body.offsetHeight}const Ba=Symbol("_vod"),Va=Symbol("_vsh"),ja={beforeMount(e,{value:t},{transition:n}){e[Ba]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):qa(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),qa(e,!0),r.enter(e)):r.leave(e,(()=>{qa(e,!1)})):qa(e,t))},beforeUnmount(e,{value:t}){qa(e,t)}};function qa(e,t){e.style.display=t?e[Ba]:"none",e[Va]=!t}const za=Symbol("");function $a(e){const t=Ps();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Za(e,n)))},r=()=>{const r=e(t.proxy);t.ce?Za(t.ce,r):Ua(t.subTree,r),n(r)};Xr((()=>{Tn(r)})),Gr((()=>{Mo(r,a,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),ei((()=>e.disconnect()))}))}function Ua(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Ua(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Za(e.el,t);else if(e.type===ns)e.children.forEach((e=>Ua(e,t)));else if(e.type===os){let{el:n,anchor:r}=e;for(;n&&(Za(n,t),n!==r);)n=n.nextSibling}}function Za(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[za]=r}}const Ka=/(^|;)\s*display\s*:/,Ya=/\s*!important$/;function Ga(e,t,n){if(m(n))n.forEach((n=>Ga(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Qa[t];if(n)return n;let r=O(t);if("filter"!==r&&r in e)return Qa[t]=r;r=F(r);for(let n=0;n<Xa.length;n++){const i=Xa[n]+r;if(i in e)return Qa[t]=i}return t}(e,t);Ya.test(n)?e.setProperty(N(r),n.replace(Ya,""),"important"):e[r]=n}}const Xa=["Webkit","Moz","ms"],Qa={},Ja="http://www.w3.org/1999/xlink";function el(e,t,n,r,i,o=re(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Ja,t.slice(6,t.length)):e.setAttributeNS(Ja,t,n):null==n||o&&!ie(n)?e.removeAttribute(t):e.setAttribute(t,o?"":S(n)?String(n):n)}function tl(e,t,n,r,i){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?ga(n):n));const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const r="OPTION"===o?e.getAttribute("value")||"":e.value,i=null==n?"checkbox"===e.type?"on":"":String(n);return r===i&&"_value"in e||(e.value=i),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=ie(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0)}try{e[t]=n}catch(e){}s&&e.removeAttribute(i||t)}function nl(e,t,n,r){e.addEventListener(t,n,r)}const rl=Symbol("_vei");const il=/(?:Once|Passive|Capture)$/;let ol=0;const sl=Promise.resolve(),al=()=>ol||(sl.then((()=>ol=0)),ol=Date.now()),ll=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,cl={};function ul(e,t,n){const r=vr(e,t);T(r)&&d(r,t);class i extends pl{constructor(e){super(r,e,n)}}return i.def=r,i}const dl=(e,t)=>ul(e,t,Jl),hl="undefined"!=typeof HTMLElement?HTMLElement:class{};class pl extends hl{constructor(e,t={},n=Ql){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._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Ql?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({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 pl){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,En((()=>{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)}))}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),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 i;if(n&&!m(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=j(this._props[e])),(i||(i=Object.create(null)))[O(e)]=!0)}this._numberProps=i,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 e in t)f(this,e)||Object.defineProperty(this,e,{get:()=>zt(t[e])})}_resolveProps(e){const{props:t}=e,n=m(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(O))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):cl;const r=O(e);t&&this._numberProps&&this._numberProps[r]&&(n=j(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]&&(t===cl?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&&n.disconnect(),!0===t?this.setAttribute(N(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(N(e),t+""):t||this.removeAttribute(N(e)),n&&n.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Gl(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=xs(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(t[0])?d({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),N(e)!==e&&t(N(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 t=e.length-1;t>=0;t--){const r=document.createElement("style");n&&r.setAttribute("nonce",n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_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._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],i=r.getAttribute("name")||"default",o=this._slots[i],s=r.parentNode;if(o)for(const e of o){if(t&&1===e.nodeType){const n=t+"-s",r=document.createTreeWalker(e,1);let i;for(e.setAttribute(n,"");i=r.nextNode();)i.setAttribute(n,"")}s.insertBefore(e,r)}else for(;r.firstChild;)s.insertBefore(r.firstChild,r);s.removeChild(r)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function fl(e){const t=Ps();return t&&t.ce||null}function ml(){const e=fl();return e&&e.shadowRoot}function vl(e="$style"){{const t=Ps();if(!t)return o;const n=t.type.__cssModules;if(!n)return o;return n[e]||o}}const gl=new WeakMap,bl=new WeakMap,yl=Symbol("_moveCb"),wl=Symbol("_enterCb"),Sl=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:d({},_a,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ps(),r=ir();let i,o;return Qr((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),i=e[ka];i&&i.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 o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=Fa(r);return o.removeChild(r),s}(i[0].el,n.vnode.el,t))return void(i=[]);i.forEach(xl),i.forEach(kl);const r=i.filter(El);Wa(),r.forEach((e=>{const n=e.el,r=n.style;Ia(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n[yl]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",i),n[yl]=null,Ra(n,t))};n.addEventListener("transitionend",i)})),i=[]})),()=>{const s=Mt(e),a=La(s);let l=s.tag||ns;if(i=[],o)for(let e=0;e<o.length;e++){const t=o[e];t.el&&t.el instanceof Element&&(i.push(t),fr(t,dr(t,a,r,n)),gl.set(t,t.el.getBoundingClientRect()))}o=t.default?mr(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&fr(t,dr(t,a,r,n))}return xs(l,null,o)}}});function xl(e){const t=e.el;t[yl]&&t[yl](),t[wl]&&t[wl]()}function kl(e){bl.set(e,e.el.getBoundingClientRect())}function El(e){const t=gl.get(e),n=bl.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration="0s",e}}const _l=e=>{const t=e.props["onUpdate:modelValue"]||!1;return m(t)?e=>W(t,e):t};function Cl(e){e.target.composing=!0}function Tl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Al=Symbol("_assign"),Ll={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Al]=_l(i);const o=r||i.props&&"number"===i.props.type;nl(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),o&&(r=V(r)),e[Al](r)})),n&&nl(e,"change",(()=>{e.value=e.value.trim()})),t||(nl(e,"compositionstart",Cl),nl(e,"compositionend",Tl),nl(e,"change",Tl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},s){if(e[Al]=_l(s),e.composing)return;const a=null==t?"":t;if((!o&&"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(i&&e.value.trim()===a)return}e.value=a}}},Dl={deep:!0,created(e,t,n){e[Al]=_l(n),nl(e,"change",(()=>{const t=e._modelValue,n=Nl(e),r=e.checked,i=e[Al];if(m(t)){const e=se(t,n),o=-1!==e;if(r&&!o)i(t.concat(n));else if(!r&&o){const n=[...t];n.splice(e,1),i(n)}}else if(g(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Fl(e,r))}))},mounted:Il,beforeUpdate(e,t,n){e[Al]=_l(n),Il(e,t,n)}};function Il(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,m(t))i=se(t,r.props.value)>-1;else if(g(t))i=t.has(r.props.value);else{if(t===n)return;i=oe(t,Fl(e,!0))}e.checked!==i&&(e.checked=i)}const Rl={created(e,{value:t},n){e.checked=oe(t,n.props.value),e[Al]=_l(n),nl(e,"change",(()=>{e[Al](Nl(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[Al]=_l(r),t!==n&&(e.checked=oe(t,r.props.value))}},Ol={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=g(t);nl(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?V(Nl(e)):Nl(e)));e[Al](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,En((()=>{e._assigning=!1}))})),e[Al]=_l(r)},mounted(e,{value:t}){Ml(e,t)},beforeUpdate(e,t,n){e[Al]=_l(n)},updated(e,{value:t}){e._assigning||Ml(e,t)}};function Ml(e,t){const n=e.multiple,r=m(t);if(!n||r||g(t)){for(let i=0,o=e.options.length;i<o;i++){const o=e.options[i],s=Nl(o);if(n)if(r){const e=typeof s;o.selected="string"===e||"number"===e?t.some((e=>String(e)===String(s))):se(t,s)>-1}else o.selected=t.has(s);else if(oe(Nl(o),t))return void(e.selectedIndex!==i&&(e.selectedIndex=i))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Nl(e){return"_value"in e?e._value:e.value}function Fl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Pl={created(e,t,n){Wl(e,t,n,null,"created")},mounted(e,t,n){Wl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Wl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Wl(e,t,n,r,"updated")}};function Hl(e,t){switch(e){case"SELECT":return Ol;case"TEXTAREA":return Ll;default:switch(t){case"checkbox":return Dl;case"radio":return Rl;default:return Ll}}}function Wl(e,t,n,r,i){const o=Hl(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}const Bl=["ctrl","shift","alt","meta"],Vl={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)=>Bl.some((n=>e[`${n}Key`]&&!t.includes(n)))},jl=(e,t)=>{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=Vl[t[e]];if(r&&r(n,t))return}return e(n,...r)})},ql={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zl=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=N(n.key);return t.some((e=>e===r||ql[e]===r))?e(n):void 0})},$l=d({patchProp:(e,t,n,r,i,o)=>{const s="svg"===i;"class"===t?function(e,t,n){const r=e[ka];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,i=w(n);let o=!1;if(n&&!i){if(t)if(w(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ga(r,t,"")}else for(const e in t)null==n[e]&&Ga(r,e,"");for(const e in n)"display"===e&&(o=!0),Ga(r,e,n[e])}else if(i){if(t!==n){const e=r[za];e&&(n+=";"+e),r.cssText=n,o=Ka.test(n)}}else t&&e.removeAttribute("style");Ba in e&&(e[Ba]=o?r.display:"",e[Va]&&(r.display="none"))}(e,n,r):c(t)?u(t)||function(e,t,n,r,i=null){const o=e[rl]||(e[rl]={}),s=o[t];if(r&&s)s.value=r;else{const[n,a]=function(e){let t;if(il.test(e)){let n;for(t={};n=e.match(il);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):N(e.slice(2)),t]}(t);if(r){const s=o[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();mn(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=al(),n}(r,i);nl(e,n,s,a)}else s&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),o[t]=void 0)}}(e,t,0,r,o):("."===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&&ll(t)&&y(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)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}return(!ll(t)||!w(n))&&t in e}(e,t,r,s))?(tl(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||el(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),el(e,t,r,s)):tl(e,O(t),r,0,t)}},wa);let Ul,Zl=!1;function Kl(){return Ul||(Ul=wo($l))}function Yl(){return Ul=Zl?Ul:So($l),Zl=!0,Ul}const Gl=(...e)=>{Kl().render(...e)},Xl=(...e)=>{Yl().hydrate(...e)},Ql=(...e)=>{const t=Kl().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=tc(e);if(!r)return;const i=t._component;y(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const o=n(r,!1,ec(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Jl=(...e)=>{const t=Yl().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=tc(e);if(t)return n(t,!0,ec(t))},t};function ec(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function tc(e){return w(e)?document.querySelector(e):e}let nc=!1;const rc=()=>{nc||(nc=!0,Ll.getSSRProps=({value:e})=>({value:e}),Rl.getSSRProps=({value:e},t)=>{if(t.props&&oe(t.props.value,e))return{checked:!0}},Dl.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}},Pl.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=Hl(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},ja.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},ic=Symbol(""),oc=Symbol(""),sc=Symbol(""),ac=Symbol(""),lc=Symbol(""),cc=Symbol(""),uc=Symbol(""),dc=Symbol(""),hc=Symbol(""),pc=Symbol(""),fc=Symbol(""),mc=Symbol(""),vc=Symbol(""),gc=Symbol(""),bc=Symbol(""),yc=Symbol(""),wc=Symbol(""),Sc=Symbol(""),xc=Symbol(""),kc=Symbol(""),Ec=Symbol(""),_c=Symbol(""),Cc=Symbol(""),Tc=Symbol(""),Ac=Symbol(""),Lc=Symbol(""),Dc=Symbol(""),Ic=Symbol(""),Rc=Symbol(""),Oc=Symbol(""),Mc=Symbol(""),Nc=Symbol(""),Fc=Symbol(""),Pc=Symbol(""),Hc=Symbol(""),Wc=Symbol(""),Bc=Symbol(""),Vc=Symbol(""),jc=Symbol(""),qc={[ic]:"Fragment",[oc]:"Teleport",[sc]:"Suspense",[ac]:"KeepAlive",[lc]:"BaseTransition",[cc]:"openBlock",[uc]:"createBlock",[dc]:"createElementBlock",[hc]:"createVNode",[pc]:"createElementVNode",[fc]:"createCommentVNode",[mc]:"createTextVNode",[vc]:"createStaticVNode",[gc]:"resolveComponent",[bc]:"resolveDynamicComponent",[yc]:"resolveDirective",[wc]:"resolveFilter",[Sc]:"withDirectives",[xc]:"renderList",[kc]:"renderSlot",[Ec]:"createSlots",[_c]:"toDisplayString",[Cc]:"mergeProps",[Tc]:"normalizeClass",[Ac]:"normalizeStyle",[Lc]:"normalizeProps",[Dc]:"guardReactiveProps",[Ic]:"toHandlers",[Rc]:"camelize",[Oc]:"capitalize",[Mc]:"toHandlerKey",[Nc]:"setBlockTracking",[Fc]:"pushScopeId",[Pc]:"popScopeId",[Hc]:"withCtx",[Wc]:"unref",[Bc]:"isRef",[Vc]:"withMemo",[jc]:"isMemoSame"},zc={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function $c(e,t,n,r,i,o,s,a=!1,l=!1,c=!1,u=zc){return e&&(a?(e.helper(cc),e.helper(tu(e.inSSR,c))):e.helper(eu(e.inSSR,c)),s&&e.helper(Sc)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:s,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Uc(e,t=zc){return{type:17,loc:t,elements:e}}function Zc(e,t=zc){return{type:15,loc:t,properties:e}}function Kc(e,t){return{type:16,loc:zc,key:w(e)?Yc(e,!0):e,value:t}}function Yc(e,t=!1,n=zc,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Gc(e,t=zc){return{type:8,loc:t,children:e}}function Xc(e,t=[],n=zc){return{type:14,loc:n,callee:e,arguments:t}}function Qc(e,t=void 0,n=!1,r=!1,i=zc){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Jc(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:zc}}function eu(e,t){return e||t?hc:pc}function tu(e,t){return e||t?uc:dc}function nu(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(eu(r,e.isComponent)),t(cc),t(tu(r,e.isComponent)))}const ru=new Uint8Array([123,123]),iu=new Uint8Array([125,125]);function ou(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 au(e){return 47===e||62===e||su(e)}function lu(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const cu={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 uu(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function du(e,t){const n=uu("MODE",t),r=uu(e,t);return 3===n?!0===r:!1!==r}function hu(e,t,n,...r){return du(e,t)}function pu(e){throw e}function fu(e){}function mu(e,t,n,r){const i=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return i.code=e,i.loc=t,i}const vu=e=>4===e.type&&e.isStatic;function gu(e){switch(e){case"Teleport":case"teleport":return oc;case"Suspense":case"suspense":return sc;case"KeepAlive":case"keep-alive":return ac;case"BaseTransition":case"base-transition":return lc}}const bu=/^\d|[^\$\w\xA0-\uFFFF]/,yu=e=>!bu.test(e),wu=/[A-Za-z_$\xA0-\uFFFF]/,Su=/[\.\?\w$\xA0-\uFFFF]/,xu=/\s+[.[]\s*|\s*[.[]\s+/g,ku=e=>4===e.type?e.content:e.loc.source,Eu=e=>{const t=ku(e).trim().replace(xu,(e=>e.trim()));let n=0,r=[],i=0,o=0,s=null;for(let e=0;e<t.length;e++){const a=t.charAt(e);switch(n){case 0:if("["===a)r.push(n),n=1,i++;else if("("===a)r.push(n),n=2,o++;else if(!(0===e?wu:Su).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(n),n=3,s=a):"["===a?i++:"]"===a&&(--i||(n=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(n),n=3,s=a;else if("("===a)o++;else if(")"===a){if(e===t.length-1)return!1;--o||(n=r.pop())}break;case 3:a===s&&(n=r.pop(),s=null)}}return!i&&!o},_u=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;function Cu(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&(n||i.exp)&&(w(t)?i.name===t:t.test(i.name)))return i}}function Tu(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&Au(o.arg,t))return o}}function Au(e,t){return!(!e||!vu(e)||e.content!==t)}function Lu(e){return 5===e.type||2===e.type}function Du(e){return 7===e.type&&"slot"===e.name}function Iu(e){return 1===e.type&&3===e.tagType}function Ru(e){return 1===e.type&&2===e.tagType}const Ou=new Set([Lc,Dc]);function Mu(e,t=[]){if(e&&!w(e)&&14===e.type){const n=e.callee;if(!w(n)&&Ou.has(n))return Mu(e.arguments[0],t.concat(e))}return[e,t]}function Nu(e,t,n){let r,i,o=13===e.type?e.props:e.arguments[2],s=[];if(o&&!w(o)&&14===o.type){const e=Mu(o);o=e[0],s=e[1],i=s[s.length-1]}if(null==o||w(o))r=Zc([t]);else if(14===o.type){const e=o.arguments[0];w(e)||15!==e.type?o.callee===Ic?r=Xc(n.helper(Cc),[Zc([t]),o]):o.arguments.unshift(Zc([t])):Fu(t,e)||e.properties.unshift(t),!r&&(r=o)}else 15===o.type?(Fu(t,o)||o.properties.unshift(t),r=o):(r=Xc(n.helper(Cc),[Zc([t]),o]),i&&i.callee===Dc&&(i=s[s.length-2]));13===e.type?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r}function Fu(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 Pu(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}const Hu=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Wu={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:l,isPreTag:l,isIgnoreNewlineTag:l,isCustomElement:l,onError:pu,onWarn:fu,comments:!1,prefixIdentifiers:!1};let Bu=Wu,Vu=null,ju="",qu=null,zu=null,$u="",Uu=-1,Zu=-1,Ku=0,Yu=!1,Gu=null;const Xu=[],Qu=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=ru,this.delimiterClose=iu,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=ru,this.delimiterClose=iu}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const i=this.newlines[r];if(e>i){t=r+2,n=e-i;break}}return{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?au(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===cu.TitleEnd||this.currentSequence===cu.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===cu.Cdata[this.sequenceIndex]?++this.sequenceIndex===cu.Cdata.length&&(this.state=28,this.currentSequence=cu.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===cu.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):ou(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){au(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(au(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(lu("</"+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=ou(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||au(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||au(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||au(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||au(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||au(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=cu.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===cu.ScriptEnd[3]?this.startSpecial(cu.ScriptEnd,4):e===cu.StyleEnd[3]?this.startSpecial(cu.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===cu.TitleEnd[3]?this.startSpecial(cu.TitleEnd,4):e===cu.TextareaEnd[3]?this.startSpecial(cu.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===cu.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){}}(Xu,{onerr:bd,ontext(e,t){rd(td(e,t),e,t)},ontextentity(e,t,n){rd(e,t,n)},oninterpolation(e,t){if(Yu)return rd(td(e,t),e,t);let n=e+Qu.delimiterOpen.length,r=t-Qu.delimiterClose.length;for(;su(ju.charCodeAt(n));)n++;for(;su(ju.charCodeAt(r-1));)r--;let i=td(n,r);i.includes("&")&&(i=Bu.decodeEntities(i,!1)),pd({type:5,content:gd(i,!1,fd(n,r)),loc:fd(e,t)})},onopentagname(e,t){const n=td(e,t);qu={type:1,tag:n,ns:Bu.getNamespace(n,Xu[0],Bu.ns),tagType:0,props:[],children:[],loc:fd(e-1,t),codegenNode:void 0}},onopentagend(e){nd(e)},onclosetag(e,t){const n=td(e,t);if(!Bu.isVoidTag(n)){let r=!1;for(let e=0;e<Xu.length;e++)if(Xu[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&bd(24,Xu[0].loc.start.offset);for(let n=0;n<=e;n++)id(Xu.shift(),t,n<e);break}r||bd(23,od(e,60))}},onselfclosingtag(e){const t=qu.tag;qu.isSelfClosing=!0,nd(e),Xu[0]&&Xu[0].tag===t&&id(Xu.shift(),e)},onattribname(e,t){zu={type:6,name:td(e,t),nameLoc:fd(e,t),value:void 0,loc:fd(e)}},ondirname(e,t){const n=td(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Yu||""!==r||bd(26,e),Yu||""===r)zu={type:6,name:n,nameLoc:fd(e,t),value:void 0,loc:fd(e)};else if(zu={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[Yc("prop")]:[],loc:fd(e)},"pre"===r){Yu=Qu.inVPre=!0,Gu=qu;const e=qu.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=vd(e[t]))}},ondirarg(e,t){if(e===t)return;const n=td(e,t);if(Yu)zu.name+=n,md(zu.nameLoc,t);else{const r="["!==n[0];zu.arg=gd(r?n:n.slice(1,-1),r,fd(e,t),r?3:0)}},ondirmodifier(e,t){const n=td(e,t);if(Yu)zu.name+="."+n,md(zu.nameLoc,t);else if("slot"===zu.name){const e=zu.arg;e&&(e.content+="."+n,md(e.loc,t))}else{const r=Yc(n,!0,fd(e,t));zu.modifiers.push(r)}},onattribdata(e,t){$u+=td(e,t),Uu<0&&(Uu=e),Zu=t},onattribentity(e,t,n){$u+=e,Uu<0&&(Uu=t),Zu=n},onattribnameend(e){const t=zu.loc.start.offset,n=td(t,e);7===zu.type&&(zu.rawName=n),qu.props.some((e=>(7===e.type?e.rawName:e.name)===n))&&bd(2,t)},onattribend(e,t){if(qu&&zu){if(md(zu.loc,t),0!==e)if($u.includes("&")&&($u=Bu.decodeEntities($u,!0)),6===zu.type)"class"===zu.name&&($u=hd($u).trim()),1!==e||$u||bd(13,t),zu.value={type:2,content:$u,loc:1===e?fd(Uu,Zu):fd(Uu-1,Zu+1)},Qu.inSFCRoot&&"template"===qu.tag&&"lang"===zu.name&&$u&&"html"!==$u&&Qu.enterRCDATA(lu("</template"),0);else{let e=0;zu.exp=gd($u,!1,fd(Uu,Zu),0,e),"for"===zu.name&&(zu.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(Hu);if(!r)return;const[,i,o]=r,s=(e,n,r=!1)=>{const i=t.start.offset+n;return gd(e,!1,fd(i,i+e.length),0,r?1:0)},a={source:s(o.trim(),n.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(ed,"").trim();const c=i.indexOf(l),u=l.match(Ju);if(u){l=l.replace(Ju,"").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))}}return l&&(a.value=s(l,c,!0)),a}(zu.exp));let t=-1;"bind"===zu.name&&(t=zu.modifiers.findIndex((e=>"sync"===e.content)))>-1&&hu("COMPILER_V_BIND_SYNC",Bu,zu.loc,zu.arg.loc.source)&&(zu.name="model",zu.modifiers.splice(t,1))}7===zu.type&&"pre"===zu.name||qu.props.push(zu)}$u="",Uu=Zu=-1},oncomment(e,t){Bu.comments&&pd({type:3,content:td(e,t),loc:fd(e-4,t+3)})},onend(){const e=ju.length;for(let t=0;t<Xu.length;t++)id(Xu[t],e-1),bd(24,Xu[t].loc.start.offset)},oncdata(e,t){0!==Xu[0].ns?rd(td(e,t),e,t):bd(1,e-9)},onprocessinginstruction(e){0===(Xu[0]?Xu[0].ns:Bu.ns)&&bd(21,e-1)}}),Ju=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ed=/^\(|\)$/g;function td(e,t){return ju.slice(e,t)}function nd(e){Qu.inSFCRoot&&(qu.innerLoc=fd(e+1,e+1)),pd(qu);const{tag:t,ns:n}=qu;0===n&&Bu.isPreTag(t)&&Ku++,Bu.isVoidTag(t)?id(qu,e):(Xu.unshift(qu),1!==n&&2!==n||(Qu.inXML=!0)),qu=null}function rd(e,t,n){{const t=Xu[0]&&Xu[0].tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=Bu.decodeEntities(e,!1))}const r=Xu[0]||Vu,i=r.children[r.children.length-1];i&&2===i.type?(i.content+=e,md(i.loc,n)):r.children.push({type:2,content:e,loc:fd(t,n)})}function id(e,t,n=!1){md(e.loc,n?od(t,60):function(e,t){let n=e;for(;62!==ju.charCodeAt(n)&&n<ju.length-1;)n++;return n}(t)+1),Qu.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=td(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:i,children:o}=e;if(Yu||("slot"===r?e.tagType=2:ad(e)?e.tagType=3:function({tag:e,props:t}){if(Bu.isCustomElement(e))return!1;if("component"===e||(n=e.charCodeAt(0))>64&&n<91||gu(e)||Bu.isBuiltInComponent&&Bu.isBuiltInComponent(e)||Bu.isNativeTag&&!Bu.isNativeTag(e))return!0;var n;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(hu("COMPILER_IS_ON_ELEMENT",Bu,n.loc))return!0}}else if("bind"===n.name&&Au(n.arg,"is")&&hu("COMPILER_IS_ON_ELEMENT",Bu,n.loc))return!0}return!1}(e)&&(e.tagType=1)),Qu.inRCDATA||(e.children=cd(o)),0===i&&Bu.isIgnoreNewlineTag(r)){const e=o[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===i&&Bu.isPreTag(r)&&Ku--,Gu===e&&(Yu=Qu.inVPre=!1,Gu=null),Qu.inXML&&0===(Xu[0]?Xu[0].ns:Bu.ns)&&(Qu.inXML=!1);{const t=e.props;if(!Qu.inSFCRoot&&du("COMPILER_NATIVE_TEMPLATE",Bu)&&"template"===e.tag&&!ad(e)){const t=Xu[0]||Vu,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&&hu("COMPILER_INLINE_TEMPLATE",Bu,n.loc)&&e.children.length&&(n.value={type:2,content:td(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function od(e,t){let n=e;for(;ju.charCodeAt(n)!==t&&n>=0;)n--;return n}const sd=new Set(["if","else","else-if","for","slot"]);function ad({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&sd.has(t[e].name))return!0;return!1}const ld=/\r\n/g;function cd(e){const t="preserve"!==Bu.whitespace;let n=!1;for(let r=0;r<e.length;r++){const i=e[r];if(2===i.type)if(Ku)i.content=i.content.replace(ld,"\n");else if(ud(i.content)){const o=e[r-1]&&e[r-1].type,s=e[r+1]&&e[r+1].type;!o||!s||t&&(3===o&&(3===s||1===s)||1===o&&(3===s||1===s&&dd(i.content)))?(n=!0,e[r]=null):i.content=" "}else t&&(i.content=hd(i.content))}return n?e.filter(Boolean):e}function ud(e){for(let t=0;t<e.length;t++)if(!su(e.charCodeAt(t)))return!1;return!0}function dd(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function hd(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 pd(e){(Xu[0]||Vu).children.push(e)}function fd(e,t){return{start:Qu.getPos(e),end:null==t?t:Qu.getPos(t),source:null==t?t:td(e,t)}}function md(e,t){e.end=Qu.getPos(t),e.source=td(e.start.offset,t)}function vd(e){const t={type:6,name:e.rawName,nameLoc:fd(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 gd(e,t=!1,n,r=0,i=0){return Yc(e,t,n,r)}function bd(e,t,n){Bu.onError(mu(e,fd(t,t)))}function yd(e,t){Sd(e,void 0,t,!!wd(e))}function wd(e){const t=e.children.filter((e=>3!==e.type));return 1!==t.length||1!==t[0].type||Ru(t[0])?null:t[0]}function Sd(e,t,n,r=!1,i=!1){const{children:o}=e,s=[];for(let t=0;t<o.length;t++){const a=o[t];if(1===a.type&&0===a.tagType){const e=r?0:xd(a,n);if(e>0){if(e>=2){a.codegenNode.patchFlag=-1,s.push(a);continue}}else{const e=a.codegenNode;if(13===e.type){const t=e.patchFlag;if((void 0===t||512===t||1===t)&&_d(a,n)>=2){const t=Cd(a);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(12===a.type&&(r?0:xd(a,n))>=2){s.push(a);continue}if(1===a.type){const t=1===a.tagType;t&&n.scopes.vSlot++,Sd(a,e,n,!1,i),t&&n.scopes.vSlot--}else if(11===a.type)Sd(a,e,n,1===a.children.length,!0);else if(9===a.type)for(let t=0;t<a.branches.length;t++)Sd(a.branches[t],e,n,1===a.branches[t].children.length,i)}let a=!1;const l=[];if(s.length===o.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&m(e.codegenNode.children))e.codegenNode.children=c(Uc(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=u(e.codegenNode,"default");t&&(l.push(n.cached.length),t.returns=c(Uc(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 r=Cu(e,"slot",!0),i=r&&r.arg&&u(t.codegenNode,r.arg);i&&(l.push(n.cached.length),i.returns=c(Uc(i.returns)),a=!0)}if(!a)for(const e of s)l.push(n.cached.length),e.codegenNode=n.cache(e.codegenNode);function c(e){const t=n.cache(e);return i&&n.hmr&&(t.needArraySpread=!0),t}function u(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}}l.length&&1===e.type&&1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!m(e.codegenNode.children)&&15===e.codegenNode.children.type&&e.codegenNode.children.properties.push(Kc("__",Yc(JSON.stringify(l),!1))),s.length&&n.transformHoist&&n.transformHoist(o,n,e)}function xd(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 i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===i.patchFlag){let r=3;const o=_d(e,t);if(0===o)return n.set(e,0),0;o<r&&(r=o);for(let i=0;i<e.children.length;i++){const o=xd(e.children[i],t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}if(r>1)for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&"bind"===o.name&&o.exp){const i=xd(o.exp,t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return n.set(e,0),0;t.removeHelper(cc),t.removeHelper(tu(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(eu(t.inSSR,i.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 xd(e.content,t);case 4:return e.constType;case 8:let o=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(w(r)||S(r))continue;const i=xd(r,t);if(0===i)return 0;i<o&&(o=i)}return o;case 20:return 2}}const kd=new Set([Tc,Ac,Lc,Dc]);function Ed(e,t){if(14===e.type&&!w(e.callee)&&kd.has(e.callee)){const n=e.arguments[0];if(4===n.type)return xd(n,t);if(14===n.type)return Ed(n,t)}return 0}function _d(e,t){let n=3;const r=Cd(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:i,value:o}=e[r],s=xd(i,t);if(0===s)return s;let a;if(s<n&&(n=s),a=4===o.type?xd(o,t):14===o.type?Ed(o,t):0,0===a)return a;a<n&&(n=a)}}return n}function Cd(e){const t=e.codegenNode;if(13===t.type)return t.props}function Td(e,t){const n=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:s=!1,nodeTransforms:l=[],directiveTransforms:c={},transformHoist:u=null,isBuiltInComponent:d=a,isCustomElement:h=a,expressionPlugins:p=[],scopeId:f=null,slotted:m=!0,ssr:v=!1,inSSR:g=!1,ssrCssVars:b="",bindingMetadata:y=o,inline:S=!1,isTS:x=!1,onError:k=pu,onWarn:E=fu,compatConfig:_}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:C&&F(O(C[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:s,nodeTransforms:l,directiveTransforms:c,transformHoist:u,isBuiltInComponent:d,isCustomElement:h,expressionPlugins:p,scopeId:f,slotted:m,ssr:v,inSSR:g,ssrCssVars:b,bindingMetadata:y,inline:S,isTS:x,onError:k,onWarn:E,compatConfig:_,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=T.helpers.get(e)||0;return T.helpers.set(e,t+1),e},removeHelper(e){const t=T.helpers.get(e);if(t){const n=t-1;n?T.helpers.set(e,n):T.helpers.delete(e)}},helperString:e=>`_${qc[T.helper(e)]}`,replaceNode(e){T.parent.children[T.childIndex]=T.currentNode=e},removeNode(e){const t=T.parent.children,n=e?t.indexOf(e):T.currentNode?T.childIndex:-1;e&&e!==T.currentNode?T.childIndex>n&&(T.childIndex--,T.onNodeRemoved()):(T.currentNode=null,T.onNodeRemoved()),T.parent.children.splice(n,1)},onNodeRemoved:a,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){w(e)&&(e=Yc(e)),T.hoists.push(e);const t=Yc(`_hoisted_${T.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:zc}}(T.cached.length,e,t,n);return T.cached.push(r),r}};return T.filters=new Set,T}(e,t);Ad(e,n),t.hoistStatic&&yd(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=wd(e);if(n&&n.codegenNode){const r=n.codegenNode;13===r.type&&nu(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let r=64;e.codegenNode=$c(t,n(ic),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 Ad(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(fc);break;case 5:t.ssr||t.helper(_c);break;case 9:for(let n=0;n<e.branches.length;n++)Ad(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 i=e.children[n];w(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Ad(i,t))}}(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function Ld(e,t){const n=w(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(Du))return;const o=[];for(let s=0;s<i.length;s++){const a=i[s];if(7===a.type&&n(a.name)){i.splice(s,1),s--;const n=t(e,a,r);n&&o.push(n)}}return o}}}const Dd="/*@__PURE__*/",Id=e=>`${qc[e]}: _${qc[e]}`;function Rd(e,t,{helper:n,push:r,newline:i,isTS:o}){const s=n("filter"===t?wc:"component"===t?gc:yc);for(let n=0;n<e.length;n++){let a=e[n];const l=a.endsWith("__self");l&&(a=a.slice(0,-6)),r(`const ${Pu(a,t)} = ${s}(${JSON.stringify(a)}${l?", true":""})${o?"!":""}`),n<e.length-1&&i()}}function Od(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Md(e,t,n),n&&t.deindent(),t.push("]")}function Md(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let s=0;s<e.length;s++){const a=e[s];w(a)?i(a,-3):m(a)?Od(a,t):Nd(a,t),s<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function Nd(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:Nd(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Fd(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Dd),n(`${r(_c)}(`),Nd(e.content,t),n(")")}(e,t);break;case 8:Pd(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Dd),n(`${r(fc)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:s,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:h,isComponent:p}=e;let f;l&&(f=String(l)),u&&n(r(Sc)+"("),d&&n(`(${r(cc)}(${h?"true":""}), `),i&&n(Dd);n(r(d?tu(t.inSSR,p):eu(t.inSSR,p))+"(",-2,e),Md(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([o,s,a,f,c]),t),n(")"),d&&n(")"),u&&(n(", "),Nd(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:i}=t,o=w(e.callee)?e.callee:r(e.callee);i&&n(Dd),n(o+"(",-2,e),Md(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:s}=e;if(!s.length)return void n("{}",-2,e);const a=s.length>1||!1;n(a?"{":"{ "),a&&r();for(let e=0;e<s.length;e++){const{key:r,value:i}=s[e];Hd(r,t),n(": "),Nd(i,t),e<s.length-1&&(n(","),o())}a&&i(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){Od(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:s,body:a,newline:l,isSlot:c}=e;c&&n(`_${qc[Hc]}(`),n("(",-2,e),m(o)?Md(o,t):o&&Nd(o,t),n(") => "),(l||a)&&(n("{"),r()),s?(l&&n("return "),m(s)?Od(s,t):Nd(s,t)):a&&Nd(a,t),(l||a)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:s,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!yu(n.content);e&&s("("),Fd(n,t),e&&s(")")}else s("("),Nd(n,t),s(")");o&&a(),t.indentLevel++,o||s(" "),s("? "),Nd(r,t),t.indentLevel--,o&&c(),o||s(" "),s(": ");const u=19===i.type;u||t.indentLevel++,Nd(i,t),u||t.indentLevel--,o&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:s}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&n("[...("),n(`_cache[${e.index}] || (`),a&&(i(),n(`${r(Nc)}(-1`),e.inVOnce&&n(", true"),n("),"),s(),n("(")),n(`_cache[${e.index}] = `),Nd(e.value,t),a&&(n(`).cacheIndex = ${e.index},`),s(),n(`${r(Nc)}(1),`),s(),n(`_cache[${e.index}]`),o()),n(")"),l&&n(")]")}(e,t);break;case 21:Md(e.body,t,!0,!1)}}function Fd(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Pd(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];w(r)?t.push(r,-3):Nd(r,t)}}function Hd(e,t){const{push:n}=t;8===e.type?(n("["),Pd(e,t),n("]")):e.isStatic?n(yu(e.content)?e.content:JSON.stringify(e.content),-2,e):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 Wd=Ld(/^(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(mu(28,t.loc)),t.exp=Yc("true",!1,r)}if("if"===t.name){const o=Bd(e,t),s={type:9,loc:(i=e.loc,fd(i.start.offset,i.end.offset)),branches:[o]};if(n.replaceNode(s),r)return r(s,o,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-- >=-1;){const s=i[o];if(s&&3===s.type)n.removeNode(s);else{if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){"else-if"===t.name&&void 0===s.branches[s.branches.length-1].condition&&n.onError(mu(30,e.loc)),n.removeNode();const i=Bd(e,t);s.branches.push(i);const o=r&&r(s,i,!1);Ad(i,n),o&&o(),n.currentNode=null}else n.onError(mu(30,e.loc));break}n.removeNode(s)}}}var i}(e,t,n,((e,t,r)=>{const i=n.parent.children;let o=i.indexOf(e),s=0;for(;o-- >=0;){const e=i[o];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(r)e.codegenNode=Vd(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=Vd(t,s+e.branches.length-1,n)}}}))));function Bd(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Cu(e,"for")?e.children:[e],userKey:Tu(e,"key"),isTemplateIf:n}}function Vd(e,t,n){return e.condition?Jc(e.condition,jd(e,t,n),Xc(n.helper(fc),['""',"true"])):jd(e,t,n)}function jd(e,t,n){const{helper:r}=n,i=Kc("key",Yc(`${t}`,!1,zc,2)),{children:o}=e,s=o[0];if(1!==o.length||1!==s.type){if(1===o.length&&11===s.type){const e=s.codegenNode;return Nu(e,i,n),e}{let t=64;return $c(n,r(ic),Zc([i]),o,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=s.codegenNode,t=14===(a=e).type&&a.callee===Vc?a.arguments[1].returns:a;return 13===t.type&&nu(t,n),Nu(t,i,n),e}var a}const qd=(e,t,n)=>{const{modifiers:r,loc:i}=e,o=e.arg;let{exp:s}=e;if(s&&4===s.type&&!s.content.trim()&&(s=void 0),!s){if(4!==o.type||!o.isStatic)return n.onError(mu(52,o.loc)),{props:[Kc(o,Yc("",!0,i))]};zd(e),s=e.exp}return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.some((e=>"camel"===e.content))&&(4===o.type?o.isStatic?o.content=O(o.content):o.content=`${n.helperString(Rc)}(${o.content})`:(o.children.unshift(`${n.helperString(Rc)}(`),o.children.push(")"))),n.inSSR||(r.some((e=>"prop"===e.content))&&$d(o,"."),r.some((e=>"attr"===e.content))&&$d(o,"^")),{props:[Kc(o,s)]}},zd=(e,t)=>{const n=e.arg,r=O(n.content);e.exp=Yc(r,!1,n.loc)},$d=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Ud=Ld("for",((e,t,n)=>{const{helper:r,removeHelper:i}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(mu(31,t.loc));const i=t.forParseResult;if(!i)return void n.onError(mu(32,t.loc));Zd(i);const{addIdentifiers:o,removeIdentifiers:s,scopes:a}=n,{source:l,value:c,key:u,index:d}=i,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Iu(e)?e.children:[e]};n.replaceNode(h),a.vFor++;const p=r&&r(h);return()=>{a.vFor--,p&&p()}}(e,t,n,(t=>{const o=Xc(r(xc),[t.source]),s=Iu(e),a=Cu(e,"memo"),l=Tu(e,"key",!1,!0);l&&7===l.type&&!l.exp&&zd(l);let c=l&&(6===l.type?l.value?Yc(l.value.content,!0):void 0:l.exp);const u=l&&c?Kc("key",c):null,d=4===t.source.type&&t.source.constType>0,h=d?64:l?128:256;return t.codegenNode=$c(n,r(ic),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let l;const{children:h}=t,p=1!==h.length||1!==h[0].type,f=Ru(e)?e:s&&1===e.children.length&&Ru(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,s&&u&&Nu(l,u,n)):p?l=$c(n,r(ic),u?Zc([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=h[0].codegenNode,s&&u&&Nu(l,u,n),l.isBlock!==!d&&(l.isBlock?(i(cc),i(tu(n.inSSR,l.isComponent))):i(eu(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(r(cc),r(tu(n.inSSR,l.isComponent))):r(eu(n.inSSR,l.isComponent))),a){const e=Qc(Kd(t.parseResult,[Yc("_cached")]));e.body={type:21,body:[Gc(["const _memo = (",a.exp,")"]),Gc(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(jc)}(_cached, _memo)) return _cached`]),Gc(["const _item = ",l]),Yc("_item.memo = _memo"),Yc("return _item")],loc:zc},o.arguments.push(e,Yc("_cache"),Yc(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qc(Kd(t.parseResult),l,!0))}}))}));function Zd(e,t){e.finalized||(e.finalized=!0)}function Kd({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||Yc("_".repeat(t+1),!1)))}([e,t,n,...r])}const Yd=Yc("undefined",!1),Gd=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Cu(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Xd=(e,t,n,r)=>Qc(e,n,!1,!0,n.length?n[0].loc:r);function Qd(e,t,n=Xd){t.helper(Hc);const{children:r,loc:i}=e,o=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Cu(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!vu(e)&&(a=!0),o.push(Kc(e||Yc("default",!0),n(t,void 0,r,i)))}let c=!1,u=!1;const d=[],h=new Set;let p=0;for(let e=0;e<r.length;e++){const i=r[e];let f;if(!Iu(i)||!(f=Cu(i,"slot",!0))){3!==i.type&&d.push(i);continue}if(l){t.onError(mu(37,f.loc));break}c=!0;const{children:m,loc:v}=i,{arg:g=Yc("default",!0),exp:b,loc:y}=f;let w;vu(g)?w=g?g.content:"default":a=!0;const S=Cu(i,"for"),x=n(b,S,m,v);let k,E;if(k=Cu(i,"if"))a=!0,s.push(Jc(k.exp,Jd(g,x,p++),Yd));else if(E=Cu(i,/^else(-if)?$/,!0)){let n,i=e;for(;i--&&(n=r[i],3===n.type||!th(n)););if(n&&Iu(n)&&Cu(n,/^(else-)?if$/)){let e=s[s.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?Jc(E.exp,Jd(g,x,p++),Yd):Jd(g,x,p++)}else t.onError(mu(30,E.loc))}else if(S){a=!0;const e=S.forParseResult;e?(Zd(e),s.push(Xc(t.helper(xc),[e.source,Qc(Kd(e),Jd(g,x),!0)]))):t.onError(mu(32,S.loc))}else{if(w){if(h.has(w)){t.onError(mu(38,y));continue}h.add(w),"default"===w&&(u=!0)}o.push(Kc(g,x))}}if(!l){const e=(e,r)=>{const o=n(e,void 0,r,i);return t.compatConfig&&(o.isNonScopedSlot=!0),Kc("default",o)};c?d.length&&d.some((e=>th(e)))&&(u?t.onError(mu(39,d[0].loc)):o.push(e(void 0,d))):o.push(e(void 0,r))}const f=a?2:eh(e.children)?3:1;let m=Zc(o.concat(Kc("_",Yc(f+"",!1))),i);return s.length&&(m=Xc(t.helper(Ec),[m,Uc(s)])),{slots:m,hasDynamicSlots:a}}function Jd(e,t,n){const r=[Kc("name",e),Kc("fn",t)];return null!=n&&r.push(Kc("key",Yc(String(n),!0))),Zc(r)}function eh(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||eh(n.children))return!0;break;case 9:if(eh(n.branches))return!0;break;case 10:case 11:if(eh(n.children))return!0}}return!1}function th(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():th(e.content))}const nh=new WeakMap,rh=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,i=1===e.tagType;let o=i?function(e,t,n=!1){let{tag:r}=e;const i=ah(r),o=Tu(e,"is",!1,!0);if(o)if(i||du("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===o.type?e=o.value&&Yc(o.value.content,!0):(e=o.exp,e||(e=Yc("is",!1,o.arg.loc))),e)return Xc(t.helper(bc),[e])}else 6===o.type&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const s=gu(r)||t.isBuiltInComponent(r);return s?(n||t.helper(s),s):(t.helper(gc),t.components.add(r),Pu(r,"component"))}(e,t):`"${n}"`;const s=x(o)&&o.callee===bc;let a,l,c,u,d,h=0,p=s||o===oc||o===sc||!i&&("svg"===n||"foreignObject"===n||"math"===n);if(r.length>0){const n=ih(e,t,void 0,i,s);a=n.props,h=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;d=r&&r.length?Uc(r.map((e=>function(e,t){const n=[],r=nh.get(e);r?n.push(t.helperString(r)):(t.helper(yc),t.directives.add(e.name),n.push(Pu(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Yc("true",!1,i);n.push(Zc(e.modifiers.map((e=>Kc(e,t))),i))}return Uc(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(o===ac&&(p=!0,h|=1024),i&&o!==oc&&o!==ac){const{slots:n,hasDynamicSlots:r}=Qd(e,t);l=n,r&&(h|=1024)}else if(1===e.children.length&&o!==oc){const n=e.children[0],r=n.type,i=5===r||8===r;i&&0===xd(n,t)&&(h|=1),l=i||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=$c(t,o,a,l,0===h?void 0:h,c,d,!!p,!1,i,e.loc)};function ih(e,t,n=e.props,r,i,o=!1){const{tag:s,loc:a,children:l}=e;let u=[];const d=[],h=[],p=l.length>0;let f=!1,m=0,v=!1,g=!1,b=!1,y=!1,w=!1,x=!1;const k=[],E=e=>{u.length&&(d.push(Zc(oh(u),a)),u=[]),e&&d.push(e)},_=()=>{t.scopes.vFor>0&&u.push(Kc(Yc("ref_for",!0),Yc("true")))},C=({key:e,value:n})=>{if(vu(e)){const o=e.content,s=c(o);if(!s||r&&!i||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||L(o)||(y=!0),s&&L(o)&&(x=!0),s&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&xd(n,t)>0)return;"ref"===o?v=!0:"class"===o?g=!0:"style"===o?b=!0:"key"===o||k.includes(o)||k.push(o),!r||"class"!==o&&"style"!==o||k.includes(o)||k.push(o)}else w=!0};for(let i=0;i<n.length;i++){const l=n[i];if(6===l.type){const{loc:e,name:n,nameLoc:r,value:i}=l;let o=!0;if("ref"===n&&(v=!0,_()),"is"===n&&(ah(s)||i&&i.content.startsWith("vue:")||du("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Kc(Yc(n,!0,r),Yc(i?i.content:"",o,i?i.loc:e)))}else{const{name:n,arg:i,exp:c,loc:v,modifiers:g}=l,b="bind"===n,y="on"===n;if("slot"===n){r||t.onError(mu(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||b&&Au(i,"is")&&(ah(s)||du("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((b&&Au(i,"key")||y&&p&&Au(i,"vue:before-update"))&&(f=!0),b&&Au(i,"ref")&&_(),!i&&(b||y)){if(w=!0,c)if(b){if(E(),du("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(c);continue}_(),E(),d.push(c)}else E({type:14,loc:v,callee:t.helper(Ic),arguments:r?[c]:[c,"true"]});else t.onError(mu(b?34:35,v));continue}b&&g.some((e=>"prop"===e.content))&&(m|=32);const x=t.directiveTransforms[n];if(x){const{props:n,needRuntime:r}=x(l,e,t);!o&&n.forEach(C),y&&i&&!vu(i)?E(Zc(n,a)):u.push(...n),r&&(h.push(l),S(r)&&nh.set(l,r))}else D(n)||(h.push(l),p&&(f=!0))}}let T;if(d.length?(E(),T=d.length>1?Xc(t.helper(Cc),d,a):d[0]):u.length&&(T=Zc(oh(u),a)),w?m|=16:(g&&!r&&(m|=2),b&&!r&&(m|=4),k.length&&(m|=8),y&&(m|=32)),f||0!==m&&32!==m||!(v||x||h.length>0)||(m|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<T.properties.length;t++){const i=T.properties[t].key;vu(i)?"class"===i.content?e=t:"style"===i.content&&(n=t):i.isHandlerKey||(r=!0)}const i=T.properties[e],o=T.properties[n];r?T=Xc(t.helper(Lc),[T]):(i&&!vu(i.value)&&(i.value=Xc(t.helper(Tc),[i.value])),o&&(b||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=Xc(t.helper(Ac),[o.value])));break;case 14:break;default:T=Xc(t.helper(Lc),[Xc(t.helper(Dc),[T])])}return{props:T,directives:h,patchFlag:m,dynamicPropNames:k,shouldUseBlock:f}}function oh(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const o=i.key.content,s=t.get(o);s?("style"===o||"class"===o||c(o))&&sh(s,i):(t.set(o,i),n.push(i))}return n}function sh(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Uc([e.value,t.value],e.loc)}function ah(e){return"component"===e||"Component"===e}const lh=(e,t)=>{if(Ru(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:o}=function(e,t){let n,r='"default"';const i=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=O(n.name),i.push(n)));else if("bind"===n.name&&Au(n.arg,"name")){if(n.exp)r=n.exp;else if(n.arg&&4===n.arg.type){const e=O(n.arg.content);r=n.exp=Yc(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&vu(n.arg)&&(n.arg.content=O(n.arg.content)),i.push(n)}if(i.length>0){const{props:r,directives:o}=ih(e,t,i,!1,!1);n=r,o.length&&t.onError(mu(36,o[0].loc))}return{slotName:r,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;o&&(s[2]=o,a=3),n.length&&(s[3]=Qc([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=Xc(t.helper(kc),s,r)}},ch=(e,t,n,r)=>{const{loc:i,modifiers:o,arg:s}=e;let a;if(e.exp||o.length||n.onError(mu(35,i)),4===s.type)if(s.isStatic){let e=s.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),a=Yc(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?P(O(e)):`on:${e}`,!0,s.loc)}else a=Gc([`${n.helperString(Mc)}(`,s,")"]);else a=s,a.children.unshift(`${n.helperString(Mc)}(`),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=Eu(l),t=!(e||(e=>_u.test(ku(e)))(l)),n=l.content.includes(";");(t||c&&e)&&(l=Gc([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[Kc(a,l||Yc("() => {}",!1,i))]};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},uh=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,i=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Lu(t)){i=!0;for(let i=e+1;i<n.length;i++){const o=n[i];if(!Lu(o)){r=void 0;break}r||(r=n[e]=Gc([t],t.loc)),r.children.push(" + ",o),n.splice(i,1),i--}}}if(i&&(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(Lu(r)||8===r.type){const i=[];2===r.type&&" "===r.content||i.push(r),t.ssr||0!==xd(r,t)||i.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:Xc(t.helper(mc),i)}}}}},dh=new WeakSet,hh=(e,t)=>{if(1===e.type&&Cu(e,"once",!0)){if(dh.has(e)||t.inVOnce||t.inSSR)return;return dh.add(e),t.inVOnce=!0,t.helper(Nc),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},ph=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(mu(41,e.loc)),fh();const o=r.loc.source.trim(),s=4===r.type?r.content:o,a=n.bindingMetadata[o];if("props"===a||"props-aliased"===a)return n.onError(mu(44,r.loc)),fh();if(!s.trim()||!Eu(r))return n.onError(mu(42,r.loc)),fh();const l=i||Yc("modelValue",!0),c=i?vu(i)?`onUpdate:${O(i.content)}`:Gc(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;u=Gc([(n.isTS?"($event: any)":"$event")+" => ((",r,") = $event)"]);const d=[Kc(l,e.exp),Kc(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>e.content)).map((e=>(yu(e)?e:JSON.stringify(e))+": true")).join(", "),n=i?vu(i)?`${i.content}Modifiers`:Gc([i,' + "Modifiers"']):"modelModifiers";d.push(Kc(n,Yc(`{ ${t} }`,!1,e.loc,2)))}return fh(d)};function fh(e=[]){return{props:e}}const mh=/[\w).+\-_$\]]/,vh=(e,t)=>{du("COMPILER_FILTERS",t)&&(5===e.type?gh(e.content,t):1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&gh(e.exp,t)})))};function gh(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?gh(e,t):5===r.type&&gh(r.content,t))}}function bh(e,t){const n=e.content;let r,i,o,s,a=!1,l=!1,c=!1,u=!1,d=0,h=0,p=0,f=0,m=[];for(o=0;o<n.length;o++)if(i=r,r=n.charCodeAt(o),a)39===r&&92!==i&&(a=!1);else if(l)34===r&&92!==i&&(l=!1);else if(c)96===r&&92!==i&&(c=!1);else if(u)47===r&&92!==i&&(u=!1);else if(124!==r||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||d||h||p){switch(r){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:h++;break;case 93:h--;break;case 123:d++;break;case 125:d--}if(47===r){let e,t=o-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&mh.test(e)||(u=!0)}}else void 0===s?(f=o+1,s=n.slice(0,o).trim()):v();function v(){m.push(n.slice(f,o).trim()),f=o+1}if(void 0===s?s=n.slice(0,o).trim():0!==f&&v(),m.length){for(o=0;o<m.length;o++)s=yh(s,m[o],t);e.content=s,e.ast=void 0}}function yh(e,t,n){n.helper(wc);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${Pu(t,"filter")}(${e})`;{const i=t.slice(0,r),o=t.slice(r+1);return n.filters.add(i),`${Pu(i,"filter")}(${e}${")"!==o?","+o:o}`}}const wh=new WeakSet,Sh=(e,t)=>{if(1===e.type){const n=Cu(e,"memo");if(!n||wh.has(e))return;return wh.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&nu(r,t),e.codegenNode=Xc(t.helper(Vc),[n.exp,Qc(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function xh(e,t={}){const n=t.onError||pu,r="module"===t.mode;!0===t.prefixIdentifiers?n(mu(47)):r&&n(mu(48)),t.cacheHandlers&&n(mu(49)),t.scopeId&&!r&&n(mu(50));const i=d({},t,{prefixIdentifiers:!1}),o=w(e)?function(e,t){if(Qu.reset(),qu=null,zu=null,$u="",Uu=-1,Zu=-1,Xu.length=0,ju=e,Bu=d({},Wu),t){let e;for(e in t)null!=t[e]&&(Bu[e]=t[e])}Qu.mode="html"===Bu.parseMode?1:"sfc"===Bu.parseMode?2:0,Qu.inXML=1===Bu.ns||2===Bu.ns;const n=t&&t.delimiters;n&&(Qu.delimiterOpen=lu(n[0]),Qu.delimiterClose=lu(n[1]));const r=Vu=function(e,t=""){return{type:0,source:t,children:[],helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:zc}}(0,e);return Qu.parse(ju),r.loc=fd(0,e.length),r.children=cd(r.children),Vu=null,r}(e,i):e,[s,a]=[[hh,Wd,Sh,Ud,vh,lh,rh,Gd,uh],{on:ch,bind:qd,model:ph}];return Td(o,d({},i,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},a,t.directiveTransforms||{})})),function(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:i="template.vue.html",scopeId:o=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 p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:o,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=>`_${qc[e]}`,push(e,t=-2,n){p.code+=e},indent(){f(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:f(--p.indentLevel)},newline(){f(p.indentLevel)}};function f(e){p.push("\n"+" ".repeat(e),0)}return p}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:o,indent:s,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=Array.from(e.helpers),h=d.length>0,p=!o&&"module"!==r;if(function(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:o,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${c}\n`,-1),e.hoists.length)&&i(`const { ${[hc,pc,fc,mc,vc].filter((e=>u.includes(e))).map(Id).join(", ")} } = _Vue\n`,-1),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){const o=e[i];o&&(n(`const _hoisted_${i+1} = `),Nd(o,t),r())}t.pure=!1}(e.hoists,t),o(),i("return ")}(e,n),i(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),p&&(i("with (_ctx) {"),s(),h&&(i(`const { ${d.map(Id).join(", ")} } = _Vue\n`,-1),l())),e.components.length&&(Rd(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Rd(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Rd(e.filters,"filter",n),l()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n",0),l()),u||i("return "),e.codegenNode?Nd(e.codegenNode,n):i("null"),p&&(a(),i("}")),a(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(o,i)}const kh=Symbol(""),Eh=Symbol(""),_h=Symbol(""),Ch=Symbol(""),Th=Symbol(""),Ah=Symbol(""),Lh=Symbol(""),Dh=Symbol(""),Ih=Symbol(""),Rh=Symbol("");var Oh;let Mh;Oh={[kh]:"vModelRadio",[Eh]:"vModelCheckbox",[_h]:"vModelText",[Ch]:"vModelSelect",[Th]:"vModelDynamic",[Ah]:"withModifiers",[Lh]:"withKeys",[Dh]:"vShow",[Ih]:"Transition",[Rh]:"TransitionGroup"},Object.getOwnPropertySymbols(Oh).forEach((e=>{qc[e]=Oh[e]}));const Nh={parseMode:"html",isVoidTag:ne,isNativeTag:e=>J(e)||ee(e)||te(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return Mh||(Mh=document.createElement("div")),t?(Mh.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Mh.children[0].getAttribute("foo")):(Mh.innerHTML=e,Mh.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Ih:"TransitionGroup"===e||"transition-group"===e?Rh: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}},Fh=(e,t)=>{const n=G(e);return Yc(JSON.stringify(n),!1,t,3)};function Ph(e,t){return mu(e,t)}const Hh=i("passive,once,capture"),Wh=i("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Bh=i("left,right"),Vh=i("onkeyup,onkeydown,onkeypress"),jh=(e,t)=>vu(e)&&"onclick"===e.content.toLowerCase()?Yc(t,!0):4!==e.type?Gc(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,qh=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},zh=[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:Yc("style",!0,t.loc),exp:Fh(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],$h={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ph(53,i)),t.children.length&&(n.onError(Ph(54,i)),t.children.length=0),{props:[Kc(Yc("innerHTML",!0,i),r||Yc("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ph(55,i)),t.children.length&&(n.onError(Ph(56,i)),t.children.length=0),{props:[Kc(Yc("textContent",!0),r?xd(r,n)>0?r:Xc(n.helperString(_c),[r],i):Yc("",!0))]}},model:(e,t,n)=>{const r=ph(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(Ph(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let s=_h,a=!1;if("input"===i||o){const r=Tu(t,"type");if(r){if(7===r.type)s=Th;else if(r.value)switch(r.value.content){case"radio":s=kh;break;case"checkbox":s=Eh;break;case"file":a=!0,n.onError(Ph(59,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=Th)}else"select"===i&&(s=Ch);a||(r.needRuntime=n.helper(s))}else n.onError(Ph(57,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>ch(e,t,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:i,value:o}=t.props[0];const{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:l}=((e,t,n,r)=>{const i=[],o=[],s=[];for(let r=0;r<t.length;r++){const a=t[r].content;"native"===a&&hu("COMPILER_V_ON_NATIVE",n)||Hh(a)?s.push(a):Bh(a)?vu(e)?Vh(e.content.toLowerCase())?i.push(a):o.push(a):(i.push(a),o.push(a)):Wh(a)?o.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:s}})(i,r,n,e.loc);if(a.includes("right")&&(i=jh(i,"onContextmenu")),a.includes("middle")&&(i=jh(i,"onMouseup")),a.length&&(o=Xc(n.helper(Ah),[o,JSON.stringify(a)])),!s.length||vu(i)&&!Vh(i.content.toLowerCase())||(o=Xc(n.helper(Lh),[o,JSON.stringify(s)])),l.length){const e=l.map(F).join("");i=vu(i)?Yc(`${i.content}${e}`,!0):Gc(["(",i,`) + "${e}"`])}return{props:[Kc(i,o)]}})),show:(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ph(61,i)),{props:[],needRuntime:n.helper(Dh)}}},Uh=Object.create(null);Ks((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),i=Uh[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const o=d({hoistStatic:!0,onError:void 0,onWarn:a},t);o.isCustomElement||"undefined"==typeof customElements||(o.isCustomElement=e=>!!customElements.get(e));const{code:s}=function(e,t={}){return xh(e,d({},Nh,t,{nodeTransforms:[qh,...zh,...t.nodeTransforms||[]],directiveTransforms:d({},$h,t.directiveTransforms||{}),transformHoist:null}))}(e,o),l=new Function("Vue",s)(r);return l._rc=!0,Uh[n]=l}))},4515:(e,t,n)=>{var r={"./index.ts":327};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4515},4884:e=>{"use strict";e.exports=()=>window.__DOCS__},9984:e=>{"use strict";e.exports=__DOCS_CONFIG__},4678:(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 i(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const i=r(n);return(e,n)=>i.then((r=>n(r.transaction(t,e).objectStore(t))))}let o;function s(){return o||(o=i("keyval-store","keyval")),o}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,{IV:()=>c,MT:()=>i,U2:()=>a,t8:()=>l})},4430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>G});var r=n(1807);const i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},o="object"==typeof global&&global&&global.Object===Object&&global;var s="object"==typeof self&&self&&self.Object===Object&&self;const a=o||s||Function("return this")(),l=function(){return a.Date.now()};var c=/\s/;var u=/^\s+/;const d=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&c.test(e.charAt(t)););return t}(e)+1).replace(u,""):e},h=a.Symbol;var p=Object.prototype,f=p.hasOwnProperty,m=p.toString,v=h?h.toStringTag:void 0;var g=Object.prototype.toString;var b=h?h.toStringTag:void 0;const y=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":b&&b in Object(e)?function(e){var t=f.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(e){}var i=m.call(e);return r&&(t?e[v]=n:delete e[v]),i}(e):function(e){return g.call(e)}(e)};var w=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,x=/^0o[0-7]+$/i,k=parseInt;const E=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==y(e)}(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=d(e);var n=S.test(e);return n||x.test(e)?k(e.slice(2),n?2:8):w.test(e)?NaN:+e};var _=Math.max,C=Math.min;const T=function(e,t,n){var r,o,s,a,c,u,d=0,h=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,i=o;return r=o=void 0,d=t,a=e.apply(i,n)}function v(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-d>=s}function g(){var e=l();if(v(e))return b(e);c=setTimeout(g,function(e){var n=t-(e-u);return p?C(n,s-(e-d)):n}(e))}function b(e){return c=void 0,f&&r?m(e):(r=o=void 0,a)}function y(){var e=l(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return function(e){return d=e,c=setTimeout(g,t),h?m(e):a}(u);if(p)return clearTimeout(c),c=setTimeout(g,t),m(u)}return void 0===c&&(c=setTimeout(g,t)),a}return t=E(t)||0,i(n)&&(h=!!n.leading,s=(p="maxWait"in n)?_(E(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),y.cancel=function(){void 0!==c&&clearTimeout(c),d=0,r=u=o=c=void 0},y.flush=function(){return void 0===c?a:b(l())},y};var A=function(){return A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},A.apply(this,arguments)},L=null,D=null;function I(){if(null===L){if("undefined"==typeof document)return L=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),L=n}return L}function R(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function O(e){return e&&e.ownerDocument?e.ownerDocument:document}r&&window.addEventListener("resize",(function(){D!==window.devicePixelRatio&&(D=window.devicePixelRatio,L=null)}));var M=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 N(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function F(e,t){e&&t.split(" ").forEach((function(t){e.classList.remove(t)}))}function P(e){return".".concat(e.split(" ").join("."))}var H=Object.freeze({__proto__:null,getElementWindow:R,getElementDocument:O,getOptions:M,addClasses:N,removeClasses:F,classNamesToQuery:P}),W=R,B=O,V=M,j=N,q=F,z=P,$=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.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=W(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,j(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(){q(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(j(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){q(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,i,o,s,a,l,c,u,d,h,p;if(r.draggedAxis&&r.contentWrapperEl){var f=r.axis[r.draggedAxis].track,m=null!==(i=null===(n=f.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==i?i:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(s=null===(o=r.contentWrapperEl)||void 0===o?void 0:o[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=f.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=f.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===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){var t=B(r.el),n=W(r.el);e.preventDefault(),e.stopPropagation(),q(r.el,r.classNames.dragging),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=A(A({},e.defaultOptions),n),this.classNames=A(A({},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=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),T(e,t,{leading:r,maxWait:t,trailing:o})}(this._onMouseMove,64),this.onWindowResize=T(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=T(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=T(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 i=e.getOffset(n),o=e.getOffset(r);n.scrollLeft=-999;var s=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.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:I()}catch(e){return I()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=B(e),r=W(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){r&&(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(z(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(z(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(z(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(z(this.classNames.offset)),this.maskEl=this.el.querySelector(z(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,z(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(z(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(z(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(z(this.classNames.track)).concat(z(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(z(this.classNames.track)).concat(z(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(z(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(z(this.classNames.scrollbar)))||null,this.options.autoHide||(j(this.axis.x.scrollbar.el,this.classNames.visible),j(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=W(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,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i((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=W(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,i=this.contentWrapperEl.offsetWidth,o=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"!==o&&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>i-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,i=this.contentEl[this.axis[e].scrollSizeAttr],o=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=o/i;return r=Math.max(~~(s*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,i;void 0===t&&(t="y");var o=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&o.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===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollingToNegative)?c:-c);var u=c/(s-l),d=~~((a-o.size)*u);d="x"===t&&this.isRtl?-d+(a-o.size):d,o.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&&(j(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.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(q(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),j(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?j(t.scrollbar.el,this.classNames.hover):q(t.scrollbar.el,this.classNames.hover)):(q(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),q(this.axis[e].track.el,this.classNames.hover),q(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");var r=B(this.el),i=W(this.el),o=this.axis[t].scrollbar,s="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=s-((null===(n=o.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,j(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)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,i,o,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=W(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!==(o=null===(i=this.elStyles)||void 0===i?void 0:i[this.axis[t].sizeAttr])&&void 0!==o?o:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],h=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,p=-1===h?d-u:d+u,f=function(){s.contentWrapperEl&&(-1===h?d>p&&(d-=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(f)):d<p&&(d+=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(f)))};f()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=W(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",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=V,e.helpers=H,e}(),U=function(e,t){return U=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])},U(e,t)},Z=$.helpers,K=Z.getOptions,Y=Z.addClasses,G=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return t.instances.set(n[0],i),i}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}U(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,K(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"),Y(this.wrapperEl,this.classNames.wrapper),Y(this.contentWrapperEl,this.classNames.contentWrapper),Y(this.offsetEl,this.classNames.offset),Y(this.maskEl,this.classNames.mask),Y(this.contentEl,this.classNames.contentEl),Y(this.placeholderEl,this.classNames.placeholder),Y(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Y(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","0"),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 i=document.createElement("div"),o=document.createElement("div");Y(i,this.classNames.track),Y(o,this.classNames.scrollbar),i.appendChild(o),this.axis.x.track.el=i.cloneNode(!0),Y(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),Y(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}$.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){$.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,K(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,K(e.attributes))})))})),e.removedNodes.forEach((function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?t.instances.has(e)&&!document.documentElement.contains(e)&&t.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){t.instances.has(e)&&!document.documentElement.contains(e)&&t.instances.get(e).unMount()})))}))}))},t.instances=new WeakMap,t}($);r&&G.initHtmlApi()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.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(5166),t=n(3095),r=n(872),i=n(5701),o=n(9984),s=n.n(o),a=n(2110);function l(e){setTimeout((function(){e(function(){var e;if("number"==typeof s().flags)e=s().flags;else{if(!c())return!1;if("number"!=typeof s().flags)return!1;e=s().flags}var n=p(h("73696465626172"),h("444F432D53494445424152"),h("646F63732D706F77657265642D6279"),document.children),r=0===n.length&&t.h.state.unloading;if(n.length>0)for(var i=0;i<n.length;++i){var o=n[i],a=null==o?void 0:o.firstChild,l=null==o?void 0:o.querySelector("svg");if(!(o&&a&&l&&o.getAttribute(h("68726566"))===h("68747470733A2F2F7265747970652E636F6D2F")&&a.innerHTML===h("506F7765726564206279")&&l.getAttribute(h("7769647468"))===h("3936")&&l.getAttribute(h("686569676874"))===h("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||o&&(o.offsetWidth||o.offsetHeight||o.getClientRects().length)&&(r=!0)}return r||(1&e)*(2&e)>0}())}),10)}function c(){var e,t=d();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()],i=0,o=s().sidebar;i<o.length;i++){var a=o[i];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 h=u[c],p=0;p<h.length;++p)l^=h.charCodeAt(p);return l===parseInt(t.checksum.slice(-5))&&(s().flags=n,!0)}function u(t,n,r){if(!n){var i="5B464154414C5D3A20436F".concat(727275,"7074656420776"),o=function(){t&&t.unmount();var e="56273697".concat(4652063,"6F6E66696775726174696F6E"),n=document.getElementById(h("7265747970652d617070"));n&&(n.innerHTML="",window[h("636F6E736F6C65")][h("6572726F72")](h(i+e)))};r?(0,e.Y3)((function(){return o()})):o()}}function d(){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)},i=r.signature.length%4;i>0;--i)r.signature+="=";return r}function h(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 p(e,t,n,r,i,o){null!=o||(o=[]);for(var s=0;s<r.length;++s){var a=r[s];if("A"===a.nodeName&&a.classList.contains(n)&&a instanceof HTMLElement)o.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)&&p(e,t,n,l,i,o)}}return o}var f=n(4884),m=n.n(f);const v=()=>window.__DOCS_MERMAID__;var g=n.n(v);const b=()=>window.__DOCS_PRISM__;var y=n.n(b);const w=()=>window.__DOCS_KATEX__;var S,x=n.n(w),k=n(6184),E=n(7023),_=n(5184),C=n(5543),T=n(8816),A=n(9586),L=n(7755),D=n(4430),I=n(8826),R=n.n(I),O=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(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())}))},M=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},N=(S={},function(){return S});function F(e,t,n){return O(this,void 0,void 0,(function(){var r,i,o,s,a;return M(this,(function(l){switch(l.label){case 0:if(r=!1,i="/",o=N(),s=function(e,t){var n,r=e[t];if(r){var i=atob(r);return new Uint8Array((null!==(n=i.match(/[\s\S]/g))&&void 0!==n?n:[]).map((function(e){return e.charCodeAt(0)})))}return null}(o,i),s&&(r=H(e,s)),r)return[3,5];a=null,t(),l.label=1;case 1:return[4,P()];case 2:if(!(a=l.sent()))return[3,4];(r=H(e,a,n))||(c=document.getElementById("protected-content-error"))&&(c.classList.remove("opacity-0"),setTimeout((function(){c.classList.add("opacity-0")}),1e3)),l.label=3;case 3:if(!r)return[3,1];l.label=4;case 4:r&&a&&function(e,t,n){var r=btoa(String.fromCharCode.apply(null,[].slice.call(new Uint8Array(t))));e[n]=r}(o,a,i),l.label=5;case 5:return r||(e.innerHTML="<h4>Access denied</h4>"),t(),[2]}var c}))}))}function P(){var e=this;return new Promise((function(t){document.getElementById("protected-content-password").focus(),document.getElementById("protected-content-ok").addEventListener("click",(function(){return O(e,void 0,void 0,(function(){var e,n,r,i;return M(this,(function(o){switch(o.label){case 0:return e=null===(i=document.getElementById("protected-content-password"))||void 0===i?void 0:i.value,n=(new TextEncoder).encode(e),[4,crypto.subtle.digest("SHA-256",n)];case 1:return r=o.sent(),t(r),[2]}}))}))}),{once:!0})}))}function H(e,t,n){var r,i,o;try{var s=(null!==(r=e.getAttribute("data"))&&void 0!==r?r:"").split("."),a=parseInt(s[0]),l=s[1],c=atob(l),u=new Uint8Array((null!==(i=c.match(/[\s\S]/g))&&void 0!==i?i:[]).map((function(e){return e.charCodeAt(0)}))),d=s[2],h=atob(d),p=new Uint8Array((null!==(o=h.match(/[\s\S]/g))&&void 0!==o?o:[]).map((function(e){return e.charCodeAt(0)}))),f=new Uint8Array(t),m=new(R().ModeOfOperation.cbc)(f,u).decrypt(p),v=(new TextDecoder).decode(m);if(!v.trimStart().startsWith("<"))throw new Error("Invalid password.");if(n){n();var g=document.getElementById(e.id);g&&(e=g)}return e.outerHTML=v.slice(0,a),!0}catch(e){return!1}}var W=n(1474);function B(e){var t=V(e);return null!=t?e.href.slice(0,-(t.length+1)):e.href}function V(e){var t;return e.hash?e.hash.slice(1):(t=e.href.match(/#(.*)$/))?t[1]:void 0}var j,q,z,$,U,Z;function K(){($=(0,e.ri)((0,e.aZ)({name:"DocApp",compilerOptions:{delimiters:["\0\0","\0\0"]},setup:function(){var n=(0,t.oR)().store;(0,W.L)(),(0,r.g)(n),n.actions.resetMemberData();var i=function(){var t=(0,e.iH)(!1),n=null;return(0,E.zX)(window,"scroll",(function(){t.value=!0,null!==n&&clearTimeout(n),n=setTimeout((function(){t.value=!1}),100)})),{isScrolling:t}}().isScrolling;(0,e.YP)(i,(function(e){n.state.isWindowScrolling=e}),{immediate:!0}),(0,e.bv)((function(){(0,e.Y3)((function(){n.state.initialPageLoad=!1}))})),function(){var e=(0,t.oR)().store,n=(0,_.B)().scrollTo;(0,E.zX)(window,"popstate",(function(){if(window.location.hash){var t=decodeURIComponent(window.location.hash),r=t.slice(1),i=document.getElementById(r);if(!i)for(var o=0,s=Array.from(document.querySelectorAll("[id]"));o<s.length;o++){var a=s[o];if(a.id.toLowerCase()===r.toLowerCase()){i=a;break}}i||(i=document.querySelector(t)),i&&n(t,{offset:C.vE,onStart:function(){e.actions.updateScrolledElementId(r)}})}}))}()}}))).provide(t.$Q,t.h),$.provide(i.Mu,i.Ke);var o=n(4515);o.keys().forEach((function(e){var t=o(e);Object.keys(t).forEach((function(e){$.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()}})),$.mount("#retype-app"),s.length&&(0,e.Y3)((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())}}))}(0,k.BL)(),"file:"===location.protocol.toLowerCase()&&(k.nP.drive=!1,k.nP.navigator.proposeVisit=function(e){window.location.href=e.toString()});var Y,G="reloadPosition=";null!==(j=window.retype)&&void 0!==j||(window.retype={}),null!==(q=(z=window.retype).reload)&&void 0!==q||(z.reload=function(e,t){if(e){var n=location.pathname.endsWith("/")||/[.]html?$/i.test(location.pathname)?location.pathname:location.pathname+"/",r=Math.round(window.scrollX),i=Math.round(window.scrollY);document.cookie="".concat(G).concat(r,",").concat(i,";path=").concat(n,";max-age=5"),window.location.reload()}else{U=[window.scrollX,window.scrollY],Z=window.location.hash;var o=window.location.href,s=Z?window.location.pathname+window.location.search:o;(0,k.Vn)(s,{action:"replace"}),t&&(0,T.v2)()}}),document.addEventListener("turbo:load",(function(){return e=void 0,n=void 0,i=function(){var e,n,r,i,o,h,p,f,v,b;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}(this,(function(w){switch(w.label){case 0:if(t.h.state.initialPageLoad){if(!c())return u($,!1),[2];(function(){var e,t,n,r,i;return t=this,n=void 0,i=function(){var t,n,r,i,o,l,c,u,h,p,f,m,v,g,b;return function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}(this,(function(y){switch(y.label){case 0:if(!(t=d()))return[2,!1];for(n=parseInt(t.checksum.slice(0,-5)||"0"),r=atob(t.signature),i=[],g=0;g<r.length;++g)i.push(r.charCodeAt(g));for(o=[s().id,s().base,s().host,n.toString()],l=0,c=s().sidebar;l<c.length;l++)u=c[l],o.push(null!==(e=u.l)&&void 0!==e?e:u.n);return o.push(t.fingerprint),h=o.join(""),p=new TextEncoder,f=new TextDecoder,[4,crypto.subtle.digest("SHA-256",p.encode(h))];case 1:for(m=y.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.u.length+a.bT.length;g>0;--g)v[g%v.length]^=a.u[g%a.u.length]^a.bT[g%a.bT.length];return[4,crypto.subtle.importKey("spki",new Uint8Array(v),{name:f.decode(a.u),hash:f.decode(a.bT)},!1,["verify"])];case 2:return b=y.sent(),[4,crypto.subtle.verify(b.algorithm,b,new Uint8Array(i),m)];case 3:return[2,y.sent()]}}))},new((r=void 0)||(r=Promise))((function(e,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r((function(e){e(n)}))).then(s,a)}l((i=i.apply(t,n||[])).next())}))})().then((function(e){return u($,e,!0)}))}else $.unmount();return(e=document.getElementById("protected-content"))?(n=document.getElementById("retype-app"))?(r=n.outerHTML,[4,F(e,(function(){K()}),(function(){$.unmount(),n.outerHTML=r}))]):[3,2]:[3,3];case 1:w.sent(),w.label=2;case 2:return[3,4];case 3:K(),w.label=4;case 4:return l((function(e){return u($,e)})),(null===(v=null===(f=window.retype)||void 0===f?void 0:f.editor)||void 0===v?void 0:v.initView)&&window.retype.editor.initView(),(null==(i=m()())?void 0:i.hasPrism)&&(0,L.b)("prism-js",y(),(function(e){return null==e?void 0:e.initPrism()})),(null==i?void 0:i.hasMermaid)&&(0,L.b)("mermaid-js",g(),(function(e){return null==e?void 0:e.initMermaid()})),(null==i?void 0:i.hasMath)&&(0,L.b)("katex-js",x(),(function(e){return null==e?void 0:e.initKatex()})),document.querySelectorAll(".scrollbar").forEach((function(e){e.classList.remove("overflow-hidden"),new D.Z(e)})),Z&&(history.replaceState(history.state,document.title,window.location.pathname+Z+window.location.search),Z=null),o=!1,U?(window.scrollTo.apply(window,U),U=null,o=!0):t.h.state.initialPageLoad&&(h=null===(b=document.cookie.split(";").find((function(e){return e.trim().startsWith(G)})))||void 0===b?void 0:b.trim())&&(p=h.slice(15).split(","))&&2==p.length&&/^\d+$/.test(p[0])&&/^\d+$/.test(p[1])&&(t.h.state.isScrollPositionRestored=!0,setTimeout((function(){t.h.state.isScrollPositionRestored=!1}),3e3),window.scrollTo(Number.parseInt(p[0]),Number.parseInt(p[1])),o=!0),o&&k.ry.currentVisit&&(k.ry.currentVisit.scrolled=!0),t.h.actions.updateMemberFilter(""),t.h.actions.updateSearchQuery(""),(0,(0,A.m)().handleAnchorNavigation)(void 0,{isPageLoad:!0}),[2]}}))},new((r=void 0)||(r=Promise))((function(t,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(s,a)}l((i=i.apply(e,n||[])).next())}));var e,n,r,i})),window.addEventListener("beforeunload",(function(){t.h.state.unloading=!0})),(Y=k.ry).locationWithActionIsSamePage=function(e,t){var n=V(e),r=V(Y.view.lastRenderedLocation),i="restore"===t&&void 0===n;return"replace"!==t&&B(e)===B(Y.view.lastRenderedLocation)&&(i||null!=n||null!=r)}})()})();