1/*! For license information please see app.js.LICENSE.txt */ 2(()=>{var e,t={7757:(e,t,n)=>{e.exports=n(5666)},9038:(e,t,n)=>{function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=o(n(2307)),i=n(3868),a=o(n(3465)),l=n(9680);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(){var e=[].slice.call(arguments),t="string"==typeof e[0]?e[0]:null,n=("string"==typeof e[0]?e[1]:e[0])||{},o=t?l.Inertia.restore(t):null,u=a(n),c=null,d=null,A=function(e){return e},p=i.reactive(s({},o?o.data:n,{isDirty:!1,errors:o?o.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data:function(){var e=this;return Object.keys(n).reduce((function(t,n){return t[n]=e[n],t}),{})},transform:function(e){return A=e,this},defaults:function(e,t){var n;return u=void 0===e?this.data():Object.assign({},a(u),t?((n={})[e]=t,n):e),this},reset:function(){var e=[].slice.call(arguments),t=a(u);return Object.assign(this,0===e.length?t:Object.keys(t).filter((function(t){return e.includes(t)})).reduce((function(e,n){return e[n]=t[n],e}),{})),this},setError:function(e,t){var n;return Object.assign(this.errors,t?((n={})[e]=t,n):e),this.hasErrors=Object.keys(this.errors).length>0,this},clearErrors:function(){var e=this,t=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce((function(n,o){var r;return s({},n,t.length>0&&!t.includes(o)?((r={})[o]=e.errors[o],r):{})}),{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(e,t,n){var o=this,r=this;void 0===n&&(n={});var i=A(this.data()),p=s({},n,{onCancelToken:function(e){if(c=e,n.onCancelToken)return n.onCancelToken(e)},onBefore:function(e){if(r.wasSuccessful=!1,r.recentlySuccessful=!1,clearTimeout(d),n.onBefore)return n.onBefore(e)},onStart:function(e){if(r.processing=!0,n.onStart)return n.onStart(e)},onProgress:function(e){if(r.progress=e,n.onProgress)return n.onProgress(e)},onSuccess:function(e){try{var t=function(e){return u=a(o.data()),o.isDirty=!1,e};return o.processing=!1,o.progress=null,o.clearErrors(),o.wasSuccessful=!0,o.recentlySuccessful=!0,d=setTimeout((function(){return o.recentlySuccessful=!1}),2e3),Promise.resolve(n.onSuccess?Promise.resolve(n.onSuccess(e)).then(t):t(null))}catch(e){return Promise.reject(e)}},onError:function(e){if(r.processing=!1,r.progress=null,r.clearErrors().setError(e),n.onError)return n.onError(e)},onCancel:function(){if(r.processing=!1,r.progress=null,n.onCancel)return n.onCancel()},onFinish:function(){if(r.processing=!1,r.progress=null,c=null,n.onFinish)return n.onFinish()}});"delete"===e?l.Inertia.delete(t,s({},p,{data:i})):l.Inertia[e](t,i,p)},get:function(e,t){this.submit("get",e,t)},post:function(e,t){this.submit("post",e,t)},put:function(e,t){this.submit("put",e,t)},patch:function(e,t){this.submit("patch",e,t)},delete:function(e,t){this.submit("delete",e,t)},cancel:function(){c&&c.cancel()},__rememberable:null===t,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(e){Object.assign(this,e.data),this.setError(e.errors)}}));return i.watch(p,(function(e){p.isDirty=!r(p.data(),u),t&&l.Inertia.remember(a(e.__remember()),t)}),{immediate:!0,deep:!0}),p}var c={created:function(){var e=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var t=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,n=l.Inertia.restore(t),o=this.$options.remember.data.filter((function(t){return!(null!==e[t]&&"object"==typeof e[t]&&!1===e[t].__rememberable)})),r=function(t){return null!==e[t]&&"object"==typeof e[t]&&"function"==typeof e[t].__remember&&"function"==typeof e[t].__restore};o.forEach((function(i){void 0!==e[i]&&void 0!==n&&void 0!==n[i]&&(r(i)?e[i].__restore(n[i]):e[i]=n[i]),e.$watch(i,(function(){l.Inertia.remember(o.reduce((function(t,n){var o;return s({},t,((o={})[n]=a(r(n)?e[n].__remember():e[n]),o))}),{}),t)}),{immediate:!0,deep:!0})}))}}},d=i.ref(null),A=i.ref({}),p=i.ref(null),f=null,h={name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:function(e){return e}},onHeadUpdate:{type:Function,required:!1,default:function(){return function(){}}}},setup:function(e){var t=e.initialPage,n=e.initialComponent,o=e.resolve
2Component,r=e.titleCallback,a=e.onHeadUpdate;d.value=n?i.markRaw(n):null,A.value=t,p.value=null;var u="undefined"==typeof window;return f=l.createHeadManager(u,r,a),u||l.Inertia.init({initialPage:t,resolveComponent:o,swapComponent:function(e){try{return d.value=i.markRaw(e.component),A.value=e.page,p.value=e.preserveState?p.value:Date.now(),Promise.resolve()}catch(e){return Promise.reject(e)}}}),function(){if(d.value){d.value.inheritAttrs=!!d.value.inheritAttrs;var e=i.h(d.value,s({},A.value.props,{key:p.value}));return d.value.layout?"function"==typeof d.value.layout?d.value.layout(i.h,e):(Array.isArray(d.value.layout)?d.value.layout:[d.value.layout]).concat(e).reverse().reduce((function(e,t){return t.inheritAttrs=!!t.inheritAttrs,i.h(t,s({},A.value.props),(function(){return e}))})):e}}}},m={install:function(e){l.Inertia.form=u,Object.defineProperty(e.config.globalProperties,"$inertia",{get:function(){return l.Inertia}}),Object.defineProperty(e.config.globalProperties,"$page",{get:function(){return A.value}}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:function(){return f}}),e.mixin(c)}},v={props:{title:{type:String,required:!1}},data:function(){return{provider:this.$headManager.createProvider()}},beforeUnmount:function(){this.provider.disconnect()},methods:{isUnaryTag:function(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart:function(e){e.props=e.props||{},e.props.inertia=void 0!==e.props["head-key"]?e.props["head-key"]:"";var t=Object.keys(e.props).reduce((function(t,n){var o=e.props[n];return["key","head-key"].includes(n)?t:""===o?t+" "+n:t+" "+n+'="'+o+'"'}),"");return"<"+e.type+t+">"},renderTagChildren:function(e){var t=this;return"string"==typeof e.children?e.children:e.children.reduce((function(e,n){return e+t.renderTag(n)}),"")},renderTag:function(e){if("Symbol(Text)"===e.type.toString())return e.children;if("Symbol()"===e.type.toString())return"";if("Symbol(Comment)"===e.type.toString())return"";var t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+="</"+e.type+">"),t},addTitleElement:function(e){return this.title&&!e.find((function(e){return e.startsWith("<title")}))&&e.push("<title inertia>"+this.title+"</title>"),e},renderNodes:function(e){var t=this;return this.addTitleElement(e.flatMap((function(e){return"Symbol(Fragment)"===e.type.toString()?e.children:e})).map((function(e){return t.renderTag(e)})).filter((function(e){return e})))}},render:function(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}},g={name:"InertiaLink",props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}},queryStringArrayFormat:{type:String,default:"brackets"}},setup:function(e,t){var n=t.slots,o=t.attrs;return function(e){var t=e.as.toLowerCase(),r=e.method.toLowerCase(),a=l.mergeDataIntoQueryString(r,e.href||"",e.data,e.queryStringArrayFormat),u=a[0],c=a[1];return"a"===t&&"get"!==r&&console.warn('Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<Link href="'+u+'" method="'+r+'" as="button">...</Link>'),i.h(e.as,s({},o,"a"===t?{href:u}:{},{onClick:function(t){var n;l.shouldIntercept(t)&&(t.preventDefault(),l.Inertia.visit(u,{data:c,method:r,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:null!=(n=e.preserveState)?n:"get"!==r,only:e.only,headers:e.headers,onCancelToken:o.onCancelToken||function(){return{}},onBefore:o.onBefore||function(){return{}},onStart:o.onStart||function(){return{}},onProgress:o.onProgress||function(){return{}},onFinish:o.onFinish||function(){return{}},onCancel:o.onCancel||function(){return{}},onSuccess:o.onSuccess||function(){return{}},onError:o.onError||function(){return{}}}))}}),n)}}};t.gV=h,t.ZQ=g,t.BA=m},9680:(e,t,n)=>{function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=o(n(9669)),i=n(129),a=o(n(9996));function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var s,u={modal:null,listener:null,show:function(e){var t=this;"object"==typeof e&&(e="All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>"+JSON.stringify(e));var n=document.createElement("html");n.innerHTML=e,n.querySelectorAll("a").forEach((function(e){return e.setAttribute("target","_top")})),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",(function(){return t.hide()}));var o=document.createElement("iframe");
2if(o.style.backgroundColor="white",o.style.borderRadius="5px",o.style.width="100%",o.style.height="100%",this.modal.appendChild(o),document.body.prepend(this.modal),document.body.style.overflow="hidden",!o.contentWindow)throw new Error("iframe not yet ready.");o.contentWindow.document.open(),o.contentWindow.document.write(n.outerHTML),o.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(e){27===e.keyCode&&this.hide()}};function c(e,t){var n;return function(){var o=arguments,r=this;clearTimeout(n),n=setTimeout((function(){return e.apply(r,[].slice.call(o))}),t)}}function d(e,t,n){for(var o in void 0===t&&(t=new FormData),void 0===n&&(n=null),e=e||{})Object.prototype.hasOwnProperty.call(e,o)&&p(t,A(n,o),e[o]);return t}function A(e,t){return e?e+"["+t+"]":t}function p(e,t,n){return Array.isArray(n)?Array.from(n.keys()).forEach((function(o){return p(e,A(t,o.toString()),n[o])})):n instanceof Date?e.append(t,n.toISOString()):n instanceof File?e.append(t,n,n.name):n instanceof Blob?e.append(t,n):"boolean"==typeof n?e.append(t,n?"1":"0"):"string"==typeof n?e.append(t,n):"number"==typeof n?e.append(t,""+n):null==n?e.append(t,""):void d(n,e,t)}function f(e){return new URL(e.toString(),window.location.toString())}function h(e,n,o,r){void 0===r&&(r="brackets");var l=/^https?:\/\//.test(n.toString()),s=l||n.toString().startsWith("/"),u=!s&&!n.toString().startsWith("#")&&!n.toString().startsWith("?"),c=n.toString().includes("?")||e===t.Method.GET&&Object.keys(o).length,d=n.toString().includes("#"),A=new URL(n.toString(),"http://localhost");return e===t.Method.GET&&Object.keys(o).length&&(A.search=i.stringify(a(i.parse(A.search,{ignoreQueryPrefix:!0}),o),{encodeValuesOnly:!0,arrayFormat:r}),o={}),[[l?A.protocol+"//"+A.host:"",s?A.pathname:"",u?A.pathname.substring(1):"",c?A.search:"",d?A.hash:""].join(""),o]}function m(e){return(e=new URL(e.href)).hash="",e}function v(e,t){return document.dispatchEvent(new CustomEvent("inertia:"+e,t))}(s=t.Method||(t.Method={})).GET="get",s.POST="post",s.PUT="put",s.PATCH="patch",s.DELETE="delete";var g=function(e){return v("finish",{detail:{visit:e}})},y=function(e){return v("navigate",{detail:{page:e}})},b="undefined"==typeof window,w=function(){function e(){this.visitId=null}var n=e.prototype;return n.init=function(e){var t=e.resolveComponent,n=e.swapComponent;this.page=e.initialPage,this.resolveComponent=t,this.swapComponent=n,this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()},n.handleInitialPageVisit=function(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then((function(){return y(e)}))},n.setupEventListeners=function(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",c(this.handleScrollEvent.bind(this),100),!0)},n.scrollRegions=function(){return document.querySelectorAll("[scroll-region]")},n.handleScrollEvent=function(e){"function"==typeof e.target.hasAttribute&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},n.saveScrollPositions=function(){this.replaceState(l({},this.page,{scrollRegions:Array.from(this.scrollRegions()).map((function(e){return{top:e.scrollTop,left:e.scrollLeft}}))}))},n.resetScrollPositions=function(){var e;document.documentElement.scrollTop=0,document.documentElement.scrollLeft=0,this.scrollRegions().forEach((function(e){e.scrollTop=0,e.scrollLeft=0})),this.saveScrollPositions(),window.location.hash&&(null==(e=document.getElementById(window.location.hash.slice(1)))||e.scrollIntoView())},n.restoreScrollPositions=function(){var e=this;this.page.scrollRegions&&this.scrollRegions().forEach((function(t,n){var o=e.page.scrollRegions[n];o&&(t.scrollTop=o.top,t.scrollLeft=o.left)}))},n.isBackForwardVisit=function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length>0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},n.handleBackForwardVisit=function(e){var t=this;
2window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((function(){t.restoreScrollPositions(),y(e)}))},n.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,m(window.location).href===m(e).href&&window.location.reload()}catch(e){return!1}},n.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},n.handleLocationVisit=function(e){var t,n,o,r,i=this,a=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(n=window.history.state)?void 0:n.rememberedState)?t:{},e.scrollRegions=null!=(o=null==(r=window.history.state)?void 0:r.scrollRegions)?o:[],this.setPage(e,{preserveScroll:a.preserveScroll,preserveState:!0}).then((function(){a.preserveScroll&&i.restoreScrollPositions(),y(e)}))},n.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},n.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},n.createVisitId=function(){return this.visitId={},this.visitId},n.cancelVisit=function(e,t){var n=t.cancelled,o=void 0!==n&&n,r=t.interrupted,i=void 0!==r&&r;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=o,e.interrupted=i,g(e),e.onFinish(e))},n.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,g(e),e.onFinish(e))},n.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},n.visit=function(e,n){var o=this,i=void 0===n?{}:n,a=i.method,s=void 0===a?t.Method.GET:a,c=i.data,A=void 0===c?{}:c,p=i.replace,g=void 0!==p&&p,y=i.preserveScroll,b=void 0!==y&&y,w=i.preserveState,L=void 0!==w&&w,C=i.only,B=void 0===C?[]:C,_=i.headers,k=void 0===_?{}:_,x=i.errorBag,S=void 0===x?"":x,E=i.forceFormData,T=void 0!==E&&E,N=i.onCancelToken,F=void 0===N?function(){}:N,V=i.onBefore,O=void 0===V?function(){}:V,U=i.onStart,Q=void 0===U?function(){}:U,q=i.onProgress,M=void 0===q?function(){}:q,I=i.onFinish,P=void 0===I?function(){}:I,D=i.onCancel,H=void 0===D?function(){}:D,R=i.onSuccess,j=void 0===R?function(){}:R,$=i.onError,z=void 0===$?function(){}:$,K=i.queryStringArrayFormat,W=void 0===K?"brackets":K,Y="string"==typeof e?f(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some((function(t){return e(t)}))||"object"==typeof t&&null!==t&&Object.values(t).some((function(t){return e(t)}))}(A)&&!T||A instanceof FormData||(A=d(A)),!(A instanceof FormData)){var G=h(s,Y,A,W),Z=G[1];Y=f(G[0]),A=Z}var J={url:Y,method:s,data:A,replace:g,preserveScroll:b,preserveState:L,only:B,headers:k,errorBag:S,forceFormData:T,queryStringArrayFormat:W,cancelled:!1,completed:!1,interrupted:!1};if(!1!==O(J)&&function(e){return v("before",{cancelable:!0,detail:{visit:e}})}(J)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var X=this.createVisitId();this.activeVisit=l({},J,{onCancelToken:F,onBefore:O,onStart:Q,onProgress:M,onFinish:P,onCancel:H,onSuccess:j,onError:z,queryStringArrayFormat:W,cancelToken:r.CancelToken.source()}),F({cancel:function(){o.activeVisit&&o.cancelVisit(o.activeVisit,{cancelled:!0})}}),function(e){v("start",{detail:{visit:e}})}(J),Q(J),r({method:s,url:m(Y).href,data:s===t.Method.GET?{}:A,params:s===t.Method.GET?A:{},cancelToken:this.activeVisit.cancelToken.token,headers:l({},k,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},B.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":B.join(",")}:{},S&&S.length?{"X-Inertia-Error-Bag":S}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){A instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){v("progress",{detail:{progress:e}})}(e),M(e))}}).then((function(e){var t;if(!o.isInertiaResponse(e))return Promise.reject({response:e});var n=e.data;B.length&&n.component===o.page.component&&(n.props=l({},o.page.props,n.props)),b=o.resolvePreserveOption(b,n),(L=o.resolvePreserveOption(L,n))&&null!=(t=window.history.state)&&t.rememberedState&&n.component===o.page.component&&(n.rememberedState=window.history.state.rememberedState);var r=Y,i=f(n.url);return r.hash&&!i.hash&&m(r).href===i.href&&(i.hash=r.hash,n.url=i.href),o.setPage(n,{visitId:X,replace:g,preserveScroll:b,preserveState:L})}
2)).then((function(){var e=o.page.props.errors||{};if(Object.keys(e).length>0){var t=S?e[S]?e[S]:{}:e;return function(e){v("error",{detail:{errors:e}})}(t),z(t)}return v("success",{detail:{page:o.page}}),j(o.page)})).catch((function(e){if(o.isInertiaResponse(e.response))return o.setPage(e.response.data,{visitId:X});if(o.isLocationVisitResponse(e.response)){var t=f(e.response.headers["x-inertia-location"]),n=Y;n.hash&&!t.hash&&m(n).href===t.href&&(t.hash=n.hash),o.locationVisit(t,!0===b)}else{if(!e.response)return Promise.reject(e);v("invalid",{cancelable:!0,detail:{response:e.response}})&&u.show(e.response.data)}})).then((function(){o.activeVisit&&o.finishVisit(o.activeVisit)})).catch((function(e){if(!r.isCancel(e)){var t=v("exception",{cancelable:!0,detail:{exception:e}});if(o.activeVisit&&o.finishVisit(o.activeVisit),t)return Promise.reject(e)}}))}},n.setPage=function(e,t){var n=this,o=void 0===t?{}:t,r=o.visitId,i=void 0===r?this.createVisitId():r,a=o.replace,l=void 0!==a&&a,s=o.preserveScroll,u=void 0!==s&&s,c=o.preserveState,d=void 0!==c&&c;return Promise.resolve(this.resolveComponent(e.component)).then((function(t){i===n.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(l=l||f(e.url).href===window.location.href)?n.replaceState(e):n.pushState(e),n.swapComponent({component:t,page:e,preserveState:d}).then((function(){u||n.resetScrollPositions(),l||y(e)})))}))},n.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},n.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},n.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var n=e.state,o=this.createVisitId();Promise.resolve(this.resolveComponent(n.component)).then((function(e){o===t.visitId&&(t.page=n,t.swapComponent({component:e,page:n,preserveState:!1}).then((function(){t.restoreScrollPositions(),y(n)})))}))}else{var r=f(this.page.url);r.hash=window.location.hash,this.replaceState(l({},this.page,{url:r.href})),this.resetScrollPositions()}},n.get=function(e,n,o){return void 0===n&&(n={}),void 0===o&&(o={}),this.visit(e,l({},o,{method:t.Method.GET,data:n}))},n.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,l({},e,{preserveScroll:!0,preserveState:!0}))},n.replace=function(e,t){var n;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(n=t.method)?n:"get")+"() instead."),this.visit(e,l({preserveState:!0},t,{replace:!0}))},n.post=function(e,n,o){return void 0===n&&(n={}),void 0===o&&(o={}),this.visit(e,l({preserveState:!0},o,{method:t.Method.POST,data:n}))},n.put=function(e,n,o){return void 0===n&&(n={}),void 0===o&&(o={}),this.visit(e,l({preserveState:!0},o,{method:t.Method.PUT,data:n}))},n.patch=function(e,n,o){return void 0===n&&(n={}),void 0===o&&(o={}),this.visit(e,l({preserveState:!0},o,{method:t.Method.PATCH,data:n}))},n.delete=function(e,n){return void 0===n&&(n={}),this.visit(e,l({preserveState:!0},n,{method:t.Method.DELETE}))},n.remember=function(e,t){var n,o;void 0===t&&(t="default"),b||this.replaceState(l({},this.page,{rememberedState:l({},null==(n=this.page)?void 0:n.rememberedState,(o={},o[t]=e,o))}))},n.restore=function(e){var t,n;if(void 0===e&&(e="default"),!b)return null==(t=window.history.state)||null==(n=t.rememberedState)?void 0:n[e]},n.on=function(e,t){var n=function(e){var n=t(e);e.cancelable&&!e.defaultPrevented&&!1===n&&e.preventDefault()};return document.addEventListener("inertia:"+e,n),function(){return document.removeEventListener("inertia:"+e,n)}},e}(),L={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var n=t.content.firstChild;if(!e.startsWith("<script "))return n;var o=document.createElement("script");return o.innerHTML=n.innerHTML,n.getAttributeNames().forEach((function(e){o.setAttribute(e,n.getAttribute(e)||"")})),o},isInertiaManagedElement:function(e){return e.nodeType===Node.ELEMENT_NODE&&null!==e.getAttribute("inertia")},findMatchingElementIndex:function(e,t){var n=e.getAttribute("inertia");return null!==n?t.findIndex((function(e){return e.getAttribute("inertia")===n})):-1},update:c((function(e){var t=this,n=e.map((function(e){return t.buildDOMElement(e)}));Array.from(document.head.childNodes).filter((function(e){return t.isInertiaManagedElement(e)}
2)).forEach((function(e){var o=t.findMatchingElementIndex(e,n);if(-1!==o){var r,i=n.splice(o,1)[0];i&&!e.isEqualNode(i)&&(null==e||null==(r=e.parentNode)||r.replaceChild(i,e))}else{var a;null==e||null==(a=e.parentNode)||a.removeChild(e)}})),n.forEach((function(e){return document.head.appendChild(e)}))}),1)},C=new w;t.Inertia=C,t.createHeadManager=function(e,t,n){var o={},r=0;function i(){var e=Object.values(o).reduce((function(e,t){return e.concat(t)}),[]).reduce((function(e,n){if(-1===n.indexOf("<"))return e;if(0===n.indexOf("<title ")){var o=n.match(/(<title [^>]+>)(.*?)(<\/title>)/);return e.title=o?""+o[1]+t(o[2])+o[3]:n,e}var r=n.match(/ inertia="[^"]+"/);return r?e[r[0]]=n:e[Object.keys(e).length]=n,e}),{});return Object.values(e)}function a(){e?n(i()):L.update(i())}return{createProvider:function(){var e=function(){var e=r+=1;return o[e]=[],e.toString()}();return{update:function(t){return function(e,t){void 0===t&&(t=[]),null!==e&&Object.keys(o).indexOf(e)>-1&&(o[e]=t),a()}(e,t)},disconnect:function(){return function(e){null!==e&&-1!==Object.keys(o).indexOf(e)&&(delete o[e],a())}(e)}}}}},t.hrefToUrl=f,t.mergeDataIntoQueryString=h,t.shouldIntercept=function(e){var t="a"===e.currentTarget.tagName.toLowerCase();return!(e.target&&null!=e&&e.target.isContentEditable||e.defaultPrevented||t&&e.which>1||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey)},t.urlWithoutHash=m},1966:(e,t,n)=>{var o,r=(o=n(4865))&&"object"==typeof o&&"default"in o?o.default:o,i=null;function a(e){document.addEventListener("inertia:start",l.bind(null,e)),document.addEventListener("inertia:progress",s),document.addEventListener("inertia:finish",u)}function l(e){i=setTimeout((function(){return r.start()}),e)}function s(e){r.isStarted()&&e.detail.progress.percentage&&r.set(Math.max(r.status,e.detail.progress.percentage/100*.9))}function u(e){clearTimeout(i),r.isStarted()&&(e.detail.visit.completed?r.done():e.detail.visit.interrupted?r.set(0):e.detail.visit.cancelled&&(r.done(),r.remove()))}t.I={init:function(e){var t=void 0===e?{}:e,n=t.delay,o=t.color,i=void 0===o?"#29d":o,l=t.includeCSS,s=void 0===l||l,u=t.showSpinner,c=void 0!==u&&u;a(void 0===n?250:n),r.configure({showSpinner:c}),s&&function(e){var t=document.createElement("style");t.type="text/css",t.textContent="\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: "+e+";\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n }\n\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px "+e+", 0 0 5px "+e+";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: "+e+";\n border-left-color: "+e+";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n ",document.head.appendChild(t)}(i)}}},2931:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{Bj:()=>C,qq:()=>q,Fl:()=>At,ZM:()=>lt,cE:()=>I,B:()=>B,nZ:()=>k,X3:()=>je,PG:()=>De,$y:()=>He,dq:()=>Ze,yT:()=>Re,Xl:()=>ze,EB:()=>x,Jd:()=>R,WL:()=>it,qj:()=>Qe,OT:()=>Me,iH:()=>Je,lk:()=>j,Um:()=>qe,YS:()=>Ie,XI:()=>Xe,sT:()=>P,IU:()=>$e,Vh:()=>ct,BK:()=>st,j:()=>$,X$:()=>K,oR:()=>nt,SU:()=>ot});const r=()=>{},i=Object.assign,a=Object.prototype.hasOwnProperty,l=(e,t)=>
2a.call(e,t),s=Array.isArray,u=e=>"[object Map]"===h(e),c=e=>"function"==typeof e,d=e=>"string"==typeof e,A=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,f=Object.prototype.toString,h=e=>f.call(e),m=e=>d(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},g=/-(\w)/g,y=(v((e=>e.replace(g,((e,t)=>t?t.toUpperCase():"")))),/\B([A-Z])/g),b=(v((e=>e.replace(y,"-$1").toLowerCase())),v((e=>e.charAt(0).toUpperCase()+e.slice(1)))),w=(v((e=>e?`on${b(e)}`:"")),(e,t)=>!Object.is(e,t));let L;class C{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&L&&(this.parent=L,this.index=(L.scopes||(L.scopes=[])).push(this)-1)}run(e){if(this.active)try{return L=this,e()}finally{L=this.parent}else 0}on(){L=this}off(){L=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function B(e){return new C(e)}function _(e,t=L){t&&t.active&&t.effects.push(e)}function k(){return L}function x(e){L&&L.cleanups.push(e)}const S=e=>{const t=new Set(e);return t.w=0,t.n=0,t},E=e=>(e.w&V)>0,T=e=>(e.n&V)>0,N=new WeakMap;let F=0,V=1;let O;const U=Symbol(""),Q=Symbol("");class q{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,_(this,n)}run(){if(!this.active)return this.fn();let e=O,t=D;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=O,O=this,D=!0,V=1<<++F,F<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=V})(this):M(this),this.fn()}finally{F<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];E(r)&&!T(r)?r.delete(e):t[n++]=r,r.w&=~V,r.n&=~V}t.length=n}})(this),V=1<<--F,O=this.parent,D=t,this.parent=void 0}}stop(){this.active&&(M(this),this.onStop&&this.onStop(),this.active=!1)}}function M(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function I(e,t){e.effect&&(e=e.effect.fn);const n=new q(e);t&&(i(n,t),t.scope&&_(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function P(e){e.effect.stop()}let D=!0;const H=[];function R(){H.push(D),D=!1}function j(){const e=H.pop();D=void 0===e||e}function $(e,t,n){if(D&&O){let t=N.get(e);t||N.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=S());z(o,void 0)}}function z(e,t){let n=!1;F<=30?T(e)||(e.n|=V,n=!E(e)):n=!e.has(O),n&&(e.add(O),O.deps.push(e))}function K(e,t,n,o,r,i){const a=N.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&s(e))a.forEach(((e,t)=>{("length"===t||t>=o)&&l.push(e)}));else switch(void 0!==n&&l.push(a.get(n)),t){case"add":s(e)?m(n)&&l.push(a.get("length")):(l.push(a.get(U)),u(e)&&l.push(a.get(Q)));break;case"delete":s(e)||(l.push(a.get(U)),u(e)&&l.push(a.get(Q)));break;case"set":u(e)&&l.push(a.get(U))}if(1===l.length)l[0]&&W(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);W(S(e))}}function W(e,t){for(const t of s(e)?e:[...e])(t!==O||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Y=o("__proto__,__v_isRef,__isVue"),G=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(A)),Z=oe(),J=oe(!1,!0),X=oe(!0),ee=oe(!0,!0),te=ne();function ne(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=$e(this);for(let e=0,t=this.length;e<t;e++)$(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map($e)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){R();const n=$e(this)[t].apply(this,e);return j(),n}})),e}function oe(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Oe:Ve:t?Fe:Ne).get(n))return n;const i=s(n);if(!e&&i&&l(te,o))return Reflect.get(te,o,r);const a=Reflect.get(n,o,r);if(A(o)?G.has(o):Y(o))return a;
2if(e||$(n,0,o),t)return a;if(Ze(a)){return!i||!m(o)?a.value:a}return p(a)?e?Me(a):Qe(a):a}}function re(e=!1){return function(t,n,o,r){let i=t[n];if(He(i)&&Ze(i)&&!Ze(o))return!1;if(!e&&!He(o)&&(Re(o)||(o=$e(o),i=$e(i)),!s(t)&&Ze(i)&&!Ze(o)))return i.value=o,!0;const a=s(t)&&m(n)?Number(n)<t.length:l(t,n),u=Reflect.set(t,n,o,r);return t===$e(r)&&(a?w(o,i)&&K(t,"set",n,o):K(t,"add",n,o)),u}}const ie={get:Z,set:re(),deleteProperty:function(e,t){const n=l(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&K(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return A(t)&&G.has(t)||$(e,0,t),n},ownKeys:function(e){return $(e,0,s(e)?"length":U),Reflect.ownKeys(e)}},ae={get:X,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},le=i({},ie,{get:J,set:re(!0)}),se=i({},ae,{get:ee}),ue=e=>e,ce=e=>Reflect.getPrototypeOf(e);function de(e,t,n=!1,o=!1){const r=$e(e=e.__v_raw),i=$e(t);t!==i&&!n&&$(r,0,t),!n&&$(r,0,i);const{has:a}=ce(r),l=o?ue:n?We:Ke;return a.call(r,t)?l(e.get(t)):a.call(r,i)?l(e.get(i)):void(e!==r&&e.get(t))}function Ae(e,t=!1){const n=this.__v_raw,o=$e(n),r=$e(e);return e!==r&&!t&&$(o,0,e),!t&&$(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function pe(e,t=!1){return e=e.__v_raw,!t&&$($e(e),0,U),Reflect.get(e,"size",e)}function fe(e){e=$e(e);const t=$e(this);return ce(t).has.call(t,e)||(t.add(e),K(t,"add",e,e)),this}function he(e,t){t=$e(t);const n=$e(this),{has:o,get:r}=ce(n);let i=o.call(n,e);i||(e=$e(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?w(t,a)&&K(n,"set",e,t):K(n,"add",e,t),this}function me(e){const t=$e(this),{has:n,get:o}=ce(t);let r=n.call(t,e);r||(e=$e(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&K(t,"delete",e,void 0),i}function ve(){const e=$e(this),t=0!==e.size,n=e.clear();return t&&K(e,"clear",void 0,void 0),n}function ge(e,t){return function(n,o){const r=this,i=r.__v_raw,a=$e(i),l=t?ue:e?We:Ke;
2return!e&&$(a,0,U),i.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function ye(e,t,n){return function(...o){const r=this.__v_raw,i=$e(r),a=u(i),l="entries"===e||e===Symbol.iterator&&a,s="keys"===e&&a,c=r[e](...o),d=n?ue:t?We:Ke;return!t&&$(i,0,s?Q:U),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function be(e){return function(...t){return"delete"!==e&&this}}function we(){const e={get(e){return de(this,e)},get size(){return pe(this)},has:Ae,add:fe,set:he,delete:me,clear:ve,forEach:ge(!1,!1)},t={get(e){return de(this,e,!1,!0)},get size(){return pe(this)},has:Ae,add:fe,set:he,delete:me,clear:ve,forEach:ge(!1,!0)},n={get(e){return de(this,e,!0)},get size(){return pe(this,!0)},has(e){return Ae.call(this,e,!0)},add:be("add"),set:be("set"),delete:be("delete"),clear:be("clear"),forEach:ge(!0,!1)},o={get(e){return de(this,e,!0,!0)},get size(){return pe(this,!0)},has(e){return Ae.call(this,e,!0)},add:be("add"),set:be("set"),delete:be("delete"),clear:be("clear"),forEach:ge(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=ye(r,!1,!1),n[r]=ye(r,!0,!1),t[r]=ye(r,!1,!0),o[r]=ye(r,!0,!0)})),[e,n,t,o]}const[Le,Ce,Be,_e]=we();function ke(e,t){const n=t?e?_e:Be:e?Ce:Le;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(l(n,o)&&o in t?n:t,o,r)}const xe={get:ke(!1,!1)},Se={get:ke(!1,!0)},Ee={get:ke(!0,!1)},Te={get:ke(!0,!0)};const Ne=new WeakMap,Fe=new WeakMap,Ve=new WeakMap,Oe=new WeakMap;function Ue(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>h(e).slice(8,-1))(e))}function Qe(e){return He(e)?e:Pe(e,!1,ie,xe,Ne)}function qe(e){return Pe(e,!1,le,Se,Fe)}function Me(e){return Pe(e,!0,ae,Ee,Ve)}function Ie(e){return Pe(e,!0,se,Te,Oe)}function Pe(e,t,n,o,r){if(!p(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=Ue(e);if(0===a)return e;const l=new Proxy(e,2===a?o:n);return r.set(e,l),l}function De(e){return He(e)?De(e.__v_raw):!(!e||!e.__v_isReactive)}function He(e){return!(!e||!e.__v_isReadonly)}function Re(e){return!(!e||!e.__v_isShallow)}function je(e){return De(e)||He(e)}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function ze(e){return((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e}const Ke=e=>p(e)?Qe(e):e,We=e=>p(e)?Me(e):e;function Ye(e){D&&O&&z((e=$e(e)).dep||(e.dep=S()))}function Ge(e,t){(e=$e(e)).dep&&W(e.dep)}function Ze(e){return!(!e||!0!==e.__v_isRef)}function Je(e){return et(e,!1)}function Xe(e){return et(e,!0)}function et(e,t){return Ze(e)?e:new tt(e,t)}class tt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:$e(e),this._value=t?e:Ke(e)}get value(){return Ye(this),this._value}set value(e){e=this.__v_isShallow?e:$e(e),w(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:Ke(e),Ge(this))}}function nt(e){Ge(e)}function ot(e){return Ze(e)?e.value:e}const rt={get:(e,t,n)=>ot(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ze(r)&&!Ze(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function it(e){return De(e)?e:new Proxy(e,rt)}class at{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Ye(this)),(()=>Ge(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function lt(e){return new at(e)}function st(e){const t=s(e)?new Array(e.length):{};for(const n in e)t[n]=ct(e,n);return t}class ut{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function ct(e,t,n){const o=e[t];return Ze(o)?o:new ut(e,t,n)}class dt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new q(e,(()=>{this._dirty||(this._dirty=!0,Ge(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=$e(this);return Ye(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function At(e,t,n=!1){let o,i;const a=c(e);a?(o=e,i=r):(o=e.get,i=e.set);return new dt(o,i,a||!i,n)}Promise.resolve()}
2,6252:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>o.Bj,qq:()=>o.qq,ZM:()=>o.ZM,cE:()=>o.cE,B:()=>o.B,nZ:()=>o.nZ,X3:()=>o.X3,PG:()=>o.PG,$y:()=>o.$y,dq:()=>o.dq,yT:()=>o.yT,Xl:()=>o.Xl,EB:()=>o.EB,WL:()=>o.WL,qj:()=>o.qj,OT:()=>o.OT,iH:()=>o.iH,Um:()=>o.Um,YS:()=>o.YS,XI:()=>o.XI,sT:()=>o.sT,IU:()=>o.IU,Vh:()=>o.Vh,BK:()=>o.BK,oR:()=>o.oR,SU:()=>o.SU,_A:()=>r._A,kC:()=>r.kC,C_:()=>r.C_,vs:()=>r.vs,j5:()=>r.j5,zw:()=>r.zw,hR:()=>r.hR,P$:()=>ye,sv:()=>Gt,HY:()=>Wt,Ob:()=>Ne,qG:()=>Zt,n4:()=>ee,lR:()=>Pt,xv:()=>Yt,$d:()=>c,KU:()=>u,Ho:()=>yn,ry:()=>ko,Fl:()=>io,j4:()=>sn,kq:()=>Ln,iD:()=>ln,_:()=>hn,Eo:()=>Ft,p1:()=>ho,Us:()=>Nt,Nv:()=>En,uE:()=>wn,Uk:()=>bn,Wm:()=>mn,RC:()=>Se,aZ:()=>ke,Bz:()=>lo,WY:()=>so,MW:()=>ao,mW:()=>O,FN:()=>Dn,Q6:()=>_e,F4:()=>gn,h:()=>vo,S3:()=>d,Mr:()=>bo,f3:()=>le,nQ:()=>Lo,of:()=>Zn,lA:()=>un,u_:()=>fo,dG:()=>kn,Y3:()=>_,dl:()=>Ve,wF:()=>De,Jd:()=>$e,Xn:()=>Re,se:()=>Oe,d1:()=>Ge,bv:()=>He,bT:()=>Ye,Yq:()=>We,vl:()=>Ke,Ah:()=>ze,ic:()=>je,wg:()=>en,Cn:()=>$,JJ:()=>ae,dD:()=>j,qb:()=>E,Y1:()=>Gn,Ko:()=>Sn,WI:()=>Tn,up:()=>Ht,Q2:()=>$t,LL:()=>jt,eq:()=>_o,U2:()=>we,qZ:()=>rn,ec:()=>q,nK:()=>Be,Uc:()=>go,G:()=>Bo,mx:()=>Fn,C3:()=>dn,l1:()=>Ao,Zq:()=>yo,Rr:()=>co,Y8:()=>ve,i8:()=>Co,ZK:()=>a,YP:()=>Ae,m0:()=>se,Rh:()=>ue,yX:()=>ce,mv:()=>mo,w5:()=>K,b9:()=>uo,wy:()=>bt,MX:()=>wo,HX:()=>z});var o=n(2931),r=n(6612);const i=[];function a(e,...t){(0,o.Jd)();const n=i.length?i[i.length-1].component:null,r=n&&n.appContext.config.warnHandler,a=function(){let e=i[i.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(r)u(r,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${oo(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${oo(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...l(e.props),i]:[r+i]}(e))})),t}(a)),console.warn(...n)}(0,o.lk)()}function l(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...s(n,e[n]))})),n.length>3&&t.push(" ..."),t}function s(e,t,n){return(0,r.HD)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:(0,o.dq)(t)?(t=s(e,(0,o.IU)(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.mf)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=(0,o.IU)(t),n?t:[`${e}=`,t])}function u(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){d(e,t,n)}return r}function c(e,t,n,o){if((0,r.mf)(e)){const i=u(e,t,n,o);return i&&(0,r.tI)(i)&&i.catch((e=>{d(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(c(e[r],t,n,o));return i}function d(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const a=t.appContext.config.errorHandler;if(a)return void u(a,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let A=!1,p=!1;const f=[];let h=0;const m=[];let v=null,g=0;const y=[];let b=null,w=0;const L=Promise.resolve();let C=null,B=null;function _(e){const t=C||L;return e?t.then(this?e.bind(this):e):t}function k(e){f.length&&f.includes(e,A&&e.allowRecurse?h+1:h)||e===B||(null==e.id?f.push(e):f.splice(function(e){let t=h+1,n=f.length;for(;t<n;){const o=t+n>>>1;F(f[o])<e?t=o+1:n=o}return t}(e.id),0,e),x())}function x(){A||p||(p=!0,C=L.then(V))}function S(e,t,n,o){(0,r.kJ)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),x()}function E(e){S(e,b,y,w)}function T(e,t=null){if(m.length){for(B=t,v=[...new Set(m)],m.length=0,g=0;g<v.length;g++)v[g]();v=null,g=0,B=null,T(e,t)}}function N(e){if(y.length){const e=[...new Set(y)];if(y.length=0,b)return void b.push(...e);for(b=e,b.sort(((e,t)=>F(e)-F(t))),w=0;w<b.length;w++)b[w]();b=null,w=0}}const F=e=>null==e.id?1/0:e.id;function V(e){p=!1,A=!0,T(e),f.sort(((e,t)=>F(e)-F(t)));r.dG;try{for(h=0;h<f.length;h++){const e=f[h];e&&!1!==e.active&&u(e,null,14)}}finally{h=0,f.length=0,N(),A=!1,C=null,(f.length||m.length||y.length)&&V(e)}}new Set;new Map;let O,U=[],Q=!1;function q(e,t){var n,o;
2if(O=e,O)O.enabled=!0,U.forEach((({event:e,args:t})=>O.emit(e,...t))),U=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(o=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===o?void 0:o.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{q(e,t)})),setTimeout((()=>{O||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Q=!0,U=[])}),3e3)}else Q=!0,U=[]}function M(e,t,...n){const o=e.vnode.props||r.kT;let i=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in o){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:a}=o[e]||r.kT;a?i=n.map((e=>e.trim())):t&&(i=n.map(r.He))}let s;let u=o[s=(0,r.hR)(t)]||o[s=(0,r.hR)((0,r._A)(t))];!u&&a&&(u=o[s=(0,r.hR)((0,r.rs)(t))]),u&&c(u,e,6,i);const d=o[s+"Once"];if(d){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,c(d,e,6,i)}}function I(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const a=e.emits;let l={},s=!1;if(!(0,r.mf)(e)){const o=e=>{const n=I(e,t,!0);n&&(s=!0,(0,r.l7)(l,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||s?((0,r.kJ)(a)?a.forEach((e=>l[e]=null)):(0,r.l7)(l,a),o.set(e,l),l):(o.set(e,null),null)}function P(e,t){return!(!e||!(0,r.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,r.RI)(e,(0,r.rs)(t))||(0,r.RI)(e,t))}let D=null,H=null;function R(e){const t=D;return D=e,H=e&&e.type.__scopeId||null,t}function j(e){H=e}function $(){H=null}const z=e=>K;function K(e,t=D,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&rn(-1);const r=R(t),i=e(...n);return R(r),o._d&&rn(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function W(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:a,propsOptions:[l],slots:s,attrs:u,emit:c,render:A,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let g,y;const b=R(e);try{if(4&n.shapeFlag){const e=i||o;g=Cn(A.call(e,e,p,a,h,f,m)),y=u}else{const e=t;0,g=Cn(e.length>1?e(a,{attrs:u,slots:s,emit:c}):e(a,null)),y=t.props?u:G(u)}}catch(t){Jt.length=0,d(t,e,1),g=mn(Gt)}let w=g;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(l&&e.some(r.tR)&&(y=Z(y,l)),w=yn(w,y))}return n.dirs&&(w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),g=w,R(b),g}function Y(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!un(o))return;if(o.type!==Gt||"v-if"===o.children){if(t)return;t=o}}return t}const G=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.F7)(n))&&((t||(t={}))[n]=e[n]);return t},Z=(e,t)=>{const n={};for(const o in e)(0,r.tR)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function J(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!P(n,i))return!0}return!1}function X({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const ee={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,i,a,l,s,u){null==e?function(e,t,n,o,r,i,a,l,s){const{p:u,o:{createElement:c}}=s,d=c("div"),A=e.suspense=ne(e,r,o,t,d,n,i,a,l,s);u(null,A.pendingBranch=e.ssContent,d,null,o,A,i,a),A.deps>0?(te(e,"onPending"),te(e,"onFallback"),u(null,e.ssFallback,t,n,o,null,i,a),ie(A,e.ssFallback)):A.resolve()}(t,n,o,r,i,a,l,s,u):function(e,t,n,o,r,i,a,l,{p:s,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const A=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:h,isInFallback:m,isHydrating:v}=d;if(h)d.pendingBranch=A,cn(A,h)?(s(h,A,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0?d.resolve():m&&(s(f,p,n,o,r,null,i,a,l),ie(d,p))):(d.pendingId++,v?(d.isHydrating=!1,d.activeBranch=h):u(h,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),m?(s(null,A,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0?d.resolve():(s(f,p,n,o,r,null,i,a,l),ie(d,p))):f&&cn(A,f)?(s(f,A,n,o,r,d,i,a,l),d.resolve(!0)):(s(null,A,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0&&d.resolve()));else if(f&&cn(A,f))s(f,A,n,o,r,d,i,a,l),ie(d,A);else if(te(t,"onPending"),d.pendingBranch=A,d.pendingId++,s(null,A,d.hiddenContainer,null,r,d,i,a,l),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>
2{d.pendingId===t&&d.fallback(p)}),e):0===e&&d.fallback(p)}}(e,t,n,o,r,a,l,s,u)},hydrate:function(e,t,n,o,r,i,a,l,s){const u=t.suspense=ne(t,o,n,e.parentNode,document.createElement("div"),null,r,i,a,l,!0),c=s(e,u.pendingBranch=t.ssContent,n,u,i,a);0===u.deps&&u.resolve();return c},create:ne,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=oe(o?n.default:n),e.ssFallback=o?oe(n.fallback):mn(Gt)}};function te(e,t){const n=e.props&&e.props[t];(0,r.mf)(n)&&n()}function ne(e,t,n,o,i,a,l,s,u,c,A=!1){const{p,m:f,um:h,n:m,o:{parentNode:v,remove:g}}=c,y=(0,r.He)(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:l,container:o,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:A,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:i,parentComponent:a,container:l}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===b.pendingId&&f(o,l,t,0)});let{anchor:t}=b;n&&(t=m(n),h(n,a,b,!0)),e||f(o,l,t,0)}ie(b,o),b.pendingBranch=null,b.isInFallback=!1;let s=b.parent,u=!1;for(;s;){if(s.pendingBranch){s.effects.push(...i),u=!0;break}s=s.parent}u||E(i),b.effects=[],te(t,"onResolve")},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:i}=b;te(t,"onFallback");const a=m(n),l=()=>{b.isInFallback&&(p(null,e,r,a,o,null,i,s,u),ie(b,e))},c=e.transition&&"out-in"===e.transition.mode;c&&(n.transition.afterLeave=l),b.isInFallback=!0,h(n,o,null,!0),c||l()},move(e,t,n){b.activeBranch&&f(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&m(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{d(t,e,0)})).then((r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;Yn(e,r,!1),o&&(i.el=o);const a=!o&&e.subTree.el;t(e,i,v(o||e.subTree.el),o?null:m(e.subTree),b,l,u),a&&g(a),X(e,i.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function oe(e){let t;if((0,r.mf)(e)){const n=on&&e._c;n&&(e._d=!1,en()),e=e(),n&&(e._d=!0,t=Xt,tn())}if((0,r.kJ)(e)){const t=Y(e);0,e=t}return e=Cn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function re(e,t){t&&t.pendingBranch?(0,r.kJ)(e)?t.effects.push(...e):t.effects.push(e):E(e)}function ie(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,X(o,r))}function ae(e,t){if(Pn){let n=Pn.provides;const o=Pn.parent&&Pn.parent.provides;o===n&&(n=Pn.provides=Object.create(o)),n[e]=t}else 0}function le(e,t,n=!1){const o=Pn||D;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,r.mf)(t)?t.call(o.proxy):t}else 0}function se(e,t){return pe(e,null,t)}function ue(e,t){return pe(e,null,{flush:"post"})}function ce(e,t){return pe(e,null,{flush:"sync"})}const de={};function Ae(e,t,n){return pe(e,t,n)}function pe(e,t,{immediate:n,deep:i,flush:a,onTrack:l,onTrigger:s}=r.kT){const d=Pn;let A,p,f=!1,h=!1;if((0,o.dq)(e)?(A=()=>e.value,f=(0,o.yT)(e)):(0,o.PG)(e)?(A=()=>e,i=!0):(0,r.kJ)(e)?(h=!0,f=e.some(o.PG),A=()=>e.map((e=>(0,o.dq)(e)?e.value:(0,o.PG)(e)?me(e):(0,r.mf)(e)?u(e,d,2):void 0))):A=(0,r.mf)(e)?t?()=>u(e,d,2):()=>{if(!d||!d.isUnmounted)return p&&p(),c(e,d,3,[y])}:r.dG,t&&i){const e=A;A=()=>me(e())}let y=e=>{p=C.onStop=()=>{u(e,d,4)}};if(Kn)return y=r.dG,t?n&&c(t,d,3,[A(),h?[]:void 0,y]):A(),r.dG;let b=h?[]:de;const w=()=>{if(C.active)if(t){const e=C.run();(i||f||(h?e.some(((e,t)=>(0,r.aU)(e,b[t]))):(0,r.aU)(e,b)))&&(p&&p(),c(t,d,3,[e,b===de?void 0:b,y]),b=e)}else C.run()};let L;w.allowRecurse=!!t,L="sync"===a?w:"post"===a?()=>Tt(w,d&&d.suspense):()=>{!d||d.isMounted?function(e){S(e,v,m,g)}(w):w()};const C=new o.qq(A,L);return t?n?w():b=C.run():"post"===a?Tt(C.run.bind(C),d&&d.suspense):C.run(),()=>{C.stop(),d&&d.scope&&(0,r.Od)(d.scope.effects,C)}}function fe(e,t,n){const o=this.proxy,i=(0,r.HD)(e)?e.includes(".")?he(o,e):()=>o[e]:e.bind(o,o);let a;(0,r.mf)(t)?a=t:(a=t.handler,n=t);const l=Pn;Hn(this);const s=pe(i,a.bind(o),n);return l?Hn(l):Rn(),s}function he(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 me(e,t){if(!(0,r.Kn)(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),(0,o.dq)(e))me(e.value,t);else if((0,r.kJ)(e))for(let n=0;n<e.length;n++)me(e[n],t);else if((0,r.DM)(e)||(0,r._N)(e))e.forEach((e=>{me(e,t)}));else if((0,r.PO)(e))for(const n in e)me(e[n],t);return e}function ve(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
2ingVNodes:new Map};return He((()=>{e.isMounted=!0})),$e((()=>{e.isUnmounting=!0})),e}const ge=[Function,Array],ye={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ge,onEnter:ge,onAfterEnter:ge,onEnterCancelled:ge,onBeforeLeave:ge,onLeave:ge,onAfterLeave:ge,onLeaveCancelled:ge,onBeforeAppear:ge,onAppear:ge,onAfterAppear:ge,onAppearCancelled:ge},setup(e,{slots:t}){const n=Dn(),r=ve();let i;return()=>{const a=t.default&&_e(t.default(),!0);if(!a||!a.length)return;const l=(0,o.IU)(e),{mode:s}=l;const u=a[0];if(r.isLeaving)return Le(u);const c=Ce(u);if(!c)return Le(u);const d=we(c,l,r,n);Be(c,d);const A=n.subTree,p=A&&Ce(A);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===i?i=e:e!==i&&(i=e,f=!0)}if(p&&p.type!==Gt&&(!cn(c,p)||f)){const e=we(p,l,r,n);if(Be(p,e),"out-in"===s)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Le(u);"in-out"===s&&c.type!==Gt&&(e.delayLeave=(e,t,n)=>{be(r,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=n})}return u}}};function be(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function we(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:A,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,b=String(e.key),w=be(n,e),L=(e,t)=>{e&&c(e,o,9,t)},C={mode:i,persisted:a,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const i=w[b];i&&cn(e,i)&&i.el._leaveCb&&i.el._leaveCb(),L(o,[t])},enter(e){let t=s,o=u,i=d;if(!n.isMounted){if(!r)return;t=v||s,o=g||u,i=y||d}let a=!1;const l=e._enterCb=t=>{a||(a=!0,L(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();L(A,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,o(),L(n?h:f,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,p?(p(t,a),p.length<=1&&a()):a()},clone:e=>we(e,t,n,o)};return C}function Le(e){if(Te(e))return(e=yn(e)).children=null,e}function Ce(e){return Te(e)?e.children?e.children[0]:void 0:e}function Be(e,t){6&e.shapeFlag&&e.component?Be(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 _e(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const i=e[r];i.type===Wt?(128&i.patchFlag&&o++,n=n.concat(_e(i.children,t))):(t||i.type!==Gt)&&n.push(i)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function ke(e){return(0,r.mf)(e)?{setup:e,name:e.name}:e}const xe=e=>!!e.type.__asyncLoader;function Se(e){(0,r.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:a=200,timeout:l,suspensible:s=!0,onError:u}=e;let c,A=null,p=0;const f=()=>{let e;return A||(e=A=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=>{u(e,(()=>t((p++,A=null,f()))),(()=>n(e)),p+1)}));throw e})).then((t=>e!==A&&A?A:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return ke({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const e=Pn;if(c)return()=>Ee(c,e);const t=t=>{A=null,d(t,e,13,!i)};if(s&&e.suspense||Kn)return f().then((t=>()=>Ee(t,e))).catch((e=>(t(e),()=>i?mn(i,{error:e}):null)));const r=(0,o.iH)(!1),u=(0,o.iH)(),p=(0,o.iH)(!!a);return a&&setTimeout((()=>{p.value=!1}),a),null!=l&&setTimeout((()=>{if(!r.value&&!u.value){const e=new Error(`Async component timed out after ${l}ms.`);t(e),u.value=e}}),l),f().then((()=>{r.value=!0,e.parent&&Te(e.parent.vnode)&&k(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>r.value&&c?Ee(c,e):u.value&&i?mn(i,{error:u.value}):n&&!p.value?mn(n):void 0}})}function Ee(e,{vnode:{ref:t,props:n,children:o}}){const r=mn(e,n,o);return r.ref=t,r}const Te=e=>e.type.__isKeepAlive,Ne={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array
2],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),o=n.ctx;if(!o.renderer)return t.default;const i=new Map,a=new Set;let l=null;const s=n.suspense,{renderer:{p:u,m:c,um:d,o:{createElement:A}}}=o,p=A("div");function f(e){qe(e),d(e,n,s,!0)}function h(e){i.forEach(((t,n)=>{const o=no(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=i.get(e);l&&t.type===l.type?l&&qe(l):f(t),i.delete(e),a.delete(e)}o.activate=(e,t,n,o,i)=>{const a=e.component;c(e,t,n,0,s),u(a.vnode,e,t,n,a,s,o,e.slotScopeIds,i),Tt((()=>{a.isDeactivated=!1,a.a&&(0,r.ir)(a.a);const t=e.props&&e.props.onVnodeMounted;t&&xn(t,a.parent,e)}),s)},o.deactivate=e=>{const t=e.component;c(e,p,null,1,s),Tt((()=>{t.da&&(0,r.ir)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&xn(n,t.parent,e),t.isDeactivated=!0}),s)},Ae((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Fe(e,t))),t&&h((e=>!Fe(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&i.set(v,Me(n.subTree))};return He(g),je(g),$e((()=>{i.forEach((e=>{const{subTree:t,suspense:o}=n,r=Me(t);if(e.type!==r.type)f(e);else{qe(r);const e=r.component.da;e&&Tt(e,o)}}))})),()=>{if(v=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return l=null,n;if(!(un(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return l=null,o;let r=Me(o);const s=r.type,u=no(xe(r)?r.type.__asyncResolved||{}:s),{include:c,exclude:d,max:A}=e;if(c&&(!u||!Fe(c,u))||d&&u&&Fe(d,u))return l=r,o;const p=null==r.key?s:r.key,f=i.get(p);return r.el&&(r=yn(r),128&o.shapeFlag&&(o.ssContent=r)),v=p,f?(r.el=f.el,r.component=f.component,r.transition&&Be(r,r.transition),r.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),A&&a.size>parseInt(A,10)&&m(a.values().next().value)),r.shapeFlag|=256,l=r,o}}};function Fe(e,t){return(0,r.kJ)(e)?e.some((e=>Fe(e,t))):(0,r.HD)(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Ve(e,t){Ue(e,"a",t)}function Oe(e,t){Ue(e,"da",t)}function Ue(e,t,n=Pn){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Ie(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Te(e.parent.vnode)&&Qe(o,t,n,e),e=e.parent}}function Qe(e,t,n,o){const i=Ie(t,e,o,!0);ze((()=>{(0,r.Od)(o[t],i)}),n)}function qe(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function Me(e){return 128&e.shapeFlag?e.ssContent:e}function Ie(e,t,n=Pn,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;(0,o.Jd)(),Hn(n);const i=c(t,n,e,r);return Rn(),(0,o.lk)(),i});return r?i.unshift(a):i.push(a),a}}const Pe=e=>(t,n=Pn)=>(!Kn||"sp"===e)&&Ie(e,t,n),De=Pe("bm"),He=Pe("m"),Re=Pe("bu"),je=Pe("u"),$e=Pe("bum"),ze=Pe("um"),Ke=Pe("sp"),We=Pe("rtg"),Ye=Pe("rtc");function Ge(e,t=Pn){Ie("ec",e,t)}let Ze=!0;function Je(e){const t=tt(e),n=e.proxy,i=e.ctx;Ze=!1,t.beforeCreate&&Xe(t.beforeCreate,e,"bc");const{data:a,computed:l,methods:s,watch:u,provide:c,inject:d,created:A,beforeMount:p,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:w,unmounted:L,render:C,renderTracked:B,renderTriggered:_,errorCaptured:k,serverPrefetch:x,expose:S,inheritAttrs:E,components:T,directives:N,filters:F}=t;if(d&&function(e,t,n=r.dG,i=!1){(0,r.kJ)(e)&&(e=it(e));for(const n in e){const a=e[n];let l;l=(0,r.Kn)(a)?"default"in a?le(a.from||n,a.default,!0):le(a.from||n):le(a),(0,o.dq)(l)&&i?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e}):t[n]=l}}(d,i,null,e.appContext.config.unwrapInjectedRef),s)for(const e in s){const t=s[e];(0,r.mf)(t)&&(i[e]=t.bind(n))}if(a){0;const t=a.call(n,n);0,(0,r.Kn)(t)&&(e.data=(0,o.qj)(t))}if(Ze=!0,l)for(const e in l){const t=l[e],o=(0,r.mf)(t)?t.bind(n,n):(0,r.mf)(t.get)?t.get.bind(n,n):r.dG;0;const a=!(0,r.mf)(t)&&(0,r.mf)(t.set)?t.set.bind(n):r.dG,s=io({get:o,set:a});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(u)for(const e in u)et(u[e],i,n,e);if(c){const e=(0,r.mf)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{ae(t,e[t])}))}function V(e,t){(0,r.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(A&&Xe(A,e,"c"),V(De,p),V(He,f),V(Re,h),V(je,m),V(Ve,v),V(Oe,g),V(Ge,k),V(Ye,B),V(We,_),V($e,b),V(ze,L),V(Ke,x),(0,r.kJ)(S))if(S.length){const t=e.exposed||(e.exposed={});
2S.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===r.dG&&(e.render=C),null!=E&&(e.inheritAttrs=E),T&&(e.components=T),N&&(e.directives=N)}function Xe(e,t,n){c((0,r.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function et(e,t,n,o){const i=o.includes(".")?he(n,o):()=>n[o];if((0,r.HD)(e)){const n=t[e];(0,r.mf)(n)&&Ae(i,n)}else if((0,r.mf)(e))Ae(i,e.bind(n));else if((0,r.Kn)(e))if((0,r.kJ)(e))e.forEach((e=>et(e,t,n,o)));else{const o=(0,r.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.mf)(o)&&Ae(i,o,e)}else 0}function tt(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:r.length||n||o?(s={},r.length&&r.forEach((e=>nt(s,e,a,!0))),nt(s,t,a)):s=t,i.set(t,s),s}function nt(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&nt(e,i,n,!0),r&&r.forEach((t=>nt(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=ot[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const ot={data:rt,props:lt,emits:lt,methods:lt,computed:lt,beforeCreate:at,created:at,beforeMount:at,mounted:at,beforeUpdate:at,updated:at,beforeDestroy:at,beforeUnmount:at,destroyed:at,unmounted:at,activated:at,deactivated:at,errorCaptured:at,serverPrefetch:at,components:lt,directives:lt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,r.l7)(Object.create(null),e);for(const o in t)n[o]=at(e[o],t[o]);return n},provide:rt,inject:function(e,t){return lt(it(e),it(t))}};function rt(e,t){return t?e?function(){return(0,r.l7)((0,r.mf)(e)?e.call(this,this):e,(0,r.mf)(t)?t.call(this,this):t)}:t:e}function it(e){if((0,r.kJ)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function at(e,t){return e?[...new Set([].concat(e,t))]:t}function lt(e,t){return e?(0,r.l7)((0,r.l7)(Object.create(null),e),t):t}function st(e,t,n,i){const[a,l]=e.propsOptions;let s,u=!1;if(t)for(let o in t){if((0,r.Gg)(o))continue;const c=t[o];let d;a&&(0,r.RI)(a,d=(0,r._A)(o))?l&&l.includes(d)?(s||(s={}))[d]=c:n[d]=c:P(e.emitsOptions,o)||o in i&&c===i[o]||(i[o]=c,u=!0)}if(l){const t=(0,o.IU)(n),i=s||r.kT;for(let o=0;o<l.length;o++){const s=l[o];n[s]=ut(a,t,s,i[s],e,!(0,r.RI)(i,s))}}return u}function ut(e,t,n,o,i,a){const l=e[n];if(null!=l){const e=(0,r.RI)(l,"default");if(e&&void 0===o){const e=l.default;if(l.type!==Function&&(0,r.mf)(e)){const{propsDefaults:r}=i;n in r?o=r[n]:(Hn(i),o=r[n]=e.call(null,t),Rn())}else o=e}l[0]&&(a&&!e?o=!1:!l[1]||""!==o&&o!==(0,r.rs)(n)||(o=!0))}return o}function ct(e,t,n=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const a=e.props,l={},s=[];let u=!1;if(!(0,r.mf)(e)){const o=e=>{u=!0;const[n,o]=ct(e,t,!0);(0,r.l7)(l,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!u)return o.set(e,r.Z6),r.Z6;if((0,r.kJ)(a))for(let e=0;e<a.length;e++){0;const t=(0,r._A)(a[e]);dt(t)&&(l[t]=r.kT)}else if(a){0;for(const e in a){const t=(0,r._A)(e);if(dt(t)){const n=a[e],o=l[t]=(0,r.kJ)(n)||(0,r.mf)(n)?{type:n}:n;if(o){const e=ft(Boolean,o.type),n=ft(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.RI)(o,"default"))&&s.push(t)}}}}const c=[l,s];return o.set(e,c),c}function dt(e){return"$"!==e[0]}function At(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function pt(e,t){return At(e)===At(t)}function ft(e,t){return(0,r.kJ)(t)?t.findIndex((t=>pt(t,e))):(0,r.mf)(t)&&pt(t,e)?0:-1}const ht=e=>"_"===e[0]||"$stable"===e,mt=e=>(0,r.kJ)(e)?e.map(Cn):[Cn(e)],vt=(e,t,n)=>{const o=K(((...e)=>mt(t(...e))),n);return o._c=!1,o},gt=(e,t,n)=>{const o=e._ctx;for(const n in e){if(ht(n))continue;const i=e[n];if((0,r.mf)(i))t[n]=vt(0,i,o);else if(null!=i){0;const e=mt(i);t[n]=()=>e}}},yt=(e,t)=>{const n=mt(t);e.slots.default=()=>n};function bt(e,t){if(null===D)return e;const n=D.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,a,l,s=r.kT]=t[e];(0,r.mf)(i)&&(i={mounted:i,updated:i}),i.deep&&me(a),o.push({dir:i,instance:n,value:a,oldValue:void 0,arg:l,modifiers:s})}return e}function wt(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let l=0;l<i.length;l++){const s=i[l];a&&(s.oldValue=a[l].value);let u=s.dir[r];u&&((0,o.Jd)(),c(u,n,8,[e.el,s,e,t]),(0,o.lk)())}}function Lt(){return{app:null,config:{isNativeTag:r.NO,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 Ct=0;function Bt(e,t){return function(n,o=null){null==o||(0,r.Kn)(o)||(o=null);const i=Lt(),a=new Set;let l=!1;const s=i.app={_uid:Ct++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:Co,get config(){return i.config},set config(e){0},use:(e,...t)=>(a.has(e)||(e&&(0,r.mf)(e.install)?(a.add(e),e.install(s,...t)):(0,r.mf)(e)&&(a.add(e),e(s,...t))),s),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>
2t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(r,a,u){if(!l){const c=mn(n,o);return c.appContext=i,a&&t?t(c,r):e(c,r,u),l=!0,s._container=r,r.__vue_app__=s,eo(c.component)||c.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s)};return s}}function _t(e,t,n,i,a=!1){if((0,r.kJ)(e))return void e.forEach(((e,o)=>_t(e,t&&((0,r.kJ)(t)?t[o]:t),n,i,a)));if(xe(i)&&!a)return;const l=4&i.shapeFlag?eo(i.component)||i.component.proxy:i.el,s=a?null:l,{i:c,r:d}=e;const A=t&&t.r,p=c.refs===r.kT?c.refs={}:c.refs,f=c.setupState;if(null!=A&&A!==d&&((0,r.HD)(A)?(p[A]=null,(0,r.RI)(f,A)&&(f[A]=null)):(0,o.dq)(A)&&(A.value=null)),(0,r.mf)(d))u(d,c,12,[s,p]);else{const t=(0,r.HD)(d),i=(0,o.dq)(d);if(t||i){const i=()=>{if(e.f){const n=t?p[d]:d.value;a?(0,r.kJ)(n)&&(0,r.Od)(n,l):(0,r.kJ)(n)?n.includes(l)||n.push(l):t?p[d]=[l]:(d.value=[l],e.k&&(p[e.k]=d.value))}else t?(p[d]=s,(0,r.RI)(f,d)&&(f[d]=s)):(0,o.dq)(d)&&(d.value=s,e.k&&(p[e.k]=s))};s?(i.id=-1,Tt(i,n)):i()}else 0}}let kt=!1;const xt=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,St=e=>8===e.nodeType;function Et(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:i,parentNode:a,remove:l,insert:s,createComment:u}}=e,c=(n,o,r,l,s,u=!1)=>{const m=St(n)&&"["===n.data,v=()=>f(n,o,r,l,s,m),{type:g,ref:y,shapeFlag:b}=o,w=n.nodeType;o.el=n;let L=null;switch(g){case Yt:3!==w?L=v():(n.data!==o.children&&(kt=!0,n.data=o.children),L=i(n));break;case Gt:L=8!==w||m?v():i(n);break;case Zt:if(1===w){L=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=L.outerHTML),t===o.staticCount-1&&(o.anchor=L),L=i(L);return L}L=v();break;case Wt:L=m?p(n,o,r,l,s,u):v();break;default:if(1&b)L=1!==w||o.type.toLowerCase()!==n.tagName.toLowerCase()?v():d(n,o,r,l,s,u);else if(6&b){o.slotScopeIds=s;const e=a(n);if(t(o,e,null,r,l,xt(e),u),L=m?h(n):i(n),xe(o)){let t;m?(t=mn(Wt),t.anchor=L?L.previousSibling:e.lastChild):t=3===n.nodeType?bn(""):mn("div"),t.el=n,o.component.subTree=t}}else 64&b?L=8!==w?v():o.type.hydrate(n,o,r,l,s,u,e,A):128&b&&(L=o.type.hydrate(n,o,r,l,xt(a(n)),s,u,e,c))}return null!=y&&_t(y,null,l,o),L},d=(e,t,n,i,a,s)=>{s=s||!!t.dynamicChildren;const{type:u,props:c,patchFlag:d,shapeFlag:p,dirs:f}=t,h="input"===u&&f||"option"===u;if(h||-1!==d){if(f&&wt(t,null,n,"created"),c)if(h||!s||48&d)for(const t in c)(h&&t.endsWith("value")||(0,r.F7)(t)&&!(0,r.Gg)(t))&&o(e,t,null,c[t],!1,void 0,n);else c.onClick&&o(e,"onClick",null,c.onClick,!1,void 0,n);let u;if((u=c&&c.onVnodeBeforeMount)&&xn(u,n,t),f&&wt(t,null,n,"beforeMount"),((u=c&&c.onVnodeMounted)||f)&&re((()=>{u&&xn(u,n,t),f&&wt(t,null,n,"mounted")}),i),16&p&&(!c||!c.innerHTML&&!c.textContent)){let o=A(e.firstChild,t,e,n,i,a,s);for(;o;){kt=!0;const e=o;o=o.nextSibling,l(e)}}else 8&p&&e.textContent!==t.children&&(kt=!0,e.textContent=t.children)}return e.nextSibling},A=(e,t,o,r,i,a,l)=>{l=l||!!t.dynamicChildren;const s=t.children,u=s.length;for(let t=0;t<u;t++){const u=l?s[t]:s[t]=Cn(s[t]);if(e)e=c(e,u,r,i,a,l);else{if(u.type===Yt&&!u.children)continue;kt=!0,n(null,u,o,null,r,i,xt(o),a)}}return e},p=(e,t,n,o,r,l)=>{const{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);const d=a(e),p=A(i(e),t,d,n,o,r,l);return p&&St(p)&&"]"===p.data?i(t.anchor=p):(kt=!0,s(t.anchor=u("]"),d,p),p)},f=(e,t,o,r,s,u)=>{if(kt=!0,t.el=null,u){const t=h(e);for(;;){const n=i(e);if(!n||n===t)break;l(n)}}const c=i(e),d=a(e);return l(e),n(null,t,d,c,o,r,xt(d),s),c},h=e=>{let t=0;for(;e;)if((e=i(e))&&St(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return i(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),void N();kt=!1,c(t.firstChild,e,null,null,null),N(),kt&&console.error("Hydration completed but contains mismatches.")},c]}const Tt=re;function Nt(e){return Vt(e)}function Ft(e){return Vt(e,Et)}function Vt(e,t){(0,r.E9)().__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:l,createText:s,createComment:u,setText:c,setElementText:d,parentNode:A,nextSibling:p,setScopeId:m=r.dG,cloneNode:v,insertStaticContent:g}=e,y=(e,t,n,o=null,r=null,i=null,a=!1,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!cn(e,t)&&(o=Z(e),$(e,r,i,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:d}=t;switch(u){case Yt:b(e,t,n,o);break;case Gt:w(e,t,n,o);break;case Zt:null==e&&L(t,n,o,a);break;case Wt:O(e,t,n,o,r,i,a,l,s);break;default:1&d?B(e,t,n,o,r,i,a,l,s):6&d?U(e,t,n,o,r,i,a,l,s):(64&d||128&d)&&u.process(e,t,n,o,r,i,a,l,s,te)}null!=c&&r&&_t(c,e&&e.ref,i,t||e,!t)},b=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},w=(e,t,o,r)=>{null==e?n(t.el=u(t.children||""),o,r):t.el=e.el},L=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),i(e),e=n;i(t)},B=(e,t,n,o,r,i,a,l,s)=>{a=a||"svg"===t.type,null==e?_(t,n,o,r,i,a,l,s):E(e,t,r,i,a,l,s)},_=(e,t,o,i,s,u,c,A)=>{let p,f;const{type:h,props:m,shapeFlag:g,transition:y,patchFlag:b,dirs:w}=e;if(e.el&&void 0!==v&&-1===b)p=e.el=v(e.el);else{if(p=e.el=l(e.type,u,m&&m.is,m),8&g?d(p,e.children):16&g&&S(e.children,p,null,i,s,u&&"foreignObject"!==h,c,A),w&&wt(e,null,i,"created"),m){for(const t in m)"value"===t||(0,r.Gg)(t)||a(p,t,null,m[t],u,e.children,i,s,G);"value"in m&&a(p,"value",null,m.value),(f=m.onVnodeBeforeMount)&&xn(f,i,e)}x(p,e,e.scopeId,c,i)}w&&wt(e,null,i,"beforeMount");
2const L=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;L&&y.beforeEnter(p),n(p,t,o),((f=m&&m.onVnodeMounted)||L||w)&&Tt((()=>{f&&xn(f,i,e),L&&y.enter(p),w&&wt(e,null,i,"mounted")}),s)},x=(e,t,n,o,r)=>{if(n&&m(e,n),o)for(let t=0;t<o.length;t++)m(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;x(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},S=(e,t,n,o,r,i,a,l,s=0)=>{for(let u=s;u<e.length;u++){const s=e[u]=l?Bn(e[u]):Cn(e[u]);y(null,s,t,n,o,r,i,a,l)}},E=(e,t,n,o,i,l,s)=>{const u=t.el=e.el;let{patchFlag:c,dynamicChildren:A,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||r.kT,h=t.props||r.kT;let m;n&&Ot(n,!1),(m=h.onVnodeBeforeUpdate)&&xn(m,n,t,e),p&&wt(t,e,n,"beforeUpdate"),n&&Ot(n,!0);const v=i&&"foreignObject"!==t.type;if(A?F(e.dynamicChildren,A,u,n,o,v,l):s||D(e,t,u,null,n,o,v,l,!1),c>0){if(16&c)V(u,t,f,h,n,o,i);else if(2&c&&f.class!==h.class&&a(u,"class",null,h.class,i),4&c&&a(u,"style",f.style,h.style,i),8&c){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const l=r[t],s=f[l],c=h[l];c===s&&"value"!==l||a(u,l,s,c,i,e.children,n,o,G)}}1&c&&e.children!==t.children&&d(u,t.children)}else s||null!=A||V(u,t,f,h,n,o,i);((m=h.onVnodeUpdated)||p)&&Tt((()=>{m&&xn(m,n,t,e),p&&wt(t,e,n,"updated")}),o)},F=(e,t,n,o,r,i,a)=>{for(let l=0;l<t.length;l++){const s=e[l],u=t[l],c=s.el&&(s.type===Wt||!cn(s,u)||70&s.shapeFlag)?A(s.el):n;y(s,u,c,null,o,r,i,a,!0)}},V=(e,t,n,o,i,l,s)=>{if(n!==o){for(const u in o){if((0,r.Gg)(u))continue;const c=o[u],d=n[u];c!==d&&"value"!==u&&a(e,u,d,c,s,t.children,i,l,G)}if(n!==r.kT)for(const u in n)(0,r.Gg)(u)||u in o||a(e,u,n[u],null,s,t.children,i,l,G);"value"in o&&a(e,"value",n.value,o.value)}},O=(e,t,o,r,i,a,l,u,c)=>{const d=t.el=e?e.el:s(""),A=t.anchor=e?e.anchor:s("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:h}=t;h&&(u=u?u.concat(h):h),null==e?(n(d,o,r),n(A,o,r),S(t.children,o,A,i,a,l,u,c)):p>0&&64&p&&f&&e.dynamicChildren?(F(e.dynamicChildren,f,o,i,a,l,u),(null!=t.key||i&&t===i.subTree)&&Ut(e,t,!0)):D(e,t,o,A,i,a,l,u,c)},U=(e,t,n,o,r,i,a,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,s):Q(t,n,o,r,i,a,s):q(e,t,s)},Q=(e,t,n,o,r,i,a)=>{const l=e.component=In(e,o,r);if(Te(e)&&(l.ctx.renderer=te),Wn(l),l.asyncDep){if(r&&r.registerDep(l,M),!e.el){const e=l.subTree=mn(Gt);w(null,e,t,n)}}else M(l,e,t,n,r,i,a)},q=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>=0))return!(!r&&!l||l&&l.$stable)||o!==a&&(o?!a||J(o,a,u):!!a);if(1024&s)return!0;if(16&s)return o?J(o,a,u):!!a;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==o[n]&&!P(u,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void I(o,t,n);o.next=t,function(e){const t=f.indexOf(e);t>h&&f.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},M=(e,t,n,i,a,l,s)=>{const u=e.effect=new o.qq((()=>{if(e.isMounted){let t,{next:n,bu:o,u:i,parent:u,vnode:c}=e,d=n;0,Ot(e,!1),n?(n.el=c.el,I(e,n,s)):n=c,o&&(0,r.ir)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&xn(t,u,n,c),Ot(e,!0);const p=W(e);0;const f=e.subTree;e.subTree=p,y(f,p,A(f.el),Z(f),e,a,l),n.el=p.el,null===d&&X(e,p.el),i&&Tt(i,a),(t=n.props&&n.props.onVnodeUpdated)&&Tt((()=>xn(t,u,n,c)),a)}else{let o;const{el:s,props:u}=t,{bm:c,m:d,parent:A}=e,p=xe(t);if(Ot(e,!1),c&&(0,r.ir)(c),!p&&(o=u&&u.onVnodeBeforeMount)&&xn(o,A,t),Ot(e,!0),s&&oe){const n=()=>{e.subTree=W(e),oe(s,e.subTree,e,a,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const o=e.subTree=W(e);0,y(null,o,n,i,e,a,l),t.el=o.el}if(d&&Tt(d,a),!p&&(o=u&&u.onVnodeMounted)){const e=t;Tt((()=>xn(o,A,e)),a)}256&t.shapeFlag&&e.a&&Tt(e.a,a),e.isMounted=!0,t=n=i=null}}),(()=>k(e.update)),e.scope),c=e.update=u.run.bind(u);c.id=e.uid,Ot(e,!0),c()},I=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:a,attrs:l,vnode:{patchFlag:s}}=e,u=(0,o.IU)(a),[c]=e.propsOptions;let d=!1;if(!(i||s>0)||16&s){let o;st(e,t,a,l)&&(d=!0);for(const i in u)t&&((0,r.RI)(t,i)||(o=(0,r.rs)(i))!==i&&(0,r.RI)(t,o))||(c?!n||void 0===n[i]&&void 0===n[o]||(a[i]=ut(c,u,i,void 0,e,!0)):delete a[i]);
vendor: 4,446 bytes, line 2
2if(l!==u)for(const e in l)t&&(0,r.RI)(t,e)||(delete l[e],d=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];const s=t[i];if(c)if((0,r.RI)(l,i))s!==l[i]&&(l[i]=s,d=!0);else{const t=(0,r._A)(i);a[t]=ut(c,u,t,s,e,!1)}else s!==l[i]&&(l[i]=s,d=!0)}}d&&(0,o.X$)(e,"set","$attrs")}(e,t.props,i,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let a=!0,l=r.kT;if(32&o.shapeFlag){const e=t._;e?n&&1===e?a=!1:((0,r.l7)(i,t),n||1!==e||delete i._):(a=!t.$stable,gt(t,i)),l=t}else t&&(yt(e,t),l={default:1});if(a)for(const e in i)ht(e)||e in l||delete i[e]})(e,t.children,n),(0,o.Jd)(),T(void 0,e.update),(0,o.lk)()},D=(e,t,n,o,r,i,a,l,s=!1)=>{const u=e&&e.children,c=e?e.shapeFlag:0,A=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void R(u,A,n,o,r,i,a,l,s);if(256&p)return void H(u,A,n,o,r,i,a,l,s)}8&f?(16&c&&G(u,r,i),A!==u&&d(n,A)):16&c?16&f?R(u,A,n,o,r,i,a,l,s):G(u,r,i,!0):(8&c&&d(n,""),16&f&&S(A,n,o,r,i,a,l,s))},H=(e,t,n,o,i,a,l,s,u)=>{e=e||r.Z6,t=t||r.Z6;const c=e.length,d=t.length,A=Math.min(c,d);let p;for(p=0;p<A;p++){const o=t[p]=u?Bn(t[p]):Cn(t[p]);y(e[p],o,n,null,i,a,l,s,u)}c>d?G(e,i,a,!0,!1,A):S(t,n,o,i,a,l,s,u,A)},R=(e,t,n,o,i,a,l,s,u)=>{let c=0;const d=t.length;let A=e.length-1,p=d-1;for(;c<=A&&c<=p;){const o=e[c],r=t[c]=u?Bn(t[c]):Cn(t[c]);if(!cn(o,r))break;y(o,r,n,null,i,a,l,s,u),c++}for(;c<=A&&c<=p;){const o=e[A],r=t[p]=u?Bn(t[p]):Cn(t[p]);if(!cn(o,r))break;y(o,r,n,null,i,a,l,s,u),A--,p--}if(c>A){if(c<=p){const e=p+1,r=e<d?t[e].el:o;for(;c<=p;)y(null,t[c]=u?Bn(t[c]):Cn(t[c]),n,r,i,a,l,s,u),c++}}else if(c>p)for(;c<=A;)$(e[c],i,a,!0),c++;else{const f=c,h=c,m=new Map;for(c=h;c<=p;c++){const e=t[c]=u?Bn(t[c]):Cn(t[c]);null!=e.key&&m.set(e.key,c)}let v,g=0;const b=p-h+1;let w=!1,L=0;const C=new Array(b);for(c=0;c<b;c++)C[c]=0;for(c=f;c<=A;c++){const o=e[c];if(g>=b){$(o,i,a,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=h;v<=p;v++)if(0===C[v-h]&&cn(o,t[v])){r=v;break}void 0===r?$(o,i,a,!0):(C[r-h]=c+1,r>=L?L=r:w=!0,y(o,t[r],n,null,i,a,l,s,u),g++)}const B=w?function(e){const t=e.slice(),n=[0];let o,r,i,a,l;const s=e.length;for(o=0;o<s;o++){const s=e[o];if(0!==s){if(r=n[n.length-1],e[r]<s){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<s?i=l+1:a=l;s<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(C):r.Z6;for(v=B.length-1,c=b-1;c>=0;c--){const e=h+c,r=t[e],A=e+1<d?t[e+1].el:o;0===C[c]?y(null,r,n,A,i,a,l,s,u):w&&(v<0||c!==B[v]?j(r,n,A,2):v--)}}},j=(e,t,o,r,i=null)=>{const{el:a,type:l,transition:s,children:u,shapeFlag:c}=e;if(6&c)return void j(e.component.subTree,t,o,r);if(128&c)return void e.suspense.move(t,o,r);if(64&c)return void l.move(e,t,o,te);if(l===Wt){n(a,t,o);for(let e=0;e<u.length;e++)j(u[e],t,o,r);return void n(e.anchor,t,o)}if(l===Zt)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=p(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&c&&s)if(0===r)s.beforeEnter(a),n(a,t,o),Tt((()=>s.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=s,l=()=>n(a,t,o),u=()=>{e(a,(()=>{l(),i&&i()}))};r?r(a,l,u):u()}else n(a,t,o)},$=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:l,children:s,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:A}=e;if(null!=l&&_t(l,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const p=1&c&&A,f=!xe(e);let h;if(f&&(h=a&&a.onVnodeBeforeUnmount)&&xn(h,t,e),6&c)Y(e.component,n,o);else{if(128&c)return void e.suspense.unmount(n,o);p&&wt(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,r,te,o):u&&(i!==Wt||d>0&&64&d)?G(u,t,n,!1,!0):(i===Wt&&384&d||!r&&16&c)&&G(s,t,n),o&&z(e)}(f&&(h=a&&a.onVnodeUnmounted)||p)&&Tt((()=>{h&&xn(h,t,e),p&&wt(e,null,t,"unmounted")}),n)},z=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Wt)return void K(n,o);if(t===Zt)return void C(e);const a=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,i=()=>t(n,a);o?o(e.el,a,i):i()}else a()},K=(e,t)=>{let n;for(;e!==t;)n=p(e),i(e),e=n;i(t)},Y=(e,t,n)=>{const{bum:o,scope:i,update:a,subTree:l,um:s}=e;o&&(0,r.ir)(o),i.stop(),a&&(a.active=!1,$(l,e,t,n)),s&&Tt(s,t),Tt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a<e.length;a++)$(e[a],t,n,o,r)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),ee=(e,t,n
2)=>{null==e?t._vnode&&$(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),N(),t._vnode=e},te={p:y,um:$,m:j,r:z,mt:Q,mc:S,pc:D,pbc:F,n:Z,o:e};let ne,oe;return t&&([ne,oe]=t(te)),{render:ee,hydrate:ne,createApp:Bt(ee,ne)}}function Ot({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ut(e,t,n=!1){const o=e.children,i=t.children;if((0,r.kJ)(o)&&(0,r.kJ)(i))for(let e=0;e<o.length;e++){const t=o[e];let r=i[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=i[e]=Bn(i[e]),r.el=t.el),n||Ut(t,r))}}const Qt=e=>e&&(e.disabled||""===e.disabled),qt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Mt=(e,t)=>{const n=e&&e.to;if((0,r.HD)(n)){if(t){const e=t(n);return e}return null}return n};function It(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:s,children:u,props:c}=e,d=2===i;if(d&&o(a,t,n),(!d||Qt(c))&&16&s)for(let e=0;e<u.length;e++)r(u[e],t,n,2);d&&o(l,t,n)}const Pt={__isTeleport:!0,process(e,t,n,o,r,i,a,l,s,u){const{mc:c,pc:d,pbc:A,o:{insert:p,querySelector:f,createText:h,createComment:m}}=u,v=Qt(t.props);let{shapeFlag:g,children:y,dynamicChildren:b}=t;if(null==e){const e=t.el=h(""),u=t.anchor=h("");p(e,n,o),p(u,n,o);const d=t.target=Mt(t.props,f),A=t.targetAnchor=h("");d&&(p(A,d),a=a||qt(d));const m=(e,t)=>{16&g&&c(y,e,t,r,i,a,l,s)};v?m(n,u):d&&m(d,A)}else{t.el=e.el;const o=t.anchor=e.anchor,c=t.target=e.target,p=t.targetAnchor=e.targetAnchor,h=Qt(e.props),m=h?n:c,g=h?o:p;if(a=a||qt(c),b?(A(e.dynamicChildren,b,m,r,i,a,l),Ut(e,t,!0)):s||d(e,t,m,g,r,i,a,l,!1),v)h||It(t,n,o,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Mt(t.props,f);e&&It(t,e,null,u,0)}else h&&It(t,c,p,u,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:l,children:s,anchor:u,targetAnchor:c,target:d,props:A}=e;if(d&&i(c),(a||!Qt(A))&&(i(u),16&l))for(let e=0;e<s.length;e++){const o=s[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:It,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:l,querySelector:s}},u){const c=t.target=Mt(t.props,s);if(c){const s=c._lpa||c.firstChild;16&t.shapeFlag&&(Qt(t.props)?(t.anchor=u(a(e),t,l(e),n,o,r,i),t.targetAnchor=s):(t.anchor=a(e),t.targetAnchor=u(s,t,c,n,o,r,i)),c._lpa=t.targetAnchor&&a(t.targetAnchor))}return t.anchor&&a(t.anchor)}},Dt="components";function Ht(e,t){return zt(Dt,e,!0,t)||e}const Rt=Symbol();function jt(e){return(0,r.HD)(e)?zt(Dt,e,!1)||e:e||Rt}function $t(e){return zt("directives",e)}function zt(e,t,n=!0,o=!1){const i=D||Pn;if(i){const n=i.type;if(e===Dt){const e=no(n);if(e&&(e===t||e===(0,r._A)(t)||e===(0,r.kC)((0,r._A)(t))))return n}const a=Kt(i[e]||n[e],t)||Kt(i.appContext[e],t);return!a&&o?n:a}}function Kt(e,t){return e&&(e[t]||e[(0,r._A)(t)]||e[(0,r.kC)((0,r._A)(t))])}const Wt=Symbol(void 0),Yt=Symbol(void 0),Gt=Symbol(void 0),Zt=Symbol(void 0),Jt=[];let Xt=null;function en(e=!1){Jt.push(Xt=e?null:[])}function tn(){Jt.pop(),Xt=Jt[Jt.length-1]||null}let nn,on=1;function rn(e){on+=e}function an(e){return e.dynamicChildren=on>0?Xt||r.Z6:null,tn(),on>0&&Xt&&Xt.push(e),e}function ln(e,t,n,o,r,i){return an(hn(e,t,n,o,r,i,!0))}function sn(e,t,n,o,r){return an(mn(e,t,n,o,r,!0))}function un(e){return!!e&&!0===e.__v_isVNode}function cn(e,t){return e.type===t.type&&e.key===t.key}function dn(e){nn=e}const An="__vInternal",pn=({key:e})=>null!=e?e:null,fn=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,r.HD)(e)||(0,o.dq)(e)||(0,r.mf)(e)?{i:D,r:e,k:t,f:!!n}:e:null;function hn(e,t=null,n=null,o=0,i=null,a=(e===Wt?0:1),l=!1,s=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pn(t),ref:t&&fn(t),scopeId:H,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(_n(u,n),128&a&&e.normalize(u)):n&&(u.shapeFlag|=(0,r.HD)(n)?8:16),on>0&&!l&&Xt&&(u.patchFlag>0||6&a)&&32!==u.patchFlag&&Xt.push(u),u}const mn=vn;function vn(e,t=null,n=null,i=0,a=null,l=!1){if(e&&e!==Rt||(e=Gt),un(e)){const o=yn(e,t,!0);return n&&_n(o,n),o}if(ro(e)&&(e=e.__vccOpts),t){t=gn(t);let{class:e,style:n}=t;e&&!(0,r.HD)(e)&&(t.class=(0,r.C_)(e)),(0,r.Kn)(n)&&((0,o.X3)(n)&&!(0,r.kJ)(n)&&(n=(0,r.l7)({},n)),t.style=(0,r.j5)(n))}return hn(e,t,n,i,a,(0,r.HD)(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.Kn)(e)?4:(0,r.mf)(e)?2:0,l,!0)}function gn(e){return e?(0,o.X3)(e)||An in e?(0,r.l7)({},e):e:null}function yn(e,t,n=!1){const{props:o,ref:i,patchFlag:a,children:l}=e,s=t?kn(o||{},t):o;
2return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&pn(s),ref:t&&t.ref?n&&i?(0,r.kJ)(i)?i.concat(fn(t)):[i,fn(t)]:fn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Wt?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yn(e.ssContent),ssFallback:e.ssFallback&&yn(e.ssFallback),el:e.el,anchor:e.anchor}}function bn(e=" ",t=0){return mn(Yt,null,e,t)}function wn(e,t){const n=mn(Zt,null,e);return n.staticCount=t,n}function Ln(e="",t=!1){return t?(en(),sn(Gt,null,e)):mn(Gt,null,e)}function Cn(e){return null==e||"boolean"==typeof e?mn(Gt):(0,r.kJ)(e)?mn(Wt,null,e.slice()):"object"==typeof e?Bn(e):mn(Yt,null,String(e))}function Bn(e){return null===e.el||e.memo?e:yn(e)}function _n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.kJ)(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),_n(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||An in t?3===o&&D&&(1===D.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=D}}else(0,r.mf)(t)?(t={default:t,_ctx:D},n=32):(t=String(t),64&o?(n=16,t=[bn(t)]):n=8);e.children=t,e.shapeFlag|=n}function kn(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.C_)([t.class,o.class]));else if("style"===e)t.style=(0,r.j5)([t.style,o.style]);else if((0,r.F7)(e)){const n=t[e],i=o[e];!i||n===i||(0,r.kJ)(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=o[e])}return t}function xn(e,t,n,o=null){c(e,t,7,[n,o])}function Sn(e,t,n,o){let i;const a=n&&n[o];if((0,r.kJ)(e)||(0,r.HD)(e)){i=new Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(e[n],n,void 0,a&&a[n])}else if("number"==typeof e){0,i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if((0,r.Kn)(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,r=n.length;o<r;o++){const r=n[o];i[o]=t(e[r],r,o,a&&a[o])}}else i=[];return n&&(n[o]=i),i}function En(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.kJ)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function Tn(e,t,n={},o,r){if(D.isCE)return mn("slot","default"===t?null:{name:t},o&&o());let i=e[t];i&&i._c&&(i._d=!1),en();const a=i&&Nn(i(n)),l=sn(Wt,{key:n.key||`_${t}`},a||(o?o():[]),a&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Nn(e){return e.some((e=>!un(e)||e.type!==Gt&&!(e.type===Wt&&!Nn(e.children))))?e:null}function Fn(e){const t={};for(const n in e)t[(0,r.hR)(n)]=e[n];return t}const Vn=e=>e?jn(e)?eo(e)||e.proxy:Vn(e.parent):null,On=(0,r.l7)(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=>Vn(e.parent),$root:e=>Vn(e.root),$emit:e=>e.emit,$options:e=>tt(e),$forceUpdate:e=>()=>k(e.update),$nextTick:e=>_.bind(e.proxy),$watch:e=>fe.bind(e)}),Un={get({_:e},t){const{ctx:n,setupState:i,data:a,props:l,accessCache:s,type:u,appContext:c}=e;let d;if("$"!==t[0]){const o=s[t];if(void 0!==o)switch(o){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(i!==r.kT&&(0,r.RI)(i,t))return s[t]=1,i[t];if(a!==r.kT&&(0,r.RI)(a,t))return s[t]=2,a[t];if((d=e.propsOptions[0])&&(0,r.RI)(d,t))return s[t]=3,l[t];if(n!==r.kT&&(0,r.RI)(n,t))return s[t]=4,n[t];Ze&&(s[t]=0)}}const A=On[t];let p,f;return A?("$attrs"===t&&(0,o.j)(e,"get",t),A(e)):(p=u.__cssModules)&&(p=p[t])?p:n!==r.kT&&(0,r.RI)(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,(0,r.RI)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:a}=e;return i!==r.kT&&(0,r.RI)(i,t)?(i[t]=n,!0):o!==r.kT&&(0,r.RI)(o,t)?(o[t]=n,!0):!(0,r.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,
2!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:a}},l){let s;return!!n[l]||e!==r.kT&&(0,r.RI)(e,l)||t!==r.kT&&(0,r.RI)(t,l)||(s=a[0])&&(0,r.RI)(s,l)||(0,r.RI)(o,l)||(0,r.RI)(On,l)||(0,r.RI)(i.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?this.set(e,t,n.get(),null):null!=n.value&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const Qn=(0,r.l7)({},Un,{get(e,t){if(t!==Symbol.unscopables)return Un.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.e1)(t)});const qn=Lt();let Mn=0;function In(e,t,n){const i=e.type,a=(t?t.appContext:e.appContext)||qn,l={uid:Mn++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new o.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ct(i,a),emitsOptions:I(i,a),emit:null,emitted:null,propsDefaults:r.kT,inheritAttrs:i.inheritAttrs,ctx:r.kT,data:r.kT,props:r.kT,attrs:r.kT,slots:r.kT,refs:r.kT,setupState:r.kT,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=M.bind(null,l),e.ce&&e.ce(l),l}let Pn=null;const Dn=()=>Pn||D,Hn=e=>{Pn=e,e.scope.on()},Rn=()=>{Pn&&Pn.scope.off(),Pn=null};function jn(e){return 4&e.vnode.shapeFlag}let $n,zn,Kn=!1;function Wn(e,t=!1){Kn=t;const{props:n,children:i}=e.vnode,a=jn(e);!function(e,t,n,i=!1){const a={},l={};(0,r.Nj)(l,An,1),e.propsDefaults=Object.create(null),st(e,t,a,l);for(const t in e.propsOptions[0])t in a||(a[t]=void 0);n?e.props=i?a:(0,o.Um)(a):e.type.props?e.props=a:e.props=l,e.attrs=l}(e,n,a,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,o.IU)(t),(0,r.Nj)(t,"_",n)):gt(t,e.slots={})}else e.slots={},t&&yt(e,t);(0,r.Nj)(e.slots,An,1)})(e,i);const l=a?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=(0,o.Xl)(new Proxy(e.ctx,Un)),!1;const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?Xn(e):null;Hn(e),(0,o.Jd)();const a=u(i,e,0,[e.props,n]);if((0,o.lk)(),Rn(),(0,r.tI)(a)){if(a.then(Rn,Rn),t)return a.then((n=>{Yn(e,n,t)})).catch((t=>{d(t,e,0)}));e.asyncDep=a}else Yn(e,a,t)}else Jn(e,t)}(e,t):void 0;return Kn=!1,l}function Yn(e,t,n){(0,r.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.Kn)(t)&&(e.setupState=(0,o.WL)(t)),Jn(e,n)}function Gn(e){$n=e,zn=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Qn))}}const Zn=()=>!$n;function Jn(e,t,n){const i=e.type;if(!e.render){if(!t&&$n&&!i.render){const t=i.template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,s=(0,r.l7)((0,r.l7)({isCustomElement:n,delimiters:a},o),l);i.render=$n(t,s)}}e.render=i.render||r.dG,zn&&zn(e)}Hn(e),(0,o.Jd)(),Je(e),(0,o.lk)(),Rn()}function Xn(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>((0,o.j)(e,"get","$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function eo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,o.WL)((0,o.Xl)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in On?On[n](e):void 0}))}const to=/(?:^|[-_])(\w)/g;function no(e){return(0,r.mf)(e)&&e.displayName||e.name}function oo(e,t,n=!1){let o=no(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(to,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function ro(e){return(0,r.mf)(e)&&"__vccOpts"in e}const io=(e,t)=>(0,o.Fl)(e,t,Kn);function ao(){return null}function lo(){return null}function so(e){0}function uo(e,t){return null}function co(){return po().slots}function Ao(){return po().attrs}function po(){const e=Dn();return e.setupContext||(e.setupContext=Xn(e))}function fo(e,t){const n=(0,r.kJ)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const o=n[e];o?(0,r.kJ)(o)||(0,r.mf)(o)?n[e]={type:o,default:t[e]}:o.default=t[e]:null===o&&(n[e]={default:t[e]})}return n}function ho(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function mo(e){const t=Dn();let n=e();return Rn(),(0,r.tI)(n)&&(n=n.catch((e=>{throw Hn(t),e}))),[n,()=>Hn(t)]}function vo(e,t,n){const o=arguments.length;return 2===o?(0,r.Kn)(t)&&!(0,r.kJ)(t)?un(t)?mn(e,null,[t]):mn(e,t):mn(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&un(n)&&(n=[n]),mn(e,t,n
2))}const go=Symbol(""),yo=()=>{{const e=le(go);return e||a("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function bo(){return void 0}function wo(e,t,n,o){const r=n[o];if(r&&Lo(r,e))return r;const i=t();return i.memo=e.slice(),n[o]=i}function Lo(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return on>0&&Xt&&Xt.push(e),!0}const Co="3.2.31",Bo={createComponentInstance:In,setupComponent:Wn,renderComponentRoot:W,setCurrentRenderingInstance:R,isVNode:un,normalizeVNode:Cn},_o=null,ko=null},6612:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{Z6:()=>f,kT:()=>p,NO:()=>m,dG:()=>h,_A:()=>q,kC:()=>P,Nj:()=>j,l7:()=>b,E9:()=>K,aU:()=>H,RI:()=>C,rs:()=>I,ir:()=>R,kJ:()=>B,mf:()=>x,e1:()=>r,_N:()=>_,tR:()=>y,Kn:()=>E,F7:()=>g,PO:()=>V,tI:()=>T,Gg:()=>O,DM:()=>k,HD:()=>S,C_:()=>u,vs:()=>c,j5:()=>i,Od:()=>w,zw:()=>d,hR:()=>D,He:()=>$});const r=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function i(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=S(o)?s(o):i(o);if(r)for(const e in r)t[e]=r[e]}return t}return S(e)||E(e)?e:void 0}const a=/;(?![^(]*\))/g,l=/:(.+)/;function s(e){const t={};return e.split(a).forEach((e=>{if(e){const n=e.split(l);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function u(e){let t="";if(S(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const o=u(e[n]);o&&(t+=o+" ")}else if(E(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function c(e){if(!e)return null;let{class:t,style:n}=e;return t&&!S(t)&&(e.class=u(t)),n&&(e.style=i(n)),e}const d=e=>S(e)?e:null==e?"":B(e)||E(e)&&(e.toString===N||!x(e.toString))?JSON.stringify(e,A,2):String(e),A=(e,t)=>t&&t.__v_isRef?A(e,t.value):_(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:k(t)?{[`Set(${t.size})`]:[...t.values()]}:!E(t)||B(t)||V(t)?t:String(t),p={},f=[],h=()=>{},m=()=>!1,v=/^on[^a-z]/,g=e=>v.test(e),y=e=>e.startsWith("onUpdate:"),b=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L=Object.prototype.hasOwnProperty,C=(e,t)=>L.call(e,t),B=Array.isArray,_=e=>"[object Map]"===F(e),k=e=>"[object Set]"===F(e),x=e=>"function"==typeof e,S=e=>"string"==typeof e,E=e=>null!==e&&"object"==typeof e,T=e=>E(e)&&x(e.then)&&x(e.catch),N=Object.prototype.toString,F=e=>N.call(e),V=e=>"[object Object]"===F(e),O=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Q=/-(\w)/g,q=U((e=>e.replace(Q,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,I=U((e=>e.replace(M,"-$1").toLowerCase())),P=U((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=U((e=>e?`on${P(e)}`:"")),H=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},j=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let z;const K=()=>z||(z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{})},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var o=n(4867),r=n(6026),i=n(4372),a=n(5327),l=n(4097),s=n(4109),u=n(7985),c=n(5061);e.exports=function(e){return new Promise((function(t,n){var d=e.data,A=e.headers;o.isFormData(d)&&delete A["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";A.Authorization="Basic "+btoa(f+":"+h)}var m=l(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:o,config:e,request:p};r(t,n,i),p=null}},p.onabort=function(){p&&(n(c("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,"ECONNABORTED",p)),p=null},o.isStandardBrowserEnv()){var v=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;v&&(A[e.xsrfHeaderName]=v)}if("setRequestHeader"in p&&o.forEach(A,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete A[t]:p.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},1609:(e,t,n)=>{"use strict";var o=n(4867),r=n(1849),i=n(321),a=n(7185);function l(e){var t=new i(e),n=r(i.prototype.request,t);return o.extend(n,i.prototype,t),o.extend(n,t),n}var s=l(n(5655));s.Axios=i,s.create=function(e){return l(a(s.defaults,e))},s.Cancel=n(5263),s.CancelToken=n(4972),s.isCancel=n(6502),s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(6268),e.exports=s,e.exports.default=s},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
vendor: 8,701 bytes, line 2
2,t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var o=n(5263);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var o=n(4867),r=n(5327),i=n(782),a=n(3572),l=n(7185);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=l(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},s.prototype.getUri=function(e){return e=l(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,o){return this.request(l(o||{},{method:e,url:t,data:n}))}})),e.exports=s},782:(e,t,n)=>{"use strict";var o=n(4867);function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},4097:(e,t,n)=>{"use strict";var o=n(1793),r=n(7303);e.exports=function(e,t){return e&&!o(t)?r(e,t):t}},5061:(e,t,n)=>{"use strict";var o=n(481);e.exports=function(e,t,n,r,i){var a=new Error(e);return o(a,t,n,r,i)}},3572:(e,t,n)=>{"use strict";var o=n(4867),r=n(8527),i=n(6502),a=n(5655);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var o=n(4867);e.exports=function(e,t){t=t||{};var n={},r=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function s(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function u(r){o.isUndefined(t[r])?o.isUndefined(e[r])||(n[r]=s(void 0,e[r])):n[r]=s(e[r],t[r])}o.forEach(r,(function(e){o.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),o.forEach(i,u),o.forEach(a,(function(r){o.isUndefined(t[r])?o.isUndefined(e[r])||(n[r]=s(void 0,e[r])):n[r]=s(void 0,t[r])})),o.forEach(l,(function(o){o in t?n[o]=s(e[o],t[o]):o in e&&(n[o]=s(void 0,e[o]))}));var c=r.concat(i).concat(a).concat(l),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return o.forEach(d,u),n}},6026:(e,t,n)=>{"use strict";var o=n(5061);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var o=n(4867);e.exports=function(e,t,n){return o.forEach(n,(function(n){e=n(e,t)})),e}},5655:(e,t,n)=>{"use strict";var o=n(4155),r=n(4867),i=n(6016),a={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==o&&"[object process]"===Object.prototype.toString.call(o))&&(s=n(5448)),s),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(l(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var o=n(4867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var o=n(4867);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,n,r,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),o.isString(r)&&l.push("path="+r),o.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var o=n(4867);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=o.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var o=n(4867);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},4109:(e,t,n)=>{"use strict";var o=n(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};
2return e?(o.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=o.trim(e.substr(0,i)).toLowerCase(),n=o.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,n)=>{"use strict";var o=n(1849),r=Object.prototype.toString;function i(e){return"[object Array]"===r.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===r.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,o){s(t[o])&&s(n)?t[o]=e(t[o],n):s(n)?t[o]=e({},n):i(n)?t[o]=n.slice():t[o]=n}for(var o=0,r=arguments.length;o<r;o++)c(arguments[o],n);return t},extend:function(e,t,n){return c(t,(function(t,r){e[r]=n&&"function"==typeof t?o(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},5055:(e,t,n)=>{"use strict";n.d(t,{rz:()=>u,b3:()=>c});const o=e=>{var t,n,o,r="The Google Maps JavaScript API",i=document,a=window,l=a.google||(a.google={}),s=l.maps||(l.maps={}),u=new Set,c=new URLSearchParams;s.importLibrary?console.warn(r+" only loads once. Ignoring:",e):s.importLibrary=(a,...l)=>u.add(a)&&(t||(t=new Promise((async(a,l)=>{for(o in await(n=i.createElement("script")),c.set("libraries",[...u]+""),e)c.set(o.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[o]);c.set("callback","google.maps.__ib__"),function(e,t){e.src=t}(n,"https://maps.googleapis.com/maps/api/js?"+c),s.__ib__=a,n.onerror=()=>t=l(Error(r+" could not load.")),n.nonce=i.querySelector("script[nonce]")?.nonce||"",i.head.append(n)})))).then((()=>s.importLibrary(a,...l)))},r=()=>{},i=()=>{};let a=!1;async function l(e){if(a||r("No options were set before calling importLibrary. Make sure to configure the loader using setOptions()."),!window?.google?.maps?.importLibrary)throw new Error("google.maps.importLibrary is not installed.");return await google.maps.importLibrary(e)}var s,u="ec86d1f9590c69b7142ca455";s={key:"AIzaSyD3lFpRB6G3tvaUY_MF-ft0eGJT8tGiExU",v:"weekly"},a?r((e=>`The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`)(s)):(function(e){const t=Boolean(window.google?.maps?.importLibrary);t&&i((e=>`The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`)(e)),t||o(e)}(s),a=!0);var c=Promise.all([l("maps"),l("places"),l("marker")]).then((function(){return window.google}))}
2,4148:(e,t,n)=>{"use strict";n.d(t,{Fd:()=>o,l9:()=>r,Ti:()=>i,kz:()=>a});var o={url:"/images/map_marker.svg",anchor:{x:22,y:67},labelOrigin:{x:21,y:22}},r={url:"/images/map_marker_editing.svg",anchor:{x:22,y:67},labelOrigin:{x:21,y:22}},i={url:"/images/map_marker_add.svg",anchor:{x:22,y:67}},a={url:"/images/map_cluster.svg",anchor:{x:22,y:67},backgroundPosition:"center center; background-size: cover",width:42,height:52,textColor:"#FFFFFF",textSize:18,fontWeight:"bold",className:"marker-cluster-icon"}},9054:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var o=[[{header:[1,2,3,!1]}],["bold","italic","underline","strike"],[{list:"ordered"},{list:"bullet"}],[{align:[]}]]},1865:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(6486);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function a(e){return a="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},a(e)}var l=function e(t,n){return(0,o.reduce)(t,(function(t,r,i){return(0,o.isPlainObject)(r)?t[i]=e(r,n[i]):(0,o.isEqual)(r,n[i])||(t[i]=r),t}),{})},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";for(var r in t){var i=t[r],l=o?"".concat(o,".").concat(r):r;i&&"object"===a(i)?e(i,n,l):n[l]=i}return n};const u={data:function(){return{ERRORBAG:"input",formDirty:!1,trackErrors:!1}},computed:{errorBags:function(){return this.$page.props.errorBags},warnings:function(){return this.$page.props.warnings}},watch:{form:{deep:!0,handler:function(){var e=(0,o.cloneDeep)(this.form.data());if((0,o.isEqual)(e,this.originalData))this.formDirty=!1;else if(this.formDirty=!0,this.trackErrors&&this.hasErrors()){var t=s(l(this.form.data(),this.originalData));for(var n in t)this.hasError(n)&&this.deleteError(n)}}}},methods:{hasErrors:function(){var e;return!!Object.keys((null===(e=this.errorBags)||void 0===e?void 0:e[this.ERRORBAG])||{}).length},hasError:function(e){var t,n;return!(null===(t=this.errorBags)||void 0===t||null===(n=t[this.ERRORBAG])||void 0===n||!n[e])},setError:function(e,t){this.errorBags[this.ERRORBAG]||(this.$page.props.errorBags={},this.$page.props.errorBags[this.ERRORBAG]={}),this.$page.props.errorBags[this.ERRORBAG][e]=t},getError:function(e){var t,n,o,i=(null===(t=this.errorBags)||void 0===t||null===(n=t[this.ERRORBAG])||void 0===n?void 0:n[e])||null;if(!(o=i&&i instanceof Array?i.join(", "):i&&"object"===a(i)?i[0]:i)){var l,s=Object.entries((null===(l=this.errorBags)||void 0===l?void 0:l[this.ERRORBAG])||{}).filter((function(t){var n=r(t,2),o=n[0];n[1];return o.includes("".concat(e,"."))})).map((function(e){var t=r(e,2),n=t[0],o=t[1];return o instanceof Array?[n,o.join(", ")]:[n,o]}));if(s.length)return Object.fromEntries(s)}return o},getErrors:function(){return this.errorBags[this.ERRORBAG]},removeError:function(e){this.errorBags[this.ERRORBAG][e]=""},deleteError:function(e){var t,n;null!==(t=this.errorBags)&&void 0!==t&&null!==(n=t[this.ERRORBAG])&&void 0!==n&&n[e]&&delete this.errorBags[this.ERRORBAG][e]},restartFormTracking:function(){this.originalData=(0,o.cloneDeep)(this.form.data())},restartFormTrackingWithErrors:function(){this.restartFormTracking(),this.trackErrors=!0},hasWarning:function(e){var t;return!(null===(t=this.warnings)||void 0===t||!t[e])},getWarning:function(e){var t,n=(null===(t=this.warnings)||void 0===t?void 0:t[e])||null;return n&&n instanceof Array?n.join(", "):n&&"object"===a(n)?n[0]:n}},mounted:function(){this.restartFormTracking()}}},37:(e,t,n)=>{"use strict";var o=n(3868),r=n(9038),i=n(1966),a=n(1474),l=n.n(a);const s={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records foun
2d",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};n(7333);var u=document.getElementById("app");window.sessionTimer,(0,o.createApp)({render:function(){return(0,o.h)(r.gV,{initialPage:JSON.parse(u.dataset.page),resolveComponent:function(e){return n(3218)("./".concat(e)).default}})}}).component("inertia-link",r.ZQ).use(r.BA).use(l(),{lang:s,config:{loadingBar:{skipHijack:!0}}}).mixin({methods:{route,isURL:function(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}}}).mount(u),i.I.init({color:"#4B5563"})},7333:(e,t,n)=>{window._=n(6486),window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",window.axios.defaults.withCredentials=!0},626:(e,t,n)=>{"use strict";n.d(t,{Fq:()=>v,ym:()=>g});var o=n(7757),r=n.n(o),i=n(1120),a=n.n(i);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function u(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){u(i,o,r,a,l,"next",e)}function l(e){u(i,o,r,a,l,"throw",e)}a(void 0)}))}}var d=16e6,A="Could not automatically rezise the image",p="Could not get resize context",f="Could not read image",h="Image processing failed",m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,n=new Promise((function(n,o){var r=t/e.size,i=new FileReader;i.onload=function(){if(i.result){var e=new Image;e.onload=function(){var t=document.createElement("canvas"),i=t.getContext("2d");if(i){var a=Math.floor(e.width*r),l=Math.floor(e.height*r);t.width=a,t.height=l,i.drawImage(e,0,0,a,l),t.toBlob((function(e){if(e){var t=new File([e],"image",{type:e.type});n(t)}else o(A)}))}else o(p)},e.src=i.result}else o(f)},i.readAsDataURL(e)})),o=new Promise((function(e,t){var n=setTimeout((function(){clearTimeout(n),t(h)}),1e4)}));return Promise.race([n,o])},v=function(e){return new Promise(function(){var t=c(r().mark((function t(n,o){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e||o("No file provided"),!(e.size>d)){t.next=14;break}return console.log("file is too big - attempting automatic resize"),t.prev=3,t.next=6,m(e);case 6:e=t.sent,n(e),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(3),console.error(t.t0),o(t.t0);case 14:n(e);case 15:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e,n){return t.apply(this,arguments)}}())},g=function(){var e=c(r().mark((function e(t,n){var o,i,s,u,c,d;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.querySelectorAll("img"),i=[],s=l(o);try{for(c=function(){var e,t=u.value;null!==(e=t.src)&&void 0!==e&&e.includes(window.location.origin)||i.push(new Promise((function(e,n){var o=new Image;o.crossOrigin="Anonymous",o.addEventListener("load",(function(){var r=document.createElement("canvas"),i=r.getContext("2d");r.width=o.width,r.height=o.height,i.drawImage(o,0,0);try{t.src=r.toDataURL("image/png"),setTimeout(e,10)}catch(e){console.log("Error: "+e),n(e)}}),!1),o.src=t.src})))},s.s();!(u=s.n()).done;)c()}catch(e){s.e(e)}finally{s.f()}return e.next=6,Promise.all(i);case 6:return e.next=8,a()(t,{logging:!1});case 8:return d=e.sent,e.abrupt("return",new Promise((function(e,t){try{var o=d.height>512?512:d.height,r=d.width/2-o/2>0?d.width/2-o/2:0,i=d.height/2-o/2>0?d.height/2-o/2:0,a=d.getContext("2d"),l=a.getImageData(r,i,o,o);d.width=l.width,d.height=l.height,a.putImageData(l,0,0),n&&(a.fillStyle="white",a.fillRect(0,o-68,o,58),a.fillStyle="black",a.font="48px sans-serif",a.textAlign="center",a.textBaseline="bottom",a.fillText(n,o/2,o-12)),d.toBlob((function(n){n?e(new File([n],"image",{type:n.type})):t("no file created")}))}catch(e){console.warn(e),t(e)}})));case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],l=i[1],u=new r(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),c=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===l&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===l&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,o=e.length,r=o%3,i=[],a=16383,l=0,s=o-r;l<s;
vendor: 4,917 bytes, line 2
2l+=a)i.push(u(e,l,l+a>s?s:l+a));1===r?(t=e[o-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[o-2]<<8)+e[o-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a<l;++a)n[a]=i[a],o[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,o){for(var r,i,a=[],l=t;l<o;l+=3)r=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(255&e[l+2]),a.push(n[(i=r)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},8764:(e,t,n)=>{"use strict";var o=n(9742),r=n(645),i=n(5826);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return u(this,e,t,n)}function u(e,t,n,o){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,o){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===o?new Uint8Array(t):void 0===o?new Uint8Array(t,n):new Uint8Array(t,n,o);s.TYPED_ARRAY_SUPPORT?(e=t).__proto__=s.prototype:e=A(e,t);return e}(e,t,n,o):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=0|f(t,n),r=(e=l(e,o)).write(t,n);r!==o&&(e=e.slice(0,r));return e}(e,t,n):function(e,t){if(s.isBuffer(t)){var n=0|p(t.length);return 0===(e=l(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(o=t.length)!=o?l(e,0):A(e,t);if("Buffer"===t.type&&i(t.data))return A(e,t.data)}var o;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=l(e,t<0?0:0|p(t)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function A(e,t){var n=t.length<0?0:0|p(t.length);e=l(e,n);for(var o=0;o<n;o+=1)e[o]=255&t[o];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(o)return D(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return E(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function v(e,t,n,o,r){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=s.from(t,o)),s.isBuffer(t))return 0===t.length?-1:g(e,t,n,o,r);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,o,r){var i,a=1,l=e.length,s=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)
vendor: 14,680 bytes, line 2
2){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var c=-1;for(i=n;i<l;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(n+s>l&&(n=l-s),i=n;i>=0;i--){for(var d=!0,A=0;A<s;A++)if(u(e,i+A)!==u(t,A)){d=!1;break}if(d)return i}return-1}function y(e,t,n,o){n=Number(n)||0;var r=e.length-n;o?(o=Number(o))>r&&(o=r):o=r;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var a=0;a<o;++a){var l=parseInt(t.substr(2*a,2),16);if(isNaN(l))return a;e[n+a]=l}return a}function b(e,t,n,o){return R(D(t,e.length-n),e,n,o)}function w(e,t,n,o){return R(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,o)}function L(e,t,n,o){return w(e,t,n,o)}function C(e,t,n,o){return R(H(t),e,n,o)}function B(e,t,n,o){return R(function(e,t){for(var n,o,r,i=[],a=0;a<e.length&&!((t-=2)<0);++a)o=(n=e.charCodeAt(a))>>8,r=n%256,i.push(r),i.push(o);return i}(t,e.length-n),e,n,o)}function _(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var o=[],r=t;r<n;){var i,a,l,s,u=e[r],c=null,d=u>239?4:u>223?3:u>191?2:1;if(r+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[r+1]))&&(s=(31&u)<<6|63&i)>127&&(c=s);break;case 3:i=e[r+1],a=e[r+2],128==(192&i)&&128==(192&a)&&(s=(15&u)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[r+1],a=e[r+2],l=e[r+3],128==(192&i)&&128==(192&a)&&128==(192&l)&&(s=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(c=s)}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),r+=d}return function(e){var t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);var n="",o=0;for(;o<t;)n+=String.fromCharCode.apply(String,e.slice(o,o+=x));return n}(o)}t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,n){return u(null,e,t,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,n){return function(e,t,n,o){return c(t),t<=0?l(e,t):void 0!==n?"string"==typeof o?l(e,t).fill(n,o):l(e,t).fill(n):l(e,t)}(null,e,t,n)},s.allocUnsafe=function(e){return d(null,e)},s.allocUnsafeSlow=function(e){return d(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r<i;++r)if(e[r]!==t[r]){n=e[r],o=t[r];break}return n<o?-1:o<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var o=s.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var a=e[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,r),r+=a.length}return o},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):h.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,n,o,r){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(r>>>=0)-(o>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(i,a),u=this.slice(o,r),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){i=u[d],a=c[d];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},s.prototype.write=function(e,t,n,o){if(void 0===t)o="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)o=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return L(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function S(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(127&e[r]);return o}function E(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(e[r]);return o}function T(e,t,n){var o=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>o)&&(n=o);for(var r="",i=t;i<n;++i)r+=P(e[i]);return r}function N(e,t,n){for(var o=e.slice(t,n),r="",i=0;i<o.length;i+=2)r+=String.fromCharCode(o[i]+256*o[i+1]);return r}function F(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function V(e,t,n,o,r,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<i)throw new RangeError('"value" argument is out of bounds');if(n+o>e.length)throw new RangeError("Index out of range")}function O(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-n,2);r<i;++r)e[n+r]=(t&255<<8*(o?r:1-r))>>>8*(o?r:1-r)}function U(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-n,4);r<i;++r)e[n+r]=t>>>8*(o?r:3-r)&255}function Q(e,t,n,o,r,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,o,i){return i||Q(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function M(e,t,n,o,i){return i||Q(e,0,n,8),r.write(e,t,n,o,52,8),n+8}s.prototype.slice=function(e,t){var n,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=s.prototype;else{var r=t-e;n=new s(r,void 0);for(var i=0;i<r;++i)n[i]=this[i+e]}return n},s.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var o=this[e],r=1,i=0;++i<t&&(r*=256);)o+=this[e+i]*r;return o},s.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var o=this[e+--t],r=1;t>0&&(r*=256);)o+=this[e+--t]*r;return o},s.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var o=this[e],r=1,i=0;++i<t&&(r*=256);)o+=this[e+i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var o=t,r=1,i=this[e+--o];o>0&&(r*=256);)i+=this[e+--o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),r.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),r.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,o){(e=+e,t|=0,n|=0,o)||V(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,i=0;for(this[t]=255&e;++i<n&&(r*=256);)this[t+i]=e/r&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,o){(e=+e,t|=0,n|=0,o)||V(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,i=1;for(this[t+r]=255&e;--r>=0&&(i*=256);)this[t+r]=e/i&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):U(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);V(this,e,t,n,r-1,-r)}var i=0,a=1,l=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},s.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);V(this,e,t,n,r-1,-r)}var i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):O(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):O(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):U(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-n&&(o=e.length-t+n);var r,i=o-n;if(this===e&&n<t&&t<o)for(r=i-1;r>=0;--r)e[r+t]=this[r+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(r=0;r<i;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},s.prototype.fill=function(e,t,n,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!s.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=s.isBuffer(e)?e:D(new s(e,o).toString()),l=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%l]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,t){var n;t=t||1/0;for(var o=e.length,r=null,i=[],a=0;a<o;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>
2-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){return o.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,n,o){for(var r=0;r<o&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}},1924:(e,t,n)=>{"use strict";var o=n(210),r=n(5559),i=r(o("String.prototype.indexOf"));e.exports=function(e,t){var n=o(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?r(n):n}},5559:(e,t,n)=>{"use strict";var o=n(8612),r=n(210),i=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||o.call(a,i),s=r("%Object.getOwnPropertyDescriptor%",!0),u=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=l(o,a,arguments);if(s&&u){var n=s(t,"length");n.configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var d=function(){return l(o,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&i(e).forEach((function(t){r[t]=o(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function s(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||r,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=o;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):l(e,n,i):o(n,i)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var u=s;e.exports=u},7648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,r="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||o.call(i)!==r)throw new TypeError(t+i);for(var a,l=n.call(arguments,1),s=function(){if(this instanceof a){var t=i.apply(this,l.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,l.concat(n.call(arguments)))},u=Math.max(0,i.length-l.length),c=[],d=0;d<u;d++)c.push("$"+d);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),i.prototype){var A=function(){};A.prototype=i.prototype,a.prototype=new A,A.prototype=null}return a}},8612:(e,t,n)=>{"use strict";var o=n(7648);e.exports=Function.prototype.bind||o},4390:e=>{"use strict";e.exports=function(e,t){var n=t.length,o=e.length;if(o>n)return!1;if(o===n)return e===t;e:for(var r=0,i=0;r<o;r++){for(var a=e.charCodeAt(r);i<n;)if(t.charCodeAt(i++)===a)continue e;return!1}return!0}},210:(e,t,n)=>{"use strict";var o,r=SyntaxError,i=Function,a=TypeError,l=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var u=function(){throw new a},c=s?function(){try{return u}catch(e){try{return s(arguments,"callee").get}catch(e){return u}}}():u,d=n(1405)(),A=Object.getPrototypeOf||function(e){return e.__proto__},p={},f="undefined"==typeof Uint8Array?o:A(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?A([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?o:Atomics,"%BigInt%":"undefined"==typeof BigInt?o:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":d?A(A([][Symbol.iterator]())):o,"%JSON%":"object"==typeof JSON?JSON:o,"%Map%":"undefined"==typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?A((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?o:Promise,"%Proxy%":"undefined"==typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?A((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?A(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?o:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=l("async function () {}");else if("%GeneratorFunction%"===t)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=l("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&(n=A(r.prototype))}return h[t]=n,n},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(8612),y=n(7642),b=g.call(Function.call,Array.prototype.concat),w=g.call(Function.apply,Array.prototype.splice),L=g.call(Function.call,String.prototype.replace),C=g.call(Function.call,String.prototype.slice),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,k=function(e){var t=C(e,0,1),n=C(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return L(e,B,(function(e,t,n,r){o[o.length]=n?L(r,_,"$1"):t||e})),o},x=function(e,t){var n,o=e;if(y(v,o)&&(o="%"+(n=v[o])[0]+"%"),y(h,o)){var i=h[o];if(i===p&&(i=m(o)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=k(e),o=n.length>0?n[0]:"",i=x("%"+o+"%",t),l=i.name,u=i.value,c=!1,d=i.alias;d&&(o=d[0],w(n,b([0,1],d)));for(var A=1,p=!0;A<n.length;A+=1){var f=n[A],m=C(f,0,1),v=C(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==f&&p||(c=!0),y(h,l="%"+(o+="."+f)+"%"))u=h[l];else if(null!=u){if(!(f in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&A+1>=n.length){var g=s(u,f);u=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:u[f]}else p=y(u,f),u=u[f];p&&!c&&(h[l]=u)}}return u}},1405:(e,t,n)=>{"use strict";var o="undefined"!=typeof Symbol&&Symbol,r=n(5419);e.exports=function(){return"function"==typeof o&&("function"==typeof Symbol&&("symbol"==typeof o("foo")&&("symbol"==typeof Symbol("bar")&&r())))}},5419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},7642:(e,t,n)=>{"use strict";var o=n(8612);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},1120:function(e){e.exports=function(){"use strict";var e=function(t,n){return e=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])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n.apply(this,arguments)};function o(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}
2return new(n||(n=Promise))((function(n,i){function a(e){try{s(o.next(e))}catch(e){i(e)}}function l(e){try{s(o.throw(e))}catch(e){i(e)}}function s(e){e.done?n(e.value):r(e.value).then(a,l)}s((o=o.apply(e,t||[])).next())}))}function r(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(e){return function(t){return s([e,t])}}function s(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function i(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}for(var a=function(){function e(e,t,n,o){this.left=e,this.top=t,this.width=n,this.height=o}return e.prototype.add=function(t,n,o,r){return new e(this.left+t,this.top+n,this.width+o,this.height+r)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var o=Array.from(n).find((function(e){return 0!==e.width}));return o?new e(o.left+t.windowBounds.left,o.top+t.windowBounds.top,o.width,o.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),l=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},s=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var o=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),r=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,o,r)},u=function(e){for(var t=[],n=0,o=e.length;n<o;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var o=[],r=-1,i="";++r<n;){var a=e[r];a<=65535?o.push(a):(a-=65536,o.push(55296+(a>>10),a%1024+56320)),(r+1===n||o.length>16384)&&(i+=String.fromCharCode.apply(String,o),o.length=0)}return i},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A="undefined"==typeof Uint8Array?[]:new Uint8Array(256),p=0;p<d.length;p++)A[d.charCodeAt(p)]=p;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),m=0;m<f.length;m++)h[f.charCodeAt(m)]=m;for(var v=function(e){var t,n,o,r,i,a=.75*e.length,l=e.length,s=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<l;t+=4)n=h[e.charCodeAt(t)],o=h[e.charCodeAt(t+1)],r=h[e.charCodeAt(t+2)],i=h[e.charCodeAt(t+3)],c[s++]=n<<2|o>>4,c[s++]=(15&o)<<4|r>>2,c[s++]=(3&r)<<6|63&i;return u},g=function(e){for(var t=e.length,n=[],o=0;o<t;o+=2)n.push(e[o+1]<<8|e[o]);return n},y=function(e){for(var t=e.length,n=[],o=0;o<t;o+=4)n.push(e[o+3]<<24|e[o+2]<<16|e[o+1]<<8|e[o]);return n},b=5,w=11,L=2,C=65536>>b,B=(1<<b)-1,_=C+(1024>>b)+32,k=65536>>w,x=(1<<w-b)-1,S=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},E=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},T=function(e,t){var n=v(e),o=Array.isArray(n)?y(n):new Uint32Array(n),r=Array.isArray(n)?g(n):new Uint16Array(n),i=24,a=S(r,i/2,o[4]/2),l=2===o[5]?S(r,(i+o[4])/2):E(o,Math.ceil((i+o[4])/4));return new N(o[0],o[1],o[2],o[3],a,l)},N=function(){function e(e,t,n,o,r,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=o,this.index=r,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>b])<<L)+(e&B),this.data[t];if(e<=65535)return t=((t=this.index[C+(e-55296>>b)])<<L)+(e&B),this.data[t];if(e<this.highStart)return t=_-k+(e>>w),t=this.index[t],t+=e>>b&x,t=((t=this.index[t])<<L)+(e&B),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",V="undefined"==typeof Uint8Array?[]:new Uint8Array(256),O=0;O<F.length;O++)V[F.charCodeAt(O)]=O;var U=50,Q=1,q=2,M=3,I=4,P=5,D=7,H=8,R=9,j=10,$=11,z=12,K=13,W=14,Y=15,G=16,Z=17,J=18,X=19,ee=20,te=21,ne=22,oe=23,re=24,ie=25,ae=26,le=27,se=28,ue=29,ce=30,de=31,Ae=32,pe=33,fe=34,he=35,me=36,ve=37,ge=38,ye=39,be=40,we=41,Le=42,Ce=43,Be=[9001,65288],_e="!",ke="Ã",xe="÷",Se=T("
vendor: 52,888 bytes, line 2
2KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==
2"),Ee=[ce,me],Te=[Q,q,M,P],Ne=[j,H],Fe=[le,ae],Ve=Te.concat(Ne),Oe=[ge,ye,be,fe,he],Ue=[Y,K],Qe=function(e,t){void 0===t&&(t="strict");var n=[],o=[],r=[];return e.forEach((function(e,i){var a=Se.get(e);if(a>U?(r.push(!0),a-=U):r.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return o.push(i),n.push(G);if(a===I||a===$){if(0===i)return o.push(i),n.push(ce);var l=n[i-1];return-1===Ve.indexOf(l)?(o.push(o[i-1]),n.push(l)):(o.push(i),n.push(ce))}return o.push(i),a===de?n.push("strict"===t?te:ve):a===Le||a===ue?n.push(ce):a===Ce?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(ve):n.push(ce):void n.push(a)})),[o,n,r]},qe=function(e,t,n,o){var r=o[n];if(Array.isArray(e)?-1!==e.indexOf(r):e===r)for(var i=n;i<=o.length;){if((s=o[++i])===t)return!0;if(s!==j)break}if(r===j)for(i=n;i>0;){var a=o[--i];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var l=n;l<=o.length;){var s;if((s=o[++l])===t)return!0;if(s!==j)break}if(a!==j)break}return!1},Me=function(e,t){for(var n=e;n>=0;){var o=t[n];if(o!==j)return o;n--}return 0},Ie=function(e,t,n,o,r){if(0===n[o])return ke;var i=o-1;if(Array.isArray(r)&&!0===r[i])return ke;var a=i-1,l=i+1,s=t[i],u=a>=0?t[a]:0,c=t[l];if(s===q&&c===M)return ke;if(-1!==Te.indexOf(s))return _e;if(-1!==Te.indexOf(c))return ke;if(-1!==Ne.indexOf(c))return ke;if(Me(i,t)===H)return xe;if(Se.get(e[i])===$)return ke;if((s===Ae||s===pe)&&Se.get(e[l])===$)return ke;if(s===D||c===D)return ke;if(s===R)return ke;if(-1===[j,K,Y].indexOf(s)&&c===R)return ke;if(-1!==[Z,J,X,re,se].indexOf(c))return ke;if(Me(i,t)===ne)return ke;if(qe(oe,ne,i,t))return ke;if(qe([Z,J],te,i,t))return ke;if(qe(z,z,i,t))return ke;if(s===j)return xe;if(s===oe||c===oe)return ke;if(c===G||s===G)return xe;if(-1!==[K,Y,te].indexOf(c)||s===W)return ke;if(u===me&&-1!==Ue.indexOf(s))return ke;if(s===se&&c===me)return ke;if(c===ee)return ke;if(-1!==Ee.indexOf(c)&&s===ie||-1!==Ee.indexOf(s)&&c===ie)return ke;if(s===le&&-1!==[ve,Ae,pe].indexOf(c)||-1!==[ve,Ae,pe].indexOf(s)&&c===ae)return ke;if(-1!==Ee.indexOf(s)&&-1!==Fe.indexOf(c)||-1!==Fe.indexOf(s)&&-1!==Ee.indexOf(c))return ke;if(-1!==[le,ae].indexOf(s)&&(c===ie||-1!==[ne,Y].indexOf(c)&&t[l+1]===ie)||-1!==[ne,Y].indexOf(s)&&c===ie||s===ie&&-1!==[ie,se,re].indexOf(c))return ke;if(-1!==[ie,se,re,Z,J].indexOf(c))for(var d=i;d>=0;){if((A=t[d])===ie)return ke;if(-1===[se,re].indexOf(A))break;d--}if(-1!==[le,ae].indexOf(c))for(d=-1!==[Z,J].indexOf(s)?a:i;d>=0;){var A;if((A=t[d])===ie)return ke;if(-1===[se,re].indexOf(A))break;d--}if(ge===s&&-1!==[ge,ye,fe,he].indexOf(c)||-1!==[ye,fe].indexOf(s)&&-1!==[ye,be].indexOf(c)||-1!==[be,he].indexOf(s)&&c===be)return ke;if(-1!==Oe.indexOf(s)&&-1!==[ee,ae].indexOf(c)||-1!==Oe.indexOf(c)&&s===le)return ke;if(-1!==Ee.indexOf(s)&&-1!==Ee.indexOf(c))return ke;if(s===re&&-1!==Ee.indexOf(c))return ke;if(-1!==Ee.concat(ie).indexOf(s)&&c===ne&&-1===Be.indexOf(e[l])||-1!==Ee.concat(ie).indexOf(c)&&s===J)return ke;if(s===we&&c===we){for(var p=n[i],f=1;p>0&&t[--p]===we;)f++;if(f%2!=0)return ke}return s===Ae&&c===pe?ke:xe},Pe=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Qe(e,t.lineBreak),o=n[0],r=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(r=r.map((function(e){return-1!==[ie,ce,Le].indexOf(e)?ve:e})));var a="keep-all"===t.wordBreak?i.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[o,r,a]}
2,De=function(){function e(e,t,n,o){this.codePoints=e,this.required=t===_e,this.start=n,this.end=o}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),He=function(e,t){var n=u(e),o=Pe(n,t),r=o[0],i=o[1],a=o[2],l=n.length,s=0,c=0;return{next:function(){if(c>=l)return{done:!0,value:null};for(var e=ke;c<l&&(e=Ie(n,i,r,++c,a))===ke;);if(e!==ke||c===l){var t=new De(n,e,s,c);return s=c,{value:t,done:!1}}return{done:!0,value:null}}}},Re=1,je=2,$e=4,ze=8,Ke=10,We=47,Ye=92,Ge=9,Ze=32,Je=34,Xe=61,et=35,tt=36,nt=37,ot=39,rt=40,it=41,at=95,lt=45,st=33,ut=60,ct=62,dt=64,At=91,pt=93,ft=61,ht=123,mt=63,vt=125,gt=124,yt=126,bt=128,wt=65533,Lt=42,Ct=43,Bt=44,_t=58,kt=59,xt=46,St=0,Et=8,Tt=11,Nt=14,Ft=31,Vt=127,Ot=-1,Ut=48,Qt=97,qt=101,Mt=102,It=117,Pt=122,Dt=65,Ht=69,Rt=70,jt=85,$t=90,zt=function(e){return e>=Ut&&e<=57},Kt=function(e){return e>=55296&&e<=57343},Wt=function(e){return zt(e)||e>=Dt&&e<=Rt||e>=Qt&&e<=Mt},Yt=function(e){return e>=Qt&&e<=Pt},Gt=function(e){return e>=Dt&&e<=$t},Zt=function(e){return Yt(e)||Gt(e)},Jt=function(e){return e>=bt},Xt=function(e){return e===Ke||e===Ge||e===Ze},en=function(e){return Zt(e)||Jt(e)||e===at},tn=function(e){return en(e)||zt(e)||e===lt},nn=function(e){return e>=St&&e<=Et||e===Tt||e>=Nt&&e<=Ft||e===Vt},on=function(e,t){return e===Ye&&t!==Ke},rn=function(e,t,n){return e===lt?en(t)||on(t,n):!!en(e)||!(e!==Ye||!on(e,t))},an=function(e,t,n){return e===Ct||e===lt?!!zt(t)||t===xt&&zt(n):zt(e===xt?t:e)},ln=function(e){var t=0,n=1;e[t]!==Ct&&e[t]!==lt||(e[t]===lt&&(n=-1),t++);for(var o=[];zt(e[t]);)o.push(e[t++]);var r=o.length?parseInt(c.apply(void 0,o),10):0;e[t]===xt&&t++;for(var i=[];zt(e[t]);)i.push(e[t++]);var a=i.length,l=a?parseInt(c.apply(void 0,i),10):0;e[t]!==Ht&&e[t]!==qt||t++;var s=1;e[t]!==Ct&&e[t]!==lt||(e[t]===lt&&(s=-1),t++);for(var u=[];zt(e[t]);)u.push(e[t++]);var d=u.length?parseInt(c.apply(void 0,u),10):0;return n*(r+l*Math.pow(10,-a))*Math.pow(10,s*d)},sn={type:2},un={type:3},cn={type:4},dn={type:13},An={type:8},pn={type:21},fn={type:9},hn={type:10},mn={type:11},vn={type:12},gn={type:14},yn={type:23},bn={type:1},wn={type:25},Ln={type:24},Cn={type:26},Bn={type:27},_n={type:28},kn={type:29},xn={type:31},Sn={type:32},En=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(u(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Sn;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Je:return this.consumeStringToken(Je);case et:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),o=this.peekCodePoint(2);if(tn(t)||on(n,o)){var r=rn(t,n,o)?je:Re;return{type:5,value:this.consumeName(),flags:r}}break;case tt:if(this.peekCodePoint(0)===Xe)return this.consumeCodePoint(),dn;break;case ot:return this.consumeStringToken(ot);case rt:return sn;case it:return un;case Lt:if(this.peekCodePoint(0)===Xe)return this.consumeCodePoint(),gn;break;case Ct:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Bt:return cn;case lt:var i=e,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if(an(i,a,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(rn(i,a,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===lt&&l===ct)return this.consumeCodePoint(),this.consumeCodePoint(),Ln;break;case xt:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case We:if(this.peekCodePoint(0)===Lt)for(this.consumeCodePoint();;){var s=this.consumeCodePoint();if(s===Lt&&(s=this.consumeCodePoint())===We)return this.consumeToken();if(s===Ot)return this.consumeToken()}break;case _t:return Cn;case kt:return Bn;case ut:if(this.peekCodePoint(0)===st&&this.peekCodePoint(1)===lt&&this.peekCodePoint(2)===lt)return this.consumeCodePoint(),this.consumeCodePoint(),wn;break;case dt:var u=this.peekCodePoint(0),d=this.peekCodePoint(1),A=this.peekCodePoint(2);if(rn(u,d,A))return{type:7,value:this.consumeName()};break;case At:return _n;case Ye:if(on(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case pt:return kn;case ft:if(this.peekCodePoint(0)===Xe)return this.consumeCodePoint(),An;break;case ht:return mn;case vt:return vn;case It:case jt:var p=this.peekCodePoint(0),f=this.peekCodePoint(1);return p!==Ct||!Wt(f)&&f!==mt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case gt:if(this.peekCodePoint(0)===Xe)return this.consumeCodePoint(),fn;if(this.peekCodePoint(0)===gt)return this.consumeCodePoint(),pn;break;case yt:if(this.peekCodePoint(0)===Xe)return this.consumeCodePoint(),hn;break;case Ot:return Sn}return Xt(e)?(this.consumeWhiteSpace(),xn):zt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):en(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Wt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===mt&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,e.map((function(e){return e===mt?Ut:e}))),16),end:parseInt(c.apply(void 0,e.map((function(e){return e===mt?Rt:e}))),16)};var o=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===lt&&Wt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var r=[];Wt(t)&&r.length<6;)r.push(t),t=this.consumeCodePoint();return{type:30,start:o,end:parseInt(c.apply(void 0,r),16)}}return{type:30,start:o,end:o}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===rt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rt?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];
vendor: 9,141 bytes, line 2
2if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===ot||t===Je){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot||this.peekCodePoint(0)===it)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),yn)}for(;;){var o=this.consumeCodePoint();if(o===Ot||o===it)return{type:22,value:c.apply(void 0,e)};if(Xt(o))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ot||this.peekCodePoint(0)===it?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),yn);if(o===Je||o===ot||o===rt||nn(o))return this.consumeBadUrlRemnants(),yn;if(o===Ye){if(!on(o,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),yn;e.push(this.consumeEscapedCodePoint())}else e.push(o)}},e.prototype.consumeWhiteSpace=function(){for(;Xt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===it||e===Ot)return;on(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=5e4,n="";e>0;){var o=Math.min(t,e);n+=c.apply(void 0,this._value.splice(0,o)),e-=o}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var o=this._value[n];if(o===Ot||void 0===o||o===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(o===Ke)return this._value.splice(0,n),bn;if(o===Ye){var r=this._value[n+1];r!==Ot&&void 0!==r&&(r===Ke?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):on(o,r)&&(t+=this.consumeStringSlice(n),t+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=$e,n=this.peekCodePoint(0);for(n!==Ct&&n!==lt||e.push(this.consumeCodePoint());zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var o=this.peekCodePoint(1);if(n===xt&&zt(o))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ze;zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),o=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((n===Ht||n===qt)&&((o===Ct||o===lt)&&zt(r)||zt(o)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ze;zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[ln(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],o=this.peekCodePoint(0),r=this.peekCodePoint(1),i=this.peekCodePoint(2);return rn(o,r,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:o===nt?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Wt(e)){for(var t=c(e);Wt(this.peekCodePoint(0))&&t.length<6;)t+=c(this.consumeCodePoint());Xt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||Kt(n)||n>1114111?wt:n}return e===Ot?wt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(tn(t))e+=c(t);else{if(!on(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Tn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new En;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||In(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Sn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Nn=function(e){return 15===e.type},Fn=function(e){return 17===e.type},Vn=function(e){return 20===e.type},On=function(e){return 0===e.type},Un=function(e,t){return Vn(e)&&e.value===t},Qn=function(e){return 31!==e.type},qn=function(e){return 31!==e.type&&4!==e.type},Mn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},In=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Pn=function(e){return 17===e.type||15===e.type},Dn=function(e){return 16===e.type||Pn(e)},Hn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Rn={type:17,number:0,flags:$e},jn={type:16,number:50,flags:$e},$n={type:16,number:100,flags:$e},zn=function(e,t,n){var o=e[0],r=e[1];return[Kn(o,t),Kn(void 0!==r?r:o,n)]},Kn=function(e,t){if(16===e.type)return e.number/100*t;if(Nn(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Wn="deg",Yn="grad",Gn="rad",Zn="turn",Jn={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case Wn:return Math.PI*t.number/180;case Yn:return Math.PI/200*t.number;case Gn:return t.number;case Zn:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Xn=function(e){return 15===e.type&&(e.unit===Wn||e.unit===Yn||e.unit===Gn||e.unit===Zn)},eo=function(e){switch(e.filter(Vn).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Rn,Rn];case"to top":case"bottom":return to(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Rn,$n];case"to right":case"left":return to(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$n,$n];case"to bottom":case"top":return to(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$n,Rn];case"to left":case"right":return to(270)}return 0},to=function(e){return Math.PI*e/180},no={name:"color",parse:function(e,t){if(18===t.type){var n=co[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var o=t.value.substring(0,1),r=t.value.substring(1,2),i=t.value.substring(2,3);return io(parseInt(o+o,16),parseInt(r+r,16),parseInt(i+i,16),1)}if(4===t.value.length){o=t.value.substring(0,1),r=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return io(parseInt(o+o,16),parseInt(r+r,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length)return o=t.value.substring(0,2),r=t.value.substring(2,4),i=t.value.substring(4,6),io(parseInt(o,16),parseInt(r,16),parseInt(i,16),1);if(8===t.value.length)return o=t.value.substring(0,2),r=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8),io(parseInt(o,16),parseInt(r,16),parseInt(i,16),parseInt(a,16)/255)}if(20===t.type){var l=po[t.value.toUpperCase()];if(void 0!==l)return l}return po.TRANSPARENT}},oo=function(e){return 0==(255&e)},ro=function(e){var t=255&e,n=255&e>>8,o=255&e>>16,r=255&e>>24;return t<255?"rgba("+r+","+o+","+n+","+t/255+")":"rgb("+r+","+o+","+n+")"},io=function(e,t,n,o){return(e<<24|t<<16|n<<8|Math.round(255*o)<<0)>>>0},ao=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},lo=function(e,t){var n=t.filter(qn);if(3===n.length){var o=n.map(ao),r=o[0],i=o[1],a=o[2];return io(r,i,a,1)}if(4===n.length){var l=n.map(ao),s=(r=l[0],i=l[1],a=l[2],l[3]);return io(r,i,a,s)}return 0};function so(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var uo=function(e,t){var n=t.filter(qn),o=n[0],r=n[1],i=n[2],a=n[3],l=(17===o.type?to(o.number):Jn.parse(e,o))/(2*Math.PI),s=Dn(r)?r.number/100:0,u=Dn(i)?i.number/100:0,c=void 0!==a&&Dn(a)?Kn(a,1):1;if(0===s)return io(255*u,255*u,255*u,1);var d=u<=.5?u*(s+1):u+s-u*s,A=2*u-d,p=so(A,d,l+1/3),f=so(A,d,l),h=so(A,d,l-1/3);return io(255*p,255*f,255*h,c)},co={hsl:uo,hsla:uo,rgb:lo,rgba:lo},Ao=function(e,t){return no.parse(e,Tn.create(t).parseComponentValue())},po={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4
2043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:404164
vendor: 7,448 bytes, line 2
21215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},fo={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Vn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},ho={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},mo=function(e,t){var n=no.parse(e,t[0]),o=t[1];return o&&Dn(o)?{color:n,stop:o}:{color:n,stop:null}},vo=function(e,t){var n=e[0],o=e[e.length-1];null===n.stop&&(n.stop=Rn),null===o.stop&&(o.stop=$n);for(var r=[],i=0,a=0;a<e.length;a++){var l=e[a].stop;if(null!==l){var s=Kn(l,t);s>i?r.push(s):r.push(i),i=s}else r.push(null)}var u=null;for(a=0;a<r.length;a++){var c=r[a];if(null===c)null===u&&(u=a);else if(null!==u){for(var d=a-u,A=(c-r[u-1])/(d+1),p=1;p<=d;p++)r[u+p-1]=A*p;u=null}}return e.map((function(e,n){return{color:e.color,stop:Math.max(Math.min(1,r[n]/t),0)}}))},go=function(e,t,n){var o=t/2,r=n/2,i=Kn(e[0],t)-o,a=r-Kn(e[1],n);return(Math.atan2(a,i)+2*Math.PI)%(2*Math.PI)},yo=function(e,t,n){var o="number"==typeof e?e:go(e,t,n),r=Math.abs(t*Math.sin(o))+Math.abs(n*Math.cos(o)),i=t/2,a=n/2,l=r/2,s=Math.sin(o-Math.PI/2)*l,u=Math.cos(o-Math.PI/2)*l;return[r,i-u,i+u,a-s,a+s]},bo=function(e,t){return Math.sqrt(e*e+t*t)},wo=function(e,t,n,o,r){return[[0,0],[0,t],[e,0],[e,t]].reduce((function(e,t){var i=t[0],a=t[1],l=bo(n-i,o-a);return(r?l<e.optimumDistance:l>e.optimumDistance)?{optimumCorner:t,optimumDistance:l}:e}),{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},Lo=function(e,t,n,o,r){var i=0,a=0;switch(e.size){case 0:0===e.shape?i=a=Math.min(Math.abs(t),Math.abs(t-o),Math.abs(n),Math.abs(n-r)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-o)),a=Math.min(Math.abs(n),Math.abs(n-r)));break;case 2:if(0===e.shape)i=a=Math.min(bo(t,n),bo(t,n-r),bo(t-o,n),bo(t-o,n-r));else if(1===e.shape){var l=Math.min(Math.abs(n),Math.abs(n-r))/Math.min(Math.abs(t),Math.abs(t-o)),s=wo(o,r,t,n,!0),u=s[0],c=s[1];a=l*(i=bo(u-t,(c-n)/l))}break;case 1:0===e.shape?i=a=Math.max(Math.abs(t),Math.abs(t-o),Math.abs(n),Math.abs(n-r)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-o)),a=Math.max(Math.abs(n),Math.abs(n-r)));break;case 3:if(0===e.shape)i=a=Math.max(bo(t,n),bo(t,n-r),bo(t-o,n),bo(t-o,n-r));else if(1===e.shape){l=Math.max(Math.abs(n),Math.abs(n-r))/Math.max(Math.abs(t),Math.abs(t-o));var d=wo(o,r,t,n,!1);u=d[0],c=d[1],a=l*(i=bo(u-t,(c-n)/l))}}return Array.isArray(e.size)&&(i=Kn(e.size[0],o),a=2===e.size.length?Kn(e.size[1],r):i),[i,a]},Co=function(e,t){var n=to(180),o=[];return Mn(t).forEach((function(t,r){if(0===r){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=eo(t));if(Xn(i))return void(n=Jn.parse(e,i))}var a=mo(e,t);o.push(a)})),{angle:n,stops:o,type:1}},Bo=function(e,t){var n=to(180),o=[];return Mn(t).forEach((function(t,r){if(0===r){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=eo(t));if(Xn(i))return void(n=(Jn.parse(e,i)+to(270))%to(360))}var a=mo(e,t);o.push(a)})),{angle:n,stops:o,type:1}},_o=function(e,t){var n=to(180),o=[],r=1,i=0,a=3,l=[];return Mn(t).forEach((function(t,n){var i=t[0];if(0===n){if(Vn(i)&&"linear"===i.value)return void(r=1);if(Vn(i)&&"radial"===i.value)return void(r=2)}if(18===i.type)if("from"===i.name){var a=no.parse(e,i.values[0]);o.push({stop:Rn,color:a})}else if("to"===i.name)a=no.parse(e,i.values[0]),o.push({stop:$n,color:a});else if("color-stop"===i.name){var l=i.values.filter(qn);if(2===l.length){a=no.parse(e,l[1]);var s=l[0];Fn(s)&&o.push({stop:{type:16,number:100*s.number,flags:s.flags},color:a})}}})),1===r?{angle:(n+to(180))%to(360),stops:o,type:r}:{size:a,shape:i,stops:o,position:l,type:r}},ko="closest-side",xo="farthest-side",So="closest-corner",Eo="farthest-corner",To="circle",No="ellipse",Fo="cover",Vo="contain",Oo=function(e,t){var n=0,o=3,r=[],i=[];return Mn(t).forEach((function(t,a){var l=!0;if(0===a){var s=!1;l=t.reduce((function(e,t){if(s)if(Vn(t))switch(t.value){case"center":return i.push(jn),e;case"top":case"left":return i.push(Rn),e;case"right":case"bottom":return i.push($n),e}else(Dn(t)||Pn(t))&&i.push(t);else if(Vn(t))switch(t.value){case To:return n=0,!1;case No:return n=1,!1;case"at":return s=!0,!1;case ko:return o=0,!1;case Fo:case xo:return o=1,!1;case Vo:case So:return o=2,!1;case Eo:return o=3,!1}else if(Pn(t)||Dn(t))return Array.isArray(o)||(o=[]),o.push(t),!1;return e}),l)}if(l){var u=mo(e,t);r.push(u)}})),{size:o,shape:n,stops:r,position:i,type:2}},Uo=function(e,t){var n=0,o=3,r=[],i=[];return Mn(t).forEach((function(t,a){var l=!0;if(0===a?l=t.reduce((function(e,t){if(Vn(t))switch(t.value){case"center":return i.push(jn),!1;case"top":case"left":return i.push(Rn),!1;case"right":case"bottom":return i.push($n),!1}else if(Dn(t)||Pn(t))return i.push(t),!1;return e}),l):1===a&&(l=t.reduce((function(e,t){if(Vn(t))switch(t.value){case To:return n=0,!1;case No:return n=1,!1;case Vo:case ko:return o=0,!1;case xo:return o=1,!1;case So:return o=2,!1;case Fo:case Eo:return o=3,!1}else if(Pn(t)||Dn(t))return Array.isArray(o)||(o=[]),o.push(t),!1;return e}),l)),l){var s=mo(e,t);r.push(s)}})),{size:o,shape:n,stops:r,position:i,type:2}},Qo=function(e){return 1===e.type},qo=function(e){return 2===e.type},Mo={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var o=Do[t.name];if(void 0===o)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return o(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Io(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Do[e.name])}var Po,Do={"linear-gradient":Co,"-moz-linear-gradient":Bo,"-ms-l
2inear-gradient":Bo,"-o-linear-gradient":Bo,"-webkit-linear-gradient":Bo,"radial-gradient":Oo,"-moz-radial-gradient":Uo,"-ms-radial-gradient":Uo,"-o-radial-gradient":Uo,"-webkit-radial-gradient":Uo,"-webkit-gradient":_o},Ho={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return qn(e)&&Io(e)})).map((function(t){return Mo.parse(e,t)}))}},Ro={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Vn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},jo={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Mn(t).map((function(e){return e.filter(Dn)})).map(Hn)}},$o={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Mn(t).map((function(e){return e.filter(Vn).map((function(e){return e.value})).join(" ")})).map(zo)}},zo=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Po||(Po={}));var Ko,Wo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Mn(t).map((function(e){return e.filter(Yo)}))}},Yo=function(e){return Vn(e)||Dn(e)},Go=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Zo=Go("top"),Jo=Go("right"),Xo=Go("bottom"),er=Go("left"),tr=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Hn(t.filter(Dn))}}},nr=tr("top-left"),or=tr("top-right"),rr=tr("bottom-right"),ir=tr("bottom-left"),ar=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},lr=ar("top"),sr=ar("right"),ur=ar("bottom"),cr=ar("left"),dr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:0}}},Ar=dr("top"),pr=dr("right"),fr=dr("bottom"),hr=dr("left"),mr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},gr={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).reduce((function(e,t){return e|yr(t.value)}),0)}},yr=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},br={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Ko||(Ko={}));var Lr,Cr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Ko.STRICT:Ko.NORMAL}},Br={name:"line-height",initialValue:"normal",prefix:!1,type:4},_r=function(e,t){return Vn(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Dn(e)?Kn(e,t):t},kr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Mo.parse(e,t)}},xr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Sr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;
vendor: 4,950 bytes, line 2
2case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Er=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Tr=Er("top"),Nr=Er("right"),Fr=Er("bottom"),Vr=Er("left"),Or={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Ur={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},Qr=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qr=Qr("top"),Mr=Qr("right"),Ir=Qr("bottom"),Pr=Qr("left"),Dr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Hr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Rr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Un(t[0],"none")?[]:Mn(t).map((function(t){for(var n={color:po.TRANSPARENT,offsetX:Rn,offsetY:Rn,blur:Rn},o=0,r=0;r<t.length;r++){var i=t[r];Pn(i)?(0===o?n.offsetX=i:1===o?n.offsetY=i:n.blur=i,o++):n.color=no.parse(e,i)}return n}))}},jr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},$r={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=zr[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},zr={matrix:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},matrix3d:function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],o=t[1];t[2],t[3];var r=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],l=t[13];return t[14],t[15],16===t.length?[n,o,r,i,a,l]:null}},Kr={type:16,number:50,flags:$e},Wr=[Kr,Kr],Yr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Dn);return 2!==n.length?Wr:[n[0],n[1]]}},Gr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(Lr||(Lr={}));for(var Zr={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Lr.BREAK_ALL;case"keep-all":return Lr.KEEP_ALL;default:return Lr.NORMAL}}},Jr={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Fn(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Xr={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},ei={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Fn(t)?t.number:1}},ti={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ni={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}}
2,oi={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],o=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:o.push(n.join(" ")),n.length=0}})),n.length&&o.push(n.join(" ")),o.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},ri={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ii={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return Fn(t)?t.number:Vn(t)&&"bold"===t.value?700:400}},ai={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Vn).map((function(e){return e.value}))}},li={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},si=function(e,t){return 0!=(e&t)},ui={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},ci={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var o=[],r=t.filter(Qn),i=0;i<r.length;i++){var a=r[i],l=r[i+1];if(20===a.type){var s=l&&Fn(l)?l.number:1;o.push({counter:a.value,increment:s})}}return o}},di={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],o=t.filter(Qn),r=0;r<o.length;r++){var i=o[r],a=o[r+1];if(Vn(i)&&"none"!==i.value){var l=a&&Fn(a)?a.number:0;n.push({counter:i.value,reset:l})}}return n}},Ai={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Nn).map((function(t){return Xr.parse(e,t)}))}},pi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var o=[],r=t.filter(On);if(r.length%2!=0)return null;for(var i=0;i<r.length;i+=2){var a=r[i].value,l=r[i+1].value;o.push({open:a,close:l})}return o}},fi=function(e,t,n){if(!e)return"";var o=e[Math.min(t,e.length-1)];return o?n?o.open:o.close:""},hi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Un(t[0],"none")?[]:Mn(t).map((function(t){for(var n={color:255,offsetX:Rn,offsetY:Rn,blur:Rn,spread:Rn,inset:!1},o=0,r=0;r<t.length;r++){var i=t[r];Un(i,"inset")?n.inset=!0:Pn(i)?(0===o?n.offsetX=i:1===o?n.offsetY=i:2===o?n.blur=i:n.spread=i,o++):n.color=no.parse(e,i)}return n}))}},mi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],o=[];return t.filter(Vn).forEach((function(e){switch(e.value){case"stroke":o.push(1);break;case"fill":o.push(0);break;case"markers":o.push(2)}})),n.forEach((function(e){-1===o.indexOf(e)&&o.push(e)})),o}},vi={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},gi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Nn(t)?t.number:0}},yi=function(){function e(e,t){var n,o;this.animationDuration=Li(e,Ai,t.animationDuration),this.backgroundClip=Li(e,fo,t.backgroundClip),this.backgroundColor=Li(e,ho,t.backgroundColor),this.backgroundImage=Li(e,Ho,t.backgroundImage),this.backgroundOrigin=Li(e,Ro,t.backgroundOrigin),this.backgroundPosition=Li(e,jo,t.backgroundPosition),this.backgroundRepeat=Li(e,$o,t.backgroundRepeat),this.backgroundSize=Li(e,Wo,t.backgroundSize),this.borderTopColor=Li(e,Zo,t.borderTopColor),this.borderRightColor=Li(e,Jo,t.borderRightColor),this.borderBottomColor=Li(e,Xo,t.borderBottomColor),this.borderLeftColor=Li(e,er,t.borderLeftColor),this.borderTopLeftRadius=Li(e,nr,t.borderTopLeftRadius),this.borderTopRightRadius=Li(e,or,t.borderTopRightRadius),this.borderBottomRightRadius=Li(e,rr,t.borderBottomRightRadius),this.borderBottomLeftRadius=Li(e,ir,t.borderBottomLeftRadius),this.borderTopStyle=Li(e,lr,t.borderTopStyle),this.borderRightStyle=Li(e,sr,t.borderRightStyle),this.borderBottomStyle=Li(e,ur,t.borderBottomStyle),this.borderLeftStyle=Li(e,cr,t.borderLeftStyle),this.borderTopWidth=Li(e,Ar,t.borderTopWidth),this.borderRightWidth=Li(e,pr,t.borderRightWidth),this.borderBottomWidth=Li(e,fr,t.borderBottomWidth),this.borderLeftWidth=Li(e,hr,t.borderLeftWidth),this.boxShadow=Li(e,hi,t.boxShadow),this.color=Li(e,mr,t.color),this.direction=Li(e,vr,t.direction),this.display=Li(e,gr,t.display),this.float=Li(e,br,t.cssFloat),this.fontFamily=Li(e,oi,t.fontFamily),this.fontSize=Li(e,ri,t.fontSize),this.fontStyle=Li(e,li,t.fontStyle),this.fontVariant=Li(e,ai,t.fontVariant),this.fontWeight=Li(e,ii,t.fontWeight),this.letterSpacing=Li(e,wr,t.letterSpacing),this.lineBreak=Li(e,Cr,t.lineBreak),this.lineHeight=Li(e,Br,t.lineHeight),this.listStyleImage=Li(e,kr,t.listStyleImage),this.listStylePosition=Li(e,xr,t.listStylePosition),this.listStyleType=Li(e,Sr,t.listStyleType),this.marginTop=Li(e,Tr,t.marginTop),this.marginRight=Li(e,Nr,t.marginRight),this.marginBottom=Li(e,Fr,t.marginBottom),this.marginLeft=Li(e,Vr,t.marginLeft),this.opacity=Li(e,ei,t.opacity);var r=Li(e,Or,t.overflow);this.overflowX=r[0],this.overflowY=r[r.length>
vendor: 3,120 bytes, line 2
21?1:0],this.overflowWrap=Li(e,Ur,t.overflowWrap),this.paddingTop=Li(e,qr,t.paddingTop),this.paddingRight=Li(e,Mr,t.paddingRight),this.paddingBottom=Li(e,Ir,t.paddingBottom),this.paddingLeft=Li(e,Pr,t.paddingLeft),this.paintOrder=Li(e,mi,t.paintOrder),this.position=Li(e,Hr,t.position),this.textAlign=Li(e,Dr,t.textAlign),this.textDecorationColor=Li(e,ti,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=Li(e,ni,null!==(o=t.textDecorationLine)&&void 0!==o?o:t.textDecoration),this.textShadow=Li(e,Rr,t.textShadow),this.textTransform=Li(e,jr,t.textTransform),this.transform=Li(e,$r,t.transform),this.transformOrigin=Li(e,Yr,t.transformOrigin),this.visibility=Li(e,Gr,t.visibility),this.webkitTextStrokeColor=Li(e,vi,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Li(e,gi,t.webkitTextStrokeWidth),this.wordBreak=Li(e,Zr,t.wordBreak),this.zIndex=Li(e,Jr,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return oo(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return si(this.display,4)||si(this.display,33554432)||si(this.display,268435456)||si(this.display,536870912)||si(this.display,67108864)||si(this.display,134217728)},e}(),bi=function(){function e(e,t){this.content=Li(e,ui,t.content),this.quotes=Li(e,pi,t.quotes)}return e}(),wi=function(){function e(e,t){this.counterIncrement=Li(e,ci,t.counterIncrement),this.counterReset=Li(e,di,t.counterReset)}return e}(),Li=function(e,t,n){var o=new En,r=null!=n?n.toString():t.initialValue;o.write(r);var i=new Tn(o.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,Vn(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return Jn.parse(e,i.parseComponentValue());case"color":return no.parse(e,i.parseComponentValue());case"image":return Mo.parse(e,i.parseComponentValue());case"length":var l=i.parseComponentValue();return Pn(l)?l:Rn;case"length-percentage":var s=i.parseComponentValue();return Dn(s)?s:Rn;case"time":return Xr.parse(e,i.parseComponentValue())}}},Ci="data-html2canvas-debug",Bi=function(e){switch(e.getAttribute(Ci)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},_i=function(e,t){var n=Bi(e);return 1===n||t===n},ki=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,_i(t,3),this.styles=new yi(e,window.getComputedStyle(t,null)),pl(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=l(this.context,t),_i(t,4)&&(this.flags|=16)}return e}(),xi="
vendor: 26,156 bytes, line 2
2AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=
2",Si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",Ei="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ti=0;Ti<Si.length;Ti++)Ei[Si.charCodeAt(Ti)]=Ti;for(var Ni=function(e){var t,n,o,r,i,a=.75*e.length,l=e.length,s=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),c=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<l;t+=4)n=Ei[e.charCodeAt(t)],o=Ei[e.charCodeAt(t+1)],r=Ei[e.charCodeAt(t+2)],i=Ei[e.charCodeAt(t+3)],c[s++]=n<<2|o>>4,c[s++]=(15&o)<<4|r>>2,c[s++]=(3&r)<<6|63&i;return u},Fi=function(e){for(var t=e.length,n=[],o=0;o<t;o+=2)n.push(e[o+1]<<8|e[o]);return n},Vi=function(e){for(var t=e.length,n=[],o=0;o<t;o+=4)n.push(e[o+3]<<24|e[o+2]<<16|e[o+1]<<8|e[o]);return n},Oi=5,Ui=11,Qi=2,qi=65536>>Oi,Mi=(1<<Oi)-1,Ii=qi+(1024>>Oi)+32,Pi=65536>>Ui,Di=(1<<Ui-Oi)-1,Hi=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Ri=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},ji=function(e,t){var n=Ni(e),o=Array.isArray(n)?Vi(n):new Uint32Array(n),r=Array.isArray(n)?Fi(n):new Uint16Array(n),i=24,a=Hi(r,i/2,o[4]/2),l=2===o[5]?Hi(r,(i+o[4])/2):Ri(o,Math.ceil((i+o[4])/4));return new $i(o[0],o[1],o[2],o[3],a,l)},$i=function(){function e(e,t,n,o,r,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=o,this.index=r,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>Oi])<<Qi)+(e&Mi),this.data[t];if(e<=65535)return t=((t=this.index[qi+(e-55296>>Oi)])<<Qi)+(e&Mi),this.data[t];if(e<this.highStart)return t=Ii-Pi+(e>>Ui),t=this.index[t],t+=e>>Oi&Di,t=((t=this.index[t])<<Qi)+(e&Mi),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),zi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ki="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wi=0;Wi<zi.length;Wi++)Ki[zi.charCodeAt(Wi)]=Wi;var Yi,Gi=1,Zi=2,Ji=3,Xi=4,ea=5,ta=7,na=8,oa=9,ra=10,ia=11,aa=12,la=13,sa=14,ua=15,ca=function(e){for(var t=[],n=0,o=e.length;n<o;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t},da=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var o=[],r=-1,i="";++r<n;){var a=e[r];a<=65535?o.push(a):(a-=65536,o.push(55296+(a>>10),a%1024+56320)),(r+1===n||o.length>16384)&&(i+=String.fromCharCode.apply(String,o),o.length=0)}return i},Aa=ji(xi),pa="Ã",fa="÷",ha=function(e){return Aa.get(e)},ma=function(e,t,n){var o=n-2,r=t[o],i=t[n-1],a=t[n];if(i===Zi&&a===Ji)return pa;if(i===Zi||i===Ji||i===Xi)return fa;if(a===Zi||a===Ji||a===Xi)return fa;if(i===na&&-1!==[na,oa,ia,aa].indexOf(a))return pa;if(!(i!==ia&&i!==oa||a!==oa&&a!==ra))return pa;if((i===aa||i===ra)&&a===ra)return pa;if(a===la||a===ea)return pa;if(a===ta)return pa;if(i===Gi)return pa;if(i===la&&a===sa){for(;r===ea;)r=t[--o];if(r===sa)return pa}if(i===ua&&a===ua){for(var l=0;r===ua;)l++,r=t[--o];if(l%2==0)return pa}return fa},va=function(e){var t=ca(e),n=t.length,o=0,r=0,i=t.map(ha);return{next:function(){if(o>=n)return{done:!0,value:null};for(var e=pa;o<n&&(e=ma(t,i,++o))===pa;);if(e!==pa||o===n){var a=da.apply(null,t.slice(r,o));return r=o,{value:a,done:!1}}return{done:!0,value:null}}}},ga=function(e){for(var t,n=va(e),o=[];!(t=n.next()).done;)t.value&&o.push(t.value.slice());return o},ya=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var o=e.createElement("boundtest");o.style.height=t+"px",o.style.display="block",e.body.appendChild(o),n.selectNode(o);var r=n.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(o),i===t)return!0}}return!1},ba=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var o=t.firstChild,r=u(o.data).map((function(e){return c(e)})),i=0,a={},l=r.every((function(e,t){n.setStart(o,i),n.setEnd(o,i+e.length);var r=n.getBoundingClientRect();i+=e.length;var l=r.x>a.x||r.y>a.y;return a=r,0===t||l}));return e.body.removeChild(t),l},wa=function(){return void 0!==(new Image).crossOrigin},La=function(){return"string"==typeof(new XMLHttpRequest).responseType},Ca=function(e){var t=new Image,n=e.createElement("canvas"),o=n.getContext("2d");if(!o)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{o.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0},Ba=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},_a=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var o=t.getContext("2d");if(!o)return Promise.reject(!1);o.fillStyle="rgb(0, 255, 0)",o.fillRect(0,0,n,n);var r=new Image,i=t.toDataURL();r.src=i;var a=ka(n,n,0,0,r);return o.fillStyle="red",o.fillRect(0,0,n,n),xa(a).then((function(t){o.drawImage(t,0,0);var r=o.getImageData(0,0,n,n).data;o.fillStyle="red",o.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+i+")",a.style.height=n+"px",Ba(r)?xa(ka(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return o.drawImage(e,0,0),Ba(o.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},ka=function(e,t,n,o,r){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),l=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),l.setAttributeNS(null,"width","100%"),l.setAttributeNS(null,"height","100%"),l.setAttributeNS(null,"x",n.toString()),l.setAttributeNS(null,"y",o.toString()),l.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(l),l.appendChild(r),a}
2,xa=function(e){return new Promise((function(t,n){var o=new Image;o.onload=function(){return t(o)},o.onerror=n,o.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Sa={get SUPPORT_RANGE_BOUNDS(){var e=ya(document);return Object.defineProperty(Sa,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Sa.SUPPORT_RANGE_BOUNDS&&ba(document);return Object.defineProperty(Sa,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=Ca(document);return Object.defineProperty(Sa,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?_a(document):Promise.resolve(!1);return Object.defineProperty(Sa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=wa();return Object.defineProperty(Sa,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=La();return Object.defineProperty(Sa,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;
2return Object.defineProperty(Sa,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Sa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Ea=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Ta=function(e,t,n,o){var r=Ua(t,n),i=[],l=0;return r.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Sa.SUPPORT_RANGE_BOUNDS){var r=Fa(o,l,t.length).getClientRects();if(r.length>1){var s=Va(t),u=0;s.forEach((function(t){i.push(new Ea(t,a.fromDOMRectList(e,Fa(o,u+l,t.length).getClientRects()))),u+=t.length}))}else i.push(new Ea(t,a.fromDOMRectList(e,r)))}else{var c=o.splitText(t.length);i.push(new Ea(t,Na(e,o))),o=c}else Sa.SUPPORT_RANGE_BOUNDS||(o=o.splitText(t.length));l+=t.length})),i},Na=function(e,t){var n=t.ownerDocument;if(n){var o=n.createElement("html2canvaswrapper");o.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(o,t);var i=l(e,o);return o.firstChild&&r.replaceChild(o.firstChild,o),i}}return a.EMPTY},Fa=function(e,t,n){var o=e.ownerDocument;if(!o)throw new Error("Node has no owner document");var r=o.createRange();return r.setStart(e,t),r.setEnd(e,t+n),r},Va=function(e){if(Sa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return ga(e)},Oa=function(e,t){if(Sa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return qa(e,t)},Ua=function(e,t){return 0!==t.letterSpacing?Va(e):Oa(e,t)},Qa=[32,160,4961,65792,65793,4153,4241],qa=function(e,t){for(var n,o=He(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),r=[],i=function(){if(n.value){var e=n.value.slice(),t=u(e),o="";t.forEach((function(e){-1===Qa.indexOf(e)?o+=c(e):(o.length&&r.push(o),r.push(c(e)),o="")})),o.length&&r.push(o)}};!(n=o.next()).done;)i();return r},Ma=function(){function e(e,t,n){this.text=Ia(t.data,n.textTransform),this.textBounds=Ta(e,this.text,n,t)}return e}(),Ia=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Pa,Da);case 2:return e.toUpperCase();default:return e}},Pa=/(^|\s|:|-|\(|\))([a-z])/g,Da=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Ha=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.src=n.currentSrc||n.src,o.intrinsicWidth=n.naturalWidth,o.intrinsicHeight=n.naturalHeight,o.context.cache.addImage(o.src),o}return t(n,e),n}(ki),Ra=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.canvas=n,o.intrinsicWidth=n.width,o.intrinsicHeight=n.height,o}return t(n,e),n}(ki),ja=function(e){function n(t,n){var o=e.call(this,t,n)||this,r=new XMLSerializer,i=l(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),o.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(n)),o.intrinsicWidth=n.width.baseVal.value,o.intrinsicHeight=n.height.baseVal.value,o.context.cache.addImage(o.svg),o}return t(n,e),n}(ki),$a=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.value=n.value,o}return t(n,e),n}(ki),za=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.start=n.start,o.reversed="boolean"==typeof n.reversed&&!0===n.reversed,o}return t(n,e),n}(ki),Ka=[{type:15,flags:0,unit:"px",number:3}],Wa=[{type:16,flags:0,number:50}],Ya=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Ga=function(e){var t=e.type===Xa?new Array(e.value.length+1).join("â¢"):e.value;return 0===t.length?e.placeholder||"":t},Za="checkbox",Ja="radio",Xa="password",el=707406591,tl=function(e){function n(t,n){var o=e.call(this,t,n)||this;switch(o.type=n.type.toLowerCase(),o.checked=n.checked,o.value=Ga(n),o.type!==Za&&o.type!==Ja||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=Ya(o.bounds)),o.type){case Za:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Ka;break;case Ja:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Wa}return o}return t(n,e),n}(ki),nl=function(e){function n(t,n){var o=e.call(this,t,n)||this,r=n.options[n.selectedIndex||0];return o.value=r&&r.text||"",o}return t(n,e),n}(ki),ol=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.value=n.value,o}return t(n,e),n}(ki),rl=function(e){function n(t,n){var o=e.call(this,t,n)||this;o.src=n.src,o.width=parseInt(n.width,10)||0,o.height=parseInt(n.height,10)||0,o.backgroundColor=o.styles.backgroundColor;
vendor: 3,259 bytes, line 2
2try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){o.tree=sl(t,n.contentWindow.document.documentElement);var r=n.contentWindow.document.documentElement?Ao(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):po.TRANSPARENT,i=n.contentWindow.document.body?Ao(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):po.TRANSPARENT;o.backgroundColor=oo(r)?oo(i)?o.styles.backgroundColor:i:r}}catch(e){}return o}return t(n,e),n}(ki),il=["OL","UL","MENU"],al=function(e,t,n,o){for(var r=t.firstChild,i=void 0;r;r=i)if(i=r.nextSibling,dl(r)&&r.data.trim().length>0)n.textNodes.push(new Ma(e,r,n.styles));else if(Al(r))if(El(r)&&r.assignedNodes)r.assignedNodes().forEach((function(t){return al(e,t,n,o)}));else{var a=ll(e,r);a.styles.isVisible()&&(ul(r,a,o)?a.flags|=4:cl(a.styles)&&(a.flags|=2),-1!==il.indexOf(r.tagName)&&(a.flags|=8),n.elements.push(a),r.slot,r.shadowRoot?al(e,r.shadowRoot,a,o):xl(r)||yl(r)||Sl(r)||al(e,r,a,o))}},ll=function(e,t){return Cl(t)?new Ha(e,t):wl(t)?new Ra(e,t):yl(t)?new ja(e,t):hl(t)?new $a(e,t):ml(t)?new za(e,t):vl(t)?new tl(e,t):Sl(t)?new nl(e,t):xl(t)?new ol(e,t):Bl(t)?new rl(e,t):new ki(e,t)},sl=function(e,t){var n=ll(e,t);return n.flags|=4,al(e,t,n,n),n},ul=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||bl(e)&&n.styles.isTransparent()},cl=function(e){return e.isPositioned()||e.isFloating()},dl=function(e){return e.nodeType===Node.TEXT_NODE},Al=function(e){return e.nodeType===Node.ELEMENT_NODE},pl=function(e){return Al(e)&&void 0!==e.style&&!fl(e)},fl=function(e){return"object"==typeof e.className},hl=function(e){return"LI"===e.tagName},ml=function(e){return"OL"===e.tagName},vl=function(e){return"INPUT"===e.tagName},gl=function(e){return"HTML"===e.tagName},yl=function(e){return"svg"===e.tagName},bl=function(e){return"BODY"===e.tagName},wl=function(e){return"CANVAS"===e.tagName},Ll=function(e){return"VIDEO"===e.tagName},Cl=function(e){return"IMG"===e.tagName},Bl=function(e){return"IFRAME"===e.tagName},_l=function(e){return"STYLE"===e.tagName},kl=function(e){return"SCRIPT"===e.tagName},xl=function(e){return"TEXTAREA"===e.tagName},Sl=function(e){return"SELECT"===e.tagName},El=function(e){return"SLOT"===e.tagName},Tl=function(e){return e.tagName.indexOf("-")>0},Nl=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,o=e.counterReset,r=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(r=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var i=[];return r&&o.forEach((function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),i},e}(),Fl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Vl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
20,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ
","Õ","Õ","Õ","Õ","Õ","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},Ol={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","ת","ש","ר","×§","צ","פ","×¢","ס","× ","×","×","×","××","××","××","××","××","×","×","×","×","×","×","×","×","×","×"]},Ul={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["áµ","á°","á¯","á´","á®","á","á¬","á«","áª","á©","á¨","á§","á¦","á¥","á¤","á³","á¢","á¡","á ","á","á","á","á²","á","á","á","á","á","á","á±","á","á","á","á","á","á","á"]},Ql=function(e,t,n,o,r,i){return e<t||e>n?Yl(e,r,i.length>0):o.integers.reduce((function(t,n,r){for(;e>=n;)e-=n,t+=o.values[r];return t}),"")+i},ql=function(e,t,n,o){var r="";do{n||e--,r=o(e)+r,e/=t}while(e*t>=t);return r},Ml=function(e,t,n,o,r){var i=n-t+1;return(e<0?"-":"")+(ql(Math.abs(e),i,o,(function(e){return c(Math.floor(e%i)+t)}))+r)},Il=function(e,t,n){void 0===n&&(n=". ");var o=t.length;return ql(Math.abs(e),o,!1,(function(e){return t[Math.floor(e%o)]}))+n},Pl=1,Dl=2,Hl=4,Rl=8,jl=function(e,t,n,o,r,i){if(e<-9999||e>9999)return Yl(e,4,r.length>0);var a=Math.abs(e),l=r;if(0===a)return t[0]+l;for(var s=0;a>0&&s<=4;s++){var u=a%10;0===u&&si(i,Pl)&&""!==l?l=t[u]+l:u>1||1===u&&0===s||1===u&&1===s&&si(i,Dl)||1===u&&1===s&&si(i,Hl)&&e>100||1===u&&s>1&&si(i,Rl)?l=t[u]+(s>0?n[s-1]:"")+l:1===u&&s>0&&(l=n[s-1]+l),a=Math.floor(a/10)}return(e<0?o:"")+l},$l="åç¾åè¬",zl="æ¾ä½°ä»è¬",Kl="ãã¤ãã¹",Wl="ë§ì´ëì¤",Yl=function(e,t,n){var o=n?". ":"",r=n?"ã":"",i=n?", ":"",a=n?" ":"";switch(t){case 0:return"â¢"+a;case 1:return"â¦"+a;case 2:return"â¾"+a;case 5:var l=Ml(e,48,57,!0,o);return l.length<4?"0"+l:l;case 4:return Il(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹",r);case 6:return Ql(e,1,3999,Fl,3,o).toLowerCase();case 7:return Ql(e,1,3999,Fl,3,o);case 8:return Ml(e,945,969,!1,o);case 9:return Ml(e,97,122,!1,o);case 10:return Ml(e,65,90,!1,o);case 11:return Ml(e,1632,1641,!0,o);case 12:case 49:return Ql(e,1,9999,Vl,3,o);case 35:return Ql(e,1,9999,Vl,3,o).toLowerCase();case 13:return Ml(e,2534,2543,!0,o);case 14:case 30:return Ml(e,6112,6121,!0,o);case 15:return Il(e,"åä¸å¯
å¯è¾°å·³åæªç³é
æäº¥",r);case 16:return Il(e,"ç²ä¹ä¸ä¸æå·±åºè¾å£¬ç¸",r);case 17:case 48:return jl(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",$l,"è² ",r,Dl|Hl|Rl);case 47:return jl(e,"é¶å£¹è²³åèä¼é¸ææç",zl,"è² ",r,Pl|Dl|Hl|Rl);case 42:return jl(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",$l,"è´",r,Dl|Hl|Rl);case 41:return jl(e,"é¶å£¹è´°åèä¼éææç",zl,"è´",r,Pl|Dl|Hl|Rl);case 26:return jl(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åä¸",Kl,r,0);case 25:return jl(e,"é¶å£±å¼ååä¼å
ä¸å
«ä¹","æ¾ç¾åä¸",Kl,r,Pl|Dl|Hl);case 31:return jl(e,"ìì¼ì´ì¼ì¬ì¤ì¡ì¹ í구","ìë°±ì²ë§",Wl,i,Pl|Dl|Hl);case 33:return jl(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åè¬",Wl,i,0);case 32:return jl(e,"é¶å£¹è²³ååäºå
ä¸å
«ä¹","æ¾ç¾å",Wl,i,Pl|Dl|Hl);case 18:return Ml(e,2406,2415,!0,o);case 20:return Ql(e,1,19999,Ul,3,o);case 21:return Ml(e,2790,2799,!0,o);case 22:return Ml(e,2662,2671,!0,o);case 22:return Ql(e,1,10999,Ol,3,o);case 23:return Il(e,"ããããããããããããããããã¡ã¤ã¦ã¨ãªã«ã¬ãã®ã¯ã²ãµã¸ã»ã¾ã¿ãããããããããããããããã");case 24:return Il(e,"ããã¯ã«ã»ã¸ã¨ã¡ãã¬ããããããããã¤ããªããããã®ãããã¾ããµããã¦ãããããã¿ããã²ããã");case 27:return Ml(e,3302,3311,!0,o);case 28:return Il(e,"ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã°ã±ã²ã³",r);case 29:return Il(e,"ã¤ããããããããªãã«ã²ã¯ã«ã¨ã¿ã¬ã½ãããã©ã ã¦ã°ããªã¯ã¤ãã±ãã³ã¨ãã¢ãµãã¦ã¡ãã·ã±ãã¢ã»ã¹",r);case 34:return Ml(e,3792,3801,!0,o);case 37:return Ml(e,6160,6169,!0,o);case 38:return Ml(e,4160,4169,!0,o);case 39:return Ml(e,2918,2927,!0,o);case 40:return Ml(e,1776,1785,!0,o);case 43:return Ml(e,3046,3055,!0,o);case 44:return Ml(e,3174,3183,!0,o);case 45:return Ml(e,3664,3673,!0,o);case 46:return Ml(e,3872,3881,!0,o);default:return Ml(e,48,57,!0,o)}},Gl="data-html2canvas-ignore",Zl=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Nl,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=Xl(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,l=e.defaultView.pageYOffset,s=i.contentWindow,u=s.document,c=ns(i).then((function(){return o(n,void 0,void 0,(function(){var e,n;return r(this,(function(o){switch(o.label){case 0:return this.scrolledElements.forEac
vendor: 1,827 bytes, line 2
2h(ls),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:o.sent(),o.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ts(u)]:[3,4];case 3:o.sent(),o.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then((function(){return e(u,n)})).then((function(){return i}))]:[2,i]}}))}))}));return u.open(),u.write(is(document.doctype)+"<html></html>"),as(this.referenceElement.ownerDocument,a,l),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},e.prototype.createElementClone=function(e){if(_i(e,2),wl(e))return this.createCanvasClone(e);if(Ll(e))return this.createVideoClone(e);if(_l(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Cl(t)&&(Cl(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Tl(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return rs(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e}),""),o=e.cloneNode(!1);return o.textContent=n,o}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)}
vendor: 30,486 bytes, line 2
2,e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var o=e.cloneNode(!1);try{o.width=e.width,o.height=e.height;var r=e.getContext("2d"),i=o.getContext("2d");if(i)if(!this.options.allowTaint&&r)i.putImageData(r.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var l=a.getContextAttributes();!1===(null==l?void 0:l.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return o}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return o},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var o=e.ownerDocument.createElement("canvas");return o.width=e.offsetWidth,o.height=e.offsetHeight,o},e.prototype.appendChildNode=function(e,t,n){Al(t)&&(kl(t)||t.hasAttribute(Gl)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Al(t)&&_l(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var o=this,r=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;r;r=r.nextSibling)if(Al(r)&&El(r)&&"function"==typeof r.assignedNodes){var i=r.assignedNodes();i.length&&i.forEach((function(e){return o.appendChildNode(t,e,n)}))}else this.appendChildNode(t,r,n)},e.prototype.cloneNode=function(e,t){if(dl(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Al(e)&&(pl(e)||fl(e))){var o=this.createElementClone(e);o.style.transitionProperty="none";var r=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&pl(o)&&(this.clonedReferenceElement=o),bl(o)&&ps(o);var l=this.counters.parse(new wi(this.context,r)),s=this.resolvePseudoContent(e,o,i,Yi.BEFORE);Tl(e)&&(t=!0),Ll(e)||this.cloneChildNodes(e,o,t),s&&o.insertBefore(s,o.firstChild);var u=this.resolvePseudoContent(e,o,a,Yi.AFTER);return u&&o.appendChild(u),this.counters.pop(l),(r&&(this.options.copyStyles||fl(e))&&!Bl(e)||t)&&rs(r,o),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([o,e.scrollLeft,e.scrollTop]),(xl(e)||Sl(e))&&(xl(o)||Sl(o))&&(o.value=e.value),o}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,o){var r=this;if(n){var i=n.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new wi(this.context,n));var l=new bi(this.context,n),s=a.createElement("html2canvaspseudoelement");rs(n,s),l.content.forEach((function(t){if(0===t.type)s.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",s.appendChild(n)}else if(18===t.type){if("attr"===t.name){var o=t.values.filter(Vn);o.length&&s.appendChild(a.createTextNode(e.getAttribute(o[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(qn),u=i[0],c=i[1];if(u&&Vn(u)){var d=r.counters.getCounterValue(u.value),A=c&&Vn(c)?Sr.parse(r.context,c.value):3;s.appendChild(a.createTextNode(Yl(d,A,!1)))}}else if("counters"===t.name){var p=t.values.filter(qn),f=(u=p[0],p[1]);if(c=p[2],u&&Vn(u)){var h=r.counters.getCounterValues(u.value),m=c&&Vn(c)?Sr.parse(r.context,c.value):3,v=f&&0===f.type?f.value:"",g=h.map((function(e){return Yl(e,m,!1)})).join(v);s.appendChild(a.createTextNode(g))}}}else if(20===t.type)switch(t.value){case"open-quote":s.appendChild(a.createTextNode(fi(l.quotes,r.quoteDepth++,!0)));break;case"close-quote":s.appendChild(a.createTextNode(fi(l.quotes,--r.quoteDepth,!1)));break;default:s.appendChild(a.createTextNode(t.value))}})),s.className=cs+" "+ds;var u=o===Yi.BEFORE?" "+cs:" "+ds;return fl(t)?t.className.baseValue+=u:t.className+=u,s}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Yi||(Yi={}));var Jl,Xl=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Gl,"true"),e.body.appendChild(n),n},es=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},ts=function(e){return Promise.all([].slice.call(e.images,0).map(es))},ns=function(e){return new Promise((function(t,n){var o=e.contentWindow;if(!o)return n("No window assigned for iframe");var r=o.document;o.onload=e.onload=function(){o.onload=e.onload=null;var n=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(n),t(e))}),50)}}))},os=["all","d","content"],rs=function(e,t){for(var n=e.length-1;n>=0;n--){var o=e.item(n);-1===os.indexOf(o)&&t.style.setProperty(o,e.getPropertyValue(o))}return t},is=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},as=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},ls=function(e){var t=e[0],n=e[1],o=e[2];t.scrollLeft=n,t.scrollTop=o},ss=":before",us=":after",cs="___html2canvas___pseudoelement_before",ds="___html2canvas___pseudoelement_after",As='{\n content: "" !important;\n display: none !important;\n}',ps=function(e){fs(e,"."+cs+ss+As+"\n ."+ds+us+As)},fs=function(e,t){var n=e.ownerDocument;if(n){var o=n.createElement("style");o.textContent=t,e.appendChild(o)}},hs=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),ms=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Cs(e)||bs(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return o(this,void 0,void 0,(function(){var t,n,o,i,a=this;return r(this,(function(r){switch(r.label){case 0:return t=hs.isSameOrigin(e),n=!ws(e)&&!0===this._options.useCORS&&Sa.SUPPORT_CORS_IMAGES&&!t,o=!ws(e)&&!t&&!Cs(e)&&"string"==typeof this._options.proxy&&Sa.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||ws(e)||Cs(e)||o||n?(i=e,o?[4,this.proxy(i)]:[3,2]):[2];case 1:i=r.sent(),r.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var o=new Image;o.onload=function(){return e(o)},o.onerror=t,(Ls(i)||n)&&(o.crossOrigin="anonymous"),o.src=i,!0===o.complete&&setTimeout((function(){return e(o)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,r.sent()]}}))}))},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var o=e.substring(0,256);return new Promise((function(r,i){var a=Sa.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(200===l.status)if("text"===a)r(l.response);else{var e=new FileReader;e.addEventListener("load",(function(){return r(e.result)}),!1),e.addEventListener("error",(function(e){return i(e)}),!1),e.readAsDataURL(l.response)}else i("Failed to proxy resource "+o+" with status code "+l.status)},l.onerror=i;var s=n.indexOf("?")>-1?"&":"?";if(l.open("GET",""+n+s+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&l instanceof XMLHttpRequest&&(l.responseType=a),t._options.imageTimeout){var u=t._options.imageTimeout;l.timeout=u,l.ontimeout=function(){return i("Timed out ("+u+"ms) proxying "+o)}}l.send()}))},e}(),vs=/^data:image\/svg\+xml/i,gs=/^data:image\/.*;base64,/i,ys=/^data:image\/.*/i,bs=function(e){return Sa.SUPPORT_SVG_DRAWING||!Bs(e)},ws=function(e){return ys.test(e)},Ls=function(e){return gs.test(e)},Cs=function(e){return"blob"===e.substr(0,4)},Bs=function(e){return"svg"===e.substr(-3).toLowerCase()||vs.test(e)},_s=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),ks=function(e,t,n){return new _s(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},xs=function(){function e(e,t,n,o){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=o}return e.prototype.subdivide=function(t,n){var o=ks(this.start,this.startControl,t),r=ks(this.startControl,this.endControl,t),i=ks(this.endControl,this.end,t),a=ks(o,r,t),l=ks(r,i,t),s=ks(a,l,t);return n?new e(this.start,o,a,s):new e(s,l,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ss=function(e){return 1===e.type},Es=function(){function e(e){var t=e.styles,n=e.bounds,o=zn(t.borderTopLeftRadius,n.width,n.height),r=o[0],i=o[1],a=zn(t.borderTopRightRadius,n.width,n.height),l=a[0],s=a[1],u=zn(t.borderBottomRightRadius,n.width,n.height),c=u[0],d=u[1],A=zn(t.borderBottomLeftRadius,n.width,n.height),p=A[0],f=A[1],h=[];h.push((r+l)/n.width),h.push((p+c)/n.width),h.push((i+f)/n.height),h.push((s+d)/n.height);var m=Math.max.apply(Math,h);m>1&&(r/=m,i/=m,l/=m,s/=m,c/=m,d/=m,p/=m,f/=m);var v=n.width-l,g=n.height-d,y=n.width-c,b=n.height-f,w=t.borderTopWidth,L=t.borderRightWidth,C=t.borderBottomWidth,B=t.borderLeftWidth,_=Kn(t.paddingTop,e.bounds.width),k=Kn(t.paddingRight,e.bounds.width),x=Kn(t.paddingBottom,e.bounds.width),S=Kn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||i>0?Ts(n.left+B/3,n.top+w/3,r-B/3,i-w/3,Jl.TOP_LEFT):new _s(n.left+B/3,n.top+w/3),this.topRightBorderDoubleOuterBox=r>0||i>0?Ts(n.left+v,n.top+w/3,l-L/3,s-w/3,Jl.TOP_RIGHT):new _s(n.left+n.width-L/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||d>0?Ts(n.left+y,n.top+g,c-L/3,d-C/3,Jl.BOTTOM_RIGHT):new _s(n.left+n.width-L/3,n.top+n.height-C/3),this.bottomLeftBorderDoubleOuterBox=p>0||f>0?Ts(n.left+B/3,n.top+b,p-B/3,f-C/3,Jl.BOTTOM_LEFT):new _s(n.left+B/3,n.top+n.height-C/3),this.topLeftBorderDoubleInnerBox=r>0||i>0?Ts(n.left+2*B/3,n.top+2*w/3,r-2*B/3,i-2*w/3,Jl.TOP_LEFT):new _s(n.left+2*B/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=r>0||i>0?Ts(n.left+v,n.top+2*w/3,l-2*L/3,s-2*w/3,Jl.TOP_RIGHT):new _s(n.left+n.width-2*L/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||d>0?Ts(n.left+y,n.top+g,c-2*L/3,d-2*C/3,Jl.BOTTOM_RIGHT):new _s(n.left+n.width-2*L/3,n.top+n.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=p>0||f>0?Ts(n.left+2*B/3,n.top+b,p-2*B/3,f-2*C/3,Jl.BOTTOM_LEFT):new _s(n.left+2*B/3,n.top+n.height-2*C/3),this.topLeftBorderStroke=r>0||i>0?Ts(n.left+B/2,n.top+w/2,r-B/2,i-w/2,Jl.TOP_LEFT):new _s(n.left+B/2,n.top+w/2),this.topRightBorderStroke=r>0||i>0?Ts(n.left+v,n.top+w/2,l-L/2,s-w/2,Jl.TOP_RIGHT):new _s(n.left+n.width-L/2,n.top+w/2),this.bottomRightBorderStroke=c>0||d>0?Ts(n.left+y,n.top+g,c-L/2,d-C/2,Jl.BOTTOM_RIGHT):new _s(n.left+n.width-L/2,n.top+n.height-C/2),this.bottomLeftBorderStroke=p>0||f>0?Ts(n.left+B/2,n.top+b,p-B/2,f-C/2,Jl.BOTTOM_LEFT):new _s(n.left+B/2,n.top+n.height-C/2),this.topLeftBorderBox=r>0||i>0?Ts(n.left,n.top,r,i,Jl.TOP_LEFT):new _s(n.left,n.top),this.topRightBorderBox=l>0||s>0?Ts(n.left+v,n.top,l,s,Jl.TOP_RIGHT):new _s(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||d>0?Ts(n.left+y,n.top+g,c,d,Jl.BOTTOM_RIGHT):new _s(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=p>0||f>0?Ts(n.left,n.top+b,p,f,Jl.BOTTOM_LEFT):new _s(n.left,n.top+n.height),this.topLeftPaddingBox=r>0||i>0?Ts(n.left+B,n.top+w,Math.max(0,r-B),Math.max(0,i-w),Jl.TOP_LEFT):new _s(n.left+B,n.top+w),this.topRightPaddingBox=l>0||s>0?Ts(n.left+Math.min(v,n.width-L),n.top+w,v>n.width+L?0:Math.max(0,l-L),Math.max(0,s-w),Jl.TOP_RIGHT):new _s(n.left+n.width-L,n.top+w),this.bottomRightPaddingBox=c>0||d>0?Ts(n.left+Math.min(y,n.width-B),n.top+Math.min(g,n.height-C),Math.max(0,c-L),Math.max(0,d-C),Jl.BOTTOM_RIGHT):new _s(n.left+n.width-L,n.top+n.height-C),this.bottomLeftPaddingBox=p>0||f>0?Ts(n.left+B,n.top+Math.min(b,n.height-C),Math.max(0,p-B),Math.max(0,f-C),Jl.BOTTOM_LEFT):new _s(n.left+B,n.top+n.height-C),this.topLeftContentBox=r>0||i>0?Ts(n.left+B+S,n.top+w+_,Math.max(0,r-(B+S)),Math.max(0,i-(w+_)),Jl.TOP_LEFT):new _s(n.left+B+S,n.top+w+_),this.topRightContentBox=l>0||s>0?Ts(n.left+Math.min(v,n.width+B+S),n.top+w+_,v>n.width+B+S?0:l-B+S,s-(w+_),Jl.TOP_RIGHT):new _s(n.left+n.width-(L+k),n.top+w+_),this.bottomRightContentBox=c>0||d>0?Ts(n.left+Math.min(y,n.width-(B+S)),n.top+Math.min(g,n.height+w+_),Math.max(0,c-(L+k)),d-(C+x),Jl.BOTTOM_RIGHT):new _s(n.left+n.width-(L+k),n.top+n.height-(C+x)),this.bottomLeftContentBox=p>0||f>0?Ts(n.left+B+S,n.top+b,Math.max(0,p-(B+S)),f-(C+x),Jl.BOTTOM_LEFT):new _s(n.left+B+S,n.top+n.height-(C+x))}return e}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Jl||(Jl={}));var Ts=function(e,t,n,o,r){var i=(Math.sqrt(2)-1)/3*4,a=n*i,l=o*i,s=e+n,u=t+o;switch(r){case Jl.TOP_LEFT:return new xs(new _s(e,u),new _s(e,u-l),new _s(s-a,t),new _s(s,t));case Jl.TOP_RIGHT:return new xs(new _s(e,t),new _s(e+a,t),new _s(s,u-l),new _s(s,u));case Jl.BOTTOM_RIGHT:return new xs(new _s(s,t),new _s(s,t+l),new _s(e+a,u),new _s(e,u));case Jl.BOTTOM_LEFT:default:return new xs(new _s(s,u),new _s(s-a,u),new _s(e,t+l),new _s(e,t))}},Ns=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Fs=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Vs=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Os=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Us=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),Qs=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),qs=function(e){return 0===e.type},Ms=function(e){return 1===e.type},Is=function(e){return 2===e.type},Ps=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},Ds=function(e,t,n,o,r){return e.map((function(e,i){switch(i){case 0:return e.add(t,n);case 1:return e.add(t+o,n);case 2:return e.add(t+o,n+r);case 3:return e.add(t,n+r)}return e}))},Hs=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),Rs=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Es(this.container),this.container.styles.opacity<1&&this.effects.push(new Qs(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,o=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new Os(n,o,r))}if(0!==this.container.styles.overflowX){var i=Ns(this.curves),a=Vs(this.curves);Ps(i,a)?this.effects.push(new Us(i,6)):(this.effects.push(new Us(i,2)),this.effects.push(new Us(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,o=this.effects.slice(0);n;){var r=n.effects.filter((function(e){return!Ms(e)}));if(t||0!==n.container.styles.position||!n.parent){if(o.unshift.apply(o,r),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Ns(n.curves),a=Vs(n.curves);Ps(i,a)||o.unshift(new Us(a,6))}}else o.unshift.apply(o,r);n=n.parent}return o.filter((function(t){return si(t.target,e)}))},e}(),js=function(e,t,n,o){e.container.elements.forEach((function(r){var i=si(r.flags,4),a=si(r.flags,2),l=new Rs(r,e);si(r.styles.display,2048)&&o.push(l);var s=si(r.flags,8)?[]:o;if(i||a){var u=i||r.styles.isPositioned()?n:t,c=new Hs(l);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var d=r.styles.zIndex.order;if(d<0){var A=0;u.negativeZIndex.some((function(e,t){return d>e.element.container.styles.zIndex.order?(A=t,!1):A>0})),u.negativeZIndex.splice(A,0,c)}else if(d>0){var p=0;u.positiveZIndex.some((function(e,t){return d>=e.element.container.styles.zIndex.order?(p=t+1,!1):p>0})),u.positiveZIndex.splice(p,0,c)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else r.styles.isFloating()?u.nonPositionedFloats.push(c):u.nonPositionedInlineLevel.push(c);js(l,c,i?c:n,s)}else r.styles.isInlineLevel()?t.inlineLevel.push(l):t.nonInlineLevel.push(l),js(l,t,n,s);si(r.flags,8)&&$s(r,s)}))},$s=function(e,t){for(var n=e instanceof za?e.start:1,o=e instanceof za&&e.reversed,r=0;r<t.length;r++){var i=t[r];i.container instanceof $a&&"number"==typeof i.container.value&&0!==i.container.value&&(n=i.container.value),i.listValue=Yl(n,i.container.styles.listStyleType,!0),n+=o?-1:1}},zs=function(e){var t=new Rs(e,null),n=new Hs(t),o=[];return js(t,n,n,o),$s(t.container,o),n},Ks=function(e,t){switch(t){case 0:return Js(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Js(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Js(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return Js(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Ws=function(e,t){switch(t){case 0:return Js(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Js(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Js(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return Js(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Ys=function(e,t){switch(t){case 0:return Js(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Js(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Js(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return Js(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Gs=function(e,t){switch(t){case 0:return Zs(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Zs(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Zs(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Zs(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Zs=function(e,t){var n=[];return Ss(e)?n.push(e.subdivide(.5,!1)):n.push(e),Ss(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Js=function(e,t,n,o){var r=[];return Ss(e)?r.push(e.subdivide(.5,!1)):r.push(e),Ss(n)?r.push(n.subdivide(.5,!0)):r.push(n),Ss(o)?r.push(o.subdivide(.5,!0).reverse()):r.push(o),Ss(t)?r.push(t.subdivide(.5,!1).reverse()):r.push(t),r},Xs=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},eu=function(e){var t=e.styles,n=e.bounds,o=Kn(t.paddingLeft,n.width),r=Kn(t.paddingRight,n.width),i=Kn(t.paddingTop,n.width),a=Kn(t.paddingBottom,n.width);return n.add(o+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+o+r),-(t.borderTopWidth+t.borderBottomWidth+i+a))},tu=function(e,t){return 0===e?t.bounds:2===e?eu(t):Xs(t)},nu=function(e,t){return 0===e?t.bounds:2===e?eu(t):Xs(t)},ou=function(e,t,n){var o=tu(lu(e.styles.backgroundOrigin,t),e),r=nu(lu(e.styles.backgroundClip,t),e),i=au(lu(e.styles.backgroundSize,t),n,o),a=i[0],l=i[1],s=zn(lu(e.styles.backgroundPosition,t),o.width-a,o.height-l);return[su(lu(e.styles.backgroundRepeat,t),s,i,o,r),Math.round(o.left+s[0]),Math.round(o.top+s[1]),a,l]},ru=function(e){return Vn(e)&&e.value===Po.AUTO},iu=function(e){return"number"==typeof e},au=function(e,t,n){var o=t[0],r=t[1],i=t[2],a=e[0],l=e[1];if(!a)return[0,0];if(Dn(a)&&l&&Dn(l))return[Kn(a,n.width),Kn(l,n.height)];var s=iu(i);if(Vn(a)&&(a.value===Po.CONTAIN||a.value===Po.COVER))return iu(i)?n.width/n.height<i!=(a.value===Po.COVER)?[n.width,n.width/i]:[n.height*i,n.height]:[n.width,n.height];var u=iu(o),c=iu(r),d=u||c;if(ru(a)&&(!l||ru(l)))return u&&c?[o,r]:s||d?d&&s?[u?o:r*i,c?r:o/i]:[u?o:n.width,c?r:n.height]:[n.width,n.height];if(s){var A=0,p=0;return Dn(a)?A=Kn(a,n.width):Dn(l)&&(p=Kn(l,n.height)),ru(a)?A=p*i:l&&!ru(l)||(p=A/i),[A,p]}var f=null,h=null;if(Dn(a)?f=Kn(a,n.width):l&&Dn(l)&&(h=Kn(l,n.height)),null===f||l&&!ru(l)||(h=u&&c?f/o*r:n.height),null!==h&&ru(a)&&(f=u&&c?h/r*o:n.width),null!==f&&null!==h)return[f,h];throw new Error("Unable to calculate background-size for element")},lu=function(e,t){var n=e[t];return void 0===n?e[0]:n},su=function(e,t,n,o,r){var i=t[0],a=t[1],l=n[0],s=n[1];switch(e){case 2:return[new _s(Math.round(o.left),Math.round(o.top+a)),new _s(Math.round(o.left+o.width),Math.round(o.top+a)),new _s(Math.round(o.left+o.width),Math.round(s+o.top+a)),new _s(Math.round(o.left),Math.round(s+o.top+a))];case 3:return[new _s(Math.round(o.left+i),Math.round(o.top)),new _s(Math.round(o.left+i+l),Math.round(o.top)),new _s(Math.round(o.left+i+l),Math.round(o.height+o.top)),new _s(Math.round(o.left+i),Math.round(o.height+o.top))];case 1:return[new _s(Math.round(o.left+i),Math.round(o.top+a)),new _s(Math.round(o.left+i+l),Math.round(o.top+a)),new _s(Math.round(o.left+i+l),Math.round(o.top+a+s)),new _s(Math.round(o.left+i),Math.round(o.top+a+s))];default:return[new _s(Math.round(r.left),Math.round(r.top)),new _s(Math.round(r.left+r.width),Math.round(r.top)),new _s(Math.round(r.left+r.width),Math.round(r.height+r.top)),new _s(Math.round(r.left),Math.round(r.height+r.top))]}},uu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cu="Hidden Text",du=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),o=this._document.createElement("img"),r=this._document.createElement("span"),i=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",i.appendChild(n),o.src=uu,o.width=1,o.height=1,o.style.margin="0",o.style.padding="0",o.style.verticalAlign="baseline",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.appendChild(this._document.createTextNode(cu)),n.appendChild(r),n.appendChild(o);var a=o.offsetTop-r.offsetTop+2;n.removeChild(r),n.appendChild(this._document.createTextNode(cu)),n.style.lineHeight="normal",o.style.verticalAlign="super";var l=o.offsetTop-n.offsetTop+2;return i.removeChild(n),{baseline:a,middle:l}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),Au=function(){function e(e,t){this.context=e,this.options=t}return e}(),pu=1e4,fu=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o._activeEffects=[],o.canvas=n.canvas?n.canvas:document.createElement("canvas"),o.ctx=o.canvas.getContext("2d"),n.canvas||(o.canvas.width=Math.floor(n.width*n.scale),o.canvas.height=Math.floor(n.height*n.scale),o.canvas.style.width=n.width+"px",o.canvas.style.height=n.height+"px"),o.fontMetrics=new du(document),o.ctx.scale(o.options.scale,o.options.scale),o.ctx.translate(-n.x,-n.y),o.ctx.textBaseline="bottom",o._activeEffects=[],o.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),o}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),Is(e)&&(this.ctx.globalAlpha=e.opacity),qs(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Ms(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return o(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return o(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return si(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var o=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Va(e.text).reduce((function(t,r){return o.ctx.fillText(r,t,e.bounds.top+n),t+o.ctx.measureText(r).width}),e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=yu(e.fontFamily).join(", "),o=Nn(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,o,n].join(" "),n,o]},n.prototype.renderTextNode=function(e,t){return o(this,void 0,void 0,(function(){var n,o,i,a,l,s,u,c,d=this;return r(this,(function(r){return n=this.createFontStyle(t),o=n[0],i=n[1],a=n[2],this.ctx.font=o,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(i,a),s=l.baseline,u=l.middle,c=t.paintOrder,e.textBounds.forEach((function(e){c.forEach((function(n){switch(n){case 0:d.ctx.fillStyle=ro(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,s);var o=t.textShadow;o.length&&e.text.trim().length&&(o.slice(0).reverse().forEach((function(n){d.ctx.shadowColor=ro(n.color),d.ctx.shadowOffsetX=n.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=n.offsetY.number*d.options.scale,d.ctx.shadowBlur=n.blur.number,d.renderTextWithLetterSpacing(e,t.letterSpacing,s)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),t.textDecorationLine.length&&(d.ctx.fillStyle=ro(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+s),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+u),e.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(d.ctx.strokeStyle=ro(t.webkitTextStrokeColor),d.ctx.lineWidth=t.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+s)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter"}}))})),[2]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var o=eu(e),r=Vs(t);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return o(this,void 0,void 0,(function(){var t,o,i,l,s,u,c,d,A,p,f,h,m,v,g,y,b,w;return r(this,(function(r){switch(r.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,o=e.curves,i=t.styles,l=0,s=t.textNodes,r.label=1;case 1:return l<s.length?(u=s[l],[4,this.renderTextNode(u,i)]):[3,4];case 2:r.sent(),r.label=3;case 3:return l++,[3,1];case 4:if(!(t instanceof Ha))return[3,8];r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return g=r.sent(),this.renderReplacedElement(t,o,g),[3,8];case 7:return r.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Ra&&this.renderReplacedElement(t,o,t.canvas),!(t instanceof ja))return[3,12];r.label=9;case 9:return r.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return g=r.sent(),this.renderReplacedElement(t,o,g),[3,12];case 11:return r.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof rl&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:c=r.sent(),t.width&&t.height&&this.ctx.drawImage(c,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),r.label=14;case 14:if(t instanceof tl&&(d=Math.min(t.bounds.width,t.bounds.height),t.type===Za?t.checked&&(this.ctx.save(),this.path([new _s(t.bounds.left+.39363*d,t.bounds.top+.79*d),new _s(t.bounds.left+.16*d,t.bounds.top+.5549*d),new _s(t.bounds.left+.27347*d,t.bounds.top+.44071*d),new _s(t.bounds.left+.39694*d,t.bounds.top+.5649*d),new _s(t.bounds.left+.72983*d,t.bounds.top+.23*d),new _s(t.bounds.left+.84*d,t.bounds.top+.34085*d),new _s(t.bounds.left+.39363*d,t.bounds.top+.79*d)]),this.ctx.fillStyle=ro(el),this.ctx.fill(),this.ctx.restore(
vendor: 3,324 bytes, line 2
2)):t.type===Ja&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+d/2,t.bounds.top+d/2,d/4,0,2*Math.PI,!0),this.ctx.fillStyle=ro(el),this.ctx.fill(),this.ctx.restore())),hu(t)&&t.value.length){switch(A=this.createFontStyle(i),b=A[0],p=A[1],f=this.fontMetrics.getMetrics(b,p).baseline,this.ctx.font=b,this.ctx.fillStyle=ro(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=vu(t.styles.textAlign),w=eu(t),h=0,t.styles.textAlign){case 1:h+=w.width/2;break;case 2:h+=w.width}m=w.add(h,0,0,-w.height/2+1),this.ctx.save(),this.path([new _s(w.left,w.top),new _s(w.left+w.width,w.top),new _s(w.left+w.width,w.top+w.height),new _s(w.left,w.top+w.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ea(t.value,m),i.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!si(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(v=t.styles.listStyleImage).type)return[3,18];g=void 0,y=v.url,r.label=15;case 15:return r.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return g=r.sent(),this.ctx.drawImage(g,t.bounds.left-(g.width+10),t.bounds.top),[3,18];case 17:return r.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(b=this.createFontStyle(i)[0],this.ctx.font=b,this.ctx.fillStyle=ro(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",w=new a(t.bounds.left,t.bounds.top+Kn(t.styles.paddingTop,t.bounds.width),t.bounds.width,_r(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ea(e.listValue,w),i.letterSpacing,_r(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),r.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return o(this,void 0,void 0,(function(){var t,n,o,i,a,l,s,u,c,d,A,p,f,h,m;return r(this,(function(r){switch(r.label){case 0:return si(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:r.sent(),t=0,n=e.negativeZIndex,r.label=2;case 2:return t<n.length?(m=n[t],[4,this.renderStack(m)]):[3,5];case 3:r.sent(),r.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:r.sent(),o=0,i=e.nonInlineLevel,r.label=7;case 7:return o<i.length?(m=i[o],[4,this.renderNode(m)]):[3,10];case 8:r.sent(),r.label=9;case 9:return o++,[3,7];case 10:a=0,l=e.nonPositionedFloats,r.label=11;case 11:return a<l.length?(m=l[a],[4,this.renderStack(m)]):[3,14];case 12:r.sent(),r.label=13;case 13:return a++,[3,11];case 14:s=0,u=e.nonPositionedInlineLevel,r.label=15;case 15:return s<u.length?(m=u[s],[4,this.renderStack(m)]):[3,18];case 16:r.sent(),r.label=17;case 17:return s++,[3,15];case 18:c=0,d=e.inlineLevel,r.label=19;case 19:return c<d.length?(m=d[c],[4,this.renderNode(m)]):[3,22];case 20:r.sent(),r.label=21;case 21:return c++,[3,19];case 22:A=0,p=e.zeroOrAutoZIndexOrTransformedOrOpacity,r.label=23;case 23:return A<p.length?(m=p[A],[4,this.renderStack(m)]):[3,26];case 24:r.sent(),r.label=25;case 25:return A++,[3,23];case 26:f=0,h=e.positiveZIndex,r.label=27;case 27:return f<h.length?(m=h[f],[4,this.renderStack(m)]):[3,30];case 28:r.sent(),r.label=29;case 29:return f++,[3,27];case 30:return[2]}}
vendor: 3,040 bytes, line 2
2))}))},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var o=Ss(e)?e.start:e;0===n?t.ctx.moveTo(o.x,o.y):t.ctx.lineTo(o.x,o.y),Ss(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,o){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,o),this.ctx.fill(),this.ctx.translate(-n,-o)},n.prototype.resizeImage=function(e,t,n){var o;if(e.width===t&&e.height===n)return e;var r=(null!==(o=this.canvas.ownerDocument)&&void 0!==o?o:document).createElement("canvas");return r.width=Math.max(1,t),r.height=Math.max(1,n),r.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),r},n.prototype.renderBackgroundImage=function(e){return o(this,void 0,void 0,(function(){var t,n,o,i,a,l;return r(this,(function(s){switch(s.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,a,l,s,u,c,d,A,p,f,h,m,v,g,y,b,w,L,C,B,_,k,x,S,E,T,N,F,V,O,U;return r(this,(function(r){switch(r.label){case 0:if(0!==n.type)return[3,5];i=void 0,a=n.url,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,o.context.cache.match(a)];case 2:return i=r.sent(),[3,4];case 3:return r.sent(),o.context.logger.error("Error loading background-image "+a),[3,4];case 4:return i&&(l=ou(e,t,[i.width,i.height,i.width/i.height]),b=l[0],k=l[1],x=l[2],C=l[3],B=l[4],g=o.ctx.createPattern(o.resizeImage(i,C,B),"repeat"),o.renderRepeat(b,g,k,x)),[3,6];case 5:Qo(n)?(s=ou(e,t,[null,null,null]),b=s[0],k=s[1],x=s[2],C=s[3],B=s[4],u=yo(n.angle,C,B),c=u[0],d=u[1],A=u[2],p=u[3],f=u[4],(h=document.createElement("canvas")).width=C,h.height=B,m=h.getContext("2d"),v=m.createLinearGradient(d,p,A,f),vo(n.stops,c).forEach((function(e){return v.addColorStop(e.stop,ro(e.color))})),m.fillStyle=v,m.fillRect(0,0,C,B),C>0&&B>0&&(g=o.ctx.createPattern(h,"repeat"),o.renderRepeat(b,g,k,x))):qo(n)&&(y=ou(e,t,[null,null,null]),b=y[0],w=y[1],L=y[2],C=y[3],B=y[4],_=0===n.position.length?[jn]:n.position,k=Kn(_[0],C),x=Kn(_[_.length-1],B),S=Lo(n,k,x,C,B),E=S[0],T=S[1],E>0&&T>0&&(N=o.ctx.createRadialGradient(w+k,L+x,0,w+k,L+x,E),vo(n.stops,2*E).forEach((function(e){return N.addColorStop(e.stop,ro(e.color))})),o.path(b),o.ctx.fillStyle=N,E!==T?(F=e.bounds.left+.5*e.bounds.width,V=e.bounds.top+.5*e.bounds.height,U=1/(O=T/E),o.ctx.save(),o.ctx.translate(F,V),o.ctx.transform(1,0,0,O,0,0),o.ctx.translate(-F,-V),o.ctx.fillRect(w,U*(L-V)+V,C,B*U),o.ctx.restore()):o.ctx.fill())),r.label=6;case 6:return t--,[2]}}))},o=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return i<a.length?(l=a[i],[5,n(l)]):[3,4];case 2:s.sent(),s.label=3;case 3:return i++,[3,1];case 4:return[2]}}
2))}))},n.prototype.renderSolidBorder=function(e,t,n){return o(this,void 0,void 0,(function(){return r(this,(function(o){return this.path(Ks(n,t)),this.ctx.fillStyle=ro(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,i){return o(this,void 0,void 0,(function(){var o,a;return r(this,(function(r){switch(r.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return r.sent(),[2];case 2:return o=Ws(i,n),this.path(o),this.ctx.fillStyle=ro(e),this.ctx.fill(),a=Ys(i,n),this.path(a),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return o(this,void 0,void 0,(function(){var t,n,o,i,a,l,s,u,c=this;return r(this,(function(r){switch(r.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!oo(t.backgroundColor)||t.backgroundImage.length,o=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=mu(lu(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),oo(t.backgroundColor)||(this.ctx.fillStyle=ro(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:r.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){c.ctx.save();var n=Ns(e.curves),o=t.inset?0:pu,r=Ds(n,-o+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(c.path(n),c.ctx.clip(),c.mask(r)):(c.mask(n),c.ctx.clip(),c.path(r)),c.ctx.shadowOffsetX=t.offsetX.number+o,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=ro(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?ro(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()})),r.label=2;case 2:a=0,l=0,s=o,r.label=3;case 3:return l<s.length?0!==(u=s[l]).style&&!oo(u.color)&&u.width>0?2!==u.style?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return r.sent(),[3,11];case 5:return 3!==u.style?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,a,e.curves,3)];case 6:return r.sent(),[3,11];case 7:return 4!==u.style?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,a,e.curves)];case 8:return r.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,a,e.curves)];case 10:r.sent(),r.label=11;case 11:a++,r.label=12;case 12:return l++,[3,3];case 13:return[2]}}
vendor: 5,380 bytes, line 2
2))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,i,a){return o(this,void 0,void 0,(function(){var o,l,s,u,c,d,A,p,f,h,m,v,g,y,b,w;return r(this,(function(r){return this.ctx.save(),o=Gs(i,n),l=Ks(i,n),2===a&&(this.path(l),this.ctx.clip()),Ss(l[0])?(s=l[0].start.x,u=l[0].start.y):(s=l[0].x,u=l[0].y),Ss(l[1])?(c=l[1].end.x,d=l[1].end.y):(c=l[1].x,d=l[1].y),A=0===n||2===n?Math.abs(s-c):Math.abs(u-d),this.ctx.beginPath(),3===a?this.formatPath(o):this.formatPath(l.slice(0,2)),p=t<3?3*t:2*t,f=t<3?2*t:t,3===a&&(p=t,f=t),h=!0,A<=2*p?h=!1:A<=2*p+f?(p*=m=A/(2*p+f),f*=m):(v=Math.floor((A+f)/(p+f)),g=(A-v*p)/(v-1),f=(y=(A-(v+1)*p)/v)<=0||Math.abs(f-g)<Math.abs(f-y)?g:y),h&&(3===a?this.ctx.setLineDash([0,p+f]):this.ctx.setLineDash([p,f])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=ro(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(Ss(l[0])&&(b=l[3],w=l[0],this.ctx.beginPath(),this.formatPath([new _s(b.end.x,b.end.y),new _s(w.start.x,w.start.y)]),this.ctx.stroke()),Ss(l[1])&&(b=l[1],w=l[2],this.ctx.beginPath(),this.formatPath([new _s(b.end.x,b.end.y),new _s(w.start.x,w.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return o(this,void 0,void 0,(function(){var t;return r(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ro(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=zs(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Au),hu=function(e){return e instanceof ol||e instanceof nl||e instanceof tl&&e.type!==Ja&&e.type!==Za},mu=function(e,t){switch(e){case 0:return Ns(t);case 2:return Fs(t);default:return Vs(t)}},vu=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},gu=["-apple-system","system-ui"],yu=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===gu.indexOf(e)})):e},bu=function(e){function n(t,n){var o=e.call(this,t,n)||this;return o.canvas=n.canvas?n.canvas:document.createElement("canvas"),o.ctx=o.canvas.getContext("2d"),o.options=n,o.canvas.width=Math.floor(n.width*n.scale),o.canvas.height=Math.floor(n.height*n.scale),o.canvas.style.width=n.width+"px",o.canvas.style.height=n.height+"px",o.ctx.scale(o.options.scale,o.options.scale),o.ctx.translate(-n.x,-n.y),o.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),o}return t(n,e),n.prototype.render=function(e){return o(this,void 0,void 0,(function(){var t,n;return r(this,(function(o){switch(o.label){case 0:return t=ka(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,wu(t)];case 1:return n=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ro(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Au),wu=function(e){return new Promise((function(t,n){var o=new Image;o.onload=function(){t(o)},o.onerror=n,o.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Lu=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),Cu=function(){function e(t,n){var o;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new Lu({id:this.instanceName,enabled:t.logging}),this.cache=null!==(o=t.cache)&&void 0!==o?o:new ms(this,t)}return e.instanceCount=1,e}(),Bu=function(e,t){return void 0===t&&(t={}),_u(e,t)};"undefined"!=typeof window&&hs.setContext(window);var _u=function(e,t){return o(void 0,void 0,void 0,(function(){var o,i,u,c,d,A,p,f,h,m,v,g,y,b,w,L,C,B,_,k,x,S,E,T,N,F,V,O,U,Q,q,M,I,P,D,H,R,j;return r(this,(function(r){switch(r.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(o=e.ownerDocument))throw new Error("Element is not attached to a Document");
2if(!(i=o.defaultView))throw new Error("Document is not attached to a Window");return u={allowTaint:null!==(S=t.allowTaint)&&void 0!==S&&S,imageTimeout:null!==(E=t.imageTimeout)&&void 0!==E?E:15e3,proxy:t.proxy,useCORS:null!==(T=t.useCORS)&&void 0!==T&&T},c=n({logging:null===(N=t.logging)||void 0===N||N,cache:t.cache},u),d={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:i.innerWidth,windowHeight:null!==(V=t.windowHeight)&&void 0!==V?V:i.innerHeight,scrollX:null!==(O=t.scrollX)&&void 0!==O?O:i.pageXOffset,scrollY:null!==(U=t.scrollY)&&void 0!==U?U:i.pageYOffset},A=new a(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),p=new Cu(c,A),f=null!==(Q=t.foreignObjectRendering)&&void 0!==Q&&Q,h={allowTaint:null!==(q=t.allowTaint)&&void 0!==q&&q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:f,copyStyles:f},p.logger.debug("Starting document clone with size "+A.width+"x"+A.height+" scrolled to "+-A.left+","+-A.top),m=new Zl(p,e,h),(v=m.clonedReferenceElement)?[4,m.toIFrame(o,A)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=r.sent(),y=bl(v)||gl(v)?s(v.ownerDocument):l(p,v),b=y.width,w=y.height,L=y.left,C=y.top,B=ku(p,v,t.backgroundColor),_={canvas:t.canvas,backgroundColor:B,scale:null!==(I=null!==(M=t.scale)&&void 0!==M?M:i.devicePixelRatio)&&void 0!==I?I:1,x:(null!==(P=t.x)&&void 0!==P?P:0)+L,y:(null!==(D=t.y)&&void 0!==D?D:0)+C,width:null!==(H=t.width)&&void 0!==H?H:Math.ceil(b),height:null!==(R=t.height)&&void 0!==R?R:Math.ceil(w)},f?(p.logger.debug("Document cloned, using foreign object rendering"),[4,new bu(p,_).render(v)]):[3,3];case 2:return k=r.sent(),[3,5];case 3:return p.logger.debug("Document cloned, element located at "+L+","+C+" with size "+b+"x"+w+" using computed rendering"),p.logger.debug("Starting DOM parsing"),x=sl(p,v),B===x.styles.backgroundColor&&(x.styles.backgroundColor=po.TRANSPARENT),p.logger.debug("Starting renderer for element at "+_.x+","+_.y+" with size "+_.width+"x"+_.height),[4,new fu(p,_).render(x)];case 4:k=r.sent(),r.label=5;case 5:return(null===(j=t.removeContainer)||void 0===j||j)&&(Zl.destroy(g)||p.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),p.logger.debug("Finished rendering"),[2,k]}}))}))},ku=function(e,t,n){var o=t.ownerDocument,r=o.documentElement?Ao(e,getComputedStyle(o.documentElement).backgroundColor):po.TRANSPARENT,i=o.body?Ao(e,getComputedStyle(o.body).backgroundColor):po.TRANSPARENT,a="string"==typeof n?Ao(e,n):null===n?po.TRANSPARENT:4294967295;return t===o.documentElement?oo(r)?oo(i)?a:i:r:a};return Bu}()},645:(e,t)=>{t.read=function(e,t,n,o,r){var i,a,l=8*r-o-1,s=(1<<l)-1,u=s>>1,c=-7,d=n?r-1:0,A=n?-1:1,p=e[t+d];for(d+=A,i=p&(1<<-c)-1,p>>=-c,c+=l;c>0;i=256*i+e[t+d],d+=A,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=o;c>0;a=256*a+e[t+d],d+=A,c-=8);if(0===i)i=1-u;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,o),i-=u}return(p?-1:1)*a*Math.pow(2,i-o)},t.write=function(e,t,n,o,r,i){var a,l,s,u=8*i-r-1,c=(1<<u)-1,d=c>>1,A=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=o?0:i-1,f=o?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+d>=1?A/s:A*Math.pow(2,1-d))*s>=2&&(a++,s/=2),a+d>=c?(l=0,a=c):a+d>=1?(l=(t*s-1)*Math.pow(2,r),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&l,p+=f,l/=256,r-=8);for(a=a<<r|l,u+=r;u>0;e[n+p]=255&a,p+=f,a/=256,u-=8);e[n+p-f]|=128*h}},5826:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},3465:(e,t,n)=>{e=n.nmd(e);var o="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",a="[object Boolean]",l="[object Date]",s="[object Function]",u="[object GeneratorFunction]",c="[object Map]",d="[object Number]",A="[object Object]",p="[object Promise]",f="[object RegExp]",h="[object Set]",m="[object String]",v="[object Symbol]",g="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",L="[object Float64Array]",C="[object Int8Array]",B="[object Int16Array]",_="[object Int32Array]",k="[object Uint8Array]",x="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",T=/\w*$/,N=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,V={};V[i]=V["[object Array]"]=V[y]=V[b]=V[a]=V[l]=V[w]=V[L]=V[C]=V[B]=V[_]=V[c]=V[d]=V[A]=V[f]=V[h]=V[m]=V[v]=V[k]=V[x]=V[S]=V[E]=!0,V["[object Error]"]=V[s]=V[g]=!1;var O="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,U="object"==typeof self&&self&&self.Object===Object&&self,Q=O||U||Function("return this")(),q=t&&!t.nodeType&&t,M=q&&e&&!e.nodeType&&e,I=M&&M.exports===q;function P(e,t){return e.set(t[0],t[1]),e}function D(e,t){return e.add(t),e}function H(e,t,n,o){var r=-1,i=e?e.length:0;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function R(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function j(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function $(e,t){return function(n){return e(t(n))}}function z(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var K,W=Array.prototype,Y=Function.prototype,G=Object.prototype,Z=Q["__core-js_shared__"],J=(K=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+K:"",X=Y.toString,ee=G.hasOwnProperty,te=G.toString,ne=RegExp("^"+X.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=I?Q.Buffer:void 0,re=Q.Symbol,ie=Q.Uint8Array,ae=$(Object.getPrototypeOf,Object),le=Object.create,se=G.propertyIsEnumerable,ue=W.splice,ce=Object.getOwnPropertySymbols,de=oe?oe.isBuffer:void 0,Ae=$(Object.keys,Object),pe=Me(Q,"DataView"),fe=Me(Q,"Map"),he=Me(Q,"Promise"),me=Me(Q,"Set"),ve=Me(Q,"WeakMap"),ge=Me(Object,"create"),ye=Re(pe),be=Re(fe),we=Re(he),Le=Re(me),Ce=Re(ve),Be=re?re.prototype:void 0,_e=Be?Be.valueOf:void 0;function ke(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function xe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Ee(e){this.__data__=new xe(e)}function Te(e,t){var n=$e(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&ze(e)}(e)&&ee.call(e,"callee")&&(!se.call(e,"callee")||te.call(e)==i)}(e)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],o=n.length,r=!!o;for(var a in e)!t&&!ee.call(e,a)||r&&("length"==a||De(a,o))||n.push(a);return n}function Ne(e,t,n){var o=e[t];ee.call(e,t)&&je(o,n)&&(void 0!==n||t in e)||(e[t]=n)}function Fe(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1}function Ve(e,t,n,o,r,p,g){var N;if(o&&(N=p?o(e,r,p,g):o(e)),void 0!==N)return N;if(!Ye(e))return e;var F=$e(e);if(F){if(N=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,o=e.length;t||(t=Array(o));for(;++n<o;)t[n]=e[n];return t}(e,N)}else{var O=Pe(e),U=O==s||O==u;if(Ke(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(O==A||O==i||U&&!p){if(R(e))return p?e:{};if(N=function(e){return"function"!=typeof e.constructor||He(e)?{}:(t=ae(e),Ye(t)?le(t):{});var t}(U?{}:e),!t)return function(e,t){return Qe(e,Ie(e),t)}(e,function(e,t){return e&&Qe(t,Ge(t),e)}(N,e))}else{if(!V[O])return p?e:{};N=function(e,t,n,o){var r=e.constructor;switch(t){case y:return Ue(e);case a:case l:return new r(+e);case b:return function(e,t){var n=t?Ue(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,o);case w:case L:case C:case B:case _:case k:case x:case S:case E:return function(e,t){var n=t?Ue(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,o);case c:return function(e,t,n){return H(t?n(j(e),!0):j(e),P,new e.constructor)}(e,o,n);case d:case m:return new r(e);case f:return function(e){var t=new e.constructor(e.source,T.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){return H(t?n(z(e),!0):z(e),D,new e.constructor)}(e,o,n);case v:return i=e,_e?Object(_e.call(i)):{}}var i}(e,O,Ve,t)}}g||(g=new Ee);var Q=g.get(e);if(Q)return Q;if(g.set(e,N),!F)var q=n?function(e){return function(e,t,n){var o=t(e);return $e(e)?o:function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}(o,n(e))}(e,Ge,Ie)}(e):Ge(e);return function(e,t){for(var n=-1,o=e?e.length:0;++n<o&&!1!==t(e[n],n,e););}(q||e,(function(r,i){q&&(r=e[i=r]),Ne(N,i,Ve(r,t,n,o,i,e,g))})),N}function Oe(e){return!(!Ye(e)||(t=e,J&&J in t))&&(We(e)||R(e)?ne:N).test(Re(e));var t}function Ue(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Qe(e,t,n,o){n||(n={});for(var r=-1,i=t.length;++r<i;){var a=t[r],l=o?o(n[a],e[a],a,n,e):void 0;Ne(n,a,void 0===l?e[a]:l)}return n}function qe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Oe(n)?n:void 0}ke.prototype.clear=function(){this.__data__=ge?ge(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(ge){var n=t[e];return n===o?void 0:n}return ee.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ge?void 0!==t[e]:ee.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=ge&&void 0===t?o:t,this},xe.prototype.clear=function(){this.__data__=[]},xe.prototype.delete=function(e){var t=this.__data__,n=Fe(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},xe.prototype.get=function(e){var t=this.__data__,n=Fe(t,e);return n<0?void 0:t[n][1]},xe.prototype.has=function(e){return Fe(this.__data__,e)>-1},xe.prototype.set=function(e,t){var n=this.__data__,o=Fe(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},Se.prototype.clear=function(){this.__data__={hash:new ke,map:new(fe||xe),string:new ke}},Se.prototype.delete=function(e){return qe(this,e).delete(e)},Se.prototype.get=function(e){return qe(this,e).get(e)},Se.prototype.has=function(e){return qe(this,e).has(e)},Se.prototype.set=function(e,t){return qe(this,e).set(e,t),this},Ee.prototype.clear=function(){this.__data__=new xe},Ee.prototype.delete=function(e){return this.__data__.delete(e)},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof xe){var o=n.__data__;if(!fe||o.length<199)return o.push([e,t]),this;n=this.__data__=new Se(o)}return n.set(e,t),this};var Ie=ce?$(ce,Object):function(){return[]},Pe=function(e){return te.call(e)};function De(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||F.test(e))&&e>-1&&e%1==0&&e<t}function He(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||G)}function Re(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function je(e,t){return e===t||e!=e&&t!=t}(pe&&Pe(new pe(new ArrayBuffer(1)))!=b||fe&&Pe(new fe)!=c||he&&Pe(he.resolve())!=p||me&&Pe(new me)!=h||ve&&Pe(new ve)!=g)&&(Pe=function(e){var t=te.call(e),n=t==A?e.constructor:void 0,o=n?Re(n):void 0;if(o)switch(o){case ye:return b;case be:return c;case we:return p;case Le:return h;case Ce:return g}return t});var $e=Array.isArray;function ze(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!We(e)}var Ke=de||function(){return!1};function We(e){var t=Ye(e)?te.call(e):"";return t==s||t==u}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return ze(e)?Te(e):function(e){if(!He(e))return Ae(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ve(e,!0,!0)}},2307:(e,t,n)=>{e=n.nmd(e);var o="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",a="[object Array]",l="[object Boolean]",s="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",A="[object Number]",p="[object Object]",f="[object Promise]",h="[object RegExp]",m="[object Set]",v="[object String]",g="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",L=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,B={};
vendor: 3,779 bytes, line 2
2B["[object Float32Array]"]=B["[object Float64Array]"]=B["[object Int8Array]"]=B["[object Int16Array]"]=B["[object Int32Array]"]=B["[object Uint8Array]"]=B["[object Uint8ClampedArray]"]=B["[object Uint16Array]"]=B["[object Uint32Array]"]=!0,B[i]=B[a]=B[b]=B[l]=B[w]=B[s]=B[u]=B[c]=B[d]=B[A]=B[p]=B[h]=B[m]=B[v]=B[y]=!1;var _="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,k="object"==typeof self&&self&&self.Object===Object&&self,x=_||k||Function("return this")(),S=t&&!t.nodeType&&t,E=S&&e&&!e.nodeType&&e,T=E&&E.exports===S,N=T&&_.process,F=function(){try{return N&&N.binding&&N.binding("util")}catch(e){}}(),V=F&&F.isTypedArray;function O(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function U(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function Q(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var q,M,I,P=Array.prototype,D=Function.prototype,H=Object.prototype,R=x["__core-js_shared__"],j=D.toString,$=H.hasOwnProperty,z=(q=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",K=H.toString,W=RegExp("^"+j.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=T?x.Buffer:void 0,G=x.Symbol,Z=x.Uint8Array,J=H.propertyIsEnumerable,X=P.splice,ee=G?G.toStringTag:void 0,te=Object.getOwnPropertySymbols,ne=Y?Y.isBuffer:void 0,oe=(M=Object.keys,I=Object,function(e){return M(I(e))}),re=Fe(x,"DataView"),ie=Fe(x,"Map"),ae=Fe(x,"Promise"),le=Fe(x,"Set"),se=Fe(x,"WeakMap"),ue=Fe(Object,"create"),ce=Qe(re),de=Qe(ie),Ae=Qe(ae),pe=Qe(le),fe=Qe(se),he=G?G.prototype:void 0,me=he?he.valueOf:void 0;function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ye;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new ge(e);this.size=t.size}function Le(e,t){var n=Ie(e),o=!n&&Me(e),r=!n&&!o&&Pe(e),i=!n&&!o&&!r&&$e(e),a=n||o||r||i,l=a?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],s=l.length;for(var u in e)!t&&!$.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ue(u,s))||l.push(u);return l}function Ce(e,t){for(var n=e.length;n--;)if(qe(e[n][0],t))return n;return-1}function Be(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ee&&ee in Object(e)?function(e){var t=$.call(e,ee),n=e[ee];try{e[ee]=void 0;var o=!0}catch(e){}var r=K.call(e);o&&(t?e[ee]=n:delete e[ee]);return r}(e):function(e){return K.call(e)}(e)}function _e(e){return je(e)&&Be(e)==i}function ke(e,t,n,o,r){return e===t||(null==e||null==t||!je(e)&&!je(t)?e!=e&&t!=t:function(e,t,n,o,r,c){var f=Ie(e),y=Ie(t),L=f?a:Oe(e),C=y?a:Oe(t),B=(L=L==i?p:L)==p,_=(C=C==i?p:C)==p,k=L==C;if(k&&Pe(e)){if(!Pe(t))return!1;f=!0,B=!1}if(k&&!B)return c||(c=new we),f||$e(e)?Ee(e,t,n,o,r,c):function(e,t,n,o,r,i,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!i(new Z(e),new Z(t)));case l:case s:case A:return qe(+e,+t);case u:return e.name==t.name&&e.message==t.message;case h:case v:return e==t+"";case d:var c=U;case m:var p=1&o;if(c||(c=Q),e.size!=t.size&&!p)return!1;var f=a.get(e);if(f)return f==t;o|=2,a.set(e,t);var y=Ee(c(e),c(t),o,r,i,a);return a.delete(e),y;case g:if(me)return me.call(e)==me.call(t)}return!1}(e,t,L,n,o,r,c);if(!(1&n)){var x=B&&$.call(e,"__wrapped__"),S=_&&$.call(t,"__wrapped__");
vendor: 4,526 bytes, line 2
2if(x||S){var E=x?e.value():e,T=S?t.value():t;return c||(c=new we),r(E,T,n,o,c)}}if(!k)return!1;return c||(c=new we),function(e,t,n,o,r,i){var a=1&n,l=Te(e),s=l.length,u=Te(t).length;if(s!=u&&!a)return!1;var c=s;for(;c--;){var d=l[c];if(!(a?d in t:$.call(t,d)))return!1}var A=i.get(e);if(A&&i.get(t))return A==t;var p=!0;i.set(e,t),i.set(t,e);var f=a;for(;++c<s;){var h=e[d=l[c]],m=t[d];if(o)var v=a?o(m,h,d,t,e,i):o(h,m,d,e,t,i);if(!(void 0===v?h===m||r(h,m,n,o,i):v)){p=!1;break}f||(f="constructor"==d)}if(p&&!f){var g=e.constructor,y=t.constructor;g==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,o,r,c)}(e,t,n,o,ke,r))}function xe(e){return!(!Re(e)||function(e){return!!z&&z in e}(e))&&(De(e)?W:L).test(Qe(e))}function Se(e){if(!function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||H;return e===n}(e))return oe(e);var t=[];for(var n in Object(e))$.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ee(e,t,n,o,r,i){var a=1&n,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var c=-1,d=!0,A=2&n?new be:void 0;for(i.set(e,t),i.set(t,e);++c<l;){var p=e[c],f=t[c];if(o)var h=a?o(f,p,c,t,e,i):o(p,f,c,e,t,i);if(void 0!==h){if(h)continue;d=!1;break}if(A){if(!O(t,(function(e,t){if(a=t,!A.has(a)&&(p===e||r(p,e,n,o,i)))return A.push(t);var a}))){d=!1;break}}else if(p!==f&&!r(p,f,n,o,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Te(e){return function(e,t,n){var o=t(e);return Ie(e)?o:function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}(o,n(e))}(e,ze,Ve)}function Ne(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Fe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xe(n)?n:void 0}ve.prototype.clear=function(){this.__data__=ue?ue(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(ue){var n=t[e];return n===o?void 0:n}return $.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return ue?void 0!==t[e]:$.call(t,e)},ve.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ue&&void 0===t?o:t,this},ge.prototype.clear=function(){this.__data__=[],this.size=0},ge.prototype.delete=function(e){var t=this.__data__,n=Ce(t,e);return!(n<0)&&(n==t.length-1?t.pop():X.call(t,n,1),--this.size,!0)},ge.prototype.get=function(e){var t=this.__data__,n=Ce(t,e);return n<0?void 0:t[n][1]},ge.prototype.has=function(e){return Ce(this.__data__,e)>-1},ge.prototype.set=function(e,t){var n=this.__data__,o=Ce(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(ie||ge),string:new ve}},ye.prototype.delete=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Ne(this,e).get(e)},ye.prototype.has=function(e){return Ne(this,e).has(e)},ye.prototype.set=function(e,t){var n=Ne(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,o),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ge,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ge){var o=n.__data__;if(!ie||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(o)}return n.set(e,t),this.size=n.size,this};var Ve=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}(te(e),(function(t){return J.call(e,t)})))}:function(){return[]},Oe=Be;function Ue(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||C.test(e))&&e>-1&&e%1==0&&e<t}function Qe(e){if(null!=e){try{return j.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function qe(e,t){return e===t||e!=e&&t!=t}(re&&Oe(new re(new ArrayBuffer(1)))!=w||ie&&Oe(new ie)!=d||ae&&Oe(ae.resolve())!=f||le&&Oe(new le)!=m||se&&Oe
2(new se)!=y)&&(Oe=function(e){var t=Be(e),n=t==p?e.constructor:void 0,o=n?Qe(n):"";if(o)switch(o){case ce:return w;case de:return d;case Ae:return f;case pe:return m;case fe:return y}return t});var Me=_e(function(){return arguments}())?_e:function(e){return je(e)&&$.call(e,"callee")&&!J.call(e,"callee")},Ie=Array.isArray;var Pe=ne||function(){return!1};function De(e){if(!Re(e))return!1;var t=Be(e);return t==c||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function He(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Re(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==typeof e}var $e=V?function(e){return function(t){return e(t)}}(V):function(e){return je(e)&&He(e.length)&&!!B[Be(e)]};function ze(e){return function(e){return null!=e&&He(e.length)&&!De(e)}(e)?Le(e):Se(e)}e.exports=function(e,t){return ke(e,t)}},6486:function(e,t,n){var o;e=n.nmd(e),function(){var r,i="Expected a function",a="__lodash_hash_undefined__",l="__lodash_placeholder__",s=16,u=32,c=64,d=128,A=256,p=1/0,f=9007199254740991,h=NaN,m=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",u],["partialRight",c],["rearg",A]],g="[object Arguments]",y="[object Array]",b="[object Boolean]",w="[object Date]",L="[object Error]",C="[object Function]",B="[object GeneratorFunction]",_="[object Map]",k="[object Number]",x="[object Object]",S="[object Promise]",E="[object RegExp]",T="[object Set]",N="[object String]",F="[object Symbol]",V="[object WeakMap]",O="[object ArrayBuffer]",U="[object DataView]",Q="[object Float32Array]",q="[object Float64Array]",M="[object Int8Array]",I="[object Int16Array]",P="[object Int32Array]",D="[object Uint8Array]",H="[object Uint8ClampedArray]",R="[object Uint16Array]",j="[object Uint32Array]",$=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,G=RegExp(W.source),Z=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(re.source),ae=/^\s+/,le=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ae=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 16,266 bytes, line 2
27f]/g,Le=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,Be="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['â]",Ne="[\\ud800-\\udfff]",Fe="["+Ee+"]",Ve="["+Be+"]",Oe="\\d+",Ue="[\\u2700-\\u27bf]",Qe="["+ke+"]",qe="[^\\ud800-\\udfff"+Ee+Oe+_e+ke+xe+"]",Me="\\ud83c[\\udffb-\\udfff]",Ie="[^\\ud800-\\udfff]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+xe+"]",Re="(?:"+Qe+"|"+qe+")",je="(?:"+He+"|"+qe+")",$e="(?:['â](?:d|ll|m|re|s|t|ve))?",ze="(?:['â](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+Ve+"|"+Me+")"+"?",We="[\\ufe0e\\ufe0f]?",Ye=We+Ke+("(?:\\u200d(?:"+[Ie,Pe,De].join("|")+")"+We+Ke+")*"),Ge="(?:"+[Ue,Pe,De].join("|")+")"+Ye,Ze="(?:"+[Ie+Ve+"?",Ve,Pe,De,Ne].join("|")+")",Je=RegExp(Te,"g"),Xe=RegExp(Ve,"g"),et=RegExp(Me+"(?="+Me+")|"+Ze+Ye,"g"),tt=RegExp([He+"?"+Qe+"+"+$e+"(?="+[Fe,He,"$"].join("|")+")",je+"+"+ze+"(?="+[Fe,He+Re,"$"].join("|")+")",He+"?"+Re+"+"+$e,He+"+"+ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Ge].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+Be+Se+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[Q]=at[q]=at[M]=at[I]=at[P]=at[D]=at[H]=at[R]=at[j]=!0,at[g]=at[y]=at[O]=at[b]=at[U]=at[w]=at[L]=at[C]=at[_]=at[k]=at[x]=at[E]=at[T]=at[N]=at[V]=!1;var lt={};lt[g]=lt[y]=lt[O]=lt[U]=lt[b]=lt[w]=lt[Q]=lt[q]=lt[M]=lt[I]=lt[P]=lt[_]=lt[k]=lt[x]=lt[E]=lt[T]=lt[N]=lt[F]=lt[D]=lt[H]=lt[R]=lt[j]=!0,lt[L]=lt[C]=lt[V]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,dt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,At="object"==typeof self&&self&&self.Object===Object&&self,pt=dt||At||Function("return this")(),ft=t&&!t.nodeType&&t,ht=ft&&e&&!e.nodeType&&e,mt=ht&&ht.exports===ft,vt=mt&&dt.process,gt=function(){try{var e=ht&&ht.require&&ht.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),yt=gt&>.isArrayBuffer,bt=gt&>.isDate,wt=gt&>.isMap,Lt=gt&>.isRegExp,Ct=gt&>.isSet,Bt=gt&>.isTypedArray;function _t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function kt(e,t,n,o){for(var r=-1,i=null==e?0:e.length;++r<i;){var a=e[r];t(o,a,n(a),e)}return o}function xt(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Et(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(!t(e[n],n,e))return!1;return!0}function Tt(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}function Nt(e,t){return!!(null==e?0:e.length)&&Dt(e,t,0)>-1}function Ft(e,t,n){for(var o=-1,r=null==e?0:e.length;++o<r;)if(n(t,e[o]))return!0;return!1}function Vt(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}function Ot(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}function Ut(e,t,n,o){var r=-1,i=null==e?0:e.length;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function Qt(e,t,n,o){var r=null==e?0:e.length;for(o&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function qt(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}var Mt=$t("length");function It(e,t,n){var o;return n(e,(function(e,n,r){if(t(e,n,r))return o=n,!1})),o}function Pt(e,t,n,o){for(var r=e.length,i=n+(o?1:-1);o?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function Dt(e,t,n){return t==t?function(e,t,n){var o=n-1,r=e.length;for(;++o<r;)if(e[o]===t)return o;return-1}(e,t,n):Pt(e,Rt,n)}function Ht(e,t,n,o){for(var r=n-1,i=e.length;++r<i;)if(o(e[r],t))return r;return-1}function Rt(e){return e!=e}function jt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:h}function $t(e){return function(t){return null==t?r:t[e]}}function zt(e){return function(t){return null==e?r:e[t]}}function Kt(e,t,n,o,r){return r(e,(function(e,r,i){n=o?(o=!1,e):t(n,e,r,i)})),n}function Wt(e,t){for(var n,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==r&&(n=n===r?a:n+a)}return n}function Yt(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}function Gt(e){return e?e.slice(0,hn(e)+1).replace(ae,""):e}function Zt(e){return function(t){return e(t)}}function Jt(e,t){return Vt(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function en(e,t){for(var n=-1,o=e.length;++n<o&&Dt(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Dt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,o=0;n--;)e[n]===t&&++o;return o}var on=zt({Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"}),rn=zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+st[e]}function ln(e){return nt.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,o=e.length,r=0,i=[];++n<o;){var a=e[n];a!==t&&a!==l||(e[n]=l,i[r++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function An(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return ln(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Mt(e)}function fn(e){return ln(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function hn(e){for(var t=e.length;t--&&le.test(e.charAt(t)););return t}var mn=zt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,o=(t=null==t?pt:vn.defaults(pt.Object(),t,vn.pick(pt,rt))).Array,le=t.Date,Be=t.Error,_e=t.Function,ke=t.Math,xe=t.Object,Se=t.RegExp,Ee=t.String,Te=t.TypeError,Ne=o.prototype,Fe=_e.prototype,Ve=xe.prototype,Oe=t["__core-js_shared__"],Ue=Fe.toString,Qe=Ve.hasOwnProperty,qe=0,Me=(n=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ie=Ve.toString,Pe=Ue.call(xe),De=pt._,He=Se("^"+Ue.call(Qe).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=mt?t.Buffer:r,je=t.Symbol,$e=t.Uint8Array,ze=Re?Re.allocUnsafe:r,Ke=un(xe.getPrototypeOf,xe),We=xe.create,Ye=Ve.propertyIsEnumerable,Ge=Ne.splice,Ze=je?je.isConcatSpreadable:r,et=je?je.iterator:r,nt=je?je.toStringTag:r,st=function(){try{var e=fi(xe,"defineProperty");return e({},"",{}),e}catch(e){}}(),dt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,At=le&&le.now!==pt.Date.now&&le.now,ft=t.setTimeout!==pt.setTimeout&&t.setTimeout,ht=ke.ceil,vt=ke.floor,gt=xe.getOwnPropertySymbols,Mt=Re?Re.isBuffer:r,zt=t.isFinite,gn=Ne.join,yn=un(xe.keys,xe),bn=ke.max,wn=ke.min,Ln=le.now,Cn=t.parseInt,Bn=ke.random,_n=Ne.reverse,kn=fi(t,"DataView"),xn=fi(t,"Map"),Sn=fi(t,"Promise"),En=fi(t,"Set"),Tn=fi(t,"WeakMap"),Nn=fi(xe,"create"),Fn=Tn&&new Tn,Vn={},On=Di(kn),Un=Di(xn),Qn=Di(Sn),qn=Di(En),Mn=Di(Tn),In=je?je.prototype:r,Pn=In?In.valueOf:r,Dn=In?In.toString:r;function Hn(e){if(rl(e)&&!Ka(e)&&!(e instanceof zn)){if(e instanceof $n)return e;if(Qe.call(e,"__wrapped__"))return Hi(e)}return new $n(e)}var Rn=function(){function e(){}return function(t){if(!ol(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function jn(){}function $n(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function zn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Jn(e,t){var n=Ka(e),o=!n&&za(e),r=!n&&!o&&Za(e),i=!n&&!o&&!r&&Al(e),a=n||o||r||i,l=a?Yt(e.length,Ee):[],s=l.length;for(var u in e)!t&&!Qe.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||wi(u,s))||l.push(u);return l}function Xn(e){var t=e.length;return t?e[Zo(0,t-1)]:r}function eo(e,t){return Mi(Fr(e),uo(t,0,e.length))}function to(e){return Mi(Fr(e))}function no(e,t,n){(n!==r&&!Ra(e[t],n)||n===r&&!(t in e))&&lo(e,t,n)}function oo(e,t,n){var o=e[t];Qe.call(e,t)&&Ra(o,n)&&(n!==r||t in e)||lo(e,t,n)}function ro(e,t){for(var n=e.length;n--;)if(Ra(e[n][0],t))return n;return-1}function io(e,t,n,o){return ho(e,(function(e,r,i){t(o,e,n(e),i)})),o}function ao(e,t){return e&&Vr(t,Ol(t),e)}function lo(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function so(e,t){for(var n=-1,i=t.length,a=o(i),l=null==e;++n<i;)a[n]=l?r:El(e,t[n]);return a}function uo(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function co(e,t,n,o,i,a){var l,s=1&t,u=2&t,c=4&t;if(n&&(l=i?n(e,o,i,a):n(e)),l!==r)return l;if(!ol(e))return e;var d=Ka(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Qe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Fr(e,l)}else{var A=vi(e),p=A==C||A==B;if(Za(e))return kr(e,s);if(A==x||A==g||p&&!i){if(l=u||p?{}:yi(e),!s)return u?function(e,t){return Vr(e,mi(e),t)}(e,function(e,t){return e&&Vr(t,Ul(t),e)}(l,e)):function(e,t){return Vr(e,hi(e),t)}(e,ao(l,e))}else{if(!lt[A])return i?e:{};l=function(e,t,n){var o=e.constructor;switch(t){case O:return xr(e);case b:case w:return new o(+e);case U:return function(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case Q:case q:case M:case I:case P:case D:case H:case R:case j:return Sr(e,n);case _:return new o;case k:case N:return new o(e);case E:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new o;case F:return r=e,Pn?xe(Pn.call(r)):{}}var r}(e,A,s)}}a||(a=new Zn);var f=a.get(e);if(f)return f;a.set(e,l),ul(e)?e.forEach((function(o){l.add(co(o,t,n,o,e,a))})):il(e)&&e.forEach((function(o,r){l.set(r,co(o,t,n,r,e,a))}));var h=d?r:(c?u?li:ai:u?Ul:Ol)(e);return xt(h||e,(function(o,r){h&&(o=e[r=o]),oo(l,r,co(o,t,n,r,e,a))})),l}function Ao(e,t,n){var o=n.length;if(null==e)return!o;for(e=xe(e);o--;){var i=n[o],a=t[i],l=e[i];if(l===r&&!(i in e)||!a(l))return!1}return!0}function po(e,t,n){if("function"!=typeof e)throw new Te(i);return Oi((function(){e.apply(r,n)}),t)}function fo(e,t,n,o){var r=-1,i=Nt,a=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Vt(t,Zt(n))),o?(i=Ft,a=!1):t.length>=200&&(i=Xt,a=!1,t=new Gn(t));e:for(;++r<l;){var c=e[r],d=null==n?c:n(c);if(c=o||0!==c?c:0,a&&d==d){for(var A=u;A--;)if(t[A]===d)continue e;s.push(c)}else i(t,d,o)||s.push(c)}return s}Hn.templateSettings={escape:J,evaluate:X,interpolate:ee,variable:"",imports:{_:Hn}},Hn.prototype=jn.prototype,Hn.prototype.constructor=Hn,$n.prototype=Rn(jn.prototype),$n.prototype.constructor=$n,zn.prototype=Rn(jn.prototype),zn.prototype.constructor=zn,Kn.prototype.clear=function(){this.__data__=Nn?Nn(null):{},this.size=0},Kn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Kn.prototype.get=function(e){var t=this.__data__;if(Nn){var n=t[e];return n===a?r:n}return Qe.call(t,e)?t[e]:r},Kn.prototype.has=function(e){var t=this.__data__;return Nn?t[e]!==r:Qe.call(t,e)},Kn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Nn&&t===r?a:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=ro(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,!0)},Wn.prototype.get=function(e){var t=this.__data__,n=ro(t,e);return n<0?r:t[n][1]},Wn.prototype.has=function(e){return ro(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,o=ro(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(xn||Wn),string:new Kn}},Yn.prototype.delete=function(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return Ai(this,e).get(e)},Yn.prototype.has=function(e){return Ai(this,e).has(e)},Yn.prototype.set=function(e,t){var n=Ai(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,a),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var o=n.__data__;if(!xn||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(o)}return n.set(e,t),this.size=n.size,this};var ho=Qr(Co),mo=Qr(Bo,!0);function vo(e,t){var n=!0;return ho(e,(function(e,o,r){return n=!!t(e,o,r)})),n}function go(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(s===r?l==l&&!dl(l):n(l,s)))var s=l,u=a}return u}function yo(e,t){var n=[];return ho(e,(function(e,o,r){t(e,o,r)&&n.push(e)})),n}function bo(e,t,n,o,r){var i=-1,a=e.length;for(n||(n=bi),r||(r=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?bo(l,t-1,n,o,r):Ot(r,l):o||(r[r.length]=l)}return r}var wo=qr(),Lo=qr(!0);function Co(e,t){return e&&wo(e,t,Ol)}function Bo(e,t){return e&&Lo(e,t,Ol)}function _o(e,t){return Tt(t,(function(t){return el(e[t])}))}function ko(e,t){for(var n=0,o=(t=Lr(t,e)).length;null!=e&&n<o;)e=e[Pi(t[n++])];return n&&n==o?e:r}function xo(e,t,n){var o=t(e);return Ka(e)?o:Ot(o,n(e))}function So(e){return null==e?e===r?"[object Undefined]":"[object Null]":nt&&nt in xe(e)?function(e){var t=Qe.call(e,nt),n=e[nt];try{e[nt]=r;var o=!0}catch(e){}var i=Ie.call(e);o&&(t?e[nt]=n:delete e[nt]);return i}(e):function(e){return Ie.call(e)}(e)}function Eo(e,t){return e>t}function To(e,t){return null!=e&&Qe.call(e,t)}function No(e,t){return null!=e&&t in xe(e)}
vendor: 1,450 bytes, line 2
2function Fo(e,t,n){for(var i=n?Ft:Nt,a=e[0].length,l=e.length,s=l,u=o(l),c=1/0,d=[];s--;){var A=e[s];s&&t&&(A=Vt(A,Zt(t))),c=wn(A.length,c),u[s]=!n&&(t||a>=120&&A.length>=120)?new Gn(s&&A):r}A=e[0];var p=-1,f=u[0];e:for(;++p<a&&d.length<c;){var h=A[p],m=t?t(h):h;if(h=n||0!==h?h:0,!(f?Xt(f,m):i(d,m,n))){for(s=l;--s;){var v=u[s];if(!(v?Xt(v,m):i(e[s],m,n)))continue e}f&&f.push(m),d.push(h)}}return d}function Vo(e,t,n){var o=null==(e=Ti(e,t=Lr(t,e)))?e:e[Pi(Xi(t))];return null==o?r:_t(o,e,n)}function Oo(e){return rl(e)&&So(e)==g}function Uo(e,t,n,o,i){return e===t||(null==e||null==t||!rl(e)&&!rl(t)?e!=e&&t!=t:function(e,t,n,o,i,a){var l=Ka(e),s=Ka(t),u=l?y:vi(e),c=s?y:vi(t),d=(u=u==g?x:u)==x,A=(c=c==g?x:c)==x,p=u==c;if(p&&Za(e)){if(!Za(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Zn),l||Al(e)?ri(e,t,n,o,i,a):function(e,t,n,o,r,i,a){switch(n){case U:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!i(new $e(e),new $e(t)));case b:case w:case k:return Ra(+e,+t);case L:return e.name==t.name&&e.message==t.message;case E:case N:return e==t+"";case _:var l=sn;case T:var s=1&o;if(l||(l=dn),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;o|=2,a.set(e,t);var c=ri(l(e),l(t),o,r,i,a);return a.delete(e),c;case F:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}(e,t,u,n,o,i,a);if(!(1&n)){var f=d&&Qe.call(e,"__wrapped__"),h=A&&Qe.call(t,"__wrapped__");
vendor: 5,045 bytes, line 2
2if(f||h){var m=f?e.value():e,v=h?t.value():t;return a||(a=new Zn),i(m,v,n,o,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,o,i,a){var l=1&n,s=ai(e),u=s.length,c=ai(t).length;if(u!=c&&!l)return!1;var d=u;for(;d--;){var A=s[d];if(!(l?A in t:Qe.call(t,A)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var h=!0;a.set(e,t),a.set(t,e);var m=l;for(;++d<u;){var v=e[A=s[d]],g=t[A];if(o)var y=l?o(g,v,A,t,e,a):o(v,g,A,e,t,a);if(!(y===r?v===g||i(v,g,n,o,a):y)){h=!1;break}m||(m="constructor"==A)}if(h&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,o,i,a)}(e,t,n,o,Uo,i))}function Qo(e,t,n,o){var i=n.length,a=i,l=!o;if(null==e)return!a;for(e=xe(e);i--;){var s=n[i];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var u=(s=n[i])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===r&&!(u in e))return!1}else{var A=new Zn;if(o)var p=o(c,d,u,e,t,A);if(!(p===r?Uo(d,c,3,o,A):p))return!1}}return!0}function qo(e){return!(!ol(e)||(t=e,Me&&Me in t))&&(el(e)?He:ge).test(Di(e));var t}function Mo(e){return"function"==typeof e?e:null==e?as:"object"==typeof e?Ka(e)?jo(e[0],e[1]):Ro(e):hs(e)}function Io(e){if(!ki(e))return yn(e);var t=[];for(var n in xe(e))Qe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Po(e){if(!ol(e))return function(e){var t=[];if(null!=e)for(var n in xe(e))t.push(n);return t}(e);var t=ki(e),n=[];for(var o in e)("constructor"!=o||!t&&Qe.call(e,o))&&n.push(o);return n}function Do(e,t){return e<t}function Ho(e,t){var n=-1,r=Ya(e)?o(e.length):[];return ho(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Ro(e){var t=pi(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||Qo(n,e,t)}}function jo(e,t){return Ci(e)&&xi(t)?Si(Pi(e),t):function(n){var o=El(n,e);return o===r&&o===t?Tl(n,e):Uo(t,o,3)}}function $o(e,t,n,o,i){e!==t&&wo(t,(function(a,l){if(i||(i=new Zn),ol(a))!function(e,t,n,o,i,a,l){var s=Fi(e,n),u=Fi(t,n),c=l.get(u);if(c)return void no(e,n,c);var d=a?a(s,u,n+"",e,t,l):r,A=d===r;if(A){var p=Ka(u),f=!p&&Za(u),h=!p&&!f&&Al(u);d=u,p||f||h?Ka(s)?d=s:Ga(s)?d=Fr(s):f?(A=!1,d=kr(u,!0)):h?(A=!1,d=Sr(u,!0)):d=[]:ll(u)||za(u)?(d=s,za(s)?d=bl(s):ol(s)&&!el(s)||(d=yi(u))):A=!1}A&&(l.set(u,d),i(d,u,o,a,l),l.delete(u));no(e,n,d)}(e,t,l,n,$o,o,i);else{var s=o?o(Fi(e,l),a,l+"",e,t,i):r;s===r&&(s=a),no(e,l,s)}}),Ul)}function zo(e,t){var n=e.length;if(n)return wi(t+=t<0?n:0,n)?e[t]:r}function Ko(e,t,n){t=t.length?Vt(t,(function(e){return Ka(e)?function(t){return ko(t,1===e.length?e[0]:e)}:e})):[as];var o=-1;t=Vt(t,Zt(di()));var r=Ho(e,(function(e,n,r){var i=Vt(t,(function(t){return t(e)}));return{criteria:i,index:++o,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(r,(function(e,t){return function(e,t,n){var o=-1,r=e.criteria,i=t.criteria,a=r.length,l=n.length;for(;++o<a;){var s=Er(r[o],i[o]);if(s)return o>=l?s:s*("desc"==n[o]?-1:1)}return e.index-t.index}(e,t,n)}))}function Wo(e,t,n){for(var o=-1,r=t.length,i={};++o<r;){var a=t[o],l=ko(e,a);n(l,a)&&nr(i,Lr(a,e),l)}return i}function Yo(e,t,n,o){var r=o?Ht:Dt,i=-1,a=t.length,l=e;for(e===t&&(t=Fr(t)),n&&(l=Vt(e,Zt(n)));++i<a;)for(var s=0,u=t[i],c=n?n(u):u;(s=r(l,c,s,o))>-1;)l!==e&&Ge.call(l,s,1),Ge.call(e,s,1);return e}function Go(e,t){for(var n=e?t.length:0,o=n-1;n--;){var r=t[n];if(n==o||r!==i){var i=r;wi(r)?Ge.call(e,r,1):fr(e,r)}}return e}function Zo(e,t){return e+vt(Bn()*(t-e+1))}function Jo(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Xo(e,t){return Ui(Ei(e,t,as),e+"")}function er(e){return Xn(Rl(e))}function tr(e,t){var n=Rl(e);return Mi(n,uo(t,0,n.length))}function nr(e,t,n,o){if(!ol(e))return e;for(var i=-1,a=(t=Lr(t,e)).length,l=a-1,s=e;null!=s&&++i<a;){var u=Pi(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=l){var d=s[u];(c=o?o(d,u,s):r)===r&&(c=ol(d)?d:wi(t[i+1])?[]:{})}oo(s,u,c),s=s[u]}return e}var or=Fn?function(e,t){return Fn.set(e,t),e}:as,rr=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:os(t),writable:!0})}:as;function ir(e){return Mi(Rl(e))}function ar(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=o(i);++r<i;)a[r]=e[r+t];return a}function lr(e,t){var n;return ho(e,(function(e,o,r){return!(n=t(e,o,r))})),!!n}function sr(e,t,n){var o=0,r=null==e?o:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;o<r;){var i=o+r>>>1,a=e[i];null!==a&&!dl(a)&&(n?a<=t:a<t)?o=i+1:r=i}return r}return ur(e,t,as,n)}function ur(e,t,n,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var l=(t=n(t))!=t,s=null===t,u=dl(t),c=t===r;i<a;){var d=vt((i+a)/2),A=n(e[d]),p=A!==r,f=null===A,h=A==A,m=dl(A);if(l)var v=o||h;else v=c?h&&(o||p):s?h&&p&&(o||!f):u?h&&p&&!f&&(o||!m):!f&&!m&&(o?A<=t:A<t);v?i=d+1:a=d}return wn(a,4294967294)}function cr(e,t){for(var n=-1,o=e.length,r=0,i=[];++n<o;){var a=e[n],l=t?t(a):a;
vendor: 4,494 bytes, line 2
2if(!n||!Ra(l,s)){var s=l;i[r++]=0===a?0:a}}return i}function dr(e){return"number"==typeof e?e:dl(e)?h:+e}function Ar(e){if("string"==typeof e)return e;if(Ka(e))return Vt(e,Ar)+"";if(dl(e))return Dn?Dn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function pr(e,t,n){var o=-1,r=Nt,i=e.length,a=!0,l=[],s=l;if(n)a=!1,r=Ft;else if(i>=200){var u=t?null:Jr(e);if(u)return dn(u);a=!1,r=Xt,s=new Gn}else s=t?[]:l;e:for(;++o<i;){var c=e[o],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var A=s.length;A--;)if(s[A]===d)continue e;t&&s.push(d),l.push(c)}else r(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function fr(e,t){return null==(e=Ti(e,t=Lr(t,e)))||delete e[Pi(Xi(t))]}function hr(e,t,n,o){return nr(e,t,n(ko(e,t)),o)}function mr(e,t,n,o){for(var r=e.length,i=o?r:-1;(o?i--:++i<r)&&t(e[i],i,e););return n?ar(e,o?0:i,o?i+1:r):ar(e,o?i+1:0,o?r:i)}function vr(e,t){var n=e;return n instanceof zn&&(n=n.value()),Ut(t,(function(e,t){return t.func.apply(t.thisArg,Ot([e],t.args))}),n)}function gr(e,t,n){var r=e.length;if(r<2)return r?pr(e[0]):[];for(var i=-1,a=o(r);++i<r;)for(var l=e[i],s=-1;++s<r;)s!=i&&(a[i]=fo(a[i]||l,e[s],t,n));return pr(bo(a,1),t,n)}function yr(e,t,n){for(var o=-1,i=e.length,a=t.length,l={};++o<i;){var s=o<a?t[o]:r;n(l,e[o],s)}return l}function br(e){return Ga(e)?e:[]}function wr(e){return"function"==typeof e?e:as}function Lr(e,t){return Ka(e)?e:Ci(e,t)?[e]:Ii(wl(e))}var Cr=Xo;function Br(e,t,n){var o=e.length;return n=n===r?o:n,!t&&n>=o?e:ar(e,t,n)}var _r=dt||function(e){return pt.clearTimeout(e)};function kr(e,t){if(t)return e.slice();var n=e.length,o=ze?ze(n):new e.constructor(n);return e.copy(o),o}function xr(e){var t=new e.constructor(e.byteLength);return new $e(t).set(new $e(e)),t}function Sr(e,t){var n=t?xr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Er(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=dl(e),l=t!==r,s=null===t,u=t==t,c=dl(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!u)return-1}return 0}function Tr(e,t,n,r){for(var i=-1,a=e.length,l=n.length,s=-1,u=t.length,c=bn(a-l,0),d=o(u+c),A=!r;++s<u;)d[s]=t[s];for(;++i<l;)(A||i<a)&&(d[n[i]]=e[i]);for(;c--;)d[s++]=e[i++];return d}function Nr(e,t,n,r){for(var i=-1,a=e.length,l=-1,s=n.length,u=-1,c=t.length,d=bn(a-s,0),A=o(d+c),p=!r;++i<d;)A[i]=e[i];for(var f=i;++u<c;)A[f+u]=t[u];for(;++l<s;)(p||i<a)&&(A[f+n[l]]=e[i++]);return A}function Fr(e,t){var n=-1,r=e.length;for(t||(t=o(r));++n<r;)t[n]=e[n];return t}function Vr(e,t,n,o){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var s=t[a],u=o?o(n[s],e[s],s,n,e):r;u===r&&(u=e[s]),i?lo(n,s,u):oo(n,s,u)}return n}function Or(e,t){return function(n,o){var r=Ka(n)?kt:io,i=t?t():{};return r(n,e,di(o,2),i)}}function Ur(e){return Xo((function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:r,l=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,l&&Li(n[0],n[1],l)&&(a=i<3?r:a,i=1),t=xe(t);++o<i;){var s=n[o];s&&e(t,s,o,a)}return t}))}function Qr(e,t){return function(n,o){if(null==n)return n;if(!Ya(n))return e(n,o);for(var r=n.length,i=t?r:-1,a=xe(n);(t?i--:++i<r)&&!1!==o(a[i],i,a););return n}}function qr(e){return function(t,n,o){for(var r=-1,i=xe(t),a=o(t),l=a.length;l--;){var s=a[e?l:++r];if(!1===n(i[s],s,i))break}return t}}function Mr(e){return function(t){var n=ln(t=wl(t))?fn(t):r,o=n?n[0]:t.charAt(0),i=n?Br(n,1).join(""):t.slice(1);return o[e]()+i}}function Ir(e){return function(t){return Ut(es(zl(t).replace(Je,"")),e,"")}}function Pr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Rn(e.prototype),o=e.apply(n,t);return ol(o)?o:n}}function Dr(e){return function(t,n,o){var i=xe(t);if(!Ya(t)){var a=di(n,3);t=Ol(t),n=function(e){return a(i[e],e,i)}}var l=e(t,n,o);return l>-1?i[a?t[l]:l]:r}}function Hr(e){return ii((function(t){var n=t.length,o=n,a=$n.prototype.thru;for(e&&t.reverse();o--;){var l=t[o];if("function"!=typeof l)throw new Te(i);if(a&&!s&&"wrapper"==ui(l))var s=new $n([],!0)}for(o=s?o:n;++o<n;){var u=ui(l=t[o]),c="wrapper"==u?si(l):r;s=c&&Bi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[ui(c[0])].apply(s,c[3]):1==l.length&&Bi(l)?s[u]():s.thru(l)}return function(){var e=arguments,o=e[0];
vendor: 27,018 bytes, line 2
2if(s&&1==e.length&&Ka(o))return s.plant(o).value();for(var r=0,i=n?t[r].apply(this,e):o;++r<n;)i=t[r].call(this,i);return i}}))}function Rr(e,t,n,i,a,l,s,u,c,A){var p=t&d,f=1&t,h=2&t,m=24&t,v=512&t,g=h?r:Pr(e);return function r(){for(var d=arguments.length,y=o(d),b=d;b--;)y[b]=arguments[b];if(m)var w=ci(r),L=nn(y,w);if(i&&(y=Tr(y,i,a,m)),l&&(y=Nr(y,l,s,m)),d-=L,m&&d<A){var C=cn(y,w);return Gr(e,t,Rr,r.placeholder,n,y,C,u,c,A-d)}var B=f?n:this,_=h?B[e]:e;return d=y.length,u?y=Ni(y,u):v&&d>1&&y.reverse(),p&&c<d&&(y.length=c),this&&this!==pt&&this instanceof r&&(_=g||Pr(_)),_.apply(B,y)}}function jr(e,t){return function(n,o){return function(e,t,n,o){return Co(e,(function(e,r,i){t(o,n(e),r,i)})),o}(n,e,t(o),{})}}function $r(e,t){return function(n,o){var i;if(n===r&&o===r)return t;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=Ar(n),o=Ar(o)):(n=dr(n),o=dr(o)),i=e(n,o)}return i}}function zr(e){return ii((function(t){return t=Vt(t,Zt(di())),Xo((function(n){var o=this;return e(t,(function(e){return _t(e,o,n)}))}))}))}function Kr(e,t){var n=(t=t===r?" ":Ar(t)).length;if(n<2)return n?Jo(t,e):t;var o=Jo(t,ht(e/pn(t)));return ln(t)?Br(fn(o),0,e).join(""):o.slice(0,e)}function Wr(e){return function(t,n,i){return i&&"number"!=typeof i&&Li(t,n,i)&&(n=i=r),t=ml(t),n===r?(n=t,t=0):n=ml(n),function(e,t,n,r){for(var i=-1,a=bn(ht((t-e)/(n||1)),0),l=o(a);a--;)l[r?a:++i]=e,e+=n;return l}(t,n,i=i===r?t<n?1:-1:ml(i),e)}}function Yr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=yl(t),n=yl(n)),e(t,n)}}function Gr(e,t,n,o,i,a,l,s,d,A){var p=8&t;t|=p?u:c,4&(t&=~(p?c:u))||(t&=-4);var f=[e,t,i,p?a:r,p?l:r,p?r:a,p?r:l,s,d,A],h=n.apply(r,f);return Bi(e)&&Vi(h,f),h.placeholder=o,Qi(h,e,t)}function Zr(e){var t=ke[e];return function(e,n){if(e=yl(e),(n=null==n?0:wn(vl(n),292))&&zt(e)){var o=(wl(e)+"e").split("e");return+((o=(wl(t(o[0]+"e"+(+o[1]+n)))+"e").split("e"))[0]+"e"+(+o[1]-n))}return t(e)}}var Jr=En&&1/dn(new En([,-0]))[1]==p?function(e){return new En(e)}:ds;function Xr(e){return function(t){var n=vi(t);return n==_?sn(t):n==T?An(t):function(e,t){return Vt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ei(e,t,n,a,p,f,h,m){var v=2&t;if(!v&&"function"!=typeof e)throw new Te(i);var g=a?a.length:0;if(g||(t&=-97,a=p=r),h=h===r?h:bn(vl(h),0),m=m===r?m:vl(m),g-=p?p.length:0,t&c){var y=a,b=p;a=p=r}var w=v?r:si(e),L=[e,t,n,a,p,y,b,f,h,m];if(w&&function(e,t){var n=e[1],o=t[1],r=n|o,i=r<131,a=o==d&&8==n||o==d&&n==A&&e[7].length<=t[8]||384==o&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&o&&(e[2]=t[2],r|=1&n?0:4);var s=t[3];if(s){var u=e[3];e[3]=u?Tr(u,s,t[4]):s,e[4]=u?cn(e[3],l):t[4]}(s=t[5])&&(u=e[5],e[5]=u?Nr(u,s,t[6]):s,e[6]=u?cn(e[5],l):t[6]);(s=t[7])&&(e[7]=s);o&d&&(e[8]=null==e[8]?t[8]:wn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=r}(L,w),e=L[0],t=L[1],n=L[2],a=L[3],p=L[4],!(m=L[9]=L[9]===r?v?0:e.length:bn(L[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)C=8==t||t==s?function(e,t,n){var i=Pr(e);return function a(){for(var l=arguments.length,s=o(l),u=l,c=ci(a);u--;)s[u]=arguments[u];var d=l<3&&s[0]!==c&&s[l-1]!==c?[]:cn(s,c);return(l-=d.length)<n?Gr(e,t,Rr,a.placeholder,r,s,d,r,r,n-l):_t(this&&this!==pt&&this instanceof a?i:e,this,s)}}(e,t,m):t!=u&&33!=t||p.length?Rr.apply(r,L):function(e,t,n,r){var i=1&t,a=Pr(e);return function t(){for(var l=-1,s=arguments.length,u=-1,c=r.length,d=o(c+s),A=this&&this!==pt&&this instanceof t?a:e;++u<c;)d[u]=r[u];for(;s--;)d[u++]=arguments[++l];return _t(A,i?n:this,d)}}(e,t,n,a);else var C=function(e,t,n){var o=1&t,r=Pr(e);return function t(){return(this&&this!==pt&&this instanceof t?r:e).apply(o?n:this,arguments)}}(e,t,n);return Qi((w?or:Vi)(C,L),e,t)}function ti(e,t,n,o){return e===r||Ra(e,Ve[n])&&!Qe.call(o,n)?t:e}function ni(e,t,n,o,i,a){return ol(e)&&ol(t)&&(a.set(t,e),$o(e,t,r,ni,a),a.delete(t)),e}function oi(e){return ll(e)?r:e}function ri(e,t,n,o,i,a){var l=1&n,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var A=-1,p=!0,f=2&n?new Gn:r;for(a.set(e,t),a.set(t,e);++A<s;){var h=e[A],m=t[A];if(o)var v=l?o(m,h,A,t,e,a):o(h,m,A,e,t,a);if(v!==r){if(v)continue;p=!1;break}if(f){if(!qt(t,(function(e,t){if(!Xt(f,t)&&(h===e||i(h,e,n,o,a)))return f.push(t)}))){p=!1;break}}else if(h!==m&&!i(h,m,n,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ii(e){return Ui(Ei(e,r,Wi),e+"")}function ai(e){return xo(e,Ol,hi)}function li(e){return xo(e,Ul,mi)}var si=Fn?function(e){return Fn.get(e)}:ds;function ui(e){for(var t=e.name+"",n=Vn[t],o=Qe.call(Vn,t)?n.length:0;o--;){var r=n[o],i=r.func;if(null==i||i==e)return r.name}return t}function ci(e){return(Qe.call(Hn,"placeholder")?Hn:e).placeholder}function di(){var e=Hn.iteratee||ls;return e=e===ls?Mo:e,arguments.length?e(arguments[0],arguments[1]):e}function Ai(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function pi(e){for(var t=Ol(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,xi(r)]}return t}function fi(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return qo(n)?n:r}var hi=gt?function(e){return null==e?[]:(e=xe(e),Tt(gt(e),(function(t){return Ye.call(e,t)})))}:gs,mi=gt?function(e){for(var t=[];e;)Ot(t,hi(e)),e=Ke(e);return t}:gs,vi=So;function gi(e,t,n){for(var o=-1,r=(t=Lr(t,e)).length,i=!1;++o<r;){var a=Pi(t[o]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++o!=r?i:!!(r=null==e?0:e.length)&&nl(r)&&wi(a,r)&&(Ka(e)||za(e))}function yi(e){return"function"!=typeof e.constructor||ki(e)?{}:Rn(Ke(e))}function bi(e){return Ka(e)||za(e)||!!(Ze&&e&&e[Ze])}function wi(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function Li(e,t,n){if(!ol(n))return!1;var o=typeof t;return!!("number"==o?Ya(n)&&wi(t,n.length):"string"==o&&t in n)&&Ra(n[t],e)}function Ci(e,t){if(Ka(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!dl(e))||(ne.test(e)||!te.test(e)||null!=t&&e in xe(t))}function Bi(e){var t=ui(e),n=Hn[t];if("function"!=typeof n||!(t in zn.prototype))return!1;if(e===n)return!0;var o=si(n);return!!o&&e===o[0]}(kn&&vi(new kn(new ArrayBuffer(1)))!=U||xn&&vi(new xn)!=_||Sn&&vi(Sn.resolve())!=S||En&&vi(new En)!=T||Tn&&vi(new Tn)!=V)&&(vi=function(e){var t=So(e),n=t==x?e.constructor:r,o=n?Di(n):"";if(o)switch(o){case On:return U;case Un:return _;case Qn:return S;case qn:return T;case Mn:return V}return t});var _i=Oe?el:ys;function ki(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ve)}function xi(e){return e==e&&!ol(e)}function Si(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==r||e in xe(n)))}}function Ei(e,t,n){return t=bn(t===r?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=bn(r.length-t,0),l=o(a);++i<a;)l[i]=r[t+i];i=-1;for(var s=o(t+1);++i<t;)s[i]=r[i];return s[t]=n(l),_t(e,this,s)}}function Ti(e,t){return t.length<2?e:ko(e,ar(t,0,-1))}function Ni(e,t){for(var n=e.length,o=wn(t.length,n),i=Fr(e);o--;){var a=t[o];e[o]=wi(a,n)?i[a]:r}return e}function Fi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Vi=qi(or),Oi=ft||function(e,t){return pt.setTimeout(e,t)},Ui=qi(rr);function Qi(e,t,n){var o=t+"";return Ui(e,function(e,t){var n=t.length;if(!n)return e;var o=n-1;return t[o]=(n>1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(o,function(e,t){return xt(v,(function(n){var o="_."+n[0];t&n[1]&&!Nt(e,o)&&e.push(o)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(o),n)))}function qi(e){var t=0,n=0;return function(){var o=Ln(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Mi(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n<t;){var a=Zo(n,i),l=e[a];e[a]=e[n],e[n]=l}return e.length=t,e}var Ii=function(e){var t=qa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(oe,(function(e,n,o,r){t.push(o?r.replace(pe,"$1"):n||e)})),t}));function Pi(e){if("string"==typeof e||dl(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Di(e){if(null!=e){try{return Ue.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Hi(e){if(e instanceof zn)return e.clone();var t=new $n(e.__wrapped__,e.__chain__);return t.__actions__=Fr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ri=Xo((function(e,t){return Ga(e)?fo(e,bo(t,1,Ga,!0)):[]})),ji=Xo((function(e,t){var n=Xi(t);return Ga(n)&&(n=r),Ga(e)?fo(e,bo(t,1,Ga,!0),di(n,2)):[]})),$i=Xo((function(e,t){var n=Xi(t);return Ga(n)&&(n=r),Ga(e)?fo(e,bo(t,1,Ga,!0),r,n):[]}));function zi(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=null==n?0:vl(n);return r<0&&(r=bn(o+r,0)),Pt(e,di(t,3),r)}function Ki(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return n!==r&&(i=vl(n),i=n<0?bn(o+i,0):wn(i,o-1)),Pt(e,di(t,3),i,!0)}function Wi(e){return(null==e?0:e.length)?bo(e,1):[]}function Yi(e){return e&&e.length?e[0]:r}var Gi=Xo((function(e){var t=Vt(e,br);return t.length&&t[0]===e[0]?Fo(t):[]})),Zi=Xo((function(e){var t=Xi(e),n=Vt(e,br);return t===Xi(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Fo(n,di(t,2)):[]})),Ji=Xo((function(e){var t=Xi(e),n=Vt(e,br);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Fo(n,r,t):[]}));function Xi(e){var t=null==e?0:e.length;return t?e[t-1]:r}var ea=Xo(ta);function ta(e,t){return e&&e.length&&t&&t.length?Yo(e,t):e}var na=ii((function(e,t){var n=null==e?0:e.length,o=so(e,t);return Go(e,Vt(t,(function(e){return wi(e,n)?+e:e})).sort(Er)),o}));function oa(e){return null==e?e:_n.call(e)}var ra=Xo((function(e){return pr(bo(e,1,Ga,!0))})),ia=Xo((function(e){var t=Xi(e);return Ga(t)&&(t=r),pr(bo(e,1,Ga,!0),di(t,2))})),aa=Xo((function(e){var t=Xi(e);return t="function"==typeof t?t:r,pr(bo(e,1,Ga,!0),r,t)}));function la(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Ga(e))return t=bn(e.length,t),!0})),Yt(t,(function(t){return Vt(e,$t(t))}))}function sa(e,t){if(!e||!e.length)return[];var n=la(e);return null==t?n:Vt(n,(function(e){return _t(t,r,e)}))}var ua=Xo((function(e,t){return Ga(e)?fo(e,t):[]})),ca=Xo((function(e){return gr(Tt(e,Ga))})),da=Xo((function(e){var t=Xi(e);return Ga(t)&&(t=r),gr(Tt(e,Ga),di(t,2))})),Aa=Xo((function(e){var t=Xi(e);return t="function"==typeof t?t:r,gr(Tt(e,Ga),r,t)})),pa=Xo(la);var fa=Xo((function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,sa(e,n)}));function ha(e){var t=Hn(e);return t.__chain__=!0,t}function ma(e,t){return t(e)}var va=ii((function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return so(t,e)};return!(t>1||this.__actions__.length)&&o instanceof zn&&wi(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:ma,args:[i],thisArg:r}),new $n(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(i)}));var ga=Or((function(e,t,n){Qe.call(e,n)?++e[n]:lo(e,n,1)}));var ya=Dr(zi),ba=Dr(Ki);function wa(e,t){return(Ka(e)?xt:ho)(e,di(t,3))}function La(e,t){return(Ka(e)?St:mo)(e,di(t,3))}var Ca=Or((function(e,t,n){Qe.call(e,n)?e[n].push(t):lo(e,n,[t])}));var Ba=Xo((function(e,t,n){var r=-1,i="function"==typeof t,a=Ya(e)?o(e.length):[];return ho(e,(function(e){a[++r]=i?_t(t,e,n):Vo(e,t,n)})),a})),_a=Or((function(e,t,n){lo(e,n,t)}));function ka(e,t){return(Ka(e)?Vt:Ho)(e,di(t,3))}var xa=Or((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sa=Xo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Li(e,t[0],t[1])?t=[]:n>2&&Li(t[0],t[1],t[2])&&(t=[t[0]]),Ko(e,bo(t,1),[])})),Ea=At||function(){return pt.Date.now()};function Ta(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,ei(e,d,r,r,r,r,t)}function Na(e,t){var n;if("function"!=typeof t)throw new Te(i);return e=vl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Fa=Xo((function(e,t,n){var o=1;if(n.length){var r=cn(n,ci(Fa));o|=u}return ei(e,o,t,n,r)})),Va=Xo((function(e,t,n){var o=3;if(n.length){var r=cn(n,ci(Va));o|=u}return ei(t,o,e,n,r)}));function Oa(e,t,n){var o,a,l,s,u,c,d=0,A=!1,p=!1,f=!0;if("function"!=typeof e)throw new Te(i);function h(t){var n=o,i=a;return o=a=r,d=t,s=e.apply(i,n)}function m(e){return d=e,u=Oi(g,t),A?h(e):s}function v(e){var n=e-c;return c===r||n>=t||n<0||p&&e-d>=l}function g(){var e=Ea();if(v(e))return y(e);u=Oi(g,function(e){var n=t-(e-c);return p?wn(n,l-(e-d)):n}(e))}function y(e){return u=r,f&&o?h(e):(o=a=r,s)}function b(){var e=Ea(),n=v(e);if(o=arguments,a=this,c=e,n){if(u===r)return m(c);if(p)return _r(u),u=Oi(g,t),h(c)}return u===r&&(u=Oi(g,t)),s}return t=yl(t)||0,ol(n)&&(A=!!n.leading,l=(p="maxWait"in n)?bn(yl(n.maxWait)||0,t):l,f="trailing"in n?!!n.trailing:f),b.cancel=function(){u!==r&&_r(u),d=0,o=c=a=u=r},b.flush=function(){return u===r?s:y(Ea())},b}var Ua=Xo((function(e,t){return po(e,1,t)})),Qa=Xo((function(e,t,n){return po(e,yl(t)||0,n)}));function qa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(i);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(qa.Cache||Yn),n}function Ma(e){if("function"!=typeof e)throw new Te(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}qa.Cache=Yn;var Ia=Cr((function(e,t){var n=(t=1==t.length&&Ka(t[0])?Vt(t[0],Zt(di())):Vt(bo(t,1),Zt(di()))).length;return Xo((function(o){for(var r=-1,i=wn(o.length,n);++r<i;)o[r]=t[r].call(this,o[r]);return _t(e,this,o)}))})),Pa=Xo((function(e,t){var n=cn(t,ci(Pa));return ei(e,u,r,t,n)})),Da=Xo((function(e,t){var n=cn(t,ci(Da));return ei(e,c,r,t,n)})),Ha=ii((function(e,t){return ei(e,A,r,r,r,t)}));function Ra(e,t){return e===t||e!=e&&t!=t}var ja=Yr(Eo),$a=Yr((function(e,t){return e>=t})),za=Oo(function(){return arguments}())?Oo:function(e){return rl(e)&&Qe.call(e,"callee")&&!Ye.call(e,"callee")},Ka=o.isArray,Wa=yt?Zt(yt):function(e){return rl(e)&&So(e)==O};function Ya(e){return null!=e&&nl(e.length)&&!el(e)}function Ga(e){return rl(e)&&Ya(e)}var Za=Mt||ys,Ja=bt?Zt(bt):function(e){return rl(e)&&So(e)==w};function Xa(e){if(!rl(e))return!1;var t=So(e);return t==L||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ll(e)}function el(e){if(!ol(e))return!1;var t=So(e);return t==C||t==B||"[object AsyncFunction]"==t||"[object Proxy]"==t}function tl(e){return"number"==typeof e&&e==vl(e)}function nl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function ol(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rl(e){return null!=e&&"object"==typeof e}var il=wt?Zt(wt):function(e){return rl(e)&&vi(e)==_};function al(e){return"number"==typeof e||rl(e)&&So(e)==k}function ll(e){if(!rl(e)||So(e)!=x)return!1;var t=Ke(e);if(null===t)return!0;var n=Qe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ue.call(n)==Pe}var sl=Lt?Zt(Lt):function(e){return rl(e)&&So(e)==E};var ul=Ct?Zt(Ct):function(e){return rl(e)&&vi(e)==T};function cl(e){return"string"==typeof e||!Ka(e)&&rl(e)&&So(e)==N}function dl(e){return"symbol"==typeof e||rl(e)&&So(e)==F}var Al=Bt?Zt(Bt):function(e){return rl(e)&&nl(e.length)&&!!at[So(e)]};var pl=Yr(Do),fl=Yr((function(e,t){return e<=t}));function hl(e){if(!e)return[];if(Ya(e))return cl(e)?fn(e):Fr(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=vi(e);return(t==_?sn:t==T?dn:Rl)(e)}function ml(e){return e?(e=yl(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function vl(e){var t=ml(e),n=t%1;return t==t?n?t-n:t:0}function gl(e){return e?uo(vl(e),0,m):0}function yl(e){if("number"==typeof e)return e;if(dl(e))return h;if(ol(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ol(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gt(e);var n=ve.test(e);return n||ye.test(e)?ct(e.slice(2),n?2:8):me.test(e)?h:+e}function bl(e){return Vr(e,Ul(e))}function wl(e){return null==e?"":Ar(e)}var Ll=Ur((function(e,t){if(ki(t)||Ya(t))Vr(t,Ol(t),e);else for(var n in t)Qe.call(t,n)&&oo(e,n,t[n])})),Cl=Ur((function(e,t){Vr(t,Ul(t),e)})),Bl=Ur((function(e,t,n,o){Vr(t,Ul(t),e,o)})),_l=Ur((function(e,t,n,o){Vr(t,Ol(t),e,o)})),kl=ii(so);var xl=Xo((function(e,t){e=xe(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&Li(t[0],t[1],i)&&(o=1);++n<o;)for(var a=t[n],l=Ul(a),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===r||Ra(d,Ve[c])&&!Qe.call(e,c))&&(e[c]=a[c])}return e})),Sl=Xo((function(e){return e.push(r,ni),_t(ql,r,e)}));function El(e,t,n){var o=null==e?r:ko(e,t);return o===r?n:o}function Tl(e,t){return null!=e&&gi(e,t,No)}var Nl=jr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),e[t]=n}),os(as)),Fl=jr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),Qe.call(e,t)?e[t].push(n):e[t]=[n]}),di),Vl=Xo(Vo);function Ol(e){return Ya(e)?Jn(e):Io(e)}function Ul(e){return Ya(e)?Jn(e,!0):Po(e)}var Ql=Ur((function(e,t,n){$o(e,t,n)})),ql=Ur((function(e,t,n,o){$o(e,t,n,o)})),Ml=ii((function(e,t){var n={};if(null==e)return n;var o=!1;t=Vt(t,(function(t){return t=Lr(t,e),o||(o=t.length>1),t})),Vr(e,li(e),n),o&&(n=co(n,7,oi));for(var r=t.length;r--;)fr(n,t[r]);return n}));var Il=ii((function(e,t){return null==e?{}:function(e,t){return Wo(e,t,(function(t,n){return Tl(e,n)}))}(e,t)}));function Pl(e,t){if(null==e)return{};var n=Vt(li(e),(function(e){return[e]}));return t=di(t),Wo(e,n,(function(e,n){return t(e,n[0])}))}var Dl=Xr(Ol),Hl=Xr(Ul);function Rl(e){return null==e?[]:Jt(e,Ol(e))}var jl=Ir((function(e,t,n){return t=t.toLowerCase(),e+(n?$l(t):t)}));function $l(e){return Xl(wl(e).toLowerCase())}function zl(e){return(e=wl(e))&&e.replace(we,on).replace(Xe,"")}var Kl=Ir((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Wl=Ir((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Yl=Mr("toLowerCase");var Gl=Ir((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Zl=Ir((function(e,t,n){return e+(n?" ":"")+Xl(t)}));var Jl=Ir((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Xl=Mr("toUpperCase");function es(e,t,n){return e=wl(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var ts=Xo((function(e,t){try{return _t(e,r,t)}catch(e){return Xa(e)?e:new Be(e)}})),ns=ii((function(e,t){return xt(t,(function(t){t=Pi(t),lo(e,t,Fa(e[t],e))})),e}));function os(e){return function(){return e}}var rs=Hr(),is=Hr(!0);function as(e){return e}function ls(e){return Mo("function"==typeof e?e:co(e,1))}var ss=Xo((function(e,t){return function(n){return Vo(n,e,t)}})),us=Xo((function(e,t){return function(n){return Vo(e,n,t)}}));function cs(e,t,n){var o=Ol(t),r=_o(t,o);null!=n||ol(t)&&(r.length||!o.length)||(n=t,t=e,e=this,r=_o(t,Ol(t)));var i=!(ol(n)&&"chain"in n&&!n.chain),a=el(e);return xt(r,(function(n){var o=t[n];e[n]=o,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),r=n.__actions__=Fr(this.__actions__);return r.push({func:o,args:arguments,thisArg:e}),n.__chain__=t,n}return o.apply(e,Ot([this.value()],arguments))})})),e}function ds(){}var As=zr(Vt),ps=zr(Et),fs=zr(qt);function hs(e){return Ci(e)?$t(Pi(e)):function(e){return function(t){return ko(t,e)}}(e)}var ms=Wr(),vs=Wr(!0);function gs(){return[]}function ys(){return!1}var bs=$r((function(e,t){return e+t}),0),ws=Zr("ceil"),Ls=$r((function(e,t){return e/t}),1),Cs=Zr("floor");var Bs,_s=$r((function(e,t){return e*t}),1),ks=Zr("round"),xs=$r((function(e,t){return e-t}),0);return Hn.after=function(e,t){if("function"!=typeof t)throw new Te(i);return e=vl(e),function(){if(--e<1)return t.apply(this,arguments)}},Hn.ary=Ta,Hn.assign=Ll,Hn.assignIn=Cl,Hn.assignInWith=Bl,Hn.assignWith=_l,Hn.at=kl,Hn.before=Na,Hn.bind=Fa,Hn.bindAll=ns,Hn.bindKey=Va,Hn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Hn.chain=ha,Hn.chunk=function(e,t,n){t=(n?Li(e,t,n):t===r)?1:bn(vl(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,l=0,s=o(ht(i/t));a<i;)s[l++]=ar(e,a,a+=t);return s},Hn.compact=function(e){for(var t=-1,n=null==e?0:e.length,o=0,r=[];++t<n;){var i=e[t];i&&(r[o++]=i)}return r},Hn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=o(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Ot(Ka(n)?Fr(n):[n],bo(t,1))},Hn.cond=function(e){var t=null==e?0:e.length,n=di();return e=t?Vt(e,(function(e){if("function"!=typeof e[1])throw new Te(i);return[n(e[0]),e[1]]})):[],Xo((function(n){for(var o=-1;++o<t;){var r=e[o];if(_t(r[0],this,n))return _t(r[1],this,n)}}))},Hn.conforms=function(e){return function(e){var t=Ol(e);return function(n){return Ao(n,e,t)}}(co(e,1))},Hn.constant=os,Hn.countBy=ga,Hn.create=function(e,t){var n=Rn(e);return null==t?n:ao(n,t)},Hn.curry=function e(t,n,o){var i=ei(t,8,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Hn.curryRight=function e(t,n,o){var i=ei(t,s,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Hn.debounce=Oa,Hn.defaults=xl,Hn.defaultsDeep=Sl,Hn.defer=Ua,Hn.delay=Qa,Hn.difference=Ri,Hn.differenceBy=ji,Hn.differenceWith=$i,Hn.drop=function(e,t,n){var o=null==e?0:e.length;return o?ar(e,(t=n||t===r?1:vl(t))<0?0:t,o):[]},Hn.dropRight=function(e,t,n){var o=null==e?0:e.length;return o?ar(e,0,(t=o-(t=n||t===r?1:vl(t)))<0?0:t):[]},Hn.dropRightWhile=function(e,t){return e&&e.length?mr(e,di(t,3),!0,!0):[]},Hn.dropWhile=function(e,t){return e&&e.length?mr(e,di(t,3),!0):[]},Hn.fill=function(e,t,n,o){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Li(e,t,n)&&(n=0,o=i),function(e,t,n,o){var i=e.length;for((n=vl(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:vl(o))<0&&(o+=i),o=n>o?0:gl(o);n<o;)e[n++]=t;return e}(e,t,n,o)):[]},Hn.filter=function(e,t){return(Ka(e)?Tt:yo)(e,di(t,3))},Hn.flatMap=function(e,t){return bo(ka(e,t),1)},Hn.flatMapDeep=function(e,t){return bo(ka(e,t),p)},Hn.flatMapDepth=function(e,t,n){return n=n===r?1:vl(n),bo(ka(e,t),n)},Hn.flatten=Wi,Hn.flattenDeep=function(e){return(null==e?0:e.length)?bo(e,p):[]},Hn.flattenDepth=function(e,t){return(null==e?0:e.length)?bo(e,t=t===r?1:vl(t)):[]},Hn.flip=function(e){return ei(e,512)},Hn.flow=rs,Hn.flowRight=is,Hn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o},Hn.functions=function(e){return null==e?[]:_o(e,Ol(e))},Hn.functionsIn=function(e){return null==e?[]:_o(e,Ul(e))},Hn.groupBy=Ca,Hn.initial=function(e){return(null==e?0:e.length)?ar(e,0,-1):[]},Hn.intersection=Gi,Hn.intersectionBy=Zi,Hn.intersectionWith=Ji,Hn.invert=Nl,Hn.invertBy=Fl,Hn.invokeMap=Ba,Hn.iteratee=ls,Hn.keyBy=_a,Hn.keys=Ol,Hn.keysIn=Ul,Hn.map=ka,Hn.mapKeys=function(e,t){var n={};return t=di(t,3),Co(e,(function(e,o,r){lo(n,t(e,o,r),e)})),n},Hn.mapValues=function(e,t){var n={};return t=di(t,3),Co(e,(function(e,o,r){lo(n,o,t(e,o,r))})),n},Hn.matches=function(e){return Ro(co(e,1))},Hn.matchesProperty=function(e,t){return jo(e,co(t,1))},Hn.memoize=qa,Hn.merge=Ql,Hn.mergeWith=ql,Hn.method=ss,Hn.methodOf=us,Hn.mixin=cs,Hn.negate=Ma,Hn.nthArg=function(e){return e=vl(e),Xo((function(t){return zo(t,e)}))},Hn.omit=Ml,Hn.omitBy=function(e,t){return Pl(e,Ma(di(t)))},Hn.once=function(e){return Na(2,e)},Hn.orderBy=function(e,t,n,o){return null==e?[]:(Ka(t)||(t=null==t?[]:[t]),Ka(n=o?r:n)||(n=null==n?[]:[n]),Ko(e,t,n))},Hn.over=As,Hn.overArgs=Ia,Hn.overEvery=ps,Hn.overSome=fs,Hn.partial=Pa,Hn.partialRight=Da,Hn.partition=xa,Hn.pick=Il,Hn.pickBy=Pl,Hn.property=hs,Hn.propertyOf=function(e){return function(t){return null==e?r:ko(e,t)}},Hn.pull=ea,Hn.pullAll=ta,Hn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yo(e,t,di(n,2)):e},Hn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Yo(e,t,r,n):e},Hn.pullAt=na,Hn.range=ms,Hn.rangeRight=vs,Hn.rearg=Ha,Hn.reject=function(e,t){return(Ka(e)?Tt:yo)(e,Ma(di(t,3)))},Hn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var o=-1,r=[],i=e.length;for(t=di(t,3);++o<i;){var a=e[o];t(a,o,e)&&(n.push(a),r.push(o))}return Go(e,r),n},Hn.rest=function(e,t){if("function"!=typeof e)throw new Te(i);return Xo(e,t=t===r?t:vl(t))},Hn.reverse=oa,Hn.sampleSize=function(e,t,n){return t=(n?Li(e,t,n):t===r)?1:vl(t),(Ka(e)?eo:tr)(e,t)},Hn.set=function(e,t,n){return null==e?e:nr(e,t,n)},Hn.setWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:nr(e,t,n,o)},Hn.shuffle=function(e){return(Ka(e)?to:ir)(e)},Hn.slice=function(e,t,n){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Li(e,t,n)?(t=0,n=o):(t=null==t?0:vl(t),n=n===r?o:vl(n)),ar(e,t,n)):[]},Hn.sortBy=Sa,Hn.sortedUniq=function(e){return e&&e.length?cr(e):[]},Hn.sortedUniqBy=function(e,t){return e&&e.length?cr(e,di(t,2)):[]},Hn.split=function(e,t,n){return n&&"number"!=typeof n&&Li(e,t,n)&&(t=n=r),(n=n===r?m:n>>>0)?(e=wl(e))&&("string"==typeof t||null!=t&&!sl(t))&&!(t=Ar(t))&&ln(e)?Br(fn(e),0,n):e.split(t,n):[]},Hn.spread=function(e,t){if("function"!=typeof e)throw new Te(i);return t=null==t?0:bn(vl(t),0),Xo((function(n){var o=n[t],r=Br(n,0,t);return o&&Ot(r,o),_t(e,this,r)}))},Hn.tail=function(e){var t=null==e?0:e.length;return t?ar(e,1,t):[]},Hn.take=function(e,t,n){return e&&e.length?ar(e,0,(t=n||t===r?1:vl(t))<0?0:t):[]},Hn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?ar(e,(t=o-(t=n||t===r?1:vl(t)))<0?0:t,o):[]},Hn.takeRightWhile=function(e,t){return e&&e.length?mr(e,di(t,3),!1,!0):[]},Hn.takeWhile=function(e,t){return e&&e.length?mr(e,di(t,3)):[]},Hn.tap=function(e,t){return t(e),e},Hn.throttle=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new Te(i);return ol(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),Oa(e,t,{leading:o,maxWait:t,trailing:r})},Hn.thru=ma,Hn.toArray=hl,Hn.toPairs=Dl,Hn.toPairsIn=Hl,Hn.toPath=function(e){return Ka(e)?Vt(e,Pi):dl(e)?[e]:Fr(Ii(wl(e)))},Hn.toPlainObject=bl,Hn.transform=function(e,t,n){var o=Ka(e),r=o||Za(e)||Al(e);if(t=di(t,4),null==n){var i=e&&e.constructor;n=r?o?new i:[]:ol(e)&&el(i)?Rn(Ke(e)):{}}return(r?xt:Co)(e,(function(e,o,r){return t(n,e,o,r)})),n},Hn.unary=function(e){return Ta(e,1)},Hn.union=ra,Hn.unionBy=ia,Hn.unionWith=aa,Hn.uniq=function(e){return e&&e.length?pr(e):[]},Hn.uniqBy=function(e,t){return e&&e.length?pr(e,di(t,2)):[]},Hn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?pr(e,r,t):[]},Hn.unset=function(e,t){return null==e||fr(e,t)},Hn.unzip=la,Hn.unzipWith=sa,Hn.update=function(e,t,n){return null==e?e:hr(e,t,wr(n))},Hn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:hr(e,t,wr(n),o)},Hn.values=Rl,Hn.valuesIn=function(e){return null==e?[]:Jt(e,Ul(e))},Hn.without=ua,Hn.words=es,Hn.wrap=function(e,t){return Pa(wr(t),e)},Hn.xor=ca,Hn.xorBy=da,Hn.xorWith=Aa,Hn.zip=pa,Hn.zipObject=function(e,t){return yr(e||[],t||[],oo)},Hn.zipObjectDeep=function(e,t){return yr(e||[],t||[],nr)}
vendor: 4,523 bytes, line 2
2,Hn.zipWith=fa,Hn.entries=Dl,Hn.entriesIn=Hl,Hn.extend=Cl,Hn.extendWith=Bl,cs(Hn,Hn),Hn.add=bs,Hn.attempt=ts,Hn.camelCase=jl,Hn.capitalize=$l,Hn.ceil=ws,Hn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=yl(n))==n?n:0),t!==r&&(t=(t=yl(t))==t?t:0),uo(yl(e),t,n)},Hn.clone=function(e){return co(e,4)},Hn.cloneDeep=function(e){return co(e,5)},Hn.cloneDeepWith=function(e,t){return co(e,5,t="function"==typeof t?t:r)},Hn.cloneWith=function(e,t){return co(e,4,t="function"==typeof t?t:r)},Hn.conformsTo=function(e,t){return null==t||Ao(e,t,Ol(t))},Hn.deburr=zl,Hn.defaultTo=function(e,t){return null==e||e!=e?t:e},Hn.divide=Ls,Hn.endsWith=function(e,t,n){e=wl(e),t=Ar(t);var o=e.length,i=n=n===r?o:uo(vl(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Hn.eq=Ra,Hn.escape=function(e){return(e=wl(e))&&Z.test(e)?e.replace(Y,rn):e},Hn.escapeRegExp=function(e){return(e=wl(e))&&ie.test(e)?e.replace(re,"\\$&"):e},Hn.every=function(e,t,n){var o=Ka(e)?Et:vo;return n&&Li(e,t,n)&&(t=r),o(e,di(t,3))},Hn.find=ya,Hn.findIndex=zi,Hn.findKey=function(e,t){return It(e,di(t,3),Co)},Hn.findLast=ba,Hn.findLastIndex=Ki,Hn.findLastKey=function(e,t){return It(e,di(t,3),Bo)},Hn.floor=Cs,Hn.forEach=wa,Hn.forEachRight=La,Hn.forIn=function(e,t){return null==e?e:wo(e,di(t,3),Ul)},Hn.forInRight=function(e,t){return null==e?e:Lo(e,di(t,3),Ul)},Hn.forOwn=function(e,t){return e&&Co(e,di(t,3))},Hn.forOwnRight=function(e,t){return e&&Bo(e,di(t,3))},Hn.get=El,Hn.gt=ja,Hn.gte=$a,Hn.has=function(e,t){return null!=e&&gi(e,t,To)},Hn.hasIn=Tl,Hn.head=Yi,Hn.identity=as,Hn.includes=function(e,t,n,o){e=Ya(e)?e:Rl(e),n=n&&!o?vl(n):0;var r=e.length;return n<0&&(n=bn(r+n,0)),cl(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Dt(e,t,n)>-1},Hn.indexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=null==n?0:vl(n);return r<0&&(r=bn(o+r,0)),Dt(e,t,r)},Hn.inRange=function(e,t,n){return t=ml(t),n===r?(n=t,t=0):n=ml(n),function(e,t,n){return e>=wn(t,n)&&e<bn(t,n)}(e=yl(e),t,n)},Hn.invoke=Vl,Hn.isArguments=za,Hn.isArray=Ka,Hn.isArrayBuffer=Wa,Hn.isArrayLike=Ya,Hn.isArrayLikeObject=Ga,Hn.isBoolean=function(e){return!0===e||!1===e||rl(e)&&So(e)==b},Hn.isBuffer=Za,Hn.isDate=Ja,Hn.isElement=function(e){return rl(e)&&1===e.nodeType&&!ll(e)},Hn.isEmpty=function(e){if(null==e)return!0;if(Ya(e)&&(Ka(e)||"string"==typeof e||"function"==typeof e.splice||Za(e)||Al(e)||za(e)))return!e.length;var t=vi(e);if(t==_||t==T)return!e.size;if(ki(e))return!Io(e).length;for(var n in e)if(Qe.call(e,n))return!1;return!0},Hn.isEqual=function(e,t){return Uo(e,t)},Hn.isEqualWith=function(e,t,n){var o=(n="function"==typeof n?n:r)?n(e,t):r;return o===r?Uo(e,t,r,n):!!o},Hn.isError=Xa,Hn.isFinite=function(e){return"number"==typeof e&&zt(e)},Hn.isFunction=el,Hn.isInteger=tl,Hn.isLength=nl,Hn.isMap=il,Hn.isMatch=function(e,t){return e===t||Qo(e,t,pi(t))},Hn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Qo(e,t,pi(t),n)},Hn.isNaN=function(e){return al(e)&&e!=+e},Hn.isNative=function(e){if(_i(e))throw new Be("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return qo(e)},Hn.isNil=function(e){return null==e},Hn.isNull=function(e){return null===e},Hn.isNumber=al,Hn.isObject=ol,Hn.isObjectLike=rl,Hn.isPlainObject=ll,Hn.isRegExp=sl,Hn.isSafeInteger=function(e){return tl(e)&&e>=-9007199254740991&&e<=f},Hn.isSet=ul,Hn.isString=cl,Hn.isSymbol=dl,Hn.isTypedArray=Al,Hn.isUndefined=function(e){return e===r},Hn.isWeakMap=function(e){return rl(e)&&vi(e)==V},Hn.isWeakSet=function(e){return rl(e)&&"[object WeakSet]"==So(e)},Hn.join=function(e,t){return null==e?"":gn.call(e,t)},Hn.kebabCase=Kl,Hn.last=Xi,Hn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=vl(n))<0?bn(o+i,0):wn(i,o-1)),t==t?function(e,t,n){for(var o=n+1;o--;)if(e[o]===t)return o;return o}(e,t,i):Pt(e,Rt,i,!0)},Hn.lowerCase=Wl,Hn.lowerFirst=Yl,Hn.lt=pl,Hn.lte=fl,Hn.max=function(e){return e&&e.length?go(e,as,Eo):r},Hn.maxBy=function(e,t){return e&&e.length?go(e,di(t,2),Eo):r},Hn.mean=function(e){return jt(e,as)},Hn.meanBy=function(e,t){return jt(e,di(t,2))},Hn.min=function(e){return e&&e.length?go(e,as,Do):r},Hn.minBy=function(e,t){return e&&e.length?go(e,di(t,2),Do):r},Hn.stubArray=gs,Hn.stubFalse=ys,Hn.stubObject=function(){return{}},Hn.stubString=function(){return""},Hn.stubTrue=function(){return!0},Hn.multiply=_s,Hn.nth=function(e,t){return e&&e.length?zo(e,vl(t)):r},Hn.noConflict=function(){return pt._===this&&(pt._=De),this},Hn.noop=ds,Hn.now=Ea,Hn.pad=function(e,t,n){e=wl(e);var o=(t=vl(t))?pn(e):0;
vendor: 2,259 bytes, line 2
2if(!t||o>=t)return e;var r=(t-o)/2;return Kr(vt(r),n)+e+Kr(ht(r),n)},Hn.padEnd=function(e,t,n){e=wl(e);var o=(t=vl(t))?pn(e):0;return t&&o<t?e+Kr(t-o,n):e},Hn.padStart=function(e,t,n){e=wl(e);var o=(t=vl(t))?pn(e):0;return t&&o<t?Kr(t-o,n)+e:e},Hn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Cn(wl(e).replace(ae,""),t||0)},Hn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Li(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=ml(e),t===r?(t=e,e=0):t=ml(t)),e>t){var o=e;e=t,t=o}if(n||e%1||t%1){var i=Bn();return wn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Zo(e,t)},Hn.reduce=function(e,t,n){var o=Ka(e)?Ut:Kt,r=arguments.length<3;return o(e,di(t,4),n,r,ho)},Hn.reduceRight=function(e,t,n){var o=Ka(e)?Qt:Kt,r=arguments.length<3;return o(e,di(t,4),n,r,mo)},Hn.repeat=function(e,t,n){return t=(n?Li(e,t,n):t===r)?1:vl(t),Jo(wl(e),t)},Hn.replace=function(){var e=arguments,t=wl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Hn.result=function(e,t,n){var o=-1,i=(t=Lr(t,e)).length;for(i||(i=1,e=r);++o<i;){var a=null==e?r:e[Pi(t[o])];a===r&&(o=i,a=n),e=el(a)?a.call(e):a}return e},Hn.round=ks,Hn.runInContext=e,Hn.sample=function(e){return(Ka(e)?Xn:er)(e)},Hn.size=function(e){if(null==e)return 0;if(Ya(e))return cl(e)?pn(e):e.length;var t=vi(e);return t==_||t==T?e.size:Io(e).length},Hn.snakeCase=Gl,Hn.some=function(e,t,n){var o=Ka(e)?qt:lr;return n&&Li(e,t,n)&&(t=r),o(e,di(t,3))},Hn.sortedIndex=function(e,t){return sr(e,t)},Hn.sortedIndexBy=function(e,t,n){return ur(e,t,di(n,2))},Hn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var o=sr(e,t);if(o<n&&Ra(e[o],t))return o}return-1},Hn.sortedLastIndex=function(e,t){return sr(e,t,!0)},Hn.sortedLastIndexBy=function(e,t,n){return ur(e,t,di(n,2),!0)},Hn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=sr(e,t,!0)-1;if(Ra(e[n],t))return n}return-1},Hn.startCase=Zl,Hn.startsWith=function(e,t,n){return e=wl(e),n=null==n?0:uo(vl(n),0,e.length),t=Ar(t),e.slice(n,n+t.length)==t},Hn.subtract=xs,Hn.sum=function(e){return e&&e.length?Wt(e,as):0},Hn.sumBy=function(e,t){return e&&e.length?Wt(e,di(t,2)):0},Hn.template=function(e,t,n){var o=Hn.templateSettings;n&&Li(e,t,n)&&(t=r),e=wl(e),t=Bl({},t,o,ti);
vendor: 8,546 bytes, line 2
2var i,a,l=Bl({},t.imports,o.imports,ti),s=Ol(l),u=Jt(l,s),c=0,d=t.interpolate||Le,A="__p += '",p=Se((t.escape||Le).source+"|"+d.source+"|"+(d===ee?fe:Le).source+"|"+(t.evaluate||Le).source+"|$","g"),f="//# sourceURL="+(Qe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,(function(t,n,o,r,l,s){return o||(o=r),A+=e.slice(c,s).replace(Ce,an),n&&(i=!0,A+="' +\n__e("+n+") +\n'"),l&&(a=!0,A+="';\n"+l+";\n__p += '"),o&&(A+="' +\n((__t = ("+o+")) == null ? '' : __t) +\n'"),c=s+t.length,t})),A+="';\n";var h=Qe.call(t,"variable")&&t.variable;if(h){if(Ae.test(h))throw new Be("Invalid `variable` option passed into `_.template`")}else A="with (obj) {\n"+A+"\n}\n";A=(a?A.replace($,""):A).replace(z,"$1").replace(K,"$1;"),A="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+A+"return __p\n}";var m=ts((function(){return _e(s,f+"return "+A).apply(r,u)}));if(m.source=A,Xa(m))throw m;return m},Hn.times=function(e,t){if((e=vl(e))<1||e>f)return[];var n=m,o=wn(e,m);t=di(t),e-=m;for(var r=Yt(o,t);++n<e;)t(n);return r},Hn.toFinite=ml,Hn.toInteger=vl,Hn.toLength=gl,Hn.toLower=function(e){return wl(e).toLowerCase()},Hn.toNumber=yl,Hn.toSafeInteger=function(e){return e?uo(vl(e),-9007199254740991,f):0===e?e:0},Hn.toString=wl,Hn.toUpper=function(e){return wl(e).toUpperCase()},Hn.trim=function(e,t,n){if((e=wl(e))&&(n||t===r))return Gt(e);if(!e||!(t=Ar(t)))return e;var o=fn(e),i=fn(t);return Br(o,en(o,i),tn(o,i)+1).join("")},Hn.trimEnd=function(e,t,n){if((e=wl(e))&&(n||t===r))return e.slice(0,hn(e)+1);if(!e||!(t=Ar(t)))return e;var o=fn(e);return Br(o,0,tn(o,fn(t))+1).join("")},Hn.trimStart=function(e,t,n){if((e=wl(e))&&(n||t===r))return e.replace(ae,"");if(!e||!(t=Ar(t)))return e;var o=fn(e);return Br(o,en(o,fn(t))).join("")},Hn.truncate=function(e,t){var n=30,o="...";if(ol(t)){var i="separator"in t?t.separator:i;n="length"in t?vl(t.length):n,o="omission"in t?Ar(t.omission):o}var a=(e=wl(e)).length;if(ln(e)){var l=fn(e);a=l.length}if(n>=a)return e;var s=n-pn(o);if(s<1)return o;var u=l?Br(l,0,s).join(""):e.slice(0,s);if(i===r)return u+o;if(l&&(s+=u.length-s),sl(i)){if(e.slice(s).search(i)){var c,d=u;for(i.global||(i=Se(i.source,wl(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var A=c.index;u=u.slice(0,A===r?s:A)}}else if(e.indexOf(Ar(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},Hn.unescape=function(e){return(e=wl(e))&&G.test(e)?e.replace(W,mn):e},Hn.uniqueId=function(e){var t=++qe;return wl(e)+t},Hn.upperCase=Jl,Hn.upperFirst=Xl,Hn.each=wa,Hn.eachRight=La,Hn.first=Yi,cs(Hn,(Bs={},Co(Hn,(function(e,t){Qe.call(Hn.prototype,t)||(Bs[t]=e)})),Bs),{chain:!1}),Hn.VERSION="4.17.21",xt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Hn[e].placeholder=Hn})),xt(["drop","take"],(function(e,t){zn.prototype[e]=function(n){n=n===r?1:bn(vl(n),0);var o=this.__filtered__&&!t?new zn(this):this.clone();return o.__filtered__?o.__takeCount__=wn(n,o.__takeCount__):o.__views__.push({size:wn(n,m),type:e+(o.__dir__<0?"Right":"")}),o},zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),xt(["filter","map","takeWhile"],(function(e,t){var n=t+1,o=1==n||3==n;zn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:di(e,3),type:n}),t.__filtered__=t.__filtered__||o,t}})),xt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");zn.prototype[e]=function(){return this[n](1).value()[0]}})),xt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[n](1)}})),zn.prototype.compact=function(){return this.filter(as)},zn.prototype.find=function(e){return this.filter(e).head()},zn.prototype.findLast=function(e){return this.reverse().find(e)},zn.prototype.invokeMap=Xo((function(e,t){return"function"==typeof e?new zn(this):this.map((function(n){return Vo(n,e,t)}))})),zn.prototype.reject=function(e){return this.filter(Ma(di(e)))},zn.prototype.slice=function(e,t){e=vl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new zn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=vl(t))<0?n.dropRight(-t):n.take(t-e)),n)},zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zn.prototype.toArray=function(){return this.take(m)},Co(zn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Hn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Hn.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof zn,u=l[0],c=s||Ka(t),d=function(e){var t=i.apply(Hn,Ot([e],l));return o&&A?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var A=this.__chain__,p=!!this.__actions__.length,f=a&&!A,h=s&&!p;if(!a&&c){t=h?t:new zn(this);var m=e.apply(t,l);return m.__actions__.push({func:ma,args:[d],thisArg:r}),new $n(m,A)}return f&&h?e.apply(this,l):(m=this.thru(d),f?o?m.value()[0]:m.value():m)})})),xt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ne[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);Hn.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var r=this.value();return t.apply(Ka(r)?r:[],e)}return this[n]((function(n){return t.apply(Ka(n)?n:[],e)}))}})),Co(zn.prototype,(function(e,t){var n=Hn[t];if(n){var o=n.name+"";Qe.call(Vn,o)||(Vn[o]=[]),Vn[o].push({name:t,func:n})}})),Vn[Rr(r,2).name]=[{name:"wrapper",func:r}],zn.prototype.clone=function(){var e=new zn(this.__wrapped__);return e.__actions__=Fr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Fr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Fr(this.__views__),e},zn.prototype.reverse=function(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),o=t<0,r=n?e.length:0,i=function(e,t,n){var o=-1,r=n.length;for(;++o<r;){var i=n[o],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wn(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=i.start,l=i.end,s=l-a,u=o?l:a-1,c=this.__iteratees__,d=c.length,A=0,p=wn(s,this.__takeCount__);if(!n||!o&&r==s&&p==s)return vr(e,this.__actions__);var f=[];e:for(;s--&&A<p;){for(var h=-1,m=e[u+=t];++h<d;){var v=c[h],g=v.iteratee,y=v.type,b=g(m);if(2==y)m=b;else if(!b){if(1==y)continue e;break e}}f[A++]=m}return f},Hn.prototype.at=va,Hn.prototype.chain=function(){return ha(this)},Hn.prototype.commit=function(){return new $n(this.value(),this.__chain__)},Hn.prototype.next=function(){this.__values__===r&&(this.__values__=hl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Hn.prototype.plant=function(e){for(var t,n=this;n instanceof jn;){var o=Hi(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Hn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zn){var t=e;return this.__actions__.length&&(t=new zn(this)),(t=t.reverse()).__actions__.push({func:ma,args:[oa],thisArg:r}),new $n(t,this.__chain__)}return this.thru(oa)},Hn.prototype.toJSON=Hn.prototype.valueOf=Hn.prototype.value=function(){return vr(this.__wrapped__,this.__actions__)},Hn.prototype.first=Hn.prototype.head,et&&(Hn.prototype[et]=function(){return this}),Hn}();pt._=vn,(o=function(){return vn}.call(t,n,t,e))===r||(e.exports=o)}.call(this)},6378:()=>{},4865:function(e,t,n){var o,r;o=function(){var e,t,n={version:"0.2.0"},o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var r;return(r="translate3d"===o.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,r}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this}
2,n.status=null,n.set=function(e){var t=n.isStarted();e=r(e,o.minimum,1),n.status=1===e?null:e;var i=n.render(!t),u=i.querySelector(o.barSelector),c=o.speed,d=o.easing;return i.offsetWidth,l((function(t){""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),s(u,a(e,c,d)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),o.trickleSpeed)};return o.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*r(Math.random()*t,.1,.95)),t=r(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(o){return o&&"resolved"!==o.state()?(0===t&&n.start(),e++,t++,o.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,a=t.querySelector(o.barSelector),l=e?"-100":i(n.status||0),u=document.querySelector(o.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),o.showSpinner||(r=t.querySelector(o.spinnerSelector))&&p(r),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function o(t){var n=document.body.style;if(t in n)return t;for(var o,r=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((o=e[r]+i)in n)return o;return t}function r(e){return e=n(e),t[e]||(t[e]=o(e))}function i(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,o,r=arguments;if(2==r.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&i(e,n,o);else i(e,r[1],r[2])}}();function u(e,t){return("string"==typeof e?e:A(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=A(e),o=n+t;u(n,t)||(e.className=o.substring(1))}function d(e,t){var n,o=A(e);u(e,t)&&(n=o.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function A(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(r="function"==typeof o?o.call(t,n,t,e):o)||(e.exports=r)},631:(e,t,n)=>{var o="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&r&&"function"==typeof r.get?r.get:null,a=o&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&s&&"function"==typeof s.get?s.get:null,c=l&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,A="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,g=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,L=RegExp.prototype.test,C=Array.prototype.concat,B=Array.prototype.join,_=Array.prototype.slice,k=Math.floor,x="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,N="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,F=Object.prototype.propertyIsEnumerable,V=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function O(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||L.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-k(-e):k(e);if(o!==e){var r=String(o),i=g.call(t,r.length+1);
vendor: 19,365 bytes, line 2
2return y.call(r,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var U=n(4654).custom,Q=U&&P(U)?U:null;function q(e,t,n){var o="double"===(n.quoteStyle||t)?'"':"'";return o+e+o}function M(e){return y.call(String(e),/"/g,""")}function I(e){return!("[object Array]"!==R(e)||N&&"object"==typeof e&&N in e)}function P(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,r){var l=n||{};if(H(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(H(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!H(l,"customInspect")||l.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(H(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(H(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return h?O(t,b):b}if("bigint"==typeof t){var L=String(t)+"n";return h?O(t,L):L}var k=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=k&&k>0&&"object"==typeof t)return I(t)?"[Array]":"[Object]";var S=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=B.call(Array(e.indent+1)," ")}return{base:n,prev:B.call(Array(t+1),n)}}(l,o);if(void 0===r)r=[];else if(j(r,t)>=0)return"[Circular]";function U(t,n,i){if(n&&(r=_.call(r)).push(n),i){var a={depth:l.depth};return H(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,o+1,r)}return e(t,l,o+1,r)}if("function"==typeof t){var D=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),z=Z(t,U);return"[Function"+(D?": "+D:" (anonymous)")+"]"+(z.length>0?" { "+B.call(z,", ")+" }":"")}if(P(t)){var J=T?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||T?J:K(J)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var X="<"+w.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)X+=" "+ee[te].name+"="+q(M(ee[te].value),"double",l);return X+=">",t.childNodes&&t.childNodes.length&&(X+="..."),X+="</"+w.call(String(t.nodeName))+">"}if(I(t)){if(0===t.length)return"[]";var ne=Z(t,U);return S&&!function(e){for(var t=0;t<e.length;t++)if(j(e[t],"\n")>=0)return!1;return!0}(ne)?"["+G(ne,S)+"]":"[ "+B.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==R(e)||N&&"object"==typeof e&&N in e)}(t)){var oe=Z(t,U);return"cause"in t&&!F.call(t,"cause")?"{ ["+String(t)+"] "+B.call(C.call("[cause]: "+U(t.cause),oe),", ")+" }":0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+B.call(oe,", ")+" }"}if("object"==typeof t&&s){if(Q&&"function"==typeof t[Q])return t[Q]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var re=[];return a.call(t,(function(e,n){re.push(U(n,t,!0)+" => "+U(e,t))})),Y("Map",i.call(t),re,S)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ie=[];return c.call(t,(function(e){ie.push(U(e,t))})),Y("Set",u.call(t),ie,S)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{A.call(e,A)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return W("WeakMap");if(function(e){if(!A||!e||"object"!=typeof e)return!1;try{A.call(e,A);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return W("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return W("WeakRef");if(function(e){return!("[object Number]"!==R(e)||N&&"object"==typeof e&&N in e)}(t))return K(U(Number(t)));if(function(e){if(!e||"object"!=typeof e||!x)return!1;try{return x.call(e),!0}catch(e){}return!1}(t))return K(U(x.call(t)));if(function(e){return!("[object Boolean]"!==R(e)||N&&"object"==typeof e&&N in e)}(t))return K(f.call(t));if(function(e){return!("[object String]"!==R(e)||N&&"object"==typeof e&&N in e)}(t))return K(U(String(t)));if(!function(e){return!("[object Date]"!==R(e)||N&&"object"==typeof e&&N in e)}(t)&&!function(e){return!("[object RegExp]"!==R(e)||N&&"object"==typeof e&&N in e)}(t)){var ae=Z(t,U),le=V?V(t)===Object.prototype:t instanceof Object||t.constructor===Object,se=t instanceof Object?"":"null prototype",ue=!le&&N&&Object(t)===t&&N in t?g.call(R(t),8,-1):se?"Object":"",ce=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ue||se?"["+B.call(C.call([],ue||[],se||[]),": ")+"] ":"");return 0===ae.length?ce+"{}":S?ce+"{"+G(ae,S)+"}":ce+"{ "+B.call(ae,", ")+" }"}return String(t)};var D=Object.prototype.hasOwnProperty||function(e){return e in this};function H(e,t){return D.call(e,t)}function R(e){return h.call(e)}function j(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function $(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return $(g.call(e,0,t.maxStringLength),t)+o}return q(y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,z),"single",t)}function z(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function K(e){return"Object("+e+")"}function W(e){return e+" { ? }"}function Y(e,t,n,o){return e+" ("+t+") {"+(o?G(n,o):B.call(n,", "))+"}"}function G(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+B.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=I(e),o=[];if(n){o.length=e.length;for(var r=0;r<e.length;r++)o[r]=H(e,r)?t(e[r],e):""}var i,a="function"==typeof S?S(e):[];if(T){i={};for(var l=0;l<a.length;l++)i["$"+a[l]]=a[l]}for(var s in e)H(e,s)&&(n&&String(Number(s))===s&&s<e.length||T&&i["$"+s]instanceof Symbol||(L.call(/[^\w$]/,s)?o.push(t(s,e)+": "+t(e[s],e)):o.push(s+": "+t(e[s],e))));if("function"==typeof S)for(var u=0;u<a.length;u++)F.call(e,a[u])&&o.push("["+t(a[u])+"]: "+t(e[a[u]],e));return o}},4155:e=>{var t,n,o=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l,s=[],u=!1,c=-1;function d(){u&&l&&(u=!1,l.length?s=l.concat(s):c=-1,s.length&&A())}function A(){if(!u){var e=a(d);u=!0;for(var t=s.length;t;){for(l=s,s=[];++c<t;)l&&l[c].run();c=-1,t=s.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||u||a(A)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=f,o.addListener=f,o.once=f,o.off=f,o.removeListener=f,o.removeAllListeners=f,o.emit=f,o.prependListener=f,o.prependOnceListener=f,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},5798:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,o="RFC1738",r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:r}},129:(e,t,n)=>{"use strict";var o=n(8261),r=n(5235),i=n(5798);e.exports={formats:i,parse:r,stringify:o}},5235:(e,t,n)=>{"use strict";var o=n(2769),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,o){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,l=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=l?i.slice(0,l.index):i,c=[];if(u){if(!n.plainObjects&&r.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var d=0;n.depth>0&&null!==(l=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&r.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+i.slice(l.index)+"]"),function(e,t,n,o){for(var r=o?t:s(t,n),i=e.length-1;i>=0;--i){var a,l=e[i];if("[]"===l&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,c=parseInt(u,10);n.parseArrays||""!==u?!isNaN(c)&&l!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=r:"__proto__"!==u&&(a[u]=r):a={0:r}}r=a}return r}(c,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,u={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,A=c.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<A.length;++n)0===A[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===A[n]?f="utf-8":"utf8=%26%2310003%3B"===A[n]&&(f="iso-8859-1"),p=n,n=A.length);for(n=0;n<A.length;++n)if(n!==p){var h,m,v=A[n],g=v.indexOf("]="),y=-1===g?v.indexOf("="):g+1;-1===y?(h=t.decoder(v,a.decoder,f,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,y),a.decoder,f,"key"),m=o.maybeMap(s(v.slice(y+1),t),(function(e){return t.decoder(e,a.decoder,f,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===f&&(m=l(m)),v.indexOf("[]=")>-1&&(m=i(m)?[m]:m),r.call(u,h)?u[h]=o.combine(u[h],m):u[h]=m}return u}(e,n):e,d=n.plainObjects?Object.create(null):{},A=Object.keys(c),p=0;p<A.length;++p){var f=A[p],h=u(f,c[f],n,"string"==typeof e);d=o.merge(d,h,n)}return!0===n.allowSparse?d:o.compact(d)}},8261:(e,t,n)=>{"use strict";var o=n(7478),r=n(2769),i=n(5798),a=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=String.prototype.split,c=Array.prototype.push,d=function(e,t){c.apply(e,s(t)?t:[t])},A=Date.prototype.toISOString,p=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return A.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,i,a,l,c,A,p,m,v,g,y,b,w,L){for(var C,B=t,_=L,k=0,x=!1;void 0!==(_=_.get(h))&&!x;){var S=_.get(t);if(k+=1,void 0!==S){if(S===k)throw new RangeError("Cyclic object value");x=!0}void 0===_.get(h)&&(k=0)}if("function"==typeof A?B=A(n,B):B instanceof Date?B=v(B):"comma"===i&&s(B)&&(B=r.maybeMap(B,(function(e){return e instanceof Date?v(e):e}))),null===B){if(a)return c&&!b?c(n,f.encoder,w,"key",g):n;B=""}if("string"==typeof(C=B)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||r.isBuffer(B)){if(c){var E=b?n:c(n,f.encoder,w,"key",g);if("comma"===i&&b){for(var T=u.call(String(B),","),N="",F=0;F<T.length;++F)N+=(0===F?"":",")+y(c(T[F],f.encoder,w,"value",g));return[y(E)+"="+N]}return[y(E)+"="+y(c(B,f.encoder,w,"value",g))]}return[y(n)+"="+y(String(B))]}var V,O=[];if(void 0===B)return O;if("comma"===i&&s(B))V=[{value:B.length>0?B.join(",")||null:void 0}];else if(s(A))V=A;else{var U=Object.keys(B);V=p?U.sort(p):U}for(var Q=0;Q<V.length;++Q){var q=V[Q],M="object"==typeof q&&void 0!==q.value?q.value:B[q];if(!l||null!==M){var I=s(B)?"function"==typeof i?i(n,q):n:n+(m?"."+q:"["+q+"]");L.set(t,k);var P=o();P.set(h,L),d(O,e(M,I,i,a,l,c,A,p,m,v,g,y,b,w,P))}}return O};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],r=f.filter;return("function"==typeof e.filter||s(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:r,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var c,A=[];if("object"!=typeof r||null===r)return"";c=t&&t.arrayFormat in l?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=l[c];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var h=o(),v=0;v<n.length;++v){var g=n[v];u.skipNulls&&null===r[g]||d(A,m(r[g],g,p,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,h))}var y=A.join(u.delimiter),b=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},2769:(e,t,n)=>{"use strict";var o=n(5798),r=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var r=t[o],a=r.obj[r.prop],l=Object.keys(a),s=0;s<l.length;++s){var u=l[s],c=a[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:a,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var o=[],r=0;r<n.length;++r)void 0!==n[r]&&o.push(n[r]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,n){var o=e.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,n,r,i){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===n)return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",u=0;u<l.length;++u){var c=l.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===o.RFC1738&&(40===c||41===c)?s+=l.charAt(u):c<128?s+=a[c]:c<2048?s+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?s+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&l.charCodeAt(u)),s+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=l(t,o)),i(t)&&i(n)?(n.forEach((function(n,i){if
2(r.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,o):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return r.call(t,i)?t[i]=e(t[i],a,o):t[i]=a,t}),a)}}},9828:(e,t,n)=>{"use strict";n.d(t,{hTZ:()=>jr});var o=n(3868);const r=(0,o.ref)(!1);let i;const a="ontouchstart"in window||window.navigator.maxTouchPoints>0;const l=navigator.userAgent||navigator.vendor||window.opera,s={has:{touch:!1,webStorage:!1},within:{iframe:!1}},u={userAgent:l,is:function(e){const t=e.toLowerCase(),n=function(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}(t),o=function(e,t){const n=/(edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}(t,n),r={};o.browser&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(r[o.platform]=!0);const l=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];return!0===l||t.indexOf("mobile")>-1?(r.mobile=!0,r.edga||r.edgios?(r.edge=!0,o.browser="edge"):r.crios?(r.chrome=!0,o.browser="chrome"):r.fxios&&(r.firefox=!0,o.browser="firefox")):r.desktop=!0,(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r["windows phone"]&&(r.winphone=!0,delete r["windows phone"]),(r.chrome||r.opr||r.safari||r.vivaldi||!0===r.mobile&&!0!==r.ios&&!0!==l)&&(r.webkit=!0),(r.safari&&r.blackberry||r.bb)&&(o.browser="blackberry",r.blackberry=!0),r.safari&&r.playbook&&(o.browser="playbook",r.playbook=!0),r.opr&&(o.browser="opera",r.opera=!0),r.safari&&r.android&&(o.browser="android",r.android=!0),r.safari&&r.kindle&&(o.browser="kindle",r.kindle=!0),r.safari&&r.silk&&(o.browser="silk",r.silk=!0),r.vivaldi&&(o.browser="vivaldi",r.vivaldi=!0),r.name=o.browser,r.platform=o.platform,t.indexOf("electron")>-1?r.electron=!0:document.location.href.indexOf("-extension://")>-1?r.bex=!0:(void 0!==window.Capacitor?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),!0===a&&!0===r.mac&&(!0===r.desktop&&!0===r.safari||!0===r.nativeMobile&&!0!==r.android&&!0!==r.ios&&!0!==r.ipad)&&function(e){i={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}(r)),r}(l),has:{touch:a},within:{iframe:window.self!==window.top}},c={install(e){const{$q:t}=e;!0===r.value?(e.onSSRHydrated.push((()=>{r.value=!1,Object.assign(t.platform,u),i=void 0})),t.platform=(0,o.reactive)(this)):t.platform=this}};{let e;Object.defineProperty(u.has,"webStorage",{get:()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(e){}return e=!1,!1}}),!0===u.is.ios&&window.navigator.vendor.toLowerCase().indexOf("apple"),!0===r.value?Object.assign(c,u,i,s):Object.assign(c,u)}var d=(e,t)=>{const n={},r=(0,o.reactive)(e);return Object.keys(e).forEach((e=>{n[e]={get:()=>r[e],set:t=>{r[e]=t}}})),Object.defineProperties(t,n),t};const A={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(A,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(jc){}function p(){}function f(e){return 0===e.button}function h(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function m(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}function v(e){e.stopPropagation()}function g(e){!1!==e.cancelable&&e.preventDefault()}function y(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function b(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",g,A.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",g,A.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function w(e,t,n){const o=`__q_${t}_evt`;
2e[o]=void 0!==e[o]?e[o].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],A[t[3]])}))}function L(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],A[t[3]])})),e[n]=void 0)}function C(e,t=250,n){let o;function r(){const r=arguments,i=()=>{o=void 0,!0!==n&&e.apply(this,r)};clearTimeout(o),!0===n&&void 0===o&&e.apply(this,r),o=setTimeout(i,t)}return r.cancel=()=>{clearTimeout(o)},r}const B=["sm","md","lg","xl"],{passive:_}=A;d({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:p,setDebounce:p,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const n=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const t=window.innerWidth,o=window.innerHeight;if(o!==this.height&&(this.height=o),t!==this.width)this.width=t;else if(!0!==e)return;let r=this.sizes;this.gt.xs=t>=r.sm,this.gt.sm=t>=r.md,this.gt.md=t>=r.lg,this.gt.lg=t>=r.xl,this.lt.sm=t<r.sm,this.lt.md=t<r.md,this.lt.lg=t<r.lg,this.lt.xl=t<r.xl,this.xs=this.lt.sm,this.sm=!0===this.gt.xs&&!0===this.lt.md,this.md=!0===this.gt.sm&&!0===this.lt.lg,this.lg=!0===this.gt.md&&!0===this.lt.xl,this.xl=this.gt.lg,r=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",r!==this.name&&(!0===n&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${r}`)),this.name=r)};let o,i={},a=16;this.setSizes=e=>{B.forEach((t=>{void 0!==e[t]&&(i[t]=e[t])}))},this.setDebounce=e=>{a=e};const l=()=>{const e=getComputedStyle(document.body),t=void 0!==window.visualViewport?window.visualViewport:window;e.getPropertyValue("--q-size-sm")&&B.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{B.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==o&&t.removeEventListener("resize",o,_),o=e>0?C(this.__update,e):this.__update,t.addEventListener("resize",o,_)},this.setDebounce(a),Object.keys(i).length>0?(this.setSizes(i),i=void 0):this.__update(),!0===n&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===r.value?t.push(l):l()}});const k=d({isActive:!1,mode:!1},{__media:void 0,set(e){k.mode=e,"auto"===e?(void 0===k.__media&&(k.__media=window.matchMedia("(prefers-color-scheme: dark)"),k.__updateMedia=()=>{k.set("auto")},k.__media.addListener(k.__updateMedia)),e=k.__media.matches):void 0!==k.__media&&(k.__media.removeListener(k.__updateMedia),k.__media=void 0),k.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){k.set(!1===k.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:n}){const{dark:o}=e.config;if(e.dark=this,!0===this.__installed&&void 0===o)return;this.isActive=!0===o;const i=void 0!==o&&o;if(!0===r.value){const e=e=>{this.__fromSSR=e},n=this.set;this.set=e,e(i),t.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(i)}}),x=()=>!0;function S(e){return"string"==typeof e&&""!==e&&"/"!==e&&"#/"!==e}function E(e){return!0===e.startsWith("#")&&(e=e.substr(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substr(0,e.length-1)),"#"+e}var T={__history:[],add:p,remove:p,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=u.is;if(!0!==t&&!0!==n)return;const o=e.config[!0===t?"cordova":"capacitor"];if(void 0!==o&&!1===o.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=x),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const r=function(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return x;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(S).map(E)),()=>t.includes(window.location.hash)}(Object.assign({backButtonExit:!0},o)),i=()=>
2{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===r()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",i,!1)})):window.Capacitor.Plugins.App.addListener("backButton",i)}},N={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function F(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"==typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const V=d({__langPack:{}},{getLocale:F,set(e=N,t){const n={...e,rtl:!0===e.rtl,getLocale:F};{const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName),n.set=V.set,Object.assign(V.__langPack,n),V.props=n,V.isoName=n.isoName,V.nativeName=n.nativeName}},install({$q:e,lang:t,ssrContext:n}){e.lang=V.__langPack,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||N)}});let O=!1;function U(e){return!0===O||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function Q(e,t){return!0!==U(e)&&[].concat(t).includes(e.keyCode)}var q={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const M=d({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};
2n.set=M.set,Object.assign(M.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,Object.defineProperty(e,"iconMapFn",{get:()=>this.iconMapFn,set:e=>{this.iconMapFn=e}}),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||q)}}),I="_q_t_",P="_q_s_",D="_q_l_",H="_q_pc_",R="_q_f_",j="_q_fo_",$="_q_tabs_",z="_q_u_",K={};function W(e,t){const n=(0,o.createApp)(e);n.config.globalProperties=t.config.globalProperties;const{reload:r,...i}=t._context;return Object.assign(n._context,i),n}const Y=["B","KB","MB","GB","TB","PB"];function G(e){let t=0;for(;parseInt(e,10)>=1024&&t<Y.length-1;)e/=1024,++t;return`${e.toFixed(1)}${Y[t]}`}function Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function J(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function X(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),0===r?0:r}function ee(e,t=2,n="0"){if(null==e)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}const te=XMLHttpRequest,ne=te.prototype.send,oe=[],re=[];let ie=0;var ae=(0,o.defineComponent)({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>["top","right","bottom","left"].includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean},emits:["start","stop"],setup(e,{emit:t}){const{proxy:n}=(0,o.getCurrentInstance)(),r=(0,o.ref)(0),i=(0,o.ref)(!1),a=(0,o.ref)(!0);let l,s,u=0;const c=(0,o.computed)((()=>`q-loading-bar q-loading-bar--${e.position}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===a.value?"":" no-transition"))),d=(0,o.computed)((()=>"top"===e.position||"bottom"===e.position)),A=(0,o.computed)((()=>!0===d.value?"height":"width")),p=(0,o.computed)((()=>{const t=i.value,o=function({p:e,pos:t,active:n,horiz:o,reverse:r,dir:i}){let a=1,l=1;return o?(r&&(a=-1),"bottom"===t&&(l=-1),{transform:`translate3d(${a*(e-100)}%,${n?0:-200*l}%,0)`}):(r&&(l=-1),"right"===t&&(a=-1),{transform:`translate3d(${n?0:i*a*-200}%,${l*(e-100)}%,0)`})}({p:r.value,pos:e.position,active:t,horiz:d.value,reverse:!0===n.$q.lang.rtl&&["top","bottom"].includes(e.position)?!e.reverse:e.reverse,dir:!0===n.$q.lang.rtl?-1:1});return o[A.value]=e.size,o.opacity=t?1:0,o})),f=(0,o.computed)((()=>!0===i.value?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"}));function h(e=300){const n=s;s=Math.max(0,e)||0,u++,u>1?0===n&&e>0?g():n>0&&e<=0&&clearTimeout(l):(clearTimeout(l),t("start"),r.value=0,!0!==i.value&&(i.value=!0,a.value=!1,l=setTimeout((()=>{a.value=!0,e>0&&g()}),100)))}function m(e){u>0&&(r.value=function(e,t){return"number"!=typeof t&&(t=e<25?3*Math.random()+3:e<65?3*Math.random():e<85?2*Math.random():e<99?.6:0),J(e+t,0,100)}(r.value,e))}function v(){if(u=Math.max(0,u-1),u>0)return;clearTimeout(l),t("stop");const e=()=>{a.value=!0,r.value=100,l=setTimeout((()=>{i.value=!1}),1e3)};0===r.value?l=setTimeout(e,1):e()}function g(){r.value<100&&(l=setTimeout((()=>{m(),g()}),s))}let y;return(0,o.onMounted)((()=>{!0!==e.skipHijack&&(y=!0,function(e,t){function n(){re.forEach((e=>{e()}))}oe.push(e),re.push(t),ie++,ie>1||(te.prototype.send=function(){oe.forEach((e=>{e()})),this.addEventListener("loadend",n,!1),ne.apply(this,arguments)})}(h,v))})),(0,o.onBeforeUnmount)((()=>{clearTimeout(l),!0===y&&function(e,t){oe.splice(oe.indexOf(e),1),re.splice(re.indexOf(t),1),ie=Math.max(0,ie-1),0===ie&&(te.prototype.send=ne)}(h,v)})),Object.assign(n,{start:h,stop:v,increment:m}),()=>(0,o.h)("div",{class:c.value,style:p.value,...f.value})}});const le={xs:18,sm:24,md:32,lg:38,xl:46},se={size:String};function ue(e,t=le){return(0,o.computed)((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}function ce(e,t){return void 0!==e?e():t}function de(e,t){return void 0!==e?e().slice():t}function Ae(e,t){return void 0!==e?t.concat(e()):t}function pe(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function fe(e,t,n,r,i,a){t.key=r+i;const l=(0,o.h)(e,t,n);return!0===i?(0,o.withDirectives)(l,a()):l}const he=e=>e,me=e=>`ionicons ${e}`,ve={"icon-":he,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":me,"ion-ios":me,"ion-logo":me,"mdi-":e=>`mdi ${e}`,"iconfont ":he,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ge={o_:"-outlined",r_:"-round",s_:"-sharp"},ye=new RegExp("^("+Object.keys(ve).join("|")+")"),be=new RegExp("^("+Object.keys(ge).join("|")+")"),we=/^M/,Le=/^img:/,Ce=/^
2svguse:/,Be=/^ion-/,_e=/^[l|f]a[s|r|l|b|d]? /;var ke=(0,o.defineComponent)({name:"QIcon",props:{...se,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=ue(e),i=(0,o.computed)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),a=(0,o.computed)((()=>{let t,r=e.name;if(!r)return{none:!0,cls:i.value};if(null!==n.iconMapFn){const e=n.iconMapFn(r);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls+" "+i.value,content:void 0!==e.content?e.content:" "};r=e.icon}}if(!0===we.test(r)){const[e,t]=r.split("|");return{svg:!0,cls:i.value,nodes:e.split("&&").map((e=>{const[t,n,r]=e.split("@@");return(0,o.h)("path",{style:n,d:t,transform:r})})),viewBox:void 0!==t?t:"0 0 24 24"}}if(!0===Le.test(r))return{img:!0,cls:i.value,src:r.substring(4)};if(!0===Ce.test(r)){const[e,t]=r.split("|");return{svguse:!0,cls:i.value,src:e.substring(7),viewBox:void 0!==t?t:"0 0 24 24"}}let a=" ";const l=r.match(ye);if(null!==l)t=ve[l[1]](r);else if(!0===_e.test(r))t=r;else if(!0===Be.test(r))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${r.substr(3)}`;else{t="notranslate material-icons";const e=r.match(be);null!==e&&(r=r.substring(2),t+=ge[e[1]]),a=r}return{cls:t+" "+i.value,content:a}}));return()=>{const n={class:a.value.cls,style:r.value,"aria-hidden":"true",role:"presentation"};return!0===a.value.none?(0,o.h)(e.tag,n,ce(t.default)):!0===a.value.img?(n.src=a.value.src,(0,o.h)("img",n)):!0===a.value.svg?(n.viewBox=a.value.viewBox,(0,o.h)("svg",n,Ae(t.default,a.value.nodes))):!0===a.value.svguse?(n.viewBox=a.value.viewBox,(0,o.h)("svg",n,Ae(t.default,[(0,o.h)("use",{"xlink:href":a.value.src})]))):(0,o.h)(e.tag,n,Ae(t.default,[a.value.content]))}}}),xe=(0,o.defineComponent)({name:"QAvatar",props:{...se,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=ue(e),r=(0,o.computed)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),i=(0,o.computed)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const a=void 0!==e.icon?[(0,o.h)(ke,{name:e.icon})]:void 0;return(0,o.h)("div",{class:r.value,style:n.value},[(0,o.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},pe(t.default,a))])}}});const Se=["top","middle","bottom"];var Ee=(0,o.defineComponent)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Se.includes(e)}},setup(e,{slots:t}){const n=(0,o.computed)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),r=(0,o.computed)((()=>{const t=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,o.h)("div",{class:r.value,style:n.value,role:"alert","aria-label":e.label},void 0!==e.label?e.label:ce(t.default))}});const Te={dark:{type:Boolean,default:null}};function Ne(e,t){return(0,o.computed)((()=>null===e.dark?t.dark.isActive:e.dark))}var Fe=(0,o.defineComponent)({name:"QBanner",props:{...Te,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>"q-banner row items-center"+(!0===e.dense?" q-banner--dense":"")+(!0===r.value?" q-banner--dark q-dark":"")+(!0===e.rounded?" rounded-borders":""))),a=(0,o.computed)((()=>"q-banner__actions row items-center justify-end col-"+(!0===e.inlineActions?"auto":"all")));return()=>{const n=[(0,o.h)("div",{class:"q-banner__avatar col-auto row items-center self-start"},ce(t.avatar)),(0,o.h)("div",{class:"q-banner__content col text-body2"},ce(t.default))],r=ce(t.action);return void 0!==r&&n.push((0,o.h)("div",{class:a.value},r)),(0,o.h)("div",{class:i.value+(!1===e.inlineActions&&void 0!==r?" q-banner--top-padding":""),role:"alert"},n)}}}),Ve=(0,o.defineComponent)({name:"QBar",props:{...Te,dense:Boolean},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>`q-bar row no-wrap items-center q-bar--${!0===e.dense?"dense":"standard"} q-bar--`+(!0===r.value?"dark":"light")));return()=>(0,o.h)("div",{class:i.value,role:"toolbar"},ce(t.default))}});const Oe={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ue=Object.keys(Oe),Qe={align:{type:String,validator:e=>Ue.includes(e)}};function qe(e){return(0,o.computed)((()=>{const t=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${Oe[t]}`}))}function Me(e){if(void 0!==e.$parent&&null!==e.$parent)return e.$parent;for(e=e.$.parent;null!=e;){if(void 0!==e.proxy&&null!==e.proxy)return e.proxy;e=e.parent}}function Ie(e){const t=new Set;return e.forEach((e=>{"symbol"==typeof e.type&&!0===Array.isArray(e.children)?e.children.forEac
2h((e=>{t.add(e)})):t.add(e)})),Array.from(t)}function Pe(e){return void 0!==e.appContext.config.globalProperties.$router}var De=(0,o.defineComponent)({name:"QBreadcrumbs",props:{...Qe,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){const n=qe(e),r=(0,o.computed)((()=>`flex items-center ${n.value}${"none"===e.gutter?"":` q-gutter-${e.gutter}`}`)),i=(0,o.computed)((()=>e.separatorColor?` text-${e.separatorColor}`:"")),a=(0,o.computed)((()=>`text-${e.activeColor}`));return()=>{const n=Ie(ce(t.default));if(void 0===n)return;let l=1;const s=[],u=n.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,c=void 0!==t.separator?t.separator:()=>e.separator;return n.forEach((e=>{if(void 0!==e.type&&"QBreadcrumbsEl"===e.type.name){const t=l<u;l++,s.push((0,o.h)("div",{class:"flex items-center "+(!0===t?a.value:"q-breadcrumbs--last")},[e])),!0===t&&s.push((0,o.h)("div",{class:"q-breadcrumbs__separator"+i.value},c()))}else s.push(e)})),(0,o.h)("div",{class:"q-breadcrumbs"},[(0,o.h)("div",{class:r.value},s)])}}});function He(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Re(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}const je={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},disable:Boolean};function $e(){const e=(0,o.getCurrentInstance)(),{props:t,attrs:n,proxy:r}=e,i=Pe(e),a=(0,o.computed)((()=>!0===i&&!0!==t.disable&&void 0!==t.to&&null!==t.to&&""!==t.to)),l=(0,o.computed)((()=>!0===a.value?"a":t.tag||"div")),s=(0,o.computed)((()=>!0===a.value?r.$router.resolve(t.to):null)),u=(0,o.computed)((()=>{if(!1===a.value)return null;const{matched:e}=s.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const o=r.$route.matched;if(0===o.length)return-1;const i=o.findIndex(Re.bind(null,n));if(i>-1)return i;const l=He(e[t-2]);return t>1&&He(n)===l&&o[o.length-1].path!==l?o.findIndex(Re.bind(null,e[t-2])):i})),c=(0,o.computed)((()=>!0===a.value&&u.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!1===Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(r.$route.params,s.value.params))),d=(0,o.computed)((()=>!0===c.value&&u.value===r.$route.matched.length-1)),A=(0,o.computed)((()=>!0===a.value?!0===d.value?` ${t.exactActiveClass} ${t.activeClass}`:!0===t.exact?"":!0===c.value?` ${t.activeClass}`:"":"")),p=(0,o.computed)((()=>!0===a.value?{href:s.value.href,target:n.target,role:"link"}:{}));return{hasLink:a,linkTag:l,linkRoute:s,linkIsActive:c,linkIsExactActive:d,linkClass:A,linkProps:p,navigateToLink:function(e){return!(!0===t.disable||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||!0!==e.__qNavigate&&!0===e.defaultPrevented||void 0!==e.button&&0!==e.button||"_blank"===n.target||(g(e),r.$router[!0===t.replace?"replace":"push"](t.to).catch((()=>{})),0))}}}var ze=(0,o.defineComponent)({name:"QBreadcrumbsEl",props:{...je,label:String,icon:String,tag:{type:String,default:"span"}},setup(e,{slots:t}){const{linkTag:n,linkProps:r,hasLink:i,navigateToLink:a}=$e(),l=(0,o.computed)((()=>{const e={...r.value};return!0===i.value&&(e.onClick=a),e})),s=(0,o.computed)((()=>"q-breadcrumbs__el-icon"+(void 0!==e.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const r=[];return void 0!==e.icon&&r.push((0,o.h)(ke,{class:s.value,name:e.icon})),void 0!==e.label&&r.push(e.label),(0,o.h)(n.value,{class:"q-breadcrumbs__el q-link flex inline items-center relative-position",...l.value},Ae(t.default,r))}}});const Ke={size:{type:[Number,String],default:"1em"},color:String};function We(e){return{cSize:(0,o.computed)((()=>e.size in le?`${le[e.size]}px`:e.size)),classes:(0,o.computed)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}var Ye=(0,o.defineComponent)({name:"QSpinner",props:{...Ke,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[(0,o.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Ge(e){if(e===window)return{top:0,left:0};const{top:t,left:n}=e.getBoundingClientRect();return{top:t,left:n}}function Ze(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Je(e,t){const n=e.style;Object.keys(t).forEach((e=>{n[e]=t[e]}))}function Xe(e,t){if(void 0===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function et(e,t=250){let n,o=!1;return function(){return!1===o&&(o=!0,setTimeout((()=>{o=!1}),t),n=e.apply(this,arguments)),n}}function tt(e,t,n,o){!0===n.modifiers.stop&&v(e);const r=n.modifiers.color;let i=n.modifiers.center;i=!0===i||!0===o;const a=document.createElement("span"),l=document.createElement("span"),s=h(e),{left:u,top:c,width:d,height:A}=t.getBoundingClientRect(),p=Math.sqrt(d*d+A*A),f=p/2,m=(d-p)/2+"px",g=i?m:s.left-u-f+"px",y=(A-p)/2+"px",b=i?y:s.top-c-f+"px";l.className="q-ripple__inner",Je(l,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${g},${b},0) scale3d(.2,.2,1)`,opacity:0}
2),a.className="q-ripple"+(r?" text-"+r:""),a.setAttribute("dir","ltr"),a.appendChild(l),t.appendChild(a);const w=()=>{a.remove(),clearTimeout(L)};n.abort.push(w);let L=setTimeout((()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${m},${y},0) scale3d(1,1,1)`,l.style.opacity=.2,L=setTimeout((()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,L=setTimeout((()=>{a.remove(),n.abort.splice(n.abort.indexOf(w),1)}),275)}),250)}),50)}function nt(e,{modifiers:t,value:n,arg:o,instance:r}){const i=Object.assign({},r.$q.config.ripple,t,n);e.modifiers={early:!0===i.early,stop:!0===i.stop,center:!0===i.center,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}var ot={name:"ripple",beforeMount(e,t){const n={enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===n.enabled&&!0!==t.qSkipRipple&&(!0===n.modifiers.early?!0===["mousedown","touchstart"].includes(t.type):"click"===t.type)&&tt(t,e,n,!0===t.qKeyEvent)},keystart:et((t=>{!0===n.enabled&&!0!==t.qSkipRipple&&!0===Q(t,n.modifiers.keyCodes)&&t.type==="key"+(!0===n.modifiers.early?"down":"up")&&tt(t,e,n,!0)}),300)};nt(n,t),e.__qripple=n,w(n,"main",[[e,"mousedown","start","passive"],[e,"touchstart","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&nt(n,t)}},beforeUnmount(e){const t=e.__qripple;t.abort.forEach((e=>{e()})),L(t,"main"),delete e._qripple}};const rt={none:0,xs:4,sm:8,md:16,lg:24,xl:32},it={xs:8,sm:10,md:14,lg:20,xl:24},at={...se,...je,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Qe.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};const{passiveCapture:lt}=A;let st=null,ut=null,ct=null;var dt=(0,o.defineComponent)({name:"QBtn",props:{...at,percentage:Number,darkPercentage:Boolean},emits:["click","keydown","touchstart","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{classes:i,style:a,innerClasses:l,attributes:s,hasLink:u,isLink:c,navigateToLink:d,isActionable:A}=function(e){const t=ue(e,it),n=qe(e),{hasLink:r,linkProps:i,navigateToLink:a}=$e(),l=(0,o.computed)((()=>{const n=!1===e.fab&&!1===e.fabMini?t.value:{};return void 0!==e.padding?Object.assign({},n,{padding:e.padding.split(/\s+/).map((e=>e in rt?rt[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):n})),s=(0,o.computed)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),u=(0,o.computed)((()=>!0!==e.disable&&!0!==e.loading)),c=(0,o.computed)((()=>!0===u.value?e.tabindex||0:-1)),d=(0,o.computed)((()=>"a"===e.type||!0===r.value)),A=(0,o.computed)((()=>!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":"standard")),p=(0,o.computed)((()=>{const t={tabindex:c.value};return"a"!==e.type&&(t.type=e.type),!0===r.value?Object.assign(t,i.value):t.role="a"===e.type?"link":"button",!0===e.loading&&void 0!==e.percentage&&Object.assign(t,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),!0===e.disable&&(t.disabled="",t["aria-disabled"]="true"),t})),f=(0,o.computed)((()=>{let t;return void 0!==e.color?t=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(t=`text-${e.textColor}`),`q-btn--${A.value} q-btn--`+(!0===e.round?"round":"rectangle"+(!0===s.value?" q-btn--rounded":""))+(void 0!==t?" "+t:"")+(!0===u.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")}));return{classes:f,style:l,innerClasses:(0,o.computed)((()=>n.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":""))),attributes:p,hasLink:r,isLink:d,navigateToLink:a,isActionable:u}}(e),p=(0,o.ref)(null),f=(0,o.ref)(null);let h,m,b=null;const w=(0,o.computed)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),L=(0,o.computed)((()=>!1!==e.ripple&&{keyCodes:!0===c.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),C=(0,o.computed)((()=>{const t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}:{}})),B=(0,o.computed)((()=>!0===e.loading?{onMousedown:V,onTouchstartPassive:V,onClick:V,onKeydown:V,onKeyup:V}:!0===A.value?{onClick:x,onKeydown:S,onMousedown:T,onTouchstartPassive:E}:{onClick:y}
2)),_=(0,o.computed)((()=>[[ot,L.value,void 0,{center:e.round}]])),k=(0,o.computed)((()=>({ref:p,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:a.value,...s.value,...B.value})));function x(t){if(void 0!==t){if(!0===t.defaultPrevented)return;const n=document.activeElement;if("submit"===e.type&&n!==document.body&&!1===p.value.contains(n)&&!1===n.contains(p.value)){p.value.focus();const e=()=>{document.removeEventListener("keydown",y,!0),document.removeEventListener("keyup",e,lt),null!==p.value&&p.value.removeEventListener("blur",e,lt)};document.addEventListener("keydown",y,!0),document.addEventListener("keyup",e,lt),p.value.addEventListener("blur",e,lt)}}if(!0===u.value){const e=()=>{t.__qNavigate=!0,d(t)};n("click",t,e),!0!==t.defaultPrevented&&e()}else n("click",t)}function S(e){!0===Q(e,[13,32])&&(y(e),ut!==p.value&&(null!==ut&&F(),p.value.focus(),ut=p.value,p.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),p.value.addEventListener("blur",N,lt))),n("keydown",e)}function E(e){st!==p.value&&(null!==st&&F(),st=p.value,b=e.target,b.addEventListener("touchcancel",N,lt),b.addEventListener("touchend",N,lt)),h=!0,clearTimeout(m),m=setTimeout((()=>{h=!1}),200),n("touchstart",e)}function T(e){ct!==p.value&&(null!==ct&&F(),ct=p.value,p.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,lt)),e.qSkipRipple=!0===h,n("mousedown",e)}function N(e){if(void 0===e||"blur"!==e.type||document.activeElement!==p.value){if(void 0!==e&&"keyup"===e.type){if(ut===p.value&&!0===Q(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&g(t),!0===e.cancelBubble&&v(t),p.value.dispatchEvent(t),y(e),e.qKeyEvent=!0}n("keyup",e)}F()}}function F(e){const t=f.value;!0===e||st!==p.value&&ct!==p.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),st===p.value&&(null!==b&&(b.removeEventListener("touchcancel",N,lt),b.removeEventListener("touchend",N,lt)),st=b=null),ct===p.value&&(document.removeEventListener("mouseup",N,lt),ct=null),ut===p.value&&(document.removeEventListener("keyup",N,!0),null!==p.value&&p.value.removeEventListener("blur",N,lt),ut=null),null!==p.value&&p.value.classList.remove("q-btn--active")}function V(e){e.qSkipRipple=!0}return(0,o.onBeforeUnmount)((()=>{F(!0)})),Object.assign(r,{click:x}),()=>{let n=[];void 0!==e.icon&&n.push((0,o.h)(ke,{name:e.icon,left:!1===e.stack&&!0===w.value,role:"img","aria-hidden":"true"})),!0===w.value&&n.push((0,o.h)("span",{class:"block"},[e.label])),n=Ae(t.default,n),void 0!==e.iconRight&&!1===e.round&&n.push((0,o.h)(ke,{name:e.iconRight,right:!1===e.stack&&!0===w.value,role:"img","aria-hidden":"true"}));const r=[(0,o.h)("span",{class:"q-focus-helper",ref:f})];return!0===e.loading&&void 0!==e.percentage&&r.push((0,o.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"},[(0,o.h)("span",{class:"q-btn__progress-indicator fit block"+(!0===e.darkPercentage?" q-btn__progress--dark":""),style:C.value})])),r.push((0,o.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},n)),null!==e.loading&&r.push((0,o.h)(o.Transition,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,o.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==t.loading?t.loading():[(0,o.h)(Ye)])]:null))),fe(!0===c.value?"a":"button",k.value,r,"ripple",!0!==e.disable&&!1!==e.ripple,(()=>_.value))}}}),At=(0,o.defineComponent)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>{const t=["unelevated","outline","flat","rounded","push","stretch","glossy"].filter((t=>!0===e[t])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(t.length>0?" "+t:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,o.h)("div",{class:n.value},ce(t.default))}});function pt(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==c.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}const ft={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function ht({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:r,proxy:i,emit:a}=(0,o.getCurrentInstance)(),l=(0,o.ref)(null);let s;function u(e){return null!==l.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const c={};function d(){L(c,"anchor")}function A(){if(!1===r.target||""===r.target)l.value=null;else if(!0===r.target)!function(e){for(l.value=e;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;n()}(i.$el.parentNode);else{let e=r.target;if("string"==typeof r.target)try{e=document.querySelector(r.target)}catch(t){e=void 0}null!=e?(l.value=e.$el||e,n()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return void 0===n&&(Object.assign(c,{hide(e){i.hide(e)},toggle(e){i.toggle(e)},toggleKey(e){!0===Q(e,13)&&i.toggle(e)}
2,contextClick(e){i.hide(e),(0,o.nextTick)((()=>{i.show(e)})),g(e)},mobilePrevent:g,mobileTouch(e){if(c.mobileCleanup(e),!0!==u(e))return;i.hide(e),l.value.classList.add("non-selectable");const t=e.target;w(c,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","mobilePrevent","notPassive"]]),s=setTimeout((()=>{i.show(e)}),300)},mobileCleanup(t){l.value.classList.remove("non-selectable"),clearTimeout(s),!0===e.value&&void 0!==t&&pt()}}),n=function(e=r.contextMenu){if(!0===r.noParentEvent||null===l.value)return;let t;t=!0===e?!0===i.$q.platform.is.mobile?[[l.value,"touchstart","mobileTouch","passive"]]:[[l.value,"click","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],w(c,"anchor",t)}),(0,o.watch)((()=>r.contextMenu),(e=>{null!==l.value&&(d(),n(e))})),(0,o.watch)((()=>r.target),(()=>{null!==l.value&&d(),A()})),(0,o.watch)((()=>r.noParentEvent),(e=>{null!==l.value&&(!0===e?d():n())})),(0,o.onMounted)((()=>{A(),!0!==t&&!0===r.modelValue&&null===l.value&&a("update:modelValue",!1)})),(0,o.onBeforeUnmount)((()=>{clearTimeout(s),d()})),{anchorEl:l,canShow:u,anchorEvents:c}}function mt(e,t){const n=(0,o.ref)(null);let r;function i(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",o=void 0!==t?t:r;e!==window&&e[n]("scroll",o,A.passive),window[n]("scroll",o,A.passive),r=t}function a(){null!==n.value&&(i(n.value),n.value=null)}const l=(0,o.watch)((()=>e.noParentEvent),(()=>{null!==n.value&&(a(),t())}));return(0,o.onBeforeUnmount)(l),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:i}}const vt={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":Function},gt=["before-show","show","before-hide","hide"];function yt({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:i,processOnMount:a}){const l=(0,o.getCurrentInstance)(),{props:s,emit:u,proxy:c}=l;let d;function A(e){if(!0===s.disable||void 0!==t&&!0!==t(e))return;const n=void 0!==s["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!0),d=e,(0,o.nextTick)((()=>{d===e&&(d=void 0)}))),null!==s.modelValue&&!1!==n||p(e)}function p(t){!0!==e.value&&(e.value=!0,u("before-show",t),void 0!==r?r(t):u("show",t))}function f(e){if(!0===s.disable)return;const t=void 0!==s["onUpdate:modelValue"];!0===t&&(u("update:modelValue",!1),d=e,(0,o.nextTick)((()=>{d===e&&(d=void 0)}))),null!==s.modelValue&&!1!==t||h(e)}function h(t){!1!==e.value&&(e.value=!1,u("before-hide",t),void 0!==i?i(t):u("hide",t))}function m(t){if(!0===s.disable&&!0===t)void 0!==s["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===t!==e.value){(!0===t?p:h)(d)}}(0,o.watch)((()=>s.modelValue),m),void 0!==n&&!0===Pe(l)&&(0,o.watch)((()=>c.$route),(()=>{!0===n.value&&!0===e.value&&f()})),!0===a&&(0,o.onMounted)((()=>{m(s.modelValue)}));const v={show:A,hide:f,toggle:function(t){!0===e.value?f(t):A(t)}};return Object.assign(c,v),v}let bt=[];const wt=[];function Lt(e){const t=wt.indexOf(e);-1!==t&&wt.splice(t,1),0===wt.length&&bt.length>0&&(bt[bt.length-1](),bt=[])}function Ct(e){if(0!==wt.length)return bt.push(e),e;e()}function Bt(e){const t=bt.indexOf(e);-1!==t&&bt.splice(t,1)}const _t=[];let kt=document.body;function xt(e){const t=document.createElement("div");if(void 0!==e&&(t.id=e),void 0!==K.globalNodes){const e=K.globalNodes.class;void 0!==e&&(t.className=e)}return kt.appendChild(t),_t.push(t),t}function St(e){_t.splice(_t.indexOf(e),1),e.remove()}function Et(e){e!==kt&&(kt=e,_t.forEach((e=>{!1===e.contains(kt)&&kt.appendChild(e)})))}const Tt=[];function Nt(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return Me(e)}else if(void 0!==e.__qPortalInnerRef){const n=Me(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=Me(e)}while(null!=e)}function Ft(e,t,n,r){const i=(0,o.ref)(!1);let a=null;const l={},s=!0===r&&function(e){for(e=e.parent;null!=e;){if("QGlobalDialog"===e.type.name)return!0;
2if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}(e);function u(){Lt(l),i.value=!1;const t=Tt.indexOf(e.proxy);t>-1&&Tt.splice(t,1),null!==a&&(St(a),a=null)}return(0,o.onUnmounted)(u),Object.assign(e.proxy,{__qPortalInnerRef:t}),{showPortal:function(t){!0!==t?(!1===s&&null===a&&(a=xt()),i.value=!0,Tt.push(e.proxy),function(e){wt.push(e)}(l)):Lt(l)},hidePortal:u,portalIsActive:i,renderPortal:()=>!0===s?n():!0===i.value?[(0,o.h)(o.Teleport,{to:a},n())]:void 0}}const Vt={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Ot(e,t){const n=(0,o.ref)(t.value);return(0,o.watch)(t,(e=>{(0,o.nextTick)((()=>{n.value=e}))})),{transition:(0,o.computed)((()=>"q-transition--"+(!0===n.value?e.transitionHide:e.transitionShow))),transitionStyle:(0,o.computed)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}function Ut(){let e;return(0,o.onBeforeUnmount)((()=>{e=void 0})),{registerTick(t){e=t},removeTick(){e=void 0},prepareTick(){if(void 0!==e){const t=e;(0,o.nextTick)((()=>{e===t&&(e(),e=void 0)}))}}}}function Qt(){let e;return(0,o.onBeforeUnmount)((()=>{clearTimeout(e)})),{registerTimeout(t,n){clearTimeout(e),e=setTimeout(t,n)},removeTimeout(){clearTimeout(e)}}}const qt=[null,document,document.body,document.scrollingElement,document.documentElement];function Mt(e,t){let n=function(e){if(null==e)return;if("string"==typeof e)try{return document.querySelector(e)||void 0}catch(e){return}const t=!0===(0,o.isRef)(e)?e.value:e;return t?t.$el||t:void 0}(t);if(void 0===n){if(null==e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return qt.includes(n)?window:n}function It(e){return(e===window?document.body:e).scrollHeight}function Pt(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Dt(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Ht(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],r=Pt(e);n<=0?r!==t&&jt(e,t):requestAnimationFrame((i=>{const a=i-o,l=r+(t-r)/Math.max(a,n)*a;jt(e,l),l!==t&&Ht(e,t,n-a,i)}))}function Rt(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],r=Dt(e);n<=0?r!==t&&$t(e,t):requestAnimationFrame((i=>{const a=i-o,l=r+(t-r)/Math.max(a,n)*a;$t(e,l),l!==t&&Rt(e,t,n-a,i)}))}function jt(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function $t(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function zt(e,t,n){n?Ht(e,t,n):jt(e,t)}function Kt(e,t,n){n?Rt(e,t,n):$t(e,t)}let Wt;function Yt(){if(void 0!==Wt)return Wt;const e=document.createElement("p"),t=document.createElement("div");Je(e,{width:"100%",height:"200px"}),Je(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),Wt=n-o,Wt}function Gt(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}const Zt=[];let Jt;function Xt(e){Jt=27===e.keyCode}function en(){!0===Jt&&(Jt=!1)}function tn(e){!0===Jt&&(Jt=!1,!0===Q(e,27)&&Zt[Zt.length-1](e))}function nn(e){window[e]("keydown",Xt),window[e]("blur",en),window[e]("keyup",tn),Jt=!1}function on(e){!0===u.is.desktop&&(Zt.push(e),1===Zt.length&&nn("addEventListener"))}function rn(e){const t=Zt.indexOf(e);t>-1&&(Zt.splice(t,1),0===Zt.length&&nn("removeEventListener"))}const an=[];function ln(e){an[an.length-1](e)}function sn(e){!0===u.is.desktop&&(an.push(e),1===an.length&&document.body.addEventListener("focusin",ln))}function un(e){const t=an.indexOf(e);t>-1&&(an.splice(t,1),0===an.length&&document.body.removeEventListener("focusin",ln))}let cn;const{notPassiveCapture:dn}=A,An=[];function pn(e){for(;null!==(e=e.nextElementSibling);)if(e.classList.contains("q-dialog--modal"))return!0;return!1}function fn(e){clearTimeout(cn);const t=e.target;if(void 0!==t&&8!==t.nodeType&&!0!==t.classList.contains("no-pointer-events"))for(let n=An.length-1;n>=0;n--){const o=An[n];if(null!==o.anchorEl.value&&!1!==o.anchorEl.value.contains(t)||t!==document.body&&(null===o.innerRef.value||!1!==o.innerRef.value.contains(t))||void 0!==o.getEl&&!0===pn(o.getEl()))return;e.qClickOutside=!0,o.onClickOutside(e)}}function hn(e){An.push(e),1===An.length&&(document.addEventListener("mousedown",fn,dn),document.addEventListener("touchstart",fn,dn))}function mn(e){const t=An.findIndex((t=>t===e));t>-1&&(An.splice(t,1),0===An.length&&(clearTimeout(cn),document.removeEventListener("mousedown",fn,dn),document.removeEventListener("touchstart",fn,dn))
2)}let vn,gn;function yn(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function bn(e){return!e||2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}const wn={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function Ln(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:wn[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function Cn(e){if(!0===u.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==vn&&(e.setProperty("--q-pe-left",t+"px"),vn=t),n!==gn&&(e.setProperty("--q-pe-top",n+"px"),gn=n)}let t;const{scrollLeft:n,scrollTop:o}=e.el;if(void 0===e.absoluteOffset)t=function(e,t){let{top:n,left:o,right:r,bottom:i,width:a,height:l}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],o-=t[0],i+=t[1],r+=t[0],a+=t[0],l+=t[1]),{top:n,left:o,right:r,bottom:i,width:a,height:l,middle:o+(r-o)/2,center:n+(i-n)/2}}(e.anchorEl,!0===e.cover?[0,0]:e.offset);else{const{top:n,left:o}=e.anchorEl.getBoundingClientRect(),r=n+e.absoluteOffset.top,i=o+e.absoluteOffset.left;t={top:r,left:i,width:1,height:1,right:i+1,center:r,middle:i,bottom:r+1}}let r={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(r.minWidth=t.width+"px",!0===e.cover&&(r.minHeight=t.height+"px")),Object.assign(e.el.style,r);const i=function(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}(e.el),a={top:t[e.anchorOrigin.vertical]-i[e.selfOrigin.vertical],left:t[e.anchorOrigin.horizontal]-i[e.selfOrigin.horizontal]};(function(e,t,n,o,r){const i=n.bottom,a=n.right,l=Yt(),s=window.innerHeight-l,u=document.body.clientWidth;if(e.top<0||e.top+i>s)if("center"===r.vertical)e.top=t[o.vertical]>s/2?Math.max(0,s-i):0,e.maxHeight=Math.min(i,s);else if(t[o.vertical]>s/2){const n=Math.min(s,"center"===o.vertical?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,n),e.top=Math.max(0,n-i)}else e.top=Math.max(0,"center"===o.vertical?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,s-e.top);if(e.left<0||e.left+a>u)if(e.maxWidth=Math.min(a,u),"middle"===r.horizontal)e.left=t[o.horizontal]>u/2?Math.max(0,u-a):0;else if(t[o.horizontal]>u/2){const n=Math.min(u,"middle"===o.horizontal?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(a,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===o.horizontal?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(a,u-e.left)})(a,t,i,e.anchorOrigin,e.selfOrigin),r={top:a.top+"px",left:a.left+"px"},void 0!==a.maxHeight&&(r.maxHeight=a.maxHeight+"px",t.height>a.maxHeight&&(r.minHeight=r.maxHeight)),void 0!==a.maxWidth&&(r.maxWidth=a.maxWidth+"px",t.width>a.maxWidth&&(r.minWidth=r.maxWidth)),Object.assign(e.el.style,r),e.el.scrollTop!==o&&(e.el.scrollTop=o),e.el.scrollLeft!==n&&(e.el.scrollLeft=n)}["left","middle","right"].forEach((e=>{wn[`${e}#ltr`]=e,wn[`${e}#rtl`]=e}));var Bn=(0,o.defineComponent)({name:"QMenu",inheritAttrs:!1,props:{...ft,...vt,...Te,...Vt,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:yn},self:{type:String,validator:yn},offset:{type:Array,validator:bn},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...gt,"click","escape-key"],setup(e,{slots:t,emit:n,attrs:r}){let i,a,l,s=null;const u=(0,o.getCurrentInstance)(),{proxy:c}=u,{$q:d}=c,A=(0,o.ref)(null),p=(0,o.ref)(!1),f=(0,o.computed)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),m=Ne(e,d),{registerTick:v,removeTick:g,prepareTick:b}=Ut(),{registerTimeout:w,removeTimeout:L}=Qt(),{transition:C,transitionStyle:B}=Ot(e,p),{localScrollTarget:_,changeScrollEvent:k,unconfigureScrollTarget:x}=mt(e,H),{anchorEl:S,canShow:E}=ht({showing:p}),{hide:T}=yt({showing:p,canShow:E,handleShow:function(t){if(g(),L(),s=!1===e.noRefocus?document.activeElement:null,sn(j),N(),H(),i=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=h(t);if(void 0!==e.left){const{top:t,left:n}=S.value.getBoundingClientRect();i={left:e.left-n,top:e.top-t}}}void 0===a&&(a=(0,o.watch)((()=>d.screen.width+"|"+d.screen.height+"|"+e.self+"|"+e.anchor+"|"+d.lang.rtl),z)),!0!==e.noFocus&&document.activeElement.blur(),v((()=>{z(),!0!==e.noFocus&&P()})),b(),w((()=>{!0===d.platform.is.ios&&(l=e.autoClose,A.value.click()),z(),N(!0),n("show",t)}),e.transitionDuration)},handleHide:function(t){g(),L(),D(!0),null===s||void 0!==t&&!0===t.qClickOutside||s.focus(),w((()=>{F(),n("hide",t)}),e.transitionDuration)},hideOnRouteChange:f,processOnMount:!0}),{showPortal:N,hidePortal:F,renderPortal:V}=Ft(u,A,(function(){return(0,o.h)(o.Transition,{name:C.value,appear:!0},(()=>
2!0===p.value?(0,o.h)("div",{...r,ref:A,tabindex:-1,class:["q-menu q-position-engine scroll"+q.value,r.class],style:[r.style,B.value],...M.value},ce(t.default)):null))})),O={anchorEl:S,innerRef:A,getEl:()=>c.$el,onClickOutside(t){if(!0!==e.persistent&&!0===p.value)return T(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&y(t),!0}},U=(0,o.computed)((()=>Ln(e.anchor||(!0===e.cover?"center middle":"bottom start"),d.lang.rtl))),Q=(0,o.computed)((()=>!0===e.cover?U.value:Ln(e.self||"top start",d.lang.rtl))),q=(0,o.computed)((()=>(!0===e.square?" q-menu--square":"")+(!0===m.value?" q-menu--dark q-dark":""))),M=(0,o.computed)((()=>!0===e.autoClose?{onClick:R}:{})),I=(0,o.computed)((()=>!0===p.value&&!0!==e.persistent));function P(){Ct((()=>{let e=A.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus], [data-autofocus]")||e,e.focus())}))}function D(e){i=void 0,void 0!==a&&(a(),a=void 0),!0!==e&&!0!==p.value||(un(j),x(),mn(O),rn($))}function H(){null===S.value&&void 0===e.scrollTarget||(_.value=Mt(S.value,e.scrollTarget),k(_.value,z))}function R(e){!0!==l?(Nt(c,e),n("click",e)):l=!1}function j(e){!0===I.value&&!0!==Xe(A.value,e.target)&&P()}function $(e){n("escape-key"),T(e)}function z(){const t=A.value;null!==t&&null!==S.value&&Cn({el:t,offset:e.offset,anchorEl:S.value,anchorOrigin:U.value,selfOrigin:Q.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}return(0,o.watch)(I,(e=>{!0===e?(on($),hn(O)):(rn($),mn(O))})),(0,o.onBeforeUnmount)(D),Object.assign(c,{focus:P,updatePosition:z}),V}}),_n=(0,o.defineComponent)({name:"QBtnDropdown",props:{...at,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean},emits:["update:modelValue","click","before-show","show","before-hide","hide"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),i=(0,o.ref)(e.modelValue),a=(0,o.ref)(null),l=(0,o.computed)((()=>{const t={"aria-expanded":!0===i.value?"true":"false","aria-haspopup":"true"};return(!0===e.disable||!1===e.split&&!0===e.disableMainBtn||!0===e.disableDropdown)&&(t["aria-disabled"]="true"),t})),s=(0,o.computed)((()=>"q-btn-dropdown__arrow"+(!0===i.value&&!1===e.noIconAnimation?" rotate-180":"")+(!1===e.split?" q-btn-dropdown__arrow-container":"")));function u(e){i.value=!0,n("before-show",e)}function c(e){n("show",e),n("update:modelValue",!0)}function d(e){i.value=!1,n("before-hide",e)}function A(e){n("hide",e),n("update:modelValue",!1)}function p(e){n("click",e)}function f(e){v(e),m(),n("click",e)}function h(e){null!==a.value&&a.value.show(e)}function m(e){null!==a.value&&a.value.hide(e)}return(0,o.watch)((()=>e.modelValue),(e=>{null!==a.value&&a.value[e?"show":"hide"]()})),(0,o.watch)((()=>e.split),m),Object.assign(r,{show:h,hide:m,toggle:function(e){null!==a.value&&a.value.toggle(e)}}),(0,o.onMounted)((()=>{!0===e.modelValue&&h()})),()=>{const n=[(0,o.h)(ke,{class:s.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return!0!==e.disableDropdown&&n.push((0,o.h)(Bn,{ref:a,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,onBeforeShow:u,onShow:c,onBeforeHide:d,onHide:A},t.default)),!1===e.split?(0,o.h)(dt,{class:"q-btn-dropdown q-btn-dropdown--simple",...e,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,round:!1,...l.value,onClick:p},(()=>ce(t.label,[]).concat(n))):(0,o.h)(At,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",outline:e.outline,flat:e.flat,rounded:e.rounded,push:e.push,unelevated:e.glossy,stretch:e.stretch},(()=>[(0,o.h)(dt,{class:"q-btn-dropdown--current",...e,disable:!0===e.disable||!0===e.disableMainBtn,noWrap:!0,iconRight:e.iconRight,round:!1,onClick:f},t.label),(0,o.h)(dt,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...l.value,disable:!0===e.disable||!0===e.disableDropdown,outline:e.outline,flat:e.flat,rounded:e.rounded,push:e.push,size:e.size,color:e.color,textColor:e.textColor,dense:e.dense,ripple:e.ripple},(()=>n))]))}}});const kn={name:String};function xn(e){return(0,o.computed)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function Sn(e={},t={}){return(n,r,i)=>{n[r]((0,o.h)("input",{class:"hidden"+(i||""),...e.value,...t.value}))}}function En(e){return(0,o.computed)((()=>e.name||e.for))}var Tn=(0,o.defineComponent)({name:"QBtnToggle",props:{...kn,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every((e=>("label"in e||"icon"in e||"slot"in e)&&"value"in e))},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:n}){const r=(0,o.computed)((()=>void 0!==e.options.find((t=>t.value===e.modelValue)))),i=Sn((0,o.computed)((()=>({type:"hidden",name:e.name,value:e.modelValue})))),a=(0,o.computed)((()=>e.options.map(((t,n)=>{const{attrs:o,value:r,slot:i,...a}=t;return{slot:i,props:{key:n,onClick(e){l(r,t,e)},...o,...a,outline:e.outline,flat:e.flat,rounded:e.rounded,push:e.push,unelevated:e.unelevated,dense:e.dense,disable:!0===e.disable||!0===a.disable,color:r===e.modelValue?s(a,"toggleColor"):s(a,"color"),textColor:r===e.modelValue?s(a,"toggleTextColor"):s(a,"textColor"),noCaps:!0===s(a,"n
2oCaps"),noWrap:!0===s(a,"noWrap"),size:s(a,"size"),padding:s(a,"padding"),ripple:s(a,"ripple"),stack:!0===s(a,"stack"),stretch:!0===s(a,"stretch")}}}))));function l(t,o,r){!0!==e.readonly&&(e.modelValue===t?!0===e.clearable&&(n("update:modelValue",null,null),n("clear")):n("update:modelValue",t,o),n("click",r))}function s(t,n){return void 0===t[n]?e[n]:t[n]}function u(){const n=a.value.map((e=>(0,o.h)(dt,e.props,void 0!==e.slot?t[e.slot]:void 0)));return void 0!==e.name&&!0!==e.disable&&!0===r.value&&i(n,"push"),Ae(t.default,n)}return()=>(0,o.h)(At,{class:"q-btn-toggle",outline:e.outline,flat:e.flat,rounded:e.rounded,push:e.push,stretch:e.stretch,unelevated:e.unelevated,glossy:e.glossy,spread:e.spread},u)}}),Nn=(0,o.defineComponent)({name:"QCard",props:{...Te,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>"q-card"+(!0===r.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,o.h)(e.tag,{class:i.value},ce(t.default))}}),Fn=(0,o.defineComponent)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,o.h)(e.tag,{class:n.value},ce(t.default))}}),Vn=(0,o.defineComponent)({name:"QCardActions",props:{...Qe,vertical:Boolean},setup(e,{slots:t}){const n=qe(e),r=(0,o.computed)((()=>`q-card__actions ${n.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,o.h)("div",{class:r.value},ce(t.default))}});const On={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},Un=Object.keys(On);function Qn(e){const t={};for(const n of Un)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?On:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}function qn(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"==typeof t.handler&&"INPUT"!==e.target.nodeName.toUpperCase()&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}function Mn(e){const t=[.06,6,50];return"string"==typeof e&&e.length&&e.split(":").forEach(((e,n)=>{const o=parseFloat(e);o&&(t[n]=o)})),t}On.all=!0;var In={name:"touch-swipe",beforeMount(e,{value:t,arg:n,modifiers:o}){if(!0!==o.mouse&&!0!==u.has.touch)return;const r=!0===o.mouseCapture?"Capture":"",i={handler:t,sensitivity:Mn(n),direction:Qn(o),noop:p,mouseStart(e){qn(e,i)&&f(e)&&(w(i,"temp",[[document,"mousemove","move",`notPassive${r}`],[document,"mouseup","end","notPassiveCapture"]]),i.start(e,!0))},touchStart(e){if(qn(e,i)){const t=e.target;w(i,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),i.start(e)}},start(t,n){!0===u.is.firefox&&b(e,!0);const o=h(t);i.event={x:o.left,y:o.top,time:Date.now(),mouse:!0===n,dir:!1}},move(e){if(void 0===i.event)return;if(!1!==i.event.dir)return void y(e);const t=Date.now()-i.event.time;if(0===t)return;const n=h(e),o=n.left-i.event.x,r=Math.abs(o),a=n.top-i.event.y,l=Math.abs(a);if(!0!==i.event.mouse){if(r<i.sensitivity[1]&&l<i.sensitivity[1])return void i.end(e)}else if(r<i.sensitivity[2]&&l<i.sensitivity[2])return;const s=r/t,u=l/t;!0===i.direction.vertical&&r<l&&r<100&&u>i.sensitivity[0]&&(i.event.dir=a<0?"up":"down"),!0===i.direction.horizontal&&r>l&&l<100&&s>i.sensitivity[0]&&(i.event.dir=o<0?"left":"right"),!0===i.direction.up&&r<l&&a<0&&r<100&&u>i.sensitivity[0]&&(i.event.dir="up"),!0===i.direction.down&&r<l&&a>0&&r<100&&u>i.sensitivity[0]&&(i.event.dir="down"),!0===i.direction.left&&r>l&&o<0&&l<100&&s>i.sensitivity[0]&&(i.event.dir="left"),!0===i.direction.right&&r>l&&o>0&&l<100&&s>i.sensitivity[0]&&(i.event.dir="right"),!1!==i.event.dir?(y(e),!0===i.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),pt(),i.styleCleanup=e=>{i.styleCleanup=void 0,document.body.classList.remove("non-selectable");const t=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(t,50):t()}),i.handler({evt:e,touch:!0!==i.event.mouse,mouse:i.event.mouse,direction:i.event.dir,duration:t,distance:{x:r,y:l}})):i.end(e)},end(t){void 0!==i.event&&(L(i,"temp"),!0===u.is.firefox&&b(e,!1),void 0!==i.styleCleanup&&i.styleCleanup(!0),void 0!==t&&!1!==i.event.dir&&y(t),i.event=void 0)}};e.__qtouchswipe=i,!0===o.mouse&&w(i,"main",[[e,"mousedown","mouseStart",`passive${r}`]]),!0===u.has.touch&&w(i,"main",[[e,"touchstart","touchStart","passive"+(!0===o.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchswipe;void 0!==n&&(t.oldValue!==t.value&&("function"!=typeof t.value&&n.end(),n.handler=t.value),n.direction=Qn(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;void 0!==t&&(L(t,"main"),L(t,"temp"),!0===u.is.firefox&&b(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchswipe)}};function Pn(){const e=new Map;return{getCache:function(t,n){return void 0===e[t]?e[t]=n:e[t]},getCacheWithFn:function(t,n){return void 0===e[t]?e[t]=n():e[t]}}}const Dn={name:{required:!0},disable:Boolean},Hn={setup:(e,{slots:t})=>()=>(0,o.h)("div",{class:"q-panel scroll",role:"tabpanel"},ce(t.default))},Rn={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},jn=["update:modelValue","before-transition","transition"];function $n(){const{props:e,emit:t,proxy:n}=(0,o.getCurrentInstance)(),{getCacheWithFn:r}=Pn();let i,a;const l=(0,o.ref)(null),s=(0,o.ref)(null);function u(t){const o=!0===e.vertical?"up":"left";L((!0===n.$q.lang.rtl?-1:1)*(t.direction===o?1:-1))}const c=(0,o.computed)((()=>[[In,u,void 0,{horizontal:!0!==e.vertical,vertical:e.vertical,mouse:!0}]])),d=(0,o.computed)((()=>e.transitionPrev||"slide-"+(!0===e.vertical?"down":"right"))),A=(0,o.computed)((()=>e.transitionNext||"slide-"+(!0===e.vertical?"up":"left"))),p=(0,o.computed)((()=>"string"==typeof e.modelValue||"number"==typeof e.modelValue?e.modelValue:String(e.modelValue))),f=(0,o.computed)((()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax}))),h=(0,o.computed)((()=>void 0!==e.keepAliveInclude||void 0!==e.keepAliveExclude));function m(){L(1)}function v(){L(-1)}function g(e){t("update:modelValue",e)}function y(e){return null!=e&&""!==e}function b(e){return i.findIndex((t=>t.props.name===e&&""!==t.props.disable&&!0!==t.props.disable))}function w(t){const n=0!==t&&!0===e.animated&&-1!==l.value?"q-transition--"+(-1===t?d.value:A.value):null;s.value!==n&&(s.value=n)}function L(n,o=l.value){let r=o+n;for(;r>-1&&r<i.length;){const e=i[r];if(void 0!==e&&""!==e.props.disable&&!0!==e.props.disable)return w(n),a=!0,t("update:modelValue",e.props.name),void setTimeout((()=>{a=!1}));r+=n}!0===e.infinite&&i.length>0&&-1!==o&&o!==i.length&&L(n,-1===n?i.length:-1)}function C(){const t=b(e.modelValue);return l.value!==t&&(l.value=t),!0}function B(){const t=y(e.modelValue)&&C()&&i[l.value];return!0===e.keepAlive?[(0,o.h)(o.KeepAlive,f.value,[(0,o.h)(!0===h.value?r(p.value,(()=>({...Hn,name:p.value}))):Hn,{key:p.value},(()=>t))])]:[(0,o.h)("div",{class:"q-panel scroll",key:p.value,role:"tabpanel"},[t])]}return(0,o.watch)((()=>e.modelValue),((e,n)=>{const r=!0===y(e)?b(e):-1;!0!==a&&w(-1===r?0:r<b(n)?-1:1),l.value!==r&&(l.value=r,t("before-transition",e,n),(0,o.nextTick)((()=>{t("transition",e,n)}
2)))})),Object.assign(n,{next:m,previous:v,goTo:g}),{panelIndex:l,panelDirectives:c,updatePanelsList:function(e){return i=Ie(ce(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&y(e.props.name))),i.length},updatePanelIndex:C,getPanelContent:function(){if(0!==i.length)return!0===e.animated?[(0,o.h)(o.Transition,{name:s.value},B)]:B()},getEnabledPanels:function(){return i.filter((e=>""!==e.props.disable&&!0!==e.props.disable))},getPanels:function(){return i},isValidPanelName:y,keepAliveProps:f,needsUniqueKeepAliveWrapper:h,goToPanelByOffset:L,goToPanel:g,nextPanel:m,previousPanel:v}}const zn={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Kn=["update:fullscreen","fullscreen"];function Wn(){const e=(0,o.getCurrentInstance)(),{props:t,emit:n,proxy:r}=e;let i,a,l;const s=(0,o.ref)(!1);function u(){!0===s.value?d():c()}function c(){!0!==s.value&&(s.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),document.body.classList.add("q-body--fullscreen-mixin"),i={handler:d},T.add(i))}function d(){!0===s.value&&(void 0!==i&&(T.remove(i),i=void 0),l.replaceChild(r.$el,a),document.body.classList.remove("q-body--fullscreen-mixin"),s.value=!1,void 0!==r.$el.scrollIntoView&&setTimeout((()=>{r.$el.scrollIntoView()})))}return!0===Pe(e)&&(0,o.watch)((()=>r.$route),(()=>{!0!==t.noRouteFullscreenExit&&d()})),(0,o.watch)((()=>t.fullscreen),(e=>{s.value!==e&&u()})),(0,o.watch)(s,(e=>{n("update:fullscreen",e),n("fullscreen",e)})),(0,o.onBeforeMount)((()=>{a=document.createElement("span")})),(0,o.onMounted)((()=>{!0===t.fullscreen&&c()})),(0,o.onBeforeUnmount)(d),Object.assign(r,{toggleFullscreen:u,setFullscreen:c,exitFullscreen:d}),{inFullscreen:s,toggleFullscreen:u}}const Yn="function"==typeof Map,Gn="function"==typeof Set,Zn="function"==typeof ArrayBuffer;function Jn(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!0!==Jn(e[o],t[o]))return!1;return!0}if(!0===Yn&&e.constructor===Map){if(e.size!==t.size)return!1;for(o=e.entries().next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=o.next()}for(o=e.entries().next();!0!==o.done;){if(!0!==Jn(o.value[1],t.get(o.value[0])))return!1;o=o.next()}return!0}if(!0===Gn&&e.constructor===Set){if(e.size!==t.size)return!1;for(o=e.entries().next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=o.next()}return!0}if(!0===Zn&&null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e);if(n=r.length,n!==Object.keys(t).length)return!1;for(o=n;0!=o--;){const n=r[o];if(!0!==Jn(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Xn(e){return"[object Date]"===Object.prototype.toString.call(e)}function eo(e){return"number"==typeof e&&isFinite(e)}const to=["top","right","bottom","left"],no=["regular","flat","outline","push","unelevated"];var oo=(0,o.defineComponent)({name:"QCarousel",props:{...Te,...Rn,...zn,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>no.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>to.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...Kn,...jn],setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=Ne(e,n);let i,a;const{updatePanelsList:l,getPanelContent:s,panelDirectives:u,goToPanel:c,previousPanel:d,nextPanel:A,getEnabledPanels:p,panelIndex:f}=$n(),{inFullscreen:h}=Wn(),m=(0,o.computed)((()=>!0!==h.value&&void 0!==e.height?{height:e.height}:{})),v=(0,o.computed)((()=>!0===e.vertical?"vertical":"horizontal")),g=(0,o.computed)((()=>
2`q-carousel q-panel-parent q-carousel--with${!0===e.padding?"":"out"}-padding`+(!0===h.value?" fullscreen":"")+(!0===r.value?" q-carousel--dark q-dark":"")+(!0===e.arrows?` q-carousel--arrows-${v.value}`:"")+(!0===e.navigation?` q-carousel--navigation-${L.value}`:""))),y=(0,o.computed)((()=>{const t=[e.prevIcon||n.iconSet.carousel[!0===e.vertical?"up":"left"],e.nextIcon||n.iconSet.carousel[!0===e.vertical?"down":"right"]];return!1===e.vertical&&!0===n.lang.rtl?t.reverse():t})),b=(0,o.computed)((()=>e.navigationIcon||n.iconSet.carousel.navigationIcon)),w=(0,o.computed)((()=>e.navigationActiveIcon||b.value)),L=(0,o.computed)((()=>e.navigationPosition||(!0===e.vertical?"right":"bottom"))),C=(0,o.computed)((()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0})));function B(){i=setTimeout(A,eo(e.autoplay)?e.autoplay:5e3)}function _(t,n){return(0,o.h)("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${t} q-carousel__navigation--${L.value}`+(void 0!==e.controlColor?` text-${e.controlColor}`:"")},[(0,o.h)("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},p().map(n))])}return(0,o.watch)((()=>e.modelValue),(()=>{e.autoplay&&(clearInterval(i),B())})),(0,o.watch)((()=>e.autoplay),(e=>{e?B():clearInterval(i)})),(0,o.onMounted)((()=>{e.autoplay&&B()})),(0,o.onBeforeUnmount)((()=>{clearInterval(i)})),()=>(a=l(t),(0,o.h)("div",{class:g.value,style:m.value},[fe("div",{class:"q-carousel__slides-container"},s(),"sl-cont",e.swipeable,(()=>u.value))].concat(function(){const n=[];if(!0===e.navigation){const e=void 0!==t["navigation-icon"]?t["navigation-icon"]:e=>(0,o.h)(dt,{key:"nav"+e.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${!0===e.active?"":"in"}active`,...e.btnProps,onClick:e.onClick}),r=a-1;n.push(_("buttons",((t,n)=>{const o=t.props.name,i=f.value===n;return e({index:n,maxIndex:r,name:o,active:i,btnProps:{icon:!0===i?w.value:b.value,size:"sm",...C.value},onClick:()=>{c(o)}})})))}else if(!0===e.thumbnails){const t=void 0!==e.controlColor?` text-${e.controlColor}`:"";n.push(_("thumbnails",(n=>{const r=n.props;return(0,o.h)("img",{key:"tmb#"+r.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${r.name===e.modelValue?"":"in"}active`+t,src:r.imgSrc||r["img-src"],onClick:()=>{c(r.name)}})})))}return!0===e.arrows&&f.value>=0&&((!0===e.infinite||f.value>0)&&n.push((0,o.h)("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${v.value} absolute flex flex-center`},[(0,o.h)(dt,{icon:y.value[0],...C.value,onClick:d})])),(!0===e.infinite||f.value<a-1)&&n.push((0,o.h)("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${v.value} absolute flex flex-center`},[(0,o.h)(dt,{icon:y.value[1],...C.value,onClick:A})]))),Ae(t.control,n)}())))}}),ro=(0,o.defineComponent)({name:"QCarouselSlide",props:{...Dn,imgSrc:String},setup(e,{slots:t}){const n=(0,o.computed)((()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{}));return()=>(0,o.h)("div",{class:"q-carousel__slide",style:n.value},ce(t.default))}}),io=(0,o.defineComponent)({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>2===e.length}},setup(e,{slots:t}){const n=(0,o.computed)((()=>`q-carousel__control absolute absolute-${e.position}`)),r=(0,o.computed)((()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`})));return()=>(0,o.h)("div",{class:n.value,style:r.value},ce(t.default))}}),ao=(0,o.defineComponent)({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>!0===e.sent?"sent":"received")),r=(0,o.computed)((()=>`q-message-text-content q-message-text-content--${n.value}`+(void 0!==e.textColor?` text-${e.textColor}`:""))),i=(0,o.computed)((()=>`q-message-text q-message-text--${n.value}`+(void 0!==e.bgColor?` text-${e.bgColor}`:""))),a=(0,o.computed)((()=>"q-message-container row items-end no-wrap"+(!0===e.sent?" reverse":""))),l=(0,o.computed)((()=>void 0!==e.size?`col-${e.size}`:"")),s=(0,o.computed)((()=>({msg:!0===e.textHtml?"innerHTML":"textContent",stamp:!0===e.stampHtml?"innerHTML":"textContent",name:!0===e.nameHtml?"innerHTML":"textContent",label:!0===e.labelHtml?"innerHTML":"textContent"})));function u(n){return void 0!==t.stamp?[n,(0,o.h)("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[n,(0,o.h)("div",{class:"q-message-stamp",[s.value.stamp]:e.stamp})]:[n]}function c(e,t){const n=!0===t?e.length>1?e=>e:e=>(0,o.h)("div",[e]):e=>(0,o.h)("div",{[s.value.msg]:e});return e.map(((e,t)=>(0,o.h)("div",{key:t,class:i.value},[(0,o.h)("div",{class:r.value},u(n(e)))])))}return()=>{const r=[];void 0!==t.avatar?r.push(t.avatar()):void 0!==e.avatar&&r.push((0,o.h)("img",{class:`q-message-avatar q-message-avatar--${n.value}`,src:e.avatar,"aria-hidden":"true"}));const i=[];void 0!==t.name?i.push((0,o.h)("div",{class:`q-message-name q-message-name--${n.value}`},t.name())):void 0!==e.name&&i.push((0,o.h)("div",{class:`q-message-name q-message-name--${n.value}`,[s.value.name]:e.name})),void 0!==t.default?i.push(c(Ie(t.default()),!0)):void 0!==e.text&&i.push(c(e.text)),r.push((0,o.h)("div",{class:l.value},i));const u=[];return void 0!==t.label?u.push((0,o.h)("div",{class:"q-message-label"},t.label())):void 0!==e.label&&u.push((0,o.h)("div",{class:"q-message-label",[s.value.label]:e.label})),u.push((0,o.h)("div",{class:a.value},r)),(0,o.h)("div",{class:`q-message q-message-${n.value}`},u)}}});function lo(e,t){const n=(0,o.ref)(null);return{refocusTargetEl:(0,o.computed)((()=>!0!==e.disable?null:(0,o.h)("span",{ref:n,class:"no-outline",tabindex:-1}))),refocusTarget:function(e){void 0!==e&&0===e.type.indexOf("key")?document.activeElement!==t.value&&!0===t.value.contains(document.activeElement)&&t.value.focus():void 0!==e&&!0!==t.value.contains(e.target)||null===n.value||n.value.focus()}}}var so={xs:30,sm:35,md:40,lg:50,xl:60};const uo={...Te,...se,...kn,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},co=["update:modelValue"];function Ao(e,t){const{props:n,slots:r,emit:i,proxy:a}=(0,o.getCurrentInstance)(),{$q:l}=a,s=Ne(n,l),u=(0,o.ref)(null),{refocusTargetEl:c,refocusTarget:d}=lo(n,u),A=ue(n,so),p=(0,o.computed)((()=>void 0!==n.val&&Array.isArray(n.modelValue))),f=(0,o.computed)((()=>!0===p.value?n.modelValue.indexOf(n.val):-1)),h=(0,o.computed)((()=>!0===p.value?f.value>-1:n.modelValue===n.trueValue)),m=(0,o.computed)((()=>!0===p.value?-1===f.value:n.modelValue===n.falseValue)),v=(0,o.computed)((()=>!1===h.value&&!1===m.value)),g=(0,o.computed)((()=>!0===n.disable?-1:n.tabindex||0)),b=(0,o.computed)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===s.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}
2--dense`:"")+(!0===n.leftLabel?" reverse":""))),w=(0,o.computed)((()=>{const t=!0===h.value?"truthy":!0===m.value?"falsy":"indet",o=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==h.value:!0===m.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${o}`})),L=(0,o.computed)((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{checked:h.value,name:n.name,value:!0===p.value?n.val:n.trueValue}),e})),C=Sn(L),B=(0,o.computed)((()=>{const e={tabindex:g.value,role:"checkbox","aria-label":n.label,"aria-checked":!0===v.value?"mixed":!0===h.value?"true":"false"};return!0===n.disable&&(e["aria-disabled"]="true"),e}));function _(e){void 0!==e&&(y(e),d(e)),!0!==n.disable&&i("update:modelValue",function(){if(!0===p.value){if(!0===h.value){const e=n.modelValue.slice();return e.splice(f.value,1),e}return n.modelValue.concat([n.val])}if(!0===h.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==m.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}(),e)}function k(e){13!==e.keyCode&&32!==e.keyCode||y(e)}function x(e){13!==e.keyCode&&32!==e.keyCode||_(e)}const S=t(h,v);return Object.assign(a,{toggle:_}),()=>{const t=S();!0!==n.disable&&C(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const i=[(0,o.h)("div",{class:w.value,style:A.value},t)];null!==c.value&&i.push(c.value);const a=void 0!==n.label?Ae(r.default,[n.label]):ce(r.default);return void 0!==a&&i.push((0,o.h)("div",{class:`q-${e}__label q-anchor--skip`},a)),(0,o.h)("div",{ref:u,class:b.value,...B.value,onClick:_,onKeydown:k,onKeyup:x},i)}}const po=(0,o.h)("div",{class:"q-checkbox__bg absolute"},[(0,o.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24","aria-hidden":"true"},[(0,o.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,o.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var fo=(0,o.defineComponent)({name:"QCheckbox",props:uo,emits:co,setup:()=>Ao("checkbox",(()=>()=>[po]))});const ho={xs:8,sm:10,md:14,lg:20,xl:24};var mo=(0,o.defineComponent)({name:"QChip",props:{...Te,...se,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=Ne(e,r),a=ue(e,ho),l=(0,o.computed)((()=>!0===e.selected||void 0!==e.icon)),s=(0,o.computed)((()=>!0===e.selected?e.iconSelected||r.iconSet.chip.selected:e.icon)),u=(0,o.computed)((()=>e.iconRemove||r.iconSet.chip.remove)),c=(0,o.computed)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),d=(0,o.computed)((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===c.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===i.value?" q-chip--dark q-dark":"")})),A=(0,o.computed)((()=>!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0}));function p(e){13===e.keyCode&&f(e)}function f(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function h(t){void 0!==t.keyCode&&13!==t.keyCode||(y(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}function m(){const n=[];!0===c.value&&n.push((0,o.h)("div",{class:"q-focus-helper"})),!0===l.value&&n.push((0,o.h)(ke,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const r=void 0!==e.label?[(0,o.h)("div",{class:"ellipsis"},[e.label])]:void 0;return n.push((0,o.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"}
2,pe(t.default,r))),e.iconRight&&n.push((0,o.h)(ke,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push((0,o.h)(ke,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...A.value,onClick:h,onKeyup:h})),n}return()=>{if(!1===e.modelValue)return;const t={class:d.value,style:a.value};return!0===c.value&&Object.assign(t,A.value,{onClick:f,onKeyup:p}),fe("div",t,m(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[ot,e.ripple]]))}}});const vo={...se,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean},go=100*Math.PI,yo=Math.round(1e3*go)/1e3;var bo=(0,o.defineComponent)({name:"QCircularProgress",props:{...vo,value:{type:Number,default:0},indeterminate:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=ue(e),i=(0,o.computed)((()=>{const t=(!0===n.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===n.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}})),a=(0,o.computed)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}:"")),l=(0,o.computed)((()=>100/(1-e.thickness/2))),s=(0,o.computed)((()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`)),u=(0,o.computed)((()=>J(e.value,e.min,e.max))),c=(0,o.computed)((()=>go*(1-(u.value-e.min)/(e.max-e.min)))),d=(0,o.computed)((()=>e.thickness/2*l.value));function A({thickness:e,offset:t,color:n,cls:r}){return(0,o.h)("circle",{class:"q-circular-progress__"+r+(void 0!==n?` text-${n}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":yo,"stroke-dashoffset":t,cx:l.value,cy:l.value,r:50})}return()=>{const n=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&n.push((0,o.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:50-d.value/2,cx:l.value,cy:l.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&n.push(A({cls:"track",thickness:d.value,offset:0,color:e.trackColor})),n.push(A({cls:"circle",thickness:d.value,offset:c.value,color:e.color}));const a=[(0,o.h)("svg",{class:"q-circular-progress__svg",style:i.value,viewBox:s.value,"aria-hidden":"true"},n)];return!0===e.showValue&&a.push((0,o.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==t.default?t.default():[(0,o.h)("div",u.value)])),(0,o.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:u.value},pe(t.internal,a))}}});function wo(e,t,n){const o=h(e);let r,i=o.left-t.event.x,a=o.top-t.event.y,l=Math.abs(i),s=Math.abs(a);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?r=i<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?r=a<0?"up":"down":!0===u.up&&a<0?(r="up",l>s&&(!0===u.left&&i<0?r="left":!0===u.right&&i>0&&(r="right"))):!0===u.down&&a>0?(r="down",l>s&&(!0===u.left&&i<0?r="left":!0===u.right&&i>0&&(r="right"))):!0===u.left&&i<0?(r="left",l<s&&(!0===u.up&&a<0?r="up":!0===u.down&&a>0&&(r="down"))):!0===u.right&&i>0&&(r="right",l<s&&(!0===u.up&&a<0?r="up":!0===u.down&&a>0&&(r="down")));let c=!1;if(void 0===r&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};r=t.event.lastDir,c=!0,"left"===r||"right"===r?(o.left-=i,l=0,i=0):(o.top-=a,s=0,a=0)}return{synthetic:c,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:o,direction:r,isFirst:t.event.isFirst,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:l,y:s},offset:{x:i,y:a},delta:{x:o.left-t.event.lastX,y:o.top-t.event.lastY}}}}let Lo=0;var Co={name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==u.has.touch)return;function o(e,t){!0===n.mouse&&!0===t?y(e):(!0===n.stop&&v(e),!0===n.prevent&&g(e))}const r={uid:"qvtp_"+Lo++,handler:t,modifiers:n,direction:Qn(n),noop:p,mouseStart(e){qn(e,r)&&f(e)&&(w(r,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),r.start(e,!0))},touchStart(e){if(qn(e,r)){const t=e.target;w(r,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),r.start(e)}},start(t,o){!0===u.is.firefox&&b(e,!0),r.lastEvt=t;const i=h(t);if(!0===o||!0===n.stop){if(!0!==r.direction.all&&(!0!==o||!0!==r.direction.mouseAllDir)){const e=t.type.indexOf("mou
2se")>-1?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&g(e),!0===t.cancelBubble&&v(e),e.qClonedBy=void 0===t.qClonedBy?[r.uid]:t.qClonedBy.concat(r.uid),e.qKeyEvent=t.qKeyEvent,e.qClickOutside=t.qClickOutside,r.initialEvent={target:t.target,event:e}}v(t)}r.event={x:i.left,y:i.top,time:Date.now(),mouse:!0===o,detected:!1,isFirst:!0,isFinal:!1,lastX:i.left,lastY:i.top}},move(e){if(void 0===r.event)return;r.lastEvt=e;const t=!0===r.event.mouse,i=()=>{o(e,t),!0!==n.preserveCursor&&(document.documentElement.style.cursor="grabbing"),!0===t&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),pt(),r.styleCleanup=e=>{if(r.styleCleanup=void 0,!0!==n.preserveCursor&&(document.documentElement.style.cursor=""),document.body.classList.remove("non-selectable"),!0===t){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===r.event.detected){!0!==r.event.isFirst&&o(e,r.event.mouse);const{payload:t,synthetic:n}=wo(e,r,!1);return void(void 0!==t&&(!1===r.handler(t)?r.end(e):(void 0===r.styleCleanup&&!0===r.event.isFirst&&i(),r.event.lastX=t.position.left,r.event.lastY=t.position.top,r.event.lastDir=!0===n?void 0:t.direction,r.event.is
2First=!1)))}if(!0===r.direction.all||!0===t&&!0===r.modifiers.mouseAllDir)return i(),r.event.detected=!0,void r.move(e);const a=h(e),l=a.left-r.event.x,s=a.top-r.event.y,u=Math.abs(l),c=Math.abs(s);u!==c&&(!0===r.direction.horizontal&&u>c||!0===r.direction.vertical&&u<c||!0===r.direction.up&&u<c&&s<0||!0===r.direction.down&&u<c&&s>0||!0===r.direction.left&&u>c&&l<0||!0===r.direction.right&&u>c&&l>0?(r.event.detected=!0,r.move(e)):r.end(e,!0))},end(t,n){if(void 0!==r.event){if(L(r,"temp"),!0===u.is.firefox&&b(e,!1),!0===n)void 0!==r.styleCleanup&&r.styleCleanup(),!0!==r.event.detected&&void 0!==r.initialEvent&&r.initialEvent.target.dispatchEvent(r.initialEvent.event);else if(!0===r.event.detected){!0===r.event.isFirst&&r.handler(wo(void 0===t?r.lastEvt:t,r).payload);const{payload:e}=wo(void 0===t?r.lastEvt:t,r,!0),n=()=>{r.handler(e)};void 0!==r.styleCleanup?r.styleCleanup(n):n()}r.event=void 0,r.initialEvent=void 0,r.lastEvt=void 0}}};e.__qtouchpan=r,!0===n.mouse&&w(r,"main",[[e,"mousedown","mouseStart","passive"+(!0===n.mouseCapture?"Capture":"")]]),!0===u.has.touch&&w(r,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!=typeof value&&n.end(),n.handler=t.value),n.direction=Qn(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),L(t,"main"),L(t,"temp"),!0===u.is.firefox&&b(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}};const Bo=[34,37,40,33,39,38];function _o(e,t,n,o){const r=h(e),i=J(!0===o?(r.top-t.top)/t.height:(r.left-t.left)/t.width,0,1);return!0===n?1-i:i}function ko(e,t,n,o,r){let i=t+e*(n-t);if(o>0){const e=(i-t)%o;i+=(Math.abs(e)>=o/2?(e<0?-1:1)*o:0)-e}return r>0&&(i=parseFloat(i.toFixed(r))),J(i,t,n)}const xo={...Te,min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1,validator:e=>e>=0},color:String,labelColor:String,labelTextColor:String,dense:Boolean,label:Boolean,labelAlways:Boolean,markers:Boolean,snap:Boolean,vertical:Boolean,reverse:Boolean,disable:Boolean,readonly:Boolean,tabindex:[String,Number],thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},So=["pan","update:modelValue","change"];function Eo({updateValue:e,updatePosition:t,getDragging:n}){const{props:r,emit:i,proxy:{$q:a}}=(0,o.getCurrentInstance)(),l=Ne(r,a),s=(0,o.ref)(!1),u=(0,o.ref)(!1),c=(0,o.ref)(!1),d=(0,o.ref)(!1),A=(0,o.computed)((()=>!0===r.vertical?"--v":"--h")),p=(0,o.computed)((()=>!0===r.vertical?!0===r.reverse:r.reverse!==(!0===a.lang.rtl))),f=(0,o.computed)((()=>!0!==r.disable&&!0!==r.readonly&&r.min<r.max)),h=(0,o.computed)((()=>`q-slider q-slider${A.value} q-slider--${!0===s.value?"":"in"}active`+(!0===p.value?" q-slider--reversed":"")+(void 0!==r.color?` text-${r.color}`:"")+(!0===r.disable?" disabled":" q-slider--enabled"+(!0===f.value?" q-slider--editable":""))+("both"===c.value?" q-slider--focus":"")+(r.label||!0===r.labelAlways?" q-slider--label":"")+(!0===r.labelAlways?" q-slider--label-always":"")+(!0===l.value?" q-slider--dark":"")+(!0===r.dense?" q-slider--dense q-slider--dense"+A.value:""))),m=(0,o.computed)((()=>(String(r.step).trim("0").split(".")[1]||"").length)),v=(0,o.computed)((()=>0===r.step?1:r.step)),g=(0,o.computed)((()=>r.max-r.min)),y=(0,o.computed)((()=>{if(0!==g.value){const e=100*v.value/g.value;return{backgroundSize:!0===r.vertical?`2px ${e}%`:`${e}% 2px`}}return null})),b=(0,o.computed)((()=>!0===f.value?r.tabindex||0:-1)),w=(0,o.computed)((()=>!0===r.vertical?!0===p.value?"bottom":"top":!0===p.value?"right":"left")),L=(0,o.computed)((()=>!0===r.vertical?"height":"width")),C=(0,o.computed)((()=>!0===r.vertical?"vertical":"horizontal")),B=(0,o.computed)((()=>{const e={role:"slider","aria-valuemin":r.min,"aria-valuemax":r.max,"aria-orientation":C.value,"data-step":r.step};return!0===r.disable?e["aria-disabled"]="true":!0===r.readonly&&(e["aria-readonly"]="true"),e})),_=(0,o.computed)((()=>
2[[Co,k,void 0,{[C.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function k(o){o.isFinal?(void 0!==d.value&&(t(o.evt),!0===o.touch&&e(!0),d.value=void 0,i("pan","end")),s.value=!1):o.isFirst?(d.value=n(o.evt),t(o.evt),e(),s.value=!0,i("pan","start")):(t(o.evt),e())}function x(){c.value=!1}function S(){u.value=!1,void 0===d.value&&(s.value=!1),e(!0),x(),document.removeEventListener("mouseup",S,!0)}return(0,o.onBeforeUnmount)((()=>{document.removeEventListener("mouseup",S,!0)})),{state:{active:s,focus:c,preventFocus:u,dragging:d,axis:A,isReversed:p,editable:f,classes:h,decimals:m,step:v,minMaxDiff:g,markerStyle:y,tabindex:b,positionProp:w,sizeProp:L,attributes:B,panDirective:_},methods:{onActivate:function(o){t(o,n(o)),e(),u.value=!0,s.value=!0,document.addEventListener("mouseup",S,!0)},onMobileClick:function(o){t(o,n(o)),e(!0)},onBlur:x,onKeyup:function(t){Bo.includes(t.keyCode)&&e(!0)},getThumbSvg:function(){return(0,o.h)("svg",{class:"q-slider__thumb absolute",viewBox:"0 0 20 20",width:"20",height:"20","aria-hidden":"true"},[(0,o.h)("path",{d:r.thumbPath})])},getPinStyle:function(e,t){if(!0===r.vertical)return{};const n=`${Math.ceil(20*Math.abs(.5-t))}px`;return{pin:{transformOrigin:`${!0===a.lang.rtl?n:`calc(100% - ${n})`} 50%`},pinTextContainer:{[!0===a.lang.rtl?"left":"right"]:100*e+"%",transform:`translateX(${Math.ceil(20*(!0===a.lang.rtl?-1:1)*e)}px)`}}}}}}var To=(0,o.defineComponent)({name:"QSlider",props:{...xo,...kn,modelValue:{required:!0,default:null,validator:e=>"number"==typeof e||null===e},labelValue:[String,Number]},emits:So,setup(e,{emit:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=Sn(xn(e)),i=(0,o.ref)(null),a=(0,o.ref)(null===e.modelValue?e.min:e.modelValue),l=(0,o.ref)(0),{state:s,methods:u}=Eo({updateValue:w,updatePosition:function(t,n=s.dragging.value){const o=_o(t,n,s.isReversed.value,e.vertical);a.value=ko(o,e.min,e.max,e.step,s.decimals.value),l.value=!0!==e.snap||0===e.step?o:0===s.minMaxDiff.value?0:(a.value-e.min)/s.minMaxDiff.value},getDragging:function(){return i.value.getBoundingClientRect()}}),c=(0,o.computed)((()=>0===s.minMaxDiff.value?0:(a.value-e.min)/s.minMaxDiff.value)),d=(0,o.computed)((()=>!0===s.active.value?l.value:c.value)),A=(0,o.computed)((()=>({[s.positionProp.value]:0,[s.sizeProp.value]:100*d.value+"%"}))),p=(0,o.computed)((()=>({[s.positionProp.value]:100*d.value+"%"}))),f=(0,o.computed)((()=>!1===s.preventFocus.value&&!0===s.focus.value?" q-slider--focus":"")),h=(0,o.computed)((()=>void 0!==e.labelColor?`text-${e.labelColor}`:"")),m=(0,o.computed)((()=>"q-slider__pin-value-marker-text"+(void 0!==e.labelTextColor?` text-${e.labelTextColor}`:""))),v=(0,o.computed)((()=>!0!==s.editable.value?{}:!0===n.platform.is.mobile?{onClick:u.onMobileClick}:{onMousedown:u.onActivate,onFocus:L,onBlur:u.onBlur,onKeydown:C,onKeyup:u.onKeyup})),g=(0,o.computed)((()=>void 0!==e.labelValue?e.labelValue:a.value)),b=(0,o.computed)((()=>{const t=!0===e.reverse?-d.value:d.value-1;return u.getPinStyle(t,d.value)}));function w(n){a.value!==e.modelValue&&t("update:modelValue",a.value),!0===n&&t("change",a.value)}function L(){s.focus.value=!0}function C(t){if(!Bo.includes(t.keyCode))return;y(t);const n=([34,33].includes(t.keyCode)?10:1)*s.step.value,o=[34,37,40].includes(t.keyCode)?-n:n;a.value=J(parseFloat((a.value+o).toFixed(s.decimals.value)),e.min,e.max),w()}return(0,o.watch)((()=>e.modelValue),(t=>{a.value=null===t?0:J(t,e.min,e.max)})),(0,o.watch)((()=>e.min+e.max),(()=>{a.value=J(a.value,e.min,e.max)})),()=>{const t=[u.getThumbSvg(),(0,o.h)("div",{class:"q-slider__focus-ring"})];!0!==e.label&&!0!==e.labelAlways||t.push((0,o.h)("div",{class:`q-slider__pin q-slider__pin${s.axis.value} absolute `+h.value,style:b.value.pin},[(0,o.h)("div",{class:`q-slider__pin-text-container q-slider__pin-text-container${s.axis.value}`,style:b.value.pinTextContainer},[(0,o.h)("span",{class:"q-slider__pin-text "+m.value},[g.value])])]),(0,o.h)("div",{class:`q-slider__arrow q-slider__arrow${s.axis.value} ${h.value}`})),void 0!==e.name&&!0!==e.disable&&r(t,"push");const n=[(0,o.h)("div",{class:`q-slider__track q-slider__track${s.axis.value} absolute`,style:A.value})];!0===e.markers&&n.push((0,o.h)("div",{class:`q-slider__track-markers q-slider__track-markers${s.axis.value} absolute-full fit`,style:s.markerStyle.value}));const a=[(0,o.h)("div",{class:`q-slider__track-container q-slider__track-container${s.axis.value} absolute`},n),(0,o.h)("div",{class:`q-slider__thumb-container q-slider__thumb-container${s.axis.value} absolute non-selectable`+f.value,style:p.value},t)];return fe("div",{ref:i,class:s.classes.value+(null===e.modelValue?" q-slider--no-value":""),...s.attributes.value,"aria-valuenow":e.modelValue,tabindex:s.tabindex.value,...v.value},a,"slide",s.editable.value,(()=>s.panDirective.value))}}});function No(){const e=(0,o.ref)(!r.value);return!1===e.value&&(0,o.onMounted)((()=>{e.value=!0})),e}const Fo="undefined"!=typeof ResizeObserver,Vo=!0===Fo?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var Oo=(0,o.defineComponent)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,r,i={width:-1,height:-1};function a(t){!0===t||0===e.debounce||"0"===e.debounce?l():n||(n=setTimeout(l,e.debounce))}function l(){if(n=void 0,r){const{offsetWidth:e,offsetHeight:n}=r;e===i.width&&n===i.height||(i={width:e,height:n},t("resize",i))}}const s=(0,o.getCurrentInstance)();if(Object.assign(s.proxy,{trigger:a}),!0===Fo){let e;return(0,o.onMounted)((()=>{(0,o.nextTick)((()=>{r=s.proxy.$el.parentNode,r&&(e=new ResizeObserver(a),e.observe(r),l())}))})),(0,o.onBeforeUnmount)((()=>{clearTimeout(n),void 0!==e&&(void 0!==e.disconnect?e.disconnect():r&&e.unobserve(r))})),p}{const e=No();let t;function i(){clearTimeout(n),void 0!==t&&(void 0!==t.removeEventListener&&t.removeEventListener("resize",a,A.passive),t=void 0)}function u(){i(),r&&r.contentDocument&&(t=r.contentDocument.defaultView,t.addEventListener("resize",a,A.passive),l())}return(0,o.onMounted)((()=>{(0,o.nextTick)((()=>{r=s.proxy.$el,r&&u()}))})),(0,o.onBeforeUnmount)(i),()=>{if(!0===e.value)return(0,o.h)("object",{style:Vo.style,tabindex:-1,type:"text/html",data:Vo.url,"aria-hidden":"true",onLoad:u})}}}});function Uo(e,t,n){const o=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?o[0]:o[1]}${e?` text-${e}`:""}`}const Qo=["left","center","right","justify"];var qo=(0,o.defineComponent)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Qo.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":Function},setup(e,{slots:t,emit:n}){const r=(0,o.getCurrentInstance)(),{proxy:{$q:i}}=r,{registerTick:a,prepareTick:l}=Ut(),{registerTimeout:s}
2=Qt(),u=(0,o.ref)(null),c=(0,o.ref)(null),d=(0,o.ref)(e.modelValue),A=(0,o.ref)(!1),f=(0,o.ref)(!0),h=(0,o.ref)(!1),m=(0,o.ref)(!1),v=(0,o.computed)((()=>!0===i.platform.is.desktop||!0===e.mobileArrows)),g=[];let y,b,w,L=!1,C=!0===v.value?F:p;const B=(0,o.computed)((()=>({activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:Uo(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),_=(0,o.computed)((()=>`q-tabs__content--align-${!0===A.value?"left":!0===m.value?"justify":e.align}`)),k=(0,o.computed)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===A.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===v.value&&!0===e.outsideArrows?"outside":"inside")+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),x=(0,o.computed)((()=>"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar "+_.value+(void 0!==e.contentClass?` ${e.contentClass}`:"")+(!0===i.platform.is.mobile?" scroll":""))),S=(0,o.computed)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}));function E({name:t,setCurrent:r,skipEmit:i,fromRoute:a}){d.value!==t&&(!0!==i&&n("update:modelValue",t),!0!==r&&void 0!==e["onUpdate:modelValue"]||(function(t,n){const r=null!=t&&""!==t?g.find((e=>e.name.value===t)):null,i=null!=n&&""!==n?g.find((e=>e.name.value===n)):null;if(r&&i){const t=r.tabIndicatorRef.value,n=i.tabIndicatorRef.value;clearTimeout(y),t.style.transition="none",t.style.transform="none",n.style.transition="none",n.style.transform="none";const a=t.getBoundingClientRect(),l=n.getBoundingClientRect();n.style.transform=!0===e.vertical?`translate3d(0,${a.top-l.top}px,0) scale3d(1,${l.height?a.height/l.height:1},1)`:`translate3d(${a.left-l.left}px,0,0) scale3d(${l.width?a.width/l.width:1},1,1)`,(0,o.nextTick)((()=>{y=setTimeout((()=>{n.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",n.style.transform="none"}),70)}))}if(i&&!0===A.value){const{left:t,width:n,top:o,height:r}=c.value.getBoundingClientRect(),a=i.rootRef.value.getBoundingClientRect();let l=!0===e.vertical?a.top-o:a.left-t;if(l<0)return c.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(l),void C();l+=!0===e.vertical?a.height-r:a.width-n,l>0&&(c.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(l),C())}}(d.value,t),d.value=t)),void 0!==a&&(L=a)}function T(){a((()=>{!0!==r.isDeactivated&&!0!==r.isUnmounted&&N({width:u.value.offsetWidth,height:u.value.offsetHeight})})),l()}function N(t){if(void 0===S.value||null===c.value)return;const n=t[S.value.container],r=Math.min(c.value[S.value.scroll],Array.prototype.reduce.call(c.value.children,((e,t)=>e+t[S.value.content]),0)),i=n>0&&r>n;A.value!==i&&(A.value=i),!0===i&&(0,o.nextTick)(C);const a=n<parseInt(e.breakpoint,10);m.value!==a&&(m.value=a)}function F(){const t=c.value;if(null!==t){const n=t.getBoundingClientRect(),o=!0===e.vertical?t.scrollTop:t.scrollLeft;f.value=o>0,h.value=!0===e.vertical?Math.ceil(o+n.height)<t.scrollHeight:Math.ceil(o+n.width)<t.scrollWidth}}function V(e){Q(),q(e),b=setInterval((()=>{q(e)&&Q()}),5)}function O(){V(0)}function U(){V(9999)}function Q(){clearInterval(b)}function q(t){const n=c.value;let o=!0===e.vertical?n.scrollTop:n.scrollLeft,r=!1;const i=t<o?-1:1;return o+=5*i,o<0?(r=!0,o=0):(-1===i&&o<=t||1===i&&o>=t)&&(r=!0,o=t),n[!0===e.vertical?"scrollTop":"scrollLeft"]=o,C(),r}function M(){return g.filter((e=>void 0!==e.routerProps&&!0===e.routerProps.hasLink.value))}function I(){let e="",t=null,n=L;M().forEach((o=>{void 0!==o.routerProps&&!0===o.routerProps[!0===o.routerProps.exact.value?"linkIsExactActive":"linkIsActive"].value&&o.routerProps.linkRoute.value.href.length>e.length?(e=o.routerProps.linkRoute.value.href,t=o.name.value):d.value===o.name.value&&(n=!0)})),!0!==n&&null===t||E({name:t,setCurrent:!0,fromRoute:!0})}function P(){s(I)}return(0,o.watch)((()=>e.modelValue),(e=>{E({name:e,setCurrent:!0,skipEmit:!0})}
2)),(0,o.watch)((()=>e.outsideArrows),(()=>{(0,o.nextTick)(T())})),(0,o.watch)(v,(e=>{C=!0===e?F:p,(0,o.nextTick)(T())})),(0,o.provide)($,{currentModel:d,tabProps:B,registerTab:function(e){g.push(e),M().length>0&&(void 0===w&&(w=(0,o.watch)((()=>r.proxy.$route),P)),P())},unregisterTab:function(e){if(g.splice(g.indexOf(e),1),void 0!==w){0===M().length&&(w(),w=void 0),P()}},verifyRouteModel:P,updateModel:E,recalculateScroll:T}),(0,o.onBeforeUnmount)((()=>{clearTimeout(y),void 0!==w&&w()})),(0,o.onActivated)(T),()=>{const n=[(0,o.h)(Oo,{onResize:N}),(0,o.h)("div",{ref:c,class:x.value,onScroll:C},ce(t.default))];return!0===v.value&&n.push((0,o.h)(ke,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===f.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||i.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedown:O,onTouchstartPassive:O,onMouseup:Q,onMouseleave:Q,onTouchend:Q}),(0,o.h)(ke,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===h.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||i.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedown:U,onTouchstartPassive:U,onMouseup:Q,onMouseleave:Q,onTouchend:Q})),(0,o.h)("div",{ref:u,class:k.value,role:"tablist"},n)}}});let Mo=0;const Io=["click","keyup"],Po={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+Mo++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function Do(e,t,n,r){const i=(0,o.inject)($,(()=>{console.error("QTab/QRouteTab component needs to be child of QTabs")})),a=(0,o.ref)(null),l=(0,o.ref)(null),s=(0,o.ref)(null),u=(0,o.computed)((()=>i.currentModel.value===e.name)),c=(0,o.computed)((()=>`q-tab relative-position self-stretch flex flex-center text-center q-tab--${!0===u.value?"":"in"}active`+(!0===u.value?(i.tabProps.value.activeColor?` text-${i.tabProps.value.activeColor}`:"")+(i.tabProps.value.activeBgColor?` bg-${i.tabProps.value.activeBgColor}`:""):"")+(e.icon&&e.label&&!1===i.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===i.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==r&&""!==r.linkClass.value?` ${r.linkClass.value}`:""))),d=(0,o.computed)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===i.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),A=(0,o.computed)((()=>!0===e.disable||!0===u.value?-1:e.tabindex||0));function p(t,o){if(!0!==o&&null!==a.value&&a.value.focus(),!0!==e.disable)if(void 0!==r)if(!0===r.hasLink.value){const e=()=>{t.__qNavigate=!0,r.navigateToLink(t)};n("click",t,e),!0!==t.defaultPrevented&&e()}else n("click",t);else n("click",t),i.updateModel({name:e.name,fromRoute:!1})}function f(e){!0===Q(e,13)&&p(e,!0),n("keyup",e)}function h(){const n=i.tabProps.value.narrowIndicator,r=[],l=(0,o.h)("div",{ref:s,class:["q-tab__indicator",i.tabProps.value.indicatorClass]});void 0!==e.icon&&r.push((0,o.h)(ke,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&r.push((0,o.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&r.push(void 0!==e.alertIcon?(0,o.h)(ke,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,o.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===n&&r.push(l);const u=[(0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:a}),(0,o.h)("div",{class:d.value},Ae(t.default,r))];return!1===n&&u.push(l),u}const m={name:(0,o.computed)((()=>e.name)),rootRef:l,tabIndicatorRef:s,routerProps:r};return(0,o.onBeforeUnmount)((()=>{i.unregisterTab(m),i.recalculateScroll()})),(0,o.onMounted)((()=>{i.registerTab(m),i.recalculateScroll()})),{renderTab:function(t,n){return fe(t,{ref:l,class:c.value,tabindex:A.value,role:"tab","aria-selected":u.value,"aria-disabled":!0===e.disable?"true":void 0,onClick:p,onKeyup:f,...n},h(),"main",!1!==e.ripple&&!1===e.disable,(()=>[[ot,e.ripple]]))},$tabs:i}}var Ho=(0,o.defineComponent)({name:"QTab",props:Po,emits:Io,setup(e,{slots:t,emit:n}){const{renderTab:o}=Do(e,t,n);return()=>o("div")}}),Ro=(0,o.defineComponent)({name:"QTabPanels",props:{...Rn,...Te},emits:jn,setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),{updatePanelsList:i,getPanelContent:a,panelDirectives:l}=$n(),s=(0,o.computed)((()=>"q-tab-panels q-panel-parent"+(!0===r.value?" q-tab-panels--dark q-d
2ark":"")));return()=>(i(t),fe("div",{class:s.value},a(),"pan",e.swipeable,(()=>l.value)))}}),jo=(0,o.defineComponent)({name:"QTabPanel",props:Dn,setup:(e,{slots:t})=>()=>(0,o.h)("div",{class:"q-tab-panel"},ce(t.default))});const $o=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,zo=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Ko=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Wo=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Yo=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Go={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),hexColor:e=>$o.test(e),hexaColor:e=>zo.test(e),hexOrHexaColor:e=>Ko.test(e),rgbColor:e=>Wo.test(e),rgbaColor:e=>Yo.test(e),rgbOrRgbaColor:e=>Wo.test(e)||Yo.test(e),hexOrRgbColor:e=>$o.test(e)||Wo.test(e),hexaOrRgbaColor:e=>zo.test(e)||Yo.test(e),anyColor:e=>Ko.test(e)||Wo.test(e)||Yo.test(e)};const Zo=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function Jo({r:e,g:t,b:n,a:o}){const r=void 0!==o;if(e=Math.round(e),t=Math.round(t),n=Math.round(n),e>255||t>255||n>255||r&&o>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return o=r?(256|Math.round(255*o/100)).toString(16).slice(1):"","#"+(n|t<<8|e<<16|1<<24).toString(16).slice(1)+o}function Xo({r:e,g:t,b:n,a:o}){return`rgb${void 0!==o?"a":""}(${e},${t},${n}${void 0!==o?","+o/100:""})`}function er(e){if("string"!=typeof e)throw new TypeError("Expected a string");3===(e=e.replace(/^#/,"")).length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function tr({h:e,s:t,v:n,a:o}){let r,i,a;t/=100,n/=100,e/=360;const l=Math.floor(6*e),s=6*e-l,u=n*(1-t),c=n*(1-s*t),d=n*(1-(1-s)*t);switch(l%6){case 0:r=n,i=d,a=u;break;case 1:r=c,i=n,a=u;break;case 2:r=u,i=n,a=d;break;case 3:r=u,i=c,a=n;break;case 4:r=d,i=u,a=n;break;case 5:r=n,i=u,a=c}return{r:Math.round(255*r),g:Math.round(255*i),b:Math.round(255*a),a:o}}function nr({r:e,g:t,b:n,a:o}){const r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,l=0===r?0:a/r,s=r/255;let u;switch(r){case i:u=0;break;case e:u=t-n+a*(t<n?6:0),u/=6*a;break;case t:u=n-e+2*a,u/=6*a;break;case n:u=e-t+4*a,u/=6*a}return{h:Math.round(360*u),s:Math.round(100*l),v:Math.round(100*s),a:o}}function or(e){if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.replace(/ /g,""),n=Zo.exec(t);if(null===n)return er(t);const o={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){const e=parseFloat(n[5]);o.a=100*Math.min(1,!0===isNaN(e)?1:e)}return o}function rr(e){if("string"!=typeof e&&(!e||void 0===e.r))throw new TypeError("Expected a string or a {r, g, b} object as color");const t="string"==typeof e?or(e):e,n=t.r/255,o=t.g/255,r=t.b/255;return.2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}const ir=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],ar="M5 5 h10 v10 h-10 v-10 z";var lr=(0,o.defineComponent)({name:"QColor",props:{...Te,...kn,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){const{proxy:n}=(0,o.getCurrentInstance)(),{$q:r}=n,i=Ne(e,r),{getCache:a}=Pn(),l=(0,o.ref)(null),s=(0,o.ref)(null),u=(0,o.computed)((()=>"auto"===e.formatModel?null:e.formatModel.indexOf("hex")>-1)),c=(0,o.computed)((()=>"auto"===e.formatModel?null:e.formatModel.indexOf("a")>-1)),d=(0,o.ref)("auto"===e.formatModel?void 0===e.modelValue||null===e.modelValue||""===e.modelValue||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),A=(0,o.ref)(e.defaultView),p=(0,o.ref)(E(e.modelValue||e.defaultValue)),f=(0,o.computed)((()=>!0!==e.disable&&!0!==e.readonly)),h=(0,o.computed)((()=>void 0===e.modelValue||null===e.modelValue||""===e.modelValue||e.modelValue.startsWith("#"))),m=(0,o.computed)((()=>null!==u.value?u.value:h.value)),g=Sn((0,o.computed)((()=>({type:"hidden",name:e.name,value:p.value[!0===m.value?"hex":"rgb"]})))),y=(0,o.computed)((()=>null!==c.value?c.value:void 0!==p.value.a)),b=(0,o.computed)((()=>({backgroundColor:p.value.rgb||"#000"}))),w=(0,o.computed)((()=>"q-color-picker__header-content absolute-full q-color-picker__header-content--"+(void 0!==p.value.a&&p.value.a<65||rr(p.value)>.4?"light":"dark"))),L=(0,o.computed)((()=>({background:`hsl(${p.value.h},100%,50%)`}))),C=(0,o.computed)((()=>({top:100-p.value.v+"%",[!0===r.lang.rtl?"right":"left"]:`${p.value.s}%`}))),B=(0,o.computed)((()=>void 0!==e.palette&&e.palette.length>0?e.palette:ir)),_=(0,o.computed)((()=>"q-color-picker"+(!0===e.bordered?" q-color-picker--bordered":"")+(!0===e.square?" q-color-picker--square no-border-radius":"")+(!0===e.flat?" q-color-picker--flat no-shadow":"")+(!0===e.disable?" disabled":"")+(!0===i.value?" q-color-picker--dark q-d
2ark":""))),k=(0,o.computed)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{})),x=(0,o.computed)((()=>[[Co,O,void 0,{prevent:!0,stop:!0,mouse:!0}]]));function S(e,n){p.value.hex=Jo(e),p.value.rgb=Xo(e),p.value.r=e.r,p.value.g=e.g,p.value.b=e.b,p.value.a=e.a;const o=p.value[!0===m.value?"hex":"rgb"];t("update:modelValue",o),!0===n&&t("change",o)}function E(t){const n=void 0!==c.value?c.value:"auto"===e.formatModel?null:e.formatModel.indexOf("a")>-1;if("string"!=typeof t||0===t.length||!0!==Go.anyColor(t.replace(/ /g,"")))return{h:0,s:0,v:0,r:0,g:0,b:0,a:!0===n?100:void 0,hex:void 0,rgb:void 0};const o=or(t);return!0===n&&void 0===o.a&&(o.a=100),o.hex=Jo(o),o.rgb=Xo(o),Object.assign(o,nr(o))}function T(e,t,n){const o=l.value;if(void 0===o)return;const i=o.clientWidth,a=o.clientHeight,s=o.getBoundingClientRect();let u=Math.min(i,Math.max(0,e-s.left));!0===r.lang.rtl&&(u=i-u);const c=Math.min(a,Math.max(0,t-s.top)),d=Math.round(100*u/i),A=Math.round(100*Math.max(0,Math.min(1,-c/a+1))),f=tr({h:p.value.h,s:d,v:A,a:!0===y.value?p.value.a:void 0});p.value.s=d,p.value.v=A,S(f,n)}function N(e,t){const n=Math.round(e),o=tr({h:n,s:p.value.s,v:p.value.v,a:!0===y.value?p.value.a:void 0});p.value.h=n,S(o,t)}function F(e,t,r,i,a){if(void 0!==i&&v(i),!/^[0-9]+$/.test(e))return void(!0===a&&n.$forceUpdate());const l=Math.floor(Number(e));if(l<0||l>r)return void(!0===a&&n.$forceUpdate());const s={r:"r"===t?l:p.value.r,g:"g"===t?l:p.value.g,b:"b"===t?l:p.value.b,a:!0===y.value?"a"===t?l:p.value.a:void 0};if("a"!==t){const e=nr(s);p.value.h=e.h,p.value.s=e.s,p.value.v=e.v}if(S(s,a),void 0!==i&&!0!==a&&void 0!==i.target.selectionEnd){const e=i.target.selectionEnd;(0,o.nextTick)((()=>{i.target.setSelectionRange(e,e)}))}}function V(e,t){let n;const r=e.target.value;if(v(e),"hex"===d.value){if(r.length!==(!0===y.value?9:7)||!/^#[0-9A-Fa-f]+$/.test(r))return!0;n=er(r)}else{let e;if(!r.endsWith(")"))return!0;if(!0!==y.value&&r.startsWith("rgb(")){if(e=r.substring(4,r.length-1).split(",").map((e=>parseInt(e,10))),3!==e.length||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(r))return!0}else{if(!0!==y.value||!r.startsWith("rgba("))return!0;{if(e=r.substring(5,r.length-1).split(","),4!==e.length||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(r))return!0;for(let t=0;t<3;t++){const n=parseInt(e[t],10);if(n<0||n>255)return!0;e[t]=n}const t=parseFloat(e[3]);if(t<0||t>1)return!0;e[3]=t}}if(e[0]<0||e[0]>255||e[1]<0||e[1]>255||e[2]<0||e[2]>255||!0===y.value&&(e[3]<0||e[3]>1))return!0;n={r:e[0],g:e[1],b:e[2],a:!0===y.value?100*e[3]:void 0}}const i=nr(n);if(p.value.h=i.h,p.value.s=i.s,p.value.v=i.v,S(n,t),!0!==t){const t=e.target.selectionEnd;(0,o.nextTick)((()=>{e.target.setSelectionRange(t,t)}))}}function O(e){e.isFinal?T(e.position.left,e.position.top,!0):U(e)}(0,o.watch)((()=>e.modelValue),(t=>{const n=E(t||e.defaultValue);n.hex!==p.value.hex&&(p.value=n)})),(0,o.watch)((()=>e.defaultValue),(t=>{if(!e.modelValue&&t){const e=E(t);e.hex!==p.value.hex&&(p.value=e)}}));const U=et((e=>{T(e.position.left,e.position.top)}),20);function Q(e){T(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset,!0)}function q(e){T(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset)}function M(e){null!==s.value&&(s.value.$el.style.opacity=e?1:0)}function I(){const e={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(!0!==f.value?" readonly":""),style:L.value,...!0===f.value?{onClick:Q,onMousedown:q}:{}},t=[(0,o.h)("div",{style:{paddingBottom:"100%"}}),(0,o.h)("div",{class:"q-color-picker__spectrum-white absolute-full"}),(0,o.h)("div",{class:"q-color-picker__spectrum-black absolute-full"}),(0,o.h)("div",{class:"absolute",style:C.value},[void 0!==p.value.hex?(0,o.h)("div",{class:"q-color-picker__spectrum-circle"}):null])],n=[(0,o.h)("div",{class:"q-color-picker__hue non-selectable"},[(0,o.h)(To,{modelValue:p.value.h,min:0,max:360,fillHandleAlways:!0,readonly:!0!==f.value,thumbPath:ar,"onUpdate:modelValue":N,...a("lazyhue",{onChange:e=>N(e,!0)})})])];return!0===y.value&&n.push((0,o.h)("div",{class:"q-color-picker__alpha non-selectable"},[(0,o.h)(To,{modelValue:p.value.a,min:0,max:100,fillHandleAlways:!0,readonly:!0!==f.value,thumbPath:ar,...a("alphaSlide",{"onUpdate:modelValue":e=>F(e,"a",100),onChange:e=>F(e,"a",100,void 0,!0)})})])),[fe("div",e,t,"spec",f.value,(()=>x.value)),(0,o.h)("div",{class:"q-color-picker__sliders"},n)]}function P(){return[(0,o.h)("div",{class:"row items-center no-wrap"},[(0,o.h)("div","R"),(0,o.h)(To,{modelValue:p.value.r,min:0,max:255,color:"red",dark:i.value,readonly:!0!==f.value,...a("rSlide",{"onUpdate:modelValue":e=>F(e,"r",255),onChange:e=>F(e,"r",255,void 0,!0)})}),(0,o.h)("input",{value:p.value.r,maxlength:3,readonly:!0!==f.value,onChange:v,...a("rIn",{onInput:e=>F(e.target.value,"r",255,e),onBlur:e=>F(e.target.value,"r",255,e,!0)})})]),(0,o.h)("div",{class:"row items-center no-wrap"},[(0,o.h)("div","G"),(0,o.h)(To,{modelValue:p.value.g,min:0,max:255,color:"green",dar
2k:i.value,readonly:!0!==f.value,...a("gSlide",{"onUpdate:modelValue":e=>F(e,"g",255),onChange:e=>F(e,"g",255,void 0,!0)})}),(0,o.h)("input",{value:p.value.g,maxlength:3,readonly:!0!==f.value,onChange:v,...a("gIn",{onInput:e=>F(e.target.value,"g",255,e),onBlur:e=>F(e.target.value,"g",255,e,!0)})})]),(0,o.h)("div",{class:"row items-center no-wrap"},[(0,o.h)("div","B"),(0,o.h)(To,{modelValue:p.value.b,min:0,max:255,color:"blue",readonly:!0!==f.value,dark:i.value,...a("bSlide",{"onUpdate:modelValue":e=>F(e,"b",255),onChange:e=>F(e,"b",255,void 0,!0)})}),(0,o.h)("input",{value:p.value.b,maxlength:3,readonly:!0!==f.value,onChange:v,...a("bIn",{onInput:e=>F(e.target.value,"b",255,e),onBlur:e=>F(e.target.value,"b",255,e,!0)})})]),!0===y.value?(0,o.h)("div",{class:"row items-center no-wrap"},[(0,o.h)("div","A"),(0,o.h)(To,{modelValue:p.value.a,color:"grey",readonly:!0!==f.value,dark:i.value,...a("aSlide",{"onUpdate:modelValue":e=>F(e,"a",100),onChange:e=>F(e,"a",100,void 0,!0)})}),(0,o.h)("input",{value:p.value.a,maxlength:3,readonly:!0!==f.value,onChange:v,...a("aIn",{onInput:e=>F(e.target.value,"a",100,e),onBlur:e=>F(e.target.value,"a",100,e,!0)})})]):null]}function D(){return[(0,o.h)("div",{class:"row items-center q-color-picker__palette-rows"+(!0===f.value?" q-color-picker__palette-rows--editable":"")},B.value.map((e=>(0,o.h)("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:e},...!0===f.value?a("palette#"+e,{onClick:()=>{!function(e){const t=E(e),n={r:t.r,g:t.g,b:t.b,a:t.a};void 0===n.a&&(n.a=p.value.a),p.value.h=t.h,p.value.s=t.s,p.value.v=t.v,S(n,!0)}(e)}}):{}}))))]}return()=>{const t=[(0,o.h)(Ro,{modelValue:A.value,animated:!0},(()=>[(0,o.h)(jo,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},I),(0,o.h)(jo,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},P),(0,o.h)(jo,{class:"q-color-picker__palette-tab",name:"palette"},D)]))];return void 0!==e.name&&!0!==e.disable&&g(t,"push"),!0!==e.noHeader&&t.unshift((0,o.h)("div",{class:"q-color-picker__header relative-position overflow-hidden"},[(0,o.h)("div",{class:"q-color-picker__header-bg absolute-full"}),(0,o.h)("div",{class:w.value,style:b.value},[(0,o.h)(qo,{modelValue:d.value,dense:!0,align:"justify",...a("topVTab",{"onUpdate:modelValue":e=>{d.value=e}})},(()=>[(0,o.h)(Ho,{label:"HEX"+(!0===y.value?"A":""),name:"hex",ripple:!1}),(0,o.h)(Ho,{label:"RGB"+(!0===y.value?"A":""),name:"rgb",ripple:!1})])),(0,o.h)("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[(0,o.h)("input",{class:"fit",value:p.value[d.value],...!0!==f.value?{readonly:!0}:{},...a("topIn",{onInput:e=>{M(!0===V(e))},onChange:v,onBlur:e=>{!0===V(e,!0)&&n.$forceUpdate(),M(!1)}})}),(0,o.h)(ke,{ref:s,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])])])),!0!==e.noFooter&&t.push((0,o.h)("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[(0,o.h)(qo,{class:"absolute-full",modelValue:A.value,dense:!0,align:"justify",...a("ftIn",{"onUpdate:modelValue":e=>{A.value=e}})},(()=>[(0,o.h)(Ho,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),(0,o.h)(Ho,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),(0,o.h)(Ho,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})]))])),(0,o.h)("div",{class:_.value,...k.value},t)}}});const sr=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function ur(e,t,n){return"[object Date]"===Object.prototype.toString.call(e)&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),function(e){const t=hr(e).gy;let n,o,r,i=t-621;const a=pr(i,!1),l=fr(t,3,a.march);if(r=e-l,r>=0){if(r<=185)return o=1+mr(r,31),n=vr(r,31)+1,{jy:i,jm:o,jd:n};r-=186}else i-=1,r+=179,1===a.leap&&(r+=1);return o=7+mr(r,30),n=vr(r,30)+1,{jy:i,jm:o,jd:n}}(fr(e,t,n))}function cr(e,t,n){return hr(function(e,t,n){const o=pr(e,!0);return fr(o.gy,3,o.march)+31*(t-1)-mr(t,7)*(t-7)+n-1}(e,t,n))}function dr(e){return 0===function(e){const t=sr.length;let n,o,r,i,a,l=sr[0];if(e<l||e>=sr[t-1])throw new Error("Invalid Jalaali year "+e);for(a=1;a<t&&(n=sr[a],o=n-l,!(e<n));a+=1)l=n;return i=e-l,o-i<6&&(i=i-o+33*mr(o+4,33)),r=vr(vr(i+1,33)-1,4),-1===r&&(r=4),r}(e)}function Ar(e,t){return t<=6?31:t<=11||dr(e)?30:29}function pr(e,t){const n=sr.length,o=e+621;let r,i,a,l,s,u=-14,c=sr[0];if(e<c||e>=sr[n-1])throw new Error("Invalid Jalaali year "+e);for(s=1;s<n&&(r=sr[s],i=r-c,!(e<r));s+=1)u=u+8*mr(i,33)+mr(vr(i,33),4),c=r;l=e-c,u=u+8*mr(l,33)+mr(vr(l,33)+3,4),4===vr(i,33)&&i-l==4&&(u+=1);const d=20+u-(mr(o,4)-mr(3*(mr(o,100)+1),4)-150);return t||(i-l<6&&(l=l-i+33*mr(i+4,33)),a=vr(vr(l+1,33)-1,4),-1===a&&(a=4)),{leap:a,gy:o,march:d}}function fr(e,t,n){let o=mr(1461*(e+mr(t-8,6)+100100),4)+mr(153*vr(t+9,12)+2,5)+n-34840408;return o=o-mr(3*mr(e+100100+mr(t-8,6),100),4)+752,o}function hr(e){let t=4*e+139361631;t=t+4*mr(3*mr(4*e+183187720,146097),4)-3908;const n=5*mr(vr(t,1461),4)+308,o=mr(vr(n,153),5)+1,r=vr(mr(n,153),12)+1;return{gy:mr(t,1461)-100100+mr(8-r,6),gm:r,gd:o}}function mr(e,t){return~~(e/t)}function vr(e,t){return e-~~(e/t)*t}const gr=["gregorian","persian"],yr={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>gr.includes(e),default:"gregorian"}
2,landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},br=["update:modelValue"];function wr(e){return e.year+"/"+ee(e.month)+"/"+ee(e.day)}function Lr(e,t){const n=(0,o.computed)((()=>!0!==e.disable&&!0!==e.readonly)),r=(0,o.computed)((()=>!0===e.editable?0:-1)),i=(0,o.computed)((()=>{const t=[];return void 0!==e.color&&t.push(`bg-${e.color}`),void 0!==e.textColor&&t.push(`text-${e.textColor}`),t.join(" ")}));return{editable:n,tabindex:r,headerClass:i,getLocale:function(){return e.locale||t.lang.date},getCurrentDate:function(t){const n=new Date,o=!0===t?null:0;if("persian"===e.calendar){const e=ur(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:o,minute:o,second:o,millisecond:o}}}}const Cr=864e5,Br=6e4,_r="YYYY-MM-DDTHH:mm:ss.SSSZ",kr=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,xr=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Sr={};function Er(e,t,n,o,r){const i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==r&&Object.assign(i,r),null==e||""===e||"string"!=typeof e)return i;void 0===t&&(t=_r);const a=void 0!==n?n:V.props.date,l=a.months,s=a.monthsShort,{regex:u,map:c}=function(e,t){const n="("+t.days.join("|")+")",o=e+n;if(void 0!==Sr[o])return Sr[o];const r="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",a="("+t.monthsShort.join("|")+")",l={};let s=0;const u=e.replace(xr,(e=>{switch(s++,e){case"YY":return l.YY=s,"(-?\\d{1,2})";case"YYYY":return l.YYYY=s,"(-?\\d{1,4})";case"M":return l.M=s,"(\\d{1,2})";case"MM":return l.M=s,"(\\d{2})";case"MMM":return l.MMM=s,a;case"MMMM":return l.MMMM=s,i;case"D":return l.D=s,"(\\d{1,2})";case"Do":return l.D=s++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return l.D=s,"(\\d{2})";case"H":return l.H=s,"(\\d{1,2})";case"HH":return l.H=s,"(\\d{2})";case"h":return l.h=s,"(\\d{1,2})";case"hh":return l.h=s,"(\\d{2})";case"m":return l.m=s,"(\\d{1,2})";case"mm":return l.m=s,"(\\d{2})";case"s":return l.s=s,"(\\d{1,2})";case"ss":return l.s=s,"(\\d{2})";case"S":return l.S=s,"(\\d{1})";case"SS":return l.S=s,"(\\d{2})";case"SSS":return l.S=s,"(\\d{3})";case"A":return l.A=s,"(AM|PM)";case"a":return l.a=s,"(am|pm)";case"aa":return l.aa=s,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return l.Z=s,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return l.ZZ=s,"(Z|[+-]\\d{2}\\d{2})";case"X":return l.X=s,"(-?\\d+)";case"x":return l.x=s,"(-?\\d{4,})";default:return s--,"["===e[0]&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),c={map:l,regex:new RegExp("^"+u)};return Sr[o]=c,c}(t,a),d=e.match(u);if(null===d)return i;let A="";if(void 0!==c.X||void 0!==c.x){const e=parseInt(d[void 0!==c.X?c.X:c.x],10);if(!0===isNaN(e)||e<0)return i;const t=new Date(e*(void 0!==c.X?1e3:1));i.year=t.getFullYear(),i.month=t.getMonth()+1,i.day=t.getDate(),i.hour=t.getHours(),i.minute=t.getMinutes(),i.second=t.getSeconds(),i.millisecond=t.getMilliseconds()}else{if(void 0!==c.YYYY)i.year=parseInt(d[c.YYYY],10);else if(void 0!==c.YY){const e=parseInt(d[c.YY],10);i.year=e<0?e:2e3+e}if(void 0!==c.M){if(i.month=parseInt(d[c.M],10),i.month<1||i.month>12)return i}else void 0!==c.MMM?i.month=s.indexOf(d[c.MMM])+1:void 0!==c.MMMM&&(i.month=l.indexOf(d[c.MMMM])+1);if(void 0!==c.D){if(i.day=parseInt(d[c.D],10),null===i.year||null===i.month||i.day<1)return i;const e="persian"!==o?new Date(i.year,i.month,0).getDate():Ar(i.year,i.month);if(i.day>e)return i}void 0!==c.H?i.hour=parseInt(d[c.H],10)%24:void 0!==c.h&&(i.hour=parseInt(d[c.h],10)%12,(c.A&&"PM"===d[c.A]||c.a&&"pm"===d[c.a]||c.aa&&"p.m."===d[c.aa])&&(i.hour+=12),i.hour=i.hour%24),void 0!==c.m&&(i.minute=parseInt(d[c.m],10)%60),void 0!==c.s&&(i.second=parseInt(d[c.s],10)%60),void 0!==c.S&&(i.millisecond=parseInt(d[c.S],10)*10**(3-d[c.S].length)),void 0===c.Z&&void 0===c.ZZ||(A=void 0!==c.Z?d[c.Z].replace(":",""):d[c.ZZ],i.timezoneOffset=("+"===A[0]?-1:1)*(60*A.slice(1,3)+1*A.slice(3,5)))}return i.dateHash=i.year+"/"+ee(i.month)+"/"+ee(i.day),i.timeHash=ee(i.hour)+":"+ee(i.minute)+":"+ee(i.second)+A,i}function Tr(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=o%60;return n+ee(Math.floor(o/60))+t+ee(r)}function Nr(e,t){const n=new Date(e.getFullYear(),t,0,0,0,0,0).getDate();e.setMonth(t-1,Math.min(n,e.getDate()))}function Fr(e,t,n){const o=new Date(e),r=n?1:-1;return Object.keys(t).forEach((e=>{if("months"===e)return void Nr(o,o.getMonth()+1+r*t.months);const n="years"===e?"FullYear":Z("days"===e?"date":e);o[`set${n}`](o[`get${n}`]()+r*t[e])})),o}function Vr(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/6048e5;return 1+Math.floor(r)}function Or(e,t){const n=new Date(e);return!0===t?function(e){return 1e4*e.getFullYear()+100*e.getMonth()+e.getDate()}(n):n.getTime()}function Ur(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");return Object.keys(t).forEach((e=>{if("month"===e)return void Nr(o,t.month);const n="year"===e?"FullYear":e.charAt(0).toUpperCase()+e.slice(1);o[`${r}${n}`](t[e])})),o}function Qr(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");switch(t){case"year":o[`${r}Month`](0);case"month":o[`${r}Date`](1);case"day":o[`${r}Hours`](0);case"hour":o[`${r}Minutes`](0);case"minute":o[`${r}Seconds`](0);case"second":o[`${r}Milliseconds`](0)}return o}function qr(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Br-(t.getTime()-t.getTimezoneOffset()*Br))/n}function Mr(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":return o.getFullYear()-r.getFullYear();case"months":return 12*(o.getFullYear()-r.getFullYear())+o.getMonth()-r.getMonth();case"days":return qr(Qr(o,"day"),Qr(r,"day"),Cr);case"hours":return qr(Qr(o,"hour"),Qr(r,"hour"),36e5);case"minutes":return qr(Qr(o,"minute"),Qr(r,"minute"),Br);case"seconds":return qr(Qr(o,"second"),Qr(r,"second"),1e3)}}function Ir(e){return Mr(e,Qr(e,"year"),"days")+1}
2function Pr(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Dr(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const Hr={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>0?ee(o):"-"+ee(Math.abs(o))},YYYY:(e,t,n)=>null!=n?n:e.getFullYear(),M:e=>e.getMonth()+1,MM:e=>ee(e.getMonth()+1),MMM:(e,t)=>t.monthsShort[e.getMonth()],MMMM:(e,t)=>t.months[e.getMonth()],Q:e=>Math.ceil((e.getMonth()+1)/3),Qo(e){return Dr(this.Q(e))},D:e=>e.getDate(),Do:e=>Dr(e.getDate()),DD:e=>ee(e.getDate()),DDD:e=>Ir(e),DDDD:e=>ee(Ir(e),3),d:e=>e.getDay(),dd(e,t){return this.dddd(e,t).slice(0,2)},ddd:(e,t)=>t.daysShort[e.getDay()],dddd:(e,t)=>t.days[e.getDay()],E:e=>e.getDay()||7,w:e=>Vr(e),ww:e=>ee(Vr(e)),H:e=>e.getHours(),HH:e=>ee(e.getHours()),h(e){const t=e.getHours();return 0===t?12:t>12?t%12:t},hh(e){return ee(this.h(e))},m:e=>e.getMinutes(),mm:e=>ee(e.getMinutes()),s:e=>e.getSeconds(),ss:e=>ee(e.getSeconds()),S:e=>Math.floor(e.getMilliseconds()/100),SS:e=>ee(Math.floor(e.getMilliseconds()/10)),SSS:e=>ee(e.getMilliseconds(),3),A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z:(e,t,n,o)=>Tr(null==o?e.getTimezoneOffset():o,":"),ZZ:(e,t,n,o)=>Tr(null==o?e.getTimezoneOffset():o),X:e=>Math.floor(e.getTime()/1e3),x:e=>e.getTime()};function Rr(e,t,n,o,r){if(0!==e&&!e||e===1/0||e===-1/0)return;const i=new Date(e);if(isNaN(i))return;void 0===t&&(t=_r);const a=void 0!==n?n:V.props.date;return t.replace(kr,((e,t)=>e in Hr?Hr[e](i,a,o,r):void 0===t?e:t.split("\\]").join("]")))}var jr={isValid:function(e){return"number"==typeof e||!1===isNaN(Date.parse(e))},extractDate:function(e,t,n){const o=Er(e,t,n),r=new Date(o.year,null===o.month?null:o.month-1,o.day,o.hour,o.minute,o.second,o.millisecond),i=r.getTimezoneOffset();return null===o.timezoneOffset||o.timezoneOffset===i?r:Fr(r,{minutes:o.timezoneOffset-i},!0)},buildDate:function(e,t){return Ur(new Date,e,t)},getDayOfWeek:function(e){const t=new Date(e).getDay();return 0===t?7:t},getWeekOfYear:Vr,isBetweenDates:function(e,t,n,o={}){const r=Or(t,o.onlyDate),i=Or(n,o.onlyDate),a=Or(e,o.onlyDate);return(a>r||!0===o.inclusiveFrom&&a===r)&&(a<i||!0===o.inclusiveTo&&a===i)},addToDate:function(e,t){return Fr(e,t,!0)},subtractFromDate:function(e,t){return Fr(e,t,!1)},adjustDate:Ur,startOfDate:Qr,endOfDate:function(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");switch(t){case"year":o[`${r}Month`](11);case"month":o[`${r}Date`](Pr(o));case"day":o[`${r}Hours`](23);case"hour":o[`${r}Minutes`](59);case"minute":o[`${r}Seconds`](59);case"second":o[`${r}Milliseconds`](999)}return o},getMaxDate:function(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach((e=>{t=Math.max(t,new Date(e))})),t},getMinDate:function(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach((e=>{t=Math.min(t,new Date(e))})),t},getDateDiff:Mr,getDayOfYear:Ir,inferDateFormat:function(e){return!0===Xn(e)?"date":"number"==typeof e?"number":"string"},getDateBetween:function(e,t,n){const o=new Date(e);if(t){const e=new Date(t);if(o<e)return e}if(n){const e=new Date(n);if(o>e)return e}return o},isSameDate:function(e,t,n){const o=new Date(e),r=new Date(t);if(void 0===n)return o.getTime()===r.getTime();switch(n){case"second":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":if(o.getHours()!==r.getHours())return!1;case"day":if(o.getDate()!==r.getDate())return!1;case"month":if(o.getMonth()!==r.getMonth())return!1;case"year":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0},daysInMonth:Pr,formatDate:Rr,clone:function(e){return!0===Xn(e)?new Date(e.getTime()):e}};const $r=20,zr=["Calendar","Years","Months"],Kr=e=>zr.includes(e),Wr=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Yr=" â ";function Gr(e){return e.year+"/"+ee(e.month)}var Zr=(0,o.defineComponent)({name:"QDate",props:{...yr,...kn,...Te,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:Wr},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:Wr},navigationMaxYearMonth:{type:String,validator:Wr},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:Kr}},emits:[...br,"range-start","range-end","navigation"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=Ne(e,i),{getCache:l}=Pn(),{tabindex:s,headerClass:u,getLocale:c,getCurrentDate:d}=Lr(e,i);let A;
2const p=Sn(xn(e)),f=(0,o.ref)(null),h=(0,o.ref)(se()),m=(0,o.ref)(c()),v=(0,o.computed)((()=>se())),g=(0,o.computed)((()=>c())),y=(0,o.computed)((()=>d())),b=(0,o.ref)(de(h.value,m.value)),w=(0,o.ref)(e.defaultView),L=!0===i.lang.rtl?"right":"left",C=(0,o.ref)(L.value),B=(0,o.ref)(L.value),_=b.value.year,k=(0,o.ref)(_-_%$r-(_<0?$r:0)),x=(0,o.ref)(null),S=(0,o.computed)((()=>{const t=!0===e.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===e.minimal?"minimal":"standard"}`+(!0===a.value?" q-date--dark q-dark":"")+(!0===e.bordered?" q-date--bordered":"")+(!0===e.square?" q-date--square no-border-radius":"")+(!0===e.flat?" q-date--flat no-shadow":"")+(!0===e.disable?" disabled":!0===e.readonly?" q-date--readonly":"")})),E=(0,o.computed)((()=>e.color||"primary")),T=(0,o.computed)((()=>e.textColor||"white")),N=(0,o.computed)((()=>!0===e.emitImmediately&&!0!==e.multiple&&!0!==e.range)),F=(0,o.computed)((()=>!0===Array.isArray(e.modelValue)?e.modelValue:null!==e.modelValue&&void 0!==e.modelValue?[e.modelValue]:[])),V=(0,o.computed)((()=>F.value.filter((e=>"string"==typeof e)).map((e=>ue(e,h.value,m.value))).filter((e=>null!==e.dateHash)))),O=(0,o.computed)((()=>{const e=e=>ue(e,h.value,m.value);return F.value.filter((e=>Object(e)===e&&void 0!==e.from&&void 0!==e.to)).map((t=>({from:e(t.from),to:e(t.to)}))).filter((e=>null!==e.from.dateHash&&null!==e.to.dateHash&&e.from.dateHash<e.to.dateHash))})),U=(0,o.computed)((()=>"persian"!==e.calendar?e=>new Date(e.year,e.month-1,e.day):e=>{const t=cr(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)})),Q=(0,o.computed)((()=>"persian"===e.calendar?wr:(e,t,n)=>Rr(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),void 0===t?h.value:t,void 0===n?m.value:n,e.year,e.timezoneOffset))),q=(0,o.computed)((()=>V.value.length+O.value.reduce(((e,t)=>e+1+Mr(U.value(t.to),U.value(t.from))),0))),M=(0,o.computed)((()=>{if(void 0!==e.title&&null!==e.title&&e.title.length>0)return e.title;if(null!==x.value){const e=x.value.init,t=U.value(e);return m.value.daysShort[t.getDay()]+", "+m.value.monthsShort[e.month-1]+" "+e.day+" â ?"}if(0===q.value)return Yr;if(q.value>1)return`${q.value} ${m.value.pluralDay}`;const t=V.value[0],n=U.value(t);return!0===isNaN(n.valueOf())?Yr:void 0!==m.value.headerTitle?m.value.headerTitle(n,t):m.value.daysShort[n.getDay()]+", "+m.value.monthsShort[t.month-1]+" "+t.day})),I=(0,o.computed)((()=>{const e=V.value.concat(O.value.map((e=>e.from))).sort(((e,t)=>e.year-t.year||e.month-t.month));return e[0]})),P=(0,o.computed)((()=>{const e=V.value.concat(O.value.map((e=>e.to))).sort(((e,t)=>t.year-e.year||t.month-e.month));return e[0]})),D=(0,o.computed)((()=>{if(void 0!==e.subtitle&&null!==e.subtitle&&e.subtitle.length>0)return e.subtitle;if(0===q.value)return Yr;if(q.value>1){const e=I.value,t=P.value,n=m.value.monthsShort;return n[e.month-1]+(e.year!==t.year?" "+e.year+Yr+n[t.month-1]+" ":e.month!==t.month?Yr+n[t.month-1]:"")+" "+t.year}return V.value[0].year})),H=(0,o.computed)((()=>{const e=[i.iconSet.datetime.arrowLeft,i.iconSet.datetime.arrowRight];return!0===i.lang.rtl?e.reverse():e})),R=(0,o.computed)((()=>void 0!==e.firstDayOfWeek?Number(e.firstDayOfWeek):m.value.firstDayOfWeek)),j=(0,o.computed)((()=>{const e=m.value.daysShort,t=R.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e})),$=(0,o.computed)((()=>{const t=b.value;return"persian"!==e.calendar?new Date(t.year,t.month,0).getDate():Ar(t.year,t.month)})),z=(0,o.computed)((()=>"function"==typeof e.eventColor?e.eventColor:()=>e.eventColor)),K=(0,o.computed)((()=>{if(void 0===e.navigationMinYearMonth)return null;const t=e.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),W=(0,o.computed)((()=>{if(void 0===e.navigationMaxYearMonth)return null;const t=e.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}})),Y=(0,o.computed)((()=>{const e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return null!==K.value&&K.value.year>=b.value.year&&(e.year.prev=!1,K.value.year===b.value.year&&K.value.month>=b.value.month&&(e.month.prev=!1)),null!==W.value&&W.value.year<=b.value.year&&(e.year.next=!1,W.value.year===b.value.year&&W.value.month<=b.value.month&&(e.month.next=!1)),e})),G=(0,o.computed)((()=>{const e={};return V.value.forEach((t=>{const n=Gr(t);void 0===e[n]&&(e[n]=[]),e[n].push(t.day)})),e})),Z=(0,o.computed)((()=>{const e={};return O.value.forEach((t=>{const n=Gr(t.from),o=Gr(t.to);if(void 0===e[n]&&(e[n]=[]),e[n].push({from:t.from.day,to:n===o?t.to.day:void 0,range:t}),n<o){let n;const{year:r,month:i}=t.from,a=i<12?{year:r,month:i+1}:{year:r+1,month:1};for(;(n=Gr(a))<=o;)void 0===e[n]&&(e[n]=[]),e[n].push({from:void 0,to:n===o?t.to.day:void 0,range:t}),a.month++,a.month>
212&&(a.year++,a.month=1)}})),e})),J=(0,o.computed)((()=>{if(null===x.value)return;const{init:e,initHash:t,final:n,finalHash:o}=x.value,[r,i]=t<=o?[e,n]:[n,e],a=Gr(r),l=Gr(i);if(a!==X.value&&l!==X.value)return;const s={};return a===X.value?(s.from=r.day,s.includeFrom=!0):s.from=1,l===X.value?(s.to=i.day,s.includeTo=!0):s.to=$.value,s})),X=(0,o.computed)((()=>Gr(b.value))),te=(0,o.computed)((()=>{const t={};if(void 0===e.options){for(let e=1;e<=$.value;e++)t[e]=!0;return t}const n="function"==typeof e.options?e.options:t=>e.options.includes(t);for(let e=1;e<=$.value;e++){const o=X.value+"/"+ee(e);t[e]=n(o)}return t})),ne=(0,o.computed)((()=>{const t={};if(void 0===e.events)for(let e=1;e<=$.value;e++)t[e]=!1;else{const n="function"==typeof e.events?e.events:t=>e.events.includes(t);for(let e=1;e<=$.value;e++){const o=X.value+"/"+ee(e);t[e]=!0===n(o)&&z.value(o)}}return t})),oe=(0,o.computed)((()=>{let t,n;const{year:o,month:r}=b.value;if("persian"!==e.calendar)t=new Date(o,r-1,1),n=new Date(o,r-1,0).getDate();else{const e=cr(o,r,1);t=new Date(e.gy,e.gm-1,e.gd);let i=r-1,a=o;0===i&&(i=12,a--),n=Ar(a,i)}return{days:t.getDay()-R.value-1,endDay:n}})),re=(0,o.computed)((()=>{const e=[],{days:t,endDay:n}=oe.value,o=t<0?t+7:t;if(o<6)for(let t=n-o;t<=n;t++)e.push({i:t,fill:!0});const r=e.length;for(let t=1;t<=$.value;t++){const n={i:t,event:ne.value[t],classes:[]};!0===te.value[t]&&(n.in=!0,n.flat=!0),e.push(n)}if(void 0!==G.value[X.value]&&G.value[X.value].forEach((t=>{const n=r+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:E.value,textColor:T.value})})),void 0!==Z.value[X.value]&&Z.value[X.value].forEach((t=>{if(void 0!==t.from){const n=r+t.from-1,o=r+(t.to||$.value)-1;for(let r=n;r<=o;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:E.value,textColor:T.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),void 0!==t.to&&Object.assign(e[o],{rangeTo:!0,flat:!1})}else if(void 0!==t.to){const n=r+t.to-1;for(let o=r;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:E.value,textColor:T.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{const n=r+$.value-1;for(let o=r;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:E.value,textColor:T.value})}})),void 0!==J.value){const t=r+J.value.from-1,n=r+J.value.to-1;for(let o=t;o<=n;o++)e[o].color=E.value,e[o].editRange=!0;!0===J.value.includeFrom&&(e[t].editRangeFrom=!0),!0===J.value.includeTo&&(e[n].editRangeTo=!0)}b.value.year===y.value.year&&b.value.month===y.value.month&&(e[r+y.value.day-1].today=!0);const i=e.length%7;if(i>0){const t=7-i;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach((e=>{let t="q-date__calendar-item ";!0===e.fill?t+="q-date__calendar-item--fill":(t+="q-date__calendar-item--"+(!0===e.in?"in":"out"),void 0!==e.range&&(t+=" q-date__range"+(!0===e.rangeTo?"-to":!0===e.rangeFrom?"-from":"")),!0===e.editRange&&(t+=` q-date__edit-range${!0===e.editRangeFrom?"-from":""}${!0===e.editRangeTo?"-to":""}`),void 0===e.range&&!0!==e.editRange||(t+=` text-${e.color}`)),e.classes=t})),e})),ie=(0,o.computed)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function ae(){me(y.value,Gr(y.value)),le(y.value.year,y.value.month)}function le(e,t){w.value="Calendar",ge(e,t)}function se(){return"persian"===e.calendar?"YYYY/MM/DD":e.mask}function ue(t,n,o){return Er(t,n,o,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function de(t,n){const o=!0===Array.isArray(e.modelValue)?e.modelValue:e.modelValue?[e.modelValue]:[];if(0===o.length)return Ae();const r=ue(void 0!==o[0].from?o[0].from:o[0],t,n);return null===r.dateHash?Ae():r}function Ae(){let t,n;if(void 0!==e.defaultYearMonth){const o=e.defaultYearMonth.split("/");t=parseInt(o[0],10),n=parseInt(o[1],10)}else{const e=void 0!==y.value?y.value:d();t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+ee(n)+"/01"}}function pe(e){let t=b.value.year,n=Number(b.value.month)+e;13===n?(n=1,t++):0===n&&(n=12,t--),ge(t,n),!0===N.value&&be("month")}function fe(e){ge(Number(b.value.year)+e,b.value.month),!0===N.value&&be("year")}function he(t){ge(t,b.value.month),w.value="Years"===e.defaultView?"Months":"Calendar",!0===N.value&&be("year")}function me(e,t){const n=G.value[t];(void 0!==n&&!0===n.includes(e.day)?Be:Ce)(e)}function ve(e){return{year:e.year,month:e.month,day:e.day}}function ge(e,t){null!==K.value&&e<=K.value.year&&(e=K.value.year,t<K.value.month&&(t=K.value.month)),null!==W.value&&e>=W.value.year&&(e=W.value.year,t>W.value.month&&(t=W.value.month));const n=e+"/"+ee(t)+"/01";n!==b.value.dateHash&&(C.value=b.value.dateHash<n==(!0!==i.lang.rtl)?"left":"right",e!==b.value.year&&(B.value=C.value),(0,o.nextTick)((()=>
2{k.value=e-e%$r-(e<0?$r:0),Object.assign(b.value,{year:e,month:t,day:1,dateHash:n})})))}function ye(t,o,r){const i=null!==t&&1===t.length&&!1===e.multiple?t[0]:t;A=i;const{reason:a,details:l}=we(o,r);n("update:modelValue",i,a,l)}function be(t){const r=void 0!==V.value[0]&&null!==V.value[0].dateHash?{...V.value[0]}:{...b.value};(0,o.nextTick)((()=>{r.year=b.value.year,r.month=b.value.month;const o="persian"!==e.calendar?new Date(r.year,r.month,0).getDate():Ar(r.year,r.month);r.day=Math.min(Math.max(1,r.day),o);const i=Le(r);A=i;const{details:a}=we("",r);n("update:modelValue",i,t,a)}))}function we(e,t){return void 0!==t.from?{reason:`${e}-range`,details:{...ve(t.target),from:ve(t.from),to:ve(t.to)}}:{reason:`${e}-day`,details:ve(t)}}function Le(e,t,n){return void 0!==e.from?{from:Q.value(e.from,t,n),to:Q.value(e.to,t,n)}:Q.value(e,t,n)}function Ce(t){let n;if(!0===e.multiple)if(void 0!==t.from){const e=wr(t.from),o=wr(t.to),r=V.value.filter((t=>t.dateHash<e||t.dateHash>o)),i=O.value.filter((({from:t,to:n})=>n.dateHash<e||t.dateHash>o));n=r.concat(i).concat(t).map((e=>Le(e)))}else{const e=F.value.slice();e.push(Le(t)),n=e}else n=Le(t);ye(n,"add",t)}function Be(t){if(!0===e.noUnset)return;let n=null;if(!0===e.multiple&&!0===Array.isArray(e.modelValue)){const o=Le(t);n=void 0!==t.from?e.modelValue.filter((e=>void 0===e.from||e.from!==o.from&&e.to!==o.to)):e.modelValue.filter((e=>e!==o)),0===n.length&&(n=null)}ye(n,"remove",t)}function _e(t,o,r){const i=V.value.concat(O.value).map((e=>Le(e,t,o))).filter((e=>void 0!==e.from?null!==e.from.dateHash&&null!==e.to.dateHash:null!==e.dateHash));n("update:modelValue",(!0===e.multiple?i:i[0])||null,r)}function ke(){if(!0!==e.minimal)return(0,o.h)("div",{class:"q-date__header "+u.value},[(0,o.h)("div",{class:"relative-position"},[(0,o.h)(o.Transition,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-yr-"+D.value,class:"q-date__header-subtitle q-date__header-link "+("Years"===w.value?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...l("vY",{onClick(){w.value="Years"},onKeyup(e){13===e.keyCode&&(w.value="Years")}})},[D.value])))]),(0,o.h)("div",{class:"q-date__header-title relative-position flex no-wrap"},[(0,o.h)("div",{class:"relative-position col"},[(0,o.h)(o.Transition,{name:"q-transition--fade"},(()=>(0,o.h)("div",{key:"h-sub"+M.value,class:"q-date__header-title-label q-date__header-link "+("Calendar"===w.value?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...l("vC",{onClick(){w.value="Calendar"},onKeyup(e){13===e.keyCode&&(w.value="Calendar")}})},[M.value])))]),!0===e.todayBtn?(0,o.h)(dt,{class:"q-date__header-today self-start",icon:i.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:s.value,onClick:ae}):null])])}function xe({label:e,type:t,key:n,dir:r,goTo:i,boundaries:a,cls:u}){return[(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(dt,{round:!0,dense:!0,size:"sm",flat:!0,icon:H.value[0],tabindex:s.value,disable:!1===a.prev,...l("go-#"+t,{onClick(){i(-1)}})})]),(0,o.h)("div",{class:"relative-position overflow-hidden flex flex-center"+u},[(0,o.h)(o.Transition,{name:"q-transition--jump-"+r},(()=>(0,o.h)("div",{key:n},[(0,o.h)(dt,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:s.value,...l("view#"+t,{onClick:()=>{w.value=t}})})])))]),(0,o.h)("div",{class:"row items-center q-date__arrow"},[(0,o.h)(dt,{round:!0,dense:!0,size:"sm",flat:!0,icon:H.value[1],tabindex:s.value,disable:!1===a.next,...l("go+#"+t,{onClick(){i(1)}})})])]}(0,o.watch)((()=>e.modelValue),(e=>{if(A===e)A=0;else{const{year:e,month:t}=de(h.value,m.value);ge(e,t)}})),(0,o.watch)(w,(()=>{null!==f.value&&f.value.focus()})),(0,o.watch)((()=>b.value.year),(e=>{n("navigation",{year:e,month:b.value.month})})),(0,o.watch)((()=>b.value.month),(e=>{n("navigation",{year:b.value.year,month:e})})),(0,o.watch)(v,(e=>{_e(e,m.value,"mask"),h.value=e})),(0,o.watch)(g,(e=>{_e(h.value,e,"locale"),m.value=e})),Object.assign(r,{setToday:ae,setView:function(e){!0===Kr(e)&&(w.value=e)},offsetCalendar:function(e,t){if(["month","year"].includes(e)){("month"===e?pe:fe)(!0===t?-1:1)}},setCalendarTo:le,setEditingRange:function(t,n){if(!1===e.range||!t)return void(x.value=null);const o=Object.assign({...b.value},t),r=void 0!==n?Object.assign({...b.value},n):o;x.value={init:o,initHash:wr(o),final:r,finalHash:wr(r)},le(o.year,o.month)}});const Se={Calendar:()=>[(0,o.h)("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[(0,o.h)("div",{class:"q-date__navigation row items-center no-wrap"},xe({label:m.value.months[b.value.month-1],type:"Months",key:b.value.month,dir:C.value,goTo:pe,boundaries:Y.value.month,cls:" col"}).concat(xe({label:b.value.year,type:"Years",key:b.value.year,dir:B.value,goTo:fe,boun
2daries:Y.value.year,cls:""}))),(0,o.h)("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},j.value.map((e=>(0,o.h)("div",{class:"q-date__calendar-item"},[(0,o.h)("div",e)])))),(0,o.h)("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[(0,o.h)(o.Transition,{name:"q-transition--slide-"+C.value},(()=>(0,o.h)("div",{key:X.value,class:"q-date__calendar-days fit"},re.value.map((e=>(0,o.h)("div",{class:e.classes},[!0===e.in?(0,o.h)(dt,{class:!0===e.today?"q-date__today":"",dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:s.value,...l("day#"+e.i,{onClick:()=>{Ee(e.i)},onMouseover:()=>{!function(e){if(null!==x.value){const t={...b.value,day:e};Object.assign(x.value,{final:t,finalHash:wr(t)})}}(e.i)}})},!1!==e.event?()=>(0,o.h)("div",{class:"q-date__event bg-"+e.event}):null):(0,o.h)("div",""+e.i)]))))))])])],Months(){const t=b.value.year===y.value.year,n=e=>null!==K.value&&b.value.year===K.value.year&&K.value.month>e||null!==W.value&&b.value.year===W.value.year&&W.value.month<e,r=m.value.monthsShort.map(((e,r)=>{const i=b.value.month===r+1;return(0,o.h)("div",{class:"q-date__months-item flex flex-center"},[(0,o.h)(dt,{class:!0===t&&y.value.month===r+1?"q-date__today":null,flat:!0!==i,label:e,unelevated:i,color:!0===i?E.value:null,textColor:!0===i?T.value:null,tabindex:s.value,disable:n(r+1),...l("month#"+r,{onClick:()=>{!function(e){ge(b.value.year,e),w.value="Calendar",!0===N.value&&be("month")}(r+1)}})})])}));return!0===e.yearsInMonthView&&r.unshift((0,o.h)("div",{class:"row no-wrap full-width"},[xe({label:b.value.year,type:"Years",key:b.value.year,dir:B.value,goTo:fe,boundaries:Y.value.year,cls:" col"})])),(0,o.h)("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},r)},Years(){const e=k.value,t=e+$r,n=[],r=e=>null!==K.value&&K.value.year>e||null!==W.value&&W.value.year<e;for(let i=e;i<=t;i++){const e=b.value.year===i;n.push((0,o.h)("div",{class:"q-date__years-item flex flex-center"},[(0,o.h)(dt,{key:"yr"+i,class:y.value.year===i?"q-date__today":null,flat:!e,label:i,dense:!0,unelevated:e,color:!0===e?E.value:null,textColor:!0===e?T.value:null,tabindex:s.value,disable:r(i),...l("yr#"+i,{onClick:()=>{he(i)}})})]))}return(0,o.h)("div",{class:"q-date__view q-date__years flex flex-center"},[(0,o.h)("div",{class:"col-auto"},[(0,o.h)(dt,{round:!0,dense:!0,flat:!0,icon:H.value[0],tabindex:s.value,disable:r(e),...l("y-",{onClick:()=>{k.value-=$r}})})]),(0,o.h)("div",{class:"q-date__years-content col self-stretch row items-center"},n),(0,o.h)("div",{class:"col-auto"},[(0,o.h)(dt,{round:!0,dense:!0,flat:!0,icon:H.value[1],tabindex:s.value,disable:r(t),...l("y+",{onClick:()=>{k.value+=$r}})})])])}};function Ee(t){const o={...b.value,day:t};if(!1!==e.range)if(null===x.value){const e=re.value.find((e=>!0!==e.fill&&e.i===t));if(void 0!==e.range)return void Be({target:o,from:e.range.from,to:e.range.to});if(!0===e.selected)return void Be(o);const r=wr(o);x.value={init:o,initHash:r,final:o,finalHash:r},n("range-start",ve(o))}else{const e=x.value.initHash,t=wr(o),r=e<=t?{from:x.value.init,to:o}:{from:o,to:x.value.init};x.value=null,Ce(e===t?o:{target:o,...r}),n("range-end",{from:ve(r.from),to:ve(r.to)})}else me(o,X.value)}return()=>{const n=[(0,o.h)("div",{class:"q-date__content col relative-position"},[(0,o.h)(o.Transition,{name:"q-transition--fade"},Se[w.value])])],r=ce(t.default);return void 0!==r&&n.push((0,o.h)("div",{class:"q-date__actions"},r)),void 0!==e.name&&!0!==e.disable&&p(n,"push"),(0,o.h)("div",{class:S.value,...ie.value},[ke(),(0,o.h)("div",{ref:f,class:"q-date__main col column",tabindex:-1},n)])}}});function Jr(e,t,n){let r;function i(){void 0!==r&&(T.remove(r),r=void 0)}return(0,o.onBeforeUnmount)((()=>{!0===e.value&&i()})),{removeFromHistory:i,addToHistory(){r={condition:()=>!0===n.value,handler:t},T.add(r)}}}let Xr,ei,ti,ni,oi,ri,ii=0,ai=!1;function li(e){(function(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=m(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let e=0;e<t.length;e++){const n=t[e];if(Gt(n,o))return o?r<0&&0===n.scrollTop||r>0&&n.scrollTop+n.clientHeight===n.scrollHeight:r<0&&0===n.scrollLeft||r>0&&n.scrollLeft+n.clientWidth===n.scrollWidth}return!0})(e)&&y(e)}function si(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ui(e){!0!==ai&&(ai=!0,requestAnimationFrame((()=>{ai=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;void 0!==ti&&t===window.innerHeight||(ti=n-t,document.scrollingElement.scrollTop=o),o>ti&&(document.scrollingElement.scrollTop-=Math.ceil((o-ti)/8))})))}function ci(e){const t=document.body,n=void 0!==window.visualVie
2wport;if("add"===e){const{overflowY:e,overflowX:o}=window.getComputedStyle(t);Xr=Dt(window),ei=Pt(window),ni=t.style.left,oi=t.style.top,t.style.left=`-${Xr}px`,t.style.top=`-${ei}px`,"hidden"!==o&&("scroll"===o||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===u.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",ui,A.passiveCapture),window.visualViewport.addEventListener("scroll",ui,A.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",si,A.passiveCapture))}!0===u.is.desktop&&!0===u.is.mac&&window[`${e}EventListener`]("wheel",li,A.notPassive),"remove"===e&&(!0===u.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",ui,A.passiveCapture),window.visualViewport.removeEventListener("scroll",ui,A.passiveCapture)):window.removeEventListener("scroll",si,A.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=ni,t.style.top=oi,window.scrollTo(Xr,ei),ti=void 0)}function di(e){let t="add";if(!0===e){if(ii++,void 0!==ri)return clearTimeout(ri),void(ri=void 0);if(ii>1)return}else{if(0===ii)return;if(ii--,ii>0)return;if(t="remove",!0===u.is.ios&&!0===u.is.nativeMobile)return clearTimeout(ri),void(ri=setTimeout((()=>{ci(t),ri=void 0}),100))}ci(t)}function Ai(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,di(t))}}}let pi=0;const fi={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},hi={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var mi=(0,o.defineComponent)({name:"QDialog",inheritAttrs:!1,props:{...vt,...Vt,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...gt,"shake","click","escape-key"],setup(e,{slots:t,emit:n,attrs:r}){const i=(0,o.getCurrentInstance)(),a=(0,o.ref)(null),l=(0,o.ref)(!1),s=(0,o.ref)(!1),u=(0,o.ref)(!1);let c,d,A,p=null;const f=(0,o.computed)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:h}=Ai(),{registerTimeout:m,removeTimeout:v}=Qt(),{registerTick:g,removeTick:y,prepareTick:b}=Ut(),{showPortal:w,hidePortal:L,portalIsActive:C,renderPortal:B}=Ft(i,a,(function(){return(0,o.h)("div",{...r,class:O.value},[(0,o.h)(o.Transition,{name:"q-transition--fade",appear:!0},(()=>!0===F.value?(0,o.h)("div",{class:"q-dialog__backdrop fixed-full","aria-hidden":"true",onMousedown:D}):null)),(0,o.h)(o.Transition,{name:N.value,appear:!0},(()=>!0===l.value?(0,o.h)("div",{ref:a,class:S.value,tabindex:-1,...V.value},ce(t.default)):null))])}),!0),{hide:_}=yt({showing:l,hideOnRouteChange:f,handleShow:function(t){v(),y(),k(),p=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,I(e.maximized),w(),u.value=!0,!0!==e.noFocus&&(null!==document.activeElement&&document.activeElement.blur(),g(U),b()),m((()=>{if(!0===i.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,o=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>o/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-o,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-o/2))),document.activeElement.scrollIntoView()}A=!0,a.value.click(),A=!1}w(!0),u.value=!1,n("show",t)}),e.transitionDuration)},handleHide:function(t){v(),y(),x(),M(!0),u.value=!0,null!==p&&p.focus(),m((()=>{L(),u.value=!1,n("hide",t)}),e.transitionDuration)},processOnMount:!0}),{addToHistory:k,removeFromHistory:x}=Jr(l,_,f),S=(0,o.computed)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${fi[e.position]}`+(!0===u.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),E=(0,o.computed)((()=>"q-transition--"+(void 0===e.transitionShow?hi[e.position][0]:e.transitionShow))),T=(0,o.computed)((()=>"q-transition--"+(void 0===e.transitionHide?hi[e.position][1]:e.transitionHide))),N=(0,o.computed)((()=>!0===s.value?T.value:E.value)),F=(0,o.computed)((()=>!0===l.value&&!0!==e.seamless)),V=(0,o.computed)((()=>!0===e.autoClose?{onClick:P}:{})),O=(0,o.computed)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===F.value?"modal":"seamless"),r.class]));function U(){Ct((()=>{let e=a.value;null!==e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus], [data-autofocus]")||e,e.focus())}))}function Q(){U(),n("shake");const e=a.value;null!==e&&(e.classList.remove("q-animate--scale"),e.classList.add("q-animate--scale"),clearTimeout(c),c=setTimeout((()=>{null!==a.value&&(e.classList.remove("q-animate--scale"),U())}),170))}function q(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&Q():(n("escape-key"),_()))}function M(t){clearTimeout(c),!0!==t&&!0!==l.value||(I(!1),!0!==e.seamless&&(h(!1),un(H),rn(q)))}function I(e){!0===e?!0!==d&&(pi<1&&document.body.classList.add("q-body--dialog"),pi++,d=!0):!0===d&&(pi<2&&document.body.classList.remove("q-body--dialog"),pi--,d=!1)}function P(e){!0!==A&&(_(e),n("click",e))}
2function D(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?_(t):Q()}function H(e){!0===l.value&&!0===C.value&&!0!==Xe(a.value,e.target)&&U()}return(0,o.watch)(l,(e=>{(0,o.nextTick)((()=>{s.value=e}))})),(0,o.watch)((()=>e.maximized),(e=>{!0===l.value&&I(e)})),(0,o.watch)(F,(e=>{h(e),!0===e?(sn(H),on(q)):(un(H),rn(q))})),Object.assign(i.proxy,{focus:U,shake:Q,__updateRefocusTarget(e){p=e||null}}),(0,o.onBeforeUnmount)((()=>{M()})),B}});var vi=(0,o.defineComponent)({name:"QDrawer",inheritAttrs:!1,props:{...vt,...Te,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...gt,"on-layout","mini-state"],setup(e,{slots:t,emit:n,attrs:r}){const i=(0,o.getCurrentInstance)(),{proxy:{$q:a}}=i,l=Ne(e,a),{preventBodyScroll:s}=Ai(),{registerTimeout:u}=Qt(),c=(0,o.inject)(D,(()=>{console.error("QDrawer needs to be child of QLayout")}));let d,A,p;const f=(0,o.ref)("mobile"===e.behavior||"desktop"!==e.behavior&&c.totalWidth.value<=e.breakpoint),h=(0,o.computed)((()=>!0===e.mini&&!0!==f.value)),m=(0,o.computed)((()=>!0===h.value?e.miniWidth:e.width)),v=(0,o.ref)(!0===e.showIfAbove&&!1===f.value||!0===e.modelValue),g=(0,o.computed)((()=>!0!==e.persistent&&(!0===f.value||!0===Q.value)));function y(e,t){if(C(),!1!==e&&c.animate(),Y(0),!0===f.value){const e=c.instances[F.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),G(1),!0!==c.isContainer.value&&s(!0)}else G(0),!1!==e&&Z(!1);u((()=>{!1!==e&&Z(!0),!0!==t&&n("show",e)}),150)}function b(e,t){B(),!1!==e&&c.animate(),G(0),Y(x.value*m.value),te(),!0!==t&&u((()=>{n("hide",e)}),150)}const{show:w,hide:L}=yt({showing:v,hideOnRouteChange:g,handleShow:y,handleHide:b}),{addToHistory:C,removeFromHistory:B}=Jr(v,L,g),_={belowBreakpoint:f,hide:L},k=(0,o.computed)((()=>"right"===e.side)),x=(0,o.computed)((()=>(!0===a.lang.rtl?-1:1)*(!0===k.value?1:-1))),S=(0,o.ref)(0),E=(0,o.ref)(!1),T=(0,o.ref)(!1),N=(0,o.ref)(m.value*x.value),F=(0,o.computed)((()=>!0===k.value?"left":"right")),V=(0,o.computed)((()=>!0===v.value&&!1===f.value&&!1===e.overlay?!0===e.miniToOverlay?e.miniWidth:m.value:0)),O=(0,o.computed)((()=>!0===e.overlay||!0===e.miniToOverlay||c.view.value.indexOf(k.value?"R":"L")>-1||!0===a.platform.is.ios&&!0===c.isContainer.value)),U=(0,o.computed)((()=>!1===e.overlay&&!0===v.value&&!1===f.value)),Q=(0,o.computed)((()=>!0===e.overlay&&!0===v.value&&!1===f.value)),q=(0,o.computed)((()=>"fullscreen q-drawer__backdrop"+(!1===v.value&&!1===E.value?" hidden":""))),M=(0,o.computed)((()=>({backgroundColor:`rgba(0,0,0,${.4*S.value})`}))),I=(0,o.computed)((()=>!0===k.value?"r"===c.rows.value.top[2]:"l"===c.rows.value.top[0])),P=(0,o.computed)((()=>!0===k.value?"r"===c.rows.value.bottom[2]:"l"===c.rows.value.bottom[0])),H=(0,o.computed)((()=>{const e={};return!0===c.header.space&&!1===I.value&&(!0===O.value?e.top=`${c.header.offset}px`:!0===c.header.space&&(e.top=`${c.header.size}px`)),!0===c.footer.space&&!1===P.value&&(!0===O.value?e.bottom=`${c.footer.offset}px`:!0===c.footer.space&&(e.bottom=`${c.footer.size}px`)),e})),R=(0,o.computed)((()=>{const e={width:`${m.value}px`,transform:`translateX(${N.value}px)`};return!0===f.value?e:Object.assign(e,H.value)})),j=(0,o.computed)((()=>"q-drawer__content fit "+(!0!==c.isContainer.value?"scroll":"overflow-auto"))),$=(0,o.computed)((()=>`q-drawer q-drawer--${e.side}`+(!0===T.value?" q-drawer--mini-animate":"")+(!0===e.bordered?" q-drawer--bordered":"")+(!0===l.value?" q-drawer--dark q-dark":"")+(!0===E.value?" no-transition":!0===v.value?"":" q-layout--prevent-focus")+(!0===f.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===h.value?"mini":"standard")+(!0===O.value||!0!==U.value?" fixed":"")+(!0===e.overlay||!0===e.miniToOverlay?" q-drawer--on-top":"")+(!0===I.value?" q-drawer--top-padding":"")))),z=(0,o.computed)((()=>{const t=!0===a.lang.rtl?e.side:F.value;return[[Co,X,void 0,{[t]:!0,mouse:!0}]]})),K=(0,o.computed)((()=>{const t=!0===a.lang.rtl?F.value:e.side;return[[Co,ee,void 0,{[t]:!0,mouse:!0}]]})),W=(0,o.computed)((()=>{const t=!0===a.lang.rtl?F.value:e.side;
2return[[Co,ee,void 0,{[t]:!0,mouse:!0,mouseAllDir:!0}]]}));function Y(e){void 0===e?(0,o.nextTick)((()=>{e=!0===v.value?0:m.value,Y(x.value*e)})):(!0!==c.isContainer.value||!0!==k.value||!0!==f.value&&Math.abs(e)!==m.value||(e+=x.value*c.scrollbarWidth.value),N.value=e)}function G(e){S.value=e}function Z(e){const t=!0===e?"remove":!0!==c.isContainer.value?"add":"";""!==t&&document.body.classList[t]("q-body--drawer-toggle")}function X(e){if(!1!==v.value)return;const t=m.value,n=J(e.distance.x,0,t);if(!0===e.isFinal){return!0===n>=Math.min(75,t)?w():(c.animate(),G(0),Y(x.value*t)),void(E.value=!1)}Y((!0===a.lang.rtl?!0!==k.value:k.value)?Math.max(t-n,0):Math.min(0,n-t)),G(J(n/t,0,1)),!0===e.isFirst&&(E.value=!0)}function ee(t){if(!0!==v.value)return;const n=m.value,o=t.direction===e.side,r=(!0===a.lang.rtl?!0!==o:o)?J(t.distance.x,0,n):0;if(!0===t.isFinal){return!0===Math.abs(r)<Math.min(75,n)?(c.animate(),G(1),Y(0)):L(),void(E.value=!1)}Y(x.value*r),G(J(1-r/n,0,1)),!0===t.isFirst&&(E.value=!0)}function te(){s(!1),Z(!0)}function ne(t,n){c.update(e.side,t,n)}function oe(e,t){e.value!==t&&(e.value=t)}function re(t,n){ne("size",!0===t?e.miniWidth:n)}return(0,o.watch)(f,(t=>{!0===t?(d=v.value,!0===v.value&&L(!1)):!1===e.overlay&&"mobile"!==e.behavior&&!1!==d&&(!0===v.value?(Y(0),G(0),te()):w(!1))})),(0,o.watch)(c.totalWidth,(t=>{oe(f,"mobile"===e.behavior||"desktop"!==e.behavior&&t<=e.breakpoint)})),(0,o.watch)((()=>e.side),((e,t)=>{c.instances[t]===_&&(c.instances[t]=void 0,c[t].space=!1,c[t].offset=0),c.instances[e]=_,c[e].size=m.value,c[e].space=U.value,c[e].offset=V.value})),(0,o.watch)((()=>e.behavior+e.breakpoint),(function(){oe(f,"mobile"===e.behavior||"desktop"!==e.behavior&&c.totalWidth.value<=e.breakpoint)})),(0,o.watch)(c.isContainer,(e=>{!0===v.value&&s(!0!==e)})),(0,o.watch)(c.scrollbarWidth,(()=>{Y(!0===v.value?0:void 0)})),(0,o.watch)(V,(e=>{ne("offset",e)})),(0,o.watch)(U,(e=>{n("on-layout",e),ne("space",e)})),(0,o.watch)(k,(()=>{Y()})),(0,o.watch)(m,(t=>{Y(),re(e.miniToOverlay,t)})),(0,o.watch)((()=>e.miniToOverlay),(e=>{re(e,m.value)})),(0,o.watch)((()=>a.lang.rtl),(()=>{Y()})),(0,o.watch)((()=>e.mini),(()=>{!0===e.modelValue&&(clearTimeout(A),i.proxy&&i.proxy.$el&&i.proxy.$el.classList.add("q-drawer--mini-animate"),T.value=!0,A=setTimeout((()=>{T.value=!1}),150),c.animate())})),(0,o.watch)(h,(e=>{n("mini-state",e)})),c.instances[e.side]=_,re(e.miniToOverlay,m.value),ne("space",U.value),ne("offset",V.value),!0===e.showIfAbove&&!0!==e.modelValue&&!0===v.value&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",!0),(0,o.onMounted)((()=>{n("on-layout",U.value),n("mini-state",h.value),d=!0===e.showIfAbove;const t=()=>{(!0===v.value?y:b)(!1,!0)};0===c.totalWidth.value?p=(0,o.watch)(c.totalWidth,(()=>{p(),p=void 0,!1===v.value&&!0===e.showIfAbove&&!1===f.value?w(!1):t()})):(0,o.nextTick)(t)})),(0,o.onBeforeUnmount)((()=>{void 0!==p&&p(),clearTimeout(A),!0===v.value&&te(),c.instances[e.side]===_&&(c.instances[e.side]=void 0,ne("size",0),ne("offset",0),ne("space",!1))})),()=>{const n=[];!0===f.value&&(!1===e.noSwipeOpen&&n.push((0,o.withDirectives)((0,o.h)("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),z.value)),n.push(fe("div",{ref:"backdrop",class:q.value,style:M.value,"aria-hidden":"true",onClick:L},void 0,"backdrop",!0!==e.noSwipeBackdrop&&!0===v.value,(()=>W.value))));const i=!0===h.value&&void 0!==t.mini,a=[(0,o.h)("div",{...r,key:""+i,class:[j.value,r.class]},!0===i?t.mini():ce(t.default))];return!0===e.elevated&&!0===v.value&&a.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push(fe("aside",{ref:"content",class:$.value,style:R.value},a,"contentclose",!0!==e.noSwipeClose&&!0===f.value,(()=>K.value))),(0,o.h)("div",{class:"q-drawer-container"},n)}}});function gi(e,t){if(t&&e===t)return null;const n=e.nodeName.toLowerCase();if(!0===["div","li","ul","ol","blockquote"].includes(n))return e;const o=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return"block"===o||"table"===o?e:gi(e.parentNode)}function yi(e,t,n){return!(!e||e===document.body)&&(!0===n&&e===t||(t===document?document.body:t).contains(e.parentNode))}function bi(e,t,n){if(n||((n=document.createRange()).selectNode(e),n.setStart(e,0)),0===t.count)n.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(n.setEnd(e,t.count),t.count=0);else for(let o=0;0!==t.count&&o<e.childNodes.length;o++)n=bi(e.childNodes[o],t,n);return n}const wi=/^https?:\/\//;class Li{constructor(e,t){this.el=e,this.eVm=t,this._range=null}get selection(){if(this.el){const e=document.getSelection();if(yi(e.anchorNode,this.el,!0)&&yi(e.focusNode,this.el,!0))return e}return null}get hasSelection(){return null!==this.selection&&this.selection.toString().length>0}get range(){const e=this.selection;return null!==e&&e.rangeCount?e.getRangeAt(0):this._range}get parent(){const e=this.range;if(null!==e){const t=e.startContainer;return t.nodeType===document.ELEMENT_NODE?t:t.parentNode}return null}get blockParent(){const e=this.parent;return null!==e?gi(e,this.el):null}save(e=this.range){null!==e&&(this._range=e)}restore(e=this._range){const t=document.createRange(),n=document.getSelection();null!==e?(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),n.removeAllRanges(),n.addRange(t)):(n.selectAllChildren(this.el),n.c
2ollapseToEnd())}savePosition(){let e,t=-1;const n=document.getSelection(),o=this.el.parentNode;if(n.focusNode&&yi(n.focusNode,o))for(e=n.focusNode,t=n.focusOffset;e&&e!==o;)e!==this.el&&e.previousSibling?(e=e.previousSibling,t+=e.textContent.length):e=e.parentNode;this.savedPos=t}restorePosition(e=0){if(this.savedPos>0&&this.savedPos<e){const e=window.getSelection(),t=bi(this.el,{count:this.savedPos});t&&(t.collapse(!1),e.removeAllRanges(),e.addRange(t))}}hasParent(e,t){const n=t?this.parent:this.blockParent;return null!==n&&n.nodeName.toLowerCase()===e.toLowerCase()}hasParents(e,t,n=this.parent){return null!==n&&(null!==n&&!0===e.includes(n.nodeName.toLowerCase())||!0===t&&this.hasParents(e,t,n.parentNode))}is(e,t){if(null===this.selection)return!1;switch(e){case"formatBlock":return"DIV"===t&&this.parent===this.el||this.hasParent(t,"PRE"===t);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(e)===t;case"fontName":const n=document.queryCommandValue(e);return n===`"${t}"`||n===t;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:const o=document.queryCommandState(e);return void 0!==t?o===t:o}}getParentAttribute(e){return null!==this.parent?this.parent.getAttribute(e):null}can(e){return"outdent"===e?this.hasParents(["blockquote","li"],!0):"indent"===e?this.hasParents(["li"],!0):"link"===e?null!==this.selection||this.is("link"):void 0}apply(e,t,n=p){if("formatBlock"===e)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(t)&&this.is(e,t)&&(e="outdent",t=null),"PRE"===t&&this.is(e,"PRE")&&(t="P");else{if("print"===e){n();const e=window.open();return e.document.write(`\n <!doctype html>\n <html>\n <head>\n <title>Print - ${document.title}</title>\n </head>\n <body>\n <div>${this.el.innerHTML}</div>\n </body>\n </html>\n `),e.print(),void e.close()}if("link"===e){const e=this.getParentAttribute("href");if(null===e){const e=this.selectWord(this.selection),t=e?e.toString():"";if(!(t.length||this.range&&this.range.cloneContents().querySelector("img")))return;this.eVm.editLinkUrl.value=wi.test(t)?t:"https://",document.execCommand("createLink",!1,this.eVm.editLinkUrl.value),this.save(e.getRangeAt(0))}else this.eVm.editLinkUrl.value=e,this.range.selectNodeContents(this.parent),this.save();return}if("fullscreen"===e)return this.eVm.toggleFullscreen(),void n();if("viewsource"===e)return this.eVm.isViewingSource.value=!1===this.eVm.isViewingSource.value,this.eVm.setContent(this.eVm.props.modelValue),void n()}document.execCommand(e,!1,t),n()}selectWord(e){if(null===e||!0!==e.isCollapsed||void 0===e.modify)return e;const t=document.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset);const n=t.collapsed?["backward","forward"]:["forward","backward"];t.detach();const o=e.focusNode,r=e.focusOffset;return e.collapse(e.anchorNode,e.anchorOffset),e.modify("move",n[0],"character"),e.modify("move",n[1],"word"),e.extend(o,r),e.modify("extend",n[1],"character"),e.modify("extend",n[0],"word"),e}}var Ci=(0,o.defineComponent)({name:"QTooltip",inheritAttrs:!1,props:{...ft,...vt,...Vt,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:yn},self:{type:String,default:"top middle",validator:yn},offset:{type:Array,default:()=>[14,14],validator:bn},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},emits:[...gt],setup(e,{slots:t,emit:n,attrs:r}){let i,a;const l=(0,o.getCurrentInstance)(),{proxy:{$q:s}}=l,u=(0,o.ref)(null),c=(0,o.ref)(!1),d=(0,o.computed)((()=>Ln(e.anchor,s.lang.rtl))),A=(0,o.computed)((()=>Ln(e.self,s.lang.rtl))),p=(0,o.computed)((()=>!0!==e.persistent)),{registerTick:f,removeTick:h,prepareTick:m}=Ut(),{registerTimeout:v,removeTimeout:g}=Qt(),{transition:b,transitionStyle:C}=Ot(e,c),{localScrollTarget:B,changeScrollEvent:_,unconfigureScrollTarget:k}
2=mt(e,q),{anchorEl:x,canShow:S,anchorEvents:E}=ht({showing:c,configureAnchorEl:function(){if(!0===e.noParentEvent||void 0===x.value)return;const t=!0===s.platform.is.mobile?[[x.value,"touchstart","delayShow","passive"]]:[[x.value,"mouseenter","delayShow","passive"],[x.value,"mouseleave","delayHide","passive"]];w(E,"anchor",t)}}),{show:T,hide:N}=yt({showing:c,canShow:S,handleShow:function(t){h(),g(),F(),f((()=>{a=new MutationObserver((()=>Q())),a.observe(u.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),Q(),q()})),m(),void 0===i&&(i=(0,o.watch)((()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl),Q)),v((()=>{F(!0),n("show",t)}),e.transitionDuration)},handleHide:function(t){h(),g(),U(),v((()=>{V(),n("hide",t)}),e.transitionDuration)},hideOnRouteChange:p,processOnMount:!0});Object.assign(E,{delayShow:function(t){if(!0===s.platform.is.mobile){pt(),document.body.classList.add("non-selectable");const e=x.value,t=["touchmove","touchcancel","touchend","click"].map((t=>[e,t,"delayHide","passiveCapture"]));w(E,"tooltipTemp",t)}v((()=>{T(t)}),e.delay)},delayHide:function(t){g(),!0===s.platform.is.mobile&&(L(E,"tooltipTemp"),pt(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),v((()=>{N(t)}),e.hideDelay)}});const{showPortal:F,hidePortal:V,renderPortal:O}=Ft(l,u,(function(){return(0,o.h)(o.Transition,{name:b.value,appear:!0},M)}));if(!0===s.platform.is.mobile){const t={anchorEl:x,innerRef:u,onClickOutside:e=>(N(e),e.target.classList.contains("q-dialog__backdrop")&&y(e),!0)},n=(0,o.computed)((()=>null===e.modelValue&&!0!==e.persistent&&!0===c.value));(0,o.watch)(n,(e=>{(!0===e?hn:mn)(t)})),(0,o.onBeforeUnmount)((()=>{mn(t)}))}function U(){void 0!==a&&(a.disconnect(),a=void 0),void 0!==i&&(i(),i=void 0),k(),L(E,"tooltipTemp")}function Q(){const t=u.value;void 0!==x.value&&t&&Cn({el:t,offset:e.offset,anchorEl:x.value,anchorOrigin:d.value,selfOrigin:A.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function q(){if(void 0!==x.value||void 0!==e.scrollTarget){B.value=Mt(x.value,e.scrollTarget);const t=!0===e.noParentEvent?Q:N;_(B.value,t)}}function M(){return!0===c.value?(0,o.h)("div",{...r,ref:u,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",r.class],style:C.value,role:"complementary"},ce(t.default)):null}
2return(0,o.onBeforeUnmount)(U),Object.assign(l.proxy,{updatePosition:Q}),O}}),Bi=(0,o.defineComponent)({name:"QItem",props:{...Te,...je,tag:{type:String,default:"div"},active:Boolean,clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=Ne(e,r),{hasLink:a,linkProps:l,linkClass:s,linkTag:u,navigateToLink:c}=$e(),d=(0,o.ref)(null),A=(0,o.ref)(null),p=(0,o.computed)((()=>!0===e.clickable||!0===a.value||"a"===e.tag||"label"===e.tag)),f=(0,o.computed)((()=>!0!==e.disable&&!0===p.value)),h=(0,o.computed)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===i.value?" q-item--dark":"")+(!0===a.value?s.value:!0===e.active?(void 0!==e.activeClass?` ${e.activeClass}`:"")+" q-item--active":"")+(!0===e.disable?" disabled":"")+(!0===f.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),m=(0,o.computed)((()=>{if(void 0===e.insetLevel)return null;return{["padding"+(!0===r.lang.rtl?"Right":"Left")]:16+56*e.insetLevel+"px"}}));function v(e){!0===f.value&&(null!==A.value&&(!0!==e.qKeyEvent&&document.activeElement===d.value?A.value.focus():document.activeElement===A.value&&d.value.focus()),!0===a.value&&c(e),n("click",e))}function g(e){if(!0===f.value&&!0===Q(e,13)){y(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,d.value.dispatchEvent(t)}n("keyup",e)}function b(){const e=de(t.default,[]);return!0===f.value&&e.unshift((0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:A})),e}return()=>{const t={ref:d,class:h.value,style:m.value,onClick:v,onKeyup:g};return!0===f.value?(t.tabindex=e.tabindex||"0",Object.assign(t,l.value)):!0===p.value&&(t["aria-disabled"]="true"),(0,o.h)(u.value,t,b())}}}),_i=(0,o.defineComponent)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,o.h)("div",{class:n.value},ce(t.default))}});function ki(e,t,n){t.handler?t.handler(e,n,n.caret):n.runCmd(t.cmd,t.param)}function xi(e){return(0,o.h)("div",{class:"q-editor__toolbar-group"},e)}function Si(e,t,n,r=!1){const i=r||"toggle"===t.type&&(t.toggled?t.toggled(e):t.cmd&&e.caret.is(t.cmd,t.param)),a=[];if(t.tip&&e.$q.platform.is.desktop){const e=t.key?(0,o.h)("div",[(0,o.h)("small",`(CTRL + ${String.fromCharCode(t.key)})`)]):null;a.push((0,o.h)(Ci,{delay:1e3},(()=>[(0,o.h)("div",{innerHTML:t.tip}),e])))}return(0,o.h)(dt,{...e.buttonProps.value,icon:null!==t.icon?t.icon:void 0,color:i?t.toggleColor||e.props.toolbarToggleColor:t.color||e.props.toolbarColor,textColor:i&&!e.props.toolbarPush?null:t.textColor||e.props.toolbarTextColor,label:t.label,disable:!!t.disable&&("function"!=typeof t.disable||t.disable(e)),size:"sm",onClick(o){n&&n(),ki(o,t,e)}},(()=>a))}function Ei(e){if(e.caret)return e.buttons.value.filter((t=>!e.isViewingSource.value||t.find((e=>"viewsource"===e.cmd)))).map((t=>xi(t.map((t=>(!e.isViewingSource.value||"viewsource"===t.cmd)&&("slot"===t.type?ce(e.slots[t.slot]):"dropdown"===t.type?function(e,t){const n="only-icons"===t.list;let r,i,a=t.label,l=null!==t.icon?t.icon:void 0;function s(){c.component.proxy.hide()}if(n)i=t.options.map((t=>{const n=void 0===t.type&&e.caret.is(t.cmd,t.param);return n&&(a=t.tip,l=null!==t.icon?t.icon:void 0),Si(e,t,s,n)})),r=e.toolbarBackgroundClass.value,i=[xi(i)];else{const n=void 0!==e.props.toolbarToggleColor?`text-${e.props.toolbarToggleColor}`:null,u=void 0!==e.props.toolbarTextColor?`text-${e.props.toolbarTextColor}`:null,c="no-icons"===t.list;i=t.options.map((t=>{const r=!!t.disable&&t.disable(e),i=void 0===t.type&&e.caret.is(t.cmd,t.param);i&&(a=t.tip,l=null!==t.icon?t.icon:void 0);const d=t.htmlTip;return(0,o.h)(Bi,{active:i,activeClass:n,clickable:!0,disable:r,dense:!0,onClick(n){s(),null!==e.contentRef.value&&e.contentRef.value.focus(),e.caret.restore(
2),ki(n,t,e)}},(()=>[!0===c?null:(0,o.h)(_i,{class:i?n:u,side:!0},(()=>(0,o.h)(ke,{name:null!==t.icon?t.icon:void 0}))),(0,o.h)(_i,d?()=>(0,o.h)("div",{class:"text-no-wrap",innerHTML:t.htmlTip}):t.tip?()=>(0,o.h)("div",{class:"text-no-wrap"},t.tip):void 0)]))})),r=[e.toolbarBackgroundClass.value,u]}const u=t.highlight&&a!==t.label,c=(0,o.h)(_n,{...e.buttonProps.value,noCaps:!0,noWrap:!0,color:u?e.props.toolbarToggleColor:e.props.toolbarColor,textColor:u&&!e.props.toolbarPush?null:e.props.toolbarTextColor,label:t.fixedLabel?t.label:a,icon:t.fixedIcon?null!==t.icon?t.icon:void 0:l,contentClass:r},(()=>i));return c}(e,t):Si(e,t)))))))}const Ti=/^on[A-Z]/;function Ni(e){const t={listeners:(0,o.ref)({}),attributes:(0,o.ref)({})};function n(){const n={},o={};Object.keys(e).forEach((t=>{!0===Ti.test(t)?n[t]=e[t]:"class"!==t&&"style"!==t&&(o[t]=e[t])})),t.listeners.value=n,t.attributes.value=o}return(0,o.onBeforeUpdate)(n),n(),t}const Fi=Object.prototype.toString,Vi=Object.prototype.hasOwnProperty,Oi={};function Ui(e){return null===e?String(e):Oi[Fi.call(e)]||"object"}function Qi(e){if(!e||"object"!==Ui(e))return!1;if(e.constructor&&!Vi.call(e,"constructor")&&!Vi.call(e.constructor.prototype,"isPrototypeOf"))return!1;let t;for(t in e);return void 0===t||Vi.call(e,t)}function qi(){let e,t,n,o,r,i,a=arguments[0]||{},l=1,s=!1;const u=arguments.length;for("boolean"==typeof a&&(s=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==Ui(a)&&(a={}),u===l&&(a=this,l--);l<u;l++)if(null!==(e=arguments[l]))for(t in e)n=a[t],o=e[t],a!==o&&(s&&o&&(Qi(o)||(r="array"===Ui(o)))?(r?(r=!1,i=n&&"array"===Ui(n)?n:[]):i=n&&Qi(n)?n:{},a[t]=qi(s,i,o)):void 0!==o&&(a[t]=o));return a}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach((e=>{Oi["[object "+e+"]"]=e.toLowerCase()}));var Mi=(0,o.defineComponent)({name:"QEditor",props:{...Te,...zn,modelValue:{type:String,required:!0},readonly:Boolean,disable:Boolean,minHeight:{type:String,default:"10rem"},maxHeight:String,height:String,definitions:Object,fonts:Object,placeholder:String,toolbar:{type:Array,validator:e=>0===e.length||e.every((e=>e.length)),default:()=>[["left","center","right","justify"],["bold","italic","underline","strike"],["undo","redo"]]},toolbarColor:String,toolbarBg:String,toolbarTextColor:String,toolbarToggleColor:{type:String,default:"primary"},toolbarOutline:Boolean,toolbarPush:Boolean,toolbarRounded:Boolean,paragraphTag:{type:String,validator:e=>["div","p"].includes(e),default:"div"},contentStyle:Object,contentClass:[Object,Array,String],square:Boolean,flat:Boolean,dense:Boolean},emits:[...Kn,"update:modelValue","keydown","click","mouseup","keyup","touchend","focus","blur"],setup(e,{slots:t,emit:n,attrs:r}){const{proxy:i}=(0,o.getCurrentInstance)(),{$q:a}=i,l=Ne(e,a),{inFullscreen:s,toggleFullscreen:u}=Wn(),c=Ni(r),d=(0,o.ref)(null),A=(0,o.ref)(null),p=(0,o.ref)(null),f=(0,o.ref)(!1),h=(0,o.computed)((()=>!e.readonly&&!e.disable));let m,b,w=e.modelValue;document.execCommand("defaultParagraphSeparator",!1,e.paragraphTag),m=window.getComputedStyle(document.body).fontFamily;const L=(0,o.computed)((()=>e.toolbarBg?` bg-${e.toolbarBg}`:"")),C=(0,o.computed)((()=>({type:"a",flat:!0!==e.toolbarOutline&&!0!==e.toolbarPush,noWrap:!0,outline:e.toolbarOutline,push:e.toolbarPush,rounded:e.toolbarRounded,dense:!0,color:e.toolbarColor,disable:!h.value,size:"sm"}))),B=(0,o.computed)((()=>{const t=a.lang.editor,n=a.iconSet.editor;return{bold:{cmd:"bold",icon:n.bold,tip:t.bold,key:66},italic:{cmd:"italic",icon:n.italic,tip:t.italic,key:73},strike:{cmd:"strikeThrough",icon:n.strikethrough,tip:t.strikethrough,key:83},underline:{cmd:"underline",icon:n.underline,tip:t.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:n.unorderedList,tip:t.unorderedList},ordered:{cmd:"insertOrderedList",icon:n.orderedList,tip:t.orderedList},subscript:{cmd:"subscript",icon:n.subscript,tip:t.subscript,htmlTip:"x<subscript>2</subscript>"},superscript:{cmd:"superscript",icon:n.superscript,tip:t.superscript,htmlTip:"x<superscript>2</superscript>"},link:{cmd:"link",disable:e=>e.caret&&!e.caret.can("link"),icon:n.hyperlink,tip:t.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:n.toggleFullscreen,tip:t.toggleFullscreen,key:70},viewsource:{cmd:"viewsource",icon:n.viewSource,tip:t.viewSource},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:n.quote,tip:t.quote,key:81},left:{cmd:"justifyLeft",icon:n.left,tip:t.left},center:{cmd:"justifyCenter",icon:n.center,tip:t.center},right:{cmd:"justifyRight",icon:n.right,tip:t.right},justify:{cmd:"justifyFull",icon:n.justify,tip:t.justify},print:{type:"no-state",cmd:"print",icon:n.print,tip:t.print,key:80}
2,outdent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("outdent"),cmd:"outdent",icon:n.outdent,tip:t.outdent},indent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("indent"),cmd:"indent",icon:n.indent,tip:t.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:n.removeFormat,tip:t.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:n.hr,tip:t.hr},undo:{type:"no-state",cmd:"undo",icon:n.undo,tip:t.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:n.redo,tip:t.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:n.heading1||n.heading,tip:t.heading1,htmlTip:`<h1 class="q-ma-none">${t.heading1}</h1>`},h2:{cmd:"formatBlock",param:"H2",icon:n.heading2||n.heading,tip:t.heading2,htmlTip:`<h2 class="q-ma-none">${t.heading2}</h2>`},h3:{cmd:"formatBlock",param:"H3",icon:n.heading3||n.heading,tip:t.heading3,htmlTip:`<h3 class="q-ma-none">${t.heading3}</h3>`},h4:{cmd:"formatBlock",param:"H4",icon:n.heading4||n.heading,tip:t.heading4,htmlTip:`<h4 class="q-ma-none">${t.heading4}</h4>`},h5:{cmd:"formatBlock",param:"H5",icon:n.heading5||n.heading,tip:t.heading5,htmlTip:`<h5 class="q-ma-none">${t.heading5}</h5>`},h6:{cmd:"formatBlock",param:"H6",icon:n.heading6||n.heading,tip:t.heading6,htmlTip:`<h6 class="q-ma-none">${t.heading6}</h6>`},p:{cmd:"formatBlock",param:e.paragraphTag,icon:n.heading,tip:t.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:n.code,htmlTip:`<code>${t.code}</code>`},"size-1":{cmd:"fontSize",param:"1",icon:n.size1||n.size,tip:t.size1,htmlTip:`<font size="1">${t.size1}</font>`},"size-2":{cmd:"fontSize",param:"2",icon:n.size2||n.size,tip:t.size2,htmlTip:`<font size="2">${t.size2}</font>`},"size-3":{cmd:"fontSize",param:"3",icon:n.size3||n.size,tip:t.size3,htmlTip:`<font size="3">${t.size3}</font>`},"size-4":{cmd:"fontSize",param:"4",icon:n.size4||n.size,tip:t.size4,htmlTip:`<font size="4">${t.size4}</font>`},"size-5":{cmd:"fontSize",param:"5",icon:n.size5||n.size,tip:t.size5,htmlTip:`<font size="5">${t.size5}</font>`},"size-6":{cmd:"fontSize",param:"6",icon:n.size6||n.size,tip:t.size6,htmlTip:`<font size="6">${t.size6}</font>`},"size-7":{cmd:"fontSize",param:"7",icon:n.size7||n.size,tip:t.size7,htmlTip:`<font size="7">${t.size7}</font>`}}})),_=(0,o.computed)((()=>{const t=e.definitions||{},n=e.definitions||e.fonts?qi(!0,{},B.value,t,function(e,t,n,o={}){const r=Object.keys(o);if(0===r.length)return{};const i={default_font:{cmd:"fontName",param:e,icon:n,tip:t}};return r.forEach((e=>{const t=o[e];i[e]={cmd:"fontName",param:t,icon:n,tip:t,htmlTip:`<font face="${t}">${t}</font>`}})),i}(m,a.lang.editor.defaultFont,a.iconSet.editor.font,e.fonts)):B.value;return e.toolbar.map((e=>e.map((e=>{if(e.options)return{type:"dropdown",icon:e.icon,label:e.label,size:"sm",dense:!0,fixedLabel:e.fixedLabel,fixedIcon:e.fixedIcon,highlight:e.highlight,list:e.list,options:e.options.map((e=>n[e]))};const o=n[e];return o?"no-state"===o.type||t[e]&&(void 0===o.cmd||B.value[o.cmd]&&"no-state"===B.value[o.cmd].type)?o:Object.assign({type:"toggle"},o):{type:"slot",slot:e}}))))})),k={$q:a,props:e,slots:t,inFullscreen:s,toggleFullscreen:u,runCmd:K,isViewingSource:f,editLinkUrl:p,toolbarBackgroundClass:L,buttonProps:C,contentRef:A,buttons:_,setContent:z};(0,o.watch)((()=>e.modelValue),(e=>{w!==e&&(w=e,z(e,!0))}));const x=(0,o.computed)((()=>e.toolbar&&e.toolbar.length>0)),S=(0,o.computed)((()=>{const e={},t=t=>{t.key&&(e[t.key]={cmd:t.cmd,param:t.param})};return _.value.forEach((e=>{e.forEach((e=>{e.options?e.options.forEach(t):t(e)}))})),e})),E=(0,o.computed)((()=>s.value?e.contentStyle:[{minHeight:e.minHeight,height:e.height,maxHeight:e.maxHeight},e.contentStyle])),T=(0,o.computed)((()=>"q-editor q-editor--"+(!0===f.value?"source":"default")+(!0===e.disable?" disabled":"")+(!0===s.value?" fullscreen column":"")+(!0===e.square?" q-editor--square no-border-radius":"")+(!0===e.flat?" q-editor--flat":"")+(!0===e.dense?" q-editor--dense":"")+(!0===l.value?" q-editor--dark q-dark":""))),N=(0,o.computed)((()=>[e.contentClass,"q-editor__content",{col:s.value,"overflow-auto":s.value||e.maxHeight}])),F=(0,o.computed)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:{}));function V(){if(null!==A.value){const t="inner"+(!0===f.value?"Text":"HTML"),o=A.value[t];o!==e.modelValue&&(w=o,n("update:modelValue",o))}}function O(e){if(n("keydown",e),!0!==e.ctrlKey||!0===U(e))return void W();const t=e.keyCode,o=S.value[t];if(void 0!==o){const{cmd:t,param:n}=o;y(e),K(t,n,!1)}}function Q(e){W(),n("click",e)}function q(e){if(null!==A.value){const{scrollTop:e,scrollHeight:t}=A.value;b=t-e}k.caret.save(),n("blur",e)}function M(e){(0,o.nextTick)((()=>{null!==A.value&&void 0!==b&&(A.value.scrollTop=A.value.scrollHeight-b)})),n("focus",e)}function I(e){if(!0===d.value.contains(e.target)&&(null===e.relatedTarget||!0!==d.value.contains(e.relatedTarget))){const e="inner"+(!0===f.value?"Text":"HTML");k.caret.restorePosition(A.value[e].length),W()}}function P(e){!0!==d.value.contains(e.target)||null!==e.relatedTarget&&!0===d.value.contains(e.relatedTarget)||(k.caret.savePosition(),W())}function D(){b=void 0}function H(e){k.caret.save(),n("mouseup",e)}function R(){b=void 0}function j(e){k.caret.save(),n("keyup",e)}function $(e){k.caret.save(),n("touchend",e)}
2function z(e,t){if(null!==A.value){!0===t&&k.caret.savePosition();const n="inner"+(!0===f.value?"Text":"HTML");A.value[n]=e,!0===t&&(k.caret.restorePosition(A.value[n].length),W())}}function K(e,t,n=!0){Y(),k.caret.restore(),k.caret.apply(e,t,(()=>{Y(),k.caret.save(),n&&W()}))}function W(){setTimeout((()=>{p.value=null,i.$forceUpdate()}),1)}function Y(){Ct((()=>{null!==A.value&&A.value.focus()}))}return Object.assign(i,{runCmd:K,refreshToolbar:W,focus:Y,getContentEl:function(){return A.value}}),(0,o.onMounted)((()=>{k.caret=new Li(A.value,k),z(e.modelValue),W()})),()=>{let t;if(x.value){const e=[(0,o.h)("div",{key:"qedt_top",class:"q-editor__toolbar row no-wrap scroll-x"+L.value},Ei(k))];null!==p.value&&e.push((0,o.h)("div",{key:"qedt_btm",class:"q-editor__toolbar row no-wrap items-center scroll-x"+L.value},function(e){if(e.caret){const t=e.props.toolbarColor||e.props.toolbarTextColor;let n=e.editLinkUrl.value;const r=()=>{e.caret.restore(),n!==e.editLinkUrl.value&&document.execCommand("createLink",!1,""===n?" ":n),e.editLinkUrl.value=null};return[(0,o.h)("div",{class:`q-mx-xs text-${t}`},`${e.$q.lang.editor.url}: `),(0,o.h)("input",{key:"qedt_btm_input",class:"col q-editor__link-input",value:n,onInput:e=>{v(e),n=e.target.value},onKeydown:t=>{if(!0!==U(t))switch(t.keyCode){case 13:return g(t),r();case 27:g(t),e.caret.restore(),e.editLinkUrl.value&&"https://"!==e.editLinkUrl.value||document.execCommand("unlink"),e.editLinkUrl.value=null}}}),xi([(0,o.h)(dt,{key:"qedt_btm_rem",tabindex:-1,...e.buttonProps.value,label:e.$q.lang.label.remove,noCaps:!0,onClick:()=>{e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl.value=null}}),(0,o.h)(dt,{key:"qedt_btm_upd",...e.buttonProps.value,label:e.$q.lang.label.update,noCaps:!0,onClick:r})])]}}(k))),t=(0,o.h)("div",{key:"toolbar_ctainer",class:"q-editor__toolbars-container"},e)}return(0,o.h)("div",{ref:d,class:T.value,style:{height:!0===s.value?"100vh":null},...F.value,onFocusin:I,onFocusout:P},[t,(0,o.h)("div",{ref:A,style:E.value,class:N.value,contenteditable:h.value,placeholder:e.placeholder,...c.listeners.value,onInput:V,onKeydown:O,onClick:Q,onBlur:q,onFocus:M,onMousedown:D,onTouchstartPassive:R,onMouseup:H,onKeyup:j,onTouchend:$})])}}}),Ii=(0,o.defineComponent)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=(0,o.computed)((()=>parseInt(e.lines,10))),r=(0,o.computed)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),i=(0,o.computed)((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>(0,o.h)("div",{style:i.value,class:r.value},ce(t.default))}}),Pi=(0,o.defineComponent)({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let r,i,a,l,s,u,c=!1;function d(){r&&r(),r=null,c=!1,clearTimeout(a),clearTimeout(l),void 0!==i&&i.removeEventListener("transitionend",s),s=null}function A(t,n,o){t.style.overflowY="hidden",void 0!==n&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,c=!0,r=o}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,d(),t!==u&&n(t)}function f(t,n){let o=0;i=t,!0===c?(d(),o=t.offsetHeight===t.scrollHeight?0:void 0):u="hide",A(t,o,n),a=setTimeout((()=>{t.style.height=`${t.scrollHeight}px`,s=e=>{Object(e)===e&&e.target!==t||p(t,"show")},t.addEventListener("transitionend",s),l=setTimeout(s,1.1*e.duration)}),100)}function h(t,n){let o;i=t,!0===c?d():(u="show",o=t.scrollHeight),A(t,o,n),a=setTimeout((()=>{t.style.height=0,s=e=>{Object(e)===e&&e.target!==t||p(t,"hide")},t.addEventListener("transitionend",s),l=setTimeout(s,1.1*e.duration)}),100)}return(0,o.onBeforeUnmount)((()=>{!0===c&&d()})),()=>(0,o.h)(o.Transition,{css:!1,appear:e.appear,onEnter:f,onLeave:h},t.default)}});const Di={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Hi={xs:2,sm:4,md:8,lg:16,xl:24};var Ri=(0,o.defineComponent)({name:"QSeparator",props:{...Te,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=(0,o.getCurrentInstance)(),n=Ne(e,t.proxy.$q),r=(0,o.computed)((()=>!0===e.vertical?"vertical":"horizontal")),i=(0,o.computed)((()=>` q-separator--${r.value}`)),a=(0,o.computed)((()=>!1!==e.inset?`${i.value}-${Di[e.inset]}`:"")),l=(0,o.computed)((()=>`q-separator${i.value}${a.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===n.value?" q-separator--dark":""))),s=(0,o.computed)((()=>{const t={};if(void 0!==e.size&&(t[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const n=!0===e.spaced?`${Hi.md}px`:e.spaced in Hi?`${Hi[e.spaced]}px`:e.spaced,o=!0===e.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${o[0]}`]=t[`margin${o[1]}`]=n}return t}));return()=>(0,o.h)("hr",{class:l.value,style:s.value,role:"separator","aria-orientation":r.value})}});let ji,$i=0;const zi=new Array(256);for(let e=0;e<256;e++)zi[e]=(e+256).toString(16).substr(1);const Ki=(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;
2n--)t.push(Math.floor(256*Math.random()));return t}})();function Wi(){(void 0===ji||$i+16>4096)&&($i=0,ji=Ki(4096));const e=Array.prototype.slice.call(ji,$i,$i+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,zi[e[0]]+zi[e[1]]+zi[e[2]]+zi[e[3]]+"-"+zi[e[4]]+zi[e[5]]+"-"+zi[e[6]]+zi[e[7]]+"-"+zi[e[8]]+zi[e[9]]+"-"+zi[e[10]]+zi[e[11]]+zi[e[12]]+zi[e[13]]+zi[e[14]]+zi[e[15]]}const Yi=(0,o.shallowReactive)({}),Gi=Object.keys(je);var Zi=(0,o.defineComponent)({name:"QExpansionItem",props:{...je,...vt,...Te,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...gt,"click","after-show","after-hide"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=Ne(e,r),a=(0,o.ref)(null!==e.modelValue?e.modelValue:e.defaultOpened),l=(0,o.ref)(null),{hide:s,toggle:u}=yt({showing:a});let c,d;const A=(0,o.computed)((()=>"q-expansion-item q-item-type q-expansion-item--"+(!0===a.value?"expanded":"collapsed")+" q-expansion-item--"+(!0===e.popup?"popup":"standard"))),p=(0,o.computed)((()=>{if(void 0===e.contentInsetLevel)return null;return{["padding"+(!0===r.lang.rtl?"Right":"Left")]:56*e.contentInsetLevel+"px"}})),f=(0,o.computed)((()=>!0!==e.disable&&void 0!==e.to&&null!==e.to&&""!==e.to)),h=(0,o.computed)((()=>{const t={};return Gi.forEach((n=>{t[n]=e[n]})),t})),m=(0,o.computed)((()=>!0===f.value||!0!==e.expandIconToggle)),v=(0,o.computed)((()=>void 0!==e.expandedIcon&&!0===a.value?e.expandedIcon:e.expandIcon||r.iconSet.expansionItem[!0===e.denseToggle?"denseIcon":"icon"])),g=(0,o.computed)((()=>!0!==e.disable&&(!0===f.value||!0===e.expandIconToggle)));function b(e){!0!==f.value&&u(e),n("click",e)}function w(e){13===e.keyCode&&L(e,!0)}function L(e,t){!0!==t&&null!==l.value&&l.value.focus(),u(e),y(e)}function C(){n("after-show")}function B(){n("after-hide")}function _(){void 0===c&&(c=Wi()),!0===a.value&&(Yi[e.group]=c);const t=(0,o.watch)(a,(t=>{!0===t?Yi[e.group]=c:Yi[e.group]===c&&delete Yi[e.group]})),n=(0,o.watch)((()=>Yi[e.group]),((e,t)=>{t===c&&void 0!==e&&e!==c&&s()}));d=()=>{t(),n(),Yi[e.group]===c&&delete Yi[e.group],d=void 0}}function k(){let n;return void 0!==t.header?n=t.header().slice():(n=[(0,o.h)(_i,(()=>[(0,o.h)(Ii,{lines:e.labelLines},(()=>e.label||"")),e.caption?(0,o.h)(Ii,{lines:e.captionLines,caption:!0},(()=>e.caption)):null]))],e.icon&&n[!0===e.switchToggleSide?"push":"unshift"]((0,o.h)(_i,{side:!0===e.switchToggleSide,avatar:!0!==e.switchToggleSide},(()=>(0,o.h)(ke,{name:e.icon}))))),!0!==e.disable&&n[!0===e.switchToggleSide?"unshift":"push"](function(){const t={class:["q-focusable relative-position cursor-pointer"+(!0===e.denseToggle&&!0===e.switchToggleSide?" items-end":""),e.expandIconClass],side:!0!==e.switchToggleSide,avatar:e.switchToggleSide},n=[(0,o.h)(ke,{class:"q-expansion-item__toggle-icon"+(void 0===e.expandedIcon&&!0===a.value?" q-expansion-item__toggle-icon--rotated":""),name:v.value})];return!0===g.value&&(Object.assign(t,{tabindex:0,onClick:L,onKeyup:w}),n.unshift((0,o.h)("div",{ref:l,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),(0,o.h)(_i,t,(()=>n))}()),n}function x(){const t={ref:"item",style:e.headerStyle,class:e.headerClass,dark:i.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return!0===m.value&&(t.clickable=!0,t.onClick=b,!0===f.value&&Object.assign(t,h.value)),(0,o.h)(Bi,t,k)}function S(){return(0,o.withDirectives)((0,o.h)("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:p.value},ce(t.default)),[[o.vShow,a.value]])}function E(){const t=[x(),(0,o.h)(Pi,{duration:e.duration,onShow:C,onHide:B},S)];return!0===e.expandSeparator&&t.push((0,o.h)(Ri,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:i.value}),(0,o.h)(Ri,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:i.value})),t}return(0,o.watch)((()=>e.group),(e=>{void 0!==d&&d(),void 0!==e&&_()})),void 0!==e.group&&_(),(0,o.onBeforeUnmount)((()=>{void 0!==d&&d()})),()=>(0,o.h)("div",{class:A.value},[(0,o.h)("div",{class:"q-expansion-item__container relative-position"},E())])}});const Ji=["top","right","bottom","left"],Xi={type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:e=>Ji.includes(e)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]};function ea(e,t){return{formClass:(0,o.computed)((()=>"q-fab--form-"+(!0===e.square?"square":"rounded"))),stacked:(0,o.computed)((()=>
2!1===e.externalLabel&&["top","bottom"].includes(e.labelPosition))),labelProps:(0,o.computed)((()=>{if(!0===e.externalLabel){const n=null===e.hideLabel?!1===t.value:e.hideLabel;return{action:"push",data:{class:[e.labelClass,`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${e.labelPosition}`+(!0===n?" q-fab__label--external-hidden":"")],style:e.labelStyle}}}return{action:["left","top"].includes(e.labelPosition)?"unshift":"push",data:{class:[e.labelClass,`q-fab__label q-fab__label--internal q-fab__label--internal-${e.labelPosition}`+(!0===e.hideLabel?" q-fab__label--internal-hidden":"")],style:e.labelStyle}}}))}}const ta=["up","right","down","left"],na=["left","center","right"];var oa=(0,o.defineComponent)({name:"QFab",props:{...Xi,...vt,icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:e=>ta.includes(e)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:e=>na.includes(e)}},emits:gt,setup(e,{slots:t}){const n=(0,o.ref)(null),r=(0,o.ref)(!0===e.modelValue),{proxy:{$q:i}}=(0,o.getCurrentInstance)(),{formClass:a,labelProps:l}=ea(e,r),s=(0,o.computed)((()=>!0!==e.persistent)),{hide:u,toggle:c}=yt({showing:r,hideOnRouteChange:s}),d=(0,o.computed)((()=>`q-fab z-fab row inline justify-center q-fab--align-${e.verticalActionsAlign} ${a.value}`+(!0===r.value?" q-fab--opened":""))),A=(0,o.computed)((()=>`q-fab__actions flex no-wrap inline q-fab__actions--${e.direction}`));function p(){const n=[];return!0!==e.hideIcon&&n.push((0,o.h)("div",{class:"q-fab__icon-holder"},[(0,o.h)(ke,{class:"q-fab__icon absolute-full",name:e.icon||i.iconSet.fab.icon}),(0,o.h)(ke,{class:"q-fab__active-icon absolute-full",name:e.activeIcon||i.iconSet.fab.activeIcon})])),""!==e.label&&n[l.value.action]((0,o.h)("div",l.value.data,[e.label])),Ae(t.tooltip,n)}return(0,o.provide)(R,{showing:r,onChildClick(e){u(e),null!==n.value&&n.value.$el.focus()}}),()=>(0,o.h)("div",{class:d.value},[(0,o.h)(dt,{ref:n,class:a.value,...e,noWrap:!0,stack:e.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0,"aria-expanded":!0===r.value?"true":"false","aria-haspopup":"true",onClick:c},p),(0,o.h)("div",{class:A.value},ce(t.default))])}});const ra={start:"self-end",center:"self-center",end:"self-start"},ia=Object.keys(ra);var aa=(0,o.defineComponent)({name:"QFabAction",props:{...Xi,icon:{type:String,default:""},anchor:{type:String,validator:e=>ia.includes(e)},to:[String,Object],replace:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const r=(0,o.inject)(R,(()=>({showing:{value:!0},onChildClick:p}))),{formClass:i,labelProps:a}=ea(e,r.showing),l=(0,o.computed)((()=>{const t=ra[e.anchor];return i.value+(void 0!==t?` ${t}`:"")})),s=(0,o.computed)((()=>!0===e.disable||!0!==r.showing.value));function u(e){r.onChildClick(e),n("click",e)}function c(){const n=[];return""!==e.icon&&n.push((0,o.h)(ke,{name:e.icon})),""!==e.label&&n[a.value.action]((0,o.h)("div",a.value.data,[e.label])),Ae(t.default,n)}const d=(0,o.getCurrentInstance)();return Object.assign(d.proxy,{click:u}),()=>(0,o.h)(dt,{class:l.value,...e,noWrap:!0,stack:e.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:s.value,onClick:u},c)}});const la=[!0,!1,"ondemand"],sa={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>la.includes(e)}};function ua(e,t){const{props:n,proxy:r}=(0,o.getCurrentInstance)(),i=(0,o.ref)(!1),a=(0,o.ref)(null),l=(0,o.ref)(null);!function({validate:e,resetValidation:t,requiresQForm:n}){const r=(0,o.inject)(j,!1);if(!1!==r){const{props:n,proxy:i}=(0,o.getCurrentInstance)();Object.assign(i,{validate:e,resetValidation:t}),(0,o.watch)((()=>n.disable),(e=>{!0===e?("function"==typeof t&&t(),r.unbindComponent(i)):r.bindComponent(i)})),!0!==n.disable&&r.bindComponent(i),(0,o.onBeforeUnmount)((()=>{!0!==n.disable&&r.unbindComponent(i)}))}else!0!==n&&console.error("Parent QForm not found on useFormChild()!")}({validate:f,resetValidation:p,requiresQForm:!0});let s,u=0;const c=(0,o.computed)((()=>void 0!==n.rules&&null!==n.rules&&n.rules.length>0)),d=(0,o.computed)((()=>!0===n.error||!0===i.value)),A=(0,o.computed)((()=>"string"==typeof n.errorMessage&&n.errorMessage.length>0?n.errorMessage:a.value));function p(){u++,t.value=!1,l.value=null,i.value=!1,a.value=null}function f(e=n.modelValue){if(!0!==c.value)return!0;u++,!0!==t.value&&!0!==n.lazyRules&&(l.value=!0);const o=(e,n)=>{i.value!==e&&(i.value=e);const o=n||void 0;a.value!==o&&(a.value=o),!1!==t.value&&(t.value=!1)},r=[];for(let t=0;t<n.rules.length;t++){const i=n.rules[t];let a;if("function"==typeof i?a=i(e):"string"==typeof i&&void 0!==Go[i]&&(a=Go[i](e)),!1===a||"string"==typeof a)return o(!0,a),!1;!0!==a&&void 0!==a&&r.push(a)}if(0===r.length)return o(!1),!0;!0!==t.value&&(t.value=!0);const s=u;return Promise.all(r).then((e=>{if(s!==u)return!0;
2if(void 0===e||!1===Array.isArray(e)||0===e.length)return o(!1),!0;const t=e.find((e=>!1===e||"string"==typeof e));return o(void 0!==t,t),void 0===t}),(e=>s!==u||(console.error(e),o(!0),!1)))}function h(e){!0===c.value&&"ondemand"!==n.lazyRules&&(!0===l.value||!0!==n.lazyRules&&!0!==e)&&f()}return(0,o.watch)((()=>n.modelValue),(()=>{h()})),(0,o.watch)((()=>n.reactiveRules),(e=>{!0===e?void 0===s&&(s=(0,o.watch)((()=>n.rules),(()=>{h(!0)}))):void 0!==s&&(s(),s=void 0)}),{immediate:!0}),(0,o.watch)(e,(e=>{"ondemand"!==n.lazyRules&&(!0===e?null===l.value&&(l.value=!1):!1===l.value&&!0===c.value&&(l.value=!0,f()))})),(0,o.onBeforeUnmount)((()=>{void 0!==s&&s()})),Object.assign(r,{resetValidation:p,validate:f}),Object.defineProperty(r,"hasError",{get:()=>d.value}),{isDirtyModel:l,hasRules:c,hasError:d,computedErrorMessage:A,validate:f,resetValidation:p}}function ca(e){return void 0===e?`f_${Wi()}`:e}function da(e){return null!=e&&(""+e).length>0}const Aa={...Te,...sa,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},pa=["update:modelValue","clear","focus","blur","popup-show","popup-hide"];function fa(){const{props:e,attrs:t,proxy:n}=(0,o.getCurrentInstance)();return{isDark:Ne(e,n.$q),editable:(0,o.computed)((()=>!0!==e.disable&&!0!==e.readonly)),innerLoading:(0,o.ref)(!1),focused:(0,o.ref)(!1),hasPopupOpen:(0,o.ref)(!1),splitAttrs:Ni(t),targetUid:(0,o.ref)(ca(e.for)),rootRef:(0,o.ref)(null),targetRef:(0,o.ref)(null),controlRef:(0,o.ref)(null)}}function ha(e){const{props:t,emit:n,slots:i,attrs:a,proxy:l}=(0,o.getCurrentInstance)(),{$q:s}=l;let u;void 0===e.hasValue&&(e.hasValue=(0,o.computed)((()=>da(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:S,onFocusout:E}),Object.assign(e,{clearValue:T,onControlFocusin:S,onControlFocusout:E,focus:x}),void 0===e.computedCounter&&(e.computedCounter=(0,o.computed)((()=>{if(!1!==t.counter){const e="string"==typeof t.modelValue||"number"==typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:c,hasRules:d,hasError:A,computedErrorMessage:p,resetValidation:f}=ua(e.focused,e.innerLoading),h=void 0!==e.floatingLabel?(0,o.computed)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,o.computed)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),m=(0,o.computed)((()=>!0===t.bottomSlots||void 0!==t.hint||!0===d.value||!0===t.counter||null!==t.error)),v=(0,o.computed)((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),b=(0,o.computed)((()=>`q-field row no-wrap items-start q-field--${v.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===h.value?" q-field--float":"")+(!0===L.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===A.value?" q-field--error":"")+(!0===A.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===m.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),w=(0,o.computed)((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===A.value?" text-negative":"string"==typeof t.standout&&t.standout.length>0&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),L=(0,o.computed)((()=>!0===t.labelSlot||void 0!==t.label)),C=(0,o.computed)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==A.value?` text-${t.labelColor}`:""))),B=(0,o.computed)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue}))),_=(0,o.computed)((()=>{const n={for:e.targetUid.value};return!0===t.disable?n["aria-disabled"]="true":!0===t.readonly&&(n["aria-readonly"]="true"),n}));let k;function x(){void 0!==k&&Bt(k),k=Ct((()=>{k=void 0;const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus())}))}function S(t){!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function E(t,o){clearTimeout(u),u=setTimeout((()=>{(!0!==document.hasFocus()||!0!==e.hasPopupOpen.value&&(void 0===e.controlRef||null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement)))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==o&&o())}))}function T(r){if(y(r),!0!==s.platform.is.mobile){(void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value).focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),(0,o.nextTick)((()=>{f(),"ondemand"!==t.lazyRules&&!0!==s.platform.is.mobile&&(c.value=!1)}))}function N(){const n=[];return void 0!==i.prepend&&n.push((0,o.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:g},i.prepend())),n.push((0,o.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},function(){const n=[];return void 0!==t.prefix&&null!==t.prefix&&n.push((0,o.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl()),void 0!==e.getControl?n.push(e.getControl()):void 0!==i.rawControl?n.push(i.rawControl()):void 0!==i.control&&n.push((0,o.h)("div",{ref:e.targetRef,class:"q-field__native row",...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},i.control(B.value))),!0===L.value&&n.push((0,o.h)("div",{class:C.value},ce(i.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push((0,o.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat(ce(i.default))}())),void 0!==i.append&&n.push((0,o.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:g},i.append())),!0===A.value&&!1===t.noErrorIcon&&n.push(V("error",[(0,o.h)(ke,{name:s.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(V("inner-loading-append",void 0!==i.loading?i.loading():[(0,o.h)(Ye,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(V("inner-clearable-append",[(0,o.h)(ke,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||s.iconSet.field.clear,tabindex:0,type:"button",onClick:T})])),void 0!==e.getInnerAppend&&n.push(V("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function F(){let n,r;!0===A.value?null!==p.value?(n=[(0,o.h)("div",p.value)],r=`q--slot-error-${p.value}`):(n=ce(i.error),r="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[(0,o.h)("div",t.hint)],r=`q--slot-hint-${t.hint}`):(n=ce(i.hint),r="q--slot-hint"));const a=!0===t.counter||void 0!==i.counter;if(!0===t.hideBottomSpace&&!1===a&&void 0===n)return;const l=(0,o.h)("div",{key:r,class:"q-field__messages col"},n);return(0,o.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale")},[!0===t.hideBottomSpace?l:(0,o.h)(o.Transition,{name:"q-transition--field-message"},(()=>l)),!0===a?(0,o.h)("div",{class:"q-field__counter"},void 0!==i.counter?i.counter():e.computedCounter.value):null])}function V(e,t){return null===t?null:(0,o.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}return(0,o.watch)((()=>t.for),(t=>{e.targetUid.value=ca(t)})),Object.assign(l,{focus:x,blur:function(){void 0!==k&&Bt(k);const t=document.activeElement;null!==t&&e.rootRef.value.contains(t)&&t.blur()}}),(0,o.onMounted)((()=>{!0===r.value&&void 0===t.for&&(e.targetUid.value=ca()),!0===t.autofocus&&l.focus()})),(0,o.onBeforeUnmount)((()=>{clearTimeout(u)})),function(){return(0,o.h)("label",{ref:e.rootRef,class:!0!==e.inheritAttrs?[b.value,a.class]:b.value,style:a.style,..._.value},[void 0!==i.before?(0,o.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:g},i.before()):null,(0,o.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,o.h)("div",{ref:e.controlRef,class:w.value,tabindex:-1,...e.controlEvents},N()),!0===m.value?F():null]),void 0!==i.after?(0,o.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:g},i.after()):null])}}var ma=(0,o.defineComponent)({name:"QField",inheritAttrs:!1,props:Aa,emits:pa,setup:()=>ha(fa())});function va(e,t,n,o){const r=[];return e.forEach((e=>{!0===o(e)?r.push(e):t.push({failedPropValidation:n,file:e})})),r}function ga(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),y(e)}const ya={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},ba=["rejected"];function wa({editable:e,dnd:t,getFileInput:n,addFilesToQueue:r}){const{props:i,emit:a,proxy:l}=(0,o.getCurrentInstance)(),s=(0,o.computed)((()=>void 0!==i.accept?i.accept.split(",").map((e=>"*"===(e=e.trim())?"*/":(e.endsWith("/*")&&(e=e.slice(0,e.length-1)),e.toUpperCase()))):null)),u=(0,o.computed)((()=>parseInt(i.maxFiles,10))),c=(0,o.computed)((()=>parseInt(i.maxTotalSize,10)));function d(t){if(e.value){const e=n();e&&e.click(t)}}function A(t){e.value&&t&&r(null,t)}function p(e){y(e),t.value=!1}function f(e){ga(e);const n=e.dataTransfer.files;n.length>0&&r(null,n),t.value=!1}return Object.assign(l,{pickFiles:d,addFiles:A}),{pickFiles:d,addFiles:A,onDragover:function(e){ga(e),!0!==t.value&&(t.value=!0)},processFiles:function(e,t,n,o){let r=Array.from(t||e.target.files);const l=[],d=()=>{l.length>0&&a("rejected",l)};if(void 0!==i.accept&&-1===s.value.indexOf("*/")&&(r=va(r,l,"accept",(e=>s.value.some((t=>e.type.toUpperCase().startsWith(t)||e.name.toUpperCase().endsWith(t))))),0===r.length))return d();if(void 0!==i.maxFileSize){const e=parseInt(i.maxFileSize,10);if(r=va(r,l,"max-file-size",(t=>t.size<=e)),0===r.length)return d()}if(!0!==i.multiple&&(r=[r[0]]),void 0!==i.maxTotalSize){let e=!0===o?n.reduce(((e,t)=>e+t.size),0):0;if(r=va(r,l,"max-total-size",(t=>(e+=t.size,e<=c.value))),0===r.length)return d()}if("function"==typeof i.filter){const e=i.filter(r);r=va(r,l,"filter",(t=>e.includes(t)))}if(void 0!==i.maxFiles){let e=!0===o?n.length:0;if(r=va(r,l,"max-files",(()=>(e++,e<=u.value))),0===r.length)return d()}return d(),r.length>0?r:void 0},getDndNode:function(e){if(!0===t.value)return(0,o.h)("div",{class:`q-${e}__dnd absolute-full`,onDragenter:ga,onDragover:ga,onDragleave:p,onDrop:f})},maxFilesNumber:u,maxTotalSizeNumber:c}}function La(e,t){function n(){const t=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;
2return Object(t)===t&&("length"in t?Array.from(t):[t]).forEach((t=>{e.items.add(t)})),{files:e.files}}catch(e){return{files:void 0}}}return(0,o.computed)(!0===t?()=>{if("file"===e.type)return n()}:n)}var Ca=(0,o.defineComponent)({name:"QFile",props:{...Aa,...kn,...ya,modelValue:[File,FileList,Array],append:Boolean,useChips:Boolean,displayValue:[String,Number],tabindex:{type:[String,Number],default:0},counterLabel:Function,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...pa,...ba],setup(e,{slots:t,emit:n,attrs:r}){const{proxy:i}=(0,o.getCurrentInstance)(),a=fa(),l=(0,o.ref)(null),s=(0,o.ref)(!1),u=En(e),{pickFiles:c,onDragover:d,processFiles:A,getDndNode:p}=wa({editable:a.editable,dnd:s,getFileInput:function(){return l.value},addFilesToQueue:_}),f=La(e),h=(0,o.computed)((()=>Object(e.modelValue)===e.modelValue?"length"in e.modelValue?Array.from(e.modelValue):[e.modelValue]:[])),m=(0,o.computed)((()=>da(h.value))),v=(0,o.computed)((()=>h.value.map((e=>e.name)).join(", "))),g=(0,o.computed)((()=>G(h.value.reduce(((e,t)=>e+t.size),0)))),y=(0,o.computed)((()=>({totalSize:g.value,filesNumber:h.value.length,maxFiles:e.maxFiles}))),b=(0,o.computed)((()=>({tabindex:-1,type:"file",title:"",accept:e.accept,capture:e.capture,name:u.value,...r,id:a.targetUid.value,disabled:!0!==a.editable.value}))),w=(0,o.computed)((()=>!0===e.multiple&&!0===e.append));function L(e){const t=h.value.slice();t.splice(e,1),C(t)}function C(t){n("update:modelValue",!0===e.multiple?t:t[0])}function B(e){13===e.keyCode&&c(e)}function _(t,n){const o=A(t,n,h.value,w.value);void 0!==o&&((!0===e.multiple?e.modelValue&&o.every((e=>h.value.includes(e))):e.modelValue===o[0])||C(!0===w.value?h.value.concat(o):o))}function k(){return[(0,o.h)("input",{class:[e.inputClass,"q-file__filler"],style:e.inputStyle,tabindex:-1})]}function x(){if(void 0!==t.file)return 0===h.value.length?k():h.value.map(((e,n)=>t.file({index:n,file:e,ref:this})));if(void 0!==t.selected)return 0===h.value.length?k():t.selected({files:h.value,ref:this});if(!0===e.useChips)return 0===h.value.length?k():h.value.map(((t,n)=>(0,o.h)(mo,{key:"file-"+n,removable:a.editable.value,dense:!0,textColor:e.color,tabindex:e.tabindex,onRemove:()=>{L(n)}},(()=>(0,o.h)("span",{class:"ellipsis",textContent:t.name})))));const n=void 0!==e.displayValue?e.displayValue:v.value;return n.length>0?[(0,o.h)("div",{class:e.inputClass,style:e.inputStyle,textContent:n})]:k()}function S(){const t={ref:l,...b.value,...f.value,class:"q-field__input fit absolute-full cursor-pointer",onChange:_};return!0===e.multiple&&(t.multiple=!0),(0,o.h)("input",t)}return Object.assign(a,{inheritAttrs:!0,fieldClass:{value:"q-file q-field--auto-height"},emitValue:C,hasValue:m,inputRef:l,innerValue:h,floatingLabel:(0,o.computed)((()=>!0===m.value||da(e.displayValue))),computedCounter:(0,o.computed)((()=>{if(void 0!==e.counterLabel)return e.counterLabel(y.value);const t=e.maxFiles;return`${h.value.length}${void 0!==t?" / "+t:""} (${g.value})`})),getControlChild:()=>p("file"),getControl:()=>{const t={ref:a.targetRef,class:"q-field__native row items-center cursor-pointer",tabindex:e.tabindex};return!0===a.editable.value&&Object.assign(t,{onDragover:d,onKeyup:B}),(0,o.h)("div",t,[S()].concat(x()))}}),Object.assign(i,{removeAtIndex:L,removeFile:function(e){const t=h.value.findIndex(e);t>-1&&L(t)},getNativeElement:()=>l.value}),ha(a)}}),Ba=(0,o.defineComponent)({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:i}}=(0,o.getCurrentInstance)(),a=(0,o.inject)(D,(()=>{console.error("QFooter needs to be child of QLayout")})),l=(0,o.ref)(parseInt(e.heightHint,10)),s=(0,o.ref)(!0),u=(0,o.ref)(!0===r.value||!0===a.isContainer.value?0:window.innerHeight),c=(0,o.computed)((()=>!0===e.reveal||a.view.value.indexOf("F")>-1||!0===a.isContainer.value)),d=(0,o.computed)((()=>!0===a.isContainer.value?a.containerHeight.value:u.value)),A=(0,o.computed)((()=>{if(!0!==e.modelValue)return 0;if(!0===c.value)return!0===s.value?l.value:0;const t=a.scroll.value.position+d.value+l.value-a.height.value;return t>0?t:0})),p=(0,o.computed)((()=>!0!==e.modelValue||!0===c.value&&!0!==s.value)),f=(0,o.computed)((()=>!0===e.modelValue&&!0===p.value&&!0===e.reveal)),h=(0,o.computed)((()=>"q-footer q-layout__section--marginal "+(!0===c.value?"fixed":"absolute")+"-bottom"+(!0===e.bordered?" q-footer--bordered":"")+(!0===p.value?" q-footer--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus"+(!0!==c.value?" hidden":""):""))),m=(0,o.computed)((()=>{const e=a.rows.value.bottom,t={};return"l"===e[0]&&!0===a.left.space&&(t[!0===i.lang.rtl?"right":"left"]=`${a.left.size}px`),"r"===e[2]&&!0===a.right.space&&(t[!0===i.lang.rtl?"left":"right"]=`${a.right.size}px`),t}));function v(e,t){a.update("footer",e,t)}function g(e,t){e.value!==t&&(e.value=t)}function y({height:e}){g(l,e),v("size",e)}function b(e){!0===f.value&&g(s,!0),n("focusin",e)}(0,o.watch)((()=>e.modelValue),(e=>{v("space",e),g(s,!0),a.animate()})),(0,o.watch)(A,(e=>{v("offset",e)})),(0,o.watch)((()=>e.reveal),(t=>{!1===t&&g(s,e.modelValue)})),(0,o.watch)(s,(e=>{a.animate(),n("reveal",e)})),(0,o.watch)([l,a.scroll,a.height],(function(){if(!0!==e.reveal)return;const{direction:t,position:n,inflectionPoint:o}=a.scroll.value;g(s,"up"===t||n-o<100||a.height.value-d.value-n-l.value<300)})),(0,o.watch)((()=>i.screen.height),(e=>{!0!==a.isContainer.value&&g(u,e)}
2));const w={};return a.instances.footer=w,!0===e.modelValue&&v("size",l.value),v("space",e.modelValue),v("offset",A.value),(0,o.onBeforeUnmount)((()=>{a.instances.footer===w&&(a.instances.footer=void 0,v("size",0),v("offset",0),v("space",!1))})),()=>{const n=Ae(t.default,[(0,o.h)(Oo,{debounce:0,onResize:y})]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),(0,o.h)("footer",{class:h.value,style:m.value,onFocusin:b},n)}}}),_a=(0,o.defineComponent)({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validation-success","validation-error"],setup(e,{slots:t,emit:n}){const r=(0,o.getCurrentInstance)(),i=(0,o.ref)(null);let a=0;const l=[];function s(t){const o=[],r="boolean"==typeof t?t:!0!==e.noErrorFocus;a++;const i=(e,t)=>{n("validation-"+(!0===e?"success":"error"),t)};for(let t=0;t<l.length;t++){const n=l[t],a=n.validate();if("function"==typeof a.then)o.push(a.then((e=>({valid:e,comp:n})),(e=>({valid:!1,comp:n,error:e}))));else if(!0!==a){if(!1===e.greedy)return i(!1,n),!0===r&&"function"==typeof n.focus&&n.focus(),Promise.resolve(!1);o.push({valid:!1,comp:n})}}if(0===o.length)return i(!0),Promise.resolve(!0);const s=a;return Promise.all(o).then((e=>{if(s===a){const t=e.filter((e=>!0!==e.valid));if(0===t.length)return i(!0),!0;const{valid:n,comp:o}=t[0];return i(!1,o),!0===r&&!0!==n&&"function"==typeof o.focus&&o.focus(),!1}}))}function u(){a++,l.forEach((e=>{"function"==typeof e.resetValidation&&e.resetValidation()}))}function c(t){void 0!==t&&y(t),s().then((o=>{!0===o&&(void 0!==e.onSubmit?n("submit",t):void 0!==t&&void 0!==t.target&&"function"==typeof t.target.submit&&t.target.submit())}))}function d(t){void 0!==t&&y(t),n("reset"),(0,o.nextTick)((()=>{u(),!0===e.autofocus&&!0!==e.noResetFocus&&A()}))}function A(){Ct((()=>{if(null===i.value)return;const e=i.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(i.value.querySelectorAll("[tabindex]"),(e=>e.tabIndex>-1));null!=e&&e.focus()}))}return(0,o.provide)(j,{bindComponent(e){l.push(e)},unbindComponent(e){const t=l.indexOf(e);t>-1&&l.splice(t,1)}}),(0,o.onMounted)((()=>{!0===e.autofocus&&A()})),Object.assign(r.proxy,{validate:s,resetValidation:u,submit:c,reset:d,focus:A,getValidationComponents:()=>l}),()=>(0,o.h)("form",{class:"q-form",ref:i,onSubmit:c,onReset:d},ce(t.default))}}),ka={inject:{[j]:{default:p}},watch:{disable(e){const t=this.$.provides._q_fo_;void 0!==t&&(!0===e?(this.resetValidation(),t.unbindComponent(this)):t.bindComponent(this))}},methods:{validate(){},resetValidation(){}},created(){const e=this.$.provides._q_fo_;void 0!==e&&!0!==this.disable&&e.bindComponent(this)},beforeUnmount(){const e=this.$.provides._q_fo_;void 0!==e&&!0!==this.disable&&e.unbindComponent(this)}},xa=(0,o.defineComponent)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=(0,o.inject)(D,(()=>{console.error("QHeader needs to be child of QLayout")})),a=(0,o.ref)(parseInt(e.heightHint,10)),l=(0,o.ref)(!0),s=(0,o.computed)((()=>!0===e.reveal||i.view.value.indexOf("H")>-1||!0===i.isContainer.value)),u=(0,o.computed)((()=>{if(!0!==e.modelValue)return 0;if(!0===s.value)return!0===l.value?a.value:0;const t=a.value-i.scroll.value.position;return t>0?t:0})),c=(0,o.computed)((()=>!0!==e.modelValue||!0===s.value&&!0!==l.value)),d=(0,o.computed)((()=>!0===e.modelValue&&!0===c.value&&!0===e.reveal)),A=(0,o.computed)((()=>"q-header q-layout__section--marginal "+(!0===s.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===c.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),p=(0,o.computed)((()=>{const e=i.rows.value.top,t={};return"l"===e[0]&&!0===i.left.space&&(t[!0===r.lang.rtl?"right":"left"]=`${i.left.size}px`),"r"===e[2]&&!0===i.right.space&&(t[!0===r.lang.rtl?"left":"right"]=`${i.right.size}px`),t}));function f(e,t){i.update("header",e,t)}function h(e,t){e.value!==t&&(e.value=t)}function m({height:e}){h(a,e),f("size",e)}function v(e){!0===d.value&&h(l,!0),n("focusin",e)}(0,o.watch)((()=>e.modelValue),(e=>{f("space",e),h(l,!0),i.animate()})),(0,o.watch)(u,(e=>{f("offset",e)})),(0,o.watch)((()=>e.reveal),(t=>{!1===t&&h(l,e.modelValue)})),(0,o.watch)(l,(e=>{i.animate(),n("reveal",e)})),(0,o.watch)(i.scroll,(t=>{!0===e.reveal&&h(l,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const g={};return i.instances.header=g,!0===e.modelValue&&f("size",a.value),f("space",e.modelValue),f("offset",u.value),(0,o.onBeforeUnmount)((()=>{i.instances.header===g&&(i.instances.header=void 0,f("size",0),f("offset",0),f("space",!1))})),()=>{const n=de(t.default,[]);return!0===e.elevated&&n.push((0,o.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,o.h)(Oo,{debounce:0,onResize:m})),(0,o.h)("header",{class:A.value,style:p.value,onFocusin:v},n)}}});const Sa={ratio:[String,Number]};function Ea(e,t){return(0,o.computed)((()=>{const n=Number(e.ratio||(void 0!==t?t.value:void 0));return!0!==isNaN(n)&&n>0?{paddingBottom:100/n+"%"}:null}))}const Ta=["anonymous","use-credentials"],Na=["eager","lazy"],Fa=["cover","fill","contain","none","scale-down"];var Va=(0,o.defineComponent)({name:"QImg",props:{...Sa,src:String,srcset:String,sizes:String,alt:String,crossorigin:{type:String,validator:e=>Ta.includes(e)},draggable:Boolean,loading:{type:String,default:"lazy",validator:e=>Na.includes(e)},width:String,height:String,initialRatio:{type:[Number,String],default:16/9},placeholderSrc:String,fit:{type:String,default:"cover",validator:e=>Fa.includes(e)},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(e,{slots:t,attrs:n,emit:r}){const i=(0,o.ref)(e.initialRatio),a=Ea(e,i);let l;const s=[(0,o.ref)(null),(0,o.ref)(void 0!==e.placeholderSrc?{src:e.placeholderSrc}:null)],u=(0,o.ref)(0),c=(0,o.ref)(!1),d=(0,o.ref)(!1),A=(0,o.computed)((()=>`q-img q-img--${!0===e.noNativeMenu?"no-":""}menu`)),p=(0,o.computed)((()=>({width:e.width,height:e.height}))),f=(0,o.computed)((()=>"q-img__image "+(void 0!==e.imgClass?e.imgClass+" ":"")+`q-img__image--with${!0===e.noTransition?"out":""}-transition`)),h=(0,o.computed)((()=>({...e.imgStyle,objectFit:e.fit,objectPosition:e.position})));function m(){return e.src||e.srcset||e.sizes?{src:e.src,srcset:e.srcset,sizes:e.sizes}:null}function v(e){if(clearTimeout(l),d.value=!1,null===e)return c.value=!1,s[0].value=null,void(s[1].value=null);c.value=!0,s[u.value].value=e}function g({target:e}){null!==l&&(clearTimeout(l),i.value=0===e.naturalHeight?.5:e.naturalWi
2dth/e.naturalHeight,y(e,1))}function y(e,t){null!==l&&1e3!==t&&(!0===e.complete?function(e){null!==l&&(u.value=1===u.value?0:1,s[u.value].value=null,c.value=!1,d.value=!1,r("load",e.currentSrc||e.src))}(e):l=setTimeout((()=>{y(e,t+1)}),50))}function b(e){clearTimeout(l),c.value=!1,d.value=!0,s[0].value=null,s[1].value=null,r("error",e)}function w(t){const r=s[t].value,i={key:"img_"+t,...n,class:f.value,style:h.value,crossorigin:e.crossorigin,height:e.height,width:e.width,loading:e.loading,"aria-hidden":"true",draggable:e.draggable,...r};return u.value===t?(i.class+=" q-img__image--waiting",Object.assign(i,{onLoad:g,onError:b})):i.class+=" q-img__image--loaded",function(e,t){return(0,o.h)("div",{class:"q-img__container absolute-full",key:e},t)}("img"+t,(0,o.h)("img",i))}function L(){return!0!==c.value?(0,o.h)("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},ce(t[!0===d.value?"error":"default"])):(0,o.h)("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},void 0!==t.loading?t.loading():!0===e.noSpinner?void 0:[(0,o.h)(Ye,{color:e.spinnerColor,size:e.spinnerSize})])}return(0,o.watch)((()=>m()),v),v(m()),(0,o.onBeforeUnmount)((()=>{clearTimeout(l),l=null})),()=>{const t=[];return null!==a.value&&t.push((0,o.h)("div",{key:"filler",style:a.value})),!0!==d.value&&(null!==s[0].value&&t.push(w(0)),null!==s[1].value&&t.push(w(1))),t.push((0,o.h)(o.Transition,{name:"q-transition--fade"},L)),(0,o.h)("div",{class:A.value,style:p.value,role:"img","aria-label":e.alt},t)}}}),Oa=(0,o.defineComponent)({name:"QInfiniteScroll",props:{offset:{type:Number,default:500},debounce:{type:[String,Number],default:100},scrollTarget:{default:void 0},initialIndex:Number,disable:Boolean,reverse:Boolean},emits:["load"],setup(e,{slots:t,emit:n}){const r=(0,o.ref)(!1),i=(0,o.ref)(null);let a,l,s=e.initialIndex||0,u=!0;const c=(0,o.computed)((()=>"q-infinite-scroll__loading"+(!0===r.value?"":" invisible")));function d(){if(!0===e.disable||!0===r.value||!1===u)return;const t=It(a),n=Pt(a),o=Ze(a);!1===e.reverse?n+o+e.offset>=t&&p():n<e.offset&&p()}function p(){if(!0===e.disable||!0===r.value||!1===u)return;s++,r.value=!0;const t=It(a);n("load",s,(n=>{!0===u&&(r.value=!1,(0,o.nextTick)((()=>{if(!0===e.reverse){const e=It(a),n=Pt(a);zt(a,n+(e-t))}!0===n?h():i.value&&i.value.closest("body")&&l()})))}))}function f(){!1===u&&(u=!0,a.addEventListener("scroll",l,A.passive)),d()}function h(){!0===u&&(u=!1,r.value=!1,a.removeEventListener("scroll",l,A.passive))}function m(){a&&!0===u&&a.removeEventListener("scroll",l,A.passive),a=Mt(i.value,e.scrollTarget),!0===u&&a.addEventListener("scroll",l,A.passive)}const v=(0,o.getCurrentInstance)();function g(e){e=parseInt(e,10);const t=l;l=e<=0?d:C(d,!0===isNaN(e)?100:e),a&&!0===u&&(void 0!==t&&a.removeEventListener("scroll",t,A.passive),a.addEventListener("scroll",l,A.passive))}return Object.assign(v.proxy,{poll:()=>l.apply(null,arguments),trigger:p,stop:h,reset:function(){s=0},resume:f,setIndex:function(e){s=e}}),(0,o.watch)((()=>e.disable),(e=>{!0===e?h():f()})),(0,o.watch)((()=>e.scrollTarget),m),(0,o.watch)((()=>e.debounce),g),(0,o.onBeforeUnmount)((()=>{!0===u&&a.removeEventListener("scroll",l,A.passive)})),(0,o.onMounted)((()=>{if(g(e.debounce),m(),!0===e.reverse){const e=It(a),t=Ze(a);zt(a,e-t)}d()})),()=>{const n=de(t.default,[]);return!0!==e.disable&&!0===u&&n[!1===e.reverse?"push":"unshift"]((0,o.h)("div",{class:c.value},ce(t.loading))),(0,o.h)("div",{class:"q-infinite-scroll",ref:i},n)}}}),Ua=(0,o.defineComponent)({name:"QInnerLoading",props:{...Te,...Vt,showing:Boolean,color:String,size:{type:[String,Number],default:42}},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),{transition:i,transitionStyle:a}=Ot(e,(0,o.computed)((()=>e.showing))),l=(0,o.computed)((()=>"q-inner-loading absolute-full column flex-center"+(!0===r.value?" q-inner-loading--dark":"")));function s(){return!0===e.showing?(0,o.h)("div",{class:l.value,style:a.value},void 0!==t.default?t.default():[(0,o.h)(Ye,{size:e.size,color:e.color})]):null}return()=>(0,o.h)(o.Transition,{name:i.value,appear:!0},s)}});const Qa={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},qa={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Ma=Object.keys(qa);
2Ma.forEach((e=>{qa[e].regex=new RegExp(qa[e].pattern)}));const Ia=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Ma.join("")+"])|(.)","g"),Pa=/[.*+?^${}()|[\]\\]/g,Da=String.fromCharCode(1),Ha={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};const Ra=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,ja=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,$a=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/;function za(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.composing)return;t.target.composing=!1,e(t)}else"compositionupdate"===t.type?"string"==typeof t.data&&!1===Ra.test(t.data)&&!1===ja.test(t.data)&&!1===$a.test(t.data)&&(t.target.composing=!1):t.target.composing=!0}}var Ka=(0,o.defineComponent)({name:"QInput",inheritAttrs:!1,props:{...Aa,...Ha,...kn,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...pa,"paste","change"],setup(e,{emit:t,attrs:n}){const r={};let i,a,l,s,u=NaN;const c=(0,o.ref)(null),d=En(e),{innerValue:A,hasMask:p,moveCursorForPaste:f,updateMaskValue:h,onMaskedKeydown:m}=function(e,t,n,r){let i,a,l,s;const u=(0,o.ref)(null),c=(0,o.ref)(function(){if(A(),!0===u.value){const t=h(v(e.modelValue));return!1!==e.fillMask?g(t):t}return e.modelValue}());function d(e){if(e<i.length)return i.slice(-e);let t="",n=i;const o=n.indexOf(Da);if(o>-1){for(let o=e-n.length;o>0;o--)t+=Da;n=n.slice(0,o)+t+n.slice(o)}return n}function A(){if(u.value=void 0!==e.mask&&e.mask.length>0&&["text","search","url","tel","password"].includes(e.type),!1===u.value)return s=void 0,i="",void(a="");const t=void 0===Qa[e.mask]?e.mask:Qa[e.mask],n="string"==typeof e.fillMask&&e.fillMask.length>0?e.fillMask.slice(0,1):"_",o=n.replace(Pa,"\\$&"),r=[],c=[],d=[];let A=!0===e.reverseFillMask,p="",f="";t.replace(Ia,((e,t,n,o,i)=>{if(void 0!==o){const e=qa[o];d.push(e),f=e.negate,!0===A&&(c.push("(?:"+f+"+)?("+e.pattern+"+)?(?:"+f+"+)?("+e.pattern+"+)?"),A=!1),c.push("(?:"+f+"+)?("+e.pattern+")?")}else if(void 0!==n)p="\\"+("\\"===n?"":n),d.push(n),r.push("([^"+p+"]+)?"+p+"?");else{const e=void 0!==t?t:i;p="\\"===e?"\\\\\\\\":e.replace(Pa,"\\\\$&"),d.push(e),r.push("([^"+p+"]+)?"+p+"?")}}));const h=new RegExp("^"+r.join("")+"("+(""===p?".":"[^"+p+"]")+"+)?$"),m=c.length-1,v=c.map(((t,n)=>0===n&&!0===e.reverseFillMask?new RegExp("^"+o+"*"+t):n===m?new RegExp("^"+t+"("+(""===f?".":f)+"+)?"+(!0===e.reverseFillMask?"$":o+"*")):new RegExp("^"+t)));l=d,s=e=>{const t=h.exec(e);null!==t&&(e=t.slice(1).join(""));const n=[],o=v.length;for(let t=0,r=e;t<o;t++){const e=v[t].exec(r);if(null===e)break;r=r.slice(e.shift().length),n.push(...e)}return n.length>0?n.join(""):e},i=d.map((e=>"string"==typeof e?e:Da)).join(""),a=i.split(Da).join(n)}function p(t,l,s){const u=r.value,d=u.selectionEnd,p=u.value.length-d,m=v(t);!0===l&&A();const y=h(m),b=!1!==e.fillMask?g(y):y,w=c.value!==b;u.value!==b&&(u.value=b),!0===w&&(c.value=b),document.activeElement===u&&(0,o.nextTick)((()=>{if(b!==a)if("insertFromPaste"!==s||!0===e.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(s)>-1){const t=!0===e.reverseFillMask?0===d?b.length>y.length?1:0:Math.max(0,b.length-(b===a?0:Math.min(y.length,p)+1))+1:d;u.setSelectionRange(t,t,"forward")}else if(!0===e.reverseFillMask)if(!0===w){const e=Math.max(0,b.length-(b===a?0:Math.min(y.length,p+1)));1===e&&1===d?u.setSelectionRange(e,e,"forward"):f.rightReverse(u,e,e)}else{const e=b.length-p;u.setSelectionRange(e,e,"backward")}else if(!0===w){const e=Math.max(0,i.indexOf(Da),Math.min(y.length,d)-1);f.right(u,e,e)}else{const e=d-1;f.right(u,e,e)}else{const e=d-1;f.right(u,e,e)}else{const t=!0===e.reverseFillMask?a.length:0;u.setSelectionRange(t,t,"forward")}}));const L=!0===e.unmaskedValue?v(b):b;e.modelValue!==L&&n(L,!0)}(0,o.watch)((()=>e.type),A),(0,o.watch)((()=>e.mask),(n=>{if(void 0!==n)p(c.value,!0);else{const n=v(c.value);A(),e.modelValue!==n&&t("update:modelValue",n)}})),(0,o.watch)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===u.value&&p(c.value,!0)})),(0,o.watch)((()=>e.unmaskedValue),(()=>{!0===u.value&&p(c.value)}));const f={left(e,t,n,o){const r=-1===i.slice(t-1).indexOf(Da);let a=Math.max(0,t-1);for(;a>=0;a--)if(i[a]===Da){t=a,!0===r&&t++;break}if(a<0&&void 0!==i[t]&&i[t]!==Da)return f.right(e,0,0);t>=0&&e.setSelectionRange(t,!0===o?n:t,"backward")},right(e,t,n,o){const r=e.value.length;let a=Math.min(r,n+1);for(;a<=r;a++){if(i[a]===Da){n=a;break}i[a-1]===Da&&(n=a)}if(a>r&&void 0!==i[n-1]&&i[n-1]!==Da)return f.left(e,r,r);e.setSelectionRange(o?t:n,n,"forward")},leftReverse(e,t,n,o){const r=d(e.value.length);let i=Math.max(0,t-1);for(;i>=0;i--){if(r[i-1]===Da){t=i;break}if(r[i]===Da&&(t=i,0===i))break}
2if(i<0&&void 0!==r[t]&&r[t]!==Da)return f.rightReverse(e,0,0);t>=0&&e.setSelectionRange(t,!0===o?n:t,"backward")},rightReverse(e,t,n,o){const r=e.value.length,i=d(r),a=-1===i.slice(0,n+1).indexOf(Da);let l=Math.min(r,n+1);for(;l<=r;l++)if(i[l-1]===Da){(n=l)>0&&!0===a&&n--;break}if(l>r&&void 0!==i[n-1]&&i[n-1]!==Da)return f.leftReverse(e,r,r);e.setSelectionRange(!0===o?t:n,n,"forward")}};function h(t){if(null==t||""===t)return"";if(!0===e.reverseFillMask)return m(t);const n=l;let o=0,r="";for(let e=0;e<n.length;e++){const i=t[o],a=n[e];if("string"==typeof a)r+=a,i===a&&o++;else{if(void 0===i||!a.regex.test(i))return r;r+=void 0!==a.transform?a.transform(i):i,o++}}return r}function m(e){const t=l,n=i.indexOf(Da);let o=e.length-1,r="";for(let i=t.length-1;i>=0&&o>-1;i--){const a=t[i];let l=e[o];if("string"==typeof a)r=a+r,l===a&&o--;else{if(void 0===l||!a.regex.test(l))return r;do{r=(void 0!==a.transform?a.transform(l):l)+r,o--,l=e[o]}while(n===i&&void 0!==l&&a.regex.test(l))}}return r}function v(e){return"string"!=typeof e||void 0===s?"number"==typeof e?s(""+e):e:s(e)}function g(t){return a.length-t.length<=0?t:!0===e.reverseFillMask&&t.length>0?a.slice(0,-t.length)+t:t+a.slice(t.length)}return{innerValue:c,hasMask:u,moveCursorForPaste:function(e,t,n){const o=h(v(e.value));t=Math.max(0,i.indexOf(Da),Math.min(o.length,t)),e.setSelectionRange(t,n,"forward")},updateMaskValue:p,onMaskedKeydown:function(t){if(!0===U(t))return;const n=r.value,o=n.selectionStart,i=n.selectionEnd;if(37===t.keyCode||39===t.keyCode){const r=f[(39===t.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];t.preventDefault(),r(n,o,i,t.shiftKey)}else 8===t.keyCode&&!0!==e.reverseFillMask&&o===i?f.left(n,o,i,!0):46===t.keyCode&&!0===e.reverseFillMask&&o===i&&f.rightReverse(n,o,i,!0)}}}(e,t,x,c),g=La(e,!0),y=(0,o.computed)((()=>da(A.value))),b=za(k),w=fa(),L=(0,o.computed)((()=>"textarea"===e.type||!0===e.autogrow)),C=(0,o.computed)((()=>{const t={...w.splitAttrs.listeners.value,onInput:k,onPaste:_,onChange:E,onBlur:T,onFocus:v};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=b,!0===p.value&&(t.onKeydown=m),!0===e.autogrow&&(t.onAnimationend=S),t})),B=(0,o.computed)((()=>{const t={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:d.value,...w.splitAttrs.attributes.value,id:w.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===L.value&&(t.type=e.type),!0===e.autogrow&&(t.rows=1),t}));function _(n){if(!0===p.value&&!0!==e.reverseFillMask){const e=n.target;f(e,e.selectionStart,e.selectionEnd)}t("paste",n)}function k(n){if(!n||!n.target||!0===n.target.composing)return;if("file"===e.type)return void t("update:modelValue",n.target.files);const r=n.target.value;if(!0===p.value)h(r,!1,n.inputType);else if(x(r),["text","search","url","tel","password"].includes(e.type)&&n.target===document.activeElement){const{selectionStart:e,selectionEnd:t}=n.target;void 0!==e&&void 0!==t&&(0,o.nextTick)((()=>{n.target===document.activeElement&&0===r.indexOf(n.target.value)&&n.target.setSelectionRange(e,t)}))}!0===e.autogrow&&S()}function x(n,c){s=()=>{"number"!==e.type&&!0===r.hasOwnProperty("value")&&delete r.value,e.modelValue!==n&&u!==n&&(!0===c&&(a=!0),t("update:modelValue",n),(0,o.nextTick)((()=>{u===n&&(u=NaN)}))),s=void 0},"number"===e.type&&(i=!0,r.value=n),void 0!==e.debounce?(clearTimeout(l),r.value=n,l=setTimeout(s,e.debounce)):s()}function S(){const e=c.value;if(null!==e){const t=e.parentNode.style;t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",t.marginBottom=""}}function E(e){b(e),clearTimeout(l),void 0!==s&&s(),t("change",e.target.value)}function T(t){void 0!==t&&v(t),clearTimeout(l),void 0!==s&&s(),i=!1,a=!1,delete r.value,"file"!==e.type&&setTimeout((()=>{null!==c.value&&(c.value.value=void 0!==A.value?A.value:"")}))}function N(){return!0===r.hasOwnProperty("value")?r.value:void 0!==A.value?A.value:""}(0,o.watch)((()=>e.modelValue),(t=>{if(!0===p.value){if(!0===a)return void(a=!1);h(t)}else A.value!==t&&(A.value=t,"number"===e.type&&!0===r.hasOwnProperty("value")&&(!0===i?i=!1:delete r.value));!0===e.autogrow&&(0,o.nextTick)(S)})),(0,o.watch)((()=>e.autogrow),(e=>
2{!0===e?(0,o.nextTick)(S):null!==c.value&&n.rows>0&&(c.value.style.height="auto")})),(0,o.watch)((()=>e.dense),(()=>{!0===e.autogrow&&(0,o.nextTick)(S)})),(0,o.onBeforeUnmount)((()=>{T()})),(0,o.onMounted)((()=>{!0===e.autogrow&&S()})),Object.assign(w,{innerValue:A,fieldClass:(0,o.computed)((()=>"q-"+(!0===L.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,o.computed)((()=>"file"!==e.type&&"string"==typeof e.shadowText&&e.shadowText.length>0)),inputRef:c,emitValue:x,hasValue:y,floatingLabel:(0,o.computed)((()=>!0===y.value||da(e.displayValue))),getControl:()=>(0,o.h)(!0===L.value?"textarea":"input",{ref:c,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...B.value,...C.value,..."file"!==e.type?{value:N()}:g.value}),getShadowControl:()=>(0,o.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===L.value?"":" text-no-wrap")},[(0,o.h)("span",{class:"invisible"},N()),(0,o.h)("span",e.shadowText)])});const F=ha(w),V=(0,o.getCurrentInstance)();return Object.assign(V.proxy,{focus:function(){Ct((()=>{const e=document.activeElement;null===c.value||c.value===e||null!==e&&e.id===w.targetUid.value||c.value.focus()}))},select:function(){null!==c.value&&c.value.select()},getNativeElement:()=>c.value}),F}});const Wa={threshold:0,root:null,rootMargin:"0px"};function Ya(e,t,n){let o,r,i;"function"==typeof n?(o=n,r=Wa,i=void 0===t.cfg):(o=n.handler,r=Object.assign({},Wa,n.cfg),i=void 0===t.cfg||!1===Jn(t.cfg,r)),t.handler!==o&&(t.handler=o),!0===i&&(t.cfg=r,void 0!==t.observer&&t.observer.unobserve(e),t.observer=new IntersectionObserver((([n])=>{if("function"==typeof t.handler){if(null===n.rootBounds&&!0===document.body.contains(e))return t.observer.unobserve(e),void t.observer.observe(e);(!1===t.handler(n,t.observer)||!0===t.once&&!0===n.isIntersecting)&&Ga(e)}}),r),t.observer.observe(e))}function Ga(e){const t=e.__qvisible;void 0!==t&&(void 0!==t.observer&&t.observer.unobserve(e),delete e.__qvisible)}var Za={name:"intersection",mounted(e,{modifiers:t,value:n}){const o={once:!0===t.once};Ya(e,o,n),e.__qvisible=o},updated(e,t){const n=e.__qvisible;void 0!==n&&Ya(e,n,t.value)},beforeUnmount:Ga},Ja=(0,o.defineComponent)({name:"QIntersection",props:{tag:{type:String,default:"div"},once:Boolean,transition:String,ssrPrerender:Boolean,margin:String,threshold:[Number,Array],root:{default:null},disable:Boolean,onVisibility:Function},setup(e,{slots:t,emit:n}){const i=(0,o.ref)(!0===r.value&&e.ssrPrerender),a=(0,o.computed)((()=>void 0!==e.root||void 0!==e.margin||void 0!==e.threshold?{handler:u,cfg:{root:e.root,rootMargin:e.margin,threshold:e.threshold}}:u)),l=(0,o.computed)((()=>!0!==e.disable&&(!0!==r.value||!0!==e.once||!0!==e.ssrPrerender))),s=(0,o.computed)((()=>[[Za,a.value,void 0,{once:e.once}]]));function u(t){i.value!==t.isIntersecting&&(i.value=t.isIntersecting,void 0!==e.onVisibility&&n("visibility",i.value))}function c(){return!0===i.value?[(0,o.h)("div",{key:"content"},ce(t.default))]:void 0}return()=>{const t=e.transition?[(0,o.h)(o.Transition,{name:"q-transition--"+e.transition},c)]:c();return fe(e.tag,{class:"q-intersection"},t,"main",l.value,(()=>s.value))}}}),Xa=(0,o.defineComponent)({name:"QList",props:{...Te,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===r.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,o.h)("div",{class:i.value},ce(t.default))}});const el=[34,37,40,33,39,38],tl=Object.keys(vo);var nl=(0,o.defineComponent)({name:"QKnob",props:{...kn,...vo,modelValue:{type:Number,required:!0},step:{type:Number,default:1,validator:e=>e>=0},tabindex:{type:[Number,String],default:0},disable:Boolean,readonly:Boolean},emits:["update:modelValue","change","drag-value"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=(0,o.ref)(e.modelValue),l=(0,o.ref)(!1);let s,u;(0,o.watch)((()=>e.modelValue),(t=>{if(t<e.min)a.value=e.min;else{if(!(t>
2e.max))return void(t!==a.value&&(a.value=t));a.value=e.max}a.value!==e.modelValue&&(n("update:modelValue",a.value),n("change",a.value))}));const c=(0,o.computed)((()=>!1===e.disable&&!1===e.readonly)),d=(0,o.computed)((()=>"q-knob non-selectable"+(!0===c.value?" q-knob--editable":!0===e.disable?" disabled":""))),A=(0,o.computed)((()=>(String(e.step).trim("0").split(".")[1]||"").length)),p=(0,o.computed)((()=>0===e.step?1:e.step)),f=(0,o.computed)((()=>!0===e.instantFeedback||!0===l.value)),m=!0===i.platform.is.mobile?(0,o.computed)((()=>!0===c.value?{onClick:B}:{})):(0,o.computed)((()=>!0===c.value?{onMousedown:C,onClick:B,onKeydown:_,onKeyup:x}:{})),v=(0,o.computed)((()=>!0===c.value?{tabindex:e.tabindex}:{["aria-"+(!0===e.disable?"disabled":"readonly")]:"true"})),g=(0,o.computed)((()=>{const t={};return tl.forEach((n=>{t[n]=e[n]})),t}));function b(e){e.isFinal?(k(e.evt,!0),l.value=!1):e.isFirst?(L(),l.value=!0,k(e.evt)):k(e.evt)}const w=(0,o.computed)((()=>[[Co,b,void 0,{prevent:!0,stop:!0,mouse:!0}]]));function L(){const{top:e,left:t,width:n,height:o}=u.getBoundingClientRect();s={top:e+o/2,left:t+n/2}}function C(e){L(),k(e)}function B(e){L(),k(e,!0)}function _(t){if(!el.includes(t.keyCode))return;y(t);const n=([34,33].includes(t.keyCode)?10:1)*p.value,o=[34,37,40].includes(t.keyCode)?-n:n;a.value=J(parseFloat((a.value+o).toFixed(A.value)),e.min,e.max),S()}function k(t,o){const r=h(t),l=Math.abs(r.top-s.top),u=Math.sqrt(l**2+Math.abs(r.left-s.left)**2);let c=Math.asin(l/u)*(180/Math.PI);c=r.top<s.top?s.left<r.left?90-c:270+c:s.left<r.left?c+90:270-c,e.angle&&(c=X(c-e.angle,0,360)),!0===i.lang.rtl&&(c=360-c);let d=e.min+c/360*(e.max-e.min);if(0!==p.value){const e=d%p.value;d=d-e+(Math.abs(e)>=p.value/2?(e<0?-1:1)*p.value:0),d=parseFloat(d.toFixed(A.value))}d=J(d,e.min,e.max),n("drag-value",d),a.value!==d&&(a.value=d),S(o)}function x(e){el.includes(e.keyCode)&&S(!0)}function S(t){e.modelValue!==a.value&&n("update:modelValue",a.value),!0===t&&n("change",a.value)}const E=xn(e);function T(){return(0,o.h)("input",E.value)}return(0,o.onMounted)((()=>{u=r.$el})),()=>{const n={class:d.value,role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,...v.value,...g.value,value:a.value,instantFeedback:f.value,...m.value},r={default:t.default};return!0===c.value?(void 0!==e.name&&(r.internal=T),(0,o.withDirectives)((0,o.h)(bo,n,r),w.value)):(0,o.h)(bo,n,r)}}});const{passive:ol}=A,rl=["both","horizontal","vertical"];var il=(0,o.defineComponent)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>rl.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let r,i,a=null;function l(){a=null;const o=Math.max(0,Pt(r)),i=Dt(r),l={top:o-n.position.top,left:i-n.position.left};if("vertical"===e.axis&&0===l.top||"horizontal"===e.axis&&0===l.left)return;const s=Math.abs(l.top)>=Math.abs(l.left)?l.top<0?"up":"down":l.left<0?"left":"right";n.position={top:o,left:i},n.directionChanged=n.direction!==s,n.delta=l,!0===n.directionChanged&&(n.direction=s,n.inflectionPoint=n.position),t("scroll",{...n})}function s(){r=Mt(i,e.scrollTarget),r.addEventListener("scroll",c,ol),c(!0)}function u(){void 0!==r&&(r.removeEventListener("scroll",c,ol),r=void 0)}function c(t){!0===t||0===e.debounce||"0"===e.debounce?l():null===a&&(a=e.debounce?setTimeout(l,e.debounce):requestAnimationFrame(l))}(0,o.watch)((()=>e.scrollTarget),(()=>{u(),s()}));const d=(0,o.getCurrentInstance)();return(0,o.onMounted)((()=>{i=d.proxy.$el.parentNode,s()})),(0,o.onBeforeUnmount)((()=>{clearTimeout(a),cancelAnimationFrame(a),u()})),Object.assign(d.proxy,{trigger:c,getPosition:()=>n}),p}}),al=(0,o.defineComponent)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:i}}=(0,o.getCurrentInstance)(),a=(0,o.ref)(null),l=(0,o.ref)(i.screen.height),s=(0,o.ref)(!0===e.container?0:i.screen.width),u=(0,o.ref)({position:0,direction:"down",inflectionPoint:0}),c=(0,o.ref)(0),d=(0,o.ref)(!0===r.value?0:Yt()),A=(0,o.computed)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),p=(0,o.computed)((()=>!1===e.container?{minHeight:i.screen.height+"px"}:null)),f=(0,o.computed)((()=>0!==d.value?{[!0===i.lang.rtl?"left":"right"]:`${d.value}px`}:null)),h=(0,o.computed)((()=>0!==d.value?{[!0===i.lang.rtl?"right":"left"]:0,[!0===i.lang.rtl?"left":"right"]:`-${d.value}px`,width:`calc(100% + ${d.value}px)`}:null));function m(t){if(!0===e.container||!0!==document.qScrollPrevented){const o={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};u.value=o,void 0!==e.onScroll&&n("scroll",o)}}function v(t){const{height:o,width:r}=t;let i=!1;l.value!==o&&(i=!0,l.value=o,void 0!==e.onScrollHeight&&n("scroll-height",o),y()),s.value!==r&&(i=!0,s.value=r),!0===i&&void 0!==e.onResize&&n("resize",t)}function g({height:e}){c.value!==e&&(c.value=e,y())}function y(){if(!0===e.container){const e=l.value>c.value?Yt():0;d.value!==e&&(d.value=e)}}let b;const w={instances:{},view:(0,o.computed)((()=>e.view)),isContainer:(0,o.computed)((()=>e.container)),rootRef:a,height:l,containerHeight:c,scrollbarWidth:d,totalWidth:(0,o.computed)((()=>s.value+d.value)),rows:(0,o.computed)((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:(0,o.reactive)({size:0,offset:0,space:!1}),right:(0,o.reactive)({size:300,offset:0,space:!1}),footer:(0,o.reactive)({size:0,offset:0,space:!1}
2),left:(0,o.reactive)({size:300,offset:0,space:!1}),scroll:u,animate(){void 0!==b?clearTimeout(b):document.body.classList.add("q-body--layout-animate"),b=setTimeout((()=>{document.body.classList.remove("q-body--layout-animate"),b=void 0}),155)},update(e,t,n){w[e][t]=n}};return(0,o.provide)(D,w),()=>{const n=Ae(t.default,[(0,o.h)(il,{onScroll:m}),(0,o.h)(Oo,{onResize:v})]),r=(0,o.h)("div",{class:A.value,style:p.value,ref:!0===e.container?void 0:a},n);return!0===e.container?(0,o.h)("div",{class:"q-layout-container overflow-hidden",ref:a},[(0,o.h)(Oo,{onResize:g}),(0,o.h)("div",{class:"absolute-full",style:f.value},[(0,o.h)("div",{class:"scroll",style:h.value},[r])])]):r}}});const ll=["horizontal","vertical","cell","none"];var sl=(0,o.defineComponent)({name:"QMarkupTable",props:{...Te,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>ll.includes(e)}},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===r.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,o.h)("div",{class:i.value},[(0,o.h)("table",{class:"q-table"},ce(t.default))])}}),ul=(0,o.defineComponent)({name:"QNoSsr",props:{tag:{type:String,default:"div"},placeholder:String},setup(e,{slots:t}){const n=No();return()=>{const r={};if(!0===n.value){const n=ce(t.default);return void 0===n?n:n.length>1?(0,o.h)(e.tag,r,n):n[0]}r.class="q-no-ssr-placeholder";const i=ce(t.placeholder);return void 0!==i?i.length>1?(0,o.h)(e.tag,r,i):i[0]:void 0!==e.placeholder?(0,o.h)(e.tag,r,e.placeholder):void 0}}});const cl=(0,o.h)("svg",{class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24","aria-hidden":"true"},[(0,o.h)("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),(0,o.h)("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]);var dl=(0,o.defineComponent)({name:"QRadio",props:{...Te,...se,...kn,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),i=Ne(e,r.$q),a=ue(e,so),l=(0,o.ref)(null),{refocusTargetEl:s,refocusTarget:u}=lo(e,l),c=(0,o.computed)((()=>e.modelValue===e.val)),d=(0,o.computed)((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===e.disable?" disabled":"")+(!0===i.value?" q-radio--dark":"")+(!0===e.dense?" q-radio--dense":"")+(!0===e.leftLabel?" reverse":""))),A=(0,o.computed)((()=>{const t=void 0===e.color||!0!==e.keepColor&&!0!==c.value?"":` text-${e.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===c.value?"truthy":"falsy"}${t}`})),p=(0,o.computed)((()=>!0===e.disable?-1:e.tabindex||0)),f=(0,o.computed)((()=>{const t={type:"radio"};return void 0!==e.name&&Object.assign(t,{name:e.name,value:e.val}),t})),h=Sn(f,(0,o.computed)((()=>void 0!==e.name&&!0===c.value?{checked:!0}:{})));function m(t){void 0!==t&&(y(t),u(t)),!0!==e.disable&&!0!==c.value&&n("update:modelValue",e.val,t)}function v(e){13!==e.keyCode&&32!==e.keyCode||y(e)}function g(e){13!==e.keyCode&&32!==e.keyCode||m(e)}return Object.assign(r,{set:m}),()=>{const n=[cl];!0!==e.disable&&h(n,"unshift"," q-radio__native q-ma-none q-pa-none");const r=[(0,o.h)("div",{class:A.value,style:a.value},n)];null!==s.value&&r.push(s.value);const i=void 0!==e.label?Ae(t.default,[e.label]):ce(t.default);return void 0!==i&&r.push((0,o.h)("div",{class:"q-radio__label q-anchor--skip"},i)),(0,o.h)("div",{ref:l,class:d.value,tabindex:p.value,role:"radio","aria-label":e.label,"aria-checked":!0===c.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:m,onKeydown:v,onKeyup:g},r)}}}),Al=(0,o.defineComponent)({name:"QToggle",props:{...uo,icon:String,checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,iconColor:String},emits:co,setup:e=>Ao("toggle",(function(t,n){const r=(0,o.computed)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),i=(0,o.computed)((()=>
2{if(!0===t.value)return e.iconColor}));return()=>[(0,o.h)("div",{class:"q-toggle__track"}),(0,o.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==r.value?[(0,o.h)(ke,{name:r.value,color:i.value})]:void 0)]}))});const pl={radio:dl,checkbox:fo,toggle:Al},fl=Object.keys(pl);var hl=(0,o.defineComponent)({name:"QOptionGroup",props:{...Te,modelValue:{required:!0},options:{type:Array,validator:e=>e.every((e=>"value"in e&&"label"in e))},name:String,type:{default:"radio",validator:e=>fl.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=Array.isArray(e.modelValue);"radio"===e.type?!0===r&&console.error("q-option-group: model should not be array"):!1===r&&console.error("q-option-group: model should be array in your case");const i=Ne(e,n),a=(0,o.computed)((()=>pl[e.type])),l=(0,o.computed)((()=>"q-option-group q-gutter-x-sm"+(!0===e.inline?" q-option-group--inline":""))),s=(0,o.computed)((()=>{const t={};return"radio"===e.type&&(t.role="radiogroup",!0===e.disable&&(t["aria-disabled"]="true")),t}));function u(e){t("update:modelValue",e)}return()=>(0,o.h)("div",{class:l.value,...s.value},e.options.map((t=>(0,o.h)("div",[(0,o.h)(a.value,{modelValue:e.modelValue,val:t.value,name:void 0===t.name?e.name:t.name,disable:e.disable||t.disable,label:t.label,leftLabel:void 0===t.leftLabel?e.leftLabel:t.leftLabel,color:void 0===t.color?e.color:t.color,checkedIcon:t.checkedIcon,uncheckedIcon:t.uncheckedIcon,dark:t.dark||i.value,size:void 0===t.size?e.size:t.size,dense:e.dense,keepColor:void 0===t.keepColor?e.keepColor:t.keepColor,"onUpdate:modelValue":u})]))))}}),ml=(0,o.defineComponent)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=(0,o.inject)(D);(0,o.inject)(H,(()=>{console.error("QPage needs to be child of QPageContainer")}));const i=(0,o.computed)((()=>{const t=(!0===r.header.space?r.header.size:0)+(!0===r.footer.space?r.footer.size:0);if("function"==typeof e.styleFn){const o=!0===r.isContainer.value?r.containerHeight.value:n.screen.height;return e.styleFn(t,o)}return{minHeight:!0===r.isContainer.value?r.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),a=(0,o.computed)((()=>"q-page "+(!0===e.padding?" q-layout-padding":"")));return()=>(0,o.h)("main",{class:a.value,style:i.value},ce(t.default))}}),vl=(0,o.defineComponent)({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=(0,o.inject)(D,(()=>{console.error("QPageContainer needs to be child of QLayout")}));(0,o.provide)(H,!0);const i=(0,o.computed)((()=>{const e={};return!0===r.header.space&&(e.paddingTop=`${r.header.size}px`),!0===r.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${r.right.size}px`),!0===r.footer.space&&(e.paddingBottom=`${r.footer.size}px`),!0===r.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${r.left.size}px`),e}));return()=>(0,o.h)("div",{class:"q-page-container",style:i.value},ce(t.default))}});const gl={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function yl(){const{props:e,proxy:t}=(0,o.getCurrentInstance)(),{$q:n}=t,r=(0,o.inject)(D,(()=>{console.error("QPageSticky needs to be child of QLayout")})),i=(0,o.computed)((()=>{const t=e.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}})),a=(0,o.computed)((()=>r.header.offset)),l=(0,o.computed)((()=>r.right.offset)),s=(0,o.computed)((()=>r.footer.offset)),u=(0,o.computed)((()=>r.left.offset)),c=(0,o.computed)((()=>{let t=0,o=0;const r=i.value,c=!0===n.lang.rtl?-1:1;!0===r.top&&0!==a.value?o=`${a.value}px`:!0===r.bottom&&0!==s.value&&(o=-s.value+"px"),!0===r.left&&0!==u.value?t=c*u.value+"px":!0===r.right&&0!==l.value&&(t=-c*l.value+"px");const d={transform:`translate(${t}, ${o})`};return e.offset&&(d.margin=`${e.offset[1]}px ${e.offset[0]}px`),!0===r.vertical?(0!==u.value&&(d[!0===n.lang.rtl?"right":"left"]=`${u.value}px`),0!==l.value&&(d[!0===n.lang.rtl?"left":"right"]=`${l.value}px`)):!0===r.horizontal&&(0!==a.value&&(d.top=`${a.value}px`),0!==s.value&&(d.bottom=`${s.value}px`)),d})),d=(0,o.computed)((()=>`q-page-sticky row flex-center fixed-${e.position} q-page-sticky--`+(!0===e.expand?"expand":"shrink")));return{$layout:r,getStickyContent:function(t){const n=ce(t.default);return(0,o.h)("div",{class:d.value,style:c.value},!0===e.expand?n:[(0,o.h)("div",n)])}}}var bl=(0,o.defineComponent)({name:"QPageScroller",props:{...gl,scrollOffset:{type:Number,default:1e3}
2,reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},emits:["click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),{$layout:i,getStickyContent:a}=yl(),l=(0,o.ref)(null);let s;const u=(0,o.computed)((()=>i.height.value-(!0===i.isContainer.value?i.containerHeight.value:r.screen.height)));function c(){return!0===e.reverse?u.value-i.scroll.value.position>e.scrollOffset:i.scroll.value.position>e.scrollOffset}const d=(0,o.ref)(c());function A(){const e=c();d.value!==e&&(d.value=e)}function p(){!0===e.reverse?void 0===s&&(s=(0,o.watch)(u,A)):f()}function f(){void 0!==s&&(s(),s=void 0)}function h(t){zt(Mt(!0===i.isContainer.value?l.value:i.rootRef.value),!0===e.reverse?i.height.value:0,e.duration),n("click",t)}function m(){return!0===d.value?(0,o.h)("div",{ref:l,class:"q-page-scroller",onClick:h},a(t)):null}return(0,o.watch)(i.scroll,A),(0,o.watch)((()=>e.reverse),p),p(),(0,o.onBeforeUnmount)(f),()=>(0,o.h)(o.Transition,{name:"q-transition--fade"},m)}}),wl=(0,o.defineComponent)({name:"QPageSticky",props:gl,setup(e,{slots:t}){const{getStickyContent:n}=yl();return()=>n(t)}}),Ll=(0,o.defineComponent)({name:"QPagination",props:{...Te,modelValue:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,activeColor:String,activeTextColor:String,inputStyle:[Array,String,Object],inputClass:[Array,String,Object],size:String,disable:Boolean,input:Boolean,iconPrev:String,iconNext:String,iconFirst:String,iconLast:String,toFn:Function,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:e=>e>=0},ripple:{type:[Boolean,Object],default:null},round:Boolean,rounded:Boolean,flat:Boolean,outline:Boolean,unelevated:Boolean,push:Boolean,glossy:Boolean,dense:Boolean,padding:{type:String,default:"3px 2px"}},emits:["update:modelValue"],setup(e,{emit:t}){const{proxy:n}=(0,o.getCurrentInstance)(),{$q:r}=n,i=Ne(e,r),a=(0,o.ref)(null),l=(0,o.computed)({get:()=>e.modelValue,set:n=>{if(n=parseInt(n,10),e.disable||isNaN(n))return;const o=J(n,e.min,e.max);e.modelValue!==o&&t("update:modelValue",o)}});function s(e,t){return[!0,!1].includes(e)?e:t}(0,o.watch)((()=>e.min+e.max),(()=>{l.value=e.modelValue}));const u=(0,o.computed)((()=>"q-pagination row no-wrap items-center"+(!0===e.disable?" disabled":""))),c=(0,o.computed)((()=>l.value+" / "+e.max)),d=(0,o.computed)((()=>s(e.boundaryLinks,e.input))),A=(0,o.computed)((()=>s(e.boundaryNumbers,!e.input))),p=(0,o.computed)((()=>s(e.directionLinks,e.input))),f=(0,o.computed)((()=>s(e.ellipses,!e.input))),h=(0,o.computed)((()=>{const t=[e.iconFirst||r.iconSet.pagination.first,e.iconPrev||r.iconSet.pagination.prev,e.iconNext||r.iconSet.pagination.next,e.iconLast||r.iconSet.pagination.last];return!0===r.lang.rtl?t.reverse():t})),m=(0,o.computed)((()=>!0===e.disable?{"aria-disabled":"true"}:{})),v=(0,o.computed)((()=>({round:e.round,rounded:e.rounded,outline:e.outline,unelevated:e.unelevated,push:e.push,glossy:e.glossy,dense:e.dense,padding:e.padding,color:e.color,flat:!0,size:e.size,ripple:null===e.ripple||e.ripple}))),g=(0,o.computed)((()=>({flat:e.flat,color:e.activeColor||e.color,textColor:e.activeTextColor||e.textColor})));function y(e){l.value=e}function b(){l.value=a.value,a.value=null}function w(e,t){const n={...v.value,...e};return void 0!==t&&(void 0!==n.toFn?n.to=n.toFn(t):n.onClick=()=>y(t)),(0,o.h)(dt,n)}return Object.assign(n,{set:y,setByOffset:function(e){l.value=l.value+e}}),()=>{const t=[],n=[],r=[];if(d.value&&(t.push(w({key:"bls",disable:e.disable||e.modelValue<=e.min,icon:h.value[0]},e.min)),n.unshift(w({key:"ble",disable:e.disable||e.modelValue>=e.max,icon:h.value[3]},e.max))),p.value&&(t.push(w({key:"bdp",disable:e.disable||e.modelValue<=e.min,icon:h.value[1]},e.modelValue-1)),n.unshift(w({key:"bdn",disable:e.disable||e.modelValue>=e.max,icon:h.value[2]},e.modelValue+1))),!0===e.input)r.push((0,o.h)(Ka,{class:"inline",style:{width:c.value.length/1.5+"em"}
2,type:"number",dense:!0,value:a.value,disable:e.disable,dark:i.value,borderless:!0,inputClass:e.inputClass,inputStyle:e.inputStyle,placeholder:c.value,min:e.min,max:e.max,"onUpdate:modelValue"(e){a.value=e},onKeyup(e){!0===Q(e,13)&&b()},onBlur:b}));else{let o=Math.max(e.maxPages,1+(f.value?2:0)+(A.value?2:0)),i=e.min,a=e.max,l=!1,s=!1,u=!1,c=!1;e.maxPages&&o<e.max-e.min+1&&(o=1+2*Math.floor(o/2),i=Math.max(e.min,Math.min(e.max-o+1,e.modelValue-Math.floor(o/2))),a=Math.min(e.max,i+o-1),A.value&&(u=!0,i+=1),f.value&&i>e.min+(A.value?1:0)&&(l=!0,i+=1),A.value&&(c=!0,a-=1),f.value&&a<e.max-(A.value?1:0)&&(s=!0,a-=1));const d={minWidth:`${Math.max(2,String(e.max).length)}em`};if(u){const n=e.min===e.modelValue;t.push(w({key:"bns",style:d,disable:e.disable,flat:!n,textColor:n?e.textColor:void 0,label:e.min},e.min))}if(c){const t=e.max===e.modelValue;n.unshift(w({key:"bne",style:d,disable:e.disable,flat:!t,textColor:t?e.textColor:void 0,label:e.max},e.max))}l&&t.push(w({key:"bes",style:d,disable:e.disable,label:"â¦",ripple:!1},i-1)),s&&n.unshift(w({key:"bee",style:d,disable:e.disable,label:"â¦",ripple:!1},a+1));for(let t=i;t<=a;t++){const n={key:`bpg${t}`,style:d,disable:e.disable,label:t};t===e.modelValue&&Object.assign(n,g.value),r.push(w(n,t))}}return(0,o.h)("div",{class:u.value,...m.value},[t,(0,o.h)("div",{class:"row justify-center"},[r]),n])}}});function Cl(e){let t,n,o=!1;function r(){n=arguments,!0!==o&&(o=!0,t=requestAnimationFrame((()=>{e.apply(this,n),n=void 0,o=!1})))}return r.cancel=()=>{window.cancelAnimationFrame(t),o=!1},r}const{passive:Bl}=A;var _l=(0,o.defineComponent)({name:"QParallax",props:{src:String,height:{type:Number,default:500},speed:{type:Number,default:1,validator:e=>e>=0&&e<=1},scrollTarget:{default:void 0},onScroll:Function},setup(e,{slots:t,emit:n}){const r=(0,o.ref)(0),i=(0,o.ref)(null),a=(0,o.ref)(null),l=(0,o.ref)(null);let s,u,c,d,A,p;(0,o.watch)((()=>e.height),(()=>{!0===s&&h()})),(0,o.watch)((()=>e.scrollTarget),(()=>{!0===s&&(y(),g())}));let f=t=>{r.value=t,void 0!==e.onScroll&&n("scroll",t)};function h(){let t,n,o;p===window?(t=0,n=window.innerHeight,o=n):(t=Ge(p).top,n=Ze(p),o=t+n);const r=Ge(i.value).top,a=r+e.height;if(void 0!==A||a>t&&r<o){const t=(o-r)/(e.height+n);m((c-e.height)*t*e.speed),f(t)}}let m=e=>{u.style.transform=`translate3d(-50%,${Math.round(e)}px,0)`};function v(){c=u.naturalHeight||u.videoHeight||Ze(u),!0===s&&h()}function g(){s=!0,p=Mt(i.value,e.scrollTarget),p.addEventListener("scroll",h,Bl),window.addEventListener("resize",d,Bl),h()}function y(){!0===s&&(s=!1,p.removeEventListener("scroll",h,Bl),window.removeEventListener("resize",d,Bl),p=void 0)}return(0,o.onMounted)((()=>{m=Cl(m),f=Cl(f),d=Cl(v),u=void 0!==t.media?a.value.children[0]:l.value,u.onload=u.onloadstart=u.loadedmetadata=v,v(),u.style.display="initial",void 0!==window.IntersectionObserver?(A=new IntersectionObserver((e=>{(!0===e[0].isIntersecting?g:y)()})),A.observe(i.value)):g()})),(0,o.onBeforeUnmount)((()=>{y(),void 0!==A&&A.disconnect(),u.onload=u.onloadstart=u.loadedmetadata=null})),()=>(0,o.h)("div",{ref:i,class:"q-parallax",style:{height:`${e.height}px`}},[(0,o.h)("div",{ref:a,class:"q-parallax__media absolute-full"},void 0!==t.media?t.media():[(0,o.h)("img",{ref:l,src:e.src})]),(0,o.h)("div",{class:"q-parallax__content absolute-full column flex-center"},void 0!==t.content?t.content({percentScrolled:r.value}):ce(t.default))])}});function kl(e){const t=JSON.stringify(e);if(t)return JSON.parse(t)}var xl=(0,o.defineComponent)({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","before-show","show","before-hide","hide"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=(0,o.ref)(null),l=(0,o.ref)(""),s=(0,o.ref)("");let u=!1;const c=(0,o.computed)((()=>{const t={initialValue:l.value,validate:e.validate,set:d,cancel:A,updatePosition:p};return Object.defineProperty(t,"value",{get:()=>s.value,set:e=>{s.value=e}}),t}));function d(){!1!==e.validate(s.value)&&(!0===f()&&(n("save",s.value,l.value),n("update:modelValue",s.value)),h())}function A(){!0===f()&&n("cancel",s.value,l.value),h()}function p(){(0,o.nextTick)((()=>{a.value.updatePosition()}))}function f(){return!1===Jn(s.value,l.value)}function h(){u=!0,a.value.hide()}function m(){u=!1,l.value=kl(e.modelValue),s.value=kl(e.modelValue),n("before-show")}function v(){n("show")}function g(){!1===u&&!0===f()&&(!0===e.autoSave&&!0===e.validate(s.value)?(n("save",s.value,l.value),n("update:modelValue",s.value)):n("cancel",s.value,l.value)),n("before-hide")}function y(){n("hide")}function b(){const n=void 0!==t.default?t.default(c.value).slice():[];return e.title&&n.unshift((0,o.h)("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),!0===e.buttons&&n.push((0,o.h)("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[(0,o.h)(dt,{flat:!0,color:e.color,label:e.labelCancel||i.lang.label.cancel,onClick:A}),(0,o.h)(dt,{flat:!0,color:e.color,label:e.labelSet||i.lang.label.set,onClick:d})])),n}return Object.assign(r,{set:d,cancel:A,show(e){null!==a.value&&a.value.show(e)},hide(e){null!==a.value&&a.value.hide(e)},updatePosition:p}),()=>{if(!0!==e.disable)return(0,o.h)(Bn,{ref:a,class:"q-popup-edit",cover:e.cover,onBeforeShow:m,onShow:v,onBeforeHide:g,onHide:y,onEscapeKey:A},b)}}}),Sl=(0,o.defineComponent)({name:"QPopupProxy",props:{...ft,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(e,{slots:t,emit:n,attrs:r}){const{proxy:i}=(0,o.getCurrentInstance)(),{$q:a}=i,l=(0,o.ref)(!1),s=(0,o.ref)(null),u=(0,o.computed)((()=>parseInt(e.breakpoint,10))),{canShow:c}=ht({showing:l});function d(){return a.screen.width<u.value||a.screen.height<u.value?"dialog":"menu"}const A=(0,o.ref)(d());function p(e){l.value=!0,n("show",e)}function f(e){l.value=!1,A.value=d(),n("hide",e)}return(0,o.watch)((()=>d()),(e=>{!0!==l.value&&(A.value=e)})),Object.assign(i,{show(e){!0===c(e)&&s.value.show(e)},hide(e){s.value.hide(e)},toggle(e){s.value.toggle(e)}}),()=>{const n=ce(t.default),i="menu"===A.value&&void 0!==n&&void 0!==n[0]&&void 0!==n[0].type&&["QDate","QTime","QCarousel","QColor"].includes(n[0].type.name)?{cover:!0,maxHeight:"99vh"}:{},a={ref:s,...i,...r,onShow:p,onHide:f};let l;return"dialog"===A.value?l=mi:(l=Bn,Object.assign(a,{target:e.target,contextMenu:e.contextMenu,noParentEvent:!0,separateClosePopup:!0})),(0,o.h)(l,a,(()=>n))}}});const El={xs:2,sm:4,md:6,lg:10,xl:14};function Tl(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}var Nl=(0,o.defineComponent)({name:"QLinearProgress",props:{...Te,...se,value:{type:Number,default:0}
2,buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=(0,o.getCurrentInstance)(),r=Ne(e,n.$q),i=ue(e,El),a=(0,o.computed)((()=>!0===e.indeterminate||!0===e.query)),l=(0,o.computed)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),s=(0,o.computed)((()=>Tl(void 0!==e.buffer?e.buffer:1,e.reverse,n.$q))),u=(0,o.computed)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--with${!0===e.instantFeedback?"out":""}-transition q-linear-progress__track--`+(!0===r.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),c=(0,o.computed)((()=>Tl(!0===a.value?1:e.value,e.reverse,n.$q))),d=(0,o.computed)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--with${!0===e.instantFeedback?"out":""}-transition q-linear-progress__model--${!0===a.value?"in":""}determinate`)),A=(0,o.computed)((()=>({width:100*e.value+"%"}))),p=(0,o.computed)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")));return()=>{const n=[(0,o.h)("div",{class:u.value,style:s.value}),(0,o.h)("div",{class:d.value,style:c.value})];return!0===e.stripe&&!1===a.value&&n.push((0,o.h)("div",{class:p.value,style:A.value})),(0,o.h)("div",{class:l.value,style:i.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},Ae(t.default,n))}}});const Fl=40;var Vl=(0,o.defineComponent)({name:"QPullToRefresh",props:{color:String,bgColor:String,icon:String,noMouse:Boolean,disable:Boolean,scrollTarget:{default:void 0}},emits:["refresh"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=(0,o.ref)("pull"),l=(0,o.ref)(0),s=(0,o.ref)(!1),u=(0,o.ref)(-40),c=(0,o.ref)(!1),d=(0,o.ref)({}),A=(0,o.computed)((()=>({opacity:l.value,transform:`translateY(${u.value}px) rotate(${360*l.value}deg)`}))),p=(0,o.computed)((()=>"q-pull-to-refresh__puller row flex-center"+(!0===c.value?" q-pull-to-refresh__puller--animating":"")+(void 0!==e.bgColor?` bg-${e.bgColor}`:"")));function f(e){if(!0===e.isFinal)return void(!0===s.value&&(s.value=!1,"pulled"===a.value?(a.value="refreshing",y({pos:20}),v()):"pull"===a.value&&y({pos:-40,ratio:0})));if(!0===c.value||"refreshing"===a.value)return!1;if(!0===e.isFirst){if(0!==Pt(w)||"down"!==e.direction)return!0===s.value&&(s.value=!1,a.value="pull",y({pos:-40,ratio:0})),!1;s.value=!0;const{top:t,left:n}=b.getBoundingClientRect();d.value={top:t+"px",left:n+"px",width:window.getComputedStyle(b).getPropertyValue("width")}}g(e.evt);const t=Math.min(140,Math.max(0,e.distance.y));u.value=t-Fl,l.value=J(t/60,0,1);const n=u.value>20?"pulled":"pull";a.value!==n&&(a.value=n)}const h=(0,o.computed)((()=>{const t={down:!0,mightPrevent:!0};return!0!==e.noMouse&&(t.mouse=!0),[[Co,f,void 0,t]]})),m=(0,o.computed)((()=>"q-pull-to-refresh__content"+(!0===s.value?" no-pointer-events":"")));function v(){n("refresh",(()=>{y({pos:-40,ratio:0},(()=>{a.value="pull"}))}))}function y({pos:e,ratio:t},n){c.value=!0,u.value=e,void 0!==t&&(l.value=t),clearTimeout(L),L=setTimeout((()=>{c.value=!1,n&&n()}),300)}let b,w,L;function C(){w=Mt(b,e.scrollTarget)}return Object.assign(r,{trigger:v,updateScrollTarget:C}),(0,o.watch)((()=>e.scrollTarget),C),(0,o.onMounted)((()=>{b=r.$el,C()})),(0,o.onBeforeUnmount)((()=>{clearTimeout(L)})),()=>fe("div",{class:"q-pull-to-refresh"},[(0,o.h)("div",{class:m.value},ce(t.default)),(0,o.h)("div",{class:"q-pull-to-refresh__puller-container fixed row flex-center no-pointer-events z-top",style:d.value},[(0,o.h)("div",{class:p.value,style:A.value},["refreshing"!==a.value?(0,o.h)(ke,{name:e.icon||i.iconSet.pullToRefresh.icon,color:e.color,size:"32px"}):(0,o.h)(Ye,{size:"24px",color:e.color})])])],"main",!1===e.disable,(()=>h.value))}});const Ol=0,Ul=1,Ql=2;var ql=(0,o.defineComponent)({name:"QRange",props:{...kn,...xo,modelValue:{type:Object,default:()=>({min:null,max:null}),validator:e=>"min"in e&&"max"in e},name:String,dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelTextColor:String,rightLabelColor:String,rightLabelTextColor:String,leftLabelValue:[String,Number],rightLabelValue:[String,Number]},emits:So,setup(e,{emit:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=Sn((0,o.computed)((()=>({type:"hidden",name:e.name,value:`${e.modelValue.min}|${e.modelValue.max}`})))),i=(0,o.ref)(null),a=(0,o.ref)({min:null===e.modelValue.min?e.min:e.modelValue.min,max:null===e.modelValue.max?e.max:e.modelValue.max}),l=(0,o.ref)(null),s=(0,o.ref)(0),u=(0,o.ref)(0),{state:c,methods:d}=Eo({updateValue:w,updatePosition:function(t,n=c.dragging.value){const o=_o(t,n,c.isReversed.value,e.vertical),r=ko(o,e.min,e.max,e.step,c.decimals.value);let i;switch(n.type){case Ol:o<=n.ratioMax?(i={minR:o,maxR:n.ratioMax,min:r,max:n.valueMax},l.value="min"):(i={minR:n.ratioMax,maxR:o,min:n.valueMax,max:r},l.value="max");break;case Ql:o>=n.ratioMin?(i={minR:n.ratioMin,maxR:o,min:n.valueMin,max:r},l.value="max"):(i={minR:o,maxR:n.ratioMin,min:r,max:n.valueMin},l.value="min");break;case Ul:const t=o-n.offsetRatio,a=J(n.ratioMin+t,0,1-n.rangeRatio),s=r-n.offsetModel,u=J(n.valueMin+s,e.min,e.max-n.rangeValue);i={minR:a,maxR:a+n.rangeRatio,min:parseFloat(u.toFixed(c.decimals.value)),max:parseFloat((u+n.rangeValue).toFixed(c.decimals.value))}}a.value={min:i.min,max:i.max},null!==a.value.min&&null!==a.value.max||(a.value.min=i.min||e.min,a.value.max=i.max||e.max),!0!==e.snap||0===e.step?(s.value=i.minR,u.value=i.maxR):(s.value=0===c.minMaxDiff.value?0:(a.value.min-e.min)/c.minMaxDiff.value,u.value=0===c.minMaxDiff.value?0:(a.value.max-e.min)/c.minMaxDiff.value)},getDragging:function(t){const{left:n,top:o,width:r,height:s}=i.value.getBoundingClientRect(),u=!0===e.dragOnlyRange?0:!0===e.vertical?g.domRef.value.offsetHeight/(2*s):g.domRef.value.offsetWidth/(2*r),d={left:n,top:o,width:r,height:s,valueMin:a.value.min,valueMax:a.value.max,ratioMin:A.value,ratioMax:f.value},p=_o(t,d,c.isReversed.value,e.vertical);let h;return!0!==e.dragOnlyRange&&p<d.ratioMin+u?h=Ol:!0===e.dragOnlyRange||p<d.ratioMax-u?!0===e.dragRange||!0===e.dragOnlyRange?(h=Ul,Object.assign(d,{offsetRatio:p,offsetModel:ko(p,e.min,e.max,e.step,c.decimals.value),rangeValue:d.valueMax-d.valueMin,rangeRatio:d.ratioMax-d.ratioMin})):h=d.ratioMax-p<p-d.ratioMin?Ql:Ol:h=Ql,d.type=h,l.value=null,d}}),A=(0,o.computed)((()=>0===c.minMaxDiff.value?0:(a.value.min-e.min)/c.minMaxDiff.value)),p=(0,o.computed)((()=>!0===c.active.value?s.value:A.value)),f=(0,o.computed)((()=>0===c.minMaxDiff.value?0:(a.value.max-e.min)/c.minMaxDiff.value)),h=(0,o.computed)((()=>!0===c.active.value?u.value:f.value)),m=(0,o.computed)((()=>({[c.positionProp.value]:100*p.value+"%",[c.sizeProp.value]:100*(h.value-p.value)+"%"}))),v=(0,o.computed)((()=>
2{if(!0!==c.editable.value)return{};if(!0===n.platform.is.mobile)return{onClick:d.onMobileClick};const t={onMousedown:d.onActivate};return!0===e.dragOnlyRange&&Object.assign(t,{onFocus:()=>{L("both")},onBlur:d.onBlur,onKeydown:C,onKeyup:d.onKeyup}),t})),g={domRef:(0,o.ref)(null),events:(0,o.computed)((()=>!0===c.editable.value&&!0!==n.platform.is.mobile&&!0!==e.dragOnlyRange?{onFocus:()=>{L("min")},onBlur:d.onBlur,onKeydown:C,onKeyup:d.onKeyup}:{})),thumbStyle:(0,o.computed)((()=>({[c.positionProp.value]:100*p.value+"%","z-index":"min"===l.value?2:void 0}))),thumbClass:(0,o.computed)((()=>!1===c.preventFocus.value&&"min"===c.focus.value?" q-slider--focus":"")),pinClass:(0,o.computed)((()=>{const t=e.leftLabelColor||e.labelColor;return t?` text-${t}`:""})),pinTextClass:(0,o.computed)((()=>{const t=e.leftLabelTextColor||e.labelTextColor;return t?` text-${t}`:""})),pinStyle:(0,o.computed)((()=>{const t=!0===e.reverse?-p.value:p.value-1;return d.getPinStyle(t,p.value)})),label:(0,o.computed)((()=>void 0!==e.leftLabelValue?e.leftLabelValue:a.value.min))},b={domRef:(0,o.ref)(null),events:(0,o.computed)((()=>!0===c.editable.value&&!0!==n.platform.is.mobile&&!0!==e.dragOnlyRange?{onFocus:()=>{L("max")},onBlur:d.onBlur,onKeydown:C,onKeyup:d.onKeyup}:{})),thumbStyle:(0,o.computed)((()=>({[c.positionProp.value]:100*h.value+"%"}))),thumbClass:(0,o.computed)((()=>!1===c.preventFocus.value&&"max"===c.focus.value?" q-slider--focus":"")),pinClass:(0,o.computed)((()=>{const t=e.rightLabelColor||e.labelColor;return t?` text-${t}`:""})),pinTextClass:(0,o.computed)((()=>{const t=e.rightLabelTextColor||e.labelTextColor;return t?` text-${t}`:""})),pinStyle:(0,o.computed)((()=>{const t=!0===e.reverse?-h.value:h.value-1;return d.getPinStyle(t,h.value)})),label:(0,o.computed)((()=>void 0!==e.rightLabelValue?e.rightLabelValue:a.value.max))};function w(n){a.value.min===e.modelValue.min&&a.value.max===e.modelValue.max||t("update:modelValue",{...a.value}),!0===n&&t("change",{...a.value})}function L(e){c.focus.value=e}function C(t){if(!Bo.includes(t.keyCode))return;y(t);const n=([34,33].includes(t.keyCode)?10:1)*e.step,o=[34,37,40].includes(t.keyCode)?-n:n;if(e.dragOnlyRange){const t=e.dragOnlyRange?a.value.max-a.value.min:0,n=J(parseFloat((a.value.min+o).toFixed(c.decimals.value)),e.min,e.max-t);a.value={min:n,max:parseFloat((n+t).toFixed(c.decimals.value))}}else{if(!1===c.focus.value)return;{const t=c.focus.value;a.value={...a.value,[t]:J(parseFloat((a.value[t]+o).toFixed(c.decimals.value)),"min"===t?e.min:a.value.min,"max"===t?e.max:a.value.max)}}}w()}function B(t){const n=[d.getThumbSvg(),(0,o.h)("div",{class:"q-slider__focus-ring"})];return!0!==e.label&&!0!==e.labelAlways||n.push((0,o.h)("div",{class:`q-slider__pin q-slider__pin${c.axis.value} absolute`+t.pinClass.value,style:t.pinStyle.value.pin},[(0,o.h)("div",{class:`q-slider__pin-text-container q-slider__pin-text-container${c.axis.value}`,style:t.pinStyle.value.pinTextContainer},[(0,o.h)("span",{class:"q-slider__pin-text"+t.pinTextClass.value},t.label.value)])]),(0,o.h)("div",{class:`q-slider__arrow q-slider__arrow${c.axis.value}`+t.pinClass.value})),(0,o.h)("div",{ref:t.domRef,class:`q-slider__thumb-container q-slider__thumb-container${c.axis.value} absolute non-selectable`+t.thumbClass.value,style:t.thumbStyle.value,...t.events.value,tabindex:!0!==e.dragOnlyRange?c.tabindex.value:null},n)}return(0,o.watch)((()=>e.modelValue.min),(t=>{a.value.min=null===t?e.min:t})),(0,o.watch)((()=>e.modelValue.max),(t=>{a.value.max=null===t?e.max:t})),(0,o.watch)((()=>e.min),(e=>{a.value.min<e&&(a.value.min=e),a.value.max<e&&(a.value.max=e)})),(0,o.watch)((()=>e.max),(e=>{a.value.min>e&&(a.value.min=e),a.value.max>e&&(a.value.max=e)})),()=>{const t=[(0,o.h)("div",{class:`q-slider__track q-slider__track${c.axis.value} absolute`,style:m.value})];!0===e.markers&&t.push((0,o.h)("div",{class:`q-slider__track-markers q-slider__track-markers${c.axis.value} absolute-full fit`,style:c.markerStyle.value}));const a=[(0,o.h)("div",{class:`q-slider__track-container q-slider__track-container${c.axis.value} absolute`},t),B(g),B(b)];void 0!==e.name&&!0!==e.disable&&r(a,"push");return fe("div",{ref:i,class:"q-range "+c.classes.value+(null===e.modelValue.min||null===e.modelValue.max?" q-slider--no-value":""),...c.attributes.value,"aria-valuenow":e.modelValue.min+"|"+e.modelValue.max,tabindex:!0===e.dragOnlyRange&&!0!==n.platform.is.mobile?c.tabindex.value:null,...v.value},a,"slide",c.editable.value,(()=>c.panDirective.value))}}}),Ml=(0,o.defineComponent)({name:"QRating",props:{...se,...kn,modelValue:{type:Number,required:!0},max:{type:[String,Number],default:5},icon:[String,Array],iconHalf:[String,Array],iconSelected:[String,Array],color:[String,Array],colorHalf:[String,Array],colorSelected:[String,Array],noReset:Boolean,noDimming:Boolean,readonly:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=ue(e),a=Sn(xn(e)),l=(0,o.ref)(0);let s={};const u=(0,o.computed)((()=>!0!==e.readonly&&!0!==e.disable)),c=(0,o.computed)((()=>`q-rating row inline items-center q-rating--${!0===u.value?"":"non-"}editable`+(!0===e.noDimming?" q-rating--no-dimming":"")+(!0===e.disable?" disabled":"")+(void 0!==e.color&&!1===Array.isArray(e.color)?` text-${e.color}`:""))),d=(0,o.computed)((()=>{const t=!0===Array.isArray(e.icon)?e.icon.length:0,n=!0===Array.isArray(e.iconSelected)?e.iconSelected.length:0,o=!0===Array.isArray(e.iconHalf)?e.iconHalf.length:0,r=!0===Array.isArray(e.color)?e.color.length:0,i=!0===Array.isArray(e.colorSelected)?e.colorSelected.length:0,a=!0===Array.isArray(e.colorHalf)?e.colorHalf.length:0;return{iconLen:t,icon:t>0?e.icon[t-1]:e.icon,selIconLen:n,selIcon:n>0?e.iconSelected[n-1]:e.iconSelected,halfIconLen:o,halfIcon:o>0?e.iconHalf[n-1]:e.iconHalf,colorLen:r,color:r>0?e.color[r-1]:e.color,selColorLen:i,selColor:i>0?e.colorSelected[i-1]:e.colorSelected,halfColorLen:a,halfColor:a>0?e.colorHalf[a-1]:e.colorHalf}})),A=(0,o.computed)((()=>!0===e.disable?{"aria-disabled":"true"}:!0===e.readonly?{"aria-readonly":"true"}:void 0));function p(t){if(!0===u.value){const o=J(parseInt(t,10),1,parseInt(e.max,10)),r=!0!==e.noReset&&e.modelValue===o?0:o;r!==e.modelValue&&n("update:modelValue",r),l.value=0}}function f(e){!0===u.value&&(l.value=e)}function h(e,t){switch(e.keyCode){case 13:case 32:return p(t),y(e);case 37:case 40:return s["rt"+(t-1)]&&s["rt"+(t-1)].$el.focus(),y(e);case 39:case 38:return s[`rt${t+1}`]&&s[`rt${t+1}`].$el.focus(),y(e)}}function m(){l.value=0}return(0,o.onBeforeUpdate)((()=>{s={}})),()=>{const n=[],v=!0===u.value?0:null,g=d.value,y=Math.ceil(e.modelValue),b=void 0===e.iconHalf||y===e.modelValue?-1:y;for(let i=1;i<=e.max;i++){const a=0===l.value&&e.modelValue>=i||l.value>0&&l.value>=i,u=b===i&&l.value<i,c=l.value>0&&(!0===u?y:e.modelValue)>=i&&l.value<i,d=!0===u?i<=g.halfIconLen?e.iconHalf[i-1]:g.halfIcon:void 0===g.selIcon||!0!==a&&!0!==c?i<=g.iconLen?e.icon[i-1]:g.icon:i<=g.selIconLen?e.iconSelected[i-1]:g.selIcon,A=!0===u?i<=g.halfColorLen?e.colorHalf[i-1]:g.halfColor:void 0!==g.selColor&&!0===a?i<=g.selColorLen?e.colorSelected[i-1]:g.selColor:i<=g.colorLen?e.color[i-1]:g.color,w="q-rating__icon"+(!0===a||!0===u?" q-rating__icon--active":"")+(!0===c?" q-rating__icon--exselected":"")+(l.value===i?" q-rating__icon--hovered":"")+(void 0!==A?` text-${A}`:"");n.push((0,o.h)(ke,{key:i,ref:e=>{s[`rt${i}`]=e},class:w,name:d||r.iconSet.rating.icon,tabindex:v,onClick(){p(i)},onMouseover(){f(i)},onMouseout:m,onFocus(){f(i)},onBlur:m,onKeyup(e){h(e,i)}},t[`tip-${i}`]))}return void 0!==e.name&&!0!==e.disable&&a(n,"push"),(0,o.h)("div",{class:c.value,style:i.value,...A.value},n)}}}),Il=(0,o.defineComponent)({name:"QResponsive",props:Sa,setup(e,{slots:t}){const n=Ea(e);return()=>(0,o.h)("div",{class:"q-responsive"},[(0,o.h)("div",{class:"q-responsive__filler overflow-hidden"},[(0,o.h)("div",{style:n.value})]),(0,o.h)("div",{class:"q-responsive__content absolute-full fit"},ce(t.default))])}});const Pl=["vertical","horizontal"],Dl={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}};var Hl=(0,o.defineComponent)({name:"QScrollArea",props:{...Te,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:t,emit:n}){const r=(0,o.ref)(!1),i=(0,o.ref)(!1),a=(0,o.ref)(!1),l={vertical:(0,o.ref)(0),horizontal:(0,o.ref)(0)},s={vertical:{ref:(0,o.ref)(null),position:(0,o.ref)(0),size:(0,o.ref)(0)},horizontal:{ref:(0,o.ref)(null),position:(0,o.ref)(0),size:(0,o.ref)(0)}},u=(0,o.getCurrentInstance)(),c=Ne(e,u.proxy.$q);let d,A;const p=(0,o.ref)(null),f=(0,o.computed)((()=>"q-scrollarea"+(!0===c.value?" q-scrollarea--dark":"")));s.vertical.percentage=(0,o.computed)((()=>{const e=s.vertical.size.value-l.vertical.value;if(e<=0)return 0;const t=J(s.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),s.vertical.thumbHidden=(0,o.computed)((()=>!0!==(null===e.visible?a.value:e.visible)&&!1===r.value&&!1===i.value||s.vertical.size.value<=l.vertical.value+1)),s.vertical.thumbSize=(0,o.computed)((()=>Math.round(J(l.vertical.value*l.vertical.value/s.vertical.size.value,50,l.vertical.value)))),s.vertical.style=(0,o.computed)((()=>{const t=s.vertical.thumbSize.value,n=s.vertical.percentage.value*(l.vertical.value-t);return{...e.thumbStyle,...e.verticalThumbStyle,top:`${n}px`,height:`${t}px`}})),s.vertical.thumbClass=(0,o.computed)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===s.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),s.vertical.barClass=(0,o.computed)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===s.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),s.horizontal.percentage=(0,o.computed)((()=>{const e=s.horizontal.size.value-l.horizontal.value;if(e<=0)return 0;const t=J(s.horizontal.position.value/e,0,1);return Math.round(1e4*t)/1e4})),s.horizontal.thumbHidden=(0,o.computed)((()=>!0!==(null===e.visible?a.value:e.visible)&&!1===r.value&&!1===i.value||s.horizontal.size.value<=l.horizontal.value+1)),s.horizontal.thumbSize=(0,o.computed)((()=>Math.round(J(l.horizontal.value*l.horizontal.value/s.horizontal.size.value,50,l.horizontal.value)))),s.horizontal.style=(0,o.computed)((()=>{const t=s.horizontal.thumbSize.value,n=s.horizontal.percentage.value*(l.horizontal.value-t);return{...e.thumbStyle,...e.horizontalThumbStyle,left:`${n}px`,width:`${t}px`}})),s.horizontal.thumbClass=(0,o.computed)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===s.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),s.horizontal.barClass=(0,o.computed)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===s.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const h=(0,o.computed)((()=>!0===s.vertical.thumbHidden.value||!0===s.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle)),m=[[Co,e=>{_(e,"vertical")}
2,void 0,{vertical:!0,prevent:!0,mouse:!0,mouseAllDir:!0}]],v=[[Co,e=>{_(e,"horizontal")},void 0,{horizontal:!0,prevent:!0,mouse:!0,mouseAllDir:!0}]];function g(){const e={};return Pl.forEach((t=>{const n=s[t];e[t+"Position"]=n.position.value,e[t+"Percentage"]=n.percentage.value,e[t+"Size"]=n.size.value,e[t+"ContainerSize"]=l[t].value})),e}const y=C((()=>{const e=g();e.ref=u.proxy,n("scroll",e)}),0);function b(e,t,n){if(!1===Pl.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");("vertical"===e?zt:Kt)(p.value,t,n)}function w({height:e,width:t}){let n=!1;l.vertical.value!==e&&(l.vertical.value=e,n=!0),l.horizontal.value!==t&&(l.horizontal.value=t,n=!0),!0===n&&E()}function L({position:e}){let t=!1;s.vertical.position.value!==e.top&&(s.vertical.position.value=e.top,t=!0),s.horizontal.position.value!==e.left&&(s.horizontal.position.value=e.left,t=!0),!0===t&&E()}function B({height:e,width:t}){s.horizontal.size.value!==t&&(s.horizontal.size.value=t,E()),s.vertical.size.value!==e&&(s.vertical.size.value=e,E())}function _(e,t){const n=s[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;A=n.position.value,i.value=!0}else if(!0!==i.value)return;!0===e.isFinal&&(i.value=!1);const o=Dl[t],r=l[t].value,a=(n.size.value-r)/(r-n.thumbSize.value),u=e.distance[o.dist];T(A+(e.direction===o.dir?1:-1)*u*a,t)}function k(e,t){const n=s[t];if(!0!==n.thumbHidden.value){T((e[Dl[t].offset]-n.thumbSize.value/2)/l[t].value*n.size.value,t),null!==n.ref.value&&n.ref.value.dispatchEvent(new MouseEvent(e.type,e))}}function x(e){k(e,"vertical")}function S(e){k(e,"horizontal")}function E(){!0===r.value?clearTimeout(d):r.value=!0,d=setTimeout((()=>{r.value=!1}),e.delay),void 0!==e.onScroll&&y()}function T(e,t){p.value[Dl[t].scroll]=e}function N(){a.value=!0}function F(){a.value=!1}return Object.assign(u.proxy,{getScrollTarget:()=>p.value,getScroll:g,getScrollPosition:()=>({top:s.vertical.position.value,left:s.horizontal.position.value}),getScrollPercentage:()=>({top:s.vertical.percentage.value,left:s.horizontal.percentage.value}),setScrollPosition:b,setScrollPercentage(e,t,n){b(e,t*(s[e].size.value-l[e].value),n)}}),()=>(0,o.h)("div",{class:f.value,onMouseenter:N,onMouseleave:F},[(0,o.h)("div",{ref:p,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,o.h)("div",{class:"q-scrollarea__content absolute",style:h.value},Ae(t.default,[(0,o.h)(Oo,{onResize:B})])),(0,o.h)(il,{axis:"both",onScroll:L})]),(0,o.h)(Oo,{onResize:w}),(0,o.h)("div",{class:s.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:x}),(0,o.h)("div",{class:s.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:S}),(0,o.withDirectives)((0,o.h)("div",{ref:s.vertical.ref,class:s.vertical.thumbClass.value,style:s.vertical.style.value,"aria-hidden":"true"}),m),(0,o.withDirectives)((0,o.h)("div",{ref:s.horizontal.ref,class:s.horizontal.thumbClass.value,style:s.horizontal.style.value,"aria-hidden":"true"}),v)])}});const Rl=1e3,jl=["start","center","end","start-force","center-force","end-force"],$l=Array.prototype.slice;let zl;{const e=document.createElement("div"),t=document.createElement("div");e.setAttribute("dir","rtl"),e.style.width="1px",e.style.height="1px",e.style.overflow="auto",t.style.width="1000px",t.style.height="1px",document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,zl=e.scrollLeft>=0,e.remove()}let Kl=1;const Wl=void 0===window.getComputedStyle(document.body).overflowAnchor?p:function(e,t){const n=e+"_ss";let o=document.getElementById(n);null===o&&(o=document.createElement("style"),o.type="text/css",o.id=n,document.head.appendChild(o)),o.qChildIndex!==t&&(o.qChildIndex=t,o.innerHTML=`#${e} > *:nth-child(${t}) { overflow-anchor: auto }`)};function Yl(e,t){return e+t}function Gl(e,t,n,o,r,i,a,l){const s=e===window?document.scrollingElement||document.documentElement:e,u=!0===r?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-a-l,scrollMaxSize:0,offsetStart:-a,offsetEnd:-l};if(!0===r?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=window.innerWidth):(c.scrollStart=s.scrollLeft,c.scrollViewSize+=s.
2clientWidth),c.scrollMaxSize=s.scrollWidth,!0===i&&(c.scrollStart=(!0===zl?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=window.innerHeight):(c.scrollStart=s.scrollTop,c.scrollViewSize+=s.clientHeight),c.scrollMaxSize=s.scrollHeight),null!==n)for(let e=n.previousElementSibling;null!==e;e=e.previousElementSibling)!1===e.classList.contains("q-virtual-scroll--skip")&&(c.offsetStart+=e[u]);if(null!==o)for(let e=o.nextElementSibling;null!==e;e=e.nextElementSibling)!1===e.classList.contains("q-virtual-scroll--skip")&&(c.offsetEnd+=e[u]);if(t!==e){const n=s.getBoundingClientRect(),o=t.getBoundingClientRect();!0===r?(c.offsetStart+=o.left-n.left,c.offsetEnd-=o.width):(c.offsetStart+=o.top-n.top,c.offsetEnd-=o.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Zl(e,t,n,o){if(n>=o)return 0;const r=t.length,i=Math.floor(n/Rl),a=Math.floor((o-1)/Rl)+1;let l=e.slice(i,a).reduce(Yl,0);return n%Rl!=0&&(l-=t.slice(i*Rl,n).reduce(Yl,0)),o%Rl!=0&&o!==r&&(l-=t.slice(o,a*Rl).reduce(Yl,0)),l}const Jl={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Xl=Object.keys(Jl),es={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Jl};function ts({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){const i=(0,o.getCurrentInstance)(),{props:a,emit:l,proxy:s}=i,{$q:u}=s;let c,d,A,f,h=[];const m="qvs_"+Kl++,v=(0,o.ref)(0),g=(0,o.ref)(0),y=(0,o.ref)({}),b=(0,o.ref)(null),w=(0,o.ref)(null),L=(0,o.ref)(null),B=(0,o.ref)({from:0,to:0}),_=(0,o.computed)((()=>void 0!==a.tableColspan?a.tableColspan:100));void 0===r&&(r=(0,o.computed)((()=>a.virtualScrollItemSize)));const k=(0,o.computed)((()=>r.value+";"+a.virtualScrollHorizontal)),x=(0,o.computed)((()=>k.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter));function S(){V(d,!0)}function E(e){V(void 0===e?d:e)}function T(o,r){const i=t();if(null==i||8===i.nodeType)return;const l=Gl(i,n(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);A!==l.scrollViewSize&&O(l.scrollViewSize),N(i,l,Math.min(e.value-1,Math.max(0,parseInt(o,10)||0)),0,jl.indexOf(r)>-1?r:d>-1&&o>d?"end":"start")}function N(t,n,o,r,i){const l="string"==typeof i&&i.indexOf("-force")>-1,s=!0===l?i.replace("-force",""):i,d=void 0!==s?s:"start";let A=Math.max(0,o-y.value[d]),p=A+y.value.total;p>e.value&&(p=e.value,A=Math.max(0,p-y.value.total)),c=n.scrollStart;const b=A!==B.value.from||p!==B.value.to;if(!1===b&&void 0===s)return void U(o);const{activeElement:w}=document;if(!0===b&&null!==L.value&&L.value!==w&&!0===L.value.contains(w)){const e=()=>{L.value.focus()};w.addEventListener("blur",e,!0),requestAnimationFrame((()=>{w.removeEventListener("blur",e,!0)}))}Wl(m,o-A+1);const C=void 0!==s?f.slice(A,o).reduce(Yl,0):0;if(!0===b){const t=p>=B.value.from&&A<=B.value.to?B.value.to:p;B.value={from:A,to:t},v.value=Zl(h,f,0,A),g.value=Zl(h,f,p,e.value),requestAnimationFrame((()=>{B.value.to!==p&&c===n.scrollStart&&(B.value={from:B.value.from,to:p},g.value=Zl(h,f,p,e.value))}))}requestAnimationFrame((()=>{if(c!==n.scrollStart)return;!0===b&&F(A);const e=f.slice(A,o).reduce(Yl,0),i=e+n.offsetStart+v.value,d=i+f[o];let p=i+r;if(void 0!==s){const t=e-C,r=n.scrollStart+t;p=!0!==l&&r<i&&d<r+n.scrollViewSize?r:"end"===s?d-n.scrollViewSize:i-("start"===s?0:Math.round((n.scrollViewSize-f[o])/2))}c=p,function(e,t,n,o){e===window?!0===n?(!0===o&&(t=(!0===zl?document.body.scrollWidth-window.innerWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===o&&(t=(!0===zl?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}(t,p,a.virtualScrollHorizontal,u.lang.rtl),U(o)}))}function F(e){const t=L.value;if(t){const n=$l.call(t.children).filter((e=>!1===e.classList.contains("q-virtual-scroll--skip"))),o=n.length,r=!0===a.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let i,l,s=e;for(let e=0;e<o;){for(i=r(n[e]),e++;e<o&&!0===n[e].classList.contains("q-virtual-scroll--with-prev");
2)i+=r(n[e]),e++;l=i-f[s],0!==l&&(f[s]+=l,h[Math.floor(s/Rl)]+=l),s++}}}function V(t,n){const i=1*r.value;!0!==n&&!1!==Array.isArray(f)||(f=[]);const a=f.length;f.length=e.value;for(let t=e.value-1;t>=a;t--)f[t]=i;const l=Math.floor((e.value-1)/Rl);h=[];for(let t=0;t<=l;t++){let n=0;const o=Math.min((t+1)*Rl,e.value);for(let e=t*Rl;e<o;e++)n+=f[e];h.push(n)}d=-1,c=void 0,t>=0?(F(B.value.from),(0,o.nextTick)((()=>{T(t)}))):(v.value=Zl(h,f,0,B.value.from),g.value=Zl(h,f,B.value.to,e.value),Q())}function O(e){if(void 0===e&&"undefined"!=typeof window){const o=t();null!=o&&8!==o.nodeType&&(e=Gl(o,n(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}A=e;const o=1+a.virtualScrollSliceRatioBefore+a.virtualScrollSliceRatioAfter,i=void 0===e||e<=0?1:Math.ceil(e/r.value),l=Math.max(10,i,Math.ceil(a.virtualScrollSliceSize/o));y.value={total:Math.ceil(l*o),start:Math.ceil(l*a.virtualScrollSliceRatioBefore),center:Math.ceil(l*(.5+a.virtualScrollSliceRatioBefore)),end:Math.ceil(l*(1+a.virtualScrollSliceRatioBefore)),view:i}}function U(e){d!==e&&(void 0!==a.onVirtualScroll&&l("virtual-scroll",{index:e,from:B.value.from,to:B.value.to-1,direction:e<d?"decrease":"increase",ref:s}),d=e)}(0,o.watch)(x,(()=>{O()})),(0,o.watch)(k,S),O();const Q=C((function(){const o=t();if(null==o||8===o.nodeType)return;const r=Gl(o,n(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),i=e.value-1,l=r.scrollMaxSize-r.offsetStart-r.offsetEnd-g.value;if(c===r.scrollStart)return;if(r.scrollMaxSize<=0)return void N(o,r,0,0);A!==r.scrollViewSize&&O(r.scrollViewSize),F(B.value.from);const s=Math.floor(r.scrollMaxSize-Math.max(r.scrollViewSize,r.offsetEnd)-Math.min(f[i],r.scrollViewSize/2));if(s>0&&Math.ceil(r.scrollStart)>=s)return void N(o,r,i,r.scrollMaxSize-r.offsetEnd-h.reduce(Yl,0));let d=0,p=r.scrollStart-r.offsetStart,m=p;if(p<=l&&p+r.scrollViewSize>=v.value)p-=v.value,d=B.value.from,m=p;else for(let e=0;p>=h[e]&&d<i;e++)p-=h[e],d+=Rl;for(;p>0&&d<i;)p-=f[d],p>-r.scrollViewSize?(d++,m=p):m=f[d]+p;N(o,r,d,m)}),!0===u.platform.is.ios?120:35);return(0,o.onBeforeMount)((()=>{O()})),Wl!==p&&(0,o.onBeforeUnmount)((()=>{const e=document.getElementById(m+"_ss");null!==e&&e.remove()})),Object.assign(s,{scrollTo:T,reset:S,refresh:E}),{virtualScrollSliceRange:B,virtualScrollSliceSizeComputed:y,setVirtualScrollSize:O,onVirtualScrollEvt:Q,localResetVirtualScroll:V,padVirtualScroll:function(e,t){const n=!0===a.virtualScrollHorizontal?"width":"height",i={["--q-virtual-scroll-item-"+n]:r.value+"px"};return["tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:b},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${v.value}px`,...i},colspan:_.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:b,style:{[n]:`${v.value}px`,...i}}),(0,o.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:L,id:m,tabindex:-1},t.flat()),"tbody"===e?(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:w},[(0,o.h)("tr",[(0,o.h)("td",{style:{[n]:`${g.value}px`,...i},colspan:_.value})])]):(0,o.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:w,style:{[n]:`${g.value}px`,...i}})]},scrollTo:T,reset:S,refresh:E}}const ns=e=>["add","add-unique","toggle"].includes(e),os=Object.keys(Aa);var rs=(0,o.defineComponent)({name:"QSelect",inheritAttrs:!1,props:{...es,...kn,...Aa,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:ns},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...pa,"add","remove","input-value","keyup","keypress","keydown","filter-abort"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=(0,o.ref)(!1),l=(0,o.ref)(!1),s=(0,o.ref)(-1),u=(0,o.ref)(""),c=(0,o.ref)(!1),d=(0,o.ref)(!1);let A,p,f,h,m,b,w,L,C,B;const _=(0,o.ref)(null),k=(0,o.ref)(null),x=(0,o.ref)(null),S=(0,o.ref)(null),E=(0,o.ref)(null),T=En(e),N=za(Fe),F=(0,o.computed)((()=>Array.isArray(e.options)?e.options.length:0)),V=(0,o.computed)((()=>void 0===e.virtualScrollItemSize?!0===e.dense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:O,virtualScrollSliceSizeComputed:q,localResetVirtualScroll:M,padVirtualScroll:I,onVirtualScrollEvt:P,scrollTo:D,setVirtualScrollSize:H}=ts({virtualScrollLength:F,getVirtualScrollTarget:function(){return Ee()},getVirtualScrollEl:Ee,virtualScrollItemSizeComputed:V}),R=fa(),j=(0,o.computed)((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions&&!0===Array.isArray(e.options)){const o=!0===e.mapOptions&&void 0!==p?p:[],r=n.map((e=>be(e,o)));return null===e.modelValue&&!0===t?r.filter((e=>null!==e)):r}return n})),$=(0,o.computed)((()=>(os.forEach((t=>e[t])),{}))),z=(0,o.computed)((()=>null===e.optionsDark?R.isDark.value:e.optionsDark)),K=(0,o.computed)((()=>da(j.value))),W=(0,o.computed)((()=>{let t="q-field__input q-placeholder col";
2return!0===e.hideSelected||0===j.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),Y=(0,o.computed)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),G=(0,o.computed)((()=>0===F.value)),Z=(0,o.computed)((()=>j.value.map((e=>se.value(e))).join(", "))),J=(0,o.computed)((()=>!0===e.optionsHtml?()=>!0:e=>null!=e&&!0===e.html)),ee=(0,o.computed)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||j.value.some(J.value)))),te=(0,o.computed)((()=>!0===R.focused.value?e.tabindex:-1)),ne=(0,o.computed)((()=>j.value.map(((e,t)=>({index:t,opt:e,html:J.value(e),selected:!0,removeAtIndex:he,toggleOption:ve,tabindex:te.value}))))),oe=(0,o.computed)((()=>{if(0===F.value)return[];const{from:t,to:n}=O.value,{options:o,optionEls:r}=f;return e.options.slice(t,n).map(((n,a)=>{const l=!0===ue.value(n),u=t+a,c={clickable:!0,active:!1,activeClass:ae.value,manualFocus:!0,focused:!1,disable:l,tabindex:-1,dense:e.optionsDense,dark:z.value,onClick:()=>{ve(n)}};!0!==l&&(!0===Le(n)&&(c.active=!0),s.value===u&&(c.focused=!0),!0===i.platform.is.desktop&&(c.onMousemove=()=>{ge(u)}));const d={index:u,opt:n,html:J.value(n),label:se.value(n),selected:c.active,focused:c.focused,toggleOption:ve,setOptionIndex:ge,itemProps:c},A={...d,itemProps:{...c,onClick:void 0,onMousemove:void 0}};return void 0!==o[a]&&!0===Jn(A,o[a])||(o[a]=A,r[a]=void 0),d}))})),re=(0,o.computed)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:i.iconSet.arrow.dropdown)),ie=(0,o.computed)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),ae=(0,o.computed)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),le=(0,o.computed)((()=>we(e.optionValue,"value"))),se=(0,o.computed)((()=>we(e.optionLabel,"label"))),ue=(0,o.computed)((()=>we(e.optionDisable,"disable"))),ce=(0,o.computed)((()=>j.value.map((e=>le.value(e))))),de=(0,o.computed)((()=>{const e={onInput:Fe,onChange:N,onKeydown:Se,onKeyup:_e,onKeypress:xe,onFocus:Ce,onClick(e){!0===h&&v(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=N,e}));function pe(t){return!0===e.emitValue?le.value(t):t}function fe(t){if(t>-1&&t<j.value.length)if(!0===e.multiple){const o=e.modelValue.slice();n("remove",{index:t,value:o.splice(t,1)[0]}),n("update:modelValue",o)}else n("update:modelValue",null)}function he(e){fe(e),R.focus()}function me(t,o){const r=pe(t);if(!0!==e.multiple)return!0===e.fillInput&&Oe(se.value(t),!0,!0),void n("update:modelValue",r);if(0===j.value.length)return n("add",{index:0,value:r}),void n("update:modelValue",!0===e.multiple?[r]:r);if(!0===o&&!0===Le(t))return;if(void 0!==e.maxValues&&e.modelValue.length>=e.maxValues)return;const i=e.modelValue.slice();n("add",{index:i.length,value:r}),i.push(r),n("update:modelValue",i)}function ve(t,o){if(!0!==R.editable.value||void 0===t||!0===ue.value(t))return;const r=le.value(t);if(!0!==e.multiple)return!0!==o&&(Oe(!0===e.fillInput?se.value(t):"",!0,!0),$e()),null!==k.value&&k.value.focus(),void(!0!==Jn(le.value(j.value[0]),r)&&n("update:modelValue",!0===e.emitValue?r:t));if((!0!==h||!0===c.value)&&R.focus(),Ce(),0===j.value.length){const o=!0===e.emitValue?r:t;return n("add",{index:0,value:o}),void n("update:modelValue",!0===e.multiple?[o]:o)}const i=e.modelValue.slice(),a=ce.value.findIndex((e=>Jn(e,r)));if(a>-1)n("remove",{index:a,value:i.splice(a,1)[0]});else{if(void 0!==e.maxValues&&i.length>=e.maxValues)return;const o=!0===e.emitValue?r:t;n("add",{index:i.length,value:o}),i.push(o)}n("update:modelValue",i)}function ge(e){if(!0!==i.platform.is.desktop)return;const t=e>-1&&e<F.value?e:-1;s.value!==t&&(s.value=t)}function ye(t=1,n){if(!0===a.value){let o=s.value;do{o=X(o+t,-1,F.value-1)}while(-1!==o&&o!==s.value&&!0===ue.value(e.options[o]));s.value!==o&&(ge(o),D(o),!0!==n&&!0===e.useInput&&!0===e.fillInput&&Ve(o>=0?se.value(e.options[o]):w))}}function be(t,n){const o=e=>Jn(le.value(e),t);return e.options.find(o)||n.find(o)||t}function we(e,t){const n=void 0!==e?e:t;return"function"==typeof n?n:e=>Object(e)===e&&n in e?e[n]:e}function Le(e){const t=le.value(e);return void 0!==ce.value.find((e=>Jn(e,t)))}
2function Ce(){!0===e.useInput&&null!==k.value&&k.value.select()}function Be(e){!0===Q(e,27)&&!0===a.value&&(v(e),$e(),ze()),n("keyup",e)}function _e(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",clearTimeout(A),ze(),"string"==typeof n&&n.length>0){const t=n.toLocaleLowerCase();let o=e=>le.value(e).toLocaleLowerCase()===t,r=e.options.find(o);void 0!==r?-1===j.value.indexOf(r)?ve(r):$e():(o=e=>se.value(e).toLocaleLowerCase()===t,r=e.options.find(o),void 0!==r?-1===j.value.indexOf(r)?ve(r):$e():Ue(n,!0))}else R.clearValue(t);else Be(t)}function xe(e){n("keypress",e)}function Se(t){if(n("keydown",t),!0===U(t))return;const r=u.value.length>0&&(void 0!==e.newValueMode||void 0!==e.onNewValue),i=!0!==t.shiftKey&&!0!==e.multiple&&(s.value>-1||!0===r);if(27===t.keyCode)return void g(t);if(9===t.keyCode&&!1===i)return void Re();if(void 0===t.target||t.target.id!==R.targetUid.value)return;if(40===t.keyCode&&!0!==R.innerLoading.value&&!1===a.value)return y(t),void je();if(8===t.keyCode&&!0!==e.hideSelected&&0===u.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?fe(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"==typeof u.value&&0!==u.value.length||(y(t),s.value=-1,ye(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===q.value||(y(t),s.value=Math.max(-1,Math.min(F.value,s.value+(33===t.keyCode?-1:1)*q.value.view)),ye(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||(y(t),ye(38===t.keyCode?-1:1,e.multiple));const l=F.value;if((void 0===C||B<Date.now())&&(C=""),l>0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&t.altKey===t.ctrlKey&&(32!==t.keyCode||C.length>0)){!0!==a.value&&je(t);const n=t.key.toLocaleLowerCase(),r=1===C.length&&C[0]===n;B=Date.now()+1500,!1===r&&(y(t),C+=n);const i=new RegExp("^"+C.split("").map((e=>".*+?^${}()|[]\\".indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let u=s.value;if(!0===r||u<0||!0!==i.test(se.value(e.options[u])))do{u=X(u+1,-1,l-1)}while(u!==s.value&&(!0===ue.value(e.options[u])||!0!==i.test(se.value(e.options[u]))));s.value!==u&&(0,o.nextTick)((()=>{ge(u),D(u),u>=0&&!0===e.useInput&&!0===e.fillInput&&Ve(se.value(e.options[u]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===C||9===t.keyCode&&!1!==i)if(9!==t.keyCode&&y(t),s.value>-1&&s.value<l)ve(e.options[s.value]);else{if(!0===r){const t=(t,n)=>{if(n){if(!0!==ns(n))return}else n=e.newValueMode;if(null==t)return;Oe("",!0!==e.multiple,!0);("toggle"===n?ve:me)(t,"add-unique"===n),!0!==e.multiple&&(null!==k.value&&k.value.focus(),$e())};if(void 0!==e.onNewValue?n("new-value",u.value,t):t(u.value),!0!==e.multiple)return}!0===a.value?Re():!0!==R.innerLoading.value&&je()}}function Ee(){return!0===h?E.value:null!==x.value&&null!==x.value.__qPortalInnerRef.value?x.value.__qPortalInnerRef.value:void 0}function Te(){return!0===e.hideSelected?[]:void 0!==t["selected-item"]?ne.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?t.selected().slice():!0===e.useChips?ne.value.map(((t,n)=>(0,o.h)(mo,{key:"option-"+n,removable:!0===R.editable.value&&!0!==ue.value(t.opt),dense:!0,textColor:e.color,tabindex:te.value,onRemove(){t.removeAtIndex(n)}},(()=>(0,o.h)("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:se.value(t.opt)}))))):[(0,o.h)("span",{[!0===ee.value?"innerHTML":"textContent"]:void 0!==e.displayValue?e.displayValue:Z.value})]}function Ne(){void 0!==t.option&&f.optionSlot!==t.option&&(f.optionSlot=t.option,f.optionEls=[]);const e=void 0!==t.option?t.option:e=>(0,o.h)(Bi,{key:e.index,...e.itemProps},(()=>(0,o.h)(_i,(()=>(0,o.h)(Ii,(()=>(0,o.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label}))))))),{optionEls:n}=f;let r=I("div",oe.value.map(((t,o)=>(void 0===n[o]&&(n[o]=e(t)),n[o]))));return void 0!==t["before-options"]&&(r=t["before-options"]().concat(r)),Ae(t["after-options"],r)}function Fe(t){clearTimeout(A),t&&t.target&&!0===t.target.composing||(Ve(t.target.value||""),m=!0,w=u.value,!0===R.focused.value||!0===h&&!0!==c.value||R.focus(),void 0!==e.onFilter&&(A=setTimeout((()=>{Ue(u.value)}),e.inputDebounce)))}function Ve(e){u.value!==e&&(u.value=e,n("input-value",e))}
2function Oe(t,n,o){m=!0!==o,!0===e.useInput&&(Ve(t),!0!==n&&!0===o||(w=t),!0!==n&&Ue(t))}function Ue(t,i){if(void 0===e.onFilter||!0!==i&&!0!==R.focused.value)return;!0===R.innerLoading.value?n("filter-abort"):(R.innerLoading.value=!0,d.value=!0),""!==t&&!0!==e.multiple&&j.value.length>0&&!0!==m&&t===se.value(j.value[0])&&(t="");const l=setTimeout((()=>{!0===a.value&&(a.value=!1)}),10);clearTimeout(b),b=l,n("filter",t,((e,t)=>{!0!==i&&!0!==R.focused.value||b!==l||(clearTimeout(b),"function"==typeof e&&e(),d.value=!1,(0,o.nextTick)((()=>{R.innerLoading.value=!1,!0===R.editable.value&&(!0===i?!0===a.value&&$e():!0===a.value?Ke(!0):a.value=!0),"function"==typeof t&&(0,o.nextTick)((()=>{t(r)}))})))}),(()=>{!0===R.focused.value&&b===l&&(clearTimeout(b),R.innerLoading.value=!1,d.value=!1),!0===a.value&&(a.value=!1)}))}function Qe(e){Ge(e),Re()}function qe(){H()}function Me(e){v(e),null!==k.value&&k.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Ie(e){v(e),(0,o.nextTick)((()=>{c.value=!1}))}function Pe(e){Ge(e),null!==S.value&&S.value.__updateRefocusTarget(R.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),R.focused.value=!1}function De(e){$e(),!1===R.focused.value&&n("blur",e),ze()}function He(){const e=document.activeElement;null!==e&&e.id===R.targetUid.value||null===k.value||k.value===e||k.value.focus(),H()}function Re(){void 0!==f&&(f.optionEls=[]),!0!==l.value&&(s.value=-1,!0===a.value&&(a.value=!1),!1===R.focused.value&&(clearTimeout(b),b=void 0,!0===R.innerLoading.value&&(n("filter-abort"),R.innerLoading.value=!1,d.value=!1)))}function je(n){!0===R.editable.value&&(!0===h?(R.onControlFocusin(n),l.value=!0,(0,o.nextTick)((()=>{R.focus()}))):R.focus(),void 0!==e.onFilter?Ue(u.value):!0===G.value&&void 0===t["no-option"]||(a.value=!0))}function $e(){l.value=!1,Re()}function ze(){!0===e.useInput&&Oe(!0!==e.multiple&&!0===e.fillInput&&j.value.length>0&&se.value(j.value[0])||"",!0,!0)}function Ke(t){let n=-1;if(!0===t){if(j.value.length>0){const t=le.value(j.value[0]);n=e.options.findIndex((e=>Jn(le.value(e),t)))}M(n)}ge(n)}function We(){!1===l.value&&null!==x.value&&x.value.updatePosition()}function Ye(e){void 0!==e&&v(e),n("popup-show",e),R.hasPopupOpen.value=!0,R.onControlFocusin(e)}function Ge(e){void 0!==e&&v(e),n("popup-hide",e),R.hasPopupOpen.value=!1,R.onControlFocusout(e)}function Ze(){h=!(!0!==i.platform.is.mobile&&"dialog"!==e.behavior||"menu"===e.behavior||!0===e.useInput&&void 0===t["no-option"]&&void 0===e.onFilter&&!1!==G.value),L=!0===i.platform.is.ios&&!0===h&&!0===e.useInput?"fade":e.transitionShow}return(0,o.watch)(j,(t=>{p=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==R.innerLoading.value&&(!0!==l.value&&!0!==a.value||!0!==K.value)&&(!0!==m&&ze(),!0!==l.value&&!0!==a.value||Ue(""))}),{immediate:!0}),(0,o.watch)((()=>e.fillInput),ze),(0,o.watch)(a,Ke),(0,o.onBeforeUpdate)(Ze),(0,o.onUpdated)(We),Ze(),(0,o.onBeforeMount)((()=>{f={optionSlot:t.option,options:[],optionEls:[]}})),(0,o.onBeforeUnmount)((()=>{f=void 0,clearTimeout(A)})),Object.assign(r,{showPopup:je,hidePopup:$e,removeAtIndex:fe,add:me,toggleOption:ve,setOptionIndex:ge,moveOptionSelection:ye,filter:Ue,updateMenuPosition:We,updateInputValue:Oe,isOptionSelected:Le,getEmittingOptionValue:pe,isOptionDisabled:()=>ue.value.apply(null,arguments),getOptionValue:()=>le.value.apply(null,arguments),getOptionLabel:()=>se.value.apply(null,arguments)}),Object.assign(R,{innerValue:j,fieldClass:(0,o.computed)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:_,targetRef:k,hasValue:K,showPopup:je,floatingLabel:(0,o.computed)((()=>(!0===e.hideSelected?u.value.length>0:!0===K.value)||da(e.displayValue))),getControlChild:()=>{if(!1!==R.editable.value&&(!0===l.value||!0!==G.value||void 0!==t["no-option"]))return!0===h?function(){const n=[(0,o.h)(ma,{class:`col-auto ${R.fieldClass}`,...$.value,for:R.targetUid.value,dark:z.value,square:!0,loading:d.value,itemAligned:!1,filled:!0,stackLabel:u.value.length>0,...R.splitAttrs.listeners.value,onFocus:Me,onBlur:Ie},{...t,rawControl:()=>R.getControl(!0),before:void 0,after:void 0})];return!0===a.value&&n.push((0,o.h)("div",{ref:E,class:Y.value+" scroll",style:e.popupContentStyle,onClick:g,onScrollPassive:P},!0===G.value?void 0!==t["no-option"]?t["no-option"]({inputValue:u.value}):null:Ne())),(0,o.h)(mi,{ref:S,modelValue:l.value,position:!0===e.useIn
2put?"top":void 0,transitionShow:L,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:Ye,onBeforeHide:Pe,onHide:De,onShow:He},(()=>(0,o.h)("div",{class:"q-select__dialog"+(!0===z.value?" q-select__dialog--dark q-dark":"")+(!0===c.value?" q-select__dialog--focused":"")},n)))}():function(){const n=!0===G.value?void 0!==t["no-option"]?()=>t["no-option"]({inputValue:u.value}):void 0:Ne;return(0,o.h)(Bn,{ref:x,class:Y.value,style:e.popupContentStyle,modelValue:a.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==G.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:z.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:ie.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,onScrollPassive:P,onBeforeShow:Ye,onBeforeHide:Qe,onShow:qe},n)}()},controlEvents:{onFocusin(e){R.onControlFocusin(e)},onFocusout(e){R.onControlFocusout(e,(()=>{ze(),Re()}))},onClick(e){if(g(e),!0!==h&&!0===a.value)return Re(),void(null!==k.value&&k.value.focus());je(e)}},getControl:t=>{const n=Te(),r=!0===t||!0!==l.value||!0!==h;if(!0===e.useInput?n.push(function(t,n){const r={ref:!0===n?k:void 0,key:"i_t",class:W.value,style:e.inputStyle,value:void 0!==u.value?u.value:"",type:"search",...R.splitAttrs.attributes.value,id:R.targetUid.value,maxlength:e.maxlength,tabindex:e.tabindex,autocomplete:e.autocomplete,"data-autofocus":!0!==t&&!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...de.value};return!0!==t&&!0===h&&(!0===Array.isArray(r.class)?r.class[0]+=" no-pointer-events":r.class+=" no-pointer-events"),(0,o.h)("input",r)}(t,r)):!0===R.editable.value&&!0===r&&(n.push((0,o.h)("div",{ref:k,key:"d_t",class:"no-outline",id:R.targetUid.value,tabindex:e.tabindex,onKeydown:Se,onKeyup:Be,onKeypress:xe})),"string"==typeof e.autocomplete&&e.autocomplete.length>0&&n.push((0,o.h)("input",{class:"q-select__autocomplete-input no-outline",autocomplete:e.autocomplete,onKeyup:_e}))),void 0!==T.value&&!0!==e.disable&&ce.value.length>0){const t=ce.value.map((e=>(0,o.h)("option",{value:e,selected:!0})));n.push((0,o.h)("select",{class:"hidden",name:T.value,multiple:e.multiple},t))}return(0,o.h)("div",{class:"q-field__native row items-center",...R.splitAttrs.attributes.value},n)},getInnerAppend:()=>!0!==e.loading&&!0!==d.value&&!0!==e.hideDropdownIcon?[(0,o.h)(ke,{class:"q-select__dropdown-icon"+(!0===a.value?" rotate-180":""),name:re.value})]:null}),ha(R)}});const is=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],as=["wave","pulse","pulse-x","pulse-y","fade","blink","none"];var ls=(0,o.defineComponent)({name:"QSkeleton",props:{...Te,tag:{type:String,default:"div"},type:{type:String,validator:e=>is.includes(e),default:"rect"},animation:{type:String,validator:e=>as.includes(e),default:"wave"},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),i=(0,o.computed)((()=>void 0!==e.size?{width:e.size,height:e.size}:{width:e.width,height:e.height})),a=(0,o.computed)((()=>`q-skeleton q-skeleton--${!0===r.value?"dark":"light"} q-skeleton--type-${e.type}`+("none"!==e.animation?` q-skeleton--anim q-skeleton--anim-${e.animation}`:"")+(!0===e.square?" q-skeleton--square":"")+(!0===e.bordered?" q-skeleton--bordered":"")));return()=>(0,o.h)(e.tag,{class:a.value,style:i.value},ce(t.default))}});const ss=[["left","center","start","width"],["right","center","end","width"],["top","start","center","height"],["bottom","end","center","height"]];var us=(0,o.defineComponent)({name:"QSlideItem",props:{...Te,leftColor:String,rightColor:String,topColor:String,bottomColor:String,onSlide:Function},emits:["action","top","right","bottom","left"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=Ne(e,i),{getCacheWithFn:l}=Pn(),s=(0,o.ref)(null);let u,c={},d={},A={};const p=(0,o.computed)((()=>!0===i.lang.rtl?{left:"right",right:"left"}:{left:"left",right:"right"})),f=(0,o.computed)((()=>"q-slide-item q-item-type overflow-hidden"+(!0===a.value?" q-slide-item--dark q-d
2ark":"")));function h(){s.value.style.transform="translate(0,0)"}function m(t,o,r){void 0!==e.onSlide&&n("slide",{side:t,ratio:o,isReset:r})}function v(e){const o=s.value;if(e.isFirst)c={dir:null,size:{left:0,right:0,top:0,bottom:0},scale:0},o.classList.add("no-transition"),ss.forEach((e=>{if(void 0!==t[e[0]]){const t=A[e[0]];t.style.transform="scale(1)",c.size[e[0]]=t.getBoundingClientRect()[e[3]]}})),c.axis="up"===e.direction||"down"===e.direction?"Y":"X";else{if(e.isFinal)return o.classList.remove("no-transition"),void(1===c.scale?(o.style.transform=`translate${c.axis}(${100*c.dir}%)`,u=setTimeout((()=>{n(c.showing,{reset:h}),n("action",{side:c.showing,reset:h})}),230)):(o.style.transform="translate(0,0)",m(c.showing,0,!0)));e.direction="X"===c.axis?e.offset.x<0?"left":"right":e.offset.y<0?"up":"down"}if(void 0===t.left&&e.direction===p.value.right||void 0===t.right&&e.direction===p.value.left||void 0===t.top&&"down"===e.direction||void 0===t.bottom&&"up"===e.direction)return void(o.style.transform="translate(0,0)");let r,i,a;"X"===c.axis?(i="left"===e.direction?-1:1,r=1===i?p.value.left:p.value.right,a=e.distance.x):(i="up"===e.direction?-2:2,r=2===i?"top":"bottom",a=e.distance.y),null!==c.dir&&Math.abs(i)!==Math.abs(c.dir)||(c.dir!==i&&(["left","right","top","bottom"].forEach((e=>{d[e]&&(d[e].style.visibility=r===e?"visible":"hidden")})),c.showing=r,c.dir=i),c.scale=Math.max(0,Math.min(1,(a-40)/c.size[r])),o.style.transform=`translate${c.axis}(${a*i/Math.abs(i)}px)`,A[r].style.transform=`scale(${c.scale})`,m(r,c.scale,!1))}return(0,o.onBeforeUpdate)((()=>{d={},A={}})),(0,o.onBeforeUnmount)((()=>{clearTimeout(u)})),Object.assign(r,{reset:h}),()=>{const n=[],r={left:void 0!==t[p.value.right],right:void 0!==t[p.value.left],up:void 0!==t.bottom,down:void 0!==t.top},i=Object.keys(r).filter((e=>!0===r[e]));ss.forEach((r=>{const i=r[0];void 0!==t[i]&&n.push((0,o.h)("div",{ref:e=>{d[i]=e},class:`q-slide-item__${i} absolute-full row no-wrap items-${r[1]} justify-${r[2]}`+(void 0!==e[i+"Color"]?` bg-${e[i+"Color"]}`:"")},[(0,o.h)("div",{ref:e=>{A[i]=e}},t[i]())]))}));const a=(0,o.h)("div",{key:"content",ref:s,class:"q-slide-item__content"},ce(t.default));return n.push((0,o.withDirectives)(a,l("dir#"+i.join(""),(()=>{const e={prevent:!0,stop:!0,mouse:!0};return i.forEach((t=>{e[t]=!0})),[[Co,v,void 0,e]]})))),(0,o.h)("div",{class:f.value},n)}}});const cs=(0,o.h)("div",{class:"q-space"});var ds=(0,o.defineComponent)({name:"QSpace",setup:()=>()=>cs});const As=[(0,o.h)("g",{transform:"matrix(1 0 0 -1 0 80)"},[(0,o.h)("rect",{width:"10",height:"20",rx:"3"},[(0,o.h)("animate",{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"15",width:"10",height:"80",rx:"3"},[(0,o.h)("animate",{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"30",width:"10",height:"50",rx:"3"},[(0,o.h)("animate",{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"45",width:"10",height:"30",rx:"3"},[(0,o.h)("animate",{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"})])])];var ps=(0,o.defineComponent)({name:"QSpinnerAudio",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,fill:"currentColor",width:t.value,height:t.value,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"},As)}});const fs=[(0,o.h)("g",{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"},[(0,o.h)("circle",{cx:"5",cy:"50",r:"5"},[(0,o.h)("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"27",cy:"5",r:"5"}
2,[(0,o.h)("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"49",cy:"50",r:"5"},[(0,o.h)("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"})])])];var hs=(0,o.defineComponent)({name:"QSpinnerBall",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"},fs)}});const ms=[(0,o.h)("rect",{y:"10",width:"15",height:"120",rx:"6"},[(0,o.h)("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[(0,o.h)("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"60",width:"15",height:"140",rx:"6"},[(0,o.h)("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[(0,o.h)("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[(0,o.h)("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])];var vs=(0,o.defineComponent)({name:"QSpinnerBars",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,fill:"currentColor",width:t.value,height:t.value,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"},ms)}});const gs=[(0,o.h)("rect",{x:"25",y:"25",width:"50",height:"50",fill:"none","stroke-width":"4",stroke:"currentColor"},[(0,o.h)("animateTransform",{id:"spinnerBox",attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",dur:"0.5s",begin:"rectBox.end"})]),(0,o.h)("rect",{x:"27",y:"27",width:"46",height:"50",fill:"currentColor"},[(0,o.h)("animate",{id:"rectBox",attributeName:"height",begin:"0s;spinnerBox.end",dur:"1.3s",from:"50",to:"0",fill:"freeze"})])];var ys=(0,o.defineComponent)({name:"QSpinnerBox",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},gs)}});const bs=[(0,o.h)("circle",{cx:"50",cy:"50",r:"48",fill:"none","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor"}),(0,o.h)("line",{"stroke-linecap":"round","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor",x1:"50",y1:"50",x2:"85",y2:"50.5"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2s",repeatCount:"indefinite"})]),(0,o.h)("line",{"stroke-linecap":"round","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor",x1:"50",y1:"50",x2:"49.5",y2:"74"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"15s",repeatCount:"indef
2inite"})])];var ws=(0,o.defineComponent)({name:"QSpinnerClock",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},bs)}});const Ls=[(0,o.h)("rect",{x:"0",y:"0",width:" 100",height:"100",fill:"none"}),(0,o.h)("path",{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}),(0,o.h)("circle",{cx:"30",cy:"47",r:"5",fill:"#fff"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"50",cy:"47",r:"5",fill:"#fff"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"70",cy:"47",r:"5",fill:"#fff"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"})])];var Cs=(0,o.defineComponent)({name:"QSpinnerComment",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Ls)}});const Bs=[(0,o.h)("rect",{x:"0",y:"0",width:" 100",height:"100",fill:"none"}),(0,o.h)("g",{transform:"translate(25 25)"},[(0,o.h)("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.9"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),(0,o.h)("g",{transform:"translate(75 25)"},[(0,o.h)("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.8"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),(0,o.h)("g",{transform:"translate(25 75)"},[(0,o.h)("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.7"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),(0,o.h)("g",{transform:"translate(75 75)"},[(0,o.h)("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.6"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])])];var _s=(0,o.defineComponent)({name:"QSpinnerCube",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Bs)}});const ks=[(0,o.h)("circle",{cx:"15",cy:"15",r:"15"},[(0,o.h)("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"60",cy:"15",r:"9","fill-opacity":".3"},[(0,o.h)("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"105",cy:"15",r:"15"},[(0,o.h)("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;
21",calcMode:"linear",repeatCount:"indefinite"})])];var xs=(0,o.defineComponent)({name:"QSpinnerDots",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,fill:"currentColor",width:t.value,height:t.value,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"},ks)}});const Ss=[(0,o.h)("g",{transform:"translate(20 50)"},[(0,o.h)("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.6"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])]),(0,o.h)("g",{transform:"translate(50 50)"},[(0,o.h)("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.8"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])]),(0,o.h)("g",{transform:"translate(80 50)"},[(0,o.h)("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.9"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])])];var Es=(0,o.defineComponent)({name:"QSpinnerFacebook",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},Ss)}});const Ts=[(0,o.h)("g",{transform:"translate(-20,-20)"},[(0,o.h)("path",{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"})])]),(0,o.h)("g",{transform:"translate(20,20) rotate(15 50 50)"},[(0,o.h)("path",{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"})])])];var Ns=(0,o.defineComponent)({name:"QSpinnerGears",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Ts)}});const Fs=[(0,o.h)("circle",{cx:"12.5",cy:"12.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;
21",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"52.5",cy:"12.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"52.5",cy:"52.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"92.5",cy:"12.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"92.5",cy:"52.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"12.5",cy:"92.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"52.5",cy:"92.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"92.5",cy:"92.5",r:"12.5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})])];var Vs=(0,o.defineComponent)({name:"QSpinnerGrid",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,fill:"currentColor",width:t.value,height:t.value,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"},Fs)}});const Os=[(0,o.h)("path",{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("path",{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"},[(0,o.h)("animate",{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("path",{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"})];var Us=(0,o.defineComponent)({name:"QSpinnerHearts",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,fill:"currentColor",width:t.value,height:t.value,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"},Os)}});const Qs=[(0,o.h)("g",[(0,o.h)("path",{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}),(0,o.h)("clipPath",{id:"uil-hourglass-clip1"},[(0,o.h)("rect",{x:"15",y:"20",width:" 70",height:"25"},[(0,o.h)("animate",{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",values:"25;0;0",keyTimes:"0;0.5;1"}),(0,o.h)("animate",{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",values:"20;45;45",keyTimes:"0;0.5;1"})])]),(0,o.h)("clipPath",{id:"uil-hourglass-clip2"},[(0,o.h)("rect",{x:"15",y:"55",width:" 70",height:"25"},[(0,o.h)("animate",{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",values:"0;25;25",keyTimes:"0;0.5;1"}),(0,o.h)("animate",{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indef
2inite",values:"80;55;55",keyTimes:"0;0.5;1"})])]),(0,o.h)("path",{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}),(0,o.h)("path",{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}),(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"})])];var qs=(0,o.defineComponent)({name:"QSpinnerHourglass",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Qs)}});const Ms=[(0,o.h)("path",{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"},[(0,o.h)("animate",{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"})])];var Is=(0,o.defineComponent)({name:"QSpinnerInfinity",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Ms)}});const Ps=[(0,o.h)("g",{"stroke-width":"4","stroke-linecap":"round"},[(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"})]),(0,o.h)("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"},[(0,o.h)("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;
21",repeatCount:"indefinite"})])])];var Ds=(0,o.defineComponent)({name:"QSpinnerIos",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"},Ps)}});const Hs=[(0,o.h)("circle",{cx:"50",cy:"50",r:"44",fill:"none","stroke-width":"4","stroke-opacity":".5",stroke:"currentColor"}),(0,o.h)("circle",{cx:"8",cy:"54",r:"6",fill:"currentColor","stroke-width":"3",stroke:"currentColor"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 48",to:"360 50 52",dur:"2s",repeatCount:"indefinite"})])];var Rs=(0,o.defineComponent)({name:"QSpinnerOrbit",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Hs)}});const js=[(0,o.h)("g",{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"},[(0,o.h)("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),(0,o.h)("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])];var $s=(0,o.defineComponent)({name:"QSpinnerOval",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},js)}});const zs=[(0,o.h)("path",{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"})]),(0,o.h)("path",{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"})]),(0,o.h)("path",{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"})]),(0,o.h)("path",{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"})])];var Ks=(0,o.defineComponent)({name:"QSpinnerPie",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},zs)}});const Ws=[(0,o.h)("g",{fill:"none","fill-rule":"evenodd","stroke-width":"2"},[(0,o.h)("circle",{cx:"22",cy:"22",r:"1"},[(0,o.h)("animate",{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"22",cy:"22",r:"1"},[(0,o.h)("animate",{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})])])];var Ys=(0,o.defineComponent)({name:"QSpinnerPuff",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},Ws)}});const Gs=[(0,o.h)("g",{transform:"scale(0.55)"},[(0,o.h)("circle",{cx:"30",cy:"150",r:"30",fill:"currentColor"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})]),(0,o.h)("path",{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"
2currentColor"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})]),(0,o.h)("path",{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"},[(0,o.h)("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})])])];var Zs=(0,o.defineComponent)({name:"QSpinnerRadio",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Gs)}});const Js=[(0,o.h)("g",{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"},[(0,o.h)("circle",{cx:"22",cy:"22",r:"6"},[(0,o.h)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"22",cy:"22",r:"6"},[(0,o.h)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,o.h)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]),(0,o.h)("circle",{cx:"22",cy:"22",r:"8"},[(0,o.h)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})])])];var Xs=(0,o.defineComponent)({name:"QSpinnerRings",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"},Js)}});const eu=[(0,o.h)("defs",[(0,o.h)("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},[(0,o.h)("stop",{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}),(0,o.h)("stop",{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}),(0,o.h)("stop",{"stop-color":"currentColor",offset:"100%"})])]),(0,o.h)("g",{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"},[(0,o.h)("path",{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})]),(0,o.h)("circle",{fill:"currentColor",cx:"36",cy:"18",r:"1"},[(0,o.h)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})])])];var tu=(0,o.defineComponent)({name:"QSpinnerTail",props:Ke,setup(e){const{cSize:t,classes:n}=We(e);return()=>(0,o.h)("svg",{class:n.value,width:t.value,height:t.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},eu)}}),nu=(0,o.defineComponent)({name:"QSplitter",props:{...Te,modelValue:{type:Number,required:!0},reverse:Boolean,unit:{type:String,default:"%",validator:e=>["%","px"].includes(e)},limits:{type:Array,validator:e=>2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&e[0]>=0&&e[0]<=e[1]},emitImmediately:Boolean,horizontal:Boolean,disable:Boolean,beforeClass:[Array,String,Object],afterClass:[Array,String,Object],separatorClass:[Array,String,Object],separatorStyle:[Array,String,Object]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=Ne(e,r),a=(0,o.ref)(null),l={before:(0,o.ref)(null),after:(0,o.ref)(null)},s=(0,o.computed)((()=>"q-splitter no-wrap "+(!0===e.horizontal?"q-splitter--horizontal column":"q-splitter--vertical row")+" q-splitter--"+(!0===e.disable?"disabled":"workable")+(!0===i.value?" q-splitter--dark":""))),u=(0,o.computed)((()=>!0===e.horizontal?"height":"width")),c=(0,o.computed)((()=>!0!==e.reverse?"before":"after")),d=(0,o.computed)((()=>void 0!==e.limits?e.limits:"%"===e.unit?[10,90]:[50,1/0]));
2function A(t){return("%"===e.unit?t:Math.round(t))+e.unit}const p=(0,o.computed)((()=>({[c.value]:{[u.value]:A(e.modelValue)}})));let f,h,m,v,g;function y(t){if(!0===t.isFirst){const t=a.value.getBoundingClientRect()[u.value];return f=!0===e.horizontal?"up":"left",h="%"===e.unit?100:t,m=Math.min(h,d.value[1],Math.max(d.value[0],e.modelValue)),v=(!0!==e.reverse?1:-1)*(!0===e.horizontal?1:!0===r.lang.rtl?-1:1)*("%"===e.unit?0===t?0:100/t:1),void a.value.classList.add("q-splitter--active")}if(!0===t.isFinal)return g!==e.modelValue&&n("update:modelValue",g),void a.value.classList.remove("q-splitter--active");const o=m+v*(t.direction===f?-1:1)*t.distance[!0===e.horizontal?"y":"x"];g=Math.min(h,d.value[1],Math.max(d.value[0],o)),l[c.value].value.style[u.value]=A(g),!0===e.emitImmediately&&e.modelValue!==g&&n("update:modelValue",g)}const b=(0,o.computed)((()=>[[Co,y,void 0,{[!0===e.horizontal?"vertical":"horizontal"]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function w(e,t){e<t[0]?n("update:modelValue",t[0]):e>t[1]&&n("update:modelValue",t[1])}return(0,o.watch)((()=>e.modelValue),(e=>{w(e,d.value)})),(0,o.watch)((()=>e.limits),(()=>{(0,o.nextTick)((()=>{w(e.modelValue,d.value)}))})),()=>{const n=[(0,o.h)("div",{ref:l.before,class:["q-splitter__panel q-splitter__before"+(!0===e.reverse?" col":""),e.beforeClass],style:p.value.before},ce(t.before)),(0,o.h)("div",{class:["q-splitter__separator",e.separatorClass],style:e.separatorStyle,"aria-disabled":!0===e.disable?"true":void 0},[fe("div",{class:"q-splitter__separator-area absolute-full"},ce(t.separator),"sep",!0!==e.disable,(()=>b.value))]),(0,o.h)("div",{ref:l.after,class:["q-splitter__panel q-splitter__after"+(!0===e.reverse?"":" col"),e.afterClass],style:p.value.after},ce(t.after))];return(0,o.h)("div",{class:s.value,ref:a},Ae(t.default,n))}}}),ou=(0,o.defineComponent)({name:"StepHeader",props:{stepper:{},step:{},goToPanel:Function},setup(e,{attrs:t}){const{proxy:{$q:n}}=(0,o.getCurrentInstance)(),r=(0,o.ref)(null),i=(0,o.computed)((()=>e.stepper.modelValue===e.step.name)),a=(0,o.computed)((()=>{const t=e.step.disable;return!0===t||""===t})),l=(0,o.computed)((()=>{const t=e.step.error;return!0===t||""===t})),s=(0,o.computed)((()=>{const t=e.step.done;return!1===a.value&&(!0===t||""===t)})),u=(0,o.computed)((()=>{const t=e.step.headerNav,n=!0===t||""===t||void 0===t;return!1===a.value&&e.stepper.headerNav&&n})),c=(0,o.computed)((()=>e.step.prefix&&!1===i.value&&!1===l.value&&!1===s.value)),d=(0,o.computed)((()=>!0===i.value?e.step.activeIcon||e.stepper.activeIcon||n.iconSet.stepper.active:!0===l.value?e.step.errorIcon||e.stepper.errorIcon||n.iconSet.stepper.error:!1===a.value&&!0===s.value?e.step.doneIcon||e.stepper.doneIcon||n.iconSet.stepper.done:e.step.icon||e.stepper.inactiveIcon)),A=(0,o.computed)((()=>{const t=!0===l.value?e.step.errorColor||e.stepper.errorColor:void 0;if(!0===i.value){const n=e.step.activeColor||e.stepper.activeColor||e.step.color;return void 0!==n?n:t}return void 0!==t?t:!1===a.value&&!0===s.value?e.step.doneColor||e.stepper.doneColor||e.step.color||e.stepper.inactiveColor:e.step.color||e.stepper.inactiveColor})),p=(0,o.computed)((()=>"q-stepper__tab col-grow flex items-center no-wrap relative-position"+(void 0!==A.value?` text-${A.value}`:"")+(!0===l.value?" q-stepper__tab--error":"")+(!0===i.value?" q-stepper__tab--active":"")+(!0===s.value?" q-stepper__tab--done":"")+(!0===u.value?" q-stepper__tab--navigation q-focusable q-hoverable":"")+(!0===a.value?" q-stepper__tab--disabled":"")));function f(){null!==r.value&&r.value.focus(),!1===i.value&&e.goToPanel(e.step.name)}function h(t){13===t.keyCode&&!1===i.value&&e.goToPanel(e.step.name)}return()=>{const n={class:p.value};!0===u.value&&(n.onClick=f,n.onKeyup=h,Object.assign(n,!0===a.value?{tabindex:-1,"aria-disabled":"true"}:{tabindex:t.tabindex||0}));const i=[(0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:r}),(0,o.h)("div",{class:"q-stepper__dot row flex-center q-stepper__line relative-position"},[(0,o.h)("span",{class:"row flex-center"},[!0===c.value?e.step.prefix:(0,o.h)(ke,{name:d.value})])])];if(void 0!==e.step.title&&null!==e.step.title){const t=[(0,o.h)("div",{class:"q-stepper__title"},e.step.title)];void 0!==e.step.caption&&null!==e.step.caption&&t.push((0,o.h)("div",{class:"q-stepper__caption"},e.step.caption)),i.push((0,o.h)("div",{class:"q-stepper__label q-stepper__line relative-position"},t))}return fe("div",n,i,"head",!0===e.stepper.headerNav&&!1!==u.value,(()=>[[ot,u.value]]))}}});function ru(e){return(0,o.h)("div",{class:"q-stepper__step-content"},[(0,o.h)("div",{class:"q-stepper__step-inner"},ce(e.default))])}const iu={setup:(e,{slots:t})=>()=>ru(t)};var au=(0,o.defineComponent)({name:"QStep",props:{...Dn,icon:String,color:String,title:{type:String,required:!0},caption:String,prefix:[String,Number],doneIcon:String,doneColor:String,activeIcon:String,activeColor:String,errorIcon:String,errorColor:String,headerNav:{type:Boolean,default:!0},done:Boolean,error:Boolean},setup(e,{slots:t}){const n=(0,o.inject)(P,(()=>{console.error("QStep needs to be child of QStepper")})),{getCacheWithFn:r}=Pn(),i=(0,o.ref)(null),a=(0,o.computed)((()=>n.value.modelValue===e.name));(0,o.watch)(a,(e=>{!0===e&&!0===n.value.vertical&&(0,o.nextTick)((()=>{null!==i.value&&(i.value.scrollTop=0)}))}));const l=(0,o.computed)((()=>"string"==typeof e.name||"number"==typeof e.name?e.name:String(e.name)));function s(){const e=n.value.vertical;return!0===e&&!0===n.value.keepAlive?(0,o.h)(o.KeepAlive,n.value.keepAliveProps.value,!0===a.value?[(0,o.h)(!0===n.value.needsUniqueKeepAliveWrapper.value?r(l.value,(()=>({...iu,name:l.value}))):iu,{key:l.value},t.default)]:void 0):!0!==e||!0===a.value?ru(t):void 0}return()=>(0,o.h)("div",{ref:i,class:"q-stepper__step"},!0===n.value.vertical?[(0,o.h)(ou,{stepper:n.value,step:e,goToPanel:n.value.goToPanel}),!0===n.value.animated?(0,o.h)(Pi,s):s()]:[s()])}});const lu=/(-\w)/g;var su=(0,o.defineComponent)({name:"QStepper",props:{...Te,...Rn,flat:Boolean,bordered:Boolean,alternativeLabels:Boolean,headerNav:B
2oolean,contracted:Boolean,headerClass:String,inactiveColor:String,inactiveIcon:String,doneIcon:String,doneColor:String,activeIcon:String,activeColor:String,errorIcon:String,errorColor:String},emits:jn,setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q),{updatePanelsList:i,isValidPanelName:a,updatePanelIndex:l,getPanelContent:s,getPanels:u,panelDirectives:c,goToPanel:d,keepAliveProps:A,needsUniqueKeepAliveWrapper:p}=$n();(0,o.provide)(P,(0,o.computed)((()=>({goToPanel:d,keepAliveProps:A,needsUniqueKeepAliveWrapper:p,...e}))));const f=(0,o.computed)((()=>"q-stepper q-stepper--"+(!0===e.vertical?"vertical":"horizontal")+(!0===e.flat||!0===r.value?" q-stepper--flat no-shadow":"")+(!0===e.bordered||!0===r.value&&!1===e.flat?" q-stepper--bordered":"")+(!0===e.contracted?" q-stepper--contracted":"")+(!0===r.value?" q-stepper--dark q-dark":""))),h=(0,o.computed)((()=>`q-stepper__header row items-stretch justify-between q-stepper__header--${!0===e.alternativeLabels?"alternative":"standard"}-labels`+(!1===e.flat||!0===e.bordered?" q-stepper__header--border":"")+(void 0!==e.headerClass?` ${e.headerClass}`:"")));function m(){const n=ce(t.message,[]);if(!0===e.vertical){a(e.modelValue)&&l();const r=(0,o.h)("div",{class:"q-stepper__content"},ce(t.default));return void 0===n?[r]:n.concat(r)}return[(0,o.h)("div",{class:h.value},u().map((t=>{const n=function(e){const t={};return Object.keys(e).forEach((n=>{const o=n.replace(lu,(e=>e[1].toUpperCase()));t[o]=e[n]})),t}(t.props);return(0,o.h)(ou,{key:n.name,stepper:e,step:n,goToPanel:d})}))),n,fe("div",{class:"q-stepper__content q-panel-parent"},s(),"cont",e.swipeable,(()=>c.value))]}return()=>(i(t),(0,o.h)("div",{class:f.value},Ae(t.navigation,m())))}}),uu=(0,o.defineComponent)({name:"QStepperNavigation",setup:(e,{slots:t})=>()=>(0,o.h)("div",{class:"q-stepper__nav"},ce(t.default))}),cu=(0,o.defineComponent)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const r=(0,o.getCurrentInstance)(),{proxy:{$q:i}}=r;return()=>{if(void 0===e.props)return(0,o.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":""},ce(t.default));let a,l;const s=r.vnode.key;if(s){if(a=e.props.colsMap[s],void 0===a)return}else a=e.props.col;if(!0===a.sortable){const e="right"===a.align?"unshift":"push";l=de(t.default,[]),l[e]((0,o.h)(ke,{class:a.__iconClass,name:i.iconSet.table.arrowUp}))}else l=ce(t.default);const u={class:a.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:a.headerStyle};return!0===a.sortable&&(u.onClick=t=>{e.props.sort(a),n("click",t)}),(0,o.h)("th",u,l)}}});function du(e,t){return(0,o.h)("div",e,[(0,o.h)("table",{class:"q-table"},t)])}const Au={list:Xa,table:sl},pu=["list","table","__qtable"];var fu=(0,o.defineComponent)({name:"QVirtualScroll",props:{...es,type:{type:String,default:"list",validator:e=>pu.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(e,{slots:t,attrs:n}){let r;const i=(0,o.ref)(null),a=(0,o.computed)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:c}=ts({virtualScrollLength:a,getVirtualScrollTarget:function(){return r},getVirtualScrollEl:h}),d=(0,o.computed)((()=>{if(0===a.value)return[];const t=(e,t)=>({index:l.value.from+t,item:e});return void 0===e.itemsFn?e.items.slice(l.value.from,l.value.to).map(t):e.itemsFn(l.value.from,l.value.to-l.value.from).map(t)})),p=(0,o.computed)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),f=(0,o.computed)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function h(){return i.value.$el||i.value}function m(){r=Mt(h(),e.scrollTarget),r.addEventListener("scroll",c,A.passive)}function v(){void 0!==r&&(r.removeEventListener("scroll",c,A.passive),r=void 0)}function g(){let n=u("list"===e.type?"div":"tbody",d.value.map(t.default));return void 0!==t.before&&(n=t.before().concat(n)),Ae(t.after,n)}return(0,o.watch)(a,(()=>{s()})),(0,o.watch)((()=>
2e.scrollTarget),(()=>{v(),m()})),(0,o.onBeforeMount)((()=>{s()})),(0,o.onMounted)((()=>{m()})),(0,o.onBeforeUnmount)((()=>{v()})),()=>{if(void 0!==t.default)return"__qtable"===e.type?du({ref:i,class:"q-table__middle "+p.value},g()):(0,o.h)(Au[e.type],{...n,ref:i,class:[n.class,p.value],...f.value},g);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});const hu={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function mu(e,t,n,r){const i=(0,o.computed)((()=>{const{sortBy:e}=t.value;return e&&n.value.find((t=>t.name===e))||null})),a=(0,o.computed)((()=>void 0!==e.sortMethod?e.sortMethod:(e,t,o)=>{const r=n.value.find((e=>e.name===t));if(void 0===r||void 0===r.field)return e;const i=!0===o?-1:1,a="function"==typeof r.field?e=>r.field(e):e=>e[r.field];return e.sort(((e,t)=>{let n=a(e),o=a(t);return null==n?-1*i:null==o?1*i:void 0!==r.sort?r.sort(n,o,e,t)*i:!0===eo(n)&&!0===eo(o)?(n-o)*i:!0===Xn(n)&&!0===Xn(o)?function(e,t){return new Date(e)-new Date(t)}(n,o)*i:"boolean"==typeof n&&"boolean"==typeof o?(n-o)*i:([n,o]=[n,o].map((e=>(e+"").toLocaleString().toLowerCase())),n<o?-1*i:n===o?0:i)}))}));return{columnToSort:i,computedSortMethod:a,sort:function(o){let i=e.columnSortOrder;if(o===Object(o))o.sortOrder&&(i=o.sortOrder),o=o.name;else{const e=n.value.find((e=>e.name===o));void 0!==e&&e.sortOrder&&(i=e.sortOrder)}let{sortBy:a,descending:l}=t.value;a!==o?(a=o,l="da"===i):!0===e.binaryStateSort?l=!l:!0===l?"ad"===i?a=null:l=!1:"ad"===i?l=!0:a=null,r({sortBy:a,descending:l,page:1})}}}const vu={filter:[String,Object],filterMethod:Function};function gu(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const yu={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":Function};const bu={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}};function wu(e){return Array.isArray(e)?e.slice():[]}const Lu={expanded:Array};const Cu={visibleColumns:Array};const Bu="q-table__bottom row items-center",_u={};Xl.forEach((e=>{_u[e]={}}));var ku=(0,o.defineComponent)({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,..._u,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...Te,...zn,...Cu,...vu,...yu,...Lu,...bu,...hu},emits:["request","virtual-scroll",...Kn,"update:expanded","update:selected","selection"],setup(e,{slots:t,emit:n}){const r=(0,o.getCurrentInstance)(),{proxy:{$q:i}}=r,a=Ne(e,i),{inFullscreen:l,toggleFullscreen:s}=Wn(),u=(0,o.computed)((()=>"function"==typeof e.rowKey?e.rowKey:t=>t[e.rowKey])),c=(0,o.ref)(null),d=(0,o.ref)(null),A=(0,o.computed)((()=>!0!==e.grid&&!0===e.virtualScroll)),p=(0,o.computed)((()=>" q-table__card"+(!0===a.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),f=(0,o.computed)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.loading?" q-table--loading":"")+(!0===e.grid?" q-table--grid":p.value)+(!0===a.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===l.value?" fullscreen scroll":""))),h=(0,o.computed)((()=>f.value+(!0===e.loading?" q-table--loading":"")));(0,o.watch)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+f.value),(()=>{!0===A.value&&null!==d.value&&d.value.reset()}));const{innerPagination:m,computedPagination:v,isServerSide:g,requestServerInteraction:y,setPagination:b}=function(e,t){const{props:n,emit:r}=e,i=(0,o.ref)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length>0?n.rowsPerPageOptions[0]:5},n.pagination)),a=(0,o.computed)((()=>gu(void 0!==n["onUpdate:pagination"]?{...i.value,...n.pagination}:i.value))),l=(0,o.computed)((()=>void 0!==a.value.rowsNumber));function s(e){u({pagination:e,filter:n.filter})}function u(e={}){(0,o.nextTick)((()=>{r("request",{pagination:e.pagination||a.value,filter:e.filter||n.filter,getCellValue:t})}))}return{innerPagination:i,computedPagination:a,isServerSide:l,requestServerInteraction:u,setPagination:function(e,t){const o=gu({...a.value,...e});!function(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}(a.value,o)?!0!==l.value?void 0!==n.pagination&&void 0!==n["onUpdate:pagination"]?r("update:pagination",o):i.value=o:s(o):!0===l.value&&!0===t&&s(o)}}}(r,ue),{computedFilterMethod:w}=function(e,t){const n=(0,o.computed)((()=>void 0!==e.filterMethod?e.filterMethod:(e,t,n,o)=>{const r=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=o(t,e)+"";return-1!==("undefined"===n||"null"===n?"":n.toLowerCase()).indexOf(r)}))))}));return(0,o.watch)((()=>e.filter),(()=>{(0,o.nextTick)((()=>{t({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:n}}(e,b),{isRowExpanded:L,setExpanded:C,updateExpanded:B}=function(e,t){const n=(0,o.ref)(wu(e.expanded));
2function r(o){void 0!==e.expanded?t("update:expanded",o):n.value=o}return(0,o.watch)((()=>e.expanded),(e=>{n.value=wu(e)})),{isRowExpanded:function(e){return n.value.includes(e)},setExpanded:r,updateExpanded:function(e,t){const o=n.value.slice(),i=o.indexOf(e);!0===t?-1===i&&(o.push(e),r(o)):-1!==i&&(o.splice(i,1),r(o))}}}(e,n),_=(0,o.computed)((()=>{let t=e.rows;if(!0===g.value||0===t.length)return t;const{sortBy:n,descending:o}=v.value;return e.filter&&(t=w.value(t,e.filter,M.value,ue)),null!==D.value&&(t=H.value(e.rows===t?t.slice():t,n,o)),t})),k=(0,o.computed)((()=>_.value.length)),x=(0,o.computed)((()=>{let t=_.value;if(!0===g.value)return t;const{rowsPerPage:n}=v.value;return 0!==n&&(0===j.value&&e.rows!==t?t.length>$.value&&(t=t.slice(0,$.value)):t=t.slice(j.value,$.value)),t})),{hasSelectionMode:S,singleSelection:E,multipleSelection:T,allRowsSelected:N,someRowsSelected:F,rowsSelectedNumber:V,isRowSelected:O,clearSelection:U,updateSelection:Q}=function(e,t,n,r){const i=(0,o.computed)((()=>{const t={};return e.selected.map(r.value).forEach((e=>{t[e]=!0})),t})),a=(0,o.computed)((()=>"none"!==e.selection)),l=(0,o.computed)((()=>"single"===e.selection)),s=(0,o.computed)((()=>"multiple"===e.selection)),u=(0,o.computed)((()=>n.value.length>0&&n.value.every((e=>!0===i.value[r.value(e)])))),c=(0,o.computed)((()=>!0!==u.value&&n.value.some((e=>!0===i.value[r.value(e)])))),d=(0,o.computed)((()=>e.selected.length));return{hasSelectionMode:a,singleSelection:l,multipleSelection:s,allRowsSelected:u,someRowsSelected:c,rowsSelectedNumber:d,isRowSelected:function(e){return!0===i.value[e]},clearSelection:function(){t("update:selected",[])},updateSelection:function(n,o,i,a){t("selection",{rows:o,added:i,keys:n,evt:a});const s=!0===l.value?!0===i?o:[]:!0===i?e.selected.concat(o):e.selected.filter((e=>!1===n.includes(r.value(e))));t("update:selected",s)}}}(e,n,x,u),{colList:q,computedCols:M,computedColsMap:I,computedColspan:P}=function(e,t,n){const r=(0,o.computed)((()=>{if(void 0!==e.columns)return e.columns;const t=e.rows[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:eo(t[e])?"right":"left",sortable:!0}))):[]})),i=(0,o.computed)((()=>{const{sortBy:n,descending:o}=t.value,i=void 0!==e.visibleColumns?r.value.filter((t=>!0===t.required||!0===e.visibleColumns.includes(t.name))):r.value;return i.map((e=>{const t=e.align||"right",r=`text-${t}`;return{...e,align:t,__iconClass:`q-table__sort-icon q-table__sort-icon--${t}`,__thClass:r+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===n?" sorted "+(!0===o?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!=typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!=typeof e.classes?()=>r+" "+e.classes:t=>r+" "+e.classes(t):()=>r}}))})),a=(0,o.computed)((()=>{const e={};return i.value.forEach((t=>{e[t.name]=t})),e})),l=(0,o.computed)((()=>void 0!==e.tableColspan?e.tableColspan:i.value.length+(!0===n.value?1:0)));return{colList:r,computedCols:i,computedColsMap:a,computedColspan:l}}(e,v,S),{columnToSort:D,computedSortMethod:H,sort:R}=mu(e,v,q,b),{firstRowIndex:j,lastRowIndex:$,isFirstPage:z,isLastPage:K,pagesNumber:W,computedRowsPerPageOptions:Y,computedRowsNumber:G,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee}=function(e,t,n,r,i,a){const{props:l,emit:s,proxy:{$q:u}}=e,c=(0,o.computed)((()=>!0===r.value?n.value.rowsNumber||0:a.value)),d=(0,o.computed)((()=>{const{page:e,rowsPerPage:t}=n.value;return(e-1)*t})),A=(0,o.computed)((()=>{const{page:e,rowsPerPage:t}=n.value;return e*t})),p=(0,o.computed)((()=>1===n.value.page)),f=(0,o.computed)((()=>0===n.value.rowsPerPage?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage)))),h=(0,o.computed)((()=>0===A.value||n.value.page>=f.value)),m=(0,o.computed)((()=>(l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions)).map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))));return(0,o.watch)(f,((e,t)=>{if(e===t)return;const o=n.value.page;e&&!o?i({page:1}):e<o&&i({page:e})})),void 0!==l["onUpdate:pagination"]&&s("update:pagination",{...n.value}),{firstRowIndex:d,lastRowIndex:A,isFirstPage:p,isLastPage:h,pagesNumber:f,computedRowsPerPageOptions:m,computedRowsNumber:c,firstPage:function(){i({page:1})},prevPage:function(){const{page:e}=n.value;e>1&&i({page:e-1})},nextPage:function(){const{page:e,rowsPerPage:t}=n.value;A.value>0&&e*t<c.value&&i({page:e+1})},lastPage:function(){i({page:f.value})}}}(r,m,v,g,b,k),te=(0,o.computed)((()=>0===x.value.length)),ne=(0,o.computed)((()=>{const t={};return Xl.forEach((n=>{t[n]=e[n]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===e.dense?28:48),t}));function oe(e){n("virtual-scroll",e)}function re(){return[(0,o.h)(Nl,{class:"q-table__linear-progress",color:e.color,dark:a.value,indeterminate:!0,trackColor:"transparent"})]}function ie(r,i,l){const s=u.value(r),c=O(s);if(void 0!==i)return i(le({key:s,row:r,pageIndex:l,__trClass:c?"selected":""}));const d=t["body-cell"],A=M.value.map((e=>{const n=t[`body-cell-${e.name}`],i=void 0!==n?n:d;return void 0!==i?i(function(e){return se(e),Object.defineProperty(e,"value",{get:()=>ue(e.col,e.row),configurable:!0,enumerable:!0}),e}({key:s,row:r,pageIndex:l,col:e})):(0,o.h)("td",{class:e.__tdClass(r),style:e.__tdStyle(r)},ue(e,r))}));if(!0===S.value){const n=t["body-selection"],i=void 0!==n?n(function(e){return se(e),e}({key:s,row:r,pageIndex:l})):[(0,o.h)(fo,{modelValue:c,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{Q([s],[r],e,t)}})];A.unshift((0,o.h)("td",{class:"q-table--col-auto-width"},i))}const p={key:s,class:{selected:c}};return void 0!==e.onRowClick&&(p.class["cursor-pointer"]=!0,p.onClick=e=>{n("RowClick",e,r,l)}),void 0!==e.onRowDblclick&&(p.class["cursor-pointer"]=!0,p.onDblclick=e=>{n("RowDblclick",e,r,l)}),void 0!==e.onRowContextmenu&&(p.class["cursor-pointer"]=!0,p.onContextmenu=e=>{n("RowContextmenu",e,r,l)}),(0,o.h)("tr",p,A)}function ae(){const e=t.body,n=t["top-row"],r=t["bottom-row"];let i=x.value.map(((t,n)=>ie(t,e,n)));return void 0!==n&&(i=n({cols:M.value}).concat(i)),void 0!==r&&(i=i.concat(r({cols:M.value}))),(0,o.h)("tbody",i)}function le(e){return se(e),e.cols=e.cols.map((t=>{const n={...t};return Object.defineProperty(n,"value",{get:()=>ue(t,e.row),configurable:!0,enumerable:!0}),n})),e}function se(t){Object.assign(t,{cols:M.value,colsMap:I.value,sort:R,rowIndex:j.value+t.pageIndex,color:e.color,dark:a.value,dense:e.dense}),!0===S.value&&Object.defineProperty(t,"selected",{get:()=>O(t.key),set:(e,n)=>{Q([t.key],[t.row],e,n)},configurable:!0,enumerable:!0}),Object.defineProperty(t,"expand",{get:()=>L(t.key),set:e=>{B(t.key,e)},configurable:!0,enumerable:!0})}function ue(e,t){const n="function"==typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const ce=(0,o.computed)((()=>({pagination:v.value,pagesNumber:W.value,isFirstPage:z.value,isLastPage:K.value,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee,inFullscreen:l.value,toggleFullscreen:s})));function de(){const n=t.top,r=t["top-left"],i=t["top-right"],a=t["to
2p-selection"],l=!0===S.value&&void 0!==a&&V.vaue>0,s="q-table__top relative-position row items-center";if(void 0!==n)return(0,o.h)("div",{class:s},[n(ce.value)]);let u;return!0===l?u=a(ce.value).slice():(u=[],void 0!==r?u.push((0,o.h)("div",{class:"q-table-control"},[r(ce.value)])):e.title&&u.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==i&&(u.push((0,o.h)("div",{class:"q-table__separator col"})),u.push((0,o.h)("div",{class:"q-table__control"},[i(ce.value)]))),0!==u.length?(0,o.h)("div",{class:s},u):void 0}const Ae=(0,o.computed)((()=>!0===F.value?null:N.value));function pe(){const n=function(){const n=t.header,r=t["header-cell"];if(void 0!==n)return n(fe({header:!0})).slice();const i=M.value.map((e=>{const n=t[`header-cell-${e.name}`],i=void 0!==n?n:r,a=fe({col:e});return void 0!==i?i(a):(0,o.h)(cu,{key:e.name,props:a},(()=>e.label))}));if(!0===E.value&&!0!==e.grid)i.unshift((0,o.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===T.value){const n=t["header-selection"],r=void 0!==n?n(fe({})):[(0,o.h)(fo,{color:e.color,modelValue:Ae.value,dark:a.value,dense:e.dense,"onUpdate:modelValue":he})];i.unshift((0,o.h)("th",{class:"q-table--col-auto-width"},r))}return[(0,o.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},i)]}();return!0===e.loading&&void 0===t.loading&&n.push((0,o.h)("tr",{class:"q-table__progress"},[(0,o.h)("th",{class:"relative-position",colspan:P.value},re())])),(0,o.h)("thead",n)}function fe(t){return Object.assign(t,{cols:M.value,sort:R,colsMap:I.value,color:e.color,dark:a.value,dense:e.dense}),!0===T.value&&Object.defineProperty(t,"selected",{get:()=>Ae.value,set:he,configurable:!0,enumerable:!0}),t}function he(e){!0===F.value&&(e=!1),Q(x.value.map(u.value),x.value,e)}const me=(0,o.computed)((()=>{const t=[e.iconFirstPage||i.iconSet.table.firstPage,e.iconPrevPage||i.iconSet.table.prevPage,e.iconNextPage||i.iconSet.table.nextPage,e.iconLastPage||i.iconSet.table.lastPage];return!0===i.lang.rtl?t.reverse():t}));function ve(){if(!0===e.hideBottom)return;if(!0===te.value){if(!0===e.hideNoData)return;const n=!0===e.loading?e.loadingLabel||i.lang.table.loading:e.filter?e.noResultsLabel||i.lang.table.noResults:e.noDataLabel||i.lang.table.noData,r=t["no-data"],a=void 0!==r?[r({message:n,icon:i.iconSet.table.warning,filter:e.filter})]:[(0,o.h)(ke,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),n];return(0,o.h)("div",{class:Bu+" q-table__bottom--nodata"},a)}const n=t.bottom;if(void 0!==n)return(0,o.h)("div",{class:Bu},[n(ce.value)]);const r=!0!==e.hideSelectedBanner&&!0===S.value&&V.value>0?[(0,o.h)("div",{class:"q-table__control"},[(0,o.h)("div",[(e.selectedRowsLabel||i.lang.table.selectedRecords)(V.value)])])]:[];return!0!==e.hidePagination?(0,o.h)("div",{class:Bu+" justify-end"},function(n){let r;const{rowsPerPage:l}=v.value,s=e.paginationLabel||i.lang.table.pagination,u=t.pagination,c=e.rowsPerPageOptions.length>1;if(n.push((0,o.h)("div",{class:"q-table__separator col"})),!0===c&&n.push((0,o.h)("div",{class:"q-table__control"},[(0,o.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||i.lang.table.recordsPerPage]),(0,o.h)(rs,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:l,options:Y.value,displayValue:0===l?i.lang.table.allRows:l,dark:a.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":ge})])),void 0!==u)r=u(ce.value);else if(r=[(0,o.h)("span",0!==l?{class:"q-table__bottom-item"}:{},[l?s(j.value+1,Math.min($.value,G.value),G.value):s(1,k.value,G.value)])],0!==l&&W.value>1){const t={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(t.size="sm"),W.value>2&&r.push((0,o.h)(dt,{key:"pgFirst",...t,icon:me.value[0],disable:z.value,onClick:Z})),r.push((0,o.h)(dt,{key:"pgPrev",...t,icon:me.value[1],disable:z.value,onClick:J}),(0,o.h)(dt,{key:"pgNext",...t,icon:me.value[2],disable:K.value,onClick:X})),W.value>2&&r.push((0,o.h)(dt,{key:"pgLast",...t,icon:me.value[3],disable:K.value,onClick:ee}))}return n.push((0,o.h)("div",{class:"q-table__control"},r)),n}(r)):r.length>0?(0,o.h)("div",{class:Bu},r):void 0}function ge(e){b({page:1,rowsPerPage:e.value})}function ye(){const r=void 0!==t.item?t.item:r=>{const i=r.cols.map((e=>(0,o.h)("div",{class:"q-table__grid-item-row"},[(0,o.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,o.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===S.value){const n=t["body-selection"],l=void 0!==n?n(r):[(0,o.h)(fo,{modelValue:r.selected,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{Q([r.key],[r.row],e,t)}})];i.unshift((0,o.h)("div",{class:"q-table__grid-item-row"},l),(0,o.h)(Ri,{dark:a.value}))}const l={class:["q-table__grid-item-card"+p.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(l.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(l.onClick=e=>{n("RowClick",e,r.row,r.pageIndex)}),void 0!==e.onRowDblclick&&(l.onDblclick=e=>{n("RowDblclick",e,r.row,r.pageIndex)})),(0,o.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===r.selected?"q-table__grid-item--selected":"")},[(0,o.h)("div",l,i)])};return(0,o.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},x.value.map(((e,t)=>r(le({key:u.value(e),row:e,pageIndex:t})))))}return Object.assign(r.proxy,{requestServerInteraction:y,setPagination:b,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee,isRowSelected:O,clearSelection:U,isRowExpanded:L,setExpanded:C,sort:R,resetVirtualScroll:function(){!0===A.value&&d.value.reset()},scrollTo:function(e,t){if(null!==d.value)return void d.value.scrollTo(e,t);e=parseInt(e,10);const o=c.value.querySelector(`tbody tr:nth-of-type(${e+1})`);if(null!==o){const t=c.value.querySelector(".q-table__middle.scroll"),{offsetTop:r}=o,i=r<t.scrollTop?"decrease":"increase";t.scrollTop=r,n("virtual-scroll",{index:e,from:0,to:m.value.rowsPerPage-1,direction:i})}},getCellValue:ue}),Object.defineProperty(r.proxy,"filteredSortedRows",{get:()=>_.value,enumerable:!0}),Object.defineProperty(r.proxy,"computedRows",{get:()=>x.value,enumerable:!0}),Object.defineProperty(r.proxy,"computedRowsNumber",{get:()=>G.value,enumerable:!0}),()=>{const n=[de()],r={ref:c,class:h.value};return!0===e.grid?n.push(function(){const n=!0===e.gridHeader?[(0,o.h)("table",{class:"q-table"},[pe()])]:!0===e.loading&&void 0===t.loading?re():void 0;return(0,o.h)("div",{class:"q-table__middle"},n)}()):Object.assign(r,{class:[r.class,e.cardClass],style:e.cardStyle}),n.push(function(){if(!0===e.grid)return ye();const n=!0!==e.hideHeader?pe:null;if(!0===A.value){const r=t["top-row"],i=t["bottom-row"],a={default:e=>ie(e.item,t.body,e.index)};if(void 0!==r){const e=(0,o.h)("tbody",r({cols:M.value}));a.before=null===n?()=>e:()=>[n()].concat(e)}else null!==n&&(a.before=n);return void 0!==i&&(a.after=()=>(0,o.h)("tbody",i({cols:M.value}))),(0,o.h)(fu,{ref:d,class:e.tableClass,style:e.tableStyle,...ne.value,items:x.value,type:"__qtable",tableColspan:P.value,onVirtualScroll:oe},a)}const r=[ae()];return null!==n&&r.unshift(n()),du({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},r)}(),ve()),!0===e.loading&&void 0!==t.loading&&n.push(t.loading()),(0,o.h)("div",r,n)}}}),xu=(0,o.defineComponent)({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>"q-tr"+(void 0===e.props||!0===e.props.header?"":" "+e.props.__trClass)+(!0===e.noHover?" q-tr--no-hover":"")));return()=>(0,o.h)("tr",{class:n.value},ce(t.default))}}),Su=(0,o.defineComponent)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=(0,o.computed)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,o.h)("td",{class:r.value},ce(t.default));const i=n.vnode.key,a=(void 0!==e.props.colsMap?e.props.colsMap[i]:null)||e.props.col;if(void 0===a)return;const{row:l}=e.props;return(0,o.h)("td",{class:r.value+a.__tdClass(l),style:a.__tdStyle(l)},ce(t.default))}}}),Eu=(0,o.defineComponent)({name:"QRouteTab",props:{...je,...Po,to:{required:!0}},emits:Io,setup(e,{slots:t,emit:n}){const r=$e(),{renderTab:i,$tabs:a}=Do(e,t,n,{exact:(0,o.computed)((()=>e.exact)),...r});return(0,o.watch)((()=>e.name+e.exact+(r.linkRoute.value||{}).href),(()=>{a.verifyRouteModel()})),()=>i(r.linkTag.value,r.linkProps.value)}});function Tu(){const e=new Date;return{hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}}var Nu=(0,o.defineComponent)({name:"QTime",props:{...Te,...kn,...yr,mask:{default:null},format24h:{type:Boolean,default:null},defaultDate:{type:String,validator:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e)},options:Function,hourOptions:Array,minuteOptions:Array,secondOptions:Array,withSeconds:Boolean,nowBtn:Boolean},emits:br,setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=(0,o.getCurrentInstance)(),i=Ne(e,r),{tabindex:a,headerClass:l,getLocale:s,getCurrentDate:u}=Lr(e,r),c=Sn(xn(e));let d,A;const p=(0,o.ref)(null),f=(0,o.computed)((()=>D())),m=(0,o.computed)((()=>s())),v=Er(e.modelValue,D(),s(),e.calendar,H()),g=(0,o.ref)(function(e,t){if(null!==e.hour){if(null===e.minute)return"minute";if(!0===t&&null===e.second)return"second"}return"hour"}(v)),y=(0,o.ref)(v),b=(0,o.ref)(null===v.hour||v.hour<12),w=(0,o.computed)((()=>"q-time q-time--"+(!0===e.landscape?"landscape":"portrait")+(!0===i.value?" q-time--dark q-d
2ark":"")+(!0===e.disable?" disabled":!0===e.readonly?" q-time--readonly":"")+(!0===e.bordered?" q-time--bordered":"")+(!0===e.square?" q-time--square no-border-radius":"")+(!0===e.flat?" q-time--flat no-shadow":""))),L=(0,o.computed)((()=>{const e=y.value;return{hour:null===e.hour?"--":!0===B.value?ee(e.hour):String(!0===b.value?0===e.hour?12:e.hour:e.hour>12?e.hour-12:e.hour),minute:null===e.minute?"--":ee(e.minute),second:null===e.second?"--":ee(e.second)}})),C=(0,o.computed)((()=>H())),B=(0,o.computed)((()=>null!==e.format24h?e.format24h:r.lang.date.format24h)),_=(0,o.computed)((()=>{const e="hour"===g.value,t=!0===e?12:60,n=y.value[g.value];let o=`rotate(${Math.round(n*(360/t))-180}deg) translateX(-50%)`;return!0===e&&!0===B.value&&y.value.hour>=12&&(o+=" scale(.7)"),{transform:o}})),k=(0,o.computed)((()=>null!==y.value.hour)),x=(0,o.computed)((()=>!0===k.value&&null!==y.value.minute)),S=(0,o.computed)((()=>void 0!==e.hourOptions?t=>e.hourOptions.includes(t):void 0!==e.options?t=>e.options(t,null,null):null)),E=(0,o.computed)((()=>void 0!==e.minuteOptions?t=>e.minuteOptions.includes(t):void 0!==e.options?t=>e.options(y.value.hour,t,null):null)),T=(0,o.computed)((()=>void 0!==e.secondOptions?t=>e.secondOptions.includes(t):void 0!==e.options?t=>e.options(y.value.hour,y.value.minute,t):null)),N=(0,o.computed)((()=>{if(null===S.value)return null;const e=M(0,11,S.value),t=M(12,11,S.value);return{am:e,pm:t,values:e.values.concat(t.values)}})),F=(0,o.computed)((()=>null!==E.value?M(0,59,E.value):null)),V=(0,o.computed)((()=>null!==T.value?M(0,59,T.value):null)),O=(0,o.computed)((()=>{switch(g.value){case"hour":return N.value;case"minute":return F.value;case"second":return V.value}})),U=(0,o.computed)((()=>{let e,t,n=0,o=1;const r=null!==O.value?O.value.values:void 0;"hour"===g.value?!0===B.value?(e=0,t=23):(e=0,t=11,!1===b.value&&(n=12)):(e=0,t=55,o=5);const i=[];for(let a=e,l=e;a<=t;a+=o,l++){const e=a+n,t=void 0!==r&&!1===r.includes(e),o="hour"===g.value&&0===a?!0===B.value?"00":"12":a;i.push({val:e,index:l,disable:t,label:o})}return i})),Q=(0,o.computed)((()=>[[Co,$,void 0,{stop:!0,prevent:!0,mouse:!0}]]));function q(){de({...u(),...Tu()}),g.value="hour"}function M(e,t,n){const o=Array.apply(null,{length:t+1}).map(((t,o)=>{const r=o+e;return{index:r,val:!0===n(r)}})).filter((e=>!0===e.val)).map((e=>e.index));return{min:o[0],max:o[o.length-1],values:o,threshold:t+1}}function I(e,t,n){const o=Math.abs(e-t);return Math.min(o,n-o)}function P(e,{min:t,max:n,values:o,threshold:r}){if(e===t)return t;if(e<t||e>n)return I(e,t,r)<=I(e,n,r)?t:n;const i=o.findIndex((t=>e<=t)),a=o[i-1],l=o[i];return e-a<=l-e?a:l}function D(){return"persian"!==e.calendar&&null!==e.mask?e.mask:"HH:mm"+(!0===e.withSeconds?":ss":"")}function H(){if("string"!=typeof e.defaultDate){const e=u(!0);return e.dateHash=wr(e),e}return Er(e.defaultDate,"YYYY/MM/DD",void 0,e.calendar)}function R(){return!0===Ae.isDeactivated||!0===Ae.isUnmounted||null!==O.value&&(0===O.value.values.length||"hour"===g.value&&!0!==B.value&&0===N.value[!0===b.value?"am":"pm"].values.length)}function j(){const e=p.value,{top:t,left:n,width:o}=e.getBoundingClientRect(),r=o/2;return{top:t+r,left:n+r,dist:.7*r}}function $(e){if(!0!==R()){if(!0===e.isFirst)return d=j(),void(A=K(e.evt,d));A=K(e.evt,d,A),!0===e.isFinal&&(d=!1,A=null,z())}}function z(){"hour"===g.value?g.value="minute":e.withSeconds&&"minute"===g.value&&(g.value="second")}function K(e,t,n){const o=h(e),r=Math.abs(o.top-t.top),i=Math.sqrt(Math.pow(Math.abs(o.top-t.top),2)+Math.pow(Math.abs(o.left-t.left),2));let a,l=Math.asin(r/i)*(180/Math.PI);if(l=o.top<t.top?t.left<o.left?90-l:270+l:t.left<o.left?l+90:270-l,"hour"===g.value){if(a=l/30,null!==N.value){const e=!0!==B.value?!0===b.value:N.value.am.values.length>0&&N.value.pm.values.length>0?i>=t.dist:N.value.am.values.length>0;a=P(a+(!0===e?0:12),N.value[!0===e?"am":"pm"])}else a=Math.round(a),!0===B.value?i<t.dist?a<12&&(a+=12):12===a&&(a=0):!0===b.value&&12===a?a=0:!1===b.value&&12!==a&&(a+=12);!0===B.value&&(b.value=a<12)}else a=Math.round(l/6)%60,"minute"===g.value&&null!==F.value?a=P(a,F.value):"second"===g.value&&null!==V.value&&(
2a=P(a,V.value));return n!==a&&ae[g.value](a),a}(0,o.watch)((()=>e.modelValue),(t=>{const n=Er(t,f.value,m.value,e.calendar,C.value);n.dateHash===y.value.dateHash&&n.timeHash===y.value.timeHash||(y.value=n,null===n.hour?g.value="hour":b.value=n.hour<12)})),(0,o.watch)([f,m],(()=>{(0,o.nextTick)((()=>{de()}))}));const W={hour(){g.value="hour"},minute(){g.value="minute"},second(){g.value="second"}};function Y(e){13===e.keyCode&&le()}function G(e){13===e.keyCode&&se()}function Z(e){!0!==R()&&(!0!==r.platform.is.desktop&&K(e,j()),z())}function J(e){!0!==R()&&K(e,j())}function X(e){if(13===e.keyCode)g.value="hour";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==N.value){const e=!0===B.value?N.value.values:N.value[!0===b.value?"am":"pm"].values;if(0===e.length)return;if(null===y.value.hour)oe(e[0]);else{const n=(e.length+e.indexOf(y.value.hour)+t)%e.length;oe(e[n])}}else{const e=!0===B.value?24:12;oe((!0!==B.value&&!1===b.value?12:0)+(24+(null===y.value.hour?-t:y.value.hour)+t)%e)}}}function te(e){if(13===e.keyCode)g.value="minute";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==F.value){const e=F.value.values;if(0===e.length)return;if(null===y.value.minute)re(e[0]);else{const n=(e.length+e.indexOf(y.value.minute)+t)%e.length;re(e[n])}}else{re((60+(null===y.value.minute?-t:y.value.minute)+t)%60)}}}function ne(e){if(13===e.keyCode)g.value="second";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==V.value){const e=V.value.values;if(0===e.length)return;if(null===y.value.seconds)ie(e[0]);else{const n=(e.length+e.indexOf(y.value.second)+t)%e.length;ie(e[n])}}else{ie((60+(null===y.value.second?-t:y.value.second)+t)%60)}}}function oe(e){y.value.hour!==e&&(y.value.hour=e,y.value.minute=null,y.value.second=null)}function re(t){y.value.minute!==t&&(y.value.minute=t,y.value.second=null,!0!==e.withSeconds&&de({minute:t}))}function ie(e){y.value.second!==e&&de({second:e})}const ae={hour:oe,minute:re,second:ie};function le(){!1===b.value&&(b.value=!0,null!==y.value.hour&&(y.value.hour-=12,ue()))}function se(){!0===b.value&&(b.value=!1,null!==y.value.hour&&(y.value.hour+=12,ue()))}function ue(){return null!==S.value&&!0!==S.value(y.value.hour)?(y.value=Er(),void(g.value="hour")):null!==E.value&&!0!==E.value(y.value.minute)?(y.value.minute=null,y.value.second=null,void(g.value="minute")):!0===e.withSeconds&&null!==T.value&&!0!==T.value(y.value.second)?(y.value.second=null,void(g.value="second")):void(null===y.value.hour||null===y.value.minute||!0===e.withSeconds&&null===y.value.second||de())}function de(t){const o=Object.assign({...y.value},t),r="persian"===e.calendar?ee(o.hour)+":"+ee(o.minute)+(!0===e.withSeconds?":"+ee(o.second):""):Rr(new Date(o.year,null===o.month?null:o.month-1,o.day,o.hour,o.minute,o.second,o.millisecond),f.value,m.value,o.year,o.timezoneOffset);o.changed=r!==e.modelValue,n("update:modelValue",r,o)}const Ae=(0,o.getCurrentInstance)();function pe(){const t=[(0,o.h)("div",{class:"q-time__link "+("hour"===g.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:W.hour,onKeyup:X},L.value.hour),(0,o.h)("div",":"),(0,o.h)("div",!0===k.value?{class:"q-time__link "+("minute"===g.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onKeyup:te,onClick:W.minute}:{class:"q-time__link"},L.value.minute)];!0===e.withSeconds&&t.push((0,o.h)("div",":"),(0,o.h)("div",!0===x.value?{class:"q-time__link "+("second"===g.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onKeyup:ne,onClick:W.second}:{class:"q-time__link"},L.value.second));const n=[(0,o.h)("div",{class:"q-time__header-label row items-center no-wrap",dir:"ltr"},t)];return!1===B.value&&n.push((0,o.h)("div",{class:"q-time__header-ampm column items-between no-wrap"},[(0,o.h)("div",{class:"q-time__link "+(!0===b.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:le,onKeyup:Y},"AM"),(0,o.h)("div",{class:"q-time__link "+(!0!==b.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:se,onKeyup:G},"PM")])),(0,o.h)("div",{class:"q-time__header flex flex-center no-wrap "+l.value},n)}function fe(){const t=y.value[g.value];return(0,o.h)("div",{class:"q-time__content col relative-position"},[(0,o.h)(o.Transition,{name:"q-transition--scale"},(()=>(0,o.h)("div",{key:"clock"+g.value,class:"q-time__container-parent absolute-full"},[(0,o.h)("div",{ref:p,class:"q-time__container-child fit overflow-hidden"},[(0,o.withDirectives)((0,o.h)("div",{class:"q-time__clock cursor-pointer non-selectable",onClick:Z,onMousedown:J},[(0,o.h)("div",{class:"q-time__clock-circle fit"},[(0,o.h)("div",{class:"q-time__clock-pointer"+(null===y.value[g.value]?" hidden":void 0!==e.color?` text-${e.color}`:""),style:_.value}),U.value.map((e=>(0,o.h)("div",{class:`q-time__clock-position row flex-center q-time__clock-pos-${e.index}`+(e.val===t?" q-time__clock-position--active "+l.value:!0===e.disable?" q-time__clock-position--disable":"")}
2,[(0,o.h)("span",e.label)])))])]),Q.value)])]))),!0===e.nowBtn?(0,o.h)(dt,{class:"q-time__now-button absolute",icon:r.iconSet.datetime.now,unelevated:!0,size:"sm",round:!0,color:e.color,textColor:e.textColor,tabindex:a.value,onClick:q}):null])}return Object.assign(Ae.proxy,{setNow:q}),()=>{const n=[fe()],r=ce(t.default);return void 0!==r&&n.push((0,o.h)("div",{class:"q-time__actions"},r)),void 0!==e.name&&!0!==e.disable&&c(n,"push"),(0,o.h)("div",{class:w.value,tabindex:-1},[pe(),(0,o.h)("div",{class:"q-time__main col overflow-auto"},n)])}}}),Fu=(0,o.defineComponent)({name:"QTimeline",props:{...Te,color:{type:String,default:"primary"},side:{type:String,default:"right",validator:e=>["left","right"].includes(e)},layout:{type:String,default:"dense",validator:e=>["dense","comfortable","loose"].includes(e)}},setup(e,{slots:t}){const n=(0,o.getCurrentInstance)(),r=Ne(e,n.proxy.$q);(0,o.provide)(I,e);const i=(0,o.computed)((()=>`q-timeline q-timeline--${e.layout} q-timeline--${e.layout}--${e.side}`+(!0===r.value?" q-timeline--dark":"")));return()=>(0,o.h)("ul",{class:i.value},ce(t.default))}}),Vu=(0,o.defineComponent)({name:"QTimelineEntry",props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:e=>["left","right"].includes(e)},icon:String,avatar:String,color:String,title:String,subtitle:String,body:String},setup(e,{slots:t}){const n=(0,o.inject)(I,(()=>{console.error("QTimelineEntry needs to be child of QTimeline")})),r=(0,o.computed)((()=>`q-timeline__entry q-timeline__entry--${e.side}`+(void 0!==e.icon||void 0!==e.avatar?" q-timeline__entry--icon":""))),i=(0,o.computed)((()=>`q-timeline__dot text-${e.color||n.color}`)),a=(0,o.computed)((()=>"comfortable"===n.layout&&"left"===n.side));return()=>{const n=de(t.default,[]);if(void 0!==e.body&&n.unshift(e.body),!0===e.heading){const t=[(0,o.h)("div"),(0,o.h)("div"),(0,o.h)(e.tag,{class:"q-timeline__heading-title"},n)];return(0,o.h)("div",{class:"q-timeline__heading"},!0===a.value?t.reverse():t)}let l;void 0!==e.icon?l=[(0,o.h)(ke,{class:"row items-center justify-center",name:e.icon})]:void 0!==e.avatar&&(l=[(0,o.h)("img",{class:"q-timeline__dot-img",src:e.avatar})]);const s=[(0,o.h)("div",{class:"q-timeline__subtitle"},[(0,o.h)("span",{},ce(t.subtitle,[e.subtitle]))]),(0,o.h)("div",{class:i.value},l),(0,o.h)("div",{class:"q-timeline__content"},[(0,o.h)("h6",{class:"q-timeline__title"},ce(t.title,[e.title]))].concat(n))];return(0,o.h)("li",{class:r.value},!0===a.value?s.reverse():s)}}}),Ou=(0,o.defineComponent)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,o.h)("div",{class:n.value},ce(t.default))}}),Uu=(0,o.defineComponent)({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=(0,o.computed)((()=>"q-toolbar__title ellipsis"+(!0===e.shrink?" col-shrink":"")));return()=>(0,o.h)("div",{class:n.value},ce(t.default))}}),Qu=(0,o.defineComponent)({name:"QTree",props:{...Te,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>["none","strict","leaf","leaf-filtered"].includes(e)},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:Number,noConnectors:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazy-load","after-show","after-hide"],setup(e,{slots:t,emit:n}){const{proxy:r}=(0,o.getCurrentInstance)(),{$q:i}=r,a=Ne(e,i),l=(0,o.ref)({}),s=(0,o.ref)(e.ticked||[]),u=(0,o.ref)(e.expanded||[]);let c={};(0,o.onBeforeUpdate)((()=>{c={}}));const d=(0,o.computed)((()=>"q-tree"+(!0===e.noConnectors?" q-tree--no-connectors":"")+(!0===a.value?" q-tree--dark":"")+(void 0!==e.color?` text-${e.color}`:""))),A=(0,o.computed)((()=>void 0!==e.selected)),p=(0,o.computed)((()=>e.icon||i.iconSet.tree.icon)),f=(0,o.computed)((()=>e.controlColor||e.color)),h=(0,o.computed)((()=>void 0!==e.textColor?` text-${e.textColor}`:"")),m=(0,o.computed)((()=>{const t=e.selectedColor||e.color;return t?` text-${t}`:""})),v=(0,o.computed)((()=>void 0!==e.filterMethod?e.filterMethod:(t,n)=>{const o=n.toLowerCase();return t[e.labelKey]&&t[e.labelKey].toLowerCase().indexOf(o)>-1})),g=(0,o.computed)((()=>{const t={},n=(o,r)=>{const i=o.tickStrategy||(r?r.tickStrategy:e.tickStrategy),a=o[e.nodeKey],c=o[e.childrenKey]&&o[e.childrenKey].length>0,d=!0!==c,p=!0!==o.disabled&&!0===A.value&&!1!==o.selectable,f=!0!==o.disabled&&!1!==o.expandable,h="none"!==i,m="strict"===i,g="leaf-filtered"===i,y="leaf"===i||"leaf-filtered"===i;let b=!0!==o.disabled&&!1!==o.tickable;!0===y&&!0===b&&r&&!0!==r.tickable&&(b=!1);let w=o.lazy;!0===w&&void 0!==l.value[a]&&!0===Array.isArray(o[e.childrenKey])&&(w=l.value[a]);const L={key:a,parent:r,isParent:c,isLeaf:d,lazy:w,disabled:o.disabled,link:!0!==o.disabled&&(!0===p||!0===f&&(!0===c||!0===w)),children:[],matchesFilter:!e.filter||v.value(o,e.filter),selected:a===e.selected&&!0===p,selectable:p,expanded:!0===c&&u.value.includes(a),expandable:f,noTick:!0===o.noTick||!0!==m&&w&&"loaded"!==w,tickable:b,tickStrategy:i,hasTicking:h,strictTicking:m,leafFilteredTicking:g,leafTicking:y,ticked:(!0===m||!0===d)&&s.value.includes(a)};if(t[a]=L,!0===c&&(L.children=o[e.childrenKey].map((e=>n(e,L))),e.filter&&(!0!==L.matchesFilter?L.matchesFilter=L.children.some((e=>e.matchesFilter)):!0!==L.noTick&&!0!==L.disabled&&!0===L.tickable&&!0===g&&!0===L.children.every((e=>!0!==e.matchesFilter||!0===e.noTick||!0!==e.tickable))&&(L.tickable=!1)),!0===L.matchesFilter&&(!0!==L.noTick&&!0!==m&&!0===L.children.every((e=>e.noTick))&&(L.noTick=!0),y))){if(L.ticked=!1,L.indeterminate=L.children.some((e=>!0===e.indeterminate)),L.tickable=!0===L.tickable&&L.children.some((e=>e.tickable)),!0!==L.indeterminate){const e=L.children.reduce(((e,t)=>!0===t.ticked?e+1:e),0);e===L.children.length?L.ticked=!0:e>0&&(L.indeterminate=!0)}!0===L.indeterminate&&(L.indeterminateNextState=L.children.every((e=>!0!==e.tickable||!0!==e.ticked)))}return L};
2return e.nodes.forEach((e=>n(e,null))),t}));function b(t){const n=[].reduce,o=(r,i)=>r||!i?r:!0===Array.isArray(i)?n.call(Object(i),o,r):i[e.nodeKey]===t?i:i[e.childrenKey]?o(null,i[e.childrenKey]):void 0;return o(null,e.nodes)}function w(){const t=u.value,o=n=>{n[e.childrenKey]&&n[e.childrenKey].length>0&&!1!==n.expandable&&!0!==n.disabled&&(t.push(n[e.nodeKey]),n[e.childrenKey].forEach(o))};e.nodes.forEach(o),void 0!==e.expanded?n("update:expanded",t):u.value=t}function L(t,r,i=b(t),a=g.value[t]){if(a.lazy&&"loaded"!==a.lazy){if("loading"===a.lazy)return;l.value[t]="loading",!0!==Array.isArray(i[e.childrenKey])&&(i[e.childrenKey]=[]),n("lazy-load",{node:i,key:t,done:n=>{l.value[t]="loaded",i[e.childrenKey]=!0===Array.isArray(n)?n:[],(0,o.nextTick)((()=>{const e=g.value[t];e&&!0===e.isParent&&C(t,!0)}))},fail:()=>{delete l.value[t],0===i[e.childrenKey].length&&delete i[e.childrenKey]}})}else!0===a.isParent&&!0===a.expandable&&C(t,r)}function C(t,o){let r=u.value;const i=void 0!==e.expanded;if(!0===i&&(r=r.slice()),o){if(e.accordion&&g.value[t]){const n=[];g.value[t].parent?g.value[t].parent.children.forEach((e=>{e.key!==t&&!0===e.expandable&&n.push(e.key)})):e.nodes.forEach((o=>{const r=o[e.nodeKey];r!==t&&n.push(r)})),n.length>0&&(r=r.filter((e=>!1===n.includes(e))))}r=r.concat([t]).filter(((e,t,n)=>n.indexOf(e)===t))}else r=r.filter((e=>e!==t));!0===i?n("update:expanded",r):u.value=r}function B(t,o){let r=s.value;const i=void 0!==e.ticked;!0===i&&(r=r.slice()),r=o?r.concat(t).filter(((e,t,n)=>n.indexOf(e)===t)):r.filter((e=>!1===t.includes(e))),!0===i&&n("update:ticked",r)}function _(t,n,o){const i={tree:r,node:t,key:o,color:e.color,dark:a.value};return Object.defineProperty(i,"expanded",{get:()=>n.expanded,set:e=>{e!==n.expanded&&L(o,e)},configurable:!0,enumerable:!0}),Object.defineProperty(i,"ticked",{get:()=>n.ticked,set:e=>{e!==n.ticked&&B([o],e)},configurable:!0,enumerable:!0}),i}function k(t){return(e.filter?t.filter((t=>g.value[t[e.nodeKey]].matchesFilter)):t).map((e=>T(e)))}function x(e){if(void 0!==e.icon)return(0,o.h)(ke,{class:"q-tree__icon q-mr-sm",name:e.icon,color:e.iconColor});const t=e.img||e.avatar;return t?(0,o.h)("img",{class:`q-tree__${e.img?"img":"avatar"} q-mr-sm`,src:t}):void 0}function S(){n("after-show")}function E(){n("after-hide")}function T(n){const r=n[e.nodeKey],i=g.value[r],l=n.header&&t[`header-${n.header}`]||t["default-header"],s=!0===i.isParent?k(n[e.childrenKey]):[],u=s.length>0||i.lazy&&"loaded"!==i.lazy;let d=n.body&&t[`body-${n.body}`]||t["default-body"];const A=void 0!==l||void 0!==d?_(n,i,r):null;return void 0!==d&&(d=(0,o.h)("div",{class:"q-tree__node-body relative-position"},[(0,o.h)("div",{class:h.value},[d(A)])])),(0,o.h)("div",{key:r,class:"q-tree__node relative-position q-tree__node--"+(!0===u?"parent":"child")},[(0,o.h)("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(!0===i.link?" q-tree__node--link q-hoverable q-focusable":"")+(!0===i.selected?" q-tree__node--selected":"")+(!0===i.disabled?" q-tree__node--disabled":""),tabindex:!0===i.link?0:-1,onClick:e=>{F(n,i,e)},onKeypress(e){!0!==U(e)&&(13===e.keyCode?F(n,i,e,!0):32===e.keyCode&&V(n,i,e,!0))}},[(0,o.h)("div",{class:"q-focus-helper",tabindex:-1,ref:e=>{c[i.key]=e}}),"loading"===i.lazy?(0,o.h)(Ye,{class:"q-tree__spinner q-mr-xs",color:f.value}):!0===u?(0,o.h)(ke,{class:"q-tree__arrow q-mr-xs"+(!0===i.expanded?" q-tree__arrow--rotate":""),name:p.value,onClick(e){V(n,i,e)}}):null,!0===i.hasTicking&&!0!==i.noTick?(0,o.h)(fo,{class:"q-mr-xs",modelValue:!0===i.indeterminate?null:i.ticked,color:f.value,dark:a.value,dense:!0,keepColor:!0,disable:!0!==i.tickable,onKeydown:y,"onUpdate:modelValue":e=>{!function(e,t){if(!0===e.indeterminate&&(t=e.indeterminateNextState),e.strictTicking)B([e.key],t);else if(e.leafTicking){const n=[],o=e=>{e.isParent?(!0!==t&&!0!==e.noTick&&!0===e.tickable&&n.push(e.key),!0===e.leafTicking&&e.children.forEach(o)):!0===e.noTick||!0!==e.tickable||!0===e.leafFilteredTicking&&!0!==e.matchesFilter||n.push(e.key)};o(e),B(n,t)}}(i,e)}}):null,(0,o.h)("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(!0===i.selected?m.value:h.value)},[l?l(A):[x(n),(0,o.h)("div",n[e.labelKey])]])]),!0===u?(0,o.h)(Pi,{duration:e.duration,onShow:S,onHide:E},(()=>(0,o.withDirectives)((0,o.h)("div",{class:"q-tree__node-collapsible"+h.value,key:`${r}__q`},[d,(0,o.h)("div",{class:"q-tree__children"+(!0===i.disabled?" q-tree__node--disabled":"")},s)]),[[o.vShow,i.expanded]]))):d])}function N(e){const t=c[e];t&&t.focus()}function F(t,o,r,i){!0!==i&&N(o.key),A.value?o.selectable&&n("update:selected",o.key!==e.selected?o.key:null):V(t,o,r,i),"function"==typeof t.handler&&t.handler(t)}function V(e,t,n,o){void 0!==n&&y(n),!0!==o&&N(t.key),L(t.key,!t.expanded,e,t)}return(0,o.watch)((()=>e.ticked),(e=>{s.value=e})),(0,o.watch)((()=>e.expanded),(e=>{u.value=e})),Object.assign(r,{getNodeByKey:b,getTickedNodes:function(){return s.value.map((e=>b(e)))},getExpandedNodes:function(){return u.value.map((e=>b(e)))},isExpanded:function(e){return!(!e||!g.value[e])&&g.value[e].expanded}
2,collapseAll:function(){void 0!==e.expanded?n("update:expanded",[]):u.value=[]},expandAll:w,setExpanded:L,isTicked:function(e){return!(!e||!g.value[e])&&g.value[e].ticked},setTicked:B}),!0===e.defaultExpandAll&&w(),()=>{const t=k(e.nodes);return(0,o.h)("div",{class:d.value},0===t.length?e.filter?e.noResultsLabel||i.lang.tree.noResults:e.noNodesLabel||i.lang.tree.noNodes:t)}}});function qu(e){return(100*e).toFixed(2)+"%"}const Mu={...Te,...ya,label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},Iu=[...ba,"start","finish","added","removed"];function Pu(e){return"function"==typeof e?e:()=>e}const Du={url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:e=>e.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function};var Hu={name:"QUploader",props:Du,emits:["factory-failed","uploaded","failed","uploading"],injectPlugin:function({props:e,emit:t,helpers:n}){const r=(0,o.ref)([]),i=(0,o.ref)([]),a=(0,o.ref)(0),l=(0,o.computed)((()=>({url:Pu(e.url),method:Pu(e.method),headers:Pu(e.headers),formFields:Pu(e.formFields),fieldName:Pu(e.fieldName),withCredentials:Pu(e.withCredentials),sendRaw:Pu(e.sendRaw),batch:Pu(e.batch)})));let s;function u(o){if(a.value++,"function"!=typeof e.factory)return void c(o,{});const r=e.factory(o);if(r)if("function"==typeof r.catch&&"function"==typeof r.then){i.value.push(r);const e=e=>{!0===n.isAlive()&&(i.value=i.value.filter((e=>e!==r)),0===i.value.length&&(s=!1),n.queuedFiles.value=n.queuedFiles.value.concat(o),o.forEach((e=>{n.updateFileStatus(e,"failed")})),t("factory-failed",e,o),a.value--)};r.then((t=>{!0===s?e(new Error("Aborted")):!0===n.isAlive()&&(i.value=i.value.filter((e=>e!==r)),c(o,t))})).catch(e)}else c(o,r||{});else t("factory-failed",new Error("QUploader: factory() does not return properly"),o),a.value--}function c(e,o){const i=new FormData,s=new XMLHttpRequest,u=(e,t)=>void 0!==o[e]?Pu(o[e])(t):l.value[e](t),c=u("url",e);if(!c)return console.error("q-uploader: invalid or no URL specified"),void a.value--;const d=u("formFields",e);void 0!==d&&d.forEach((e=>{i.append(e.name,e.value)}));let A,p=0,f=0,h=0,m=0;s.upload.addEventListener("progress",(t=>{if(!0===A)return;const o=Math.min(m,t.loaded);n.uploadedSize.value+=o-h,h=o;let r=h-f;for(let t=p;r>0&&t<e.length;t++){const o=e[t];if(!(r>o.size))return void n.updateFileStatus(o,"uploading",r);r-=o.size,p++,f+=o.size,n.updateFileStatus(o,"uploading",o.size)}}),!1),s.onreadystatechange=()=>{s.readyState<4||(s.status&&s.status<400?(n.uploadedFiles.value=n.uploadedFiles.value.concat(e),e.forEach((e=>{n.updateFileStatus(e,"uploaded")})),t("uploaded",{files:e,xhr:s})):(A=!0,n.uploadedSize.value-=h,n.queuedFiles.value=n.queuedFiles.value.concat(e),e.forEach((e=>{n.updateFileStatus(e,"failed")})),t("failed",{files:e,xhr:s})),a.value--,r.value=r.value.filter((e=>e!==s)))},s.open(u("method",e),c),!0===u("withCredentials",e)&&(s.withCredentials=!0);const v=u("headers",e);void 0!==v&&v.forEach((e=>{s.setRequestHeader(e.name,e.value)}));const g=u("sendRaw",e);e.forEach((e=>{n.updateFileStatus(e,"uploading",0),!0!==g&&i.append(u("fieldName",e),e,e.name),e.xhr=s,e.__abort=()=>{s.abort()},m+=e.size})),t("uploading",{files:e,xhr:s}),r.value.push(s),!0===g?s.send(new Blob(e)):s.send(i)}return{isUploading:(0,o.computed)((()=>a.value>0)),isBusy:(0,o.computed)((()=>i.value.length>0)),abort:function(){r.value.forEach((e=>{e.abort()})),i.value.length>0&&(s=!0)},upload:function(){const e=n.queuedFiles.value.slice(0);n.queuedFiles.value=[],l.value.batch(e)?u(e):e.forEach((e=>{u([e])}))}}}},Ru=(({name:e,props:t,emits:n,injectPlugin:r})=>(0,o.defineComponent)({name:e,props:{...Mu,...t},emits:[...Iu,...n],setup:()=>function(e){const t=(0,o.getCurrentInstance)(),{props:n,slots:r,emit:i,proxy:a}=t,{$q:l}=a,s=Ne(n,l),u={files:(0,o.ref)([]),queuedFiles:(0,o.ref)([]),uploadedFiles:(0,o.ref)([]),uploadedSize:(0,o.ref)(0),updateFileStatus:function(e,t,n){if(e.__status=t,"idle"===t)return e.__uploaded=0,e.__progress=0,e.__sizeLabel=G(e.size),void(e.__progressLabel="0.00%");"failed"!==t?(e.__uploaded="uploaded"===t?e.size:n,e.__progress="uploaded"===t?1:Math.min(.9999,e.__uploaded/e.size),e.__progressLabel=qu(e.__progress),a.$forceUpdate()):a.$forceUpdate()},isAlive:()=>!0!==t.isDeactivated&&!0!==t.isUnmounted};Object.assign(u,e({props:n,slots:r,emit:i,helpers:u}));const c=(0,o.ref)(0),d=(0,o.computed)((()=>!0!==n.disable&&!0!==n.readonly));void 0===u.isBusy&&(u.isBusy=(0,o.ref)(!1));const A=(0,o.ref)(!1),p=(0,o.ref)(null),f=(0,o.ref)(null);(0,o.provide)(z,M);
2const{pickFiles:h,addFiles:m,onDragover:g,processFiles:y,getDndNode:b,maxFilesNumber:w,maxTotalSizeNumber:L}=wa({editable:d,dnd:A,getFileInput:U,addFilesToQueue:Q}),C=(0,o.computed)((()=>!0===d.value&&!0!==u.isUploading.value&&(!0===n.multiple||0===u.queuedFiles.value.length)&&(void 0===n.maxFiles||u.files.value.length<w.value)&&(void 0===n.maxTotalSize||c.value<L.value))),B=(0,o.computed)((()=>!0===d.value&&!0!==u.isBusy.value&&!0!==u.isUploading.value&&u.queuedFiles.value.length>0)),_=(0,o.computed)((()=>0===c.value?0:u.uploadedSize.value/c.value)),k=(0,o.computed)((()=>qu(_.value))),x=(0,o.computed)((()=>G(c.value))),S=(0,o.computed)((()=>"q-uploader column no-wrap"+(!0===s.value?" q-uploader--dark q-dark":"")+(!0===n.bordered?" q-uploader--bordered":"")+(!0===n.square?" q-uploader--square no-border-radius":"")+(!0===n.flat?" q-uploader--flat no-shadow":"")+(!0===n.disable?" disabled q-uploader--disable":""))),E=(0,o.computed)((()=>"q-uploader__header"+(void 0!==n.color?` bg-${n.color}`:"")+(void 0!==n.textColor?` text-${n.textColor}`:"")));function T(){!1===n.disable&&F(["uploaded"],(()=>{u.uploadedFiles.value=[]}))}function N(){F(["idle","failed"],(({size:e})=>{c.value-=e,u.queuedFiles.value=[]}))}function F(e,t){if(!0===n.disable)return;const o={files:[],size:0},r=u.files.value.filter((t=>-1===e.indexOf(t.__status)||(o.size+=t.size,o.files.push(t),void 0!==t._img&&window.URL.revokeObjectURL(t._img.src),!1)));o.files.length>0&&(u.files.value=r,t(o),i("removed",o.files))}function V(e){n.disable||("uploaded"===e.__status?u.uploadedFiles.value=u.uploadedFiles.value.filter((t=>t.name!==e.name)):"uploading"===e.__status?e.__abort():c.value-=e.size,u.files.value=u.files.value.filter((t=>t.name!==e.name||(void 0!==t._img&&window.URL.revokeObjectURL(t._img.src),!1))),u.queuedFiles.value=u.queuedFiles.value.filter((t=>t.name!==e.name)),i("removed",[e]))}function O(){u.files.value.forEach((e=>{void 0!==e._img&&window.URL.revokeObjectURL(e._img.src)}))}function U(){return f.value||p.value.getElementsByClassName("q-uploader__input")[0]}function Q(e,t){const o=y(e,t,u.files.value,!0);if(void 0===o)return;const r=o.filter((e=>-1===u.files.value.findIndex((t=>e.name===t.name)))),a=U();null!=a&&(a.value=""),void 0!==r&&(r.forEach((e=>{if(u.updateFileStatus(e,"idle"),c.value+=e.size,!0!==n.noThumbnails&&e.type.toUpperCase().startsWith("IMAGE")){const t=new Image;t.src=window.URL.createObjectURL(e),e.__img=t}})),u.files.value=u.files.value.concat(r),u.queuedFiles.value=u.queuedFiles.value.concat(r),i("added",r),!0===n.autoUpload&&u.upload())}function q(e,t,n){if(!0===e){const e={type:"a",key:t,icon:l.iconSet.uploader[t],flat:!0,dense:!0};let r;return"add"===t?r=M:e.onClick=n,(0,o.h)(dt,e,r)}}function M(){return(0,o.h)("input",{ref:f,class:"q-uploader__input overflow-hidden absolute-full",tabindex:-1,type:"file",title:"",accept:n.accept,multiple:!0===n.multiple?"multiple":void 0,capture:n.capture,onMousedown:v,onChange:Q})}(0,o.watch)(u.isUploading,((e,t)=>
2{!1===t&&!0===e?i("start"):!0===t&&!1===e&&i("finish")})),(0,o.onBeforeUnmount)((()=>{!0===u.isUploading.value&&u.abort(),u.files.value.length>0&&O()}));const I={pickFiles:h,addFiles:m,reset:function(){!1===n.disable&&(u.abort(),u.uploadedSize.value=0,c.value=0,O(),u.files.value=[],u.queuedFiles.value=[],u.uploadedFiles.value=[])},removeUploadedFiles:T,removeQueuedFiles:N,removeFile:V,upload:function(){!0===B.value&&u.upload()},abort:u.abort},P=(0,o.computed)((()=>{const e={canAddFiles:C.value,canUpload:B.value,uploadSizeLabel:x.value,uploadProgressLabel:k.value};return Object.keys(u).forEach((t=>{e[t]=!0===(0,o.isRef)(u[t])?u[t].value:u[t]})),{...e,...I}}));return Object.assign(a,I),()=>{const e=[(0,o.h)("div",{class:E.value},void 0!==r.header?r.header(P.value):[(0,o.h)("div",{class:"q-uploader__header-content flex flex-center no-wrap q-gutter-xs"},[q(u.queuedFiles.value.length>0,"removeQueue",N),q(u.uploadedFiles.value.length>0,"removeUploaded",T),!0===u.isUploading.value?(0,o.h)(Ye,{class:"q-uploader__spinner"}):null,(0,o.h)("div",{class:"col column justify-center"},[void 0!==n.label?(0,o.h)("div",{class:"q-uploader__title"},[n.label]):null,(0,o.h)("div",{class:"q-uploader__subtitle"},[x.value+" / "+k.value])]),q(C.value,"add"),q(!1===n.hideUploadBtn&&!0===B.value,"upload",u.upload),q(u.isUploading.value,"clear",u.abort)])]),(0,o.h)("div",{class:"q-uploader__list scroll"},void 0!==r.list?r.list(P.value):u.files.value.map((e=>(0,o.h)("div",{key:e.name,class:"q-uploader__file relative-position"+(!0!==n.noThumbnails&&void 0!==e.__img?" q-uploader__file--img":"")+("failed"===e.__status?" q-uploader__file--failed":"uploaded"===e.__status?" q-uploader__file--uploaded":""),style:!0!==n.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")'}:null},[(0,o.h)("div",{class:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?(0,o.h)(ke,{class:"q-uploader__file-status",name:l.iconSet.type.negative,color:"negative"}):null,(0,o.h)("div",{class:"q-uploader__file-header-content col"},[(0,o.h)("div",{class:"q-uploader__title"},[e.name]),(0,o.h)("div",{class:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?(0,o.h)(bo,{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}):(0,o.h)(dt,{round:!0,dense:!0,flat:!0,icon:l.iconSet.uploader["uploaded"===e.__status?"done":"clear"],onClick:()=>{V(e)}})])])))),b("uploader")];!0===u.isBusy.value&&e.push((0,o.h)("div",{class:"q-uploader__overlay absolute-full flex flex-center"},[(0,o.h)(Ye)]));const t={ref:p,class:S.value};return!0===C.value&&(t.onDragover=g),(0,o.h)("div",t,e)}}(r)}))(Hu),ju=(0,o.defineComponent)({name:"QUploaderAddTrigger",setup:()=>(0,o.inject)(z,(()=>{console.error("QUploaderAddTrigger needs to be child of QUploader")}))}),$u=(0,o.defineComponent)({name:"QVideo",props:{...Sa,src:{type:String,required:!0}},setup(e){const t=Ea(e),n=(0,o.computed)((()=>"q-video"+(void 0!==e.ratio?" q-video--responsive":"")));return()=>(0,o.h)("div",{class:n.value,style:t.value},[(0,o.h)("iframe",{src:e.src,frameborder:"0",allowfullscreen:!0})])}});Object.freeze({__proto__:null,QAjaxBar:ae,QAvatar:xe,QBadge:Ee,QBanner:Fe,QBar:Ve,QBreadcrumbs:De,QBreadcrumbsEl:ze,QBtn:dt,QBtnDropdown:_n,QBtnGroup:At,QBtnToggle:Tn,QCard:Nn,QCardSection:Fn,QCardActions:Vn,QCarousel:oo,QCarouselSlide:ro,QCarouselControl:io,QChatMessage:ao,QCheckbox:fo,QChip:mo,QCircularProgress:bo,QColor:lr,QDate:Zr,QDialog:mi,QDrawer:vi,QEditor:Mi,QExpansionItem:Zi,QFab:oa,QFabAction:aa,QField:ma,QFile:Ca,QFooter:Ba,QForm:_a,QFormChildMixin:ka,QHeader:xa,QIcon:ke,QImg:Va,QInfiniteScroll:Oa,QInnerLoading:Ua,QInput:Ka,QIntersection:Ja,QList:Xa,QItem:Bi,QItemSection:_i,QItemLabel:Ii,QKnob:nl,QLayout:al,QMarkupTable:sl,QMenu:Bn,QNoSsr:ul,QOptionGroup:hl,QPage:ml,QPageContainer:vl,QPageScroller:bl,QPageSticky:wl,QPagination:Ll,QParallax:_l,QPopupEdit:xl,QPopupProxy:Sl,QLinearProgress:Nl,QPullToRefresh:Vl,QRadio:dl,QRange:ql,QRating:Ml,QResizeObserver:Oo,QResponsive:Il,QScrollArea:Hl,QScrollObserver:il,QSelect:rs,QSeparator:Ri,QSkeleton:ls,QSlideItem:us,QSlideTransition:Pi,QSlider:To,QSpace:ds,QSpinner:Ye,QSpinnerAudio:ps,QSpinnerBall:hs,QSpinnerBars:vs,QSpinnerBox:ys,QSpinnerClock:ws,QSpinnerComment:Cs,QSpinnerCube:_s,QSpinnerDots:xs,QSpinnerFacebook:Es,QSpinnerGears:Ns,QSpinnerGrid:Vs,QSpinnerHearts:Us,QSpinnerHourglass:qs,QSpinnerInfinity:Is,QSpinnerIos:Ds,QSpinnerOrbit:Rs,QSpinnerOval:$s,QSpinnerPie:Ks,QSpinnerPuff:Ys,QSpinnerRadio:Zs,QSpinnerRings:Xs,QSpinnerTail:tu,QS
2plitter:nu,QStep:au,QStepper:su,QStepperNavigation:uu,QTabPanels:Ro,QTabPanel:jo,QTable:ku,QTh:cu,QTr:xu,QTd:Su,QTabs:qo,QTab:Ho,QRouteTab:Eu,QTime:Nu,QTimeline:Fu,QTimelineEntry:Vu,QToggle:Al,QToolbar:Ou,QToolbarTitle:Uu,QTooltip:Ci,QTree:Qu,QUploader:Ru,QUploaderAddTrigger:ju,QVideo:$u,QVirtualScroll:fu});function zu(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}var Ku={name:"close-popup",beforeMount(e,{value:t}){const n={depth:zu(t),handler(t){0!==n.depth&&setTimeout((()=>{const o=function(e){return Tt.find((t=>null!==t.__qPortalInnerRef.value&&t.__qPortalInnerRef.value.contains(e)))}(e);void 0!==o&&function(e,t,n){for(;0!==n&&null!=e;){if(void 0!==e.__qPortalInnerRef){if(n--,"QMenu"===e.$options.name){e=Nt(e,t);continue}e.hide(t)}e=Me(e)}}(o,t,n.depth)}))},handlerKey(e){!0===Q(e,13)&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=zu(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}};let Wu,Yu=0;function Gu(e,t){void 0===Wu&&(Wu=document.createElement("div"),Wu.style.cssText="position: absolute; left: 0; top: 0",document.body.appendChild(Wu));const n=e.getBoundingClientRect(),o=Wu.getBoundingClientRect(),{marginLeft:r,marginRight:i,marginTop:a,marginBottom:l}=window.getComputedStyle(e),s=parseInt(r,10)+parseInt(i,10),u=parseInt(a,10)+parseInt(l,10);return{left:n.left-o.left,top:n.top-o.top,width:n.right-n.left,height:n.bottom-n.top,widthM:n.right-n.left+(!0===t?0:s),heightM:n.bottom-n.top+(!0===t?0:u),marginH:!0===t?s:0,marginV:!0===t?u:0}}function Zu(e){return{width:e.scrollWidth,height:e.scrollHeight}}const Ju=["Top","Right","Bottom","Left"],Xu=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],ec=/-block|-inline|block-|inline-/,tc=/(-block|-inline|block-|inline-).*:/;function nc(e,t){const n=window.getComputedStyle(e),o={};for(let e=0;e<t.length;e++){const r=t[e];if(""===n[r])if("cssText"===r){const e=n.length;let t="";for(let o=0;o<e;o++)!0!==ec.test(n[o])&&(t+=n[o]+": "+n[n[o]]+"; ");o[r]=t}else if(["borderWidth","borderStyle","borderColor"].indexOf(r)>-1){const e=r.replace("border","");let t="";for(let o=0;o<Ju.length;o++){t+=n["border"+Ju[o]+e]+" "}o[r]=t}else if("borderRadius"===r){let e="",t="";for(let o=0;o<Xu.length;o++){const r=n[Xu[o]].split(" ");e+=r[0]+" ",t+=(void 0===r[1]?r[0]:r[1])+" "}o[r]=e+"/ "+t}else o[r]=n[r];else o[r]="cssText"===r?n[r].split(";").filter((e=>!0!==tc.test(e))).join(";"):n[r]}return o}const oc=["absolute","fixed","relative","sticky"];function rc(e){let t=e,n=0;for(;null!==t&&t!==document;){const{position:o,zIndex:r}=window.getComputedStyle(t),i=Number(r);i>n&&(t===e||!0===oc.includes(o))&&(n=i),t=t.parentNode}return n}function ic(e){const t=typeof e;return"function"===t?e():"string"===t?document.querySelector(e):e}function ac(e){return e&&e.ownerDocument===document&&null!==e.parentNode}function lc(e){let t=()=>!1,n=!1,o=!0;const r=function(e){return{from:e.from,to:void 0!==e.to?e.to:e.from}}(e),i=function(e){return"number"==typeof e?e={duration:e}:"function"==typeof e&&(e={onEnd:e}),{...e,waitFor:void 0===e.waitFor?0:e.waitFor,duration:!0===isNaN(e.duration)?300:parseInt(e.duration,10),easing:"string"==typeof e.easing&&e.easing.length>0?e.easing:"ease-in-out",delay:!0===isNaN(e.delay)?0:parseInt(e.delay,10),fill:"string"==typeof e.fill&&e.fill.length>0?e.fill:"none",resize:!0===e.resize,useCSS:!0===e.useCSS,hideFromClone:!0===e.hideFromClone,keepToClone:!0===e.keepToClone,tween:!0===e.tween,tweenFromOpacity:!0===isNaN(e.tweenFromOpacity)?.6:parseFloat(e.tweenFromOpacity),tweenToOpacity:!0===isNaN(e.tweenToOpacity)?.5:parseFloat(e.tweenToOpacity)}}(e),a=ic(r.from);if(!0!==ac(a))return t;let l,s,u,c;"function"==typeof a.qMorphCancel&&a.qMorphCancel();const d=a.parentNode,A=a.nextElementSibling,p=Gu(a,i.resize),{width:f,height:h}=Zu(d),{borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,backgroundColor:b,transform:w,position:L,cssText:C}=nc(a,["borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","transform","position","cssText"]),B=a.classList.toString(),_=a.style.cssText,k=a.cloneNode(!0),x=!0===i.tween?a.cloneNode(!0):void 0;void 0!==x&&(x.className=x.classList.toString().split(" ").filter((e=>!1===/^bg-/.test(e))).join(" ")),!0===i.hideFromClone&&k.classList.add("q-morph--internal"),k.setAttribute("aria-hidden","true"),k.style.transition="none",k.style.animation="none",k.style.pointerEvents="none",d.insertBefore(k,A),a.qMorphCancel=()=>{n=!0,k.remove(),void 0!==x&&x.remove(),!0===i.hideFromClone&&k.classList.remove("q-morph--internal"),a.qMorphCancel=void 0};
2return"function"==typeof e.onToggle&&e.onToggle(),requestAnimationFrame((()=>{const e=ic(r.to);if(!0===n||!0!==ac(e))return void("function"==typeof a.qMorphCancel&&a.qMorphCancel());a!==e&&"function"==typeof e.qMorphCancel&&e.qMorphCancel(),!0!==i.keepToClone&&e.classList.add("q-morph--internal"),k.classList.add("q-morph--internal");const{width:A,height:S}=Zu(d),{width:E,height:T}=Zu(e.parentNode);!0!==i.hideFromClone&&k.classList.remove("q-morph--internal"),e.qMorphCancel=()=>{n=!0,k.remove(),void 0!==x&&x.remove(),!0===i.hideFromClone&&k.classList.remove("q-morph--internal"),!0!==i.keepToClone&&e.classList.remove("q-morph--internal"),a.qMorphCancel=void 0,e.qMorphCancel=void 0};const N=()=>{if(!0===n)return void("function"==typeof e.qMorphCancel&&e.qMorphCancel());!0!==i.hideFromClone&&(k.classList.add("q-morph--internal"),k.innerHTML="",k.style.left=0,k.style.right="unset",k.style.top=0,k.style.bottom="unset",k.style.transform="none"),!0!==i.keepToClone&&e.classList.remove("q-morph--internal");const r=e.parentNode,{width:N,height:F}=Zu(r),V=e.cloneNode(i.keepToClone);V.setAttribute("aria-hidden","true"),!0!==i.keepToClone&&(V.style.left=0,V.style.right="unset",V.style.top=0,V.style.bottom="unset",V.style.transform="none",V.style.pointerEvents="none"),V.classList.add("q-morph--internal");const O=e===a&&d===r?k:e.nextElementSibling;r.insertBefore(V,O);const{borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,backgroundColor:I,transform:P,position:D,cssText:H}=nc(e,["borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","transform","position","cssText"]),R=e.classList.toString(),j=e.style.cssText;e.style.cssText=H,e.style.transform="none",e.style.animation="none",e.style.transition="none",e.className=R.split(" ").filter((e=>!1===/^bg-/.test(e))).join(" ");const $=Gu(e,i.resize),z=p.left-$.left,K=p.top-$.top,W=p.width/($.width>0?$.width:10),Y=p.height/($.height>0?$.height:100),G=f-A,Z=h-S,J=N-E,X=F-T,ee=Math.max(p.widthM,G),te=Math.max(p.heightM,Z),ne=Math.max($.widthM,J),oe=Math.max($.heightM,X),re=a===e&&!1===["absolute","fixed"].includes(D)&&!1===["absolute","fixed"].includes(L);let ie="fixed"===D,ae=r;for(;!0!==ie&&ae!==document;)ie="fixed"===window.getComputedStyle(ae).position,ae=ae.parentNode;if(!0!==i.hideFromClone&&(k.style.display="block",k.style.flex="0 0 auto",k.style.opacity=0,k.style.minWidth="unset",k.style.maxWidth="unset",k.style.minHeight="unset",k.style.maxHeight="unset",k.classList.remove("q-morph--internal")),!0!==i.keepToClone&&(V.style.display="block",V.style.flex="0 0 auto",V.style.opacity=0,V.style.minWidth="unset",V.style.maxWidth="unset",V.style.minHeight="unset",V.style.maxHeight="unset"),V.classList.remove("q-morph--internal"),"string"==typeof i.classes&&(e.className+=" "+i.classes),"string"==typeof i.style)e.style.cssText+=" "+i.style;else if(i.style===Object(i.style))for(const t in i.style)e.style[t]=i.style[t];const le=rc(k),se=rc(e),ue=!0===ie?document.documentElement:{scrollLeft:0,scrollTop:0};e.style.position=!0===ie?"fixed":"absolute",e.style.left=$.left-ue.scrollLeft+"px",e.style.right="unset",e.style.top=$.top-ue.scrollTop+"px",e.style.margin=0,!0===i.resize&&(e.style.minWidth="unset",e.style.maxWidth="unset",e.style.minHeight="unset",e.style.maxHeight="unset",e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden"),document.body.appendChild(e),void 0!==x&&(x.style.cssText=C,x.style.transform="none",x.style.animation="none",x.style.transition="none",x.style.position=e.style.position,x.style.left=p.left-ue.scrollLeft+"px",x.style.right="unset",x.style.top=p.top-ue.scrollTop+"px",x.style.margin=0,x.style.pointerEvents="none",!0===i.resize&&(x.style.minWidth="unset",x.style.maxWidth="unset",x.style.minHeight="unset",x.style.maxHeight="unset",x.style.overflow="hidden",x.style.overflowX="hidden",x.style.overflowY="hidden"),document.body.appendChild(x));const ce=n=>{a===e&&!0!==o?(e.style.cssText=_,e.className=B):(e.style.cssText=j,e.className=R),V.parentNode===r&&r.insertBefore(e,V),k.remove(),V.remove(),void 0!==x&&x.remove(),t=()=>!1,a.qMorphCancel=void 0,e.qMorphCancel=void 0,"function"==typeof i.onEnd&&i.onEnd(!0===o?"to":"from",!0===n)};if(!0!==i.useCSS&&"function"==typeof e.animate){const r=!0===i.resize?{transform:`translate(${z}px, ${K}px)`,width:`${ee}px`,height:`${te}px`}:{transform:`translate(${z}px, ${K}px) scale(${W}, ${Y})`},d=!0===i.resize?{width:`${ne}px`,height:`${oe}px`}:{},A=!0===i.resize?{width:`${ee}px`,height:`${te}px`}:{},f=!0===i.resize?{transform:`translate(${-1*z}px, ${-1*K}px)`,width:`${ne}px`,height:`${oe}px`}:{transform:`translate(${-1*z}px, ${-1*K}px) scale(${1/W}, ${1/Y})`},h=void 0!==x?{opacity:i.tweenToOpacity}:{backgroundColor:b},L=void 0!==x?{opacity:1}:{backgroundColor:I};c=e.animate([{margin:0,borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,zIndex:le,transformOrigin:"0 0",...r,...h},{margin:0,borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,zIndex:se,transformOrigin:"0 0",transform:P,...d,...L}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),s=void 0===x?void 0:x.animate([{opacity:i.tweenFromOpacity,margin:0,borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,zIndex:le,transformOrigin:"0 0",transform:w,...A},{opacity:0,margin:0,borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,zIndex:se,transformOrigin:"0 0",...f}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),l=!0===i.hideFromClone||!0===re?void 0:k.animate([{margin:`${Z<0?Z/2:0}px ${G<0?G/2:0}px`,width:`${ee+p.marginH}px`,height:`${te+p.marginV}px`},{margin:0,width:0,height:0}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),u=!0===i.keepToClone?void 0:V.animate([!0===re?{margin:`${Z<0?Z/2:0}px ${G<0?G/2:0}px`,width:`${ee+p.marginH}px`,height:`${te+p.marginV}px`}:{margin:0,width:0,height:0},{margin:`${X<0?X/2:0}px ${J<0?J/2:0}px`,width:`${ne+$.marginH}px`,height:`${oe+$.marginV}px`}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay});const C=e=>{void 0!==l&&l.cancel(),void 0!==s&&s.cancel(),void 0!==u&&u.cancel(),c.cancel(),c.removeEventListener("finish",C),c.removeEventListener("cancel",C),ce(e),l=void 0,s=void 0,u=void 0,c=void 0};a.qMorphCancel=()=>{a.qMorphCancel=void 0,n=!0,C()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,C()},c.addEventListener("finish",C),c.addEventListener("cancel",C),t=e=>!0!==n&&void 0!==c&&(!0===e?(C(!0),!0):(o=!0!==o,void 0!==l&&l.reverse(),void 0!==s&&s.reverse(),void 0!==u&&u.reverse(),c.reverse(),!0))}else{const r="q-morph-anim-"+ ++Yu,l=document.createElement("style"),s=!0===i.resize?`\n transform: translate(${z}px, ${K}px);\n width: ${ee}px;\n height: ${te}px;\n `:`transform: translate(${z}px, ${K}px) scale(${W}, ${Y});`,u=!0===i.resize?`\n width: ${ne}px;\n height: ${oe}px;\n `:"",c=!0===i.resize?`\n width: ${ee}px;\n height: ${te}px;\n `:"",d=!0===i.resize?`\n transform: translate(${-1*z}px, ${-1*K}px);\n width: ${ne}px;\n height: ${oe}px;\n `:`transform: translate(${-1*z}px, ${-1*K}px) scale(${1/W}, ${1/Y});`,A=void 0!==x?`opacity: ${i.tweenToOpacity};`:`background-color: ${b};
2`,f=void 0!==x?"opacity: 1;":`background-color: ${I};`,h=void 0===x?"":`\n @keyframes ${r}-from-tween {\n 0% {\n opacity: ${i.tweenFromOpacity};\n margin: 0;\n border-width: ${m};\n border-style: ${v};\n border-color: ${g};\n border-radius: ${y};\n z-index: ${le};\n transform-origin: 0 0;\n transform: ${w};\n ${c}\n }\n\n 100% {\n opacity: 0;\n margin: 0;\n border-width: ${U};\n border-style: ${Q};\n border-color: ${q};\n border-radius: ${M};\n z-index: ${se};\n transform-origin: 0 0;\n ${d}\n }\n }\n `,L=!0===i.hideFromClone||!0===re?"":`\n @keyframes ${r}-from {\n 0% {\n margin: ${Z<0?Z/2:0}px ${G<0?G/2:0}px;\n width: ${ee+p.marginH}px;\n height: ${te+p.marginV}px;\n }\n\n 100% {\n margin: 0;\n width: 0;\n height: 0;\n }\n }\n `,C=!0===re?`\n margin: ${Z<0?Z/2:0}px ${G<0?G/2:0}px;\n width: ${ee+p.marginH}px;\n height: ${te+p.marginV}px;\n `:"\n margin: 0;\n width: 0;\n height: 0;\n ",B=!0===i.keepToClone?"":`\n @keyframes ${r}-to {\n 0% {\n ${C}\n }\n\n 100% {\n margin: ${X<0?X/2:0}px ${J<0?J/2:0}px;\n width: ${ne+$.marginH}px;\n height: ${oe+$.marginV}px;\n }\n }\n `;l.innerHTML=`\n @keyframes ${r} {\n 0% {\n margin: 0;\n border-width: ${m};\n border-style: ${v};\n border-color: ${g};\n border-radius: ${y};\n background-color: ${b};\n z-index: ${le};\n transform-origin: 0 0;\n ${s}\n ${A}\n }\n\n 100% {\n margin: 0;\n border-width: ${U};\n border-style: ${Q};\n border-color: ${q};\n border-radius: ${M};\n background-color: ${I};\n z-index: ${se};\n transform-origin: 0 0;\n transform: ${P};\n ${u}\n ${f}\n }\n }\n\n ${L}\n\n ${h}\n\n ${B}\n `,document.head.appendChild(l);let _="normal";k.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-from`,void 0!==x&&(x.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-from-tween`),V.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-to`,e.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}`;const S=t=>{t===Object(t)&&t.animationName!==r||(e.removeEventListener("animationend",S),e.removeEventListener("animationcancel",S),ce(),l.remove())};a.qMorphCancel=()=>{a.qMorphCancel=void 0,n=!0,S()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,S()},e.addEventListener("animationend",S),e.addEventListener("animationcancel",S),t=t=>
2!!(!0!==n&&e&&k&&V)&&(!0===t?(S(),!0):(o=!0!==o,_="normal"===_?"reverse":"normal",k.style.animationDirection=_,x.style.animationDirection=_,V.style.animationDirection=_,e.style.animationDirection=_,!0))}};if(i.waitFor>0||"transitionend"===i.waitFor||i.waitFor===Object(i.waitFor)&&"function"==typeof i.waitFor.then){const t=i.waitFor>0?new Promise((e=>setTimeout(e,i.waitFor))):"transitionend"===i.waitFor?new Promise((t=>{const n=setTimeout((()=>{o()}),400),o=r=>{clearTimeout(n),e&&(e.removeEventListener("transitionend",o),e.removeEventListener("transitioncancel",o)),t()};e.addEventListener("transitionend",o),e.addEventListener("transitioncancel",o)})):i.waitFor;t.then(N).catch((()=>{"function"==typeof e.qMorphCancel&&e.qMorphCancel()}))}else N()})),e=>t(e)}const sc={},uc=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],cc=["resize","useCSS","hideFromClone","keepToClone","tween"];function dc(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function Ac(e){if(!0===e.animating||e.queue.length<2)return;const[t,n]=e.queue;e.animating=!0,t.animating=!0,n.animating=!0,dc(t,"remove"),dc(n,"remove");const o=lc({from:t.el,to:n.el,onToggle(){dc(t,"add"),dc(n,"remove")},...n.opts,onEnd(o,r){void 0!==n.opts.onEnd&&n.opts.onEnd(o,r),!0!==r&&(t.animating=!1,n.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),Ac(e))}});e.cancel=()=>{o(!0),e.cancel=void 0}}function pc(e,t){const n=t.opts;cc.forEach((t=>{n[t]=!0===e[t]}))}function fc(e,t){if(t.name!==e)!1===t.animating&&dc(t,"add");else{const n=sc[t.group];void 0===n?(sc[t.group]={name:t.group,model:e,queue:[t],animating:!1},dc(t,"remove")):n.model!==e&&(n.model=e,n.queue.push(t),!1===n.animating&&2===n.queue.length&&Ac(n))}}function hc(e,t){let n;Object(t)===t?(n=""+t.model,function(e,t){void 0!==e.group&&(t.group=e.group),void 0!==e.name&&(t.name=e.name);const n=t.opts;uc.forEach((t=>{void 0!==e[t]&&(n[t]=e[t])}))}(t,e),pc(t,e)):n=""+t,n!==e.model?(e.model=n,fc(n,e)):!1===e.animating&&void 0!==e.clsAction&&e.el.classList[e.clsAction]("q-morph--invisible")}var mc={name:"morph",mounted(e,t){const n={el:e,animating:!1,opts:{}};pc(t.modifiers,n),function(e,t){const n="string"==typeof e&&e.length>0?e.split(":"):[];t.name=n[0],t.group=n[1],Object.assign(t.opts,{duration:!0===isNaN(n[2])?300:parseFloat(n[2]),waitFor:n[3]})}(t.arg,n),hc(n,t.value),e.__qmorph=n},updated(e,t){hc(e.__qmorph,t.value)},beforeUnmount(e){const t=e.__qmorph,n=sc[t.group];if(void 0!==n){-1!==n.queue.indexOf(t)&&(n.queue=n.queue.filter((e=>e!==t)),0===n.queue.length&&(void 0!==n.cancel&&n.cancel(),delete sc[t.group]))}"add"===t.clsAction&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}};const vc={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function gc(e,t,n){t.handler=n,void 0!==t.observer&&t.observer.disconnect(),t.observer=new MutationObserver((n=>{if("function"==typeof t.handler){!1!==t.handler(n)&&!0!==t.once||yc(e)}})),t.observer.observe(e,t.opts)}function yc(e){const t=e.__qmutation;void 0!==t&&(void 0!==t.observer&&t.observer.disconnect(),delete e.__qmutation)}var bc={name:"mutation",mounted(e,{modifiers:{once:t,...n},value:o}){const r={once:t,opts:0===Object.keys(n).length?vc:n};gc(e,r,o),e.__qmutation=r},updated(e,{oldValue:t,value:n}){const o=e.__qmutation;void 0!==o&&t!==n&&gc(e,o,n)},beforeUnmount:yc};const{passive:wc}=A;function Lc(e,{value:t,oldValue:n}){"function"==typeof t?(e.handler=t,"function"!=typeof n&&(e.scrollTarget.addEventListener("scroll",e.scroll,wc),e.scroll())):e.scrollTarget.removeEventListener("scroll",e.scroll,wc)}var Cc={name:"scroll-fire",mounted(e,t){const n={scrollTarget:Mt(e),scroll:C((()=>{let t,o;n.scrollTarget===window?(o=e.getBoundingClientRect().bottom,t=window.innerHeight):(o=Ge(e).top+Ze(e),t=Ge(n.scrollTarget).top+Ze(n.scrollTarget)),o>0&&o<t&&(n.scrollTarget.removeEventListener("scroll",n.scroll,wc),n.handler(e))}),25)};Lc(n,t),e.__qscrollfire=n},updated(e,t){t.value!==t.oldValue&&Lc(e.__qscrollfire,t)},beforeUnmount(e){const t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,wc),delete e.__qscrollfire}};function Bc(e,{value:t,oldValue:n}){"function"==typeof t?(e.handler=t,"function"!=typeof n&&e.scrollTarget.addEventListener("scroll",e.scroll,A.passive)):e.scrollTarget.removeEventListener("scroll",e.scroll,A.passive)}var _c={name:"scroll",mounted(e,t){const n={scrollTarget:Mt(e),scroll(){n.handler(Pt(n.scrollTarget),Dt(n.scrollTarget))}};Bc(n,t),e.__qscroll=n},updated(e,t){void 0!==e.__qscroll&&t.oldValue!==t.value&&Bc(e.__qscroll,t)},beforeUnmount(e){const t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,A.passive),delete e.__qscroll}},kc={name:"touch-hold",beforeMount(e,t){const{modifiers:n}=t;if(!0!==n.mouse&&!0!==u.has.touch)return;const o={handler:t.value,noop:p,mouseStart(e){"function"==typeof o.handler&&!0===f(e)&&(w(o,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),o.start(e,!0))},touchStart(e){if(void 0!==e.target&&"function"==typeof o.handler){const t=e.target;w(o,"temp",[[t,"touchmove","move","passiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),o.start(e)}},start(e,t){o.origin=h(e);const n=Date.now();!0===u.is.mobile&&(document.body.classList.add("non-selectable"),pt(),o.styleCleanup=e=>{o.styleCleanup=void 0;const t=()=>{document.body.classList.remove("non-selectable")};
2!0===e?(pt(),setTimeout(t,10)):t()}),o.triggered=!1,o.sensitivity=!0===t?o.mouseSensitivity:o.touchSensitivity,o.timer=setTimeout((()=>{pt(),o.triggered=!0,o.handler({evt:e,touch:!0!==t,mouse:!0===t,position:o.origin,duration:Date.now()-n})}),o.duration)},move(e){const{top:t,left:n}=h(e);(Math.abs(n-o.origin.left)>=o.sensitivity||Math.abs(t-o.origin.top)>=o.sensitivity)&&clearTimeout(o.timer)},end(e){L(o,"temp"),void 0!==o.styleCleanup&&o.styleCleanup(o.triggered),!0===o.triggered?void 0!==e&&y(e):clearTimeout(o.timer)}},r=[600,5,7];"string"==typeof t.arg&&t.arg.length>0&&t.arg.split(":").forEach(((e,t)=>{const n=parseInt(e,10);n&&(r[t]=n)})),[o.duration,o.touchSensitivity,o.mouseSensitivity]=r,e.__qtouchhold=o,!0===n.mouse&&w(o,"main",[[e,"mousedown","mouseStart","passive"+(!0===n.mouseCapture?"Capture":"")]]),!0===u.has.touch&&w(o,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchhold;void 0!==n&&t.oldValue!==t.value&&("function"!=typeof t.value&&n.end(),n.handler=t.value)},beforeUnmount(e){const t=e.__qtouchhold;void 0!==t&&(L(t,"main"),L(t,"temp"),clearTimeout(t.timer),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchhold)}};const xc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Sc=new RegExp(`^([\\d+]+|${Object.keys(xc).join("|")})$`,"i");var Ec={name:"touch-repeat",beforeMount(e,{modifiers:t,value:n,arg:o}){const r=Object.keys(t).reduce(((e,t)=>{if(!0===Sc.test(t)){const n=isNaN(parseInt(t,10))?xc[t.toLowerCase()]:parseInt(t,10);n>=0&&e.push(n)}return e}),[]);if(!0!==t.mouse&&!0!==u.has.touch&&0===r.length)return;const i="string"==typeof o&&o.length>0?o.split(":").map((e=>parseInt(e,10))):[0,600,300],a=i.length-1,l={keyboard:r,handler:n,noop:p,mouseStart(e){void 0===l.event&&"function"==typeof l.handler&&!0===f(e)&&(w(l,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),l.start(e,!0))},keyboardStart(t){if("function"==typeof l.handler&&!0===Q(t,r)){if((0===i[0]||void 0!==l.event)&&(y(t),e.focus(),void 0!==l.event))return;w(l,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),l.start(t,!1,!0)}},touchStart(e){if(void 0!==e.target&&"function"==typeof l.handler){const t=e.target;w(l,"temp",[[t,"touchmove","move","passiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),l.start(e)}},start(e,t,n){function o(e){l.styleCleanup=void 0,document.documentElement.style.cursor="";const t=()=>{document.body.classList.remove("non-selectable")};!0===e?(pt(),setTimeout(t,10)):t()}!0!==n&&(l.origin=h(e)),!0===u.is.mobile&&(document.body.classList.add("non-selectable"),pt(),l.styleCleanup=o),l.event={touch:!0!==t&&!0!==n,mouse:!0===t,keyboard:!0===n,startTime:Date.now(),repeatCount:0};const r=()=>{if(void 0===l.event)return;0===l.event.repeatCount&&(l.event.evt=e,!0===n?l.event.keyCode=e.keyCode:l.event.position=h(e),!0!==u.is.mobile&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),pt(),l.styleCleanup=o)),l.event.duration=Date.now()-l.event.startTime,l.event.repeatCount+=1,l.handler(l.event);const t=a<l.event.repeatCount?a:l.event.repeatCount;l.timer=setTimeout(r,i[t])};0===i[0]?r():l.timer=setTimeout(r,i[0])},move(e){void 0!==l.event&&!0===function(e,t){const{top:n,left:o}=h(e);return Math.abs(o-t.left)>=7||Math.abs(n-t.top)>=7}(e,l.origin)&&clearTimeout(l.timer)},end(e){void 0!==l.event&&(void 0!==l.styleCleanup&&l.styleCleanup(!0),void 0!==e&&l.event.repeatCount>0&&y(e),L(l,"temp"),clearTimeout(l.timer),l.event=void 0)}};e.__qtouchrepeat=l,!0===t.mouse&&w(l,"main",[[e,"mousedown","mouseStart","passive"+(!0===t.mouseCapture?"Capture":"")]]),!0===u.has.touch&&w(l,"main",[[e,"touchstart","touchStart","passive"+(!0===t.capture?"Capture":"")],[e,"touchend","noop","notPassiveCapture"]]),r.length>0&&w(l,"main",[[e,"keydown","keyboardStart","notPassive"+(!0===t.keyCapture?"Capture":"")]])},updated(e,{oldValue:t,value:n}){const o=e.__qtouchrepeat;void 0!==o&&t!==n&&("function"!=typeof n&&o.end(),o.handler=n)},beforeUnmount(e){const t=e.__qtouchrepeat;void 0!==t&&(clearTimeout(t.timer),L(t,"main"),L(t,"temp"),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchrepeat)}};Object.freeze({__proto__:null,ClosePopup:Ku,Intersection:Za,Morph:mc,Mutation:bc,Ripple:ot,ScrollFire:Cc,Scroll:_c,TouchHold:kc,TouchPan:Co,TouchRepeat:Ec,TouchSwipe:In});let Tc;function Nc(e){void 0===Tc&&(Tc=u.is.winphone?"msapplication-navbutton-color":u.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color");let t=function(e){const t=document.getElementsByTagName("META");for(const n in t)if(t[n].name===e)return t[n]}(Tc);const n=void 0===t;n&&(t=document.createElement("meta"),t.setAttribute("name",Tc)),t.setAttribute("content",e),n&&document.head.appendChild(t)}!0!==u.is.mobile||!0!==u.is.nativeMobile&&!0!==u.is.winphone&&!0!==u.is.safari&&!0!==u.is.webkit&&u.is.vivaldi;const Fc={};function Vc(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}function Oc(e,t){try{const n=e[t]();return void 0===n?Promise.resolve():n}catch(e){return Promise.reject(e)}}const Uc=d({isActive:!1,activeEl:null},{isCapable:!1,request(e){if(!0===Uc.isCapable&&!1===Uc.isActive){return Oc(e||document.documentElement,Fc.request)}return Uc.__getErr()},exit:()=>!0===Uc.isCapable&&!0===Uc.isActive?Oc(document,Fc.exit):Uc.__getErr(),toggle:e=>!0===Uc.isActive?Uc.exit():Uc.request(e),install({$q:e}){e.fullscreen=this}});Fc.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find((e=>void 0!==document.documentElement[e])),Uc.isCapable=void 0!==Fc.request,!1!==Uc.isCapable?(Uc.__getErr=()=>Promise.resolve(),Fc.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find((e=>document[e])),Uc.isActive=!!Vc(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach((e=>{document[e]=()=>{Uc.isActive=!1===Uc.isActive,!1===Uc.isActive?(Uc.activeEl=null,Et(document.body)):(Uc.activeEl=Vc(),Et(Uc.activeEl===document.documentElement?document.body:Uc.activeEl))}}))):Uc.__getErr=()=>Promise.reject("Not capable");const Qc=d({appVisible:!0},{install({$q:e}){Object.defineProperty(e,"appVisible",{get:()=>this.appVisible})}});{let e,t;if(void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange"),t&&void 0!==document[e]){const n=()=>{Qc.appVisible=!document[e]};document.addEventListener(t,n,!1)}}(0,o.defineComponent)({name:"BottomSheetPlugin",props:{...Te,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,o.getCurrentInstance)(),r=Ne(e,n.$q),i=(0,o.ref)(null);function a(){i.value.hide()}function l(e){t("ok",e),a()}function s(){t("hide")}function u(){const t=[];return e.title&&t.push((0,o.h)(Fn,{class:"q-dialog__title"},(()=>e.title))),e.message&&t.push((0,o.h)(Fn,{class:"q-dialog__message"},(()=>e.message))),t.push(!0===e.grid?(0,o.h)("div",{class:"row items-stretch justify-start"},e.actions.map((e=>{const t=e.avatar||e.img;return void 0===e.label?(0,o.h)(Ri,{class:"col-all",dark:r.value}):(0,o.h)("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",e.class],tabindex:0,onClick(){l(e)},onKeyup(t){13===t.keyCode&&l(e)}},[(0,o.h)("div",{class:"q-focus-helper"}),e.icon?(0,o.h)(ke,{name:e.icon,color:e.color}):t?(0,o.h)("img",{class:e.avatar?"q-bottom-sheet__avatar":"",src:t}):(0,o.h)("div",{class:"q-bottom-sheet__empty-icon"}
2),(0,o.h)("div",e.label)])}))):(0,o.h)("div",e.actions.map((e=>{const t=e.avatar||e.img;return void 0===e.label?(0,o.h)(Ri,{spaced:!0,dark:r.value}):(0,o.h)(Bi,{class:["q-bottom-sheet__item",e.classes],tabindex:0,clickable:!0,dark:r.value,onClick(){l(e)},onKeyup(t){13===t.keyCode&&l(e)}},(()=>[(0,o.h)(_i,{avatar:!0},(()=>e.icon?(0,o.h)(ke,{name:e.icon,color:e.color}):t?(0,o.h)("img",{class:e.avatar?"q-bottom-sheet__avatar":"",src:t}):null)),(0,o.h)(_i,(()=>e.label))]))})))),t}function c(){return[(0,o.h)(Nn,{class:["q-bottom-sheet q-bottom-sheet--"+(!0===e.grid?"grid":"list")+(!0===r.value?" q-bottom-sheet--dark q-dark":""),e.cardClass],style:e.cardStyle},u)]}return Object.assign(n,{show:function(){i.value.show()},hide:a}),()=>(0,o.h)(mi,{ref:i,position:"bottom",onHide:s},c)}});function qc(e){return encodeURIComponent(e)}function Mc(e){return decodeURIComponent(e)}function Ic(e){if(""===e)return e;0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=Mc(e.replace(/\+/g," "));try{e=JSON.parse(e)}catch(e){}return e}function Pc(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function Dc(e,t,n={},o){let r,i;void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?r=n.expires.toUTCString():"string"==typeof n.expires?r=function(e){let t=0;const n=e.match(/(\d+)d/),o=e.match(/(\d+)h/),r=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),o&&(t+=36e5*o[1]),r&&(t+=6e4*r[1]),i&&(t+=1e3*i[1]),0===t?e:Pc(t)}(n.expires):(i=parseFloat(n.expires),r=!1===isNaN(i)?Pc(864e5*i):n.expires));const a=`${qc(e)}=${function(e){return qc(e===Object(e)?JSON.stringify(e):""+e)}(t)}`,l=[a,void 0!==r?"; Expires="+r:"",n.path?"; Path="+n.path:"",n.domain?"; Domain="+n.domain:"",n.sameSite?"; SameSite="+n.sameSite:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?"; "+n.other:""].join("");if(o){o.req.qCookies?o.req.qCookies.push(l):o.req.qCookies=[l],o.res.setHeader("Set-Cookie",o.req.qCookies);let t=o.req.headers.cookie||"";if(void 0!==r&&i<0){const n=Hc(e,o);void 0!==n&&(t=t.replace(`${e}=${n}; `,"").replace(`; ${e}=${n}`,"").replace(`${e}=${n}`,""))}else t=t?`${a}; ${t}`:l;o.req.headers.cookie=t}else document.cookie=l}function Hc(e,t){const n=t?t.req.headers:document,o=n.cookie?n.cookie.split("; "):[],r=o.length;let i,a,l,s=e?null:{},u=0;for(;u<r;u++)if(i=o[u].split("="),a=Mc(i.shift()),l=i.join("="),e){if(e===a){s=Ic(l);break}}else s[a]=l;return s}const Rc={install({$q:e,ssrContext:t}){e.cookies=this}};var jc;Object.assign(Rc,{get:e=>Hc(e,jc),set:(e,t,n)=>Dc(e,t,n,jc),has:e=>function(e,t){return null!==Hc(e,t)}(e,jc),remove:(e,t)=>function(e,t,n){Dc(e,"",{expires:-1,...t},n)}(e,t,jc),getAll:()=>Hc(null,jc)});(0,o.defineComponent)({name:"DialogPlugin",props:{...Te,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,o.getCurrentInstance)(),{$q:r}=n,i=Ne(e,r),a=(0,o.ref)(null),l=(0,o.ref)(void 0!==e.prompt?e.prompt.model:void 0!==e.options?e.options.model:void 0),s=(0,o.computed)((()=>"q-dialog-plugin"+(!0===i.value?" q-dialog-plugin--dark q-dark":"")+(!1!==e.progress?" q-dialog-plugin--progress":""))),u=(0,o.computed)((()=>e.color||(!0===i.value?"amber":"primary"))),c=(0,o.computed)((()=>!1===e.progress?null:Object(e.progress)===e.progress?{component:e.progress.spinner||Ye,props:{color:e.progress.color||u.value}}:{component:Ye,props:{color:u.value}})),d=(0,o.computed)((()=>void 0!==e.prompt||void 0!==e.options)),A=(0,o.computed)((()=>{if(!0!==d.value)return{};const{model:t,isValid:n,items:o,...r}=void 0!==e.prompt?e.prompt:e.options;return r})),p=(0,o.computed)((()=>Object(e.ok)===e.ok||!0===e.ok?r.lang.label.ok:e.ok)),f=(0,o.computed)((()=>Object(e.cancel)===e.cancel||!0===e.cancel?r.lang.label.cancel:e.cancel)),h=(0,o.computed)((()=>
2void 0!==e.prompt?void 0!==e.prompt.isValid&&!0!==e.prompt.isValid(l.value):void 0!==e.options&&void 0!==e.options.isValid&&!0!==e.options.isValid(l.value))),m=(0,o.computed)((()=>({color:u.value,label:p.value,ripple:!1,...Object(e.ok)===e.ok?e.ok:{flat:!0},disable:h.value,"data-autofocus":"ok"===e.focus&&!0!==d.value||void 0,onClick:y}))),v=(0,o.computed)((()=>({color:u.value,label:f.value,ripple:!1,...Object(e.cancel)===e.cancel?e.cancel:{flat:!0},"data-autofocus":"cancel"===e.focus&&!0!==d.value||void 0,onClick:b})));function g(){a.value.hide()}function y(){t("ok",(0,o.toRaw)(l.value)),g()}function b(){g()}function w(){t("hide")}function L(e){l.value=e}function C(t){!0!==h.value&&"textarea"!==e.prompt.type&&!0===Q(t,13)&&y()}function B(t,n){return!0===e.html?(0,o.h)(Fn,{class:t,innerHTML:n}):(0,o.h)(Fn,{class:t},(()=>n))}function _(){return[(0,o.h)(Ka,{modelValue:l.value,...A.value,color:u.value,dense:!0,autofocus:!0,dark:i.value,"onUpdate:modelValue":L,onKeyup:C})]}function k(){return[(0,o.h)(hl,{modelValue:l.value,...A.value,color:u.value,options:e.options.items,dark:i.value,"onUpdate:modelValue":L})]}function x(){const t=[];return e.title&&t.push(B("q-dialog__title",e.title)),!1!==e.progress&&t.push((0,o.h)(Fn,{class:"q-dialog__progress"},(()=>(0,o.h)(c.value.component,c.value.props)))),e.message&&t.push(B("q-dialog__message",e.message)),void 0!==e.prompt?t.push((0,o.h)(Fn,{class:"scroll q-dialog-plugin__form"},_)):void 0!==e.options&&t.push((0,o.h)(Ri,{dark:i.value}),(0,o.h)(Fn,{class:"scroll q-dialog-plugin__form"},k),(0,o.h)(Ri,{dark:i.value})),(e.ok||e.cancel)&&t.push(function(){const t=[];return e.cancel&&t.push((0,o.h)(dt,v.value)),e.ok&&t.push((0,o.h)(dt,m.value)),(0,o.h)(Vn,{class:!0===e.stackButtons?"items-end":"",vertical:e.stackButtons,align:"right"},(()=>t))}()),t}function S(){return[(0,o.h)(Nn,{class:[s.value,e.cardClass],style:e.cardStyle,dark:i.value},x)]}return(0,o.watch)((()=>e.prompt&&e.prompt.model),L),(0,o.watch)((()=>e.options&&e.options.model),L),Object.assign(n,{show:function(){a.value.show()},hide:g}),()=>(0,o.h)(mi,{ref:a,onHide:w},S)}});const $c={ref:"bar"};d({isActive:!1},{start:p,stop:p,increment:p,setDefaults:p,install({$q:e,parentApp:t}){if(e.loadingBar=this,!0===this.__installed)return void(void 0!==e.config.loadingBar&&this.setDefaults(e.config.loadingBar));const n=(0,o.ref)(void 0!==e.config.loadingBar?{...e.config.loadingBar,...$c}:{...$c}),r=xt("q-loading-bar"),i=W({name:"LoadingBar",setup:()=>()=>(0,o.h)(ae,n.value)},t).mount(r);Object.assign(this,{start:e=>{const t=i.$refs.bar;t.start(e),this.isActive=t.calls>0},stop:()=>{const e=i.$refs.bar;e.stop(),this.isActive=e.calls>0},increment(){i.$refs.bar.increment.apply(null,arguments)},setDefaults:e=>{e===Object(e)&&(n.value={...n.value,...e,...$c})}})}});let zc,Kc,Wc,Yc=0,Gc={};const Zc={delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:Ye,customClass:""},Jc={...Zc},Xc=d({isActive:!1},{show(e){if(Gc=e===Object(e)&&!0===e.ignoreDefaults?{...Zc,...e}:{...Jc,...e},Xc.isActive=!0,void 0!==zc)return Gc.uid=Yc,void Kc.$forceUpdate();Gc.uid=++Yc,clearTimeout(Wc),Wc=setTimeout((()=>{Wc=void 0;const e=xt("q-loading");zc=(0,o.createApp)({name:"QLoading",setup(){function t(){!0!==Xc.isActive&&void 0!==zc&&(di(!1),zc.unmount(e),St(e),zc=void 0,Kc=void 0)}function n(){if(!0!==Xc.isActive)return null;const e=[(0,o.h)(Gc.spinner,{class:"q-loading__spinner",color:Gc.spinnerColor,size:Gc.spinnerSize})];return Gc.message&&e.push((0,o.h)("div",{class:"q-loading__message"+(Gc.messageColor?` text-${Gc.messageColor}`:""),[!0===Gc.html?"innerHTML":"textContent"]:Gc.message})),(0,o.h)("div",{class:"q-loading fullscreen flex flex-center z-max "+Gc.customClass.trim(),key:Gc.uid},[(0,o.h)("div",{class:"q-loading__backdrop"+(Gc.backgroundColor?` bg-${Gc.backgroundColor}`:"")}),(0,o.h)("div",{class:"q-loading__box column items-center "+Gc.boxClass},e)])}return(0,o.onMounted)((()=>{di(!0)})),()=>(0,o.h)(o.Transition,{name:"q-transition--fade",appear:!0,onAfterLeave:t},n)}}),Kc=zc.mount(e)}),Gc.delay)},hide(){!0===Xc.isActive&&(void 0!==Wc&&(clearTimeout(Wc),Wc=void 0),Xc.isActive=!1)},setDefaults(e){e===Object(e)&&Object.assign(Jc,e)},install({$q:e}){e.loading=this,void 0!==e.config.loading&&this.setDefaults(e.config.loading)}});function ed(){const e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:p,remove:p,clear:p,isEmpty:()=>!0}}function td(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?function(e){if(e.length<9)return e;const t=e.substr(0,8),n=e.substring(9);switch(t){case"__q_date":return new Date(n);case"__q_expr":return new RegExp(n);case"__q_numb":return Number(n);case"__q_bool":return Boolean("1"===n);case"__q_strn":return""+n;case"__q_objt":return JSON.parse(n);default:return e}}(n):null};return{has:e=>null!==t.getItem(e),getLength:()=>
2t.length,getItem:n,getIndex:e=>e<t.length?n(t.key(e)):null,getKey:e=>e<t.length?t.key(e):null,getAll:()=>{let e;const o={},r=t.length;for(let i=0;i<r;i++)e=t.key(i),o[e]=n(e);return o},getAllKeys:()=>{const e=[],n=t.length;for(let o=0;o<n;o++)e.push(t.key(o));return e},set:(e,n)=>{t.setItem(e,function(e){return"[object Date]"===Object.prototype.toString.call(e)?"__q_date|"+e.toUTCString():"[object RegExp]"===Object.prototype.toString.call(e)?"__q_expr|"+e.source:"number"==typeof e?"__q_numb|"+e:"boolean"==typeof e?"__q_bool|"+(e?"1":"0"):"string"==typeof e?"__q_strn|"+e:"function"==typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}(n))},remove:e=>{t.removeItem(e)},clear:()=>{t.clear()},isEmpty:()=>0===t.length}}const nd=!1===u.has.webStorage?ed():td("local"),od={install({$q:e}){e.localStorage=nd}};Object.assign(od,nd);const rd=!1===u.has.webStorage?ed():td("session"),id={install({$q:e}){e.sessionStorage=rd}};Object.assign(id,rd)},1474:function(e,t,n){e.exports=function(e){"use strict";const t=e.ref(!1);let n;function o(e,t){const n=/(edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:t[0]||""}}function r(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const i="ontouchstart"in window||window.navigator.maxTouchPoints>0;function a(e){n={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}function l(e){const t=e.toLowerCase(),n=o(t,r(t)),l={};n.browser&&(l[n.browser]=!0,l.version=n.version,l.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(l[n.platform]=!0);const s=l.android||l.ios||l.bb||l.blackberry||l.ipad||l.iphone||l.ipod||l.kindle||l.playbook||l.silk||l["windows phone"];return!0===s||t.indexOf("mobile")>-1?(l.mobile=!0,l.edga||l.edgios?(l.edge=!0,n.browser="edge"):l.crios?(l.chrome=!0,n.browser="chrome"):l.fxios&&(l.firefox=!0,n.browser="firefox")):l.desktop=!0,(l.ipod||l.ipad||l.iphone)&&(l.ios=!0),l["windows phone"]&&(l.winphone=!0,delete l["windows phone"]),(l.chrome||l.opr||l.safari||l.vivaldi||!0===l.mobile&&!0!==l.ios&&!0!==s)&&(l.webkit=!0),(l.safari&&l.blackberry||l.bb)&&(n.browser="blackberry",l.blackberry=!0),l.safari&&l.playbook&&(n.browser="playbook",l.playbook=!0),l.opr&&(n.browser="opera",l.opera=!0),l.safari&&l.android&&(n.browser="android",l.android=!0),l.safari&&l.kindle&&(n.browser="kindle",l.kindle=!0),l.safari&&l.silk&&(n.browser="silk",l.silk=!0),l.vivaldi&&(n.browser="vivaldi",l.vivaldi=!0),l.name=n.browser,l.platform=n.platform,t.indexOf("electron")>-1?l.electron=!0:document.location.href.indexOf("-extension://")>-1?l.bex=!0:(void 0!==window.Capacitor?(l.capacitor=!0,l.nativeMobile=!0,l.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(l.cordova=!0,l.nativeMobile=!0,l.nativeMobileWrapper="cordova"),!0===i&&!0===l.mac&&(!0===l.desktop&&!0===l.safari||!0===l.nativeMobile&&!0!==l.android&&!0!==l.ios&&!0!==l.ipad)&&a(l)),l}const s=navigator.userAgent||navigator.vendor||window.opera,u={has:{touch:!1,webStorage:!1},within:{iframe:!1}},c={userAgent:s,is:l(s),has:{touch:i},within:{iframe:window.self!==window.top}},d={install(o){const{$q:r}=o;!0===t.value?(o.onSSRHydrated.push((()=>{t.value=!1,Object.assign(r.platform,c),n=void 0})),r.platform=e.reactive(this)):r.platform=this}};{let e;
2Object.defineProperty(c.has,"webStorage",{get:()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(e){}return e=!1,!1}}),!0===c.is.ios&&window.navigator.vendor.toLowerCase().indexOf("apple"),!0===t.value?Object.assign(d,c,n,u):Object.assign(d,c)}var A=(t,n)=>{const o={},r=e.reactive(t);return Object.keys(t).forEach((e=>{o[e]={get:()=>r[e],set:t=>{r[e]=t}}})),Object.defineProperties(n,o),n};const p={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(p,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(e){}function f(){}function h(e){return 0===e.button}function m(e){return 1===e.button}function v(e){return 2===e.button}function g(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function y(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}const b=40,w=800;function L(e){let t=e.deltaX,n=e.deltaY;if((t||n)&&e.deltaMode){const o=1===e.deltaMode?b:w;t*=o,n*=o}return e.shiftKey&&!t&&([n,t]=[t,n]),{x:t,y:n}}function C(e){e.stopPropagation()}function B(e){!1!==e.cancelable&&e.preventDefault()}function _(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function k(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",B,p.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",B,p.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function x(e,t,n){const o=`__q_${t}_evt`;e[o]=void 0!==e[o]?e[o].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],p[t[3]])}))}function S(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],p[t[3]])})),e[n]=void 0)}var E={listenOpts:p,leftClick:h,middleClick:m,rightClick:v,position:g,getEventPath:y,getMouseWheelDistance:L,stop:C,prevent:B,stopAndPrevent:_,preventDraggable:k};function T(e,t=250,n){let o;function r(){const r=arguments,i=()=>{o=void 0,!0!==n&&e.apply(this,r)};clearTimeout(o),!0===n&&void 0===o&&e.apply(this,r),o=setTimeout(i,t)}return r.cancel=()=>{clearTimeout(o)},r}const N=["sm","md","lg","xl"],{passive:F}=p;var V=A({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:f,setDebounce:f,install({$q:e,onSSRHydrated:n}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const o=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const t=window.innerWidth,n=window.innerHeight;if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let r=this.sizes;this.gt.xs=t>=r.sm,this.gt.sm=t>=r.md,this.gt.md=t>=r.lg,this.gt.lg=t>=r.xl,this.lt.sm=t<r.sm,this.lt.md=t<r.md,this.lt.lg=t<r.lg,this.lt.xl=t<r.xl,this.xs=this.lt.sm,this.sm=!0===this.gt.xs&&!0===this.lt.md,this.md=!0===this.gt.sm&&!0===this.lt.lg,this.lg=!0===this.gt.md&&!0===this.lt.xl,this.xl=this.gt.lg,r=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",r!==this.name&&(!0===o&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${r}`)),this.name=r)};let r,i={},a=16;this.setSizes=e=>{N.forEach((t=>{void 0!==e[t]&&(i[t]=e[t])}))},this.setDebounce=e=>{a=e};const l=()=>{const e=getComputedStyle(document.body),t=void 0!==window.visualViewport?window.visualViewport:window;e.getPropertyValue("--q-size-sm")&&N.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>
2{N.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==r&&t.removeEventListener("resize",r,F),r=e>0?T(this.__update,e):this.__update,t.addEventListener("resize",r,F)},this.setDebounce(a),Object.keys(i).length>0?(this.setSizes(i),i=void 0):this.__update(),!0===o&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===t.value?n.push(l):l()}});const O=A({isActive:!1,mode:!1},{__media:void 0,set(e){O.mode=e,"auto"===e?(void 0===O.__media&&(O.__media=window.matchMedia("(prefers-color-scheme: dark)"),O.__updateMedia=()=>{O.set("auto")},O.__media.addListener(O.__updateMedia)),e=O.__media.matches):void 0!==O.__media&&(O.__media.removeListener(O.__updateMedia),O.__media=void 0),O.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){O.set(!1===O.isActive)},install({$q:e,onSSRHydrated:n,ssrContext:o}){const{dark:r}=e.config;if(e.dark=this,!0===this.__installed&&void 0===r)return;this.isActive=!0===r;const i=void 0!==r&&r;if(!0===t.value){const e=e=>{this.__fromSSR=e},t=this.set;this.set=e,e(i),n.push((()=>{this.set=t,this.set(this.__fromSSR)}))}else this.set(i)}}),U=()=>!0;function Q(e){return"string"==typeof e&&""!==e&&"/"!==e&&"#/"!==e}function q(e){return!0===e.startsWith("#")&&(e=e.substr(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substr(0,e.length-1)),"#"+e}function M(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return U;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(Q).map(q)),()=>t.includes(window.location.hash)}var I={__history:[],add:f,remove:f,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=c.is;if(!0!==t&&!0!==n)return;const o=e.config[!0===t?"cordova":"capacitor"];if(void 0!==o&&!1===o.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=U),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const r=M(Object.assign({backButtonExit:!0},o)),i=()=>
2{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===r()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",i,!1)})):window.Capacitor.Plugins.App.addListener("backButton",i)}},P={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function D(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"==typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const H=A({__langPack:{}},{getLocale:D,set(e=P,t){const n={...e,rtl:!0===e.rtl,getLocale:D};{const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName),n.set=H.set,Object.assign(H.__langPack,n),H.props=n,H.isoName=n.isoName,H.nativeName=n.nativeName}},install({$q:e,lang:t,ssrContext:n}){e.lang=H.__langPack,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||P)}});function R(e,t,n=document.body){if("string"!=typeof e)throw new TypeError("Expected a string as propName");if("string"!=typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let j=!1;function $(e){j=!0===e.isComposing}function z(e){return!0===j||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function K(e,t){return!0!==z(e)&&[].concat(t).includes(e.keyCode)}function W(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function Y({is:e,has:t,within:n},o){const r=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=W(e);void 0!==t&&r.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;r.push(t),r.push("native-mobile"),!0!==e.ios||void 0!==o[t]&&!1===o[t].iosStatusBarPadding||r.push("q-ios-padding")}else!0===e.electron?r.push("electron"):!0===e.bex&&r.push("bex");return!0===n.iframe&&r.push("within-iframe"),r}function G(){const e=document.body.className;let t=e;void 0!==n&&(t=t.replace("desktop","platform-ios mobile")),!0===c.has.touch&&(t=t.replace("no-touch","touch")),!0===c.within.iframe&&(t+=" within-iframe"),e!==t&&(document.body.className=t)}function Z(e){for(const t in e)R(t,e[t])}var J={install(e){const{$q:n}=e;if(void 0!==n.config.brand&&Z(n.config.brand),!0!==this.__installed){if(!0===t.value)G();else{const e=Y(c,n.config);document.body.classList.add.apply(document.body.classList,e)}!0===c.is.ios&&document.body.addEventListener("touchstart",f),window.addEventListener("keydown",$,!0)}}},X={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const ee=A({iconMapFn:null,__icons:{}},{set(e,t){const n={...e,rtl:!0===e.rtl};
2n.set=ee.set,Object.assign(ee.__icons,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,Object.defineProperty(e,"iconMapFn",{get:()=>this.iconMapFn,set:e=>{this.iconMapFn=e}}),!0===this.__installed?void 0!==t&&this.set(t):this.set(t||X)}}),te="_q_",ne="_q_t_",oe="_q_s_",re="_q_l_",ie="_q_pc_",ae="_q_f_",le="_q_fo_",se="_q_tabs_",ue="_q_u_",ce={};let de=!1;function Ae(){de=!0}const pe=[d,J,O,V,I,H,ee];function fe(t,n){const o=e.createApp(t);o.config.globalProperties=n.config.globalProperties;const{reload:r,...i}=n._context;return Object.assign(o._context,i),o}function he(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}function me(e,n,o){e.config.globalProperties.$q=o.$q,e.provide(te,o.$q),he(o,pe),void 0!==n.components&&Object.values(n.components).forEach((t=>{Object(t)===t&&void 0!==t.name&&e.component(t.name,t)})),void 0!==n.directives&&Object.values(n.directives).forEach((t=>{Object(t)===t&&void 0!==t.name&&e.directive(t.name,t)})),void 0!==n.plugins&&he(o,Object.values(n.plugins).filter((e=>"function"==typeof e.install&&!1===pe.includes(e)))),!0===t.value&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach((e=>{e()})),o.$q.onSSRHydrated=()=>{}})}var ve=function(e,t={}){const n={version:"2.0.2"};!1===de?(void 0!==t.config&&Object.assign(ce,t.config),n.config={...ce},Ae()):n.config=t.config||{},me(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};const ge=["B","KB","MB","GB","TB","PB"];function ye(e){let t=0;for(;parseInt(e,10)>=1024&&t<ge.length-1;)e/=1024,++t;return`${e.toFixed(1)}${ge[t]}`}function be(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function Le(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),0===r?0:r}function Ce(e,t=2,n="0"){if(null==e)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}var Be={humanStorageSize:ye,capitalize:be,between:we,normalizeToInterval:Le,pad:Ce};const _e=XMLHttpRequest,ke=_e.prototype.send,xe=[],Se=[];let Ee=0;function Te({p:e,pos:t,active:n,horiz:o,reverse:r,dir:i}){let a=1,l=1;return o?(r&&(a=-1),"bottom"===t&&(l=-1),{transform:`translate3d(${a*(e-100)}%,${n?0:-200*l}%,0)`}):(r&&(l=-1),"right"===t&&(a=-1),{transform:`translate3d(${n?0:i*a*-200}%,${l*(e-100)}%,0)`})}function Ne(e,t){return"number"!=typeof t&&(t=e<25?3*Math.random()+3:e<65?3*Math.random():e<85?2*Math.random():e<99?.6:0),we(e+t,0,100)}function Fe(e,t){function n(){Se.forEach((e=>{e()}))}xe.push(e),Se.push(t),Ee++,Ee>1||(_e.prototype.send=function(){xe.forEach((e=>{e()})),this.addEventListener("loadend",n,!1),ke.apply(this,arguments)})}function Ve(e,t){xe.splice(xe.indexOf(e),1),Se.splice(Se.indexOf(t),1),Ee=Math.max(0,Ee-1),0===Ee&&(_e.prototype.send=ke)}var Oe=e.defineComponent({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>["top","right","bottom","left"].includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean},emits:["start","stop"],setup(t,{emit:n}){const{proxy:o}=e.getCurrentInstance(),r=e.ref(0),i=e.ref(!1),a=e.ref(!0);let l,s,u=0;const c=e.computed((()=>`q-loading-bar q-loading-bar--${t.position}`+(void 0!==t.color?` bg-${t.color}`:"")+(!0===a.value?"":" no-transition"))),d=e.computed((()=>"top"===t.position||"bottom"===t.position)),A=e.computed((()=>!0===d.value?"height":"width")),p=e.computed((()=>{const e=i.value,n=Te({p:r.value,pos:t.position,active:e,horiz:d.value,reverse:!0===o.$q.lang.rtl&&["top","bottom"].includes(t.position)?!t.reverse:t.reverse,dir:!0===o.$q.lang.rtl?-1:1});return n[A.value]=t.size,n.opacity=e?1:0,n})),f=e.computed((()=>!0===i.value?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"}));function h(e=300){const t=s;s=Math.max(0,e)||0,u++,u>1?0===t&&e>0?g():t>0&&e<=0&&clearTimeout(l):(clearTimeout(l),n("start"),r.value=0,!0!==i.value&&(i.value=!0,a.value=!1,l=setTimeout((()=>{a.value=!0,e>0&&g()}),100)))}function m(e){u>0&&(r.value=Ne(r.value,e))}function v(){if(u=Math.max(0,u-1),u>0)return;clearTimeout(l),n("stop");const e=()=>{a.value=!0,r.value=100,l=setTimeout((()=>{i.value=!1}),1e3)};0===r.value?l=setTimeout(e,1):e()}function g(){r.value<100&&(l=setTimeout((()=>{m(),g()}),s))}let y;return e.onMounted((()=>{!0!==t.skipHijack&&(y=!0,Fe(h,v))})),e.onBeforeUnmount((()=>{clearTimeout(l),!0===y&&Ve(h,v)})),Object.assign(o,{start:h,stop:v,increment:m}),()=>e.h("div",{class:c.value,style:p.value,...f.value})}});const Ue={xs:18,sm:24,md:32,lg:38,xl:46},Qe={size:String};function qe(t,n=Ue){return e.computed((()=>void 0!==t.size?{fontSize:t.size in n?`${n[t.size]}px`:t.size}:null))}function Me(e,t){return void 0!==e?e():t}function Ie(e,t){return void 0!==e?e().slice():t}function Pe(e,t){return void 0!==e?t.concat(e()):t}function De(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function He(t,n,o,r,i,a){n.key=r+i;const l=e.h(t,n,o);return!0===i?e.withDirectives(l,a()):l}const Re=e=>e,je=e=>`ionicons ${e}`,$e={"icon-":Re,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":je,"ion-ios":je,"ion-logo":je,"mdi-":e=>`mdi ${e}`,"iconfont ":Re,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ze={o_:"-outlined",r_:"-round",s_:"-sharp"},Ke=new RegExp("^("+Object.keys($e).join("|")+")"),We=new RegExp("^("+Object.keys(ze).join("|")+")"),Ye=/^M/,Ge=/^img:/,Ze=
2/^svguse:/,Je=/^ion-/,Xe=/^[l|f]a[s|r|l|b|d]? /;var et=e.defineComponent({name:"QIcon",props:{...Qe,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(t,{slots:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=qe(t),i=e.computed((()=>"q-icon"+(!0===t.left?" on-left":"")+(!0===t.right?" on-right":"")+(void 0!==t.color?` text-${t.color}`:""))),a=e.computed((()=>{let n,r=t.name;if(!r)return{none:!0,cls:i.value};if(null!==o.iconMapFn){const e=o.iconMapFn(r);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls+" "+i.value,content:void 0!==e.content?e.content:" "};r=e.icon}}if(!0===Ye.test(r)){const[t,n]=r.split("|");return{svg:!0,cls:i.value,nodes:t.split("&&").map((t=>{const[n,o,r]=t.split("@@");return e.h("path",{style:o,d:n,transform:r})})),viewBox:void 0!==n?n:"0 0 24 24"}}if(!0===Ge.test(r))return{img:!0,cls:i.value,src:r.substring(4)};if(!0===Ze.test(r)){const[e,t]=r.split("|");return{svguse:!0,cls:i.value,src:e.substring(7),viewBox:void 0!==t?t:"0 0 24 24"}}let a=" ";const l=r.match(Ke);if(null!==l)n=$e[l[1]](r);else if(!0===Xe.test(r))n=r;else if(!0===Je.test(r))n=`ionicons ion-${!0===o.platform.is.ios?"ios":"md"}${r.substr(3)}`;else{n="notranslate material-icons";const e=r.match(We);null!==e&&(r=r.substring(2),n+=ze[e[1]]),a=r}return{cls:n+" "+i.value,content:a}}));return()=>{const o={class:a.value.cls,style:r.value,"aria-hidden":"true",role:"presentation"};return!0===a.value.none?e.h(t.tag,o,Me(n.default)):!0===a.value.img?(o.src=a.value.src,e.h("img",o)):!0===a.value.svg?(o.viewBox=a.value.viewBox,e.h("svg",o,Pe(n.default,a.value.nodes))):!0===a.value.svguse?(o.viewBox=a.value.viewBox,e.h("svg",o,Pe(n.default,[e.h("use",{"xlink:href":a.value.src})]))):e.h(t.tag,o,Pe(n.default,[a.value.content]))}}}),tt=e.defineComponent({name:"QAvatar",props:{...Qe,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(t,{slots:n}){const o=qe(t),r=e.computed((()=>"q-avatar"+(t.color?` bg-${t.color}`:"")+(t.textColor?` text-${t.textColor} q-chip--colored`:"")+(!0===t.square?" q-avatar--square":!0===t.rounded?" rounded-borders":""))),i=e.computed((()=>t.fontSize?{fontSize:t.fontSize}:null));return()=>{const a=void 0!==t.icon?[e.h(et,{name:t.icon})]:void 0;return e.h("div",{class:r.value,style:o.value},[e.h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},De(n.default,a))])}}});const nt=["top","middle","bottom"];var ot=e.defineComponent({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>nt.includes(e)}},setup(t,{slots:n}){const o=e.computed((()=>void 0!==t.align?{verticalAlign:t.align}:null)),r=e.computed((()=>{const e=!0===t.outline&&t.color||t.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===t.multiLine?"multi":"single"}-line`+(!0===t.outline?" q-badge--outline":void 0!==t.color?` bg-${t.color}`:"")+(void 0!==e?` text-${e}`:"")+(!0===t.floating?" q-badge--floating":"")+(!0===t.rounded?" q-badge--rounded":"")+(!0===t.transparent?" q-badge--transparent":"")}));return()=>e.h("div",{class:r.value,style:o.value,role:"alert","aria-label":t.label},void 0!==t.label?t.label:Me(n.default))}});const rt={dark:{type:Boolean,default:null}};function it(t,n){return e.computed((()=>null===t.dark?n.dark.isActive:t.dark))}var at=e.defineComponent({name:"QBanner",props:{...rt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>"q-banner row items-center"+(!0===t.dense?" q-banner--dense":"")+(!0===r.value?" q-banner--dark q-dark":"")+(!0===t.rounded?" rounded-borders":""))),a=e.computed((()=>"q-banner__actions row items-center justify-end col-"+(!0===t.inlineActions?"auto":"all")));return()=>{const o=[e.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},Me(n.avatar)),e.h("div",{class:"q-banner__content col text-body2"},Me(n.default))],r=Me(n.action);return void 0!==r&&o.push(e.h("div",{class:a.value},r)),e.h("div",{class:i.value+(!1===t.inlineActions&&void 0!==r?" q-banner--top-padding":""),role:"alert"},o)}}}),lt=e.defineComponent({name:"QBar",props:{...rt,dense:Boolean},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>`q-bar row no-wrap items-center q-bar--${!0===t.dense?"dense":"standard"} q-bar--`+(!0===r.value?"dark":"light")));return()=>e.h("div",{class:i.value,role:"toolbar"},Me(n.default))}});const st={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},ut=Object.keys(st),ct={align:{type:String,validator:e=>ut.includes(e)}};function dt(t){return e.computed((()=>{const e=void 0===t.align?!0===t.vertical?"stretch":"left":t.align;return`${!0===t.vertical?"items":"justify"}-${st[e]}`}))}function At(e){if(void 0!==e.$parent&&null!==e.$parent)return e.$parent;for(e=e.$.parent;null!=e;){if(void 0!==e.proxy&&null!==e.proxy)return e.proxy;e=e.parent}}function pt(e){const t=new Set;return e.forEach((e=>{"symbol"==typeof e.type&&!0===Array.isArray(e.children)?e.children.forEac
2h((e=>{t.add(e)})):t.add(e)})),Array.from(t)}function ft(e){return void 0!==e.appContext.config.globalProperties.$router}var ht=e.defineComponent({name:"QBreadcrumbs",props:{...ct,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(t,{slots:n}){const o=dt(t),r=e.computed((()=>`flex items-center ${o.value}${"none"===t.gutter?"":` q-gutter-${t.gutter}`}`)),i=e.computed((()=>t.separatorColor?` text-${t.separatorColor}`:"")),a=e.computed((()=>`text-${t.activeColor}`));return()=>{const o=pt(Me(n.default));if(void 0===o)return;let l=1;const s=[],u=o.filter((e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name)).length,c=void 0!==n.separator?n.separator:()=>t.separator;return o.forEach((t=>{if(void 0!==t.type&&"QBreadcrumbsEl"===t.type.name){const n=l<u;l++,s.push(e.h("div",{class:"flex items-center "+(!0===n?a.value:"q-breadcrumbs--last")},[t])),!0===n&&s.push(e.h("div",{class:"q-breadcrumbs__separator"+i.value},c()))}else s.push(t)})),e.h("div",{class:"q-breadcrumbs"},[e.h("div",{class:r.value},s)])}}});function mt(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function vt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gt(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!1===Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}const yt={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},disable:Boolean};function bt(){const t=e.getCurrentInstance(),{props:n,attrs:o,proxy:r}=t,i=ft(t),a=e.computed((()=>!0===i&&!0!==n.disable&&void 0!==n.to&&null!==n.to&&""!==n.to)),l=e.computed((()=>!0===a.value?"a":n.tag||"div")),s=e.computed((()=>!0===a.value?r.$router.resolve(n.to):null)),u=e.computed((()=>{if(!1===a.value)return null;const{matched:e}=s.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const o=r.$route.matched;if(0===o.length)return-1;const i=o.findIndex(vt.bind(null,n));if(i>-1)return i;const l=mt(e[t-2]);return t>1&&mt(n)===l&&o[o.length-1].path!==l?o.findIndex(vt.bind(null,e[t-2])):i})),c=e.computed((()=>!0===a.value&&u.value>-1&>(r.$route.params,s.value.params))),d=e.computed((()=>!0===c.value&&u.value===r.$route.matched.length-1)),A=e.computed((()=>!0===a.value?!0===d.value?` ${n.exactActiveClass} ${n.activeClass}`:!0===n.exact?"":!0===c.value?` ${n.activeClass}`:"":"")),p=e.computed((()=>!0===a.value?{href:s.value.href,target:o.target,role:"link"}:{}));function f(e){return!(!0===n.disable||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||!0!==e.__qNavigate&&!0===e.defaultPrevented||void 0!==e.button&&0!==e.button||"_blank"===o.target||(B(e),r.$router[!0===n.replace?"replace":"push"](n.to).catch((()=>{})),0))}return{hasLink:a,linkTag:l,linkRoute:s,linkIsActive:c,linkIsExactActive:d,linkClass:A,linkProps:p,navigateToLink:f}}var wt=e.defineComponent({name:"QBreadcrumbsEl",props:{...yt,label:String,icon:String,tag:{type:String,default:"span"}},setup(t,{slots:n}){const{linkTag:o,linkProps:r,hasLink:i,navigateToLink:a}=bt(),l=e.computed((()=>{const e={...r.value};return!0===i.value&&(e.onClick=a),e})),s=e.computed((()=>"q-breadcrumbs__el-icon"+(void 0!==t.label?" q-breadcrumbs__el-icon--with-label":"")));return()=>{const r=[];return void 0!==t.icon&&r.push(e.h(et,{class:s.value,name:t.icon})),void 0!==t.label&&r.push(t.label),e.h(o.value,{class:"q-breadcrumbs__el q-link flex inline items-center relative-position",...l.value},Pe(n.default,r))}}});const Lt={size:{type:[Number,String],default:"1em"},color:String};function Ct(t){return{cSize:e.computed((()=>t.size in Ue?`${Ue[t.size]}px`:t.size)),classes:e.computed((()=>"q-spinner"+(t.color?` text-${t.color}`:"")))}}var Bt=e.defineComponent({name:"QSpinner",props:{...Lt,thickness:{type:Number,default:5}},setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value+" q-spinner-mat",width:n.value,height:n.value,viewBox:"25 25 50 50"},[e.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t.thickness,"stroke-miterlimit":"10"})])}});function _t(e){if(e===window)return{top:0,left:0};const{top:t,left:n}=e.getBoundingClientRect();return{top:t,left:n}}function kt(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function xt(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function St(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function Et(e,t){const n=e.style;Object.keys(t).forEach((e=>{n[e]=t[e]}))}function Tt(e,t){e.forEach((e=>Et(e,t)))}function Nt(e){if("function"==typeof e)return"loading"!==document.readyState?e():void document.addEventListener("DOMContentLoaded",e,!1)}function Ft(t){if(null==t)return;if("string"==typeof t)try{return document.querySelector(t)||void 0}catch(e){return}const n=!0===e.isRef(t)?t.value:t;return n?n.$el||n:void 0}function Vt(e,t){if(void 0===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}var Ot={offset:_t,style:kt,height:xt,width:St,css:Et,cssBatch:Tt,ready:Nt};function Ut(e,t=250){let n,o=!1;return function(){return!1===o&&(o=!0,setTimeout((()=>{o=!1}),t),n=e.apply(this,arguments)),n}}function Qt(e,t,n,o){!0===n.modifiers.stop&&C(e);const r=n.modifiers.color;let i=n.modifiers.center;i=!0===i||!0===o;const a=document.createElement("span"),l=document.createElement("span"),s=g(e),{left:u,top:c,width:d,height:A}=t.getBoundingClientRect(),p=Math.sqrt(d*d+A*A),f=p/2,h=(d-p)/2+"px",m=i?h:s.left-u-f+"px",v=(A-p)/2+"px",y=i?v:s.top-c-f+"px";l.className="q-ripple__inner",Et(l,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${m},${y},0) scale3d(.2,.2,1)`,opacity:0}
2),a.className="q-ripple"+(r?" text-"+r:""),a.setAttribute("dir","ltr"),a.appendChild(l),t.appendChild(a);const b=()=>{a.remove(),clearTimeout(w)};n.abort.push(b);let w=setTimeout((()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${h},${v},0) scale3d(1,1,1)`,l.style.opacity=.2,w=setTimeout((()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,w=setTimeout((()=>{a.remove(),n.abort.splice(n.abort.indexOf(b),1)}),275)}),250)}),50)}function qt(e,{modifiers:t,value:n,arg:o,instance:r}){const i=Object.assign({},r.$q.config.ripple,t,n);e.modifiers={early:!0===i.early,stop:!0===i.stop,center:!0===i.center,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}var Mt={name:"ripple",beforeMount(e,t){const n={enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===n.enabled&&!0!==t.qSkipRipple&&(!0===n.modifiers.early?!0===["mousedown","touchstart"].includes(t.type):"click"===t.type)&&Qt(t,e,n,!0===t.qKeyEvent)},keystart:Ut((t=>{!0===n.enabled&&!0!==t.qSkipRipple&&!0===K(t,n.modifiers.keyCodes)&&t.type==="key"+(!0===n.modifiers.early?"down":"up")&&Qt(t,e,n,!0)}),300)};qt(n,t),e.__qripple=n,x(n,"main",[[e,"mousedown","start","passive"],[e,"touchstart","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&qt(n,t)}},beforeUnmount(e){const t=e.__qripple;t.abort.forEach((e=>{e()})),S(t,"main"),delete e._qripple}};const It={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Pt={xs:8,sm:10,md:14,lg:20,xl:24},Dt={...Qe,...yt,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...ct.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function Ht(t){const n=qe(t,Pt),o=dt(t),{hasLink:r,linkProps:i,navigateToLink:a}=bt(),l=e.computed((()=>{const e=!1===t.fab&&!1===t.fabMini?n.value:{};return void 0!==t.padding?Object.assign({},e,{padding:t.padding.split(/\s+/).map((e=>e in It?It[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):e})),s=e.computed((()=>!0===t.rounded||!0===t.fab||!0===t.fabMini)),u=e.computed((()=>!0!==t.disable&&!0!==t.loading)),c=e.computed((()=>!0===u.value?t.tabindex||0:-1)),d=e.computed((()=>"a"===t.type||!0===r.value)),A=e.computed((()=>!0===t.flat?"flat":!0===t.outline?"outline":!0===t.push?"push":!0===t.unelevated?"unelevated":"standard")),p=e.computed((()=>{const e={tabindex:c.value};return"a"!==t.type&&(e.type=t.type),!0===r.value?Object.assign(e,i.value):e.role="a"===t.type?"link":"button",!0===t.loading&&void 0!==t.percentage&&Object.assign(e,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t.percentage}),!0===t.disable&&(e.disabled="",e["aria-disabled"]="true"),e})),f=e.computed((()=>{let e;return void 0!==t.color?e=!0===t.flat||!0===t.outline?`text-${t.textColor||t.color}`:`bg-${t.color} text-${t.textColor||"white"}`:t.textColor&&(e=`text-${t.textColor}`),`q-btn--${A.value} q-btn--`+(!0===t.round?"round":"rectangle"+(!0===s.value?" q-btn--rounded":""))+(void 0!==e?" "+e:"")+(!0===u.value?" q-btn--actionable q-focusable q-hoverable":!0===t.disable?" disabled":"")+(!0===t.fab?" q-btn--fab":!0===t.fabMini?" q-btn--fab-mini":"")+(!0===t.noCaps?" q-btn--no-uppercase":"")+(!0===t.dense?" q-btn--dense":"")+(!0===t.stretch?" no-border-radius self-stretch":"")+(!0===t.glossy?" glossy":"")}));return{classes:f,style:l,innerClasses:e.computed((()=>o.value+(!0===t.stack?" column":" row")+(!0===t.noWrap?" no-wrap text-no-wrap":"")+(!0===t.loading?" q-btn__content--hidden":""))),attributes:p,hasLink:r,isLink:d,navigateToLink:a,isActionable:u}}const{passiveCapture:Rt}=p;let jt=null,$t=null,zt=null;var Kt=e.defineComponent({name:"QBtn",props:{...Dt,percentage:Number,darkPercentage:Boolean},emits:["click","keydown","touchstart","mousedown","keyup"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{classes:i,style:a,innerClasses:l,attributes:s,hasLink:u,isLink:c,navigateToLink:d,isActionable:A}=Ht(t),p=e.ref(null),f=e.ref(null);let h,m,v=null;const g=e.computed((()=>void 0!==t.label&&null!==t.label&&""!==t.label)),y=e.computed((()=>!1!==t.ripple&&{keyCodes:!0===c.value?[13,32]:[13],...!0===t.ripple?{}:t.ripple})),b=e.computed((()=>{const e=Math.max(0,Math.min(100,t.percentage));return e>0?{transition:"transform 0.6s",transform:`translateX(${e-100}%)`}:{}})),w=e.computed((()=>!0===t.loading?{onMousedown:V,onTouchstartPassive:V,onClick:V,onKeydown:V,onKeyup:V}:!0===A.value?{onClick:x,onKeydown:S,onMousedown:T,onTouchstartPassive:E}:{onClick:_})),L=e.computed((()=>[[Mt,y.value,void 0,{center:t.round}]])),k=e.computed((()=>({ref:p,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:a.value,...s.value,...w.value})));function x(e){if(void 0!==e){if(!0===e.defaultPrevented)return;const n=document.activeElement;if("submit"===t.type&&n!==document.body&&!1===p.value.contains(n)&&!1===n.contains(p.value)){p.value.focus();const e=()=>{document.removeEventListener("keydown",_,!0),document.removeEventListener("keyup",e,Rt),null!==p.value&&p.value.removeEventListener("blur",e,Rt)};document.addEventListener("keydown",_,!0),document.addEventListener("keyup",e,Rt),p.value.addEventListener("blur",e,Rt)}}if(!0===u.value){const t=()=>{e.__qNavigate=!0,d(e)};o("click",e,t),!0!==e.defaultPrevented&&t()}else o("click",e)}function S(e){!0===K(e,[13,32])&&(_(e),$t!==p.value&&(null!==$t&&F(),p.value.focus(),$t=p.value,p.value.classList.add("q-btn--active"),document.addEventListener("keyup",N,!0),p.value.addEventListener("blur",N,Rt))),o("keydown",e)}function E(e){jt!==p.value&&(null!==jt&&F(),jt=p.value,v=e.target,v.addEventListener("touchcancel",N,Rt),v.addEventListener("touchend",N,Rt)),h=!0,clearTimeout(m),m=setTimeout((()=>{h=!1}),200),o("touchstart",e)}function T(e){zt!==p.value&&(null!==zt&&F(),zt=p.value,p.value.classList.add("q-btn--active"),document.addEventListener("mouseup",N,Rt)),e.qSkipRipple=!0===h,o("mousedown",e)}function N(e){if(void 0===e||"blur"!==e.type||document.activeElement!==p.value){if(void 0!==e&&"keyup"===e.type){if($t===p.value&&!0===K(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&B(t),!0===e.cancelBubble&&
2C(t),p.value.dispatchEvent(t),_(e),e.qKeyEvent=!0}o("keyup",e)}F()}}function F(e){const t=f.value;!0===e||jt!==p.value&&zt!==p.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),jt===p.value&&(null!==v&&(v.removeEventListener("touchcancel",N,Rt),v.removeEventListener("touchend",N,Rt)),jt=v=null),zt===p.value&&(document.removeEventListener("mouseup",N,Rt),zt=null),$t===p.value&&(document.removeEventListener("keyup",N,!0),null!==p.value&&p.value.removeEventListener("blur",N,Rt),$t=null),null!==p.value&&p.value.classList.remove("q-btn--active")}function V(e){e.qSkipRipple=!0}return e.onBeforeUnmount((()=>{F(!0)})),Object.assign(r,{click:x}),()=>{let o=[];void 0!==t.icon&&o.push(e.h(et,{name:t.icon,left:!1===t.stack&&!0===g.value,role:"img","aria-hidden":"true"})),!0===g.value&&o.push(e.h("span",{class:"block"},[t.label])),o=Pe(n.default,o),void 0!==t.iconRight&&!1===t.round&&o.push(e.h(et,{name:t.iconRight,right:!1===t.stack&&!0===g.value,role:"img","aria-hidden":"true"}));const r=[e.h("span",{class:"q-focus-helper",ref:f})];return!0===t.loading&&void 0!==t.percentage&&r.push(e.h("span",{class:"q-btn__progress absolute-full overflow-hidden"},[e.h("span",{class:"q-btn__progress-indicator fit block"+(!0===t.darkPercentage?" q-btn__progress--dark":""),style:b.value})])),r.push(e.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},o)),null!==t.loading&&r.push(e.h(e.Transition,{name:"q-transition--fade"},(()=>!0===t.loading?[e.h("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==n.loading?n.loading():[e.h(Bt)])]:null))),He(!0===c.value?"a":"button",k.value,r,"ripple",!0!==t.disable&&!1!==t.ripple,(()=>L.value))}}}),Wt=e.defineComponent({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(t,{slots:n}){const o=e.computed((()=>{const e=["unelevated","outline","flat","rounded","push","stretch","glossy"].filter((e=>!0===t[e])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(e.length>0?" "+e:"")+(!0===t.spread?" q-btn-group--spread":" inline")}));return()=>e.h("div",{class:o.value},Me(n.default))}});function Yt(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==d.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}const Gt={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function Zt({showing:t,avoidEmit:n,configureAnchorEl:o}){const{props:r,proxy:i,emit:a}=e.getCurrentInstance(),l=e.ref(null);let s;function u(e){return null!==l.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const c={};function d(){S(c,"anchor")}function A(e){for(l.value=e;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function p(){if(!1===r.target||""===r.target)l.value=null;else if(!0===r.target)A(i.$el.parentNode);else{let e=r.target;if("string"==typeof r.target)try{e=document.querySelector(r.target)}catch(t){e=void 0}null!=e?(l.value=e.$el||e,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return void 0===o&&(Object.assign(c,{hide(e){i.hide(e)},toggle(e){i.toggle(e)},toggleKey(e){!0===K(e,13)&&i.toggle(e)},contextClick(t){i.hide(t),e.nextTick((()=>{i.show(t)})),B(t)},mobilePrevent:B,mobileTouch(e){if(c.mobileCleanup(e),!0!==u(e))return;i.hide(e),l.value.classList.add("non-selectable");const t=e.target;x(c,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","mobilePrevent","notPassive"]]),s=setTimeout((()=>{i.show(e)}),300)},mobileCleanup(e){l.value.classList.remove("non-selectable"),clearTimeout(s),!0===t.value&&void 0!==e&&Yt()}}),o=function(e=r.contextMenu){if(!0===r.noParentEvent||null===l.value)return;let t;t=!0===e?!0===i.$q.platform.is.mobile?[[l.value,"touchstart","mobileTouch","passive"]]:[[l.value,"click","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],x(c,"anchor",t)}),e.watch((()=>r.contextMenu),(e=>{null!==l.value&&(d(),o(e))})),e.watch((()=>r.target),(()=>{null!==l.value&&d(),p()})),e.watch((()=>r.noParentEvent),(e=>{null!==l.value&&(!0===e?d():o())})),e.onMounted((()=>{p(),!0!==n&&!0===r.modelValue&&null===l.value&&a("update:modelValue",!1)})),e.onBeforeUnmount((()=>{clearTimeout(s),d()})),{anchorEl:l,canShow:u,anchorEvents:c}}function Jt(t,n){const o=e.ref(null);let r;function i(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",o=void 0!==t?t:r;e!==window&&e[n]("scroll",o,p.passive),window[n]("scroll",o,p.passive),r=t}function a(){null!==o.value&&(i(o.value),o.value=null)}const l=e.watch((()=>t.noParentEvent),(()=>
2{null!==o.value&&(a(),n())}));return e.onBeforeUnmount(l),{localScrollTarget:o,unconfigureScrollTarget:a,changeScrollEvent:i}}const Xt={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":Function},en=["before-show","show","before-hide","hide"];function tn({showing:t,canShow:n,hideOnRouteChange:o,handleShow:r,handleHide:i,processOnMount:a}){const l=e.getCurrentInstance(),{props:s,emit:u,proxy:c}=l;let d;function A(e){!0===t.value?h(e):p(e)}function p(t){if(!0===s.disable||void 0!==n&&!0!==n(t))return;const o=void 0!==s["onUpdate:modelValue"];!0===o&&(u("update:modelValue",!0),d=t,e.nextTick((()=>{d===t&&(d=void 0)}))),null!==s.modelValue&&!1!==o||f(t)}function f(e){!0!==t.value&&(t.value=!0,u("before-show",e),void 0!==r?r(e):u("show",e))}function h(t){if(!0===s.disable)return;const n=void 0!==s["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!1),d=t,e.nextTick((()=>{d===t&&(d=void 0)}))),null!==s.modelValue&&!1!==n||m(t)}function m(e){!1!==t.value&&(t.value=!1,u("before-hide",e),void 0!==i?i(e):u("hide",e))}function v(e){!0===s.disable&&!0===e?void 0!==s["onUpdate:modelValue"]&&u("update:modelValue",!1):!0===e!==t.value&&(!0===e?f:m)(d)}e.watch((()=>s.modelValue),v),void 0!==o&&!0===ft(l)&&e.watch((()=>c.$route),(()=>{!0===o.value&&!0===t.value&&h()})),!0===a&&e.onMounted((()=>{v(s.modelValue)}));const g={show:p,hide:h,toggle:A};return Object.assign(c,g),g}let nn=[];const on=[];function rn(e){on.push(e)}function an(e){const t=on.indexOf(e);-1!==t&&on.splice(t,1),0===on.length&&nn.length>0&&(nn[nn.length-1](),nn=[])}function ln(e){if(0!==on.length)return nn.push(e),e;e()}function sn(e){const t=nn.indexOf(e);-1!==t&&nn.splice(t,1)}const un=[];let cn=document.body;function dn(e){const t=document.createElement("div");if(void 0!==e&&(t.id=e),void 0!==ce.globalNodes){const e=ce.globalNodes.class;void 0!==e&&(t.className=e)}return cn.appendChild(t),un.push(t),t}function An(e){un.splice(un.indexOf(e),1),e.remove()}function pn(e){e!==cn&&(cn=e,un.forEach((e=>{!1===e.contains(cn)&&cn.appendChild(e)})))}const fn=[];function hn(e){return fn.find((t=>null!==t.__qPortalInnerRef.value&&t.__qPortalInnerRef.value.contains(e)))}function mn(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return At(e)}else if(void 0!==e.__qPortalInnerRef){const n=At(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=At(e)}while(null!=e)}
2function vn(e,t,n){for(;0!==n&&null!=e;){if(void 0!==e.__qPortalInnerRef){if(n--,"QMenu"===e.$options.name){e=mn(e,t);continue}e.hide(t)}e=At(e)}}function gn(e){for(e=e.parent;null!=e;){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function yn(t,n,o,r){const i=e.ref(!1);let a=null;const l={},s=!0===r&&gn(t);function u(e){!0!==e?(!1===s&&null===a&&(a=dn()),i.value=!0,fn.push(t.proxy),rn(l)):an(l)}function c(){an(l),i.value=!1;const e=fn.indexOf(t.proxy);e>-1&&fn.splice(e,1),null!==a&&(An(a),a=null)}return e.onUnmounted(c),Object.assign(t.proxy,{__qPortalInnerRef:n}),{showPortal:u,hidePortal:c,portalIsActive:i,renderPortal:()=>!0===s?o():!0===i.value?[e.h(e.Teleport,{to:a},o())]:void 0}}const bn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function wn(t,n){const o=e.ref(n.value);return e.watch(n,(t=>{e.nextTick((()=>{o.value=t}))})),{transition:e.computed((()=>"q-transition--"+(!0===o.value?t.transitionHide:t.transitionShow))),transitionStyle:e.computed((()=>`--q-transition-duration: ${t.transitionDuration}ms`))}}function Ln(){let t;return e.onBeforeUnmount((()=>{t=void 0})),{registerTick(e){t=e},removeTick(){t=void 0},prepareTick(){if(void 0!==t){const n=t;e.nextTick((()=>{t===n&&(t(),t=void 0)}))}}}}function Cn(){let t;return e.onBeforeUnmount((()=>{clearTimeout(t)})),{registerTimeout(e,n){clearTimeout(t),t=setTimeout(e,n)},removeTimeout(){clearTimeout(t)}}}const Bn=[null,document,document.body,document.scrollingElement,document.documentElement];function _n(e,t){let n=Ft(t);if(void 0===n){if(null==e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Bn.includes(n)?window:n}function kn(e){return(e===window?document.body:e).scrollHeight}function xn(e){return(e===window?document.body:e).scrollWidth}function Sn(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function En(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Tn(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],r=Sn(e);n<=0?r!==t&&Fn(e,t):requestAnimationFrame((i=>{const a=i-o,l=r+(t-r)/Math.max(a,n)*a;Fn(e,l),l!==t&&Tn(e,t,n-a,i)}))}function Nn(e,t,n=0){const o=void 0===arguments[3]?performance.now():arguments[3],r=En(e);n<=0?r!==t&&Vn(e,t):requestAnimationFrame((i=>{const a=i-o,l=r+(t-r)/Math.max(a,n)*a;Vn(e,l),l!==t&&Nn(e,t,n-a,i)}))}function Fn(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function Vn(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}
2function On(e,t,n){n?Tn(e,t,n):Fn(e,t)}function Un(e,t,n){n?Nn(e,t,n):Vn(e,t)}let Qn;function qn(){if(void 0!==Qn)return Qn;const e=document.createElement("p"),t=document.createElement("div");Et(e,{width:"100%",height:"200px"}),Et(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),Qn=n-o,Qn}function Mn(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}var In={getScrollTarget:_n,getScrollHeight:kn,getScrollWidth:xn,getVerticalScrollPosition:Sn,getHorizontalScrollPosition:En,animVerticalScrollTo:Tn,animHorizontalScrollTo:Nn,setVerticalScrollPosition:On,setHorizontalScrollPosition:Un,getScrollbarWidth:qn,hasScrollbar:Mn};const Pn=[];let Dn;function Hn(e){Dn=27===e.keyCode}function Rn(){!0===Dn&&(Dn=!1)}function jn(e){!0===Dn&&(Dn=!1,!0===K(e,27)&&Pn[Pn.length-1](e))}function $n(e){window[e]("keydown",Hn),window[e]("blur",Rn),window[e]("keyup",jn),Dn=!1}function zn(e){!0===c.is.desktop&&(Pn.push(e),1===Pn.length&&$n("addEventListener"))}function Kn(e){const t=Pn.indexOf(e);t>-1&&(Pn.splice(t,1),0===Pn.length&&$n("removeEventListener"))}const Wn=[];function Yn(e){Wn[Wn.length-1](e)}function Gn(e){!0===c.is.desktop&&(Wn.push(e),1===Wn.length&&document.body.addEventListener("focusin",Yn))}function Zn(e){const t=Wn.indexOf(e);t>-1&&(Wn.splice(t,1),0===Wn.length&&document.body.removeEventListener("focusin",Yn))}let Jn;const{notPassiveCapture:Xn}=p,eo=[];function to(e){for(;null!==(e=e.nextElementSibling);)if(e.classList.contains("q-dialog--modal"))return!0;return!1}function no(e){clearTimeout(Jn);const t=e.target;if(void 0!==t&&8!==t.nodeType&&!0!==t.classList.contains("no-pointer-events"))for(let n=eo.length-1;n>=0;n--){const o=eo[n];if(null!==o.anchorEl.value&&!1!==o.anchorEl.value.contains(t)||t!==document.body&&(null===o.innerRef.value||!1!==o.innerRef.value.contains(t))||void 0!==o.getEl&&!0===to(o.getEl()))return;e.qClickOutside=!0,o.onClickOutside(e)}}function oo(e){eo.push(e),1===eo.length&&(document.addEventListener("mousedown",no,Xn),document.addEventListener("touchstart",no,Xn))}function ro(e){const t=eo.findIndex((t=>t===e));t>-1&&(eo.splice(t,1),0===eo.length&&(clearTimeout(Jn),document.removeEventListener("mousedown",no,Xn),document.removeEventListener("touchstart",no,Xn)))}let io,ao;function lo(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function so(e){return!e||2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}const uo={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function co(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:uo[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function Ao(e,t){let{top:n,left:o,right:r,bottom:i,width:a,height:l}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],o-=t[0],i+=t[1],r+=t[0],a+=t[0],l+=t[1]),{top:n,left:o,right:r,bottom:i,width:a,height:l,middle:o+(r-o)/2,center:n+(i-n)/2}}function po(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}function fo(e){if(!0===c.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==io&&(e.setProperty("--q-pe-left",t+"px"),io=t),n!==ao&&(e.setProperty("--q-pe-top",n+"px"),ao=n)}let t;const{scrollLeft:n,scrollTop:o}=e.el;if(void 0===e.absoluteOffset)t=Ao(e.anchorEl,!0===e.cover?[0,0]:e.offset);else{const{top:n,left:o}=e.anchorEl.getBoundingClientRect(),r=n+e.absoluteOffset.top,i=o+e.absoluteOffset.left;t={top:r,left:i,width:1,height:1,right:i+1,center:r,middle:i,bottom:r+1}}let r={maxHeight:e.maxHeight,maxWidth:e.maxWidth,visibility:"visible"};!0!==e.fit&&!0!==e.cover||(r.minWidth=t.width+"px",!0===e.cover&&(r.minHeight=t.height+"px")),Object.assign(e.el.style,r);
2const i=po(e.el),a={top:t[e.anchorOrigin.vertical]-i[e.selfOrigin.vertical],left:t[e.anchorOrigin.horizontal]-i[e.selfOrigin.horizontal]};ho(a,t,i,e.anchorOrigin,e.selfOrigin),r={top:a.top+"px",left:a.left+"px"},void 0!==a.maxHeight&&(r.maxHeight=a.maxHeight+"px",t.height>a.maxHeight&&(r.minHeight=r.maxHeight)),void 0!==a.maxWidth&&(r.maxWidth=a.maxWidth+"px",t.width>a.maxWidth&&(r.minWidth=r.maxWidth)),Object.assign(e.el.style,r),e.el.scrollTop!==o&&(e.el.scrollTop=o),e.el.scrollLeft!==n&&(e.el.scrollLeft=n)}function ho(e,t,n,o,r){const i=n.bottom,a=n.right,l=qn(),s=window.innerHeight-l,u=document.body.clientWidth;if(e.top<0||e.top+i>s)if("center"===r.vertical)e.top=t[o.vertical]>s/2?Math.max(0,s-i):0,e.maxHeight=Math.min(i,s);else if(t[o.vertical]>s/2){const n=Math.min(s,"center"===o.vertical?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,n),e.top=Math.max(0,n-i)}else e.top=Math.max(0,"center"===o.vertical?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,s-e.top);if(e.left<0||e.left+a>u)if(e.maxWidth=Math.min(a,u),"middle"===r.horizontal)e.left=t[o.horizontal]>u/2?Math.max(0,u-a):0;else if(t[o.horizontal]>u/2){const n=Math.min(u,"middle"===o.horizontal?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(a,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===o.horizontal?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(a,u-e.left)}["left","middle","right"].forEach((e=>{uo[`${e}#ltr`]=e,uo[`${e}#rtl`]=e}));var mo=e.defineComponent({name:"QMenu",inheritAttrs:!1,props:{...Gt,...Xt,...rt,...bn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:lo},self:{type:String,validator:lo},offset:{type:Array,validator:so},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...en,"click","escape-key"],setup(t,{slots:n,emit:o,attrs:r}){let i,a,l,s=null;const u=e.getCurrentInstance(),{proxy:c}=u,{$q:d}=c,A=e.ref(null),p=e.ref(!1),f=e.computed((()=>!0!==t.persistent&&!0!==t.noRouteDismiss)),h=it(t,d),{registerTick:m,removeTick:v,prepareTick:y}=Ln(),{registerTimeout:b,removeTimeout:w}=Cn(),{transition:L,transitionStyle:C}=wn(t,p),{localScrollTarget:B,changeScrollEvent:k,unconfigureScrollTarget:x}=Jt(t,j),{anchorEl:S,canShow:E}=Zt({showing:p}),{hide:T}=tn({showing:p,canShow:E,handleShow:D,handleHide:H,hideOnRouteChange:f,processOnMount:!0}),{showPortal:N,hidePortal:F,renderPortal:V}=yn(u,A,Y),O={anchorEl:S,innerRef:A,getEl:()=>c.$el,onClickOutside(e){if(!0!==t.persistent&&!0===p.value)return T(e),("touchstart"===e.type||e.target.classList.contains("q-dialog__backdrop"))&&_(e),!0}},U=e.computed((()=>co(t.anchor||(!0===t.cover?"center middle":"bottom start"),d.lang.rtl))),Q=e.computed((()=>!0===t.cover?U.value:co(t.self||"top start",d.lang.rtl))),q=e.computed((()=>(!0===t.square?" q-menu--square":"")+(!0===h.value?" q-menu--dark q-dark":""))),M=e.computed((()=>!0===t.autoClose?{onClick:$}:{})),I=e.computed((()=>!0===p.value&&!0!==t.persistent));function P(){ln((()=>{let e=A.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus], [data-autofocus]")||e,e.focus())}))}function D(n){if(v(),w(),s=!1===t.noRefocus?document.activeElement:null,Gn(z),N(),j(),i=void 0,void 0!==n&&(t.touchPosition||t.contextMenu)){const e=g(n);if(void 0!==e.left){const{top:t,left:n}=S.value.getBoundingClientRect();i={left:e.left-n,top:e.top-t}}}void 0===a&&(a=e.watch((()=>d.screen.width+"|"+d.screen.height+"|"+t.self+"|"+t.anchor+"|"+d.lang.rtl),W)),!0!==t.noFocus&&document.activeElement.blur(),m((()=>{W(),!0!==t.noFocus&&P()})),y(),b((()=>{!0===d.platform.is.ios&&(l=t.autoClose,A.value.click()),W(),N(!0),o("show",n)}),t.transitionDuration)}function H(e){v(),w(),R(!0),null===s||void 0!==e&&!0===e.qClickOutside||s.focus(),b((()=>{F(),o("hide",e)}),t.transitionDuration)}function R(e){i=void 0,void 0!==a&&(a(),a=void 0),!0!==e&&!0!==p.value||(Zn(z),x(),ro(O),Kn(K))}function j(){null===S.value&&void 0===t.scrollTarget||(B.value=_n(S.value,t.scrollTarget),k(B.value,W))}
2function $(e){!0!==l?(mn(c,e),o("click",e)):l=!1}function z(e){!0===I.value&&!0!==Vt(A.value,e.target)&&P()}function K(e){o("escape-key"),T(e)}function W(){const e=A.value;null!==e&&null!==S.value&&fo({el:e,offset:t.offset,anchorEl:S.value,anchorOrigin:U.value,selfOrigin:Q.value,absoluteOffset:i,fit:t.fit,cover:t.cover,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function Y(){return e.h(e.Transition,{name:L.value,appear:!0},(()=>!0===p.value?e.h("div",{...r,ref:A,tabindex:-1,class:["q-menu q-position-engine scroll"+q.value,r.class],style:[r.style,C.value],...M.value},Me(n.default)):null))}return e.watch(I,(e=>{!0===e?(zn(K),oo(O)):(Kn(K),ro(O))})),e.onBeforeUnmount(R),Object.assign(c,{focus:P,updatePosition:W}),V}}),vo=e.defineComponent({name:"QBtnDropdown",props:{...Dt,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean},emits:["update:modelValue","click","before-show","show","before-hide","hide"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),i=e.ref(t.modelValue),a=e.ref(null),l=e.computed((()=>{const e={"aria-expanded":!0===i.value?"true":"false","aria-haspopup":"true"};return(!0===t.disable||!1===t.split&&!0===t.disableMainBtn||!0===t.disableDropdown)&&(e["aria-disabled"]="true"),e})),s=e.computed((()=>"q-btn-dropdown__arrow"+(!0===i.value&&!1===t.noIconAnimation?" rotate-180":"")+(!1===t.split?" q-btn-dropdown__arrow-container":"")));function u(e){i.value=!0,o("before-show",e)}function c(e){o("show",e),o("update:modelValue",!0)}function d(e){i.value=!1,o("before-hide",e)}function A(e){o("hide",e),o("update:modelValue",!1)}function p(e){o("click",e)}function f(e){C(e),v(),o("click",e)}function h(e){null!==a.value&&a.value.toggle(e)}function m(e){null!==a.value&&a.value.show(e)}function v(e){null!==a.value&&a.value.hide(e)}return e.watch((()=>t.modelValue),(e=>{null!==a.value&&a.value[e?"show":"hide"]()})),e.watch((()=>t.split),v),Object.assign(r,{show:m,hide:v,toggle:h}),e.onMounted((()=>{!0===t.modelValue&&m()})),()=>{const o=[e.h(et,{class:s.value,name:t.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return!0!==t.disableDropdown&&o.push(e.h(mo,{ref:a,class:t.contentClass,style:t.contentStyle,cover:t.cover,fit:!0,persistent:t.persistent,noRouteDismiss:t.noRouteDismiss,autoClose:t.autoClose,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,separateClosePopup:!0,onBeforeShow:u,onShow:c,onBeforeHide:d,onHide:A},n.default)),!1===t.split?e.h(Kt,{class:"q-btn-dropdown q-btn-dropdown--simple",...t,disable:!0===t.disable||!0===t.disableMainBtn,noWrap:!0,round:!1,...l.value,onClick:p},(()=>Me(n.label,[]).concat(o))):e.h(Wt,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",outline:t.outline,flat:t.flat,rounded:t.rounded,push:t.push,unelevated:t.glossy,stretch:t.stretch},(()=>[e.h(Kt,{class:"q-btn-dropdown--current",...t,disable:!0===t.disable||!0===t.disableMainBtn,noWrap:!0,iconRight:t.iconRight,round:!1,onClick:f},n.label),e.h(Kt,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...l.value,disable:!0===t.disable||!0===t.disableDropdown,outline:t.outline,flat:t.flat,rounded:t.rounded,push:t.push,size:t.size,color:t.color,textColor:t.textColor,dense:t.dense,ripple:t.ripple},(()=>o))]))}}});const go={name:String};function yo(t){return e.computed((()=>({type:"hidden",name:t.name,value:t.modelValue})))}function bo(t={},n={}){return(o,r,i)=>{o[r](e.h("input",{class:"hidden"+(i||""),...t.value,...n.value}))}}function wo(t){return e.computed((()=>t.name||t.for))}var Lo=e.defineComponent({name:"QBtnToggle",props:{...go,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every((e=>("label"in e||"icon"in e||"slot"in e)&&"value"in e))},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(t,{slots:n,emit:o}){const r=e.computed((()=>void 0!==t.options.find((e=>e.value===t.modelValue)))),i=bo(e.computed((()=>({type:"hidden",name:t.name,value:t.modelValue})))),a=e.computed((()=>t.options.map(((e,n)=>{const{attrs:o,value:r,slot:i,...a}=e;return{slot:i,props:{key:n,onClick(t){l(r,e,t)},...o,...a,outline:t.outline,flat:t.flat,rounded:t.rounded,push:t.push,unelevated:t.unelevated,dense:t.dense,disable:!0===t.disable||!0===a.disable,color:r===t.modelValue?s(a,"toggleColor"):s(a,"color"),textColor:r===t.modelValue?s(a,"toggleTextColor"):s(a,"textColor"),noCaps:!0===s(a,"n
2oCaps"),noWrap:!0===s(a,"noWrap"),size:s(a,"size"),padding:s(a,"padding"),ripple:s(a,"ripple"),stack:!0===s(a,"stack"),stretch:!0===s(a,"stretch")}}}))));function l(e,n,r){!0!==t.readonly&&(t.modelValue===e?!0===t.clearable&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",e,n),o("click",r))}function s(e,n){return void 0===e[n]?t[n]:e[n]}function u(){const o=a.value.map((t=>e.h(Kt,t.props,void 0!==t.slot?n[t.slot]:void 0)));return void 0!==t.name&&!0!==t.disable&&!0===r.value&&i(o,"push"),Pe(n.default,o)}return()=>e.h(Wt,{class:"q-btn-toggle",outline:t.outline,flat:t.flat,rounded:t.rounded,push:t.push,stretch:t.stretch,unelevated:t.unelevated,glossy:t.glossy,spread:t.spread},u)}}),Co=e.defineComponent({name:"QCard",props:{...rt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>"q-card"+(!0===r.value?" q-card--dark q-dark":"")+(!0===t.bordered?" q-card--bordered":"")+(!0===t.square?" q-card--square no-border-radius":"")+(!0===t.flat?" q-card--flat no-shadow":"")));return()=>e.h(t.tag,{class:i.value},Me(n.default))}}),Bo=e.defineComponent({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(t,{slots:n}){const o=e.computed((()=>"q-card__section q-card__section--"+(!0===t.horizontal?"horiz row no-wrap":"vert")));return()=>e.h(t.tag,{class:o.value},Me(n.default))}}),_o=e.defineComponent({name:"QCardActions",props:{...ct,vertical:Boolean},setup(t,{slots:n}){const o=dt(t),r=e.computed((()=>`q-card__actions ${o.value} q-card__actions--`+(!0===t.vertical?"vert column":"horiz row")));return()=>e.h("div",{class:r.value},Me(n.default))}});const ko={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},xo=Object.keys(ko);function So(e){const t={};for(const n of xo)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?ko:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}function Eo(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"==typeof t.handler&&"INPUT"!==e.target.nodeName.toUpperCase()&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}function To(e){const t=[.06,6,50];return"string"==typeof e&&e.length&&e.split(":").forEach(((e,n)=>{const o=parseFloat(e);o&&(t[n]=o)})),t}ko.all=!0;var No={name:"touch-swipe",beforeMount(e,{value:t,arg:n,modifiers:o}){if(!0!==o.mouse&&!0!==c.has.touch)return;const r=!0===o.mouseCapture?"Capture":"",i={handler:t,sensitivity:To(n),direction:So(o),noop:f,mouseStart(e){Eo(e,i)&&h(e)&&(x(i,"temp",[[document,"mousemove","move",`notPassive${r}`],[document,"mouseup","end","notPassiveCapture"]]),i.start(e,!0))},touchStart(e){if(Eo(e,i)){const t=e.target;x(i,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),i.start(e)}},start(t,n){!0===c.is.firefox&&k(e,!0);const o=g(t);i.event={x:o.left,y:o.top,time:Date.now(),mouse:!0===n,dir:!1}},move(e){if(void 0===i.event)return;if(!1!==i.event.dir)return void _(e);const t=Date.now()-i.event.time;if(0===t)return;const n=g(e),o=n.left-i.event.x,r=Math.abs(o),a=n.top-i.event.y,l=Math.abs(a);if(!0!==i.event.mouse){if(r<i.sensitivity[1]&&l<i.sensitivity[1])return void i.end(e)}else if(r<i.sensitivity[2]&&l<i.sensitivity[2])return;const s=r/t,u=l/t;!0===i.direction.vertical&&r<l&&r<100&&u>i.sensitivity[0]&&(i.event.dir=a<0?"up":"down"),!0===i.direction.horizontal&&r>l&&l<100&&s>i.sensitivity[0]&&(i.event.dir=o<0?"left":"right"),!0===i.direction.up&&r<l&&a<0&&r<100&&u>i.sensitivity[0]&&(i.event.dir="up"),!0===i.direction.down&&r<l&&a>0&&r<100&&u>i.sensitivity[0]&&(i.event.dir="down"),!0===i.direction.left&&r>l&&o<0&&l<100&&s>i.sensitivity[0]&&(i.event.dir="left"),!0===i.direction.right&&r>l&&o>0&&l<100&&s>i.sensitivity[0]&&(i.event.dir="right"),!1!==i.event.dir?(_(e),!0===i.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Yt(),i.styleCleanup=e=>{i.styleCleanup=void 0,document.body.classList.remove("non-selectable");const t=()=>{document.body.classList.remove("no-pointer-events--children")};!0===e?setTimeout(t,50):t()}),i.handler({evt:e,touch:!0!==i.event.mouse,mouse:i.event.mouse,direction:i.event.dir,duration:t,distance:{x:r,y:l}})):i.end(e)},end(t){void 0!==i.event&&(S(i,"temp"),!0===c.is.firefox&&k(e,!1),void 0!==i.styleCleanup&&i.styleCleanup(!0),void 0!==t&&!1!==i.event.dir&&_(t),i.event=void 0)}};e.__qtouchswipe=i,!0===o.mouse&&x(i,"main",[[e,"mousedown","mouseStart",`passive${r}`]]),!0===c.has.touch&&x(i,"main",[[e,"touchstart","touchStart","passive"+(!0===o.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchswipe;void 0!==n&&(t.oldValue!==t.value&&("function"!=typeof t.value&&n.end(),n.handler=t.value),n.direction=So(t.modifiers))},beforeUnmount(e){const t=e.__qtouchswipe;void 0!==t&&(S(t,"main"),S(t,"temp"),!0===c.is.firefox&&k(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchswipe)}};function Fo(){const e=new Map;return{getCache:function(t,n){return void 0===e[t]?e[t]=n:e[t]},getCacheWithFn:function(t,n){return void 0===e[t]?e[t]=n():e[t]}}}const Vo={name:{required:!0},disable:Boolean},Oo={setup:(t,{slots:n})=>()=>e.h("div",{class:"q-panel scroll",role:"tabpanel"},Me(n.default))},Uo={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},Qo=["update:modelValue","before-transition","transition"];function qo(){const{props:t,emit:n,proxy:o}=e.getCurrentInstance(),{getCacheWithFn:r}=Fo();let i,a;const l=e.ref(null),s=e.ref(null);function u(e){const n=!0===t.vertical?"up":"left";C((!0===o.$q.lang.rtl?-1:1)*(e.direction===n?1:-1))}const c=e.computed((()=>[[No,u,void 0,{horizontal:!0!==t.vertical,vertical:t.vertical,mouse:!0}]])),d=e.computed((()=>t.transitionPrev||"slide-"+(!0===t.vertical?"down":"right"))),A=e.computed((()=>t.transitionNext||"slide-"+(!0===t.vertical?"up":"left"))),p=e.computed((()=>"string"==typeof t.modelValue||"number"==typeof t.modelValue?t.modelValue:String(t.modelValue))),f=e.computed((()=>({include:t.keepAliveInclude,exclude:t.keepAliveExclude,max:t.keepAliveMax}))),h=e.computed((()=>void 0!==t.keepAliveInclude||void 0!==t.keepAliveExclude));function m(){C(1)}function v(){C(-1)}function g(e){n("update:modelValue",e)}function y(e){return null!=e&&""!==e}function b(e){return i.findIndex((t=>t.props.name===e&&""!==t.props.disable&&!0!==t.props.disable))}function w(){return i.filter((e=>""!==e.props.disable&&!0!==e.props.disable))}function L(e){const n=0!==e&&!0===t.animated&&-1!==l.value?"q-transition--"+(-1===e?d.value:A.value):null;s.value!==n&&(s.value=n)}function C(e,o=l.value){let r=o+e;for(;r>-1&&r<i.length;){const t=i[r];if(void 0!==t&&""!==t.props.disable&&!0!==t.props.disable)return L(e),a=!0,n("update:modelValue",t.props.name),void setTimeout((()=>{a=!1}));r+=e}!0===t.infinite&&i.length>0&&-1!==o&&o!==i.length&&C(e,-1===e?i.length:-1)}function B(){const e=b(t.modelValue);return l.value!==e&&(l.value=e),!0}function _(){const n=y(t.modelValue)&&B()&&i[l.value];return!0===t.keepAlive?[e.h(e.KeepAlive,f.value,[e.h(!0===h.value?r(p.value,(()=>({...Oo,name:p.value}))):Oo,{key:p.value},(()=>n))])]:[e.h("div",{class:"q-panel scroll",key:p.value,role:"tabpanel"},[n])]}function k(){if(0!==i.length)return!0===t.animated?[e.h(e.Transition,{name:s.value},_)]:_()}function x(e){return i=pt(Me(e.default,[])).filter((e=>null!==e.props&&void 0===e.props.slot&&y(e.props.name))),i.length}function S(){return i}return e.watch((()=>t.modelValue),((t,o)=>{const r=!0===y(t)?b(t):-1;!0!==a&&L(-1===r?0:r<b(o)?-1:1),l.value!==r&&(l.value=r,n("before-transition",t,o),e.nextTick((()=>{n("transition",t,o)})))})),Object.assign(o,{next:m,previous:v,goTo:g}),{panelIndex:l,panelDirectives:c,updatePanelsList:x,updatePanelIndex:B,getPanelContent:k,getEnabledPanels:w,getPanels:S,isValidPanelName:y,keepAliveProps:f,needsUniqueKeepAliveWrapper:h,goToPanelByOffset:C,goToPanel:g,nextPanel:m,previousPanel:v}}const Mo={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Io=["update:fullscreen","fullscreen"];function Po(){const t=e.getCurrentInstance(),{props:n,emit:o,proxy:r}=t;let i,a,l;const s=e.ref(!1);function u(){!0===s.value?d():c()}function c(){!0!==s.value&&(s.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),document.body.classList.add("q-body--fullscreen-mixin"),i={handler:d},I.add(i))}function d(){!0===s.value&&(void 0!==i&&(I.remove(i),i=void 0),l.replaceChild(r.$el,a),document.body.classList.remove("q-body--fullscreen-mixin"),s.value=!1,void 0!==r.$el.scrollIntoView&&setTimeout((()=>{r.$el.scrollIntoView()})))}return!0===ft(t)&&e.watch((()=>r.$route),(()=>{!0!==n.noRouteFullscreenExit&&d()})),e.watch((()=>n.fullscreen),(e=>{s.value!==e&&u()})),e.watch(s,(e=>{o("update:fullscreen",e),o("fullscreen",e)})),e.onBeforeMount((()=>{a=document.createElement("span")})),e.onMounted((()=>{!0===n.fullscreen&&c()}
2)),e.onBeforeUnmount(d),Object.assign(r,{toggleFullscreen:u,setFullscreen:c,exitFullscreen:d}),{inFullscreen:s,toggleFullscreen:u}}const Do="function"==typeof Map,Ho="function"==typeof Set,Ro="function"==typeof ArrayBuffer;function jo(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(!0!==jo(e[o],t[o]))return!1;return!0}if(!0===Do&&e.constructor===Map){if(e.size!==t.size)return!1;for(o=e.entries().next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=o.next()}for(o=e.entries().next();!0!==o.done;){if(!0!==jo(o.value[1],t.get(o.value[0])))return!1;o=o.next()}return!0}if(!0===Ho&&e.constructor===Set){if(e.size!==t.size)return!1;for(o=e.entries().next();!0!==o.done;){if(!0!==t.has(o.value[0]))return!1;o=o.next()}return!0}if(!0===Ro&&null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e);if(n=r.length,n!==Object.keys(t).length)return!1;for(o=n;0!=o--;){const n=r[o];if(!0!==jo(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function $o(e){return"[object Date]"===Object.prototype.toString.call(e)}function zo(e){return"number"==typeof e&&isFinite(e)}const Ko=["top","right","bottom","left"],Wo=["regular","flat","outline","push","unelevated"];var Yo=e.defineComponent({name:"QCarousel",props:{...rt,...Uo,...Mo,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>Wo.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>Ko.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...Io,...Qo],setup(t,{slots:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=it(t,o);let i,a;const{updatePanelsList:l,getPanelContent:s,panelDirectives:u,goToPanel:c,previousPanel:d,nextPanel:A,getEnabledPanels:p,panelIndex:f}=qo(),{inFullscreen:h}=Po(),m=e.computed((()=>!0!==h.value&&void 0!==t.height?{height:t.height}:{})),v=e.computed((()=>!0===t.vertical?"vertical":"horizontal")),g=e.computed((()=>`q-carousel q-panel-parent q-carousel--with${!0===t.padding?"":"out"}-padding`+(!0===h.value?" fullscreen":"")+(!0===r.value?" q-carousel--dark q-dark":"")+(!0===t.arrows?` q-carou
2sel--arrows-${v.value}`:"")+(!0===t.navigation?` q-carousel--navigation-${L.value}`:""))),y=e.computed((()=>{const e=[t.prevIcon||o.iconSet.carousel[!0===t.vertical?"up":"left"],t.nextIcon||o.iconSet.carousel[!0===t.vertical?"down":"right"]];return!1===t.vertical&&!0===o.lang.rtl?e.reverse():e})),b=e.computed((()=>t.navigationIcon||o.iconSet.carousel.navigationIcon)),w=e.computed((()=>t.navigationActiveIcon||b.value)),L=e.computed((()=>t.navigationPosition||(!0===t.vertical?"right":"bottom"))),C=e.computed((()=>({color:t.controlColor,textColor:t.controlTextColor,round:!0,[t.controlType]:!0,dense:!0})));function B(){i=setTimeout(A,zo(t.autoplay)?t.autoplay:5e3)}function _(n,o){return e.h("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${n} q-carousel__navigation--${L.value}`+(void 0!==t.controlColor?` text-${t.controlColor}`:"")},[e.h("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},p().map(o))])}function k(){const o=[];if(!0===t.navigation){const t=void 0!==n["navigation-icon"]?n["navigation-icon"]:t=>e.h(Kt,{key:"nav"+t.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${!0===t.active?"":"in"}active`,...t.btnProps,onClick:t.onClick}),r=a-1;o.push(_("buttons",((e,n)=>{const o=e.props.name,i=f.value===n;return t({index:n,maxIndex:r,name:o,active:i,btnProps:{icon:!0===i?w.value:b.value,size:"sm",...C.value},onClick:()=>{c(o)}})})))}else if(!0===t.thumbnails){const n=void 0!==t.controlColor?` text-${t.controlColor}`:"";o.push(_("thumbnails",(o=>{const r=o.props;return e.h("img",{key:"tmb#"+r.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${r.name===t.modelValue?"":"in"}active`+n,src:r.imgSrc||r["img-src"],onClick:()=>{c(r.name)}})})))}return!0===t.arrows&&f.value>=0&&((!0===t.infinite||f.value>0)&&o.push(e.h("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${v.value} absolute flex flex-center`},[e.h(Kt,{icon:y.value[0],...C.value,onClick:d})])),(!0===t.infinite||f.value<a-1)&&o.push(e.h("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${v.value} absolute flex flex-center`},[e.h(Kt,{icon:y.value[1],...C.value,onClick:A})]))),Pe(n.control,o)}return e.watch((()=>t.modelValue),(()=>{t.autoplay&&(clearInterval(i),B())})),e.watch((()=>t.autoplay),(e=>{e?B():clearInterval(i)})),e.onMounted((()=>{t.autoplay&&B()})),e.onBeforeUnmount((()=>{clearInterval(i)})),()=>(a=l(n),e.h("div",{class:g.value,style:m.value},[He("div",{class:"q-carousel__slides-container"},s(),"sl-cont",t.swipeable,(()=>u.value))].concat(k())))}}),Go=e.defineComponent({name:"QCarouselSlide",props:{...Vo,imgSrc:String},setup(t,{slots:n}){const o=e.computed((()=>t.imgSrc?{backgroundImage:`url("${t.imgSrc}")`}:{}));return()=>e.h("div",{class:"q-carousel__slide",style:o.value},Me(n.default))}}),Zo=e.defineComponent({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>2===e.length}},setup(t,{slots:n}){const o=e.computed((()=>`q-carousel__control absolute absolute-${t.position}`)),r=e.computed((()=>({margin:`${t.offset[1]}px ${t.offset[0]}px`})));return()=>e.h("div",{class:o.value,style:r.value},Me(n.default))}}),Jo=e.defineComponent({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(t,{slots:n}){const o=e.computed((()=>!0===t.sent?"sent":"received")),r=e.computed((()=>`q-message-text-content q-message-text-content--${o.value}`+(void 0!==t.textColor?` text-${t.textColor}`:""))),i=e.computed((()=>`q-message-text q-message-text--${o.value}`+(void 0!==t.bgColor?` text-${t.bgColor}`:""))),a=e.computed((()=>"q-message-container row items-end no-wrap"+(!0===t.sent?" reverse":""))),l=e.computed((()=>void 0!==t.size?`col-${t.size}`:"")),s=e.computed((()=>({msg:!0===t.textHtml?"innerHTML":"textContent",stamp:!0===t.stampHtml?"innerHTML":"textContent",name:!0===t.nameHtml?"innerHTML":"textContent",label:!0===t.labelHtml?"innerHTML":"textContent"})));function u(o){return void 0!==n.stamp?[o,e.h("div",{class:"q-message-stamp"},n.stamp())]:t.stamp?[o,e.h("div",{class:"q-message-stamp",[s.value.stamp]:t.stamp})]:[o]}function c(t,n){const o=!0===n?t.length>1?e=>e:t=>e.h("div",[t]):t=>e.h("div",{[s.value.msg]:t});return t.map(((t,n)=>e.h("div",{key:n,class:i.value},[e.h("div",{class:r.value},u(o(t)))])))}return()=>{const r=[];void 0!==n.avatar?r.push(n.avatar()):void 0!==t.avatar&&r.push(e.h("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:t.avatar,"aria-hidden":"true"}));const i=[];void 0!==n.name?i.push(e.h("div",{class:`q-message-name q-message-name--${o.value}`},n.name())):void 0!==t.name&&i.push(e.h("div",{class:`q-message-name q-message-name--${o.value}`,[s.value.name]:t.name})),void 0!==n.default?i.push(c(pt(n.default()),!0)):void 0!==t.text&&i.push(c(t.text)),r.push(e.h("div",{class:l.value},i));const u=[];return void 0!==n.label?u.push(e.h("div",{class:"q-message-label"},n.label())):void 0!==t.label&&u.push(e.h("div",{class:"q-message-label",[s.value.label]:t.label})),u.push(e.h("div",{class:a.value},r)),e.h("div",{class:`q-message q-message-${o.value}`},u)}}});function Xo(t,n){const o=e.ref(null);function r(e){void 0!==e&&0===e.type.indexOf("key")?document.activeElement!==n.value&&!0===n.value.contains(document.activeElement)&&n.value.focus():void 0!==e&&!0!==n.value.contains(e.target)||null===o.value||o.value.focus()}return{refocusTargetEl:e.computed((()=>!0!==t.disable?null:e.h("span",{ref:o,class:"no-outline",tabindex:-1}))),refocusTarget:r}}var er={xs:30,sm:35,md:40,lg:50,xl:60};const tr={...rt,...Qe,...go,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},nr=["update:modelValue"];function or(t,n){const{props:o,slots:r,emit:i,proxy:a}=e.getCurrentInstance(),{$q:l}=a,s=it(o,l),u=e.ref(null),{refocusTargetEl:c,refocusTarget:d}=Xo(o,u),A=qe(o,er),p=e.computed((()=>void 0!==o.val&&Array.isArray(o.modelValue))),f=e.computed((()=>!0===p.value?o.modelValue.indexOf(o.val):-1)),h=e.computed((()=>!0===p.value?f.value>-1:o.modelValue===o.trueValue)),m=e.computed((()=>!0===p.value?-1===f.value:o.modelValue===o.falseValue)),v=e.computed((()=>!1===h.value&&!1===m.value)),g=e.computed((()=>!0===o.disable?-1:o.tabindex||0)),y=e.computed((()=>`q-${t} cursor-pointer no-outline row inline no-wrap items-center`+(!0===o.disable?" disabled":"")+(!0===s.value?` q-${t}--dark`:"")+(!0===o.dense?` q-${t}--dense`:"")+(!0===o.leftLabel?" reverse":""))),b=e.computed((()=>
2{const e=!0===h.value?"truthy":!0===m.value?"falsy":"indet",n=void 0===o.color||!0!==o.keepColor&&("toggle"===t?!0!==h.value:!0===m.value)?"":` text-${o.color}`;return`q-${t}__inner relative-position non-selectable q-${t}__inner--${e}${n}`})),w=bo(e.computed((()=>{const e={type:"checkbox"};return void 0!==o.name&&Object.assign(e,{checked:h.value,name:o.name,value:!0===p.value?o.val:o.trueValue}),e}))),L=e.computed((()=>{const e={tabindex:g.value,role:"checkbox","aria-label":o.label,"aria-checked":!0===v.value?"mixed":!0===h.value?"true":"false"};return!0===o.disable&&(e["aria-disabled"]="true"),e}));function C(e){void 0!==e&&(_(e),d(e)),!0!==o.disable&&i("update:modelValue",B(),e)}function B(){if(!0===p.value){if(!0===h.value){const e=o.modelValue.slice();return e.splice(f.value,1),e}return o.modelValue.concat([o.val])}if(!0===h.value){if("ft"!==o.toggleOrder||!1===o.toggleIndeterminate)return o.falseValue}else{if(!0!==m.value)return"ft"!==o.toggleOrder?o.trueValue:o.falseValue;if("ft"===o.toggleOrder||!1===o.toggleIndeterminate)return o.trueValue}return o.indeterminateValue}function k(e){13!==e.keyCode&&32!==e.keyCode||_(e)}function x(e){13!==e.keyCode&&32!==e.keyCode||C(e)}const S=n(h,v);return Object.assign(a,{toggle:C}),()=>{const n=S();!0!==o.disable&&w(n,"unshift",` q-${t}__native absolute q-ma-none q-pa-none`);const i=[e.h("div",{class:b.value,style:A.value},n)];null!==c.value&&i.push(c.value);const a=void 0!==o.label?Pe(r.default,[o.label]):Me(r.default);return void 0!==a&&i.push(e.h("div",{class:`q-${t}__label q-anchor--skip`},a)),e.h("div",{ref:u,class:y.value,...L.value,onClick:C,onKeydown:k,onKeyup:x},i)}}const rr=e.h("div",{class:"q-checkbox__bg absolute"},[e.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24","aria-hidden":"true"},[e.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),e.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var ir=e.defineComponent({name:"QCheckbox",props:tr,emits:nr,setup:()=>or("checkbox",(()=>()=>[rr]))});const ar={xs:8,sm:10,md:14,lg:20,xl:24};var lr=e.defineComponent({name:"QChip",props:{...rt,...Qe,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=it(t,r),a=qe(t,ar),l=e.computed((()=>!0===t.selected||void 0!==t.icon)),s=e.computed((()=>!0===t.selected?t.iconSelected||r.iconSet.chip.selected:t.icon)),u=e.computed((()=>t.iconRemove||r.iconSet.chip.remove)),c=e.computed((()=>!1===t.disable&&(!0===t.clickable||null!==t.selected))),d=e.computed((()=>{const e=!0===t.outline&&t.color||t.textColor;return"q-chip row inline no-wrap items-center"+(!1===t.outline&&void 0!==t.color?` bg-${t.color}`:"")+(e?` text-${e} q-chip--colored`:"")+(!0===t.disable?" disabled":"")+(!0===t.dense?" q-chip--dense":"")+(!0===t.outline?" q-chip--outline":"")+(!0===t.selected?" q-chip--selected":"")+(!0===c.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===t.square?" q-chip--square":"")+(!0===i.value?" q-chip--dark q-dark":"")})),A=e.computed((()=>!0===t.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:t.tabindex||0}));function p(e){13===e.keyCode&&f(e)}function f(e){t.disable||(o("update:selected",!t.selected),o("click",e))}
2function h(e){void 0!==e.keyCode&&13!==e.keyCode||(_(e),!1===t.disable&&(o("update:modelValue",!1),o("remove")))}function m(){const o=[];!0===c.value&&o.push(e.h("div",{class:"q-focus-helper"})),!0===l.value&&o.push(e.h(et,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const r=void 0!==t.label?[e.h("div",{class:"ellipsis"},[t.label])]:void 0;return o.push(e.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},De(n.default,r))),t.iconRight&&o.push(e.h(et,{class:"q-chip__icon q-chip__icon--right",name:t.iconRight})),!0===t.removable&&o.push(e.h(et,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...A.value,onClick:h,onKeyup:h})),o}return()=>{if(!1===t.modelValue)return;const e={class:d.value,style:a.value};return!0===c.value&&Object.assign(e,A.value,{onClick:f,onKeyup:p}),He("div",e,m(),"ripple",!1!==t.ripple&&!0!==t.disable,(()=>[[Mt,t.ripple]]))}}});const sr={...Qe,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean},ur=50,cr=2*ur,dr=cr*Math.PI,Ar=Math.round(1e3*dr)/1e3;var pr=e.defineComponent({name:"QCircularProgress",props:{...sr,value:{type:Number,default:0},indeterminate:Boolean},setup(t,{slots:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=qe(t),i=e.computed((()=>{const e=(!0===o.lang.rtl?-1:1)*t.angle;return{transform:t.reverse!==(!0===o.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-e}deg)`:`rotate3d(0, 0, 1, ${e-90}deg)`}})),a=e.computed((()=>!0!==t.instantFeedback&&!0!==t.indeterminate?{transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}:"")),l=e.computed((()=>cr/(1-t.thickness/2))),s=e.computed((()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`)),u=e.computed((()=>we(t.value,t.min,t.max))),c=e.computed((()=>dr*(1-(u.value-t.min)/(t.max-t.min)))),d=e.computed((()=>t.thickness/2*l.value));function A({thickness:t,offset:n,color:o,cls:r}){return e.h("circle",{class:"q-circular-progress__"+r+(void 0!==o?` text-${o}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":t,"stroke-dasharray":Ar,"stroke-dashoffset":n,cx:l.value,cy:l.value,r:ur})}return()=>{const o=[];void 0!==t.centerColor&&"transparent"!==t.centerColor&&o.push(e.h("circle",{class:`q-circular-progress__center text-${t.centerColor}`,fill:"currentColor",r:ur-d.value/2,cx:l.value,cy:l.value})),void 0!==t.trackColor&&"transparent"!==t.trackColor&&o.push(A({cls:"track",thickness:d.value,offset:0,color:t.trackColor})),o.push(A({cls:"circle",thickness:d.value,offset:c.value,color:t.color}));const a=[e.h("svg",{class:"q-circular-progress__svg",style:i.value,viewBox:s.value,"aria-hidden":"true"},o)];return!0===t.showValue&&a.push(e.h("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:t.fontSize}},void 0!==n.default?n.default():[e.h("div",u.value)])),e.h("div",{class:`q-circular-progress q-circular-progress--${!0===t.indeterminate?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":!0===t.indeterminate?void 0:u.value},De(n.internal,a))}}});function fr(e,t,n){const o=g(e);let r,i=o.left-t.event.x,a=o.top-t.event.y,l=Math.abs(i),s=Math.abs(a);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?r=i<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?r=a<0?"up":"down":!0===u.up&&a<0?(r="up",l>s&&(!0===u.left&&i<0?r="left":!0===u.right&&i>0&&(r="right"))):!0===u.down&&a>0?(r="down",l>s&&(!0===u.left&&i<0?r="left":!0===u.right&&i>0&&(r="right"))):!0===u.left&&i<0?(r="left",l<s&&(!0===u.up&&a<0?r="up":!0===u.down&&a>0&&(r="down"))):!0===u.right&&i>0&&(r="right",l<s&&(!0===u.up&&a<0?r="up":!0===u.down&&a>0&&(r="down")));let c=!1;if(void 0===r&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};r=t.event.lastDir,c=!0,"left"===r||"right"===r?(o.left-=i,l=0,i=0):(o.top-=a,s=0,a=0)}return{synthetic:c,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:o,direction:r,isFirst:t.event.is
2First,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:l,y:s},offset:{x:i,y:a},delta:{x:o.left-t.event.lastX,y:o.top-t.event.lastY}}}}let hr=0;var mr={name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==c.has.touch)return;function o(e,t){!0===n.mouse&&!0===t?_(e):(!0===n.stop&&C(e),!0===n.prevent&&B(e))}const r={uid:"qvtp_"+hr++,handler:t,modifiers:n,direction:So(n),noop:f,mouseStart(e){Eo(e,r)&&h(e)&&(x(r,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),r.start(e,!0))},touchStart(e){if(Eo(e,r)){const t=e.target;x(r,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),r.start(e)}},start(t,o){!0===c.is.firefox&&k(e,!0),r.lastEvt=t;const i=g(t);if(!0===o||!0===n.stop){if(!0!==r.direction.all&&(!0!==o||!0!==r.direction.mouseAllDir)){const e=t.type.indexOf("mouse")>-1?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&B(e),!0===t.cancelBubble&&C(e),e.qClonedBy=void 0===t.qClonedBy?[r.uid]:t.qClonedBy.concat(r.uid),e.qKeyEvent=t.qKeyEvent,e.qClickOutside=t.qClickOutside,r.initialEvent={target:t.target,event:e}}C(t)}r.event={x:i.left,y:i.top,time:Date.now(),mouse:!0===o,detected:!1,isFirst:!0,isFinal:!1,lastX:i.left,lastY:i.top}},move(e){if(void 0===r.event)return;r.lastEvt=e;const t=!0===r.event.mouse,i=()=>{o(e,t),!0!==n.preserveCursor&&(document.documentElement.style.cursor="grabbing"),!0===t&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Yt(),r.styleCleanup=e=>{if(r.styleCleanup=void 0,!0!==n.preserveCursor&&(document.documentElement.style.cursor=""),document.body.classList.remove("non-selectable"),!0===t){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===r.event.detected){!0!==r.event.isFirst&&o(e,r.event.mouse);const{payload:t,synthetic:n}=fr(e,r,!1);return void(void 0!==t&&(!1===r.handler(t)?r.end(e):(void 0===r.styleCleanup&&!0===r.event.isFirst&&i(),r.event.lastX=t.position.left,r.event.lastY=t.position.top,r.event.lastDir=!0===n?void 0:t.direction,r.event.is
2First=!1)))}if(!0===r.direction.all||!0===t&&!0===r.modifiers.mouseAllDir)return i(),r.event.detected=!0,void r.move(e);const a=g(e),l=a.left-r.event.x,s=a.top-r.event.y,u=Math.abs(l),c=Math.abs(s);u!==c&&(!0===r.direction.horizontal&&u>c||!0===r.direction.vertical&&u<c||!0===r.direction.up&&u<c&&s<0||!0===r.direction.down&&u<c&&s>0||!0===r.direction.left&&u>c&&l<0||!0===r.direction.right&&u>c&&l>0?(r.event.detected=!0,r.move(e)):r.end(e,!0))},end(t,n){if(void 0!==r.event){if(S(r,"temp"),!0===c.is.firefox&&k(e,!1),!0===n)void 0!==r.styleCleanup&&r.styleCleanup(),!0!==r.event.detected&&void 0!==r.initialEvent&&r.initialEvent.target.dispatchEvent(r.initialEvent.event);else if(!0===r.event.detected){!0===r.event.isFirst&&r.handler(fr(void 0===t?r.lastEvt:t,r).payload);const{payload:e}=fr(void 0===t?r.lastEvt:t,r,!0),n=()=>{r.handler(e)};void 0!==r.styleCleanup?r.styleCleanup(n):n()}r.event=void 0,r.initialEvent=void 0,r.lastEvt=void 0}}};e.__qtouchpan=r,!0===n.mouse&&x(r,"main",[[e,"mousedown","mouseStart","passive"+(!0===n.mouseCapture?"Capture":"")]]),!0===c.has.touch&&x(r,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!=typeof value&&n.end(),n.handler=t.value),n.direction=So(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),S(t,"main"),S(t,"temp"),!0===c.is.firefox&&k(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}};const vr=[34,37,40,33,39,38];function gr(e,t,n,o){const r=g(e),i=we(!0===o?(r.top-t.top)/t.height:(r.left-t.left)/t.width,0,1);return!0===n?1-i:i}function yr(e,t,n,o,r){let i=t+e*(n-t);if(o>0){const e=(i-t)%o;i+=(Math.abs(e)>=o/2?(e<0?-1:1)*o:0)-e}return r>0&&(i=parseFloat(i.toFixed(r))),we(i,t,n)}const br={...rt,min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1,validator:e=>e>=0},color:String,labelColor:String,labelTextColor:String,dense:Boolean,label:Boolean,labelAlways:Boolean,markers:Boolean,snap:Boolean,vertical:Boolean,reverse:Boolean,disable:Boolean,readonly:Boolean,tabindex:[String,Number],thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},wr=["pan","update:modelValue","change"];function Lr({updateValue:t,updatePosition:n,getDragging:o}){const{props:r,emit:i,proxy:{$q:a}}=e.getCurrentInstance(),l=it(r,a),s=e.ref(!1),u=e.ref(!1),c=e.ref(!1),d=e.ref(!1),A=e.computed((()=>!0===r.vertical?"--v":"--h")),p=e.computed((()=>!0===r.vertical?!0===r.reverse:r.reverse!==(!0===a.lang.rtl))),f=e.computed((()=>!0!==r.disable&&!0!==r.readonly&&r.min<r.max)),h=e.computed((()=>`q-slider q-slider${A.value} q-slider--${!0===s.value?"":"in"}active`+(!0===p.value?" q-slider--reversed":"")+(void 0!==r.color?` text-${r.color}`:"")+(!0===r.disable?" disabled":" q-slider--enabled"+(!0===f.value?" q-slider--editable":""))+("both"===c.value?" q-slider--focus":"")+(r.label||!0===r.labelAlways?" q-slider--label":"")+(!0===r.labelAlways?" q-slider--label-always":"")+(!0===l.value?" q-slider--dark":"")+(!0===r.dense?" q-slider--dense q-slider--dense"+A.value:""))),m=e.computed((()=>(String(r.step).trim("0").split(".")[1]||"").length)),v=e.computed((()=>0===r.step?1:r.step)),g=e.computed((()=>r.max-r.min)),y=e.computed((()=>{if(0!==g.value){const e=100*v.value/g.value;return{backgroundSize:!0===r.vertical?`2px ${e}%`:`${e}% 2px`}}return null})),b=e.computed((()=>!0===f.value?r.tabindex||0:-1)),w=e.computed((()=>!0===r.vertical?!0===p.value?"bottom":"top":!0===p.value?"right":"left")),L=e.computed((()=>!0===r.vertical?"height":"width")),C=e.computed((()=>!0===r.vertical?"vertical":"horizontal")),B=e.computed((()=>{const e={role:"slider","aria-valuemin":r.min,"aria-valuemax":r.max,"aria-orientation":C.value,"data-step":r.step};return!0===r.disable?e["aria-disabled"]="true":!0===r.readonly&&(e["aria-readonly"]="true"),e})),_=e.computed((()=>
2[[mr,S,void 0,{[C.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function k(){return e.h("svg",{class:"q-slider__thumb absolute",viewBox:"0 0 20 20",width:"20",height:"20","aria-hidden":"true"},[e.h("path",{d:r.thumbPath})])}function x(e,t){if(!0===r.vertical)return{};const n=`${Math.ceil(20*Math.abs(.5-t))}px`;return{pin:{transformOrigin:`${!0===a.lang.rtl?n:`calc(100% - ${n})`} 50%`},pinTextContainer:{[!0===a.lang.rtl?"left":"right"]:100*e+"%",transform:`translateX(${Math.ceil(20*(!0===a.lang.rtl?-1:1)*e)}px)`}}}function S(e){e.isFinal?(void 0!==d.value&&(n(e.evt),!0===e.touch&&t(!0),d.value=void 0,i("pan","end")),s.value=!1):e.isFirst?(d.value=o(e.evt),n(e.evt),t(),s.value=!0,i("pan","start")):(n(e.evt),t())}function E(){c.value=!1}function T(e){n(e,o(e)),t(),u.value=!0,s.value=!0,document.addEventListener("mouseup",N,!0)}function N(){u.value=!1,void 0===d.value&&(s.value=!1),t(!0),E(),document.removeEventListener("mouseup",N,!0)}function F(e){n(e,o(e)),t(!0)}function V(e){vr.includes(e.keyCode)&&t(!0)}return e.onBeforeUnmount((()=>{document.removeEventListener("mouseup",N,!0)})),{state:{active:s,focus:c,preventFocus:u,dragging:d,axis:A,isReversed:p,editable:f,classes:h,decimals:m,step:v,minMaxDiff:g,markerStyle:y,tabindex:b,positionProp:w,sizeProp:L,attributes:B,panDirective:_},methods:{onActivate:T,onMobileClick:F,onBlur:E,onKeyup:V,getThumbSvg:k,getPinStyle:x}}}var Cr=e.defineComponent({name:"QSlider",props:{...br,...go,modelValue:{required:!0,default:null,validator:e=>"number"==typeof e||null===e},labelValue:[String,Number]},emits:wr,setup(t,{emit:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=bo(yo(t)),i=e.ref(null),a=e.ref(null===t.modelValue?t.min:t.modelValue),l=e.ref(0),{state:s,methods:u}=Lr({updateValue:b,updatePosition:L,getDragging:w}),c=e.computed((()=>0===s.minMaxDiff.value?0:(a.value-t.min)/s.minMaxDiff.value)),d=e.computed((()=>!0===s.active.value?l.value:c.value)),A=e.computed((()=>({[s.positionProp.value]:0,[s.sizeProp.value]:100*d.value+"%"}))),p=e.computed((()=>({[s.positionProp.value]:100*d.value+"%"}))),f=e.computed((()=>!1===s.preventFocus.value&&!0===s.focus.value?" q-slider--focus":"")),h=e.computed((()=>void 0!==t.labelColor?`text-${t.labelColor}`:"")),m=e.computed((()=>"q-slider__pin-value-marker-text"+(void 0!==t.labelTextColor?` text-${t.labelTextColor}`:""))),v=e.computed((()=>!0!==s.editable.value?{}:!0===o.platform.is.mobile?{onClick:u.onMobileClick}:{onMousedown:u.onActivate,onFocus:C,onBlur:u.onBlur,onKeydown:B,onKeyup:u.onKeyup})),g=e.computed((()=>void 0!==t.labelValue?t.labelValue:a.value)),y=e.computed((()=>{const e=!0===t.reverse?-d.value:d.value-1;return u.getPinStyle(e,d.value)}));function b(e){a.value!==t.modelValue&&n("update:modelValue",a.value),!0===e&&n("change",a.value)}function w(){return i.value.getBoundingClientRect()}function L(e,n=s.dragging.value){const o=gr(e,n,s.isReversed.value,t.vertical);a.value=yr(o,t.min,t.max,t.step,s.decimals.value),l.value=!0!==t.snap||0===t.step?o:0===s.minMaxDiff.value?0:(a.value-t.min)/s.minMaxDiff.value}function C(){s.focus.value=!0}function B(e){if(!vr.includes(e.keyCode))return;_(e);const n=([34,33].includes(e.keyCode)?10:1)*s.step.value,o=[34,37,40].includes(e.keyCode)?-n:n;a.value=we(parseFloat((a.value+o).toFixed(s.decimals.value)),t.min,t.max),b()}return e.watch((()=>t.modelValue),(e=>{a.value=null===e?0:we(e,t.min,t.max)})),e.watch((()=>t.min+t.max),(()=>{a.value=we(a.value,t.min,t.max)})),()=>{const n=[u.getThumbSvg(),e.h("div",{class:"q-slider__focus-ring"})];!0!==t.label&&!0!==t.labelAlways||n.push(e.h("div",{class:`q-slider__pin q-slider__pin${s.axis.value} absolute `+h.value,style:y.value.pin},[e.h("div",{class:`q-slider__pin-text-container q-slider__pin-text-container${s.axis.value}`,style:y.value.pinTextContainer},[e.h("span",{class:"q-slider__pin-text "+m.value},[g.value])])]),e.h("div",{class:`q-slider__arrow q-slider__arrow${s.axis.value} ${h.value}`})),void 0!==t.name&&!0!==t.disable&&r(n,"push");const o=[e.h("div",{class:`q-slider__track q-slider__track${s.axis.value} absolute`,style:A.value})];!0===t.markers&&o.push(e.h("div",{class:`q-slider__track-markers q-slider__track-markers${s.axis.value} absolute-full fit`,style:s.markerStyle.value}));const a=[e.h("div",{class:`q-slider__track-container q-slider__track-container${s.axis.value} absolute`},o),e.h("div",{class:`q-slider__thumb-container q-slider__thumb-container${s.axis.value} absolute non-selectable`+f.value,style:p.value},n)];return He("div",{ref:i,class:s.classes.value+(null===t.modelValue?" q-slider--no-value":""),...s.attributes.value,"aria-valuenow":t.modelValue,tabindex:s.tabindex.value,...v.value},a,"slide",s.editable.value,(()=>s.panDirective.value))}}});function Br(){const n=e.ref(!t.value);return!1===n.value&&e.onMounted((()=>{n.value=!0})),n}const _r="undefined"!=typeof ResizeObserver,kr=!0===_r?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var xr=e.defineComponent({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(t,{emit:n}){let o,r,i={width:-1,height:-1};function a(e){!0===e||0===t.debounce||"0"===t.debounce?l():o||(o=setTimeout(l,t.debounce))}function l(){if(o=void 0,r){const{offsetWidth:e,offsetHeight:t}=r;e===i.width&&t===i.height||(i={width:e,height:t},n("resize",i))}}const s=e.getCurrentInstance();if(Object.assign(s.proxy,{trigger:a}),!0===_r){let t;return e.onMounted((()=>
2{e.nextTick((()=>{r=s.proxy.$el.parentNode,r&&(t=new ResizeObserver(a),t.observe(r),l())}))})),e.onBeforeUnmount((()=>{clearTimeout(o),void 0!==t&&(void 0!==t.disconnect?t.disconnect():r&&t.unobserve(r))})),f}{const t=Br();let n;function i(){clearTimeout(o),void 0!==n&&(void 0!==n.removeEventListener&&n.removeEventListener("resize",a,p.passive),n=void 0)}function u(){i(),r&&r.contentDocument&&(n=r.contentDocument.defaultView,n.addEventListener("resize",a,p.passive),l())}return e.onMounted((()=>{e.nextTick((()=>{r=s.proxy.$el,r&&u()}))})),e.onBeforeUnmount(i),()=>{if(!0===t.value)return e.h("object",{style:kr.style,tabindex:-1,type:"text/html",data:kr.url,"aria-hidden":"true",onLoad:u})}}}});function Sr(e,t,n){const o=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?o[0]:o[1]}${e?` text-${e}`:""}`}const Er=["left","center","right","justify"];var Tr=e.defineComponent({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Er.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":Function},setup(t,{slots:n,emit:o}){const r=e.getCurrentInstance(),{proxy:{$q:i}}=r,{registerTick:a,prepareTick:l}=Ln(),{registerTimeout:s}=Cn(),u=e.ref(null),c=e.ref(null),d=e.ref(t.modelValue),A=e.ref(!1),p=e.ref(!0),h=e.ref(!1),m=e.ref(!1),v=e.computed((()=>!0===i.platform.is.desktop||!0===t.mobileArrows)),g=[];let y,b,w,L=!1,C=!0===v.value?V:f;const B=e.computed((()=>({activeColor:t.activeColor,activeBgColor:t.activeBgColor,indicatorClass:Sr(t.indicatorColor,t.switchIndicator,t.vertical),narrowIndicator:t.narrowIndicator,inlineLabel:t.inlineLabel,noCaps:t.noCaps}))),_=e.computed((()=>`q-tabs__content--align-${!0===A.value?"left":!0===m.value?"justify":t.align}`)),k=e.computed((()=>`q-tabs row no-wrap items-center q-tabs--${!0===A.value?"":"not-"}scrollable q-tabs--`+(!0===t.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===v.value&&!0===t.outsideArrows?"outside":"inside")+(!0===t.dense?" q-tabs--dense":"")+(!0===t.shrink?" col-shrink":"")+(!0===t.stretch?" self-stretch":""))),x=e.computed((()=>"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar "+_.value+(void 0!==t.contentClass?` ${t.contentClass}`:"")+(!0===i.platform.is.mobile?" scroll":""))),S=e.computed((()=>!0===t.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}));function E({name:e,setCurrent:n,skipEmit:r,fromRoute:i}){d.value!==e&&(!0!==r&&o("update:modelValue",e),!0!==n&&void 0!==t["onUpdate:modelValue"]||(F(d.value,e),d.value=e)),void 0!==i&&(L=i)}function T(){a((()=>{!0!==r.isDeactivated&&!0!==r.isUnmounted&&N({width:u.value.offsetWidth,height:u.value.offsetHeight})})),l()}function N(n){if(void 0===S.value||null===c.value)return;const o=n[S.value.container],r=Math.min(c.value[S.value.scroll],Array.prototype.reduce.call(c.value.children,((e,t)=>e+t[S.value.content]),0)),i=o>0&&r>o;A.value!==i&&(A.value=i),!0===i&&e.nextTick(C);const a=o<parseInt(t.breakpoint,10);m.value!==a&&(m.value=a)}function F(n,o){const r=null!=n&&""!==n?g.find((e=>e.name.value===n)):null,i=null!=o&&""!==o?g.find((e=>e.name.value===o)):null;if(r&&i){const n=r.tabIndicatorRef.value,o=i.tabIndicatorRef.value;clearTimeout(y),n.style.transition="none",n.style.transform="none",o.style.transition="none",o.style.transform="none";const a=n.getBoundingClientRect(),l=o.getBoundingClientRect();o.style.transform=!0===t.vertical?`translate3d(0,${a.top-l.top}px,0) scale3d(1,${l.height?a.height/l.height:1},1)`:`translate3d(${a.left-l.left}px,0,0) scale3d(${l.width?a.width/l.width:1},1,1)`,e.nextTick((()=>{y=setTimeout((()=>{o.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",o.style.transform="none"}),70)}))}if(i&&!0===A.value){const{left:e,width:n,top:o,height:r}=c.value.getBoundingClientRect(),a=i.rootRef.value.getBoundingClientRect();let l=!0===t.vertical?a.top-o:a.left-e;if(l<0)return c.value[!0===t.vertical?"scrollTop":"scrollLeft"]+=Math.floor(l),void C();l+=!0===t.vertical?a.height-r:a.width-n,l>0&&(c.value[!0===t.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(l),C())}}function V(){const e=c.value;if(null!==e){const n=e.getBoundingClientRect(),o=!0===t.vertical?e.scrollTop:e.scrollLeft;p.value=o>0,h.value=!0===t.vertical?Math.ceil(o+n.height)<e.scrollHeight:Math.ceil(o+n.width)<e.scrollWidth}}function O(e){q(),M(e),b=setInterval((()=>{M(e)&&q()}),5)}function U(){O(0)}function Q(){O(9999)}function q(){clearInterval(b)}
2function M(e){const n=c.value;let o=!0===t.vertical?n.scrollTop:n.scrollLeft,r=!1;const i=e<o?-1:1;return o+=5*i,o<0?(r=!0,o=0):(-1===i&&o<=e||1===i&&o>=e)&&(r=!0,o=e),n[!0===t.vertical?"scrollTop":"scrollLeft"]=o,C(),r}function I(){return g.filter((e=>void 0!==e.routerProps&&!0===e.routerProps.hasLink.value))}function P(){let e="",t=null,n=L;I().forEach((o=>{void 0!==o.routerProps&&!0===o.routerProps[!0===o.routerProps.exact.value?"linkIsExactActive":"linkIsActive"].value&&o.routerProps.linkRoute.value.href.length>e.length?(e=o.routerProps.linkRoute.value.href,t=o.name.value):d.value===o.name.value&&(n=!0)})),!0!==n&&null===t||E({name:t,setCurrent:!0,fromRoute:!0})}function D(){s(P)}function H(t){g.push(t),I().length>0&&(void 0===w&&(w=e.watch((()=>r.proxy.$route),D)),D())}function R(e){g.splice(g.indexOf(e),1),void 0!==w&&(0===I().length&&(w(),w=void 0),D())}return e.watch((()=>t.modelValue),(e=>{E({name:e,setCurrent:!0,skipEmit:!0})})),e.watch((()=>t.outsideArrows),(()=>{e.nextTick(T())})),e.watch(v,(t=>{C=!0===t?V:f,e.nextTick(T())})),e.provide(se,{currentModel:d,tabProps:B,registerTab:H,unregisterTab:R,verifyRouteModel:D,updateModel:E,recalculateScroll:T}),e.onBeforeUnmount((()=>{clearTimeout(y),void 0!==w&&w()})),e.onActivated(T),()=>{const o=[e.h(xr,{onResize:N}),e.h("div",{ref:c,class:x.value,onScroll:C},Me(n.default))];return!0===v.value&&o.push(e.h(et,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===p.value?"":" q-tabs__arrow--faded"),name:t.leftIcon||i.iconSet.tabs[!0===t.vertical?"up":"left"],onMousedown:U,onTouchstartPassive:U,onMouseup:q,onMouseleave:q,onTouchend:q}),e.h(et,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===h.value?"":" q-tabs__arrow--faded"),name:t.rightIcon||i.iconSet.tabs[!0===t.vertical?"down":"right"],onMousedown:Q,onTouchstartPassive:Q,onMouseup:q,onMouseleave:q,onTouchend:q})),e.h("div",{ref:u,class:k.value,role:"tablist"},o)}}});let Nr=0;const Fr=["click","keyup"],Vr={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+Nr++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function Or(t,n,o,r){const i=e.inject(se,(()=>{console.error("QTab/QRouteTab component needs to be child of QTabs")})),a=e.ref(null),l=e.ref(null),s=e.ref(null),u=e.computed((()=>i.currentModel.value===t.name)),c=e.computed((()=>`q-tab relative-position self-stretch flex flex-center text-center q-tab--${!0===u.value?"":"in"}active`+(!0===u.value?(i.tabProps.value.activeColor?` text-${i.tabProps.value.activeColor}`:"")+(i.tabProps.value.activeBgColor?` bg-${i.tabProps.value.activeBgColor}`:""):"")+(t.icon&&t.label&&!1===i.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===t.noCaps||!0===i.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===t.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==r&&""!==r.linkClass.value?` ${r.linkClass.value}`:""))),d=e.computed((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===i.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==t.contentClass?` ${t.contentClass}`:""))),A=e.computed((()=>!0===t.disable||!0===u.value?-1:t.tabindex||0));function p(e,n){if(!0!==n&&null!==a.value&&a.value.focus(),!0!==t.disable)if(void 0!==r)if(!0===r.hasLink.value){const t=()=>{e.__qNavigate=!0,r.navigateToLink(e)};o("click",e,t),!0!==e.defaultPrevented&&t()}else o("click",e);else o("click",e),i.updateModel({name:t.name,fromRoute:!1})}function f(e){!0===K(e,13)&&p(e,!0),o("keyup",e)}function h(){const o=i.tabProps.value.narrowIndicator,r=[],l=e.h("div",{ref:s,class:["q-tab__indicator",i.tabProps.value.indicatorClass]});void 0!==t.icon&&r.push(e.h(et,{class:"q-tab__icon",name:t.icon})),void 0!==t.label&&r.push(e.h("div",{class:"q-tab__label"},t.label)),!1!==t.alert&&r.push(void 0!==t.alertIcon?e.h(et,{class:"q-tab__alert-icon",color:!0!==t.alert?t.alert:void 0,name:t.alertIcon}):e.h("div",{class:"q-tab__alert"+(!0!==t.alert?` text-${t.alert}`:"")})),!0===o&&r.push(l);const u=[e.h("div",{class:"q-focus-helper",tabindex:-1,ref:a}),e.h("div",{class:d.value},Pe(n.default,r))];return!1===o&&u.push(l),u}const m={name:e.computed((()=>t.name)),rootRef:l,tabIndicatorRef:s,routerProps:r};function v(e,n){return He(e,{ref:l,class:c.value,tabindex:A.value,role:"tab","aria-selected":u.value,"aria-disabled":!0===t.disable?"true":void 0,onClick:p,onKeyup:f,...n},h(),"main",!1!==t.ripple&&!1===t.disable,(()=>[[Mt,t.ripple]]))}return e.onBeforeUnmount((()=>{i.unregisterTab(m),i.recalculateScroll()})),e.onMounted((()=>{i.registerTab(m),i.recalculateScroll()})),{renderTab:v,$tabs:i}}var Ur=e.defineComponent({name:"QTab",props:Vr,emits:Fr,setup(e,{slots:t,emit:n}){const{renderTab:o}=Or(e,t,n);return()=>o("div")}}),Qr=e.defineComponent({name:"QTabPanels",props:{...Uo,...rt},emits:Qo,setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),{updatePanelsList:i,getPanelContent:a,panelDirectives:l}=qo(),s=e.computed((()=>"q-tab-panels q-panel-parent"+(!0===r.value?" q-tab-panels--dark q-d
2ark":"")));return()=>(i(n),He("div",{class:s.value},a(),"pan",t.swipeable,(()=>l.value)))}}),qr=e.defineComponent({name:"QTabPanel",props:Vo,setup:(t,{slots:n})=>()=>e.h("div",{class:"q-tab-panel"},Me(n.default))});const Mr=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Ir=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Pr=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Dr=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Hr=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Rr={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),hexColor:e=>Mr.test(e),hexaColor:e=>Ir.test(e),hexOrHexaColor:e=>Pr.test(e),rgbColor:e=>Dr.test(e),rgbaColor:e=>Hr.test(e),rgbOrRgbaColor:e=>Dr.test(e)||Hr.test(e),hexOrRgbColor:e=>Mr.test(e)||Dr.test(e),hexaOrRgbaColor:e=>Ir.test(e)||Hr.test(e),anyColor:e=>Pr.test(e)||Dr.test(e)||Hr.test(e)};var jr={testPattern:Rr};const $r=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function zr({r:e,g:t,b:n,a:o}){const r=void 0!==o;if(e=Math.round(e),t=Math.round(t),n=Math.round(n),e>255||t>255||n>255||r&&o>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return o=r?(256|Math.round(255*o/100)).toString(16).slice(1):"","#"+(n|t<<8|e<<16|1<<24).toString(16).slice(1)+o}function Kr({r:e,g:t,b:n,a:o}){return`rgb${void 0!==o?"a":""}(${e},${t},${n}${void 0!==o?","+o/100:""})`}function Wr(e){if("string"!=typeof e)throw new TypeError("Expected a string");3===(e=e.replace(/^#/,"")).length?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:4===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((255&t)/2.55)}:{r:t>>16,g:t>>8&255,b:255&t}}function Yr({h:e,s:t,v:n,a:o}){let r,i,a;t/=100,n/=100,e/=360;const l=Math.floor(6*e),s=6*e-l,u=n*(1-t),c=n*(1-s*t),d=n*(1-(1-s)*t);switch(l%6){case 0:r=n,i=d,a=u;break;case 1:r=c,i=n,a=u;break;case 2:r=u,i=n,a=d;break;case 3:r=u,i=c,a=n;break;case 4:r=d,i=u,a=n;break;case 5:r=n,i=u,a=c}return{r:Math.round(255*r),g:Math.round(255*i),b:Math.round(255*a),a:o}}function Gr({r:e,g:t,b:n,a:o}){const r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,l=0===r?0:a/r,s=r/255;let u;switch(r){case i:u=0;break;case e:u=t-n+a*(t<n?6:0),u/=6*a;break;case t:u=n-e+2*a,u/=6*a;break;case n:u=e-t+4*a,u/=6*a}return{h:Math.round(360*u),s:Math.round(100*l),v:Math.round(100*s),a:o}}function Zr(e){if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.replace(/ /g,""),n=$r.exec(t);if(null===n)return Wr(t);const o={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){const e=parseFloat(n[5]);o.a=100*Math.min(1,!0===isNaN(e)?1:e)}return o}function Jr(e,t){if("string"!=typeof e)throw new TypeError("Expected a string as color");if("number"!=typeof t)throw new TypeError("Expected a numeric percent");const n=Zr(e),o=t<0?0:255,r=Math.abs(t)/100,i=n.r,a=n.g,l=n.b;return"#"+(16777216+65536*(Math.round((o-i)*r)+i)+256*(Math.round((o-a)*r)+a)+(Math.round((o-l)*r)+l)).toString(16).slice(1)}function Xr(e){if("string"!=typeof e&&(!e||void 0===e.r))throw new TypeError("Expected a string or a {r, g, b} object as color");const t="string"==typeof e?Zr(e):e,n=t.r/255,o=t.g/255,r=t.b/255;return.2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}function ei(e){if("string"!=typeof e&&(!e||void 0===e.r))throw new TypeError("Expected a string or a {r, g, b} object as color");const t="string"==typeof e?Zr(e):e;return(299*t.r+587*t.g+114*t.b)/1e3}function ti(e,t){if("string"!=typeof e&&(!e||void 0===e.r))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");
2if("string"!=typeof t&&(!t||void 0===t.r))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");const n="string"==typeof e?Zr(e):e,o=n.r/255,r=n.g/255,i=n.b/255,a=void 0!==n.a?n.a/100:1,l="string"==typeof t?Zr(t):t,s=l.r/255,u=l.g/255,c=l.b/255,d=void 0!==l.a?l.a/100:1,A=a+d*(1-a),p={r:Math.round((o*a+s*d*(1-a))/A*255),g:Math.round((r*a+u*d*(1-a))/A*255),b:Math.round((i*a+c*d*(1-a))/A*255),a:Math.round(100*A)};return"string"==typeof e?zr(p):p}function ni(e,t){if("string"!=typeof e)throw new TypeError("Expected a string as color");if(void 0===t||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");const{r:n,g:o,b:r,a:i}=Zr(e),a=void 0!==i?i/100:0;return zr({r:n,g:o,b:r,a:Math.round(100*Math.min(1,Math.max(0,a+t)))})}function oi(e){if("string"!=typeof e)throw new TypeError("Expected a string as color");const t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);const n=getComputedStyle(t).getPropertyValue("color");return t.remove(),zr(Zr(n))}var ri={rgbToHex:zr,hexToRgb:Wr,hsvToRgb:Yr,rgbToHsv:Gr,textToRgb:Zr,lighten:Jr,luminosity:Xr,brightness:ei,blend:ti,changeAlpha:ni,getPaletteColor:oi};const ii=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],ai="M5 5 h10 v10 h-10 v-10 z";var li=e.defineComponent({name:"QColor",props:{...rt,...go,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(t,{emit:n}){const{proxy:o}=e.getCurrentInstance(),{$q:r}=o,i=it(t,r),{getCache:a}=Fo(),l=e.ref(null),s=e.ref(null),u=e.computed((()=>"auto"===t.formatModel?null:t.formatModel.indexOf("hex")>-1)),c=e.computed((()=>"auto"===t.formatModel?null:t.formatModel.indexOf("a")>-1)),d=e.ref("auto"===t.formatModel?void 0===t.modelValue||null===t.modelValue||""===t.modelValue||t.modelValue.startsWith("#")?"hex":"rgb":t.formatModel.startsWith("hex")?"hex":"rgb"),A=e.ref(t.defaultView),p=e.ref(E(t.modelValue||t.defaultValue)),f=e.computed((()=>!0!==t.disable&&!0!==t.readonly)),h=e.computed((()=>void 0===t.modelValue||null===t.modelValue||""===t.modelValue||t.modelValue.startsWith("#"))),m=e.computed((()=>null!==u.value?u.value:h.value)),v=bo(e.computed((()=>({type:"hidden",name:t.name,value:p.value[!0===m.value?"hex":"rgb"]})))),g=e.computed((()=>null!==c.value?c.value:void 0!==p.value.a)),y=e.computed((()=>({backgroundColor:p.value.rgb||"#000"}))),b=e.computed((()=>"q-color-picker__header-content absolute-full q-color-picker__header-content--"+(void 0!==p.value.a&&p.value.a<65||Xr(p.value)>.4?"light":"dark"))),w=e.computed((()=>({background:`hsl(${p.value.h},100%,50%)`}))),L=e.computed((()=>({top:100-p.value.v+"%",[!0===r.lang.rtl?"right":"left"]:`${p.value.s}%`}))),B=e.computed((()=>void 0!==t.palette&&t.palette.length>0?t.palette:ii)),_=e.computed((()=>"q-color-picker"+(!0===t.bordered?" q-color-picker--bordered":"")+(!0===t.square?" q-color-picker--square no-border-radius":"")+(!0===t.flat?" q-color-picker--flat no-shadow":"")+(!0===t.disable?" disabled":"")+(!0===i.value?" q-color-picker--dark q-d
2ark":""))),k=e.computed((()=>!0===t.disable?{"aria-disabled":"true"}:!0===t.readonly?{"aria-readonly":"true"}:{})),x=e.computed((()=>[[mr,U,void 0,{prevent:!0,stop:!0,mouse:!0}]]));function S(e,t){p.value.hex=zr(e),p.value.rgb=Kr(e),p.value.r=e.r,p.value.g=e.g,p.value.b=e.b,p.value.a=e.a;const o=p.value[!0===m.value?"hex":"rgb"];n("update:modelValue",o),!0===t&&n("change",o)}function E(e){const n=void 0!==c.value?c.value:"auto"===t.formatModel?null:t.formatModel.indexOf("a")>-1;if("string"!=typeof e||0===e.length||!0!==Rr.anyColor(e.replace(/ /g,"")))return{h:0,s:0,v:0,r:0,g:0,b:0,a:!0===n?100:void 0,hex:void 0,rgb:void 0};const o=Zr(e);return!0===n&&void 0===o.a&&(o.a=100),o.hex=zr(o),o.rgb=Kr(o),Object.assign(o,Gr(o))}function T(e,t,n){const o=l.value;if(void 0===o)return;const i=o.clientWidth,a=o.clientHeight,s=o.getBoundingClientRect();let u=Math.min(i,Math.max(0,e-s.left));!0===r.lang.rtl&&(u=i-u);const c=Math.min(a,Math.max(0,t-s.top)),d=Math.round(100*u/i),A=Math.round(100*Math.max(0,Math.min(1,-c/a+1))),f=Yr({h:p.value.h,s:d,v:A,a:!0===g.value?p.value.a:void 0});p.value.s=d,p.value.v=A,S(f,n)}function N(e,t){const n=Math.round(e),o=Yr({h:n,s:p.value.s,v:p.value.v,a:!0===g.value?p.value.a:void 0});p.value.h=n,S(o,t)}function F(t,n,r,i,a){if(void 0!==i&&C(i),!/^[0-9]+$/.test(t))return void(!0===a&&o.$forceUpdate());const l=Math.floor(Number(t));if(l<0||l>r)return void(!0===a&&o.$forceUpdate());const s={r:"r"===n?l:p.value.r,g:"g"===n?l:p.value.g,b:"b"===n?l:p.value.b,a:!0===g.value?"a"===n?l:p.value.a:void 0};if("a"!==n){const e=Gr(s);p.value.h=e.h,p.value.s=e.s,p.value.v=e.v}if(S(s,a),void 0!==i&&!0!==a&&void 0!==i.target.selectionEnd){const t=i.target.selectionEnd;e.nextTick((()=>{i.target.setSelectionRange(t,t)}))}}function V(t,n){let o;const r=t.target.value;if(C(t),"hex"===d.value){if(r.length!==(!0===g.value?9:7)||!/^#[0-9A-Fa-f]+$/.test(r))return!0;o=Wr(r)}else{let e;if(!r.endsWith(")"))return!0;if(!0!==g.value&&r.startsWith("rgb(")){if(e=r.substring(4,r.length-1).split(",").map((e=>parseInt(e,10))),3!==e.length||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(r))return!0}else{if(!0!==g.value||!r.startsWith("rgba("))return!0;{if(e=r.substring(5,r.length-1).split(","),4!==e.length||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(r))return!0;for(let t=0;t<3;t++){const n=parseInt(e[t],10);if(n<0||n>255)return!0;e[t]=n}const t=parseFloat(e[3]);if(t<0||t>1)return!0;e[3]=t}}if(e[0]<0||e[0]>255||e[1]<0||e[1]>255||e[2]<0||e[2]>255||!0===g.value&&(e[3]<0||e[3]>1))return!0;o={r:e[0],g:e[1],b:e[2],a:!0===g.value?100*e[3]:void 0}}const i=Gr(o);if(p.value.h=i.h,p.value.s=i.s,p.value.v=i.v,S(o,n),!0!==n){const n=t.target.selectionEnd;e.nextTick((()=>{t.target.setSelectionRange(n,n)}))}}function O(e){const t=E(e),n={r:t.r,g:t.g,b:t.b,a:t.a};void 0===n.a&&(n.a=p.value.a),p.value.h=t.h,p.value.s=t.s,p.value.v=t.v,S(n,!0)}function U(e){e.isFinal?T(e.position.left,e.position.top,!0):Q(e)}e.watch((()=>t.modelValue),(e=>{const n=E(e||t.defaultValue);n.hex!==p.value.hex&&(p.value=n)})),e.watch((()=>t.defaultValue),(e=>{if(!t.modelValue&&e){const t=E(e);t.hex!==p.value.hex&&(p.value=t)}}));const Q=Ut((e=>{T(e.position.left,e.position.top)}),20);function q(e){T(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset,!0)}function M(e){T(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset)}function I(e){null!==s.value&&(s.value.$el.style.opacity=e?1:0)}function P(){return e.h("div",{class:"q-color-picker__header relative-position overflow-hidden"},[e.h("div",{class:"q-color-picker__header-bg absolute-full"}),e.h("div",{class:b.value,style:y.value},[e.h(Tr,{modelValue:d.value,dense:!0,align:"justify",...a("topVTab",{"onUpdate:modelValue":e=>{d.value=e}})},(()=>[e.h(Ur,{label:"HEX"+(!0===g.value?"A":""),name:"hex",ripple:!1}),e.h(Ur,{label:"RGB"+(!0===g.value?"A":""),name:"rgb",ripple:!1})])),e.h("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[e.h("input",{class:"fit",value:p.value[d.value],...!0!==f.value?{readonly:!0}:{},...a("topIn",{onInput:e=>{I(!0===V(e))},onChange:C,onBlur:e=>{!0===V(e,!0)&&o.$forceUpdate(),I(!1)}})}),e.h(et,{ref:s,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])])])}function D(){return e.h(Qr,{modelValue:A.value,animated:!0},(()=>[e.h(qr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},R),e.h(qr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},j),e.h(qr,{class:"q-color-picker__palette-tab",name:"palette"},$)]))}function H(){return e.h("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[e.h(Tr,{class:"absolute-full",modelValue:A.value,dense:!0,align:"justify",...a("ftIn",{"onUpdate:modelValue":e=>{A.value=e}})},(()=>[e.h(Ur,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),e.h(Ur,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),e.h(Ur,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})]))])}function R(){const t={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(!0!==f.value?" readonly":""),style:w.value,...!0===f.value?{onClick:q,onMousedown:M}:{}},n=[e.h("div",{style:{paddingBottom:"100%"}}),e.h("div",{class:"q-color-picker__spectrum-white absolute-full"}),e.h("div",{class:"q-color-picker__spectrum-black absolute-full"}),e.h("div",{class:"absolute",style:L.value},[void 0!==p.value.hex?e.h("div",{class:"q-color-picker__spectrum-circle"}):null])],o=[e.h("div",{class:"q-color-picker__hue non-selectable"},[e.h(Cr,{modelValue:p.value.h,min:0,max:360,fillHandleAlways:!0,readonly:!0!==f.value,thumbPath:ai,"onUpdate:modelValue":N,...a("lazyhue",{onChange:e=>N(e,!0)})})])];return!0===g.value&&o.push(e.h("div",{class:"q-color-picker__alpha non-selectable"},[e.h(Cr,{modelValue:p.value.a,min:0,max:100,fillHandleAlways:!0,readonly:!0!==f.value,thumbPath:ai,...a("alphaSlide",{"onUpdate:modelValue":e=>F(e,"a",100),onChange:e=>F(e,"a",100,void 0,!0)})})])),[He("div",t,n,"spec",f.value,(()=>x.value)),e.h("div",{class:"q-color-picker__sliders"},o)]}function j(){return[e.h("div",{class:"row items-center no-wrap"},[e.h("div","R"),e.h(Cr,{modelValue:p.value.r,min:0,max:255,color:"red",dark:i.value,readonly:!0!==f.value,...a("rSlide",{"onUpdate:modelValue":e=>F(e,"r",255),onChange:e=>F(e,"r",255,void 0,!0)})}),e.h("input",{value:p.value.r,maxlength:3,readonly:!0!==f.value,onChange:C,...a("rIn",{onInput:e=>F(e.target.value,"r",255,e),onBlur:e=>F(e.target.value,"r",255,e,!0)})})]),e.h("div",{class:"row items-center no-wrap"},[e.h("div","G"),e.h(Cr,{modelValue:p.value.g,min:0,max:255,color:"green",dar
2k:i.value,readonly:!0!==f.value,...a("gSlide",{"onUpdate:modelValue":e=>F(e,"g",255),onChange:e=>F(e,"g",255,void 0,!0)})}),e.h("input",{value:p.value.g,maxlength:3,readonly:!0!==f.value,onChange:C,...a("gIn",{onInput:e=>F(e.target.value,"g",255,e),onBlur:e=>F(e.target.value,"g",255,e,!0)})})]),e.h("div",{class:"row items-center no-wrap"},[e.h("div","B"),e.h(Cr,{modelValue:p.value.b,min:0,max:255,color:"blue",readonly:!0!==f.value,dark:i.value,...a("bSlide",{"onUpdate:modelValue":e=>F(e,"b",255),onChange:e=>F(e,"b",255,void 0,!0)})}),e.h("input",{value:p.value.b,maxlength:3,readonly:!0!==f.value,onChange:C,...a("bIn",{onInput:e=>F(e.target.value,"b",255,e),onBlur:e=>F(e.target.value,"b",255,e,!0)})})]),!0===g.value?e.h("div",{class:"row items-center no-wrap"},[e.h("div","A"),e.h(Cr,{modelValue:p.value.a,color:"grey",readonly:!0!==f.value,dark:i.value,...a("aSlide",{"onUpdate:modelValue":e=>F(e,"a",100),onChange:e=>F(e,"a",100,void 0,!0)})}),e.h("input",{value:p.value.a,maxlength:3,readonly:!0!==f.value,onChange:C,...a("aIn",{onInput:e=>F(e.target.value,"a",100,e),onBlur:e=>F(e.target.value,"a",100,e,!0)})})]):null]}function $(){return[e.h("div",{class:"row items-center q-color-picker__palette-rows"+(!0===f.value?" q-color-picker__palette-rows--editable":"")},B.value.map((t=>e.h("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:t},...!0===f.value?a("palette#"+t,{onClick:()=>{O(t)}}):{}}))))]}return()=>{const n=[D()];return void 0!==t.name&&!0!==t.disable&&v(n,"push"),!0!==t.noHeader&&n.unshift(P()),!0!==t.noFooter&&n.push(H()),e.h("div",{class:_.value,...k.value},n)}}});const si=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function ui(e,t,n){return"[object Date]"===Object.prototype.toString.call(e)&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),mi(vi(e,t,n))}function ci(e,t,n){return gi(hi(e,t,n))}function di(e){return 0===pi(e)}function Ai(e,t){return t<=6?31:t<=11||di(e)?30:29}function pi(e){const t=si.length;let n,o,r,i,a,l=si[0];if(e<l||e>=si[t-1])throw new Error("Invalid Jalaali year "+e);for(a=1;a<t&&(n=si[a],o=n-l,!(e<n));a+=1)l=n;return i=e-l,o-i<6&&(i=i-o+33*yi(o+4,33)),r=bi(bi(i+1,33)-1,4),-1===r&&(r=4),r}function fi(e,t){const n=si.length,o=e+621;let r,i,a,l,s,u=-14,c=si[0];if(e<c||e>=si[n-1])throw new Error("Invalid Jalaali year "+e);for(s=1;s<n&&(r=si[s],i=r-c,!(e<r));s+=1)u=u+8*yi(i,33)+yi(bi(i,33),4),c=r;l=e-c,u=u+8*yi(l,33)+yi(bi(l,33)+3,4),4===bi(i,33)&&i-l==4&&(u+=1);const d=20+u-(yi(o,4)-yi(3*(yi(o,100)+1),4)-150);return t||(i-l<6&&(l=l-i+33*yi(i+4,33)),a=bi(bi(l+1,33)-1,4),-1===a&&(a=4)),{leap:a,gy:o,march:d}}function hi(e,t,n){const o=fi(e,!0);return vi(o.gy,3,o.march)+31*(t-1)-yi(t,7)*(t-7)+n-1}function mi(e){const t=gi(e).gy;let n,o,r,i=t-621;const a=fi(i,!1);if(r=e-vi(t,3,a.march),r>=0){if(r<=185)return o=1+yi(r,31),n=bi(r,31)+1,{jy:i,jm:o,jd:n};r-=186}else i-=1,r+=179,1===a.leap&&(r+=1);return o=7+yi(r,30),n=bi(r,30)+1,{jy:i,jm:o,jd:n}}function vi(e,t,n){let o=yi(1461*(e+yi(t-8,6)+100100),4)+yi(153*bi(t+9,12)+2,5)+n-34840408;return o=o-yi(3*yi(e+100100+yi(t-8,6),100),4)+752,o}function gi(e){let t=4*e+139361631;t=t+4*yi(3*yi(4*e+183187720,146097),4)-3908;const n=5*yi(bi(t,1461),4)+308,o=yi(bi(n,153),5)+1,r=bi(yi(n,153),12)+1;return{gy:yi(t,1461)-100100+yi(8-r,6),gm:r,gd:o}}function yi(e,t){return~~(e/t)}function bi(e,t){return e-~~(e/t)*t}const wi=["gregorian","persian"],Li={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>wi.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Ci=["update:modelValue"];function Bi(e){return e.year+"/"+Ce(e.month)+"/"+Ce(e.day)}function _i(t,n){function o(){return t.locale||n.lang.date}function r(e){const n=new Date,o=!0===e?null:0;if("persian"===t.calendar){const e=ui(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:o,minute:o,second:o,millisecond:o}}return{editable:e.computed((()=>!0!==t.disable&&!0!==t.readonly)),tabindex:e.computed((()=>!0===t.editable?0:-1)),headerClass:e.computed((()=>{const e=[];return void 0!==t.color&&e.push(`bg-${t.color}`),void 0!==t.textColor&&e.push(`text-${t.textColor}`),e.join(" ")})),getLocale:o,getCurrentDate:r}}const ki=864e5,xi=36e5,Si=6e4,Ei="YYYY-MM-DDTHH:mm:ss.SSSZ",Ti=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}
2|[AQExX]/g,Ni=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Fi={};function Vi(e,t){const n="("+t.days.join("|")+")",o=e+n;if(void 0!==Fi[o])return Fi[o];const r="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",a="("+t.monthsShort.join("|")+")",l={};let s=0;const u=e.replace(Ni,(e=>{switch(s++,e){case"YY":return l.YY=s,"(-?\\d{1,2})";case"YYYY":return l.YYYY=s,"(-?\\d{1,4})";case"M":return l.M=s,"(\\d{1,2})";case"MM":return l.M=s,"(\\d{2})";case"MMM":return l.MMM=s,a;case"MMMM":return l.MMMM=s,i;case"D":return l.D=s,"(\\d{1,2})";case"Do":return l.D=s++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return l.D=s,"(\\d{2})";case"H":return l.H=s,"(\\d{1,2})";case"HH":return l.H=s,"(\\d{2})";case"h":return l.h=s,"(\\d{1,2})";case"hh":return l.h=s,"(\\d{2})";case"m":return l.m=s,"(\\d{1,2})";case"mm":return l.m=s,"(\\d{2})";case"s":return l.s=s,"(\\d{1,2})";case"ss":return l.s=s,"(\\d{2})";case"S":return l.S=s,"(\\d{1})";case"SS":return l.S=s,"(\\d{2})";case"SSS":return l.S=s,"(\\d{3})";case"A":return l.A=s,"(AM|PM)";case"a":return l.a=s,"(am|pm)";case"aa":return l.aa=s,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return l.Z=s,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return l.ZZ=s,"(Z|[+-]\\d{2}\\d{2})";case"X":return l.X=s,"(-?\\d+)";case"x":return l.x=s,"(-?\\d{4,})";default:return s--,"["===e[0]&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),c={map:l,regex:new RegExp("^"+u)};return Fi[o]=c,c}function Oi(e,t,n){const o=Ui(e,t,n),r=new Date(o.year,null===o.month?null:o.month-1,o.day,o.hour,o.minute,o.second,o.millisecond),i=r.getTimezoneOffset();return null===o.timezoneOffset||o.timezoneOffset===i?r:Mi(r,{minutes:o.timezoneOffset-i},!0)}function Ui(e,t,n,o,r){const i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==r&&Object.assign(i,r),null==e||""===e||"string"!=typeof e)return i;void 0===t&&(t=Ei);const a=void 0!==n?n:H.props.date,l=a.months,s=a.monthsShort,{regex:u,map:c}=Vi(t,a),d=e.match(u);if(null===d)return i;let A="";if(void 0!==c.X||void 0!==c.x){const e=parseInt(d[void 0!==c.X?c.X:c.x],10);if(!0===isNaN(e)||e<0)return i;const t=new Date(e*(void 0!==c.X?1e3:1));i.year=t.getFullYear(),i.month=t.getMonth()+1,i.day=t.getDate(),i.hour=t.getHours(),i.minute=t.getMinutes(),i.second=t.getSeconds(),i.millisecond=t.getMilliseconds()}else{if(void 0!==c.YYYY)i.year=parseInt(d[c.YYYY],10);else if(void 0!==c.YY){const e=parseInt(d[c.YY],10);i.year=e<0?e:2e3+e}if(void 0!==c.M){if(i.month=parseInt(d[c.M],10),i.month<1||i.month>12)return i}else void 0!==c.MMM?i.month=s.indexOf(d[c.MMM])+1:void 0!==c.MMMM&&(i.month=l.indexOf(d[c.MMMM])+1);if(void 0!==c.D){if(i.day=parseInt(d[c.D],10),null===i.year||null===i.month||i.day<1)return i;const e="persian"!==o?new Date(i.year,i.month,0).getDate():Ai(i.year,i.month);if(i.day>e)return i}void 0!==c.H?i.hour=parseInt(d[c.H],10)%24:void 0!==c.h&&(i.hour=parseInt(d[c.h],10)%12,(c.A&&"PM"===d[c.A]||c.a&&"pm"===d[c.a]||c.aa&&"p.m."===d[c.aa])&&(i.hour+=12),i.hour=i.hour%24),void 0!==c.m&&(i.minute=parseInt(d[c.m],10)%60),void 0!==c.s&&(i.second=parseInt(d[c.s],10)%60),void 0!==c.S&&(i.millisecond=parseInt(d[c.S],10)*10**(3-d[c.S].length)),void 0===c.Z&&void 0===c.ZZ||(A=void 0!==c.Z?d[c.Z].replace(":",""):d[c.ZZ],i.timezoneOffset=("+"===A[0]?-1:1)*(60*A.slice(1,3)+1*A.slice(3,5)))}return i.dateHash=i.year+"/"+Ce(i.month)+"/"+Ce(i.day),i.timeHash=Ce(i.hour)+":"+Ce(i.minute)+":"+Ce(i.second)+A,i}function Qi(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=o%60;return n+Ce(Math.floor(o/60))+t+Ce(r)}function qi(e,t){const n=new Date(e.getFullYear(),t,0,0,0,0,0).getDate();e.setMonth(t-1,Math.min(n,e.getDate()))}function Mi(e,t,n){const o=new Date(e),r=n?1:-1;return Object.keys(t).forEach((e=>{if("months"===e)return void qi(o,o.getMonth()+1+r*t.months);const n="years"===e?"FullYear":be("days"===e?"date":e);o[`set${n}`](o[`get${n}`]()+r*t[e])})),o}function Ii(e){return"number"==typeof e||!1===isNaN(Date.parse(e))}function Pi(e,t){return Wi(new Date,e,t)}function Di(e){const t=new Date(e).getDay();return 0===t?7:t}function Hi(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/(7*ki);return 1+Math.floor(r)}function Ri(e){return 1e4*e.getFullYear()+100*e.getMonth()+e.getDate()}function ji(e,t){const n=new Date(e);return!0===t?Ri(n):n.getTime()}function $i(e,t,n,o={}
2){const r=ji(t,o.onlyDate),i=ji(n,o.onlyDate),a=ji(e,o.onlyDate);return(a>r||!0===o.inclusiveFrom&&a===r)&&(a<i||!0===o.inclusiveTo&&a===i)}function zi(e,t){return Mi(e,t,!0)}function Ki(e,t){return Mi(e,t,!1)}function Wi(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");return Object.keys(t).forEach((e=>{if("month"===e)return void qi(o,t.month);const n="year"===e?"FullYear":e.charAt(0).toUpperCase()+e.slice(1);o[`${r}${n}`](t[e])})),o}function Yi(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");switch(t){case"year":o[`${r}Month`](0);case"month":o[`${r}Date`](1);case"day":o[`${r}Hours`](0);case"hour":o[`${r}Minutes`](0);case"minute":o[`${r}Seconds`](0);case"second":o[`${r}Milliseconds`](0)}return o}function Gi(e,t,n){const o=new Date(e),r="set"+(!0===n?"UTC":"");switch(t){case"year":o[`${r}Month`](11);case"month":o[`${r}Date`](ia(o));case"day":o[`${r}Hours`](23);case"hour":o[`${r}Minutes`](59);case"minute":o[`${r}Seconds`](59);case"second":o[`${r}Milliseconds`](999)}return o}function Zi(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach((e=>{t=Math.max(t,new Date(e))})),t}function Ji(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach((e=>{t=Math.min(t,new Date(e))})),t}function Xi(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Si-(t.getTime()-t.getTimezoneOffset()*Si))/n}function ea(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":return o.getFullYear()-r.getFullYear();case"months":return 12*(o.getFullYear()-r.getFullYear())+o.getMonth()-r.getMonth();case"days":return Xi(Yi(o,"day"),Yi(r,"day"),ki);case"hours":return Xi(Yi(o,"hour"),Yi(r,"hour"),xi);case"minutes":return Xi(Yi(o,"minute"),Yi(r,"minute"),Si);case"seconds":return Xi(Yi(o,"second"),Yi(r,"second"),1e3)}}function ta(e){return ea(e,Yi(e,"year"),"days")+1}function na(e){return!0===$o(e)?"date":"number"==typeof e?"number":"string"}function oa(e,t,n){const o=new Date(e);if(t){const e=new Date(t);if(o<e)return e}if(n){const e=new Date(n);if(o>e)return e}return o}function ra(e,t,n){const o=new Date(e),r=new Date(t);if(void 0===n)return o.getTime()===r.getTime();switch(n){case"second":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":if(o.getHours()!==r.getHours())return!1;case"day":if(o.getDate()!==r.getDate())return!1;case"month":if(o.getMonth()!==r.getMonth())return!1;case"year":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function ia(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function aa(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const la={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>0?Ce(o):"-"+Ce(Math.abs(o))},YYYY:(e,t,n)=>null!=n?n:e.getFullYear(),M:e=>e.getMonth()+1,MM:e=>Ce(e.getMonth()+1),MMM:(e,t)=>t.monthsShort[e.getMonth()],MMMM:(e,t)=>t.months[e.getMonth()],Q:e=>Math.ceil((e.getMonth()+1)/3),Qo(e){return aa(this.Q(e))},D:e=>e.getDate(),Do:e=>aa(e.getDate()),DD:e=>Ce(e.getDate()),DDD:e=>ta(e),DDDD:e=>Ce(ta(e),3),d:e=>e.getDay(),dd(e,t){return this.dddd(e,t).slice(0,2)},ddd:(e,t)=>t.daysShort[e.getDay()],dddd:(e,t)=>t.days[e.getDay()],E:e=>e.getDay()||7,w:e=>Hi(e),ww:e=>Ce(Hi(e)),H:e=>e.getHours(),HH:e=>Ce(e.getHours()),h(e){const t=e.getHours();return 0===t?12:t>12?t%12:t},hh(e){return Ce(this.h(e))},m:e=>e.getMinutes(),mm:e=>Ce(e.getMinutes()),s:e=>e.getSeconds(),ss:e=>Ce(e.getSeconds()),S:e=>Math.floor(e.getMilliseconds()/100),SS:e=>Ce(Math.floor(e.getMilliseconds()/10)),SSS:e=>Ce(e.getMilliseconds(),3),A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z:(e,t,n,o)=>Qi(null==o?e.getTimezoneOffset():o,":"),ZZ:(e,t,n,o)=>Qi(null==o?e.getTimezoneOffset():o),X:e=>Math.floor(e.getTime()/1e3),x:e=>e.getTime()};function sa(e,t,n,o,r){if(0!==e&&!e||e===1/0||e===-1/0)return;const i=new Date(e);if(isNaN(i))return;void 0===t&&(t=Ei);const a=void 0!==n?n:H.props.date;return t.replace(Ti,((e,t)=>e in la?la[e](i,a,o,r):void 0===t?e:t.split("\\]").join("]")))}function ua(e){return!0===$o(e)?new Date(e.getTime()):e}var ca={isValid:Ii,extractDate:Oi,buildDate:Pi,getDayOfWeek:Di,getWeekOfYear:Hi,isBetweenDates:$i,addToDate:zi,subtractFromDate:Ki,adjustDate:Wi,startOfDate:Yi,endOfDate:Gi,getMaxDate:Zi,getMinDate:Ji,getDateDiff:ea,getDayOfYear:ta,inferDateFormat:na,getDateBetween:oa,isSameDate:ra,daysInMonth:ia,formatDate:sa,clone:ua};const da=20,Aa=["Calendar","Years","Months"],pa=e=>Aa.includes(e),fa=e=>/^-?[\d]+\/[0-1]\d$/.test(e),ha=" â ";function ma(e){return e.year+"/"+Ce(e.month)}var va=e.defineComponent({name:"QDate",props:{...Li,...go,...rt,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:fa},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:fa},navigationMaxYearMonth:{type:String,validator:fa},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:pa}},emits:[...Ci,"range-start","range-end","navigation"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=it(t,i),{getCache:l}=Fo(),{tabindex:s,headerClass:u,getLocale:c,getCurrentDate:d}=_i(t,i);let A;const p=bo(yo(t)),f=e.ref(null),h=e.ref(ce()),m=e.ref(c()),v=e.computed((()=>ce())),g=e.computed((()=>c())),y=e.computed((()=>d())),b=e.ref(Ae(h.value,m.value)),w=e.ref(t.defaultView),L=!0===i.lang.rtl?"right":"left",C=e.ref(L.value),B=e.ref(L.value),_=b.value.year,k=e.ref(_-_%da-(_<0?da:0)),x=e.ref(null),S=e.computed((()=>{const e=!0===t.landscape?"landscape":"portrait";return`q-date q-date--${e} q-date--${e}
2-${!0===t.minimal?"minimal":"standard"}`+(!0===a.value?" q-date--dark q-dark":"")+(!0===t.bordered?" q-date--bordered":"")+(!0===t.square?" q-date--square no-border-radius":"")+(!0===t.flat?" q-date--flat no-shadow":"")+(!0===t.disable?" disabled":!0===t.readonly?" q-date--readonly":"")})),E=e.computed((()=>t.color||"primary")),T=e.computed((()=>t.textColor||"white")),N=e.computed((()=>!0===t.emitImmediately&&!0!==t.multiple&&!0!==t.range)),F=e.computed((()=>!0===Array.isArray(t.modelValue)?t.modelValue:null!==t.modelValue&&void 0!==t.modelValue?[t.modelValue]:[])),V=e.computed((()=>F.value.filter((e=>"string"==typeof e)).map((e=>de(e,h.value,m.value))).filter((e=>null!==e.dateHash)))),O=e.computed((()=>{const e=e=>de(e,h.value,m.value);return F.value.filter((e=>Object(e)===e&&void 0!==e.from&&void 0!==e.to)).map((t=>({from:e(t.from),to:e(t.to)}))).filter((e=>null!==e.from.dateHash&&null!==e.to.dateHash&&e.from.dateHash<e.to.dateHash))})),U=e.computed((()=>"persian"!==t.calendar?e=>new Date(e.year,e.month-1,e.day):e=>{const t=ci(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)})),Q=e.computed((()=>"persian"===t.calendar?Bi:(e,t,n)=>sa(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),void 0===t?h.value:t,void 0===n?m.value:n,e.year,e.timezoneOffset))),q=e.computed((()=>V.value.length+O.value.reduce(((e,t)=>e+1+ea(U.value(t.to),U.value(t.from))),0))),M=e.computed((()=>{if(void 0!==t.title&&null!==t.title&&t.title.length>0)return t.title;if(null!==x.value){const e=x.value.init,t=U.value(e);return m.value.daysShort[t.getDay()]+", "+m.value.monthsShort[e.month-1]+" "+e.day+ha+"?"}if(0===q.value)return ha;if(q.value>1)return`${q.value} ${m.value.pluralDay}`;const e=V.value[0],n=U.value(e);return!0===isNaN(n.valueOf())?ha:void 0!==m.value.headerTitle?m.value.headerTitle(n,e):m.value.daysShort[n.getDay()]+", "+m.value.monthsShort[e.month-1]+" "+e.day})),I=e.computed((()=>V.value.concat(O.value.map((e=>e.from))).sort(((e,t)=>e.year-t.year||e.month-t.month))[0])),P=e.computed((()=>V.value.concat(O.value.map((e=>e.to))).sort(((e,t)=>t.year-e.year||t.month-e.month))[0])),D=e.computed((()=>{if(void 0!==t.subtitle&&null!==t.subtitle&&t.subtitle.length>0)return t.subtitle;if(0===q.value)return ha;if(q.value>1){const e=I.value,t=P.value,n=m.value.monthsShort;return n[e.month-1]+(e.year!==t.year?" "+e.year+ha+n[t.month-1]+" ":e.month!==t.month?ha+n[t.month-1]:"")+" "+t.year}return V.value[0].year})),H=e.computed((()=>{const e=[i.iconSet.datetime.arrowLeft,i.iconSet.datetime.arrowRight];return!0===i.lang.rtl?e.reverse():e})),R=e.computed((()=>void 0!==t.firstDayOfWeek?Number(t.firstDayOfWeek):m.value.firstDayOfWeek)),j=e.computed((()=>{const e=m.value.daysShort,t=R.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e})),$=e.computed((()=>{const e=b.value;return"persian"!==t.calendar?new Date(e.year,e.month,0).getDate():Ai(e.year,e.month)})),z=e.computed((()=>"function"==typeof t.eventColor?t.eventColor:()=>t.eventColor)),K=e.computed((()=>{if(void 0===t.navigationMinYearMonth)return null;const e=t.navigationMinYearMonth.split("/");return{year:parseInt(e[0],10),month:parseInt(e[1],10)}})),W=e.computed((()=>{if(void 0===t.navigationMaxYearMonth)return null;const e=t.navigationMaxYearMonth.split("/");return{year:parseInt(e[0],10),month:parseInt(e[1],10)}})),Y=e.computed((()=>{const e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return null!==K.value&&K.value.year>=b.value.year&&(e.year.prev=!1,K.value.year===b.value.year&&K.value.month>=b.value.month&&(e.month.prev=!1)),null!==W.value&&W.value.year<=b.value.year&&(e.year.next=!1,W.value.year===b.value.year&&W.value.month<=b.value.month&&(e.month.next=!1)),e})),G=e.computed((()=>{const e={};return V.value.forEach((t=>{const n=ma(t);void 0===e[n]&&(e[n]=[]),e[n].push(t.day)})),e})),Z=e.computed((()=>{const e={};return O.value.forEach((t=>{const n=ma(t.from),o=ma(t.to);if(void 0===e[n]&&(e[n]=[]),e[n].push({from:t.from.day,to:n===o?t.to.day:void 0,range:t}),n<o){let n;const{year:r,month:i}=t.from,a=i<12?{year:r,month:i+1}:{year:r+1,month:1};for(;(n=ma(a))<=o;)void 0===e[n]&&(e[n]=[]),e[n].push({from:void 0,to:n===o?t.to.day:void 0,range:t}),a.month++,a.month>
212&&(a.year++,a.month=1)}})),e})),J=e.computed((()=>{if(null===x.value)return;const{init:e,initHash:t,final:n,finalHash:o}=x.value,[r,i]=t<=o?[e,n]:[n,e],a=ma(r),l=ma(i);if(a!==X.value&&l!==X.value)return;const s={};return a===X.value?(s.from=r.day,s.includeFrom=!0):s.from=1,l===X.value?(s.to=i.day,s.includeTo=!0):s.to=$.value,s})),X=e.computed((()=>ma(b.value))),ee=e.computed((()=>{const e={};if(void 0===t.options){for(let t=1;t<=$.value;t++)e[t]=!0;return e}const n="function"==typeof t.options?t.options:e=>t.options.includes(e);for(let t=1;t<=$.value;t++){const o=X.value+"/"+Ce(t);e[t]=n(o)}return e})),te=e.computed((()=>{const e={};if(void 0===t.events)for(let t=1;t<=$.value;t++)e[t]=!1;else{const n="function"==typeof t.events?t.events:e=>t.events.includes(e);for(let t=1;t<=$.value;t++){const o=X.value+"/"+Ce(t);e[t]=!0===n(o)&&z.value(o)}}return e})),ne=e.computed((()=>{let e,n;const{year:o,month:r}=b.value;if("persian"!==t.calendar)e=new Date(o,r-1,1),n=new Date(o,r-1,0).getDate();else{const t=ci(o,r,1);e=new Date(t.gy,t.gm-1,t.gd);let i=r-1,a=o;0===i&&(i=12,a--),n=Ai(a,i)}return{days:e.getDay()-R.value-1,endDay:n}})),oe=e.computed((()=>{const e=[],{days:t,endDay:n}=ne.value,o=t<0?t+7:t;if(o<6)for(let t=n-o;t<=n;t++)e.push({i:t,fill:!0});const r=e.length;for(let t=1;t<=$.value;t++){const n={i:t,event:te.value[t],classes:[]};!0===ee.value[t]&&(n.in=!0,n.flat=!0),e.push(n)}if(void 0!==G.value[X.value]&&G.value[X.value].forEach((t=>{const n=r+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:E.value,textColor:T.value})})),void 0!==Z.value[X.value]&&Z.value[X.value].forEach((t=>{if(void 0!==t.from){const n=r+t.from-1,o=r+(t.to||$.value)-1;for(let r=n;r<=o;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:E.value,textColor:T.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),void 0!==t.to&&Object.assign(e[o],{rangeTo:!0,flat:!1})}else if(void 0!==t.to){const n=r+t.to-1;for(let o=r;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:E.value,textColor:T.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{const n=r+$.value-1;for(let o=r;o<=n;o++)Object.assign(e[o],{range:t.range,unelevated:!0,color:E.value,textColor:T.value})}})),void 0!==J.value){const t=r+J.value.from-1,n=r+J.value.to-1;for(let o=t;o<=n;o++)e[o].color=E.value,e[o].editRange=!0;!0===J.value.includeFrom&&(e[t].editRangeFrom=!0),!0===J.value.includeTo&&(e[n].editRangeTo=!0)}b.value.year===y.value.year&&b.value.month===y.value.month&&(e[r+y.value.day-1].today=!0);const i=e.length%7;if(i>0){const t=7-i;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach((e=>{let t="q-date__calendar-item ";!0===e.fill?t+="q-date__calendar-item--fill":(t+="q-date__calendar-item--"+(!0===e.in?"in":"out"),void 0!==e.range&&(t+=" q-date__range"+(!0===e.rangeTo?"-to":!0===e.rangeFrom?"-from":"")),!0===e.editRange&&(t+=` q-date__edit-range${!0===e.editRangeFrom?"-from":""}${!0===e.editRangeTo?"-to":""}`),void 0===e.range&&!0!==e.editRange||(t+=` text-${e.color}`)),e.classes=t})),e})),re=e.computed((()=>!0===t.disable?{"aria-disabled":"true"}:!0===t.readonly?{"aria-readonly":"true"}:{}));function ie(){ge(y.value,ma(y.value)),se(y.value.year,y.value.month)}function ae(e){!0===pa(e)&&(w.value=e)}function le(e,t){["month","year"].includes(e)&&("month"===e?fe:he)(!0===t?-1:1)}function se(e,t){w.value="Calendar",be(e,t)}function ue(e,n){if(!1===t.range||!e)return void(x.value=null);const o=Object.assign({...b.value},e),r=void 0!==n?Object.assign({...b.value},n):o;x.value={init:o,initHash:Bi(o),final:r,finalHash:Bi(r)},se(o.year,o.month)}function ce(){return"persian"===t.calendar?"YYYY/MM/DD":t.mask}function de(e,n,o){return Ui(e,n,o,t.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Ae(e,n){const o=!0===Array.isArray(t.modelValue)?t.modelValue:t.modelValue?[t.modelValue]:[];if(0===o.length)return pe();const r=de(void 0!==o[0].from?o[0].from:o[0],e,n);return null===r.dateHash?pe():r}function pe(){let e,n;if(void 0!==t.defaultYearMonth){const o=t.defaultYearMonth.split("/");e=parseInt(o[0],10),n=parseInt(o[1],10)}else{const t=void 0!==y.value?y.value:d();e=t.year,n=t.month}return{year:e,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:e+"/"+Ce(n)+"/01"}}function fe(e){let t=b.value.year,n=Number(b.value.month)+e;13===n?(n=1,t++):0===n&&(n=12,t--),be(t,n),!0===N.value&&Le("month")}function he(e){be(Number(b.value.year)+e,b.value.month),!0===N.value&&Le("year")}function me(e){be(e,b.value.month),w.value="Years"===t.defaultView?"Months":"Calendar",!0===N.value&&Le("year")}function ve(e){be(b.value.year,e),w.value="Calendar",!0===N.value&&Le("month")}function ge(e,t){const n=G.value[t];(void 0!==n&&!0===n.includes(e.day)?xe:ke)(e)}function ye(e){return{year:e.year,month:e.month,day:e.day}}function be(t,n){null!==K.value&&t<=K.value.year&&(t=K.value.year,n<K.value.month&&(n=K.value.month)),null!==W.value&&t>=W.value.year&&(t=W.value.year,n>W.value.month&&(n=W.value.month));const o=t+"/"+Ce(n)+"/01";o!==b.value.dateHash&&(C.value=b.value.dateHash<o==(!0!==i.lang.rtl)?"left":"right",t!==b.value.year&&(B.value=C.value),e.nextTick((()=>{k.value=t-t%da-(t<0?da:0),Object.assign(b.value,{year:t,month:n,day:1,dateHash:o})})))}function we(e,n,r){const i=null!==e&&1===e.length&&!1===t.multiple?e[0]:e;A=i;const{reason:a,details:l}=Be(n,r);o("update:modelValue",i,a,l)}function Le(n){const r=void 0!==V.value[0]&&null!==V.value[0].dateHash?{...V.value[0]}:{...b.value};e.nextTick((()=>{r.year=b.value.year,r.month=b.value.month;const e="persian"!==t.calendar?new Date(r.year,r.month,0).getDate():Ai(r.year,r.month);r.day=Math.min(Math.max(1,r.day),e);const i=_e(r);A=i;const{details:a}=Be("",r);o("update:modelValue",i,n,a)}))}function Be(e,t){return void 0!==t.from?{reason:`${e}-range`,details:{...ye(t.target),from:ye(t.from),to:ye(t.to)}}:{reason:`${e}-day`,details:ye(t)}}function _e(e,t,n){return void 0!==e.from?{from:Q.value(e.from,t,n),to:Q.value(e.to,t,n)}:Q.value(e,t,n)}function ke(e){let n;if(!0===t.multiple)if(void 0!==e.from){const t=Bi(e.from),o=Bi(e.to),r=V.value.filter((e=>e.dateHash<t||e.dateHash>o)),i=O.value.filter((({from:e,to:n})=>n.dateHash<t||e.dateHash>o));
2n=r.concat(i).concat(e).map((e=>_e(e)))}else{const t=F.value.slice();t.push(_e(e)),n=t}else n=_e(e);we(n,"add",e)}function xe(e){if(!0===t.noUnset)return;let n=null;if(!0===t.multiple&&!0===Array.isArray(t.modelValue)){const o=_e(e);n=void 0!==e.from?t.modelValue.filter((e=>void 0===e.from||e.from!==o.from&&e.to!==o.to)):t.modelValue.filter((e=>e!==o)),0===n.length&&(n=null)}we(n,"remove",e)}function Se(e,n,r){const i=V.value.concat(O.value).map((t=>_e(t,e,n))).filter((e=>void 0!==e.from?null!==e.from.dateHash&&null!==e.to.dateHash:null!==e.dateHash));o("update:modelValue",(!0===t.multiple?i:i[0])||null,r)}function Ee(){if(!0!==t.minimal)return e.h("div",{class:"q-date__header "+u.value},[e.h("div",{class:"relative-position"},[e.h(e.Transition,{name:"q-transition--fade"},(()=>e.h("div",{key:"h-yr-"+D.value,class:"q-date__header-subtitle q-date__header-link "+("Years"===w.value?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...l("vY",{onClick(){w.value="Years"},onKeyup(e){13===e.keyCode&&(w.value="Years")}})},[D.value])))]),e.h("div",{class:"q-date__header-title relative-position flex no-wrap"},[e.h("div",{class:"relative-position col"},[e.h(e.Transition,{name:"q-transition--fade"},(()=>e.h("div",{key:"h-sub"+M.value,class:"q-date__header-title-label q-date__header-link "+("Calendar"===w.value?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...l("vC",{onClick(){w.value="Calendar"},onKeyup(e){13===e.keyCode&&(w.value="Calendar")}})},[M.value])))]),!0===t.todayBtn?e.h(Kt,{class:"q-date__header-today self-start",icon:i.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:s.value,onClick:ie}):null])])}function Te({label:t,type:n,key:o,dir:r,goTo:i,boundaries:a,cls:u}){return[e.h("div",{class:"row items-center q-date__arrow"},[e.h(Kt,{round:!0,dense:!0,size:"sm",flat:!0,icon:H.value[0],tabindex:s.value,disable:!1===a.prev,...l("go-#"+n,{onClick(){i(-1)}})})]),e.h("div",{class:"relative-position overflow-hidden flex flex-center"+u},[e.h(e.Transition,{name:"q-transition--jump-"+r},(()=>e.h("div",{key:o},[e.h(Kt,{flat:!0,dense:!0,noCaps:!0,label:t,tabindex:s.value,...l("view#"+n,{onClick:()=>{w.value=n}})})])))]),e.h("div",{class:"row items-center q-date__arrow"},[e.h(Kt,{round:!0,dense:!0,size:"sm",flat:!0,icon:H.value[1],tabindex:s.value,disable:!1===a.next,...l("go+#"+n,{onClick(){i(1)}})})])]}e.watch((()=>t.modelValue),(e=>{if(A===e)A=0;else{const{year:e,month:t}=Ae(h.value,m.value);be(e,t)}})),e.watch(w,(()=>{null!==f.value&&f.value.focus()})),e.watch((()=>b.value.year),(e=>{o("navigation",{year:e,month:b.value.month})})),e.watch((()=>b.value.month),(e=>{o("navigation",{year:b.value.year,month:e})})),e.watch(v,(e=>{Se(e,m.value,"mask"),h.value=e})),e.watch(g,(e=>{Se(h.value,e,"locale"),m.value=e})),Object.assign(r,{setToday:ie,setView:ae,offsetCalendar:le,setCalendarTo:se,setEditingRange:ue});const Ne={Calendar:()=>[e.h("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[e.h("div",{class:"q-date__navigation row items-center no-wrap"},Te({label:m.value.months[b.value.month-1],type:"Months",key:b.value.month,dir:C.value,goTo:fe,boundaries:Y.value.month,cls:" col"}).concat(Te({label:b.value.year,type:"Years",key:b.value.year,dir:B.value,goTo:he,boundaries:Y.value.year,cls:""}))),e.h("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},j.value.map((t=>e.h("div",{class:"q-date__calendar-item"},[e.h("div",t)])))),e.h("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[e.h(e.Transition,{name:"q-transition--slide-"+C.value},(()=>e.h("div",{key:X.value,class:"q-date__calendar-days fit"},oe.value.map((t=>e.h("div",{class:t.classes},[!0===t.in?e.h(Kt,{class:!0===t.today?"q-date__today":"",dense:!0,flat:t.flat,unelevated:t.unelevated,color:t.color,textColor:t.textColor,label:t.i,tabindex:s.value,...l("day#"+t.i,{onClick:()=>{Fe(t.i)},onMouseover:()=>{Ve(t.i)}})},!1!==t.event?()=>e.h("div",{class:"q-date__event bg-"+t.event}):null):e.h("div",""+t.i)]))))))])])],Months(){const n=b.value.year===y.value.year,o=e=>null!==K.value&&b.value.year===K.value.year&&K.value.month>e||null!==W.value&&b.value.year===W.value.year&&W.value.month<e,r=m.value.monthsShort.map(((t,r)=>{const i=b.value.month===r+1;return e.h("div",{class:"q-date__months-item flex flex-center"},[e.h(Kt,{class:!0===n&&y.value.month===r+1?"q-date__today":null,flat:!0!==i,label:t,unelevated:i,color:!0===i?E.value:null,textColor:!0===i?T.value:null,tabindex:s.value,disable:o(r+1),...l("month#"+r,{onClick:()=>{ve(r+1)}})})])}));return!0===t.yearsInMonthView&&r.unshift(e.h("div",{class:"row no-wrap full-width"},[Te({label:b.value.year,type:"Years",key:b.value.year,dir:B.value,goTo:he,boundaries:Y.value.year,cls:" col"})])),e.h("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},r)}
2,Years(){const t=k.value,n=t+da,o=[],r=e=>null!==K.value&&K.value.year>e||null!==W.value&&W.value.year<e;for(let i=t;i<=n;i++){const t=b.value.year===i;o.push(e.h("div",{class:"q-date__years-item flex flex-center"},[e.h(Kt,{key:"yr"+i,class:y.value.year===i?"q-date__today":null,flat:!t,label:i,dense:!0,unelevated:t,color:!0===t?E.value:null,textColor:!0===t?T.value:null,tabindex:s.value,disable:r(i),...l("yr#"+i,{onClick:()=>{me(i)}})})]))}return e.h("div",{class:"q-date__view q-date__years flex flex-center"},[e.h("div",{class:"col-auto"},[e.h(Kt,{round:!0,dense:!0,flat:!0,icon:H.value[0],tabindex:s.value,disable:r(t),...l("y-",{onClick:()=>{k.value-=da}})})]),e.h("div",{class:"q-date__years-content col self-stretch row items-center"},o),e.h("div",{class:"col-auto"},[e.h(Kt,{round:!0,dense:!0,flat:!0,icon:H.value[1],tabindex:s.value,disable:r(n),...l("y+",{onClick:()=>{k.value+=da}})})])])}};function Fe(e){const n={...b.value,day:e};if(!1!==t.range)if(null===x.value){const t=oe.value.find((t=>!0!==t.fill&&t.i===e));if(void 0!==t.range)return void xe({target:n,from:t.range.from,to:t.range.to});if(!0===t.selected)return void xe(n);const r=Bi(n);x.value={init:n,initHash:r,final:n,finalHash:r},o("range-start",ye(n))}else{const e=x.value.initHash,t=Bi(n),r=e<=t?{from:x.value.init,to:n}:{from:n,to:x.value.init};x.value=null,ke(e===t?n:{target:n,...r}),o("range-end",{from:ye(r.from),to:ye(r.to)})}else ge(n,X.value)}function Ve(e){if(null!==x.value){const t={...b.value,day:e};Object.assign(x.value,{final:t,finalHash:Bi(t)})}}return()=>{const o=[e.h("div",{class:"q-date__content col relative-position"},[e.h(e.Transition,{name:"q-transition--fade"},Ne[w.value])])],r=Me(n.default);return void 0!==r&&o.push(e.h("div",{class:"q-date__actions"},r)),void 0!==t.name&&!0!==t.disable&&p(o,"push"),e.h("div",{class:S.value,...re.value},[Ee(),e.h("div",{ref:f,class:"q-date__main col column",tabindex:-1},o)])}}});function ga(t,n,o){let r;function i(){void 0!==r&&(I.remove(r),r=void 0)}return e.onBeforeUnmount((()=>{!0===t.value&&i()})),{removeFromHistory:i,addToHistory(){r={condition:()=>!0===o.value,handler:n},I.add(r)}}}let ya,ba,wa,La,Ca,Ba,_a=0,ka=!1;function xa(e){Sa(e)&&_(e)}function Sa(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=y(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let e=0;e<t.length;e++){const n=t[e];if(Mn(n,o))return o?r<0&&0===n.scrollTop||r>0&&n.scrollTop+n.clientHeight===n.scrollHeight:r<0&&0===n.scrollLeft||r>0&&n.scrollLeft+n.clientWidth===n.scrollWidth}return!0}function Ea(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Ta(e){!0!==ka&&(ka=!0,requestAnimationFrame((()=>{ka=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;void 0!==wa&&t===window.innerHeight||(wa=n-t,document.scrollingElement.scrollTop=o),o>wa&&(document.scrollingElement.scrollTop-=Math.ceil((o-wa)/8))})))}function Na(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:o}=window.getComputedStyle(t);ya=En(window),ba=Sn(window),La=t.style.left,Ca=t.style.top,t.style.left=`-${ya}px`,t.style.top=`-${ba}px`,"hidden"!==o&&("scroll"===o||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===c.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Ta,p.passiveCapture),window.visualViewport.addEventListener("scroll",Ta,p.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ea,p.passiveCapture))}!0===c.is.desktop&&!0===c.is.mac&&window[`${e}EventListener`]("wheel",xa,p.notPassive),"remove"===e&&(!0===c.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",Ta,p.passiveCapture),window.visualViewport.removeEventListener("scroll",Ta,p.passiveCapture)):window.removeEventListener("scroll",Ea,p.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=La,t.style.top=Ca,window.scrollTo(ya,ba),wa=void 0)}function Fa(e){let t="add";if(!0===e){if(_a++,void 0!==Ba)return clearTimeout(Ba),void(Ba=void 0);if(_a>1)return}else{if(0===_a)return;if(_a--,_a>0)return;if(t="remove",!0===c.is.ios&&!0===c.is.nativeMobile)return clearTimeout(Ba),void(Ba=setTimeout((()=>{Na(t),Ba=void 0}),100))}Na(t)}function Va(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,Fa(t))}}}let Oa=0;const Ua={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},Qa={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var qa=e.defineComponent({name:"QDialog",inheritAttrs:!1,props:{...Xt,...bn,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDism
2iss:Boolean,noRefocus:Boolean,noFocus:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:e=>"standard"===e||["top","bottom","left","right"].includes(e)}},emits:[...en,"shake","click","escape-key"],setup(t,{slots:n,emit:o,attrs:r}){const i=e.getCurrentInstance(),a=e.ref(null),l=e.ref(!1),s=e.ref(!1),u=e.ref(!1);let c,d,A,p=null;const f=e.computed((()=>!0!==t.persistent&&!0!==t.noRouteDismiss&&!0!==t.seamless)),{preventBodyScroll:h}=Va(),{registerTimeout:m,removeTimeout:v}=Cn(),{registerTick:g,removeTick:y,prepareTick:b}=Ln(),{showPortal:w,hidePortal:L,portalIsActive:C,renderPortal:B}=yn(i,a,$,!0),{hide:_}=tn({showing:l,hideOnRouteChange:f,handleShow:U,handleHide:Q,processOnMount:!0}),{addToHistory:k,removeFromHistory:x}=ga(l,_,f),S=e.computed((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===t.maximized?"maximized":"minimized")+` q-dialog__inner--${t.position} ${Ua[t.position]}`+(!0===u.value?" q-dialog__inner--animating":"")+(!0===t.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===t.fullHeight?" q-dialog__inner--fullheight":"")+(!0===t.square?" q-dialog__inner--square":""))),E=e.computed((()=>"q-transition--"+(void 0===t.transitionShow?Qa[t.position][0]:t.transitionShow))),T=e.computed((()=>"q-transition--"+(void 0===t.transitionHide?Qa[t.position][1]:t.transitionHide))),N=e.computed((()=>!0===s.value?T.value:E.value)),F=e.computed((()=>!0===l.value&&!0!==t.seamless)),V=e.computed((()=>!0===t.autoClose?{onClick:H}:{})),O=e.computed((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===F.value?"modal":"seamless"),r.class]));function U(e){v(),y(),k(),p=!1===t.noRefocus&&null!==document.activeElement?document.activeElement:null,D(t.maximized),w(),u.value=!0,!0!==t.noFocus&&(null!==document.activeElement&&document.activeElement.blur(),g(q),b()),m((()=>{if(!0===i.proxy.$q.platform.is.ios){if(!0!==t.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,o=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>o/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-o,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-o/2))),document.activeElement.scrollIntoView()}A=!0,a.value.click(),A=!1}w(!0),u.value=!1,o("show",e)}),t.transitionDuration)}function Q(e){v(),y(),x(),P(!0),u.value=!0,null!==p&&p.focus(),m((()=>{L(),u.value=!1,o("hide",e)}),t.transitionDuration)}function q(){ln((()=>{let e=a.value;null!==e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus], [data-autofocus]")||e,e.focus())}))}function M(){q(),o("shake");const e=a.value;null!==e&&(e.classList.remove("q-animate--scale"),e.classList.add("q-animate--scale"),clearTimeout(c),c=setTimeout((()=>{null!==a.value&&(e.classList.remove("q-animate--scale"),q())}),170))}function I(){!0!==t.seamless&&(!0===t.persistent||!0===t.noEscDismiss?!0!==t.maximized&&M():(o("escape-key"),_()))}function P(e){clearTimeout(c),!0!==e&&!0!==l.value||(D(!1),!0!==t.seamless&&(h(!1),Zn(j),Kn(I)))}function D(e){!0===e?!0!==d&&(Oa<1&&document.body.classList.add("q-body--dialog"),Oa++,d=!0):!0===d&&(Oa<2&&document.body.classList.remove("q-body--dialog"),Oa--,d=!1)}function H(e){!0!==A&&(_(e),o("click",e))}function R(e){!0!==t.persistent&&!0!==t.noBackdropDismiss?_(e):M()}function j(e){!0===l.value&&!0===C.value&&!0!==Vt(a.value,e.target)&&q()}function $(){return e.h("div",{...r,class:O.value},[e.h(e.Transition,{name:"q-transition--fade",appear:!0},(()=>!0===F.value?e.h("div",{class:"q-dialog__backdrop fixed-full","aria-hidden":"true",onMousedown:R}):null)),e.h(e.Transition,{name:N.value,appear:!0},(()=>!0===l.value?e.h("div",{ref:a,class:S.value,tabindex:-1,...V.value},Me(n.default)):null))])}return e.watch(l,(t=>{e.nextTick((()=>{s.value=t}))})),e.watch((()=>t.maximized),(e=>{!0===l.value&&D(e)})),e.watch(F,(e=>{h(e),!0===e?(Gn(j),zn(I)):(Zn(j),Kn(I))})),Object.assign(i.proxy,{focus:q,shake:M,__updateRefocusTarget(e){p=e||null}}),e.onBeforeUnmount((()=>{P()})),B}});const Ma=150;var Ia=e.defineComponent({name:"QDrawer",inheritAttrs:!1,props:{...Xt,...rt,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...en,"on-layout","mini-state"],setup(t,{slots:n,emit:o,attrs:r}){const i=e.getCurrentInstance(),{proxy:{$q:a}}=i,l=it(t,a),{preventBodyScroll:s}=Va(),{registerTimeout:u}=Cn(),c=e.inject(re,(()=>{console.error("QDrawer needs to be child of QLayout")}));let d,A,p;const f=e.ref("mobile"===t.behavior||"desktop"!==t.behavior&&c.totalWidth.value<=t.breakpoint),h=e.computed((()=>!0===t.mini&&!0!==f.value)),m=e.computed((()=>!0===h.value?t.miniWidth:t.width)),v=e.ref(!0===t.showIfAbove&&!1===f.value||!0===t.modelValue),g=e.computed((()=>!0!==t.persistent&&(!0===f.value||!0===Q.value)));function y(e,t){if(C(),!1!==e&&c.animate(),W(0),!0===f.value){const e=c.instances[F.value];void 0!==e&&!0===e.belowBreakpoint&&e.hide(!1),G(1),!0!==c.isContainer.value&&s(!0)}else G(0),!1!==e&&Z(!1);u((()=>{!1!==e&&Z(!0),!0!==t&&o("show",e)}),Ma)}function b(e,t){B(),!1!==e&&c.animate(),G(0),W(x.value*m.value),te(),!0!==t&&u((()=>{o("hide",e)}),Ma)}const{show:w,hide:L}=tn({showing:v,hideOnRouteChange:g,handleShow:y,handleHide:b}),{addToHistory:C,removeFromHistory:B}=ga(v,L,g),_={belowBreakpoint:f,hide:L},k=e.computed((()=>"right"===t.side)),x=e.computed((()=>(!0===a.lang.rtl?-1:1)*(!0===k.value?1:-1))),S=e.ref(0),E=e.ref(!1),T=e.ref(!1),N=e.ref(m.value*x.value),F=e.computed((()=>!0===k.value?"left":"right")),V=e.computed((()=>!0===v.value&&!1===f.value&&!1===t.overlay?!0===t.miniToOverlay?t.miniWidth:m.value:0)),O=e.computed((()=>!0===t.overlay||!0===t.miniToOverlay||c.view.value.indexOf(k.value?"R":"L")>-1||!0===a.platform.is.ios&&!0===c.isContainer.value)),U=e.computed((()=>!1===t.overlay&&!0===v.value&&!1===f.value)),Q=e.computed((()=>!0===t.overlay&&!0===v.value&&!1===f.value)),q=e.computed((()=>"fullscreen q-drawer__backdrop"+(!1===v.value&&!1===E.value?" hidden":""))),M=e.computed((()=>({backgroundColor:`rgba(0,0,0,${.4*S.value})`}))),I=e.computed((()=>!0===k.value?"r"===c.rows.value.top[2]:"l"===c.rows.value.top[0])),P=e.computed((()=>!0===k.value?"r"===c.rows.value.bottom[2]:"l"===c.rows.value.bottom[0])),D=e.computed((()=>{const e={};return!0===c.header.space&&!1===I.value&&(!0===O.value?e.top=`${c.header.offset}px`:!0===c.header.space&&(e.top=`${c.header.size}px`)),!0===c.footer.space&&!1===P.value&&(!0===O.value?e.bottom=`${c.footer.offset}px`:!0===c.footer.space&&(e.bottom=`${c.footer.size}px`)),e})),H=e.computed((()=>{const e={width:`${m.value}px`,transform:`translateX(${N.value}px)`};return!0===f.value?e:Object.assign(e,D.value)})),R=e.computed((()=>"q-drawer__content fit "+(!0!==c.isContainer.value?"scroll":"overflow-auto"))),j=e.computed((()=>`q-drawer q-drawer--${t.side}`+(!0===T.value?" q-drawer--mini-animate":"")+(!0===t.bordered?" q-drawer--bordered":"")+(!0===l.value?" q-drawer--dark q-d
2ark":"")+(!0===E.value?" no-transition":!0===v.value?"":" q-layout--prevent-focus")+(!0===f.value?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===h.value?"mini":"standard")+(!0===O.value||!0!==U.value?" fixed":"")+(!0===t.overlay||!0===t.miniToOverlay?" q-drawer--on-top":"")+(!0===I.value?" q-drawer--top-padding":"")))),$=e.computed((()=>{const e=!0===a.lang.rtl?t.side:F.value;return[[mr,X,void 0,{[e]:!0,mouse:!0}]]})),z=e.computed((()=>{const e=!0===a.lang.rtl?F.value:t.side;return[[mr,ee,void 0,{[e]:!0,mouse:!0}]]})),K=e.computed((()=>{const e=!0===a.lang.rtl?F.value:t.side;return[[mr,ee,void 0,{[e]:!0,mouse:!0,mouseAllDir:!0}]]}));function W(t){void 0===t?e.nextTick((()=>{t=!0===v.value?0:m.value,W(x.value*t)})):(!0!==c.isContainer.value||!0!==k.value||!0!==f.value&&Math.abs(t)!==m.value||(t+=x.value*c.scrollbarWidth.value),N.value=t)}function Y(){oe(f,"mobile"===t.behavior||"desktop"!==t.behavior&&c.totalWidth.value<=t.breakpoint)}function G(e){S.value=e}function Z(e){const t=!0===e?"remove":!0!==c.isContainer.value?"add":"";""!==t&&document.body.classList[t]("q-body--drawer-toggle")}function J(){clearTimeout(A),i.proxy&&i.proxy.$el&&i.proxy.$el.classList.add("q-drawer--mini-animate"),T.value=!0,A=setTimeout((()=>{T.value=!1}),150)}function X(e){if(!1!==v.value)return;const t=m.value,n=we(e.distance.x,0,t);if(!0===e.isFinal)return!0==n>=Math.min(75,t)?w():(c.animate(),G(0),W(x.value*t)),void(E.value=!1);W((!0===a.lang.rtl?!0!==k.value:k.value)?Math.max(t-n,0):Math.min(0,n-t)),G(we(n/t,0,1)),!0===e.isFirst&&(E.value=!0)}function ee(e){if(!0!==v.value)return;const n=m.value,o=e.direction===t.side,r=(!0===a.lang.rtl?!0!==o:o)?we(e.distance.x,0,n):0;if(!0===e.isFinal)return!0==Math.abs(r)<Math.min(75,n)?(c.animate(),G(1),W(0)):L(),void(E.value=!1);W(x.value*r),G(we(1-r/n,0,1)),!0===e.isFirst&&(E.value=!0)}function te(){s(!1),Z(!0)}function ne(e,n){c.update(t.side,e,n)}function oe(e,t){e.value!==t&&(e.value=t)}function ie(e,n){ne("size",!0===e?t.miniWidth:n)}return e.watch(f,(e=>{!0===e?(d=v.value,!0===v.value&&L(!1)):!1===t.overlay&&"mobile"!==t.behavior&&!1!==d&&(!0===v.value?(W(0),G(0),te()):w(!1))})),e.watch(c.totalWidth,(e=>{oe(f,"mobile"===t.behavior||"desktop"!==t.behavior&&e<=t.breakpoint)})),e.watch((()=>t.side),((e,t)=>{c.instances[t]===_&&(c.instances[t]=void 0,c[t].space=!1,c[t].offset=0),c.instances[e]=_,c[e].size=m.value,c[e].space=U.value,c[e].offset=V.value})),e.watch((()=>t.behavior+t.breakpoint),Y),e.watch(c.isContainer,(e=>{!0===v.value&&s(!0!==e)})),e.watch(c.scrollbarWidth,(()=>{W(!0===v.value?0:void 0)})),e.watch(V,(e=>{ne("offset",e)})),e.watch(U,(e=>{o("on-layout",e),ne("space",e)})),e.watch(k,(()=>{W()})),e.watch(m,(e=>{W(),ie(t.miniToOverlay,e)})),e.watch((()=>t.miniToOverlay),(e=>{ie(e,m.value)})),e.watch((()=>a.lang.rtl),(()=>{W()})),e.watch((()=>t.mini),(()=>{!0===t.modelValue&&(J(),c.animate())})),e.watch(h,(e=>{o("mini-state",e)})),c.instances[t.side]=_,ie(t.miniToOverlay,m.value),ne("space",U.value),ne("offset",V.value),!0===t.showIfAbove&&!0!==t.modelValue&&!0===v.value&&void 0!==t["onUpdate:modelValue"]&&o("update:modelValue",!0),e.onMounted((()=>{o("on-layout",U.value),o("mini-state",h.value),d=!0===t.showIfAbove;const n=()=>{(!0===v.value?y:b)(!1,!0)};0===c.totalWidth.value?p=e.watch(c.totalWidth,(()=>{p(),p=void 0,!1===v.value&&!0===t.showIfAbove&&!1===f.value?w(!1):n()})):e.nextTick(n)})),e.onBeforeUnmount((()=>{void 0!==p&&p(),clearTimeout(A),!0===v.value&&te(),c.instances[t.side]===_&&(c.instances[t.side]=void 0,ne("size",0),ne("offset",0),ne("space",!1))})),()=>{const o=[];!0===f.value&&(!1===t.noSwipeOpen&&o.push(e.withDirectives(e.h("div",{key:"open",class:`q-drawer__opener fixed-${t.side}`,"aria-hidden":"true"}),$.value)),o.push(He("div",{ref:"backdrop",class:q.value,style:M.value,"aria-hidden":"true",onClick:L},void 0,"backdrop",!0!==t.noSwipeBackdrop&&!0===v.value,(()=>K.value))));const i=!0===h.value&&void 0!==n.mini,a=[e.h("div",{...r,key:""+i,class:[R.value,r.class]},!0===i?n.mini():Me(n.default))];return!0===t.elevated&&!0===v.value&&a.push(e.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),o.push(He("aside",{ref:"content",class:j.value,style:H.value},a,"contentclose",!0!==t.noSwipeClose&&!0===f.value,(()=>z.value))),e.h("div",{class:"q-drawer-container"},o)}}});function Pa(e,t){if(t&&e===t)return null;const n=e.nodeName.toLowerCase();if(!0===["div","li","ul","ol","blockquote"].includes(n))return e;const o=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return"block"===o||"table"===o?e:Pa(e.parentNode)}
2function Da(e,t,n){return!(!e||e===document.body)&&(!0===n&&e===t||(t===document?document.body:t).contains(e.parentNode))}function Ha(e,t,n){if(n||((n=document.createRange()).selectNode(e),n.setStart(e,0)),0===t.count)n.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(n.setEnd(e,t.count),t.count=0);else for(let o=0;0!==t.count&&o<e.childNodes.length;o++)n=Ha(e.childNodes[o],t,n);return n}const Ra=/^https?:\/\//;class ja{constructor(e,t){this.el=e,this.eVm=t,this._range=null}get selection(){if(this.el){const e=document.getSelection();if(Da(e.anchorNode,this.el,!0)&&Da(e.focusNode,this.el,!0))return e}return null}get hasSelection(){return null!==this.selection&&this.selection.toString().length>0}get range(){const e=this.selection;return null!==e&&e.rangeCount?e.getRangeAt(0):this._range}get parent(){const e=this.range;if(null!==e){const t=e.startContainer;return t.nodeType===document.ELEMENT_NODE?t:t.parentNode}return null}get blockParent(){const e=this.parent;return null!==e?Pa(e,this.el):null}save(e=this.range){null!==e&&(this._range=e)}restore(e=this._range){const t=document.createRange(),n=document.getSelection();null!==e?(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),n.removeAllRanges(),n.addRange(t)):(n.selectAllChildren(this.el),n.collapseToEnd())}savePosition(){let e,t=-1;const n=document.getSelection(),o=this.el.parentNode;if(n.focusNode&&Da(n.focusNode,o))for(e=n.focusNode,t=n.focusOffset;e&&e!==o;)e!==this.el&&e.previousSibling?(e=e.previousSibling,t+=e.textContent.length):e=e.parentNode;this.savedPos=t}restorePosition(e=0){if(this.savedPos>0&&this.savedPos<e){const e=window.getSelection(),t=Ha(this.el,{count:this.savedPos});t&&(t.collapse(!1),e.removeAllRanges(),e.addRange(t))}}hasParent(e,t){const n=t?this.parent:this.blockParent;return null!==n&&n.nodeName.toLowerCase()===e.toLowerCase()}hasParents(e,t,n=this.parent){return null!==n&&(null!==n&&!0===e.includes(n.nodeName.toLowerCase())||!0===t&&this.hasParents(e,t,n.parentNode))}is(e,t){if(null===this.selection)return!1;switch(e){case"formatBlock":return"DIV"===t&&this.parent===this.el||this.hasParent(t,"PRE"===t);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(e)===t;case"fontName":const n=document.queryCommandValue(e);return n===`"${t}"`||n===t;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:const o=document.queryCommandState(e);return void 0!==t?o===t:o}}getParentAttribute(e){return null!==this.parent?this.parent.getAttribute(e):null}can(e){return"outdent"===e?this.hasParents(["blockquote","li"],!0):"indent"===e?this.hasParents(["li"],!0):"link"===e?null!==this.selection||this.is("link"):void 0}apply(e,t,n=f){if("formatBlock"===e)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(t)&&this.is(e,t)&&(e="outdent",t=null),"PRE"===t&&this.is(e,"PRE")&&(t="P");else{if("print"===e){n();const e=window.open();return e.document.write(`\n <!doctype html>\n <html>\n <head>\n <title>Print - ${document.title}</title>\n </head>\n <body>\n <div>${this.el.innerHTML}</div>\n </body>\n </html>\n `),e.print(),void e.close()}if("link"===e){const e=this.getParentAttribute("href");if(null===e){const e=this.selectWord(this.selection),t=e?e.toString():"";if(!(t.length||this.range&&this.range.cloneContents().querySelector("img")))return;this.eVm.editLinkUrl.value=Ra.test(t)?t:"https://",document.execCommand("createLink",!1,this.eVm.editLinkUrl.value),this.save(e.getRangeAt(0))}else this.eVm.editLinkUrl.value=e,this.range.selectNodeContents(this.parent),this.save();return}if("fullscreen"===e)return this.eVm.toggleFullscreen(),void n();if("viewsource"===e)return this.eVm.isViewingSource.value=!1===this.eVm.isViewingSource.value,this.eVm.setContent(this.eVm.props.modelValue),void n()}document.execCommand(e,!1,t),n()}selectWord(e){if(null===e||!0!==e.isCollapsed||void 0===e.modify)return e;const t=document.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset);const n=t.collapsed?["backward","forward"]:["forward","backward"];t.detach();const o=e.focusNode,r=e.focusOffset;return e.collapse(e.anchorNode,e.anchorOffset),e.modify("move",n[0],"character"),e.modify("move",n[1],"word"),e.extend(o,r),e.modify("extend",n[1],"character"),e.modify("extend",n[0],"word"),e}}var $a=e.defineComponent({name:"QTooltip",inheritAttrs:!1,props:{...Gt,...Xt,...bn,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:lo},self:{type:String,default:"top middle",validator:lo},offset:{type:Array,default:()=>[14,14],validator:so},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},emits:[...en],setup(t,{slots:n,emit:o,attrs:r}){let i,a;const l=e.getCurrentInstance(),{proxy:{$q:s}}=l,u=e.ref(null),c=e.ref(!1),d=e.computed((()=>co(t.anchor,s.lang.rtl))),A=e.computed((()=>co(t.self,s.lang.rtl))),p=e.computed((()=>!0!==t.persistent)),{registerTick:f,removeTick:h,prepareTick:m}=Ln(),{registerTimeout:v,removeTimeout:g}=Cn(),{transition:y,transitionStyle:b}=wn(t,c),{localScrollTarget:w,changeScrollEvent:L,unconfigureScrollTarget:C}=Jt(t,H),{anchorEl:B,canShow:k,anchorEvents:E}=Zt({showing:c,configureAnchorEl:D}),{show:T,hide:N}=tn({showing:c,canShow:k,handleShow:U,handleHide:Q,hideOnRouteChange:p,processOnMount:!0});Object.assign(E,{delayShow:I,delayHide:P});const{showPortal:F,hidePortal:V,renderPortal:O}=yn(l,u,j);if(!0===s.platform.is.mobile){const n={anchorEl:B,innerRef:u,onClickOutside:e=>(N(e),e.target.classList.contains("q-dialog__backdrop")&&_(e),!0)},o=e.computed((()=>null===t.modelValue&&!0!==t.persistent&&!0===c.value));e.watch(o,(e=>{(!0===e?oo:ro)(n)})),e.onBeforeUnmount((()=>{ro(n)}))}function U(n){h(),g(),F(),f((()=>{a=new MutationObserver((()=>M())),a.observe(u.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),M(),H()})),m(),void 0===i&&(i=e.watch((()=>s.screen.width+"|"+s.screen.height+"|"+t.self+"|"+t.anchor+"|"+s.lang.rtl),M)),v((()=>{F(!0),o("show",n)}),t.transitionDuration)}function Q(e){h(),g(),q(),v((()=>{V(),o("hide",e)}),t.transitionDuration)}function q(){void 0!==a&&(a.disconnect(),a=void 0),void 0!==i&&(i(),i=void 0),C(),S(E,"tooltipTemp")}function M(){const e=u.value;void 0!==B.value&&e&&fo({el:e,offset:t.offset,anchorEl:B.value,anchorOrigin:d.value,selfOrigin:A.value,maxHeight:t.maxHeight,maxWidth:t.maxWidth})}function I(e){if(!0===s.platform.is.mobile){Yt(),document.body.classList.add("non-selectable");const e=B.value,t=["touchmove","touchcancel","touchend","click"].map((t=>[e,t,"delayHide","passiveCapture"]));x(E,"tooltipTemp",t)}v((()=>{T(e)}),t.delay)}function P(e){g(),!0===s.platform.is.mobile&&(S(E,"tooltipTemp"),Yt(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),v((()=>{N(e)}),t.hideDelay)}function D(){if(!0===t.noParentEvent||void 0===B.value)return;const e=!0===s.platform.is.mobile?[[B.value,"touchstart","delayShow","passive"]]:[[B.value,"mouseenter","delayShow","passive"],[B.value,"mouseleave","delayHide","passive"]];x(E,"anchor",e)}function H(){if(void 0!==B.value||void 0!==t.scrollTarget){w.value=_n(B.value,t.scrollTarget);const e=!0===t.noParentEvent?M:N;L(w.value,e)}}function R(){return!0===c.value?e.h("div",{...r,ref:u,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",r.class],style:b.value,role:"complementary"},Me(n.default)):null}function j(){return e.h(e.Transition,{name:y.value,appear:!0},R)}return e.onBeforeUnmount(q),Object.assign(l.proxy,{updatePosition:M}),O}}),za=e.defineComponent({name:"QItem",props:{...rt,...yt,tag:{type:String,default:"div"},active:Boolean,clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=it(t,r),{hasLink:a,linkProps:l,linkClass:s,linkTag:u,navigateToLink:c}=bt(),d=e.ref(null),A=e.ref(null),p=e.computed((()=>!0===t.clickable||!0===a.value||"a"===t.tag||"label"===t.tag)),f=e.computed((()=>!0!==t.disable&&!0===p.value)),h=e.computed((()=>"q-item q-item-type row no-wrap"+(!0===t.dense?" q-item--dense":"")+(!0===i.value?" q-item--dark":"")+(!0===a.value?s.value:!0===t.active?(void 0!==t.activeClass?` ${t.activeClass}`:"")+" q-item--active":"")+(!0===t.disable?" disabled":"")+(!0===f.value?" q-item--clickable q-link cursor-pointer "+(!0===t.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===t.focused?" q-manual-focusable--focused":""):""))),m=e.computed((()=>void 0===t.insetLevel?null:{["padding"+(!0===r.lang.rtl?"Right":"Left")]:16+56*t.insetLevel+"px"}));function v(e){!0===f.value&&(null!==A.value&&(!0!==e.qKeyEvent&&document.activeElement===d.value?A.value.focus():document.activeElement===A.value&&d.value.focus()),!0===a.value&&c(e),o("click",e))}function g(e){if(!0===f.value&&!0===K(e,13)){_(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,d.value.dispatchEvent(t)}o("keyup",e)}function y(){const t=Ie(n.default,[]);return!0===f.value&&t.unshift(e.h("div",{class:"q-focus-helper",tabindex:-1,ref:A})),t}return()=>{const n={ref:d,class:h.value,style:m.value,onClick:v,onKeyup:g};return!0===f.value?(n.tabindex=t.tabindex||"0",Object.assign(n,l.value)):!0===p.value&&(n["aria-disabled"]="true"),e.h(u.value,n,y())}}}),Ka=e.defineComponent({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(t,{slots:n}){const o=e.computed((()=>"q-item__section column q-item__section--"+(!0===t.avatar||!0===t.side||!0===t.thumbnail?"side":"main")+(!0===t.top?" q-item__section--top justify-start":" justify-center")+(!0===t.avatar?" q-item__section--avatar":"")+(!0===t.thumbnail?" q-item__section--thumbnail":"")+(!0===t.noWrap?" q-item__section--nowrap":"")));return()=>e.h("div",{class:o.value},Me(n.default))}});function Wa(e,t,n){t.handler?t.handler(e,n,n.caret):n.runCmd(t.cmd,t.param)}function Ya(t){return e.h("div",{class:"q-editor__toolbar-group"},t)}function Ga(t,n,o,r=!1){const i=r||"toggle"===n.type&&(n.toggled?n.toggled(t):n.cmd&&t.caret.is(n.
2cmd,n.param)),a=[];if(n.tip&&t.$q.platform.is.desktop){const t=n.key?e.h("div",[e.h("small",`(CTRL + ${String.fromCharCode(n.key)})`)]):null;a.push(e.h($a,{delay:1e3},(()=>[e.h("div",{innerHTML:n.tip}),t])))}return e.h(Kt,{...t.buttonProps.value,icon:null!==n.icon?n.icon:void 0,color:i?n.toggleColor||t.props.toolbarToggleColor:n.color||t.props.toolbarColor,textColor:i&&!t.props.toolbarPush?null:n.textColor||t.props.toolbarTextColor,label:n.label,disable:!!n.disable&&("function"!=typeof n.disable||n.disable(t)),size:"sm",onClick(e){o&&o(),Wa(e,n,t)}},(()=>a))}function Za(t,n){const o="only-icons"===n.list;let r,i,a=n.label,l=null!==n.icon?n.icon:void 0;function s(){c.component.proxy.hide()}if(o)i=n.options.map((e=>{const n=void 0===e.type&&t.caret.is(e.cmd,e.param);return n&&(a=e.tip,l=null!==e.icon?e.icon:void 0),Ga(t,e,s,n)})),r=t.toolbarBackgroundClass.value,i=[Ya(i)];else{const o=void 0!==t.props.toolbarToggleColor?`text-${t.props.toolbarToggleColor}`:null,u=void 0!==t.props.toolbarTextColor?`text-${t.props.toolbarTextColor}`:null,c="no-icons"===n.list;i=n.options.map((n=>{const r=!!n.disable&&n.disable(t),i=void 0===n.type&&t.caret.is(n.cmd,n.param);i&&(a=n.tip,l=null!==n.icon?n.icon:void 0);const d=n.htmlTip;return e.h(za,{active:i,activeClass:o,clickable:!0,disable:r,dense:!0,onClick(e){s(),null!==t.contentRef.value&&t.contentRef.value.focus(),t.caret.restore(),Wa(e,n,t)}},(()=>[!0===c?null:e.h(Ka,{class:i?o:u,side:!0},(()=>e.h(et,{name:null!==n.icon?n.icon:void 0}))),e.h(Ka,d?()=>e.h("div",{class:"text-no-wrap",innerHTML:n.htmlTip}):n.tip?()=>e.h("div",{class:"text-no-wrap"},n.tip):void 0)]))})),r=[t.toolbarBackgroundClass.value,u]}const u=n.highlight&&a!==n.label,c=e.h(vo,{...t.buttonProps.value,noCaps:!0,noWrap:!0,color:u?t.props.toolbarToggleColor:t.props.toolbarColor,textColor:u&&!t.props.toolbarPush?null:t.props.toolbarTextColor,label:n.fixedLabel?n.label:a,icon:n.fixedIcon?null!==n.icon?n.icon:void 0:l,contentClass:r},(()=>i));return c}function Ja(e){if(e.caret)return e.buttons.value.filter((t=>!e.isViewingSource.value||t.find((e=>"viewsource"===e.cmd)))).map((t=>Ya(t.map((t=>(!e.isViewingSource.value||"viewsource"===t.cmd)&&("slot"===t.type?Me(e.slots[t.slot]):"dropdown"===t.type?Za(e,t):Ga(e,t)))))))}function Xa(e,t,n,o={}){const r=Object.keys(o);if(0===r.length)return{};const i={default_font:{cmd:"fontName",param:e,icon:n,tip:t}};return r.forEach((e=>{const t=o[e];i[e]={cmd:"fontName",param:t,icon:n,tip:t,htmlTip:`<font face="${t}">${t}</font>`}})),i}function el(t){if(t.caret){const n=t.props.toolbarColor||t.props.toolbarTextColor;let o=t.editLinkUrl.value;const r=()=>{t.caret.restore(),o!==t.editLinkUrl.value&&document.execCommand("createLink",!1,""===o?" ":o),t.editLinkUrl.value=null};return[e.h("div",{class:`q-mx-xs text-${n}`},`${t.$q.lang.editor.url}: `),e.h("input",{key:"qedt_btm_input",class:"col q-editor__link-input",value:o,onInput:e=>{C(e),o=e.target.value},onKeydown:e=>{if(!0!==z(e))switch(e.keyCode){case 13:return B(e),r();case 27:B(e),t.caret.restore(),t.editLinkUrl.value&&"https://"!==t.editLinkUrl.value||document.execCommand("unlink"),t.editLinkUrl.value=null}}}),Ya([e.h(Kt,{key:"qedt_btm_rem",tabindex:-1,...t.buttonProps.value,label:t.$q.lang.label.remove,noCaps:!0,onClick:()=>{t.caret.restore(),document.execCommand("unlink"),t.editLinkUrl.value=null}}),e.h(Kt,{key:"qedt_btm_upd",...t.buttonProps.value,label:t.$q.lang.label.update,noCaps:!0,onClick:r})])]}}const tl=/^on[A-Z]/;function nl(t){const n={listeners:e.ref({}),attributes:e.ref({})};function o(){const e={},o={};Object.keys(t).forEach((n=>{!0===tl.test(n)?e[n]=t[n]:"class"!==n&&"style"!==n&&(o[n]=t[n])})),n.listeners.value=e,n.attributes.value=o}return e.onBeforeUpdate(o),o(),n}const ol=Object.prototype.toString,rl=Object.prototype.hasOwnProperty,il={};function al(e){return null===e?String(e):il[ol.call(e)]||"object"}function ll(e){if(!e||"object"!==al(e))return!1;if(e.constructor&&!rl.call(e,"constructor")&&!rl.call(e.constructor.prototype,"isPrototypeOf"))return!1;let t;for(t in e);return void 0===t||rl.call(e,t)}function sl(){let e,t,n,o,r,i,a=arguments[0]||{},l=1,s=!1;const u=arguments.length;for("boolean"==typeof a&&(s=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==al(a)&&(a={}),u===l&&(a=this,l--);l<u;l++)if(null!==(e=arguments[l]))for(t in e)n=a[t],o=e[t],a!==o&&(s&&o&&(ll(o)||(r="array"===al(o)))?(r?(r=!1,i=n&&"array"===al(n)?n:[]):i=n&&ll(n)?n:{},a[t]=sl(s,i,o)):void 0!==o&&(a[t]=o));return a}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach((e=>{il["[object "+e+"]"]=e.toLowerCase()}));var ul=e.defineComponent({name:"QEditor",props:{...rt,...Mo,modelValue:{type:String,required:!0},readonly:Boolean,disable:Boolean,minHeight:{type:String,default:"10rem"},maxHeight:String,height:String,definitions:Object,fonts:Object,placeholder:String,toolbar:{type:Array,validator:e=>0===e.length||e.every((e=>e.length)),default:()=>[["left","center","right","justify"],["bold","italic","underline","strike"],["undo","redo"]]},toolbarColor:String,toolbarBg:String,toolbarTextColor:String,toolbarToggleColor:{type:String,default:"primary"},toolbarOutline:Boolean,toolbarPush:Boolean,toolbarRounded:Boolean,paragraphTag:{type:String,validator:e=>["div","p"].includes(e),default:"div"},contentStyle:Object,contentClass:[Object,Array,String],square:Boolean,flat:Boolean,dense:Boolean},emits:[...Io,"update:modelValue","keydown","click","mouseup","keyup","touchend","focus","blur"],setup(t,{slots:n,emit:o,attrs:r}){const{proxy:i}=e.getCurrentInstance(),{$q:a}=i,l=it(t,a),{inFullscreen:s,toggleFullscreen:u}=Po(),c=nl(r),d=e.ref(null),A=e.ref(null),p=e.ref(null),f=e.ref(!1),h=e.computed((()=>!t.readonly&&!t.disable));let m,v,g=t.modelValue;document.execCommand("defaultParagraphSeparator",!1,t.paragraphTag),m=window.getComputedStyle(document.body).fontFamily;const y=e.computed((()=>t.toolbarBg?` bg-${t.toolbarBg}`:"")),b=e.computed((()=>({type:"a",flat:!0!==t.toolbarOutline&&!0!==t.toolbarPush,noWrap:!0,outline:t.toolbarOutline,push:t.toolbarPush,rounded:t.toolbarRounded,dense:!0,color:t.toolbarColor,disable:!h.value,size:"sm"}))),w=e.computed((()=>{const e=a.lang.editor,n=a.iconSet.editor;return{bold:{cmd:"bold",icon:n.bold,tip:e.bold,key:66}
2,italic:{cmd:"italic",icon:n.italic,tip:e.italic,key:73},strike:{cmd:"strikeThrough",icon:n.strikethrough,tip:e.strikethrough,key:83},underline:{cmd:"underline",icon:n.underline,tip:e.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:n.unorderedList,tip:e.unorderedList},ordered:{cmd:"insertOrderedList",icon:n.orderedList,tip:e.orderedList},subscript:{cmd:"subscript",icon:n.subscript,tip:e.subscript,htmlTip:"x<subscript>2</subscript>"},superscript:{cmd:"superscript",icon:n.superscript,tip:e.superscript,htmlTip:"x<superscript>2</superscript>"},link:{cmd:"link",disable:e=>e.caret&&!e.caret.can("link"),icon:n.hyperlink,tip:e.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:n.toggleFullscreen,tip:e.toggleFullscreen,key:70},viewsource:{cmd:"viewsource",icon:n.viewSource,tip:e.viewSource},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:n.quote,tip:e.quote,key:81},left:{cmd:"justifyLeft",icon:n.left,tip:e.left},center:{cmd:"justifyCenter",icon:n.center,tip:e.center},right:{cmd:"justifyRight",icon:n.right,tip:e.right},justify:{cmd:"justifyFull",icon:n.justify,tip:e.justify},print:{type:"no-state",cmd:"print",icon:n.print,tip:e.print,key:80},outdent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("outdent"),cmd:"outdent",icon:n.outdent,tip:e.outdent},indent:{type:"no-state",disable:e=>e.caret&&!e.caret.can("indent"),cmd:"indent",icon:n.indent,tip:e.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:n.removeFormat,tip:e.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:n.hr,tip:e.hr},undo:{type:"no-state",cmd:"undo",icon:n.undo,tip:e.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:n.redo,tip:e.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:n.heading1||n.heading,tip:e.heading1,htmlTip:`<h1 class="q-ma-none">${e.heading1}</h1>`},h2:{cmd:"formatBlock",param:"H2",icon:n.heading2||n.heading,tip:e.heading2,htmlTip:`<h2 class="q-ma-none">${e.heading2}</h2>`},h3:{cmd:"formatBlock",param:"H3",icon:n.heading3||n.heading,tip:e.heading3,htmlTip:`<h3 class="q-ma-none">${e.heading3}</h3>`},h4:{cmd:"formatBlock",param:"H4",icon:n.heading4||n.heading,tip:e.heading4,htmlTip:`<h4 class="q-ma-none">${e.heading4}</h4>`},h5:{cmd:"formatBlock",param:"H5",icon:n.heading5||n.heading,tip:e.heading5,htmlTip:`<h5 class="q-ma-none">${e.heading5}</h5>`},h6:{cmd:"formatBlock",param:"H6",icon:n.heading6||n.heading,tip:e.heading6,htmlTip:`<h6 class="q-ma-none">${e.heading6}</h6>`},p:{cmd:"formatBlock",param:t.paragraphTag,icon:n.heading,tip:e.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:n.code,htmlTip:`<code>${e.code}</code>`},"size-1":{cmd:"fontSize",param:"1",icon:n.size1||n.size,tip:e.size1,htmlTip:`<font size="1">${e.size1}</font>`},"size-2":{cmd:"fontSize",param:"2",icon:n.size2||n.size,tip:e.size2,htmlTip:`<font size="2">${e.size2}</font>`},"size-3":{cmd:"fontSize",param:"3",icon:n.size3||n.size,tip:e.size3,htmlTip:`<font size="3">${e.size3}</font>`},"size-4":{cmd:"fontSize",param:"4",icon:n.size4||n.size,tip:e.size4,htmlTip:`<font size="4">${e.size4}</font>`},"size-5":{cmd:"fontSize",param:"5",icon:n.size5||n.size,tip:e.size5,htmlTip:`<font size="5">${e.size5}</font>`},"size-6":{cmd:"fontSize",param:"6",icon:n.size6||n.size,tip:e.size6,htmlTip:`<font size="6">${e.size6}</font>`},"size-7":{cmd:"fontSize",param:"7",icon:n.size7||n.size,tip:e.size7,htmlTip:`<font size="7">${e.size7}</font>`}}})),L=e.computed((()=>{const e=t.definitions||{},n=t.definitions||t.fonts?sl(!0,{},w.value,e,Xa(m,a.lang.editor.defaultFont,a.iconSet.editor.font,t.fonts)):w.value;return t.toolbar.map((t=>t.map((t=>{if(t.options)return{type:"dropdown",icon:t.icon,label:t.label,size:"sm",dense:!0,fixedLabel:t.fixedLabel,fixedIcon:t.fixedIcon,highlight:t.highlight,list:t.list,options:t.options.map((e=>n[e]))};const o=n[t];return o?"no-state"===o.type||e[t]&&(void 0===o.cmd||w.value[o.cmd]&&"no-state"===w.value[o.cmd].type)?o:Object.assign({type:"toggle"},o):{type:"slot",slot:t}}))))})),C={$q:a,props:t,slots:n,inFullscreen:s,toggleFullscreen:u,runCmd:j,isViewingSource:f,editLinkUrl:p,toolbarBackgroundClass:y,buttonProps:b,contentRef:A,buttons:L,setContent:R};e.watch((()=>t.modelValue),(e=>{g!==e&&(g=e,R(e,!0))}));const B=e.computed((()=>t.toolbar&&t.toolbar.length>0)),k=e.computed((()=>{const e={},t=t=>{t.key&&(e[t.key]={cmd:t.cmd,param:t.param})};return L.value.forEach((e=>{e.forEach((e=>{e.options?e.options.forEach(t):t(e)}))})),e})),x=e.computed((()=>s.value?t.contentStyle:[{minHeight:t.minHeight,height:t.height,maxHeight:t.maxHeight},t.contentStyle])),S=e.computed((()=>"q-editor q-editor--"+(!0===f.value?"source":"default")+(!0===t.disable?" disabled":"")+(!0===s.value?" fullscreen column":"")+(!0===t.square?" q-editor--square no-border-radius":"")+(!0===t.flat?" q-editor--flat":"")+(!0===t.dense?" q-editor--dense":"")+(!0===l.value?" q-editor--dark q-d
2ark":""))),E=e.computed((()=>[t.contentClass,"q-editor__content",{col:s.value,"overflow-auto":s.value||t.maxHeight}])),T=e.computed((()=>!0===t.disable?{"aria-disabled":"true"}:!0===t.readonly?{"aria-readonly":"true"}:{}));function N(){if(null!==A.value){const e="inner"+(!0===f.value?"Text":"HTML"),n=A.value[e];n!==t.modelValue&&(g=n,o("update:modelValue",n))}}function F(e){if(o("keydown",e),!0!==e.ctrlKey||!0===z(e))return void $();const t=e.keyCode,n=k.value[t];if(void 0!==n){const{cmd:t,param:o}=n;_(e),j(t,o,!1)}}function V(e){$(),o("click",e)}function O(e){if(null!==A.value){const{scrollTop:e,scrollHeight:t}=A.value;v=t-e}C.caret.save(),o("blur",e)}function U(t){e.nextTick((()=>{null!==A.value&&void 0!==v&&(A.value.scrollTop=A.value.scrollHeight-v)})),o("focus",t)}function Q(e){if(!0===d.value.contains(e.target)&&(null===e.relatedTarget||!0!==d.value.contains(e.relatedTarget))){const e="inner"+(!0===f.value?"Text":"HTML");C.caret.restorePosition(A.value[e].length),$()}}function q(e){!0!==d.value.contains(e.target)||null!==e.relatedTarget&&!0===d.value.contains(e.relatedTarget)||(C.caret.savePosition(),$())}function M(){v=void 0}function I(e){C.caret.save(),o("mouseup",e)}function P(){v=void 0}function D(e){C.caret.save(),o("keyup",e)}function H(e){C.caret.save(),o("touchend",e)}function R(e,t){if(null!==A.value){!0===t&&C.caret.savePosition();const n="inner"+(!0===f.value?"Text":"HTML");A.value[n]=e,!0===t&&(C.caret.restorePosition(A.value[n].length),$())}}function j(e,t,n=!0){K(),C.caret.restore(),C.caret.apply(e,t,(()=>{K(),C.caret.save(),n&&$()}))}function $(){setTimeout((()=>{p.value=null,i.$forceUpdate()}),1)}function K(){ln((()=>{null!==A.value&&A.value.focus()}))}function W(){return A.value}return Object.assign(i,{runCmd:j,refreshToolbar:$,focus:K,getContentEl:W}),e.onMounted((()=>{C.caret=new ja(A.value,C),R(t.modelValue),$()})),()=>{let n;if(B.value){const t=[e.h("div",{key:"qedt_top",class:"q-editor__toolbar row no-wrap scroll-x"+y.value},Ja(C))];null!==p.value&&t.push(e.h("div",{key:"qedt_btm",class:"q-editor__toolbar row no-wrap items-center scroll-x"+y.value},el(C))),n=e.h("div",{key:"toolbar_ctainer",class:"q-editor__toolbars-container"},t)}return e.h("div",{ref:d,class:S.value,style:{height:!0===s.value?"100vh":null},...T.value,onFocusin:Q,onFocusout:q},[n,e.h("div",{ref:A,style:x.value,class:E.value,contenteditable:h.value,placeholder:t.placeholder,...c.listeners.value,onInput:N,onKeydown:F,onClick:V,onBlur:O,onFocus:U,onMousedown:M,onTouchstartPassive:P,onMouseup:I,onKeyup:D,onTouchend:H})])}}}),cl=e.defineComponent({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(t,{slots:n}){const o=e.computed((()=>parseInt(t.lines,10))),r=e.computed((()=>"q-item__label"+(!0===t.overline?" q-item__label--overline text-overline":"")+(!0===t.caption?" q-item__label--caption text-caption":"")+(!0===t.header?" q-item__label--header":"")+(1===o.value?" ellipsis":""))),i=e.computed((()=>void 0!==t.lines&&o.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.value}:null));return()=>e.h("div",{style:i.value,class:r.value},Me(n.default))}}),dl=e.defineComponent({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(t,{slots:n,emit:o}){let r,i,a,l,s,u,c=!1;function d(){r&&r(),r=null,c=!1,clearTimeout(a),clearTimeout(l),void 0!==i&&i.removeEventListener("transitionend",s),s=null}function A(e,n,o){e.style.overflowY="hidden",void 0!==n&&(e.style.height=`${n}px`),e.style.transition=`height ${t.duration}ms cubic-bezier(.25, .8, .50, 1)`,c=!0,r=o}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,d(),t!==u&&o(t)}function f(e,n){let o=0;i=e,!0===c?(d(),o=e.offsetHeight===e.scrollHeight?0:void 0):u="hide",A(e,o,n),a=setTimeout((()=>{e.style.height=`${e.scrollHeight}px`,s=t=>{Object(t)===t&&t.target!==e||p(e,"show")},e.addEventListener("transitionend",s),l=setTimeout(s,1.1*t.duration)}),100)}function h(e,n){let o;i=e,!0===c?d():(u="show",o=e.scrollHeight),A(e,o,n),a=setTimeout((()=>{e.style.height=0,s=t=>{Object(t)===t&&t.target!==e||p(e,"hide")},e.addEventListener("transitionend",s),l=setTimeout(s,1.1*t.duration)}),100)}return e.onBeforeUnmount((()=>{!0===c&&d()})),()=>e.h(e.Transition,{css:!1,appear:t.appear,onEnter:f,onLeave:h},n.default)}});const Al={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},pl={xs:2,sm:4,md:8,lg:16,xl:24};var fl=e.defineComponent({name:"QSeparator",props:{...rt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(t){const n=e.getCurrentInstance(),o=it(t,n.proxy.$q),r=e.computed((()=>!0===t.vertical?"vertical":"horizontal")),i=e.computed((()=>` q-separator--${r.value}`)),a=e.computed((()=>!1!==t.inset?`${i.value}-${Al[t.inset]}`:"")),l=e.computed((()=>`q-separator${i.value}${a.value}`+(void 0!==t.color?` bg-${t.color}`:"")+(!0===o.value?" q-separator--dark":""))),s=e.computed((()=>{const e={};if(void 0!==t.size&&(e[!0===t.vertical?"width":"height"]=t.size),!1!==t.spaced){const n=!0===t.spaced?`${pl.md}px`:t.spaced in pl?`${pl[t.spaced]}px`:t.spaced,o=!0===t.vertical?["Left","Right"]:["Top","Bottom"];e[`margin${o[0]}`]=e[`margin${o[1]}`]=n}return e}));return()=>e.h("hr",{class:l.value,style:s.value,role:"separator","aria-orientation":r.value})}});let hl,ml=0;const vl=new Array(256);for(let e=0;e<256;e++)vl[e]=(e+256).toString(16).substr(1);const gl=(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;
2n--)t.push(Math.floor(256*Math.random()));return t}})(),yl=4096;function bl(){(void 0===hl||ml+16>yl)&&(ml=0,hl=gl(yl));const e=Array.prototype.slice.call(hl,ml,ml+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,vl[e[0]]+vl[e[1]]+vl[e[2]]+vl[e[3]]+"-"+vl[e[4]]+vl[e[5]]+"-"+vl[e[6]]+vl[e[7]]+"-"+vl[e[8]]+vl[e[9]]+"-"+vl[e[10]]+vl[e[11]]+vl[e[12]]+vl[e[13]]+vl[e[14]]+vl[e[15]]}const wl=e.shallowReactive({}),Ll=Object.keys(yt);var Cl=e.defineComponent({name:"QExpansionItem",props:{...yt,...Xt,...rt,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...en,"click","after-show","after-hide"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=it(t,r),a=e.ref(null!==t.modelValue?t.modelValue:t.defaultOpened),l=e.ref(null),{hide:s,toggle:u}=tn({showing:a});let c,d;const A=e.computed((()=>"q-expansion-item q-item-type q-expansion-item--"+(!0===a.value?"expanded":"collapsed")+" q-expansion-item--"+(!0===t.popup?"popup":"standard"))),p=e.computed((()=>void 0===t.contentInsetLevel?null:{["padding"+(!0===r.lang.rtl?"Right":"Left")]:56*t.contentInsetLevel+"px"})),f=e.computed((()=>!0!==t.disable&&void 0!==t.to&&null!==t.to&&""!==t.to)),h=e.computed((()=>{const e={};return Ll.forEach((n=>{e[n]=t[n]})),e})),m=e.computed((()=>!0===f.value||!0!==t.expandIconToggle)),v=e.computed((()=>void 0!==t.expandedIcon&&!0===a.value?t.expandedIcon:t.expandIcon||r.iconSet.expansionItem[!0===t.denseToggle?"denseIcon":"icon"])),g=e.computed((()=>!0!==t.disable&&(!0===f.value||!0===t.expandIconToggle)));function y(e){!0!==f.value&&u(e),o("click",e)}function b(e){13===e.keyCode&&w(e,!0)}function w(e,t){!0!==t&&null!==l.value&&l.value.focus(),u(e),_(e)}function L(){o("after-show")}function C(){o("after-hide")}function B(){void 0===c&&(c=bl()),!0===a.value&&(wl[t.group]=c);const n=e.watch(a,(e=>{!0===e?wl[t.group]=c:wl[t.group]===c&&delete wl[t.group]})),o=e.watch((()=>wl[t.group]),((e,t)=>{t===c&&void 0!==e&&e!==c&&s()}));d=()=>{n(),o(),wl[t.group]===c&&delete wl[t.group],d=void 0}}function k(){const n={class:["q-focusable relative-position cursor-pointer"+(!0===t.denseToggle&&!0===t.switchToggleSide?" items-end":""),t.expandIconClass],side:!0!==t.switchToggleSide,avatar:t.switchToggleSide},o=[e.h(et,{class:"q-expansion-item__toggle-icon"+(void 0===t.expandedIcon&&!0===a.value?" q-expansion-item__toggle-icon--rotated":""),name:v.value})];return!0===g.value&&(Object.assign(n,{tabindex:0,onClick:w,onKeyup:b}),o.unshift(e.h("div",{ref:l,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),e.h(Ka,n,(()=>o))}function x(){let o;return void 0!==n.header?o=n.header().slice():(o=[e.h(Ka,(()=>[e.h(cl,{lines:t.labelLines},(()=>t.label||"")),t.caption?e.h(cl,{lines:t.captionLines,caption:!0},(()=>t.caption)):null]))],t.icon&&o[!0===t.switchToggleSide?"push":"unshift"](e.h(Ka,{side:!0===t.switchToggleSide,avatar:!0!==t.switchToggleSide},(()=>e.h(et,{name:t.icon}))))),!0!==t.disable&&o[!0===t.switchToggleSide?"unshift":"push"](k()),o}function S(){const n={ref:"item",style:t.headerStyle,class:t.headerClass,dark:i.value,disable:t.disable,dense:t.dense,insetLevel:t.headerInsetLevel};return!0===m.value&&(n.clickable=!0,n.onClick=y,!0===f.value&&Object.assign(n,h.value)),e.h(za,n,x)}function E(){return e.withDirectives(e.h("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:p.value},Me(n.default)),[[e.vShow,a.value]])}function T(){const n=[S(),e.h(dl,{duration:t.duration,onShow:L,onHide:C},E)];return!0===t.expandSeparator&&n.push(e.h(fl,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:i.value}),e.h(fl,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:i.value})),n}return e.watch((()=>t.group),(e=>{void 0!==d&&d(),void 0!==e&&B()})),void 0!==t.group&&B(),e.onBeforeUnmount((()=>{void 0!==d&&d()})),()=>e.h("div",{class:A.value},[e.h("div",{class:"q-expansion-item__container relative-position"},T())])}});const Bl=["top","right","bottom","left"],_l={type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:e=>Bl.includes(e)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]};function kl(t,n){return{formClass:e.computed((()=>"q-fab--form-"+(!0===t.square?"square":"rounded"))),stacked:e.computed((()=>
2!1===t.externalLabel&&["top","bottom"].includes(t.labelPosition))),labelProps:e.computed((()=>{if(!0===t.externalLabel){const e=null===t.hideLabel?!1===n.value:t.hideLabel;return{action:"push",data:{class:[t.labelClass,`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${t.labelPosition}`+(!0===e?" q-fab__label--external-hidden":"")],style:t.labelStyle}}}return{action:["left","top"].includes(t.labelPosition)?"unshift":"push",data:{class:[t.labelClass,`q-fab__label q-fab__label--internal q-fab__label--internal-${t.labelPosition}`+(!0===t.hideLabel?" q-fab__label--internal-hidden":"")],style:t.labelStyle}}}))}}const xl=["up","right","down","left"],Sl=["left","center","right"];var El=e.defineComponent({name:"QFab",props:{..._l,...Xt,icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:e=>xl.includes(e)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:e=>Sl.includes(e)}},emits:en,setup(t,{slots:n}){const o=e.ref(null),r=e.ref(!0===t.modelValue),{proxy:{$q:i}}=e.getCurrentInstance(),{formClass:a,labelProps:l}=kl(t,r),s=e.computed((()=>!0!==t.persistent)),{hide:u,toggle:c}=tn({showing:r,hideOnRouteChange:s}),d=e.computed((()=>`q-fab z-fab row inline justify-center q-fab--align-${t.verticalActionsAlign} ${a.value}`+(!0===r.value?" q-fab--opened":""))),A=e.computed((()=>`q-fab__actions flex no-wrap inline q-fab__actions--${t.direction}`));function p(){const o=[];return!0!==t.hideIcon&&o.push(e.h("div",{class:"q-fab__icon-holder"},[e.h(et,{class:"q-fab__icon absolute-full",name:t.icon||i.iconSet.fab.icon}),e.h(et,{class:"q-fab__active-icon absolute-full",name:t.activeIcon||i.iconSet.fab.activeIcon})])),""!==t.label&&o[l.value.action](e.h("div",l.value.data,[t.label])),Pe(n.tooltip,o)}return e.provide(ae,{showing:r,onChildClick(e){u(e),null!==o.value&&o.value.$el.focus()}}),()=>e.h("div",{class:d.value},[e.h(Kt,{ref:o,class:a.value,...t,noWrap:!0,stack:t.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0,"aria-expanded":!0===r.value?"true":"false","aria-haspopup":"true",onClick:c},p),e.h("div",{class:A.value},Me(n.default))])}});const Tl={start:"self-end",center:"self-center",end:"self-start"},Nl=Object.keys(Tl);var Fl=e.defineComponent({name:"QFabAction",props:{..._l,icon:{type:String,default:""},anchor:{type:String,validator:e=>Nl.includes(e)},to:[String,Object],replace:Boolean},emits:["click"],setup(t,{slots:n,emit:o}){const r=e.inject(ae,(()=>({showing:{value:!0},onChildClick:f}))),{formClass:i,labelProps:a}=kl(t,r.showing),l=e.computed((()=>{const e=Tl[t.anchor];return i.value+(void 0!==e?` ${e}`:"")})),s=e.computed((()=>!0===t.disable||!0!==r.showing.value));function u(e){r.onChildClick(e),o("click",e)}function c(){const o=[];return""!==t.icon&&o.push(e.h(et,{name:t.icon})),""!==t.label&&o[a.value.action](e.h("div",a.value.data,[t.label])),Pe(n.default,o)}const d=e.getCurrentInstance();return Object.assign(d.proxy,{click:u}),()=>e.h(Kt,{class:l.value,...t,noWrap:!0,stack:t.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:s.value,onClick:u},c)}});function Vl({validate:t,resetValidation:n,requiresQForm:o}){const r=e.inject(le,!1);if(!1!==r){const{props:o,proxy:i}=e.getCurrentInstance();Object.assign(i,{validate:t,resetValidation:n}),e.watch((()=>o.disable),(e=>{!0===e?("function"==typeof n&&n(),r.unbindComponent(i)):r.bindComponent(i)})),!0!==o.disable&&r.bindComponent(i),e.onBeforeUnmount((()=>{!0!==o.disable&&r.unbindComponent(i)}))}else!0!==o&&console.error("Parent QForm not found on useFormChild()!")}const Ol=[!0,!1,"ondemand"],Ul={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:e=>Ol.includes(e)}};function Ql(t,n){const{props:o,proxy:r}=e.getCurrentInstance(),i=e.ref(!1),a=e.ref(null),l=e.ref(null);Vl({validate:f,resetValidation:p,requiresQForm:!0});let s,u=0;const c=e.computed((()=>void 0!==o.rules&&null!==o.rules&&o.rules.length>0)),d=e.computed((()=>!0===o.error||!0===i.value)),A=e.computed((()=>"string"==typeof o.errorMessage&&o.errorMessage.length>0?o.errorMessage:a.value));function p(){u++,n.value=!1,l.value=null,i.value=!1,a.value=null}function f(e=o.modelValue){if(!0!==c.value)return!0;u++,!0!==n.value&&!0!==o.lazyRules&&(l.value=!0);const t=(e,t)=>{i.value!==e&&(i.value=e);const o=t||void 0;a.value!==o&&(a.value=o),!1!==n.value&&(n.value=!1)},r=[];for(let n=0;n<o.rules.length;n++){const i=o.rules[n];let a;if("function"==typeof i?a=i(e):"string"==typeof i&&void 0!==Rr[i]&&(a=Rr[i](e)),!1===a||"string"==typeof a)return t(!0,a),!1;!0!==a&&void 0!==a&&r.push(a)}if(0===r.length)return t(!1),!0;!0!==n.value&&(n.value=!0);const s=u;return Promise.all(r).then((e=>{if(s!==u)return!0;
2if(void 0===e||!1===Array.isArray(e)||0===e.length)return t(!1),!0;const n=e.find((e=>!1===e||"string"==typeof e));return t(void 0!==n,n),void 0===n}),(e=>s!==u||(console.error(e),t(!0),!1)))}function h(e){!0===c.value&&"ondemand"!==o.lazyRules&&(!0===l.value||!0!==o.lazyRules&&!0!==e)&&f()}return e.watch((()=>o.modelValue),(()=>{h()})),e.watch((()=>o.reactiveRules),(t=>{!0===t?void 0===s&&(s=e.watch((()=>o.rules),(()=>{h(!0)}))):void 0!==s&&(s(),s=void 0)}),{immediate:!0}),e.watch(t,(e=>{"ondemand"!==o.lazyRules&&(!0===e?null===l.value&&(l.value=!1):!1===l.value&&!0===c.value&&(l.value=!0,f()))})),e.onBeforeUnmount((()=>{void 0!==s&&s()})),Object.assign(r,{resetValidation:p,validate:f}),Object.defineProperty(r,"hasError",{get:()=>d.value}),{isDirtyModel:l,hasRules:c,hasError:d,computedErrorMessage:A,validate:f,resetValidation:p}}function ql(e){return void 0===e?`f_${bl()}`:e}function Ml(e){return null!=e&&(""+e).length>0}const Il={...rt,...Ul,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},Pl=["update:modelValue","clear","focus","blur","popup-show","popup-hide"];function Dl(){const{props:t,attrs:n,proxy:o}=e.getCurrentInstance();return{isDark:it(t,o.$q),editable:e.computed((()=>!0!==t.disable&&!0!==t.readonly)),innerLoading:e.ref(!1),focused:e.ref(!1),hasPopupOpen:e.ref(!1),splitAttrs:nl(n),targetUid:e.ref(ql(t.for)),rootRef:e.ref(null),targetRef:e.ref(null),controlRef:e.ref(null)}}function Hl(n){const{props:o,emit:r,slots:i,attrs:a,proxy:l}=e.getCurrentInstance(),{$q:s}=l;let u;void 0===n.hasValue&&(n.hasValue=e.computed((()=>Ml(o.modelValue)))),void 0===n.emitValue&&(n.emitValue=e=>{r("update:modelValue",e)}),void 0===n.controlEvents&&(n.controlEvents={onFocusin:E,onFocusout:T}),Object.assign(n,{clearValue:N,onControlFocusin:E,onControlFocusout:T,focus:x}),void 0===n.computedCounter&&(n.computedCounter=e.computed((()=>{if(!1!==o.counter){const e="string"==typeof o.modelValue||"number"==typeof o.modelValue?(""+o.modelValue).length:!0===Array.isArray(o.modelValue)?o.modelValue.length:0,t=void 0!==o.maxlength?o.maxlength:o.maxValues;return e+(void 0!==t?" / "+t:"")}})));const{isDirtyModel:c,hasRules:d,hasError:A,computedErrorMessage:p,resetValidation:f}=Ql(n.focused,n.innerLoading),h=void 0!==n.floatingLabel?e.computed((()=>!0===o.stackLabel||!0===n.focused.value||!0===n.floatingLabel.value)):e.computed((()=>!0===o.stackLabel||!0===n.focused.value||!0===n.hasValue.value)),m=e.computed((()=>!0===o.bottomSlots||void 0!==o.hint||!0===d.value||!0===o.counter||null!==o.error)),v=e.computed((()=>!0===o.filled?"filled":!0===o.outlined?"outlined":!0===o.borderless?"borderless":o.standout?"standout":"standard")),g=e.computed((()=>`q-field row no-wrap items-start q-field--${v.value}`+(void 0!==n.fieldClass?` ${n.fieldClass.value}`:"")+(!0===o.rounded?" q-field--rounded":"")+(!0===o.square?" q-field--square":"")+(!0===h.value?" q-field--float":"")+(!0===b.value?" q-field--labeled":"")+(!0===o.dense?" q-field--dense":"")+(!0===o.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===n.isDark.value?" q-field--dark":"")+(void 0===n.getControl?" q-field--auto-height":"")+(!0===n.focused.value?" q-field--focused":"")+(!0===A.value?" q-field--error":"")+(!0===A.value||!0===n.focused.value?" q-field--highlighted":"")+(!0!==o.hideBottomSpace&&!0===m.value?" q-field--with-bottom":"")+(!0===o.disable?" q-field--disabled":!0===o.readonly?" q-field--readonly":""))),y=e.computed((()=>"q-field__control relative-position row no-wrap"+(void 0!==o.bgColor?` bg-${o.bgColor}`:"")+(!0===A.value?" text-negative":"string"==typeof o.standout&&o.standout.length>0&&!0===n.focused.value?` ${o.standout}`:void 0!==o.color?` text-${o.color}`:""))),b=e.computed((()=>!0===o.labelSlot||void 0!==o.label)),w=e.computed((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==o.labelColor&&!0!==A.value?` text-${o.labelColor}`:""))),L=e.computed((()=>({id:n.targetUid.value,editable:n.editable.value,focused:n.focused.value,floatingLabel:h.value,modelValue:o.modelValue,emitValue:n.emitValue}))),C=e.computed((()=>{const e={for:n.targetUid.value};return!0===o.disable?e["aria-disabled"]="true":!0===o.readonly&&(e["aria-readonly"]="true"),e}));let k;function x(){void 0!==k&&sn(k),k=ln((()=>{k=void 0;const e=document.activeElement;let t=void 0!==n.targetRef&&n.targetRef.value;!t||null!==e&&e.id===n.targetUid.value||(!0===t.hasAttribute("tabindex")||(t=t.querySelector("[tabindex]")),t&&t!==e&&t.focus())}))}function S(){void 0!==k&&sn(k);const e=document.activeElement;null!==e&&n.rootRef.value.contains(e)&&e.blur()}function E(e){!0===n.editable.value&&!1===n.focused.value&&(n.focused.value=!0,r("focus",e))}function T(e,t){clearTimeout(u),u=setTimeout((()=>{(!0!==document.hasFocus()||!0!==n.hasPopupOpen.value&&(void 0===n.controlRef||null!==n.controlRef.value&&!1===n.controlRef.value.contains(document.activeElement)))&&(!0===n.focused.value&&(n.focused.value=!1,r("blur",e)),void 0!==t&&t())}))}function N(t){_(t),!0!==s.platform.is.mobile?(void 0!==n.targetRef&&n.targetRef.value||n.rootRef.value).focus():!0===n.rootRef.value.contains(document.activeElement)&&document.activeElement.blur(),"file"===o.type&&(n.inputRef.value.value=null),r("update:modelValue",null),r("clear",o.modelValue),e.nextTick((()=>{f(),"ondemand"!==o.lazyRules&&!0!==s.platform.is.mobile&&(c.value=!1)}))}function F(){const t=[];
2return void 0!==i.prepend&&t.push(e.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:B},i.prepend())),t.push(e.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},V())),void 0!==i.append&&t.push(e.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:B},i.append())),!0===A.value&&!1===o.noErrorIcon&&t.push(U("error",[e.h(et,{name:s.iconSet.field.error,color:"negative"})])),!0===o.loading||!0===n.innerLoading.value?t.push(U("inner-loading-append",void 0!==i.loading?i.loading():[e.h(Bt,{color:o.color})])):!0===o.clearable&&!0===n.hasValue.value&&!0===n.editable.value&&t.push(U("inner-clearable-append",[e.h(et,{class:"q-field__focusable-action",tag:"button",name:o.clearIcon||s.iconSet.field.clear,tabindex:0,type:"button",onClick:N})])),void 0!==n.getInnerAppend&&t.push(U("inner-append",n.getInnerAppend())),void 0!==n.getControlChild&&t.push(n.getControlChild()),t}function V(){const t=[];return void 0!==o.prefix&&null!==o.prefix&&t.push(e.h("div",{class:"q-field__prefix no-pointer-events row items-center"},o.prefix)),void 0!==n.getShadowControl&&!0===n.hasShadow.value&&t.push(n.get
2ShadowControl()),void 0!==n.getControl?t.push(n.getControl()):void 0!==i.rawControl?t.push(i.rawControl()):void 0!==i.control&&t.push(e.h("div",{ref:n.targetRef,class:"q-field__native row",...n.splitAttrs.attributes.value,"data-autofocus":!0===o.autofocus||void 0},i.control(L.value))),!0===b.value&&t.push(e.h("div",{class:w.value},Me(i.label,o.label))),void 0!==o.suffix&&null!==o.suffix&&t.push(e.h("div",{class:"q-field__suffix no-pointer-events row items-center"},o.suffix)),t.concat(Me(i.default))}function O(){let t,r;!0===A.value?null!==p.value?(t=[e.h("div",p.value)],r=`q--slot-error-${p.value}`):(t=Me(i.error),r="q--slot-error"):!0===o.hideHint&&!0!==n.focused.value||(void 0!==o.hint?(t=[e.h("div",o.hint)],r=`q--slot-hint-${o.hint}`):(t=Me(i.hint),r="q--slot-hint"));const a=!0===o.counter||void 0!==i.counter;if(!0===o.hideBottomSpace&&!1===a&&void 0===t)return;const l=e.h("div",{key:r,class:"q-field__messages col"},t);return e.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==o.hideBottomSpace?"animated":"stale")},[!0===o.hideBottomSpace?l:e.h(e.Transition,{name:"q-transition--field-message"},(()=>l)),!0===a?e.h("div",{class:"q-field__counter"},void 0!==i.counter?i.counter():n.computedCounter.value):null])}function U(t,n){return null===n?null:e.h("div",{key:t,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},n)}return e.watch((()=>o.for),(e=>{n.targetUid.value=ql(e)})),Object.assign(l,{focus:x,blur:S}),e.onMounted((()=>{!0===t.value&&void 0===o.for&&(n.targetUid.value=ql()),!0===o.autofocus&&l.focus()})),e.onBeforeUnmount((()=>{clearTimeout(u)})),function(){return e.h("label",{ref:n.rootRef,class:!0!==n.inheritAttrs?[g.value,a.class]:g.value,style:a.style,...C.value},[void 0!==i.before?e.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:B},i.before()):null,e.h("div",{class:"q-field__inner relative-position col self-stretch"},[e.h("div",{ref:n.controlRef,class:y.value,tabindex:-1,...n.controlEvents},F()),!0===m.value?O():null]),void 0!==i.after?e.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:B},i.after()):null])}}var Rl=e.defineComponent({name:"QField",inheritAttrs:!1,props:Il,emits:Pl,setup:()=>Hl(Dl())});function jl(e,t,n,o){const r=[];return e.forEach((e=>{!0===o(e)?r.push(e):t.push({failedPropValidation:n,file:e})})),r}function $l(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),_(e)}const zl={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},Kl=["rejected"];function Wl({editable:t,dnd:n,getFileInput:o,addFilesToQueue:r}){const{props:i,emit:a,proxy:l}=e.getCurrentInstance(),s=e.computed((()=>void 0!==i.accept?i.accept.split(",").map((e=>"*"===(e=e.trim())?"*/":(e.endsWith("/*")&&(e=e.slice(0,e.length-1)),e.toUpperCase()))):null)),u=e.computed((()=>parseInt(i.maxFiles,10))),c=e.computed((()=>parseInt(i.maxTotalSize,10)));function d(e){if(t.value){const t=o();t&&t.click(e)}}function A(e){t.value&&e&&r(null,e)}function p(e,t,n,o){let r=Array.from(t||e.target.files);const l=[],d=()=>{l.length>0&&a("rejected",l)};if(void 0!==i.accept&&-1===s.value.indexOf("*/")&&(r=jl(r,l,"accept",(e=>s.value.some((t=>e.type.toUpperCase().startsWith(t)||e.name.toUpperCase().endsWith(t))))),0===r.length))return d();if(void 0!==i.maxFileSize){const e=parseInt(i.maxFileSize,10);if(r=jl(r,l,"max-file-size",(t=>t.size<=e)),0===r.length)return d()}if(!0!==i.multiple&&(r=[r[0]]),void 0!==i.maxTotalSize){let e=!0===o?n.reduce(((e,t)=>e+t.size),0):0;if(r=jl(r,l,"max-total-size",(t=>(e+=t.size,e<=c.value))),0===r.length)return d()}if("function"==typeof i.filter){const e=i.filter(r);r=jl(r,l,"filter",(t=>e.includes(t)))}if(void 0!==i.maxFiles){let e=!0===o?n.length:0;if(r=jl(r,l,"max-files",(()=>(e++,e<=u.value))),0===r.length)return d()}return d(),r.length>0?r:void 0}function f(e){$l(e),!0!==n.value&&(n.value=!0)}function h(e){_(e),n.value=!1}function m(e){$l(e);const t=e.dataTransfer.files;t.length>0&&r(null,t),n.value=!1}function v(t){if(!0===n.value)return e.h("div",{class:`q-${t}__dnd absolute-full`,onDragenter:$l,onDragover:$l,onDragleave:h,onDrop:m})}return Object.assign(l,{pickFiles:d,addFiles:A}
2),{pickFiles:d,addFiles:A,onDragover:f,processFiles:p,getDndNode:v,maxFilesNumber:u,maxTotalSizeNumber:c}}function Yl(t,n){function o(){const e=t.modelValue;try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(e)===e&&("length"in e?Array.from(e):[e]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(e){return{files:void 0}}}return!0===n?e.computed((()=>{if("file"===t.type)return o()})):e.computed(o)}var Gl=e.defineComponent({name:"QFile",props:{...Il,...go,...zl,modelValue:[File,FileList,Array],append:Boolean,useChips:Boolean,displayValue:[String,Number],tabindex:{type:[String,Number],default:0},counterLabel:Function,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Pl,...Kl],setup(t,{slots:n,emit:o,attrs:r}){const{proxy:i}=e.getCurrentInstance(),a=Dl(),l=e.ref(null),s=e.ref(!1),u=wo(t),{pickFiles:c,onDragover:d,processFiles:A,getDndNode:p}=Wl({editable:a.editable,dnd:s,getFileInput:k,addFilesToQueue:x}),f=Yl(t),h=e.computed((()=>Object(t.modelValue)===t.modelValue?"length"in t.modelValue?Array.from(t.modelValue):[t.modelValue]:[])),m=e.computed((()=>Ml(h.value))),v=e.computed((()=>h.value.map((e=>e.name)).join(", "))),g=e.computed((()=>ye(h.value.reduce(((e,t)=>e+t.size),0)))),y=e.computed((()=>({totalSize:g.value,filesNumber:h.value.length,maxFiles:t.maxFiles}))),b=e.computed((()=>({tabindex:-1,type:"file",title:"",accept:t.accept,capture:t.capture,name:u.value,...r,id:a.targetUid.value,disabled:!0!==a.editable.value}))),w=e.computed((()=>!0===t.multiple&&!0===t.append));function L(e){const t=h.value.slice();t.splice(e,1),B(t)}function C(e){const t=h.value.findIndex(e);t>-1&&L(t)}function B(e){o("update:modelValue",!0===t.multiple?e:e[0])}function _(e){13===e.keyCode&&c(e)}function k(){return l.value}function x(e,n){const o=A(e,n,h.value,w.value);void 0!==o&&((!0===t.multiple?t.modelValue&&o.every((e=>h.value.includes(e))):t.modelValue===o[0])||B(!0===w.value?h.value.concat(o):o))}function S(){return[e.h("input",{class:[t.inputClass,"q-file__filler"],style:t.inputStyle,tabindex:-1})]}function E(){if(void 0!==n.file)return 0===h.value.length?S():h.value.map(((e,t)=>n.file({index:t,file:e,ref:this})));if(void 0!==n.selected)return 0===h.value.length?S():n.selected({files:h.value,ref:this});if(!0===t.useChips)return 0===h.value.length?S():h.value.map(((n,o)=>e.h(lr,{key:"file-"+o,removable:a.editable.value,dense:!0,textColor:t.color,tabindex:t.tabindex,onRemove:()=>{L(o)}},(()=>e.h("span",{class:"ellipsis",textContent:n.name})))));const o=void 0!==t.displayValue?t.displayValue:v.value;return o.length>0?[e.h("div",{class:t.inputClass,style:t.inputStyle,textContent:o})]:S()}function T(){const n={ref:l,...b.value,...f.value,class:"q-field__input fit absolute-full cursor-pointer",onChange:x};return!0===t.multiple&&(n.multiple=!0),e.h("input",n)}return Object.assign(a,{inheritAttrs:!0,fieldClass:{value:"q-file q-field--auto-height"},emitValue:B,hasValue:m,inputRef:l,innerValue:h,floatingLabel:e.computed((()=>!0===m.value||Ml(t.displayValue))),computedCounter:e.computed((()=>{if(void 0!==t.counterLabel)return t.counterLabel(y.value);const e=t.maxFiles;return`${h.value.length}${void 0!==e?" / "+e:""} (${g.value})`})),getControlChild:()=>p("file"),getControl:()=>{const n={ref:a.targetRef,class:"q-field__native row items-center cursor-pointer",tabindex:t.tabindex};return!0===a.editable.value&&Object.assign(n,{onDragover:d,onKeyup:_}),e.h("div",n,[T()].concat(E()))}}),Object.assign(i,{removeAtIndex:L,removeFile:C,getNativeElement:()=>l.value}),Hl(a)}}),Zl=e.defineComponent({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(n,{slots:o,emit:r}){const{proxy:{$q:i}}=e.getCurrentInstance(),a=e.inject(re,(()=>{console.error("QFooter needs to be child of QLayout")})),l=e.ref(parseInt(n.heightHint,10)),s=e.ref(!0),u=e.ref(!0===t.value||!0===a.isContainer.value?0:window.innerHeight),c=e.computed((()=>!0===n.reveal||a.view.value.indexOf("F")>-1||!0===a.isContainer.value)),d=e.computed((()=>!0===a.isContainer.value?a.containerHeight.value:u.value)),A=e.computed((()=>
2{if(!0!==n.modelValue)return 0;if(!0===c.value)return!0===s.value?l.value:0;const e=a.scroll.value.position+d.value+l.value-a.height.value;return e>0?e:0})),p=e.computed((()=>!0!==n.modelValue||!0===c.value&&!0!==s.value)),f=e.computed((()=>!0===n.modelValue&&!0===p.value&&!0===n.reveal)),h=e.computed((()=>"q-footer q-layout__section--marginal "+(!0===c.value?"fixed":"absolute")+"-bottom"+(!0===n.bordered?" q-footer--bordered":"")+(!0===p.value?" q-footer--hidden":"")+(!0!==n.modelValue?" q-layout--prevent-focus"+(!0!==c.value?" hidden":""):""))),m=e.computed((()=>{const e=a.rows.value.bottom,t={};return"l"===e[0]&&!0===a.left.space&&(t[!0===i.lang.rtl?"right":"left"]=`${a.left.size}px`),"r"===e[2]&&!0===a.right.space&&(t[!0===i.lang.rtl?"left":"right"]=`${a.right.size}px`),t}));function v(e,t){a.update("footer",e,t)}function g(e,t){e.value!==t&&(e.value=t)}function y({height:e}){g(l,e),v("size",e)}function b(){if(!0!==n.reveal)return;const{direction:e,position:t,inflectionPoint:o}=a.scroll.value;g(s,"up"===e||t-o<100||a.height.value-d.value-t-l.value<300)}function w(e){!0===f.value&&g(s,!0),r("focusin",e)}e.watch((()=>n.modelValue),(e=>{v("space",e),g(s,!0),a.animate()})),e.watch(A,(e=>{v("offset",e)})),e.watch((()=>n.reveal),(e=>{!1===e&&g(s,n.modelValue)})),e.watch(s,(e=>{a.animate(),r("reveal",e)})),e.watch([l,a.scroll,a.height],b),e.watch((()=>i.screen.height),(e=>{!0!==a.isContainer.value&&g(u,e)}));const L={};return a.instances.footer=L,!0===n.modelValue&&v("size",l.value),v("space",n.modelValue),v("offset",A.value),e.onBeforeUnmount((()=>{a.instances.footer===L&&(a.instances.footer=void 0,v("size",0),v("offset",0),v("space",!1))})),()=>{const t=Pe(o.default,[e.h(xr,{debounce:0,onResize:y})]);return!0===n.elevated&&t.push(e.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),e.h("footer",{class:h.value,style:m.value,onFocusin:w},t)}}}),Jl=e.defineComponent({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validation-success","validation-error"],setup(t,{slots:n,emit:o}){const r=e.getCurrentInstance(),i=e.ref(null);let a=0;const l=[];function s(e){const n=[],r="boolean"==typeof e?e:!0!==t.noErrorFocus;a++;const i=(e,t)=>{o("validation-"+(!0===e?"success":"error"),t)};for(let e=0;e<l.length;e++){const o=l[e],a=o.validate();if("function"==typeof a.then)n.push(a.then((e=>({valid:e,comp:o})),(e=>({valid:!1,comp:o,error:e}))));else if(!0!==a){if(!1===t.greedy)return i(!1,o),!0===r&&"function"==typeof o.focus&&o.focus(),Promise.resolve(!1);n.push({valid:!1,comp:o})}}if(0===n.length)return i(!0),Promise.resolve(!0);const s=a;return Promise.all(n).then((e=>{if(s===a){const t=e.filter((e=>!0!==e.valid));if(0===t.length)return i(!0),!0;const{valid:n,comp:o}=t[0];return i(!1,o),!0===r&&!0!==n&&"function"==typeof o.focus&&o.focus(),!1}}))}function u(){a++,l.forEach((e=>{"function"==typeof e.resetValidation&&e.resetValidation()}))}function c(e){void 0!==e&&_(e),s().then((n=>{!0===n&&(void 0!==t.onSubmit?o("submit",e):void 0!==e&&void 0!==e.target&&"function"==typeof e.target.submit&&e.target.submit())}))}function d(n){void 0!==n&&_(n),o("reset"),e.nextTick((()=>{u(),!0===t.autofocus&&!0!==t.noResetFocus&&A()}))}function A(){ln((()=>{if(null===i.value)return;const e=i.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(i.value.querySelectorAll("[tabindex]"),(e=>e.tabIndex>-1));null!=e&&e.focus()}))}return e.provide(le,{bindComponent(e){l.push(e)},unbindComponent(e){const t=l.indexOf(e);t>-1&&l.splice(t,1)}}),e.onMounted((()=>{!0===t.autofocus&&A()})),Object.assign(r.proxy,{validate:s,resetValidation:u,submit:c,reset:d,focus:A,getValidationComponents:()=>l}),()=>e.h("form",{class:"q-form",ref:i,onSubmit:c,onReset:d},Me(n.default))}}),Xl={inject:{[le]:{default:f}},watch:{disable(e){const t=this.$.provides[le];void 0!==t&&(!0===e?(this.resetValidation(),t.unbindComponent(this)):t.bindComponent(this))}},methods:{validate(){},resetValidation(){}},created(){const e=this.$.provides[le];void 0!==e&&!0!==this.disable&&e.bindComponent(this)},beforeUnmount(){const e=this.$.provides[le];void 0!==e&&!0!==this.disable&&e.unbindComponent(this)}},es=e.defineComponent({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=e.inject(re,(()=>{console.error("QHeader needs to be child of QLayout")})),a=e.ref(parseInt(t.heightHint,10)),l=e.ref(!0),s=e.computed((()=>!0===t.reveal||i.view.value.indexOf("H")>-1||!0===i.isContainer.value)),u=e.computed((()=>
2{if(!0!==t.modelValue)return 0;if(!0===s.value)return!0===l.value?a.value:0;const e=a.value-i.scroll.value.position;return e>0?e:0})),c=e.computed((()=>!0!==t.modelValue||!0===s.value&&!0!==l.value)),d=e.computed((()=>!0===t.modelValue&&!0===c.value&&!0===t.reveal)),A=e.computed((()=>"q-header q-layout__section--marginal "+(!0===s.value?"fixed":"absolute")+"-top"+(!0===t.bordered?" q-header--bordered":"")+(!0===c.value?" q-header--hidden":"")+(!0!==t.modelValue?" q-layout--prevent-focus":""))),p=e.computed((()=>{const e=i.rows.value.top,t={};return"l"===e[0]&&!0===i.left.space&&(t[!0===r.lang.rtl?"right":"left"]=`${i.left.size}px`),"r"===e[2]&&!0===i.right.space&&(t[!0===r.lang.rtl?"left":"right"]=`${i.right.size}px`),t}));function f(e,t){i.update("header",e,t)}function h(e,t){e.value!==t&&(e.value=t)}function m({height:e}){h(a,e),f("size",e)}function v(e){!0===d.value&&h(l,!0),o("focusin",e)}e.watch((()=>t.modelValue),(e=>{f("space",e),h(l,!0),i.animate()})),e.watch(u,(e=>{f("offset",e)})),e.watch((()=>t.reveal),(e=>{!1===e&&h(l,t.modelValue)})),e.watch(l,(e=>{i.animate(),o("reveal",e)})),e.watch(i.scroll,(e=>{!0===t.reveal&&h(l,"up"===e.direction||e.position<=t.revealOffset||e.position-e.inflectionPoint<100)}));const g={};return i.instances.header=g,!0===t.modelValue&&f("size",a.value),f("space",t.modelValue),f("offset",u.value),e.onBeforeUnmount((()=>{i.instances.header===g&&(i.instances.header=void 0,f("size",0),f("offset",0),f("space",!1))})),()=>{const o=Ie(n.default,[]);return!0===t.elevated&&o.push(e.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),o.push(e.h(xr,{debounce:0,onResize:m})),e.h("header",{class:A.value,style:p.value,onFocusin:v},o)}}});const ts={ratio:[String,Number]};function ns(t,n){return e.computed((()=>{const e=Number(t.ratio||(void 0!==n?n.value:void 0));return!0!==isNaN(e)&&e>0?{paddingBottom:100/e+"%"}:null}))}const os=["anonymous","use-credentials"],rs=["eager","lazy"],is=["cover","fill","contain","none","scale-down"],as=16/9;var ls=e.defineComponent({name:"QImg",props:{...ts,src:String,srcset:String,sizes:String,alt:String,crossorigin:{type:String,validator:e=>os.includes(e)},draggable:Boolean,loading:{type:String,default:"lazy",validator:e=>rs.includes(e)},width:String,height:String,initialRatio:{type:[Number,String],default:as},placeholderSrc:String,fit:{type:String,default:"cover",validator:e=>is.includes(e)},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(t,{slots:n,attrs:o,emit:r}){const i=e.ref(t.initialRatio),a=ns(t,i);let l;const s=[e.ref(null),e.ref(void 0!==t.placeholderSrc?{src:t.placeholderSrc}:null)],u=e.ref(0),c=e.ref(!1),d=e.ref(!1),A=e.computed((()=>`q-img q-img--${!0===t.noNativeMenu?"no-":""}menu`)),p=e.computed((()=>({width:t.width,height:t.height}))),f=e.computed((()=>"q-img__image "+(void 0!==t.imgClass?t.imgClass+" ":"")+`q-img__image--with${!0===t.noTransition?"out":""}-transition`)),h=e.computed((()=>({...t.imgStyle,objectFit:t.fit,objectPosition:t.position})));function m(){return t.src||t.srcset||t.sizes?{src:t.src,srcset:t.srcset,sizes:t.sizes}:null}function v(e){if(clearTimeout(l),d.value=!1,null===e)return c.value=!1,s[0].value=null,void(s[1].value=null);c.value=!0,s[u.value].value=e}function g({target:e}){null!==l&&(clearTimeout(l),i.value=0===e.naturalHeight?.5:e.naturalWidth/e.naturalHeight,y(e,1))}function y(e,t){null!==l&&1e3!==t&&(!0===e.complete?b(e):l=setTimeout((()=>{y(e,t+1)}),50))}function b(e){null!==l&&(u.value=1===u.value?0:1,s[u.value].value=null,c.value=!1,d.value=!1,r("load",e.currentSrc||e.src))}function w(e){clearTimeout(l),c.value=!1,d.value=!0,s[0].value=null,s[1].value=null,r("error",e)}function L(t,n){return e.h("div",{class:"q-img__container absolute-full",key:t},n)}function C(n){const r=s[n].value,i={key:"img_"+n,...o,class:f.value,style:h.value,crossorigin:t.crossorigin,height:t.height,width:t.width,loading:t.loading,"aria-hidden":"true",draggable:t.draggable,...r};return u.value===n?(i.class+=" q-img__image--waiting",Object.assign(i,{onLoad:g,onError:w})):i.class+=" q-img__image--loaded",L("img"+n,e.h("img",i))}
2function B(){return!0!==c.value?e.h("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},Me(n[!0===d.value?"error":"default"])):e.h("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},void 0!==n.loading?n.loading():!0===t.noSpinner?void 0:[e.h(Bt,{color:t.spinnerColor,size:t.spinnerSize})])}return e.watch((()=>m()),v),v(m()),e.onBeforeUnmount((()=>{clearTimeout(l),l=null})),()=>{const n=[];return null!==a.value&&n.push(e.h("div",{key:"filler",style:a.value})),!0!==d.value&&(null!==s[0].value&&n.push(C(0)),null!==s[1].value&&n.push(C(1))),n.push(e.h(e.Transition,{name:"q-transition--fade"},B)),e.h("div",{class:A.value,style:p.value,role:"img","aria-label":t.alt},n)}}}),ss=e.defineComponent({name:"QInfiniteScroll",props:{offset:{type:Number,default:500},debounce:{type:[String,Number],default:100},scrollTarget:{default:void 0},initialIndex:Number,disable:Boolean,reverse:Boolean},emits:["load"],setup(t,{slots:n,emit:o}){const r=e.ref(!1),i=e.ref(null);let a,l,s=t.initialIndex||0,u=!0;const c=e.computed((()=>"q-infinite-scroll__loading"+(!0===r.value?"":" invisible")));function d(){if(!0===t.disable||!0===r.value||!1===u)return;const e=kn(a),n=Sn(a),o=xt(a);!1===t.reverse?n+o+t.offset>=e&&A():n<t.offset&&A()}function A(){if(!0===t.disable||!0===r.value||!1===u)return;s++,r.value=!0;const n=kn(a);o("load",s,(o=>{!0===u&&(r.value=!1,e.nextTick((()=>{if(!0===t.reverse){const e=kn(a),t=Sn(a);On(a,t+(e-n))}!0===o?m():i.value&&i.value.closest("body")&&l()})))}))}function f(){s=0}function h(){!1===u&&(u=!0,a.addEventListener("scroll",l,p.passive)),d()}function m(){!0===u&&(u=!1,r.value=!1,a.removeEventListener("scroll",l,p.passive))}function v(){a&&!0===u&&a.removeEventListener("scroll",l,p.passive),a=_n(i.value,t.scrollTarget),!0===u&&a.addEventListener("scroll",l,p.passive)}function g(e){s=e}const y=e.getCurrentInstance();function b(e){e=parseInt(e,10);const t=l;l=e<=0?d:T(d,!0===isNaN(e)?100:e),a&&!0===u&&(void 0!==t&&a.removeEventListener("scroll",t,p.passive),a.addEventListener("scroll",l,p.passive))}return Object.assign(y.proxy,{poll:()=>l.apply(null,arguments),trigger:A,stop:m,reset:f,resume:h,setIndex:g}),e.watch((()=>t.disable),(e=>{!0===e?m():h()})),e.watch((()=>t.scrollTarget),v),e.watch((()=>t.debounce),b),e.onBeforeUnmount((()=>{!0===u&&a.removeEventListener("scroll",l,p.passive)})),e.onMounted((()=>{if(b(t.debounce),v(),!0===t.reverse){const e=kn(a),t=xt(a);On(a,e-t)}d()})),()=>{const o=Ie(n.default,[]);return!0!==t.disable&&!0===u&&o[!1===t.reverse?"push":"unshift"](e.h("div",{class:c.value},Me(n.loading))),e.h("div",{class:"q-infinite-scroll",ref:i},o)}}}),us=e.defineComponent({name:"QInnerLoading",props:{...rt,...bn,showing:Boolean,color:String,size:{type:[String,Number],default:42}},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),{transition:i,transitionStyle:a}=wn(t,e.computed((()=>t.showing))),l=e.computed((()=>"q-inner-loading absolute-full column flex-center"+(!0===r.value?" q-inner-loading--dark":"")));function s(){return!0===t.showing?e.h("div",{class:l.value,style:a.value},void 0!==n.default?n.default():[e.h(Bt,{size:t.size,color:t.color})]):null}return()=>e.h(e.Transition,{name:i.value,appear:!0},s)}});const cs={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},ds={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},As=Object.keys(ds);As.forEach((e=>{ds[e].regex=new RegExp(ds[e].pattern)}));const ps=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+As.join("")+"])|(.)","g"),fs=/[.*+?^${}()|[\]\\]/g,hs=String.fromCharCode(1),ms={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function vs(t,n,o,r){let i,a,l,s;const u=e.ref(null),c=e.ref(d());function d(){if(p(),!0===u.value){const e=g(b(t.modelValue));return!1!==t.fillMask?w(e):e}return t.modelValue}function A(e){if(e<i.length)return i.slice(-e);let t="",n=i;const o=n.indexOf(hs);if(o>-1){for(let o=e-n.length;o>0;o--)t+=hs;n=n.slice(0,o)+t+n.slice(o)}return n}function p(){if(u.value=void 0!==t.mask&&t.mask.length>0&&["text","search","url","tel","password"].includes(t.type),!1===u.value)return s=void 0,i="",void(a="");const e=void 0===cs[t.mask]?t.mask:cs[t.mask],n="string"==typeof t.fillMask&&t.fillMask.length>0?t.fillMask.slice(0,1):"_",o=n.replace(fs,"\\$&"),r=[],c=[],d=[];let A=!0===t.reverseFillMask,p="",f="";e.replace(ps,((e,t,n,o,i)=>{if(void 0!==o){const e=ds[o];d.push(e),f=e.negate,!0===A&&(c.push("(?:"+f+"+)?("+e.pattern+"+)?(?:"+f+"+)?("+e.pattern+"+)?"),A=!1),c.push("(?:"+f+"+)?("+e.pattern+")?")}else if(void 0!==n)p="\\"+("\\"===n?"":n),d.push(n),r.push("([^"+p+"]+)?"+p+"?");else{const e=void 0!==t?t:i;p="\\"===e?"\\\\\\\\":e.replace(fs,"\\\\$&"),d.push(e),r.push("([^"+p+"]+)?"+p+"?")}}));const h=new RegExp("^"+r.join("")+"("+(""===p?".":"[^"+p+"]")+"+)?$"),m=c.length-1,v=c.map(((e,n)=>0===n&&!0===t.reverseFillMask?new RegExp("^"+o+"*"+e):n===m?new RegExp("^"+e+"("+(""===f?".":f)+"+)?"+(!0===t.reverseFillMask?"$":o+"*")):new RegExp("^"+e)));l=d,s=e=>{const t=h.exec(e);null!==t&&(e=t.slice(1).join(""));const n=[],o=v.length;for(let t=0,r=e;t<o;t++){const e=v[t].exec(r);if(null===e)break;r=r.slice(e.shift().length),n.push(...e)}return n.length>0?n.join(""):e},i=d.map((e=>"string"==typeof e?e:hs)).join(""),a=i.split(hs).join(n)}function f(n,l,s){const u=r.value,d=u.selectionEnd,A=u.value.length-d,f=b(n);!0===l&&p();const h=g(f),v=!1!==t.fillMask?w(h):h,y=c.value!==v;u.value!==v&&(u.value=v),!0===y&&(c.value=v),document.activeElement===u&&e.nextTick((()=>
2{if(v!==a)if("insertFromPaste"!==s||!0===t.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(s)>-1){const e=!0===t.reverseFillMask?0===d?v.length>h.length?1:0:Math.max(0,v.length-(v===a?0:Math.min(h.length,A)+1))+1:d;u.setSelectionRange(e,e,"forward")}else if(!0===t.reverseFillMask)if(!0===y){const e=Math.max(0,v.length-(v===a?0:Math.min(h.length,A+1)));1===e&&1===d?u.setSelectionRange(e,e,"forward"):m.rightReverse(u,e,e)}else{const e=v.length-A;u.setSelectionRange(e,e,"backward")}else if(!0===y){const e=Math.max(0,i.indexOf(hs),Math.min(h.length,d)-1);m.right(u,e,e)}else{const e=d-1;m.right(u,e,e)}else{const e=d-1;m.right(u,e,e)}else{const e=!0===t.reverseFillMask?a.length:0;u.setSelectionRange(e,e,"forward")}}));const L=!0===t.unmaskedValue?b(v):v;t.modelValue!==L&&o(L,!0)}function h(e,t,n){const o=g(b(e.value));t=Math.max(0,i.indexOf(hs),Math.min(o.length,t)),e.setSelectionRange(t,n,"forward")}e.watch((()=>t.type),p),e.watch((()=>t.mask),(e=>{if(void 0!==e)f(c.value,!0);else{const e=b(c.value);p(),t.modelValue!==e&&n("update:modelValue",e)}})),e.watch((()=>t.fillMask+t.reverseFillMask),(()=>{!0===u.value&&f(c.value,!0)})),e.watch((()=>t.unmaskedValue),(()=>{!0===u.value&&f(c.value)}));const m={left(e,t,n,o){const r=-1===i.slice(t-1).indexOf(hs);let a=Math.max(0,t-1);for(;a>=0;a--)if(i[a]===hs){t=a,!0===r&&t++;break}if(a<0&&void 0!==i[t]&&i[t]!==hs)return m.right(e,0,0);t>=0&&e.setSelectionRange(t,!0===o?n:t,"backward")},right(e,t,n,o){const r=e.value.length;let a=Math.min(r,n+1);for(;a<=r;a++){if(i[a]===hs){n=a;break}i[a-1]===hs&&(n=a)}if(a>r&&void 0!==i[n-1]&&i[n-1]!==hs)return m.left(e,r,r);e.setSelectionRange(o?t:n,n,"forward")},leftReverse(e,t,n,o){const r=A(e.value.length);let i=Math.max(0,t-1);for(;i>=0;i--){if(r[i-1]===hs){t=i;break}if(r[i]===hs&&(t=i,0===i))break}if(i<0&&void 0!==r[t]&&r[t]!==hs)return m.rightReverse(e,0,0);t>=0&&e.setSelectionRange(t,!0===o?n:t,"backward")},rightReverse(e,t,n,o){const r=e.value.length,i=A(r),a=-1===i.slice(0,n+1).indexOf(hs);let l=Math.min(r,n+1);for(;l<=r;l++)if(i[l-1]===hs){(n=l)>0&&!0===a&&n--;break}if(l>r&&void 0!==i[n-1]&&i[n-1]!==hs)return m.leftReverse(e,r,r);e.setSelectionRange(!0===o?t:n,n,"forward")}};function v(e){if(!0===z(e))return;const n=r.value,o=n.selectionStart,i=n.selectionEnd;if(37===e.keyCode||39===e.keyCode){const r=m[(39===e.keyCode?"right":"left")+(!0===t.reverseFillMask?"Reverse":"")];e.preventDefault(),r(n,o,i,e.shiftKey)}else 8===e.keyCode&&!0!==t.reverseFillMask&&o===i?m.left(n,o,i,!0):46===e.keyCode&&!0===t.reverseFillMask&&o===i&&m.rightReverse(n,o,i,!0)}function g(e){if(null==e||""===e)return"";if(!0===t.reverseFillMask)return y(e);const n=l;let o=0,r="";for(let t=0;t<n.length;t++){const i=e[o],a=n[t];if("string"==typeof a)r+=a,i===a&&o++;else{if(void 0===i||!a.regex.test(i))return r;r+=void 0!==a.transform?a.transform(i):i,o++}}return r}function y(e){const t=l,n=i.indexOf(hs);let o=e.length-1,r="";for(let i=t.length-1;i>=0&&o>-1;i--){const a=t[i];let l=e[o];if("string"==typeof a)r=a+r,l===a&&o--;else{if(void 0===l||!a.regex.test(l))return r;do{r=(void 0!==a.transform?a.transform(l):l)+r,o--,l=e[o]}while(n===i&&void 0!==l&&a.regex.test(l))}}return r}function b(e){return"string"!=typeof e||void 0===s?"number"==typeof e?s(""+e):e:s(e)}function w(e){return a.length-e.length<=0?e:!0===t.reverseFillMask&&e.length>0?a.slice(0,-e.length)+e:e+a.slice(e.length)}return{innerValue:c,hasMask:u,moveCursorForPaste:h,updateMaskValue:f,onMaskedKeydown:v}}const gs=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,ys=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,bs=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/;function ws(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.composing)return;t.target.composing=!1,e(t)}else"compositionupdate"===t.type?"string"==typeof t.data&&!1===gs.test(t.data)&&!1===ys.test(t.data)&&!1===bs.test(t.data)&&(t.target.composing=!1):t.target.composing=!0}}var Ls=e.defineComponent({name:"QInput",inheritAttrs:!1,props:{...Il,...ms,...go,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"}
2,debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Pl,"paste","change"],setup(t,{emit:n,attrs:o}){const r={};let i,a,l,s,u=NaN;const c=e.ref(null),d=wo(t),{innerValue:A,hasMask:p,moveCursorForPaste:f,updateMaskValue:h,onMaskedKeydown:m}=vs(t,n,E,c),v=Yl(t,!0),g=e.computed((()=>Ml(A.value))),y=ws(S),b=Dl(),w=e.computed((()=>"textarea"===t.type||!0===t.autogrow)),L=e.computed((()=>{const e={...b.splitAttrs.listeners.value,onInput:S,onPaste:x,onChange:N,onBlur:F,onFocus:C};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=y,!0===p.value&&(e.onKeydown=m),!0===t.autogrow&&(e.onAnimationend=T),e})),B=e.computed((()=>{const e={tabindex:0,"data-autofocus":!0===t.autofocus||void 0,rows:"textarea"===t.type?6:void 0,"aria-label":t.label,name:d.value,...b.splitAttrs.attributes.value,id:b.targetUid.value,maxlength:t.maxlength,disabled:!0===t.disable,readonly:!0===t.readonly};return!1===w.value&&(e.type=t.type),!0===t.autogrow&&(e.rows=1),e}));function _(){ln((()=>{const e=document.activeElement;null===c.value||c.value===e||null!==e&&e.id===b.targetUid.value||c.value.focus()}))}function k(){null!==c.value&&c.value.select()}function x(e){if(!0===p.value&&!0!==t.reverseFillMask){const t=e.target;f(t,t.selectionStart,t.selectionEnd)}n("paste",e)}function S(o){if(!o||!o.target||!0===o.target.composing)return;if("file"===t.type)return void n("update:modelValue",o.target.files);const r=o.target.value;if(!0===p.value)h(r,!1,o.inputType);else if(E(r),["text","search","url","tel","password"].includes(t.type)&&o.target===document.activeElement){const{selectionStart:t,selectionEnd:n}=o.target;void 0!==t&&void 0!==n&&e.nextTick((()=>{o.target===document.activeElement&&0===r.indexOf(o.target.value)&&o.target.setSelectionRange(t,n)}))}!0===t.autogrow&&T()}function E(o,c){s=()=>{"number"!==t.type&&!0===r.hasOwnProperty("value")&&delete r.value,t.modelValue!==o&&u!==o&&(!0===c&&(a=!0),n("update:modelValue",o),e.nextTick((()=>{u===o&&(u=NaN)}))),s=void 0},"number"===t.type&&(i=!0,r.value=o),void 0!==t.debounce?(clearTimeout(l),r.value=o,l=setTimeout(s,t.debounce)):s()}function T(){const e=c.value;if(null!==e){const t=e.parentNode.style;t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",t.marginBottom=""}}function N(e){y(e),clearTimeout(l),void 0!==s&&s(),n("change",e.target.value)}function F(e){void 0!==e&&C(e),clearTimeout(l),void 0!==s&&s(),i=!1,a=!1,delete r.value,"file"!==t.type&&setTimeout((()=>{null!==c.value&&(c.value.value=void 0!==A.value?A.value:"")}))}function V(){return!0===r.hasOwnProperty("value")?r.value:void 0!==A.value?A.value:""}e.watch((()=>t.modelValue),(n=>{if(!0===p.value){if(!0===a)return void(a=!1);h(n)}else A.value!==n&&(A.value=n,"number"===t.type&&!0===r.hasOwnProperty("value")&&(!0===i?i=!1:delete r.value));!0===t.autogrow&&e.nextTick(T)})),e.watch((()=>t.autogrow),(t=>{!0===t?e.nextTick(T):null!==c.value&&o.rows>0&&(c.value.style.height="auto")})),e.watch((()=>t.dense),(()=>{!0===t.autogrow&&e.nextTick(T)})),e.onBeforeUnmount((()=>{F()})),e.onMounted((()=>{!0===t.autogrow&&T()})),Object.assign(b,{innerValue:A,fieldClass:e.computed((()=>"q-"+(!0===w.value?"textarea":"input")+(!0===t.autogrow?" q-textarea--autogrow":""))),hasShadow:e.computed((()=>"file"!==t.type&&"string"==typeof t.shadowText&&t.shadowText.length>0)),inputRef:c,emitValue:E,hasValue:g,floatingLabel:e.computed((()=>!0===g.value||Ml(t.displayValue))),getControl:()=>e.h(!0===w.value?"textarea":"input",{ref:c,class:["q-field__native q-placeholder",t.inputClass],style:t.inputStyle,...B.value,...L.value,..."file"!==t.type?{value:V()}:v.value}),getShadowControl:()=>e.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===w.value?"":" text-no-wrap")},[e.h("span",{class:"invisible"},V()),e.h("span",t.shadowText)])});const O=Hl(b),U=e.getCurrentInstance();return Object.assign(U.proxy,{focus:_,select:k,getNativeElement:()=>c.value}),O}});const Cs={threshold:0,root:null,rootMargin:"0px"};function Bs(e,t,n){let o,r,i;"function"==typeof n?(o=n,r=Cs,i=void 0===t.cfg):(o=n.handler,r=Object.assign({},Cs,n.cfg),i=void 0===t.cfg||!1===jo(t.cfg,r)),t.handler!==o&&(t.handler=o),!0===i&&(t.cfg=r,void 0!==t.observer&&t.observer.unobserve(e),t.observer=new IntersectionObserver((([n])=>{if("function"==typeof t.handler){if(null===n.rootBounds&&!0===document.body.contains(e))return t.observer.unobserve(e),void t.observer.observe(e);(!1===t.handler(n,t.observer)||!0===t.once&&!0===n.isIntersecting)&&_s(e)}}),r),t.observer.observe(e))}function _s(e){const t=e.__qvisible;void 0!==t&&(void 0!==t.observer&&t.observer.unobserve(e),delete e.__qvisible)}var ks={name:"intersection",mounted(e,{modifiers:t,value:n}){const o={once:!0===t.once};Bs(e,o,n),e.__qvisible=o},updated(e,t){const n=e.__qvisible;void 0!==n&&Bs(e,n,t.value)},beforeUnmount:_s},xs=e.defineComponent({name:"QIntersection",props:{tag:{type:String,default:"div"},once:Boolean,transition:String,ssrPrerender:Boolean,margin:String,threshold:[Number,Array],root:{default:null},disable:Boolean,onVisibility:Function},setup(n,{slots:o,emit:r}){const i=e.ref(!0===t.value&&n.ssrPrerender),a=e.computed((()=>void 0!==n.root||void 0!==n.margin||void 0!==n.threshold?{handler:u,cfg:{root:n.root,rootMargin:n.margin,threshold:n.threshold}}:u)),l=e.computed((()=>!0!==n.disable&&(!0!==t.value||!0!==n.once||!0!==n.ssrPrerender))),s=e.computed((()=>[[ks,a.value,void 0,{once:n.once}]]));function u(e){i.value!==e.isIntersecting&&(i.value=e.isIntersecting,void 0!==n.onVisibility&&r("visibility",i.value))}
2function c(){return!0===i.value?[e.h("div",{key:"content"},Me(o.default))]:void 0}return()=>{const t=n.transition?[e.h(e.Transition,{name:"q-transition--"+n.transition},c)]:c();return He(n.tag,{class:"q-intersection"},t,"main",l.value,(()=>s.value))}}}),Ss=e.defineComponent({name:"QList",props:{...rt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>"q-list"+(!0===t.bordered?" q-list--bordered":"")+(!0===t.dense?" q-list--dense":"")+(!0===t.separator?" q-list--separator":"")+(!0===r.value?" q-list--dark":"")+(!0===t.padding?" q-list--padding":"")));return()=>e.h("div",{class:i.value},Me(n.default))}});const Es=[34,37,40,33,39,38],Ts=Object.keys(sr);var Ns=e.defineComponent({name:"QKnob",props:{...go,...sr,modelValue:{type:Number,required:!0},step:{type:Number,default:1,validator:e=>e>=0},tabindex:{type:[Number,String],default:0},disable:Boolean,readonly:Boolean},emits:["update:modelValue","change","drag-value"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=e.ref(t.modelValue),l=e.ref(!1);let s,u;e.watch((()=>t.modelValue),(e=>{if(e<t.min)a.value=t.min;else{if(!(e>t.max))return void(e!==a.value&&(a.value=e));a.value=t.max}a.value!==t.modelValue&&(o("update:modelValue",a.value),o("change",a.value))}));const c=e.computed((()=>!1===t.disable&&!1===t.readonly)),d=e.computed((()=>"q-knob non-selectable"+(!0===c.value?" q-knob--editable":!0===t.disable?" disabled":""))),A=e.computed((()=>(String(t.step).trim("0").split(".")[1]||"").length)),p=e.computed((()=>0===t.step?1:t.step)),f=e.computed((()=>!0===t.instantFeedback||!0===l.value)),h=!0===i.platform.is.mobile?e.computed((()=>!0===c.value?{onClick:C}:{})):e.computed((()=>!0===c.value?{onMousedown:L,onClick:C,onKeydown:B,onKeyup:x}:{})),m=e.computed((()=>!0===c.value?{tabindex:t.tabindex}:{["aria-"+(!0===t.disable?"disabled":"readonly")]:"true"})),v=e.computed((()=>{const e={};return Ts.forEach((n=>{e[n]=t[n]})),e}));function y(e){e.isFinal?(k(e.evt,!0),l.value=!1):e.isFirst?(w(),l.value=!0,k(e.evt)):k(e.evt)}const b=e.computed((()=>[[mr,y,void 0,{prevent:!0,stop:!0,mouse:!0}]]));function w(){const{top:e,left:t,width:n,height:o}=u.getBoundingClientRect();s={top:e+o/2,left:t+n/2}}function L(e){w(),k(e)}function C(e){w(),k(e,!0)}function B(e){if(!Es.includes(e.keyCode))return;_(e);const n=([34,33].includes(e.keyCode)?10:1)*p.value,o=[34,37,40].includes(e.keyCode)?-n:n;a.value=we(parseFloat((a.value+o).toFixed(A.value)),t.min,t.max),S()}function k(e,n){const r=g(e),l=Math.abs(r.top-s.top),u=Math.sqrt(l**2+Math.abs(r.left-s.left)**2);let c=Math.asin(l/u)*(180/Math.PI);c=r.top<s.top?s.left<r.left?90-c:270+c:s.left<r.left?c+90:270-c,t.angle&&(c=Le(c-t.angle,0,360)),!0===i.lang.rtl&&(c=360-c);let d=t.min+c/360*(t.max-t.min);if(0!==p.value){const e=d%p.value;d=d-e+(Math.abs(e)>=p.value/2?(e<0?-1:1)*p.value:0),d=parseFloat(d.toFixed(A.value))}d=we(d,t.min,t.max),o("drag-value",d),a.value!==d&&(a.value=d),S(n)}function x(e){Es.includes(e.keyCode)&&S(!0)}function S(e){t.modelValue!==a.value&&o("update:modelValue",a.value),!0===e&&o("change",a.value)}const E=yo(t);function T(){return e.h("input",E.value)}return e.onMounted((()=>{u=r.$el})),()=>{const o={class:d.value,role:"slider","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":t.modelValue,...m.value,...v.value,value:a.value,instantFeedback:f.value,...h.value},r={default:n.default};return!0===c.value?(void 0!==t.name&&(r.internal=T),e.withDirectives(e.h(pr,o,r),b.value)):e.h(pr,o,r)}}});const{passive:Fs}=p,Vs=["both","horizontal","vertical"];var Os=e.defineComponent({name:"QScrollObserver",props:{axis:{type:String,validator:e=>Vs.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(t,{emit:n}){const o={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let r,i,a=null;function l(){a=null;const e=Math.max(0,Sn(r)),i=En(r),l={top:e-o.position.top,left:i-o.position.left};if("vertical"===t.axis&&0===l.top||"horizontal"===t.axis&&0===l.left)return;const s=Math.abs(l.top)>=Math.abs(l.left)?l.top<0?"up":"down":l.left<0?"left":"right";o.position={top:e,left:i},o.directionChanged=o.direction!==s,o.delta=l,!0===o.directionChanged&&(o.direction=s,o.inflectionPoint=o.position),n("scroll",{...o})}function s(){r=_n(i,t.scrollTarget),r.addEventListener("scroll",c,Fs),c(!0)}function u(){void 0!==r&&(r.removeEventListener("scroll",c,Fs),r=void 0)}function c(e){!0===e||0===t.debounce||"0"===t.debounce?l():null===a&&(a=t.debounce?setTimeout(l,t.debounce):requestAnimationFrame(l))}e.watch((()=>
2t.scrollTarget),(()=>{u(),s()}));const d=e.getCurrentInstance();return e.onMounted((()=>{i=d.proxy.$el.parentNode,s()})),e.onBeforeUnmount((()=>{clearTimeout(a),cancelAnimationFrame(a),u()})),Object.assign(d.proxy,{trigger:c,getPosition:()=>o}),f}}),Us=e.defineComponent({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(n,{slots:o,emit:r}){const{proxy:{$q:i}}=e.getCurrentInstance(),a=e.ref(null),l=e.ref(i.screen.height),s=e.ref(!0===n.container?0:i.screen.width),u=e.ref({position:0,direction:"down",inflectionPoint:0}),c=e.ref(0),d=e.ref(!0===t.value?0:qn()),A=e.computed((()=>"q-layout q-layout--"+(!0===n.container?"containerized":"standard"))),p=e.computed((()=>!1===n.container?{minHeight:i.screen.height+"px"}:null)),f=e.computed((()=>0!==d.value?{[!0===i.lang.rtl?"left":"right"]:`${d.value}px`}:null)),h=e.computed((()=>0!==d.value?{[!0===i.lang.rtl?"right":"left"]:0,[!0===i.lang.rtl?"left":"right"]:`-${d.value}px`,width:`calc(100% + ${d.value}px)`}:null));function m(e){if(!0===n.container||!0!==document.qScrollPrevented){const t={position:e.position.top,direction:e.direction,directionChanged:e.directionChanged,inflectionPoint:e.inflectionPoint.top,delta:e.delta.top};u.value=t,void 0!==n.onScroll&&r("scroll",t)}}function v(e){const{height:t,width:o}=e;let i=!1;l.value!==t&&(i=!0,l.value=t,void 0!==n.onScrollHeight&&r("scroll-height",t),y()),s.value!==o&&(i=!0,s.value=o),!0===i&&void 0!==n.onResize&&r("resize",e)}function g({height:e}){c.value!==e&&(c.value=e,y())}function y(){if(!0===n.container){const e=l.value>c.value?qn():0;d.value!==e&&(d.value=e)}}let b;const w={instances:{},view:e.computed((()=>n.view)),isContainer:e.computed((()=>n.container)),rootRef:a,height:l,containerHeight:c,scrollbarWidth:d,totalWidth:e.computed((()=>s.value+d.value)),rows:e.computed((()=>{const e=n.view.toLowerCase().split(" ");return{top:e[0].split(""),middle:e[1].split(""),bottom:e[2].split("")}})),header:e.reactive({size:0,offset:0,space:!1}),right:e.reactive({size:300,offset:0,space:!1}),footer:e.reactive({size:0,offset:0,space:!1}),left:e.reactive({size:300,offset:0,space:!1}),scroll:u,animate(){void 0!==b?clearTimeout(b):document.body.classList.add("q-body--layout-animate"),b=setTimeout((()=>{document.body.classList.remove("q-body--layout-animate"),b=void 0}),155)},update(e,t,n){w[e][t]=n}};return e.provide(re,w),()=>{const t=Pe(o.default,[e.h(Os,{onScroll:m}),e.h(xr,{onResize:v})]),r=e.h("div",{class:A.value,style:p.value,ref:!0===n.container?void 0:a},t);return!0===n.container?e.h("div",{class:"q-layout-container overflow-hidden",ref:a},[e.h(xr,{onResize:g}),e.h("div",{class:"absolute-full",style:f.value},[e.h("div",{class:"scroll",style:h.value},[r])])]):r}}});const Qs=["horizontal","vertical","cell","none"];var qs=e.defineComponent({name:"QMarkupTable",props:{...rt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Qs.includes(e)}},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>`q-markup-table q-table__container q-table__card q-table--${t.separator}-separator`+(!0===r.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===t.dense?" q-table--dense":"")+(!0===t.flat?" q-table--flat":"")+(!0===t.bordered?" q-table--bordered":"")+(!0===t.square?" q-table--square":"")+(!1===t.wrapCells?" q-table--no-wrap":"")));return()=>e.h("div",{class:i.value},[e.h("table",{class:"q-table"},Me(n.default))])}}),Ms=e.defineComponent({name:"QNoSsr",props:{tag:{type:String,default:"div"},placeholder:String},setup(t,{slots:n}){const o=Br();return()=>{const r={};if(!0===o.value){const o=Me(n.default);return void 0===o?o:o.length>1?e.h(t.tag,r,o):o[0]}r.class="q-no-ssr-placeholder";const i=Me(n.placeholder);return void 0!==i?i.length>1?e.h(t.tag,r,i):i[0]:void 0!==t.placeholder?e.h(t.tag,r,t.placeholder):void 0}}});const Is=e.h("svg",{class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24","aria-hidden":"true"},[e.h("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}
2),e.h("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]);var Ps=e.defineComponent({name:"QRadio",props:{...rt,...Qe,...go,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),i=it(t,r.$q),a=qe(t,er),l=e.ref(null),{refocusTargetEl:s,refocusTarget:u}=Xo(t,l),c=e.computed((()=>t.modelValue===t.val)),d=e.computed((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===t.disable?" disabled":"")+(!0===i.value?" q-radio--dark":"")+(!0===t.dense?" q-radio--dense":"")+(!0===t.leftLabel?" reverse":""))),A=e.computed((()=>{const e=void 0===t.color||!0!==t.keepColor&&!0!==c.value?"":` text-${t.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===c.value?"truthy":"falsy"}${e}`})),p=e.computed((()=>!0===t.disable?-1:t.tabindex||0)),f=bo(e.computed((()=>{const e={type:"radio"};return void 0!==t.name&&Object.assign(e,{name:t.name,value:t.val}),e})),e.computed((()=>void 0!==t.name&&!0===c.value?{checked:!0}:{})));function h(e){void 0!==e&&(_(e),u(e)),!0!==t.disable&&!0!==c.value&&o("update:modelValue",t.val,e)}function m(e){13!==e.keyCode&&32!==e.keyCode||_(e)}function v(e){13!==e.keyCode&&32!==e.keyCode||h(e)}return Object.assign(r,{set:h}),()=>{const o=[Is];!0!==t.disable&&f(o,"unshift"," q-radio__native q-ma-none q-pa-none");const r=[e.h("div",{class:A.value,style:a.value},o)];null!==s.value&&r.push(s.value);const i=void 0!==t.label?Pe(n.default,[t.label]):Me(n.default);return void 0!==i&&r.push(e.h("div",{class:"q-radio__label q-anchor--skip"},i)),e.h("div",{ref:l,class:d.value,tabindex:p.value,role:"radio","aria-label":t.label,"aria-checked":!0===c.value?"true":"false","aria-disabled":!0===t.disable?"true":void 0,onClick:h,onKeydown:m,onKeyup:v},r)}}}),Ds=e.defineComponent({name:"QToggle",props:{...tr,icon:String,checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,iconColor:String},emits:nr,setup(t){function n(n,o){const r=e.computed((()=>(!0===n.value?t.checkedIcon:!0===o.value?t.indeterminateIcon:t.uncheckedIcon)||t.icon)),i=e.computed((()=>{if(!0===n.value)return t.iconColor}));return()=>[e.h("div",{class:"q-toggle__track"}),e.h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==r.value?[e.h(et,{name:r.value,color:i.value})]:void 0)]}return or("toggle",n)}});const Hs={radio:Ps,checkbox:ir,toggle:Ds},Rs=Object.keys(Hs);var js=e.defineComponent({name:"QOptionGroup",props:{...rt,modelValue:{required:!0},options:{type:Array,validator:e=>e.every((e=>"value"in e&&"label"in e))},name:String,type:{default:"radio",validator:e=>Rs.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(t,{emit:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=Array.isArray(t.modelValue);"radio"===t.type?!0===r&&console.error("q-option-group: model should not be array"):!1===r&&console.error("q-option-group: model should be array in your case");const i=it(t,o),a=e.computed((()=>Hs[t.type])),l=e.computed((()=>"q-option-group q-gutter-x-sm"+(!0===t.inline?" q-option-group--inline":""))),s=e.computed((()=>{const e={};return"radio"===t.type&&(e.role="radiogroup",!0===t.disable&&(e["aria-disabled"]="true")),e}));function u(e){n("update:modelValue",e)}return()=>e.h("div",{class:l.value,...s.value},t.options.map((n=>e.h("div",[e.h(a.value,{modelValue:t.modelValue,val:n.value,name:void 0===n.name?t.name:n.name,disable:t.disable||n.disable,label:n.label,leftLabel:void 0===n.leftLabel?t.leftLabel:n.leftLabel,color:void 0===n.color?t.color:n.color,checkedIcon:n.checkedIcon,uncheckedIcon:n.uncheckedIcon,dark:n.dark||i.value,size:void 0===n.size?t.size:n.size,dense:t.dense,keepColor:void 0===n.keepColor?t.keepColor:n.keepColor,"onUpdate:modelValue":u})]))))}}),$s=e.defineComponent({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(t,{slots:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=e.inject(re);e.inject(ie,(()=>{console.error("QPage needs to be child of QPageContainer")}));const i=e.computed((()=>{const e=(!0===r.header.space?r.header.size:0)+(!0===r.footer.space?r.footer.size:0);if("function"==typeof t.styleFn){const n=!0===r.isContainer.value?r.containerHeight.value:o.screen.height;return t.styleFn(e,n)}return{minHeight:!0===r.isContainer.value?r.containerHeight.value-e+"px":0===o.screen.height?0!==e?`calc(100vh - ${e}px)`:"100vh":o.screen.height-e+"px"}})),a=e.computed((()=>"q-page "+(!0===t.padding?" q-layout-padding":"")));return()=>e.h("main",{class:a.value,style:i.value},Me(n.default))}}),zs=e.defineComponent({name:"QPageContainer",setup(t,{slots:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=e.inject(re,(()=>{console.error("QPageContainer needs to be child of QLayout")}));e.provide(ie,!0);const i=e.computed((()=>{const e={};return!0===r.header.space&&(e.paddingTop=`${r.header.size}px`),!0===r.right.space&&(e["padding"+(!0===o.lang.rtl?"Left":"Right")]=`${r.right.size}px`),!0===r.footer.space&&(e.paddingBottom=`${r.footer.size}px`),!0===r.left.space&&(e["padding"+(!0===o.lang.rtl?"Right":"Left")]=`${r.left.size}px`),e}));return()=>e.h("div",{class:"q-page-container",style:i.value},Me(n.default))}});const Ks={position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,validator:e=>2===e.length},expand:Boolean};function Ws(){const{props:t,proxy:n}=e.getCurrentInstance(),{$q:o}=n,r=e.inject(re,(()=>{console.error("QPageSticky needs to be child of QLayout")})),i=e.computed((()=>{const e=t.position;return{top:e.indexOf("top")>-1,right:e.indexOf("right")>-1,bottom:e.indexOf("bottom")>-1,left:e.indexOf("left")>-1,vertical:"top"===e||"bottom"===e,horizontal:"left"===e||"right"===e}})),a=e.computed((()=>r.header.offset)),l=e.computed((()=>r.right.offset)),s=e.computed((()=>r.footer.offset)),u=e.computed((()=>r.left.offset)),c=e.computed((()=>{let e=0,n=0;const r=i.value,c=!0===o.lang.rtl?-1:1;!0===r.top&&0!==a.value?n=`${a.value}px`:!0===r.bottom&&0!==s.value&&(n=-s.value+"px"),!0===r.left&&0!==u.value?e=c*u.value+"px":!0===r.right&&0!==l.value&&(e=-c*l.value+"px");const d={transform:`translate(${e}, ${n})`};return t.offset&&(d.margin=`${t.offset[1]}px ${t.offset[0]}px`),!0===r.vertical?(0!==u.value&&(d[!0===o.lang.rtl?"right":"left"]=`${u.value}px`),0!==l.value&&(d[!0===o.lang.rtl?"left":"right"]=`${l.value}px`)):!0===r.horizontal&&(0!==a.value&&(d.top=`${a.value}px`),0!==s.value&&(d.bottom=`${s.value}px`)),d})),d=e.computed((()=>`q-page-sticky row flex-center fixed-${t.position} q-page-sticky--`+(!0===t.expand?"expand":"shrink")));function A(n){const o=Me(n.default);return e.h("div",{class:d.value,style:c.value},!0===t.expand?o:[e.h("div",o)])}return{$layout:r,getStickyContent:A}}var Ys=e.defineComponent({name:"QPageScroller",props:{...Ks,scrollOffset:{type:Number,default:1e3}
2,reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},emits:["click"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),{$layout:i,getStickyContent:a}=Ws(),l=e.ref(null);let s;const u=e.computed((()=>i.height.value-(!0===i.isContainer.value?i.containerHeight.value:r.screen.height)));function c(){return!0===t.reverse?u.value-i.scroll.value.position>t.scrollOffset:i.scroll.value.position>t.scrollOffset}const d=e.ref(c());function A(){const e=c();d.value!==e&&(d.value=e)}function p(){!0===t.reverse?void 0===s&&(s=e.watch(u,A)):f()}function f(){void 0!==s&&(s(),s=void 0)}function h(e){On(_n(!0===i.isContainer.value?l.value:i.rootRef.value),!0===t.reverse?i.height.value:0,t.duration),o("click",e)}function m(){return!0===d.value?e.h("div",{ref:l,class:"q-page-scroller",onClick:h},a(n)):null}return e.watch(i.scroll,A),e.watch((()=>t.reverse),p),p(),e.onBeforeUnmount(f),()=>e.h(e.Transition,{name:"q-transition--fade"},m)}}),Gs=e.defineComponent({name:"QPageSticky",props:Ks,setup(e,{slots:t}){const{getStickyContent:n}=Ws();return()=>n(t)}}),Zs=e.defineComponent({name:"QPagination",props:{...rt,modelValue:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,activeColor:String,activeTextColor:String,inputStyle:[Array,String,Object],inputClass:[Array,String,Object],size:String,disable:Boolean,input:Boolean,iconPrev:String,iconNext:String,iconFirst:String,iconLast:String,toFn:Function,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:e=>e>=0},ripple:{type:[Boolean,Object],default:null},round:Boolean,rounded:Boolean,flat:Boolean,outline:Boolean,unelevated:Boolean,push:Boolean,glossy:Boolean,dense:Boolean,padding:{type:String,default:"3px 2px"}},emits:["update:modelValue"],setup(t,{emit:n}){const{proxy:o}=e.getCurrentInstance(),{$q:r}=o,i=it(t,r),a=e.ref(null),l=e.computed({get:()=>t.modelValue,set:e=>{if(e=parseInt(e,10),t.disable||isNaN(e))return;const o=we(e,t.min,t.max);t.modelValue!==o&&n("update:modelValue",o)}});function s(e,t){return[!0,!1].includes(e)?e:t}e.watch((()=>t.min+t.max),(()=>{l.value=t.modelValue}));const u=e.computed((()=>"q-pagination row no-wrap items-center"+(!0===t.disable?" disabled":""))),c=e.computed((()=>l.value+" / "+t.max)),d=e.computed((()=>s(t.boundaryLinks,t.input))),A=e.computed((()=>s(t.boundaryNumbers,!t.input))),p=e.computed((()=>s(t.directionLinks,t.input))),f=e.computed((()=>s(t.ellipses,!t.input))),h=e.computed((()=>{const e=[t.iconFirst||r.iconSet.pagination.first,t.iconPrev||r.iconSet.pagination.prev,t.iconNext||r.iconSet.pagination.next,t.iconLast||r.iconSet.pagination.last];return!0===r.lang.rtl?e.reverse():e})),m=e.computed((()=>!0===t.disable?{"aria-disabled":"true"}:{})),v=e.computed((()=>({round:t.round,rounded:t.rounded,outline:t.outline,unelevated:t.unelevated,push:t.push,glossy:t.glossy,dense:t.dense,padding:t.padding,color:t.color,flat:!0,size:t.size,ripple:null===t.ripple||t.ripple}))),g=e.computed((()=>({flat:t.flat,color:t.activeColor||t.color,textColor:t.activeTextColor||t.textColor})));function y(e){l.value=e}function b(e){l.value=l.value+e}function w(){l.value=a.value,a.value=null}function L(t,n){const o={...v.value,...t};return void 0!==n&&(void 0!==o.toFn?o.to=o.toFn(n):o.onClick=()=>y(n)),e.h(Kt,o)}return Object.assign(o,{set:y,setByOffset:b}),()=>{const n=[],o=[],r=[];if(d.value&&(n.push(L({key:"bls",disable:t.disable||t.modelValue<=t.min,icon:h.value[0]},t.min)),o.unshift(L({key:"ble",disable:t.disable||t.modelValue>=t.max,icon:h.value[3]},t.max))),p.value&&(n.push(L({key:"bdp",disable:t.disable||t.modelValue<=t.min,icon:h.value[1]},t.modelValue-1)),o.unshift(L({key:"bdn",disable:t.disable||t.modelValue>=t.max,icon:h.value[2]},t.modelValue+1))),!0===t.input)r.push(e.h(Ls,{class:"inline",style:{width:c.value.length/1.5+"em"},type:"number",dense:!0,value:a.value,disable:t.disable,dark:i.value,borderless:!0,inputClass:t.inputClass,inputStyle:t.inputStyle,placeholder:c.value,min:t.min,max:t.max,"onUpdate:modelValue"(e){a.value=e},onKeyup(e){!0===K(e,13)&&w()},onBlur:w}));else{let e=Math.max(t.maxPages,1+(f.value?2:0)+(A.value?2:0)),i=t.min,a=t.max,l=!1,s=!1,u=!1,
2c=!1;t.maxPages&&e<t.max-t.min+1&&(e=1+2*Math.floor(e/2),i=Math.max(t.min,Math.min(t.max-e+1,t.modelValue-Math.floor(e/2))),a=Math.min(t.max,i+e-1),A.value&&(u=!0,i+=1),f.value&&i>t.min+(A.value?1:0)&&(l=!0,i+=1),A.value&&(c=!0,a-=1),f.value&&a<t.max-(A.value?1:0)&&(s=!0,a-=1));const d={minWidth:`${Math.max(2,String(t.max).length)}em`};if(u){const e=t.min===t.modelValue;n.push(L({key:"bns",style:d,disable:t.disable,flat:!e,textColor:e?t.textColor:void 0,label:t.min},t.min))}if(c){const e=t.max===t.modelValue;o.unshift(L({key:"bne",style:d,disable:t.disable,flat:!e,textColor:e?t.textColor:void 0,label:t.max},t.max))}l&&n.push(L({key:"bes",style:d,disable:t.disable,label:"â¦",ripple:!1},i-1)),s&&o.unshift(L({key:"bee",style:d,disable:t.disable,label:"â¦",ripple:!1},a+1));for(let e=i;e<=a;e++){const n={key:`bpg${e}`,style:d,disable:t.disable,label:e};e===t.modelValue&&Object.assign(n,g.value),r.push(L(n,e))}}return e.h("div",{class:u.value,...m.value},[n,e.h("div",{class:"row justify-center"},[r]),o])}}});function Js(e){let t,n,o=!1;function r(){n=arguments,!0!==o&&(o=!0,t=requestAnimationFrame((()=>{e.apply(this,n),n=void 0,o=!1})))}return r.cancel=()=>{window.cancelAnimationFrame(t),o=!1},r}const{passive:Xs}=p;var eu=e.defineComponent({name:"QParallax",props:{src:String,height:{type:Number,default:500},speed:{type:Number,default:1,validator:e=>e>=0&&e<=1},scrollTarget:{default:void 0},onScroll:Function},setup(t,{slots:n,emit:o}){const r=e.ref(0),i=e.ref(null),a=e.ref(null),l=e.ref(null);let s,u,c,d,A,p;e.watch((()=>t.height),(()=>{!0===s&&h()})),e.watch((()=>t.scrollTarget),(()=>{!0===s&&(y(),g())}));let f=e=>{r.value=e,void 0!==t.onScroll&&o("scroll",e)};function h(){let e,n,o;p===window?(e=0,n=window.innerHeight,o=n):(e=_t(p).top,n=xt(p),o=e+n);const r=_t(i.value).top,a=r+t.height;if(void 0!==A||a>e&&r<o){const e=(o-r)/(t.height+n);m((c-t.height)*e*t.speed),f(e)}}let m=e=>{u.style.transform=`translate3d(-50%,${Math.round(e)}px,0)`};function v(){c=u.naturalHeight||u.videoHeight||xt(u),!0===s&&h()}function g(){s=!0,p=_n(i.value,t.scrollTarget),p.addEventListener("scroll",h,Xs),window.addEventListener("resize",d,Xs),h()}function y(){!0===s&&(s=!1,p.removeEventListener("scroll",h,Xs),window.removeEventListener("resize",d,Xs),p=void 0)}return e.onMounted((()=>{m=Js(m),f=Js(f),d=Js(v),u=void 0!==n.media?a.value.children[0]:l.value,u.onload=u.onloadstart=u.loadedmetadata=v,v(),u.style.display="initial",void 0!==window.IntersectionObserver?(A=new IntersectionObserver((e=>{(!0===e[0].isIntersecting?g:y)()})),A.observe(i.value)):g()})),e.onBeforeUnmount((()=>{y(),void 0!==A&&A.disconnect(),u.onload=u.onloadstart=u.loadedmetadata=null})),()=>e.h("div",{ref:i,class:"q-parallax",style:{height:`${t.height}px`}},[e.h("div",{ref:a,class:"q-parallax__media absolute-full"},void 0!==n.media?n.media():[e.h("img",{ref:l,src:t.src})]),e.h("div",{class:"q-parallax__content absolute-full column flex-center"},void 0!==n.content?n.content({percentScrolled:r.value}):Me(n.default))])}});function tu(e){const t=JSON.stringify(e);if(t)return JSON.parse(t)}var nu=e.defineComponent({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","before-show","show","before-hide","hide"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=e.ref(null),l=e.ref(""),s=e.ref("");let u=!1;const c=e.computed((()=>{const e={initialValue:l.value,validate:t.validate,set:d,cancel:A,updatePosition:p};return Object.defineProperty(e,"value",{get:()=>s.value,set:e=>{s.value=e}}),e}));function d(){!1!==t.validate(s.value)&&(!0===f()&&(o("save",s.value,l.value),o("update:modelValue",s.value)),h())}function A(){!0===f()&&o("cancel",s.value,l.value),h()}function p(){e.nextTick((()=>{a.value.updatePosition()}))}function f(){return!1===jo(s.value,l.value)}function h(){u=!0,a.value.hide()}function m(){u=!1,l.value=tu(t.modelValue),s.value=tu(t.modelValue),o("before-show")}function v(){o("show")}function g(){!1===u&&!0===f()&&(!0===t.autoSave&&!0===t.validate(s.value)?(o("save",s.value,l.value),o("update:modelValue",s.value)):o("cancel",s.value,l.value)),o("before-hide")}function y(){o("hide")}function b(){const o=void 0!==n.default?n.default(c.value).slice():[];return t.title&&o.unshift(e.h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},t.title)),!0===t.buttons&&o.push(e.h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[e.h(Kt,{flat:!0,color:t.color,label:t.labelCancel||i.lang.label.cancel,onClick:A}),e.h(Kt,{flat:!0,color:t.color,label:t.labelSet||i.lang.label.set,onClick:d})])),o}return Object.assign(r,{set:d,cancel:A,show(e){null!==a.value&&a.value.show(e)},hide(e){null!==a.value&&a.value.hide(e)},updatePosition:p}),()=>{if(!0!==t.disable)return e.h(mo,{ref:a,class:"q-popup-edit",cover:t.cover,onBeforeShow:m,onShow:v,onBeforeHide:g,onHide:y,onEscapeKey:A},b)}}}),ou=e.defineComponent({name:"QPopupProxy",props:{...Gt,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(t,{slots:n,emit:o,attrs:r}){const{proxy:i}=e.getCurrentInstance(),{$q:a}=i,l=e.ref(!1),s=e.ref(null),u=e.computed((()=>parseInt(t.breakpoint,10))),{canShow:c}=Zt({showing:l});function d(){return a.screen.width<u.value||a.screen.height<u.value?"dialog":"menu"}const A=e.ref(d());function p(e){l.value=!0,o("show",e)}function f(e){l.value=!1,A.value=d(),o("hide",e)}return e.watch((()=>d()),(e=>{!0!==l.value&&(A.value=e)})),Object.assign(i,{show(e){!0===c(e)&&s.value.show(e)},hide(e){s.value.hide(e)},toggle(e){s.value.toggle(e)}}),()=>{const o=Me(n.default),i="menu"===A.value&&void 0!==o&&void 0!==o[0]&&void 0!==o[0].type&&["QDate","QTime","QCarousel","QColor"].includes(o[0].type.name)?{cover:!0,maxHeight:"99vh"}:{},a={ref:s,...i,...r,onShow:p,onHide:f};let l;return"dialog"===A.value?l=qa:(l=mo,Object.assign(a,{target:t.target,contextMenu:t.contextMenu,noParentEvent:!0,separateClosePopup:!0})),e.h(l,a,(()=>o))}}});const ru={xs:2,sm:4,md:6,lg:10,xl:14};function iu(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}var au=e.defineComponent({name:"QLinearProgress",props:{...rt,...Qe,value:{type:Number,default:0}
2,buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,instantFeedback:Boolean},setup(t,{slots:n}){const{proxy:o}=e.getCurrentInstance(),r=it(t,o.$q),i=qe(t,ru),a=e.computed((()=>!0===t.indeterminate||!0===t.query)),l=e.computed((()=>"q-linear-progress"+(void 0!==t.color?` text-${t.color}`:"")+(!0===t.reverse||!0===t.query?" q-linear-progress--reverse":"")+(!0===t.rounded?" rounded-borders":""))),s=e.computed((()=>iu(void 0!==t.buffer?t.buffer:1,t.reverse,o.$q))),u=e.computed((()=>`q-linear-progress__track absolute-full q-linear-progress__track--with${!0===t.instantFeedback?"out":""}-transition q-linear-progress__track--`+(!0===r.value?"dark":"light")+(void 0!==t.trackColor?` bg-${t.trackColor}`:""))),c=e.computed((()=>iu(!0===a.value?1:t.value,t.reverse,o.$q))),d=e.computed((()=>`q-linear-progress__model absolute-full q-linear-progress__model--with${!0===t.instantFeedback?"out":""}-transition q-linear-progress__model--${!0===a.value?"in":""}determinate`)),A=e.computed((()=>({width:100*t.value+"%"}))),p=e.computed((()=>"q-linear-progress__stripe absolute-"+(!0===t.reverse?"right":"left")));return()=>{const o=[e.h("div",{class:u.value,style:s.value}),e.h("div",{class:d.value,style:c.value})];return!0===t.stripe&&!1===a.value&&o.push(e.h("div",{class:p.value,style:A.value})),e.h("div",{class:l.value,style:i.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===t.indeterminate?void 0:t.value},Pe(n.default,o))}}});const lu=40,su=20;var uu=e.defineComponent({name:"QPullToRefresh",props:{color:String,bgColor:String,icon:String,noMouse:Boolean,disable:Boolean,scrollTarget:{default:void 0}},emits:["refresh"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=e.ref("pull"),l=e.ref(0),s=e.ref(!1),u=e.ref(-lu),c=e.ref(!1),d=e.ref({}),A=e.computed((()=>({opacity:l.value,transform:`translateY(${u.value}px) rotate(${360*l.value}deg)`}))),p=e.computed((()=>"q-pull-to-refresh__puller row flex-center"+(!0===c.value?" q-pull-to-refresh__puller--animating":"")+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")));function f(e){if(!0===e.isFinal)return void(!0===s.value&&(s.value=!1,"pulled"===a.value?(a.value="refreshing",g({pos:su}),v()):"pull"===a.value&&g({pos:-lu,ratio:0})));if(!0===c.value||"refreshing"===a.value)return!1;if(!0===e.isFirst){if(0!==Sn(b)||"down"!==e.direction)return!0===s.value&&(s.value=!1,a.value="pull",g({pos:-lu,ratio:0})),!1;s.value=!0;const{top:t,left:n}=y.getBoundingClientRect();d.value={top:t+"px",left:n+"px",width:window.getComputedStyle(y).getPropertyValue("width")}}B(e.evt);const t=Math.min(140,Math.max(0,e.distance.y));u.value=t-lu,l.value=we(t/(su+lu),0,1);const n=u.value>su?"pulled":"pull";a.value!==n&&(a.value=n)}const h=e.computed((()=>{const e={down:!0,mightPrevent:!0};return!0!==t.noMouse&&(e.mouse=!0),[[mr,f,void 0,e]]})),m=e.computed((()=>"q-pull-to-refresh__content"+(!0===s.value?" no-pointer-events":"")));function v(){o("refresh",(()=>{g({pos:-lu,ratio:0},(()=>{a.value="pull"}))}))}function g({pos:e,ratio:t},n){c.value=!0,u.value=e,void 0!==t&&(l.value=t),clearTimeout(w),w=setTimeout((()=>{c.value=!1,n&&n()}),300)}let y,b,w;function L(){b=_n(y,t.scrollTarget)}return Object.assign(r,{trigger:v,updateScrollTarget:L}),e.watch((()=>t.scrollTarget),L),e.onMounted((()=>{y=r.$el,L()})),e.onBeforeUnmount((()=>{clearTimeout(w)})),()=>He("div",{class:"q-pull-to-refresh"},[e.h("div",{class:m.value},Me(n.default)),e.h("div",{class:"q-pull-to-refresh__puller-container fixed row flex-center no-pointer-events z-top",style:d.value},[e.h("div",{class:p.value,style:A.value},["refreshing"!==a.value?e.h(et,{name:t.icon||i.iconSet.pullToRefresh.icon,color:t.color,size:"32px"}):e.h(Bt,{size:"24px",color:t.color})])])],"main",!1===t.disable,(()=>h.value))}});const cu={MIN:0,RANGE:1,MAX:2};var du=e.defineComponent({name:"QRange",props:{...go,...br,modelValue:{type:Object,default:()=>({min:null,max:null}),validator:e=>"min"in e&&"max"in e},name:String,dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelTextColor:String,rightLabelColor:String,rightLabelTextColor:String,leftLabelValue:[String,Number],rightLabelValue:[String,Number]},emits:wr,setup(t,{emit:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=bo(e.computed((()=>({type:"hidden",name:t.name,value:`${t.modelValue.min}|${t.modelValue.max}`})))),i=e.ref(null),a=e.ref({min:null===t.modelValue.min?t.min:t.modelValue.min,max:null===t.modelValue.max?t.max:t.modelValue.max}),l=e.ref(null),s=e.ref(0),u=e.ref(0),{state:c,methods:d}=Lr({updateValue:b,updatePosition:L,getDragging:w}),A=e.computed((()=>0===c.minMaxDiff.value?0:(a.value.min-t.min)/c.minMaxDiff.value)),p=e.computed((()=>!0===c.active.value?s.value:A.value)),f=e.computed((()=>0===c.minMaxDiff.value?0:(a.value.max-t.min)/c.minMaxDiff.value)),h=e.computed((()=>!0===c.active.value?u.value:f.value)),m=e.computed((()=>({[c.positionProp.value]:100*p.value+"%",[c.sizeProp.value]:100*(h.value-p.value)+"%"}))),v=e.computed((()=>
2{if(!0!==c.editable.value)return{};if(!0===o.platform.is.mobile)return{onClick:d.onMobileClick};const e={onMousedown:d.onActivate};return!0===t.dragOnlyRange&&Object.assign(e,{onFocus:()=>{C("both")},onBlur:d.onBlur,onKeydown:B,onKeyup:d.onKeyup}),e})),g={domRef:e.ref(null),events:e.computed((()=>!0===c.editable.value&&!0!==o.platform.is.mobile&&!0!==t.dragOnlyRange?{onFocus:()=>{C("min")},onBlur:d.onBlur,onKeydown:B,onKeyup:d.onKeyup}:{})),thumbStyle:e.computed((()=>({[c.positionProp.value]:100*p.value+"%","z-index":"min"===l.value?2:void 0}))),thumbClass:e.computed((()=>!1===c.preventFocus.value&&"min"===c.focus.value?" q-slider--focus":"")),pinClass:e.computed((()=>{const e=t.leftLabelColor||t.labelColor;return e?` text-${e}`:""})),pinTextClass:e.computed((()=>{const e=t.leftLabelTextColor||t.labelTextColor;return e?` text-${e}`:""})),pinStyle:e.computed((()=>{const e=!0===t.reverse?-p.value:p.value-1;return d.getPinStyle(e,p.value)})),label:e.computed((()=>void 0!==t.leftLabelValue?t.leftLabelValue:a.value.min))},y={domRef:e.ref(null),events:e.computed((()=>!0===c.editable.value&&!0!==o.platform.is.mobile&&!0!==t.dragOnlyRange?{onFocus:()=>{C("max")},onBlur:d.onBlur,onKeydown:B,onKeyup:d.onKeyup}:{})),thumbStyle:e.computed((()=>({[c.positionProp.value]:100*h.value+"%"}))),thumbClass:e.computed((()=>!1===c.preventFocus.value&&"max"===c.focus.value?" q-slider--focus":"")),pinClass:e.computed((()=>{const e=t.rightLabelColor||t.labelColor;return e?` text-${e}`:""})),pinTextClass:e.computed((()=>{const e=t.rightLabelTextColor||t.labelTextColor;return e?` text-${e}`:""})),pinStyle:e.computed((()=>{const e=!0===t.reverse?-h.value:h.value-1;return d.getPinStyle(e,h.value)})),label:e.computed((()=>void 0!==t.rightLabelValue?t.rightLabelValue:a.value.max))};function b(e){a.value.min===t.modelValue.min&&a.value.max===t.modelValue.max||n("update:modelValue",{...a.value}),!0===e&&n("change",{...a.value})}function w(e){const{left:n,top:o,width:r,height:s}=i.value.getBoundingClientRect(),u=!0===t.dragOnlyRange?0:!0===t.vertical?g.domRef.value.offsetHeight/(2*s):g.domRef.value.offsetWidth/(2*r),d={left:n,top:o,width:r,height:s,valueMin:a.value.min,valueMax:a.value.max,ratioMin:A.value,ratioMax:f.value},p=gr(e,d,c.isReversed.value,t.vertical);let h;return!0!==t.dragOnlyRange&&p<d.ratioMin+u?h=cu.MIN:!0===t.dragOnlyRange||p<d.ratioMax-u?!0===t.dragRange||!0===t.dragOnlyRange?(h=cu.RANGE,Object.assign(d,{offsetRatio:p,offsetModel:yr(p,t.min,t.max,t.step,c.decimals.value),rangeValue:d.valueMax-d.valueMin,rangeRatio:d.ratioMax-d.ratioMin})):h=d.ratioMax-p<p-d.ratioMin?cu.MAX:cu.MIN:h=cu.MAX,d.type=h,l.value=null,d}function L(e,n=c.dragging.value){const o=gr(e,n,c.isReversed.value,t.vertical),r=yr(o,t.min,t.max,t.step,c.decimals.value);let i;switch(n.type){case cu.MIN:o<=n.ratioMax?(i={minR:o,maxR:n.ratioMax,min:r,max:n.valueMax},l.value="min"):(i={minR:n.ratioMax,maxR:o,min:n.valueMax,max:r},l.value="max");break;case cu.MAX:o>=n.ratioMin?(i={minR:n.ratioMin,maxR:o,min:n.valueMin,max:r},l.value="max"):(i={minR:o,maxR:n.ratioMin,min:r,max:n.valueMin},l.value="min");break;case cu.RANGE:const e=o-n.offsetRatio,a=we(n.ratioMin+e,0,1-n.rangeRatio),s=r-n.offsetModel,u=we(n.valueMin+s,t.min,t.max-n.rangeValue);i={minR:a,maxR:a+n.rangeRatio,min:parseFloat(u.toFixed(c.decimals.value)),max:parseFloat((u+n.rangeValue).toFixed(c.decimals.value))}}a.value={min:i.min,max:i.max},null!==a.value.min&&null!==a.value.max||(a.value.min=i.min||t.min,a.value.max=i.max||t.max),!0!==t.snap||0===t.step?(s.value=i.minR,u.value=i.maxR):(s.value=0===c.minMaxDiff.value?0:(a.value.min-t.min)/c.minMaxDiff.value,u.value=0===c.minMaxDiff.value?0:(a.value.max-t.min)/c.minMaxDiff.value)}function C(e){c.focus.value=e}function B(e){if(!vr.includes(e.keyCode))return;_(e);const n=([34,33].includes(e.keyCode)?10:1)*t.step,o=[34,37,40].includes(e.keyCode)?-n:n;if(t.dragOnlyRange){const e=t.dragOnlyRange?a.value.max-a.value.min:0,n=we(parseFloat((a.value.min+o).toFixed(c.decimals.value)),t.min,t.max-e);a.value={min:n,max:parseFloat((n+e).toFixed(c.decimals.value))}}else{if(!1===c.focus.value)return;{const e=c.focus.value;a.value={...a.value,[e]:we(parseFloat((a.value[e]+o).toFixed(c.decimals.value)),"min"===e?t.min:a.value.min,"max"===e?t.max:a.value.max)}}}b()}function k(n){const o=[d.getThumbSvg(),e.h("div",{class:"q-slider__focus-ring"})];return!0!==t.label&&!0!==t.labelAlways||o.push(e.h("div",{class:`q-slider__pin q-slider__pin${c.axis.value} absolute`+n.pinClass.value,style:n.pinStyle.value.pin},[e.h("div",{class:`q-slider__pin-text-container q-slider__pin-text-container${c.axis.value}`,style:n.pinStyle.value.pinTextContainer},[e.h("span",{class:"q-slider__pin-text"+n.pinTextClass.value},n.label.value)])]),e.h("div",{class:`q-slider__arrow q-slider__arrow${
2c.axis.value}`+n.pinClass.value})),e.h("div",{ref:n.domRef,class:`q-slider__thumb-container q-slider__thumb-container${c.axis.value} absolute non-selectable`+n.thumbClass.value,style:n.thumbStyle.value,...n.events.value,tabindex:!0!==t.dragOnlyRange?c.tabindex.value:null},o)}return e.watch((()=>t.modelValue.min),(e=>{a.value.min=null===e?t.min:e})),e.watch((()=>t.modelValue.max),(e=>{a.value.max=null===e?t.max:e})),e.watch((()=>t.min),(e=>{a.value.min<e&&(a.value.min=e),a.value.max<e&&(a.value.max=e)})),e.watch((()=>t.max),(e=>{a.value.min>e&&(a.value.min=e),a.value.max>e&&(a.value.max=e)})),()=>{const n=[e.h("div",{class:`q-slider__track q-slider__track${c.axis.value} absolute`,style:m.value})];!0===t.markers&&n.push(e.h("div",{class:`q-slider__track-markers q-slider__track-markers${c.axis.value} absolute-full fit`,style:c.markerStyle.value}));const a=[e.h("div",{class:`q-slider__track-container q-slider__track-container${c.axis.value} absolute`},n),k(g),k(y)];return void 0!==t.name&&!0!==t.disable&&r(a,"push"),He("div",{ref:i,class:"q-range "+c.classes.value+(null===t.modelValue.min||null===t.modelValue.max?" q-slider--no-value":""),...c.attributes.value,"aria-valuenow":t.modelValue.min+"|"+t.modelValue.max,tabindex:!0===t.dragOnlyRange&&!0!==o.platform.is.mobile?c.tabindex.value:null,...v.value},a,"slide",c.editable.value,(()=>c.panDirective.value))}}}),Au=e.defineComponent({name:"QRating",props:{...Qe,...go,modelValue:{type:Number,required:!0},max:{type:[String,Number],default:5},icon:[String,Array],iconHalf:[String,Array],iconSelected:[String,Array],color:[String,Array],colorHalf:[String,Array],colorSelected:[String,Array],noReset:Boolean,noDimming:Boolean,readonly:Boolean,disable:Boolean},emits:["update:modelValue"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=qe(t),a=bo(yo(t)),l=e.ref(0);let s={};const u=e.computed((()=>!0!==t.readonly&&!0!==t.disable)),c=e.computed((()=>`q-rating row inline items-center q-rating--${!0===u.value?"":"non-"}editable`+(!0===t.noDimming?" q-rating--no-dimming":"")+(!0===t.disable?" disabled":"")+(void 0!==t.color&&!1===Array.isArray(t.color)?` text-${t.color}`:""))),d=e.computed((()=>{const e=!0===Array.isArray(t.icon)?t.icon.length:0,n=!0===Array.isArray(t.iconSelected)?t.iconSelected.length:0,o=!0===Array.isArray(t.iconHalf)?t.iconHalf.length:0,r=!0===Array.isArray(t.color)?t.color.length:0,i=!0===Array.isArray(t.colorSelected)?t.colorSelected.length:0,a=!0===Array.isArray(t.colorHalf)?t.colorHalf.length:0;return{iconLen:e,icon:e>0?t.icon[e-1]:t.icon,selIconLen:n,selIcon:n>0?t.iconSelected[n-1]:t.iconSelected,halfIconLen:o,halfIcon:o>0?t.iconHalf[n-1]:t.iconHalf,colorLen:r,color:r>0?t.color[r-1]:t.color,selColorLen:i,selColor:i>0?t.colorSelected[i-1]:t.colorSelected,halfColorLen:a,halfColor:a>0?t.colorHalf[a-1]:t.colorHalf}})),A=e.computed((()=>!0===t.disable?{"aria-disabled":"true"}:!0===t.readonly?{"aria-readonly":"true"}:void 0));function p(e){if(!0===u.value){const n=we(parseInt(e,10),1,parseInt(t.max,10)),r=!0!==t.noReset&&t.modelValue===n?0:n;r!==t.modelValue&&o("update:modelValue",r),l.value=0}}function f(e){!0===u.value&&(l.value=e)}function h(e,t){switch(e.keyCode){case 13:case 32:return p(t),_(e);case 37:case 40:return s["rt"+(t-1)]&&s["rt"+(t-1)].$el.focus(),_(e);case 39:case 38:return s[`rt${t+1}`]&&s[`rt${t+1}`].$el.focus(),_(e)}}function m(){l.value=0}return e.onBeforeUpdate((()=>{s={}})),()=>{const o=[],v=!0===u.value?0:null,g=d.value,y=Math.ceil(t.modelValue),b=void 0===t.iconHalf||y===t.modelValue?-1:y;for(let i=1;i<=t.max;i++){const a=0===l.value&&t.modelValue>=i||l.value>0&&l.value>=i,u=b===i&&l.value<i,c=l.value>0&&(!0===u?y:t.modelValue)>=i&&l.value<i,d=!0===u?i<=g.halfIconLen?t.iconHalf[i-1]:g.halfIcon:void 0===g.selIcon||!0!==a&&!0!==c?i<=g.iconLen?t.icon[i-1]:g.icon:i<=g.selIconLen?t.iconSelected[i-1]:g.selIcon,A=!0===u?i<=g.halfColorLen?t.colorHalf[i-1]:g.halfColor:void 0!==g.selColor&&!0===a?i<=g.selColorLen?t.colorSelected[i-1]:g.selColor:i<=g.colorLen?t.color[i-1]:g.color,w="q-rating__icon"+(!0===a||!0===u?" q-rating__icon--active":"")+(!0===c?" q-rating__icon--exselected":"")+(l.value===i?" q-rating__icon--hovered":"")+(void 0!==A?` text-${A}`:"");o.push(e.h(et,{key:i,ref:e=>{s[`rt${i}`]=e},class:w,name:d||r.iconSet.rating.icon,tabindex:v,onClick(){p(i)},onMouseover(){f(i)},onMouseout:m,onFocus(){f(i)},onBlur:m,onKeyup(e){h(e,i)}},n[`tip-${i}`]))}return void 0!==t.name&&!0!==t.disable&&a(o,"push"),e.h("div",{class:c.value,style:i.value,...A.value},o)}}}),pu=e.defineComponent({name:"QResponsive",props:ts,setup(t,{slots:n}){const o=ns(t);return()=>e.h("div",{class:"q-responsive"},[e.h("div",{class:"q-responsive__filler overflow-hidden"},[e.h("div",{style:o.value})]),e.h("div",{class:"q-responsive__content absolute-full fit"},Me(n.default))])}});const fu=["vertical","horizontal"],hu={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}};var mu=e.defineComponent({name:"QScrollArea",props:{...rt,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(t,{slots:n,emit:o}){const r=e.ref(!1),i=e.ref(!1),a=e.ref(!1),l={vertical:e.ref(0),horizontal:e.ref(0)},s={vertical:{ref:e.ref(null),position:e.ref(0),size:e.ref(0)},horizontal:{ref:e.ref(null),position:e.ref(0),size:e.ref(0)}},u=e.getCurrentInstance(),c=it(t,u.proxy.$q);let d,A;const p=e.ref(null),f=e.computed((()=>"q-scrollarea"+(!0===c.value?" q-scrollarea--dark":"")));s.vertical.percentage=e.computed((()=>{const e=s.vertical.size.value-l.vertical.value;if(e<=0)return 0;const t=we(s.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),s.vertical.thumbHidden=e.computed((()=>!0!==(null===t.visible?a.value:t.visible)&&!1===r.value&&!1===i.value||s.vertical.size.value<=l.vertical.value+1)),s.vertical.thumbSize=e.computed((()=>Math.round(we(l.vertical.value*l.vertical.value/s.vertical.size.value,50,l.vertical.value)))),s.vertical.style=e.computed((()=>{const e=s.vertical.thumbSize.value,n=s.vertical.percentage.value*(l.vertical.value-e);return{...t.thumbStyle,...t.verticalThumbStyle,top:`${n}px`,height:`${e}px`}})),s.vertical.thumbClass=e.computed((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===s.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),s.vertical.barClass=e.computed((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===s.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),s.horizontal.percentage=e.computed((()=>{const e=s.horizontal.size.value-l.horizontal.value;if(e<=0)return 0;const t=we(s.horizontal.position.value/e,0,1);return Math.round(1e4*t)/1e4})),s.horizontal.thumbHidden=e.computed((()=>!0!==(null===t.visible?a.value:t.visible)&&!1===r.value&&!1===i.value||s.horizontal.size.value<=l.horizontal.value+1)),s.horizontal.thumbSize=e.computed((()=>Math.round(we(l.horizontal.value*l.horizontal.value/s.horizontal.size.value,50,l.horizontal.value)))),s.horizontal.style=e.computed((()=>{const e=s.horizontal.thumbSize.value,n=s.horizontal.percentage.value*(l.horizontal.value-e);return{...t.thumbStyle,...t.horizontalThumbStyle,left:`${n}px`,width:`${e}px`}})),s.horizontal.thumbClass=e.computed((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===s.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),s.horizontal.barClass=e.computed((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===s.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const h=e.computed((()=>!0===s.vertical.thumbHidden.value||!0===s.horizontal.thumbHidden.value?t.contentStyle:t.contentActiveStyle)),m=[[mr,e=>{B(e,"vertical")}
2,void 0,{vertical:!0,prevent:!0,mouse:!0,mouseAllDir:!0}]],v=[[mr,e=>{B(e,"horizontal")},void 0,{horizontal:!0,prevent:!0,mouse:!0,mouseAllDir:!0}]];function g(){const e={};return fu.forEach((t=>{const n=s[t];e[t+"Position"]=n.position.value,e[t+"Percentage"]=n.percentage.value,e[t+"Size"]=n.size.value,e[t+"ContainerSize"]=l[t].value})),e}const y=T((()=>{const e=g();e.ref=u.proxy,o("scroll",e)}),0);function b(e,t,n){!1!==fu.includes(e)?("vertical"===e?On:Un)(p.value,t,n):console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)")}function w({height:e,width:t}){let n=!1;l.vertical.value!==e&&(l.vertical.value=e,n=!0),l.horizontal.value!==t&&(l.horizontal.value=t,n=!0),!0===n&&S()}function L({position:e}){let t=!1;s.vertical.position.value!==e.top&&(s.vertical.position.value=e.top,t=!0),s.horizontal.position.value!==e.left&&(s.horizontal.position.value=e.left,t=!0),!0===t&&S()}function C({height:e,width:t}){s.horizontal.size.value!==t&&(s.horizontal.size.value=t,S()),s.vertical.size.value!==e&&(s.vertical.size.value=e,S())}function B(e,t){const n=s[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;A=n.position.value,i.value=!0}else if(!0!==i.value)return;!0===e.isFinal&&(i.value=!1);const o=hu[t],r=l[t].value,a=(n.size.value-r)/(r-n.thumbSize.value),u=e.distance[o.dist];E(A+(e.direction===o.dir?1:-1)*u*a,t)}function _(e,t){const n=s[t];!0!==n.thumbHidden.value&&(E((e[hu[t].offset]-n.thumbSize.value/2)/l[t].value*n.size.value,t),null!==n.ref.value&&n.ref.value.dispatchEvent(new MouseEvent(e.type,e)))}function k(e){_(e,"vertical")}function x(e){_(e,"horizontal")}function S(){!0===r.value?clearTimeout(d):r.value=!0,d=setTimeout((()=>{r.value=!1}),t.delay),void 0!==t.onScroll&&y()}function E(e,t){p.value[hu[t].scroll]=e}function N(){a.value=!0}function F(){a.value=!1}return Object.assign(u.proxy,{getScrollTarget:()=>p.value,getScroll:g,getScrollPosition:()=>({top:s.vertical.position.value,left:s.horizontal.position.value}),getScrollPercentage:()=>({top:s.vertical.percentage.value,left:s.horizontal.percentage.value}),setScrollPosition:b,setScrollPercentage(e,t,n){b(e,t*(s[e].size.value-l[e].value),n)}}),()=>e.h("div",{class:f.value,onMouseenter:N,onMouseleave:F},[e.h("div",{ref:p,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==t.tabindex?t.tabindex:void 0},[e.h("div",{class:"q-scrollarea__content absolute",style:h.value},Pe(n.default,[e.h(xr,{onResize:C})])),e.h(Os,{axis:"both",onScroll:L})]),e.h(xr,{onResize:w}),e.h("div",{class:s.vertical.barClass.value,style:[t.barStyle,t.verticalBarStyle],"aria-hidden":"true",onMousedown:k}),e.h("div",{class:s.horizontal.barClass.value,style:[t.barStyle,t.horizontalBarStyle],"aria-hidden":"true",onMousedown:x}),e.withDirectives(e.h("div",{ref:s.vertical.ref,class:s.vertical.thumbClass.value,style:s.vertical.style.value,"aria-hidden":"true"}),m),e.withDirectives(e.h("div",{ref:s.horizontal.ref,class:s.horizontal.thumbClass.value,style:s.horizontal.style.value,"aria-hidden":"true"}),v)])}});const vu=1e3,gu=["start","center","end","start-force","center-force","end-force"],yu=Array.prototype.slice;let bu;{const e=document.createElement("div"),t=document.createElement("div");e.setAttribute("dir","rtl"),e.style.width="1px",e.style.height="1px",e.style.overflow="auto",t.style.width="1000px",t.style.height="1px",document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,bu=e.scrollLeft>=0,e.remove()}let wu=1;const Lu=void 0===window.getComputedStyle(document.body).overflowAnchor?f:function(e,t){const n=e+"_ss";let o=document.getElementById(n);null===o&&(o=document.createElement("style"),o.type="text/css",o.id=n,document.head.appendChild(o)),o.qChildIndex!==t&&(o.qChildIndex=t,o.innerHTML=`#${e} > *:nth-child(${t}) { overflow-anchor: auto }`)};function Cu(e,t){return e+t}function Bu(e,t,n,o,r,i,a,l){const s=e===window?document.scrollingElement||document.documentElement:e,u=!0===r?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-a-l,scrollMaxSize:0,offsetStart:-a,offsetEnd:-l};if(!0===r?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=window.innerWidth):(c.scrollStart=s.scrollLeft,c.scrollViewSize+=s.
2clientWidth),c.scrollMaxSize=s.scrollWidth,!0===i&&(c.scrollStart=(!0===bu?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=window.innerHeight):(c.scrollStart=s.scrollTop,c.scrollViewSize+=s.clientHeight),c.scrollMaxSize=s.scrollHeight),null!==n)for(let e=n.previousElementSibling;null!==e;e=e.previousElementSibling)!1===e.classList.contains("q-virtual-scroll--skip")&&(c.offsetStart+=e[u]);if(null!==o)for(let e=o.nextElementSibling;null!==e;e=e.nextElementSibling)!1===e.classList.contains("q-virtual-scroll--skip")&&(c.offsetEnd+=e[u]);if(t!==e){const n=s.getBoundingClientRect(),o=t.getBoundingClientRect();!0===r?(c.offsetStart+=o.left-n.left,c.offsetEnd-=o.width):(c.offsetStart+=o.top-n.top,c.offsetEnd-=o.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function _u(e,t,n,o){e===window?!0===n?(!0===o&&(t=(!0===bu?document.body.scrollWidth-window.innerWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===o&&(t=(!0===bu?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function ku(e,t,n,o){if(n>=o)return 0;const r=t.length,i=Math.floor(n/vu),a=Math.floor((o-1)/vu)+1;let l=e.slice(i,a).reduce(Cu,0);return n%vu!=0&&(l-=t.slice(i*vu,n).reduce(Cu,0)),o%vu!=0&&o!==r&&(l-=t.slice(o,a*vu).reduce(Cu,0)),l}const xu={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Su=Object.keys(xu),Eu={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...xu};function Tu({virtualScrollLength:t,getVirtualScrollTarget:n,getVirtualScrollEl:o,virtualScrollItemSizeComputed:r}){const i=e.getCurrentInstance(),{props:a,emit:l,proxy:s}=i,{$q:u}=s;let c,d,A,p,h=[];const m="qvs_"+wu++,v=e.ref(0),g=e.ref(0),y=e.ref({}),b=e.ref(null),w=e.ref(null),L=e.ref(null),C=e.ref({from:0,to:0}),B=e.computed((()=>void 0!==a.tableColspan?a.tableColspan:100));void 0===r&&(r=e.computed((()=>a.virtualScrollItemSize)));const _=e.computed((()=>r.value+";"+a.virtualScrollHorizontal)),k=e.computed((()=>_.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter));function x(){O(d,!0)}function S(e){O(void 0===e?d:e)}function E(e,r){const i=n();if(null==i||8===i.nodeType)return;const l=Bu(i,o(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);A!==l.scrollViewSize&&U(l.scrollViewSize),F(i,l,Math.min(t.value-1,Math.max(0,parseInt(e,10)||0)),0,gu.indexOf(r)>-1?r:d>-1&&e>d?"end":"start")}function N(){const e=n();if(null==e||8===e.nodeType)return;const r=Bu(e,o(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),i=t.value-1,l=r.scrollMaxSize-r.offsetStart-r.offsetEnd-g.value;if(c===r.scrollStart)return;if(r.scrollMaxSize<=0)return void F(e,r,0,0);A!==r.scrollViewSize&&U(r.scrollViewSize),V(C.value.from);const s=Math.floor(r.scrollMaxSize-Math.max(r.scrollViewSize,r.offsetEnd)-Math.min(p[i],r.scrollViewSize/2));if(s>0&&Math.ceil(r.scrollStart)>=s)return void F(e,r,i,r.scrollMaxSize-r.offsetEnd-h.reduce(Cu,0));let d=0,f=r.scrollStart-r.offsetStart,m=f;if(f<=l&&f+r.scrollViewSize>=v.value)f-=v.value,d=C.value.from,m=f;else for(let e=0;f>=h[e]&&d<i;e++)f-=h[e],d+=vu;for(;f>0&&d<i;)f-=p[d],f>-r.scrollViewSize?(d++,m=f):m=p[d]+f;F(e,r,d,m)}function F(e,n,o,r,i){const l="string"==typeof i&&i.indexOf("-force")>-1,s=!0===l?i.replace("-force",""):i,d=void 0!==s?s:"start";let A=Math.max(0,o-y.value[d]),f=A+y.value.total;f>t.value&&(f=t.value,A=Math.max(0,f-y.value.total)),c=n.scrollStart;const b=A!==C.value.from||f!==C.value.to;if(!1===b&&void 0===s)return void q(o);const{activeElement:w}=document;if(!0===b&&null!==L.value&&L.value!==w&&!0===L.value.contains(w)){const e=()=>{L.value.focus()};w.addEventListener("blur",e,!0),requestAnimationFrame((()=>{w.removeEventListener("blur",e,!0)}))}Lu(m,o-A+1);const B=void 0!==s?p.slice(A,o).reduce(Cu,0):0;if(!0===b){const e=f>=C.value.from&&A<=C.value.to?C.value.to:f;C.value={from:A,to:e},v.value=ku(h,p,0,A),g.value=ku(h,p,f,t.value),requestAnimationFrame((()=>{C.value.to!==f&&c===n.scrollStart&&(C.value={from:C.value.from,to:f},g.value=ku(h,p,f,t.value))}))}requestAnimationFrame((()=>
2{if(c!==n.scrollStart)return;!0===b&&V(A);const t=p.slice(A,o).reduce(Cu,0),i=t+n.offsetStart+v.value,d=i+p[o];let f=i+r;if(void 0!==s){const e=t-B,r=n.scrollStart+e;f=!0!==l&&r<i&&d<r+n.scrollViewSize?r:"end"===s?d-n.scrollViewSize:i-("start"===s?0:Math.round((n.scrollViewSize-p[o])/2))}c=f,_u(e,f,a.virtualScrollHorizontal,u.lang.rtl),q(o)}))}function V(e){const t=L.value;if(t){const n=yu.call(t.children).filter((e=>!1===e.classList.contains("q-virtual-scroll--skip"))),o=n.length,r=!0===a.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let i,l,s=e;for(let e=0;e<o;){for(i=r(n[e]),e++;e<o&&!0===n[e].classList.contains("q-virtual-scroll--with-prev");)i+=r(n[e]),e++;l=i-p[s],0!==l&&(p[s]+=l,h[Math.floor(s/vu)]+=l),s++}}}function O(n,o){const i=1*r.value;!0!==o&&!1!==Array.isArray(p)||(p=[]);const a=p.length;p.length=t.value;for(let e=t.value-1;e>=a;e--)p[e]=i;const l=Math.floor((t.value-1)/vu);h=[];for(let e=0;e<=l;e++){let n=0;const o=Math.min((e+1)*vu,t.value);for(let t=e*vu;t<o;t++)n+=p[t];h.push(n)}d=-1,c=void 0,n>=0?(V(C.value.from),e.nextTick((()=>{E(n)}))):(v.value=ku(h,p,0,C.value.from),g.value=ku(h,p,C.value.to,t.value),M())}function U(e){if(void 0===e&&"undefined"!=typeof window){const t=n();null!=t&&8!==t.nodeType&&(e=Bu(t,o(),b.value,w.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}A=e;const t=1+a.virtualScrollSliceRatioBefore+a.virtualScrollSliceRatioAfter,i=void 0===e||e<=0?1:Math.ceil(e/r.value),l=Math.max(10,i,Math.ceil(a.virtualScrollSliceSize/t));y.value={total:Math.ceil(l*t),start:Math.ceil(l*a.virtualScrollSliceRatioBefore),center:Math.ceil(l*(.5+a.virtualScrollSliceRatioBefore)),end:Math.ceil(l*(1+a.virtualScrollSliceRatioBefore)),view:i}}function Q(t,n){const o=!0===a.virtualScrollHorizontal?"width":"height",i={["--q-virtual-scroll-item-"+o]:r.value+"px"};return["tbody"===t?e.h(t,{class:"q-virtual-scroll__padding",key:"before",ref:b},[e.h("tr",[e.h("td",{style:{[o]:`${v.value}px`,...i},colspan:B.value})])]):e.h(t,{class:"q-virtual-scroll__padding",key:"before",ref:b,style:{[o]:`${v.value}px`,...i}}),e.h(t,{class:"q-virtual-scroll__content",key:"content",ref:L,id:m,tabindex:-1},n.flat()),"tbody"===t?e.h(t,{class:"q-virtual-scroll__padding",key:"after",ref:w},[e.h("tr",[e.h("td",{style:{[o]:`${g.value}px`,...i},colspan:B.value})])]):e.h(t,{class:"q-virtual-scroll__padding",key:"after",ref:w,style:{[o]:`${g.value}px`,...i}})]}function q(e){d!==e&&(void 0!==a.onVirtualScroll&&l("virtual-scroll",{index:e,from:C.value.from,to:C.value.to-1,direction:e<d?"decrease":"increase",ref:s}),d=e)}e.watch(k,(()=>{U()})),e.watch(_,x),U();const M=T(N,!0===u.platform.is.ios?120:35);return e.onBeforeMount((()=>{U()})),Lu!==f&&e.onBeforeUnmount((()=>{const e=document.getElementById(m+"_ss");null!==e&&e.remove()})),Object.assign(s,{scrollTo:E,reset:x,refresh:S}),{virtualScrollSliceRange:C,virtualScrollSliceSizeComputed:y,setVirtualScrollSize:U,onVirtualScrollEvt:M,localResetVirtualScroll:O,padVirtualScroll:Q,scrollTo:E,reset:x,refresh:S}}const Nu=e=>["add","add-unique","toggle"].includes(e),Fu=".*+?^${}()|[]\\",Vu=Object.keys(Il);var Ou=e.defineComponent({name:"QSelect",inheritAttrs:!1,props:{...Eu,...go,...Il,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Nu},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...Pl,"add","remove","input-value","keyup","keypress","keydown","filter-abort"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=e.ref(!1),l=e.ref(!1),s=e.ref(-1),u=e.ref(""),c=e.ref(!1),d=e.ref(!1);let A,p,f,h,m,v,g,y,b,w;const L=e.ref(null),k=e.ref(null),x=e.ref(null),S=e.ref(null),E=e.ref(null),T=wo(t),N=ws(Fe),F=e.computed((()=>Array.isArray(t.options)?t.options.length:0)),V=e.computed((()=>void 0===t.virtualScrollItemSize?!0===t.dense?24:48:t.virtualScrollItemSize)),{virtualScrollSliceRange:O,virtualScrollSliceSizeComputed:U,localResetVirtualScroll:Q,padVirtualScroll:q,onVirtualScrollEvt:M,scrollTo:I,setVirtualScrollSize:P}=Tu({virtualScrollLength:F,getVirtualScrollTarget:Se,getVirtualScrollEl:xe,virtualScrollItemSizeComputed:V}),D=Dl(),H=e.computed((()=>{const e=!0===t.mapOptions&&!0!==t.multiple,n=void 0===t.modelValue||null===t.modelValue&&!0!==e?[]:!0===t.multiple&&Array.isArray(t.modelValue)?t.modelValue:[t.modelValue];if(!0===t.mapOptions&&!0===Array.isArray(t.options)){const o=!0===t.mapOptions&&void 0!==p?p:[],r=n.map((e=>ge(e,o)));return null===t.modelValue&&!0===e?r.filter((e=>null!==e)):r}return n})),R=e.computed((()=>{const e={};return Vu.forEach((e=>t[e])),e})),j=e.computed((()=>null===t.optionsDark?D.isDark.value:t.optionsDark)),$=e.computed((()=>Ml(H.value))),W=e.computed((()=>{let e="q-field__input q-placeholder col";return!0===t.hideSelected||0===H.value.length?[e,t.inputClass]:(e+=" q-field__input--padding",void 0===t.inputClass?e:[e,t.inputClass])})),Y=e.computed((()=>(!0===t.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(t.popupContentClass?" "+t.popupContentClass:""))),G=e.computed((()=>0===F.value)),Z=e.computed((()=>H.value.map((e=>le.value(e))).join(", "))),J=e.computed((()=>!0===t.optionsHtml?()=>!0:e=>null!=e&&!0===e.html)),X=e.computed((()=>!0===t.displayValueHtml||void 0===t.displayValue&&(!0===t.optionsHtml||H.value.some(J.value)))),ee=e.computed((()=>!0===D.focused.value?t.tabindex:-1)),te=e.computed((()=>H.value.map(((e,t)=>({index:t,opt:e,html:J.value(e),selected:!0,removeAtIndex:pe,toggleOption:he,tabindex:ee.value}))))),ne=e.computed((()=>
2{if(0===F.value)return[];const{from:e,to:n}=O.value,{options:o,optionEls:r}=f;return t.options.slice(e,n).map(((n,a)=>{const l=!0===se.value(n),u=e+a,c={clickable:!0,active:!1,activeClass:ie.value,manualFocus:!0,focused:!1,disable:l,tabindex:-1,dense:t.optionsDense,dark:j.value,onClick:()=>{he(n)}};!0!==l&&(!0===be(n)&&(c.active=!0),s.value===u&&(c.focused=!0),!0===i.platform.is.desktop&&(c.onMousemove=()=>{me(u)}));const d={index:u,opt:n,html:J.value(n),label:le.value(n),selected:c.active,focused:c.focused,toggleOption:he,setOptionIndex:me,itemProps:c},A={...d,itemProps:{...c,onClick:void 0,onMousemove:void 0}};return void 0!==o[a]&&!0===jo(A,o[a])||(o[a]=A,r[a]=void 0),d}))})),oe=e.computed((()=>void 0!==t.dropdownIcon?t.dropdownIcon:i.iconSet.arrow.dropdown)),re=e.computed((()=>!1===t.optionsCover&&!0!==t.outlined&&!0!==t.standout&&!0!==t.borderless&&!0!==t.rounded)),ie=e.computed((()=>void 0!==t.optionsSelectedClass?t.optionsSelectedClass:void 0!==t.color?`text-${t.color}`:"")),ae=e.computed((()=>ye(t.optionValue,"value"))),le=e.computed((()=>ye(t.optionLabel,"label"))),se=e.computed((()=>ye(t.optionDisable,"disable"))),ue=e.computed((()=>H.value.map((e=>ae.value(e))))),ce=e.computed((()=>{const e={onInput:Fe,onChange:N,onKeydown:ke,onKeyup:Be,onKeypress:_e,onFocus:we,onClick(e){!0===h&&C(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=N,e}));function de(e){return!0===t.emitValue?ae.value(e):e}function Ae(e){if(e>-1&&e<H.value.length)if(!0===t.multiple){const n=t.modelValue.slice();o("remove",{index:e,value:n.splice(e,1)[0]}),o("update:modelValue",n)}else o("update:modelValue",null)}function pe(e){Ae(e),D.focus()}function fe(e,n){const r=de(e);if(!0!==t.multiple)return!0===t.fillInput&&Oe(le.value(e),!0,!0),void o("update:modelValue",r);if(0===H.value.length)return o("add",{index:0,value:r}),void o("update:modelValue",!0===t.multiple?[r]:r);if(!0===n&&!0===be(e))return;if(void 0!==t.maxValues&&t.modelValue.length>=t.maxValues)return;const i=t.modelValue.slice();o("add",{index:i.length,value:r}),i.push(r),o("update:modelValue",i)}function he(e,n){if(!0!==D.editable.value||void 0===e||!0===se.value(e))return;const r=ae.value(e);if(!0!==t.multiple)return!0!==n&&(Oe(!0===t.fillInput?le.value(e):"",!0,!0),We()),null!==k.value&&k.value.focus(),void(!0!==jo(ae.value(H.value[0]),r)&&o("update:modelValue",!0===t.emitValue?r:e));if((!0!==h||!0===c.value)&&D.focus(),we(),0===H.value.length){const n=!0===t.emitValue?r:e;return o("add",{index:0,value:n}),void o("update:modelValue",!0===t.multiple?[n]:n)}const i=t.modelValue.slice(),a=ue.value.findIndex((e=>jo(e,r)));if(a>-1)o("remove",{index:a,value:i.splice(a,1)[0]});else{if(void 0!==t.maxValues&&i.length>=t.maxValues)return;const n=!0===t.emitValue?r:e;o("add",{index:i.length,value:n}),i.push(n)}o("update:modelValue",i)}function me(e){if(!0!==i.platform.is.desktop)return;const t=e>-1&&e<F.value?e:-1;s.value!==t&&(s.value=t)}function ve(e=1,n){if(!0===a.value){let o=s.value;do{o=Le(o+e,-1,F.value-1)}while(-1!==o&&o!==s.value&&!0===se.value(t.options[o]));s.value!==o&&(me(o),I(o),!0!==n&&!0===t.useInput&&!0===t.fillInput&&Ve(o>=0?le.value(t.options[o]):g))}}function ge(e,n){const o=t=>jo(ae.value(t),e);return t.options.find(o)||n.find(o)||e}function ye(e,t){const n=void 0!==e?e:t;return"function"==typeof n?n:e=>Object(e)===e&&n in e?e[n]:e}function be(e){const t=ae.value(e);return void 0!==ue.value.find((e=>jo(e,t)))}function we(){!0===t.useInput&&null!==k.value&&k.value.select()}function Ce(e){!0===K(e,27)&&!0===a.value&&(C(e),We(),Ye()),o("keyup",e)}function Be(e){const{value:n}=e.target;if(void 0===e.keyCode)if(e.target.value="",clearTimeout(A),Ye(),"string"==typeof n&&n.length>0){const e=n.toLocaleLowerCase();let o=t=>ae.value(t).toLocaleLowerCase()===e,r=t.options.find(o);void 0!==r?-1===H.value.indexOf(r)?he(r):We():(o=t=>le.value(t).toLocaleLowerCase()===e,r=t.options.find(o),void 0!==r?-1===H.value.indexOf(r)?he(r):We():Ue(n,!0))}else D.clearValue(e);else Ce(e)}function _e(e){o("keypress",e)}function ke(n){if(o("keydown",n),!0===z(n))return;const r=u.value.length>0&&(void 0!==t.newValueMode||void 0!==t.onNewValue),i=!0!==n.shiftKey&&!0!==t.multiple&&(s.value>-1||!0===r);if(27===n.keyCode)return void B(n);if(9===n.keyCode&&!1===i)return void ze();if(void 0===n.target||n.target.id!==D.targetUid.value)return;if(40===n.keyCode&&!0!==D.innerLoading.value&&!1===a.value)return _(n),void Ke();if(8===n.keyCode&&!0!==t.hideSelected&&0===u.value.length)return void(!0===t.multiple&&!0===Array.isArray(t.modelValue)?Ae(t.modelValue.length-1):!0!==t.multiple&&null!==t.modelValue&&o("update:modelValue",null));35!==n.keyCode&&36!==n.keyCode||"string"==typeof u.value&&0!==u.value.length||(_(n),s.value=-1,ve(36===n.keyCode?1:-1,t.multiple)),33!==n.keyCode&&34!==n.keyCode||void 0===U.value||(_(n),s.value=Math.max(-1,Math.min(F.value,s.value+(33===n.keyCode?-1:1)*U.value.view)),ve(33===n.keyCode?1:-1,t.multiple)),38!==n.keyCode&&40!==n.keyCode||(_(n),ve(38===n.keyCode?-1:1,t.multiple));const l=F.value;if((void 0===b||w<Date.now())&&(b=""),l>0&&!0!==t.useInput&&void 0!==n.key&&1===n.key.length&&n.altKey===n.ctrlKey&&(32!==n.keyCode||b.length>0)){!0!==a.value&&Ke(n);const o=n.key.toLocaleLowerCase(),r=1===b.length&&b[0]===o;w=Date.now()+1500,!1===r&&(_(n),b+=o);const i=new RegExp("^"+b.split("").map((e=>Fu.indexOf(e)>-1?"\\"+e:e)).join(".*"),"i");let u=s.value;if(!0===r||u<0||!0!==i.test(le.value(t.options[u])))do{u=Le(u+1,-1,l-1)}while(u!==s.value&&(!0===se.value(t.options[u])||!0!==i.test(le.value(t.options[u]))));s.value!==u&&e.nextTick((()=>{me(u),I(u),u>=0&&!0===t.useInput&&!0===t.fillInput&&Ve(le.value(t.options[u]))}))}else if(13===n.keyCode||32===n.keyCode&&!0!==t.useInput&&""===b||9===n.keyCode&&!1!==i)if(9!==n.keyCode&&_(n),s.value>-1&&s.value<l)he(t.options[s.value]);else{if(!0===r){const e=(e,n)=>{if(n){if(!0!==Nu(n))return}else n=t.newValueMode;null!=e&&(Oe("",!0!==t.multiple,!0),("toggle"===n?he:fe)(e,"add-unique"===n),!0!==t.multiple&&(null!==k.value&&k.value.focus(),We()))};if(void 0!==t.onNewValue?o("new-value",u.value,e):e(u.value),!0!==t.multiple)return}!0===a.value?ze():!0!==D.innerLoading.value&&Ke()}}function xe(){return!0===h?E.value:null!==x.value&&null!==x.value.__qPortalInnerRef.value?x.value.__qPortalInnerRef.value:void 0}function Se(){return xe()}function Ee(){return!0===t.hideSelected?[]:void 0!==n["selected-item"]?te.value.map((e=>n["selected-item"](e))).slice():void 0!==n.selected?n.selected().slice():!0===t.useChips?te.value.map(((n,o)=>e.h(lr,{key:"option-"+o,removable:!0===D.editable.value&&!0!==se.value(n.opt),dense:!0,textColor:t.color,tabindex:ee.value,onRemove(){n.removeAtIndex(o)}},(()=>e.h("span",{class:"ellipsis",[!0===n.html?"innerHTML":"textContent"]:le.value(n.opt)}))))):[e.h("span",{[!0===X.value?"innerHTML":"textContent"]:void 0!==t.displayValue?t.displayValue:Z.value})]}function Te(){void 0!==n.option&&f.optionSlot!==n.option&&(f.optionSlot=n.option,f.optionEls=[]);const t=void 0!==n.option?n.option:t=>e.h(za,{key:t.index,...t.itemProps},(()=>e.h(Ka,(()=>e.h(cl,(()=>e.h("span",{[!0===t.html?"innerHTML":"textContent"]:t.label}))))))),{optionEls:o}=f;let r=q("div",ne.value.map(((e,n)=>(void 0===o[n]&&(o[n]=t(e)),o[n]))));return void 0!==n["before-options"]&&(r=n["before-options"]().concat(r)),Pe(n["after-options"],r)}function Ne(n,o){const r={ref:!0===o?k:void 0,key:"i_t",class:W.value,style:t.inputStyle,value:void 0!==u.value?u.value:"",type:"search",...D.splitAttrs.attributes.value,id:D.targetUid.value,maxlength:t.maxlength,tabindex:t.tabindex,autocomplete:t.autocomplete,"data-autofocus":!0!==n&&!0===t.autofocus||void 0,disabled:!0===t.disable,readonly:!0===t.readonly,...ce.value};return!0!==n&&!0===h&&(!0===Array.isArray(r.class)?r.class[0]+=" no-pointer-events":r.class+=" no-pointer-events"),e.h("input",r)}function Fe(e){clearTimeout(A),e&&e.target&&!0===e.target.composing||(Ve(e.target.value||""),m=!0,g=u.value,!0===D.focused.value||!0===h&&!0!==c.value||D.focus(),void 0!==t.onFilter&&(A=setTimeout((()=>{Ue(u.value)}),t.inputDebounce)))}function Ve(e){u.value!==e&&(u.value=e,o("input-value",e))}function Oe(e,n,o){m=!0!==o,!0===t.useInput&&(Ve(e),!0!==n&&!0===o||(g=e),!0!==n&&Ue(e))}function Ue(n,i){if(void 0===t.onFilter||!0!==i&&!0!==D.focused.value)return;!0===D.innerLoading.value?o("filter-abort"):(D.innerLoading.value=!0,d.value=!0),""!==n&&!0!==t.multiple&&H.value.length>0&&!0!==m&&n===le.value(H.value[0])&&(n="");const l=setTimeout((()=>
2{!0===a.value&&(a.value=!1)}),10);clearTimeout(v),v=l,o("filter",n,((t,n)=>{!0!==i&&!0!==D.focused.value||v!==l||(clearTimeout(v),"function"==typeof t&&t(),d.value=!1,e.nextTick((()=>{D.innerLoading.value=!1,!0===D.editable.value&&(!0===i?!0===a.value&&We():!0===a.value?Ge(!0):a.value=!0),"function"==typeof n&&e.nextTick((()=>{n(r)}))})))}),(()=>{!0===D.focused.value&&v===l&&(clearTimeout(v),D.innerLoading.value=!1,d.value=!1),!0===a.value&&(a.value=!1)}))}function Qe(){const o=!0===G.value?void 0!==n["no-option"]?()=>n["no-option"]({inputValue:u.value}):void 0:Te;return e.h(mo,{ref:x,class:Y.value,style:t.popupContentStyle,modelValue:a.value,fit:!0!==t.menuShrink,cover:!0===t.optionsCover&&!0!==G.value&&!0!==t.useInput,anchor:t.menuAnchor,self:t.menuSelf,offset:t.menuOffset,dark:j.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:re.value,transitionShow:t.transitionShow,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,separateClosePopup:!0,onScrollPassive:M,onBeforeShow:Je,onBeforeHide:qe,onShow:Me},o)}function qe(e){Xe(e),ze()}function Me(){P()}function Ie(e){C(e),null!==k.value&&k.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function De(t){C(t),e.nextTick((()=>{c.value=!1}))}function He(){const o=[e.h(Rl,{class:`col-auto ${D.fieldClass}`,...R.value,for:D.targetUid.value,dark:j.value,square:!0,loading:d.value,itemAligned:!1,filled:!0,stackLabel:u.value.length>0,...D.splitAttrs.listeners.value,onFocus:Ie,onBlur:De},{...n,rawControl:()=>D.getControl(!0),before:void 0,after:void 0})];return!0===a.value&&o.push(e.h("div",{ref:E,class:Y.value+" scroll",style:t.popupContentStyle,onClick:B,onScrollPassive:M},!0===G.value?void 0!==n["no-option"]?n["no-option"]({inputValue:u.value}):null:Te())),e.h(qa,{ref:S,modelValue:l.value,position:!0===t.useInput?"top":void 0,transitionShow:y,transitionHide:t.transitionHide,transitionDuration:t.transitionDuration,onBeforeShow:Je,onBeforeHide:Re,onHide:je,onShow:$e},(()=>e.h("div",{class:"q-select__dialog"+(!0===j.value?" q-select__dialog--dark q-dark":"")+(!0===c.value?" q-select__dialog--focused":"")},o)))}function Re(e){Xe(e),null!==S.value&&S.value.__updateRefocusTarget(D.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),D.focused.value=!1}function je(e){We(),!1===D.focused.value&&o("blur",e),Ye()}function $e(){const e=document.activeElement;null!==e&&e.id===D.targetUid.value||null===k.value||k.value===e||k.value.focus(),P()}function ze(){void 0!==f&&(f.optionEls=[]),!0!==l.value&&(s.value=-1,!0===a.value&&(a.value=!1),!1===D.focused.value&&(clearTimeout(v),v=void 0,!0===D.innerLoading.value&&(o("filter-abort"),D.innerLoading.value=!1,d.value=!1)))}function Ke(o){!0===D.editable.value&&(!0===h?(D.onControlFocusin(o),l.value=!0,e.nextTick((()=>{D.focus()}))):D.focus(),void 0!==t.onFilter?Ue(u.value):!0===G.value&&void 0===n["no-option"]||(a.value=!0))}function We(){l.value=!1,ze()}function Ye(){!0===t.useInput&&Oe(!0!==t.multiple&&!0===t.fillInput&&H.value.length>0&&le.value(H.value[0])||"",!0,!0)}function Ge(e){let n=-1;if(!0===e){if(H.value.length>0){const e=ae.value(H.value[0]);n=t.options.findIndex((t=>jo(ae.value(t),e)))}Q(n)}me(n)}function Ze(){!1===l.value&&null!==x.value&&x.value.updatePosition()}function Je(e){void 0!==e&&C(e),o("popup-show",e),D.hasPopupOpen.value=!0,D.onControlFocusin(e)}function Xe(e){void 0!==e&&C(e),o("popup-hide",e),D.hasPopupOpen.value=!1,D.onControlFocusout(e)}function tt(){h=!(!0!==i.platform.is.mobile&&"dialog"!==t.behavior||"menu"===t.behavior||!0===t.useInput&&void 0===n["no-option"]&&void 0===t.onFilter&&!1!==G.value),y=!0===i.platform.is.ios&&!0===h&&!0===t.useInput?"fade":t.transitionShow}return e.watch(H,(e=>{p=e,!0===t.useInput&&!0===t.fillInput&&!0!==t.multiple&&!0!==D.innerLoading.value&&(!0!==l.value&&!0!==a.value||!0!==$.value)&&(!0!==m&&Ye(),!0!==l.value&&!0!==a.value||Ue(""))}),{immediate:!0}),e.watch((()=>t.fillInput),Ye),e.watch(a,Ge),e.onBeforeUpdate(tt),e.onUpdated(Ze),tt(),e.onBeforeMount((()=>{f={optionSlot:n.option,options:[],optionEls:[]}})),e.onBeforeUnmount((()=>{f=void 0,clearTimeout(A)})),Object.assign(r,{showPopup:Ke,hidePopup:We,removeAtIndex:Ae,add:fe,toggleOption:he,setOptionIndex:me,moveOptionSelection:ve,filter:Ue,updateMenuPosition:Ze,updateInputValue:Oe,isOptionSelected:be,getEmittingOptionValue:de,isOptionDisabled:()=>
2se.value.apply(null,arguments),getOptionValue:()=>ae.value.apply(null,arguments),getOptionLabel:()=>le.value.apply(null,arguments)}),Object.assign(D,{innerValue:H,fieldClass:e.computed((()=>`q-select q-field--auto-height q-select--with${!0!==t.useInput?"out":""}-input q-select--with${!0!==t.useChips?"out":""}-chips q-select--`+(!0===t.multiple?"multiple":"single"))),inputRef:L,targetRef:k,hasValue:$,showPopup:Ke,floatingLabel:e.computed((()=>(!0===t.hideSelected?u.value.length>0:!0===$.value)||Ml(t.displayValue))),getControlChild:()=>{if(!1!==D.editable.value&&(!0===l.value||!0!==G.value||void 0!==n["no-option"]))return!0===h?He():Qe()},controlEvents:{onFocusin(e){D.onControlFocusin(e)},onFocusout(e){D.onControlFocusout(e,(()=>{Ye(),ze()}))},onClick(e){if(B(e),!0!==h&&!0===a.value)return ze(),void(null!==k.value&&k.value.focus());Ke(e)}},getControl:n=>{const o=Ee(),r=!0===n||!0!==l.value||!0!==h;if(!0===t.useInput?o.push(Ne(n,r)):!0===D.editable.value&&!0===r&&(o.push(e.h("div",{ref:k,key:"d_t",class:"no-outline",id:D.targetUid.value,tabindex:t.tabindex,onKeydown:ke,onKeyup:Ce,onKeypress:_e})),"string"==typeof t.autocomplete&&t.autocomplete.length>0&&o.push(e.h("input",{class:"q-select__autocomplete-input no-outline",autocomplete:t.autocomplete,onKeyup:Be}))),void 0!==T.value&&!0!==t.disable&&ue.value.length>0){const n=ue.value.map((t=>e.h("option",{value:t,selected:!0})));o.push(e.h("select",{class:"hidden",name:T.value,multiple:t.multiple},n))}return e.h("div",{class:"q-field__native row items-center",...D.splitAttrs.attributes.value},o)},getInnerAppend:()=>!0!==t.loading&&!0!==d.value&&!0!==t.hideDropdownIcon?[e.h(et,{class:"q-select__dropdown-icon"+(!0===a.value?" rotate-180":""),name:oe.value})]:null}),Hl(D)}});const Uu=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],Qu=["wave","pulse","pulse-x","pulse-y","fade","blink","none"];var qu=e.defineComponent({name:"QSkeleton",props:{...rt,tag:{type:String,default:"div"},type:{type:String,validator:e=>Uu.includes(e),default:"rect"},animation:{type:String,validator:e=>Qu.includes(e),default:"wave"},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),i=e.computed((()=>void 0!==t.size?{width:t.size,height:t.size}:{width:t.width,height:t.height})),a=e.computed((()=>`q-skeleton q-skeleton--${!0===r.value?"dark":"light"} q-skeleton--type-${t.type}`+("none"!==t.animation?` q-skeleton--anim q-skeleton--anim-${t.animation}`:"")+(!0===t.square?" q-skeleton--square":"")+(!0===t.bordered?" q-skeleton--bordered":"")));return()=>e.h(t.tag,{class:a.value,style:i.value},Me(n.default))}});const Mu=[["left","center","start","width"],["right","center","end","width"],["top","start","center","height"],["bottom","end","center","height"]];var Iu=e.defineComponent({name:"QSlideItem",props:{...rt,leftColor:String,rightColor:String,topColor:String,bottomColor:String,onSlide:Function},emits:["action","top","right","bottom","left"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=it(t,i),{getCacheWithFn:l}=Fo(),s=e.ref(null);let u,c={},d={},A={};const p=e.computed((()=>!0===i.lang.rtl?{left:"right",right:"left"}:{left:"left",right:"right"})),f=e.computed((()=>"q-slide-item q-item-type overflow-hidden"+(!0===a.value?" q-slide-item--dark q-dark":"")));function h(){s.value.style.transform="translate(0,0)"}function m(e,n,r){void 0!==t.onSlide&&o("slide",{side:e,ratio:n,isReset:r})}function v(e){const t=s.value;if(e.isFirst)c={dir:null,size:{left:0,right:0,top:0,bottom:0},scale:0},t.classList.add("no-transition"),Mu.forEach((e=>{if(void 0!==n[e[0]]){const t=A[e[0]];t.style.transform="scale(1)",c.size[e[0]]=t.getBoundingClientRect()[e[3]]}})),c.axis="up"===e.direction||"down"===e.direction?"Y":"X";else{if(e.isFinal)return t.classList.remove("no-transition"),void(1===c.scale?(t.style.transform=`translate${c.axis}(${100*c.dir}%)`,u=setTimeout((()=>{o(c.showing,{reset:h}),o("action",{side:c.showing,reset:h})}),230)):(t.style.transform="translate(0,0)",m(c.showing,0,!0)));e.direction="X"===c.axis?e.offset.x<0?"left":"right":e.offset.y<0?"up":"down"}if(void 0===n.left&&e.direction===p.value.right||void 0===n.right&&e.direction===p.value.left||void 0===n.top&&"down"===e.direction||void 0===n.bottom&&"up"===e.direction)return void(t.style.transform="translate(0,0)");let r,i,a;"X"===c.axis?(i="left"===e.direction?-1:1,r=1===i?p.value.left:p.value.right,a=e.distance.x):(i="up"===e.direction?-2:2,r=2===i?"top":"bottom",a=e.distance.y),null!==c.dir&&Math.abs(i)!==Math.abs(c.dir)||(c.dir!==i&&(["left","right","top","bottom"].forEach((e=>{d[e]&&(d[e].style.visibility=r===e?"visible":"hidden")})),c.showing=r,c.dir=i),c.scale=Math.max(0,Math.min(1,(a-40)/c.size[r])),t.style.transform=`translate${c.axis}(${a*i/Math.abs(i)}px)`,A[r].style.transform=`scale(${c.scale})`,m(r,c.scale,!1))}return e.onBeforeUpdate((()=>{d={},A={}})),e.onBeforeUnmount((()=>{clearTimeout(u)})),Object.assign(r,{reset:h}),()=>{const o=[],r={left:void 0!==n[p.value.right],right:void 0!==n[p.value.left],up:void 0!==n.bottom,down:void 0!==n.top},i=Object.keys(r).filter((e=>!0===r[e]));Mu.forEach((r=>{const i=r[0];void 0!==n[i]&&o.push(e.h("div",{ref:e=>{d[i]=e},class:`q-slide-item__${i} absolute-full row no-wrap items-${r[1]} justify-${r[2]}`+(void 0!==t[i+"Color"]?` bg-${t[i+"Color"]}`:"")},[e.h("div",{ref:e=>{A[i]=e}},n[i]())]))}));
2const a=e.h("div",{key:"content",ref:s,class:"q-slide-item__content"},Me(n.default));return o.push(e.withDirectives(a,l("dir#"+i.join(""),(()=>{const e={prevent:!0,stop:!0,mouse:!0};return i.forEach((t=>{e[t]=!0})),[[mr,v,void 0,e]]})))),e.h("div",{class:f.value},o)}}});const Pu=e.h("div",{class:"q-space"});var Du=e.defineComponent({name:"QSpace",setup:()=>()=>Pu});const Hu=[e.h("g",{transform:"matrix(1 0 0 -1 0 80)"},[e.h("rect",{width:"10",height:"20",rx:"3"},[e.h("animate",{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"15",width:"10",height:"80",rx:"3"},[e.h("animate",{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"30",width:"10",height:"50",rx:"3"},[e.h("animate",{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"45",width:"10",height:"30",rx:"3"},[e.h("animate",{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"})])])];var Ru=e.defineComponent({name:"QSpinnerAudio",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,fill:"currentColor",width:n.value,height:n.value,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"},Hu)}});const ju=[e.h("g",{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"},[e.h("circle",{cx:"5",cy:"50",r:"5"},[e.h("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"27",cy:"5",r:"5"},[e.h("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"49",cy:"50",r:"5"},[e.h("animate",{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"})])])];var $u=e.defineComponent({name:"QSpinnerBall",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,stroke:"currentColor",width:n.value,height:n.value,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"},ju)}});const zu=[e.h("rect",{y:"10",width:"15",height:"120",rx:"6"},[e.h("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[e.h("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"60",width:"15",height:"140",rx:"6"},[e.h("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[e.h("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;
210",calcMode:"linear",repeatCount:"indefinite"})]),e.h("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[e.h("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])];var Ku=e.defineComponent({name:"QSpinnerBars",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,fill:"currentColor",width:n.value,height:n.value,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"},zu)}});const Wu=[e.h("rect",{x:"25",y:"25",width:"50",height:"50",fill:"none","stroke-width":"4",stroke:"currentColor"},[e.h("animateTransform",{id:"spinnerBox",attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",dur:"0.5s",begin:"rectBox.end"})]),e.h("rect",{x:"27",y:"27",width:"46",height:"50",fill:"currentColor"},[e.h("animate",{id:"rectBox",attributeName:"height",begin:"0s;spinnerBox.end",dur:"1.3s",from:"50",to:"0",fill:"freeze"})])];var Yu=e.defineComponent({name:"QSpinnerBox",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Wu)}});const Gu=[e.h("circle",{cx:"50",cy:"50",r:"48",fill:"none","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor"}),e.h("line",{"stroke-linecap":"round","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor",x1:"50",y1:"50",x2:"85",y2:"50.5"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2s",repeatCount:"indefinite"})]),e.h("line",{"stroke-linecap":"round","stroke-width":"4","stroke-miterlimit":"10",stroke:"currentColor",x1:"50",y1:"50",x2:"49.5",y2:"74"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"15s",repeatCount:"indefinite"})])];var Zu=e.defineComponent({name:"QSpinnerClock",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Gu)}});const Ju=[e.h("rect",{x:"0",y:"0",width:" 100",height:"100",fill:"none"}),e.h("path",{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}),e.h("circle",{cx:"30",cy:"47",r:"5",fill:"#fff"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"})]),e.h("circle",{cx:"50",cy:"47",r:"5",fill:"#fff"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"})]),e.h("circle",{cx:"70",cy:"47",r:"5",fill:"#fff"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"})])];var Xu=e.defineComponent({name:"QSpinnerComment",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Ju)}});const ec=[e.h("rect",{x:"0",y:"0",width:" 100",height:"100",fill:"none"}),e.h("g",{transform:"translate(25 25)"},[e.h("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.9"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),e.h("g",{transform:"translate(75 25)"},[e.h("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.8"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),e.h("g",{transform:"translate(25 75)"},[e.h("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.7"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indef
2inite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])]),e.h("g",{transform:"translate(75 75)"},[e.h("rect",{x:"-20",y:"-20",width:" 40",height:"40",fill:"currentColor",opacity:"0.6"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"})])])];var tc=e.defineComponent({name:"QSpinnerCube",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},ec)}});const nc=[e.h("circle",{cx:"15",cy:"15",r:"15"},[e.h("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"60",cy:"15",r:"9","fill-opacity":".3"},[e.h("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"105",cy:"15",r:"15"},[e.h("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})])];var oc=e.defineComponent({name:"QSpinnerDots",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,fill:"currentColor",width:n.value,height:n.value,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"},nc)}});const rc=[e.h("g",{transform:"translate(20 50)"},[e.h("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.6"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])]),e.h("g",{transform:"translate(50 50)"},[e.h("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.8"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])]),e.h("g",{transform:"translate(80 50)"},[e.h("rect",{x:"-10",y:"-30",width:" 20",height:"60",fill:"currentColor",opacity:"0.9"},[e.h("animateTransform",{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"})])])];var ic=e.defineComponent({name:"QSpinnerFacebook",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},rc)}});const ac=[e.h("g",{transform:"translate(-20,-20)"},[e.h("path",{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"
2currentColor"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"})])]),e.h("g",{transform:"translate(20,20) rotate(15 50 50)"},[e.h("path",{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"})])])];var lc=e.defineComponent({name:"QSpinnerGears",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},ac)}});const sc=[e.h("circle",{cx:"12.5",cy:"12.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"},[e.h("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"52.5",cy:"12.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"52.5",cy:"52.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"92.5",cy:"12.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"92.5",cy:"52.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"12.5",cy:"92.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"52.5",cy:"92.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"92.5",cy:"92.5",r:"12.5"},[e.h("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})])];var uc=e.defineComponent({name:"QSpinnerGrid",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,fill:"currentColor",width:n.value,height:n.value,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"},sc)}});const cc=[e.h("path",{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"},[e.h("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})]),e.h("path",{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"},[e.h("animate",{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;
20.5",calcMode:"linear",repeatCount:"indefinite"})]),e.h("path",{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"})];var dc=e.defineComponent({name:"QSpinnerHearts",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,fill:"currentColor",width:n.value,height:n.value,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"},cc)}});const Ac=[e.h("g",[e.h("path",{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}),e.h("clipPath",{id:"uil-hourglass-clip1"},[e.h("rect",{x:"15",y:"20",width:" 70",height:"25"},[e.h("animate",{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",values:"25;0;0",keyTimes:"0;0.5;1"}),e.h("animate",{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",values:"20;45;45",keyTimes:"0;0.5;1"})])]),e.h("clipPath",{id:"uil-hourglass-clip2"},[e.h("rect",{x:"15",y:"55",width:" 70",height:"25"},[e.h("animate",{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",values:"0;25;25",keyTimes:"0;0.5;1"}),e.h("animate",{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",values:"80;55;55",keyTimes:"0;0.5;1"})])]),e.h("path",{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}),e.h("path",{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}),e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"})])];var pc=e.defineComponent({name:"QSpinnerHourglass",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Ac)}});const fc=[e.h("path",{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"},[e.h("animate",{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"})])];var hc=e.defineComponent({name:"QSpinnerInfinity",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},fc)}});const mc=[e.h("g",{"stroke-width":"4","stroke-linecap":"round"},[e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;
2.35",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"})]),e.h("line",{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"},[e.h("animate",{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"})])])];var vc=e.defineComponent({name:"QSpinnerIos",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"},mc)}});const gc=[e.h("circle",{cx:"50",cy:"50",r:"44",fill:"none","stroke-width":"4","stroke-opacity":".5",stroke:"currentColor"}),e.h("circle",{cx:"8",cy:"54",r:"6",fill:"currentColor","stroke-width":"3",stroke:"currentColor"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 48",to:"360 50 52",dur:"2s",repeatCount:"indefinite"})])];var yc=e.defineComponent({name:"QSpinnerOrbit",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},gc)}});const bc=[e.h("g",{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"},[e.h("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.h("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])];var wc=e.defineComponent({name:"QSpinnerOval",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,stroke:"currentColor",width:n.value,height:n.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},bc)}});const Lc=[e.h("path",{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"})]),e.h("path",{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"})]),e.h("path",{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"})]),e.h("path",{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"})])];var Cc=e.defineComponent({name:"QSpinnerPie",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},Lc)}});const Bc=[e.h("g",{fill:"none","fill-rule":"evenodd","stroke-width":"2"},[e.h("circle",{cx:"22",cy:"22",r:"1"},[e.h("animate",{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0;
2 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})]),e.h("circle",{cx:"22",cy:"22",r:"1"},[e.h("animate",{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})])])];var _c=e.defineComponent({name:"QSpinnerPuff",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,stroke:"currentColor",width:n.value,height:n.value,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},Bc)}});const kc=[e.h("g",{transform:"scale(0.55)"},[e.h("circle",{cx:"30",cy:"150",r:"30",fill:"currentColor"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})]),e.h("path",{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})]),e.h("path",{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"},[e.h("animate",{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"})])])];var xc=e.defineComponent({name:"QSpinnerRadio",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"},kc)}});const Sc=[e.h("g",{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"},[e.h("circle",{cx:"22",cy:"22",r:"6"},[e.h("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"22",cy:"22",r:"6"},[e.h("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),e.h("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]),e.h("circle",{cx:"22",cy:"22",r:"8"},[e.h("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})])])];var Ec=e.defineComponent({name:"QSpinnerRings",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,stroke:"currentColor",width:n.value,height:n.value,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"},Sc)}});const Tc=[e.h("defs",[e.h("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},[e.h("stop",{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}),e.h("stop",{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}),e.h("stop",{"stop-color":"currentColor",offset:"100%"})])]),e.h("g",{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"},[e.h("path",{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})]),e.h("circle",{fill:"currentColor",cx:"36",cy:"18",r:"1"},[e.h("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})])])];var Nc=e.defineComponent({name:"QSpinnerTail",props:Lt,setup(t){const{cSize:n,classes:o}=Ct(t);return()=>e.h("svg",{class:o.value,width:n.value,height:n.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"},Tc)}}),Fc=e.defineComponent({name:"QSplitter",props:{...rt,modelValue:{type:Number,required:!0}
2,reverse:Boolean,unit:{type:String,default:"%",validator:e=>["%","px"].includes(e)},limits:{type:Array,validator:e=>2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]&&e[0]>=0&&e[0]<=e[1]},emitImmediately:Boolean,horizontal:Boolean,disable:Boolean,beforeClass:[Array,String,Object],afterClass:[Array,String,Object],separatorClass:[Array,String,Object],separatorStyle:[Array,String,Object]},emits:["update:modelValue"],setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=it(t,r),a=e.ref(null),l={before:e.ref(null),after:e.ref(null)},s=e.computed((()=>"q-splitter no-wrap "+(!0===t.horizontal?"q-splitter--horizontal column":"q-splitter--vertical row")+" q-splitter--"+(!0===t.disable?"disabled":"workable")+(!0===i.value?" q-splitter--dark":""))),u=e.computed((()=>!0===t.horizontal?"height":"width")),c=e.computed((()=>!0!==t.reverse?"before":"after")),d=e.computed((()=>void 0!==t.limits?t.limits:"%"===t.unit?[10,90]:[50,1/0]));function A(e){return("%"===t.unit?e:Math.round(e))+t.unit}const p=e.computed((()=>({[c.value]:{[u.value]:A(t.modelValue)}})));let f,h,m,v,g;function y(e){if(!0===e.isFirst){const e=a.value.getBoundingClientRect()[u.value];return f=!0===t.horizontal?"up":"left",h="%"===t.unit?100:e,m=Math.min(h,d.value[1],Math.max(d.value[0],t.modelValue)),v=(!0!==t.reverse?1:-1)*(!0===t.horizontal?1:!0===r.lang.rtl?-1:1)*("%"===t.unit?0===e?0:100/e:1),void a.value.classList.add("q-splitter--active")}if(!0===e.isFinal)return g!==t.modelValue&&o("update:modelValue",g),void a.value.classList.remove("q-splitter--active");const n=m+v*(e.direction===f?-1:1)*e.distance[!0===t.horizontal?"y":"x"];g=Math.min(h,d.value[1],Math.max(d.value[0],n)),l[c.value].value.style[u.value]=A(g),!0===t.emitImmediately&&t.modelValue!==g&&o("update:modelValue",g)}const b=e.computed((()=>[[mr,y,void 0,{[!0===t.horizontal?"vertical":"horizontal"]:!0,prevent:!0,stop:!0,mouse:!0,mou
2seAllDir:!0}]]));function w(e,t){e<t[0]?o("update:modelValue",t[0]):e>t[1]&&o("update:modelValue",t[1])}return e.watch((()=>t.modelValue),(e=>{w(e,d.value)})),e.watch((()=>t.limits),(()=>{e.nextTick((()=>{w(t.modelValue,d.value)}))})),()=>{const o=[e.h("div",{ref:l.before,class:["q-splitter__panel q-splitter__before"+(!0===t.reverse?" col":""),t.beforeClass],style:p.value.before},Me(n.before)),e.h("div",{class:["q-splitter__separator",t.separatorClass],style:t.separatorStyle,"aria-disabled":!0===t.disable?"true":void 0},[He("div",{class:"q-splitter__separator-area absolute-full"},Me(n.separator),"sep",!0!==t.disable,(()=>b.value))]),e.h("div",{ref:l.after,class:["q-splitter__panel q-splitter__after"+(!0===t.reverse?"":" col"),t.afterClass],style:p.value.after},Me(n.after))];return e.h("div",{class:s.value,ref:a},Pe(n.default,o))}}}),Vc=e.defineComponent({name:"StepHeader",props:{stepper:{},step:{},goToPanel:Function},setup(t,{attrs:n}){const{proxy:{$q:o}}=e.getCurrentInstance(),r=e.ref(null),i=e.computed((()=>t.stepper.modelValue===t.step.name)),a=e.computed((()=>{const e=t.step.disable;return!0===e||""===e})),l=e.computed((()=>{const e=t.step.error;return!0===e||""===e})),s=e.computed((()=>{const e=t.step.done;return!1===a.value&&(!0===e||""===e)})),u=e.computed((()=>{const e=t.step.headerNav,n=!0===e||""===e||void 0===e;return!1===a.value&&t.stepper.headerNav&&n})),c=e.computed((()=>t.step.prefix&&!1===i.value&&!1===l.value&&!1===s.value)),d=e.computed((()=>!0===i.value?t.step.activeIcon||t.stepper.activeIcon||o.iconSet.stepper.active:!0===l.value?t.step.errorIcon||t.stepper.errorIcon||o.iconSet.stepper.error:!1===a.value&&!0===s.value?t.step.doneIcon||t.stepper.doneIcon||o.iconSet.stepper.done:t.step.icon||t.stepper.inactiveIcon)),A=e.computed((()=>{const e=!0===l.value?t.step.errorColor||t.stepper.errorColor:void 0;if(!0===i.value){const n=t.step.activeColor||t.stepper.activeColor||t.step.color;return void 0!==n?n:e}return void 0!==e?e:!1===a.value&&!0===s.value?t.step.doneColor||t.stepper.doneColor||t.step.color||t.stepper.inactiveColor:t.step.color||t.stepper.inactiveColor})),p=e.computed((()=>"q-stepper__tab col-grow flex items-center no-wrap relative-position"+(void 0!==A.value?` text-${A.value}`:"")+(!0===l.value?" q-stepper__tab--error":"")+(!0===i.value?" q-stepper__tab--active":"")+(!0===s.value?" q-stepper__tab--done":"")+(!0===u.value?" q-stepper__tab--navigation q-focusable q-hoverable":"")+(!0===a.value?" q-stepper__tab--disabled":"")));function f(){null!==r.value&&r.value.focus(),!1===i.value&&t.goToPanel(t.step.name)}function h(e){13===e.keyCode&&!1===i.value&&t.goToPanel(t.step.name)}return()=>{const o={class:p.value};!0===u.value&&(o.onClick=f,o.onKeyup=h,Object.assign(o,!0===a.value?{tabindex:-1,"aria-disabled":"true"}:{tabindex:n.tabindex||0}));const i=[e.h("div",{class:"q-focus-helper",tabindex:-1,ref:r}),e.h("div",{class:"q-stepper__dot row flex-center q-stepper__line relative-position"},[e.h("span",{class:"row flex-center"},[!0===c.value?t.step.prefix:e.h(et,{name:d.value})])])];if(void 0!==t.step.title&&null!==t.step.title){const n=[e.h("div",{class:"q-stepper__title"},t.step.title)];void 0!==t.step.caption&&null!==t.step.caption&&n.push(e.h("div",{class:"q-stepper__caption"},t.step.caption)),i.push(e.h("div",{class:"q-stepper__label q-stepper__line relative-position"},n))}return He("div",o,i,"head",!0===t.stepper.headerNav&&!1!==u.value,(()=>[[Mt,u.value]]))}}});function Oc(t){return e.h("div",{class:"q-stepper__step-content"},[e.h("div",{class:"q-stepper__step-inner"},Me(t.default))])}const Uc={setup:(e,{slots:t})=>()=>Oc(t)};var Qc=e.defineComponent({name:"QStep",props:{...Vo,icon:String,color:String,title:{type:String,required:!0},caption:String,prefix:[String,Number],doneIcon:String,doneColor:String,activeIcon:String,activeColor:String,errorIcon:String,errorColor:String,headerNav:{type:Boolean,default:!0},done:Boolean,error:Boolean},setup(t,{slots:n}){const o=e.inject(oe,(()=>{console.error("QStep needs to be child of QStepper")})),{getCacheWithFn:r}=Fo(),i=e.ref(null),a=e.computed((()=>o.value.modelValue===t.name));e.watch(a,(t=>{!0===t&&!0===o.value.vertical&&e.nextTick((()=>{null!==i.value&&(i.value.scrollTop=0)}))}));const l=e.computed((()=>"string"==typeof t.name||"number"==typeof t.name?t.name:String(t.name)));function s(){const t=o.value.vertical;return!0===t&&!0===o.value.keepAlive?e.h(e.KeepAlive,o.value.keepAliveProps.value,!0===a.value?[e.h(!0===o.value.needsUniqueKeepAliveWrapper.value?r(l.value,(()=>({...Uc,name:l.value}))):Uc,{key:l.value},n.default)]:void 0):!0!==t||!0===a.value?Oc(n):void 0}return()=>e.h("div",{ref:i,class:"q-stepper__step"},!0===o.value.vertical?[e.h(Vc,{stepper:o.value,step:t,goToPanel:o.value.goToPanel}),!0===o.value.animated?e.h(dl,s):s()]:[s()])}});const qc=/(-\w)/g;function Mc(e){const t={};return Object.keys(e).forEach((n=>{const o=n.replace(qc,(e=>e[1].toUpperCase()));t[o]=e[n]})),t}var Ic=e.defineComponent({name:"QStepper",props:{...rt,...Uo,flat:Boolean,bordered:Boolean,alternativeLabels:Boolean,headerNav:B
2oolean,contracted:Boolean,headerClass:String,inactiveColor:String,inactiveIcon:String,doneIcon:String,doneColor:String,activeIcon:String,activeColor:String,errorIcon:String,errorColor:String},emits:Qo,setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q),{updatePanelsList:i,isValidPanelName:a,updatePanelIndex:l,getPanelContent:s,getPanels:u,panelDirectives:c,goToPanel:d,keepAliveProps:A,needsUniqueKeepAliveWrapper:p}=qo();e.provide(oe,e.computed((()=>({goToPanel:d,keepAliveProps:A,needsUniqueKeepAliveWrapper:p,...t}))));const f=e.computed((()=>"q-stepper q-stepper--"+(!0===t.vertical?"vertical":"horizontal")+(!0===t.flat||!0===r.value?" q-stepper--flat no-shadow":"")+(!0===t.bordered||!0===r.value&&!1===t.flat?" q-stepper--bordered":"")+(!0===t.contracted?" q-stepper--contracted":"")+(!0===r.value?" q-stepper--dark q-dark":""))),h=e.computed((()=>`q-stepper__header row items-stretch justify-between q-stepper__header--${!0===t.alternativeLabels?"alternative":"standard"}-labels`+(!1===t.flat||!0===t.bordered?" q-stepper__header--border":"")+(void 0!==t.headerClass?` ${t.headerClass}`:"")));function m(){const o=Me(n.message,[]);if(!0===t.vertical){a(t.modelValue)&&l();const r=e.h("div",{class:"q-stepper__content"},Me(n.default));return void 0===o?[r]:o.concat(r)}return[e.h("div",{class:h.value},u().map((n=>{const o=Mc(n.props);return e.h(Vc,{key:o.name,stepper:t,step:o,goToPanel:d})}))),o,He("div",{class:"q-stepper__content q-panel-parent"},s(),"cont",t.swipeable,(()=>c.value))]}return()=>(i(n),e.h("div",{class:f.value},Pe(n.navigation,m())))}}),Pc=e.defineComponent({name:"QStepperNavigation",setup:(t,{slots:n})=>()=>e.h("div",{class:"q-stepper__nav"},Me(n.default))}),Dc=e.defineComponent({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(t,{slots:n,emit:o}){const r=e.getCurrentInstance(),{proxy:{$q:i}}=r;return()=>{if(void 0===t.props)return e.h("th",{class:!0===t.autoWidth?"q-table--col-auto-width":""},Me(n.default));let a,l;const s=r.vnode.key;if(s){if(a=t.props.colsMap[s],void 0===a)return}else a=t.props.col;if(!0===a.sortable){const t="right"===a.align?"unshift":"push";l=Ie(n.default,[]),l[t](e.h(et,{class:a.__iconClass,name:i.iconSet.table.arrowUp}))}else l=Me(n.default);const u={class:a.__thClass+(!0===t.autoWidth?" q-table--col-auto-width":""),style:a.headerStyle};return!0===a.sortable&&(u.onClick=e=>{t.props.sort(a),o("click",e)}),e.h("th",u,l)}}});function Hc(t,n){return e.h("div",t,[e.h("table",{class:"q-table"},n)])}const Rc={list:Ss,table:qs},jc=["list","table","__qtable"];var $c=e.defineComponent({name:"QVirtualScroll",props:{...Eu,type:{type:String,default:"list",validator:e=>jc.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},setup(t,{slots:n,attrs:o}){let r;const i=e.ref(null),a=e.computed((()=>t.itemsSize>=0&&void 0!==t.itemsFn?parseInt(t.itemsSize,10):Array.isArray(t.items)?t.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:c}=Tu({virtualScrollLength:a,getVirtualScrollTarget:m,getVirtualScrollEl:h}),d=e.computed((()=>{if(0===a.value)return[];const e=(e,t)=>({index:l.value.from+t,item:e});return void 0===t.itemsFn?t.items.slice(l.value.from,l.value.to).map(e):t.itemsFn(l.value.from,l.value.to-l.value.from).map(e)})),A=e.computed((()=>"q-virtual-scroll q-virtual-scroll"+(!0===t.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==t.scrollTarget?"":" scroll"))),f=e.computed((()=>void 0!==t.scrollTarget?{}:{tabindex:0}));function h(){return i.value.$el||i.value}function m(){return r}function v(){r=_n(h(),t.scrollTarget),r.addEventListener("scroll",c,p.passive)}function g(){void 0!==r&&(r.removeEventListener("scroll",c,p.passive),r=void 0)}function y(){let e=u("list"===t.type?"div":"tbody",d.value.map(n.default));return void 0!==n.before&&(e=n.before().concat(e)),Pe(n.after,e)}return e.watch(a,(()=>{s()})),e.watch((()=>t.scrollTarget),(()=>{g(),v()})),e.onBeforeMount((()=>{s()})),e.onMounted((()=>{v()})),e.onBeforeUnmount((()=>{g()})),()=>{if(void 0!==n.default)return"__qtable"===t.type?Hc({ref:i,class:"q-table__middle "+A.value},y()):e.h(Rc[t.type],{...o,ref:i,class:[o.class,A.value],...f.value},y);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});function zc(e,t){return new Date(e)-new Date(t)}const Kc={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function Wc(t,n,o,r){function i(e){let i=t.columnSortOrder;if(e===Object(e))e.sortOrder&&(i=e.sortOrder),e=e.name;else{const t=o.value.find((t=>t.name===e));void 0!==t&&t.sortOrder&&(i=t.sortOrder)}let{sortBy:a,descending:l}=n.value;a!==e?(a=e,l="da"===i):!0===t.binaryStateSort?l=!l:!0===l?"ad"===i?a=null:l=!1:"ad"===i?l=!0:a=null,r({sortBy:a,descending:l,page:1})}return{columnToSort:e.computed((()=>{const{sortBy:e}=n.value;return e&&o.value.find((t=>t.name===e))||null})),computedSortMethod:e.computed((()=>void 0!==t.sortMethod?t.sortMethod:(e,t,n)=>{const r=o.value.find((e=>e.name===t));if(void 0===r||void 0===r.field)return e;const i=!0===n?-1:1,a="function"==typeof r.field?e=>r.field(e):e=>e[r.field];return e.sort(((e,t)=>{let n=a(e),o=a(t);return null==n?-1*i:null==o?1*i:void 0!==r.sort?r.sort(n,o,e,t)*i:!0===zo(n)&&!0===zo(o)?(n-o)*i:!0===$o(n)&&!0===$o(o)?zc(n,o)*i:"boolean"==typeof n&&"boolean"==typeof o?(n-o)*i:([n,o]=[n,o].map((e=>
2(e+"").toLocaleString().toLowerCase())),n<o?-1*i:n===o?0:i)}))})),sort:i}}const Yc={filter:[String,Object],filterMethod:Function};function Gc(t,n){const o=e.computed((()=>void 0!==t.filterMethod?t.filterMethod:(e,t,n,o)=>{const r=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=o(t,e)+"";return-1!==("undefined"===n||"null"===n?"":n.toLowerCase()).indexOf(r)}))))}));return e.watch((()=>t.filter),(()=>{e.nextTick((()=>{n({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:o}}function Zc(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function Jc(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Xc={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":Function};function ed(t,n){const{props:o,emit:r}=t,i=e.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:o.rowsPerPageOptions.length>0?o.rowsPerPageOptions[0]:5},o.pagination)),a=e.computed((()=>Jc(void 0!==o["onUpdate:pagination"]?{...i.value,...o.pagination}:i.value))),l=e.computed((()=>void 0!==a.value.rowsNumber));function s(e){u({pagination:e,filter:o.filter})}function u(t={}){e.nextTick((()=>{r("request",{pagination:t.pagination||a.value,filter:t.filter||o.filter,getCellValue:n})}))}function c(e,t){const n=Jc({...a.value,...e});Zc(a.value,n)?!0===l.value&&!0===t&&s(n):!0!==l.value?void 0!==o.pagination&&void 0!==o["onUpdate:pagination"]?r("update:pagination",n):i.value=n:s(n)}return{innerPagination:i,computedPagination:a,isServerSide:l,requestServerInteraction:u,setPagination:c}}function td(t,n,o,r,i,a){const{props:l,emit:s,proxy:{$q:u}}=t,c=e.computed((()=>!0===r.value?o.value.rowsNumber||0:a.value)),d=e.computed((()=>{const{page:e,rowsPerPage:t}=o.value;return(e-1)*t})),A=e.computed((()=>{const{page:e,rowsPerPage:t}=o.value;return e*t})),p=e.computed((()=>1===o.value.page)),f=e.computed((()=>0===o.value.rowsPerPage?1:Math.max(1,Math.ceil(c.value/o.value.rowsPerPage)))),h=e.computed((()=>0===A.value||o.value.page>=f.value)),m=e.computed((()=>(l.rowsPerPageOptions.includes(n.value.rowsPerPage)?l.rowsPerPageOptions:[n.value.rowsPerPage].concat(l.rowsPerPageOptions)).map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))));function v(){i({page:1})}function g(){const{page:e}=o.value;e>1&&i({page:e-1})}function y(){const{page:e,rowsPerPage:t}=o.value;A.value>0&&e*t<c.value&&i({page:e+1})}function b(){i({page:f.value})}return e.watch(f,((e,t)=>
2{if(e===t)return;const n=o.value.page;e&&!n?i({page:1}):e<n&&i({page:e})})),void 0!==l["onUpdate:pagination"]&&s("update:pagination",{...o.value}),{firstRowIndex:d,lastRowIndex:A,isFirstPage:p,isLastPage:h,pagesNumber:f,computedRowsPerPageOptions:m,computedRowsNumber:c,firstPage:v,prevPage:g,nextPage:y,lastPage:b}}const nd={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},od=["update:selected","selection"];function rd(t,n,o,r){const i=e.computed((()=>{const e={};return t.selected.map(r.value).forEach((t=>{e[t]=!0})),e})),a=e.computed((()=>"none"!==t.selection)),l=e.computed((()=>"single"===t.selection)),s=e.computed((()=>"multiple"===t.selection)),u=e.computed((()=>o.value.length>0&&o.value.every((e=>!0===i.value[r.value(e)])))),c=e.computed((()=>!0!==u.value&&o.value.some((e=>!0===i.value[r.value(e)])))),d=e.computed((()=>t.selected.length));function A(e){return!0===i.value[e]}function p(){n("update:selected",[])}function f(e,o,i,a){n("selection",{rows:o,added:i,keys:e,evt:a});const s=!0===l.value?!0===i?o:[]:!0===i?t.selected.concat(o):t.selected.filter((t=>!1===e.includes(r.value(t))));n("update:selected",s)}return{hasSelectionMode:a,singleSelection:l,multipleSelection:s,allRowsSelected:u,someRowsSelected:c,rowsSelectedNumber:d,isRowSelected:A,clearSelection:p,updateSelection:f}}function id(e){return Array.isArray(e)?e.slice():[]}const ad={expanded:Array},ld=["update:expanded"];function sd(t,n){const o=e.ref(id(t.expanded));function r(e){return o.value.includes(e)}function i(e){void 0!==t.expanded?n("update:expanded",e):o.value=e}function a(e,t){const n=o.value.slice(),r=n.indexOf(e);!0===t?-1===r&&(n.push(e),i(n)):-1!==r&&(n.splice(r,1),i(n))}return e.watch((()=>t.expanded),(e=>{o.value=id(e)})),{isRowExpanded:r,setExpanded:i,updateExpanded:a}}const ud={visibleColumns:Array};function cd(t,n,o){const r=e.computed((()=>{if(void 0!==t.columns)return t.columns;const e=t.rows[0];return void 0!==e?Object.keys(e).map((t=>({name:t,label:t.toUpperCase(),field:t,align:zo(e[t])?"right":"left",sortable:!0}))):[]})),i=e.computed((()=>{const{sortBy:e,descending:o}=n.value;return(void 0!==t.visibleColumns?r.value.filter((e=>!0===e.required||!0===t.visibleColumns.includes(e.name))):r.value).map((t=>{const n=t.align||"right",r=`text-${n}`;return{...t,align:n,__iconClass:`q-table__sort-icon q-table__sort-icon--${n}`,__thClass:r+(void 0!==t.headerClasses?" "+t.headerClasses:"")+(!0===t.sortable?" sortable":"")+(t.name===e?" sorted "+(!0===o?"sort-desc":""):""),__tdStyle:void 0!==t.style?"function"!=typeof t.style?()=>t.style:t.style:()=>null,__tdClass:void 0!==t.classes?"function"!=typeof t.classes?()=>r+" "+t.classes:e=>r+" "+t.classes(e):()=>r}}))})),a=e.computed((()=>{const e={};return i.value.forEach((t=>{e[t.name]=t})),e})),l=e.computed((()=>void 0!==t.tableColspan?t.tableColspan:i.value.length+(!0===o.value?1:0)));return{colList:r,computedCols:i,computedColsMap:a,computedColspan:l}}const dd="q-table__bottom row items-center",Ad={};Su.forEach((e=>{Ad[e]={}}));var pd=e.defineComponent({name:"QTable",props:{rows:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,...Ad,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...rt,...Mo,...ud,...Yc,...Xc,...ad,...nd,...Kc},emits:["request","virtual-scroll",...Io,...ld,...od],setup(t,{slots:n,emit:o}){const r=e.getCurrentInstance(),{proxy:{$q:i}}=r,a=it(t,i),{inFullscreen:l,toggleFullscreen:s}=Po(),u=e.computed((()=>"function"==typeof t.rowKey?t.rowKey:e=>e[t.rowKey])),c=e.ref(null),d=e.ref(null),A=e.computed((()=>!0!==t.grid&&!0===t.virtualScroll)),p=e.computed((()=>
2" q-table__card"+(!0===a.value?" q-table__card--dark q-dark":"")+(!0===t.square?" q-table--square":"")+(!0===t.flat?" q-table--flat":"")+(!0===t.bordered?" q-table--bordered":""))),f=e.computed((()=>`q-table__container q-table--${t.separator}-separator column no-wrap`+(!0===t.loading?" q-table--loading":"")+(!0===t.grid?" q-table--grid":p.value)+(!0===a.value?" q-table--dark":"")+(!0===t.dense?" q-table--dense":"")+(!1===t.wrapCells?" q-table--no-wrap":"")+(!0===l.value?" fullscreen scroll":""))),h=e.computed((()=>f.value+(!0===t.loading?" q-table--loading":"")));e.watch((()=>t.tableStyle+t.tableClass+t.tableHeaderStyle+t.tableHeaderClass+f.value),(()=>{!0===A.value&&null!==d.value&&d.value.reset()}));const{innerPagination:m,computedPagination:v,isServerSide:g,requestServerInteraction:y,setPagination:b}=ed(r,fe),{computedFilterMethod:w}=Gc(t,b),{isRowExpanded:L,setExpanded:C,updateExpanded:B}=sd(t,o),_=e.computed((()=>{let e=t.rows;if(!0===g.value||0===e.length)return e;const{sortBy:n,descending:o}=v.value;return t.filter&&(e=w.value(e,t.filter,M.value,fe)),null!==D.value&&(e=H.value(t.rows===e?e.slice():e,n,o)),e})),k=e.computed((()=>_.value.length)),x=e.computed((()=>{let e=_.value;if(!0===g.value)return e;const{rowsPerPage:n}=v.value;return 0!==n&&(0===j.value&&t.rows!==e?e.length>$.value&&(e=e.slice(0,$.value)):e=e.slice(j.value,$.value)),e})),{hasSelectionMode:S,singleSelection:E,multipleSelection:T,allRowsSelected:N,someRowsSelected:F,rowsSelectedNumber:V,isRowSelected:O,clearSelection:U,updateSelection:Q}=rd(t,o,x,u),{colList:q,computedCols:M,computedColsMap:I,computedColspan:P}=cd(t,v,S),{columnToSort:D,computedSortMethod:H,sort:R}=Wc(t,v,q,b),{firstRowIndex:j,lastRowIndex:$,isFirstPage:z,isLastPage:K,pagesNumber:W,computedRowsPerPageOptions:Y,computedRowsNumber:G,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee}=td(r,m,v,g,b,k),te=e.computed((()=>0===x.value.length)),ne=e.computed((()=>{const e={};return Su.forEach((n=>{e[n]=t[n]})),void 0===e.virtualScrollItemSize&&(e.virtualScrollItemSize=!0===t.dense?28:48),e}));function oe(){!0===A.value&&d.value.reset()}function re(){if(!0===t.grid)return xe();const o=!0!==t.hideHeader?ge:null;if(!0===A.value){const r=n["top-row"],i=n["bottom-row"],a={default:e=>se(e.item,n.body,e.index)};if(void 0!==r){const t=e.h("tbody",r({cols:M.value}));a.before=null===o?()=>t:()=>[o()].concat(t)}else null!==o&&(a.before=o);return void 0!==i&&(a.after=()=>e.h("tbody",i({cols:M.value}))),e.h($c,{ref:d,class:t.tableClass,style:t.tableStyle,...ne.value,items:x.value,type:"__qtable",tableColspan:P.value,onVirtualScroll:ae},a)}const r=[ue()];return null!==o&&r.unshift(o()),Hc({class:["q-table__middle scroll",t.tableClass],style:t.tableStyle},r)}function ie(e,t){if(null!==d.value)return void d.value.scrollTo(e,t);e=parseInt(e,10);const n=c.value.querySelector(`tbody tr:nth-of-type(${e+1})`);if(null!==n){const t=c.value.querySelector(".q-table__middle.scroll"),{offsetTop:r}=n,i=r<t.scrollTop?"decrease":"increase";t.scrollTop=r,o("virtual-scroll",{index:e,from:0,to:m.value.rowsPerPage-1,direction:i})}}function ae(e){o("virtual-scroll",e)}function le(){return[e.h(au,{class:"q-table__linear-progress",color:t.color,dark:a.value,indeterminate:!0,trackColor:"transparent"})]}function se(r,i,l){const s=u.value(r),c=O(s);if(void 0!==i)return i(ce({key:s,row:r,pageIndex:l,__trClass:c?"selected":""}));const d=n["body-cell"],A=M.value.map((t=>{const o=n[`body-cell-${t.name}`],i=void 0!==o?o:d;return void 0!==i?i(de({key:s,row:r,pageIndex:l,col:t})):e.h("td",{class:t.__tdClass(r),style:t.__tdStyle(r)},fe(t,r))}));if(!0===S.value){const o=n["body-selection"],i=void 0!==o?o(Ae({key:s,row:r,pageIndex:l})):[e.h(ir,{modelValue:c,color:t.color,dark:a.value,dense:t.dense,"onUpdate:modelValue":(e,t)=>{Q([s],[r],e,t)}})];A.unshift(e.h("td",{class:"q-table--col-auto-width"},i))}const p={key:s,class:{selected:c}};return void 0!==t.onRowClick&&(p.class["cursor-pointer"]=!0,p.onClick=e=>{o("RowClick",e,r,l)}),void 0!==t.onRowDblclick&&(p.class["cursor-pointer"]=!0,p.onDblclick=e=>{o("RowDblclick",e,r,l)}),void 0!==t.onRowContextmenu&&(p.class["cursor-pointer"]=!0,p.onContextmenu=e=>{o("RowContextmenu",e,r,l)}),e.h("tr",p,A)}function ue(){const t=n.body,o=n["top-row"],r=n["bottom-row"];let i=x.value.map(((e,n)=>se(e,t,n)));return void 0!==o&&(i=o({cols:M.value}).concat(i)),void 0!==r&&(i=i.concat(r({cols:M.value}))),e.h("tbody",i)}function ce(e){return pe(e),e.cols=e.cols.map((t=>{const n={...t};return Object.defineProperty(n,"value",{get:()=>fe(t,e.row),configurable:!0,enumerable:!0}),n})),e}function de(e){return pe(e),Object.defineProperty(e,"value",{get:()=>fe(e.col,e.row),configurable:!0,enumerable:!0}),e}function Ae(e){return pe(e),e}function pe(e){Object.assign(e,{cols:M.value,colsMap:I.value,sort:R,rowIndex:j.value+e.pageIndex,color:t.color,dark:a.value,dense:t.dense}),!0===S.value&&Object.defineProperty(e,"selected",{get:()=>O(e.key),set:(t,n)=>{Q([e.key],[e.row],t,n)},configurable:!0,enumerable:!0}),Object.defineProperty(e,"expand",{get:()=>L(e.key),set:t=>{B(e.key,t)}
2,configurable:!0,enumerable:!0})}function fe(e,t){const n="function"==typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const he=e.computed((()=>({pagination:v.value,pagesNumber:W.value,isFirstPage:z.value,isLastPage:K.value,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee,inFullscreen:l.value,toggleFullscreen:s})));function me(){const o=n.top,r=n["top-left"],i=n["top-right"],a=n["top-selection"],l=!0===S.value&&void 0!==a&&V.vaue>0,s="q-table__top relative-position row items-center";if(void 0!==o)return e.h("div",{class:s},[o(he.value)]);let u;return!0===l?u=a(he.value).slice():(u=[],void 0!==r?u.push(e.h("div",{class:"q-table-control"},[r(he.value)])):t.title&&u.push(e.h("div",{class:"q-table__control"},[e.h("div",{class:["q-table__title",t.titleClass]},t.title)]))),void 0!==i&&(u.push(e.h("div",{class:"q-table__separator col"})),u.push(e.h("div",{class:"q-table__control"},[i(he.value)]))),0!==u.length?e.h("div",{class:s},u):void 0}const ve=e.computed((()=>!0===F.value?null:N.value));function ge(){const o=ye();return!0===t.loading&&void 0===n.loading&&o.push(e.h("tr",{class:"q-table__progress"},[e.h("th",{class:"relative-position",colspan:P.value},le())])),e.h("thead",o)}function ye(){const o=n.header,r=n["header-cell"];if(void 0!==o)return o(be({header:!0})).slice();const i=M.value.map((t=>{const o=n[`header-cell-${t.name}`],i=void 0!==o?o:r,a=be({col:t});return void 0!==i?i(a):e.h(Dc,{key:t.name,props:a},(()=>t.label))}));if(!0===E.value&&!0!==t.grid)i.unshift(e.h("th",{class:"q-table--col-auto-width"}," "));else if(!0===T.value){const o=n["header-selection"],r=void 0!==o?o(be({})):[e.h(ir,{color:t.color,modelValue:ve.value,dark:a.value,dense:t.dense,"onUpdate:modelValue":we})];i.unshift(e.h("th",{class:"q-table--col-auto-width"},r))}return[e.h("tr",{class:t.tableHeaderClass,style:t.tableHeaderStyle},i)]}function be(e){return Object.assign(e,{cols:M.value,sort:R,colsMap:I.value,color:t.color,dark:a.value,dense:t.dense}),!0===T.value&&Object.defineProperty(e,"selected",{get:()=>ve.value,set:we,configurable:!0,enumerable:!0}),e}function we(e){!0===F.value&&(e=!1),Q(x.value.map(u.value),x.value,e)}const Le=e.computed((()=>{const e=[t.iconFirstPage||i.iconSet.table.firstPage,t.iconPrevPage||i.iconSet.table.prevPage,t.iconNextPage||i.iconSet.table.nextPage,t.iconLastPage||i.iconSet.table.lastPage];return!0===i.lang.rtl?e.reverse():e}));function Ce(){if(!0===t.hideBottom)return;if(!0===te.value){if(!0===t.hideNoData)return;const o=!0===t.loading?t.loadingLabel||i.lang.table.loading:t.filter?t.noResultsLabel||i.lang.table.noResults:t.noDataLabel||i.lang.table.noData,r=n["no-data"],a=void 0!==r?[r({message:o,icon:i.iconSet.table.warning,filter:t.filter})]:[e.h(et,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),o];return e.h("div",{class:dd+" q-table__bottom--nodata"},a)}const o=n.bottom;if(void 0!==o)return e.h("div",{class:dd},[o(he.value)]);const r=!0!==t.hideSelectedBanner&&!0===S.value&&V.value>0?[e.h("div",{class:"q-table__control"},[e.h("div",[(t.selectedRowsLabel||i.lang.table.selectedRecords)(V.value)])])]:[];return!0!==t.hidePagination?e.h("div",{class:dd+" justify-end"},_e(r)):r.length>0?e.h("div",{class:dd},r):void 0}function Be(e){b({page:1,rowsPerPage:e.value})}function _e(o){let r;const{rowsPerPage:l}=v.value,s=t.paginationLabel||i.lang.table.pagination,u=n.pagination,c=t.rowsPerPageOptions.length>1;if(o.push(e.h("div",{class:"q-table__separator col"})),!0===c&&o.push(e.h("div",{class:"q-table__control"},[e.h("span",{class:"q-table__bottom-item"},[t.rowsPerPageLabel||i.lang.table.recordsPerPage]),e.h(Ou,{class:"q-table__select inline q-table__bottom-item",color:t.color,modelValue:l,options:Y.value,displayValue:0===l?i.lang.table.allRows:l,dark:a.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Be})])),void 0!==u)r=u(he.value);else if(r=[e.h("span",0!==l?{class:"q-table__bottom-item"}:{},[l?s(j.value+1,Math.min($.value,G.value),G.value):s(1,k.value,G.value)])],0!==l&&W.value>1){const n={color:t.color,round:!0,dense:!0,flat:!0};!0===t.dense&&(n.size="sm"),W.value>2&&r.push(e.h(Kt,{key:"pgFirst",...n,icon:Le.value[0],disable:z.value,onClick:Z})),r.push(e.h(Kt,{key:"pgPrev",...n,icon:Le.value[1],disable:z.value,onClick:J}),e.h(Kt,{key:"pgNext",...n,icon:Le.value[2],disable:K.value,onClick:X})),W.value>2&&r.push(e.h(Kt,{key:"pgLast",...n,icon:Le.value[3],disable:K.value,onClick:ee}))}return o.push(e.h("div",{class:"q-table__control"},r)),o}function ke(){const o=!0===t.gridHeader?[e.h("table",{class:"q-table"},[ge()])]:!0===t.loading&&void 0===n.loading?le():void 0;return e.h("div",{class:"q-table__middle"},o)}function xe(){const r=void 0!==n.item?n.item:r=>{const i=r.cols.map((t=>e.h("div",{class:"q-table__grid-item-row"},[e.h("div",{class:"q-table__grid-item-title"},[t.label]),e.h("div",{class:"q-table__grid-item-value"},[t.value])])));if(!0===S.value){const o=n["body-selection"],l=void 0!==o?o(r):[e.h(ir,{modelValue:r.selected,color:t.color,dark:a.value,dense:t.dense,"onUpdate:modelValue":(e,t)=>{Q([r.key],[r.row],e,t)}})];i.unshift(e.h("div",{class:"q-table__grid-item-row"},l),e.h(fl,{dark:a.value}))}const l={class:["q-table__grid-item-card"+p.value,t.cardClass],style:t.cardStyle};return void 0===t.onRowClick&&void 0===t.onRowDblclick||(l.class[0]+=" cursor-pointer",void 0!==t.onRowClick&&(l.onClick=e=>{o("RowClick",e,r.row,r.pageIndex)}),void 0!==t.onRowDblclick&&(l.onDblclick=e=>{o("RowDblclick",e,r.row,r.pageIndex)})),e.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===r.selected?"q-table__grid-item--selected":"")},[e.h("div",l,i)])};return e.h("div",{class:["q-table__grid-content row",t.cardContainerClass],style:t.cardContainerStyle},x.value.map(((e,t)=>r(ce({key:u.value(e),row:e,pageIndex:t})))))}return Object.assign(r.proxy,{requestServerInteraction:y,setPagination:b,firstPage:Z,prevPage:J,nextPage:X,lastPage:ee,isRowSelected:O,clearSelection:U,isRowExpanded:L,setExpanded:C,sort:R,resetVirtualScroll:oe,scrollTo:ie,getCellValue:fe}),Object.defineProperty(r.proxy,"filteredSortedRows",{get:()=>_.value,enumerable:!0}),Object.defineProperty(r.proxy,"computedRows",{get:()=>x.value,enumerable:!0}),Object.defineProperty(r.proxy,"computedRowsNumber",{get:()=>G.value,enumerable:!0}),()=>{const o=[me()],r={ref:c,class:h.value};return!0===t.grid?o.push(ke()):Object.assign(r,{class:[r.class,t.cardClass],style:t.cardStyle}),o.push(re(),Ce()),!0===t.loading&&void 0!==n.loading&&o.push(n.loading()),e.h("div",r,o)}}}),fd=e.defineComponent({name:"QTr",props:{props:Object,noHover:Boolean},setup(t,{slots:n}){const o=e.computed((()=>"q-tr"+(void 0===t.props||!0===t.props.header?"":" "+t.props.__trClass)+(!0===t.noHover?" q-tr--no-hover":"")));return()=>e.h("tr",{class:o.value},Me(n.default))}}),hd=e.defineComponent({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=e.computed((()=>"q-td"+(!0===t.autoWidth?" q-table--col-auto-width":"")+(!0===t.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===t.props)return e.h("td",{class:r.value},Me(n.default));const i=o.vnode.key,a=(void 0!==t.props.colsMap?t.props.colsMap[i]:null)||t.props.col;if(void 0===a)return;const{row:l}=t.props;return e.h("td",{class:r.value+a.__tdClass(l),style:a.__tdStyle(l)},Me(n.default))}}}),md=e.defineComponent({name:"QRouteTab",props:{...yt,...Vr,to:{required:!0}},emits:Fr,setup(t,{slots:n,emit:o}){const r=bt(),{renderTab:i,$tabs:a}=Or(t,n,o,{exact:e.computed((()=>t.exact)),...r});return e.watch((()=>t.name+t.exact+(r.linkRoute.value||{}).href),(()=>{a.verifyRouteModel()})),()=>i(r.linkTag.value,r.linkProps.value)}});function vd(e,t){if(null!==e.hour){if(null===e.minute)return"minute";if(!0===t&&null===e.second)return"second"}return"hour"}function gd(){const e=new Date;return{hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}}var yd=e.defineComponent({name:"QTime",props:{...rt,...go,...Li,mask:{default:null},format24h:{type:Boolean,default:null},defaultDate:{type:String,validator:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e)},options:Function,hourOptions:Array,minuteOptions:Array,secondOptions:Array,withSeconds:Boolean,nowBtn:Boolean},emits:Ci,setup(t,{slots:n,emit:o}){const{proxy:{$q:r}}=e.getCurrentInstance(),i=it(t,r),{tabindex:a,headerClass:l,getLocale:s,getCurrentDate:u}=_i(t,r),c=bo(yo(t));let d,A;const p=e.ref(null),f=e.computed((()=>D())),h=e.computed((()=>s())),m=Ui(t.modelValue,D(),s(),t.calendar,H()),v=e.ref(vd(m)),y=e.ref(m),b=e.ref(null===m.hour||m.hour<12),w=e.computed((()=>"q-time q-time--"+(!0===t.landscape?"landscape":"portrait")+(!0===i.value?" q-time--dark q-d
2ark":"")+(!0===t.disable?" disabled":!0===t.readonly?" q-time--readonly":"")+(!0===t.bordered?" q-time--bordered":"")+(!0===t.square?" q-time--square no-border-radius":"")+(!0===t.flat?" q-time--flat no-shadow":""))),L=e.computed((()=>{const e=y.value;return{hour:null===e.hour?"--":!0===B.value?Ce(e.hour):String(!0===b.value?0===e.hour?12:e.hour:e.hour>12?e.hour-12:e.hour),minute:null===e.minute?"--":Ce(e.minute),second:null===e.second?"--":Ce(e.second)}})),C=e.computed((()=>H())),B=e.computed((()=>null!==t.format24h?t.format24h:r.lang.date.format24h)),_=e.computed((()=>{const e="hour"===v.value,t=!0===e?12:60,n=y.value[v.value];let o=`rotate(${Math.round(n*(360/t))-180}deg) translateX(-50%)`;return!0===e&&!0===B.value&&y.value.hour>=12&&(o+=" scale(.7)"),{transform:o}})),k=e.computed((()=>null!==y.value.hour)),x=e.computed((()=>!0===k.value&&null!==y.value.minute)),S=e.computed((()=>void 0!==t.hourOptions?e=>t.hourOptions.includes(e):void 0!==t.options?e=>t.options(e,null,null):null)),E=e.computed((()=>void 0!==t.minuteOptions?e=>t.minuteOptions.includes(e):void 0!==t.options?e=>t.options(y.value.hour,e,null):null)),T=e.computed((()=>void 0!==t.secondOptions?e=>t.secondOptions.includes(e):void 0!==t.options?e=>t.options(y.value.hour,y.value.minute,e):null)),N=e.computed((()=>{if(null===S.value)return null;const e=M(0,11,S.value),t=M(12,11,S.value);return{am:e,pm:t,values:e.values.concat(t.values)}})),F=e.computed((()=>null!==E.value?M(0,59,E.value):null)),V=e.computed((()=>null!==T.value?M(0,59,T.value):null)),O=e.computed((()=>{switch(v.value){case"hour":return N.value;case"minute":return F.value;case"second":return V.value}})),U=e.computed((()=>{let e,t,n=0,o=1;const r=null!==O.value?O.value.values:void 0;"hour"===v.value?!0===B.value?(e=0,t=23):(e=0,t=11,!1===b.value&&(n=12)):(e=0,t=55,o=5);const i=[];for(let a=e,l=e;a<=t;a+=o,l++){const e=a+n,t=void 0!==r&&!1===r.includes(e),o="hour"===v.value&&0===a?!0===B.value?"00":"12":a;i.push({val:e,index:l,disable:t,label:o})}return i})),Q=e.computed((()=>[[mr,$,void 0,{stop:!0,prevent:!0,mouse:!0}]]));function q(){ue({...u(),...gd()}),v.value="hour"}function M(e,t,n){const o=Array.apply(null,{length:t+1}).map(((t,o)=>{const r=o+e;return{index:r,val:!0===n(r)}})).filter((e=>!0===e.val)).map((e=>e.index));return{min:o[0],max:o[o.length-1],values:o,threshold:t+1}}function I(e,t,n){const o=Math.abs(e-t);return Math.min(o,n-o)}function P(e,{min:t,max:n,values:o,threshold:r}){if(e===t)return t;if(e<t||e>n)return I(e,t,r)<=I(e,n,r)?t:n;const i=o.findIndex((t=>e<=t)),a=o[i-1],l=o[i];return e-a<=l-e?a:l}function D(){return"persian"!==t.calendar&&null!==t.mask?t.mask:"HH:mm"+(!0===t.withSeconds?":ss":"")}function H(){if("string"!=typeof t.defaultDate){const e=u(!0);return e.dateHash=Bi(e),e}return Ui(t.defaultDate,"YYYY/MM/DD",void 0,t.calendar)}function R(){return!0===ce.isDeactivated||!0===ce.isUnmounted||null!==O.value&&(0===O.value.values.length||"hour"===v.value&&!0!==B.value&&0===N.value[!0===b.value?"am":"pm"].values.length)}function j(){const e=p.value,{top:t,left:n,width:o}=e.getBoundingClientRect(),r=o/2;return{top:t+r,left:n+r,dist:.7*r}}function $(e){if(!0!==R()){if(!0===e.isFirst)return d=j(),void(A=K(e.evt,d));A=K(e.evt,d,A),!0===e.isFinal&&(d=!1,A=null,z())}}function z(){"hour"===v.value?v.value="minute":t.withSeconds&&"minute"===v.value&&(v.value="second")}function K(e,t,n){const o=g(e),r=Math.abs(o.top-t.top),i=Math.sqrt(Math.pow(Math.abs(o.top-t.top),2)+Math.pow(Math.abs(o.left-t.left),2));let a,l=Math.asin(r/i)*(180/Math.PI);if(l=o.top<t.top?t.left<o.left?90-l:270+l:t.left<o.left?l+90:270-l,"hour"===v.value){if(a=l/30,null!==N.value){const e=!0!==B.value?!0===b.value:N.value.am.values.length>0&&N.value.pm.values.length>0?i>=t.dist:N.value.am.values.length>0;a=P(a+(!0===e?0:12),N.value[!0===e?"am":"pm"])}else a=Math.round(a),!0===B.value?i<t.dist?a<12&&(a+=12):12===a&&(a=0):!0===b.value&&12===a?a=0:!1===b.value&&12!==a&&(a+=12);!0===B.value&&(b.value=a<12)}else a=Math.round(l/6)%60,"minute"===v.value&&null!==F.value?a=P(a,F.value):"second"===v.value&&null!==V.value&&(
2a=P(a,V.value));return n!==a&&ie[v.value](a),a}e.watch((()=>t.modelValue),(e=>{const n=Ui(e,f.value,h.value,t.calendar,C.value);n.dateHash===y.value.dateHash&&n.timeHash===y.value.timeHash||(y.value=n,null===n.hour?v.value="hour":b.value=n.hour<12)})),e.watch([f,h],(()=>{e.nextTick((()=>{ue()}))}));const W={hour(){v.value="hour"},minute(){v.value="minute"},second(){v.value="second"}};function Y(e){13===e.keyCode&&ae()}function G(e){13===e.keyCode&&le()}function Z(e){!0!==R()&&(!0!==r.platform.is.desktop&&K(e,j()),z())}function J(e){!0!==R()&&K(e,j())}function X(e){if(13===e.keyCode)v.value="hour";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==N.value){const e=!0===B.value?N.value.values:N.value[!0===b.value?"am":"pm"].values;if(0===e.length)return;if(null===y.value.hour)ne(e[0]);else{const n=(e.length+e.indexOf(y.value.hour)+t)%e.length;ne(e[n])}}else{const e=!0===B.value?24:12;ne((!0!==B.value&&!1===b.value?12:0)+(24+(null===y.value.hour?-t:y.value.hour)+t)%e)}}}function ee(e){if(13===e.keyCode)v.value="minute";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==F.value){const e=F.value.values;if(0===e.length)return;if(null===y.value.minute)oe(e[0]);else{const n=(e.length+e.indexOf(y.value.minute)+t)%e.length;oe(e[n])}}else oe((60+(null===y.value.minute?-t:y.value.minute)+t)%60)}}function te(e){if(13===e.keyCode)v.value="second";else if([37,39].includes(e.keyCode)){const t=37===e.keyCode?-1:1;if(null!==V.value){const e=V.value.values;if(0===e.length)return;if(null===y.value.seconds)re(e[0]);else{const n=(e.length+e.indexOf(y.value.second)+t)%e.length;re(e[n])}}else re((60+(null===y.value.second?-t:y.value.second)+t)%60)}}function ne(e){y.value.hour!==e&&(y.value.hour=e,y.value.minute=null,y.value.second=null)}function oe(e){y.value.minute!==e&&(y.value.minute=e,y.value.second=null,!0!==t.withSeconds&&ue({minute:e}))}function re(e){y.value.second!==e&&ue({second:e})}const ie={hour:ne,minute:oe,second:re};function ae(){!1===b.value&&(b.value=!0,null!==y.value.hour&&(y.value.hour-=12,se()))}function le(){!0===b.value&&(b.value=!1,null!==y.value.hour&&(y.value.hour+=12,se()))}function se(){return null!==S.value&&!0!==S.value(y.value.hour)?(y.value=Ui(),void(v.value="hour")):null!==E.value&&!0!==E.value(y.value.minute)?(y.value.minute=null,y.value.second=null,void(v.value="minute")):!0===t.withSeconds&&null!==T.value&&!0!==T.value(y.value.second)?(y.value.second=null,void(v.value="second")):void(null===y.value.hour||null===y.value.minute||!0===t.withSeconds&&null===y.value.second||ue())}function ue(e){const n=Object.assign({...y.value},e),r="persian"===t.calendar?Ce(n.hour)+":"+Ce(n.minute)+(!0===t.withSeconds?":"+Ce(n.second):""):sa(new Date(n.year,null===n.month?null:n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond),f.value,h.value,n.year,n.timezoneOffset);n.changed=r!==t.modelValue,o("update:modelValue",r,n)}const ce=e.getCurrentInstance();function de(){const n=[e.h("div",{class:"q-time__link "+("hour"===v.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:W.hour,onKeyup:X},L.value.hour),e.h("div",":"),e.h("div",!0===k.value?{class:"q-time__link "+("minute"===v.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onKeyup:ee,onClick:W.minute}:{class:"q-time__link"},L.value.minute)];!0===t.withSeconds&&n.push(e.h("div",":"),e.h("div",!0===x.value?{class:"q-time__link "+("second"===v.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onKeyup:te,onClick:W.second}:{class:"q-time__link"},L.value.second));const o=[e.h("div",{class:"q-time__header-label row items-center no-wrap",dir:"ltr"},n)];return!1===B.value&&o.push(e.h("div",{class:"q-time__header-ampm column items-between no-wrap"},[e.h("div",{class:"q-time__link "+(!0===b.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:ae,onKeyup:Y},"AM"),e.h("div",{class:"q-time__link "+(!0!==b.value?"q-time__link--active":"cursor-pointer"),tabindex:a.value,onClick:le,onKeyup:G},"PM")])),e.h("div",{class:"q-time__header flex flex-center no-wrap "+l.value},o)}function Ae(){const n=y.value[v.value];return e.h("div",{class:"q-time__content col relative-position"},[e.h(e.Transition,{name:"q-transition--scale"},(()=>e.h("div",{key:"clock"+v.value,class:"q-time__container-parent absolute-full"},[e.h("div",{ref:p,class:"q-time__container-child fit overflow-hidden"},[e.withDirectives(e.h("div",{class:"q-time__clock cursor-pointer non-selectable",onClick:Z,onMousedown:J},[e.h("div",{class:"q-time__clock-circle fit"},[e.h("div",{class:"q-time__clock-pointer"+(null===y.value[v.value]?" hidden":void 0!==t.color?` text-${t.color}`:""),style:_.value}),U.value.map((t=>e.h("div",{class:`q-time__clock-position row flex-center q-time__clock-pos-${t.index}`+(t.val===n?" q-time__clock-position--active "+l.value:!0===t.disable?" q-time__clock-position--disable":"")}
2,[e.h("span",t.label)])))])]),Q.value)])]))),!0===t.nowBtn?e.h(Kt,{class:"q-time__now-button absolute",icon:r.iconSet.datetime.now,unelevated:!0,size:"sm",round:!0,color:t.color,textColor:t.textColor,tabindex:a.value,onClick:q}):null])}return Object.assign(ce.proxy,{setNow:q}),()=>{const o=[Ae()],r=Me(n.default);return void 0!==r&&o.push(e.h("div",{class:"q-time__actions"},r)),void 0!==t.name&&!0!==t.disable&&c(o,"push"),e.h("div",{class:w.value,tabindex:-1},[de(),e.h("div",{class:"q-time__main col overflow-auto"},o)])}}}),bd=e.defineComponent({name:"QTimeline",props:{...rt,color:{type:String,default:"primary"},side:{type:String,default:"right",validator:e=>["left","right"].includes(e)},layout:{type:String,default:"dense",validator:e=>["dense","comfortable","loose"].includes(e)}},setup(t,{slots:n}){const o=e.getCurrentInstance(),r=it(t,o.proxy.$q);e.provide(ne,t);const i=e.computed((()=>`q-timeline q-timeline--${t.layout} q-timeline--${t.layout}--${t.side}`+(!0===r.value?" q-timeline--dark":"")));return()=>e.h("ul",{class:i.value},Me(n.default))}}),wd=e.defineComponent({name:"QTimelineEntry",props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:e=>["left","right"].includes(e)},icon:String,avatar:String,color:String,title:String,subtitle:String,body:String},setup(t,{slots:n}){const o=e.inject(ne,(()=>{console.error("QTimelineEntry needs to be child of QTimeline")})),r=e.computed((()=>`q-timeline__entry q-timeline__entry--${t.side}`+(void 0!==t.icon||void 0!==t.avatar?" q-timeline__entry--icon":""))),i=e.computed((()=>`q-timeline__dot text-${t.color||o.color}`)),a=e.computed((()=>"comfortable"===o.layout&&"left"===o.side));return()=>{const o=Ie(n.default,[]);if(void 0!==t.body&&o.unshift(t.body),!0===t.heading){const n=[e.h("div"),e.h("div"),e.h(t.tag,{class:"q-timeline__heading-title"},o)];return e.h("div",{class:"q-timeline__heading"},!0===a.value?n.reverse():n)}let l;void 0!==t.icon?l=[e.h(et,{class:"row items-center justify-center",name:t.icon})]:void 0!==t.avatar&&(l=[e.h("img",{class:"q-timeline__dot-img",src:t.avatar})]);const s=[e.h("div",{class:"q-timeline__subtitle"},[e.h("span",{},Me(n.subtitle,[t.subtitle]))]),e.h("div",{class:i.value},l),e.h("div",{class:"q-timeline__content"},[e.h("h6",{class:"q-timeline__title"},Me(n.title,[t.title]))].concat(o))];return e.h("li",{class:r.value},!0===a.value?s.reverse():s)}}}),Ld=e.defineComponent({name:"QToolbar",props:{inset:Boolean},setup(t,{slots:n}){const o=e.computed((()=>"q-toolbar row no-wrap items-center"+(!0===t.inset?" q-toolbar--inset":"")));return()=>e.h("div",{class:o.value},Me(n.default))}}),Cd=e.defineComponent({name:"QToolbarTitle",props:{shrink:Boolean},setup(t,{slots:n}){const o=e.computed((()=>"q-toolbar__title ellipsis"+(!0===t.shrink?" col-shrink":"")));return()=>e.h("div",{class:o.value},Me(n.default))}}),Bd=e.defineComponent({name:"QTree",props:{...rt,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>["none","strict","leaf","leaf-filtered"].includes(e)},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:Number,noConnectors:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazy-load","after-show","after-hide"],setup(t,{slots:n,emit:o}){const{proxy:r}=e.getCurrentInstance(),{$q:i}=r,a=it(t,i),l=e.ref({}),s=e.ref(t.ticked||[]),u=e.ref(t.expanded||[]);let c={};e.onBeforeUpdate((()=>{c={}}));const d=e.computed((()=>"q-tree"+(!0===t.noConnectors?" q-tree--no-connectors":"")+(!0===a.value?" q-tree--dark":"")+(void 0!==t.color?` text-${t.color}`:""))),A=e.computed((()=>void 0!==t.selected)),p=e.computed((()=>t.icon||i.iconSet.tree.icon)),f=e.computed((()=>t.controlColor||t.color)),h=e.computed((()=>void 0!==t.textColor?` text-${t.textColor}`:"")),m=e.computed((()=>{const e=t.selectedColor||t.color;return e?` text-${e}`:""})),v=e.computed((()=>void 0!==t.filterMethod?t.filterMethod:(e,n)=>{const o=n.toLowerCase();return e[t.labelKey]&&e[t.labelKey].toLowerCase().indexOf(o)>-1})),g=e.computed((()=>{const e={},n=(o,r)=>{const i=o.tickStrategy||(r?r.tickStrategy:t.tickStrategy),a=o[t.nodeKey],c=o[t.childrenKey]&&o[t.childrenKey].length>0,d=!0!==c,p=!0!==o.disabled&&!0===A.value&&!1!==o.selectable,f=!0!==o.disabled&&!1!==o.expandable,h="none"!==i,m="strict"===i,g="leaf-filtered"===i,y="leaf"===i||"leaf-filtered"===i;let b=!0!==o.disabled&&!1!==o.tickable;!0===y&&!0===b&&r&&!0!==r.tickable&&(b=!1);let w=o.lazy;!0===w&&void 0!==l.value[a]&&!0===Array.isArray(o[t.childrenKey])&&(w=l.value[a]);const L={key:a,parent:r,isParent:c,isLeaf:d,lazy:w,disabled:o.disabled,link:!0!==o.disabled&&(!0===p||!0===f&&(!0===c||!0===w)),children:[],matchesFilter:!t.filter||v.value(o,t.filter),selected:a===t.selected&&!0===p,selectable:p,expanded:!0===c&&u.value.includes(a),expandable:f,noTick:!0===o.noTick||!0!==m&&w&&"loaded"!==w,tickable:b,tickStrategy:i,hasTicking:h,strictTicking:m,leafFilteredTicking:g,leafTicking:y,ticked:(!0===m||!0===d)&&s.value.includes(a)};if(e[a]=L,!0===c&&(L.children=o[t.childrenKey].map((e=>n(e,L))),t.filter&&(!0!==L.matchesFilter?L.matchesFilter=L.children.some((e=>e.matchesFilter)):!0!==L.noTick&&!0!==L.disabled&&!0===L.tickable&&!0===g&&!0===L.children.every((e=>!0!==e.matchesFilter||!0===e.noTick||!0!==e.tickable))&&(L.tickable=!1)),!0===L.matchesFilter&&(!0!==L.noTick&&!0!==m&&!0===L.children.every((e=>e.noTick))&&(L.noTick=!0),y))){if(L.ticked=!1,L.indeterminate=L.children.some((e=>!0===e.indeterminate)),L.tickable=!0===L.tickable&&L.children.some((e=>e.tickable)),!0!==L.indeterminate){const e=L.children.reduce(((e,t)=>!0===t.ticked?e+1:e),0);e===L.children.length?L.ticked=!0:e>0&&(L.indeterminate=!0)}!0===L.indeterminate&&(L.indeterminateNextState=L.children.every((e=>!0!==e.tickable||!0!==e.ticked)))}return L};
2return t.nodes.forEach((e=>n(e,null))),e}));function y(e){const n=[].reduce,o=(r,i)=>r||!i?r:!0===Array.isArray(i)?n.call(Object(i),o,r):i[t.nodeKey]===e?i:i[t.childrenKey]?o(null,i[t.childrenKey]):void 0;return o(null,t.nodes)}function b(){return s.value.map((e=>y(e)))}function w(){return u.value.map((e=>y(e)))}function L(e){return!(!e||!g.value[e])&&g.value[e].expanded}function C(){void 0!==t.expanded?o("update:expanded",[]):u.value=[]}function B(){const e=u.value,n=o=>{o[t.childrenKey]&&o[t.childrenKey].length>0&&!1!==o.expandable&&!0!==o.disabled&&(e.push(o[t.nodeKey]),o[t.childrenKey].forEach(n))};t.nodes.forEach(n),void 0!==t.expanded?o("update:expanded",e):u.value=e}function k(n,r,i=y(n),a=g.value[n]){if(a.lazy&&"loaded"!==a.lazy){if("loading"===a.lazy)return;l.value[n]="loading",!0!==Array.isArray(i[t.childrenKey])&&(i[t.childrenKey]=[]),o("lazy-load",{node:i,key:n,done:o=>{l.value[n]="loaded",i[t.childrenKey]=!0===Array.isArray(o)?o:[],e.nextTick((()=>{const e=g.value[n];e&&!0===e.isParent&&x(n,!0)}))},fail:()=>{delete l.value[n],0===i[t.childrenKey].length&&delete i[t.childrenKey]}})}else!0===a.isParent&&!0===a.expandable&&x(n,r)}function x(e,n){let r=u.value;const i=void 0!==t.expanded;if(!0===i&&(r=r.slice()),n){if(t.accordion&&g.value[e]){const n=[];g.value[e].parent?g.value[e].parent.children.forEach((t=>{t.key!==e&&!0===t.expandable&&n.push(t.key)})):t.nodes.forEach((o=>{const r=o[t.nodeKey];r!==e&&n.push(r)})),n.length>0&&(r=r.filter((e=>!1===n.includes(e))))}r=r.concat([e]).filter(((e,t,n)=>n.indexOf(e)===t))}else r=r.filter((t=>t!==e));!0===i?o("update:expanded",r):u.value=r}function S(e){return!(!e||!g.value[e])&&g.value[e].ticked}function E(e,n){let r=s.value;const i=void 0!==t.ticked;!0===i&&(r=r.slice()),r=n?r.concat(e).filter(((e,t,n)=>n.indexOf(e)===t)):r.filter((t=>!1===e.includes(t))),!0===i&&o("update:ticked",r)}function T(e,n,o){const i={tree:r,node:e,key:o,color:t.color,dark:a.value};return Object.defineProperty(i,"expanded",{get:()=>n.expanded,set:e=>{e!==n.expanded&&k(o,e)},configurable:!0,enumerable:!0}),Object.defineProperty(i,"ticked",{get:()=>n.ticked,set:e=>{e!==n.ticked&&E([o],e)},configurable:!0,enumerable:!0}),i}function N(e){return(t.filter?e.filter((e=>g.value[e[t.nodeKey]].matchesFilter)):e).map((e=>U(e)))}function F(t){if(void 0!==t.icon)return e.h(et,{class:"q-tree__icon q-mr-sm",name:t.icon,color:t.iconColor});const n=t.img||t.avatar;return n?e.h("img",{class:`q-tree__${t.img?"img":"avatar"} q-mr-sm`,src:n}):void 0}function V(){o("after-show")}function O(){o("after-hide")}function U(o){const r=o[t.nodeKey],i=g.value[r],l=o.header&&n[`header-${o.header}`]||n["default-header"],s=!0===i.isParent?N(o[t.childrenKey]):[],u=s.length>0||i.lazy&&"loaded"!==i.lazy;let d=o.body&&n[`body-${o.body}`]||n["default-body"];const A=void 0!==l||void 0!==d?T(o,i,r):null;return void 0!==d&&(d=e.h("div",{class:"q-tree__node-body relative-position"},[e.h("div",{class:h.value},[d(A)])])),e.h("div",{key:r,class:"q-tree__node relative-position q-tree__node--"+(!0===u?"parent":"child")},[e.h("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(!0===i.link?" q-tree__node--link q-hoverable q-focusable":"")+(!0===i.selected?" q-tree__node--selected":"")+(!0===i.disabled?" q-tree__node--disabled":""),tabindex:!0===i.link?0:-1,onClick:e=>{q(o,i,e)},onKeypress(e){!0!==z(e)&&(13===e.keyCode?q(o,i,e,!0):32===e.keyCode&&M(o,i,e,!0))}},[e.h("div",{class:"q-focus-helper",tabindex:-1,ref:e=>{c[i.key]=e}}),"loading"===i.lazy?e.h(Bt,{class:"q-tree__spinner q-mr-xs",color:f.value}):!0===u?e.h(et,{class:"q-tree__arrow q-mr-xs"+(!0===i.expanded?" q-tree__arrow--rotate":""),name:p.value,onClick(e){M(o,i,e)}}):null,!0===i.hasTicking&&!0!==i.noTick?e.h(ir,{class:"q-mr-xs",modelValue:!0===i.indeterminate?null:i.ticked,color:f.value,dark:a.value,dense:!0,keepColor:!0,disable:!0!==i.tickable,onKeydown:_,"onUpdate:modelValue":e=>{I(i,e)}}):null,e.h("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(!0===i.selected?m.value:h.value)},[l?l(A):[F(o),e.h("div",o[t.labelKey])]])]),!0===u?e.h(dl,{duration:t.duration,onShow:V,onHide:O},(()=>e.withDirectives(e.h("div",{class:"q-tree__node-collapsible"+h.value,key:`${r}__q`},[d,e.h("div",{class:"q-tree__children"+(!0===i.disabled?" q-tree__node--disabled":"")},s)]),[[e.vShow,i.expanded]]))):d])}function Q(e){const t=c[e];t&&t.focus()}function q(e,n,r,i){!0!==i&&Q(n.key),A.value?n.selectable&&o("update:selected",n.key!==t.selected?n.key:null):M(e,n,r,i),"function"==typeof e.handler&&e.handler(e)}function M(e,t,n,o){void 0!==n&&_(n),!0!==o&&Q(t.key),k(t.key,!t.expanded,e,t)}function I(e,t){if(!0===e.indeterminate&&(t=e.indeterminateNextState),e.strictTicking)E([e.key],t);else if(e.leafTicking){const n=[],o=e=>{e.isParent?(!0!==t&&!0!==e.noTick&&!0===e.tickable&&n.push(e.key),!0===e.leafTicking&&e.children.forEac
2h(o)):!0===e.noTick||!0!==e.tickable||!0===e.leafFilteredTicking&&!0!==e.matchesFilter||n.push(e.key)};o(e),E(n,t)}}return e.watch((()=>t.ticked),(e=>{s.value=e})),e.watch((()=>t.expanded),(e=>{u.value=e})),Object.assign(r,{getNodeByKey:y,getTickedNodes:b,getExpandedNodes:w,isExpanded:L,collapseAll:C,expandAll:B,setExpanded:k,isTicked:S,setTicked:E}),!0===t.defaultExpandAll&&B(),()=>{const n=N(t.nodes);return e.h("div",{class:d.value},0===n.length?t.filter?t.noResultsLabel||i.lang.tree.noResults:t.noNodesLabel||i.lang.tree.noNodes:n)}}});function _d(e){return(100*e).toFixed(2)+"%"}const kd={...rt,...zl,label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},xd=[...Kl,"start","finish","added","removed"];function Sd(t){const n=e.getCurrentInstance(),{props:o,slots:r,emit:i,proxy:a}=n,{$q:l}=a,s=it(o,l);function u(e,t,n){if(e.__status=t,"idle"===t)return e.__uploaded=0,e.__progress=0,e.__sizeLabel=ye(e.size),void(e.__progressLabel="0.00%");"failed"!==t?(e.__uploaded="uploaded"===t?e.size:n,e.__progress="uploaded"===t?1:Math.min(.9999,e.__uploaded/e.size),e.__progressLabel=_d(e.__progress),a.$forceUpdate()):a.$forceUpdate()}const c={files:e.ref([]),queuedFiles:e.ref([]),uploadedFiles:e.ref([]),uploadedSize:e.ref(0),updateFileStatus:u,isAlive:()=>!0!==n.isDeactivated&&!0!==n.isUnmounted};Object.assign(c,t({props:o,slots:r,emit:i,helpers:c}));const d=e.ref(0),A=e.computed((()=>!0!==o.disable&&!0!==o.readonly));void 0===c.isBusy&&(c.isBusy=e.ref(!1));const p=e.ref(!1),f=e.ref(null),h=e.ref(null);e.provide(ue,D);const{pickFiles:m,addFiles:v,onDragover:g,processFiles:y,getDndNode:b,maxFilesNumber:w,maxTotalSizeNumber:L}=Wl({editable:A,dnd:p,getFileInput:q,addFilesToQueue:M}),B=e.computed((()=>!0===A.value&&!0!==c.isUploading.value&&(!0===o.multiple||0===c.queuedFiles.value.length)&&(void 0===o.maxFiles||c.files.value.length<w.value)&&(void 0===o.maxTotalSize||d.value<L.value))),_=e.computed((()=>!0===A.value&&!0!==c.isBusy.value&&!0!==c.isUploading.value&&c.queuedFiles.value.length>0)),k=e.computed((()=>0===d.value?0:c.uploadedSize.value/d.value)),x=e.computed((()=>_d(k.value))),S=e.computed((()=>ye(d.value))),E=e.computed((()=>"q-uploader column no-wrap"+(!0===s.value?" q-uploader--dark q-dark":"")+(!0===o.bordered?" q-uploader--bordered":"")+(!0===o.square?" q-uploader--square no-border-radius":"")+(!0===o.flat?" q-uploader--flat no-shadow":"")+(!0===o.disable?" disabled q-uploader--disable":""))),T=e.computed((()=>"q-uploader__header"+(void 0!==o.color?` bg-${o.color}`:"")+(void 0!==o.textColor?` text-${o.textColor}`:"")));function N(){!1===o.disable&&(c.abort(),c.uploadedSize.value=0,d.value=0,Q(),c.files.value=[],c.queuedFiles.value=[],c.uploadedFiles.value=[])}function F(){!1===o.disable&&O(["uploaded"],(()=>{c.uploadedFiles.value=[]}))}function V(){O(["idle","failed"],(({size:e})=>{d.value-=e,c.queuedFiles.value=[]}))}function O(e,t){if(!0===o.disable)return;const n={files:[],size:0},r=c.files.value.filter((t=>-1===e.indexOf(t.__status)||(n.size+=t.size,n.files.push(t),void 0!==t._img&&window.URL.revokeObjectURL(t._img.src),!1)));n.files.length>0&&(c.files.value=r,t(n),i("removed",n.files))}function U(e){o.disable||("uploaded"===e.__status?c.uploadedFiles.value=c.uploadedFiles.value.filter((t=>t.name!==e.name)):"uploading"===e.__status?e.__abort():d.value-=e.size,c.files.value=c.files.value.filter((t=>t.name!==e.name||(void 0!==t._img&&window.URL.revokeObjectURL(t._img.src),!1))),c.queuedFiles.value=c.queuedFiles.value.filter((t=>t.name!==e.name)),i("removed",[e]))}function Q(){c.files.value.forEach((e=>{void 0!==e._img&&window.URL.revokeObjectURL(e._img.src)}))}function q(){return h.value||f.value.getElementsByClassName("q-uploader__input")[0]}function M(e,t){const n=y(e,t,c.files.value,!0);if(void 0===n)return;const r=n.filter((e=>-1===c.files.value.findIndex((t=>e.name===t.name)))),a=q();null!=a&&(a.value=""),void 0!==r&&(r.forEach((e=>{if(c.updateFileStatus(e,"idle"),d.value+=e.size,!0!==o.noThumbnails&&e.type.toUpperCase().startsWith("IMAGE")){const t=new Image;t.src=window.URL.createObjectURL(e),e.__img=t}})),c.files.value=c.files.value.concat(r),c.queuedFiles.value=c.queuedFiles.value.concat(r),i("added",r),!0===o.autoUpload&&c.upload())}function I(){!0===_.value&&c.upload()}function P(t,n,o){if(!0===t){const t={type:"a",key:n,icon:l.iconSet.uploader[n],flat:!0,dense:!0};let r;return"add"===n?r=D:t.onClick=o,e.h(Kt,t,r)}}function D(){return e.h("input",{ref:h,class:"q-uploader__input overflow-hidden absolute-full",tabindex:-1,type:"file",title:"",accept:o.accept,multiple:!0===o.multiple?"multiple":void 0,capture:o.capture,onMousedown:C,onChange:M})}function H(){return void 0!==r.header?r.header($.value):[e.h("div",{class:"q-uploader__header-content flex flex-center no-wrap q-gutter-xs"},[P(c.queuedFiles.value.length>0,"removeQueue",V),P(c.uploadedFiles.value.length>0,"removeUploaded",F),!0===c.isUploading.value?e.h(Bt,{class:"q-uploader__spinner"}):null,e.h("div",{class:"col column justify-center"},[void 0!==o.label?e.h("div",{class:"q-uploader__title"},[o.label]):null,e.h("div",{class:"q-uploader__subtitle"},[S.value+" / "+x.value])]),P(B.value,"add"),P(!1===o.hideUploadBtn&&!0===_.value,"upload",c.upload),P(c.isUploading.value,"clear",c.abort)])]}function R(){return void 0!==r.list?r.list($.value):c.files.value.map((t=>e.h("div",{key:t.name,class:"q-uploader__file relative-position"+(!0!==o.noThumbnails&&void 0!==t.__img?" q-uploader__file--img":"")+("failed"===t.__status?" q-uploader__file--failed":"uploaded"===t.__status?" q-uploader__file--uploaded":""),style:!0!==o.noThumbnails&&void 0!==t.__img?{backgroundImage:'url("'+t.__img.src+'")'}:null},[e.h("div",{class:"q-uploader__file-header row flex-center no-wrap"},["failed"===t.__status?e.h(et,{class:"q-uploader__file-status",name:l.iconSet.type.negative,color:"negative"}):null,e.h("div",{class:"q-uploader__file-header-content col"},[e.h("div",{class:"q-uploader__title"},[t.name]),e.h("div",{class:"q-uploader__subtitle row items-center no-wrap"},[t.__sizeLabel+" / "+t.__progressLabel])]),"uploading"===t.__status?e.h(pr,{value:t.__progress,min:0,max:1,indeterminate:0===t.__progress}):e.h(Kt,{round:!0,dense:!0,flat:!0,icon:l.iconSet.uploader["uploaded"===t.__status?"done":"clear"],onClick:()=>{U(t)}})])])))}e.watch(c.isUploading,((e,t)=>
2{!1===t&&!0===e?i("start"):!0===t&&!1===e&&i("finish")})),e.onBeforeUnmount((()=>{!0===c.isUploading.value&&c.abort(),c.files.value.length>0&&Q()}));const j={pickFiles:m,addFiles:v,reset:N,removeUploadedFiles:F,removeQueuedFiles:V,removeFile:U,upload:I,abort:c.abort},$=e.computed((()=>{const t={canAddFiles:B.value,canUpload:_.value,uploadSizeLabel:S.value,uploadProgressLabel:x.value};return Object.keys(c).forEach((n=>{t[n]=!0===e.isRef(c[n])?c[n].value:c[n]})),{...t,...j}}));return Object.assign(a,j),()=>{const t=[e.h("div",{class:T.value},H()),e.h("div",{class:"q-uploader__list scroll"},R()),b("uploader")];!0===c.isBusy.value&&t.push(e.h("div",{class:"q-uploader__overlay absolute-full flex flex-center"},[e.h(Bt)]));const n={ref:f,class:E.value};return!0===B.value&&(n.onDragover=g),e.h("div",n,t)}}var Ed=({name:t,props:n,emits:o,injectPlugin:r})=>e.defineComponent({name:t,props:{...kd,...n},emits:[...xd,...o],setup:()=>Sd(r)});function Td(e){return"function"==typeof e?e:()=>e}const Nd={url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:e=>
2e.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function};function Fd({props:t,emit:n,helpers:o}){const r=e.ref([]),i=e.ref([]),a=e.ref(0),l=e.computed((()=>({url:Td(t.url),method:Td(t.method),headers:Td(t.headers),formFields:Td(t.formFields),fieldName:Td(t.fieldName),withCredentials:Td(t.withCredentials),sendRaw:Td(t.sendRaw),batch:Td(t.batch)})));let s;function u(){r.value.forEach((e=>{e.abort()})),i.value.length>0&&(s=!0)}function c(){const e=o.queuedFiles.value.slice(0);o.queuedFiles.value=[],l.value.batch(e)?d(e):e.forEach((e=>{d([e])}))}function d(e){if(a.value++,"function"!=typeof t.factory)return void A(e,{});const r=t.factory(e);if(r)if("function"==typeof r.catch&&"function"==typeof r.then){i.value.push(r);const t=t=>{!0===o.isAlive()&&(i.value=i.value.filter((e=>e!==r)),0===i.value.length&&(s=!1),o.queuedFiles.value=o.queuedFiles.value.concat(e),e.forEach((e=>{o.updateFileStatus(e,"failed")})),n("factory-failed",t,e),a.value--)};r.then((n=>{!0===s?t(new Error("Aborted")):!0===o.isAlive()&&(i.value=i.value.filter((e=>e!==r)),A(e,n))})).catch(t)}else A(e,r||{});else n("factory-failed",new Error("QUploader: factory() does not return properly"),e),a.value--}function A(e,t){const i=new FormData,s=new XMLHttpRequest,u=(e,n)=>void 0!==t[e]?Td(t[e])(n):l.value[e](n),c=u("url",e);if(!c)return console.error("q-uploader: invalid or no URL specified"),void a.value--;const d=u("formFields",e);void 0!==d&&d.forEach((e=>{i.append(e.name,e.value)}));let A,p=0,f=0,h=0,m=0;s.upload.addEventListener("progress",(t=>{if(!0===A)return;const n=Math.min(m,t.loaded);o.uploadedSize.value+=n-h,h=n;let r=h-f;for(let t=p;r>0&&t<e.length;t++){const n=e[t];if(!(r>n.size))return void o.updateFileStatus(n,"uploading",r);r-=n.size,p++,f+=n.size,o.updateFileStatus(n,"uploading",n.size)}}),!1),s.onreadystatechange=()=>{s.readyState<4||(s.status&&s.status<400?(o.uploadedFiles.value=o.uploadedFiles.value.concat(e),e.forEach((e=>{o.updateFileStatus(e,"uploaded")})),n("uploaded",{files:e,xhr:s})):(A=!0,o.uploadedSize.value-=h,o.queuedFiles.value=o.queuedFiles.value.concat(e),e.forEach((e=>{o.updateFileStatus(e,"failed")})),n("failed",{files:e,xhr:s})),a.value--,r.value=r.value.filter((e=>e!==s)))},s.open(u("method",e),c),!0===u("withCredentials",e)&&(s.withCredentials=!0);const v=u("headers",e);void 0!==v&&v.forEach((e=>{s.setRequestHeader(e.name,e.value)}));const g=u("sendRaw",e);e.forEach((e=>{o.updateFileStatus(e,"uploading",0),!0!==g&&i.append(u("fieldName",e),e,e.name),e.xhr=s,e.__abort=()=>{s.abort()},m+=e.size})),n("uploading",{files:e,xhr:s}),r.value.push(s),!0===g?s.send(new Blob(e)):s.send(i)}return{isUploading:e.computed((()=>a.value>0)),isBusy:e.computed((()=>i.value.length>0)),abort:u,upload:c}}var Vd=Ed({name:"QUploader",props:Nd,emits:["factory-failed","uploaded","failed","uploading"],injectPlugin:Fd}),Od=e.defineComponent({name:"QUploaderAddTrigger",setup:()=>e.inject(ue,(()=>{console.error("QUploaderAddTrigger needs to be child of QUploader")}))}),Ud=e.defineComponent({name:"QVideo",props:{...ts,src:{type:String,required:!0}},setup(t){const n=ns(t),o=e.computed((()=>"q-video"+(void 0!==t.ratio?" q-video--responsive":"")));return()=>e.h("div",{class:o.value,style:n.value},[e.h("iframe",{src:t.src,frameborder:"0",allowfullscreen:!0})])}}),Qd=Object.freeze({__proto__:null,QAjaxBar:Oe,QAvatar:tt,QBadge:ot,QBanner:
2at,QBar:lt,QBreadcrumbs:ht,QBreadcrumbsEl:wt,QBtn:Kt,QBtnDropdown:vo,QBtnGroup:Wt,QBtnToggle:Lo,QCard:Co,QCardSection:Bo,QCardActions:_o,QCarousel:Yo,QCarouselSlide:Go,QCarouselControl:Zo,QChatMessage:Jo,QCheckbox:ir,QChip:lr,QCircularProgress:pr,QColor:li,QDate:va,QDialog:qa,QDrawer:Ia,QEditor:ul,QExpansionItem:Cl,QFab:El,QFabAction:Fl,QField:Rl,QFile:Gl,QFooter:Zl,QForm:Jl,QFormChildMixin:Xl,QHeader:es,QIcon:et,QImg:ls,QInfiniteScroll:ss,QInnerLoading:us,QInput:Ls,QIntersection:xs,QList:Ss,QItem:za,QItemSection:Ka,QItemLabel:cl,QKnob:Ns,QLayout:Us,QMarkupTable:qs,QMenu:mo,QNoSsr:Ms,QOptionGroup:js,QPage:$s,QPageContainer:zs,QPageScroller:Ys,QPageSticky:Gs,QPagination:Zs,QParallax:eu,QPopupEdit:nu,QPopupProxy:ou,QLinearProgress:au,QPullToRefresh:uu,QRadio:Ps,QRange:du,QRating:Au,QResizeObserver:xr,QResponsive:pu,QScrollArea:mu,QScrollObserver:Os,QSelect:Ou,QSeparator:fl,QSkeleton:qu,QSlideItem:Iu,QSlideTransition:dl,QSlider:Cr,QSpace:Du,QSpinner:Bt,QSpinnerAudio:Ru,QSpinnerBall:$u,QSpinnerBars:Ku,QSpinnerBox:Yu,QSpinnerClock:Zu,QSpinnerComment:Xu,QSpinnerCube:tc,QSpinnerDots:oc,QSpinnerFacebook:ic,QSpinnerGears:lc,QSpinnerGrid:uc,QSpinnerHearts:dc,QSpinnerHourglass:pc,QSpinnerInfinity:hc,QSpinnerIos:vc,QSpinnerOrbit:yc,QSpinnerOval:wc,QSpinnerPie:Cc,QSpinnerPuff:_c,QSpinnerRadio:xc,QSpinnerRings:Ec,QSpinnerTail:Nc,QSplitter:Fc,QStep:Qc,QStepper:Ic,QStepperNavigation:Pc,QTabPanels:Qr,QTabPanel:qr,QTable:pd,QTh:Dc,QTr:fd,QTd:hd,QTabs:Tr,QTab:Ur,QRouteTab:md,QTime:yd,QTimeline:bd,QTimelineEntry:wd,QToggle:Ds,QToolbar:Ld,QToolbarTitle:Cd,QTooltip:$a,QTree:Bd,QUploader:Vd,QUploaderAddTrigger:Od,QVideo:Ud,QVirtualScroll:$c});function qd(e){if(!1===e)return 0;if(!0===e||void 0===e)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}var Md={name:"close-popup",beforeMount(e,{value:t}){const n={depth:qd(t),handler(t){0!==n.depth&&setTimeout((()=>{const o=hn(e);void 0!==o&&vn(o,t,n.depth)}))},handlerKey(e){!0===K(e,13)&&n.handler(e)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=qd(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}};let Id,Pd=0;function Dd(e,t){void 0===Id&&(Id=document.createElement("div"),Id.style.cssText="position: absolute; left: 0; top: 0",document.body.appendChild(Id));const n=e.getBoundingClientRect(),o=Id.getBoundingClientRect(),{marginLeft:r,marginRight:i,marginTop:a,marginBottom:l}=window.getComputedStyle(e),s=parseInt(r,10)+parseInt(i,10),u=parseInt(a,10)+parseInt(l,10);return{left:n.left-o.left,top:n.top-o.top,width:n.right-n.left,height:n.bottom-n.top,widthM:n.right-n.left+(!0===t?0:s),heightM:n.bottom-n.top+(!0===t?0:u),marginH:!0===t?s:0,marginV:!0===t?u:0}}function Hd(e){return{width:e.scrollWidth,height:e.scrollHeight}}const Rd=["Top","Right","Bottom","Left"],jd=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],$d=/-block|-inline|block-|inline-/,zd=/(-block|-inline|block-|inline-).*:/;function Kd(e,t){const n=window.getComputedStyle(e),o={};for(let e=0;e<t.length;e++){const r=t[e];if(""===n[r])if("cssText"===r){const e=n.length;let t="";for(let o=0;o<e;o++)!0!==$d.test(n[o])&&(t+=n[o]+": "+n[n[o]]+"; ");o[r]=t}else if(["borderWidth","borderStyle","borderColor"].indexOf(r)>-1){const e=r.replace("border","");let t="";for(let o=0;o<Rd.length;o++)t+=n["border"+Rd[o]+e]+" ";o[r]=t}else if("borderRadius"===r){let e="",t="";for(let o=0;o<jd.length;o++){const r=n[jd[o]].split(" ");e+=r[0]+" ",t+=(void 0===r[1]?r[0]:r[1])+" "}o[r]=e+"/ "+t}else o[r]=n[r];else o[r]="cssText"===r?n[r].split(";").filter((e=>!0!==zd.test(e))).join(";"):n[r]}return o}const Wd=["absolute","fixed","relative","sticky"];function Yd(e){let t=e,n=0;for(;null!==t&&t!==document;){const{position:o,zIndex:r}=window.getComputedStyle(t),i=Number(r);i>n&&(t===e||!0===Wd.includes(o))&&(n=i),t=t.parentNode}return n}function Gd(e){return{from:e.from,to:void 0!==e.to?e.to:e.from}}function Zd(e){return"number"==typeof e?e={duration:e}:"function"==typeof e&&(e={onEnd:e}),{...e,waitFor:void 0===e.waitFor?0:e.waitFor,duration:!0===isNaN(e.duration)?300:parseInt(e.duration,10),easing:"string"==typeof e.easing&&e.easing.length>0?e.easing:"ease-in-out",delay:!0===isNaN(e.delay)?0:parseInt(e.delay,10),fill:"string"==typeof e.fill&&e.fill.length>0?e.fill:"none",resize:!0===e.resize,useCSS:!0===e.useCSS,hideFromClone:!0===e.hideFromClone,keepToClone:!0===e.keepToClone,tween:!0===e.tween,tweenFromOpacity:!0===isNaN(e.tweenFromOpacity)?.6:parseFloat(e.tweenFromOpacity),tweenToOpacity:!0===isNaN(e.tweenToOpacity)?.5:parseFloat(e.tweenToOpacity)}}function Jd(e){const t=typeof e;return"function"===t?e():"string"===t?document.querySelector(e):e}function Xd(e){return e&&e.ownerDocument===document&&null!==e.parentNode}function eA(e){let t=()=>!1,n=!1,o=!0;const r=Gd(e),i=Zd(e),a=Jd(r.from);if(!0!==Xd(a))return t;let l,s,u,c;"function"==typeof a.qMorphCancel&&a.qMorphCancel();const d=a.parentNode,A=a.nextElementSibling,p=Dd(a,i.resize),{width:f,height:h}=Hd(d),{borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,backgroundColor:b,transform:w,position:L,cssText:C}=Kd(a,["borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","transform","position","cssText"]),B=a.classList.toString(),_=a.style.cssText,k=a.cloneNode(!0),x=!0===i.tween?a.cloneNode(!0):void 0;void 0!==x&&(x.className=x.classList.toString().split(" ").filter((e=>!1===/^bg-/.test(e))).join(" ")),!0===i.hideFromClone&&k.classList.add("q-morph--internal"),k.setAttribute("aria-hidden","true"),k.style.transition="none",k.style.animation="none",k.style.pointerEvents="none",d.insertBefore(k,A),a.qMorphCancel=()=>{n=!0,k.remove(),void 0!==x&&x.remove(),!0===i.hideFromClone&&k.classList.remove("q-morph--internal"),a.qMorphCancel=void 0};const S=()=>{const e=Jd(r.to);if(!0===n||!0!==Xd(e))return void("function"==typeof a.qMorphCancel&&a.qMorphCancel());a!==e&&"function"==typeof e.qMorphCancel&&e.qMorphCancel(),!0!==i.keepToClone&&e.classList.add("q-morph--internal"),k.classList.add("q-morph--internal");const{width:A,height:S}=Hd(d),{width:E,height:T}=Hd(e.parentNode);!0!==i.hideFromClone&&k.classList.remove("q-morph--internal"),e.qMorphCancel=()=>{n=!0,k.remove(),void 0!==x&&x.remove(),!0===i.hideFromClone&&k.classList.remove("q-morph--internal"),!0!==i.keepToClone&&e.classList.remove("q-morph--internal"),a.qMorphCancel=void 0,e.qMorphCancel=void 0};const N=()=>
2{if(!0===n)return void("function"==typeof e.qMorphCancel&&e.qMorphCancel());!0!==i.hideFromClone&&(k.classList.add("q-morph--internal"),k.innerHTML="",k.style.left=0,k.style.right="unset",k.style.top=0,k.style.bottom="unset",k.style.transform="none"),!0!==i.keepToClone&&e.classList.remove("q-morph--internal");const r=e.parentNode,{width:N,height:F}=Hd(r),V=e.cloneNode(i.keepToClone);V.setAttribute("aria-hidden","true"),!0!==i.keepToClone&&(V.style.left=0,V.style.right="unset",V.style.top=0,V.style.bottom="unset",V.style.transform="none",V.style.pointerEvents="none"),V.classList.add("q-morph--internal");const O=e===a&&d===r?k:e.nextElementSibling;r.insertBefore(V,O);const{borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,backgroundColor:I,transform:P,position:D,cssText:H}=Kd(e,["borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","transform","position","cssText"]),R=e.classList.toString(),j=e.style.cssText;e.style.cssText=H,e.style.transform="none",e.style.animation="none",e.style.transition="none",e.className=R.split(" ").filter((e=>!1===/^bg-/.test(e))).join(" ");const $=Dd(e,i.resize),z=p.left-$.left,K=p.top-$.top,W=p.width/($.width>0?$.width:10),Y=p.height/($.height>0?$.height:100),G=f-A,Z=h-S,J=N-E,X=F-T,ee=Math.max(p.widthM,G),te=Math.max(p.heightM,Z),ne=Math.max($.widthM,J),oe=Math.max($.heightM,X),re=a===e&&!1===["absolute","fixed"].includes(D)&&!1===["absolute","fixed"].includes(L);let ie="fixed"===D,ae=r;for(;!0!==ie&&ae!==document;)ie="fixed"===window.getComputedStyle(ae).position,ae=ae.parentNode;if(!0!==i.hideFromClone&&(k.style.display="block",k.style.flex="0 0 auto",k.style.opacity=0,k.style.minWidth="unset",k.style.maxWidth="unset",k.style.minHeight="unset",k.style.maxHeight="unset",k.classList.remove("q-morph--internal")),!0!==i.keepToClone&&(V.style.display="block",V.style.flex="0 0 auto",V.style.opacity=0,V.style.minWidth="unset",V.style.maxWidth="unset",V.style.minHeight="unset",V.style.maxHeight="unset"),V.classList.remove("q-morph--internal"),"string"==typeof i.classes&&(e.className+=" "+i.classes),"string"==typeof i.style)e.style.cssText+=" "+i.style;else if(i.style===Object(i.style))for(const t in i.style)e.style[t]=i.style[t];const le=Yd(k),se=Yd(e),ue=!0===ie?document.documentElement:{scrollLeft:0,scrollTop:0};e.style.position=!0===ie?"fixed":"absolute",e.style.left=$.left-ue.scrollLeft+"px",e.style.right="unset",e.style.top=$.top-ue.scrollTop+"px",e.style.margin=0,!0===i.resize&&(e.style.minWidth="unset",e.style.maxWidth="unset",e.style.minHeight="unset",e.style.maxHeight="unset",e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden"),document.body.appendChild(e),void 0!==x&&(x.style.cssText=C,x.style.transform="none",x.style.animation="none",x.style.transition="none",x.style.position=e.style.position,x.style.left=p.left-ue.scrollLeft+"px",x.style.right="unset",x.style.top=p.top-ue.scrollTop+"px",x.style.margin=0,x.style.pointerEvents="none",!0===i.resize&&(x.style.minWidth="unset",x.style.maxWidth="unset",x.style.minHeight="unset",x.style.maxHeight="unset",x.style.overflow="hidden",x.style.overflowX="hidden",x.style.overflowY="hidden"),document.body.appendChild(x));const ce=n=>{a===e&&!0!==o?(e.style.cssText=_,e.className=B):(e.style.cssText=j,e.className=R),V.parentNode===r&&r.insertBefore(e,V),k.remove(),V.remove(),void 0!==x&&x.remove(),t=()=>!1,a.qMorphCancel=void 0,e.qMorphCancel=void 0,"function"==typeof i.onEnd&&i.onEnd(!0===o?"to":"from",!0===n)};if(!0!==i.useCSS&&"function"==typeof e.animate){const r=!0===i.resize?{transform:`translate(${z}px, ${K}px)`,width:`${ee}px`,height:`${te}px`}:{transform:`translate(${z}px, ${K}px) scale(${W}, ${Y})`},d=!0===i.resize?{width:`${ne}px`,height:`${oe}px`}:{},A=!0===i.resize?{width:`${ee}px`,height:`${te}px`}:{},f=!0===i.resize?{transform:`translate(${-1*z}px, ${-1*K}px)`,width:`${ne}px`,height:`${oe}px`}:{transform:`translate(${-1*z}px, ${-1*K}px) scale(${1/W}, ${1/Y})`},h=void 0!==x?{opacity:i.tweenToOpacity}:{backgroundColor:b},L=void 0!==x?{opacity:1}:{backgroundColor:I};c=e.animate([{margin:0,borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,zIndex:le,transformOrigin:"0 0",...r,...h},{margin:0,borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,zIndex:se,transformOrigin:"0 0",transform:P,...d,...L}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),s=void 0===x?void 0:x.animate([{opacity:i.tweenFromOpacity,margin:0,borderWidth:m,borderStyle:v,borderColor:g,borderRadius:y,zIndex:le,transformOrigin:"0 0",transform:w,...A},{opacity:0,margin:0,borderWidth:U,borderStyle:Q,borderColor:q,borderRadius:M,zIndex:se,transformOrigin:"0 0",...f}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),l=!0===i.hideFromClone||!0===re?void 0:k.animate([{margin:`${Z<0?Z/2:0}px ${G<0?G/2:0}px`,width:`${ee+p.marginH}px`,height:`${te+p.marginV}px`},{margin:0,width:0,height:0}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay}),u=!0===i.keepToClone?void 0:V.animate([!0===re?{margin:`${Z<0?Z/2:0}px ${G<0?G/2:0}px`,width:`${ee+p.marginH}px`,height:`${te+p.marginV}px`}:{margin:0,width:0,height:0},{margin:`${X<0?X/2:0}px ${J<0?J/2:0}px`,width:`${ne+$.marginH}px`,height:`${oe+$.marginV}px`}],{duration:i.duration,easing:i.easing,fill:i.fill,delay:i.delay});const C=e=>{void 0!==l&&l.cancel(),void 0!==s&&s.cancel(),void 0!==u&&u.cancel(),c.cancel(),c.removeEventListener("finish",C),c.removeEventListener("cancel",C),ce(e),l=void 0,s=void 0,u=void 0,c=void 0};a.qMorphCancel=()=>{a.qMorphCancel=void 0,n=!0,C()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,C()},c.addEventListener("finish",C),c.addEventListener("cancel",C),t=e=>!0!==n&&void 0!==c&&(!0===e?(C(!0),!0):(o=!0!==o,void 0!==l&&l.reverse(),void 0!==s&&s.reverse(),void 0!==u&&u.reverse(),c.reverse(),!0))}
2else{const r="q-morph-anim-"+ ++Pd,l=document.createElement("style"),s=!0===i.resize?`\n transform: translate(${z}px, ${K}px);\n width: ${ee}px;\n height: ${te}px;\n `:`transform: translate(${z}px, ${K}px) scale(${W}, ${Y});`,u=!0===i.resize?`\n width: ${ne}px;\n height: ${oe}px;\n `:"",c=!0===i.resize?`\n width: ${ee}px;\n height: ${te}px;\n `:"",d=!0===i.resize?`\n transform: translate(${-1*z}px, ${-1*K}px);\n width: ${ne}px;\n height: ${oe}px;\n `:`transform: translate(${-1*z}px, ${-1*K}px) scale(${1/W}, ${1/Y});`,A=void 0!==x?`opacity: ${i.tweenToOpacity};`:`background-color: ${b};`,f=void 0!==x?"opacity: 1;":`background-color: ${I};`,h=void 0===x?"":`\n @keyframes ${r}-from-tween {\n 0% {\n opacity: ${i.tweenFromOpacity};\n margin: 0;\n border-width: ${m};\n border-style: ${v};\n border-color: ${g};\n border-radius: ${y};\n z-index: ${le};\n transform-origin: 0 0;\n transform: ${w};\n ${c}\n }\n\n 100% {\n opacity: 0;\n margin: 0;\n border-width: ${U};\n border-style: ${Q};\n border-color: ${q};\n border-radius: ${M};\n z-index: ${se};\n transform-origin: 0 0;\n ${d}\n }\n }\n `,L=!0===i.hideFromClone||!0===re?"":`\n @keyframes ${r}-from {\n 0% {\n margin: ${Z<0?Z/2:0}px ${G<0?G/2:0}px;\n width: ${ee+p.marginH}px;\n height: ${te+p.marginV}px;\n }\n\n 100% {\n margin: 0;\n width: 0;\n height: 0;\n }\n }\n `,C=!0===re?`\n margin: ${Z<0?Z/2:0}px ${G<0?G/2:0}px;\n width: ${ee+p.marginH}px;\n height: ${te+p.marginV}px;\n `:"\n margin: 0;\n width: 0;\n height: 0;\n ",B=!0===i.keepToClone?"":`\n @keyframes ${r}-to {\n 0% {\n ${C}\n }\n\n 100% {\n margin: ${X<0?X/2:0}px ${J<0?J/2:0}px;\n width: ${ne+$.marginH}px;\n height: ${oe+$.marginV}px;\n }\n }\n `;l.innerHTML=`\n @keyframes ${r} {\n 0% {\n margin: 0;\n border-width: ${m};\n border-style: ${v};\n border-color: ${g};\n border-radius: ${y};\n background-color: ${b};\n z-index: ${le};\n transform-origin: 0 0;\n ${s}\n ${A}\n }\n\n 100% {\n margin: 0;\n border-width: ${U};\n border-style: ${Q};\n border-color: ${q};\n border-radius: ${M};\n background-color: ${I};\n z-index: ${se};\n transform-origin: 0 0;\n transform: ${P};\n ${u}\n ${f}\n }\n }\n\n ${L}\n\n ${h}\n\n ${B}\n `,document.head.appendChild(l);let _="normal";k.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-from`,void 0!==x&&(x.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-from-tween`),V.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}-to`,e.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${_} ${i.fill} ${r}`;const S=t=>{t===Object(t)&&t.animationName!==r||(e.removeEventListener("animationend",S),e.removeEventListener("animationcancel",S),ce(),l.remove())};a.qMorphCancel=()=>{a.qMorphCancel=void 0,n=!0,S()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,S()},e.addEventListener("animationend",S),e.addEventListener("animationcancel",S),t=t=>
2!!(!0!==n&&e&&k&&V)&&(!0===t?(S(),!0):(o=!0!==o,_="normal"===_?"reverse":"normal",k.style.animationDirection=_,x.style.animationDirection=_,V.style.animationDirection=_,e.style.animationDirection=_,!0))}};if(i.waitFor>0||"transitionend"===i.waitFor||i.waitFor===Object(i.waitFor)&&"function"==typeof i.waitFor.then){const t=i.waitFor>0?new Promise((e=>setTimeout(e,i.waitFor))):"transitionend"===i.waitFor?new Promise((t=>{const n=setTimeout((()=>{o()}),400),o=r=>{clearTimeout(n),e&&(e.removeEventListener("transitionend",o),e.removeEventListener("transitioncancel",o)),t()};e.addEventListener("transitionend",o),e.addEventListener("transitioncancel",o)})):i.waitFor;t.then(N).catch((()=>{"function"==typeof e.qMorphCancel&&e.qMorphCancel()}))}else N()};return"function"==typeof e.onToggle&&e.onToggle(),requestAnimationFrame(S),e=>t(e)}const tA={},nA=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],oA=["resize","useCSS","hideFromClone","keepToClone","tween"];function rA(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function iA(e){if(!0===e.animating||e.queue.length<2)return;const[t,n]=e.queue;e.animating=!0,t.animating=!0,n.animating=!0,rA(t,"remove"),rA(n,"remove");const o=eA({from:t.el,to:n.el,onToggle(){rA(t,"add"),rA(n,"remove")},...n.opts,onEnd(o,r){void 0!==n.opts.onEnd&&n.opts.onEnd(o,r),!0!==r&&(t.animating=!1,n.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),iA(e))}});e.cancel=()=>{o(!0),e.cancel=void 0}}function aA(e,t){const n=t.opts;oA.forEach((t=>{n[t]=!0===e[t]}))}function lA(e,t){const n="string"==typeof e&&e.length>0?e.split(":"):[];t.name=n[0],t.group=n[1],Object.assign(t.opts,{duration:!0===isNaN(n[2])?300:parseFloat(n[2]),waitFor:n[3]})}function sA(e,t){void 0!==e.group&&(t.group=e.group),void 0!==e.name&&(t.name=e.name);const n=t.opts;nA.forEach((t=>{void 0!==e[t]&&(n[t]=e[t])}))}function uA(e,t){if(t.name!==e)!1===t.animating&&rA(t,"add");else{const n=tA[t.group];void 0===n?(tA[t.group]={name:t.group,model:e,queue:[t],animating:!1},rA(t,"remove")):n.model!==e&&(n.model=e,n.queue.push(t),!1===n.animating&&2===n.queue.length&&iA(n))}}function cA(e,t){let n;Object(t)===t?(n=""+t.model,sA(t,e),aA(t,e)):n=""+t,n!==e.model?(e.model=n,uA(n,e)):!1===e.animating&&void 0!==e.clsAction&&e.el.classList[e.clsAction]("q-morph--invisible")}
2var dA={name:"morph",mounted(e,t){const n={el:e,animating:!1,opts:{}};aA(t.modifiers,n),lA(t.arg,n),cA(n,t.value),e.__qmorph=n},updated(e,t){cA(e.__qmorph,t.value)},beforeUnmount(e){const t=e.__qmorph,n=tA[t.group];void 0!==n&&-1!==n.queue.indexOf(t)&&(n.queue=n.queue.filter((e=>e!==t)),0===n.queue.length&&(void 0!==n.cancel&&n.cancel(),delete tA[t.group])),"add"===t.clsAction&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}};const AA={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function pA(e,t,n){t.handler=n,void 0!==t.observer&&t.observer.disconnect(),t.observer=new MutationObserver((n=>{"function"==typeof t.handler&&(!1!==t.handler(n)&&!0!==t.once||fA(e))})),t.observer.observe(e,t.opts)}function fA(e){const t=e.__qmutation;void 0!==t&&(void 0!==t.observer&&t.observer.disconnect(),delete e.__qmutation)}var hA={name:"mutation",mounted(e,{modifiers:{once:t,...n},value:o}){const r={once:t,opts:0===Object.keys(n).length?AA:n};pA(e,r,o),e.__qmutation=r},updated(e,{oldValue:t,value:n}){const o=e.__qmutation;void 0!==o&&t!==n&&pA(e,o,n)},beforeUnmount:fA};const{passive:mA}=p;function vA(e,{value:t,oldValue:n}){"function"==typeof t?(e.handler=t,"function"!=typeof n&&(e.scrollTarget.addEventListener("scroll",e.scroll,mA),e.scroll())):e.scrollTarget.removeEventListener("scroll",e.scroll,mA)}var gA={name:"scroll-fire",mounted(e,t){const n={scrollTarget:_n(e),scroll:T((()=>{let t,o;n.scrollTarget===window?(o=e.getBoundingClientRect().bottom,t=window.innerHeight):(o=_t(e).top+xt(e),t=_t(n.scrollTarget).top+xt(n.scrollTarget)),o>0&&o<t&&(n.scrollTarget.removeEventListener("scroll",n.scroll,mA),n.handler(e))}),25)};vA(n,t),e.__qscrollfire=n},updated(e,t){t.value!==t.oldValue&&vA(e.__qscrollfire,t)},beforeUnmount(e){const t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,mA),delete e.__qscrollfire}};function yA(e,{value:t,oldValue:n}){"function"==typeof t?(e.handler=t,"function"!=typeof n&&e.scrollTarget.addEventListener("scroll",e.scroll,p.passive)):e.scrollTarget.removeEventListener("scroll",e.scroll,p.passive)}var bA={name:"scroll",mounted(e,t){const n={scrollTarget:_n(e),scroll(){n.handler(Sn(n.scrollTarget),En(n.scrollTarget))}};yA(n,t),e.__qscroll=n},updated(e,t){void 0!==e.__qscroll&&t.oldValue!==t.value&&yA(e.__qscroll,t)},beforeUnmount(e){const t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,p.passive),delete e.__qscroll}},wA={name:"touch-hold",beforeMount(e,t){const{modifiers:n}=t;if(!0!==n.mouse&&!0!==c.has.touch)return;const o={handler:t.value,noop:f,mouseStart(e){"function"==typeof o.handler&&!0===h(e)&&(x(o,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),o.start(e,!0))},touchStart(e){if(void 0!==e.target&&"function"==typeof o.handler){const t=e.target;x(o,"temp",[[t,"touchmove","move","passiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),o.start(e)}},start(e,t){o.origin=g(e);const n=Date.now();!0===c.is.mobile&&(document.body.classList.add("non-selectable"),Yt(),o.styleCleanup=e=>{o.styleCleanup=void 0;const t=()=>{document.body.classList.remove("non-selectable")};!0===e?(Yt(),setTimeout(t,10)):t()}),o.triggered=!1,o.sensitivity=!0===t?o.mouseSensitivity:o.touchSensitivity,o.timer=setTimeout((()=>{Yt(),o.triggered=!0,o.handler({evt:e,touch:!0!==t,mouse:!0===t,position:o.origin,duration:Date.now()-n})}),o.duration)},move(e){const{top:t,left:n}=g(e);(Math.abs(n-o.origin.left)>=o.sensitivity||Math.abs(t-o.origin.top)>=o.sensitivity)&&clearTimeout(o.timer)},end(e){S(o,"temp"),void 0!==o.styleCleanup&&o.styleCleanup(o.triggered),!0===o.triggered?void 0!==e&&_(e):clearTimeout(o.timer)}},r=[600,5,7];"string"==typeof t.arg&&t.arg.length>0&&t.arg.split(":").forEach(((e,t)=>{const n=parseInt(e,10);n&&(r[t]=n)})),[o.duration,o.touchSensitivity,o.mouseSensitivity]=r,e.__qtouchhold=o,!0===n.mouse&&x(o,"main",[[e,"mousedown","mouseStart","passive"+(!0===n.mouseCapture?"Capture":"")]]),!0===c.has.touch&&x(o,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchhold;void 0!==n&&t.oldValue!==t.value&&("function"!=typeof t.value&&n.end(),n.handler=t.value)},beforeUnmount(e){const t=e.__qtouchhold;void 0!==t&&(S(t,"main"),S(t,"temp"),clearTimeout(t.timer),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchhold)}};const LA={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]}
2,CA=new RegExp(`^([\\d+]+|${Object.keys(LA).join("|")})$`,"i");function BA(e,t){const{top:n,left:o}=g(e);return Math.abs(o-t.left)>=7||Math.abs(n-t.top)>=7}var _A={name:"touch-repeat",beforeMount(e,{modifiers:t,value:n,arg:o}){const r=Object.keys(t).reduce(((e,t)=>{if(!0===CA.test(t)){const n=isNaN(parseInt(t,10))?LA[t.toLowerCase()]:parseInt(t,10);n>=0&&e.push(n)}return e}),[]);if(!0!==t.mouse&&!0!==c.has.touch&&0===r.length)return;const i="string"==typeof o&&o.length>0?o.split(":").map((e=>parseInt(e,10))):[0,600,300],a=i.length-1,l={keyboard:r,handler:n,noop:f,mouseStart(e){void 0===l.event&&"function"==typeof l.handler&&!0===h(e)&&(x(l,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),l.start(e,!0))},keyboardStart(t){if("function"==typeof l.handler&&!0===K(t,r)){if((0===i[0]||void 0!==l.event)&&(_(t),e.focus(),void 0!==l.event))return;x(l,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),l.start(t,!1,!0)}},touchStart(e){if(void 0!==e.target&&"function"==typeof l.handler){const t=e.target;x(l,"temp",[[t,"touchmove","move","passiveCapture"],[t,"touchcancel","end","notPassiveCapture"],[t,"touchend","end","notPassiveCapture"]]),l.start(e)}},start(e,t,n){function o(e){l.styleCleanup=void 0,document.documentElement.style.cursor="";const t=()=>{document.body.classList.remove("non-selectable")};!0===e?(Yt(),setTimeout(t,10)):t()}!0!==n&&(l.origin=g(e)),!0===c.is.mobile&&(document.body.classList.add("non-selectable"),Yt(),l.styleCleanup=o),l.event={touch:!0!==t&&!0!==n,mouse:!0===t,keyboard:!0===n,startTime:Date.now(),repeatCount:0};const r=()=>{if(void 0===l.event)return;0===l.event.repeatCount&&(l.event.evt=e,!0===n?l.event.keyCode=e.keyCode:l.event.position=g(e),!0!==c.is.mobile&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Yt(),l.styleCleanup=o)),l.event.duration=Date.now()-l.event.startTime,l.event.repeatCount+=1,l.handler(l.event);const t=a<l.event.repeatCount?a:l.event.repeatCount;l.timer=setTimeout(r,i[t])};0===i[0]?r():l.timer=setTimeout(r,i[0])},move(e){void 0!==l.event&&!0===BA(e,l.origin)&&clearTimeout(l.timer)},end(e){void 0!==l.event&&(void 0!==l.styleCleanup&&l.styleCleanup(!0),void 0!==e&&l.event.repeatCount>0&&_(e),S(l,"temp"),clearTimeout(l.timer),l.event=void 0)}};e.__qtouchrepeat=l,!0===t.mouse&&x(l,"main",[[e,"mousedown","mouseStart","passive"+(!0===t.mouseCapture?"Capture":"")]]),!0===c.has.touch&&x(l,"main",[[e,"touchstart","touchStart","passive"+(!0===t.capture?"Capture":"")],[e,"touchend","noop","notPassiveCapture"]]),r.length>0&&x(l,"main",[[e,"keydown","keyboardStart","notPassive"+(!0===t.keyCapture?"Capture":"")]])},updated(e,{oldValue:t,value:n}){const o=e.__qtouchrepeat;void 0!==o&&t!==n&&("function"!=typeof n&&o.end(),o.handler=n)},beforeUnmount(e){const t=e.__qtouchrepeat;void 0!==t&&(clearTimeout(t.timer),S(t,"main"),S(t,"temp"),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchrepeat)}},kA=Object.freeze({__proto__:null,ClosePopup:Md,Intersection:ks,Morph:dA,Mutation:hA,Ripple:Mt,ScrollFire:gA,Scroll:bA,TouchHold:wA,TouchPan:mr,TouchRepeat:_A,TouchSwipe:No});function xA(e,t=document.body){if("string"!=typeof e)throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}let SA;function EA(){return c.is.winphone?"msapplication-navbutton-color":c.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function TA(e){const t=document.getElementsByTagName("META");for(const n in t)if(t[n].name===e)return t[n]}function NA(e){void 0===SA&&(SA=EA());let t=TA(SA);const n=void 0===t;n&&(t=document.createElement("meta"),t.setAttribute("name",SA)),t.setAttribute("content",e),n&&document.head.appendChild(t)}var FA={set:!0!==c.is.mobile||!0!==c.is.nativeMobile&&!0!==c.is.winphone&&!0!==c.is.safari&&!0!==c.is.webkit&&!0!==c.is.vivaldi?f:e=>{const t=e||xA("primary");!0===c.is.nativeMobile&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):NA(t)},install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};const VA={};function OA(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}function UA(e,t){try{const n=e[t]();return void 0===n?Promise.resolve():n}catch(e){return Promise.reject(e)}}const QA=A({isActive:!1,activeEl:null},{isCapable:!1,request:e=>!0===QA.isCapable&&!1===QA.isActive?UA(e||document.documentElement,VA.request):QA.__getErr(),exit:()=>!0===QA.isCapable&&!0===QA.isActive?UA(document,VA.exit):QA.__getErr(),toggle:e=>!0===QA.isActive?QA.exit():QA.request(e),install({$q:e}){e.fullscreen=this}});{function e(){VA.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find((e=>void 0!==document.documentElement[e])),QA.isCapable=void 0!==VA.request,!1!==QA.isCapable?(QA.__getErr=()=>Promise.resolve(),VA.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find((e=>document[e])),QA.isActive=!!OA(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach((e=>{document[e]=()=>{QA.isActive=!1===QA.isActive,!1===QA.isActive?(QA.activeEl=null,pn(document.body)):(QA.activeEl=OA(),pn(QA.activeEl===document.documentElement?document.body:QA.activeEl))}}))):QA.__getErr=()=>Promise.reject("Not capable")}e()}const qA=A({appVisible:!0},{install({$q:e}){Object.defineProperty(e,"appVisible",{get:()=>this.appVisible})}});{let e,t;if(void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange"),t&&void 0!==document[e]){const n=()=>{qA.appVisible=!document[e]};document.addEventListener(t,n,!1)}}var MA=e.defineComponent({name:"BottomSheetPlugin",props:{...rt,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:n}){const{proxy:o}=e.getCurrentInstance(),r=it(t,o.$q),i=e.ref(null);function a(){i.value.show()}function l(){i.value.hide()}function s(e){n("ok",e),l()}function u(){n("hide")}function c(){return t.actions.map((t=>{const n=t.avatar||t.img;return void 0===t.label?e.h(fl,{class:"col-all",dark:r.value}):e.h("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",t.class],tabindex:0,onClick(){s(t)},onKeyup(e){13===e.keyCode&&s(t)}},[e.h("div",{class:"q-focus-helper"}
2),t.icon?e.h(et,{name:t.icon,color:t.color}):n?e.h("img",{class:t.avatar?"q-bottom-sheet__avatar":"",src:n}):e.h("div",{class:"q-bottom-sheet__empty-icon"}),e.h("div",t.label)])}))}function d(){return t.actions.map((t=>{const n=t.avatar||t.img;return void 0===t.label?e.h(fl,{spaced:!0,dark:r.value}):e.h(za,{class:["q-bottom-sheet__item",t.classes],tabindex:0,clickable:!0,dark:r.value,onClick(){s(t)},onKeyup(e){13===e.keyCode&&s(t)}},(()=>[e.h(Ka,{avatar:!0},(()=>t.icon?e.h(et,{name:t.icon,color:t.color}):n?e.h("img",{class:t.avatar?"q-bottom-sheet__avatar":"",src:n}):null)),e.h(Ka,(()=>t.label))]))}))}function A(){const n=[];return t.title&&n.push(e.h(Bo,{class:"q-dialog__title"},(()=>t.title))),t.message&&n.push(e.h(Bo,{class:"q-dialog__message"},(()=>t.message))),n.push(!0===t.grid?e.h("div",{class:"row items-stretch justify-start"},c()):e.h("div",d())),n}function p(){return[e.h(Co,{class:["q-bottom-sheet q-bottom-sheet--"+(!0===t.grid?"grid":"list")+(!0===r.value?" q-bottom-sheet--dark q-dark":""),t.cardClass],style:t.cardStyle},A)]}return Object.assign(o,{show:a,hide:l}),()=>e.h(qa,{ref:i,position:"bottom",onHide:u},p)}});function IA(e,t){for(const n in t)"spinner"!==n&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},IA(e[n],t[n])):e[n]=t[n]}function PA(t,n,o){return r=>{let i,a;const l=!0===n&&void 0!==r.component;if(!0===l){const{component:e,componentProps:t}=r;i="string"==typeof e?o.component(e):e,a=t}else{const{class:e,style:n,...o}=r;i=t,a=o,void 0!==e&&(o.cardClass=e),void 0!==n&&(o.cardStyle=n)}const s=[],u=[],c={onOk:e=>(s.push(e),c),onCancel:e=>(u.push(e),c),onDismiss:e=>(s.push(e),u.push(e),c),hide:()=>(null!==h.value&&h.value.hide(),c),update(e){if(null!==v){if(!0===l)Object.assign(a,e);else{const{class:t,style:n,...o}=e;void 0!==t&&(o.cardClass=t),void 0!==n&&(o.cardStyle=n),IA(a,o)}v.$forceUpdate()}return c}},d=dn();let A=!1;const p=e=>{A=!0,s.forEach((t=>{t(e)}))},f=()=>{m.unmount(d),An(d),m=null,v=null,!0!==A&&u.forEach((e=>{e()}))},h=e.ref(null);let m=fe({name:"QGlobalDialog",setup:()=>()=>e.h(i,{ref:h,...a,onOk:p,onHide:f})},o),v=m.mount(d);function g(){void 0!==h.value.show?h.value.show():v.$.subTree&&v.$.subTree.component&&v.$.subTree.component.proxy&&v.$.subTree.component.proxy.show?v.$.subTree.component.proxy.show():console.error("[Quasar] Incorrectly defined Dialog component")}return null!==h.value?g():"function"==typeof i.__asyncLoader&&i.__asyncLoader().then((()=>{e.nextTick(g)})),c}}var DA={install({$q:e,parentApp:t}){!0===this.__installed?e.bottomSheet=PA(MA,!1,t):this.create=e.bottomSheet=PA(MA,!1,t)}};function HA(e){return encodeURIComponent(e)}function RA(e){return decodeURIComponent(e)}function jA(e){return HA(e===Object(e)?JSON.stringify(e):""+e)}function $A(e){if(""===e)return e;0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=RA(e.replace(/\+/g," "));try{e=JSON.parse(e)}catch(e){}return e}function zA(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function KA(e){let t=0;const n=e.match(/(\d+)d/),o=e.match(/(\d+)h/),r=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),o&&(t+=36e5*o[1]),r&&(t+=6e4*r[1]),i&&(t+=1e3*i[1]),0===t?e:zA(t)}function WA(e,t,n={},o){let r,i;void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?r=n.expires.toUTCString():"string"==typeof n.expires?r=KA(n.expires):(i=parseFloat(n.expires),r=!1===isNaN(i)?zA(864e5*i):n.expires));const a=`${HA(e)}=${jA(t)}`,l=[a,void 0!==r?"; Expires="+r:"",n.path?"; Path="+n.path:"",n.domain?"; Domain="+n.domain:"",n.sameSite?"; SameSite="+n.sameSite:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?"; "+n.other:""].join("");if(o){o.req.qCookies?o.req.qCookies.push(l):o.req.qCookies=[l],o.res.setHeader("Set-Cookie",o.req.qCookies);let t=o.req.headers.cookie||"";if(void 0!==r&&i<0){const n=YA(e,o);void 0!==n&&(t=t.replace(`${e}=${n}; `,"").replace(`; ${e}=${n}`,"").replace(`${e}=${n}`,""))}else t=t?`${a}; ${t}`:l;o.req.headers.cookie=t}else document.cookie=l}function YA(e,t){const n=t?t.req.headers:document,o=n.cookie?n.cookie.split("; "):[],r=o.length;let i,a,l,s=e?null:{},u=0;for(;u<r;u++)if(i=o[u].split("="),a=RA(i.shift()),l=i.join("="),e){if(e===a){s=$A(l);break}}else s[a]=l;return s}function GA(e,t,n){WA(e,"",{expires:-1,...t},n)}function ZA(e,t){return null!==YA(e,t)}function JA(e){return{get:t=>YA(t,e),set:(t,n,o)=>WA(t,n,o,e),has:t=>ZA(t,e),remove:(t,n)=>GA(t,n,e),getAll:()=>YA(null,e)}}const XA={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(XA,JA());var ep=e.defineComponent({name:"DialogPlugin",props:{...rt,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(t,{emit:n}){const{proxy:o}=e.getCurrentInstance(),{$q:r}=o,i=it(t,r),a=e.ref(null),l=e.ref(void 0!==t.prompt?t.prompt.model:void 0!==t.options?t.options.model:void 0),s=e.computed((()=>
2"q-dialog-plugin"+(!0===i.value?" q-dialog-plugin--dark q-dark":"")+(!1!==t.progress?" q-dialog-plugin--progress":""))),u=e.computed((()=>t.color||(!0===i.value?"amber":"primary"))),c=e.computed((()=>!1===t.progress?null:Object(t.progress)===t.progress?{component:t.progress.spinner||Bt,props:{color:t.progress.color||u.value}}:{component:Bt,props:{color:u.value}})),d=e.computed((()=>void 0!==t.prompt||void 0!==t.options)),A=e.computed((()=>{if(!0!==d.value)return{};const{model:e,isValid:n,items:o,...r}=void 0!==t.prompt?t.prompt:t.options;return r})),p=e.computed((()=>Object(t.ok)===t.ok||!0===t.ok?r.lang.label.ok:t.ok)),f=e.computed((()=>Object(t.cancel)===t.cancel||!0===t.cancel?r.lang.label.cancel:t.cancel)),h=e.computed((()=>void 0!==t.prompt?void 0!==t.prompt.isValid&&!0!==t.prompt.isValid(l.value):void 0!==t.options&&void 0!==t.options.isValid&&!0!==t.options.isValid(l.value))),m=e.computed((()=>({color:u.value,label:p.value,ripple:!1,...Object(t.ok)===t.ok?t.ok:{flat:!0},disable:h.value,"data-autofocus":"ok"===t.focus&&!0!==d.value||void 0,onClick:b}))),v=e.computed((()=>({color:u.value,label:f.value,ripple:!1,...Object(t.cancel)===t.cancel?t.cancel:{flat:!0},"data-autofocus":"cancel"===t.focus&&!0!==d.value||void 0,onClick:w})));function g(){a.value.show()}function y(){a.value.hide()}function b(){n("ok",e.toRaw(l.value)),y()}function w(){y()}function L(){n("hide")}function C(e){l.value=e}function B(e){!0!==h.value&&"textarea"!==t.prompt.type&&!0===K(e,13)&&b()}function _(n,o){return!0===t.html?e.h(Bo,{class:n,innerHTML:o}):e.h(Bo,{class:n},(()=>o))}function k(){return[e.h(Ls,{modelValue:l.value,...A.value,color:u.value,dense:!0,autofocus:!0,dark:i.value,"onUpdate:modelValue":C,onKeyup:B})]}function x(){return[e.h(js,{modelValue:l.value,...A.value,color:u.value,options:t.options.items,dark:i.value,"onUpdate:modelValue":C})]}function S(){const n=[];return t.cancel&&n.push(e.h(Kt,v.value)),t.ok&&n.push(e.h(Kt,m.value)),e.h(_o,{class:!0===t.stackButtons?"items-end":"",vertical:t.stackButtons,align:"right"},(()=>n))}function E(){const n=[];return t.title&&n.push(_("q-dialog__title",t.title)),!1!==t.progress&&n.push(e.h(Bo,{class:"q-dialog__progress"},(()=>e.h(c.value.component,c.value.props)))),t.message&&n.push(_("q-dialog__message",t.message)),void 0!==t.prompt?n.push(e.h(Bo,{class:"scroll q-dialog-plugin__form"},k)):void 0!==t.options&&n.push(e.h(fl,{dark:i.value}),e.h(Bo,{class:"scroll q-dialog-plugin__form"},x),e.h(fl,{dark:i.value})),(t.ok||t.cancel)&&n.push(S()),n}function T(){return[e.h(Co,{class:[s.value,t.cardClass],style:t.cardStyle,dark:i.value},E)]}return e.watch((()=>t.prompt&&t.prompt.model),C),e.watch((()=>t.options&&t.options.model),C),Object.assign(o,{show:g,hide:y}),()=>e.h(qa,{ref:a,onHide:L},T)}}),tp={install({$q:e,parentApp:t}){!0===this.__installed?e.dialog=PA(ep,!0,t):this.create=e.dialog=PA(ep,!0,t)}};const np={ref:"bar"};var op=A({isActive:!1},{start:f,stop:f,increment:f,setDefaults:f,install({$q:t,parentApp:n}){if(t.loadingBar=this,!0===this.__installed)return void(void 0!==t.config.loadingBar&&this.setDefaults(t.config.loadingBar));const o=e.ref(void 0!==t.config.loadingBar?{...t.config.loadingBar,...np}:{...np}),r=dn("q-loading-bar"),i=fe({name:"LoadingBar",setup:()=>()=>e.h(Oe,o.value)},n).mount(r);Object.assign(this,{start:e=>{const t=i.$refs.bar;t.start(e),this.isActive=t.calls>0},stop:()=>{const e=i.$refs.bar;e.stop(),this.isActive=e.calls>0},increment(){i.$refs.bar.increment.apply(null,arguments)},setDefaults:e=>{e===Object(e)&&(o.value={...o.value,...e,...np})}})}});let rp,ip,ap,lp=0,sp={};const up={delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:Bt,customClass:""},cp={...up},dp=A({isActive:!1},{show(t){if(sp=t===Object(t)&&!0===t.ignoreDefaults?{...up,...t}:{...cp,...t},dp.isActive=!0,void 0!==rp)return sp.uid=lp,void ip.$forceUpdate();sp.uid=++lp,clearTimeout(ap),ap=setTimeout((()=>{ap=void 0;const t=dn("q-loading");rp=e.createApp({name:"QLoading",setup(){function n(){!0!==dp.isActive&&void 0!==rp&&(Fa(!1),rp.unmount(t),An(t),rp=void 0,ip=void 0)}function o(){if(!0!==dp.isActive)return null;const t=[e.h(sp.spinner,{class:"q-loading__spinner",color:sp.spinnerColor,size:sp.spinnerSize})];return sp.message&&t.push(e.h("div",{class:"q-loading__message"+(sp.messageColor?` text-${sp.messageColor}`:""),[!0===sp.html?"innerHTML":"textContent"]:sp.message})),e.h("div",{class:"q-loading fullscreen flex flex-center z-max "+sp.customClass.trim(),key:sp.uid},[e.h("div",{class:"q-loading__backdrop"+(sp.backgroundColor?` bg-${sp.backgroundColor}`:"")}),e.h("div",{class:"q-loading__box column items-center "+sp.boxClass},t)])}return e.onMounted((()=>{Fa(!0)})),()=>e.h(e.Transition,{name:"q-transition--fade",appear:!0,onAfterLeave:n},o)}}),ip=rp.mount(t)}),sp.delay)},hide(){!0===dp.isActive&&(void 0!==ap&&(clearTimeout(ap),ap=void 0),dp.isActive=!1)},setDefaults(e){e===Object(e)&&Object.assign(cp,e)},install({$q:e}){e.loading=this,void 0!==e.config.loading&&this.setDefaults(e.config.loading)}});let Ap,pp;const fp=[];function hp(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEac
2h((t=>{const n=e[t[0]],o=t[1];for(const e in n){const t=n[e];t.template&&(1===Object.keys(t).length?delete n[e]:(t[o]=t.template(t[o]||""),delete t.template))}}))}function mp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const n in e)if(e[n]!==t[n])return!0}function vp(e){return!1===["class","style"].includes(e)}function gp(e){return!1===["lang","dir"].includes(e)}function yp(e,t){const n={},o={};return void 0===e?{add:t,remove:o}:(e.title!==t.title&&(n.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach((r=>{const i=e[r],a=t[r];if(o[r]=[],null!=i){n[r]={};for(const e in i)!1===a.hasOwnProperty(e)&&o[r].push(e);for(const e in a)!1===i.hasOwnProperty(e)?n[r][e]=a[e]:!0===mp(i[e],a[e])&&(o[r].push(e),n[r][e]=a[e])}else n[r]=a})),{add:n,remove:o})}function bp({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length>0&&(["meta","link","script"].forEach((e=>{t[e].forEach((t=>{document.head.querySelector(`${e}[data-qmeta="${t}"]`).remove()}))})),t.htmlAttr.filter(gp).forEac
2h((e=>{document.documentElement.removeAttribute(e)})),t.bodyAttr.filter(vp).forEach((e=>{document.body.removeAttribute(e)}))),["meta","link","script"].forEach((t=>{const n=e[t];for(const e in n){const o=document.createElement(t);for(const t in n[e])"innerHTML"!==t&&o.setAttribute(t,n[e][t]);o.setAttribute("data-qmeta",e),"script"===t&&(o.innerHTML=n[e].innerHTML||""),document.head.appendChild(o)}})),Object.keys(e.htmlAttr).filter(gp).forEach((t=>{document.documentElement.setAttribute(t,e.htmlAttr[t]||"")})),Object.keys(e.bodyAttr).filter(vp).forEach((t=>{document.body.setAttribute(t,e.bodyAttr[t]||"")}))}function wp(){const e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<fp.length;t++){const{active:n,val:o}=fp[t];!0===n&&sl(!0,e,o)}hp(e),bp(yp(pp,e)),pp=e}function Lp(){clearTimeout(Ap),Ap=setTimeout(wp,50)}var Cp={install(e){!0!==this.__installed&&!0===t.value&&(pp=window.__Q_META__,document.getElementById("qmeta-init").remove())}};let Bp,_p=0;const kp={},xp=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],Sp=["top-left","top-right","bottom-left","bottom-right"],Ep={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}},Tp={},Np={};function Fp(e,t){return console.error(`Notify: ${e}`,t),!1}function Vp(t){return e.defineComponent({name:"QNotifications",setup(){const n={},o=[];function r(e){clearTimeout(e.meta.timer);const t=n[e.position].value.indexOf(e);if(-1!==t){void 0!==e.group&&delete Tp[e.meta.group];const r=o[""+e.meta.uid];if(r){const{width:e,height:t}=getComputedStyle(r);r.style.left=`${r.offsetLeft}px`,r.style.width=e,r.style.height=t}n[e.position].value.splice(t,1),"function"==typeof e.onDismiss&&e.onDismiss()}}return xp.forEach((t=>{n[t]=e.ref([]);const o=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",r=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",i=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${r}`;Np[t]=`q-notifications__list q-notifications__list--${o} fixed column no-wrap ${i}`})),Bp=(o,i)=>{if(!o)return Fp("parameter required");let a;const l={textColor:"white"};if(!0!==o.ignoreDefaults&&Object.assign(l,kp),Object(o)!==o&&(l.type&&Object.assign(l,Ep[l.type]),o={message:o}),Object.assign(l,Ep[o.type||l.type],o),"function"==typeof l.icon&&(l.icon=l.icon(t)),l.spinner?(!0===l.spinner&&(l.spinner=Bt),l.spinner=e.markRaw(l.spinner)):l.spinner=!1,l.meta={hasMedia:Boolean(!1!==l.spinner||l.icon||l.avatar)},l.position){if(!1===xp.includes(l.position))return Fp("wrong position",o)}else l.position="bottom";if(void 0===l.timeout)l.timeout=5e3;else{const e=parseInt(l.timeout,10);if(isNaN(e)||e<0)return Fp("wrong timeout",o);l.timeout=e}0===l.timeout?l.progress=!1:!0===l.progress&&(l.meta.progressClass="q-notification__progress"+(l.progressClass?` ${l.progressClass}`:""),l.meta.progressStyle={animationDuration:`${l.timeout+1e3}ms`});const s=(!0===Array.isArray(o.actions)?o.actions:[]).concat(!0!==o.ignoreDefaults&&!0===Array.isArray(kp.actions)?kp.actions:[]).concat(void 0!==Ep[o.type]&&!0===Array.isArray(Ep[o.type].actions)?Ep[o.type].actions:[]);if(l.closeBtn&&s.push({label:"string"==typeof l.closeBtn?l.closeBtn:t.lang.label.close}),l.actions=s.map((({handler:e,noDismiss:t,...n})=>({flat:!0,...n,onClick:"function"==typeof e?()=>{e(),!0!==t&&u()}:()=>{u()}}))),void 0===l.multiLine&&(l.multiLine=l.actions.length>1),Object.assign(l.meta,{class:"q-notification row items-stretch q-notification--"+(!0===l.multiLine?"multi-line":"standard")+(void 0!==l.color?` bg-${l.color}`:"")+(void 0!==l.textColor?` text-${l.textColor}`:"")+(void 0!==l.classes?` ${l.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===l.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===l.multiLine?"":" col"),attrs:{role:"alert",...l.attrs}}),!1===l.group?(l.group=void 0,l.meta.group=void 0):(void 0!==l.group&&!0!==l.group||(l.group=[l.message,l.caption,l.multiline].concat(l.actions.map((e=>`${e.label}*${e.icon}`))).join("|")),l.meta.group=l.group+"|"+l.position),0===l.actions.length?l.actions=void 0:l.meta.actionsClass="q-notification__actions row items-center "+(!0===l.multiLine?"justify-end":"col-auto")+(!0===l.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==i){clearTimeout(i.notif.meta.timer),l.meta.uid=i.notif.meta.uid;const e=n[l.position].value.indexOf(i.notif);n[l.position].value[e]=l}else{const e=Tp[l.meta.group];if(void 0===e){if(l.meta.uid=_p++,l.meta.badge=1,-1!==["left","right","center"].indexOf(l.position))n[l.position].value.splice(Math.floor(n[l.position].value.length/2),
20,l);else{const e=l.position.indexOf("top")>-1?"unshift":"push";n[l.position].value[e](l)}void 0!==l.group&&(Tp[l.meta.group]=l)}else{if(clearTimeout(e.meta.timer),void 0!==l.badgePosition){if(!1===Sp.includes(l.badgePosition))return Fp("wrong badgePosition",o)}else l.badgePosition="top-"+(l.position.indexOf("left")>-1?"right":"left");l.meta.uid=e.meta.uid,l.meta.badge=e.meta.badge+1,l.meta.badgeClass=`q-notification__badge q-notification__badge--${l.badgePosition}`+(void 0!==l.badgeColor?` bg-${l.badgeColor}`:"")+(void 0!==l.badgeTextColor?` text-${l.badgeTextColor}`:"")+(l.badgeClass?` ${l.badgeClass}`:"");const t=n[l.position].value.indexOf(e);n[l.position].value[t]=Tp[l.meta.group]=l}}const u=()=>{r(l),a=void 0};return l.timeout>0&&(l.meta.timer=setTimeout((()=>{u()}),l.timeout+1e3)),void 0!==l.group?e=>{void 0!==e?Fp("trying to update a grouped one which is forbidden",o):u()}:(a={dismiss:u,config:o,notif:l},void 0===i?e=>{if(void 0!==a)if(void 0===e)a.dismiss();else{const t=Object.assign({},a.config,e,{group:!1,position:l.position});Bp(t,a)}}:void Object.assign(i,a))},()=>e.h("div",{class:"q-notifications"},xp.map((t=>e.h(e.TransitionGroup,{key:t,class:Np[t],tag:"div",name:`q-notification--${t}`},(()=>n[t].value.map((t=>{let n;const r=t.meta,i={class:"q-notification__message col"};if(!0===t.html)i.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const o=[t.message];n=t.caption?[e.h("div",o),e.h("div",{class:"q-notification__caption"},[t.caption])]:o}const a=[];!0===r.hasMedia&&(!1!==t.spinner?a.push(e.h(t.spinner,{class:"q-notification__spinner"})):t.icon?a.push(e.h(et,{class:"q-notification__icon",name:t.icon,role:"img"})):t.avatar&&a.push(e.h(tt,{class:"q-notification__avatar"},(()=>e.h("img",{src:t.avatar,"aria-hidden":"true"}))))),a.push(e.h("div",i,n));const l=[e.h("div",{class:r.contentClass},a)];return!0===t.progress&&l.push(e.h("div",{key:`${r.uid}|p|${r.badge}`,class:r.progressClass,style:r.progressStyle})),void 0!==t.actions&&l.push(e.h("div",{class:r.actionsClass},t.actions.map((t=>e.h(Kt,t))))),r.badge>1&&l.push(e.h("div",{key:`${r.uid}|${r.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[r.badge])),e.h("div",{ref:e=>{o[""+r.uid]=e},key:r.uid,class:r.class,...r.attrs},[e.h("div",{class:r.wrapperClass},l)])})))))))}})}var Op={create:e=>Bp(e),setDefaults(e){e===Object(e)&&Object.assign(kp,e)},registerType(e,t){t===Object(t)&&(Ep[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create,e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,void 0!==e.config.notify&&this.setDefaults(e.config.notify),!0!==this.__installed){const n=dn("q-notify");fe(Vp(e),t).mount(n)}}};function Up(e){return"[object Date]"===Object.prototype.toString.call(e)?"__q_date|"+e.toUTCString():"[object RegExp]"===Object.prototype.toString.call(e)?"__q_expr|"+e.source:"number"==typeof e?"__q_numb|"+e:"boolean"==typeof e?"__q_bool|"+(e?"1":"0"):"string"==typeof e?"__q_strn|"+e:"function"==typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function Qp(e){if(e.length<9)return e;const t=e.substr(0,8),n=e.substring(9);switch(t){case"__q_date":return new Date(n);case"__q_expr":return new RegExp(n);case"__q_numb":return Number(n);case"__q_bool":return Boolean("1"===n);case"__q_strn":return""+n;case"__q_objt":return JSON.parse(n);default:return e}}function qp(){const e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:f,remove:f,clear:f,isEmpty:()=>!0}}function Mp(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?Qp(n):null};return{has:e=>null!==t.getItem(e),getLength:()=>t.length,getItem:n,getIndex:e=>e<t.length?n(t.key(e)):null,getKey:e=>e<t.length?t.key(e):null,getAll:()=>{let e;const o={},r=t.length;for(let i=0;i<r;i++)e=t.key(i),o[e]=n(e);return o},getAllKeys:()=>{const e=[],n=t.length;for(let o=0;o<n;o++)e.push(t.key(o));return e},set:(e,n)=>{t.setItem(e,Up(n))},remove:e=>{t.removeItem(e)},clear:()=>{t.clear()},isEmpty:()=>0===t.length}}const Ip=!1===c.has.webStorage?qp():Mp("local"),Pp={install({$q:e}){e.localStorage=Ip}};Object.assign(Pp,Ip);const Dp=!1===c.has.webStorage?qp():Mp("session"),Hp={install({$q:e}){e.sessionStorage=Dp}};Object.assign(Hp,Dp);var Rp=Object.freeze({__proto__:null,AddressbarColor:FA,AppFullscreen:QA,AppVisibility:qA,BottomSheet:DA,Cookies:XA,Dark:O,Dialog:tp,LoadingBar:op,Loading:dp,Meta:Cp,Notify:Op,Platform:d,Screen:V,LocalStorage:Pp,SessionStorage:Hp});function jp(e){const t=document.createElement("textarea");t.value=e,t.contentEditable=!0,t.style.position="fixed",document.body.appendChild(t),t.focu
2s(),t.select();const n=document.execCommand("copy");return t.remove(),n}function $p(e){return void 0!==navigator.clipboard?navigator.clipboard.writeText(e):new Promise(((t,n)=>{const o=jp(e);o?t(!0):n(o)}))}var zp=e=>{const t={activated(){this.__qMeta.active=!0,Lp()},deactivated(){this.__qMeta.active=!1,Lp()},unmounted(){fp.splice(fp.indexOf(this.__qMeta),1),Lp(),this.__qMeta=void 0}};return"function"==typeof e?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(e){this.__qMeta.val=e,!0===this.__qMeta.active&&Lp()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},fp.push(this.__qMeta),Lp()}}):t.created=function(){this.__qMeta={active:!0,val:e},fp.push(this.__qMeta),Lp()},t};function Kp(e){setTimeout((()=>{window.URL.revokeObjectURL(e.href)}),1e4),e.remove()}function Wp(e,t,n={}){const{mimeType:o,byteOrderMark:r,encoding:i}="string"==typeof n?{mimeType:n}:n,a=void 0!==i?new TextEncoder(i).encode([t]):t,l=new Blob(void 0!==r?[r,a]:[a],{type:o||"application/octet-stream"}),s=document.createElement("a");s.href=window.URL.createObjectURL(l),s.setAttribute("download",e),void 0===s.download&&s.setAttribute("target","_blank"),s.classList.add("hidden"),s.style.position="fixed",document.body.appendChild(s);try{return s.click(),Kp(s),!0}catch(e){return Kp(s),e}}function Yp(e){const t=Object.assign({noopener:!0},e),n=[];return Object.keys(t).forEach((e=>{!0===t[e]&&n.push(e)})),n.join(",")}function Gp(e,t,n){let o=window.open;if(!0===d.is.cordova)if(void 0!==cordova&&void 0!==cordova.InAppBrowser&&void 0!==cordova.InAppBrowser.open)o=cordova.InAppBrowser.open;else if(void 0!==navigator&&void 0!==navigator.app)return navigator.app.loadUrl(e,{openExternal:!0});const r=o(e,"_blank",Yp(n));if(r)return d.is.desktop&&r.focus(),r;t&&t()}var Zp=(e,t,n)=>{if(!0!==d.is.ios||void 0===window.SafariViewController)return Gp(e,t,n);window.SafariViewController.isAvailable((o=>{o?window.SafariViewController.show({url:e},f,t):Gp(e,t,n)}))},Jp=Object.freeze({__proto__:null,clone:tu,colors:ri,copyToClipboard:$p,createMetaMixin:zp,createUploaderComponent:Ed,date:ca,debounce:T,dom:Ot,event:E,exportFile:Wp,extend:sl,format:Be,frameDebounce:Js,getCssVar:xA,noop:f,morph:eA,openURL:Zp,patterns:jr,scroll:In,setCssVar:R,throttle:Ut,uid:bl});function Xp(){const{emit:t,proxy:n}=e.getCurrentInstance(),o=e.ref(null);function r(){o.value.show()}function i(){o.value.hide()}function a(e){t("ok",e),i()}function l(){t("hide")}return Object.assign(n,{show:r,hide:i}),{dialogRef:o,onDialogHide:l,onDialogOK:a,onDialogCancel:i}}function ef(t){{const n={active:!0};if("function"==typeof t){const o=e.computed(t);n.val=o.value,e.watch(o,(e=>{n.val=e,!0===n.active&&Lp()}))}else n.val=t;fp.push(n),Lp(),e.onActivated((()=>{n.active=!0,Lp()})),e.onDeactivated((()=>{n.active=!1,Lp()})),e.onUnmounted((()=>{fp.splice(fp.indexOf(n),1),Lp()}))}}function tf(){return e.inject(te)}Xp.emits=["ok","hide"];var nf=Object.freeze({__proto__:null,useDialogPluginComponent:Xp,useFormChild:Vl,useMeta:ef,useQuasar:tf}),of={version:"2.0.2",install(e,t){ve(e,{components:Qd,directives:kA,plugins:Rp,...t})},lang:H,iconSet:ee,...Qd,...kA,...Rp,...nf,...Jp};return of}(n(3868))},6095:function(e,t,n){var o,r=n(8764).Buffer;"undefined"!=typeof self&&self,o=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),r=n(18),i=n(19),a=n(45),l=n(46),s=n(47),u=n(48),c=n(49),d=n(12),A=n(32),p=n(33),f=n(31),h=n(1),m={Scope:h.Scope,create:h.create,find:h.find,query:h.query,register:h.register,Container:o.default,Format:r.default,Leaf:i.default,Embed:u.default,Scroll:a.default,Block:s.default,Inline:l.default,Text:c.default,Attributor:{Attribute:d.default,Class:A.default,Style:p.default,Store:f.default}};t.default=m},function(e,t,n){"use strict";
2var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var a,l={},s={},u={},c={};function d(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=c[e]||l[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=c.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=c.block:e&a.LEVEL&a.INLINE&&(n=c.inline);else if(e instanceof HTMLElement){var o=(e.getAttribute("class")||"").split(/\s+/);for(var r in o)if(n=s[o[r]])break;n=n||u[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var o=n,r=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:o.create(t);return new o(r,t)},t.find=function e(n,o){return void 0===o&&(o=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:o?e(n.parentNode,o):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var o=t[0];if("string"!=typeof o.blotName&&"string"!=typeof o.attrName)throw new i("Invalid definition");if("abstract"===o.blotName)throw new i("Cannot register abstract class");if(c[o.blotName||o.attrName]=o,"string"==typeof o.keyName)l[o.keyName]=o;else if(null!=o.className&&(s[o.className]=o),null!=o.tagName){Array.isArray(o.tagName)?o.tagName=o.tagName.map((function(e){return e.toUpperCase()})):o.tagName=o.tagName.toUpperCase();var r=Array.isArray(o.tagName)?o.tagName:[o.tagName];r.forEach((function(e){null!=u[e]&&null!=o.className||(u[e]=o)}))}return o}},function(e,t,n){var o=n(51),r=n(11),i=n(3),a=n(20),l=String.fromCharCode(0),s=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};s.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},s.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},s.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},s.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},s.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},s.prototype.filter=function(e){return this.ops.filter(e)},s.prototype.forEach=function(e){this.ops.forEach(e)},s.prototype.map=function(e){return this.ops.map(e)},s.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(o){(e(o)?t:n).push(o)})),[t,n]},s.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},s.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},s.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},s.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],o=a.iterator(this.ops),r=0;r<t&&o.hasNext();){var i;r<e?i=o.next(e-r):(i=o.next(t-r),n.push(i)),r+=a.length(i)}return new s(n)},s.prototype.compose=function(e){for(var t=a.iterator(this.ops),n=a.iterator(e.ops),o=new s;t.hasNext()||n.hasNext();)if("insert"===n.peekType())o.push(n.next());else if("delete"===t.peekType())o.push(t.next());else{var r=Math.min(t.peekLength(),n.peekLength()),i=t.next(r),l=n.next(r);if("number"==typeof l.retain){var u={};"number"==typeof i.retain?u.retain=r:u.insert=i.insert;var c=a.attributes.compose(i.attributes,l.attributes,"number"==typeof i.retain);c&&(u.attributes=c),o.push(u)}else"number"==typeof l.delete&&"number"==typeof i.retain&&o.push(l)}return o.chop()},s.prototype.concat=function(e){var t=new s(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},s.prototype.diff=function(e,t){if(this.ops===e.ops)return new s;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:l;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new s,u=o(n[0],n[1],t),c=a.iterator(this.ops),d=a.iterator(e.ops);return u.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case o.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case o.DELETE:n=Math.min(t,c.peekLength()),c.next(n),i.delete(n);break;case o.EQUAL:n=Math.min(c.peekLength(),d.peekLength(),t);var l=c.next(n),s=d.next(n);r(l.insert,s.insert)?i.retain(n,a.attributes.diff(l.attributes,s.attributes)):i.push(s).delete(n)}t-=n}})),i.chop()},s.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),o=new s,r=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),l=a.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(t,l)-l:-1;if(u<0)o.push(n.next());else if(u>0)o.push(n.next(u));else{if(!1===e(o,n.next(1).attributes||{},r))return;r+=1,o=new s}}o.length()>0&&e(o,{},r)},s.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),o=a.iterator(e.ops),r=new s;n.hasNext()||o.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===o.peekType())if("insert"===o.peekType())r.push(o.next());else{var i=Math.min(n.peekLength(),o.peekLength()),l=n.next(i),u=o.next(i);if(l.delete)continue;u.delete?r.push(u):r.retain(i,a.attributes.transform(l.attributes,u.attributes,t))}else r.retain(a.length(n.next()));return r.chop()},s.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),o=0;n.hasNext()&&o<=e;){var r=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(o<e||!t)&&(e+=r),o+=r):e-=Math.min(r,e-o)}return e},e.exports=s},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},i=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,r=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)};e.exports=function e(){var t,n,o,a,l,s,u=arguments[0],c=1,d=arguments.length,A=!1;for("boolean"==typeof u&&(A=u,u=arguments[1]||{},c=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});c<d;++c)if(null!=(t=arguments[c]))for(n in t)o=u[n],u!==(a=t[n])&&(A&&a&&(i(a)||
2(l=r(a)))?(l?(l=!1,s=o&&r(o)?o:[]):s=o&&i(o)?o:{},u[n]=e(A,s,a)):void 0!==a&&(u[n]=a));return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=d(n(3)),a=d(n(2)),l=d(n(0)),s=d(n(16)),u=d(n(6)),c=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return A(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),o(t,[{key:"attach",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new l.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=l.default.query(e,l.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,o){this.format(n,o)}},{key:"insertAt",value:function(e,n,o){if("string"==typeof n&&n.endsWith("\n")){var i=l.default.create(m.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,o)}}]),t}(l.default.Embed);h.scope=l.default.Scope.BLOCK_BLOT;var m=function(e){function t(e){A(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return f(t,e),o(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(l.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),v(t))}),new a.default).insert("\n",v(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,o,i){n<=0||(l.default.query(o,l.default.Scope.BLOCK)?e+n===this.length()&&this.format(o,i):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),o,i),this.cache={})}},{key:"insertAt",value:function(e,n,o){if(null!=o)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,o);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var l=this;i.reduce((function(e,t){return(l=l.split(e,!0)).insertAt(0,t),t.length}),e+a.length)}}},{key:"insertBefore",value:function(e,n){var o=this.children.head;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),o instanceof s.default&&o.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var o=this.clone();return 0===e?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}var i=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(l.default.Block);function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:v(e.parent,t))}m.blotName="block",m.tagName="P",m.defaultChild="break",m.allowedChildren=[u.default,l.default.Embed,c.default],t.bubbleFormats=v,t.BlockEmbed=h,t.default=m},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var o="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},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();n(50);var a=m(n(2)),l=m(n(14)),s=m(n(8)),u=m(n(9)),c=m(n(0)),d=n(15),A=m(d),p=m(n(3)),f=m(n(10)),h=m(n(34));function m(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,f.default)("quill"),b=function(){function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(g(this,e),this.options=w(t,o),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new s.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new l.default(this.scroll),this.selection=new A.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(s.default.events.EDITOR_CHANGE,(function(e){e===s.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(s.default.events.SCROLL_UPDATE,(function(e,t){var o=n.selection.lastRange,r=o&&0===o.length?o.index:void 0;L.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),f.default.level(e)}},{key:"find",value:function(e){return e.__quill||c.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var r=e.attrName||e.blotName;"string"==typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(o){n.register(o,e[o],t)}))}else null==this.imports[e]||o||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?c.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var o=this,i=C(e,t,n),a=r(i,4);return e=a[0],t=a[1],n=a[3],L.call(this,(function(){return o.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;
2return L.call(this,(function(){var o=n.getSelection(!0),r=new a.default;if(null==o)return r;if(c.default.query(e,c.default.Scope.BLOCK))r=n.editor.formatLine(o.index,o.length,v({},e,t));else{if(0===o.length)return n.selection.format(e,t),r;r=n.editor.formatText(o.index,o.length,v({},e,t))}return n.setSelection(o,s.default.sources.SILENT),r}),o)}},{key:"formatLine",value:function(e,t,n,o,i){var a,l=this,s=C(e,t,n,o,i),u=r(s,4);return e=u[0],t=u[1],a=u[2],i=u[3],L.call(this,(function(){return l.editor.formatLine(e,t,a)}),i,e,0)}},{key:"formatText",value:function(e,t,n,o,i){var a,l=this,s=C(e,t,n,o,i),u=r(s,4);return e=u[0],t=u[1],a=u[2],i=u[3],L.call(this,(function(){return l.editor.formatText(e,t,a)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=C(e,t),o=r(n,2);return e=o[0],t=o[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=C(e,t),o=r(n,2);return e=o[0],t=o[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,o){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return L.call(this,(function(){return r.editor.insertEmbed(t,n,o)}),i,t)}},{key:"insertText",value:function(e,t,n,o,i){var a,l=this,s=C(e,0,n,o,i),u=r(s,4);return e=u[0],a=u[2],i=u[3],L.call(this,(function(){return l.editor.insertText(e,t,a)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var o=this,i=C(e,t,n),a=r(i,4);return e=a[0],t=a[1],n=a[3],L.call(this,(function(){return o.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return L.call(this,(function(){e=new a.default(e);var n=t.getLength(),o=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),i=r.ops[r.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),o.compose(r)}),n)}},{key:"setSelection",value:function(t,n,o){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=C(t,n,o),a=r(i,4);t=a[0],n=a[1],o=a[3],this.selection.setRange(new d.Range(t,n),o),o!==s.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.default.sources.API;return L.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function w(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==b.DEFAULTS.theme){if(t.theme=b.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=h.default;var n=(0,p.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{}
2,Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var o=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=b.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,p.default)(!0,{},b.DEFAULTS,{modules:o},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function L(e,t,n,o){if(this.options.strict&&!this.isEnabled()&&t===s.default.sources.USER)return new a.default;var r=null==n?null:this.getSelection(),i=this.editor.delta,l=e();if(null!=r&&(!0===n&&(n=r.index),null==o?r=B(r,l,t):0!==o&&(r=B(r,n,o,t)),this.setSelection(r,s.default.sources.SILENT)),l.length()>0){var u,c,d=[s.default.events.TEXT_CHANGE,l,i,t];(u=this.emitter).emit.apply(u,[s.default.events.EDITOR_CHANGE].concat(d)),t!==s.default.sources.SILENT&&(c=this.emitter).emit.apply(c,d)}return l}function C(e,t,n,r,i){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=r,r=n,n=t,t=0),"object"===(void 0===n?"undefined":o(n))?(a=n,i=r):"string"==typeof n&&(null!=r?a[n]=r:i=n),[e,t,a,i=i||s.default.sources.API]}function B(e,t,n,o){if(null==e)return null;var i=void 0,l=void 0;if(t instanceof a.default){var u=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,o!==s.default.sources.USER)})),c=r(u,2);i=c[0],l=c[1]}else{var A=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&o===s.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),p=r(A,2);i=p[0],l=p[1]}return new d.Range(i,l-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=s.default.events,b.sources=s.default.sources,b.version="1.3.6",b.imports={delta:a.default,parchment:c.default,"core/module":u.default,"core/theme":h.default},t.expandConfig=w,t.overload=C,t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=l(n(7)),a=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"formatAt",value:function(e,n,o,i){if(t.compare(this.statics.blotName,o)<0&&a.default.query(o,a.default.Scope.BLOT)){var l=this.isolate(e,n);i&&l.wrap(o,i)}else r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,o,i)}},{key:"optimize",value:function(e){if(r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}
2],[{key:"compare",value:function(e,n){var o=t.order.indexOf(e),r=t.order.indexOf(n);return o>=0||r>=0?o-r:e===n?0:e<n?-1:1}}]),t}(a.default.Inline);c.allowedChildren=[c,a.default.Embed,i.default],c.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default.Text);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=a(n(54));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",l.error),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"emit",value:function(){l.log.apply(l,arguments),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(this.listeners[e.type]||[]).forEach((function(t){var o=t.node,r=t.handler;(e.target===o||o.contains(e.target))&&r.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},t.default=s},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o=["error","warn","log","info"],r="warn";function i(e){if(o.indexOf(e)<=o.indexOf(r)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(t=console)[e].apply(t,i)}}function a(e){return o.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=a.level=function(e){r=e},t.default=a},function(e,t,n){var o=Array.prototype.slice,r=n(52),i=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var u,c;if(l(e)||l(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=o.call(e),t=o.call(t),a(e,t,n));if(s(e)){if(!s(t))return!1;if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}try{var d=r(e),A=r(t)}catch(e){return!1}if(d.length!=A.length)return!1;for(d.sort(),A.sort(),u=d.length-1;u>=0;u--)if(d[u]!=A[u])return!1;for(u=d.length-1;u>=0;u--)if(c=d[u],!a(e[c],t[c],n))return!1;return typeof e==typeof t}(e,t,n))};function l(e){return null==e}function s(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=o.Scope.TYPE&o.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&o.Scope.LEVEL|r:this.scope=o.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=o.query(e,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=d(n(2)),l=d(n(0)),s=d(n(4)),u=d(n(6)),c=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=function(e){function t(){return A(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),t}(u.default);h.blotName="code",h.tagName="CODE";var m=function(e){function t(){return A(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;
2return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var r=this.descendant(c.default,this.length()-1),a=o(r,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,o,r){if(0!==n&&null!=l.default.query(o,l.default.Scope.BLOCK)&&(o!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var a=this.newlineIndex(e,!0)+1,s=i-a+1,u=this.isolate(a,s),c=u.next;u.format(o,r),c instanceof t&&c.formatAt(0,e-a+n-s,o,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(c.default,e),i=o(r,2),a=i[0],l=i[1];a.insertAt(l,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(l.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=l.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof l.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(s.default);m.blotName="code-block",m.tagName="PRE",m.TAB=" ",t.Code=h,t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=v(n(2)),l=v(n(20)),s=v(n(0)),u=v(n(13)),c=v(n(24)),d=n(4),A=v(d),p=v(n(16)),f=v(n(21)),h=v(n(11)),m=v(n(3));function v(e){return e&&e.__esModule?e:{default:e}}var g=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,f.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,f.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var o=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(o,t.attributes)}return e.push(t)}),new a.default)}(e)).reduce((function(e,a){var u=a.retain||a.delete||a.insert.length||1,c=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var p=a.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),e>=i&&!p.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,p);var f=t.scroll.line(e),h=r(f,2),v=h[0],g=h[1],y=(0,m.default)({},(0,d.bubbleFormats)(v));if(v instanceof A.default){var b=v.descendant(s.default.Leaf,g),w=r(b,1)[0];y=(0,m.default)(y,(0,d.bubbleFormats)(w))}c=l.default.attributes.diff(y,c)||{}}else if("object"===o(a.insert)){var L=Object.keys(a.insert)[0];if(null==L)return e;t.scroll.insertAt(e,L,a.insert[L])}i+=u}
2return Object.keys(c).forEach((function(n){t.scroll.formatAt(e,u,n,c[n])})),e+u}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var i=n.scroll.lines(e,Math.max(t,1)),a=t;i.forEach((function(t){var i=t.length();if(t instanceof u.default){var l=e-t.offset(n.scroll),s=t.newlineIndex(l+a)-l+1;t.formatAt(l,s,r,o[r])}else t.format(r,o[r]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,f.default)(o)))}},{key:"formatText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t,r,o[r])})),this.update((new a.default).retain(e).retain(t,(0,f.default)(o)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=[];0===t?this.scroll.path(e).forEach((function(e){var t=r(e,1)[0];t instanceof A.default?n.push(t):t instanceof s.default.Leaf&&o.push(t)})):(n=this.scroll.lines(e,t),o=this.scroll.descendants(s.default.Leaf,e,t));var i=[n,o].map((function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=b((0,d.bubbleFormats)(n),t)}return t}));return m.default.apply(m.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t.length,r,o[r])})),this.update((new a.default).retain(e).insert(t,(0,f.default)(o)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===A.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),o=this.scroll.line(e+t),i=r(o,2),l=i[0],s=i[1],c=0,d=new a.default;null!=l&&(c=l instanceof u.default?l.newlineIndex(s)-s+1:l.length()-s,d=l.delta().slice(s,s+c-1).insert("\n"));var A=this.getContents(e,t+c).diff((new a.default).insert(n).concat(d)),p=(new a.default).retain(e).concat(A);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(g)&&s.default.find(t[0].target)){var r=s.default.find(t[0].target),i=(0,d.bubbleFormats)(r),l=r.offset(this.scroll),u=t[0].oldValue.replace(c.default.CONTENTS,""),A=(new a.default).insert(u),p=(new a.default).insert(r.value()),f=(new a.default).retain(l).concat(A.diff(p,n));e=f.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new a.default),this.delta=o.compose(e)}else this.delta=this.getDelta(),e&&(0,h.default)(o.compose(e),this.delta)||(e=o.diff(this.delta,n));return e}}]),e}();function b(e,t){return Object.keys(t).reduce((function(n,o){return null==e[o]||(t[o]===e[o]?n[o]=t[o]:Array.isArray(t[o])?t[o].indexOf(e[o])<0&&(n[o]=t[o
2].concat([e[o]])):n[o]=[t[o],e[o]]),n}),{})}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=u(n(0)),a=u(n(21)),l=u(n(11)),s=u(n(8));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var A=(0,u(n(10)).default)("quill:selection"),p=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},f=function(){function e(t,n){var o=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){o.mouseDown||setTimeout(o.update.bind(o,s.default.sources.USER),1)})),this.emitter.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.TEXT_CHANGE&&t.length()>0&&o.update(s.default.sources.SILENT)})),this.emitter.on(s.default.events.SCROLL_BEFORE_UPDATE,(function(){if(o.hasFocus()){var e=o.getNativeRange();null!=e&&e.start.node!==o.cursor.textNode&&o.emitter.once(s.default.events.SCROLL_UPDATE,(function(){try{o.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(s.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,i=n.startOffset,a=n.endNode,l=n.endOffset;o.setNativeRange(r,i,a,l)}})),this.update(s.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(s.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var o=i.default.find(n.start.node,!1);if(null==o)return;if(o instanceof i.default.Leaf){var r=o.split(n.start.offset);o.parent.insertBefore(this.cursor,r)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,i=this.scroll.leaf(e),a=o(i,2),l=a[0],s=a[1];if(null==l)return null;var u=l.position(s,!0),c=o(u,2);r=c[0],s=c[1];var d=document.createRange();if(t>0){d.setStart(r,s);var A=this.scroll.leaf(e+t),p=o(A,2);if(l=p[0],s=p[1],null==l)return null;var f=l.position(s,!0),h=o(f,2);return r=h[0],s=h[1],d.setEnd(r,s),d.getBoundingClientRect()}var m="left",v=void 0;return r instanceof Text?(s<r.data.length?(d.setStart(r,s),d.setEnd(r,s+1)):(d.setStart(r,s-1),d.setEnd(r,s),m="right"),v=d.getBoundingClientRect()):(v=l.domNode.getBoundingClientRect(),s>0&&(m="right")),{bottom:v.top+v.height,height:v.height,left:v[m],right:v[m],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return A.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=o(e,2),r=n[0],a=n[1],l=i.default.find(r,!0),s=l.offset(t.scroll);return 0===a?s:l instanceof i.default.Container?s+l.length():s+l.index(r,a)})),a=Math.min(Math.max.apply(Math,c(r)),this.scroll.length()-1),l=Math.min.apply(Math,[a].concat(c(r)));return new p(l,a-l)}},{key:"normalizeNative",value:function(e){if(!h(this.root,e.startContainer)||!e.collapsed&&!h(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};
2return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var a,l=t.scroll.leaf(e),s=o(l,2),u=s[0],c=s[1],d=u.position(c,0!==n),A=o(d,2);a=A[0],c=A[1],r.push(a,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,r)),a=o(i,1)[0],l=a;if(t.length>0){var s=this.scroll.line(Math.min(t.index+t.length,r));l=o(s,1)[0]}if(null!=a&&null!=l){var u=e.getBoundingClientRect();n.top<u.top?e.scrollTop-=u.top-n.top:n.bottom>u.bottom&&(e.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(A.info("setNativeRange",e,t,n,o),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||r||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||o!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var l=document.createRange();l.setStart(e,t),l.setEnd(n,o),i.removeAllRanges(),i.addRange(l)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if("string"==typeof t&&(n=t,t=!1),A.info("setRange",e),null!=e){var o=this.rangeToNative(e);this.setNativeRange.apply(this,c(o).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default.sources.USER,t=this.lastRange,n=this.getRange(),r=o(n,2),i=r[0],u=r[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,l.default)(t,this.lastRange)){var c;!this.composing&&null!=u&&u.native.collapsed&&u.start.node!==this.cursor.textNode&&this.cursor.restore();var d,A=[s.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];(c=this.emitter).emit.apply(c,[s.default.events.EDITOR_CHANGE].concat(A)),e!==s.default.sources.SILENT&&(d=this.emitter).emit.apply(d,A)}}}]),e}();function h(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default.Embed);u.blotName="break",u.tagName="BR",t.default=u},function(e,t,n){"use strict";
2var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),a=n(30),l=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=u(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof l.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var o=this.children.find(n),r=o[0],i=o[1];return null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e?[r,i]:r instanceof t?r.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,o){void 0===n&&(n=0),void 0===o&&(o=Number.MAX_VALUE);var r=[],i=o;return this.children.forEachAt(n,o,(function(n,o,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&r.push(n),n instanceof t&&(r=r.concat(n.descendants(e,o,i))),i-=a})),r},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,o){this.children.forEachAt(e,t,(function(e,t,r){e.formatAt(t,r,n,o)}))},t.prototype.insertAt=function(e,t,n){var o=this.children.find(e),r=o[0],i=o[1];if(r)r.insertAt(i,t,n);else{var a=null==n?l.create("text",t):l.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new l.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=l.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var o=this.children.find(e,n),r=o[0],i=o[1],a=[[this,e]];return r instanceof t?a.concat(r.path(i,n)):(null!=r&&a.push([r,i]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,o,r){e=e.split(o,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,o=[],r=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(o.push.apply(o,e.addedNodes),r.push.apply(r,e.removedNodes))})),r.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=l.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),o.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=l.find(e.nextSibling));var o=u(e);o.next==t&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,t||void 0))}))},t}(a.default);function u(e){var t=l.find(e);if(null==t)try{t=l.create(e)}catch(n){t=l.create(l.Scope.INLINE),[].slice.call(e.childNodes).forEac
2h((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=s},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=n(31),l=n(17),s=n(1),u=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=s.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var o=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(o),o},t.prototype.update=function(t,n){var o=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===o.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,o){var r=e.prototype.wrap.call(this,n,o);return r instanceof t&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},t}(l.default);t.default=u},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e;var e},t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=l},function(e,t,n){var o=n(11),r=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var o=r(!0,{},t);for(var i in n||(o=Object.keys(o).reduce((function(e,t){return null!=o[t]&&(e[t]=o[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(o[i]=e[i]);return Object.keys(o).length>0?o:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return o(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var o=Object.keys(t).reduce((function(n,o){return void 0===e[o]&&(n[o]=t[o]),n}),{});return Object.keys(o).length>0?o:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,o=i.length(t);if(e>=o-n?(e=o-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0}
2,a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.exports=i},function(e,t){var n=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{o=Promise}catch(e){o=function(){}}function i(a,s,u,c,d){"object"==typeof s&&(u=s.depth,c=s.prototype,d=s.includeNonEnumerable,s=s.circular);var A=[],p=[],f=void 0!==r;return void 0===s&&(s=!0),void 0===u&&(u=1/0),function a(u,h){if(null===u)return null;if(0===h)return u;var m,v;if("object"!=typeof u)return u;if(e(u,t))m=new t;else if(e(u,n))m=new n;else if(e(u,o))m=new o((function(e,t){u.then((function(t){e(a(t,h-1))}),(function(e){t(a(e,h-1))}))}));else if(i.__isArray(u))m=[];else if(i.__isRegExp(u))m=new RegExp(u.source,l(u)),u.lastIndex&&(m.lastIndex=u.lastIndex);else if(i.__isDate(u))m=new Date(u.getTime());else{if(f&&r.isBuffer(u))return m=new r(u.length),u.copy(m),m;e(u,Error)?m=Object.create(u):void 0===c?(v=Object.getPrototypeOf(u),m=Object.create(v)):(m=Object.create(c),v=c)}if(s){var g=A.indexOf(u);if(-1!=g)return p[g];A.push(u),p.push(m)}for(var y in e(u,t)&&u.forEach((function(e,t){var n=a(t,h-1),o=a(e,h-1);m.set(n,o)})),e(u,n)&&u.forEach((function(e){var t=a(e,h-1);m.add(t)})),u){var b;v&&(b=Object.getOwnPropertyDescriptor(v,y)),b&&null==b.set||(m[y]=a(u[y],h-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(u);for(y=0;y<w.length;y++){var L=w[y];(!(B=Object.getOwnPropertyDescriptor(u,L))||B.enumerable||d)&&(m[L]=a(u[L],h-1),B.enumerable||Object.defineProperty(m,L,{enumerable:!1}))}}if(d){var C=Object.getOwnPropertyNames(u);for(y=0;y<C.length;y++){var B,_=C[y];(B=Object.getOwnPropertyDescriptor(u,_))&&B.enumerable||(m[_]=a(u[_],h-1),Object.defineProperty(m,_,{enumerable:!1}))}}return m}(a,u)}function a(e){return Object.prototype.toString.call(e)}function l(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=a,i.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},i.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},i.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},i.__getRegExpFlags=l,i}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=p(n(0)),l=p(n(8)),s=n(4),u=p(s),c=p(n(16)),d=p(n(13)),A=p(n(25));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){return e instanceof u.default||e instanceof s.BlockEmbed}var h=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.emitter=n.emitter,Array.isArray(n.whitelist)&&(o.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),o.domNode.addEventListener("DOMNodeInserted",(function(){})),o.optimize(),o.enable(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var r=this.line(e),a=o(r,2),l=a[0],u=a[1],A=this.line(e+n),p=o(A,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=p&&l!==p&&u>0){if(l instanceof s.BlockEmbed||p instanceof s.BlockEmbed)return void this.optimize();if(l instanceof d.default){var f=l.newlineIndex(l.length(),!0);if(f>-1&&(l=l.split(f+1))===p)return void this.optimize()}else if(p instanceof d.default){var h=p.newlineIndex(0);h>-1&&p.split(h+1)}var m=p.children.head instanceof c.default?null:p.children.head;l.moveChildren(p,m),l.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,o,r){(null==this.whitelist||this.whitelist[o])&&
2(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,o,r),this.optimize())}},{key:"insertAt",value:function(e,n,o){if(null==o||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==o||null==a.default.query(n,a.default.Scope.BLOCK)){var r=a.default.create(this.statics.defaultChild);this.appendChild(r),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,o)}else{var l=a.default.create(n,o);this.appendChild(l)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,o);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var o=a.default.create(this.statics.defaultChild);o.appendChild(e),e=o}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(f,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,o){var r=[],i=o;return t.children.forEachAt(n,o,(function(t,n,o){f(t)?r.push(t):t instanceof a.default.Container&&(r=r.concat(e(t,n,i))),i-=o})),r};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(l.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=l.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(l.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(l.default.events.SCROLL_UPDATE,n,e)}}}]),t}(a.default.Scroll);h.blotName="scroll",h.className="ql-editor",h.tagName="DIV",h.defaultChild="block",h.allowedChildren=[u.default,s.BlockEmbed,A.default],t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var o="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},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=h(n(21)),l=h(n(11)),s=h(n(3)),u=h(n(2)),c=h(n(20)),d=h(n(0)),A=h(n(5)),p=h(n(10)),f=h(n(9));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,p.default)("quill:keyboard"),g=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.bindings={}
2,Object.keys(o.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&o.options.bindings[t]&&o.addBinding(o.options.bindings[t])})),o.addBinding({key:t.keys.ENTER,shiftKey:null},B),o.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(o.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},w),o.addBinding({key:t.keys.DELETE},{collapsed:!0},L)):(o.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),o.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},L)),o.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},C),o.addBinding({key:t.keys.DELETE},{collapsed:!1},C),o.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),o.listen(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"match",value:function(e,t){return t=x(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=x(e);if(null==o||null==o.key)return v.warn("Attempted to add invalid keyboard binding",o);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),o=(0,s.default)(o,t,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var u=e.quill.getLine(s.index),c=r(u,2),A=c[0],p=c[1],f=e.quill.getLeaf(s.index),h=r(f,2),m=h[0],v=h[1],g=0===s.length?[m,v]:e.quill.getLeaf(s.index+s.length),y=r(g,2),b=y[0],w=y[1],L=m instanceof d.default.Text?m.value().slice(0,v):"",C=b instanceof d.default.Text?b.value().slice(w):"",B={collapsed:0===s.length,empty:0===s.length&&A.length()<=1,format:e.quill.getFormat(s),offset:p,prefix:L,suffix:C};a.some((function(t){if(null!=t.collapsed&&t.collapsed!==B.collapsed)return!1;if(null!=t.empty&&t.empty!==B.empty)return!1;if(null!=t.offset&&t.offset!==B.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==B.format[e]})))return!1}else if("object"===o(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=B.format[e]:!1===t.format[e]?null==B.format[e]:(0,l.default)(t.format[e],B.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(B.prefix)||null!=t.suffix&&!t.suffix.test(B.suffix)||!0===t.handler.call(e,s,B))}))&&n.preventDefault()}}}}))}}]),t}(f.default);function b(e,t){var n,o=e===y.keys.LEFT?"prefix":"suffix";return m(n={key:e,shiftKey:t,altKey:null},o,/^$/),m(n,"handler",(function(n){var o=n.index;e===y.keys.RIGHT&&(o+=n.length+1);var i=this.quill.getLeaf(o);return!(r(i,1)[0]instanceof d.default.Embed&&(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,A.default.sources.USER):this.quill.setSelection(n.index-1,A.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,A.default.sources.USER):this.quill.setSelection(n.index+n.length+1,A.default.sources.USER),1))})),n}function w(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),o=r(n,1)[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),l=r(a,1)[0];if(null!=l&&l.length()>1){var s=o.formats(),u=this.quill.getFormat(e.index-1,1);i=c.default.attributes.diff(s,u)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,A.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-d,d,i,A.default.sources.USER),this.quill.focus()}}function L(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>
2=this.quill.getLength()-n)){var o={},i=0,a=this.quill.getLine(e.index),l=r(a,1)[0];if(t.offset>=l.length()-1){var s=this.quill.getLine(e.index+1),u=r(s,1)[0];if(u){var d=l.formats(),p=this.quill.getFormat(e.index,1);o=c.default.attributes.diff(d,p)||{},i=u.length()}}this.quill.deleteText(e.index,n,A.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index+i-1,n,o,A.default.sources.USER)}}function C(e){var t=this.quill.getLines(e),n={};if(t.length>1){var o=t[0].formats(),r=t[t.length-1].formats();n=c.default.attributes.diff(r,o)||{}}this.quill.deleteText(e,A.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,A.default.sources.USER),this.quill.setSelection(e.index,A.default.sources.SILENT),this.quill.focus()}function B(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var o=Object.keys(t.format).reduce((function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",o,A.default.sources.USER),this.quill.setSelection(e.index+1,A.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==o[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],A.default.sources.USER))}))}function _(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),o=t.index,i=t.length,a=this.quill.scroll.descendant(n,o),l=r(a,2),s=l[0],u=l[1];if(null!=s){var c=this.quill.getIndex(s),p=s.newlineIndex(u,!0)+1,f=s.newlineIndex(c+u+i),h=s.domNode.textContent.slice(p,f).split("\n");u=0,h.forEach((function(t,r){e?(s.insertAt(p+u,n.TAB),u+=n.TAB.length,0===r?o+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(s.deleteAt(p+u,n.TAB.length),u-=n.TAB.length,0===r?o-=n.TAB.length:i-=n.TAB.length),u+=t.length+1})),this.quill.update(A.default.sources.USER),this.quill.setSelection(o,i,A.default.sources.SILENT)}}}}function k(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],A.default.sources.USER)}}}function x(e){if("string"==typeof e||"number"==typeof e)return x({key:e});if("object"===(void 0===e?"undefined":o(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[g]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:k("bold"),italic:k("italic"),underline:k("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",A.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",A.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",A.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,A.default.sources.USER)}},"indent code-block":_(!0),"outdent code-block":_(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,A.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new u.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,A.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,A.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,A.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,A.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),o=n[0],i=n[1],a=(0,s.default)({},o.formats(),{list:"checked"}),l=(new u.default).retain(e.index).insert("\n",a).retain(o.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,A.default.sources.USER),this.quill.setSelection(e.index+1,A.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),o=r(n,2),i=o[0],a=o[1],l=(new u.default).retain(e.index).insert("\n",t.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(l,A.default.sources.USER),this.quill.setSelection(e.index+1,A.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,o=this.quill.getLine(e.index),i=r(o,2),a=i[0],l=i[1];if(l>n)return!0;var s=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;
2case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(e.index," ",A.default.sources.USER),this.quill.history.cutoff();var c=(new u.default).retain(e.index-l).delete(n+1).retain(a.length()-2-l).retain(1,{list:s});this.quill.updateContents(c,A.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,A.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),o=n[0],i=n[1],a=(new u.default).retain(e.index+o.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,A.default.sources.USER)}},"embed left":b(y.keys.LEFT,!1),"embed left shift":b(y.keys.LEFT,!0),"embed right":b(y.keys.RIGHT,!1),"embed right shift":b(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=s(n(0)),l=s(n(7));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.selection=n,o.textNode=document.createTextNode(t.CONTENTS),o.domNode.appendChild(o.textNode),o._length=0,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var o=this,i=0;null!=o&&o.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=o.offset(o.parent),o=o.parent;null!=o&&(this._length=t.CONTENTS.length,o.optimize(),o.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,s=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var u=[e,n.start.offset,n.end.offset];r=u[0],i=u[1],s=u[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof l.default?(r=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,s].map((function(e){return Math.max(0,Math.min(r.data.length,e-1))})),A=o(d,2);return i=A[0],s=A[1],{startNode:r,startOffset:i,endNode:r,endOffset:s}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}
2))){var o=this.restore();o&&(t.range=o)}}},{key:"value",value:function(){return""}}]),t}(a.default.Embed);u.blotName="cursor",u.className="ql-cursor",u.tagName="span",u.CONTENTS="\ufeff",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(n(0)),r=n(4),i=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default.Container);u.allowedChildren=[i.default,r.BlockEmbed,u],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),l=(o=a)&&o.__esModule?o:{default:o};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(l.default.Attributor.Style),d=new l.default.Attributor.Class("color","ql-color",{scope:l.default.Scope.INLINE}),A=new c("color","color",{scope:l.default.Scope.INLINE});t.ColorAttributor=c,t.ColorClass=d,t.ColorStyle=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(6);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return c(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);function c(e,t){var n=document.createElement("a");n.href=e;var o=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(o)>-1}u.blotName="link",u.tagName="A",u.SANITIZED_URL="about:blank",u.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=u,t.sanitize=c},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=l(n(23)),a=l(n(107));function l(e){return e&&e.__esModule?e:{default:e}}var s=0;function u(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var c=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return r(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),u(this.label,"aria-expanded"),u(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+s,s+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var o=e.buildItem(n);t.appendChild(o),!0===n.selected&&e.selectItem(o)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":o(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=c},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o=v(n(0)),r=v(n(5)),i=n(4),a=v(i),l=v(n(16)),s=v(n(25)),u=v(n(24)),c=v(n(35)),d=v(n(6)),A=v(n(22)),p=v(n(7)),f=v(n(55)),h=v(n(42)),m=v(n(23));function v(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":l.default,"blots/container":s.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":d.default,"blots/scroll":A.default,"blots/text":p.default,"modules/clipboard":f.default,"modules/history":h.default,"modules/keyboard":m.default}),o.default.register(a.default,l.default,u.default,d.default,A.default,p.default),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e){this.domNode=e,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return o.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var i=this.isolate(e,t);if(null!=o.query(n,o.Scope.BLOT)&&r)i.wrap(n,r);else if(null!=o.query(n,o.Scope.ATTRIBUTE)){var a=o.create(this.statics.scope);i.wrap(a),a.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?o.create("text",t):o.create(t,n),i=this.split(e);this.parent.insertBefore(r,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?o.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?o.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),r=n(32),i=n(33),a=n(1),l=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=o.default.keys(this.domNode),n=r.default.keys(this.domNode),l=i.default.keys(this.domNode);t.concat(n).concat(l).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof o.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;
2Object.keys(this.attributes).forEach((function(n){var o=t.attributes[n].value(t.domNode);e.format(n,o)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=l},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return o(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();r.DEFAULTS={modules:{}},r.themes={default:r},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=l(n(0)),a=l(n(7));
2function l(e){return e&&e.__esModule?e:{default:e}}var s="\ufeff",u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(s),n.rightGuard=document.createTextNode(s),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,o=e.data.split(s).join("");if(e===this.leftGuard)if(this.prev instanceof a.default){var r=this.prev.length();this.prev.insertAt(r,o),t={startNode:this.prev.domNode,startOffset:r+o.length}}else n=document.createTextNode(o),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:o.length};else e===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,o),t={startNode:this.next.domNode,startOffset:o.length}):(n=document.createTextNode(o),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:o.length}));return e.data=s,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var o=n.restore(e.target);o&&(t.range=o)}}))}}]),t}(i.default.Embed);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o},a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},l=new i.default.Attributor.Attribute("align","align",a),s=new i.default.Attributor.Class("align","ql-align",a),u=new i.default.Attributor.Style("align","text-align",a);t.AlignAttribute=l,t.AlignClass=s,t.AlignStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o},a=n(26),l=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),s=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=l,t.BackgroundStyle=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o},a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},l=new i.default.Attributor.Attribute("direction","dir",a),s=new i.default.Attributor.Class("direction","ql-direction",a),u=new i.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=l,t.DirectionClass=s,t.DirectionStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),l=(o=a)&&o.__esModule?o:{default:o};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c={scope:l.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new l.default.Attributor.Class("font","ql-font",c),A=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(l.default.Attributor.Style),p=new A("font","font-family",c);t.FontStyle=p,t.FontClass=d},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o},a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),l=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=l},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.lastRecorded=0,o.ignoreChange=!1,o.clear(),o.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,r){e!==i.default.events.TEXT_CHANGE||o.ignoreChange||(o.options.userOnly&&r!==i.default.sources.USER?o.transform(t):o.record(t,n))}
2)),o.quill.keyboard.addBinding({key:"Z",shortKey:!0},o.undo.bind(o)),o.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},o.redo.bind(o)),/Win/i.test(navigator.platform)&&o.quill.keyboard.addBinding({key:"Y",shortKey:!0},o.redo.bind(o)),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var o=s(n[e]);this.quill.setSelection(o)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),o=Date.now();if(this.lastRecorded+this.options.delay>o&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=o;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(a(n(9)).default);function s(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=r.default.query(e,r.default.Scope.BLOCK)})))}(e)&&(n-=1),n}l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=l,t.getLastChangeIndex=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=f(n(3)),a=f(n(2)),l=f(n(8)),s=f(n(23)),u=f(n(34)),c=f(n(59)),d=f(n(60)),A=f(n(28)),p=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],b=[!1,"serif","monospace"],w=["1","2","3",!1],L=["small",!1,"large","huge"],C=function(e){function t(e,n){h(this,t);var o=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==o.tooltip||o.tooltip.root.contains(n.target)||document.activeElement===o.tooltip.textbox||o.quill.hasFocus()||o.tooltip.hide(),null!=o.pickers&&o.pickers.forEac
2h((function(e){e.container.contains(n.target)||e.close()}))})),o}return v(t,e),o(t,[{key:"addModule",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var o=e.value||"";null!=o&&t[n][o]&&(e.innerHTML=t[n][o])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&_(e,g),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&_(e,y,"background"===n?"#ffffff":"#000000"),new c.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?_(e,b):e.classList.contains("ql-header")?_(e,w):e.classList.contains("ql-size")&&_(e,L)),new A.default(e)})),this.quill.on(l.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(u.default);C.DEFAULTS=(0,i.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var o=e.quill.getSelection(!0);e.quill.updateContents((new a.default).retain(o.index).delete(o.length).insert({image:n.target.result}),l.default.sources.USER),e.quill.setSelection(o.index+1,l.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var B=function(e){function t(e,n){h(this,t);var o=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.textbox=o.root.querySelector('input[type="text"]'),o.listen(),o}return v(t,e),o(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){s.default.match(t,"enter")?(e.save(),t.preventDefault()):s.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e,t,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var o=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,l.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,l.default.sources.USER)),this.quill.root.scrollTop=o;break;case"video":t=(e=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/),n=t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e;case"formula":if(!n)break;var r=this.quill.getSelection(!0);if(null!=r){var i=r.index+r.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),n,l.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",l.default.sources.USER),this.quill.setSelection(i+2,l.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var o=document.createElement("option");t===n?o.setAttribute("selected","selected"):o.setAttribute("value",t),e.appendChild(o)}))}t.BaseTooltip=B,t.default=C},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,o=this.iterator();n=o();){var r=n.length();if(e<r||t&&e===r&&(null==n.next||0!==n.next.length()))return[n,e];e-=r}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var o,r=this.find(e),i=r[0],a=e-r[1],l=this.iterator(i);(o=l())&&a<e+t;){var s=o.length();e>a?n(o,e-a,Math.min(t,a+s-e)):n(o,0,Math.min(s,e+t-a)),a+=s}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,o=this.iterator();n=o();)t=e(t,n);return t},e}();t.default=o},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),a=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,l),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,o,r){this.update(),e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){this.update(),e.prototype.insertAt.call(this,t,n,o)},t.prototype.optimize=function(t,n){var o=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)t.push(r.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==o&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&l(e.parent))},s=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(s),e.optimize(n))},u=t,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(s),r=(u=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)t.push(r.pop())}},t.prototype.update=function(t,n){var o=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)}
2)).forEach((function(e){null!=e&&e!==o&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=s},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,o){var r=this;n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),r.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,o,r){null!=this.formats()[o]||a.query(o,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(o,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=l},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var o=a.query(t.blotName).tagName;if(n.tagName!==o)return e.formats.call(this,n)},t.prototype.format=function(n,o){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,o,r){null!=a.query(o,a.Scope.BLOCK)?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){if(null==o||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,o);else{var r=this.split(t),i=a.create(n,o);r.parent.insertBefore(i,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=l},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,o,r){0===t&&n===this.length()?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});
2Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),a=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,o){null==o?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,o)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=l},function(e,t,n){"use strict";var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var o=n.indexOf(e,t);return-1!==o&&o===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,r=arguments[1],i=0;i<o;i++)if(t=n[i],e.call(r,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function o(e,t,s){if(e==t)return e?[[0,e]]:[];(s<0||e.length<s)&&(s=null);var c=i(e,t),d=e.substring(0,c);c=a(e=e.substring(c),t=t.substring(c));var A=e.substring(e.length-c),p=function(e,t){var l;if(!e)return[[1,t]];if(!t)return[[n,e]];var s=e.length>t.length?e:t,u=e.length>t.length?t:e,c=s.indexOf(u);if(-1!=c)return l=[[1,s.substring(0,c)],[0,u],[1,s.substring(c+u.length)]],e.length>t.length&&(l[0][0]=l[2][0]=n),l;if(1==u.length)return[[n,e],[1,t]];var d=function(e,t){var n=e.length>t.length?e:t,o=e.length>t.length?t:e;if(n.length<4||2*o.length<n.length)return null;function r(e,t,n){for(var o,r,l,s,u=e.substring(n,n+Math.floor(e.length/4)),c=-1,d="";-1!=(c=t.indexOf(u,c+1));){var A=i(e.substring(n),t.substring(c)),p=a(e.substring(0,n),t.substring(0,c));d.length<p+A&&(d=t.substring(c-p,c)+t.substring(c,c+A),o=e.substring(0,n-p),r=e.substring(n+A),l=t.substring(0,c-p),s=t.substring(c+A))}return 2*d.length>=e.length?[o,r,l,s,d]:null}var l,s,u,c,d,A=r(n,o,Math.ceil(n.length/4)),p=r(n,o,Math.ceil(n.length/2));if(!A&&!p)return null;l=p?A&&A[4].length>p[4].length?A:p:A,e.length>t.length?(s=l[0],u=l[1],c=l[2],d=l[3]):(c=l[0],d=l[1],s=l[2],u=l[3]);var f=l[4];return[s,u,c,d,f]}(e,t);if(d){var A=d[0],p=d[1],f=d[2],h=d[3],m=d[4],v=o(A,f),g=o(p,h);return v.concat([[0,m]],g)}return function(e,t){for(var o=e.length,i=t.length,a=Math.ceil((o+i)/2),l=a,s=2*a,u=new Array(s),c=new Array(s),d=0;d<s;d++)u[d]=-1,c[d]=-1;u[l+1]=0,c[l+1]=0;for(var A=o-i,p=A%2!=0,f=0,h=0,m=0,v=0,g=0;g<a;g++){for(var y=-g+f;y<=g-h;y+=2){for(var b=l+y,w=(k=y==-g||y!=g&&u[b-1]<u[b+1]?u[b+1]:u[b-1]+1)-y;k<o&&w<i&&e.charAt(k)==t.charAt(w);)k++,w++;if(u[b]=k,k>o)h+=2;else if(w>i)f+=2;else if(p&&(B=l+A-y)>=0&&B<s&&-1!=c[B]&&k>=(C=o-c[B]))return r(e,t,k,w)}for(var L=-g+m;L<=g-v;L+=2){for(var C,B=l+L,_=(C=L==-g||L!=g&&c[B-1]<c[B+1]?c[B+1]:c[B-1]+1)-L;C<o&&_<i&&e.charAt(o-C-1)==t.charAt(i-_-1);)C++,_++;if(c[B]=C,C>o)v+=2;else if(_>i)m+=2;else if(!p){var k;if((b=l+A-L)>=0&&b<s&&-1!=u[b])if(w=l+(k=u[b])-b,k>=(C=o-C))return r(e,t,k,w)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-c),t=t.substring(0,t.length-c));return d&&p.unshift([0,d]),A&&p.push([0,A]),l(p),null!=s&&(p=function(e,t){var o=function(e,t){if(0===t)return[0,e];for(var o=0,r=0;r<e.length;r++){var i=e[r];if(i[0]===n||0===i[0]){var a=o+i[1].length;if(t===a)return[r+1,e];if(t<a){e=e.slice();var l=t-o,s=[i[0],i[1].slice(0,l)],u=[i[0],i[1].slice(l)];return e.splice(r,1,s,u),[r+1,e]}o=a}}throw new Error("cursor_pos is out of bounds!")}(e,t),r=o[1],i=o[0],a=r[i],l=r[i+1];if(null==a)return e;if(0!==a[0])return e;if(null!=l&&a[1]+l[1]===l[1]+a[1])return r.splice(i,2,l,a),u(r,i,2);
2if(null!=l&&0===l[1].indexOf(a[1])){r.splice(i,2,[l[0],a[1]],[0,a[1]]);var s=l[1].slice(a[1].length);return s.length>0&&r.splice(i+2,0,[l[0],s]),u(r,i,3)}return e}(p,s)),p=function(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},r=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&r(e[i-2][1])&&e[i-1][0]===n&&o(e[i-1][1])&&1===e[i][0]&&o(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var a=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&a.push(e[i]);return a}(p)}function r(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),l=e.substring(n),s=t.substring(r),u=o(i,a),c=o(l,s);return u.concat(c)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,o=Math.min(e.length,t.length),r=o,i=0;n<r;)e.substring(i,r)==t.substring(i,r)?i=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function a(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,o=Math.min(e.length,t.length),r=o,i=0;n<r;)e.substring(e.length-r,e.length-i)==t.substring(t.length-r,t.length-i)?i=n=r:o=r,r=Math.floor((o-n)/2+n);return r}function l(e){e.push([0,""]);for(var t,o=0,r=0,s=0,u="",c="";o<e.length;)switch(e[o][0]){case 1:s++,c+=e[o][1],o++;break;case n:r++,u+=e[o][1],o++;break;case 0:r+s>1?(0!==r&&0!==s&&(0!==(t=i(c,u))&&(o-r-s>0&&0==e[o-r-s-1][0]?e[o-r-s-1][1]+=c.substring(0,t):(e.splice(0,0,[0,c.substring(0,t)]),o++),c=c.substring(t),u=u.substring(t)),0!==(t=a(c,u))&&(e[o][1]=c.substring(c.length-t)+e[o][1],c=c.substring(0,c.length-t),u=u.substring(0,u.length-t))),0===r?e.splice(o-s,r+s,[1,c]):0===s?e.splice(o-r,r+s,[n,u]):e.splice(o-r-s,r+s,[n,u],[1,c]),o=o-r-s+(r?1:0)+(s?1:0)+1):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,s=0,r=0,u="",c=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(o=1;o<e.length-1;)0==e[o-1][0]&&0==e[o+1][0]&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),d=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),d=!0)),o++;d&&l(e)}var s=o;function u(e,t,n){for(var o=t+n-1;o>=0&&o>=t-1;o--)if(o+1<e.length){var r=e[o],i=e[o+1];r[0]===i[1]&&e.splice(o,2,[r[0],r[1]+i[1]])}return e}s.INSERT=1,s.DELETE=n,s.EQUAL=0,e.exports=s},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function o(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?o:r).supported=o,t.unsupported=r},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(o=!1)),a.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},a.prototype.listeners=function(e,t){var n=o?o+e:e,r=this._events[n];if(t)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,l=new Array(a);i<a;i++)l[i]=r[i].fn;return l},a.prototype.emit=function(e,t,n,r,i,a){var l=o?o+e:e;if(!this._events[l])return!1;var s,u,c=this._events[l],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,i),!0;case 6:return c.fn.call(c.context,t,n,r,i,a),!0}for(u=1,s=new Array(d-1);u<d;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var A,p=c.length;for(u=0;
2u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,r);break;default:if(!s)for(A=1,s=new Array(d-1);A<d;A++)s[A-1]=arguments[A];c[u].fn.apply(c[u].context,s)}}return!0},a.prototype.on=function(e,t,n){var r=new i(t,n||this),a=o?o+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.once=function(e,t,n){var r=new i(t,n||this,!0),a=o?o+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],r]:this._events[a].push(r):(this._events[a]=r,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,i){var a=o?o+e:e;if(!this._events[a])return this;if(!t)return 0==--this._eventsCount?this._events=new r:delete this._events[a],this;var l=this._events[a];if(l.fn)l.fn!==t||i&&!l.once||n&&l.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[a]);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==t||i&&!l[s].once||n&&l[s].context!==n)&&u.push(l[s]);u.length?this._events[a]=1===u.length?u[0]:u:0==--this._eventsCount?this._events=new r:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=o?o+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new r:delete this._events[t])):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=o,a.EventEmitter=a,void 0!==e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var o="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},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=y(n(3)),l=y(n(2)),s=y(n(0)),u=y(n(5)),c=y(n(10)),d=y(n(9)),A=n(36),p=n(37),f=y(n(13)),h=n(26),m=n(38),v=n(39),g=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,c.default)("quill:clipboard"),L="__ql-matcher",C=[[Node.TEXT_NODE,q],[Node.TEXT_NODE,U],["br",function(e,t){return E(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,U],[Node.ELEMENT_NODE,O],[Node.ELEMENT_NODE,Q],[Node.ELEMENT_NODE,V],[Node.ELEMENT_NODE,function(e,t){var n={},o=e.style||{};return o.fontStyle&&"italic"===S(e).fontStyle&&(n.italic=!0),o.fontWeight&&(S(e).fontWeight.startsWith("bold")||parseInt(S(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=x(t,n)),parseFloat(o.textIndent||0)>0&&(t=(new l.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=s.default.query(e);if(null==n||"list-item"!==n.blotName||!E(t,"\n"))return t;for(var o=-1,r=e.parentNode;!r.classList.contains("ql-clipboard");)"list"===(s.default.query(r)||{}).blotName&&(o+=1),r=r.parentNode;return o<=0?t:t.compose((new l.default).retain(t.length()-1).retain(1,{indent:o}))}],["b",F.bind(F,"bold")],["i",F.bind(F,"italic")],["style",function(){return new l.default}]],B=[A.AlignAttribute,m.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}
2),_=[A.AlignStyle,p.BackgroundStyle,h.ColorStyle,m.DirectionStyle,v.FontStyle,g.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),k=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.quill.root.addEventListener("paste",o.onPaste.bind(o)),o.container=o.quill.addContainer("ql-clipboard"),o.container.setAttribute("contenteditable",!0),o.container.setAttribute("tabindex",-1),o.matchers=[],C.concat(o.options.matchers).forEach((function(e){var t=r(e,2),i=t[0],a=t[1];(n.matchVisual||a!==Q)&&o.addMatcher(i,a)})),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[f.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new l.default).insert(n,b({},f.default.blotName,t[f.default.blotName]))}var o=this.prepareMatching(),i=r(o,2),a=i[0],s=i[1],u=N(this.container,a,s);return E(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new l.default).retain(u.length()-1).delete(1))),w.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,u.default.sources.SILENT);else{var o=this.convert(t);this.quill.updateContents((new l.default).retain(e).concat(o),n),this.quill.setSelection(e+o.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),o=(new l.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout((function(){o=o.concat(t.convert()).delete(n.length),t.quill.updateContents(o,u.default.sources.USER),t.quill.setSelection(o.length()-n.length,u.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(o){var i=r(o,2),a=i[0],l=i[1];switch(a){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:t.push(l);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[L]=e[L]||[],e[L].push(l)}))}})),[t,n]}}]),t}(d.default);function x(e,t,n){return"object"===(void 0===t?"undefined":o(t))?Object.keys(t).reduce((function(e,n){return x(e,n,t[n])}),e):e.reduce((function(e,o){return o.attributes&&o.attributes[t]?e.push(o):e.insert(o.insert,(0,a.default)({},b({},t,n),o.attributes))}),new l.default)}function S(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function E(e,t){for(var n="",o=e.ops.length-1;o>=0&&n.length<t.length;--o){var r=e.ops[o];if("string"!=typeof r.insert)break;n=r.insert+n}return n.slice(-1*t.length)===t}function T(e){if(0===e.childNodes.length)return!1;var t=S(e);return["block","list-item"].indexOf(t.display)>-1}function N(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new l.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(o,r){var i=N(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(r,e)}),i),i=(r[L]||[]).reduce((function(e,t){return t(r,e)}),i)),o.concat(i)}),new l.default):new l.default}function F(e,t,n){return x(n,e,!0)}function V(e,t){var n=s.default.Attributor.Attribute.keys(e),o=s.default.Attributor.Class.keys(e),r=s.default.Attributor.Style.keys(e),i={};return n.concat(o).concat(r).forEach((function(t){var n=s.default.query(t,s.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=B[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=_[t])||n.attrName!==t&&n.keyName!==t||(n=_[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=x(t,i)),t}function O(e,t){var n=s.default.query(e);if(null==n)return t;if(n.prototype instanceof s.default.Embed){var o={},r=n.value(e);null!=r&&(o[n.blotName]=r,t=(new l.default).insert(o,n.formats(e)))}else"function"==typeof n.formats&&(t=x(t,n.blotName,n.formats(e)));return t}function U(e,t){return E(t,"\n")||(T(e)||t.length()>0&&e.nextSibling&&T(e.nextSibling))&&t.insert("\n"),t}function Q(e,t){if(T(e)&&null!=e.nextElementSibling&&!E(t,"\n\n")){var n=e.offsetHeight+parseFloat(S(e).marginTop)+parseFloat(S(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function q(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!S(e.parentNode).whiteSpace.startsWith("pre")){var o=function(e,t){return(t=t.replace(/[^\u
200a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,o.bind(o,!0)),(null==e.previousSibling&&T(e.parentNode)||null!=e.previousSibling&&T(e.previousSibling))&&(n=n.replace(/^\s+/,o.bind(o,!1))),(null==e.nextSibling&&T(e.parentNode)||null!=e.nextSibling&&T(e.nextSibling))&&(n=n.replace(/\s+$/,o.bind(o,!1)))}return t.insert(n)}k.DEFAULTS={matchers:[],matchVisual:!0},t.default=k,t.matchAttributor=V,t.matchBlot=O,t.matchNewline=U,t.matchSpacing=Q,t.matchText=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(6);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);u.blotName="bold",u.tagName=["STRONG","B"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=c(n(2)),a=c(n(0)),l=c(n(5)),s=c(n(10)),u=c(n(9));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var A=(0,s.default)("quill:toolbar"),p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r,i=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");h(a,i.options.container),e.container.parentNode.insertBefore(a,e.container),i.container=a}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.c
2ontrols=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=o(e,1)[0];i.update(t)})),i):(r=A.error("Container required for toolbar",i.options),d(i,r))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void A.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void A.warn("ignoring attaching to nonexistent format",n,e)}var r="SELECT"===e.tagName?"change":"click";e.addEventListener(r,(function(r){var s=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var u=e.options[e.selectedIndex];s=!u.hasAttribute("selected")&&(u.value||!1)}else s=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),r.preventDefault();t.quill.focus();var c=t.quill.selection.getRange(),d=o(c,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,s);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(s=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,s)),l.default.sources.USER)}else t.quill.format(n,s,l.default.sources.USER);t.update(d)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var r=o(n,2),i=r[0],a=r[1];if("SELECT"===a.tagName){var l=void 0;if(null==e)l=null;else if(null==t[i])l=a.querySelector("option[selected]");else if(!Array.isArray(t[i])){var s=t[i];"string"==typeof s&&(s=s.replace(/\"/g,'\\"')),l=a.querySelector('option[value="'+s+'"]')}null==l?(a.value="",a.selectedIndex=-1):l.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var u=t[i]===a.getAttribute("value")||null!=t[i]&&t[i].toString()===a.getAttribute("value")||null==t[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",u)}else a.classList.toggle("ql-active",null!=t[i])}))}}]),t}(u.default);function f(e,t,n){var o=document.createElement("button");o.setAttribute("type","button"),o.classList.add("ql-"+t),null!=n&&(o.value=n),e.appendChild(o)}function h(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)f(n,e);else{var t=Object.keys(e)[0],o=e[t];Array.isArray(o)?function(e,t,n){var o=document.createElement("select");o.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),o.appendChild(t)})),e.appendChild(o)}(n,t,o):f(n,t,o)}})),e.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,l.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",l.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,l.default.sources.USER),this.quill.format("direction",e,l.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),o=parseInt(n.indent||0);if("+1"===e||"-1"===e){var r="+1"===e?1:-1;"rtl"===n.direction&&(r*=-1),this.quill.format("indent",o+r,l.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,l.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,l.default.sources.USER):this.quill.format("list","unchecked",l.default.sources.USER):this.quill.format("list",e,l.default.sources.USER)}}}
2,t.default=p,t.addControls=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(28),l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.label.innerHTML=n,o.container.classList.add("ql-color-picker"),[].slice.call(o.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var o=this.label.querySelector(".ql-color-label"),r=e&&e.getAttribute("data-value")||"";o&&("line"===o.tagName?o.style.stroke=r:o.style.fill=r)}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(28),l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.container.classList.add("ql-icon-picker"),[].forEach.call(o.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),o.defaultItem=o.container.querySelector(".ql-selected"),o.selectItem(o.defaultItem),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);t.default=l},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(){function e(t,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"})),this.hide()}return o(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var o=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),i=0;if(r.right>o.right&&(i=o.right-r.right,this.root.style.left=t+i+"px"),r.left<o.left&&(i=o.left-r.left,this.root.style.left=t+i+"px"),r.bottom>o.bottom){var a=r.bottom-r.top,l=e.bottom-e.top+a;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=p(n(3)),l=p(n(8)),s=n(43),u=p(s),c=p(n(27)),d=n(15),A=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],g=function(e){function t(e,n){f(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var o=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.quill.container.classList.add("ql-snow"),o}return m(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),A.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),A.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(u.default);g.DEFAULTS=(0,a.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",
2n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){f(this,t);var o=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.preview=o.root.querySelector("a.ql-preview"),o}return m(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,l.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(l.default.events.SELECTION_CHANGE,(function(t,n,r){if(null!=t){if(0===t.length&&r===l.default.sources.USER){var i=e.quill.scroll.descendant(c.default,t.index),a=o(i,2),s=a[0],u=a[1];if(null!=s){e.linkRange=new d.Range(t.index-u,s.length());var A=c.default.formats(s.domNode);return e.preview.textContent=A,e.preview.setAttribute("href",A),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(s.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=U(n(29)),r=n(36),i=n(38),a=n(64),l=U(n(65)),s=U(n(66)),u=n(67),c=U(u),d=n(37),A=n(26),p=n(39),f=n(40),h=U(n(56)),m=U(n(68)),v=U(n(27)),g=U(n(69)),y=U(n(70)),b=U(n(71)),w=U(n(72)),L=U(n(73)),C=n(13),B=U(C),_=U(n(74)),k=U(n(75)),x=U(n(57)),S=U(n(41)),E=U(n(28)),T=U(n(59)),N=U(n(60)),F=U(n(61)),V=U(n(108)),O=U(n(62));function U(e){return e&&e.__esModule?e:{default:e}}o.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":A.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":f.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":A.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":f.SizeStyle},!0),o.default.register({"formats/align":r.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":A.ColorStyle,"formats/font":p.FontClass,"formats/size":f.SizeClass,"formats/blockquote":l.default,"formats/code-block":B.default,"formats/header":s.default,"formats/list":c.default,"formats/bold":h.default,"formats/code":C.Code,"formats/italic":m.default,"formats/link":v.default,"formats/script":g.default,"formats/strike":y.default,"formats/underline":b.default,"formats/image":w.default,"formats/video":L.default,"formats/list/item":u.ListItem,"modules/formula":_.default,"modules/syntax":k.default,"modules/toolbar":x.default,"themes/bubble":V.default,"themes/snow":O.default,"ui/icons":S.default,"ui/picker":E.default,"ui/icon-picker":N.default,"ui/color-picker":T.default,"ui/tooltip":F.default},!0),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),l=(o=a)&&o.__esModule?o:{default:o};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var o=this.value(e)||0;n="+1"===n?o+1:o-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(l.default.Attributor.Class),d=new c("indent","ql-indent",{scope:l.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=d},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(4);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default);l.blotName="blockquote",l.tagName="blockquote",t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(4);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){return a(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((o=i)&&o.__esModule?o:{default:o}).default);s.blotName="header",s.tagName=["H1","H2","H3","H4","H5","H6"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=s(n(0)),a=s(n(4)),l=s(n(25));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),o(t,[{key:"format",value:function(e,n){e!==p.blotName||n?r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:r(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(a.default);A.blotName="list-item",A.tagName="LI";var p=function(e){function t(e){u(this,t);var n=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=function(t){if(t.target.parentNode===e){var o=n.statics.formats(e),r=i.default.find(t.target);"checked"===o?r.format("list","unchecked"):"unchecked"===o&&r.format("list","checked")}};return e.addEventListener("touchstart",o),e.addEventListener("mousedown",o),n}return d(t,e),o(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",o=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||o.setAttribute("data-checked","checked"===e),o}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),o(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof A)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var o=null==n?this.length():n.offset(this),i=this.split(o);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNo
2de.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(l.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[A],t.ListItem=A,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(56);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default);l.blotName="italic",l.tagName=["EM","I"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(6);function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=function(e){function t(){return l(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((o=a)&&o.__esModule?o:{default:o}).default);u.blotName="script",u.tagName=["SUB","SUP"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default);l.blotName="strike",l.tagName="S",t.default=l},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(6);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default);l.blotName="underline",l.tagName="U",t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(0),l=(o=a)&&o.__esModule?o:{default:o},s=n(27);function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["alt","height","width"],A=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(l.default.Embed);A.blotName="image",A.tagName="IMG",t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},a=n(4),l=n(27),s=(o=l)&&o.__esModule?o:{default:o};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=["height","width"],A=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);A.blotName="video",A.className="ql-video",A.tagName="IFRAME",t.default=A},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=s(n(35)),a=s(n(5)),l=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),o(t,null,[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);A.blotName="formula",A.className="ql-formula",A.tagName="SPAN";var p=function(e){function t(){u(this,t);var e=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),o(t,null,[{key:"register",value:function(){a.default.register(A,!0)}}]),t}(l.default);t.FormulaBlot=A,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},i=s(n(0)),a=s(n(5)),l=s(n(9));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var A=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),o(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(s(n(13)).default);A.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),f=function(e){function t(e,n){u(this,t);var o=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof o.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return o.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){o.highlight(),r=null}),o.options.interval)})),o.highlight(),o}return d(t,e),o(t,null,[{key:"register",value:function(){a.default.register(p,!0),a.default.register(A,!0)}}]),o(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(A).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=t&&this.quill.setSelection(t,a.default.sources.SILENT)}}}]),t}(l.default);f.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=A,t.CodeToken=p,t.default=f},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18">
2 <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.
2177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var o=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=d(n(3)),a=d(n(8)),l=n(43),s=d(l),u=n(15),c=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(e){function t(e,n){A(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=h);var o=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.quill.container.classList.add("ql-bubble"),o}return f(t,e),r(t,[{key:"extendToolbar",value:function(e){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),c.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),c.default)}}]),t}(s.default);m.DEFAULTS=(0,i.default)(!0,{},s.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(e){function t(e,n){A(this,t);var o=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t,n,r){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&r===a.default.sources.USER){o.show(),o.root.style.left="0px",o.root.style.width="",o.root.style.width=o.root.offsetWidth+"px";var i=o.quill.getLines(t.index,t.length);if(1===i.length)o.position(o.quill.getBounds(t));else{var l=i[i.length-1],s=o.quill.getIndex(l),c=Math.min(l.length()-1,t.index+t.length-s),d=o.quill.getBounds(new u.Range(s,c));o.position(d)}}else document.activeElement!==o.textbox&&o.quill.hasFocus()&&o.hide()})),o}return f(t,e),r(t,[{key:"listen",value:function(){var e=this;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(l.BaseTooltip);v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=v,t.default=m},function(e,t,n){e.exports=n(63)}]).default},e.exports=o()},5666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r=t&&t.prototype instanceof m?t:m,i=Object.create(r.prototype),a=new S(o||[]);return i._invoke=function(e,t,n){var o=d;return function(r,i){if(o===p)throw new Error("Generator is already running");if(o===f){if("throw"===r)throw i;return T()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var l=_(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=c(e,t,n);if("normal"===s.type){if(o=n.done?f:A,s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=f,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}
vendor: 4,844 bytes, line 2
2function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",A="suspendedYield",p="executing",f="completed",h={};function m(){}function v(){}function g(){}var y={};s(y,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(E([])));w&&w!==n&&o.call(w,i)&&(y=w);var L=g.prototype=m.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function B(e,t){function n(r,i,a,l){var s=c(e[r],e,i);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var r;this._invoke=function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}}function _(e,n){var o=e.iterator[n.method];if(o===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=c(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,h;var i=r.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function E(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=g,s(L,"constructor",g),s(g,"constructor",v),v.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},e.awrap=function(e){return{__await:e}},C(B.prototype),s(B.prototype,a,(function(){return this})),e.AsyncIterator=B,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new B(u(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(L),s(L,l,"Generator"),s(L,i,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(o,r){return l.type="throw",l.arg=e,n.next=o,r&&(n.method="next",n.arg=t),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];
2if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:E(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7478:(e,t,n)=>{"use strict";var o=n(210),r=n(1924),i=n(631),a=o("%TypeError%"),l=o("%WeakMap%",!0),s=o("%Map%",!0),u=r("WeakMap.prototype.get",!0),c=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),A=r("Map.prototype.get",!0),p=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new a("Side channel does not contain "+i(e))},get:function(o){if(l&&o&&("object"==typeof o||"function"==typeof o)){if(e)return u(e,o)}else if(s){if(t)return A(t,o)}else if(n)return function(e,t){var n=h(e,t);return n&&n.value}(n,o)},has:function(o){if(l&&o&&("object"==typeof o||"function"==typeof o)){if(e)return d(e,o)}else if(s){if(t)return f(t,o)}else if(n)return function(e,t){return!!h(e,t)}(n,o);return!1},set:function(o,r){l&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new l),c(e,o,r)):s?(t||(t=new s),p(t,o,r)):(n||(n={key:{},next:null}),function(e,t,n){var o=h(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,r))}};return o}},8496:(e,t,n)=>{"use strict";n.d(t,{J:()=>gt});var o=n(3868);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return a="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},a(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var d=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),A=c(/Edge/i),p=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),h=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),v={capture:!1,passive:!1};function g(e,t,n){e.addEventListener(t,n,!d&&v)}function y(e,t,n){e.removeEventListener(t,n,!d&&v)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function L(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var C,B=/\s+/g;function _(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(B," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(B," ")}}
vendor: 5,269 bytes, line 2
2function k(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function x(e,t){var n="";if("string"==typeof e)n=e;else do{var o=k(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function S(e,t,n){if(e){var o=e.getElementsByTagName(t),r=0,i=o.length;if(n)for(;r<i;r++)n(o[r],r);return o}return[]}function E(){var e=document.scrollingElement;return e||document.documentElement}function T(e,t,n,o,r){if(e.getBoundingClientRect||e===window){var i,a,l,s,u,c,A;if(e!==window&&e.parentNode&&e!==E()?(a=(i=e.getBoundingClientRect()).top,l=i.left,s=i.bottom,u=i.right,c=i.height,A=i.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,c=window.innerHeight,A=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!d))do{if(r&&r.getBoundingClientRect&&("none"!==k(r,"transform")||n&&"static"!==k(r,"position"))){var p=r.getBoundingClientRect();a-=p.top+parseInt(k(r,"border-top-width")),l-=p.left+parseInt(k(r,"border-left-width")),s=a+i.height,u=l+i.width;break}}while(r=r.parentNode);if(o&&e!==window){var f=x(r||e),h=f&&f.a,m=f&&f.d;f&&(s=(a/=m)+(c/=m),u=(l/=h)+(A/=h))}return{top:a,left:l,bottom:s,right:u,width:A,height:c}}}function N(e,t,n){for(var o=Q(e,!0),r=T(e)[t];o;){var i=T(o)[n];if(!("top"===n||"left"===n?r>=i:r<=i))return o;if(o===E())break;o=Q(o,!1)}return!1}function F(e,t,n,o){for(var r=0,i=0,a=e.children;i<a.length;){if("none"!==a[i].style.display&&a[i]!==Ie.ghost&&(o||a[i]!==Ie.dragged)&&L(a[i],n.draggable,e,!1)){if(r===t)return a[i];r++}i++}return null}function V(e,t){for(var n=e.lastElementChild;n&&(n===Ie.ghost||"none"===k(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function O(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ie.clone||t&&!b(e,t)||n++;return n}function U(e){var t=0,n=0,o=E();if(e)do{var r=x(e),i=r.a,a=r.d;t+=e.scrollLeft*i,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function Q(e,t){if(!e||!e.getBoundingClientRect)return E();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=k(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return E();if(o||t)return n;o=!0}}}while(n=n.parentNode);return E()}function q(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function M(e,t){return function(){if(!C){var n=arguments,o=this;1===n.length?e.call(o,n[0]):e.apply(o,n),C=setTimeout((function(){C=void 0}),t)}}}function I(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function P(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}var D="Sortable"+(new Date).getTime();function H(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==k(e,"display")&&e!==Ie.ghost){t.push({target:e,rect:T(e)});var n=i({},t[t.length-1].rect);if(e.thisAnimationDuration){var o=x(e,!0);o&&(n.top-=o.f,n.left-=o.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var r=!1,i=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,l=T(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=x(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&q(s,l)&&!q(a,l)&&(c.top-l.top)/(c.left-l.left)==(a.top-l.top)/(a.left-l.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(c,s,u,o.options)),q(l,a)||(n.prevFromRect=a,n.prevToRect=l,t||(t=o.options.animation),o.animate(n,c,l,t)),t&&(r=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),r?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){k(e,"transition",""),k(e,"transform","");var r=x(this.el),i=r&&r.a,a=r&&r.d,l=(t.left-n.left)/(i||1),s=(t.top-n.top)/(a||1);e.animatingX=!!l,e.animatingY=!!s,k(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),k(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),k(e,"transform","translate3d(0,
20,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){k(e,"transition",""),k(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var R=[],j={initializeByDefault:!0},$={mount:function(e){for(var t in j)j.hasOwnProperty(t)&&!(t in e)&&(e[t]=j[t]);R.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),R.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=e+"Global";R.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][r]&&t[o.pluginName][r](i({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](i({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var r in R.forEach((function(o){var r=o.pluginName;if(e.options[r]||o.initializeByDefault){var i=new o(e,t,e.options);i.sortable=e,i.options=e.options,e[r]=i,s(n,i.defaults)}})),e.options)if(e.options.hasOwnProperty(r)){var i=this.modifyOption(e,r,e.options[r]);void 0!==i&&(e.options[r]=i)}},getEventProperties:function(e,t){var n={};return R.forEach((function(o){"function"==typeof o.eventProperties&&s(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return R.forEach((function(r){e[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[t]&&(o=r.optionListeners[t].call(e[r.pluginName],n))})),o}};var z=["evt"],K=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,r=u(n,z);$.pluginEvent.bind(Ie)(e,t,i({dragEl:Y,parentEl:G,ghostEl:Z,rootEl:J,nextEl:X,lastDownEl:ee,cloneEl:te,cloneHidden:ne,dragStarted:he,putSortable:se,activeSortable:Ie.active,originalEvent:o,oldIndex:oe,oldDraggableIndex:ie,newIndex:re,newDraggableIndex:ae,hideGhostForTarget:Ue,unhideGhostForTarget:Qe,cloneNowHidden:function(){ne=!0},cloneNowShown:function(){ne=!1},dispatchSortableEvent:function(e){W({sortable:t,name:e,originalEvent:o})}},r))};function W(e){!function(e){var t=e.sortable,n=e.rootEl,o=e.name,r=e.targetEl,a=e.cloneEl,l=e.toEl,s=e.fromEl,u=e.oldIndex,c=e.newIndex,p=e.oldDraggableIndex,f=e.newDraggableIndex,h=e.originalEvent,m=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[D]){var g,y=t.options,b="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||d||A?(g=document.createEvent("Event")).initEvent(o,!0,!0):g=new CustomEvent(o,{bubbles:!0,cancelable:!0}),g.to=l||n,g.from=s||n,g.item=r||n,g.clone=a,g.oldIndex=u,g.newIndex=c,g.oldDraggableIndex=p,g.newDraggableIndex=f,g.originalEvent=h,g.pullMode=m?m.lastPutMode:void 0;var w=i(i({},v),$.getEventProperties(o,t));for(var L in w)g[L]=w[L];n&&n.dispatchEvent(g),y[b]&&y[b].call(t,g)}}(i({putSortable:se,cloneEl:te,targetEl:Y,rootEl:J,oldIndex:oe,oldDraggableIndex:ie,newIndex:re,newDraggableIndex:ae},e))}var Y,G,Z,J,X,ee,te,ne,oe,re,ie,ae,le,se,ue,ce,de,Ae,pe,fe,he,me,ve,ge,ye,be=!1,we=!1,Le=[],Ce=!1,Be=!1,_e=[],ke=!1,xe=[],Se="undefined"!=typeof document,Ee=h,Te=A||d?"cssFloat":"float",Ne=Se&&!m&&!h&&"draggable"in document.createElement("div"),Fe=function(){if(Se){if(d)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}
vendor: 24,038 bytes, line 2
2(),Ve=function(e,t){var n=k(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=F(e,0,t),i=F(e,1,t),a=r&&k(r),l=i&&k(i),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+T(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+T(i).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!i||"both"!==l.clear&&l.clear!==c?"horizontal":"vertical"}return r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=o&&"none"===n[Te]||i&&"none"===n[Te]&&s+u>o)?"vertical":"horizontal"},Oe=function(e){function t(e,n){return function(o,r,i,a){var l=o.options.group.name&&r.options.group.name&&o.options.group.name===r.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,r,i,a),n)(o,r,i,a);var s=(n?o:r).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==a(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Ue=function(){!Fe&&Z&&k(Z,"display","none")},Qe=function(){!Fe&&Z&&k(Z,"display","")};Se&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var qe=function(e){if(Y){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,i=e.clientY,Le.some((function(e){var t=e[D].options.emptyInsertThreshold;if(t&&!V(e)){var n=T(e),o=r>=n.left-t&&r<=n.right+t,l=i>=n.top-t&&i<=n.bottom+t;return o&&l?a=e:void 0}})),a);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[D]._onDragOver(n)}}var r,i,a},Me=function(e){Y&&Y.parentNode[D]._isOutsideThisEl(e.target)};function Ie(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=s({},t),e[D]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ve(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ie.supportPointer&&"PointerEvent"in window&&!f,emptyInsertThreshold:5};for(var o in $.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var r in Oe(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&Ne,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?g(e,"pointerdown",this._onTapStart):(g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Le.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,H())}function Pe(e,t,n,o,r,i,a,l){var s,u,c=e[D],p=c.options.onMove;return!window.CustomEvent||d||A?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=r||t,s.relatedRect=i||T(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),p&&(u=p.call(c,s,a)),u}function De(e){e.draggable=!1}function He(){ke=!1}function Re(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function je(e){return setTimeout(e,0)}function $e(e){return clearTimeout(e)}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Y):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,r=o.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(a||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(function(e){xe.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&xe.push(o)}}(n),!Y&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!f||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=L(l,o.draggable,n,!1))&&l.animated||ee===l)){if(oe=O(l),ie=O(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return W({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),K("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=L(s,o.trim(),n,!1))return W({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),K("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());o.handle&&!L(s,o.handle,n,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,t,n){var o,r=this,i=r.el,a=r.options,l=i.ownerDocument;if(n&&!Y&&n.parentNode===i){var s=T(n);if(J=i,G=(Y=n).parentNode,X=Y.nextSibling,ee=n,le=a.group,Ie.dragged=Y,ue={target:Y,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-s.left,fe=ue.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Y.style["will-change"]="all",o=function(){K("delayEnded",r,{evt:e}),Ie.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!p&&r.nativeDraggable&&(Y.draggable=!0),r._triggerDragStart(e,t),W({sortable:r,name:"choose",originalEvent:e}),_(Y,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){S(Y,e.trim(),De)})),g(l,"dragover",qe),g(l,"mousemove",qe),g(l,"touchmove",qe),g(l,"mouseup",r._onDrop),g(l,"touchend",r._onDrop),g(l,"touchcancel",r._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Y.draggable=!0),K("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(A||d))o();else{if(Ie.eventCanceled)return void this._onDrop();g(l,"mouseup",r._disableDelayedDrag),g(l,"touchend",r._disableDelayedDrag),g(l,"touchcancel",r._disableDelayedDrag),g(l,"mousemove",r._delayedDragTouchMoveHandler),g(l,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&g(l,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(o,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Y&&De(Y),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,t?"touchmove":"mousemove",this._onTouchMove):(g(Y,"dragend",this),g(J,"dragstart",this._onDragStart));try{document.selection?je((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(be=!1,J&&Y){K("dragStarted",this,{evt:t}),this.nativeDraggable&&g(document,"dragover",Me);var n=this.options;!e&&_(Y,n.dragClass,!1),_(Y,n.ghostClass,!0),Ie.active=this,e&&this._appendGhost(),W({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ce){this._lastX=ce.clientX,this._lastY=ce.clientY,Ue();for(var e=document.elementFromPoint(ce.clientX,ce.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ce.clientX,ce.clientY))!==t;)t=e;if(Y.parentNode[D]._isOutsideThisEl(e),t)do{if(t[D]){if(t[D]._onDragOver({clientX:ce.clientX,clientY:ce.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Qe()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,i=Z&&x(Z,!0),a=Z&&i&&i.a,l=Z&&i&&i.d,s=Ee&&ye&&U(ye),u=(r.clientX-ue.clientX+o.x)/(a||1)+(s?s[0]-_e[0]:0)/(a||1),c=(r.clientY-ue.clientY+o.y)/(l||1)+(s?s[1]-_e[1]:0)/(l||1);if(!Ie.active&&!be){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(Z){i?(i.e+=u-(de||0),i.f+=c-(Ae||0)):i={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");k(Z,"webkitTransform",d),k(Z,"mozTransform",d),k(Z,"msTransform",d),k(Z,"transform",d),de=u,Ae=c,ce=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Z){var e=this.options.fallbackOnBody?document.body:J,t=T(Y,!0,Ee,!0,e),n=this.options;if(Ee){for(ye=e;"static"===k(ye,"position")&&"none"===k(ye,"transform")&&ye!==document;)ye=ye.parentNode;ye!==document.body&&ye!==document.documentElement?(ye===document&&(ye=E()),t.top+=ye.scrollTop,t.left+=ye.scrollLeft):ye=E(),_e=U(ye)}_(Z=Y.cloneNode(!0),n.ghostClass,!1),_(Z,n.fallbackClass,!0),_(Z,n.dragClass,!0),k(Z,"transition",""),k(Z,"transform",""),k(Z,"box-sizing","border-box"),k(Z,"margin",0),k(Z,"top",t.top),k(Z,"left",t.left),k(Z,"width",t.width),k(Z,"height",t.height),k(Z,"opacity","0.8"),k(Z,"position",Ee?"absolute":"fixed"),k(Z,"zIndex","100000"),k(Z,"pointerEvents","none"),Ie.ghost=Z,e.appendChild(Z),k(Z,"transform-origin",pe/parseInt(Z.style.width)*100+"% "+fe/parseInt(Z.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,r=n.options;K("dragStart",this,{evt:e}),Ie.eventCanceled?this._onDrop():(K("setupClone",this),Ie.eventCanceled||((te=P(Y)).draggable=!1,te.style["will-change"]="",this._hideClone(),_(te,this.options.chosenClass,!1),Ie.clone=te),n.cloneId=je((function(){K("clone",n),Ie.eventCanceled||(n.options.removeCloneOnHide||J.insertBefore(te,Y),n._hideClone(),W({sortable:n,name:"clone"}))})),!t&&_(Y,r.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(y(document,"mouseup",n._onDrop),y(document,"touchend",n._onDrop),y(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(n,o,Y)),g(document,"drop",n),k(Y,"transform","translateZ(0)")),be=!0,n._dragStartId=je(n._dragStarted.bind(n,t,e)),g(document,"selectstart",n),he=!0,f&&k(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,o,r,a=this.el,l=e.target,s=this.options,u=s.group,c=Ie.active,d=le===u,A=s.sort,p=se||c,f=this,h=!1;if(!ke){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=L(l,s.draggable,a,!0),M("dragOver"),Ie.eventCanceled)return h;if(Y.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||f._ignoreWhileAnimating===l)return H(!1);if(we=!1,c&&!s.disabled&&(d?A||(o=G!==J):se===this||(this.lastPutMode=le.checkPull(this,c,Y,e))&&u.checkPut(this,c,Y,e))){if(r="vertical"===this._getDirection(e,l),t=T(Y),M("dragOverValid"),Ie.eventCanceled)return h;if(o)return G=J,P(),this._hideClone(),M("revert"),Ie.eventCanceled||(X?J.insertBefore(Y,X):J.appendChild(Y)),H(!0);var m=V(a,s.draggable);if(!m||function(e,t,n){var o=T(V(n.el,n.options.draggable)),r=10;return t?e.clientX>o.right+r||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+r}(e,r,this)&&!m.animated){if(m===Y)return H(!1);if(m&&a===e.target&&(l=m),l&&(n=T(l)),!1!==Pe(J,a,Y,t,l,n,e,!!l))return P(),a.appendChild(Y),G=a,R(),H(!0)}else if(m&&function(e,t,n){var o=T(F(n.el,0,n.options,!0)),r=10;return t?e.clientX<o.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<o.top-r||e.clientY<o.bottom&&e.clientX<o.left}(e,r,this)){var v=F(a,0,s,!0);if(v===Y)return H(!1);if(n=T(l=v),!1!==Pe(J,a,Y,t,l,n,e,!1))return P(),a.insertBefore(Y,v),G=a,R(),H(!0)}else if(l.parentNode===a){n=T(l);var g,y,b,w=Y.parentNode!==a,C=!function(e,t,n){var o=n?e.left:e.top,r=n?e.right:e.bottom,i=n?e.width:e.height,a=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===a||r===l||o+i/2===a+s/2}(Y.animated&&Y.toRect||t,l.animated&&l.toRect||n,r),B=r?"top":"left",x=N(l,"top","top")||N(Y,"top","top"),S=x?x.scrollTop:void 0;if(me!==l&&(y=n[B],Ce=!1,Be=!C&&s.invertSwap||w),g=function(e,t,n,o,r,i,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,A=!1;if(!a)if(l&&ge<u*r){if(!Ce&&(1===ve?s>c+u*i/2:s<d-u*i/2)&&(Ce=!0),Ce)A=!0;else if(1===ve?s<c+ge:s>d-ge)return-ve}else if(s>c+u*(1-r)/2&&s<d-u*(1-r)/2)return function(e){return O(Y)<O(e)?1:-1}(t);if((A=A||a)&&(s<c+u*i/2||s>d-u*i/2))return s>c+u/2?1:-1;return 0}(e,l,n,r,C?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Be,me===l),0!==g){var E=O(Y);do{E-=g,b=G.children[E]}while(b&&("none"===k(b,"display")||b===Z))}if(0===g||b===l)return H(!1);me=l,ve=g;var U=l.nextElementSibling,Q=!1,q=Pe(J,a,Y,t,l,n,e,Q=1===g);if(!1!==q)return 1!==q&&-1!==q||(Q=1===q),ke=!0,setTimeout(He,30),P(),Q&&!U?a.appendChild(Y):l.parentNode.insertBefore(Y,Q?U:l),x&&I(x,0,S-x.scrollTop),G=Y.parentNode,void 0===y||Be||(ge=Math.abs(y-T(l)[B])),R(),H(!0)}if(a.contains(Y))return H(!1)}return!1}function M(s,u){K(s,f,i({evt:e,isOwner:d,axis:r?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:A,fromSortable:p,target:l,completed:H,onMove:function(n,o){return Pe(J,a,Y,t,n,T(n),e,o)},changed:R},u))}function P(){M("dragOverAnimationCapture"),f.captureAnimationState(),f!==p&&p.captureAnimationState()}function H(t){return M("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(f),f!==p&&(_(Y,se?se.options.ghostClass:c.options.ghostClass,!1),_(Y,s.ghostClass,!0)),se!==f&&f!==Ie.active?se=f:f===Ie.active&&se&&(se=null),p===f&&(f._ignoreWhileAnimating=l),f.animateAll((function(){M("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(l===Y&&!Y.animated||l===a&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||(Y.parentNode[D]._isOutsideThisEl(e.target),!t&&qe(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function R(){re=O(Y),ae=O(Y,s.draggable),W({sortable:f,name:"change",toEl:a,newIndex:re,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",qe),y(document,"mousemove",qe),y(document,"touchmove",qe)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;re=O(Y),ae=O(Y,n.draggable),K("drop",this,{evt:e}),G=Y&&Y.parentNode,re=O(Y),ae=O(Y,n.draggable),Ie.eventCanceled||(be=!1,Be=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$e(this.cloneId),$e(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&k(document.body,"user-select",""),k(Y,"transform",""),e&&(he&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Z&&Z.parentNode&&Z.parentNode.removeChild(Z),(J===G||se&&"clone"!==se.lastPutMode)&&te&&te.parentNode&&te.parentNode.removeChild(te),Y&&(this.nativeDraggable&&y(Y,"dragend",this),De(Y),Y.style["will-change"]="",he&&!be&&_(Y,se?se.options.ghostClass:this.options.ghostClass,!1),_(Y,this.options.chosenClass,!1),W({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),J!==G?(re>=0&&(W({rootEl:G,name:"add",toEl:G,fromEl:J,originalEvent:e}),W({sortable:this,name:"remove",toEl:G,originalEvent:e}),W({rootEl:G,name:"sort",toEl:G,fromEl:J,originalEvent:e}),W({sortable:this,name:"sort",toEl:G,originalEvent:e})),se&&se.save()):re!==oe&&re>=0&&(W({sortable:this,name:"update",toEl:G,originalEvent:e}),W({sortable:this,name:"sort",toEl:G,originalEvent:e})),Ie.active&&(null!=re&&-1!==re||(re=oe,ae=ie),W({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){K("nulling",this),J=Y=G=Z=X=te=ee=ne=ue=ce=he=re=ae=oe=ie=me=ve=se=le=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,xe.forEach((function(e){e.checked=!0})),xe.length=de=Ae=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Y&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,r=n.length,i=this.options;o<r;o++)L(e=n[o],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||Re(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var r=o.children[t];L(r,this.options.draggable,o,!1)&&(n[e]=r)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return L(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=$.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Oe(n)},destroy:function(){K("destroy",this);var e=this.el;e[D]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Le.splice(Le.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ne){if(K("hideClone",this),Ie.eventCanceled)return;k(te,"display","none"),this.options.removeCloneOnHide&&te.parentNode&&te.parentNode.removeChild(te),ne=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ne){if(K("showClone",this),Ie.eventCanceled)return;Y.parentNode!=J||this.options.group.revertClone?X?J.insertBefore(te,X):J.appendChild(te):J.insertBefore(te,Y),this.options.group.revertClone&&this.animate(Y,te),k(te,"display",""),ne=!1}}else this._hideClone()}},Se&&g(document,"touchmove",(function(e){(Ie.active||be)&&e.cancelable&&e.preventDefault()})),Ie.utils={on:g,off:y,css:k,find:S,is:function(e,t){return!!L(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:M,closest:L,toggleClass:_,clone:P,index:O,nextTick:je,cancelNextTick:$e,detectDirection:Ve,getChild:F},Ie.get=function(e){return e[D]},Ie.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ie.utils=i(i({},Ie.utils),e.utils)),$.mount(e)}))},Ie.create=function(e,t){return new Ie(e,t)},Ie.version="1.14.0";var ze,Ke,We,Ye,Ge,Ze,Je=[],Xe=!1;function et(){Je.forEach((function(e){clearInterval(e.pid)})),Je=[]}function tt(){clearInterval(Ze)}var nt=M((function(e,t,n,o){if(t.scroll){var r,i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,u=E(),c=!1;Ke!==n&&(Ke=n,et(),ze=t.scroll,r=t.scrollFn,!0===ze&&(ze=Q(n,!0)));var d=0,A=ze;do{var p=A,f=T(p),h=f.top,m=f.bottom,v=f.left,g=f.right,y=f.width,b=f.height,w=void 0,L=void 0,C=p.scrollWidth,B=p.scrollHeight,_=k(p),x=p.scrollLeft,S=p.scrollTop;p===u?(w=y<C&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),L=b<B&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(w=y<C&&("auto"===_.overflowX||"scroll"===_.overflowX),L=b<B&&("auto"===_.overflowY||"scroll"===_.overflowY));var N=w&&(Math.abs(g-i)<=l&&x+y<C)-(Math.abs(v-i)<=l&&!!x),F=L&&(Math.abs(m-a)<=l&&S+b<B)-(Math.abs(h-a)<=l&&!!S);if(!Je[d])for(var V=0;V<=d;V++)Je[V]||(Je[V]={});Je[d].vx==N&&Je[d].vy==F&&Je[d].el===p||(Je[d].el=p,Je[d].vx=N,Je[d].vy=F,clearInterval(Je[d].pid),0==N&&0==F||(c=!0,Je[d].pid=setInterval(function(){o&&0===this.layer&&Ie.active._onTouchMove(Ge);var t=Je[this.layer].vy?Je[this.layer].vy*s:0,n=Je[this.layer].vx?Je[this.layer].vx*s:0;"function"==typeof r&&"continue"!==r.call(Ie.dragged.parentNode[D],n,t,e,Ge,Je[this.layer].el)||I(Je[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&A!==u&&(A=Q(A,!1)));Xe=c}}),30),ot=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,r=e.activeSortable,i=e.dispatchSortableEvent,a=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||r;a();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(c)&&(i("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function rt(){}function it(){}rt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:ot},s(rt,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:ot},s(it,{pluginName:"removeOnSpill"}),Ie.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):t.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),tt(),et(),clearTimeout(C),C=void 0},nulling:function(){Ge=Ke=ze=Xe=Ze=We=Ye=null,Je.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(o,r);if(Ge=e,t||this.options.forceAutoScrollFallback||A||d||f){nt(e,this.options,i,t);var a=Q(i,!0);!Xe||Ze&&o===We&&r===Ye||(Ze&&tt(),Ze=setInterval((function(){var i=Q(document.elementFromPoint(o,r),
2!0);i!==a&&(a=i,et()),nt(e,n.options,i,t)}),10),We=o,Ye=r)}else{if(!this.options.bubbleScroll||Q(i,!0)===E())return void et();nt(e,this.options,Q(i,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),Ie.mount(it,rt);const at="undefined"!=typeof window?window.console:n.g.console;const lt=/-(\w)/g,st=function(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}((e=>e.replace(lt,((e,t)=>t?t.toUpperCase():""))));function ut(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function ct(e,t,n){const o=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,o)}function dt(e,t){this.$nextTick((()=>this.$emit(e.toLowerCase(),t)))}function At(e){return t=>{null!==this.realList&&this["onDrag"+e](t),dt.call(this,e,t)}}const pt=["Start","Add","Remove","Update","End"],ft=["Choose","Unchoose","Sort","Filter","Clone"],ht=["Move",...pt,...ft].map((e=>"on"+e));let mt=null;const vt={options:Object,list:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:e=>e},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null},component:{type:String,default:null},modelValue:{type:Array,required:!1,default:null}},gt=(0,o.defineComponent)({name:"VueDraggableNext",inheritAttrs:!1,emits:["update:modelValue","move","change",...pt.map((e=>e.toLowerCase())),...ft.map((e=>e.toLowerCase()))],props:vt,data:()=>({transitionMode:!1,noneFunctionalComponentMode:!1,headerOffset:0,footerOffset:0,_sortable:{},visibleIndexes:[],context:{}}),render(){const e=this.$slots.default?this.$slots.default():null,t=(n=this.$attrs,(r=this.componentData)?{...r.props,...r.attrs}:n);var n,r;return e?(this.transitionMode=function(e){if(!e||1!==e.length)return!1;const[{type:t}]=e;return!!t&&(n=t.name,["transition-group","TransitionGroup"].includes(n));var n}(e),(0,o.h)(this.getTag(),t,e)):(0,o.h)(this.getTag(),t,[])},created(){null!==this.list&&null!==this.modelValue&&at.error("list props are mutually exclusive! Please set one.")},mounted(){const e={};pt.forEach((t=>{e["on"+t]=At.call(this,t)})),ft.forEach((t=>{e["on"+t]=dt.bind(this,t)}));const t=Object.keys(this.$attrs).reduce(((e,t)=>(e[st(t)]=this.$attrs[t],e)),{}),n=Object.assign({},t,e,{onMove:(e,t)=>this.onDragMove(e,t)});!("draggable"in n)&&(n.draggable=">*");const o=1===this.$el.nodeType?this.$el:this.$el.parentElement;this._sortable=new Ie(o,n),o.__draggable_component__=this,this.computeIndexes()},beforeUnmount(){try{void 0!==this._sortable&&this._sortable.destroy()}catch(e){}},computed:{realList(){return this.list?this.list:this.modelValue}},watch:{$attrs:{handler(e){this.updateOptions(e)},deep:!0},realList(){this.computeIndexes()}},methods:{getTag(){return this.component?(0,o.resolveComponent)(this.component):this.tag},updateOptions(e){for(var t in e){const n=st(t);-1===ht.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes(){return this.$el.children},computeIndexes(){this.$nextTick((()=>{this.visibleIndexes=function(e,t,n,o){if(!e)return[];const r=Object.values(e),i=t.length-o;return[...t].map(((e,t)=>t>=i?r.length:r.indexOf(e)))}(this.getChildrenNodes(),this.$el.children,this.transitionMode,this.footerOffset)}))},getUnderlyingVm(e){const t=function(e,t){return Object.values(e).indexOf(t)}(this.getChildrenNodes()||[],e);if(-1===t)return null;return{index:t,element:this.realList[t]}},emitChanges(e){this.$nextTick((()=>{this.$emit("change",e)}))},alterList(e){if(this.list)return void e(this.list);const t=[...this.modelValue];e(t),this.$emit("update:modelValue",t)},spliceList(){this.alterList((e=>e.splice(...arguments)))},updatePosition(e,t){this.alterList((n=>n.splice(t,0,n.splice(e,1)[0])))},getVmIndex(e){const t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent(){return this.$slots.default?this.$slots.default()[0].componentInstance:null},resetTransitionData(e){if(!this.noTransitionOnDrag||!this.transitionMode)return;this.getChildrenNodes()[e].data=null;const t=this.getComponent();t.children=[],t.kept=void 0},onDragStart(e){this.context=this.getUnderlyingVm(e.item),this.context&&(e.item._underlying_vm_=this.clone(this.context.element),mt=e.item)},onDragAdd(e){const t=e.item._underlying_vm_;if(void 0===t)return;ut(e.item);const n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();const o={element:t,newIndex:n};this.emitChanges({added:o})},onDragRemove(e){if(ct(this.$el,e.item,e.oldIndex),"clone"===e.pullMode)return void ut(e.clone);if(!this.context)return;
2const t=this.context.index;this.spliceList(t,1);const n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})},onDragUpdate(e){ut(e.item),ct(e.from,e.item,e.oldIndex);const t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);const o={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:o})},updateProperty(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},onDragMove(e,t){const n=this.move;if(!n||!this.realList)return!0;const o=this.getRelatedContextFromMoveEvent(e),r=this.context,i=this.computeFutureIndex(o,e);Object.assign(r,{futureIndex:i});return n(Object.assign({},e,{relatedContext:o,draggedContext:r}),t)},onDragEnd(){this.computeIndexes(),mt=null},getTrargetedComponent:e=>e.__draggable_component__,getRelatedContextFromMoveEvent({to:e,related:t}){const n=this.getTrargetedComponent(e);if(!n)return{component:n};const o=n.realList,r={list:o,component:n};if(e!==t&&o&&n.getUnderlyingVm){const e=n.getUnderlyingVm(t);if(e)return Object.assign(e,r)}return r},computeFutureIndex(e,t){const n=[...t.to.children].filter((e=>"none"!==e.style.display));if(0===n.length)return 0;const o=n.indexOf(t.related),r=e.component.getVmIndex(o);return-1!==n.indexOf(mt)||!t.willInsertAfter?r:r+1}}})},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n}},2374:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r={class:"text-sm text-gray-600"};const i={props:["on"]};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createVNode)(o.Transition,{"leave-active-class":"transition ease-in duration-1000","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",r,[(0,o.renderSlot)(e.$slots,"default")],512),[[o.vShow,n.on]])]})),_:3})])}]])},9454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(3868),r={class:"md:grid md:grid-cols-3 md:gap-6"},i={class:"mt-5 md:mt-0 md:col-span-2"},a={class:"px-4 py-5 sm:p-6 bg-white shadow sm:rounded-lg"};const l={components:{JetSectionTitle:n(5772).Z}};const s=(0,n(3744).Z)(l,[["render",function(e,t,n,l,s,u){var c=(0,o.resolveComponent)("jet-section-title");return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createVNode)(c,{class:"mt-5 md:mt-0"},{title:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"title")]})),description:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"description")]})),_:3}),(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",a,[(0,o.renderSlot)(e.$slots,"content")])])])}]])}
2,8939:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r={src:"/images/logo-full.svg"};const i={},a=(0,n(3744).Z)(i,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("img",r)}]])},5067:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var o=n(3868),r={class:"flex-grow flex flex-col sm:justify-center items-center pt-6 sm:pt-0 action"},i={class:"w-full shadow-md flex-column flex flex-col items-center bg-white"},a={key:0,class:"center text-center text-gray bg-white shadow-md px-4 py-2",style:{"margin-top":"-1.2rem","border-radius":"1.7rem"}},l={class:"w-full sm:max-w-md px-6 py-4 overflow-hidden sm:rounded-lg"},s={class:"w-full shadow-md flex-column flex flex-col items-center mt-20",style:{"background-color":"rgb(239, 240, 242)"}},u=(0,o.createElementVNode)("h6",{class:"center text-gray bg-white shadow-md px-4 py-2",style:{"margin-top":"-1rem","border-radius":"1.7rem"}},"Other Options",-1),c={class:"w-full sm:max-w-md px-6 py-4 overflow-hidden sm:rounded-lg"};const d={},A=(0,n(3744).Z)(d,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createElementVNode)("div",i,[e.$slots.cardTitle?((0,o.openBlock)(),(0,o.createElementBlock)("h6",a,[(0,o.renderSlot)(e.$slots,"cardTitle")])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",l,[(0,o.renderSlot)(e.$slots,"default")])]),(0,o.createElementVNode)("div",s,[e.$slots.otherOptions?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[u,(0,o.createElementVNode)("div",c,[(0,o.renderSlot)(e.$slots,"otherOptions")])],64)):(0,o.createCommentVNode)("",!0)])])}]])},4423:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=(0,o.createElementVNode)("svg",{class:"w-16 h-16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",preserveAspectRatio:"xMidYMid meet",viewBox:"-0.2168081167675382 -0.946831947312262 186.08140045567822 170.39847691278038",width:"182.08",height:"166.4"},[(0,o.createElementVNode)("defs",null,[(0,o.createElementVNode)("path",{d:"M62.45 166.45L62.45 166.32L61.26 166.32L61.26 166.19L60.19 166.19L60.19 166.05L59.26 166.05L59.26 165.92L58.46 165.92L58.46 165.79L57.53 165.79L57.53 165.65L56.87 165.65L56.87 165.52L56.07 165.52L56.07 165.39L55.41 165.39L55.41 165.26L54.74 165.26L54.74 165.12L54.08 165.12L54.08 164.99L53.41 164.99L53.41 164.86L52.75 164.86L52.75 164.72L52.22 164.72L52.22 164.59L51.69 164.59L51.69 164.46L51.02 164.46L51.02 164.33L50.49 164.33L50.49 164.19L49.96 164.19L49.96 164.06L49.43 164.06L49.43 163.93L48.9 163.93L48.9 163.79L48.36 163.79L48.36 163.66L47.96 163.66L47.96 163.53L47.43 163.53L47.43 163.39L47.03 163.39L47.03 163.26L46.5 163.26L46.5 163.13L46.1 163.13L46.1 163L45.57 163L45.57 162.86L45.17 162.86L45.17 162.73L44.78 162.73L44.78 162.6L44.38 162.6L44.38 162.46L43.84 162.46L43.84 162.33L43.45 162.33L43.45 162.2L43.05 162.2L43.05 162.07L42.65 162.07L42.65 161.93L42.25 161.93L42.25 161.8L41.85 161.8L41.85 161.67L41.45 161.67L41.45 161.53L41.19 161.53L41.19 161.4L40.79 161.4L40.79 161.27L40.39 161.27L40.39 161.14L39.99 161.14L39.99 161L39.59 161L39.59 160.87L39.33 160.87L39.33 160.74L38.93 160.74L38.93 160.6L38.66 160.6L38.66 160.47L38.26 160.47L38.26 160.34L37.86 160.34L37.86 160.21L37.6 160.21L37.6 160.07L37.2 160.07L37.2 159.94L36.93 159.94L36.93 159.81L36.67 159.81L36.67 159.67L36.27 159.67L36.27 159.54L36 159.54L36 159.41L35.6 159.41L35.6 159.27L35.34 159.27L35.34 159.14L35.07 159.14L35.07 159.01L34.67 159.01L34.67 158.88L34.41 158.88L34.41 158.74L34.14 158.74L34.14 158.61L33.88 158.61L33.88 158.48L33.61 158.48L33.61 158.34L33.35 158.34L33.35 158.21L32.95 158.21L32.95 158.08L32.68 158.08L32.68 157.95L32.41 157.95L32.41 157.81L32.15 157.81L32.15 157.68L31.88 157.68L31.88 157.55L31.62 157.55L31.62 157.41L31.35 157.41L31.35 157.28L31.09 157.28L31.09 157.15L30.82 157.15L30.82 157.02L30.55 157.02L30.55 156.88L30.29 156.88L30.29 156.75L30.02 156.75L30.02 156.62L29.76 156.62L29.76 156.48L29.49 156.48L29.49 156.35L29.36 156.35L29.36 156.22L29.09 156.22L29.09 156.08L28.83 156.08L28.83 155.95L28.56 155.95L28.56 155.82L28.29 155.82L28.29 155.69L28.16 155.69L28.16 155.55L27.9 155.55L27.9 155.42L27.63 155.42L27.63 155.29L27.36 155.29L27.36 155.15L27.23 155.15L27.23 155.02L26.97 155.02L26.97 154.89L26.7 154.89L26.7 154.76L26.43 154.76L26.43 154.62L26.3 154.62L26.3 154.49L26.04 154.49L26.04 154.36L25.77 154.36L25.77 154.22L25.64 154.22L25.64 154.09L25.37 154.09L25.37 153.96L25.24 153.96L25.24 153.83L24.97 153.83L24.97 153.69L24.84 153.69L24.84 153.56L24.57 153.56L24.57 153.43L24.44 153.43L24.44 153.29L24.17 153.29L24.17 153.16L23.91 153.16L23.91 153.03L23.78 153.03L23.78 152.9L23.51 152.9L23.51 152.76L23.38 152.76L23.38 152.63L23.11 152.63L23.11 152.5L22.98 152.5L22.98 152.36L22.71 152.36L22.71 152.23L22.58 152.23L22.58 152.1L22.45 152.1L22.45 151.96L22.18 151.96L22.18 151.83L22.05 151.83L22.05 151.7L21.92 151.7L21.92 151.57L21.65 151.57L21.65 151.43L21.52 151.43L21.52 151.3L21.25 151.3L21.25 151.17L21.12 151.17L21.12 151.03L20.98 151.03L20.98 150.9L20.72 150.9L20.72 150.77L20.59 150.77L20.59 150.64L20.45 150.64L20.45 150.5L20.19 150.5L20.19 150.37L20.05 150.37L20.05 150.24L19.92 150.24L19.92 150.1L19.79 150.1L19.79 149.97L19.52 149.97L19.52 149.84L19.39 149.84L19.39 149.71L19.26 149.71L19.26 149.57L19.12 149.57L19.12 149.44L18.86 149.44L18.86 149.31L18.73 149.31L18.73 149.17L18.59 149.17L18.59 149.04L18.46 149.04L18.46 148.91L18.33 148.91L18.33 148.78L18.06 148.78L18.06 148.64L17.93 148.64L17.93 148.51L17.8 148.51L17.8 148.38L17.66 148.38L17.66 148.24L17.53 148.24L17.53 148.11L17.4 148.11L17.4 147.98L17.13 147.98L17.13 147.84L17 147.84L17 147.71L16.86 147.71L16.86 147.58L16.73 147.58L16.73 147.45L16.6 147.45L16.6 147.31L16.47 147.31L16.47 147.18L16.33 147.18L16.33 147.05L16.2 147.05L16.2 146.91L16.07 146.91L16.07 146.78L15.93 146.78L15.93 146.65L15.8 146.65L15.8 146.52L15.67 146.52L15.67 146.38L15.4 146.38L15.4 146.25L15.27 146.25L15.27 146.12L15.14 146.12L15.14 145.98L15 145.98L15 145.85L14.87 145.85L14.87 145.72L14.74 145.72L14.74 145.59L14.61 145.59L14.61 145.32L14.47 145.32L14.47 145.19L14.34 145.19L14.34 145.05L14.21 145.05L14.21 144.92L14.07 144.92L14.07 144.79L13.94 144.79L13.94 144.66L13.81 144.66L13.81 144.52L13.68 144.52L13.68 144.39L13.54 144.39L13.54 144.26L13.41 144.26L13.41 144.12L13.28 144.12L13.28 143.99L13.14 143.99L13.14 143.86L13.01 143.86L13.01 143.72L12.88 143.72L12.88 143.59L12.74 143.59L12.74 143.46L12.61 143.46L12.61 143.19L12.48 143.19L12.48 143.06L12.35 143.06L12.35 142.93L12.21 142.93L12.21 142.79L12.08 142.79L12.08 142.66L11.95 142.66L11.95 142.4L11.81 142.4L11.81 142.26L11.68 142.26L11.68 142.13L11.55 142.13L11.55 142L11.42 142L11.42 141.73L11.28 141.73L11.28 141.6L11.15 141.6L11.15 141.47L11.02 141.47L11.02 141.33L10.88 141.33L10.88 141.2L10.75 141.2L10.75 140.93L10.62 140.93L10.62 140.8L10.49 140.8L10.49 140.67L10.35 140.67L10.35 140.4L10.22 140.4L10.22 140.27L10.09 140.27L10.09 140.14L9.95 140.14L9.95 139.87L9.82 139.87L9.82 139.74L9.69 139.74L9.69 139.47L9.55 139.47L9.55 139.34L9.42 139.34L9.42 139.07L9.29 139.07L9.29 138.94L9.16 138.94L9.16 138.81L9.02 138.81L9.02 138.54L8.89 138.54L8.89 138.41L8.76 138.41L8.76 138.14L8.62 138.14L8.62 138.01L8.49 138.01L8.49 137.74L8.36 137.74L8.36 137.61L8.23 137.61L8.23 137.35L8.09 137.35L8.09 137.21L7.96 137.21L7.96 136.95L7.83 136.95L7.83 136.68L7.69 136.68L7.69 136.41L7.56 136.41L7.56 136.28L7.43 136.28L7.43 136.02L7.3 136.02L7.3 135.75L7.16 135.75L7.16 135.62L7.03 135.62L7.03 135.35L6.9 135.35L6.9 135.09L6.76 135.09L6.76 134.95L6.63 134.95L6.63 134.69L6.5 134.69L6.5 134.42L6.37 134.42L6.37 134.16L6.23 134.16L6.23 133.89L6.1 133.89L6.1 133.62L5.97 133.62L5.97 133.36L5.83 133.36L5.83 133.09L5.7 133.09L5.7 132.83L5.57 132.83L5.57 132.56L5.43 132.56L5.43 132.29L5.3 132.29L5.3 131.9L5.17 131.9L5.17 131.63L5.04 131.63L5.04 131.36L4.9 131.36L4.9 131.1L4.77 131.1L4.77 130.83L4.64 130.83L4.64 130.43L4.5 130.43L4.5 130.17L4.37 130.17L4.37 129.77L4.24 129.77L4.24 129.37L4.11 129.37L4.11 129.11L3.97 129.11L3.97 128.71L3.84 128.71L3.84 128.44L3.71 128.44L3.71 128.04L3.57 128.04L3.57 127.64L3.44 127.64L3.44 127.38L3.31 127.38L3.31 126.85L3.18 126.85L3.18 126.45L3.04 126.45L3.04 125.92L2.91 125.92L2.91 125.52L2.78 125.52L2.78 125.12L2.64 125.12L2.64 124.59L2.51 124.59L2.51 124.19L2.38 124.19L2.38 123.66L2.25 123.66L2.25 123.12L2.11 123.12L2.11 122.46L1.98 122.46L1.98 121.8L1.85 121.8L1.85 121.13L1.71 121.13L1.71 120.47L1.58 120.47L1.58 119.8L1.45 119.8L1.45 119L1.31 119L1.31 117.94L1.18 117.94L1.18 116.74L1.05 116.74L1.05 115.68L0.92 115.68L0.92 113.95L0.78 113.95L0.78 105.05L0.92 105.05L0.92 102.92L1.05 102.92L1.05 101.06L1.18 101.06L1.18 99.87L1.31 99.87L1.31 98.67L1.45 98.67L1.45 97.61L1.58 97.61L1.58 96.68L1.71 96.68L1.71 95.75L1.85 95.75L1.85 94.95L1.98 94.95L1.98 94.15L2.11 94.15L2.11 93.35L2.25 93.35L2.25 92.69L2.38 92.69L2.38 92.16L2.51 92.16L2.51 91.49L2.64 91.49L2.64 90.96L2.78 90.96L2.78 90.3L2.91 90.3L2.91 89.63L3.04 89.63L3.04 89.23L3.18 89.23L3.18 88.7L3.31 88.7L3.31 88.17L3.44 88.17L3.44 87.77L3.57 87.77L3.57 87.24L3.71 87.24L3.71 86.71L3.84 86.71L3.84 86.31L3.97 86.31L3.97 85.91L4.11 85.91L4.11 85.51L4.24 85.51L4.24 85.11L4.37 85.11L4.37 84.71L4.5 84.71L4.5 84.32L4.64 84.32L4.64 83.92L4.77 83.92L4.77 83.52L4.9 83.52L4.9 83.12L5.04 83.12L5.04 82.72L5.17 82.72L5.17 82.45L5.3 82.45L5.3 82.06L5.43 82.06L5.43 81.79L5.57 81.79L5.57 81.39L5.7 81.39L5.7 81.13L5.83 81.13L5.83 80.73L5.97 80.73L5.97 80.46L6.1 80.46L6.1 80.06L6.23 80.06L6.23 79.8L6.37 79.8L6.37 79.53L6.5 79.53L6.5 79.27L6.63 79.27L6.63 79L6.76 79L6.76 78.6L6.9 78.6L6.9 78.33L7.03 78.33L7.03 78.07L7.16 78.07L7.16 77.8L7.3 77.8L7.3 77.54L7.43 77.54L7.43 77.27L7.56 77.27L7.56 77.01L7.69 77.01L7.69 76.74L7.83 76.74L7.83 76.47L7.96 76.47L7.96 76.21L8.09 76.21L8.09 75.94L8.23 75.94L8.23 75.68L8.36 75.68L8.36 75.41L8.49 75.41L8.49 75.15L8.62 75.15L8.62 75.01L8.76 75.01L8.76 74.75L8.89 74.75L8.89 74.48L9.02 74.48L9.02 74.21L9.16 74.21L9.16 74.08L9.29 74.08L9.29 73.82L9.42 73.82L9.42 73.55L9.55 73.55L9.55 73.42L9.69 73.42L9.69 73.15L9.82 73.15L9.82 72.89L9.95 72.89L9.95 72.75L10.09 72.75L10.09 72.49L10.22 72.49L10.22 72.22L10.35 72.22L10.35 72.09L10.49 72.09L10.49 71.82L10.62 71.82L10.62 71.69L10.75 71.69L10.75 71.42L10.88 71.42L10.88 71.29L11.02 71.29L11.02 71.03L11.15 71.03L11.15 70.89L11.28 70.89L11.28 70.63L11.42 70.63L11.42 70.49L11.55 70.49L11.55 70.23L11.68 70.23L11.68 70.09L11.81 70.09L11.81 69.96L11.95 69.96L11.95 69.7L12.08 69.7L12.08 69.56L12.21 69.56L12.21 69.43L12.35 69.43L12.35 69.16L12.48 69.16L12.48 69.03L12.61 69.03L12.61 68.77L12.74 68.77L12.74 68.63L12.88 68.63L12.88 68.5L13.01 68.5L13.01 68.23L13.14 68.23L13.14 68.1L13.28 68.1L13.28 67.97L13.41 67.97L13.41 67.7L13.54 67.7L13.54 67.57L13.68 67.57L13.68 67.44L13.81 67.44L13.81 67.3L13.94 67.3L13.94 67.17L14.07 67.17L14.07 66.9L14.21 66.9L14.21 66.77L14.34 66.77L14.34 66.64L14.47 66.64L14.47 66.51L14.61 66.51L14.61 66.24L14.74 66.24L14.74 66.11L14.87 66.11L14.87 65.97L15 65.97L15 65.84L15.14 65.84L15.14 65.71L15.27 65.71L15.27 65.58L15.4 65.58L15.4 65.31L15.54 65.31L15.54 65.18L15.67 65.18L15.67 65.04L15.8 65.04L15.8 64.91L15.93 64.91L15.93 64.78L16.07 64.78L16.07 64.65L16.2 64.65L16.2 64.51L16.33 64.51L16.33 64.38L16.47 64.38L16.47 64.11L16.6 64.11L16.6 63.98L16.73 63.98L16.73 63.85L16.86 63.85L16.86 63.72L17 63.72L17 63.58L17.13 63.58L17.13 63.45L17.26 63.45L17.26 63.32L17.4 63.32L17.4 63.18L17.53 63.18L17.53 63.05L17.66 63.05L17.66 62.92L17.8 62.92L17.8 62.78L17.93 62.78L17.93 62.65L18.06 62.65L18.06 62.52L18.19 62.52L18.19 62.39L18.33 62.39L18.33 62.25L18.46 62.25L18.46 62.12L18.59 62.12L18.59 61.99L18.73 61.99L18.73 61.85L18.86 61.85L18.86 61.72L18.99 61.72L18.99 61.59L19.12 61.59L19.12 61.46L19.26 61.46L19.26 61.32L19.39 61.32L19.39 61.19L19.52 61.19L19.52 61.
206L19.66 61.06L19.66 60.92L19.79 60.92L19.79 60.79L19.92 60.79L19.92 60.66L20.05 60.66L20.05 60.53L20.19 60.53L20.19 60.39L20.32 60.39L20.32 60.26L20.45 60.26L20.45 60.13L20.59 60.13L20.59 59.99L20.72 59.99L20.72 59.86L20.85 59.86L20.85 59.73L20.98 59.73L20.98 59.6L21.12 59.6L21.12 59.46L21.25 59.46L21.25 59.33L21.52 59.33L21.52 59.2L21.65 59.2L21.65 59.06L21.78 59.06L21.78 58.93L21.92 58.93L21.92 58.8L22.05 58.8L22.05 58.66L22.18 58.66L22.18 58.53L22.31 58.53L22.31 58.4L22.45 58.4L22.45 58.27L22.58 58.27L22.58 58.13L22.85 58.13L22.85 58L22.98 58L22.98 57.87L23.11 57.87L23.11 57.73L23.24 57.73L23.24 57.6L23.38 57.6L23.38 57.47L23.51 57.47L23.51 57.34L23.64 57.34L23.64 57.2L23.78 57.2L23.78 57.07L24.04 57.07L24.04 56.94L24.17 56.94L24.17 56.8L24.31 56.8L24.31 56.67L24.44 56.67L24.44 56.54L24.57 56.54L24.57 56.41L24.71 56.41L24.71 56.27L24.97 56.27L24.97 56.14L25.11 56.14L25.11 56.01L25.24 56.01L25.24 55.87L25.37 55.87L25.37 55.74L25.5 55.74L25.5 55.61L25.64 55.61L25.64 55.48L25.9 55.48L25.9 55.34L26.04 55.34L26.04 55.21L26.17 55.21L26.17 55.08L26.3 55.08L26.3 54.94L26.43 54.94L26.43 54.81L26.7 54.81L26.7 54.68L26.83 54.68L26.83 54.54L26.97 54.54L26.97 54.41L27.1 54.41L27.1 54.28L27.23 54.28L27.23 54.15L27.5 54.15L27.5 54.01L27.63 54.01L27.63 53.88L27.76 53.88L27.76 53.75L27.9 53.75L27.9 53.61L28.03 53.61L28.03 53.48L28.29 53.48L28.29 53.35L28.43 53.35L28.43 53.22L28.56 53.22L28.56 53.08L28.69 53.08L28.69 52.95L28.83 52.95L28.83 52.82L29.09 52.82L29.09 52.68L29.23 52.68L29.23 52.55L29.36 52.55L29.36 52.42L29.49 52.42L29.49 52.29L29.62 52.29L29.62 52.15L29.89 52.15L29.89 52.02L30.02 52.02L30.02 51.89L30.16 51.89L30.16 51.75L30.29 51.75L30.29 51.62L30.42 51.62L30.42 51.49L30.55 51.49L30.55 51.35L30.82 51.35L30.82 51.22L30.95 51.22L30.95 51.09L31.09 51.09L31.09 50.96L31.22 50.96L31.22 50.82L31.35 50.82L31.35 50.69L31.48 50.69L31.48 50.56L31.75 50.56L31.75 50.42L31.88 50.42L31.88 50.29L32.02 50.29L32.02 50.16L32.15 50.16L32.15 50.03L32.28 50.03L32.28 49.89L32.41 49.89L32.41 49.76L32.55 49.76L32.55 49.63L32.68 49.63L32.68 49.49L32.95 49.49L32.95 49.36L33.08 49.36L33.08 49.23L33.21 49.23L33.21 49.1L33.35 49.1L33.35 48.96L33.48 48.96L33.48 48.83L33.61 48.83L33.61 48.7L33.74 48.7L33.74 48.56L33.88 48.56L33.88 48.43L34.01 48.43L34.01 48.3L34.14 48.3L34.14 48.17L34.28 48.17L34.28 48.03L34.41 48.03L34.41 47.9L34.54 47.9L34.54 47.77L34.67 47.77L34.67 47.63L34.94 47.63L34.94 47.5L35.07 47.5L35.07 47.37L35.21 47.37L35.21 47.1L35.34 47.1L35.34 46.97L35.47 46.97L35.47 46.84L35.6 46.84L35.6 46.7L35.74 46.7L35.74 46.57L35.87 46.57L35.87 46.44L36 46.44L36 46.3L36.14 46.3L36.14 46.17L36.27 46.17L36.27 46.04L36.4 46.04L36.4 45.91L36.53 45.91L36.53 45.77L36.67 45.77L36.67 45.64L36.8 45.
264L36.8 45.51L36.93 45.51L36.93 45.24L37.07 45.24L37.07 45.11L37.2 45.11L37.2 44.98L37.33 44.98L37.33 44.84L37.47 44.84L37.47 44.71L37.6 44.71L37.6 44.58L37.73 44.58L37.73 44.31L37.86 44.31L37.86 44.18L38 44.18L38 44.05L38.13 44.05L38.13 43.78L38.26 43.78L38.26 43.65L38.4 43.65L38.4 43.51L38.53 43.51L38.53 43.25L38.66 43.25L38.66 43.11L38.79 43.11L38.79 42.85L38.93 42.85L38.93 42.72L39.06 42.72L39.06 42.45L39.19 42.45L39.19 42.32L39.33 42.32L39.33 42.05L39.46 42.05L39.46 41.92L39.59 41.92L39.59 41.65L39.72 41.65L39.72 41.39L39.86 41.39L39.86 41.12L39.99 41.12L39.99 40.86L40.12 40.86L40.12 40.59L40.26 40.59L40.26 40.46L40.39 40.46L40.39 40.19L40.52 40.19L40.52 39.79L40.66 39.79L40.66 39.53L40.79 39.53L40.79 39.26L40.92 39.26L40.92 38.86L41.05 38.86L41.05 38.46L41.19 38.46L41.19 38.2L41.32 38.2L41.32 37.8L41.45 37.8L41.45 37.27L41.59 37.27L41.59 36.74L41.72 36.74L41.72 36.2L41.85 36.2L41.85 35.67L41.98 35.67L41.98 35.14L42.12 35.14L42.12 34.21L42.25 34.21L42.25 33.01L42.38 33.01L42.38 31.82L42.52 31.82L42.52 30.89L42.38 30.89L42.38 28.36L42.25 28.36L42.25 27.7L42.12 27.7L42.12 27.17L41.98 27.17L41.98 26.5L41.85 26.5L41.85 25.84L41.72 25.84L41.72 25.31L41.59 25.31L41.59 25.04L41.45 25.04L41.45 24.64L41.32 24.64L41.32 24.24L41.19 24.24L41.19 23.98L41.05 23.98L41.05 23.58L40.92 23.58L40.92 23.18L40.79 23.18L40.79 22.91L40.66 22.91L40.66 22.51L40.52 22.51L40.52 22.25L40.39 22.25L40.39 22.12L40.26 22.12L40.26 21.85L40.12 21.85L40.12 21.58L39.99 21.58L39.99 21.32L39.86 21.32L39.86 21.05L39.72 21.05L39.72 20.79L39.59 20.79L39.59 20.65L39.46 20.65L39.46 20.39L39.33 20.39L39.33 20.12L39.19 20.12L39.19 19.99L39.06 19.99L39.06 19.72L38.93 19.72L38.93 19.59L38.79 19.59L38.79 19.32L38.66 19.32L38.66 19.19L38.53 19.19L38.53 18.93L38.4 18.93L38.4 18.79L38.26 18.79L38.26 18.66L38.13 18.66L38.13 18.39L38 18.39L38 18.26L37.86 18.26L37.86 18L37.73 18L37.73 17.86L37.6 17.86L37.6 17.73L37.47 17.73L37.47 17.6L37.33 17.6L37.33 17.33L37.2 17.33L37.2 17.2L37.07 17.2L37.07 17.07L36.93 17.07L36.93 16.93L36.8 16.93L36.8 16.8L36.67 16.8L36.67 16.67L36.53 16.67L36.53 16.53L36.4 16.53L36.4 16.27L36.27 16.27L36.27 16.13L36.14 16.13L36.14 16L36 16L36 15.87L35.87 15.87L35.87 15.74L35.74 15.74L35.74 15.6L35.6 15.6L35.6 15.47L35.47 15.47L35.47 15.34L35.34 15.34L35.34 15.2L35.21 15.2L35.21 15.07L35.07 15.07L35.07 14.94L34.94 14.94L34.94 14.81L34.81 14.81L34.81 14.67L34.67 14.67L34.67 14.54L34.54 14.54L34.54 14.41L34.41 14.41L34.41 14.27L34.28 14.27L34.28 14.14L34.14 14.14L34.14 14.01L33.88 14.01L33.88 13.88L33.74 13.88L33.74 13.74L33.61 13.74L33.61 13.61L33.48 13.61L33.48 13.48L33.35 13.48L33.35 13.34L33.21 13.34L33.21 13.21L32.95 13.21L32.95 13.08L32.81 13.08L32.81 12.95L32.68 12.95L32.68 12.81L32.55 12.81L32.55 12.68L32.41 12.68L32.41 12.55L32.15 12.55L32.15 12.41L32.02 12.41L32.02 12.28L31.88 12.28L31.88 12.15L31.62 12.15L31.62 12.01L31.48 12.01L31.48 11.88L31.35 11.88L31.35 11.75L31.09 11.75L31.09 11.62L30.95 11.62L30.95 11.48L30.69 11.48L30.69 11.35L30.55 11.35L30.55 11.22L30.42 11.22L30.42 11.08L30.16 11.08L30.16 10.95L30.02 10.95L30.02 10.82L29.76 10.82L29.76 10.69L29.62 10.69L29.62 10.55L29.36 10.55L29.36 10.42L29.23 10.42L29.23 10.29L28.96 10.29L28.96 10.15L28.83 10.15L28.83 10.02L28.56 10.02L28.56 9.89L28.29 9.89L28.29 9.76L28.16 9.76L28.16 9.62L27.9 9.62L27.9 9.49L27.63 9.49L27.63 9.36L27.36 9.36L27.36 9.22L27.23 9.22L27.23 9.09L26.97 9.09L26.97 8.96L26.7 8.96L26.7 8.82L26.43 8.82L26.43 8.69L26.17 8.69L26.17 8.56L25.9 8.56L25.9 8.43L25.64 8.43L25.64 8.29L25.37 8.29L25.37 8.16L25.24 8.16L25.24 8.03L25.37 8.03L25.37 7.89L25.64 7.89L25.64 7.76L25.9 7.76L25.9 7.63L26.17 7.63L26.17 7.5L26.43 7.5L26.43 7.36L26.7 7.36L26.7 7.23L26.97 7.23L26.97 7.1L27.23 7.1L27.23 6.96L27.5 6.96L27.5 6.83L27.9 6.83L27.9 6.7L28.16 6.7L28.16 6.57L28.43 6.57L28.43 6.43L28.69 6.43L28.69 6.3L29.09 6.3L29.09 6.17L29.36 6.17L29.36 6.03L29.62 6.03L29.62 5.9L30.02 5.9L30.02 5.77L30.29 5.77L30.29 5.64L30.69 5.64L30.69 5.5L30.95 5.5L30.95 5.37L31.35 5.37L31.35 5.24L31.62 5.24L31.62 5.1L32.02 5.1L32.02 4.97L32.41 4.97L32.41 4.84L32.68 4.84L32.68 4.7L33.08 4.7L33.08 4.57L33.48 4.57L33.48 4.44L33.88 4.44L33.88 4.31L34.14 4.31L34.14 4.17L34.54 4.17L34.54 4.04L34.94 4.04L34.94 3.91L35.34 3.91L35.34 3.77L35.74 3.77L35.74 3.64L36.14 3.64L36.14 3.51L36.53 3.51L36.53 3.38L37.07 3.38L37.07 3.24L37.47 3.24L37.47 3.11L37.86 3.11L37.86 2.98L38.26 2.98L38.26 2.84L38.79 2.84L38.79 2.71L39.19 2.71L39.19 2.58L39.72 2.58L39.72 2.45L40.12 2.45L40.12 2.31L40.66 2.31L40.66 2.18L41.19 2.18L41.19 2.05L41.72 2.05L41.72 1.91L42.25 1.91L42.25 1.78L42.91 1.78L42.91 1.65L43.45 1.65L43.45 1.52L43.98 1.52L43.98 1.38L44.64 1.38L44.64 1.25L45.31 1.25L45.31 1.12L45.97 1.12L45.97 0.98L46.77 0.98L46.77 0.85L47.57 0.85L47.57 0.72L48.3
26 0.72L48.36 0.58L49.29 0.58L49.29 0.45L50.22 0.45L50.22 0.32L51.42 0.32L51.42 0.19L52.88 0.19L52.88 0.05L61.79 0.05L61.79 0.19L63.12 0.19L63.12 0.32L64.18 0.32L64.18 0.45L64.98 0.45L64.98 0.58L65.77 0.58L65.77 0.72L66.57 0.72L66.57 0.85L67.1 0.85L67.1 0.98L67.77 0.98L67.77 1.12L68.3 1.12L68.3 1.25L68.83 1.25L68.83 1.38L69.36 1.38L69.36 1.52L69.76 1.52L69.76 1.65L70.29 1.65L70.29 1.78L70.69 1.78L70.69 1.91L71.09 1.91L71.09 2.05L71.49 2.05L71.49 2.18L71.89 2.18L71.89 2.31L72.29 2.31L72.29 2.45L72.55 2.45L72.55 2.58L72.95 2.58L72.95 2.71L73.35 2.71L73.35 2.84L73.62 2.84L73.62 2.98L73.88 2.98L73.88 3.11L74.28 3.11L74.28 3.24L74.55 3.24L74.55 3.38L74.81 3.38L74.81 3.51L75.21 3.51L75.21 3.64L75.48 3.64L75.48 3.77L75.74 3.77L75.74 3.91L76.01 3.91L76.01 4.04L76.27 4.04L76.27 4.17L76.41 4.17L76.41 4.31L76.67 4.31L76.67 4.44L76.94 4.44L76.94 4.57L77.2 4.57L77.2 4.7L77.47 4.7L77.47 4.84L77.74 4.84L77.74 4.97L78 4.97L78 5.1L78.13 5.1L78.13 5.24L78.4 5.24L78.4 5.37L78.67 5.37L78.67 5.5L78.8 5.5L78.8 5.64L79.06 5.64L79.06 5.77L79.33 5.77L79.33 5.9L79.46 5.9L79.46 6.03L79.73 6.03L79.73 6.17L79.86 6.17L79.86 6.3L80.13 6.3L80.13 6.43L80.26 6.43L80.26 6.57L80.53 6.57L80.53 6.7L80.66 6.7L80.66 6.83L80.79 6.83L80.79 6.96L81.06 6.96L81.06 7.1L81.19 7.1L81.19 7.23L81.32 7.23L81.32 7.36L81.59 7.36L81.59 7.5L81.72 7.5L81.72 7.63L81.99 7.63L81.99 7.76L82.12 7.76L82.12 7.89L82.25 7.89L82.25 8.03L82.52 8.03L82.52 8.16L82.65 8.16L82.65 8.29L82.79 8.29L82.79 8.43L83.05 8.43L83.05 8.56L83.18 8.56L83.18 8.69L83.32 8.69L83.32 8.82L83.58 8.82L83.58 8.96L83.72 8.96L83.72 9.09L83.85 9.09L83.85 9.22L83.98 9.22L83.98 9.36L84.12 9.36L84.12 9.49L84.25 9.49L84.25 9.62L84.51 9.62L84.51 9.76L84.65 9.76L84.65 9.89L84.78 9.89L84.78 10.02L84.91 10.02L84.91 10.15L85.05 10.15L85.05 10.29L85.18 10.29L85.18 10.42L85.44 10.42L85.44 10.55L85.58 10.55L85.58 10.69L85.71 10.69L85.71 10.82L85.84 10.82L85.84 10.95L85.98 10.95L85.98 11.08L86.11 11.08L86.11 11.22L86.37 11.22L86.37 11.35L86.51 11.35L86.51 11.48L86.64 11.48L86.64 11.62L86.77 11.62L86.77 11.75L86.91 11.75L86.91 11.88L87.04 11.88L87.04 12.01L87.17 12.01L87.17 12.15L87.31 12.15L87.31 12.28L87.44 12.28L87.44 12.41L87.57 12.41L87.57 12.55L87.7 12.55L87.7 12.68L87.84 12.68L87.84 12.95L87.97 12.95L87.97 13.08L88.1 13.08L88.1 13.21L88.24 13.21L88.24 13.34L88.37 13.34L88.37 13.48L88.5 13.48L88.5 13.61L88.63 13.61L88.63 13.74L88.77 13.74L88.77 13.88L88.9 13.88L88.9 14.01L89.03 14.01L89.03 14.14L89.17 14.14L89.17 14.27L89.3 14.27L89.3 14.41L89.43 14.41L89.43 14.54L89.56 14.54L89.56 14.81L89.7 14.81L89.7 14.94L89.83 14.94L89.83 15.07L89.96 15.07L89.96 15.34L90.1 15.34L90.1 15.47L90.23 15.47L90.23 15.6L90.36 15.6L90.36 15.87L90.49 15.87L90.49 16L90.63 16L90.63 16.13L90.76 16.13L90.76 16.4L90.89 16.4L90.89 16.53L91.03 16.53L91.03 16.67L91.16 16.67L91.16 16.8L91.29 16.8L91.29 17.07L91.43 17.07L91.43 17.2L91.56 17.2L91.56 17.33L91.69 17.33L91.69 17.6L91.82 17.6L91.82 17.73L91.96 17.73L91.96 18L92.09 18L92.09 18.26L92.22 18.26L92.22 18.53L92.36 18.53L92.36 18.66L92.49 18.66L92.49 18.93L92.62 18.93L92.62 19.19L92.75 19.19L92.75 19.46L92.89 19.46L92.89 19.59L93.02 19.59L93.02 19.86L93.15 19.86L93.15 20.12L93.29 20.12L93.29 20.39L93.42 20.39L93.42 20.52L93.55 20.52L93.55 20.79L93.68 20.79L93.68 21.19L93.82 21.19L93.82 21.45L93.95 21.45L93.95 21.72L94.08 21.72L94.08 22.12L94.22 22.12L94.22 22.38L94.35 22.38L94.35 22.78L94.48 22.78L94.48 23.05L94.61 23.05L94.61 23.31L94.75 23.31L94.75 23.71L94.88 23.71L94.88 24.11L95.01 24.11L95.01 24.51L95.15 24.51L95.15 25.04L95.28 25.04L95.28 25.57L95.41 25.57L95.41 25.97L95.55 25.97L95.55 26.5L95.68 26.5L95.68 26.9L95.81 26.9L95.81 27.83L95.94 27.83L95.94 28.63L96.08 28.63L96.08 29.56L96.21 29.56L96.21 30.75L96.34 30.75L96.34 35.27L96.21 35.27L96.21 37.27L96.08 37.27L96.08 38.06L95.94 38.06L95.94 38.86L95.81 38.86L95.81 39.79L95.68 39.79L95.68 40.59L95.55 40.59L95.55 41.12L95.41 41.12L95.41 41.79L95.28 41.79L95.28 42.32L95.15 42.32L95.15 42.85L95.01 42.85L95.01 43.38L94.88 43.38L94.88 44.05L94.75 44.05L94.75 44.44L94.61 44.44L94.61 44.84L94.48 44.84L94.48 45.37L94.35 45.37L94.35 45.77L94.22 45.77L94.22 46.17L94.08 46.17L94.08 46.57L93.95 46.57L93.95 47.1L93.82 47.1L93.82 47.5L93.68 47.5L93.68 47.9L93.55 47.9L93.55 48.3L93.42 48.3L93.42 48.56L93.29 48.56L93.29 48.96L93.15 48.96L93.15 49.36L93.02 49.36L93.02 49.76L92.89 49.76L92.89 50.03L92.75 50.03L92.75 50.42L92.62 50.42L92.62 50.82L92.49 50.82L92.49 51.09L92.36 51.09L92.36 51.49L92.22 51.49L92.22 51.75L92.09 51.75L92.09 52.15L91.96 52.15L91.96 52.42L91.82 52.42L91.82 52.82L91.69 52.82L91.69 53.08L91.56 53.08L91.56 53.35L91.43 53.35L91.43 53.75L91.29 53.7
25L91.29 54.01L91.16 54.01L91.16 54.41L91.03 54.41L91.03 54.68L90.89 54.68L90.89 54.94L90.76 54.94L90.76 55.21L90.63 55.21L90.63 55.61L90.49 55.61L90.49 55.87L90.36 55.87L90.36 56.14L90.23 56.14L90.23 56.41L90.1 56.41L90.1 56.67L89.96 56.67L89.96 57.07L89.83 57.07L89.83 57.34L89.7 57.34L89.7 57.6L89.56 57.6L89.56 57.87L89.43 57.87L89.43 58.13L89.3 58.13L89.3 58.4L89.17 58.4L89.17 58.8L89.03 58.8L89.03 59.06L88.9 59.06L88.9 59.33L88.77 59.33L88.77 59.6L88.63 59.6L88.63 59.86L88.5 59.86L88.5 60.13L88.37 60.13L88.37 60.39L88.24 60.39L88.24 60.66L88.1 60.66L88.1 60.92L87.97 60.92L87.97 61.19L87.84 61.19L87.84 61.46L87.7 61.46L87.7 61.72L87.57 61.72L87.57 61.99L87.44 61.99L87.44 62.25L87.31 62.25L87.31 62.52L87.17 62.52L87.17 62.78L87.04 62.78L87.04 63.05L86.91 63.05L86.91 63.32L86.77 63.32L86.77 63.58L86.64 63.58L86.64 63.85L86.51 63.85L86.51 64.11L86.37 64.11L86.37 64.38L86.24 64.38L86.24 64.65L86.11 64.65L86.11 64.91L85.98 64.91L85.98 65.18L85.84 65.18L85.84 65.44L85.71 65.44L85.71 65.58L85.58 65.58L85.58 65.84L85.44 65.84L85.44 66.11L85.31 66.11L85.31 66.37L85.18 66.37L85.18 66.64L85.05 66.64L85.05 66.9L84.91 66.9L84.91 67.17L84.78 67.17L84.78 67.44L84.65 67.44L84.65 67.7L84.51 67.7L84.51 67.84L84.38 67.84L84.38 68.1L84.25 68.1L84.25 68.37L84.12 68.37L84.12 68.63L83.98 68.63L83.98 68.9L83.85 68.9L83.85 69.16L83.72 69.16L83.72 69.43L83.58 69.43L83.58 69.7L83.45 69.7L83.45 69.96L83.32 69.96L83.32 70.09L83.18 70.09L83.18 70.36L83.05 70.36L83.05 70.63L82.92 70.63L82.92 70.89L82.79 70.89L82.79 71.16L82.65 71.16L82.65 71.42L82.52 71.42L82.52 71.69L82.39 71.69L82.39 71.82L82.25 71.82L82.25 72.09L82.12 72.09L82.12 72.35L81.99 72.35L81.99 72.62L81.86 72.62L81.86 72.89L81.72 72.89L81.72 73.15L81.59 73.15L81.59 73.42L81.46 73.42L81.46 73.55L81.32 73.55L81.32 73.82L81.19 73.82L81.19 74.08L81.06 74.08L81.06 74.35L80.93 74.35L80.93 74.61L80.79 74.61L80.79 74.88L80.66 74.88L80.66 75.15L80.53 75.15L80.53 75.41L80.39 75.41L80.39 75.54L80.26 75.54L80.26 75.81L80.13 75.81L80.13 76.08L80 76.08L80 76.34L79.86 76.34L79.86 76.61L79.73 76.61L79.73 76.87L79.6 76.87L79.6 77.14L79.46 77.14L79.46 77.4L79.33 77.4L79.33 77.54L79.2 77.54L79.2 77.8L79.06 77.8L79.06 78.07L78.93 78.07L78.93 78.33L78.8 78.33L78.8 78.6L78.67 78.6L78.67 78.87L78.53 78.87L78.53 79.13L78.4 79.13L78.4 79.4L78.27 79.4L78.27 79.53L78.13 79.53L78.13 79.8L78 79.8L78 80.06L77.87 80.06L77.87 80.33L77.74 80.33L77.74 80.59L77.6 80.59L77.6 80.86L77.47 80.86L77.47 81.13L77.34 81.13L77.34 81.39L77.2 81.39L77.2 81.66L77.07 81.66L77.07 81.92L76.94 81.92L76.94 82.19L76.81 82.19L76.81 82.45L76.67 82.45L76.67 82.72L76.54 82.72L76.54 82.99L76.41 82.99L76.41 83.12L76.27 83.12L76.27 83.39L76.14 83.39L76.14 83.65L76.01 83.65L76.01 83.92L75.88 83.92L75.88 84.18L75.74 84.18L75.74 84.45L75.61 84.45L75.61 84.71L75.48 84.71L75.48 84.98L75.34 84.98L75.34 85.38L75.21 85.38L75.21 85.64L75.08 85.64L75.08 85.91L74.94 85.91L74.94 86.18L74.81 86.18L74.81 86.44L74.68 86.44L74.68 86.71L74.55 86.71L74.55 86.97L74.41 86.97L74.41 87.24L74.28 87.24L74.28 87.51L74.15 87.51L74.15 87.77L74.01 87.77L74.01 88.04L73.88 88.04L73.88 88.3L73.75 88.3L73.75 88.57L73.62 88.57L73.62 88.83L73.48 88.83L73.48 89.23L73.35 89.23L73.35 89.5L73.22 89.5L73.22 89.76L73.08 89.76L73.08 90.03L72.95 90.03L72.95 90.3L72.82 90.3L72.82 90.56L72.69 90.56L72.69 90.96L72.55 90.96L72.55 91.23L72.42 91.23L72.42 91.49L72.29 91.49L72.29 91.76L72.15 91.76L72.15 92.16L72.02 92.16L72.02 92.42L71.89 92.42L71.89 92.69L71.76 92.69L71.76 93.09L71.62 93.09L71.62 93.35L71.49 93.35L71.49 93.62L71.36 93.62L71.36 94.02L71.22 94.02L71.22 94.28L71.09 94.28L71.09 94.68L70.96 94.68L70.96 94.95L70.82 94.95L70.82 95.35L70.69 95.35L70.69 95.61L70.56 95.61L70.56 96.01L70.43 96.01L70.43 96.41L70.29 96.41L70.29 96.68L70.16 96.68L70.16 97.07L70.03 97.07L70.03 97.34L69.89 97.34L69.89 97.74L69.76 97.74L69.76 98.14L69.63 98.14L69.63 98.4L69.5 98.4L69.5 98.8L69.36 98.8L69.36 99.2L69.23 99.2L69.23 99.6L69.1 99.6L69.1 100L68.96 100L68.96 100.53L68.83 100.53L68.83 100.93L68.7 100.93L68.7 101.33L68.57 101.33L68.57 101.73L68.43 101.73L68.43 102.13L68.3 102.13L68.3 102.66L68.17 102.66L68.17 103.06L68.03 103.06L68.03 103.59L67.9 103.59L67.9 104.12L67.77 104.12L67.77 104.65L67.63 104.65L67.63 105.05L67.5 105.05L67.5 105.58L67.37 105.58L67.37 106.25L67.24 106.25L67.24 106.91L67.1 106.91L67.1 107.57L66.97 107.57L66.97 108.24L66.84 108.24L66.84 108.9L66.7 108.9L66.7 109.83L66.57 109.83L66.57 111.03L66.44 111.03L66.44 112.23L66.31 112.23L66.31 114.09L66.17 114.09L66.17 117.94L66.31 117.94L66.31 120.07L66.44 120.07L66.44 122.06L66.57 122.06L66.57 123.12L66.7 123.12L66.7 124.32L66.84 124.32L66.84 125.38L66.97 125.38L66.97 126.58L67.1 126.58L67.1 127.38L67.24 127.38L67.24 128.04L67.37 128.04L67.37 128.71L67.5 128.71L67.5 129.5L67.63
2129.5L67.63 130.17L67.77 130.17L67.77 130.83L67.9 130.83L67.9 131.5L68.03 131.5L68.03 132.03L68.17 132.03L68.17 132.56L68.3 132.56L68.3 132.96L68.43 132.96L68.43 133.49L68.57 133.49L68.57 134.02L68.7 134.02L68.7 134.55L68.83 134.55L68.83 134.95L68.96 134.95L68.96 135.48L69.1 135.48L69.1 135.88L69.23 135.88L69.23 136.28L69.36 136.28L69.36 136.68L69.5 136.68L69.5 136.95L69.63 136.95L69.63 137.35L69.76 137.35L69.76 137.74L69.89 137.74L69.89 138.14L70.03 138.14L70.03 138.54L70.16 138.54L70.16 138.94L70.29 138.94L70.29 139.21L70.43 139.21L70.43 139.47L70.56 139.47L70.56 139.87L70.69 139.87L70.69 140.14L70.82 140.14L70.82 140.4L70.96 140.4L70.96 140.67L71.09 140.67L71.09 141.07L71.22 141.07L71.22 141.33L71.36 141.33L71.36 141.6L71.49 141.6L71.49 141.86L71.62 141.86L71.62 142.13L71.76 142.13L71.76 142.4L71.89 142.4L71.89 142.66L72.02 142.66L72.02 142.93L72.15 142.93L72.15 143.19L72.29 143.19L72.29 143.46L72.42 143.46L72.42 143.59L72.55 143.59L72.55 143.86L72.69 143.86L72.69 144.12L72.82 144.12L72.82 144.39L72.95 144.39L72.95 144.66L73.08 144.66L73.08 144.92L73.22 144.92L73.22 145.05L73.35 145.05L73.35 145.32L73.48 145.32L73.48 145.45L73.62 145.45L73.62 145.72L73.75 145.72L73.75 145.85L73.88 145.85L73.88 146.12L74.01 146.12L74.01 146.25L74.15 146.25L74.15 146.52L74.28 146.52L74.28 146.65L74.41 146.65L74.41 146.91L74.55 146.91L74.55 147.05L74.68 147.05L74.68 147.31L74.81 147.31L74.81 147.45L74.94 147.45L74.94 147.58L75.08 147.58L75.08 147.84L75.21 147.84L75.21 147.98L75.34 147.98L75.34 148.11L75.48 148.11L75.48 148.38L75.61 148.38L75.61 148.51L75.74 148.51L75.74 148.64L75.88 148.64L75.88 148.78L76.01 148.78L76.01 149.04L76.14 149.04L76.14 149.17L76.27 149.17L76.27 149.31L76.41 149.31L76.41 149.44L76.54 149.44L76.54 149.57L76.67 149.57L76.67 149.84L76.81 149.84L76.81 149.97L76.94 149.97L76.94 150.1L77.07 150.1L77.07 150.24L77.2 150.24L77.2 150.37L77.34 150.37L77.34 150.5L77.47 150.5L77.47 150.64L77.6 150.64L77.6 150.77L77.74 150.77L77.74 150.9L77.87 150.9L77.87 151.03L78 151.03L78 151.17L78.13 151.17L78.13 151.3L78.27 151.3L78.27 151.43L78.4 151.43L78.4 151.57L78.53 151.57L78.53 151.7L78.67 151.7L78.67 151.83L78.8 151.83L78.8 151.96L78.93 151.96L78.93 152.1L79.06 152.1L79.06 152.23L79.2 152.23L79.2 152.36L79.46 152.36L79.46 152.5L79.6 152.5L79.6 152.63L79.73 152.63L79.73 152.76L79.86 152.76L79.86 152.9L80.13 152.9L80.13 153.03L80.26 153.03L80.26 153.16L80.39 153.16L80.39 153.29L80.53 153.29L80.53 153.43L80.79 153.43L80.79 153.56L80.93 153.56L80.93 153.69L81.06 153.69L81.06 153.83L81.32 153.83L81.32 153.96L81.46 153.96L81.46 154.09L81.72 154.09L81.72 154.22L81.86 154.22L81.86 154.36L82.12 154.36L82.12 154.49L82.25 154.49L82.25 154.62L82.52 154.62L82.52 154.76L82.79 154.76L82.79 154.89L82.92 154.89L82.92 155.02L83.18 155.02L83.18 155.15L83.45 155.15L83.45 155.29L83.72 155.29L83.72 155.42L83.98 155.42L83.98 155.55L84.25 155.55L84.25 155.69L84.51 155.69L84.51 155.82L84.78 155.82L84.78 155.55L84.65 155.55L84.65 155.42L84.51 155.42L84.51 155.29L84.25 155.29L84.25 155.15L84.12 155.15L84.12 155.02L83.98 155.02L83.98 154.89L83.85 154.89L83.85 154.76L83.72 154.76L83.72 154.62L83.58 154.62L83.58 154.49L83.45 154.49L83.45 154.36L83.32 154.36L83.32 154.22L83.18 154.22L83.18 154.09L83.05 154.09L83.05 153.96L82.92 153.96L82.92 153.83L82.79 153.83L82.79 153.69L82.65 153.69L82.65 153.43L82.52 153.43L82.52 153.29L82.39 153.29L82.39 153.16L82.25 153.16L82.25 153.03L82.12 153.03L82.12 152.9L81.99 152.9L81.99 152.63L81.86 152.63L81.86 152.5L81.72 152.5L81.72 152.36L81.59 152.36L81.59 152.23L81.46 152.23L81.46 151.96L81.32 151.96L81.32 151.83L81.19 151.83L81.19 151.7L81.06 151.7L81.06 151.43L80.93 151.43L80.93 151.3L80.79 151.3L80.79 151.17L80.66 151.17L80.66 150.9L80.53 150.9L80.53 150.77L80.39 150.77L80.39 150.5L80.26 150.5L80.26 150.37L80.13 150.37L80.13 150.1L80 150.1L80 149.84L79.86 149.84L79.86 149.71L79.73 149.71L79.73 149.44L79.6 149.44L79.6 149.31L79.46 149.31L79.46 149.04L79.33 149.04L79.33 148.78L79.2 148.78L79.2 148.64L79.06 148.64L79.06 148.38L78.93 148.38L78.93 148.11L78.8 148.11L78.8 147.84L78.67 147.84L78.67 147.71L78.53 147.71L78.53 147.45L78.4 147.45L78.4 147.18L78.27 147.18L78.27 146.91L78.13 146.91L78.13 146.65L78 146.65L78 146.38L77.87 146.38L77.87 146.12L77.74 146.12L77.74 145.85L77.6 145.85L77.6 145.59L77.47 145.59L77.47 145.19L77.34 145.19L77.34 144.92L77.2 144.92L77.2 144.66L77.07 144.66L77.07 144.39L76.94 144.39L76.94 143.99L76.81 143.99L76.81 143.72L76.67 143.72L76.67 143.33L76.54 143.33L76.54 143.06L76.41 143.06L76.41 142.66L76.27 142.66L76.27 142.4L76.14 142.4L76.14 142L76.01 142L76.01 141.6L75.88 141.6L75.88 141.33L75.74 141.33L75.74 140.93L75.61 140.93L75.61 140.4L75.48 140.4L75.48 140L75.34 140L75.34 139.6L75.21 139.6L75.21 139.21L75.08 139.21L75.08 138.81L74.94 138.81L74.94 138.28L74.81 138.28L74.81 137.88L74.68 137.88L74.68 137.35L74.55 137.35L74.55 136.81L74.41 136.81L74.41 136.28L74.28 136.28L74.28 135.75L74.15 135.75L74.15 135.22L74.01 135.22L74.01 134.42L73.88 134.42L73.88 133.76L73.75 133.76L73.75 133.09L73.62 133.09L73.62 132.43L73.48 132.43L73.48 131.76L73.35 131.76L73.35 130.83L73.22 130.83L73.22 129.9L73.08 129.9L73.08 128.97L72.95 128.97L72.95 127.78L72.82 127.78L72.82 126.05L72.69 126.05L72.69 123.92L72.55 123.92L72.55 122.19L72.69 122.19L72.69 117.94L72.82 117.94L72.82 116.48L72.95 116.48L72.95 115.02L73.08 115.02L73.08 114.22L73.22 114.22L73.22 113.42L73.35 113.42L73.35 112.62L73.48 112.62L73.48 111.83L73.62 111.83L73.62 111.16L73.75 111.16L73.75 110.5L73.88 110.5L73.88 109.97L74.01 109.97L74.01 109.43L74.15 109.43L74.15 108.9L74.28 108.9L74.28 108.37L74.41 108.37L74.41 107.97L74.55 107.97L74.55 107.44L74.68 107.44L74.68 106.91L74.81 106.91L74.81 106.51L74.94 106.51L74.94 106.11L75.08 106.11L75.08 105.71L75.21 105.71L75.21 105.31L75.34 105.31L75.34 104.92L75.48 104.92L75.48 104.52L75.61 104.52L75.61 104.12L75.74 104.12L75.74 103.72L75.88 103.72L75.88 103.32L76.01 103.32L76.01 103.06L76.14 103.06L76.14 102.79L76.27 102.79L76.27 102.39L76.41 102.39L76.41 102.13L76.54 102.13L76.54 101.73L76.67 101.73L76.67 101.46L76.81 101.46L76.81 101.06L76.94 101.06L76.94 100.8L77.07 100.8L77.07 100.53L77.2 100.53L77.2 100.13L77.34 100.13L77.34 99.87L77.47 99.87L77.47 99.6L77.6 99.6L77.6 99.33L77.74 99.33L77.74 99.07L77.87 99.07L77.87 98.8L78 98.8L78 98.54L78.13 98.54L78.13 98.27L78.27 98.27L78.27 98L78.4 98L78.4 97.74L78.53 97.74L78.53 97.47L78.67 97.47L78.67 97.21L78.8 97.21L78.8 96.94L78.93 96.94L78.93 96.68L79.06 96.68L79.06 96.41L79.2 96.41L79.2 96.14L79.33 96.14L79.33 95.88L79.46 95.88L79.46 95.61L79.6 95.61L79.6 95.48L79.73 95.48L79.73 95.21L79.86 95.21L79.86 94.95L80 94.95L80 94.68L80.13 94.68L80.13 94.42L80.26 94.42L80.26 94.28L80.39 94.28L80.39 94.02L80.53 94.02L80.53 93.75L80.66 93.75L80.66 93.62L80.79 93.62L80.79 93.35L80.93 93.35L80.93 93.09
2L81.06 93.09L81.06 92.95L81.19 92.95L81.19 92.69L81.32 92.69L81.32 92.42L81.46 92.42L81.46 92.29L81.59 92.29L81.59 92.02L81.72 92.02L81.72 91.89L81.86 91.89L81.86 91.63L81.99 91.63L81.99 91.36L82.12 91.36L82.12 91.23L82.25 91.23L82.25 90.96L82.39 90.96L82.39 90.83L82.52 90.83L82.52 90.56L82.65 90.56L82.65 90.43L82.79 90.43L82.79 90.16L82.92 90.16L82.92 90.03L83.05 90.03L83.05 89.76L83.18 89.76L83.18 89.63L83.32 89.63L83.32 89.37L83.45 89.37L83.45 89.23L83.58 89.23L83.58 88.97L83.72 88.97L83.72 88.83L83.85 88.83L83.85 88.57L83.98 88.57L83.98 88.44L84.12 88.44L84.12 88.17L84.25 88.17L84.25 88.04L84.38 88.04L84.38 87.9L84.51 87.9L84.51 87.64L84.65 87.64L84.65 87.51L84.78 87.51L84.78 87.24L84.91 87.24L84.91 87.11L85.05 87.11L85.05 86.84L85.18 86.84L85.18 86.71L85.31 86.71L85.31 86.58L85.44 86.58L85.44 86.31L85.58 86.31L85.58 86.18L85.71 86.18L85.71 85.91L85.84 85.91L85.84 85.78L85.98 85.78L85.98 85.64L86.11 85.64L86.11 85.38L86.24 85.38L86.24 85.25L86.37 85.25L86.37 85.11L86.51 85.11L86.51 84.85L86.64 84.85L86.64 84.71L86.77 84.71L86.77 84.45L86.91 84.45L86.91 84.32L87.04 84.32L87.04 84.18L87.17 84.18L87.17 83.92L87.31 83.92L87.31 83.78L87.44 83.78L87.44 83.65L87.57 83.65L87.57 83.39L87.7 83.39L87.7 83.25L87.84 83.25L87.84 83.12L87.97 83.12L87.97 82.85L88.1 82.85L88.1 82.72L88.24 82.72L88.24 82.59L88.37 82.59L88.37 82.32L88.5 82.32L88.5 82.19L88.63 82.19L88.63 82.06L88.77 82.06L88.77 81.79L88.9 81.79L88.9 81.66L89.03 81.66L89.03 81.39L89.17 81.39L89.17 81.26L89.3 81.26L89.3 81.13L89.43 81.13L89.43 80.86L89.56 80.86L89.56 80.73L89.7 80.73L89.7 80.59L89.83 80.59L89.83 80.33L89.96 80.33L89.96 80.2L90.1 80.2L90.1 79.93L90.23 79.93L90.23 79.8L90.36 79.8L90.36 79.66L90.49 79.66L90.49 79.4L90.63 79.4L90.63 79.27L90.76 79.27L90.76 79L90.89 79L90.89 78.87L91.03 78.87L91.03 78.73L91.16 78.73L91.16 78.47L91.29 78.47L91.29 78.33L91.43 78.33L91.43 78.07L91.56 78.07L91.56 77.94L91.69 77.94L91.69 77.67L91.82 77.67L91.82 77.54L91.96 77.54L91.96 77.27L92.09 77.27L92.09 77.14L92.22 77.14L92.22 76.87L92.36 76.87L92.36 76.61L92.49 76.61L92.49 76.34L92.62 76.34L92.62 76.08L92.75 76.08L92.75 75.81L92.89 75.81L92.89 75.68L93.02 75.68L93.02 75.41L93.15 75.41L93.15 75.15L93.29 75.15L93.29 74.88L93.42 74.88L93.42 74.48L93.55 74.48L93.55 74.21L93.68 74.21L93.68 73.95L93.82 73.95L93.82 73.68L93.95 73.68L93.95 73.42L94.08 73.42L94.08 73.15L94.22 73.15L94.22 72.89L94.35 72.89L94.35 72.62L94.48 72.62L94.48 72.22L94.61 72.22L94.61 71.96L94.75 71.96L94.75 71.69L94.88 71.69L94.88 71.29L95.01 71.29L95.01 71.03L95.15 71.03L95.15 70.63L95.28 70.63L95.28 70.36L95.41 70.36L95.41 69.96L95.55 69.96L95.55 69.7L95.68 69.7L95.68 69.43L95.81 69.43L95.81 69.03L95.94 69.03L95.94 68.63L96.08 68.63L96.08 68.37L96.21 68.37L96.21 67.97L96.34 67.97L96.34 67.57L96.48 67.57L96.48 67.3L96.61 67.3L96.61 66.9L96.74 66.9L96.74 66.51L96.87 66.51L96.87 66.24L97.01 66.24L97.01 65.84L97.14 65.84L97.14 65.44L97.27 65.44L97.27 65.04L97.41 65.04L97.41 64.65L97.54 64.65L97.54 64.25L97.67 64.25L97.67 63.85L97.8 63.85L97.8 63.45L97.94 63.45L97.94 63.05L98.07 63.05L98.07 62.65L98.2 62.65L98.2 62.25L98.34 62.25L98.34 61.85L98.47 61.85L98.47 61.46L98.6 61.46L98.6 61.06L98.74 61.06L98.74 60.66L98.87 60.66L98.87 60.26L99 60.26L99 59.73L99.13 59.73L99.13 59.33L99.27 59.33L99.27 58.8L99.4 58.8L99.4 58.4L99.53 58.4L99.53 58L99.67 58L99.67 57.47L99.8 57.47L99.8 57.07L99.93 57.07L99.93 56.54L100.06 56.54L100.06 56.01L100.2 56.01L100.2 55.48L100.33 55.48L100.33 55.08L100.46 55.08L100.46 54.54L100.6 54.54L100.6 54.15L100.73 54.15L100.73 53.75L100.86 53.75L100.86 53.48L100.99 53.48L100.99 53.08L101.13 53.08L101.13 52.82L101.26 52.82L101.26 52.42L101.39 52.42L101.39 52.15L101.53 52.15L101.53 51.89L101.66 51.89L101.66 51.62L101.79 51.62L101.79 51.35L101.92 51.35L101.92 51.09L102.06 51.09L102.06 50.96L102.19 50.96L102.19 50.69L102.32 50.69L102.32 50.42L102.46 50.42L102.46 50.29L102.59 50.29L102.59 50.03L102.72 50.03L102.72 49.89L102.86 49.89L102.86 49.63L102.99 49.63L102.99 49.49L103.12 49.49L103.12 49.36L103.25 49.36L103.25 49.1L103.39 49.1L103.39 48.96L103.52 48.96L103.52 48.83L103.65 48.83L103.65 48.56L103.79 48.56L103.79 48.43L103.92 48.43L103.92 48.3L104.05 48.3L104.05 48.17L104.18 48.17L104.18 48.03L104.32 48.03L104.32 47.77L104.45 47.77L104.45 47.63L104.58 47.63L104.58 47.5L104.72 47.5L104.72 47.37L104.85 47.37L104.85 47.23L104.98 47.23L104.98 47.1L105.11 47.1L105.11 46.84L105.25 46.84L105.25 46.7L105.38 46.7L105.38 46.57L105.51 46.57L105.51 46.44L105.65 46.44L105.65 46.3L105.78 46.3L105.78 46.04L105.65 46.04L105.65 45.77L105.51 45.77L105.51 45.51L105.38 45.51L105.38 45.24L105.25 45.24L105.25 44.98L105.11 44.98L105.11 44.71L104.98 44.71L104.98 44.44L104.85 44.44L104.85 44.05L104.72 44.05L104.72 43.78L104.58 43.78L104.58 43.38L104.45 43.38L104.45 42.85L104.32 42.85L104.32 42.45L104.18 42.45L104.18 42.05L104.05 42.05L104.05 41.52L103.92 41.52L103.92 40.72L103.79 40.72L103.79 39.93L103.65 39.93L103.65 36.87L103.79 36.87L103.79 35.8L103.92 35.8L103.92 35.14L104.05 35.14L104.05 34.61L104.18 34.61L104.18 34.08L104.32 34.08L104.32 33.68L104.45 33.68L104.45 33.28L104.58 33.28L104.58 33.01L104.72 33.01L104.72 32.62L104.85 32.62L104.85 32.22L104.98 32.22L104.98 31.95L105.11 31.95L105.11 31.68L105.25 31.68L105.25 31.42L105.38 31.42L105.38 31.15L105.51 31.15L105.51 30.89L105.65 30.89L105.65 30.62L105.78 30.62L105.78 30.36L105.91 30.36L105.91 30.09L106.04 30.09L106.04 29.96L106.18 29.96L106.18 29.69L106.31 29.69L106.31 29.43L106.44 29.43L106.44 29.29L106.58 29.29L106.58 29.03L106.71 29.03L106.71 28.89L106.84 28.89L106.84 28.63L106.98 28.63L106.98 28.5L107.11 28.5L107.11 28.23L107.24 28.23L107.24 28.1L107.37 28.1L107.37 27.96L107.51 27.96L107.51 27.7L107.64 27.7L107.64 27.56L107.77 27.56L107.77 27.43L107.91 27.43L107.91 27.3L108.04 27.3L108.04 27.03L108.17 27.03L108.17 26.9L108.3 26.9L108.3 26.77L108.44 26.77L108.44 26.63L108.57 26.63L108.57 26.5L108.7 26.5L108.7 26.24L108.84 26.24L108.84 26.1L108.97 26.1L108.97 25.97L109.1 25.97L109.1 25.84L109.23 25.84L109.23 25.7L109.37 25.7L109.37 25.57L109.5 25.57L109.5 25.44L109.63 25.44L109.63 25.31L109.77 25.31L109.77 25.17L109.9 25.17L109.9 25.04L110.03 25.04L110.03 24.91L110.16 24.91L110.16 24.77L110.3 24.77L110.3 24.64L110.43 24.64L110.43 24.51L110.56 24.51L110.56 24.37L110.83 24.37L110.83 24.24L110.96 24.24L110.96 24.11L111.23 24.11L111.23 24.24L111.49 24.24L111.49 24.37L111.63 24.37L111.63 24.51L111.76 24.51L111.76 24.64L112.03 24.64L112.03 24.77L112.16 24.77L112.16 24.91L112.42 24.91L112.42 25.04L112.56 25.04L112.56 25.17L112.69 25.17L112.69 25.31L112.96 25.31L112.96 25.44L113.09 25.44L113.09 25.57L113.22 25.57L113.22 25.7L113.35 25.7L113.35 25.84L113.62 25.84L113.62 25.97L113.75 25.97L113.75 26.1L113.89 26.1L113.89 26.24L114.02 26.24L114.02 26.37L114.15 26.37L114.15 26.5L114.29 26.5L114.29 26.63L114.55 26.63L114.55 26.77L114.68 26.77L114.68 26.9L114.82 26.9L114.82 27.03L114.95 27.03L114.95 27.17L115.08 27.17L115.08 27.3L11
25.22 27.3L115.22 27.43L115.35 27.43L115.35 27.56L115.48 27.56L115.48 27.7L115.61 27.7L115.61 27.83L115.75 27.83L115.75 27.96L115.88 27.96L115.88 28.1L116.01 28.1L116.01 28.23L116.15 28.23L116.15 28.36L116.28 28.36L116.28 28.5L116.41 28.5L116.41 28.63L116.54 28.63L116.54 28.89L116.68 28.89L116.68 29.03L116.81 29.03L116.81 29.16L116.94 29.16L116.94 29.29L117.08 29.29L117.08 29.43L117.21 29.43L117.21 29.69L117.34 29.69L117.34 29.82L117.47 29.82L117.47 29.96L117.61 29.96L117.61 30.09L117.74 30.09L117.74 30.36L117.87 30.36L117.87 30.49L118.01 30.49L118.01 30.75L118.14 30.75L118.14 30.89L118.27 30.89L118.27 31.15L118.41 31.15L118.41 31.29L118.54 31.29L118.54 31.55L118.67 31.55L118.67 31.82L118.8 31.82L118.8 31.95L118.94 31.95L118.94 32.22L119.07 32.22L119.07 32.48L119.2 32.48L119.2 32.75L119.34 32.75L119.34 33.01L119.47 33.01L119.47 33.28L119.6 33.28L119.6 33.68L119.73 33.68L119.73 33.94L119.87 33.94L119.87 34.34L120 34.34L120 34.87L120.13 34.87L120.13 35.27L120.27 35.27L120.27 35.94L120.4 35.94L120.4 37.13L120.53 37.13L120.53 37.93L120.4 37.93L120.4 39.53L120.27 39.53L120.27 40.06L120.13 40.06L120.13 40.59L120 40.59L120 40.72L120.13 40.72L120.13 40.59L123.85 40.59L123.85 40.72L125.05 40.72L125.05 40.86L125.71 40.86L125.71 40.99L126.38 40.99L126.38 41.12L126.91 41.12L126.91 41.25L127.44 41.25L127.44 41.39L127.84 41.39L127.84 41.52L128.37 41.52L128.37 41.65L128.77 41.65L128.77 41.79L129.04 41.79L129.04 41.92L129.44 41.92L129.44 42.05L129.7 42.05L129.7 42.18L130.1 42.18L130.1 42.32L130.37 42.32L130.37 42.45L130.63 42.45L130.63 42.58L130.9 42.58L130.9 42.72L131.16 42.72L131.16 42.85L131.43 42.85L131.43 42.98L131.7 42.98L131.7 43.11L131.96 43.11L131.96 43.25L132.23 43.25L132.23 43.38L132.49 43.38L132.49 43.51L132.63 43.51L132.63 43.65L132.89 43.65L132.89 43.78L133.02 43.78L133.02 43.91L133.29 43.91L133.29 44.05L133.42 44.05L133.42 44.18L133.69 44.18L133.69 44.31L133.82 44.31L133.82 44.44L133.96 44.44L133.96 44.58L134.22 44.58L134.22 44.71L134.35 44.71L134.35 44.84L134.49 44.84L134.49 44.98L134.62 44.98L134.62 45.11L134.75 45.11L134.75 45.24L134.89 45.24L134.89 45.37L135.02 45.37L135.02 45.51L135.28 45.51L135.28 45.64L135.42 45.64L135.42 45.77L135.55 45.77L135.55 45.91L135.68 45.91L135.68 46.17L135.82 46.17L135.82 46.3L135.95 46.3L135.95 46.44L136.08 46.44L136.08 46.57L136.21 46.57L136.21 46.7L136.35 46.7L136.35 46.84L136.48 46.84L136.48 47.1L136.61 47.1L136.61 47.23L136.75 47.23L136.75 47.37L136.88 47.37L136.88 47.63L137.01 47.63L137.01 47.77L137.14 47.77L137.14 48.03L137.28 48.03L137.28 48.17L137.41 48.17L137.41 48.3L137.54 48.3L137.54 48.56L137.68 48.56L137.68 48.7L137.81 48.7L137.81 48.96L137.94 48.96L137.94 49.1L138.08 49.1L138.08 49.36L138.21 49.36L138.21 49.49L138.34 49.49L138.34 49.63L138.47 49.63L138.47 49.89L138.61 49.89L138.61 50.03L138.74 50.03L138.74 50.16L138.87 50.16L138.87 50.42L139.01 50.42L139.01 50.56L139.14 50.56L139.14 50.69L139.27 50.69L139.27 50.82L139.4 50.82L139.4 51.09L139.54 51.09L139.54 51.22L139.67 51.22L139.67 51.35L139.8 51.35L139.8 51.49L139.94 51.49L139.94 51.62L140.07 51.62L140.07 51.75L140.2 51.75L140.2 51.89L140.33 51.89L140.33 52.02L140.47 52.02L140.47 52.15L140.6 52.15L140.6 52.29L140.73 52.29L140.73 52.42L140.87 52.42L140.87 52.55L141 52.55L141 52.68L141.13 52.68L141.13 52.82L141.26 52.82L141.26 52.95L141.4 52.95L141.4 53.08L141.53 53.08L141.53 53.22L141.66 53.22L141.66 53.35L141.8 53.35L141.8 53.48L141.93 53.48L141.93 53.61L142.06 53.61L142.06 53.75L142.33 53.75L142.33 53.88L142.46 53.88L142.46 54.01L142.59 54.01L142.59 54.15L142.73 54.15L142.73 54.28L142.86 54.28L142.86 54.41L142.99 54.41L142.99 54.54L143.13 54.54L143.13 54.68L143.26 54.68L143.26 54.81L143.39 54.81L143.39 54.94L143.52 54.94L143.52 55.08L143.66 55.08L143.66 55.21L143.92 55.21L143.92 55.34L144.06 55.34L144.06 55.48L144.19 55.48L144.19 55.61L144.32 55.61L144.32 55.74L144.45 55.74L144.45 55.87L144.59 55.87L144.59 56.01L144.72 56.01L144.72 56.14L144.85 56.14L144.85 56.27L144.99 56.27L144.99 56.41L145.12 56.41L145.12 56.54L145.25 56.54L145.25 56.67L145.39 56.67L145.39 56.8L145.52 56.8L145.52 56.94L145.65 56.94L145.65 57.07L145.78 57.07L145.78 57.2L145.92 57.2L145.92 57.34L146.05 57.34L146.05 57.47L146.18 57.47L146.18 57.73L146.32 57.73L146.32 57.87L146.45 57.87L146.45 58L146.58 58L146.58 58.13L146.71 58.13L146.71 58.4L146.85 58.4L146.85 58.53L146.98 58.53L146.98 58.66L147.11 58.66L147.11 58.93L147.25 58.93L147.25 59.06L147.38 59.06L147.38 59.33L147.51 59.33L147.51 59.6L147.64 59.6L147.64 59.73L147.78 59.73L147.78 59.99L147.91 59.99L147.91 60.39L148.04 60.39L148.04 60.66L148.18 60.66L148.18 61.19L148.31 61.19L148.31 62.12L148.44 62.12L148.44 65.31L148.31 65.31L148.31 66.37L148.18 66.37L148.18 66.9L148.04 66.9L148.04 67.3L147.91 67.3L147.91 67.84L147.78 67.84L147.78 68.23L147.64 68.23L147.64 68.5L147.51 68.5L147.51 68.77L147.38 68.77L147.38 69.03L147.25 69.03L147.25 69.3L147.11 69.3L147.11 69.56L146.98 69.56L146.98 69.83L146.85 69.83L146.85 69.96L146.71 69.96L146.71 70.09L146.58 70.09L146.58 70.36L146.45 70.36L146.45 70.49L146.32 70.49L146.32 70.63L146.18 70.63L146.18 70.76L146.05 70.76L146.05 71.03L145.92 71.03L145.92 71.16L145.78 71.16L145.78 71.29L145.65 71.29L145.65 71.42L145.52 71.42L145.52 71.56L145.39 71.56L145.39 71.69L145.25 71.69L145.25 71.82L145.12 71.82L145.12 71.96L144.99 71.96L144.99 72.09L144.85 72.09L144.85 72.22L144.72 72.22L144.72 72.35L144.59 72.35L144.59 72.49L144.32 72.49L144.32 72.62L144.19 72.62L144.19 72.75L143.92 72.75L143.92 72.89L143.79 72.89L143.79 73.02L143.66 73.02L143.66 73.15L143.39 73.15L143.39 73.28L143.26 73.28L143.26 73.42L142.99 73.42L142.99 73.55L142.86 73.55L142.86 73.68L142.59 73.68L142.59 73.82L142.33 73.82L142.33 73.95L142.06 73.95L142.06 74.08L141.8 74.08L141.8 74.21L141.53 74.21L141.53 74.35L141.4 74.35L141.4 74.48L141 74.48L141 74.61L140.73 74.61L140.73 74.75L140.47 74.75L140.47 74.88L140.2 74.88L140.2 75.01L139.8 75.01L139.8 75.15L139.54 75.15L139.54 75.28L139.14 75.28L139.14 75.41L138.74 75.41L138.74 75.54L138.47 75.54L138.47 75.68L138.08 75.68L138.08 75.81L137.68 75.81L137.68 75.94L137.28 75.94L137.28 76.08L136.75 76.08L136.75 76.21L136.35 76.21L136.35 76.34L135.95 76.34L135.95 76.47L135.42 76.47L135.42 76.61L134.89 76.61L134.89 76.74L134.49 76.74L134.49 76.87L133.96 76.87L133.96 77.01L133.42 77.01L133.42 77.14L132.76 77.14L132.76 77.27L132.23 77.27L132.23 77.4L131.7 77.4L131.7 77.54L131.03 77.54L131.03 77.67L130.5 77.67L130.5 77.8L129.97 77.8L129.97 77.94L129.44 77.94L129.44 78.07L128.77 78.07L128.77 78.2L128.24 78.2L128.24 78.33L127.84 78.33L127.84 78.47L127.31 78.47L127.31 78.6L127.18 78.6L127.18 79.4L127.31 79.4L127.31 80.2L127.44 80.2L127.44 80.86L127.58 80.86L127.58 81.66L127.71 81.66L127.71 82.32L127.84 82.32L127.84 82.99L127.97 82.99L127.97 83.65L128.11 83.65L128.11 84.32L128.24 84.32L128.24 84.85L128.37 84.85L128.37 85.51L128.51 85.51L128.51 86.04L128.64 86.04L128.64 86.58L128.77 86.58L128.77 87.11L128.9 87.11L128.9 87.64L129.04 87.64L129.04 88.04L129.17 88.04L129.17 88.44L129.3 88.44L129.3 88.97L129.44 88.97L129.44 89.37L129.57 89.37L129.57 89.63L129.7 89.63L129.7 90.03L129.84 90.03L129.84 90.3L129.97 90.3L129.97 90.7L130.1 90.7L130.1 90.96L130.23 90.96L130.23 91.09L130.37 91.09L130.37 91.36L130.5 91.36L130.5 91.63L130.63 91.63L130.63 91.76L130.77 91.76L130.77 91.89L130.9 91.89L130.9 92.02L131.03 92.02L131.03 92.16L131.16 92.16L131.16 92.29L131.43 92.29L131.43 92.42
2L131.56 92.42L131.56 92.56L131.83 92.56L131.83 92.69L131.96 92.69L131.96 92.82L132.09 92.82L132.09 92.95L132.36 92.95L132.36 93.09L132.63 93.09L132.63 93.22L132.76 93.22L132.76 93.35L133.02 93.35L133.02 93.49L133.29 93.49L133.29 93.62L133.56 93.62L133.56 93.75L133.82 93.75L133.82 93.88L133.96 93.88L133.96 94.02L134.22 94.02L134.22 94.15L134.49 94.15L134.49 94.28L134.75 94.28L134.75 94.42L135.15 94.42L135.15 94.55L135.42 94.55L135.42 94.68L135.68 94.68L135.68 94.82L135.95 94.82L135.95 94.95L136.35 94.95L136.35 95.08L136.61 95.08L136.61 95.21L136.88 95.21L136.88 95.35L137.28 95.35L137.28 95.48L137.54 95.48L137.54 95.61L137.94 95.61L137.94 95.75L138.34 95.75L138.34 95.88L138.61 95.88L138.61 96.01L139.01 96.01L139.01 96.14L139.27 96.14L139.27 96.28L139.67 96.28L139.67 96.41L140.07 96.41L140.07 96.54L140.47 96.54L140.47 96.68L140.87 96.68L140.87 96.81L141.26 96.81L141.26 96.94L141.53 96.94L141.53 97.07L141.93 97.07L141.93 97.21L142.33 97.21L142.33 97.34L142.73 97.34L142.73 97.47L143.13 97.47L143.13 97.61L143.52 97.61L143.52 97.74L144.06 97.74L144.06 97.87L144.45 97.87L144.45 98L144.85 98L144.85 98.14L145.25 98.14L145.25 98.27L145.78 98.27L145.78 98.4L146.18 98.4L146.18 98.54L146.58 98.54L146.58 98.67L147.11 98.67L147.11 98.8L147.51 98.8L147.51 98.94L148.04 98.94L148.04 99.07L148.44 99.07L148.44 99.2L148.97 99.2L148.97 99.33L149.37 99.33L149.37 99.47L149.9 99.47L149.9 99.6L150.3 99.6L150.3 99.73L150.83 99.73L150.83 99.87L151.37 99.87L151.37 100L151.76 100L151.76 100.13L152.16 100.13L152.16 100L152.03 100L152.03 99.87L151.76 99.87L151.76 99.73L151.63 99.73L151.63 99.6L151.5 99.6L151.5 99.47L151.23 99.47L151.23 99.33L151.1 99.33L151.1 99.2L150.97 99.2L150.97 99.07L150.7 99.07L150.7 98.94L150.57 98.94L150.57 98.8L150.3 98.8L150.3 98.67L150.17 98.67L150.17 98.54L150.04 98.54L150.04 98.4L149.77 98.4L149.77 98.27L149.64 98.27L149.64 98.14L149.51 98.14L149.51 98L149.24 98L149.24 97.87L149.11 97.87L149.11 97.74L148.84 97.74L148.84 97.61L148.71 97.61L148.71 97.47L148.57 97.47L148.57 97.34L148.31 97.34L148.31 97.21L148.18 97.21L148.18 97.07L148.04 97.07L148.04 96.94L147.78 96.94L147.78 96.81L147.64 96.81L147.64 96.68L147.38 96.68L147.38 96.54L147.25 96.54L147.25 96.41L147.11 96.41L147.11 96.28L146.85 96.28L146.85 96.14L146.71 96.14L146.71 96.01L146.58 96.01L146.58 95.88L146.32 95.88L146.32 95.75L146.18 95.75L146.18 95.61L145.92 95.61L145.92 95.48L145.78 95.48L145.78 95.35L145.65 95.35L145.65 95.21L145.39 95.21L145.39 95.08L145.25 95.08L145.25 94.95L145.12 94.95L145.12 94.82L144.85 94.82L144.85 94.68L144.72 94.68L144.72 94.55L144.45 94.55L144.45 94.42L144.32 94.42L144.32 94.28L144.19 94.28L144.19 94.15L143.92 94.15L143.92 94.02L143.79 94.02L143.79 93.88L143.66 93.88L143.66 93.75L143.39 93.75L143.39 93.62L143.26 93.62L143.26 93.49L142.99 93.49L142.99 93.35L142.86 93.35L142.86 93.22L142.73 93.22L142.73 93.09L142.46 93.09L142.46 92.95L142.33 92.95L142.33 92.82L142.2 92.82L142.2 92.69L141.93 92.69L141.93 92.56L141.8 92.56L141.8 92.42L141.53 92.42L141.53 92.29L141.4 92.29L141.4 92.16L141.26 92.16L141.26 92.02L141 92.02L141 91.89L140.87 91.89L140.87 91.76L140.73 91.76L140.73 91.63L140.47 91.63L140.47 91.49L140.33 91.49L140.33 91.36L140.07 91.36L140.07 91.23L139.94 91.23L139.94 91.09L139.8 91.09L139.8 90.96L139.54 90.96L139.54 90.83L139.4 90.83L139.4 90.7L139.27 90.7L139.27 90.56L139.01 90.56L139.01 90.43L138.87 90.43L138.87 90.16L139.01 90.16L139.01 90.03L139.14 90.03L139.14 89.9L139.27 89.9L139.27 89.76L139.4 89.76L139.4 89.63L139.54 89.63L139.54 89.5L139.8 89.5L139.8 89.37L139.94 89.37L139.94 89.23L140.07 89.23L140.07 89.1L140.2 89.1L140.2 88.97L140.33 88.97L140.33 88.83L140.47 88.83L140.47 88.7L140.6 88.7L140.6 88.57L140.73 88.57L140.73 88.44L141 88.44L141 88.3L141.13 88.3L141.13 88.17L141.26 88.17L141.26 88.04L141.4 88.04L141.4 87.9L141.53 87.9L141.53 87.77L141.66 87.77L141.66 87.64L141.8 87.64L141.8 87.51L141.93 87.51L141.93 87.37L142.06 87.37L142.06 87.24L142.33 87.24L142.33 87.11L142.46 87.11L142.46 86.97L142.59 86.97L142.59 86.84L142.73 86.84L142.73 86.71L142.86 86.71L142.86 86.58L142.99 86.58L142.99 86.44L143.13 86.44L143.13 86.31L143.26 86.31L143.26 86.18L143.39 86.18L143.39 86.04L143.66 86.04L143.66 85.91L143.79 85.91L143.79 85.78L143.92 85.78L143.92 85.64L144.06 85.64L144.06 85.51L144.19 85.51L144.19 85.38L144.32 85.38L144.32 85.25L144.45 85.25L144.45 85.11L144.59 85.11L144.59 84.98L144.85 84.98L144.85 84.85L144.99 84.85L144.99 84.71L145.12 84.71L145.12 84.58L145.25 84.58L145.25 84.45L145.39 84.45L145.39 84.32L145.52 84.32L145.52 84.18L145.65 84.18L145.65 84.05L145.78 84.05L145.78 83.92L145.92 83.92L145.92 83.78L146.18 83.78L146.18 83.65L146.32 83.65L146.32 83.52L146.45 83.52L146.45 83.39L146.58 83.39L146.58 83.25L146.71 83.25L146.71 83.12L146.85 83.12L146.85 82.99L146.98 82.99L146.98 82.85L147.11 82.85L147.11 82.72L147.25 82.72L147.25 82.59L147.51 82.59L147.51 82.45L147.64 82.45L147.64 82.32L147.78 82.32L147.78 82.19L147.91 82.19L147.91 82.06L148.04 82.06L148.04 81.92L148.18 81.92L148.18 81.79L148.31 81.79L148.31 81.66L148.44 81.66L148.44 81.52L148.71 8
21.52L148.71 81.39L148.84 81.39L148.84 81.26L148.97 81.26L148.97 81.13L149.11 81.13L149.11 80.99L149.24 80.99L149.24 80.86L149.37 80.86L149.37 80.73L149.51 80.73L149.51 80.59L149.64 80.59L149.64 80.46L149.77 80.46L149.77 80.33L150.04 80.33L150.04 80.2L150.17 80.2L150.17 80.06L150.3 80.06L150.3 79.93L150.44 79.93L150.44 79.8L150.57 79.8L150.57 79.66L150.7 79.66L150.7 79.53L150.83 79.53L150.83 79.4L150.97 79.4L150.97 79.27L151.1 79.27L151.1 79.13L151.37 79.13L151.37 79L151.5 79L151.5 78.87L151.63 78.87L151.63 78.73L151.76 78.73L151.76 78.6L151.9 78.6L151.9 78.47L152.03 78.47L152.03 78.33L152.16 78.33L152.16 78.2L152.3 78.2L152.3 78.07L152.56 78.07L152.56 77.94L152.69 77.94L152.69 77.8L152.83 77.8L152.83 77.67L152.96 77.67L152.96 77.54L153.09 77.54L153.09 77.4L153.23 77.4L153.23 77.27L153.36 77.27L153.36 77.14L153.49 77.14L153.49 77.01L153.63 77.01L153.63 76.87L153.89 76.87L153.89 76.74L154.02 76.74L154.02 76.61L154.16 76.61L154.16 76.47L154.29 76.47L154.29 76.34L154.42 76.34L154.42 76.21L154.56 76.21L154.56 76.08L154.69 76.08L154.69 75.94L154.82 75.94L154.82 75.81L154.95 75.81L154.95 75.68L155.22 75.68L155.22 75.54L155.35 75.54L155.35 75.41L155.49 75.41L155.49 75.28L155.62 75.28L155.62 75.15L155.75 75.15L155.75 75.01L155.88 75.01L155.88 74.88L156.02 74.88L156.02 74.75L156.15 74.75L156.15 74.61L156.42 74.61L156.42 74.48L156.55 74.48L156.55 74.35L156.68 74.35L156.68 74.21L156.81 74.21L156.81 74.08L156.95 74.08L156.95 73.95L157.08 73.95L157.08 73.82L157.21 73.82L157.21 73.68L157.35 73.68L157.35 73.55L157.48 73.55L157.48 73.42L157.75 73.42L157.75 73.28L157.88 73.28L157.88 73.15L158.01 73.15L158.01 73.02L158.14 73.02L158.14 72.89L158.28 72.89L158.28 72.75L158.41 72.75L158.41 72.62L158.54 72.62L158.54 72.49L158.68 72.49L158.68 72.35L158.81 72.35L158.81 72.22L159.07 72.22L159.07 72.09L159.21 72.09L159.21 71.96L159.34 71.96L159.34 71.82L159.47 71.82L159.47 71.69L159.61 71.69L159.61 71.56L159.74 71.56L159.74 71.42L159.87 71.42L159.87 71.29L160 71.29L160 71.16L160.27 71.16L160.27 71.03L160.4 71.03L160.4 70.89L160.54 70.89L160.54 70.76L160.67 70.76L160.67 70.63L160.8 70.63L160.8 70.49L160.94 70.49L160.94 70.36L161.07 70.36L161.07 70.23L161.2 70.23L161.2 70.09L161.33 70.09L161.33 69.96L161.6 69.96L161.6 69.83L161.73 69.83L161.73 69.7L161.87 69.7L161.87 69.56L162 69.56L162 69.43L162.13 69.43L162.13 69.3L162.26 69.3L162.26 69.16L162.4 69.16L162.4 69.03L162.53 69.03L162.53 68.9L162.66 68.9L162.66 68.77L162.93 68.77L162.93 68.63L163.06 68.63L163.06 68.5L163.19 68.5L163.19 68.37L163.33 68.37L163.33 68.23L163.46 68.23L163.46 68.1L163.59 68.1L163.59 67.97L163.73 67.97L163.73 67.84L163.86 67.84L163.86 67.7L163.99 67.7L163.99 67.57L164.26 67.57L164.26 67.44L164.39 67.44L164.39 67.3L164.52 67.3L164.52 67.17L164.66 67.17L164.66 67.04L164.79 67.04L164.79 66.9L164.92 66.9L164.92 66.77L165.06 66.77L165.06 66.64L165.19 66.64L165.19 66.51L165.45 66.51L165.45 66.37L165.59 66.37L165.59 66.24L165.72 66.24L165.72 66.11L165.85 66.11L165.85 65.97L165.99 65.97L165.99 65.84L166.12 65.84L166.12 65.71L166.25 65.71L166.25 65.58L166.38 65.58L166.38 65.44L166.52 65.44L166.52 65.31L166.78 65.31L166.78 65.18L166.92 65.18L166.92 65.04L167.05 65.04L167.05 64.91L167.18 64.91L167.18 64.78L167.31 64.78L167.31 64.65L167.45 64.65L167.45 64.51L167.58 64.51L167.58 64.38L167.71 64.38L167.71 64.25L167.85 64.25L167.85 64.11L168.11 64.11L168.11 63.98L168.24 63.98L168.24 63.85L168.38 63.85L168.38 63.72L168.51 63.72L168.51 63.58L168.64 63.58L168.64 63.45L168.78 63.45L168.78 63.32L168.91 63.32L168.91 63.18L169.04 63.18L169.04 63.05L169.31 63.05L169.31 62.92L169.57 62.92L169.57 63.05L169.71 63.05L169.71 63.32L169.84 63.32L169.84 63.58L169.97 63.58L169.97 63.72L170.11 63.72L170.11 63.98L170.24 63.98L170.24 64.25L170.37 64.25L170.37 64.38L170.5 64.38L170.5 64.65L170.64 64.65L170.64 64.91L170.77 64.91L170.77 65.04L170.9 65.04L170.9 65.31L171.04 65.31L171.04 65.58L171.17 65.58L171.17 65.71L171.3 65.71L171.3 65.97L171.43 65.97L171.43 66.24L171.57 66.24L171.57 66.51L171.7 66.51L171.7 66.64L171.83 66.64L171.83 66.9L171.97 66.9L171.97 67.17L172.1 67.17L172.1 67.3L172.23 67.3L172.23 67.57L172.37 67.57L172.37 67.84L172.5 67.84L172.5 67.97L172.63 67.97L172.63 68.23L172.76 68.23L172.76 68.5L172.9 68.5L172.9 68.63L173.03 68.63L173.03 68.9L173.16 68.9L173.16 69.16L173.3 69.16L173.3 69.3L173.43 69.3L173.43 69.56L173.56 69.56L173.56 69.83L173.69 69.83L173.69 70.09L173.83 70.09L173.83 70.23L173.96 70.23L173.96 70.49L174.09 70.49L174.09 70.76L174.23 70.76L174.23 70.89L174.36 70.89L174.36 71.16L174.49 71.16L174.49 71.42L174.62 71.42L174.62 71.56L174.76 71.56L174.76 71.82L174.89 71.82L174.89 72.09L175.02 72.09L175.02 72.22L175.16 72.22L175.16 72.49L175.29 72.49L175.29 72.75L175.42 72.75L175.42 73.02L175.55 73.02L175.55 73.15L175.69 73.15L175.69 73.42L175.82 73.42L175.82 73.68L175.95 73.68L175.95 73.82L176.09 73.82L176.09 74.08L176.22 74.08L176.22 74.35L176.35 74.35L176.35 74.48L176.49 74.48L176.49 74.75L176.62 74.75L176.62 75.01L176.75 75.01L176.75 75.15L176.88 75.15L176.88 75.41L177.02 75.41L177.02 75.68L177.15 75.68L177.15 75.94L177.28 75.94L177.28 76.08L177.42 76.08L177.42 76.34L177.55 76.34L177.55 76.61L177.68 76.61L177.68 76.74L177.81 76.74L177.81 77.01L177.95 77.01L177.95 77.27L178.08 77.27L178.08 77.4L178.21 77.4L178.21 77.67L178.35 77.67L178.35 77.94L178.48 77.94L178.48 78.07L178.61 78.07L178.61 78.33L178.74 78.33L178.74 78.6L178.88 78.6L178.88 78.87L179.01 78.87L179.01 79L179.14 79L179.14 79.27L179.28 79.27L179.28 79.53L179.41 79.53L179.41 79.66L179.54 79.66L179.54 79.93L179.67 79.93L179.67 80.2L179.81 80.2L179.81 80.33L179.94 80.33L179.94 80.59L180.07 80.59L180.07 80.86L180.21 80.86L180.21 80.99L180.34 80.99L180.34 81.26L180.47 81.26L180.47 81.52L180.61 81.52L180.61 81.79L180.74 81.79L180.74 81.92L180.87 81.92L180.87 82.19L181 82.19L181 82.45L181.14 82.45L181.14 82.59L181.27 82.59L181.27 82.85L181.4 82.85L181.4 83.12L181.54 83.12L181.54 83.25L181.67 83.25L181.67 83.52L181.8 83.52L181.8 83.78L181.93 83.78L181.93 83.92L182.07 83.92L182.07 84.18L182.2 84.18L182.2 84.45L182.33 84.45L182.33 84.58L182.47 84.58L182.47 84.85L182.6 84.85L182.6 85.11L182.73 85.11L182.73 85.38L182.86 85.38L182.86 85.64L182.6 85.64L182.6 85.78L182.47 85.78L182.47 85.91L182.33 85.91L182.33 86.04L182.2 86.04L182.2 86.18L182.07 86.18L182.07 86.31L181.93 86.31L181.93 86.44L181.8 86.44L181.8 86.58L181.67 86.58L181.67 86.71L181.4 86.71L181.4 86.84L181.27 86.84L181.27 86.97L181.14 86.97L181.14 87.11L181 87.11L181 87.24L180.87 87.24L180.87 87.37L180.74 87.37L180.74 87.51L180.61 87.51L180.61 87.64L180.47 87.64L180.47 87.77L180.34 87.77L180.34 87.9L180.07 87.9L180.07 88.04L179.94 88.04L179.94 88.17L179.81 88.17L179.81 88.3L179.67 88.3L179.67 88.44L179.54 88.44L179.54 88.57L179.41 88.57L179.41 88.7L179.28 88.7L179.28 88.83L179.14 88.83L179.14 88.97L179.01 88.97L179.01 89.1L178.74 89.1L178.74 89.23L178.61 89.23L178.61 89.37L178.48 89.37L178.48 89.5L178.35 89.5L178.35 89.63L178.21 89.63L178.21 89.76L178.08 89.76L178.08 89.9L177.95 89.9L177.95 90.03L177.81 90.03L177.81 90.16L177.68 90.16L177.68 90.3L177.42 90.3L177.42 90.43L177.28 90.43L177.28 90.56L177.15 90.56L177.15 90.7L177.02 90.7L177.02 90.83L176.88 90.83L176.88 90.96L176.75 90.96L176.75 91.09L176.62 91.09L176.62 91.23L176.49 91.23L176.49 91.36L176.22 91.36L176.22 91.49L176.09 91.49L176.09 91.63L1
275.95 91.63L175.95 91.76L175.82 91.76L175.82 91.89L175.69 91.89L175.69 92.02L175.55 92.02L175.55 92.16L175.42 92.16L175.42 92.29L175.29 92.29L175.29 92.42L175.16 92.42L175.16 92.56L174.89 92.56L174.89 92.69L174.76 92.69L174.76 92.82L174.62 92.82L174.62 92.95L174.49 92.95L174.49 93.09L174.36 93.09L174.36 93.22L174.23 93.22L174.23 93.35L174.09 93.35L174.09 93.49L173.96 93.49L173.96 93.62L173.83 93.62L173.83 93.75L173.56 93.75L173.56 93.88L173.43 93.88L173.43 94.02L173.3 94.02L173.3 94.15L173.16 94.15L173.16 94.28L173.03 94.28L173.03 94.42L172.9 94.42L172.9 94.55L172.76 94.55L172.76 94.68L172.63 94.68L172.63 94.82L172.37 94.82L172.37 94.95L172.23 94.95L172.23 95.08L172.1 95.08L172.1 95.21L171.97 95.21L171.97 95.35L171.83 95.35L171.83 95.48L171.7 95.48L171.7 95.61L171.57 95.61L171.57 95.75L171.43 95.75L171.43 95.88L171.3 95.88L171.3 96.01L171.04 96.01L171.04 96.14L170.9 96.14L170.9 96.28L170.77 96.28L170.77 96.41L170.64 96.41L170.64 96.54L170.5 96.54L170.5 96.68L170.37 96.68L170.37 96.81L170.24 96.81L170.24 96.94L170.11 96.94L170.11 97.07L169.97 97.07L169.97 97.21L169.71 97.21L169.71 97.34L169.57 97.34L169.57 97.47L169.44 97.47L169.44 97.61L169.31 97.61L169.31 97.74L169.18 97.74L169.18 97.87L169.04 97.87L169.04 98L168.91 98L168.91 98.14L168.78 98.14L168.78 98.27L168.51 98.27L168.51 98.4L168.38 98.4L168.38 98.54L168.24 98.54L168.24 98.67L168.11 98.67L168.11 98.8L167.98 98.8L167.98 98.94L167.85 98.94L167.85 99.07L167.71 99.07L167.71 99.2L167.58 99.2L167.58 99.33L167.45 99.33L167.45 99.47L167.18 99.47L167.18 99.6L167.05 99.6L167.05 99.73L166.92 99.73L166.92 99.87L166.78 99.87L166.78 100L166.65 100L166.65 100.13L166.52 100.13L166.52 100.26L166.38 100.26L166.38 100.4L166.25 100.4L166.25 100.53L166.12 100.53L166.12 100.66L165.85 100.66L165.85 100.8L165.72 100.8L165.72 100.93L165.59 100.93L165.59 101.06L165.45 101.06L165.45 101.19L165.32 101.19L165.32 101.33L165.19 101.33L165.19 101.46L165.06 101.46L165.06 101.59L164.92 101.59L164.92 101.73L164.66 101.73L164.66 101.86L164.52 101.86L164.52 101.99L164.39 101.99L164.39 102.13L164.26 102.13L164.26 102.26L164.12 102.26L164.12 102.39L163.99 102.39L163.99 102.52L163.86 102.52L163.86 102.66L163.73 102.66L163.73 102.79L163.59 102.79L163.59 102.92L163.33 102.92L163.33 103.06L163.19 103.06L163.19 103.19L163.06 103.19L163.06 103.32L162.93 103.32L162.93 103.45L162.8 103.45L162.8 103.59L162.66 103.59L162.66 103.72L162.53 103.72L162.53 103.85L162.4 103.85L162.4 103.99L162.26 103.99L162.26 104.12L162 104.12L162 104.25L161.87 104.25L161.87 105.85L161.73 105.85L161.73 106.51L161.6 106.51L161.6 107.04L161.47 107.04L161.47 107.44L161.33 107.44L161.33 107.84L161.2 107.84L161.2 108.11L161.07 108.11L161.07 108.5L160.94 108.5L160.94 108.77L160.8 108.77L160.8 109.04L160.67 109.04L160.67 109.17L160.54 109.17L160.54 109.43L160.4 109.43L160.4 109.57L160.27 109.57L160.27 109.7L160.14 109.7L160.14 109.83L159.87 109.83L159.87 109.97L157.35 109.97L157.35 109.83L156.55 109.83L156.55 109.7L155.75 109.7L155.75 109.57L155.09 109.57L155.09 109.43L154.42 109.43L154.42 109.3L153.76 109.3L153.76 109.17L153.09 109.17L153.09 109.04L152.56 109.04L152.56 108.9L151.9 108.9L151.9 108.77L151.23 108.77L151.23 108.64L150.7 108.64L150.7 108.5L150.17 108.5L150.17 108.37L149.51 108.37L149.51 108.24L148.97 108.24L148.97 108.11L148.31 108.11L148.31 107.97L147.64 107.97L147.64 107.84L147.11 107.84L147.11 107.71L146.45 107.71L146.45 107.57L145.78 107.57L145.78 107.44L145.12 107.44L145.12 107.31L144.45 107.31L144.45 107.18L143.66 107.18L143.66 107.04L142.86 107.04L142.86 106.91L142.2 106.91L142.2 106.78L141.13 106.78L141.13 106.64L140.2 106.64L140.2 106.51L138.61 106.51L138.61 106.38L135.68 106.38L135.68 106.51L134.75 106.51L134.75 106.64L134.22 106.64L134.22 106.78L133.82 106.78L133.82 106.91L133.42 106.91L133.42 107.04L133.16 107.04L133.16 107.18L132.89 107.18L132.89 107.31L132.76 107.31L132.76 107.44L132.49 107.44L132.49 107.57L132.36 107.57L132.36 107.71L132.23 107.71L132.23 107.97L132.09 107.97L132.09 108.11L131.96 108.11L131.96 108.24L131.83 108.24L131.83 108.5L131.7 108.5L131.7 108.77L131.56 108.77L131.56 108.9L131.43 108.9L131.43 109.3L131.3 109.3L131.3 109.7L131.16 109.7L131.16 111.03L131.3 111.03L131.3 111.43L131.43 111.43L131.43 111.69L131.56 111.69L131.56 111.83L131.7 111.83L131.7 112.09L131.83 112.09L131.83 112.23L131.96 112.23L131.96 112.3
26L132.09 112.36L132.09 112.49L132.23 112.49L132.23 112.62L132.36 112.62L132.36 112.76L132.49 112.76L132.49 112.89L132.63 112.89L132.63 113.02L132.76 113.02L132.76 113.16L132.89 113.16L132.89 113.29L133.02 113.29L133.02 113.42L133.16 113.42L133.16 113.56L133.42 113.56L133.42 113.69L133.56 113.69L133.56 113.82L133.69 113.82L133.69 113.95L133.82 113.95L133.82 114.09L134.09 114.09L134.09 114.22L134.22 114.22L134.22 114.35L134.35 114.35L134.35 114.49L134.49 114.49L134.49 114.62L134.62 114.62L134.62 114.75L134.89 114.75L134.89 114.88L135.02 114.88L135.02 115.02L135.15 115.02L135.15 115.15L135.28 115.15L135.28 115.28L135.55 115.28L135.55 115.42L135.68 115.42L135.68 115.55L135.82 115.55L135.82 115.68L135.95 115.68L135.95 115.81L136.08 115.81L136.08 115.95L136.21 115.95L136.21 116.08L136.48 116.08L136.48 116.21L136.61 116.21L136.61 116.35L136.75 116.35L136.75 116.48L136.88 116.48L136.88 116.61L137.01 116.61L137.01 116.74L137.14 116.74L137.14 116.88L137.28 116.88L137.28 117.01L137.41 117.01L137.41 117.14L137.54 117.14L137.54 117.28L137.68 117.28L137.68 117.41L137.81 117.41L137.81 117.54L137.94 117.54L137.94 117.81L138.08 117.81L138.08 117.94L138.21 117.94L138.21 118.07L138.34 118.07L138.34 118.21L138.47 118.21L138.47 118.34L138.61 118.34L138.61 118.61L138.74 118.61L138.74 118.74L138.87 118.74L138.87 118.87L139.01 118.87L139.01 119.14L139.14 119.14L139.14 119.27L139.27 119.27L139.27 119.54L139.4 119.54L139.4 119.67L139.54 119.67L139.54 119.93L139.67 119.93L139.67 120.07L139.8 120.07L139.8 120.33L139.94 120.33L139.94 120.6L140.07 120.6L140.07 120.86L140.2 120.86L140.2 121.13L140.33 121.13L140.33 121.4L140.47 121.4L140.47 121.66L140.6 121.66L140.6 121.93L140.73 121.93L140.73 122.19L140.87 122.19L140.87 122.59L141 122.59L141 122.99L141.13 122.99L141.13 123.39L141.26 123.39L141.26 123.92L141.4 123.92L141.4 124.32L141.53 124.32L141.53 124.85L141.66 124.85L141.66 125.65L141.8 125.65L141.8 126.58L141.93 126.58L141.93 127.51L142.06 127.51L142.06 131.36L141.93 131.36L141.93 132.29L141.8 132.29L141.8 132.96L141.66 132.96L141.66 133.49L141.53 133.49L141.53 133.89L141.4 133.89L141.4 134.42L141.26 134.42L141.26 134.82L141.13 134.82L141.13 135.22L141 135.22L141 135.62L140.87 135.62L140.87 135.88L140.73 135.88L140.73 136.15L140.6 136.15L140.6 136.55L140.47 136.55L140.47 136.81L140.33 136.81L140.33 137.08L140.2 137.08L140.2 137.48L140.07 137.48L140.07 137.61L139.94 137.61L139.94 137.88L139.8 137.88L139.8 138.14L139.67 138.14L139.67 138.41L139.54 138.41L139.54 138.67L139.4 138.67L139.4 138.81L139.27 138.81L139.27 139.07L139.14 139.07L139.14 139.34L139.01 139.34L139.01 139.6L138.87 139.6L138.87 139.74L138.74 139.74L138.74 140L138.61 140L138.61 140.14L138.47 140.14L138.47 140.4L138.34 140.4L138.34 140.53L138.21 140.53L138.21 140.8L138.08 140.8L138.08 140.93L137.94 140.93L137.94 141.2L137.81 141.2L137.81 141.33L137.68 141.33L137.68 141.6L137.54 141.6L137.54 141.73L137.41 141.73L137.41 142L137.28 142L137.28 142.13L137.14 142.13L137.14 142.26L137.01 142.26L137.01 142.53L136.88 142.53L136.88 142.66L136.75 142.66L136.75 142.79L136.61 142.79L136.61 143.06L136.48 143.06L136.48 143.19L136.35 143.19L136.35 143.33L136.21 143.33L136.21 143.59L136.08 143.59L136.08 143.72L135.95 143.72L135.95 143.86L135.82 143.86L135.82 143.99L135.68 143.99L135.68 144.12L135.55 144.12L135.55 144.39L135.42 144.39L135.42 144.52L135.28 144.52L135.28 144.66L135.15 144.66L135.15 144.79L135.02 144.79L135.02 144.92L134.89 144.92L134.89 145.05L134.75 145.05L134.75 145.32L134.62 145.32L134.62 145.45L134.49 145.45L134.49 145.59L134.35 145.59L134.35 145.72L134.22 145.72L134.22 145.85L134.09 145.85L134.09 145.98L133.96 145.98L133.96 146.12L133.82 146.12L133.82 146.38L133.69 146.38L133.69 146.52L133.56 146.52L133.56 146.65L133.42 146.65L133.42 146.78L133.29 146.78L133.29 146.91L133.16 146.91L133.16 147.05L133.02 147.05L133.02 147.18L132.89 147.18L132.89 147.31L132.76 147.31L132.76 147.45L132.63 147.45L132.63 147.58L132.49 147.58L132.49 147.71L132.36 147.71L132.36 147.84L132.23 147.84L132.23 147.98L132.09 147.98L132.09 148.11L131.96 148.11L131.96 148.24L131.83 148.24L131.83 148.38L131.7 148.38L131.7 148.51L131.56 148.51L131.56 148.64L131.43 148.64L131.43 148.78L131.3 148.78L131.3 148.91L131.16 148.91L131.16 149.04L131.03 149.04L131.03 149.17L130.9 149.17L130.9 149.31L130.77 149.31L130.77 149.44L130.63 149.44L130.63 149.57L130.5 149.57L130.5 149.71L130.37 149.71L130.37 149.84L130.23 149.84L130.23 149.97L130.1 149.97L130.1 150.1L129.97 150.1L129.97 150.24L129.84 150.24L129.84 150.37L129.7 150.37L129.7 150.5L129.57 150.5L129.57 150.64L129.44 150.64L129.44 150.77L129.3 150.77L129.3 150.9L129.17 150.9L129.17 151.03L128.9 151.03L128.9 151.17L128.77 151.17L128.77 151.3L128.64 151.3L128.64 151.43L128.51 151.43L128.51 151.57L128.37 151.57L128.37 151.7L128.24 151.7L128.24 151.83L128.11 151.83L128.11 151.96L127.97 151.96L127.97 152.1L127.71 152.1L127.71 152.23L127.58 152.23L127.58 152.36L127.44 152.36L127.44 152.5L127.31 152.5L127.31 152.63L127.18 152.63L127.18 152.76L127.
204 152.76L127.04 152.9L126.91 152.9L126.91 153.03L126.65 153.03L126.65 153.16L126.51 153.16L126.51 153.29L126.38 153.29L126.38 153.43L126.25 153.43L126.25 153.56L126.11 153.56L126.11 153.69L125.98 153.69L125.98 153.83L125.71 153.83L125.71 153.96L125.58 153.96L125.58 154.09L125.45 154.09L125.45 154.22L125.32 154.22L125.32 154.36L125.18 154.36L125.18 154.49L124.92 154.49L124.92 154.62L124.78 154.62L124.78 154.76L124.65 154.76L124.65 154.89L124.52 154.89L124.52 155.02L124.39 155.02L124.39 155.15L124.12 155.15L124.12 155.29L123.99 155.29L123.99 155.42L123.85 155.42L123.85 155.55L123.72 155.55L123.72 155.69L123.46 155.69L123.46 155.82L123.32 155.82L123.32 155.95L123.19 155.95L123.19 156.08L123.06 156.08L123.06 156.22L122.79 156.22L122.79 156.35L122.66 156.35L122.66 156.48L122.53 156.48L122.53 156.62L122.39 156.62L122.39 156.75L122.26 156.75L122.26 156.88L122.13 156.88L122.13 157.02L122.26 157.02L122.26 157.15L122.66 157.15L122.66 157.28L123.46 157.28L123.46 157.41L124.39 157.41L124.39 157.55L125.45 157.55L125.45 157.68L126.51 157.68L126.51 157.81L127.71 157.81L127.71 157.95L128.77 157.95L128.77 158.08L129.7 158.08L129.7 158.21L130.63 158.21L130.63 158.34L131.43 158.34L131.43 158.48L132.09 158.48L132.09 158.61L132.89 158.61L132.89 158.74L133.56 158.74L133.56 158.88L134.09 158.88L134.09 159.01L134.75 159.01L134.75 159.14L135.15 159.14L135.15 159.27L135.68 159.27L135.68 159.41L136.08 159.41L136.08 159.54L136.61 159.54L136.61 159.67L136.88 159.67L136.88 159.81L137.28 159.81L137.28 159.94L137.54 159.94L137.54 160.07L137.94 160.07L137.94 160.21L138.21 160.21L138.21 160.34L138.61 160.34L138.61 160.47L138.74 160.47L138.74 160.6L139.01 160.6L139.01 160.74L139.27 160.74L139.27 160.87L139.54 160.87L139.54 161L139.67 161L139.67 161.14L139.94 161.14L139.94 161.27L140.07 161.27L140.07 161.4L140.2 161.4L140.2 161.53L140.33 161.53L140.33 161.67L140.47 161.67L140.47 161.8L140.6 161.8L140.6 161.93L140.73 161.93L140.73 162.07L140.87 162.07L140.87 162.2L141 162.2L141 162.33L141.13 162.33L141.13 162.6L141.26 162.6L141.26 162.86L141.4 162.86L141.4 163.13L141.53 163.13L141.53 163.93L141.66 163.93L141.66 164.99L141.53 164.99L141.53 165.52L141.4 165.52L141.4 165.92L141.26 165.92L141.26 166.32L141.13 166.32L141.13 166.45L62.45 166.45ZM152.3 100.26L152.43 100.26L152.43 100.13L152.3 100.13L152.3 100.26Z",id:"aitbXlRB5"}),(0,o.createElementVNode)("linearGradient",{id:"gradientb4HNfQKOU6",gradientUnits:"userSpaceOnUse",x1:"91.78",y1:"166.34",x2:"91.78",y2:"0"},[(0,o.createElementVNode)("stop",{style:{"stop-color":"#b62923","stop-opacity":"1"},offset:"0%"}),(0,o.createElementVNode)("stop",{style:{"stop-color":"#f04e21","stop-opacity":"1"},offset:"100%"})])]),(0,o.createElementVNode)("g",null,[(0,o.createElementVNode)("g",null,[(0,o.createElementVNode)("use",{"xlink:href":"#aitbXlRB5",opacity:"1",fill:"url(#gradientb4HNfQKOU6)"}),(0,o.createElementVNode)("g",null,[(0,o.createElementVNode)("use",{"xlink:href":"#aitbXlRB5",opacity:"1","fill-opacity":"0",stroke:"#000000","stroke-width":"1","stroke-opacity":"0"})])])])],-1);const i={},a=(0,n(3744).Z)(i,[["render",function(e,t){var n=(0,o.resolveComponent)("inertia-link");return(0,o.openBlock)(),(0,o.createBlock)(n,{href:"/"},{default:(0,o.withCtx)((function(){return[r]})),_:1})}]])},9007:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(3868),r={class:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},i={class:"flex items-center justify-between flex-wrap"},a={class:"w-0 flex-1 flex items-center min-w-0"},l={key:0,class:"h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},s=[(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)],u={key:1,class:"h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},c=[(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"},null,-1)],d={class:"ml-3 font-medium text-sm text-white truncate"},A={class:"flex-shrink-0 sm:ml-3"},p=[(0,o.createElementVNode)("svg",{class:"h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)];const f={data:function(){return{show:!0}},computed:{}};const h=(0,n(3744).Z)(f,[["render",function(e,t,n,f,h,m){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[h.show&&e.message?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)({"bg-indigo-500":"success"==e.style,"bg-red-700":"danger"==e.style})},[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("span",{class:(0,o.normalizeClass)(["flex p-2 rounded-lg",{"bg-indigo-600":"success"==e.style,"bg-red-600":"danger"==e.style}])},["success"==e.style?((0,o.openBlock)(),(0,o.createElementBlock)("svg",l,s)):(0,o.createCommentVNode)("",!0),"danger"==e.style?((0,o.openBlock)(),(0,o.createElementBlock)("svg",u,c)
2):(0,o.createCommentVNode)("",!0)],2),(0,o.createElementVNode)("p",d,(0,o.toDisplayString)(e.message),1)]),(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("button",{type:"button",class:(0,o.normalizeClass)(["-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",{"hover:bg-indigo-600 focus:bg-indigo-600":"success"==e.style,"hover:bg-red-600 focus:bg-red-600":"danger"==e.style}]),"aria-label":"Dismiss",onClick:t[0]||(t[0]=(0,o.withModifiers)((function(e){return h.show=!1}),["prevent"]))},p,2)])])])],2)):(0,o.createCommentVNode)("",!0)])}]])},7894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(3868),r={class:"b-modal-wrapper"},i=[function(e){return(0,o.pushScopeId)("data-v-5221e1cc"),e=e(),(0,o.popScopeId)(),e}((function(){return(0,o.createElementVNode)("div",{class:"absolute inset-0 bg-gray-500 opacity-75"},null,-1)}))];const a={inheritAttrs:!1,emits:["close"],props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},watch:{show:{immediate:!0,handler:function(e){document.body.style.overflow=e?"hidden":null}}},setup:function(e,t){var n=t.emit,r=function(){e.closeable&&n("close")},i=function(t){"Escape"===t.key&&e.show&&r()};return(0,o.onMounted)((function(){return document.addEventListener("keydown",i)})),(0,o.onUnmounted)((function(){return document.removeEventListener("keydown",i)})),{close:r}},computed:{}};const l=(0,n(3744).Z)(a,[["render",function(e,t,n,a,l,s){return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"body"},[(0,o.createVNode)(o.Transition,{"leave-active-class":"duration-200"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",r,[(0,o.createVNode)(o.Transition,{"enter-active-class":"ease-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",{class:"fixed inset-0 transform transition-all",onClick:t[0]||(t[0]=function(){return a.close&&a.close.apply(a,arguments)})},i,512),[[o.vShow,n.show]])]})),_:1}),(0,o.createVNode)(o.Transition,{"enter-active-class":"ease-out duration-300","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",(0,o.mergeProps)({class:"b-modal"},e.$attrs),[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)],16),[[o.vShow,n.show]])]})),_:3})],512),[[o.vShow,n.show]])]})),_:3})])}],["__scopeId","data-v-5221e1cc"]])},6076:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["type"];const i={props:{type:{type:String,default:"submit"},buttonStyle:{type:String,default:null},noStyling:{type:Boolean,default:!1}},computed:{buttonClass:function(){return this.buttonStyle||(this.noStyling?null:"primary")},btnClasses:function(){return this.noStyling?"btn naked "+(this.buttonClass?"btn-".concat(this.buttonClass):""):"btn uppercase btn-".concat(this.buttonClass)}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("button",{type:n.type,class:(0,o.normalizeClass)(l.btnClasses)},[(0,o.renderSlot)(e.$slots,"default")],10,r)}]])},7110:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["value"];const i={emits:["update:checked"],props:{checked:{type:[Array,Boolean],default:!1},value:{default:null}},computed:{proxyChecked:{get:function(){return this.checked},set:function(e){this.$emit("update:checked",e)}}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{type:"checkbox",value:n.value,"onUpdate:modelValue":t[0]||(t[0]=function(e){return l.proxyChecked=e})},null,8,r)),[[o.vModelCheckbox,l.proxyChecked]])}]])},8117:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["type"];const i={props:{type:{type:String,default:"button"}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("button",{type:n.type,class:"inline-flex items-center justify-center px-4 py-2 bg-red-600 border border-transparent roun
2ded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-red-500 focus:outline-none focus:border-red-700 focus:shadow-outline-red active:bg-red-600 transition ease-in-out duration-150"},[(0,o.renderSlot)(e.$slots,"default")],8,r)}]])},2099:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Oe});var o=n(3868),r=["innerHTML"],i={key:1,class:"data-property__icon"},a={key:2,class:"data-property__icon"},l={class:"data-property__label"},s={class:"modal__title"},u={key:0,class:"modal__sub-title"},c={key:1,class:"text-danger mb-2"},d={class:"form-group"},A=(0,o.createElementVNode)("label",{for:"store-amazon"},"Amazon",-1),p={key:0,class:"invalid-feedback"},f={class:"form-group"},h=(0,o.createElementVNode)("label",{for:"store-ibook"},"iBooks",-1),m={key:0,class:"invalid-feedback"},v={class:"form-group"},g=(0,o.createElementVNode)("label",{for:"store-bookshop"},"Bookshop.org",-1),y={key:0,class:"invalid-feedback"},b={class:"form-group"},w=(0,o.createElementVNode)("label",{for:"identifiers-isbn-10"},"ISBN 10",-1),L={key:0,class:"invalid-feedback"},C={class:"form-group"},B=(0,o.createElementVNode)("label",{for:"identifiers-isbn-13"},"ISBN 13",-1),_={key:0,class:"invalid-feedback"},k={class:"form-group"},x=(0,o.createElementVNode)("label",{for:"identifiers-asin"},"ASIN",-1),S={key:0,class:"invalid-feedback"},E={class:"modal__action"},T=(0,o.createTextVNode)(" Set "),N={key:2,class:"modal__footer"},F=(0,o.createTextVNode)(" Not in our database yet?"),V=(0,o.createElementVNode)("br",null,null,-1),O=["href"];var U=n(9828),Q=n(8330),q=n(6076),M=["type","value"];const I={props:{type:{type:String,default:"text"},value:String,valuePlaceholder:String},emits:["input"],data:function(){return{inputValue:this.value||this.valuePlaceholder}},watch:{value:function(e){e&&(this.inputValue=e)}},methods:{focus:function(){this.$refs.input.focus()},emitValue:function(e){var t=e.target.value;this.valuePlaceholder?t!==this.valuePlaceholder?this.$emit("input",e.target.value):this.$emit("input",null):this.valuePlaceholder||this.$emit("input",e.target.value)}}};var P=n(3744);const D=(0,P.Z)(I,[["render",function(e,t,n,r,i,a){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{type:n.type,value:i.inputValue,onInput:t[0]||(t[0]=function(e){return a.emitValue(e)}),ref:"input"},null,40,M)}]]);var H=n(6351),R={class:"input-pills"},j=(0,o.createTextVNode)(" No results matched your search query "),$=(0,o.createTextVNode)(" No results "),z={class:"input-pills__selected"},K={class:"input-pills__selected__item__value"},W={class:"input-pills__selected__item__icon"};var Y=n(2931),G=n(6252),Z=n(4390),J=n.n(Z);function X(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){if(e){if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const oe={inheritAttrs:!1,components:{SButton:q.Z},props:{options:{type:Array,default:[]},value:{type:Array,default:[]}},emits:["input"],methods:{focus:function(){this.$refs.input.focus()},emitOption:function(e){this.$emit("input",e.map((function(e){return e.value}))),this.$refs.input.hidePopup()},removeItem:function(e){this.model.length&&(this.model.splice(e,1),this.emitOption(this.model))}},setup:function(e){var t=(0,Y.Vh)(e,"options"),n=(0,Y.iH)(ee(e.options)),o=(0,Y.Vh)(e,"value"),r=(0,Y.iH)(e.options.filter((function(t){return e.value.includes((null==t?void 0:t.value)||t)})));return(0,G.YP)([o,t],(function(e){var t=X(e,2),n=t[0],o=t[1];r.value=n?o.filter((function(e){return n.includes((null==e?void 0:e.value)||e)})):[]})),{model:r,selectOptions:t,filteredOptions:n,filterOptions:function(t,r,i){r((function(){n.value=e.options.filter((function(e){if(o.value&&o.value.includes((null==e?void 0:e.value)||e))return!1;var n=t.toLowerCase(),r="".concat(e.label||e.value||e||""),i="".concat(e.value||e||"");return J()(n,r.toLowerCase())||J()(n,i.toLowerCase())}))}))}}}},re=(0,P.Z)(oe,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("q-item-section"),s=(0,o.resolveComponent)("q-item"),u=(0,o.resolveComponent)("q-select"),c=(0,o.resolveComponent)("q-icon"),d=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",R,[(0,o.createVNode)(u,{class:"q-select-custom",borderless:"",rounded:"",outlined:"","use-input":"","fill-input"
2:"","hide-selected":"","input-debounce":"0",modelValue:r.model,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.model=e}),a.emitOption],multiple:"",onFilter:r.filterOptions,options:r.filteredOptions,ref:"input"},{"no-option":(0,o.withCtx)((function(){return[(0,o.createVNode)(s,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(l,{class:"text-italic text-grey"},{default:(0,o.withCtx)((function(){return[r.selectOptions.length?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[j],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[$],64))]})),_:1})]})),_:1})]})),_:1},8,["modelValue","onUpdate:modelValue","onFilter","options"]),(0,o.createElementVNode)("div",z,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.model,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(d,{key:"p_".concat(t),type:"button","button-style":"primary-contrast",class:"input-pills__selected__item",onClick:function(e){return a.removeItem(t)}},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",K,(0,o.toDisplayString)(e.label||e),1),(0,o.createElementVNode)("div",W,[(0,o.createVNode)(c,{name:"close"})])]})),_:2},1032,["onClick"])})),128))])])}],["__scopeId","data-v-54b7c9ba"]]);function ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const le={inheritAttrs:!1,props:{type:{type:String,default:"text"},value:String|Date},emits:["input"],watch:{stringValue:function(e){/(^0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[0-2])-(\d{4}$)/.test(e)&&(this.dateValue=this.dateFromLabel(e),this.$emit("input",this.dateValue))}},data:function(){return{datePickerOpen:!1,dateValue:this.formatDate(this.value),stringValue:this.formatLabel(this.value)}},methods:{focus:function(){},selectDate:function(e){this.$refs.popup.hide(),this.stringValue=this.formatLabel(e),this.$emit("input",this.dateValue)},formatDate:function(e){if(e){var t=ie(e.split("-").map(Number),3),n=t[0],o=t[1],r=t[2],i=new Date(n,o-1,r);return U.hTZ.formatDate(i,"YYYY-MM-DD",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}},formatLabel:function(e){if(!e)return"";var t=ie(e.split("-").map(Number),3),n=t[0],o=t[1],r=t[2],i=new Date(n,o-1,r);return U.hTZ.formatDate(i,"MM-DD-YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})},dateFromLabel:function(e){var t=ie(e.split("-"),3),n=t[0],o=t[1],r=t[2];return this.formatDate("".concat(r,"-").concat(n,"-").concat(o))}}},se=(0,P.Z)(le,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("q-date"),s=(0,o.resolveComponent)("q-popup-proxy"),u=(0,o.resolveComponent)("q-icon"),c=(0,o.resolveComponent)("q-input");return(0,o.openBlock)(),(0,o.createBlock)(c,(0,o.mergeProps)({ref:"input",modelValue:i.stringValue,"onUpdate:modelValue":t[2]||(t[2]=function(e){return i.stringValue=e})},e.$attrs,{mask:"##-##-####",class:"clear-style","hide-bottom-sp
2ace":""}),{append:(0,o.withCtx)((function(){return[(0,o.createVNode)(u,{name:"event",class:"cursor-pointer"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(s,{modelValue:i.datePickerOpen,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.datePickerOpen=e}),class:"date-popup",ref:"popup",cover:"","transition-show":"scale","transition-hide":"scale"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(l,{modelValue:i.dateValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return i.dateValue=e}),a.selectDate],mask:"YYYY-MM-DD"},null,8,["modelValue","onUpdate:modelValue"])]})),_:1},8,["modelValue"])]})),_:1})]})),_:1},16,["modelValue"])}]]);var ue={class:"image"},ce=["src"],de={class:"image__action"},Ae=function(e){return(0,o.pushScopeId)("data-v-408b06cc"),e=e(),(0,o.popScopeId)(),e}((function(){return(0,o.createElementVNode)("p",{class:"text-gray text-center"},"Drag an image or click the `ADD IMAGE` button to upload an image.",-1)})),pe=(0,o.createTextVNode)("ADD IMAGE");var fe=n(626);const he={props:{type:{type:String,default:"text"},value:Object},emits:["input"],components:{SButton:q.Z},watch:{image:function(e){var t=this;if(this.imagePreview=null,e){if(e instanceof File)return void(0,fe.Fq)(e).then((function(e){t.$emit("input",e)})).catch((function(e){console.error(e),t.$q.dialog({html:!0,title:"Image Error",message:"".concat(e,"<br>Please use a different image..."),rounded:!0,ok:{rounded:!0}}).onDismiss((function(){t.$emit("input",void 0)}))}));this.$emit("input",e)}},value:function(e){this.image=e,this.imagePreview=null}},computed:{currentImage:function(){var e,t=this;return this.imagePreview?this.imagePreview:this.image instanceof File?new Promise((function(e,n){var o=new FileReader;o.onload=function(n){t.imagePreview=n.target.result,e(t.imagePreview)},o.onerror=function(){n(null)},o.readAsDataURL(t.image)})):this.isURL(this.image)?this.image:null!==(e=this.image)&&void 0!==e&&e.public_path?this.image.public_path:route("api.image-placeholder")}},data:function(){var e,t;return{imageDragging:!1,imagePreview:(null===(e=this.book)||void 0===e||null===(t=e.image)||void 0===t?void 0:t.public_path)||null,image:this.value,isVisibleObserver:void 0}},methods:{focus:function(){this.$refs.imageInput.focus()},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.image=e.dataTransfer.files[t])}},mounted:function(){var e=this;this.isVisibleObserver=new IntersectionObserver((function(t){t[0].isIntersecting?(document.addEventListener("drop",e.fileDropped,!0),document.addEventListener("dragover",e.draggingOver,!0),document.addEventListener("dragleave",e.notDraggingOver,!0)):(document.removeEventListener("drop",e.fileDropped,!0),document.removeEventListener("dragover",e.draggingOver,!0),document.removeEventListener("dragleave",e.notDraggingOver,!0))})),this.isVisibleObserver.observe(this.$el)},beforeUnmount:function(){this.isVisibleObserver&&this.isVisibleObserver.disconnect()}},me=(0,P.Z)(he,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",ue,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["image__image",i.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:a.currentImage},null,8,ce)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[0]||(t[0]=function(){return a.fileSelected&&a.fileSelected.apply(a,arguments)})},null,544),(0,o.createElementVNode)("div",de,[Ae,(0,o.createVNode)(l,{"button-style":"primary",onClick:(0,o.withModifiers)(a.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[pe]})),_:1},8,["onClick"])])])}],["__scopeId","data-v-408b06cc"]]);var ve={ref:"container",class:"input-location"},ge={ref:"autocompleteContainer"},ye=["value"];var be=n(7757),we=n.n(be),Le=n(5055);function Ce(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function Be(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){Ce(i,o,r,a,l,"next",e)}function l(e){Ce(i,o,r,a,l,"throw",e)}a(void 0)}))}}const _e={props:{type:{type:String,default:"text"},value:String},emits:["input"],data:function(){return{inputValue:this.value}},watch:{value:function(e){e&&(this.inputValue=e)}},methods:{focus:function(){var e,t;null===(e=this.$refs.container)||void 0===e||null===(t=e.querySelector("input"))||void 0===t||t.focus()},emitValue:function(e){e?this.$emit("input",e.target.value):this.$emit("input",this.inputValue)}},mounted:function(){var e=this;return Be(we().mark((function t(){var n;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Le.b3;case 2:n=new google.maps.places.PlaceAutocompleteElement({includedPrimaryTypes:["locality","administrative_area_level_1","administrative_area_level_2"]}),e.value&&(n.placeholder=e.value),e.$refs.autocompleteContainer.appendChild(n),n.addEventListener("gmp-select",function(){var t=Be(we().mark((function t(o){var r,i;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.placePrediction,i=r.toPlace(),t.next=4,i.fetchFields({fields:["formattedAddress","location"]});case 4:i&&i.location&&(e.inputValue=i.formattedAddress,e.emitValue(),n.placeholder=i.formattedAddress);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 6:case"end":return t.stop()}}),t)})))()}},ke=(0,P.Z)(_e,[["render",function(e,t,n,r,i,a){return(0,o.openBlock)(),(0,o.createElementBlock)("div",ve,[(0,o.createElementVNode)("div",ge,null,512),(0,o.createElementVNode)("input",{type:"hidden",value:i.inputValue},null,8,ye)],512)}],["__scopeId","data-v-3c1a8e3f"]]);function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Se(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){Ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){return Fe="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},Fe(e)}const Ve={inheritAttrs:!1,mixins:[{props:{selectOptions:{type:Array,required:!1,default:[]},selectOptionsRes:{type:String,required:!1,validator:function(e){return["language","awards","categories","characters","author","authors","book","books","place","places","users"].includes(e)}},selectOptionsUrl:{type:String,required:!1}},data:function(){return{inputOptions:this.selectOptions,optionsResourceUrl:this.selectOptionsUrl,optionsFormatter:function(e){return e}}},methods:{fetchOptions:function(){var e=this;axios.get(this.optionsResourceUrl).then((function(t){t.data.data&&(e.inputOptions=e.optionsFormatter(t.data.data),e.updateLabel())}))}},mounted:function(){switch(this.selectOptionsRes){case"language":this.optionsResourceUrl=route("api.resources.languages"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.name}}))},this.fetchOptions();break;case"awards":this.optionsResourceUrl=route("api.resources.awards"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.name}}))},this.fetchOptions();break;case"categories":this.optionsResourceUrl=route("api.resources.categories"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.category_name}}))},this.fetchOptions();break;case"characters":this.optionsResourceUrl=route("api.resources.characters"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.character_name}}))},this.fetchOptions();break;case"author":case"authors":this.optionsResourceUrl=route("api.resources.authors"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.author_name}}))},this.fetchOptions();break;case"book":case"books":this.optionsResourceUrl=route("api.resources.books"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.title}}))},this.fetchOptions();break;case"place":case"places":this.optionsResourceUrl=route("api.resources.places"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.place_name}}))},this.fetchOptions();break;case"users":this.optionsResourceUrl=route("api.resources.users"),this.optionsFormatter=function(e){return e.map((function(e){return{value:e.id,label:e.username}}))},this.fetchOptions()}}}],emits:["onSave","update:modelValue","onError"],props:{type:{type:String,default:"text"},modelValue:[Object,String,Number],error:{type:[String,Object],required:!1},label:{type:String,required:!1},icon:{type:String,required:!1},ionIcon:{type:String,required:!1},emojiIcon:{type:String,required:!1},valuePlaceholder:String},components:{Modal:Q.Z,SButton:q.Z,InputText:D,InputSelect:H.Z,InputPills:re,InputDate:se,InputImage:me,InputLocation:ke},watch:{modelValue:function(e){this.imagePreview=null,this.updateValue(e)}},data:function(){return{editing:!1,updatedValue:this.modelValue,originalLabel:this.label,updatedLabel:this.label||this.getUpdatedLabel(this.modelValue),imagePreview:null}},methods:{startEditing:function(){var e=this;this.editing=!0,this.$nextTick((function(){return e.$refs.input.focus()}))},emitValue:function(){var e=this.updatedValue;this.originalLabel=this.updatedLabel||(null==e?void 0:e.label)||e,"select"===this.type?this.$emit("update:modelValue",e.value):this.$emit("update:modelValue",e)}
2,updateValue:function(e,t){var n=this;if(t)return this.updatedValue[t]=e,void this.updateLabel();if(this.updatedValue=e,this.valueIsImage&&e instanceof File){var o=new FileReader;o.onload=function(e){n.imagePreview=e.target.result},o.readAsDataURL(e)}this.updateLabel()},updateStoreValue:function(e,t){try{var n=new URL(e);if(new URLSearchParams(n.search).get("tag"))return void this.$emit("onError","store_urls.".concat(t),"Please change your link to the correct format");this.$emit("onError","store_urls.".concat(t),""),this.updateValue(e,t)}catch(e){this.$emit("onError","store_urls.".concat(t),"Please change your link to the correct format")}},emitAndClose:function(){this.emitValue(),this.$emit("onSave"),this.closeModal()},closeModal:function(){var e=this;this.editing=!1,this.$nextTick((function(){e.modelValue!==e.updatedValue&&(e.updatedValue=e.modelValue,e.updatedLabel=e.originalLabel)}))},updateLabel:function(){this.updatedLabel=this.getUpdatedLabel(this.updatedValue)},getUpdatedLabel:function(e){if(!e||!Array.isArray(e)&&"object"===Fe(e)&&Object.keys(Te({},e)).length)return this.originalLabel;if(this.valueIsArray){var t=this.inputOptions.filter((function(t){return e.includes(t.value)})).map((function(e){return e.label}));return t.length>3?"".concat(t[0],", ").concat(t[1]," and ").concat(t.length-2," more"):t.join(", ")}if(this.valueHasOptions)return this.inputOptions.filter((function(t){return t.value===e})).map((function(e){return e.label})).join(", ");if(this.valueIsDate&&("object"===Fe(e)||/^-?[\d]+\-[0-1]\d\-[0-3]\d$/.test(e))){if(!e)return"";var n=xe(e.split("-").map(Number),3),o=n[0],r=n[1],i=n[2],a=new Date(o,r-1,i);return U.hTZ.formatDate(a,"MM-DD-YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}if(this.valueIsImage)return"";var l=(null==e?void 0:e.label)||e||"";return this.valuePlaceholder&&(l=l.replace(this.valuePlaceholder,"")),l}},computed:{buttonClasses:function(){return{btn:!0,"btn-primary":!this.error,"btn-danger":!!this.error,"btn-primary-inverse-washed":!this.hasModelValue||this.editing,filled:this.hasModelValue,editing:this.editing}},valueIsArray:function(){return["select-pills"].includes(this.type)},valueHasOptions:function(){return["select","select-pills"].includes(this.type)},hasModelValue:function(){return Object.keys(Te({},this.modelValue)).length?Object.values(this.modelValue).some((function(e){return!!e})):this.modelValue&&this.valueIsArray?!!this.modelValue.length:!!this.modelValue},valueIsDate:function(){return["date"].includes(this.type)},valueIsImage:function(){return["image"].includes(this.type)},valueIsObject:function(){return["store-urls","book_identifiers"].includes(this.type)}},mounted:function(){if(!this.label&&(this.updatedLabel=this.getUpdatedLabel(this.modelValue),this.valueIsDate&&this.updatedValue instanceof Date)){var e=U.hTZ.formatDate(this.updatedValue,"YYYY-MM-DD",{});this.$emit("update:modelValue",e||null)}}},Oe=(0,P.Z)(Ve,[["render",function(e,t,n,U,Q,q){var M=(0,o.resolveComponent)("q-icon"),I=(0,o.resolveComponent)("input-select"),P=(0,o.resolveComponent)("input-pills"),D=(0,o.resolveComponent)("input-date"),H=(0,o.resolveComponent)("input-image"),R=(0,o.resolveComponent)("input-text"),j=(0,o.resolveComponent)("input-location"),$=(0,o.resolveComponent)("s-button"),z=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["data-property",q.buttonClasses]),onClick:t[6]||(t[6]=function(e){return Q.editing?void 0:q.startEditing()})},[n.icon?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"data-property__icon",innerHTML:n.icon},null,8,r)):n.ionIcon?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createVNode)(M,{name:n.ionIcon},null,8,["name"])])):n.emojiIcon?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,(0,o.toDisplayString)(n.emojiIcon),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("span",l,[!q.hasModelValue||q.valueIsObject||q.valueIsImage?(0,o.renderSlot)(e.$slots,"default",{key:1}):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createTextVNode)((0,o.toDisplayString)(Q.updatedLabel),1)],64))]),(0,o.createVNode)(z,{show:Q.editing,onClose:q.closeModal,class:"modal-light"},{default:(0,o.withCtx)((function(){var r,i,a,l,U,z;return[(0,o.createElementVNode)("div",s,[e.$slots.customTitle?(0,o.renderSlot)(e.$slots,"customTitle",{key:0}):(0,o.renderSlot)(e.$slots,"default",{key:1})]),e.$slots.helperText?((0,o.openBlock)(),(0,o.createElementBlock)("div",u,[(0,o.renderSlot)(e.$slots,"helperText")])):(0,o.createCommentVNode)("",!0),n.error?((0,o.openBlock)(),(0,o.createElementBlock)("div",c,["string"==typeof n.error?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createVNode)(M,{name:"warning"}),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(n.error),1)],64)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",null,["select"===n.type?((0,o.openBlock)(),(0,o.createBlock)(I,(0,o.mergeProps)({key:0,class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{value:Q.updatedValue,onInput:q.updateValue,options:e.inputOptions,ref:"input"}),null,16,["class","value","onInput","options"])):"select-pills"===n.type?((0,o.openBlock)(),(0,o.createBlock)(P,(0,o.mergeProps)({key:1,class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{value:Q.updatedValue,onInput:q.updateValue,options:e.inputOptions,ref:"input"}),null,16,["class","value","onInput","options"])):"date"===n.type?((0,o.openBlock)(),(0,o.createBlock)(D,(0,o.mergeProps)({key:2,class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{value:Q.updatedValue,onInput:q.updateValue,ref:"input"}),null,16,["class","value","onInput"])):"image"===n.type?((0,o.openBlock)(),(0,o.createBlock)(H,(0,o.mergeProps)({key:3,class:["",{"is-invalid":!!n.error}]},e.$attrs,{value:Q.updatedValue,onInput:q.updateValue,ref:"input"}),null,16,["class","value","onInput"])):"store-urls"===n.type?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:4},[(0,o.createElementVNode)("div",d,[A,(0,o.createVNode)(R,(0,o.mergeProps)({id:"store-amazon",class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{type:"url",value:Q.updatedValue.amazon,onInput:t[0]||(t[0]=function(e){return q.updateStoreValue(e,"amazon")}),ref:"input",placeholder:"e.g. https://www.amazon.com/dp/B000000000"}),null,16,["class","value"]),null!==(r=n.error)&&void 0!==r&&r["store_urls.amazon"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",p,(0,o.toDisplayString)(n.error["store_urls.amazon"].replace("store_urls.amazon","Amazon URL")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",f,[h,(0,o.createVNode)(R,(0,o.mergeProps)({id:"store-ibook",class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{type:"url",value:Q.updatedValue.ibooks,onInput:t[1]||(t[1]=function(e){return q.updateStoreValue(e,"ibooks")}),ref:"input0",placeholder:"e.g. https://www.apple.com/books/product/B000000000"}),null,16,["class","value"]),null!==(i=n.error)&&void 0!==i&&i["store_urls.ibooks"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",m,(0,o.toDisplayString)(n.error["store_urls.ibooks"].replace("store_urls.ibooks","iBooks URL")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",v,[g,(0,o.createVNode)(R,(0,o.mergeProps)({id:"store-bookshop",class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{type:"url",value:Q.updatedValue.bookshop,onInput:t[2]||(t[2]=function(e){return q.updateStoreValue(e,"bookshop")}),ref:"input1",placeholder:"e.g. https://bookshop.org/a/000000000"}),null,16,["class","value"]),null!==(a=n.error)&&void 0!==a&&a["store_urls.bookshop"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",y,(0,o.toDisplayString)(n.error["store_urls.bookshop"].replace("store_urls.bookshop","Bookshop.org URL")),1)):(0,o.createCommentVNode)("",!0)])],64)):"book_identifiers"===n.type?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:5},[(0,o.createElementVNode)("div",b,[w,(0,o.createVNode)(R,(0,o.mergeProps)({id:"identifiers-isbn-10",class:["form-control",{"is-invalid":!!n.error}],placeholder:"10-digit ISBN"},e.$attrs,{type:"url",value:Q.updatedValue.ISBN_10,onInput:t[3]||(t[3]=function(e){return q.updateValue(e,"ISBN_10")}),ref:"input"}),null,16,["class","value"]),null!==(l=n.error)&&void 0!==l&&l["identifiers.ISBN_10"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",L,(0,o.toDisplayString)(n.error["identifiers.ISBN_10"].replace("identifiers.ISBN_10","ISBN 10")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",C,[B,(0,o.createVNode)(R,(0,o.mergeProps)({id:"identifiers-isbn-13",class:["form-control",{"is-invalid":!!n.error}],placeholder:"13-digit ISBN"},e.$attrs,{type:"url",value:Q.updatedValue.ISBN_13,onInput:t[4]||(t[4]=function(e){return q.updateValue(e,"ISBN_13")}),ref:"input0"}),null,16,["class","value"]),null!==(U=n.error)&&void 0!==U&&U["identifiers.ISBN_13"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",_,(0,o.toDisplayString)(n.error["identifiers.ISBN_13"].replace("identifiers.ISBN_13","ISBN 13")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",k,[x,(0,o.createVNode)(R,(0,o.mergeProps)({id:"identifiers-asin",class:["form-control",{"is-invalid":!!n.error}],placeholder:"ASIN (for audiobooks)"},e.$attrs,{type:"url",value:Q.updatedValue.ASIN,onInput:t[5]||(t[5]=function(e){return q.updateValue(e,"ASIN")}),ref:"input1"}),null,16,["class","value"]),null!==(z=n.error)&&void 0!==z&&z["identifiers.ASIN"]?((0,o.openBlock)(),(0,o.createElementBlock)("div",S,(0,o.toDisplayString)(n.error["identifiers.ASIN"].replace("identifiers.ASIN","ASIN")),1)):(0,o.createCommentVNode)("",!0)])],64)):"location"===n.type?((0,o.openBlock)(),(0,o.createBlock)(j,(0,o.mergeProps)({key:6,class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{value:Q.updatedValue,onInput:q.updateValue,ref:"input"}),null,16,["class","value","onInput"])):((0,o.openBlock)(),(0,o.createBlock)(R,(0,o.mergeProps)({key:7,"value-placeholder":n.valuePlaceholder,class:["form-control",{"is-invalid":!!n.error}]},e.$attrs,{type:n.type,value:Q.updatedValue,onInput:q.updateValue,ref:"input"}),null,16,["value-placeholder","class","type","value","onInput"]))]),(0,o.createElementVNode)("div",E,[(0,o.createVNode)($,{"button-style":"primary",onClick:(0,o.withModifiers)(q.emitAndClose,["prevent"])},{default:(0,o.withCtx)((function(){return[T,e.$slots.customTitle?(0,o.renderSlot)(e.$slots,"customTitle",{key:0}):(0,o.renderSlot)(e.$slots,"default",{key:1})]})),_:3},8,["onClick"])]),["awards"].includes(e.selectOptionsRes)?((0,o.openBlock)(),(0,o.createElementBlock)("div",N,[F,V,"awards"===e.selectOptionsRes?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,href:"mailto:[email protected]?subject=".concat(encodeURIComponent("Squirl award suggestion"),"&body=").concat(encodeURIComponent("I would like to suggest an award for the Squirl Author Tool:"))},"Suggest an award",8,O)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)]})),_:3},8,["show","onClose"])],2)}]])},6351:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(3868),r=(0,o.createTextVNode)(" No results matched your search query "),i=(0,o.createTextVNode)(" No results ");var a=n(2931),l=n(6252),s=n(4390),u=n.n(s);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||A(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const f={inheritAttrs:!1,props:{options:{type:Array,default:[]},value:[Object,String,Number]},emits:["input"],methods:{focus:function(){this.$refs.input.focus()},emitOption:function(e){this.$emit("input",e)}},setup:function(e){var t=(0,a.Vh)(e,"options"),n=(0,a.iH)(d(e.options)),o=(0,a.Vh)(e,"value"),r=(0,a.iH)(e.options.find((function(t){var n;return((null==t?void 0:t.value)||t)==((null===(n=e.value)||void 0===n?void 0:n.value)||e.value)})));return(0,l.YP)([o,t],(function(e){var t=c(e,2),n=t[0],o=t[1];r.value=o.find((function(e){return((null==e?void 0:e.value)||e)==((null==n?void 0:n.value)||n)}))})),{model:r,selectOptions:t,filteredOptions:n,filterOptions:function(t,o,r){o((function(){n.value=e.options.filter((function(e){var n=t.toLowerCase(),o="".concat(e.label||e.value||e||""),r="".concat(e.value||e||"");return u()(n,o.toLowerCase())||u()(n,r.toLowerCase())}))}))}}}};const h=(0,n(3744).Z)(f,[["render",function(e,t,n,a,l,s){var u=(0,o.resolveComponent)("q-item-section"),c=(0,o.resolveComponent)("q-item"),d=(0,o.resolveComponent)("q-select");return(0,o.openBlock)(),(0,o.createBlock)(d,{class:"q-select-custom",borderless:"",rounded:"",outlined:"","use-input":"","fill-input":"","hide-selected":"","input-debounce":"0",modelValue:a.model,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return a.model=e}),s.emitOption],onFilter:a.filterOptions,options:a.filteredOptions,ref:"input"},{"no-option":(0,o.withCtx)((function(){return[(0,o.createVNode)(c,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(u,{class:"text-italic text-grey"},{default:(0,o.withCtx)((function(){return[a.selectOptions.length?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[r],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[i],64))]})),_:1})]})),_:1})]})),_:1},8,["modelValue","onUpdate:modelValue","onFilter","options"])}]])},381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(3868),r={class:"px-6 py-4"},i={class:"text-lg"},a={class:"mt-4"},l={class:"px-6 py-4 text-right"};const s={emits:["close"],components:{Modal:n(8330).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};const u=(0,n(3744).Z)(s,[["render",function(e,t,n,s,u,c){var d=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createBlock)(d,{show:n.show,"max-width":n.maxWidth,closeable:n.closeable,onClose:c.close},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",i,[(0,o.renderSlot)(e.$slots,"title")]),(0,o.createElementVNode)("div",a,[(0,o.renderSlot)(e.$slots,"content")])]),(0,o.createElementVNode)("div",l,[(0,o.renderSlot)(e.$slots,"footer")])]})),_:3},8,["show","max-width","closeable","onClose"])}]])},8675:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r={class:"dropdown"};const i={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},setup:function(){var e=(0,o.ref)(!1),t=function(t){e.value&&27===t.keyCode&&(e.value=!1)};return(0,o.onMounted)((function(){return document.addEventListener("keydown",t)})),(0,o.onUnmounted)((function(){return document.removeEventListener("keydown",t)})),{open:e}},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"origin-top-right right-0":"origin-top"}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createElementVNode)("div",{onClick:t[0]||(t[0]=function(e){return i.open=!i.open})},[(0,o.renderSlot)(e.$slots,"trigger")]),(0,o.withDirectives)((0,o.createElementVNode)("div",{class:"fixed inset-0 z-40",onClick:t[1]||(t[1]=function(e){return i.open=!1})},null,512),[[o.vShow,i.open]]),(0,o.createVNode)(o.Transition,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["absolute z-50 mt-2 rounded-md shadow-lg",[l.widthClass,l.alignmentClasses]]),style:{display:"none"},onClick:t[2]||(t[2]=function(e){return i.open=!1})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["rounded-md ring-red ring-opacity-5",n.contentClasses])}
2,[(0,o.renderSlot)(e.$slots,"content")],2)],2),[[o.vShow,i.open]])]})),_:3})])}]])},4341:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(3868),r={key:0,type:"submit",class:"block w-full px-4 py-2 text-sm leading-5 text-gray-700 text-left hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"},i=["href"],a={key:2,class:"block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",style:{cursor:"pointer"}};const l={props:["href","as"],computed:{needsLink:function(){return!!this.href},needsInertia:function(){var e;return!(null!==(e=this.href)&&void 0!==e&&e.includes("mailto:"))}}};const s=(0,n(3744).Z)(l,[["render",function(e,t,n,l,s,u){var c=(0,o.resolveComponent)("inertia-link");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,["button"==n.as?((0,o.openBlock)(),(0,o.createElementBlock)("button",r,[(0,o.renderSlot)(e.$slots,"default")])):u.needsLink?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[u.needsInertia?((0,o.openBlock)(),(0,o.createBlock)(c,{key:0,href:n.href,class:"block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"},{default:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"default")]})),_:3},8,["href"])):((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:1,href:n.href,class:"block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"},[(0,o.renderSlot)(e.$slots,"default")],8,i))],64)):((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.renderSlot)(e.$slots,"default")]))])}]])},2681:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(3868),r={class:"md:grid md:grid-cols-3 md:gap-6"},i={class:"mt-5 md:mt-0 md:col-span-2"},a={class:"grid grid-cols-6 gap-6"},l={key:0,class:"flex items-center justify-end px-4 py-3 bg-gray-50 text-right sm:px-6 shadow sm:rounded-bl-md sm:rounded-br-md"};const s={emits:["submitted"],components:{JetSectionTitle:n(5772).Z},computed:{hasActions:function(){return!!this.$slots.actions}}};const u=(0,n(3744).Z)(s,[["render",function(e,t,n,s,u,c){var d=(0,o.resolveComponent)("jet-section-title");return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createVNode)(d,{class:"mt-5 md:mt-0"},{title:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"title")]})),description:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"description")]})),_:3}),(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("form",{onSubmit:t[0]||(t[0]=(0,o.withModifiers)((function(t){return e.$emit("submitted")}),["prevent"]))},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["px-4 py-5 bg-white sm:p-6 shadow",c.hasActions?"sm:rounded-tl-md sm:rounded-tr-md":"sm:rounded-md"])},[(0,o.createElementVNode)("div",a,[(0,o.renderSlot)(e.$slots,"form")])],2),c.hasActions?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.renderSlot)(e.$slots,"actions")])):(0,o.createCommentVNode)("",!0)],32)])])}]])},6064:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["value"];const i={props:["modelValue"],emits:["update:modelValue"],methods:{focus:function(){this.$refs.input.focus()}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("input",{class:"form-control",value:n.modelValue,onInput:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.value)}),ref:"input"},null,40,r)}]])},24:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r={class:"text-sm text-red-600"};const i={props:["message"]};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createElementVNode)("p",r,(0,o.toDisplayString)(n.message),1)],512)),[[o.vShow,n.message]])}]])},271:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(3868),r={class:"text-gray"},i={key:0},a={key:1};const l={props:["value"]};const s=(0,n(3744).Z)(l,[["render",function(e,t,n,l,s,u){return(0,o.openBlock)(),(0,o.createElementBlock)("label",r,[n.value?((0,o.openBlock)(),(0,o.createElementBlock)("span",i,(0,o.toDisplayString)(n.value),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",a,[(0,o.renderSlot)(e.$slots,"default")]))])}]])},8573:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["src"];const i={name:"LazyImage",props:{imgUrl:{type:String,required:!0}},setup:function(){var e,t=(0,o.ref)(!1),n=(0,o.ref)(null);return(0,o.onMounted)((function(){e=new IntersectionObserver((function(n){n.forEac
2h((function(n){n.isIntersecting&&(t.value=!0,e.unobserve(n.target))}))}),{rootMargin:"50px"}),n.value&&e.observe(n.value)})),(0,o.onUnmounted)((function(){e&&e.disconnect()})),{isVisible:t,imageElement:n}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("img",{ref:"imageElement",src:i.isVisible?n.imgUrl:""},null,8,r)}]])},6638:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ne});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-58ab627e"),e=e(),(0,o.popScopeId)(),e},i={class:"books"},a={key:0,class:"books__title"},l={class:"books__list"},s=r((function(){return(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 24 24",fill:"currentColor"},[(0,o.createElementVNode)("path",{d:"M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z","fill-rule":"evenodd","clip-rule":"evenodd"})],-1)})),u={key:0},c={key:1},d={class:"book__title text-gray"},A={key:1,class:"book empty"},p={class:"book__title text-gray"},f=(0,o.createTextVNode)(" NEXT STEP: Add your first book "),h=(0,o.createTextVNode)(" STEP 2: Add your first book and link it to one of your author profiles. "),m=r((function(){return(0,o.createElementVNode)("h2",null,"Who wrote this masterpiece?",-1)})),v=r((function(){return(0,o.createElementVNode)("p",{class:"select-author__description"},"Select or create an author to continue.",-1)})),g={class:"select-author__actions"},y=(0,o.createTextVNode)(" Select Author(s)"),b=(0,o.createTextVNode)("Create Author"),w={key:0,class:"select-author__results"},L={class:"select-author__results__actions"},C=(0,o.createTextVNode)("Cancel"),B=(0,o.createTextVNode)("Add Book");var _=n(9828),k=n(6076),x=n(8330),S=n(6687),E=n(5288),T=function(e){return(0,o.pushScopeId)("data-v-1b53bf84"),e=e(),(0,o.popScopeId)(),e},N=T((function(){return(0,o.createElementVNode)("h2",null,"How would you like to set up this book?",-1)})),F=T((function(){return(0,o.createElementVNode)("p",{class:"select-book__description"},"Enter the details yourself, or search the title so we can prefill the book info for you.",-1)})),V={class:"select-book__actions"},O=(0,o.createTextVNode)("Add Manually"),U=(0,o.createTextVNode)("Search Title"),Q={key:0,class:"select-book__search"},q={key:"loader",class:"select-book__loader"},M={class:"select-book__loader__text"},I={key:"results",class:"select-book__results"},P={class:"books__list"},D=["onClick"],H={class:"book__title text-gray"},R={key:"error",class:"select-book__error"},j={class:"select-book__error__text"},$={key:"no-results",class:"select-book__no-results"},z={class:"select-book__no-results__title"};const K={components:{Modal:x.Z,SButton:k.Z,Search:S.Z},props:{show:{type:Boolean,default:!1},author:{type:Object,required:!0}},emits:["close"],data:function(){return{searchingBook:!1,searchError:null,titleSearchQuery:"",debounceTimer:null,searchResults:null,isSearching:!1}},watch:{titleSearchQuery:function(e){var t=this;this.searchResults=null,this.debounceTimer&&clearTimeout(this.debounceTimer),e.trim()&&(this.debounceTimer=setTimeout((function(){t.performSearch()}),300))}},methods:{addManually:function(){this.author?this.$inertia.visit(route("authors.books.create",{author:this.author})):this.$inertia.visit(route("books.create"))},performSearch:function(){var e=this;this.titleSearchQuery&&this.titleSearchQuery.trim()?(this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),this.isSearching=!0,this.searchResults=null,axios.get(route("authors.google-books",{author:this.author.id}),{params:{title:this.titleSearchQuery.trim()}}).then((function(t){e.searchResults=t.data.data,t.data.error&&(e.searchError=t.data.error)})).catch((function(e){console.error("Error searching for books:",e)})).finally((function(){e.isSearching=!1}))):this.searchResults=null},useBook:function(e){var t=this;e.id?this.$inertia.post(route("books.add-from-api"),{author_id:this.author.id,book_id:e.id},{onSuccess:function(){t.$emit("close")},onError:function(e){console.error("Error using book from API:",e)}}):console.error("Book does not have an id property")}}};var W=n(3744);const Y=(0,W.Z)(K,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("s-button"),s=(0,o.resolveComponent)("Search"),u=(0,o.resolveComponent)("q-spinner-hourglass"),c=(0,o.resolveComponent)("q-icon"),d=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createBlock)(d,{show:n.show,onClose:t[2]||(t[2]=function(t){return e.$emit("close")}),class:"select-book-modal"},{default:(0,o.withCtx)((function(){return[N,F,(0,o.createElementVNode)("div",V,[i.searchingBook?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,t
2ype:"button","button-style":"primary-contrast",onClick:a.addManually},{default:(0,o.withCtx)((function(){return[O]})),_:1},8,["onClick"])),i.searchingBook?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,type:"button","button-style":"primary-contrast",onClick:t[0]||(t[0]=function(e){return i.searchingBook=!0})},{default:(0,o.withCtx)((function(){return[U]})),_:1}))]),(0,o.createVNode)(o.Transition,{name:"grow"},{default:(0,o.withCtx)((function(){return[i.searchingBook?((0,o.openBlock)(),(0,o.createElementBlock)("div",Q,[(0,o.createVNode)(s,{modelValue:i.titleSearchQuery,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.titleSearchQuery=e}),placeholder:"Enter book title",onKeyupEnter:a.performSearch},null,8,["modelValue","onKeyupEnter"]),(0,o.createVNode)(o.Transition,{name:"grow",mode:"out-in"},{default:(0,o.withCtx)((function(){return[i.isSearching?((0,o.openBlock)(),(0,o.createElementBlock)("div",q,[(0,o.createVNode)(u,{color:"primary",size:"3em"}),(0,o.createElementVNode)("p",M,"Searching books from "+(0,o.toDisplayString)(n.author.author_name)+"...",1)])):i.searchResults&&i.searchResults.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",I,[(0,o.createElementVNode)("div",P,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.searchResults.slice(0,15),(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"book",key:e.id||e.google_id,onClick:function(t){return a.useBook(e)}},[(0,o.createElementVNode)("div",{class:"book__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('".concat(e.thumbnail||"/images/empty_book_cover.png","');"))},null,4),(0,o.createElementVNode)("h5",H,(0,o.toDisplayString)(e.title),1)],8,D)})),128))])])):i.searchError?((0,o.openBlock)(),(0,o.createElementBlock)("div",R,[(0,o.createVNode)(c,{name:"warning",color:"primary",size:"3em"}),(0,o.createElementVNode)("p",j,(0,o.toDisplayString)(i.searchError),1)])):i.titleSearchQuery&&!i.isSearching&&i.searchResults&&!i.searchResults.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",$,[(0,o.createElementVNode)("p",z,'No books found for "'+(0,o.toDisplayString)(i.titleSearchQuery)+'".',1)])):(0,o.createCommentVNode)("",!0)]})),_:1})])):(0,o.createCommentVNode)("",!0)]})),_:1})]})),_:1},8,["show"])}],["__scopeId","data-v-1b53bf84"]]);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const te={components:{SButton:k.Z,Modal:x.Z,Search:S.Z,Menu:E.Z,SelectBookApiModal:Y},props:{withoutAdd:{type:Boolean,default:!1},books:Array,author:{type:Object,required:!1}},data:function(){return{showingModal:!1,searchingAuthor:!1,authorSearchQuery:"",authorResults:[],selectedAuthors:[],showingBookApiModal:!1}},watch:{searchingAuthor:function(){this.searchAuthor()},authorSearchQuery:function(){this.searchAuthor()}},computed:{authorsMenuList:function(){return[].concat(X(this.mapAuthorsToMenuList(this.selectedAuthors,!0)),X(this.filterSelectedFromMenuList(this.authorResults))).map((function(e){return Z(Z({},e),{},{id:e.id||e.author.id||Math.floor(100*Math.random())})}))}},methods:{routeForBook:function(e){return this.author?route("authors.books.show",{author:this.author,book:e}):route("books.show",{book:e})},addBook:function(){this.author?this.$inertia.visit(this.author?route("authors.books.create",{author:this.author}):route("books.create")):this.showModal()},addBookWithAuthors:function(){if([1,3,32,148,3270].includes(this.$page.props.user.id)){if(1===this.selectedAuthors.length||this.author)return void(this.showingBookApiModal=!0)}else if(1===this.selectedAuthors.length||this.author)return void this.$inertia.visit(route("authors.books.create",{author:this.selectedAuthors[0]||this.author}));this.$inertia.visit(route("books.create"),{data:{authors:this.selectedAuthors.map((function(e){return e.id}))}})},searchAuthor:function(){var e=this;axios.post(route("api.search.author"),{query:this.authorSearchQuery}).then((function(t){e.authorResults=e.mapAuthorsToMenuList(t.data)})).catch((function(e){}))},selectAuthor:function(e){this.selectedAuthors.some((function(t){return t.id===e.author.id}))?this.selectedAuthors=this.selectedAuthors.filter((function(t){return t.id!==e.author.id})):this.selectedAuthors.push(e.author)},showModal:function(){this.showingModal=!0},hideModal:function(){this.showingModal=!1},filterSelectedFromMenuList:function(e){var t=this;return e.filter((function(e){return!t.selectedAuthors.some((function(t){return t.id===e.author.id}))}))},mapAuthorsToMenuList:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){var n;return(n=e.author&&e.name?e:{name:e.author_name,author:e}).selected=!!t||!!n.selected,n}))},formatDate:function(e){return _.hTZ.formatDate(e,"MMM. Do YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}}},ne=(0,W.Z)(te,[["render",function(e,t,n,r,_,k){var x=(0,o.resolveComponent)("s-button"),S=(0,o.resolveComponent)("inertia-link"),E=(0,o.resolveComponent)("search"),T=(0,o.resolveComponent)("Menu"),N=(0,o.resolveComponent)("modal"),F=(0,o.resolveComponent)("SelectBookApiModal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",l,[n.withoutAdd?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,t
2ype:"button","button-style":"primary",class:"book add",onClick:t[0]||(t[0]=function(e){return n.author?k.addBookWithAuthors():k.addBook()}),title:n.author?"Add a Book":"Create the Author before adding Books"},{default:(0,o.withCtx)((function(){return[s]})),_:1},8,["title"])),(0,o.createVNode)(o.TransitionGroup,{name:"book-list"},{default:(0,o.withCtx)((function(){return[n.books.length?((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(n.books,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(S,{class:"book",key:e.id,href:k.routeForBook(e)},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",{class:"book__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('".concat(e.image?e.image.public_path:"/images/empty_book_cover.png","');"))},[e.published?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["book__image__publish-info",e.published_at?"planned":"unpublished"])},[e.published_at?((0,o.openBlock)(),(0,o.createElementBlock)("span",u," Will be published on "+(0,o.toDisplayString)(k.formatDate(e.published_at)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",c," Currently not published "))],2))],4),(0,o.createElementVNode)("h5",d,(0,o.toDisplayString)(e.title),1)]})),_:2},1032,["href"])})),128)):((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[(0,o.createElementVNode)("h5",p,[e.$slots.emptytext?(0,o.renderSlot)(e.$slots,"emptytext",{key:0},void 0,!0):n.author?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[f],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[h],64))])]))]})),_:3})]),(0,o.createVNode)(N,{show:_.showingModal,onClose:k.hideModal,class:"select-author-modal"},{default:(0,o.withCtx)((function(){return[m,v,(0,o.createElementVNode)("div",g,[_.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,type:"button","button-style":"primary-contrast",onClick:t[1]||(t[1]=function(e){return _.searchingAuthor=!0})},{default:(0,o.withCtx)((function(){return[y]})),_:1})),_.searchingAuthor?((0,o.openBlock)(),(0,o.createBlock)(E,{key:1,modelValue:_.authorSearchQuery,"onUpdate:modelValue":t[2]||(t[2]=function(e){return _.authorSearchQuery=e})},null,8,["modelValue"])):(0,o.createCommentVNode)("",!0),_.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(S,{key:2,href:e.route("authors.create"),class:"btn btn-primary-contrast"},{default:(0,o.withCtx)((function(){return[b]})),_:1},8,["href"]))]),(0,o.createVNode)(o.Transition,{name:"grow"},{default:(0,o.withCtx)((function(){return[_.searchingAuthor?((0,o.openBlock)(),(0,o.createElementBlock)("div",w,[(0,o.withDirectives)((0,o.createVNode)(T,{items:k.authorsMenuList,onSelect:k.selectAuthor,class:"author-results"},null,8,["items","onSelect"]),[[o.vShow,k.authorsMenuList.length]]),(0,o.createElementVNode)("div",L,[(0,o.createVNode)(x,{type:"button","button-style":"primary-contrast",onClick:t[3]||(t[3]=function(e){return _.searchingAuthor=!1})},{default:(0,o.withCtx)((function(){return[C]})),_:1}),(0,o.createVNode)(o.Transition,{name:"fade-grow"},{default:(0,o.withCtx)((function(){return[_.selectedAuthors.length?((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,type:"button",onClick:k.addBookWithAuthors},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0)]})),_:1})])])):(0,o.createCommentVNode)("",!0)]})),_:1})]})),_:1},8,["show","onClose"]),_.showingBookApiModal?((0,o.openBlock)(),(0,o.createBlock)(F,{key:1,show:_.showingBookApiModal,author:n.author||_.selectedAuthors[0],onClose:t[4]||(t[4]=function(e){return _.showingBookApiModal=!1})},null,8,["show","author"])):(0,o.createCommentVNode)("",!0)])}],["__scopeId","data-v-58ab627e"]])},635:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Q});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-6f22cb61"),e=e(),(0,o.popScopeId)(),e},i={class:"stories"},a={key:0,class:"stories__title"},l={class:"stories__list"},s=r((function(){return(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 24 24",fill:"
2currentColor"},[(0,o.createElementVNode)("path",{d:"M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z","fill-rule":"evenodd","clip-rule":"evenodd"})],-1)})),u={key:0},c={key:1},d={class:"story__title text-gray"},A={key:1,class:"story empty"},p={class:"story__title text-gray"},f=(0,o.createTextVNode)(" NEXT STEP: Add your first story "),h=(0,o.createTextVNode)(" Write location-based short stories for Squirl users to discover! "),m=r((function(){return(0,o.createElementVNode)("h2",null,"Who wrote this masterpiece?",-1)})),v=r((function(){return(0,o.createElementVNode)("p",{class:"select-author__description"},"Select or create an author to continue.",-1)})),g={class:"select-author__actions"},y=(0,o.createTextVNode)(" Select Author(s)"),b=(0,o.createTextVNode)("Create Author"),w={key:0,class:"select-author__results"},L={class:"select-author__results__actions"},C=(0,o.createTextVNode)("Cancel"),B=(0,o.createTextVNode)("Add story");var _=n(9828),k=n(6076),x=n(8330),S=n(6687),E=n(5288);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const U={components:{SButton:k.Z,Modal:x.Z,Search:S.Z,Menu:E.Z},props:{withoutAdd:{type:Boolean,default:!1},stories:Array,author:{type:Object,required:!1}},data:function(){return{showingModal:!1,searchingAuthor:!1,authorSearchQuery:"",authorResults:[],selectedAuthors:[]}},watch:{searchingAuthor:function(){this.searchAuthor()},authorSearchQuery:function(){this.searchAuthor()}},computed:{authorsMenuList:function(){return[].concat(V(this.mapAuthorsToMenuList(this.selectedAuthors,!0)),V(this.filterSelectedFromMenuList(this.authorResults))).map((function(e){return N(N({},e),{},{id:e.id||e.author.id||Math.floor(100*Math.random())})}))}},methods:{routeForStory:function(e){return this.author?route("authors.stories.show",{author:this.author,story:e}):route("stories.show",{story:e})},addStory:function(){this.author?this.$inertia.visit(this.author?route("authors.stories.create",{author:this.author}):route("stories.create")):this.showModal()},addStoryWithAuthors:function(){1!==this.selectedAuthors.length?this.$inertia.visit(route("stories.create"),{data:{authors:this.selectedAuthors.map((function(e){return e.id}))}}):this.$inertia.visit(route("authors.stories.create",{author:this.selectedAuthors[0]}))},searchAuthor:function(){var e=this;axios.post(route("api.search.author"),{query:this.authorSearchQuery}).then((function(t){e.authorResults=e.mapAuthorsToMenuList(t.data)})).catch((function(e){}))},selectAuthor:function(e){this.selectedAuthors.some((function(t){return t.id===e.author.id}))?this.selectedAuthors=this.selectedAuthors.filter((function(t){return t.id!==e.author.id})):this.selectedAuthors.push(e.author)},showModal:function(){this.showingModal=!0},hideModal:function(){this.showingModal=!1},filterSelectedFromMenuList:function(e){var t=this;return e.filter((function(e){return!t.selectedAuthors.some((function(t){return t.id===e.author.id}))}))},mapAuthorsToMenuList:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){var n;return(n=e.author&&e.name?e:{name:e.author_name,author:e}).selected=!!t||!!n.selected,n}))},formatDate:function(e){return _.hTZ.formatDate(e,"MMM. Do YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}}};const Q=(0,n(3744).Z)(U,[["render",function(e,t,n,r,_,k){var x=(0,o.resolveComponent)("s-button"),S=(0,o.resolveComponent)("inertia-link"),E=(0,o.resolveComponent)("search"),T=(0,o.resolveComponent)("Menu"),N=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",l,[n.withoutAdd?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,t
2ype:"button","button-style":"primary",class:"story add",onClick:k.addStory,title:n.author?"Add a story":"Create the Author before adding Stories"},{default:(0,o.withCtx)((function(){return[s]})),_:1},8,["onClick","title"])),(0,o.createVNode)(o.TransitionGroup,{name:"story-list"},{default:(0,o.withCtx)((function(){return[n.stories.length?((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(n.stories,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(S,{class:"story",key:e.id,href:k.routeForStory(e)},{default:(0,o.withCtx)((function(){var t,n;return[(0,o.createElementVNode)("div",{class:"story__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('".concat(e.image?e.image.public_path:"/images/empty_story_cover.png","');"))},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["story__image__title-overlay",(null==e||null===(t=e.image)||void 0===t||null===(n=t.meta)||void 0===n?void 0:n.overlay_position)||"center"])},(0,o.toDisplayString)(e.title),3),e.published?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["story__image__publish-info",e.published_at?"planned":"unpublished"])},[e.published_at?((0,o.openBlock)(),(0,o.createElementBlock)("span",u," Will be published on "+(0,o.toDisplayString)(k.formatDate(e.published_at)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",c," Currently not published "))],2))],4),(0,o.createElementVNode)("h5",d,(0,o.toDisplayString)(e.title),1)]})),_:2},1032,["href"])})),128)):((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[(0,o.createElementVNode)("h5",p,[e.$slots.emptytext?(0,o.renderSlot)(e.$slots,"emptytext",{key:0},void 0,!0):n.author?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[f],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[h],64))])]))]})),_:3})]),(0,o.createVNode)(N,{show:_.showingModal,onClose:k.hideModal,class:"select-author-modal"},{default:(0,o.withCtx)((function(){return[m,v,(0,o.createElementVNode)("div",g,[_.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,type:"button","button-style":"primary-contrast",onClick:t[0]||(t[0]=function(e){return _.searchingAuthor=!0})},{default:(0,o.withCtx)((function(){return[y]})),_:1})),_.searchingAuthor?((0,o.openBlock)(),(0,o.createBlock)(E,{key:1,modelValue:_.authorSearchQuery,"onUpdate:modelValue":t[1]||(t[1]=function(e){return _.authorSearchQuery=e})},null,8,["modelValue"])):(0,o.createCommentVNode)("",!0),_.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(S,{key:2,href:e.route("authors.create"),class:"btn btn-primary-contrast"},{default:(0,o.withCtx)((function(){return[b]})),_:1},8,["href"]))]),(0,o.createVNode)(o.Transition,{name:"grow"},{default:(0,o.withCtx)((function(){return[_.searchingAuthor?((0,o.openBlock)(),(0,o.createElementBlock)("div",w,[(0,o.withDirectives)((0,o.createVNode)(T,{items:k.authorsMenuList,onSelect:k.selectAuthor,class:"author-results"},null,8,["items","onSelect"]),[[o.vShow,k.authorsMenuList.length]]),(0,o.createElementVNode)("div",L,[(0,o.createVNode)(x,{type:"button","button-style":"primary-contrast",onClick:t[2]||(t[2]=function(e){return _.searchingAuthor=!1})},{default:(0,o.withCtx)((function(){return[C]})),_:1}),(0,o.createVNode)(o.Transition,{name:"fade-grow"},{default:(0,o.withCtx)((function(){return[_.selectedAuthors.length?((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,type:"button",onClick:k.addStoryWithAuthors},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0)]})),_:1})])])):(0,o.createCommentVNode)("",!0)]})),_:1})]})),_:1},8,["show","onClose"])])}],["__scopeId","data-v-6f22cb61"]])},8366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r={class:"popup-bubble-anchor"};const i={props:{map:{type:Object,required:!0},latLng:{type:Object,required:!0},onTop:{type:Boolean,default:!0}},setup:function(e){var t=(0,o.ref)(null),n=(0,o.ref)({}),r=(0,o.unref)(e.map),i=function(){var t=a.getProjection().fromLatLngToDivPixel((0,o.unref)(e.latLng));n.value.left=t.x+"px",n.value.top=t.y+"px"},a=new google.maps.OverlayView;return a.onAdd=function(){a.getPanes().floatPane.appendChild((0,o.unref)(t)),google.maps.OverlayView.preventMapHitsAndGesturesFrom((0,o.unref)(t))},a.draw=i,a.setMap(r),(0,o.watch)((function(){return e.latLng}),i),{popup:t,popupStyles:n}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"popup-container",style:(0,o.normalizeStyle)(i.popupStyles),ref:"popup"},[(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["popup-bubble",{"on-top":n.onTop}])},[(0,o.renderSlot)(e.$slots,"default")],2)])],4)}]])}
2,5288:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(3868),r=["onClick"],i={class:"menu__list__item__wrapper"};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=(0,o.defineComponent)({name:"Menu",emits:["select","close"],props:{items:{type:[Array,Object],default:[]},displayKey:{type:String,default:"name"}},setup:function(e,t){var n=t.emit,r=(0,o.ref)(-1),i=(0,o.ref)(),s=(0,o.toRef)(e,"displayKey"),u=function(e){e&&n("select","string"==typeof e?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))};(0,o.onMounted)((function(){var t;null===(t=i.value)||void 0===t||t.focus(),(0,o.nextTick)((function(){var t;(null===(t=e.items[0])||void 0===t?void 0:t.selected)&&(r.value=0)}))}));return{handleMenuItemClick:function(e,t,n){e.stopPropagation(),e.preventDefault(),t.disabled||(r.value=n,u(t))},menuRef:i,handleKeyUp:function(t){t.preventDefault(),t.stopPropagation();var o=r.value,i=e.items[o>-1?o:0],a=t.key,l=e.items.length;if("ArrowDown"===a)o<l-1?r.value+=1:o===l-1&&(r.value=0);else if("ArrowUp"===a){var s=o-1<0?l-1:o-1;r.value=s}else"Enter"===a?u(i):"Escape"===a&&n("close")},activeIndex:r,getDisplayValue:function(e){return e[s.value]}}}});const u=(0,n(3744).Z)(s,[["render",function(e,t,n,a,l,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{ref:"menuRef",class:"menu__wrapper",tabindex:"0",onKeyup:t[0]||(t[0]=function(){return e.handleKeyUp&&e.handleKeyUp.apply(e,arguments)})},[(0,o.createVNode)(o.TransitionGroup,{name:"menu-item",tag:"ul",class:"menu__list"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,(function(t,n){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{key:"item_".concat(t.id||"ind_"+n),class:(0,o.normalizeClass)(["menu__list__item",{selected:t.selected}]),onClick:function(o){return e.handleMenuItemClick(o,t,n)}},[(0,o.createElementVNode)("div",i,[e.$slots.value?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createTextVNode)((0,o.toDisplayString)(e.getDisplayValue(t)),1)],64)),(0,o.renderSlot)(e.$slots,"value",{item:t,index:n},void 0,!0)])],10,r)})),128))]})),_:3})],544)}],["__scopeId","data-v-6527cbf6"]])},8330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-ea7eed30"),e=e(),(0,o.popScopeId)(),e},i={class:"s-modal-wrapper"},a=[r((function(){return(0,o.createElementVNode)("div",{class:"absolute inset-0 bg-gray-500 opacity-75"},null,-1)}))],l=[r((function(){return(0,o.createElementVNode)("svg",{height:"56%",style:{"enable-background":"new 0 0 512 512"},version:"1.1",viewBox:"0 0 512 512",width:"56%","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[(0,o.createElementVNode)("path",{d:"M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z",style:{fill:"currentColor"}})],-1)}))];const s={inheritAttrs:!1,emits:["close"],props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},watch:{show:{immediate:!0,handler:function(e){document.body.style.overflow=e?"hidden":null}}},setup:function(e,t){var n=t.emit,r=function(){e.closeable&&n("close")},i=function(t){"Escape"===t.key&&e.show&&r()};return(0,o.onMounted)((function(){return document.addEventListener("keydown",i)}
2)),(0,o.onUnmounted)((function(){return document.removeEventListener("keydown",i)})),{close:r}},computed:{modalClass:function(){return[{sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[this.maxWidth],{closeable:this.closeable},this.$attrs.class]}}};const u=(0,n(3744).Z)(s,[["render",function(e,t,n,r,s,u){return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"body"},[(0,o.createVNode)(o.Transition,{"leave-active-class":"duration-200"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",i,[(0,o.createVNode)(o.Transition,{"enter-active-class":"ease-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",{class:"fixed inset-0 transform transition-all",onClick:t[0]||(t[0]=function(){return r.close&&r.close.apply(r,arguments)})},a,512),[[o.vShow,n.show]])]})),_:1}),(0,o.createVNode)(o.Transition,{"enter-active-class":"ease-out duration-300","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)((0,o.createElementVNode)("div",(0,o.mergeProps)({class:["s-modal sm:w-full sm:mx-auto",u.modalClass]},e.$attrs),[n.closeable?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:"close-button",onClick:t[1]||(t[1]=function(){return r.close&&r.close.apply(r,arguments)})},l)):(0,o.createCommentVNode)("",!0),(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)],16),[[o.vShow,n.show]])]})),_:3})],512),[[o.vShow,n.show]])]})),_:3})])}],["__scopeId","data-v-ea7eed30"]])},2376:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(3868);const r={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 text-sm font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}}};const i=(0,n(3744).Z)(r,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("inertia-link");return(0,o.openBlock)(),(0,o.createBlock)(l,{href:n.href,class:(0,o.normalizeClass)(a.classes)},{default:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"default")]})),_:3},8,["href","class"])}]])},2029:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(3868),r=(0,o.createTextVNode)(" Publish Now "),i=(0,o.createTextVNode)(" Publish Later "),a=(0,o.createTextVNode)(" Change Date "),l=(0,o.createTextVNode)(" Delete ");var s=n(9828),u={PUBLISH:"Publish",PUBLISH_AT:"Publish Later",UNPUBLISH:"Unpublish"};const c={inheritAttrs:!1,emits:["onSave","onDelete","onChangeAction","update:modelValue"],props:{modelValue:{type:String,default:null},withDelete:{type:Boolean,default:!1},onlyUnpublish:{type:Boolean,default:!1},disablePublish:{type:Boolean,default:!1},disableReason:{type:String,default:null}},data:function(){return{action:this.modelValue?u.PUBLISH_AT:u.PUBLISH,datePickerOpen:!1,publish_at_date:this.modelValue||null,PUBLISH_ACTIONS:u}},computed:{willBePublishedLater:function(){return this.action===u.PUBLISH_AT&&!!this.publish_at_date},formattedLabel:function(){if(this.onlyUnpublish)return u.UNPUBLISH;if(this.action||(this.action=this.publish_at_date?u.PUBLISH_AT:u.PUBLISH),this.willBePublishedLater){var e=s.hTZ.formatDate(this.publish_at_date,"MMM. Do YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"});return"Publish at ".concat(e)}return this.action},btnClasses:function(){return"".concat(this.$attrs.class," ").concat(this.$attrs.class.includes("btn-")?"":"btn-primary")}},methods:{setAction:function(e){this.action=e,e===u.PUBLISH?(this.publish_at_date=null,this.emitValueUpdate(),this.$emit("onChangeAction",u.PUBLISH)):e===u.PUBLISH_AT&&this.$refs.popup.show()},setDate:function(e){this.$refs.popup.hide(),this.publish_at_date=e,this.emitValueUpdate(),this.$emit("onChangeAction",u.PUBLISH_AT)},emitValueUpdate:function(){this.$emit("update:modelValue",this.formatValue(this.publish_at_date))},emitSave:function(e){if(!this.disablePublish)return this.onlyUnpublish?(this.action=u.PUBLISH,void this.$emit("onDelete")):void(this.action!==u.PUBLISH_AT||this.publish_at_date?(this.emitValueUpdate(),this.$emit("onSave",e)):this.$refs.popup.show());this.$q.notify({message:this.disableReason,color:"negative",icon:"warning",position:"right"})},formatValue:function(e){return s.hTZ.formatDate(e,"YYYY-MM-DD",{})}}};const d=(0,n(3744).Z)(c,[["render",function(e,t,n,s,u,c){var d=(0,o.resolveComponent)("q-item"),A=(0,o.resolveComponent)("q-list"),p=(0,o.resolveComponent)("q-btn-dropdown"),f=(0,o.resolveComponent)("q-date"),h=(0,o.resolveComponent)("q-popup-proxy"),m=(0,o.resolveDirective)("close-popup");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createVNode)(p,(0,o.mergeProps)({class:["btn btn-create",c.bt
2nClasses]},e.$attrs,{split:"",type:"button",label:c.formattedLabel,onClick:c.emitSave,"disable-dropdown":n.onlyUnpublish,title:n.disableReason||c.formattedLabel}),{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(A,null,{default:(0,o.withCtx)((function(){return[n.onlyUnpublish?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(d,{clickable:"",disable:n.disablePublish,title:n.disableReason,onClick:t[0]||(t[0]=function(e){return c.setAction(u.PUBLISH_ACTIONS.PUBLISH)})},{default:(0,o.withCtx)((function(){return[r]})),_:1},8,["disable","title"])),[[m]]),c.willBePublishedLater?(0,o.createCommentVNode)("",!0):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(d,{key:0,clickable:"",disable:n.disablePublish,title:n.disableReason,onClick:t[1]||(t[1]=function(e){return c.setAction(u.PUBLISH_ACTIONS.PUBLISH_AT)})},{default:(0,o.withCtx)((function(){return[i]})),_:1},8,["disable","title"])),[[m]]),u.publish_at_date?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(d,{key:1,clickable:"",disable:n.disablePublish,onClick:t[2]||(t[2]=function(t){return e.$refs.popup.show()})},{default:(0,o.withCtx)((function(){return[a]})),_:1},8,["disable"])),[[m]]):(0,o.createCommentVNode)("",!0),n.withDelete?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(d,{key:2,clickable:"",onClick:t[3]||(t[3]=function(t){return e.$emit("onDelete")})},{default:(0,o.withCtx)((function(){return[l]})),_:1})),[[m]]):(0,o.createCommentVNode)("",!0)],64))]})),_:1})]})),_:1},16,["class","label","onClick","disable-dropdown","title"]),(0,o.createVNode)(h,{modelValue:u.datePickerOpen,"onUpdate:modelValue":t[5]||(t[5]=function(e){return u.datePickerOpen=e}),class:"date-popup",ref:"popup","no-parent-event":""},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(f,{modelValue:u.publish_at_date,"onUpdate:modelValue":[t[4]||(t[4]=function(e){return u.publish_at_date=e}),c.setDate],mask:"YYYY-MM-DD"},null,8,["modelValue","onUpdate:modelValue"])]})),_:1},8,["modelValue"])])}],["__scopeId","data-v-43e902a6"]])},1560:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(3868);const r={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-gray-900 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const i=(0,n(3744).Z)(r,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("inertia-link");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,["button"==n.as?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,class:(0,o.normalizeClass)([a.classes,"w-full text-left"])},[(0,o.renderSlot)(e.$slots,"default")],2)):((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,href:n.href,class:(0,o.normalizeClass)(a.classes)},{default:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"default")]})),_:3},8,["href","class"]))])}]])},6687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(3868),r={class:"input-group s-search"},i=function(e){return(0,o.pushScopeId)("data-v-41989eb6"),e=e(),(0,o.popScopeId)(),e}((function(){return(0,o.createElementVNode)("div",{class:"input-group-text"},[(0,o.createElementVNode)("svg",{"enable-background":"new 0 0 515.558 515.558",height:"512",viewBox:"0 0 515.558 515.558",width:"512",xmlns:"http://www.w3.org/2000/svg"},[(0,o.createElementVNode)("path",{d:"m378.344 332.78c25.37-34.645 40.545-77.2 40.545-123.333 0-115.484-93.961-209.445-209.445-209.445s-209.444 93.961-209.444 209.445 93.961 209.445 209.445 209.445c46.133 0 88.692-15.177 123.337-40.547l137.212 137.212 45.564-45.564c0-.001-137.214-137.213-137.214-137.213zm-168.899 21.667c-79.958 0-145-65.042-145-145s65.042-145 145-145 145 65.042 145 145-65.043 145-145 145z"})])],-1)})),a=["placeholder","value"];const l={props:{modelValue:String,placeholder:{type:String,default:"Search"}},emits:["update:modelValue","keyupEnter"]};const s=(0,n(3744).Z)(l,[["render",function(e,t,n,l,s,u){return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[i,(0,o.createElementVNode)("input",(0,o.mergeProps)({class:"form-control border",type:"search",placeholder:n.placeholder},e.$attrs,{value:n.modelValue,onInput:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.value)}),onKeyup:t[1]||(t[1]=(0,o.withKeys)((function(t){return e.$emit("keyupEnter",t)}),["enter"]))}),null,16,a)])}],["__scopeId","data-v-41989eb6"]])}
2,3462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["type"];const i={props:{type:{type:String,default:"button"}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("button",{type:n.type,class:"inline-flex items-center px-4 py-2 bg-white border border-gray-300 rounded-md font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150"},[(0,o.renderSlot)(e.$slots,"default")],8,r)}]])},8263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(3868),r={class:"hidden sm:block"},i=[(0,o.createElementVNode)("div",{class:"py-8"},[(0,o.createElementVNode)("div",{class:"border-t border-gray-200"})],-1)];const a={},l=(0,n(3744).Z)(a,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,i)}]])},5772:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(3868),r={class:"md:col-span-1"},i={class:"px-4 sm:px-0"},a={class:"text-lg font-medium text-gray-900"},l={class:"mt-1 text-sm text-gray-600"};const s={},u=(0,n(3744).Z)(s,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("h3",a,[(0,o.renderSlot)(e.$slots,"title")]),(0,o.createElementVNode)("p",l,[(0,o.renderSlot)(e.$slots,"description")])])])}]])},9826:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(3868),r={class:"toast-body"};var i=n(6252);const a={inheritAttrs:!1,emits:["opened","closed","update:active"],props:{active:Boolean,duration:{type:Number,default:4e3}},setup:function(e,t){var n,o=t.emit,r=function(){n&&window.clearTimeout(n),n=window.setTimeout((function(){o("update:active",!1)}),e.duration)};return(0,i.YP)((function(){return e.active}),(function(e){e?(o("opened"),r()):o("closed")})),r(),{}},computed:{positioningClass:function(){return this.$attrs.style&&(this.$attrs.style.top||this.$attrs.style.bottom)?"right":this.$attrs.style&&(this.$attrs.style.left||this.$attrs.style.right)?"bottom":"bottom-right"}}};const l=(0,n(3744).Z)(a,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:"body"},[(0,o.createVNode)(o.Transition,{name:"fade"},{default:(0,o.withCtx)((function(){return[n.active?((0,o.openBlock)(),(0,o.createElementBlock)("div",(0,o.mergeProps)({key:0,role:"alert","aria-live":"assertive","aria-atomic":"true",class:["toast s-toast",l.positioningClass]},e.$attrs),[(0,o.createElementVNode)("div",r,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)])],16)):(0,o.createCommentVNode)("",!0)]})),_:3})])}],["__scopeId","data-v-224cb9a2"]])},7936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(3868),r=["type"];const i={props:{type:{type:String,default:"submit"},buttonStyle:{type:String,default:null},noStyling:{type:Boolean,default:!1}},computed:{buttonClass:function(){return this.buttonStyle||(this.noStyling?null:"primary")},btnClasses:function(){return this.noStyling?this.buttonClass?"btn-".concat(this.buttonClass):"":"uppercase px-4 py-2 btn-".concat(this.buttonClass)}}};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("button",{type:n.type,class:(0,o.normalizeClass)(l.btnClasses)},[(0,o.renderSlot)(e.$slots,"default")],10,r)}]])},3754:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(3868),r={key:0},i={class:"text-danger"};const a={computed:{errors:function(){return this.$page.props.errors},hasErrors:function(){return Object.keys(this.errors).length>0}}};const l=(0,n(3744).Z)(a,[["render",function(e,t,n,a,l,s){return s.hasErrors?((0,o.openBlock)(),(0,o.createElementBlock)("div",r,[(0,o.createElementVNode)("ul",i,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(s.errors,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{key:t},(0,o.toDisplayString)(e),1)})),128))])])):(0,o.createCommentVNode)("",!0)}]])},5706:(e,t,n)=>{"use strict";n.d(t,{Z:()=>pe});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-31238b48"),e=e(),(0,o.popScopeId)(),e},i={class:"wrapper"},a={class:"header"},l={class:"container"},s={class:"app-logo"},u=r((function(){return(0,o.createElementVNode)("h1",{class:"text-primary"},"Author Tool",-1)})),c={class:"user-actions"},d={class:"user-info"},A=(0,o.createTextVNode)(" logged in as "),p={class:"user-info__name"},f=r((function(){return(0,o.createElementVNode)("button",{type:"button",class:"dropdown__caret"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",fill:"
2currentColor"},[(0,o.createElementVNode)("path",{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z","fill-rule":"evenodd","clip-rule":"evenodd"})])],-1)})),h=(0,o.createTextVNode)(" Profile "),m=(0,o.createTextVNode)(" Contact "),v=r((function(){return(0,o.createElementVNode)("div",{class:"border-t border-gray-100"},null,-1)})),g=(0,o.createTextVNode)(" Admin Portal "),y=r((function(){return(0,o.createElementVNode)("div",{class:"border-t border-gray-100"},null,-1)})),b=(0,o.createTextVNode)("Log Out"),w={class:"hamburger"},L={class:"h-6 w-6",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},C={class:"pt-2 pb-3 space-y-1"},B=(0,o.createTextVNode)(" Dashboard "),_={class:"pt-4 pb-1 border-t border-gray-200"},k={class:"flex items-center px-4"},x={class:"font-medium text-base text-gray-800"},S={class:"font-medium text-sm text-gray-500"},E={class:"mt-3 space-y-1"},T=(0,o.createTextVNode)(" Profile "),N=(0,o.createTextVNode)(" Log Out "),F={class:"admin-nav"},V=(0,o.createTextVNode)(" Authors "),O=(0,o.createTextVNode)(" Featured Books "),U=(0,o.createTextVNode)(" Awards "),Q=(0,o.createTextVNode)(" Genres "),q=(0,o.createTextVNode)(" Notifications "),M=(0,o.createTextVNode)(" All Locations "),I=(0,o.createTextVNode)(" Users "),P=(0,o.createTextVNode)(" Settings "),D={key:0,class:"notification-detail"},H={class:"notification-detail__title"},R=["src"],j=["innerHTML"],$=(0,o.createTextVNode)("Open Action"),z={class:"session-timeout"},K=r((function(){return(0,o.createElementVNode)("h2",{class:"session-timeout__title"},"Your session will expire soon!",-1)})),W=r((function(){return(0,o.createElementVNode)("p",{class:"session-timeout__description"},"Fear not, all changes have been saved.",-1)})),Y=(0,o.createTextVNode)("I'm still here"),G={class:"session-timeout"},Z=r((function(){return(0,o.createElementVNode)("h2",{class:"session-timeout__title"},"Oops, your session has expired",-1)})),J=r((function(){return(0,o.createElementVNode)("p",{class:"session-timeout__description"},"We'd be happy to have you back!",-1)})),X=(0,o.createTextVNode)("Log Me Back In");var ee=n(7757),te=n.n(ee),ne=n(8939),oe=n(9007),re=n(6076),ie=n(8675),ae=n(4341),le=n(8330),se=n(2376),ue=n(1560);function ce(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function de(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){ce(i,o,r,a,l,"next",e)}function l(e){ce(i,o,r,a,l,"throw",e)}a(void 0)}))}}const Ae={components:{SApplicationLogo:ne.Z,SBanner:oe.Z,SButton:re.Z,SDropdown:ie.Z,SDropdownLink:ae.Z,Modal:le.Z,SNavLink:se.Z,SResponsiveNavLink:ue.Z},computed:{notifications:function(){return this.$page.props.user.notifications||[]},hasNotifications:function(){return!!this.notifications.length||Object.values(this.systemNotifications).reduce((function(e,t){return e||!!t.length}),!1)},notificationsCount:function(){var e,t,n,o,r;return(this.hasReadGettingStarted?0:1)+((null===(e=this.notifications)||void 0===e?void 0:e.length)||0)+((null===(t=this.systemNotifications)||void 0===t||null===(n=t.system_notifications)||void 0===n?void 0:n.length)||0)+((null===(o=this.systemNotifications)||void 0===o||null===(r=o.incomplete_books)||void 0===r?void 0:r.length)||0)}},data:function(){return{showingNavigationDropdown:!1,showingNotification:null,systemNotifications:{},hasReadGettingStarted:localStorage.getItem("getting-started-complete")||!1,showSessionAboutToTimeout:!1,showSessionTimeout:!1}},methods:{loadNotifications:function(){var e=this;return de(te().mark((function t(){var n,o;return te().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.get(route("api.user.notifications"));case 2:n=t.sent,o=n.data.data,e.systemNotifications=o;case 5:case"end":return t.stop()}}),t)})))()},logout:function(){this.$inertia.post(route("logout"))},readGettingStarted:function(){this.hasReadGettingStarted=!0,localStorage.setItem("getting-started-complete",!0)},openNotification:function(e){var t=this;return de(te().mark((function n(){var o,r;return te().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.showingNotification=e,n.prev=1,n.next=4,axios.put(route("api.user.notifications.update",{notification:e}),{"mark-as-read":!0});case 4:o=n.sent,r=o.data.notification,e=r,n.next=12;break;case 9:n.prev=9,n.t0=n.catch(1),console.warn(n.t0);case 12:t.loadNotifications();case 13:case"end":return n.stop()}}),n,null,[[1,9]])})))()},getNotificationContent:function(e){var t,n;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.content)return e.content.content;var o=Object.keys(e.content).filter((function(e){return"actingUser"!==e}));if(1===o.length){var r=o[0],i=e.content[r];return"story"===r?"<em>On story ".concat(null==i||null===(n=i.appUserComments)||void 0===n?void 0:n.join(", "),"</em>"):"<em>On ".concat(r,"</em>")}return"<em></em>"},reloadSession:function(){window.location.reload()}},mounted:function(){var e=this;this.loadNotifications();var t=6e5;clearInterval(window.sessionTimer),window.sessionTimer=setTimeout((function(){e.showSessionAboutToTimeout=!0,window.sessionTimer=setTimeout((function(){e.showSessionAboutToTimeout=!1,e.showSessionTimeout=!0}),t)}
2),66e5)}};const pe=(0,n(3744).Z)(Ae,[["render",function(e,t,n,r,ee,te){var ne=(0,o.resolveComponent)("s-application-logo"),oe=(0,o.resolveComponent)("inertia-link"),re=(0,o.resolveComponent)("s-dropdown-link"),ie=(0,o.resolveComponent)("s-dropdown"),ae=(0,o.resolveComponent)("s-responsive-nav-link"),le=(0,o.resolveComponent)("s-button"),se=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("header",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",s,[(0,o.createVNode)(oe,{href:e.route("dashboard")},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ne)]})),_:1},8,["href"]),u]),(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("h5",d,[A,(0,o.createElementVNode)("span",p,(0,o.toDisplayString)(e.$page.props.user.screen_name),1)]),(0,o.createVNode)(ie,{align:"right",width:"48"},{trigger:(0,o.withCtx)((function(){return[f]})),content:(0,o.withCtx)((function(){var n;return[(0,o.createVNode)(re,{href:e.route("profile.show")},{default:(0,o.withCtx)((function(){return[h]})),_:1},8,["href"]),(0,o.createVNode)(re,{href:"mailto:[email protected]"},{default:(0,o.withCtx)((function(){return[m]})),_:1}),v,null!==(n=e.$page.props.user.roles)&&void 0!==n&&n.includes("ROLE_ADMIN")?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createVNode)(re,{href:e.route("admin.featured.index")},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["href"]),y],64)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[0]||(t[0]=(0,o.withModifiers)((function(){return te.logout&&te.logout.apply(te,arguments)}),["prevent"]))},[(0,o.createVNode)(re,{as:"button"},{default:(0,o.withCtx)((function(){return[b]})),_:1})],32)]})),_:1})]),(0,o.createElementVNode)("div",w,[(0,o.createElementVNode)("button",{onClick:t[1]||(t[1]=function(e){return ee.showingNavigationDropdown=!ee.showingNavigationDropdown}),class:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"},[((0,o.openBlock)(),(0,o.createElementBlock)("svg",L,[(0,o.createElementVNode)("path",{class:(0,o.normalizeClass)({hidden:ee.showingNavigationDropdown,"inline-flex":!ee.showingNavigationDropdown}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,2),(0,o.createElementVNode)("path",{class:(0,o.normalizeClass)({hidden:!ee.showingNavigationDropdown,"inline-flex":ee.showingNavigationDropdown}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,2)]))])])]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)([{block:ee.showingNavigationDropdown,hidden:!ee.showingNavigationDropdown},"sm:hidden responsive-nav"])},[(0,o.createElementVNode)("div",C,[(0,o.createVNode)(ae,{href:e.route("dashboard"),active:e.route().current("dashboard")},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["href","active"])]),(0,o.createElementVNode)("div",_,[(0,o.createElementVNode)("div",k,[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",x,(0,o.toDisplayString)(e.$page.props.user.name),1),(0,o.createElementVNode)("div",S,(0,o.toDisplayString)(e.$page.props.user.email),1)])]),(0,o.createElementVNode)("div",E,[(0,o.createVNode)(ae,{href:e.route("profile.show"),active:e.route().current("profile.show")},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["href","active"]),(0,o.createElementVNode)("form",{method:"POST",onSubmit:t[2]||(t[2]=(0,o.withModifiers)((function(){return te.logout&&te.logout.apply(te,arguments)}),["prevent"]))},[(0,o.createVNode)(ae,{as:"button"},{default:(0,o.withCtx)((function(){return[N]})),_:1})],32)])])],2)]),(0,o.createElementVNode)("main",null,[(0,o.createElementVNode)("nav",F,[(0,o.createVNode)(le,{"button-style":e.route().current("admin.authors.index")?"primary-inverse":"primary",onClick:t[3]||(t[3]=function(t){return e.$inertia.visit(e.route("admin.authors.index"))})},{default:(0,o.withCtx)((function(){return[V]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.featured.index")?"primary-inverse":"primary",onClick:t[4]||(t[4]=function(t){return e.$inertia.visit(e.route("admin.featured.index"))})},{default:(0,o.withCtx)((function(){return[O]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.awards.index")?"primary-inverse":"primary",onClick:t[5]||(t[5]=function(t){return e.$inertia.visit(e.route("admin.awards.index"))})},{default:(0,o.withCtx)((function(){return[U]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.categories.index")?"primary-inverse":"primary",onClick:t[6]||(t[6]=function(t){return e.$inertia.visit(e.route("admin.categories.index"))})},{default:(0,o.withCtx)((function(){return[Q]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.notifications.index")?"primary-inverse":"primary",onClick:t[7]||(t[7]=function(t){return e.$inertia.visit(e.route("admin.notifications.index"))})},{default:(0,o.withCtx)((function(){return[q]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.all-locations")?"primary-inverse":"primary",onClick:t[8]||(t[8]=function(t){return e.$inertia.visit(e.route("admin.all-locations"))})},{default:(0,o.withCtx)((function(){return[M]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.users.index")?"primary-inverse":"primary",onClick:t[9]||(t[9]=function(t){return e.$inertia.visit(e.route("admin.users.index"))})},{default:(0,o.withCtx)((function(){return[I]})),_:1},8,["button-style"]),(0,o.createVNode)(le,{"button-style":e.route().current("admin.settings.index")?"primary-inverse":"primary",onClick:t[10
2]||(t[10]=function(t){return e.$inertia.visit(e.route("admin.settings.index"))})},{default:(0,o.withCtx)((function(){return[P]})),_:1},8,["button-style"])]),(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)]),(0,o.createVNode)(se,{show:!!ee.showingNotification,onClose:t[11]||(t[11]=function(e){return ee.showingNotification=null})},{default:(0,o.withCtx)((function(){var e;return[ee.showingNotification?((0,o.openBlock)(),(0,o.createElementBlock)("div",D,[(0,o.createElementVNode)("h2",H,(0,o.toDisplayString)(ee.showingNotification.action_text),1),null!==(e=ee.showingNotification.image)&&void 0!==e&&e.url?((0,o.openBlock)(),(0,o.createElementBlock)("img",{key:0,class:"notification-detail__img",src:ee.showingNotification.image.url},null,8,R)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("p",{class:"notification-detail__description",innerHTML:te.getNotificationContent(ee.showingNotification)},null,8,j),ee.showingNotification.url?((0,o.openBlock)(),(0,o.createBlock)(oe,{key:1,class:"btn btn-primary",href:ee.showingNotification.url},{default:(0,o.withCtx)((function(){return[$]})),_:1},8,["href"])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"]),(0,o.createVNode)(se,{show:ee.showSessionAboutToTimeout&&!ee.showSessionTimeout,closeable:!1,onClose:t[12]||(t[12]=function(e){return ee.showSessionAboutToTimeout=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",z,[K,W,(0,o.createVNode)(le,{"button-style":"primary-contrast",onClick:te.reloadSession},{default:(0,o.withCtx)((function(){return[Y]})),_:1},8,["onClick"])])]})),_:1},8,["show"]),(0,o.createVNode)(se,{show:ee.showSessionTimeout,closeable:!1},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",G,[Z,J,(0,o.createVNode)(le,{"button-style":"primary-contrast",onClick:te.reloadSession},{default:(0,o.withCtx)((function(){return[X]})),_:1},8,["onClick"])])]})),_:1},8,["show"])])}],["__scopeId","data-v-31238b48"]])},9925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-d55c5f3c"),e=e(),(0,o.popScopeId)(),e},i={class:"wrapper"},a={class:"header"},l={class:"container"},s={class:"app-logo"},u=r((function(){return(0,o.createElementVNode)("h1",{class:"text-primary"},"Author Tool",-1)})),c={class:"user-actions"},d={class:"user-info"},A=(0,o.createTextVNode)(" logged in as "),p={class:"user-info__name"},f=r((function(){return(0,o.createElementVNode)("button",{type:"button",class:"dropdown__caret"},[(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",fill:"currentColor"},[(0,o.createElementVNode)("path",{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z","fill-rule":"evenodd","clip-rule":"evenodd"})])],-1)})),h=(0,o.createTextVNode)(" Profile "),m=(0,o.createTextVNode)(" Contact "),v=r((function(){return(0,o.createElementVNode)("div",{class:"border-t border-gray-100"},null,-1)})),g=(0,o.createTextVNode)(" Admin Portal "),y=r((function(){return(0,o.createElementVNode)("div",{class:"border-t border-gray-100"},null,-1)})),b=(0,o.createTextVNode)("Log Out"),w={class:"hamburger"},L={class:"h-6 w-6",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},C={class:"pt-2 pb-3 space-y-1"},B=(0,o.createTextVNode)(" Dashboard "),_={class:"pt-4 pb-1 border-t border-gray-200"},k={class:"flex items-center px-4"},x={class:"font-medium text-base text-gray-800"},S={class:"font-medium text-sm text-gray-500"},E={class:"mt-3 space-y-1"},T=(0,o.createTextVNode)(" Profile "),N=(0,o.createTextVNode)(" Log Out "),F=r((function(){return(0,o.createElementVNode)("footer",{class:"footer"},[(0,o.createElementVNode)("h4",{class:"text-primary"},[(0,o.createElementVNode)("a",{href:"#"},"Share your book's map for a chance to win a featured spot for 1 week!")])],-1)})),V={key:0,class:"notification-detail"},O={class:"notification-detail__title"},U=["src"],Q=["innerHTML"],q=(0,o.createTextVNode)("Open Action"),M={class:"session-timeout"},I=r((function(){return(0,o.createElementVNode)("h2",{class:"session-timeout__title"},"Your session will expire soon!",-1)})),P=r((function(){return(0,o.createElementVNode)("p",{class:"session-timeout__description"},"Fear not, all changes have been saved.",-1)})),D=(0,o.createTextVNode)("I'm still here"),H={class:"session-timeout"},R=r((function(){return(0,o.createElementVNode)("h2",{class:"session-timeout__title"},"Oops, your session has expired",-1)})),j=r((function(){return(0,o.createElementVNode)("p",{class:"session-timeout__description"},"We'd be happy to have you back!",-1)})),$=(0,o.createTextVNode)("Log Me Back In");var z=n(7757),K=n.n(z),W=n(8939),Y=n(9007),G=n(6076),Z=n(8675),J=n(4341),X=n(8330),ee=n(2376),te=n(1560);function ne(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function oe(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){ne(i,o,r,a,l,"next",e)}function l(e){ne(i,o,r,a,l,"throw",e)}a(void 0)}))}}const re={components:{SApplicationLogo:W.Z,SBanner:Y.Z,SButton:G.Z,SDropdown:Z.Z,SDropdownLink:J.Z,Modal:X.Z,SNavLink:ee.Z,SResponsiveNavLink:te.Z},computed:{notifications:function(){return this.$page.props.user.notifications||[]},hasNotifications:function(){return!!this.notifications.length||Object.values(this.systemNotifications).reduce((function(e,t){return e||!!t.length}),!1)},notificationsCount:function(){var e,t,n,o,r;return(this.hasReadGettingStarted?0:1)+((null===(e=this.notifications)||void 0===e?void 0:e.length)||0)+((null===(t=this.systemNotifications)||void 0===t||null===(n=t.system_notifications)||void 0===n?void 0:n.length)||0)+((null===(o=this.systemNotifications)||void 0===o||null===(r=o.incomplete_books)||void 0===r?void 0:r.length)||0)}},data:function(){return{showingNavigationDropdown:!1,showingNotification:null,systemNotifications:{},hasReadGettingStarted:localStorage.getItem("getting-started-complete")||!1,showSessionAboutToTimeout:!1,showSessionTimeout:!1}},methods:{loadNotifications:function(){var e=this;return oe(K().mark((function t(){var n,o;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.get(route("api.user.notifications"));case 2:n=t.sent,o=n.data.data,e.systemNotifications=o;case 5:case"end":return t.stop()}}),t)})))()},logout:function(){this.$inertia.post(route("logout"))},readGettingStarted:function(){this.hasReadGettingStarted=!0,localStorage.setItem("getting-started-complete",!0)},openNotification:function(e){var t=this;return oe(K().mark((function n(){var o,r;return K().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.showingNotification=e,n.prev=1,n.next=4,axios.put(route("api.user.notifications.update",{notification:e}),{"mark-as-read":!0});case 4:o=n.sent,r=o.data.notification,e=r,n.next=12;break;case 9:n.prev=9,n.t0=n.catch(1),console.warn(n.t0);case 12:t.loadNotifications();case 13:case"end":return n.stop()}}),n,null,[[1,9]])})))()},getNotificationContent:function(e){var t,n;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.content)return e.content.content;var o=Object.keys(e.content).filter((function(e){return"actingUser"!==e}));if(1===o.length){var r=o[0],i=e.content[r];return"story"===r?"<em>On story ".concat(null==i||null===(n=i.appUserComments)||void 0===n?void 0:n.join(", "),"</em>"):"<em>On ".concat(r,"</em>")}return"<em></em>"},reloadSession:function(){window.location.reload()}},mounted:function(){var e=this;this.loadNotifications();var t=6e5;clearInterval(window.sessionTimer),window.sessionTimer=setTimeout((function(){e.showSessionAboutToTimeout=!0,window.sessionTimer=setTimeout((function(){e.showSessionAboutToTimeout=!1,e.showSessionTimeout=!0}),t)}
2),66e5)}};const ie=(0,n(3744).Z)(re,[["render",function(e,t,n,r,z,K){var W=(0,o.resolveComponent)("s-application-logo"),Y=(0,o.resolveComponent)("inertia-link"),G=(0,o.resolveComponent)("s-dropdown-link"),Z=(0,o.resolveComponent)("s-dropdown"),J=(0,o.resolveComponent)("s-responsive-nav-link"),X=(0,o.resolveComponent)("modal"),ee=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("header",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",s,[(0,o.createVNode)(Y,{href:e.route("dashboard")},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(W)]})),_:1},8,["href"]),u]),(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("h5",d,[A,(0,o.createElementVNode)("span",p,(0,o.toDisplayString)(e.$page.props.user.screen_name),1)]),(0,o.createVNode)(Z,{align:"right",width:"48"},{trigger:(0,o.withCtx)((function(){return[f]})),content:(0,o.withCtx)((function(){var n;return[(0,o.createVNode)(G,{href:e.route("profile.show")},{default:(0,o.withCtx)((function(){return[h]})),_:1},8,["href"]),(0,o.createVNode)(G,{href:"mailto:[email protected]"},{default:(0,o.withCtx)((function(){return[m]})),_:1}),v,null!==(n=e.$page.props.user.roles)&&void 0!==n&&n.includes("ROLE_ADMIN")?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createVNode)(G,{href:e.route("admin.featured.index")},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["href"]),y],64)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[0]||(t[0]=(0,o.withModifiers)((function(){return K.logout&&K.logout.apply(K,arguments)}),["prevent"]))},[(0,o.createVNode)(G,{as:"button"},{default:(0,o.withCtx)((function(){return[b]})),_:1})],32)]})),_:1})]),(0,o.createElementVNode)("div",w,[(0,o.createElementVNode)("button",{onClick:t[1]||(t[1]=function(e){return z.showingNavigationDropdown=!z.showingNavigationDropdown}),class:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"},[((0,o.openBlock)(),(0,o.createElementBlock)("svg",L,[(0,o.createElementVNode)("path",{class:(0,o.normalizeClass)({hidden:z.showingNavigationDropdown,"inline-flex":!z.showingNavigationDropdown}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,2),(0,o.createElementVNode)("path",{class:(0,o.normalizeClass)({hidden:!z.showingNavigationDropdown,"inline-flex":z.showingNavigationDropdown}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,2)]))])])]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)([{block:z.showingNavigationDropdown,hidden:!z.showingNavigationDropdown},"sm:hidden responsive-nav"])},[(0,o.createElementVNode)("div",C,[(0,o.createVNode)(J,{href:e.route("dashboard"),active:e.route().current("dashboard")},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["href","active"])]),(0,o.createElementVNode)("div",_,[(0,o.createElementVNode)("div",k,[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",x,(0,o.toDisplayString)(e.$page.props.user.name),1),(0,o.createElementVNode)("div",S,(0,o.toDisplayString)(e.$page.props.user.email),1)])]),(0,o.createElementVNode)("div",E,[(0,o.createVNode)(J,{href:e.route("profile.show"),active:e.route().current("profile.show")},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["href","active"]),(0,o.createElementVNode)("form",{method:"POST",onSubmit:t[2]||(t[2]=(0,o.withModifiers)((function(){return K.logout&&K.logout.apply(K,arguments)}),["prevent"]))},[(0,o.createVNode)(J,{as:"button"},{default:(0,o.withCtx)((function(){return[N]})),_:1})],32)])])],2)]),(0,o.createElementVNode)("main",null,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)]),F,(0,o.createVNode)(X,{show:!!z.showingNotification,onClose:t[3]||(t[3]=function(e){return z.showingNotification=null})},{default:(0,o.withCtx)((function(){var e;return[z.showingNotification?((0,o.openBlock)(),(0,o.createElementBlock)("div",V,[(0,o.createElementVNode)("h2",O,(0,o.toDisplayString)(z.showingNotification.action_text),1),null!==(e=z.showingNotification.image)&&void 0!==e&&e.url?((0,o.openBlock)(),(0,o.createElementBlock)("img",{key:0,class:"notification-detail__img",src:z.showingNotification.image.url},null,8,U)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("p",{class:"notification-detail__description",innerHTML:K.getNotificationContent(z.showingNotification)},null,8,Q),z.showingNotification.url?((0,o.openBlock)(),(0,o.createBlock)(Y,{key:1,class:"btn btn-primary",href:z.showingNotification.url},{default:(0,o.withCtx)((function(){return[q]})),_:1},8,["href"])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"]),(0,o.createVNode)(X,{show:z.showSessionAboutToTimeout&&!z.showSessionTimeout,closeable:!1,onClose:t[4]||(t[4]=function(e){return z.showSessionAboutToTimeout=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",M,[I,P,(0,o.createVNode)(ee,{"button-style":"primary-contrast",onClick:K.reloadSession},{default:(0,o.withCtx)((function(){return[D]})),_:1},8,["onClick"])])]})),_:1},8,["show"]),(0,o.createVNode)(X,{show:z.showSessionTimeout,closeable:!1},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",H,[R,j,(0,o.createVNode)(ee,{"button-style":"primary-contrast",onClick:K.reloadSession},{default:(0,o.withCtx)((function(){return[$]})),_:1},8,["onClick"])])]})),_:1},8,["show"])])}],["__scopeId","data-v-d55c5f3c"]])},4742:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ie});var o=n(3868),r=(0,o.createTextVNode)(" Create API Token "),i=(0,o.createTextVNode)(" API tokens allow third-party services to authenticate with our application on your behalf. "),a={class:"col-span-6 sm:col-span-4"},l={key:0,class:"col-span-6"},s={class:"mt-2 grid grid-cols-1 md:grid-cols-2 gap-4"},u={class:"flex items-center"},c={class:"ml-2 text-sm text-gray-600"},d=(0,o.createTextVNode)(" Created. "),A=(0,o.createTextVNode)(" Create "),p={key:0},f={class:"mt-10 sm:mt-0"},h=(0,o.createTextVNode)(" Manage API Tokens "),m=(0,o.createTextVNode)(" You may delete any of your existing tokens if they are no longer needed. "),v={class:"space-y-6"},g={class:"flex items-center"},y={key:0,class:"text-sm text-gray-400"},b=["onClick"],w=["onClick"],L=(0,o.createTextVNode)(" API Token "),C=(0,o.createElementVNode)("div",null," Please copy your new API token. For your security, it won't be shown again. ",-1),B={key:0,class:"mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-sm text-gray-500"},_=(0,o.createTextVNode)(" Close "),k=(0,o.createTextVNode)(" API Token Permissions "),x={class:"grid grid-cols-1 md:grid-cols-2 gap-4"},S={class:"flex items-center"},E={class:"ml-2 text-sm text-gray-600"},T=(0,o.createTextVNode)(" Cancel "),N=(0,o.createTextVNode)(" Save "),F=(0,o.createTextVNode)(" Delete API Token "),V=(0,o.createTextVNode)(" Are you sure you would like to delete this API token? "),O=(0,o.createTextVNode)(" Cancel "),U=(0,o.createTextVNode)(" Delete ");var Q=n(2374),q=n(9454),M=n(6076),I={class:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},P={class:"sm:flex sm:items-start"},D=(0,o.createElementVNode)("div",{class:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},[(0,o.createElementVNode)("svg",{class:"h-6 w-6 text-red-600",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},[(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})])],-1),H={class:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},R={class:"text-lg"},j={class:"mt-2"},$={class:"px-6 py-4 bg-gray-100 text-right"};const z={emits:["close"],components:{Modal:n(8330).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};var K=n(3744);const W=(0,K.Z)(z,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createBlock)(l,{show:n.show,"max-width":n.maxWidth,closeable:n.closeable,onClose:a.close},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",I,[(0,o.createElementVNode)("div",P,[D,(0,o.createElementVNode)("div",H,[(0,o.createElementVNode)("h3",R,[(0,o.renderSlot)(e.$slots,"title")]),(0,o.createElementVNode)("div",j,[(0,o.renderSlot)(e.$slots,"content")])])])]),(0,o.createElementVNode)("div",$,[(0,o.renderSlot)(e.$slots,"footer")])]})),_:3},8,["show","max-width","closeable","onClose"])}]]);var Y=n(8117),G=n(381),Z=n(2681),J=n(6064),X=n(7110),ee=n(24),te=n(271),ne=n(3462),oe=n(8263);const re={components:{JetActionMessage:Q.Z,JetActionSection:q.Z,JetButton:M.Z,JetConfirmationModal:W,JetDangerButton:Y.Z,JetDialogModal:G.Z,JetFormSection:Z.Z,JetInput:J.Z,JetCheckbox:X.Z,JetInputError:ee.Z,JetLabel:te.Z,JetSecondaryButton:ne.Z,JetSectionBorder:oe.Z},props:["tokens","availablePermissions","defaultPermissions"],data:function(){return{createApiTokenForm:this.$inertia.form({name:"",permissions:this.defaultPermissions}),updateApiTokenForm:this.$inertia.form({permissions:[]}),deleteApiTokenForm:this.$inertia.form(),displayingToken:!1,managingPermissionsFor:null,apiTokenBeingDeleted:null}},methods:{createApiToken:function(){var e=this;this.createApiTokenForm.post(route("api-tokens.store"),{preserveScroll:!0,onSuccess:function(){e.displayingToken=!0,e.createApiTokenForm.reset()}})},manageApiTokenPermissions:function(e){this.updateApiTokenForm.permissions=e.abilities,this.managingPermissionsFor=e},updateApiToken:function(){var e=this;this.updateApiTokenForm.put(route("api-tokens.update",this.managingPermissionsFor),{preserveScroll:!0,preserveState:!0,onSuccess:function(){return e.managingPermissionsFor=null}})},confirmApiTokenDeletion:function(e){this.apiTokenBeingDeleted=e},deleteApiToken:function(){var e=this;this.deleteApiTokenForm.delete(route("api-tokens.destroy",this.apiTokenBeingDeleted),{preserveScroll:!0,preserveState:!0,onSuccess:function(){return e.apiTokenBeingDeleted=null}})}}},ie=(0,K.Z)(re,[["render",function(e,t,n,Q,q,M){var I=(0,o.resolveComponent)("jet-label"),P=(0,o.resolveComponent)("jet-input"),D=(0,o.resolveComponent)("jet-input-error"),H=(0,o.resolveComponent)("jet-checkbox"),R=(0,o.resolveComponent)("jet-action-message"),j=(0,o.resolveComponent)("jet-button"),$=(0,o.resolveComponent)("jet-form-section"),z=(0,o.resolveComponent)("jet-section-border"),K=(0,o.resolveComponent)("jet-action-section"),W=(0,o.resolveComponent)("jet-secondary-button"),Y=(0,o.resolveComponent)("jet-dialog-modal"),G=(0,o.resolveComponent)("jet-danger-button"),Z=(0,o.resolveComponent)("jet-confirmation-modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[(0,o.createVNode)($,{onSubmitted:M.createApiToken},{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),form:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",a,[(0,o.createVNode)(I,{for:"name",value:"Name"}),(0,o.createVNode)(P,{id:"name",type:"text",class:"mt-1 block w-full",modelValue:q.createApiTokenForm.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return q.createApiTokenForm.name=e}),autofocus:""},null,8,["modelValue"]),(0,o.createVNode)(D,{message:q.createApiTokenForm.errors.name,class:"mt-2"},null,8,["message"])]),n.availablePermissions.length>0?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createVNode)(I,{for:"permissions",value:"Permissions"}),(0,o.createElementVNode)("div",s,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.availablePermissions,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:e},[(0,o.createElementVNode)("label",u,[(0,o.createVNode)(H,{value:e,checked:q.createApiTokenForm.permissions,"onUpdate:checked":t[1]||(t[1]=function(e){return q.createApiTokenForm.permissions=e})},null,8,["value","checked"]),(0,o.createElementVNode)("span",c,(0,o.toDisplayString)(e),1)])])})),128))])])):(0,o.createCommentVNode)("",!0)]})),actions:(0,o.withCtx)((function(){return[(0,o.createVNode)(R,{on:q.createApiTokenForm.recentlySuccessful,class:"mr-3"},{default:(0,o.withCtx)((function(){return[d]})),_:1},8,["on"]),(0,o.createVNode)(j,{class:(0,o.normalizeClass)({"opacity-25":q.createApiTokenForm.processing}),disabled:q.createApiTokenForm.processing},{default:(0,o.withCtx)((function(){return[A]})),_:1},8,["class","disabled"])]})),_:1},8,["onSubmitted"]),n.tokens.length>0?((0,o.openBlock)(),(0,o.createElementBlock)("div",p,[(0,o.createVNode)(z),(0,o.createElementVNode)("div",f,[(0,o.createVNode)(K,null,{title:(0,o.withCtx)((function(){return[h]})),description:(0,o.withCtx)((function(){return[m]})),content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",v,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.tokens,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"flex items-center justify-between",key:e.id},[(0,o.createElementVNode)("div",null,(0,o.toDisplayString)(e.name),1),(0,o.createElementVNode)("div",g,[e.last_used_ago?((0,o.openBlock)(),(0,o.createElementBlock)("div",y," Last used "+(0,o.toDisplayString)(e.last_used_ago),1)):(0,o.createCommentVNode)("",!0),n.availablePermissions.length>0?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:1,class:"cursor-pointer ml-6 text-sm text-gray-400 underline",onClick:function(t){return M.manageApiTokenPermissions(e)}}," Permissions ",8,b)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("button",{class:"cursor-pointer ml-6 text-sm text-red-500",onClick:function(t){return M.confirmApiTokenDeletion(e)}}," Delete ",8,w)])])})),128))])]})),_:1})])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(Y,{show:q.displayingToken,onClose:t[3]||(t[3]=function(e){return q.displayingToken=!1})},{title:(0,o.withCtx)((function(){return[L]})),content:(0,o.withCtx)((function(){return[C,e.$page.props.jetstream.flash.token?((0,o.openBlock)(),(0,o.createElementBlock)("div",B,(0,o.toDisplayString)(e.$page.props.jetstream.flash.token),1)):(0,o.createCommentVNode)("",!0)]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(W,{onClick:t[2]||(t[2]=function(e){return q.displayingToken=!1})},{default:(0,o.withCtx)((function(){return[_]})),_:1})]})),_:1},8,["show"]),(0,o.createVNode)(Y,{show:q.managingPermissionsFor,onClose:t[6]||(t[6]=function(e){return q.managingPermissionsFor=null})},{title:(0,o.withCtx)((function(){return[k]})),content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",x,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.availablePermissions,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:e},[(0,o.createElementVNode)("label",S,[(0,o.createVNode)(H,{value:e,checked:q.updateApiTokenForm.permissions,"onUpdate:checked":t[4]||(t[4]=function(e){return q.updateApiTokenForm.permissions=e})},null,8,["value","checked"]),(0,o.createElementVNode)("span",E,(0,o.toDisplayString)(e),1)])])})),128))])]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(W,{onClick:t[5]||(t[5]=function(e){return q.managingPermissionsFor=null})},{default:(0,o.withCtx)((function(){return[T]})),_:1}),(0,o.createVNode)(j,{class:(0,o.normalizeClass)(["ml-2",{"opacity-25":q.updateApiTokenForm.processing}]),onClick:M.updateApiToken,disabled:q.updateApiTokenForm.processing},{default:(0,o.withCtx)((function(){return[N]})),_:1},8,["onClick","class","disabled"])]})),_:1},8,["show"]),(0,o.createVNode)(Z,{show:q.apiTokenBeingDeleted,onClose:t[8]||(t[8]=function(e){return q.apiTokenBeingDeleted=null})},{title:(0,o.withCtx)((function(){return[F]})),content:(0,o.withCtx)((function(){return[V]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(W,{onClick:t[7]||(t[7]=function(e){return q.apiTokenBeingDeleted=null})},{default:(0,o.withCtx)((function(){return[O]})),_:1}),(0,o.createVNode)(G,{class:(0,o.normalizeClass)(["ml-2",{"opacity-25":q.deleteApiTokenForm.processing}]),onClick:M.deleteApiToken,disabled:q.deleteApiTokenForm.processing},{default:(0,o.withCtx)((function(){return[U]})),_:1},8,["onClick","class","di
2sabled"])]})),_:1},8,["show"])])}]])},9983:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=n(3868),r=(0,o.createElementVNode)("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"}," API Tokens ",-1),i={class:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"};var a=n(4742),l=n(9925);const s={props:["tokens","availablePermissions","defaultPermissions"],components:{ApiTokenManager:a.default,AppLayout:l.Z}};const u=(0,n(3744).Z)(s,[["render",function(e,t,n,a,l,s){var u=(0,o.resolveComponent)("api-token-manager"),c=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(c,null,{header:(0,o.withCtx)((function(){return[r]})),default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",i,[(0,o.createVNode)(u,{tokens:n.tokens,"available-permissions":n.availablePermissions,"default-permissions":n.defaultPermissions},null,8,["tokens","available-permissions","default-permissions"])])])]})),_:1})}]])},7736:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-32f8d8b3"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Authors",-1)})),l=r((function(){return(0,o.createElementVNode)("p",{class:"text-white text-center"},"Select an author to change ownership of author and its books and stories",-1)})),s={class:"authors"},u={class:"authors__list"},c={key:0,class:"text-gray text-center"},d={class:"author__info-wrapper"},A={class:"author__name text-gray"},p={class:"author__name__owner"},f={key:0,class:"author"},h={class:"property-field"},m=r((function(){return(0,o.createElementVNode)("label",{for:"input_owner"},"Owner*",-1)})),v={class:"input-group"},g={key:0,class:"invalid-feedback"},y={class:"author__books"},b=r((function(){return(0,o.createElementVNode)("h5",null,[(0,o.createTextVNode)("Books "),(0,o.createElementVNode)("small",null,"(ownership of books will also be updated)")],-1)})),w={key:0,class:"author__stories"},L=r((function(){return(0,o.createElementVNode)("h5",null,"Stories:",-1)})),C={class:"author__modal__actions"},B=(0,o.createTextVNode)("Update Owner");var _=n(5706),k=n(6076),x=n(2099),S=n(5288),E=n(8330),T=n(8573),N=n(9826),F=n(6351);const V={mixins:[n(1865).Z],components:{AdminLayout:_.Z,SButton:k.Z,DataProperty:x.Z,Menu:S.Z,Modal:E.Z,LazyImage:T.Z,ToastMessage:N.Z,InputSelect:F.Z},props:{authors:Array,users:Array},watch:{authors:function(e){this.allAuthors=e},selectedAuthor:function(e){e||(this.allAuthors=this.authors)}},data:function(){return{ERRORBAG:"authorInput",toastMessage:"",showToast:!1,filterName:null,allAuthors:this.authors,allUsers:this.users.map((function(e){return{label:"".concat(e.screen_name||e.username||"n/a"," (").concat(e.email,")"),value:e.id}})),selectedAuthor:null,form:this.$inertia.form({_method:"PUT",user_id:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},computed:{filteredAuthors:function(){var e=this;return this.filterName?this.sortByName(this.allAuthors.filter((function(t){var n,o,r,i,a,l;return t.author_name.toLowerCase().includes(e.filterName)||(null===(n=t.user)||void 0===n||null===(o=n.screen_name)||void 0===o?void 0:o.toLowerCase().includes(e.filterName))||(null===(r=t.user)||void 0===r||null===(i=r.username)||void 0===i?void 0:i.toLowerCase().includes(e.filterName))||(null===(a=t.user)||void 0===a||null===(l=a.email)||void 0===l?void 0:l.toLowerCase().includes(e.filterName))}))):this.sortByName(this.allAuthors)}},methods:{selectAuthor:function(e){this.selectedAuthor=e,this.form.user_id=e.appUser_id,this.allAuthors=[]},setOwner:function(e){this.form.user_id=e.value},updateAuthorOwnership:function(){var e=this;this.showToast=!1,this.form.post(route("admin.authors.update",{author:this.selectedAuthor.id}),{preserveScroll:!0,onSuccess:function(){e.showFeedback("Owner updated"),e.selectedAuthor=null},onError:function(t){e.showFeedback("Update Failed (".concat(Object.values(t[e.ERRORBAG]).join(", "),")"))}})},showFeedback:function(e){this.toastMessage=e,this.showToast=!0},sortByName:function(e){return e.sort((function(e,t){var n=e.author_name.toUpperCase(),o=t.author_name.toUpperCase();return n<o?-1:n>o?1:0}))}},mounted:function(){}};const O=(0,n(3744).Z)(V,[["render",function(e,t,n,r,_,k){var x=(0,o.resolveComponent)("lazy-image"),S=(0,o.resolveComponent)("Menu"),E=(0,o.resolveComponent)("input-select"),T=(0,o.resolveComponent)("s-button"),N=(0,o.resolveComponent)("modal"),F=(0,o.resolveComponent)("toast-message"),V=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(V,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,l,(0,o.withDirectives)((0,o.createElementVNode)("input",{class:"name-filter",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(e){return _.filterName=e}),placeholder:"Filter by name or owner"},null,512),[[o.vModelText,_.filterName]]),(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("div",u,[0!==k.filteredAuthors.length||_.selectedAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",c,"No matches for '"+(0,o.toDisplayString)(_.f
2ilterName)+"'",1)),_.selectedAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(S,{key:1,items:k.filteredAuthors,onSelect:k.selectAuthor,class:"authors__menu",displayKey:"author_name"},{value:(0,o.withCtx)((function(e){var t,n,r,i=e.item;return[(0,o.createElementVNode)("div",d,[(0,o.createVNode)(x,{class:"author__image",imgUrl:i.image?i.image.public_path:"/images/empty_helper_author.png"},null,8,["imgUrl"]),(0,o.createElementVNode)("h5",A,[(0,o.createTextVNode)((0,o.toDisplayString)(i.author_name)+" ",1),(0,o.createElementVNode)("small",p,(0,o.toDisplayString)((null===(t=i.user)||void 0===t?void 0:t.screen_name)||(null===(n=i.user)||void 0===n?void 0:n.username)||"n/a")+" ("+(0,o.toDisplayString)((null===(r=i.user)||void 0===r?void 0:r.email)||"-")+")",1)])])]})),_:1},8,["items","onSelect"]))])])]),(0,o.createVNode)(N,{show:_.selectedAuthor,onClose:t[2]||(t[2]=function(e){return _.selectedAuthor=null}),class:"author__modal"},{default:(0,o.withCtx)((function(){var n;return[(0,o.createElementVNode)("form",{onSubmit:t[1]||(t[1]=(0,o.withModifiers)((function(){return k.updateAuthorOwnership&&k.updateAuthorOwnership.apply(k,arguments)}),["prevent"]))},[_.selectedAuthor?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,[(0,o.createElementVNode)("h2",null,(0,o.toDisplayString)(null===(n=_.selectedAuthor)||void 0===n?void 0:n.author_name),1),(0,o.createElementVNode)("div",h,[m,(0,o.createElementVNode)("h5",v,[(0,o.createVNode)(E,{class:(0,o.normalizeClass)(["form-control",{"is-invalid":!!e.hasError("user_id")}]),value:_.form.user_id,onInput:k.setOwner,options:_.allUsers,ref:"input"},null,8,["class","value","onInput","options"]),e.hasError("user_id")?((0,o.openBlock)(),(0,o.createElementBlock)("div",g,(0,o.toDisplayString)(e.getError("user_id")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",y,[b,(0,o.createElementVNode)("ul",null,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(_.selectedAuthor.books,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{class:"text-white",key:e.id},(0,o.toDisplayString)(e.title),1)})),128))])]),_.selectedAuthor.stories.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",w,[L,((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(_.selectedAuthor.stories,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"text-white",key:e.id},(0,o.toDisplayString)(e.title),1)})),128))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",C,[(0,o.createVNode)(T,{onClick:k.updateAuthorOwnership},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["onClick"])])])):(0,o.createCommentVNode)("",!0)],32)]})),_:1},8,["show"]),(0,o.createVNode)(F,{active:_.showToast,"onUpdate:active":t[3]||(t[3]=function(e){return _.showToast=e}),style:{top:"200px","max-width":"none",left:"1rem",right:"1rem","text-align":"center",position:"fixed"}},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(_.toastMessage),1)]})),_:1},8,["active"])]})),_:1})}],["__scopeId","data-v-32f8d8b3"]])},8926:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-7d0df5ce"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Awards",-1)})),l=(0,o.createTextVNode)("Add New Award"),s={key:0,class:"award-warning-feedback text-danger"},u={class:"awards"},c=(0,o.createTextVNode)(" Loading Awards... "),d={class:"award__wrapper"},A={key:0},p={class:"award"},f={class:"property-field"},h=r((function(){return(0,o.createElementVNode)("label",{for:"input_name"},"Name*",-1)})),m={class:"input-group"},v={key:0,class:"invalid-feedback"},g={class:"property-field"},y=r((function(){return(0,o.createElementVNode)("label",{for:"input_organization"},"Organization",-1)})),b={class:"input-group"},w={key:0,class:"invalid-feedback"},L={class:"award__modal__actions"},C=(0,o.createTextVNode)("Save Award");var B=n(5706),_=n(6076),k=n(2099),x=n(5288),S=n(8330);const E={mixins:[n(1865).Z],components:{AdminLayout:B.Z,SButton:_.Z,DataProperty:k.Z,Menu:x.Z,Modal:S.Z},watch:{},data:function(){return{ERRORBAG:"awardInput",awards:[],isFetchingAwards:!1,selectedAward:null,form:this.$inertia.form({_method:"POST",name:null,organization:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},computed:{},methods:{addAward:function(){this.selectAward({})},saveAward:function(){var e,t,n,o=this,r=route("admin.awards.".concat(null!==(e=this.selectedAward)&&void 0!==e&&e.id?"update":"store"),{award:null!==(t=this.selectedAward)&&void 0!==t&&t.id?this.selectedAward:void 0});this.form._method=null!==(n=this.selectedAward)&&void 0!==n&&n.id?"PUT":"POST",this.form.post(r,{preserveScroll:!0,onSuccess:function(){o.selectedAward=null,o.form.reset(),o.fetchAwards()},onError:function(e){},onFinish:function(){}})},selectAward:function(e){this.selectedAward=e,this.form.name=null==e?void 0:e.name,this.form.organization=null==e?void 0:e.organization},deleteAward:function(){var e,t=this;null!==(e=this.selectedAward)&&void 0!==e&&e.id&&this.$q.dialog({title:"Confirm Removal",message:"Are you sure you want to delete this award",rounded:!0,ok:{rounded:!0,color:"negative",label:"Delete"},cancel:{rounded:!0},persistent:!0}).onOk((function(e){t.$inertia.delete(route("admin.awards.destroy",{award:t.selectedAward}),{onFinish:function(){t.fetchAwards(),t.selectedAward=null}})})).onCancel((function(){}))},fetchAwards:function(){var e=this;this.isFetchingAwards=!0,axios.get(route("api.resources.awards")).then((function(t){if(t.data.data){var n=t.data.data;e.awards=n.sort((function(e,t){return e.name.localeCompare(t.name)}))}})).finally((function(){e.isFetchingAwards=!1}))}},mounted:function(){this.fetchAwards()}};const T=(0,n(3744).Z)(E,[["render",function(e,t,n,r,B,_){var k=(0,o.resolveComponent)("s-button"),x=(0,o.resolveComponent)("Menu"),S=(0,o.resolveComponent)("q-icon"),E=(0,o.resolveComponent)("modal"),T=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(T,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,(0,o.createVNode)(k,{onClick:_.addAward,class:"btn-award"},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"]),e.hasWarning("award")?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,"â ï¸ "+(0,o.toDisplayString)(e.getWarning("award")),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",u,[B.isFetchingAwards?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[c],64)):((0,o.openBlock)(),(0,o.createBlock)(x,{key:1,items:B.awards,onSelect:_.selectAward,class:"award",displayKey:"action_text"},{value:(0,o.withCtx)((function(e){var t=e.item;return[(0,o.createElementVNode)("div",d,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.name),1),t.organization?((0,o.openBlock)(),(0,o.createElementBlock)("span",A,"("+(0,o.toDisplayString)(t.organization)+")",1)):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["items","onSelect"]))])]),(0,o.createVNode)(E,{show:B.selectedAward,onClose:t[3]||(t[3]=function(e){return B.selectedAward=null}),class:"award__modal"},{default:(0,o.withCtx)((function(){var n;return[(0,o.createElementVNode)("form",{onSubmit:t[2]||(t[2]=(0,o.withModifiers)((function(){return _.saveAward&&_.saveAward.apply(_,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("div",f,[h,(0,o.createElementVNode)("h5",m,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("name")}]),placeholder:"Name",id:"input_name","onUpdate:modelValue":t[0]||(t[0]=function(e){return B.form.name=e}),required:""},null,2),[[o.vModelText,B.form.name]]),e.hasError("name")?((0,o.openBlock)(),(0,o.createElementBlock)("div",v,(0,o.toDisplayString)(e.getError("name")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",g,[y,(0,o.createElementVNode)("h5",b,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("organization")}]),placeholder:"Organization",id:"input_organization","onUpdate:modelValue":t[1]||(t[1]=function(e){return B.form.organization=e})},null,2),[[o.vModelText,B.form.organization]]),e.hasError("organization")?((0,o.openBlock)(),(0,o.createElementBlock)("div",w,(0,o.toDisplayString)(e.getError("organization")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",L,[null!==(n=B.selectedAward)&&void 0!==n&&n.id?((0,o.openBlock)(),(0,o.createBlock)(k,{key:0,class:"award__modal__actions__delete-btn","button-style":"danger btn-sm",type:"button",onClick:(0,o.withModifiers)(_.deleteAward,["prevent"])},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(S,{name:"delete",size:"1.4rem"})]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(k,{onClick:_.saveAward},{default:(0,o.withCtx)((function(){return[C]})),_:1},8,["onClick"])])])],32)]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-7d0df5ce"]])},1371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-bd7b455a"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Genres",-1)})),l=(0,o.createTextVNode)("Add New Genre"),s={key:0,class:"category-warning-feedback text-danger"},u={class:"categories"},c=(0,o.createTextVNode)(" Loading Genres... "),d={class:"category__wrapper"},A={class:"category"},p={class:"property-field"},f=r((function(){return(0,o.createElementVNode)("label",{for:"input_name"},"Name*",-1)})),h={class:"input-group"},m={key:0,class:"invalid-feedback"},v={class:"category__modal__actions"},g=(0,o.createTextVNode)("Save Genre");var y=n(5706),b=n(6076),w=n(2099),L=n(5288),C=n(8330);const B={mixins:[n(1865).Z],components:{AdminLayout:y.Z,SButton:b.Z,DataProperty:w.Z,Menu:L.Z,Modal:C.Z},watch:{},data:function(){return{ERRORBAG:"categoryInput",categories:[],isFetchingCategories:!1,selectedCategory:null,form:this.$inertia.form({_method:"POST",name:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},computed:{},methods:{addCategory:function(){this.selectCategory({})},saveCategory:function(){var e,t,n,o=this,r=route("admin.categories.".concat(null!==(e=this.selectedCategory)&&void 0!==e&&e.id?"update":"store"),{category:null!==(t=this.selectedCategory)&&void 0!==t&&t.id?this.selectedCategory:void 0});this.form._method=null!==(n=this.selectedCategory)&&void 0!==n&&n.id?"PUT":"POST",this.form.post(r,{preserveScroll:!0,onSuccess:function(){o.selectedCategory=null,o.form.reset(),o.fetchCategories()},onError:function(e){},onFinish:function(){}})},selectCategory:function(e){this.selectedCategory=e,this.form.name=null==e?void 0:e.category_name}
2,deleteCategory:function(){var e,t=this;null!==(e=this.selectedCategory)&&void 0!==e&&e.id&&this.$q.dialog({title:"Confirm Removal",message:"Are you sure you want to delete this genre",rounded:!0,ok:{rounded:!0,color:"negative",label:"Delete"},cancel:{rounded:!0},persistent:!0}).onOk((function(e){t.$inertia.delete(route("admin.categories.destroy",{category:t.selectedCategory}),{onFinish:function(){t.fetchCategories(),t.selectedCategory=null}})})).onCancel((function(){}))},fetchCategories:function(){var e=this;this.isFetchingCategories=!0,axios.get(route("api.resources.categories")).then((function(t){if(t.data.data){var n=t.data.data;e.categories=n.sort((function(e,t){return e.category_name.localeCompare(t.category_name)}))}})).finally((function(){e.isFetchingCategories=!1}))}},mounted:function(){this.fetchCategories()}};const _=(0,n(3744).Z)(B,[["render",function(e,t,n,r,y,b){var w=(0,o.resolveComponent)("s-button"),L=(0,o.resolveComponent)("Menu"),C=(0,o.resolveComponent)("q-icon"),B=(0,o.resolveComponent)("modal"),_=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(_,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,(0,o.createVNode)(w,{onClick:b.addCategory,class:"btn-category"},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"]),e.hasWarning("category")?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,"â ï¸ "+(0,o.toDisplayString)(e.getWarning("category")),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",u,[y.isFetchingCategories?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[c],64)):((0,o.openBlock)(),(0,o.createBlock)(L,{key:1,items:y.categories,onSelect:b.selectCategory,class:"category",displayKey:"action_text"},{value:(0,o.withCtx)((function(e){var t=e.item;return[(0,o.createElementVNode)("div",d,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.category_name),1)])]})),_:1},8,["items","onSelect"]))])]),(0,o.createVNode)(B,{show:y.selectedCategory,onClose:t[2]||(t[2]=function(e){return y.selectedCategory=null}),class:"category__modal"},{default:(0,o.withCtx)((function(){var n;return[(0,o.createElementVNode)("form",{onSubmit:t[1]||(t[1]=(0,o.withModifiers)((function(){return b.saveCategory&&b.saveCategory.apply(b,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("div",p,[f,(0,o.createElementVNode)("h5",h,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("name")}]),placeholder:"Name",id:"input_name","onUpdate:modelValue":t[0]||(t[0]=function(e){return y.form.name=e}),required:""},null,2),[[o.vModelText,y.form.name]]),e.hasError("name")?((0,o.openBlock)(),(0,o.createElementBlock)("div",m,(0,o.toDisplayString)(e.getError("name")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",v,[null!==(n=y.selectedCategory)&&void 0!==n&&n.id?((0,o.openBlock)(),(0,o.createBlock)(w,{key:0,class:"category__modal__actions__delete-btn","button-style":"danger btn-sm",type:"button",onClick:(0,o.withModifiers)(b.deleteCategory,["prevent"])},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(C,{name:"delete",size:"1.4rem"})]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(w,{onClick:b.saveCategory},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["onClick"])])])],32)]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-bd7b455a"]])},4790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-0eafcd44"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Featured Books",-1)})),l=r((function(){return(0,o.createElementVNode)("p",{class:"text-white text-center"},[(0,o.createTextVNode)(" Drag featured books to the right column to feature them "),(0,o.createElementVNode)("small",null,"(all featured books will be featured on Squirl Maps)"),(0,o.createTextVNode)("."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" Select one book to make it the primary featured one. ")],-1)})),s={class:"map_featured"},u={class:"fbooks__list"},c={class:"book__info-wrapper"},d={class:"book__title text-gray"},A={key:0,class:"text-gray text-center"},p={class:"featured_wrapper",ref:"featured"},f={class:"fbooks__list"},h={key:0},m={class:"book__title text-gray"},v=["onChange","checked"];var g=n(8496),y=n(5706),b=n(6076),w=n(2099),L=n(5288),C=n(8330),B=n(8573),_=n(9826);const k={components:{AdminLayout:y.Z,SButton:b.Z,DataProperty:w.Z,Menu:L.Z,Modal:C.Z,draggable:g.J,LazyImage:B.Z,ToastMessage:_.Z},props:{books:Array},watch:{books:function(e){this.allBooks=e.filter((function(e){return!e.is_map_featured}
2)),this.featuredBooks=this.sortByFeaturedRank(e.filter((function(e){return e.is_map_featured})))}},data:function(){return{ERRORBAG:"featuredInput",showToast:!1,toastMessage:"",filterTitle:null,allBooks:this.books.filter((function(e){return!e.is_map_featured})),featuredBooks:this.sortByFeaturedRank(this.books.filter((function(e){return e.is_map_featured})))}},computed:{filteredBooks:function(){var e=this;return this.filterTitle?this.sortByTitle(this.allBooks.filter((function(t){return t.title.toLowerCase().includes(e.filterTitle)}))):this.sortByTitle(this.allBooks)}},methods:{updateFeaturedBooks:function(){var e=this;this.showToast=!1,this.$inertia.form({map_featured:this.featuredBooks.map((function(e){return e.id}))},{bag:this.ERRORBAG,resetOnSuccess:!1}).post(route("admin.featured.store"),{preserveScroll:!0,onSuccess:function(){e.showFeedback("Saved")},onError:function(t){e.showFeedback("Update Failed (".concat(Object.values(t[e.ERRORBAG]).join(", "),")"))}})},updateSingleFeatured:function(e){var t=this;this.$inertia.form({featured:e},{bag:this.ERRORBAG,resetOnSuccess:!1}).post(route("admin.featured.store"),{preserveScroll:!0,onSuccess:function(){t.showFeedback("Saved")},onError:function(e){t.showFeedback("Update Failed (".concat(Object.values(e[t.ERRORBAG]).join(", "),")"))}})},showFeedback:function(e){this.toastMessage=e,this.showToast=!0},sortByTitle:function(e){return e.sort((function(e,t){var n=e.title.toUpperCase(),o=t.title.toUpperCase();return n<o?-1:n>o?1:0}))},sortByFeaturedRank:function(e){return e.sort((function(e,t){return e.map_featured_rank-t.map_featured_rank}))}},mounted:function(){}};const x=(0,n(3744).Z)(k,[["render",function(e,t,n,r,g,y){var b=(0,o.resolveComponent)("lazy-image"),w=(0,o.resolveComponent)("draggable"),L=(0,o.resolveComponent)("toast-message"),C=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(C,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,l,(0,o.withDirectives)((0,o.createElementVNode)("input",{class:"title-filter",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(e){return g.filterTitle=e}),placeholder:"Filter by title"},null,512),[[o.vModelText,g.filterTitle]]),(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("div",u,[(0,o.createVNode)(w,{modelValue:y.filteredBooks,"onUpdate:modelValue":t[1]||(t[1]=function(e){return y.filteredBooks=e}),group:"items"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(o.TransitionGroup,{type:"transition",name:"flip-list"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(y.filteredBooks,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"book",key:e.id},[(0,o.createElementVNode)("div",c,[(0,o.createVNode)(b,{class:"book__image",imgUrl:e.image?e.image.public_path:"/images/empty_book_cover.png"},null,8,["imgUrl"]),(0,o.createElementVNode)("h5",d,(0,o.toDisplayString)(e.title),1)])])})),128))]})),_:1})]})),_:1},8,["modelValue"]),0===y.filteredBooks.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",A,"No matches for '"+(0,o.toDisplayString)(g.filterTitle)+"'",1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["text-gray text-center mb-2",{"text-red":g.featuredBooks.length>12,"text-green":g.featuredBooks.length<=12}])},[(0,o.createTextVNode)((0,o.toDisplayString)(g.featuredBooks.length)+" featured books ",1),g.featuredBooks.length>12?((0,o.openBlock)(),(0,o.createElementBlock)("small",h,"(only the first 12 will be displayed in the mobile app)")):(0,o.createCommentVNode)("",!0)],2),(0,o.createVNode)(w,{modelValue:g.featuredBooks,"onUpdate:modelValue":t[2]||(t[2]=function(e){return g.featuredBooks=e}),group:"items",class:"items",onChange:y.updateFeaturedBooks},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(o.TransitionGroup,{type:"transition",name:"flip-list"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(g.featuredBooks,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"book",key:e.id},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["book__info-wrapper",{"opacity-50":g.filterTitle&&!e.title.toLowerCase().includes(g.filterTitle)}])},[(0,o.createVNode)(b,{class:"book__image",imgUrl:e.image?e.image.public_path:"/images/empty_book_cover.png"},null,8,["imgUrl"]),(0,o.createElementVNode)("h5",m,(0,o.toDisplayString)(e.title),
21)],2),(0,o.createElementVNode)("input",{type:"radio",name:"superfeatured",onChange:function(t){return y.updateSingleFeatured(e.id)},checked:e.is_featured},null,40,v)])})),128))]})),_:1})]})),_:1},8,["modelValue","onChange"])])],512)])]),(0,o.createVNode)(L,{active:g.showToast,"onUpdate:active":t[3]||(t[3]=function(e){return g.showToast=e}),style:{top:"200px","max-width":"none",left:"1rem",right:"1rem","text-align":"center",position:"fixed"}},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(g.toastMessage),1)]})),_:1},8,["active"])]})),_:1})}],["__scopeId","data-v-0eafcd44"]])},8362:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var o=n(3868),r={class:"action"},i=(0,o.createTextVNode)(" Locations "),a={key:0},l=(0,o.createTextVNode)(" ("),s={class:"location-map"},u={class:"sq-marker"},c=["src"],d={key:0,class:"marker-label"},A={class:"popup"},p={class:"popup__title"},f={class:"popup__content"};var h=n(3627),m=n(5706),v=n(6076),g=n(8366),y=n(4148),b=n(5055);function w(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={components:{GoogleMap:h.GoogleMap,AdvancedMarker:h.AdvancedMarker,MarkerCluster:h.MarkerCluster,AdminLayout:m.Z,SButton:v.Z,MapPopup:g.Z},watch:{locations:function(e){this.markers=e.map((function(e){var t,n,o,r,i,a;"chapter"===e.type?(n=e.title,t={lat:Number((null===(o=e.location)||void 0===o||null===(r=o.coordinates)||void 0===r?void 0:r[1])||e.location.lat),lng:Number((null===(i=e.location)||void 0===i||null===(a=i.coordinates)||void 0===a?void 0:a[0])||e.location.lng)}):"place"===e.type&&(n=e.place_name,t={lat:Number(e.lat||e.latitude),lng:Number(e.lng||e.longitude)});return{_object:e,position:t,iconUrl:y.Fd.url,draggable:!1,labelText:n}})),this.isProcessingLocations=!1}},data:function(){return{apiPromise:b.b3,GOOGLE_MAPS_MAP_ID:b.rz,mapInstance:null,locations:[],markers:[],isFetchingLocations:!1,isProcessingLocations:!1,selectedLocation:null,center:{lat:40.689247,lng:-74.044502},clusterOptions:{renderer:(e=y.kz,{render:function(t){var n=t.count,o=t.position,r=document.createElement("div");r.style.position="relative",r.style.cursor="pointer";var i=document.createElement("img");i.src=e.url,i.style.width="".concat(e.width||42,"px"),i.style.height="".concat(e.height||52,"px"),i.style.display="block",r.appendChild(i);var a=document.createElement("span");return a.textContent=n,a.style.position="absolute",a.style.top="50%",a.style.left="50%",a.style.transform="translate(-50%, -65%)",a.style.color=e.textColor||"#FFFFFF",a.style.fontSize="".concat(e.textSize||14,"px"),a.style.fontWeight=e.fontWeight||"bold",r.appendChild(a),new google.maps.marker.AdvancedMarkerElement({position:o,content:r,zIndex:n})}})},minClusterSize:2};var e},methods:{fetchLocations:function(){var e=this;this.isFetchingLocations=!0,axios.get(route("api.admin.resources.locations")).then((function(t){if(t.data.data){var n,o;e.isProcessingLocations=!0;var r=(null===(n=t.data.data.places)||void 0===n?void 0:n.map((function(e){return B(B({},e),{},{type:"place"})})))||[],i=(null===(o=t.data.data.chapters)||void 0===o?void 0:o.map((function(e){return B(B({},e),{},{type:"chapter"})})))||[];e.locations=[].concat(w(r),w(i))}})).finally((function(){e.isFetchingLocations=!1}))},markerClicked:function(e){this.selectedLocation=e},openSelectedLocation:function(){var e,t;if("place"===this.selectedLocation._object.type)e=route("books.show",{book:null===(t=this.selectedLocation._object.book)||void 0===t?void 0:t.id});
2else if("chapter"===this.selectedLocation._object.type){var n;e=route("stories.show",{story:null===(n=this.selectedLocation._object.story)||void 0===n?void 0:n.id})}this.$inertia.visit(e)}},mounted:function(){var e=this;this.fetchLocations(),this._stopWatchMapReady=this.$watch((function(){var t;return null===(t=e.$refs.mapRef)||void 0===t?void 0:t.ready}),(function(t){t&&(e.mapInstance=e.$refs.mapRef.map,e._stopWatchMapReady&&e._stopWatchMapReady())}))}};const x=(0,n(3744).Z)(k,[["render",function(e,t,n,h,m,v){var g=(0,o.resolveComponent)("q-spinner-hourglass"),y=(0,o.resolveComponent)("AdvancedMarker"),b=(0,o.resolveComponent)("MarkerCluster"),w=(0,o.resolveComponent)("s-button"),L=(0,o.resolveComponent)("map-popup"),C=(0,o.resolveComponent)("GoogleMap"),B=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(B,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",r,[(0,o.createElementVNode)("h1",null,[i,m.isFetchingLocations||m.isProcessingLocations?((0,o.openBlock)(),(0,o.createElementBlock)("small",a,[l,(0,o.createVNode)(g,{color:"primary",style:{display:"inline"},size:"1em"}),(0,o.createTextVNode)((0,o.toDisplayString)(m.isProcessingLocations?"Processing":"Loading")+") ",1)])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",s,[(0,o.createVNode)(C,{ref:"mapRef",class:"sq-map","api-promise":m.apiPromise,"map-id":m.GOOGLE_MAPS_MAP_ID,center:m.center,zoom:2,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(b,{options:m.clusterOptions},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(m.markers,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(y,{key:"marker_".concat("ind_"+t),options:{position:e.position},onClick:function(t){return v.markerClicked(e)}},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("img",{src:e.iconUrl,draggable:"false"},null,8,c),e.labelText?((0,o.openBlock)(),(0,o.createElementBlock)("span",d,(0,o.toDisplayString)(e.labelText),1)):(0,o.createCommentVNode)("",!0)])]})),_:2},1032,["options","onClick"])})),128))]})),_:1},8,["options"]),m.selectedLocation&&m.mapInstance?((0,o.openBlock)(),(0,o.createBlock)(L,{key:0,map:m.mapInstance,latLng:m.selectedLocation.position,onTop:!0},{default:(0,o.withCtx)((function(){var e,t;return[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("div",p,(0,o.toDisplayString)(m.selectedLocation.labelText),1),(0,o.createElementVNode)("div",f," In "+(0,o.toDisplayString)("place"===m.selectedLocation._object.type?"Book":"Story")+": "+(0,o.toDisplayString)("place"===m.selectedLocation._object.type?null===(e=m.selectedLocation._object.book)||void 0===e?void 0:e.title:null===(t=m.selectedLocation._object.story)||void 0===t?void 0:t.title),1),(0,o.createVNode)(w,{class:"popup__btn","no-styling":"",onClick:v.openSelectedLocation},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)(" Go To "+(0,o.toDisplayString)("place"===m.selectedLocation._object.type?"Book":"Story"),1)]})),_:1},8,["onClick"])])]})),_:1},8,["map","latLng"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center"])])])]})),_:1})}],["__scopeId","data-v-112f04a8"]])},6285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ce});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-7336f5aa"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Notifications",-1)})),l=(0,o.createTextVNode)("Create New Notification"),s={class:"notifications"},u={class:"notification__wrapper"},c={class:"add-notification"},d={class:"property-field"},A=r((function(){return(0,o.createElementVNode)("label",{for:"input_title"},"Notification Title*",-1)})),p={class:"input-group"},f={class:"property-field"},h=r((function(){return(0,o.createElementVNode)("label",{for:"input_content"},"Content",-1)})),m={class:"textarea-editor"},v=["innerHTML"],g={class:"property-field"},y=r((function(){return(0,o.createElementVNode)("label",{for:"input_image"},"Image",-1)})),b=["src"],w=(0,o.createTextVNode)("add image"),L={class:"property-field"},C=r((function(){return(0,o.createElementVNode)("label",null,"User",-1)})),B=(0,o.createTextVNode)("Select Users"),_=(0,o.createTextVNode)(" All Users (click to select specific users) "),k={class:"property-field"},x=r((function(){return(0,o.createElementVNode)("label",{for:"input_title"},"Notification Action",-1)})),S={class:"add-notification__actions"},E=(0,o.createTextVNode)("Author"),T=(0,o.createTextVNode)("Book"),N=(0,o.createTextVNode)("Place"),F={type:"button",class:"inline-control"},V=(0,o.createTextVNode)(" CUSTOM URL "),O={key:0,class:"add-notification__action-value"},U={class:"modal__action"},Q=(0,o.createTextVNode)("Send Notification"),q={key:0,class:"show-notification table"},M={class:"show-notification__user"},I=r((function(){return(0,o.createElementVNode)("th",null,"To User",-1)})),P={class:"show-notification__origin"},D=r((function(){return(0,o.createElementVNode)("th",null,"From User",-1)})),H={class:"show-notification__title"},R=r((function(){return(0,o.createElementVNode)("th",null,"Notification Title",-1)})),j={class:"show-notification__content"},$=r((function(){return(0,o.createElementVNode)("th",null,"Notification Content",-1)})),z=["innerHTML"],K={class:"show-notification__image"},W=r((function(){return(0,o.createElementVNode)("th",null,"Image",-1)})),Y=["src"],G={class:"show-notification__type"},Z=r((function(){return(0,o.createElementVNode)("th",null,"At",-1)})),J={class:"show-notification__type"},X=r((function(){return(0,o.createElementVNode)("th",null,"Type",-1)})),ee={class:"show-notification__type"},te=r((function(){return(0,o.createElementVNode)("th",null,"Read",-1)}));var ne=n(9828),oe=n(6095),re=n(5706),ie=n(6076),ae=n(2099),le=n(5288),se=n(8330);const ue={mixins:[n(1865).Z],components:{AdminLayout:re.Z,SButton:ie.Z,DataProperty:ae.Z,Menu:le.Z,Modal:se.Z},props:{notifications:{type:Array,default:[]}},watch:{"form.image":function(){this.imagePreview=null}},data:function(){return{ERRORBAG:"notificationInput",isAddingNotification:!1,showingNotification:null,imageDragging:!1,imagePreview:null,contentEditor:null,form:this.$inertia.form({_method:"POST",title:null,content:null,users:[],action_type:null,action_value:null,action_url:null,image:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},computed:{notificationImage:function(){var e=this;return this.imagePreview?this.imagePreview:this.form.image instanceof File?new Promise((function(t,n){var o=new FileReader;o.onload=function(n){e.imagePreview=n.target.result,t(e.imagePreview)},o.readAsDataURL(e.form.image)})):this.isURL(this.form.image)?this.form.image:route("api.image-placeholder")}},methods:{addNotification:function(){this.isAddingNotification=!0}
2,saveNotification:function(){var e=this;this.form.content=this.contentEditor.root.innerHTML,this.form.post(route("admin.notifications.store"),{preserveScroll:!0,onSuccess:function(){e.isAddingNotification=!1,e.form.reset()},onError:function(e){},onFinish:function(){}})},selectNotification:function(e){this.showingNotification=e},getNotificationContent:function(e){var t,n,o,r,i;if(null!=e&&null!==(t=e.content)&&void 0!==t&&null!==(n=t.content)&&void 0!==n&&n.body)return null===(i=e.content.content)||void 0===i?void 0:i.body;if(null!=e&&null!==(o=e.content)&&void 0!==o&&o.content)return e.content.content;var a=Object.keys(e.content).filter((function(e){return"actingUser"!==e}));if(1===a.length){var l=a[0],s=e.content[l];return"story"===l?"<em>On story ".concat(null==s||null===(r=s.appUserComments)||void 0===r?void 0:r.join(", ")," - n/a</em>"):"<em>On ".concat(l," - n/a</em>")}return"<em>n/a</em>"},formatDate:function(e){return ne.hTZ.formatDate(e,"YYYY-MM-DD HH:mm",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])}},mounted:function(){this.contentEditor=new oe("#input_content",{debug:"info",modules:{},placeholder:"",theme:"snow"})}};const ce=(0,n(3744).Z)(ue,[["render",function(e,t,n,r,ne,oe){var re=(0,o.resolveComponent)("s-button"),ie=(0,o.resolveComponent)("Menu"),ae=(0,o.resolveComponent)("data-property"),le=(0,o.resolveComponent)("modal"),se=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(se,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,(0,o.createVNode)(re,{onClick:oe.addNotification,class:"btn-add-notification"},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"]),(0,o.createElementVNode)("div",s,[(0,o.createVNode)(ie,{items:n.notifications,onSelect:oe.selectNotification,class:"notification",displayKey:"action_text"},{value:(0,o.withCtx)((function(e){var t,n,r,i=e.item;return[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(oe.formatDate(i.created_at||i.created_date)),1),(0,o.createElementVNode)("span",null,[(0,o.createTextVNode)((0,o.toDisplayString)((null===(t=i.actingUser)||void 0===t?void 0:t.screenName)||(null===(n=i.actingUser)||void 0===n?void 0:n.screen_name))+" â ",1),(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)((null===(r=i.user)||void 0===r?void 0:r.screen_name)||"*unknown user*"),1)]),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(i.action_text),1)])]})),_:1},8,["items","onSelect"])])]),(0,o.createVNode)(le,{show:ne.isAddingNotification,onClose:t[12]||(t[12]=function(e){return ne.isAddingNotification=!1}),class:"add-notification__modal"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("form",{onSubmit:t[11]||(t[11]=(0,o.withModifiers)((function(){return oe.saveNotification&&oe.saveNotification.apply(oe,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("div",d,[A,(0,o.createElementVNode)("h5",p,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("title")}]),placeholder:"Title",id:"input_title","onUpdate:modelValue":t[0]||(t[0]=function(e){return ne.form.title=e}),required:""},null,2),[[o.vModelText,ne.form.title]])])]),(0,o.createElementVNode)("div",f,[h,(0,o.createElementVNode)("div",m,[(0,o.createElementVNode)("div",{id:"input_content",class:(0,o.normalizeClass)({"is-invalid":e.hasError("content")}),innerHTML:ne.form.content},null,10,v)])]),(0,o.createElementVNode)("div",g,[y,(0,o.createElementVNode)("div",{class:"add-notification__image",onDrop:t[2]||(t[2]=function(){return oe.fileDropped&&oe.fileDropped.apply(oe,arguments)}),onDragover:t[3]||(t[3]=function(){return oe.draggingOver&&oe.draggingOver.apply(oe,arguments)}),onDragleave:t[4]||(t[4]=function(){return oe.notDraggingOver&&oe.notDraggingOver.apply(oe,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["add-notification__image__image",ne.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:oe.notificationImage},null,8,b)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[1]||(t[1]=function(){return oe.fileSelected&&oe.fileSelected.apply(oe,arguments)})},null,544),(0,o.createVNode)(re,{type:"button","button-style":"primary",class:"notification__image__action",onClick:(0,o.withModifiers)(oe.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[w]})),_:1},8,["onClick"])],32)]),(0,o.createElementVNode)("div",L,[C,(0,o.createVNode)(ae,{placeholder:"Language",modelValue:ne.form.users,"onUpdate:modelValue":t[5]||(t[5]=function(e){return ne.form.users=e}),type:"select-pills",label:"User(s)","select-options-res":"users",error:e.getError("users")},{customTitle:(0,o.withCtx)((function(){return[B]})),default:(0,o.withCtx)((function(){return[_]})),_:1},8,["modelValue","error"])]),(0,o.createElementVNode)("div",k,[x,(0,o.createElementVNode)("div",S,[(0,o.createVNode)(re,{type:"button","button-style":"author"==ne.form.action_type?"primary":"primary-inverse",onClick:t[6]||(t[6]=function(e){return ne.form.action_type="author"})},{default:(0,o.withCtx)((function(){return[E]})),_:1},8,["button-style"]),(0,o.createVNode)(re,{type:"button","button-style":"book"==ne.form.action_type?"primary":"primary-inverse",onClick:t[7]||(t[7]=function(e){return ne.form.action_type="book"})},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["button-style"]),(0,o.createVNode)(re,{type:"button","button-style":"place"==ne.form.action_type?"primary":"primary-inverse",onClick:t[8]||(t[8]=function(e){return ne.form.action_type="place"})},{default:(0,o.withCtx)((function(){return[N]})),_:1},8,["button-style"]),(0,o.createElementVNode)("button",F,[(0,o.createVNode)(ae,{modelValue:ne.form.action_url,"onUpdate:modelValue":t[9]||(t[9]=function(e){return ne.form.action_url=e}),error:e.getError("action_url")},{default:(0,o.withCtx)((function(){return[V]})),_:1},8,["modelValue","error"])])]),ne.form.action_type?((0,o.openBlock)(),(0,o.createElementBlock)("div",O,[(0,o.createVNode)(ae,{placeholder:"Language",modelValue:ne.form.action_value,"onUpdate:modelValue":t[10]||(t[10]=function(e){return ne.form.action_value=e}),type:"select","select-options-res":ne.form.action_type,error:e.getError("action_value")},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)(" select "+(0,o.toDisplayString)(ne.form.action_type),1)]})),_:1},8,["modelValue","select-options-res","error"])])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",U,[(0,o.createVNode)(re,{onClick:oe.s
2aveNotification},{default:(0,o.withCtx)((function(){return[Q]})),_:1},8,["onClick"])])])],32)]})),_:1},8,["show"]),(0,o.createVNode)(le,{show:!!ne.showingNotification,onClose:t[13]||(t[13]=function(e){return ne.showingNotification=null})},{default:(0,o.withCtx)((function(){var e,t,n,r;return[ne.showingNotification?((0,o.openBlock)(),(0,o.createElementBlock)("table",q,[(0,o.createElementVNode)("tbody",null,[(0,o.createElementVNode)("tr",M,[I,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)((null===(e=ne.showingNotification.user)||void 0===e?void 0:e.screen_name)||"unknown"),1)]),(0,o.createElementVNode)("tr",P,[D,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)((null===(t=ne.showingNotification.actingUser)||void 0===t?void 0:t.screenName)||(null===(n=ne.showingNotification.actingUser)||void 0===n?void 0:n.screen_name)),1)]),(0,o.createElementVNode)("tr",H,[R,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(ne.showingNotification.action_text),1)]),(0,o.createElementVNode)("tr",j,[$,(0,o.createElementVNode)("td",{innerHTML:oe.getNotificationContent(ne.showingNotification)},null,8,z)]),(0,o.createElementVNode)("tr",K,[W,(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("img",{src:null===(r=ne.showingNotification.image)||void 0===r?void 0:r.url},null,8,Y)])]),(0,o.createElementVNode)("tr",G,[Z,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(oe.formatDate(ne.showingNotification.created_at||ne.showingNotification.created_date)),1)]),(0,o.createElementVNode)("tr",J,[X,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(ne.showingNotification.type),1)]),(0,o.createElementVNode)("tr",ee,[te,(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(ne.showingNotification.seen?"Yes":"No")+" "+(0,o.toDisplayString)(ne.showingNotification.read_at?oe.formatDate(ne.showingNotification.read_at):""),1)])])])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-7336f5aa"]])},3119:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-05aa8bd2"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Settings",-1)})),l={class:"property-field"},s=r((function(){return(0,o.createElementVNode)("label",{for:"input_amazon_affiliate_id"},"Amazon Affiliate ID",-1)})),u={class:"input-group"},c={key:0,class:"invalid-feedback"},d={class:"property-field"},A=r((function(){return(0,o.createElementVNode)("label",{for:"input_bookshop_affiliate_id"},"Bookshop Affiliate ID",-1)})),p={class:"input-group"},f={key:0,class:"invalid-feedback"},h={class:"property-field"},m=r((function(){return(0,o.createElementVNode)("label",{for:"input_appstore_affiliate_id"},"App Store Affiliate ID",-1)})),v={class:"input-group"},g={key:0,class:"invalid-feedback"},y={class:"settings__actions"},b=(0,o.createTextVNode)("Save Settings");var w=n(5706),L=n(6076),C=n(9826);const B={mixins:[n(1865).Z],components:{AdminLayout:w.Z,SButton:L.Z,ToastMessage:C.Z},props:{settings:Object},data:function(){var e,t,n;return{ERRORBAG:"settingsInput",showToast:!1,toastMessage:"",form:this.$inertia.form({_method:"PUT",amazon_affiliate_id:(null===(e=this.settings)||void 0===e?void 0:e.amazon_affiliate_id)||null,bookshop_affiliate_id:(null===(t=this.settings)||void 0===t?void 0:t.bookshop_affiliate_id)||null,appstore_affiliate_id:(null===(n=this.settings)||void 0===n?void 0:n.appstore_affiliate_id)||null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},methods:{saveSettings:function(){var e=this;this.form.post(route("admin.settings.update"),{preserveScroll:!0,onSuccess:function(){e.showFeedback("Saved"),e.restartFormTracking()},onError:function(t){e.showFeedback("Update Failed (".concat(Object.values(t[e.ERRORBAG]||{}).join(", "),")"))}})},showFeedback:function(e){this.toastMessage=e,this.showToast=!0}}};const _=(0,n(3744).Z)(B,[["render",function(e,t,n,r,w,L){var C=(0,o.resolveComponent)("s-button"),B=(0,o.resolveComponent)("toast-message"),_=(0,o.resolveComponent)("admin-layout");return(0,o.openBlock)(),(0,o.createBlock)(_,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,(0,o.createElementVNode)("form",{class:"settings",onSubmit:t[3]||(t[3]=(0,o.withModifiers)((function(){return L.saveSettings&&L.saveSettings.apply(L,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",l,[s,(0,o.createElementVNode)("h5",u,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("amazon_affiliate_id")}]),placeholder:"Amazon Affiliate ID",id:"input_amazon_affiliate_id","onUpdate:modelValue":t[0]||(t[0]=function(e){return w.form.amazon_affiliate_id=e})},null,2),[[o.vModelText,w.form.amazon_affiliate_id]]),e.hasError("amazon_affiliate_id")?((0,o.openBlock)(),(0,o.createElementBlock)("div",c,(0,o.toDisplayString)(e.getError("amazon_affiliate_id")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",d,[A,(0,o.createElementVNode)("h5",p,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("bookshop_affiliate_id")}]),placeholder:"Bookshop Affiliate ID",id:"input_bookshop_affiliate_id","onUpdate:modelValue":t[1]||(t[1]=function(e){return w.form.bookshop_affiliate_id=e})},null,2),[[o.vModelText,w.form.bookshop_affiliate_id]]),e.hasError("bookshop_affiliate_id")?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,(0,o.toDisplayString)(e.getError("bookshop_affiliate_id")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",h,[m,(0,o.createElementVNode)("h5",v,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("appstore_affiliate_id")}]),placeholder:"App Store Affiliate ID",id:"input_appstore_affiliate_id","onUpdate:modelValue":t[2]||(t[2]=function(e){return w.form.appstore_affiliate_id=e})},null,2),[[o.vModelText,w.form.appstore_affiliate_id]]),e.hasError("appstore_affiliate_id")?((0,o.openBlock)(),(0,o.createElementBlock)("div",g,(0,o.toDisplayString)(e.getError("appstore_affiliate_id")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",y,[(0,o.createVNode)(C,{type:"submit","button-style":"primary-inverse"},{default:(0,o.withCtx)((function(){return[b]})),_:1})])],32)]),(0,o.createVNode)(B,{active:w.showToast,"onUpdate:active":t[4]||(t[4]=function(e){return w.showToast=e}
2),style:{top:"200px","max-width":"none",left:"1rem",right:"1rem","text-align":"center",position:"fixed"}},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(w.toastMessage),1)]})),_:1},8,["active"])]})),_:1})}],["__scopeId","data-v-05aa8bd2"]])},3035:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Pe});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-3816d5de"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Users",-1)})),l={class:"role-filters"},s=(0,o.createTextVNode)(" All Mobile "),u=(0,o.createTextVNode)(" Mobile with Pushes "),c={class:"users"},d=(0,o.createTextVNode)(" Loading Users... "),A={class:"user__wrapper"},p={key:0,class:"text-gray text-center"},f={class:"user__columns"},h={class:"user"},m={class:"property-field"},v=r((function(){return(0,o.createElementVNode)("label",{for:"input_name"},"Screen Name",-1)})),g=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),y={class:"property-field"},b=r((function(){return(0,o.createElementVNode)("label",{for:"input_name"},"Username",-1)})),w=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),L={class:"property-field"},C=r((function(){return(0,o.createElementVNode)("label",{for:"input_organization"},"Email",-1)})),B=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),_={class:"property-field"},k=r((function(){return(0,o.createElementVNode)("label",null,"Test user",-1)})),x=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),S={class:"property-field"},E=r((function(){return(0,o.createElementVNode)("label",{for:"input_organization"},"Registered devices for push notifications",-1)})),T={class:"devices"},N=(0,o.createTextVNode)(" Loading Details... "),F={class:"device__wrapper"},V=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),O={key:0,class:"property-field"},U={key:0},Q=["href"],q={class:"property-field"},M={key:0},I={key:1},P=r((function(){return(0,o.createElementVNode)("div",{class:"user__modal__actions"},null,-1)})),D={key:0,class:"user"},H={class:"property-field"},R=r((function(){return(0,o.createElementVNode)("label",null,"Test Locations",-1)})),j={class:"test-locations"},$=(0,o.createTextVNode)(" Loading Details... "),z={key:0},K={class:"test-location__info"},W={key:0},Y=["href"],G={class:"test-location-log"},Z=r((function(){return(0,o.createElementVNode)("label",null,"Recent events (latest 20)",-1)})),J={key:0},X=(0,o.createTextVNode)("Add Test Location"),ee={class:"user"},te={class:"property-field"},ne=r((function(){return(0,o.createElementVNode)("label",{for:"input_notif_title"},"Message Title",-1)})),oe={class:"input-group"},re={key:0,class:"invalid-feedback"},ie={class:"property-field"},ae=r((function(){return(0,o.createElementVNode)("label",{for:"input_notif_body"},"Message Content",-1)})),le={class:"input-group"},se={key:0,class:"invalid-feedback"},ue=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),ce={class:"user__modal__actions"},de=(0,o.createTextVNode)("Send Push Message"),Ae={class:"user"},pe={class:"property-field"},fe=r((function(){return(0,o.createElementVNode)("label",{for:"input_test_location_name"},"Name",-1)})),he={class:"input-group"},me={key:0,class:"invalid-feedback"},ve={class:"property-field"},ge=r((function(){return(0,o.createElementVNode)("label",null,"Location (click the map to place the marker)",-1)})),ye={class:"test-location-map"},be={class:"sq-marker"},we=["src"],Le={class:"raw-values"},Ce=r((function(){return(0,o.createElementVNode)("span",null,"Latitude:",-1)})),Be=r((function(){return(0,o.createElementVNode)("span",null,"Longitude:",-1)})),_e=r((function(){return(0,o.createElementVNode)("hr",null,null,-1)})),ke={class:"user__modal__actions"},xe=(0,o.createTextVNode)("Save Test Location");var Se=n(9828),Ee=n(3627),Te=n(5706),Ne=n(6076),Fe=n(2099),Ve=n(5288),Oe=n(8330),Ue=n(1865),Qe=n(5055),qe=n(4148),Me={days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"};
2const Ie={mixins:[Ue.Z],components:{AdminLayout:Te.Z,SButton:Ne.Z,DataProperty:Fe.Z,Menu:Ve.Z,Modal:Oe.Z,GoogleMap:Ee.GoogleMap,AdvancedMarker:Ee.AdvancedMarker},watch:{},data:function(){return{ERRORBAG:"userInput",users:[],isFetchingUsers:!1,isFetchingUserDetails:!1,selectedUser:null,userDetails:null,selectedDevice:null,isSavingTestUser:!1,isAddingTestLocation:!1,testLocationMapCenter:{lat:40.689247,lng:-74.044502},filterName:null,filterRole:null,filterMobilePushes:!1,roleFilters:[{value:"ROLE_ADMIN",label:"Admin"},{value:"ROLE_PUBLISHER",label:"Publisher"},{value:"AT_USER",label:"Author Tool"}],form:this.$inertia.form({_method:"POST",title:null,body:null},{bag:this.ERRORBAG,resetOnSuccess:!1}),testLocationForm:this.$inertia.form({_method:"POST",name:null,location:{lat:null,lng:null}},{bag:"userInput",resetOnSuccess:!1}),apiPromise:Qe.b3,GOOGLE_MAPS_MAP_ID:Qe.rz}},computed:{filteredUsers:function(){var e=this,t=this.users;return this.filterRole&&(t=t.filter((function(t){var n,o;return(null===(n=t.roles)||void 0===n?void 0:n.includes(e.filterRole))||"MOBILE_USER"===e.filterRole&&!(null!==(o=t.roles)&&void 0!==o&&o.length)}))),"MOBILE_USER"===this.filterRole&&this.filterMobilePushes&&(t=t.filter((function(e){return e.devices_count>0}))),this.filterName&&(t=t.filter((function(t){var n,o;return(null===(n=t.screen_name)||void 0===n?void 0:n.toLowerCase().includes(e.filterName))||(null===(o=t.email)||void 0===o?void 0:o.toLowerCase().includes(e.filterName))}))),t},lastPushContent:function(){var e,t,n;return null===(e=this.userDetails)||void 0===e||null===(t=e.last_push)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.content},lastTrackCoords:function(){var e,t;return this.pointToCoords(null===(e=this.userDetails)||void 0===e||null===(t=e.last_track)||void 0===t?void 0:t.location)},testLocationMarker:function(){var e=this.testLocationForm.location||{},t=e.lat,n=e.lng;return null==t||null==n||""===t||""===n?null:{position:{lat:Number(t),lng:Number(n)},iconUrl:qe.Fd.url}}},methods:{toggleRoleFilter:function(e){this.filterRole=this.filterRole===e?null:e,this.filterMobilePushes=!1},toggleMobileFilter:function(){this.toggleRoleFilter("MOBILE_USER")},setMobileFilter:function(e){this.filterRole="MOBILE_USER",this.filterMobilePushes=e},selectUser:function(e){this.selectedUser=e,this.userDetails=null,this.fetchUserDetails()},selectDevice:function(e){this.selectedDevice=e},pointToCoords:function(e){return e?Array.isArray(e.coordinates)?{lat:Number(e.coordinates[1]),lng:Number(e.coordinates[0])}:null!=e.lat&&null!=e.lng?{lat:Number(e.lat),lng:Number(e.lng)}:null:null},toggleTestUser:function(e){var t=this;this.isSavingTestUser=!0,this.$inertia.put(route("admin.users.update",{user:this.selectedUser}),{is_test_user:e},{preserveScroll:!0,onSuccess:function(){t.fetchUserDetails()},onFinish:function(){t.isSavingTestUser=!1}})},openAddTestLocation:function(){this.testLocationForm.reset(),this.testLocationMapCenter=this.lastTrackCoords||{lat:40.689247,lng:-74.044502},this.isAddingTestLocation=!0},testLocationMapClicked:function(e){null!=e&&e.latLng&&(this.testLocationForm.location={lat:e.latLng.lat(),lng:e.latLng.lng()})},testLocationMarkerMoved:function(e){var t,n=e.latLng||(null===(t=e.target)||void 0===t?void 0:t.position);if(n){var o="function"==typeof n.lat?n.lat():n.lat,r="function"==typeof n.lng?n.lng():n.lng;this.testLocationForm.location={lat:o,lng:r}}},saveTestLocation:function(){var e=this;this.testLocationForm.post(route("admin.users.test-locations.store",{user:this.selectedUser}),{preserveScroll:!0,onSuccess:function(){e.isAddingTestLocation=!1,e.testLocationForm.reset(),e.fetchUserDetails()}})},deleteTestLocation:function(e){var t=this;this.$q.dialog({title:"Confirm Removal",message:'Are you sure you want to delete test location "'.concat(e.name,'"?'),rounded:!0,ok:{rounded:!0,color:"negative",label:"Delete"},cancel:{rounded:!0},persistent:!0}).onOk((function(){t.$inertia.delete(route("admin.users.test-locations.destroy",{user:t.selectedUser,testLocation:e}),{preserveScroll:!0,onFinish:function(){t.fetchUserDetails()}})}))},sendPush:function(){var e=this;this.form.post(route("admin.users.send-notification",{user:this.selectedUser,device:this.selectedDevice}),{preserveScroll:!0,onSuccess:function(){e.selectedDevice=null,e.selectedUser=null},onError:function(e){},onFinish:function(){}})},fetchUsers:function(){var e=this;this.isFetchingUsers=!0,axios.get(route("api.resources.users")).then((function(t){if(t.data.data){var n=t.data.data;e.users=n}})).finally((function(){e.isFetchingUsers=!1}))},fetchUserDetails:function(){var e=this;this.selectedUser&&(this.isFetchingUserDetails=!0,axios.get(route("admin.users.get-
2details",{user:this.selectedUser})).then((function(t){t.data&&(e.userDetails=t.data)})).finally((function(){e.isFetchingUserDetails=!1})))},formatDateTime:function(e){return Se.hTZ.formatDate(e,"MMM. Do HH:mm",Me)},formatDate:function(e){return Se.hTZ.formatDate(e,"MMM. Do YYYY",Me)}},mounted:function(){this.fetchUsers()}};const Pe=(0,n(3744).Z)(Ie,[["render",function(e,t,n,r,Se,Ee){var Te=(0,o.resolveComponent)("s-button"),Ne=(0,o.resolveComponent)("q-item"),Fe=(0,o.resolveComponent)("q-list"),Ve=(0,o.resolveComponent)("q-btn-dropdown"),Oe=(0,o.resolveComponent)("Menu"),Ue=(0,o.resolveComponent)("q-toggle"),Qe=(0,o.resolveComponent)("q-icon"),qe=(0,o.resolveComponent)("modal"),Me=(0,o.resolveComponent)("AdvancedMarker"),Ie=(0,o.resolveComponent)("GoogleMap"),Pe=(0,o.resolveComponent)("admin-layout"),De=(0,o.resolveDirective)("close-popup");return(0,o.openBlock)(),(0,o.createBlock)(Pe,null,{default:(0,o.withCtx)((function(){var n;return[(0,o.createElementVNode)("section",i,[a,(0,o.withDirectives)((0,o.createElementVNode)("input",{class:"name-filter",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(e){return Se.filterName=e}),placeholder:"Filter by name"},null,512),[[o.vModelText,Se.filterName]]),(0,o.createElementVNode)("div",l,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(Se.roleFilters,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(Te,{key:e.value,type:"button","button-style":(Se.filterRole===e.value?"primary":"primary-inverse")+" btn-sm",onClick:function(t){return Ee.toggleRoleFilter(e.value)}},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)]})),_:2},1032,["button-style","onClick"])})),128)),(0,o.createVNode)(Ve,{split:"",dense:"",type:"button",class:(0,o.normalizeClass)(["btn uppercase btn-sm","MOBILE_USER"===Se.filterRole?"btn-primary":"btn-primary-inverse"]),style:{"margin-left":"0.3rem"},label:"MOBILE_USER"===Se.filterRole&&Se.filterMobilePushes?"Mobile with Pushes":"Mobile App",onClick:Ee.toggleMobileFilter},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Fe,null,{default:(0,o.withCtx)((function(){return[(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(Ne,{clickable:"",active:"MOBILE_USER"===Se.filterRole&&!Se.filterMobilePushes,onClick:t[1]||(t[1]=function(e){return Ee.setMobileFilter(!1)})},{default:(0,o.withCtx)((function(){return[s]})),_:1},8,["active"])),[[De]]),(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(Ne,{clickable:"",active:"MOBILE_USER"===Se.filterRole&&Se.filterMobilePushes,onClick:t[2]||(t[2]=function(e){return Ee.setMobileFilter(!0)})},{default:(0,o.withCtx)((function(){return[u]})),_:1},8,["active"])),[[De]])]})),_:1})]})),_:1},8,["class","label","onClick"])]),(0,o.createElementVNode)("div",c,[Se.isFetchingUsers?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[d],64)):((0,o.openBlock)(),(0,o.createBlock)(Oe,{key:1,items:Ee.filteredUsers,onSelect:Ee.selectUser,class:"user",displayKey:"action_text"},{value:(0,o.withCtx)((function(e){var t=e.item;return[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.screen_name),1),(0,o.createElementVNode)("span",null,"("+(0,o.toDisplayString)(t.email)+")",1)])]})),default:(0,o.withCtx)((function(){return[0===Ee.filteredUsers.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",p,"No matches for '"+(0,o.toDisplayString)(e.filterTitle)+"'",1)):(0,o.createCommentVNode)("",!0)]})),_:1},8,["items","onSelect"]))])]),(0,o.createVNode)(qe,{show:Se.selectedUser,onClose:t[3]||(t[3]=function(e){return Se.selectedUser=null}),class:(0,o.normalizeClass)(["user__modal",{"modal-big":null===(n=Se.userDetails)||void 0===n?void 0:n.is_test_user}])},{default:(0,o.withCtx)((function(){var e,t,n,r,i,a,l,s,u,c,d,A,p,ee;return[(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("div",m,[v,(0,o.createElementVNode)("h5",null,(0,o.toDisplayString)(null===(e=Se.selectedUser)||void 0===e?void 0:e.screen_name),1)]),g,(0,o.createElementVNode)("div",y,[b,(0,o.createElementVNode)("h5",null,(0,o.toDisplayString)(null===(t=Se.selectedUser)||void 0===t?void 0:t.username),1)]),w,(0,o.createElementVNode)("div",L,[C,(0,o.createElementVNode)("h5",null,(0,o.toDisplayString)(null===(n=Se.selectedUser)||void 0===n?void 0:n.email),1)]),B,(0,o.createElementVNode)("div",_,[k,(0,o.createElementVNode)("h5",null,[(0,o.createVNode)(Ue,{"model-value":!(null===(r=Se.userDetails)||void 0===r||!r.is_test_user),disable:Se.isFetchingUserDetails||Se.isSavingTestUser,"onUpdate:modelValue":Ee.toggleTestUser,color:"red"},null,8,["model-value","disable","onUpdate:modelValue"])])]),x,(0,o.createElementVNode)("div",S,[E,(0,o.createElementVNode)("h5",T,[Se.isFetchingUserDetails?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[N],64)):((0,o.openBlock)(),(0,o.createBlock)(Oe,{key:1,items:null===(i=Se.userDetails)||void 0===i?void 0:i.devices,onSelect:Ee.selectDevice,class:"device"},{value:(0,o.withCtx)((function(e){var t=e.item;return[(0,o.createElementVNode)("div",F,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.subscription_token.substring(0,12)),1),(0,o.createElementVNode)("small",null,"Last active "+(0,o.toDisplayString)(Ee.formatDate(t.last_ping)),1
2)])]})),_:1},8,["items","onSelect"]))])]),V,null!==(a=Se.userDetails)&&void 0!==a&&a.last_track?((0,o.openBlock)(),(0,o.createElementBlock)("div",O,[(0,o.createElementVNode)("h5",null,"Last nearby notification check at "+(0,o.toDisplayString)(Ee.formatDate(Se.userDetails.last_track.created_at)),1),Ee.lastTrackCoords?((0,o.openBlock)(),(0,o.createElementBlock)("small",U,[(0,o.createElementVNode)("a",{href:"https://www.google.com/maps?q=".concat(Ee.lastTrackCoords.lat,",").concat(Ee.lastTrackCoords.lng),target:"_blank",rel:"noopener noreferrer"},(0,o.toDisplayString)(Ee.lastTrackCoords.lat.toFixed(5))+", "+(0,o.toDisplayString)(Ee.lastTrackCoords.lng.toFixed(5)),9,Q)])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",q,[null!==(l=Se.userDetails)&&void 0!==l&&l.last_push?((0,o.openBlock)(),(0,o.createElementBlock)("h5",M,"Last push sent at "+(0,o.toDisplayString)(Ee.formatDate(Se.userDetails.last_push.created_at)),1)):(0,o.createCommentVNode)("",!0),Ee.lastPushContent?((0,o.openBlock)(),(0,o.createElementBlock)("small",I,"â"+(0,o.toDisplayString)(Ee.lastPushContent.title)+"â "+(0,o.toDisplayString)(Ee.lastPushContent.body),1)):(0,o.createCommentVNode)("",!0)]),P]),null!==(s=Se.userDetails)&&void 0!==s&&s.is_test_user?((0,o.openBlock)(),(0,o.createElementBlock)("div",D,[(0,o.createElementVNode)("div",H,[R,(0,o.createElementVNode)("h5",j,[Se.isFetchingUserDetails?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[$],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[null!==(u=Se.userDetails)&&void 0!==u&&null!==(c=u.test_locations)&&void 0!==c&&c.length?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",z,"No test locations yet.")),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(null===(d=Se.userDetails)||void 0===d?void 0:d.test_locations,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:e.id,class:"test-location"},[(0,o.createElementVNode)("div",K,[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.name),1),Ee.pointToCoords(e.location)?((0,o.openBlock)(),(0,o.createElementBlock)("small",W,[(0,o.createElementVNode)("a",{href:"https://www.google.com/maps?q=".concat(Ee.pointToCoords(e.location).lat,",").concat(Ee.pointToCoords(e.location).lng),style:{color:"rgb(114, 114, 114)"},target:"_blank",rel:"noopener noreferrer"},(0,o.toDisplayString)(Ee.pointToCoords(e.location).lat.toFixed(5))+", "+(0,o.toDisplayString)(Ee.pointToCoords(e.location).lng.toFixed(5)),9,Y)])):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(Te,{class:"test-location__delete-btn","button-style":"danger btn-sm",type:"button",onClick:(0,o.withModifiers)((function(t){return Ee.deleteTestLocation(e)}),["prevent"])},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Qe,{name:"delete",size:"1.2rem"})]})),_:2},1032,["onClick"])])})),128)),(0,o.createElementVNode)("div",G,[Z,null!==(A=Se.userDetails)&&void 0!==A&&null!==(p=A.test_location_log)&&void 0!==p&&p.length?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",J,"No events yet.")),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(null===(ee=Se.userDetails)||void 0===ee?void 0:ee.test_location_log,(function(e,t){var n,r;return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:t,class:"test-location-log__entry"},[(0,o.createElementVNode)("small",null,(0,o.toDisplayString)(Ee.formatDateTime(e.timestamp)),1),(0,o.createElementVNode)("span",null,[(0,o.createTextVNode)((0,o.toDisplayString)(e.message)+" ",1),null!==(n=e.context)&&void 0!==n&&null!==(r=n.test_location)&&void 0!==r&&r.name?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createTextVNode)(" â "+(0,o.toDisplayString)(e.context.test_location.name),1)],64)):(0,o.createCommentVNode)("",!0)])])})),128))])],64))]),(0,o.createVNode)(Te,{type:"button",onClick:Ee.openAddTestLocation},{default:(0,o.withCtx)((function(){return[X]})),_:1},8,["onClick"])])])):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["show","class"]),(0,o.createVNode)(qe,{show:Se.selectedDevice,onClose:t[7]||(t[7]=function(e){return Se.selectedDevice=null}),class:"user__modal"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("form",{onSubmit:t[6]||(t[6]=(0,o.withModifiers)((function(){return Ee.sendPush&&Ee.sendPush.apply(Ee,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",ee,[(0,o.createElementVNode)("div",te,[ne,(0,o.createElementVNode)("h5",oe,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("title")}]),placeholder:"Title",id:"input_notif_title","onUpdate:modelValue":t[4]||(t[4]=function(e){return Se.form.title=e}),required:""},null,2),[[o.vModelText,Se.form.title]]),e.hasError("title")?((0,o.openBlock)(),(0,o.createElementBlock)("div",re,(0,o.toDisplayString)(e.getError("title")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",ie,[ae,(0,o.createElementVNode)("h5",le,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("body")}]),placeholder:"Content",id:"input_notif_body","onUpdate:modelValue":t[5]||(t[5]=function(e){return Se.form.body=e}),required:""},null,2),[[o.vModelText,Se.form.body]]),e.hasError("body")?((0,o.openBlock)(),(0,o.createElementBlock)("div",se,(0,o.toDisplayString)(e.getError("body")),1)):(0,o.createCommentVNode)("",!0)])]),ue,(0,o.createElementVNode)("div",ce,[(0,o.createVNode)(Te,{onClick:Ee.sendPush},{default:(0,o.withCtx)((function(){return[de]})),_:1},8,["onClick"])])])],32)]})),_:1},8,["show"]),(0,o.createVNode)(qe,{show:Se.isAddingTestLocation,onClose:t[12]||(t[12]=function(e){return Se.isAddingTestLocation=!1}),class:"user__modal modal-big"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("form",{onSubmit:t[11]||(t[11]=(0,o.withModifiers)((function(){return Ee.saveTestLocation&&Ee.saveTestLocation.apply(Ee,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",Ae,[(0,o.createElementVNode)("div",pe,[fe,(0,o.createElementVNode)("h5",he,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("name")}]),placeholder:"Name",id:"input_test_location_name","onUpdate:modelValue":t[8]||(t[8]=function(e){return Se.testLocationForm.name=e}),required:""},null,2),[[o.vModelText,Se.testLocationForm.name]]),e.hasError("name")?((0,o.openBlock)(),(0,o.createElementBlock)("div",me,(0,o.toDisplayString)(e.getError("name")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",ve,[ge,(0,o.createElementVNode)("div",ye,[Se.isAddingTestLocation?((0,o.openBlock)(),(0,o.createBlock)(Ie,{key:0,"api-promise":Se.apiPromise,"map-id":Se.GOOGLE_MAPS_MAP_ID,center:Se.testLocationMapCenter,zoom:12,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0,onClick:Ee.testLocationMapClicked},{default:(0,o.withCtx)((function(){return[Ee.testLocationMarker?((0,o.openBlock)(),(0,o.createBlock)(Me,{key:0,options:{position:Ee.testLocationMarker.position,gmpDraggable:!0},onDragend:Ee.testLocationMarkerMoved},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",be,[(0,o.createElementVNode)("img",{src:Ee.testLocationMarker.iconUrl,draggable:"false"},null,8,we)])]})),_:1},8,["options","onDragend"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center","onClick"])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",Le,[Ce,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[9]||(t[9]=function(e){return Se.testLocationForm.location.lat=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("location.lat")}])},null,2),[[o.vModelText,Se.testLocationForm.location.lat]]),Be,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[10]||(t[10]=function(e){return Se.testLocationForm.location.lng=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("location.lng")}])},null,2),[[o.vModelText,Se.testLocationForm.location.lng]])])]),_e,(0,o.createElementVNode)("div",ke,[(0,o.createVNode)(Te,{type:"submit"},{default:(0,o.withCtx)((function(){return[xe]})),_:1})])])],32)]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-3816d5de"]])}
2,3043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-07e6b834"),e=e(),(0,o.popScopeId)(),e},i={class:"anonymous-section"},a=r((function(){return(0,o.createElementVNode)("h2",null,"Add your books without a profile?",-1)})),l=r((function(){return(0,o.createElementVNode)("p",null,"Our author team can add your books to the Squirl app! Email us your favorite settings.",-1)})),s=["href"];const u={data:function(){return{emailLink:"mailto:[email protected]?subject=".concat("Add my bookâs settings to the Squirl app","&body=").concat(encodeURIComponent("Thank you for your interest in Squirl.\nOur author team will add your book's settings to the Squirl app.\n\nFor each setting, please provide:\n- Place name (the name used in your book and/or real name)\n- Address or general location\n- The short location excerpt from your book"))}},mounted:function(){}};const c=(0,n(3744).Z)(u,[["render",function(e,t,n,r,u,c){return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[a,l,(0,o.createElementVNode)("a",{class:"btn uppercase btn-primary",href:u.emailLink}," Email Us ",8,s)])}],["__scopeId","data-v-07e6b834"]])},8596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var o=n(3868),r=(0,o.createElementVNode)("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1),i={class:"flex justify-end mt-4"},a=(0,o.createTextVNode)(" Confirm ");var l=n(5067),s=n(4423),u=n(6076),c=n(6064),d=n(271),A=n(3754);const p={components:{JetAuthenticationCard:l.Z,JetAuthenticationCardLogo:s.Z,JetButton:u.Z,JetInput:c.Z,JetLabel:d.Z,JetValidationErrors:A.Z},data:function(){return{form:this.$inertia.form({password:""})}},methods:{submit:function(){var e=this;this.form.post(this.route("password.confirm"),{onFinish:function(){return e.form.reset()}})}}};const f=(0,n(3744).Z)(p,[["render",function(e,t,n,l,s,u){var c=(0,o.resolveComponent)("jet-authentication-card-logo"),d=(0,o.resolveComponent)("jet-validation-errors"),A=(0,o.resolveComponent)("jet-label"),p=(0,o.resolveComponent)("jet-input"),f=(0,o.resolveComponent)("jet-button"),h=(0,o.resolveComponent)("jet-authentication-card");return(0,o.openBlock)(),(0,o.createBlock)(h,null,{logo:(0,o.withCtx)((function(){return[(0,o.createVNode)(c)]})),default:(0,o.withCtx)((function(){return[r,(0,o.createVNode)(d,{class:"mb-4"}),(0,o.createElementVNode)("form",{onSubmit:t[1]||(t[1]=(0,o.withModifiers)((function(){return u.submit&&u.submit.apply(u,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",null,[(0,o.createVNode)(A,{for:"password",value:"Password"}),(0,o.createVNode)(p,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:s.form.password,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.form.password=e}),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",i,[(0,o.createVNode)(f,{class:(0,o.normalizeClass)(["ml-4",{"opacity-25":s.form.processing}]),disabled:s.form.processing},{default:(0,o.withCtx)((function(){return[a]})),_:1},8,["class","disabled"])])],32)]})),_:1})}]])},7393:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>L});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-350039b2"),e=e(),(0,o.popScopeId)(),e},i={class:"forgot-password-wrapper"},a={class:"forgot-password"},l={class:"account-section"},s={class:"header"},u={class:"app-logo"},c=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Forgot Password",-1)})),d=r((function(){return(0,o.createElementVNode)("div",{class:"mb-4 text-center text-gray"},[(0,o.createTextVNode)(" Forgot your password? No problem!"),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" We will email you a password reset link. ")],-1)})),A={key:0,class:"text-success text-center"},p={class:"form-group"},f={class:"actions"},h=(0,o.createTextVNode)(" Email Password Reset Link ");var m=n(8939),v=n(6076),g=n(6064),y=n(7110),b=n(3754);const w={components:{SApplicationLogo:m.Z,SButton:v.Z,SInput:g.Z,SCheckbox:y.Z,SValidationErrors:b.Z},props:{status:String},data:function(){return{form:this.$inertia.form({email:""})}},methods:{submit:function(){this.form.post(this.route("password.email"))}},mounted:function(){}};const L=(0,n(3744).Z)(w,[["render",function(e,t,n,r,m,v){var g=(0,o.resolveComponent)("s-application-logo"),y=(0,o.resolveComponent)("inertia-link"),b=(0,o.resolveComponent)("s-validation-errors"),w=(0,o.resolveComponent)("s-input"),L=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("header",s,[(0,o.createElementVNode)("div",u,[(0,o.createVNode)(y,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(g)]})),_:1},8,["href"]),c])]),(0,o.createElementVNode)("main",null,[d,(0,o.createVNode)(b,{class:"text-center"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",A,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[1]||(t[1]=(0,o.withModifiers)((function(){return v.submit&&v.submit.apply(v,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",p,[(0,o.createVNode)(w,{id:"email",type:"email",placeholder:"Email",modelValue:m.form.email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return m.form.email=e}),required:"",autofocus:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",f,[(0,o.createVNode)(L,{"button-style":"primary-inverse",style:{width:"100%"},class:(0,o.normalizeClass)({"opacity-25":m.form.processing}),disabled:m.form.processing},{default:(0,o.withCtx)((function(){return[h]})),_:1},8,["class","disabled"])])],32)])])])])}],["__scopeId","data-v-350039b2"]])},1674:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>j});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-815be9b0"),e=e(),(0,o.popScopeId)(),e},i={class:"login-page-wrapper"},a=r((function(){return(0,o.createElementVNode)("div",{class:"mobile-viewport"},[(0,o.createElementVNode)("h1",null,[(0,o.createElementVNode)("span",null,"It looks like you are on a mobile device!"),(0,o.createElementVNode)("span",null,"We recommend using the Squirl Author Tool on desktop.")]),(0,o.createElementVNode)("h2",null,[(0,o.createTextVNode)("Please open "),(0,o.createElementVNode)("a",{href:"https://www.squirl.co"},"www.squirl.co"),(0,o.createTextVNode)(" in your desktop browser.")])],-1)})),l={class:"login-page"},s={class:"account-section"},u={class:"header"},c={class:"app-logo"},d=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Welcome, Author!",-1)})),A={key:0,class:"mb-4 text-success text-center"},p={class:"form-group"},f={class:"input-group mb-3"},h={class:"input-group-append"},m={key:0,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},v=[r((function(){return(0,o.createElementVNode)("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"},null,-1)}))],g={key:1,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},y=[r((function(){return(0,o.createElementVNode)("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"},null,-1)}))],b={class:"form-options"},w={class:"form-check-label"},L=r((function(){return(0,o.createElementVNode)("span",{class:"ml-2 text-gray-800"},"Remember me",-1)})),C=(0,o.createTextVNode)(" Forgot your password? "),B={class:"actions"},_=(0,o.createTextVNode)(" Sign in "),k=r((function(){return(0,o.createElementVNode)("div",{class:"or-divider"},[(0,o.createElementVNode)("div",{class:"line"}),(0,o.createElementVNode)("span",null,"OR"),(0,o.createElementVNode)("div",{class:"line"})],-1)})),x={class:"other-login-options"},S=["href"],E={class:"login-apple"},T={class:"other-actions"},N=r((function(){return(0,o.createElementVNode)("span",null,"New Author?",-1)})),F=(0,o.createTextVNode)(" Â Â "),V=(0,o.createTextVNode)(" Sign up ");var O=n(8939),U=n(6076),Q=n(6064),q=n(7110),M=n(3754),I=n(3043);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?P(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const R={components:{SApplicationLogo:O.Z,SButton:U.Z,SInput:Q.Z,SCheckbox:q.Z,SValidationErrors:M.Z,AnonymousActions:I.default},props:{canResetPassword:Boolean,status:String},data:function(){return{showPasswordReset:!0,mobileEmail:"mailto:?subject=".concat("Squirl Author Tool on Desktop","&body=").concat(encodeURIComponent("Squirl lets you discover the real-world settings from books nearby and far away.\nAdd your bookâs locations on your desktop for free at https://squirl.co")),passwordVisible:!1,form:this.$inertia.form({email:"",password:"",remember:!1})}},methods:{login:function(){var e=this;this.form.transform((function(t){return D(D({},t),{},{remember:e.form.remember?"on":""})})).post(this.route("login"),{onFinish:function(){return e.form.reset("password")}})},startLoginWithApple:function(){var e=this;AppleID.auth.init({clientId:"co.squirl.api",scope:"name email",redirectURI:"https://author.squirl.co",state:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),nonce:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),usePopup:!0}),AppleID.auth.signIn(),document.addEventListener("AppleIDSignInOnSuccess",(function(t){e.loginWithApple(t.detail.authorization)})),document.addEventListener("AppleIDSignInOnFailure",(function(e){console.log(e.detail.error)}))},loginWithApple:function(e){this.$inertia.form(e).post(this.route("appleid.login"))}},mounted:function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",document.body.append(e)}};const j=(0,n(3744).Z)(R,[["render",function(e,t,n,r,O,U){var Q=(0,o.resolveComponent)("s-application-logo"),q=(0,o.resolveComponent)("inertia-link"),M=(0,o.resolveComponent)("s-validation-errors"),I=(0,o.resolveComponent)("s-input"),P=(0,o.resolveComponent)("s-checkbox"),D=(0,o.resolveComponent)("s-button"),H=(0,o.resolveComponent)("anonymous-actions");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[a,(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("header",u,[(0,o.createElementVNode)("div",c,[(0,o.createVNode)(q,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(Q)]})),_:1},8,["href"]),d])]),(0,o.createElementVNode)("main",null,[(0,o.createVNode)(M,{class:"mb-4"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",A,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[4]||(t[4]=(0,o.withModifiers)((function(){return U.login&&U.login.apply(U,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",p,[(0,o.createVNode)(I,{id:"email",type:"email",placeholder:"Email",modelValue:O.form.email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return O.form.email=e}),required:"",autofocus:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",f,[(0,o.createVNode)(I,{id:"password",type:O.passwordVisible?"text":"password",placeholder:"Password",modelValue:O.form.password,"onUpdate:modelValue":t[1]||(t[1]=function(e){return O.form.password=e}),required:"",autocomplete:"current-password"},null,8,["type","modelValue"]),(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("a",{class:"input-group-text",onClick:t[2]||(t[2]=function(e){return O.passwordVisible=!O.passwordVisible})},[O.passwordVisible?((0,o.openBlock)(),(0,o.createElementBlock)("svg",m,v)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",g,y))])])]),(0,o.createElementVNode)("div",b,[(0,o.createElementVNode)("label",w,[(0,o.createVNode)(P,{name:"remember",checked:O.form.remember,"onUpdate:checked":t[3]||(t[3]=function(e){return O.form.remember=e})},null,8,["checked"]),L]),O.showPasswordReset||n.canResetPassword?((0,o.openBlock)(),(0,o.createBlock)(q,{key:0,href:e.route("password.request"),class:"text-gray-600"},{default:(0,o.withCtx)((function(){return[C]})),_:1},8,["href"])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",B,[(0,o.createVNode)(D,{"button-style":"primary-inverse",class:(0,o.normalizeClass)({"opacity-25":O.form.processing}),disabled:O.form.processing},{default:(0,o.withCtx)((function(){return[_]})),_:1},8,["class","disabled"])])],32),k,(0,o.createElementVNode)("div",x,[(0,o.createElementVNode)("a",{class:"login-fb",href:e.route("fb.login")},null,8,S),(0,o.createElementVNode)("div",E,[(0,o.createElementVNode)("button",{id:"appleid-signin",title:"Sign in with Apple",onClick:t[5]||(t[5]=function(){return U.startLoginWithApple&&U.startLoginWithApple.apply(U,arguments)})})])])]),(0,o.createElementVNode)("footer",T,[N,F,(0,o.createVNode)(q,{href:e.route("register"),class:"underline"},{default:(0,o.withCtx)((function(){return[V]})),_:1},8,["href"])])]),(0,o.createVNode)(H)])])}],["__scopeId","data-v-815be9b0"]])},7366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>W});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-9243ebd6"),e=e(),(0,o.popScopeId)(),e},i={class:"login-page-wrapper"},a={class:"mobile-viewport"},l=r((function(){return(0,o.createElementVNode)("h1",null,[(0,o.createElementVNode)("span",null,"It looks like you are on a mobile device!"),(0,o.createElementVNode)("span",null,"We recommend using the Squirl Author Tool on desktop.")],-1)})),s=r((function(){return(0,o.createElementVNode)("h2",null,[(0,o.createTextVNode)("Please open "),(0,o.createElementVNode)("a",{href:"https://www.squirl.co"},"www.squirl.co"),(0,o.createTextVNode)(" in your desktop browser.")],-1)})),u={class:"login-page"},c={class:"account-section"},d={class:"header"},A={class:"app-logo"},p=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Welcome, Author!",-1)})),f={key:0,class:"mb-4 text-success text-center"},h={class:"form-group"},m={class:"input-group mb-3"},v={class:"input-group-append"},g={key:0,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},y=[r((function(){return(0,o.createElementVNode)("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"},null,-1)}))],b={key:1,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},w=[r((function(){return(0,o.createElementVNode)("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"},null,-1)}))],L={class:"form-options"},C={class:"form-check-label"},B=r((function(){return(0,o.createElementVNode)("span",{class:"ml-2 text-gray-800"},"Remember me",-1)})),_=(0,o.createTextVNode)(" Forgot your password? "),k={class:"actions"},x=(0,o.createTextVNode)(" Sign in "),S=r((function(){return(0,o.createElementVNode)("div",{class:"or-divider"},[(0,o.createElementVNode)("div",{class:"line"}),(0,o.createElementVNode)("span",null,"OR"),(0,o.createElementVNode)("div",{class:"line"})],-1)})),E={class:"other-login-options"},T=["href"],N={class:"login-apple"},F={class:"other-actions"},V=r((function(){return(0,o.createElementVNode)("span",null,"New Author?",-1)})),O=(0,o.createTextVNode)(" Â Â "),U=(0,o.createTextVNode)(" Sign up "),Q=["src"];var q=n(8939),M=n(6076),I=n(6064),P=n(7110),D=n(3754),H=n(7894),R=n(3043);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?j(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const K={components:{SApplicationLogo:q.Z,SButton:M.Z,SInput:I.Z,SCheckbox:P.Z,SValidationErrors:D.Z,BareModal:H.Z,AnonymousActions:R.default},props:{canResetPassword:Boolean,status:String},data:function(){return{showPasswordReset:!0,mobileEmail:"mailto:?subject=".concat("Squirl Author Tool on Desktop","&body=").concat(encodeURIComponent("Squirl lets you discover the real-world settings from books nearby and far away.\nAdd your bookâs locations on your desktop for free at https://squirl.co")),passwordVisible:!1,showPopup:!1,form:this.$inertia.form({email:"",password:"",remember:!1})}},methods:{login:function(){var e=this;this.form.transform((function(t){return $($({},t),{},{remember:e.form.remember?"on":""})})).post(this.route("login"),{onFinish:function(){return e.form.reset("password")}})},startLoginWithApple:function(){var e=this;AppleID.auth.init({clientId:"co.squirl.api",scope:"name email",redirectURI:"https://author.squirl.co",state:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),nonce:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),usePopup:!0}),AppleID.auth.signIn(),document.addEventListener("AppleIDSignInOnSuccess",(function(t){e.loginWithApple(t.detail.authorization)})),document.addEventListener("AppleIDSignInOnFailure",(function(e){console.log(e.detail.error)}))},loginWithApple:function(e){this.$inertia.form(e).post(this.route("appleid.login"))}},mounted:function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",document.body.append(e)}};const W=(0,n(3744).Z)(K,[["render",function(e,t,n,r,q,M){var I=(0,o.resolveComponent)("s-application-logo"),P=(0,o.resolveComponent)("inertia-link"),D=(0,o.resolveComponent)("s-validation-errors"),H=(0,o.resolveComponent)("s-input"),R=(0,o.resolveComponent)("s-checkbox"),j=(0,o.resolveComponent)("s-button"),$=(0,o.resolveComponent)("anonymous-actions"),z=(0,o.resolveComponent)("bare-modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",a,[l,s,(0,o.createElementVNode)("button",{class:"btn uppercase btn-primary-inverse",onClick:t[0]||(t[0]=function(e){return q.showPopup=!0})},"Email me a link")]),(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("header",d,[(0,o.createElementVNode)("div",A,[(0,o.createVNode)(P,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(I)]})),_:1},8,["href"]),p])]),(0,o.createElementVNode)("main",null,[(0,o.createVNode)(D,{class:"mb-4"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[5]||(t[5]=(0,o.withModifiers)((function(){return M.login&&M.login.apply(M,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",h,[(0,o.createVNode)(H,{id:"email",type:"email",placeholder:"Email",modelValue:q.form.email,"onUpdate:modelValue":t[1]||(t[1]=function(e){return q.form.email=e}),required:"",autofocus:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",m,[(0,o.createVNode)(H,{id:"password",type:q.passwordVisible?"text":"password",placeholder:"Password",modelValue:q.form.password,"onUpdate:modelValue":t[2]||(t[2]=function(e){return q.form.password=e}),required:"",autocomplete:"current-password"},null,8,["type","modelValue"]),(0,o.createElementVNode)("div",v,[(0,o.createElementVNode)("a",{class:"input-group-text",onClick:t[3]||(t[3]=function(e){return q.passwordVisible=!q.passwordVisible})},[q.passwordVisible?((0,o.openBlock)(),(0,o.createElementBlock)("svg",g,y)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",b,w))])])]),(0,o.createElementVNode)("div",L,[(0,o.createElementVNode)("label",C,[(0,o.createVNode)(R,{name:"remember",checked:q.form.remember,"onUpdate:checked":t[4]||(t[4]=function(e){return q.form.remember=e})},null,8,["checked"]),B]),q.showPasswordReset||n.canResetPassword?((0,o.openBlock)(),(0,o.createBlock)(P,{key:0,href:e.route("password.request"),class:"text-gray-600"},{default:(0,o.withCtx)((function(){return[_]})),_:1},8,["href"])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",k,[(0,o.createVNode)(j,{"button-style":"primary-inverse",class:(0,o.normalizeClass)({"opacity-25":q.form.processing}),disabled:q.form.processing},{default:(0,o.withCtx)((function(){return[x]})),_:1},8,["class","disabled"])])],32),S,(0,o.createElementVNode)("div",E,[(0,o.createElementVNode)("a",{class:"login-fb",href:e.route("fb.login")},null,8,T),(0,o.createElementVNode)("div",N,[(0,o.createElementVNode)("button",{id:"appleid-signin",title:"Sign in with Apple",onClick:t[6]||(t[6]=function(){return M.startLoginWithApple&&M.startLoginWithApple.apply(M,arguments)})})])])]),(0,o.createElementVNode)("footer",F,[V,O,(0,o.createVNode)(P,{href:e.route("register"),class:"underline"},{default:(0,o.withCtx)((function(){return[U]})),_:1},8,["href"])])]),(0,o.createVNode)($)]),(0,o.createVNode)(z,{show:q.showPopup,onClose:t[7]||(t[7]=function(e){return q.showPopup=!1}),style:{width:"100vw"}},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("iframe",{src:e.route("login.email-link"),frameborder:"0",style:{width:"100%","min-height":"220px","background-color":"#fff","border-radius":"2rem"}},null,8,Q)]})),_:1},8,["show"])])}],["__scopeId","data-v-9243ebd6"]])},2963:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>H});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-ba4bc038"),e=e(),(0,o.popScopeId)(),e},i={class:"register-page-wrapper"},a=r((function(){return(0,o.createElementVNode)("div",{class:"mobile-viewport"},[(0,o.createElementVNode)("h1",null,[(0,o.createElementVNode)("span",null,"It looks like you are on a mobile device!"),(0,o.createElementVNode)("span",null,"We recommend using the Squirl Author Tool on desktop.")]),(0,o.createElementVNode)("h2",null,[(0,o.createTextVNode)("Please open "),(0,o.createElementVNode)("a",{href:"https://www.squirl.co"},"www.squirl.co"),(0,o.createTextVNode)(" in your desktop browser.")])],-1)})),l={class:"register-page"},s={class:"account-section"},u={class:"header"},c={class:"app-logo"},d=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Sign up to the Squirl Author Tool",-1)})),A={key:0,class:"mb-4 text-success text-center"},p={class:"form-group"},f={class:"form-group"},h={class:"input-group"},m={class:"input-group-append"},v={key:0,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},g=[r((function(){return(0,o.createElementVNode)("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"},null,-1)}))],y={key:1,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},b=[r((function(){return(0,o.createElementVNode)("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"},null,-1)}))],w={class:"actions"},L=(0,o.createTextVNode)(" Sign Up "),C=r((function(){return(0,o.createElementVNode)("div",{class:"or-divider"},[(0,o.createElementVNode)("div",{class:"line"}),(0,o.createElementVNode)("span",null,"OR"),(0,o.createElementVNode)("div",{class:"line"})],-1)})),B={class:"other-login-options"},_=["href"],k={class:"login-apple"},x={class:"other-actions"},S=r((function(){return(0,o.createElementVNode)("span",null,"Already have a profile?",-1)})),E=(0,o.createTextVNode)(" Â Â "),T=(0,o.createTextVNode)(" Sign In "),N=r((function(){return(0,o.createElementVNode)("p",{class:"tac"},[(0,o.createTextVNode)(" By creating a Squirl Author profile you agree to the Squirl "),(0,o.createElementVNode)("a",{href:"https://squirl.co/terms",target:"_blank"},"Terms of Service"),(0,o.createTextVNode)(" and have read, understand and agree to the Squirl "),(0,o.createElementVNode)("a",{href:"https://squirl.co/privacy",target:"_blank"},"Privacy Policy"),(0,o.createTextVNode)(". ")],-1)}));var F=n(8939),V=n(6076),O=n(6064),U=n(7110),Q=n(3754),q=n(3043);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?M(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const D={components:{SApplicationLogo:F.Z,SButton:V.Z,SInput:O.Z,SCheckbox:U.Z,SValidationErrors:Q.Z,AnonymousActions:q.default},props:{canResetPassword:Boolean,status:String},data:function(){return{passwordVisible:!1,form:this.$inertia.form({name:"",email:"",password:"",password_confirmation:"",terms:!1})}},methods:{login:function(){var e=this;this.form,this.form.transform((function(t){return I(I({},t),{},{password_confirmation:t.password,remember:e.form.remember?"on":""})})).post(this.route("register"),{onFinish:function(){return e.form.reset("password","password_confirmation")}})},startLoginWithApple:function(){var e=this;AppleID.auth.init({clientId:"co.squirl.api",scope:"name email",redirectURI:"https://author.squirl.co",state:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),nonce:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),usePopup:!0}),AppleID.auth.signIn(),document.addEventListener("AppleIDSignInOnSuccess",(function(t){e.loginWithApple(t.detail.authorization)})),document.addEventListener("AppleIDSignInOnFailure",(function(e){console.log(e.detail.error)}))},loginWithApple:function(e){this.$inertia.form(e).post(this.route("appleid.login"))}},mounted:function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",document.body.append(e)}};const H=(0,n(3744).Z)(D,[["render",function(e,t,n,r,F,V){var O=(0,o.resolveComponent)("s-application-logo"),U=(0,o.resolveComponent)("inertia-link"),Q=(0,o.resolveComponent)("s-validation-errors"),q=(0,o.resolveComponent)("s-input"),M=(0,o.resolveComponent)("s-button"),I=(0,o.resolveComponent)("anonymous-actions");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[a,(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("header",u,[(0,o.createElementVNode)("div",c,[(0,o.createVNode)(U,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(O)]})),_:1},8,["href"]),d])]),(0,o.createElementVNode)("main",null,[(0,o.createVNode)(Q,{class:"mb-4"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",A,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[4]||(t[4]=(0,o.withModifiers)((function(){return V.login&&V.login.apply(V,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",p,[(0,o.createVNode)(q,{id:"name",type:"name",placeholder:"Name",modelValue:F.form.name,"onUpdate:modelValue":t[0]||(t[0]=function(e){return F.form.name=e}),required:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",f,[(0,o.createVNode)(q,{id:"email",type:"email",placeholder:"Email",modelValue:F.form.email,"onUpdate:modelValue":t[1]||(t[1]=function(e){return F.form.email=e}),required:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",h,[(0,o.createVNode)(q,{id:"password",type:F.passwordVisible?"text":"password",placeholder:"Password",modelValue:F.form.password,"onUpdate:modelValue":t[2]||(t[2]=function(e){return F.form.password=e}),required:"",autocomplete:"current-password"},null,8,["type","modelValue"]),(0,o.createElementVNode)("div",m,[(0,o.createElementVNode)("a",{class:"input-group-text",onClick:t[3]||(t[3]=function(e){return F.passwordVisible=!F.passwordVisible})},[F.passwordVisible?((0,o.openBlock)(),(0,o.createElementBlock)("svg",v,g)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",y,b))])])]),(0,o.createElementVNode)("div",w,[(0,o.createVNode)(M,{"button-style":"primary-inverse",class:(0,o.normalizeClass)({"opacity-25":F.form.processing}),disabled:F.form.processing},{default:(0,o.withCtx)((function(){return[L]})),_:1},8,["class","disabled"])])],32),C,(0,o.createElementVNode)("div",B,[(0,o.createElementVNode)("a",{class:"login-fb",href:e.route("fb.login")},null,8,_),(0,o.createElementVNode)("div",k,[(0,o.createElementVNode)("button",{id:"appleid-signin",title:"Sign in with Apple",onClick:t[5]||(t[5]=function(){return V.startLoginWithApple&&V.startLoginWithApple.apply(V,arguments)})})])])]),(0,o.createElementVNode)("footer",x,[S,E,(0,o.createVNode)(U,{href:e.route("login.form"),class:"underline"},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["href"]),N])]),(0,o.createVNode)(I)])])}],["__scopeId","data-v-ba4bc038"]])},7824:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-0f3bc917"),e=e(),(0,o.popScopeId)(),e},i={class:"register-page-wrapper"},a={class:"mobile-viewport"},l=r((function(){return(0,o.createElementVNode)("h1",null,[(0,o.createElementVNode)("span",null,"It looks like you are on a mobile device!"),(0,o.createElementVNode)("span",null,"We recommend using the Squirl Author Tool on desktop.")],-1)})),s=r((function(){return(0,o.createElementVNode)("h2",null,[(0,o.createTextVNode)("Please open "),(0,o.createElementVNode)("a",{href:"https://www.squirl.co"},"www.squirl.co"),(0,o.createTextVNode)(" in your desktop browser.")],-1)})),u={class:"register-page"},c={class:"account-section"},d={class:"header"},A={class:"app-logo"},p=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Sign up to the Squirl Author Tool",-1)})),f={key:0,class:"mb-4 text-success text-center"},h={class:"form-group"},m={class:"form-group"},v={class:"input-group"},g={class:"input-group-append"},y={key:0,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},b=[r((function(){return(0,o.createElementVNode)("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"},null,-1)}))],w={key:1,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},L=[r((function(){return(0,o.createElementVNode)("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"},null,-1)}))],C={class:"actions"},B=(0,o.createTextVNode)(" Sign Up "),_=r((function(){return(0,o.createElementVNode)("div",{class:"or-divider"},[(0,o.createElementVNode)("div",{class:"line"}),(0,o.createElementVNode)("span",null,"OR"),(0,o.createElementVNode)("div",{class:"line"})],-1)})),k={class:"other-login-options"},x=["href"],S={class:"login-apple"},E={class:"other-actions"},T=r((function(){return(0,o.createElementVNode)("span",null,"Already have a profile?",-1)})),N=(0,o.createTextVNode)(" Â Â "),F=(0,o.createTextVNode)(" Sign In "),V=r((function(){return(0,o.createElementVNode)("p",{class:"tac"},[(0,o.createTextVNode)(" By creating a Squirl Author profile you agree to the Squirl "),(0,o.createElementVNode)("a",{href:"https://squirl.co/terms",target:"_blank"},"Terms of Service"),(0,o.createTextVNode)(" and have read, understand and agree to the Squirl "),(0,o.createElementVNode)("a",{href:"https://squirl.co/privacy",target:"_blank"},"Privacy Policy"),(0,o.createTextVNode)(". ")],-1)})),O=["src"];var U=n(8939),Q=n(6076),q=n(6064),M=n(7110),I=n(3754),P=n(7894),D=n(3043);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?H(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $={components:{SApplicationLogo:U.Z,SButton:Q.Z,SInput:q.Z,SCheckbox:M.Z,SValidationErrors:I.Z,BareModal:P.Z,AnonymousActions:D.default},props:{canResetPassword:Boolean,status:String},data:function(){return{passwordVisible:!1,showPopup:!1,form:this.$inertia.form({name:"",email:"",password:"",password_confirmation:"",terms:!1})}},methods:{login:function(){var e=this;this.form,this.form.transform((function(t){return R(R({},t),{},{password_confirmation:t.password,remember:e.form.remember?"on":""})})).post(this.route("register"),{onFinish:function(){return e.form.reset("password","password_confirmation")}})},startLoginWithApple:function(){var e=this;AppleID.auth.init({clientId:"co.squirl.api",scope:"name email",redirectURI:"https://author.squirl.co",state:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),nonce:document.querySelector('meta[name="csrf-token"]').getAttribute("content"),usePopup:!0}),AppleID.auth.signIn(),document.addEventListener("AppleIDSignInOnSuccess",(function(t){e.loginWithApple(t.detail.authorization)})),document.addEventListener("AppleIDSignInOnFailure",(function(e){console.log(e.detail.error)}))},loginWithApple:function(e){this.$inertia.form(e).post(this.route("appleid.login"))}},mounted:function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",document.body.append(e)}};const z=(0,n(3744).Z)($,[["render",function(e,t,n,r,U,Q){var q=(0,o.resolveComponent)("s-application-logo"),M=(0,o.resolveComponent)("inertia-link"),I=(0,o.resolveComponent)("s-validation-errors"),P=(0,o.resolveComponent)("s-input"),D=(0,o.resolveComponent)("s-button"),H=(0,o.resolveComponent)("anonymous-actions"),R=(0,o.resolveComponent)("bare-modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",a,[l,s,(0,o.createElementVNode)("button",{class:"btn uppercase btn-primary-inverse",onClick:t[0]||(t[0]=function(e){return U.showPopup=!0})},"Email me a link")]),(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("header",d,[(0,o.createElementVNode)("div",A,[(0,o.createVNode)(M,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(q)]})),_:1},8,["href"]),p])]),(0,o.createElementVNode)("main",null,[(0,o.createVNode)(I,{class:"mb-4"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[5]||(t[5]=(0,o.withModifiers)((function(){return Q.login&&Q.login.apply(Q,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",h,[(0,o.createVNode)(P,{id:"name",type:"name",placeholder:"Name",modelValue:U.form.name,"onUpdate:modelValue":t[1]||(t[1]=function(e){return U.form.name=e}),required:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",m,[(0,o.createVNode)(P,{id:"email",type:"email",placeholder:"Email",modelValue:U.form.email,"onUpdate:modelValue":t[2]||(t[2]=function(e){return U.form.email=e}),required:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",v,[(0,o.createVNode)(P,{id:"password",type:U.passwordVisible?"text":"password",placeholder:"Password",modelValue:U.form.password,"onUpdate:modelValue":t[3]||(t[3]=function(e){return U.form.password=e}),required:"",autocomplete:"current-password"},null,8,["type","modelValue"]),(0,o.createElementVNode)("div",g,[(0,o.createElementVNode)("a",{class:"input-group-text",onClick:t[4]||(t[4]=function(e){return U.passwordVisible=!U.passwordVisible})},[U.passwordVisible?((0,o.openBlock)(),(0,o.createElementBlock)("svg",y,b)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",w,L))])])]),(0,o.createElementVNode)("div",C,[(0,o.createVNode)(D,{"button-style":"primary-inverse",class:(0,o.normalizeClass)({"opacity-25":U.form.processing}),disabled:U.form.processing},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["class","disabled"])])],32),_,(0,o.createElementVNode)("div",k,[(0,o.createElementVNode)("a",{class:"login-fb",href:e.route("fb.login")},null,8,x),(0,o.createElementVNode)("div",S,[(0,o.createElementVNode)("button",{id:"appleid-signin",title:"Sign in with Apple",onClick:t[6]||(t[6]=function(){return Q.startLoginWithApple&&Q.startLoginWithApple.apply(Q,arguments)})})])])]),(0,o.createElementVNode)("footer",E,[T,N,(0,o.createVNode)(M,{href:e.route("login.form"),class:"underline"},{default:(0,o.withCtx)((function(){return[F]})),_:1},8,["href"]),V])]),(0,o.createVNode)(H)]),(0,o.createVNode)(R,{show:U.showPopup,onClose:t[7]||(t[7]=function(e){return U.showPopup=!1}),style:{width:"100vw"}},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("iframe",{src:e.route("login.email-link"),frameborder:"0",style:{width:"100%","min-height":"220px","background-color":"#fff","border-radius":"2rem"}},null,8,O)]})),_:1},8,["show"])])}],["__scopeId","data-v-0f3bc917"]])},3500:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-73d5d8b6"),e=e(),(0,o.popScopeId)(),e},i={class:"forgot-password-wrapper"},a={class:"forgot-password"},l={class:"account-section"},s={class:"header"},u={class:"app-logo"},c=r((function(){return(0,o.createElementVNode)("h1",{class:"heading"},"Reset Your Password",-1)})),d={key:0,class:"text-success text-center"},A={class:"form-group"},p={class:"input-group"},f={class:"input-group-append"},h={key:0,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},m=[r((function(){return(0,o.createElementVNode)("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"},null,-1)}))],v={key:1,xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},g=[r((function(){return(0,o.createElementVNode)("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"},null,-1)}))],y={class:"form-group"},b={class:"actions"},w=(0,o.createTextVNode)(" Reset My Password ");var L=n(8939),C=n(6076),B=n(6064),_=n(7110),k=n(3754);const x={components:{SApplicationLogo:L.Z,SButton:C.Z,SInput:B.Z,SCheckbox:_.Z,SValidationErrors:k.Z},props:{status:String,email:String,token:String},data:function(){return{passwordVisible:!1,form:this.$inertia.form({token:this.token,email:this.email,password:"",password_confirmation:""})}},methods:{submit:function(){var e=this;this.form.post(this.route("password.update"),{onFinish:function(){return e.form.reset("password","password_confirmation")}})}},mounted:function(){}};const S=(0,n(3744).Z)(x,[["render",function(e,t,n,r,L,C){var B=(0,o.resolveComponent)("s-application-logo"),_=(0,o.resolveComponent)("inertia-link"),k=(0,o.resolveComponent)("s-validation-errors"),x=(0,o.resolveComponent)("s-input"),S=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("header",s,[(0,o.createElementVNode)("div",u,[(0,o.createVNode)(_,{href:e.route("dashboard"),
2class:"logo"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(B)]})),_:1},8,["href"]),c])]),(0,o.createElementVNode)("main",null,[(0,o.createVNode)(k,{class:"text-center"}),n.status?((0,o.openBlock)(),(0,o.createElementBlock)("div",d,(0,o.toDisplayString)(n.status),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[4]||(t[4]=(0,o.withModifiers)((function(){return C.submit&&C.submit.apply(C,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",A,[(0,o.createVNode)(x,{id:"email",type:"email",placeholder:"Email",modelValue:L.form.email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return L.form.email=e}),required:"",autofocus:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",p,[(0,o.createVNode)(x,{id:"password",type:L.passwordVisible?"text":"password",placeholder:"Password",modelValue:L.form.password,"onUpdate:modelValue":t[1]||(t[1]=function(e){return L.form.password=e}),required:"",autocomplete:"new-password"},null,8,["type","modelValue"]),(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("a",{class:"input-group-text",onClick:t[2]||(t[2]=function(e){return L.passwordVisible=!L.passwordVisible})},[L.passwordVisible?((0,o.openBlock)(),(0,o.createElementBlock)("svg",h,m)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",v,g))])])]),(0,o.createElementVNode)("div",y,[(0,o.createVNode)(x,{id:"password_confirmation",type:"password",modelValue:L.form.password_confirmation,"onUpdate:modelValue":t[3]||(t[3]=function(e){return L.form.password_confirmation=e}),placeholder:"Confirm Password",autocomplete:"new-password",required:""},null,8,["modelValue"])]),(0,o.createElementVNode)("div",b,[(0,o.createVNode)(S,{"button-style":"primary-inverse",style:{width:"100%"},class:(0,o.normalizeClass)({"opacity-25":L.form.processing}),disabled:L.form.processing},{default:(0,o.withCtx)((function(){return[w]})),_:1},8,["class","disabled"])])],32)])])])])}],["__scopeId","data-v-73d5d8b6"]])},913:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var o=n(3868),r={class:"mb-4 text-sm text-gray-600"},i=(0,o.createTextVNode)(" Please confirm access to your account by entering the authentication code provided by your authenticator application. "),a=(0,o.createTextVNode)(" Please confirm access to your account by entering one of your emergency recovery codes. "),l={key:0},s={key:1},u={class:"flex items-center justify-end mt-4"},c=(0,o.createTextVNode)(" Use a recovery code "),d=(0,o.createTextVNode)(" Use an authentication code "),A=(0,o.createTextVNode)(" Log in ");var p=n(5067),f=n(4423),h=n(6076),m=n(6064),v=n(271),g=n(3754);const y={components:{JetAuthenticationCard:p.Z,JetAuthenticationCardLogo:f.Z,JetButton:h.Z,JetInput:m.Z,JetLabel:v.Z,JetValidationErrors:g.Z},data:function(){return{recovery:!1,form:this.$inertia.form({code:"",recovery_code:""})}},methods:{toggleRecovery:function(){var e=this;this.recovery^=!0,this.$nextTick((function(){e.recovery?(e.$refs.recovery_code.focus(),e.form.code=""):(e.$refs.code.focus(),e.form.recovery_code="")}))},submit:function(){this.form.post(this.route("two-factor.login"))}}};const b=(0,n(3744).Z)(y,[["render",function(e,t,n,p,f,h){var m=(0,o.resolveComponent)("jet-authentication-card-logo"),v=(0,o.resolveComponent)("jet-validation-errors"),g=(0,o.resolveComponent)("jet-label"),y=(0,o.resolveComponent)("jet-input"),b=(0,o.resolveComponent)("jet-button"),w=(0,o.resolveComponent)("jet-authentication-card");return(0,o.openBlock)(),(0,o.createBlock)(w,null,{logo:(0,o.withCtx)((function(){return[(0,o.createVNode)(m)]})),default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",r,[f.recovery?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[a],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[i],64))]),(0,o.createVNode)(v,{class:"mb-4"}),(0,o.createElementVNode)("form",{onSubmit:t[3]||(t[3]=(0,o.withModifiers)((function(){return h.submit&&h.submit.apply(h,arguments)}),["prevent"]))},[f.recovery?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createVNode)(g,{for:"recovery_code",value:"Recovery Code"}),(0,o.createVNode)(y,{ref:"recovery_code",id:"recovery_code",type:"text",class:"mt-1 block w-full",modelValue:f.form.recovery_code,"onUpdate:modelValue":t[1]||(t[1]=function(e){return f.form.recovery_code=e}),autocomplete:"one-time-code"},null,8,["modelValue"])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createVNode)(g,{for:"code",value:"Code"}
2),(0,o.createVNode)(y,{ref:"code",id:"code",type:"text",inputmode:"numeric",class:"mt-1 block w-full",modelValue:f.form.code,"onUpdate:modelValue":t[0]||(t[0]=function(e){return f.form.code=e}),autofocus:"",autocomplete:"one-time-code"},null,8,["modelValue"])])),(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("button",{type:"button",class:"text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(){return h.toggleRecovery&&h.toggleRecovery.apply(h,arguments)}),["prevent"]))},[f.recovery?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[d],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[c],64))]),(0,o.createVNode)(b,{class:(0,o.normalizeClass)(["ml-4",{"opacity-25":f.form.processing}]),disabled:f.form.processing},{default:(0,o.withCtx)((function(){return[A]})),_:1},8,["class","disabled"])])],32)]})),_:1})}]])},1258:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var o=n(3868),r=(0,o.createElementVNode)("div",{class:"mb-4 text-sm text-gray-600"}," Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another. ",-1),i={key:0,class:"mb-4 font-medium text-sm text-green-600"},a={class:"mt-4 flex items-center justify-between"},l=(0,o.createTextVNode)(" Resend Verification Email "),s=(0,o.createTextVNode)("Log Out");var u=n(5067),c=n(4423),d=n(6076);const A={components:{JetAuthenticationCard:u.Z,JetAuthenticationCardLogo:c.Z,JetButton:d.Z},props:{status:String},data:function(){return{form:this.$inertia.form()}},methods:{submit:function(){this.form.post(this.route("verification.send"))}},computed:{verificationLinkSent:function(){return"verification-link-sent"===this.status}}};const p=(0,n(3744).Z)(A,[["render",function(e,t,n,u,c,d){var A=(0,o.resolveComponent)("jet-authentication-card-logo"),p=(0,o.resolveComponent)("jet-button"),f=(0,o.resolveComponent)("inertia-link"),h=(0,o.resolveComponent)("jet-authentication-card");return(0,o.openBlock)(),(0,o.createBlock)(h,null,{logo:(0,o.withCtx)((function(){return[(0,o.createVNode)(A)]})),default:(0,o.withCtx)((function(){return[r,d.verificationLinkSent?((0,o.openBlock)(),(0,o.createElementBlock)("div",i," A new verification link has been sent to the email address you provided during registration. ")):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("form",{onSubmit:t[0]||(t[0]=(0,o.withModifiers)((function(){return d.submit&&d.submit.apply(d,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",a,[(0,o.createVNode)(p,{class:(0,o.normalizeClass)({"opacity-25":c.form.processing}),disabled:c.form.processing},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["class","disabled"]),(0,o.createVNode)(f,{href:e.route("logout"),method:"post",as:"button",class:"underline text-sm text-gray-600 hover:text-gray-900"},{default:(0,o.withCtx)((function(){return[s]})),_:1},8,["href"])])],32)]})),_:1})}]])},3912:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-d829de04"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a={class:"breadcrumbs container full"},l=(0,o.createTextVNode)(" < Home "),s={key:0,class:"breadcrumbs__right"},u={class:"children"},c={class:"container full"},d={class:"text-gray"},A={class:"confirm-delete"},p=r((function(){return(0,o.createElementVNode)("h2",null,"Confirm Removal",-1)})),f=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},[(0,o.createTextVNode)(" Are you sure you want to delete this author?"),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" This will also delete any books and locations associated with the author."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" This action is irreversible. ")],-1)})),h={class:"confirm-delete__actions"},m=(0,o.createTextVNode)("Delete"),v=(0,o.createTextVNode)("Cancel");var g=n(9925),y=n(6638),b=n(6076),w=n(635),L=n(8330),C=n(8551);const B={components:{AppLayout:g.Z,BooksList:y.Z,SButton:b.Z,StoriesList:w.Z,Modal:L.Z,AuthorForm:C.default},props:{author:Object,books:{type:Array,default:[]},stories:{type:Array,default:[]}},data:function(){return{confirmingDelete:!1}},methods:{deleteAuthor:function(){this.confirmingDelete=!0},performDelete:function(){this.$inertia.delete(route("authors.destroy",{author:this.author}))}}};const _=(0,n(3744).Z)(B,[["render",function(e,t,n,r,g,y){var b=(0,o.resolveComponent)("inertia-link"),w=(0,o.resolveComponent)("q-icon"),L=(0,o.resolveComponent)("s-button"),C=(0,o.resolveComponent)("author-form"),B=(0,o.resolveComponent)("books-list"),_=(0,o.resolveComponent)("modal"),k=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(k,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[(0,o.createElementVNode)("div",a,[(0,o.createVNode)(b,{href:e.route("dashboard")},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["href"]),n.author?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createVNode)(L,{class:"breadcrumbs__right__delete-btn","button-style":"danger btn-sm",type:"button",onClick:y.deleteAuthor},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(w,{name:"delete_forever",size:"1.1rem"})]})),_:1},8,["onClick"])])):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(C,{author:n.author},null,8,["author"])]),(0,o.createElementVNode)("section",u,[(0,o.createElementVNode)("div",c,[(0,o.withDirectives)((0,o.createVNode)(B,{author:n.author,books:n.books},{emptytext:(0,o.withCtx)((function(){var e;return[(0,o.createTextVNode)((0,o.toDisplayString)((null===(e=n.author)||void 0===e?void 0:e.author_name)||"This author")+" doesn't have any books yet.",1)]})),title:(0,o.withCtx)((function(){var e;return[(0,o.createElementVNode)("h6",d,"Books by "+(0,o.toDisplayString)(null===(e=n.author)||void 0===e?void 0:e.author_name),1)]})),_:1},8,["author","books"]),[[o.vShow,!!n.author]])])]),(0,o.createVNode)(_,{show:g.confirmingDelete,onClose:t[1]||(t[1]=function(e){return g.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",A,[p,f,(0,o.createElementVNode)("div",h,[(0,o.createVNode)(L,{type:"button",onClick:y.performDelete},{default:(0,o.withCtx)((function(){return[m]})),_:1},8,["onClick"]),(0,o.createVNode)(L,{type:"button","button-style":"primary-inverse",onClick:t[0]||(t[0]=function(e){return g.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[v]})),_:1})])])]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-d829de04"]])},8551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-0a4599ac"),e=e(),(0,o.popScopeId)(),e},i={class:"description"},a=["src"],l=(0,o.createTextVNode)("change image"),s={class:"description__data__wrapper"},u={class:"description__data"},c=["readonly"],d={key:0,class:"invalid-feedback"},A={key:1,class:"warning-feedback"},p=["readonly"],f={class:"description__information"},h=r((function(){return(0,o.createElementVNode)("div",{class:"description__information__header"},"Add more info",-1)})),m={class:"description__information__content"},v={class:"description__information__field"},g=(0,o.createTextVNode)(" Facebook "),y={class:"description__information__field"},b=(0,o.createTextVNode)(" Twitter "),w={class:"description__information__field"},L=(0,o.createTextVNode)(" Instagram "),C={class:"description__information__field"},B=(0,o.createTextVNode)(" Website "),_={class:"description__information__field"},k=(0,o.createTextVNode)(" Home Town "),x=(0,o.createTextVNode)(" Save ");var S=n(6076),E=n(7936),T=n(1865),N=n(2099),F=n(9826),V=n(626);const O={mixins:[T.Z],components:{SButton:S.Z,STxtButton:E.Z,DataProperty:N.Z,ToastMessage:F.Z},props:{author:{type:Object,required:!1}},watch:{"form.image":function(e){var t=this;if(this.imagePreview=null,e){if(e instanceof File){var n=new FileReader;return n.onload=function(e){t.imagePreview=e.target.result},n.readAsDataURL(e),void(0,V.Fq)(e).then((function(e){t.form.image=e})).catch((function(e){console.error(e),t.$q.dialog({html:!0,title:"Image Error",message:"".concat(e,"<br>Please use a different image..."),rounded:!0,ok:{rounded:!0}}).onDismiss((function(){t.form.image=void 0}))}))}this.form.image=e}},formDirty:function(e){e&&this.invokeSave()},editingData:function(e){var t=this;this.$nextTick((function(){e?t.debounceTimeout&&window.clearTimeout(t.debounceTimeout):t.invokeSave()}))}},computed:{authorImage:function(){return this.imagePreview?this.imagePreview:this.isURL(this.form.image)?this.form.image:route("api.image-placeholder",{type:"profile"})}},data:function(){var e,t,n,o,r,i,a,l,s;return{ERRORBAG:"authorInput",editingData:!this.author,debounceTimeout:void 0,showManualSave:!1,imageDragging:!1,imagePreview:(null===(e=this.author)||void 0===e||null===(t=e.image)||void 0===t?void 0:t.public_path)||null,showToast:!1,toastMessage:"",toastY:null,form:this.$inertia.form({_method:this.author?"PUT":"POST",name:(null===(n=this.author)||void 0===n?void 0:n.author_name)||null,description:(null===(o=this.author)||void 0===o?void 0:o.description)||null,instagram:(null===(r=this.author)||void 0===r?void 0:r.instagram)||null,website:(null===(i=this.author)||void 0===i?void 0:i.website)||null,twitter:(null===(a=this.author)||void 0===a?void 0:a.twitter_link)||null,hometown:(null===(l=this.author)||void 0===l?void 0:l.hometown)||null,facebook:(null===(s=this.author)||void 0===s?void 0:s.facebook_link)||null,image:null},{bag:this.ERRORBAG,resetOnSuccess:!1}),iconInstagram:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewB
2ox='0 0 512 512'><title>Logo Instagram</title><path d='M349.33 69.33a93.62 93.62 0 0193.34 93.34v186.66a93.62 93.62 0 01-93.34 93.34H162.67a93.62 93.62 0 01-93.34-93.34V162.67a93.62 93.62 0 0193.34-93.34h186.66m0-37.33H162.67C90.8 32 32 90.8 32 162.67v186.66C32 421.2 90.8 480 162.67 480h186.66C421.2 480 480 421.2 480 349.33V162.67C480 90.8 421.2 32 349.33 32z'/><path d='M377.33 162.67a28 28 0 1128-28 27.94 27.94 0 01-28 28zM256 181.33A74.67 74.67 0 11181.33 256 74.75 74.75 0 01256 181.33m0-37.33a112 112 0 10112 112 112 112 0 00-112-112z'/></svg>".replace("data:image/svg+xml;utf8,",""),iconTwitter:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Logo Twitter</title><path d='M496 109.5a201.8 201.8 0 01-56.55 15.3 97.51 97.51 0 0043.33-53.6 197.74 197.74 0 01-62.56 23.5A99.14 99.14 0 00348.31 64c-54.42 0-98.46 43.4-98.46 96.9a93.21 93.21 0 002.54 22.1 280.7 280.7 0 01-203-101.3A95.69 95.69 0 0036 130.4c0 33.6 17.53 63.3 44 80.7A97.5 97.5 0 0135.22 199v1.2c0 47 34 86.1 79 95a100.76 100.76 0 01-25.94 3.4 94.38 94.38 0 01-18.51-1.8c12.51 38.5 48.92 66.5 92.05 67.3A199.59 199.59 0 0139.5 405.6a203 203 0 01-23.5-1.4A278.68 278.68 0 00166.74 448c181.36 0 280.44-147.7 280.44-275.8 0-4.2-.11-8.4-.31-12.5A198.48 198.48 0 00496 109.5z'/></svg>".replace("data:image/svg+xml;utf8,","")}},methods:{invokeSave:function(){var e=this;this.debounceTimeout&&window.clearTimeout(this.debounceTimeout),this.author&&!this.editingData&&(this.debounceTimeout=window.setTimeout((function(){e.postForm()}),900))},saveIfNeeded:function(){this.showManualSave&&this.formDirty&&this.postForm()},postForm:function(){var e,t=this;this.form.processing=!0,this.showFeedback("Saving Data..."),this.form.website=-1===(null===(e=this.form.website)||void 0===e?void 0:e.indexOf("http"))?"http://".concat(this.form.website):this.form.website,this.form._method=this.author?"PUT":"POST",this.form.post(route("authors.".concat(this.author?"update":"store"),{author:this.author}),{preserveScroll:!0,onSuccess:function(){t.restartFormTracking(),t.formDirty=!1,t.showManualSave=!1,t.showFeedback("Changes saved!")},onError:function(){t.showFeedback("Changes were NOT saved!"),t.showManualSave=!0},onFinish:function(){t.editingData=!1}})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])},showFeedback:function(e){this.toastMessage=e,this.showToast=!0}},mounted:function(){var e=this;this.removeBeforeListener=this.$inertia.on("before",(function(t){if(e.formDirty&&!e.form.processing&&!e.form.wasSuccessful){var n=confirm("You have unsaved data. Are you sure you want to navigate away?");return n||e.$refs.saveButton.$el.focus(),n}}));var t=this.$refs.form.getBoundingClientRect();this.toastY=t.top+.5*t.height,this.toastY<160&&(this.toastY=160)},beforeUnmount:function(){this.removeBeforeListener()}};const U=(0,n(3744).Z)(O,[["render",function(e,t,n,r,S,E){var T=(0,o.resolveComponent)("s-txt-button"),N=(0,o.resolveComponent)("data-property"),F=(0,o.resolveComponent)("s-button"),V=(0,o.resolveComponent)("toast-message");return(0,o.openBlock)(),(0,o.createElementBlock)("form",{class:"container full",onSubmit:t[16]||(t[16]=(0,o.withModifiers)((function(){return E.postForm&&E.postForm.apply(E,arguments)}),["prevent"])),ref:"form"},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",{class:"description__image",onDrop:t[1]||(t[1]=function(){return E.fileDropped&&E.fileDropped.apply(E,arguments)}),onDragover:t[2]||(t[2]=function(){return E.draggingOver&&E.draggingOver.apply(E,arguments)}),onDragleave:t[3]||(t[3]=function(){return E.notDraggingOver&&E.notDraggingOver.apply(E,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image",S.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:E.authorImage},null,8,a)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[0]||(t[0]=function(){return E.fileSelected&&E.fileSelected.apply(E,arguments)})},null,544),(0,o.createVNode)(T,{"no-styling":"","button-style":"txt-info",class:"description__image__action",onClick:(0,o.withModifiers)(E.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"])],32),(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("h1",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Name","onUpdate:modelValue":t[4]||(t[4]=function(e){return S.form.name=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("name")}]),readonly:!S.editingData,onFocus:t[5]||(t[5]=function(e){return S.editingData=!0}),onBlur:t[6]||(t[6]=function(e){return S.editingData=!1})},null,42,c),[[o.vModelText,S.form.name]]),e.hasError("name")?((0,o.openBlock)(),(0,o.createElementBlock)("small",d,(0,o.toDisplayString)(e.getError("name")),1)):(0,o.createCommentVNode)("",!0),e.hasWarning("name")?((0,o.openBlock)(),(0,o.createElementBlock)("small",A," â ï¸ "+(0,o.toDisplayString)(e.getWarning("name")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{type:"text",placeholder:"About the Author","onUpdate:modelValue":t[7]||(t[7]=function(e){return S.form.description=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("description")}]),readonly:!S.editingData,onFocus:t[8]||(t[8]=function(e){return S.editingData=!0}),onBlur:t[9]||(t[9]=function(e){return S.editingData=!1})},null,42,p),[[o.vModelText,S.form.description]])]),(0,o.createElementVNode)("div",f,[h,(0,o.createElementVNode)("div",m,[(0,o.createElementVNode)("div",v,[(0,o.createVNode)(N,{placeholder:"Facebook",modelValue:S.form.facebook,"onUpdate:modelValue":t[10]||(t[10]=function(e){return S.form.facebook=e}),"value-placeholder":"https://www.facebook.com/",icon:"<img class='emoji-icon' src='/images/icon-fb.svg' alt='Facebook Logo' />",error:e.getError("facebook")},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["modelValue","error"])]),(0,o.createElementVNode)("div",y,[(0,o.createVNode)(N,{placeholder:"Twitter","value-placeholder":"https://www.twitter.com/",modelValue:S.form.twitter,"onUpdate:modelValue":t[11]||(t[11]=function(e){return S.form.twitter=e}),icon:"<img class='emoji-icon' src='/images/icon-twitter.svg' alt='Twitter Logo' />",error:e.getError("twitter")},{default:(0,o.withCtx)((function(){return[b]})),_:1},8,["modelValue","error"])]),(0,o.createElementVNode)("div",w,[(0,o.createVNode)(N,{placeholder:"Instagram","value-placeholder":"https://www.instagram.com/",modelValue:S.form.instagram,"onUpdate:modelValue":t[12]||(t[12]=function(e){return S.form.instagram=e}),icon:"<img class='emoji-icon' src='/images/icon-insta.svg' alt='Instagram Logo' />",error:e.getError("instagram")},{default:(0,o.withCtx)((function(){return[L]})),_:1},8,["modelValue","error"])]),(0,o.createElementVNode)("div",C,[(0,o.createVNode)(N,{placeholder:"Website",modelValue:S.form.website,"onUpdate:modelValue":t[13]||(t[13]=function(e){return S.form.website=e}),"emoji-icon":"ð",type:"url",error:e.getError("website"),onOnSave:E.saveIfNeeded},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["modelValue","error","onOnSave"])]),(0,o.createElementVNode)("div",_,[(0,o.createVNode)(N,{type:"location",placeholder:"Home Town",modelValue:S.form.hometown,"onUpdate:modelValue":t[14]||(t[14]=function(e){return S.form.hometown=e}),label:S.form.hometown,"emoji-icon":"ð ",error:e.getError("hometown")},{default:(0,o.withCtx)((function(){return[k]})),_:1},8,["modelValue","label","error"])])]),S.showManualSave||!n.author?((0,o.openBlock)(),(0,o.createBlock)(F,{key:0,class:"description__save","button-style":"primary",disabled:!e.formDirty,title:e.formDirty?"Save Changes":"No Changes - no need to save",ref:"saveButton"},{default:(0,o.withCtx)((function(){return[x]})),_:1},8,["disabled","title"])):(0,o.createCommentVNode)("",!0)])])]),(0,o.createVNode)(V,{active:S.showToast,"onUpdate:active":t[15]||(t[15]=function(e){return S.showToast=e}),style:(0,o.normalizeStyle)(S.toastY?{top:"".concat(S.toastY,"px")}:{})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(S.toastMessage),1)]})),_:1},8,["active","style"])],544)}],["__scopeId","data-v-0a4599ac"]])},4641:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-51992d0e"),e=e(),(0,o.popScopeId)(),e},i={class:"half description"},a=["src"],l=(0,o.createTextVNode)("change cover"),s={class:"description__data"},u=["readonly"],c=["readonly"],d=(0,o.createTextVNode)("done"),A=(0,o.createTextVNode)("edit"),p=r((function(){return(0,o.createElementVNode)("div",{class:"divider"},null,-1)})),f={class:"half information"},h={class:"information__field"},m=r((function(){return(0,o.createElementVNode)("label",{for:"input_instagram"},"Instagram",-1)})),v={key:0,class:"invalid-feedback"},g={class:"information__field"},y=r((function(){return(0,o.createElementVNode)("label",{for:"input_website"},"Website",-1)})),b={key:0,class:"invalid-feedback"},w={class:"information__field"},L=r((function(){return(0,o.createElementVNode)("label",{for:"input_twitter"},"Twitter",-1)})),C={key:0,class:"invalid-feedback"},B={class:"information__field"},_=r((function(){return(0,o.createElementVNode)("label",{for:"input_hometown"},"Hometown",-1)})),k={key:0,class:"invalid-feedback"},x={class:"information__field"},S=r((function(){return(0,o.createElementVNode)("label",{for:"input_facebook"},"Facebook",-1)})),E={key:0,class:"invalid-feedback"},T=(0,o.createTextVNode)("Save");var N=n(6076);const F={mixins:[n(1865).Z],components:{SButton:N.Z},props:{author:{type:Object,required:!1}},watch:{"form.image":function(){this.imagePreview=null}},computed:{authorImage:function(){var e=this;return this.imagePreview?this.imagePreview:this.form.image instanceof File?new Promise((function(t,n){var o=new FileReader;o.onload=function(n){e.imagePreview=n.target.result,t(e.imagePreview)},o.readAsDataURL(e.form.image)})):this.isURL(this.form.image)?this.form.image:route("api.image-placeholder")}},data:function(){var e,t,n,o,r,i,a,l,s;return{ERRORBAG:"authorInput",editingData:!this.author,imageDragging:!1,imagePreview:(null===(e=this.author)||void 0===e||null===(t=e.image)||void 0===t?void 0:t.public_path)||null,form:this.$inertia.form({_method:this.author?"PUT":"POST",name:(null===(n=this.author)||void 0===n?void 0:n.author_name)||null,description:(null===(o=this.author)||void 0===o?void 0:o.description)||null,instagram:(null===(r=this.author)||void 0===r?void 0:r.instagram)||null,website:(null===(i=this.author)||void 0===i?void 0:i.website)||null,twitter:(null===(a=this.author)||void 0===a?void 0:a.twitter_link)||null,hometown:(null===(l=this.author)||void 0===l?void 0:l.hometown)||null,facebook:(null===(s=this.author)||void 0===s?void 0:s.facebook_link)||null,image:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},methods:{postForm:function(){var e=this;this.form.processing=!0,this.form.post(route("authors.".concat(this.author?"update":"store"),{author:this.author}),{preserveScroll:!0,onSuccess:function(){e.restartFormTracking(),e.formDirty=!1},onError:function(){},onFinish:function(){e.editingData=!1}})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])}},mounted:function(){var e=this;this.removeBeforeListener=this.$inertia.on("before",(function(t){if(e.formDirty&&!e.form.processing&&!e.form.wasSuccessful){var n=confirm("You have unsaved data. Are you sure you want to navigate away?");return n||e.$refs.saveButton.$el.focus(),n}}))},beforeUnmount:function(){this.removeBeforeListener()}};const V=(0,n(3744).Z)(F,[["render",function(e,t,n,r,N,F){var V=(0,o.resolveComponent)("s-button");return(0,o.openBlock)(),(0,o.createElementBlock)("form",{class:"container",onSubmit:t[12]||(t[12]=(0,o.withModifiers)((function(){return F.postForm&&F.postForm.a
2pply(F,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",{class:"description__image",onDrop:t[1]||(t[1]=function(){return F.fileDropped&&F.fileDropped.apply(F,arguments)}),onDragover:t[2]||(t[2]=function(){return F.draggingOver&&F.draggingOver.apply(F,arguments)}),onDragleave:t[3]||(t[3]=function(){return F.notDraggingOver&&F.notDraggingOver.apply(F,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image",N.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:F.authorImage},null,8,a)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[0]||(t[0]=function(){return F.fileSelected&&F.fileSelected.apply(F,arguments)})},null,544),(0,o.createVNode)(V,{"no-styling":"","button-style":"primary",class:"description__image__action",onClick:(0,o.withModifiers)(F.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"])],32),(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("h1",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[4]||(t[4]=function(e){return N.form.name=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("name")}]),readonly:!N.editingData},null,10,u),[[o.vModelText,N.form.name]])]),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{type:"text",placeholder:"Description","onUpdate:modelValue":t[5]||(t[5]=function(e){return N.form.description=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("description")}]),readonly:!N.editingData},null,10,c),[[o.vModelText,N.form.description]]),(0,o.createVNode)(V,{"no-styling":"","button-style":"primary",class:"description__data__action",onClick:t[6]||(t[6]=(0,o.withModifiers)((function(e){return N.editingData=!N.editingData}),["prevent"]))},{default:(0,o.withCtx)((function(){return[N.editingData?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[d],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[A],64))]})),_:1})])]),p,(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("div",h,[m,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("instagram")}]),id:"input_instagram","onUpdate:modelValue":t[7]||(t[7]=function(e){return N.form.instagram=e})},null,2),[[o.vModelText,N.form.instagram]]),e.hasError("instagram")?((0,o.openBlock)(),(0,o.createElementBlock)("div",v,(0,o.toDisplayString)(e.getError("instagram")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",g,[y,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"url",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("website")}]),id:"input_website","onUpdate:modelValue":t[8]||(t[8]=function(e){return N.form.website=e})},null,2),[[o.vModelText,N.form.website]]),e.hasError("website")?((0,o.openBlock)(),(0,o.createElementBlock)("div",b,(0,o.toDisplayString)(e.getError("website")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",w,[L,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("twitter")}]),id:"input_twitter","onUpdate:modelValue":t[9]||(t[9]=function(e){return N.form.twitter=e})},null,2),[[o.vModelText,N.form.twitter]]),e.hasError("twitter")?((0,o.openBlock)(),(0,o.createElementBlock)("div",C,(0,o.toDisplayString)(e.getError("twitter")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",B,[_,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("hometown")}]),id:"input_hometown","onUpdate:modelValue":t[10]||(t[10]=function(e){return N.form.hometown=e})},null,2),[[o.vModelText,N.form.hometown]]),e.hasError("hometown")?((0,o.openBlock)(),(0,o.createElementBlock)("div",k,(0,o.toDisplayString)(e.getError("hometown")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",x,[S,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("facebook")}]),id:"input_facebook","onUpdate:modelValue":t[11]||(t[11]=function(e){return N.form.facebook=e})},null,2),[[o.vModelText,N.form.facebook]]),e.hasError("facebook")?((0,o.openBlock)(),(0,o.createElementBlock)("div",E,(0,o.toDisplayString)(e.getError("facebook")),1
2)):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(V,{"button-style":"primary-inverse",disabled:!e.formDirty,title:e.formDirty?"Save Changes":"No Changes - no need to save",ref:"saveButton"},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["disabled","title"])])],32)}],["__scopeId","data-v-51992d0e"]])},2993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Yt});var o=n(3868);function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var a=function(e){return(0,o.pushScopeId)("data-v-2bd257b6"),e=e(),(0,o.popScopeId)(),e},l={class:"action"},s={class:"breadcrumbs container full"},u=(0,o.createTextVNode)(" < Home "),c={key:2},d={key:3,class:"breadcrumbs__right"},A={class:"children"},p={class:"container full"},f={key:0,class:"places",ref:"placesContainer"},h={class:"places__header"},m=a((function(){return(0,o.createElementVNode)("h5",{class:"places__header__title text-gray"},"Locations",-1)})),v={class:"text-description"},g=(0,o.createTextVNode)(" Add story locations by clicking on the desired place on the map. "),y=(0,o.createTextVNode)(" Go to map view to add a new location. "),b={class:"places__header__actions"},w=(0,o.createTextVNode)("ð£ Share This Map"),L=(0,o.createTextVNode)(" ðºï¸ Go to "),C=(0,o.createTextVNode)(" to add your first location. "),B={key:0,class:"share-dialog"},_=(0,o.createTextVNode)(" Share the "),k=(0,o.createTextVNode)(" Squirl map! "),x=["href"],S={class:"share-dialog__actions"},E=["href"],T=[a((function(){return(0,o.createElementVNode)("img",{class:"emoji-icon",src:"/images/icon-twitter.svg",alt:"Twitter Logo"},null,-1)})),(0,o.createTextVNode)(" Tweet ")],N=["href"],F=[a((function(){return(0,o.createElementVNode)("img",{class:"emoji-icon",src:"/images/icon-fb.svg",alt:"Facebook Logo"},null,-1)})),(0,o.createTextVNode)(" Share ")],V={key:1,class:"share-dialog__description"},O=a((function(){return(0,o.createElementVNode)("h3",null,"â ï¸ This book is currently set as unpublished.",-1)})),U=a((function(){return(0,o.createElementVNode)("p",{class:"share-dialog__description"},"You will need to publish your book before you can share this map.",-1)})),Q={class:"confirm-create"},q=a((function(){return(0,o.createElementVNode)("h2",null,"Book Added",-1)})),M={class:"confirm-create__description"},I=a((function(){return(0,o.createElementVNode)("br",null,null,-1)})),P=(0,o.createTextVNode)(" Make sure to publish your book when you are done. "),D={class:"confirm-create__actions"},H=(0,o.createTextVNode)("Add Locations"),R={class:"confirm-create"},j=a((function(){return(0,o.createElementVNode)("h2",null,"Location Added",-1)})),$={class:"confirm-create__description"},z=a((function(){return(0,o.createElementVNode)("br",null,null,-1)})),K=(0,o.createTextVNode)(" Make sure to publish your book when you are done. "),W={class:"confirm-create__actions"},Y=(0,o.createTextVNode)("Add More"),G={class:"confirm-delete"},Z=a((function(){return(0,o.createElementVNode)("h2",null,"Confirm Unpublish",-1)})),J=a((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},"You can unpublish this book until you finshed setting everything up.",-1)})),X={class:"confirm-delete__actions"},ee=(0,o.createTextVNode)("Unpublish"),te=(0,o.createTextVNode)("Cancel"),ne={class:"confirm-delete"},oe=a((function(){return(0,o.createElementVNode)("h2",null,"Confirm Removal",-1)})),re=a((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},[(0,o.createTextVNode)("If you delete this book, all associated locations will also be deleted."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)("This action is irreversible.")],-1)})),ie={class:"confirm-delete__actions"},ae=(0,o.createTextVNode)("Delete"),le=(0,o.createTextVNode)("Cancel"),se={class:"confirm-delete"},ue=a((function(){return(0,o.createElementVNode)("h2",null,"No Locations",-1)})),ce=a((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},"Before you can publish this book, you will need to add at least one location.",-1)})),de={class:"confirm-delete__actions"},Ae=(0,o.createTextVNode)("Add Locations"),pe=(0,o.createTextVNode)("Save");
2var fe=n(9925),he=n(6076),me=n(8330),ve=function(e){return(0,o.pushScopeId)("data-v-70fccc4a"),e=e(),(0,o.popScopeId)(),e}((function(){return(0,o.createElementVNode)("h2",null,"Who wrote this masterpiece?",-1)})),ge={class:"select-author__description"},ye=(0,o.createTextVNode)("Select "),be=(0,o.createTextVNode)("or create "),we=(0,o.createTextVNode)("an author to continue."),Le={class:"select-author__actions"},Ce=(0,o.createTextVNode)(" Select Author(s)"),Be=(0,o.createTextVNode)("Create Author"),_e={key:0,class:"select-author__results"},ke={class:"select-author__results__actions"},xe=(0,o.createTextVNode)("Cancel");var Se=n(6687),Ee=n(5288);function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e){return function(e){if(Array.isArray(e))return Oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ue={components:{SButton:he.Z,Modal:me.Z,Search:Se.Z,Menu:Ee.Z},props:{show:{default:!1},onlySearch:{default:!1},currentAuthors:{type:Array,default:[]}},emits:["close","selectedAuthors","done","cancel"],data:function(){return{searchingAuthor:this.onlySearch,authorSearchQuery:"",authorResults:[],selectedAuthors:[]}},watch:{searchingAuthor:function(){this.searchAuthor()},authorSearchQuery:function(){this.searchAuthor()},selectedAuthors:function(){this.$emit("selectedAuthors",this.selectedAuthors)},currentAuthors:function(){this.selectedAuthors=Ve(this.currentAuthors)}},computed:{authorsMenuList:function(){return[].concat(Ve(this.mapAuthorsToMenuList(this.selectedAuthors,!0)),Ve(this.filterSelectedFromMenuList(this.authorResults))).map((function(e){return Ne(Ne({},e),{},{id:e.id||e.author.id||Math.floor(100*Math.random())})}))}},methods:{cancel:function(){this.onlySearch?(this.hideModal(),this.$emit("cancel")):this.searchingAuthor=!1},done:function(){this.$emit("done")},searchAuthor:function(){var e=this;axios.post(route("api.search.author"),{query:this.authorSearchQuery}).then((function(t){e.authorResults=e.mapAuthorsToMenuList(t.data)})).catch((function(e){}))},selectAuthor:function(e){this.selectedAuthors.some((function(t){return t.id===e.author.id}))?this.selectedAuthors=this.selectedAuthors.filter((function(t){return t.id!==e.author.id})):this.selectedAuthors=[].concat(Ve(this.selectedAuthors),[e.author])},hideModal:function(){this.$emit("close")},filterSelectedFromMenuList:function(e){var t=this;return e.filter((function(e){return!t.selectedAuthors.some((function(t){return t.id===e.author.id}))}))},mapAuthorsToMenuList:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){var n;return(n=e.author&&e.name?e:{name:e.author_name,author:e}).selected=!!t||!!n.selected,n}))}},mounted:function(){var e;this.onlySearch&&this.searchAuthor(),null!==(e=this.currentAuthors)&&void 0!==e&&e.length&&(this.selectedAuthors=Ve(this.currentAuthors))}};var Qe=n(3744);const qe=(0,Qe.Z)(Ue,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("s-button"),s=(0,o.resolveComponent)("search"),u=(0,o.resolveComponent)("inertia-link"),c=(0,o.resolveComponent)("Menu"),d=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createBlock)(d,{show:n.show,onClose:a.hideModal,class:"select-author-modal"},{default:(0,o.withCtx)((function(){return[ve,(0,o.createElementVNode)("p",ge,[ye,n.onlySearch?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[be],64)),we]),(0,o.createElementVNode)("div",Le,[i.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,t
2ype:"button","button-style":"primary-contrast",onClick:t[0]||(t[0]=function(e){return i.searchingAuthor=!0})},{default:(0,o.withCtx)((function(){return[Ce]})),_:1})),i.searchingAuthor?((0,o.openBlock)(),(0,o.createBlock)(s,{key:1,modelValue:i.authorSearchQuery,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.authorSearchQuery=e})},null,8,["modelValue"])):(0,o.createCommentVNode)("",!0),i.searchingAuthor?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(u,{key:2,href:e.route("authors.create"),class:"btn btn-primary-contrast"},{default:(0,o.withCtx)((function(){return[Be]})),_:1},8,["href"]))]),(0,o.createVNode)(o.Transition,{name:"grow"},{default:(0,o.withCtx)((function(){return[i.searchingAuthor?((0,o.openBlock)(),(0,o.createElementBlock)("div",_e,[(0,o.withDirectives)((0,o.createVNode)(c,{items:a.authorsMenuList,onSelect:a.selectAuthor,class:"author-results"},null,8,["items","onSelect"]),[[o.vShow,a.authorsMenuList.length]]),(0,o.createElementVNode)("div",ke,[(0,o.createVNode)(l,{type:"button","button-style":"primary-contrast",onClick:a.cancel},{default:(0,o.withCtx)((function(){return[xe]})),_:1},8,["onClick"]),(0,o.createVNode)(o.Transition,{name:"fade-grow"},{default:(0,o.withCtx)((function(){return[i.selectedAuthors.length?((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,type:"button",onClick:a.done},{default:(0,o.withCtx)((function(){return[(0,o.renderSlot)(e.$slots,"actionText",{},void 0,!0)]})),_:3},8,["onClick"])):(0,o.createCommentVNode)("",!0)]})),_:3})])])):(0,o.createCommentVNode)("",!0)]})),_:3})]})),_:3},8,["show","onClose"])}],["__scopeId","data-v-70fccc4a"]]);var Me=n(5521),Ie=function(e){return(0,o.pushScopeId)("data-v-2490457b"),e=e(),(0,o.popScopeId)(),e},Pe={class:"places"},De={key:0,class:"places__title"},He={class:"places__list"},Re=["onClick"],je={class:"place__title text-gray"},$e={key:0,class:"place empty"},ze={class:"place__title text-gray"},Ke=(0,o.createTextVNode)(" ðºï¸ Go to map view to add your first location. "),We={class:"confirm-delete"},Ye=Ie((function(){return(0,o.createElementVNode)("h2",null,"Confirm Delete",-1)})),Ge=Ie((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},"Are you sure you want to delete this place?",-1)})),Ze={class:"confirm-delete__actions"},Je=(0,o.createTextVNode)("Delete"),Xe=(0,o.createTextVNode)("Cancel");var et=n(366);const tt={components:{SButton:he.Z,Modal:me.Z,PlaceModal:et.default},props:{places:Array,book:{type:Object,required:!1},author:{type:Object,required:!1}},data:function(){return{editingPlace:void 0,showConfirmDelete:!1}},methods:{addPlace:function(){var e="";e=this.author&&this.book?route("authors.books.places.create",{author:this.author,book:this.book}):route("places.create"),this.$inertia.visit(e)},editPlace:function(e){this.editingPlace=e},deletePlace:function(){var e=this;this.showConfirmDelete=!1,this.editingPlace&&this.$inertia.delete(route("places.destroy",{place:this.editingPlace}),{onSuccess:function(){e.editingPlace=void 0},preserveState:!0,preserveScroll:!0})}}},nt=(0,Qe.Z)(tt,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("place-modal"),s=(0,o.resolveComponent)("s-button"),u=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Pe,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",De,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",He,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.places,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"place",key:e.id,onClick:(0,o.withModifiers)((function(t){return a.editPlace(e)}),["prevent"])},[e.image?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"place__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('".concat(e.image.public_path,"');"))},null,4)):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,class:"place__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('/api/image'); background-color: transparent;")},null,4)),(0,o.createElementVNode)("h5",je,(0,o.toDisplayString)(e.place_name),1)],8,Re)})),128)),n.places.length?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",$e,[(0,o.createElementVNode)("h5",ze,[e.$slots.emptytext?(0,o.renderSlot)(e.$slots,"emptytext",{key:0},void 0,!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[Ke],64))])]))]),(0,o.createVNode)(l,{modelValue:i.editingPlace,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.editingPlace=e}),onDeleteMarker:t[1]||(t[1]=function(e){return i.showConfirmDelete=!0})},null,8,["modelValue"]),(0,o.createVNode)(u,{show:i.showConfirmDelete,onClose:t[3]||(t[3]=function(e){return i.showConfirmDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",We,[Ye,Ge,(0,o.createElementVNode)("div",Ze,[(0,o.createVNode)(s,{type:"button",onClick:a.deletePlace},{default:(0,o.withCtx)((function(){return[Je]})),_:1},8,["onClick"]),(0,o.createVNode)(s,{type:"button","button-style":"primary-inverse",onClick:t[2]||(t[2]=function(e){return i.showConfirmDelete=!1})}
2,{default:(0,o.withCtx)((function(){return[Xe]})),_:1})])])]})),_:1},8,["show"])])}],["__scopeId","data-v-2490457b"]]);var ot=function(e){return(0,o.pushScopeId)("data-v-4151c256"),e=e(),(0,o.popScopeId)(),e},rt={class:"places"},it={key:0,class:"places__title"},at={class:"search-input-wrapper",ref:"searchWrapperRef"},lt={class:"sq-marker"},st=["src"],ut={class:"popup"},ct=(0,o.createTextVNode)(" Add Location "),dt={class:"popup__title"},At=(0,o.createTextVNode)(" Edit Location "),pt=(0,o.createTextVNode)(" Move Location "),ft={class:"popup__title editing"},ht=(0,o.createTextVNode)(" Save Location "),mt=(0,o.createTextVNode)(" Move Location "),vt=(0,o.createTextVNode)(" Revert Move "),gt={class:"confirm-delete"},yt=ot((function(){return(0,o.createElementVNode)("h2",null,"Confirm Delete",-1)})),bt=ot((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},"Are you sure you want to delete this place?",-1)})),wt={class:"confirm-delete__actions"},Lt=(0,o.createTextVNode)("Delete"),Ct=(0,o.createTextVNode)("Cancel"),Bt={class:"confirm-delete"},_t=(0,o.createTextVNode)("Updated Location"),kt=ot((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},[(0,o.createTextVNode)(" You updated the location but there is a streetview image linked to this location."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" Please update the streetview image in the place details. ")],-1)})),xt={class:"confirm-delete__actions"},St=(0,o.createTextVNode)("Got It");var Et=n(7757),Tt=n.n(Et),Nt=n(3627),Ft=n(9680),Vt=n(4148),Ot=n(5055),Ut=n(8366);function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function It(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function Pt(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){It(i,o,r,a,l,"next",e)}function l(e){It(i,o,r,a,l,"throw",e)}a(void 0)}))}}function Dt(e){return function(e){if(Array.isArray(e))return Ht(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ht(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Rt=(0,o.defineComponent)({components:{GoogleMap:Nt.GoogleMap,AdvancedMarker:Nt.AdvancedMarker,MarkerCluster:Nt.MarkerCluster,CustomControl:Nt.CustomControl,Modal:me.Z,PlaceModal:et.default,SButton:he.Z,MapPopup:Ut.Z},props:{book:{type:Object,required:!0},places:{type:Array,default:[]}},emits:["created"],setup:function(e,t){var n,r=(0,o.ref)(null),i=(0,o.ref)(null),a=(0,o.ref)(null),l=(0,o.ref)(null),s=(0,o.ref)(!1),u=(0,o.ref)(!1),c=(0,o.ref)({lat:40.689247,lng:-74.044502}),d=(0,o.ref)(void 0),A=(0,o.ref)(e.places),p=[],f={renderer:(n=Vt.kz,{render:function(e){var t=e.count,o=e.position,r=document.createElement("div");r.style.position="relative",r.style.cursor="pointer";var i=document.createElement("img");i.src=n.url,i.style.width="".concat(n.width||42,"px"),i.style.height="".concat(n.height||52,"px"),i.style.display="block",r.appendChild(i);var a=document.createElement("span");return a.textContent=t,a.style.position="absolute",a.style.top="50%",a.style.left="50%",a.style.transform="translate(-50%, -65%)",a.style.color=n.textColor||"#FFFFFF",a.style.fontSize="".concat(n.textSize||14,"px"),a.style.fontWeight=n.fontWeight||"bold",r.appendChild(a),new google.maps.marker.AdvancedMarkerElement({position:o,content:r,zIndex:t})}})},h=function(){return A.value.map((function(e){return{_place:e,position:{lat:Number(e.lat||e.latitude),lng:Number(e.lng||e.longitude)},iconUrl:Vt.Fd.url,draggable:!1}}))},m=(0,o.reactive)(h()),v=(0,o.ref)(void 0),g=(0,o.ref)(void 0),y=(0,o.ref)(void 0),b=(0,o.ref)(void 0),w=(0,o.ref)(!1),L=(0,o.ref)(void 0);e.center&&(c.value=e.center);var C=function(){var e,t=null===(e=r.value)||void 0===e?void 0:e.map;if(t)if(m.length>1){for(var n=new google.maps.LatLngBounds,o=0;o<m.length;o++)n.extend(m[o].position);t.fitBounds(n)}else 1===m.length?(t.setZoom(11),t.setCenter(m[0].position)):t.setZoom(11)};function B(e){return _.apply(this,arguments)}function _(){return(_=Pt(Tt().mark((function e(t){var n,o;return Tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=m.find((function(e){return!!e.originalPosition})))){e.next=8;break}return g.value=n.position,y.value="movedactions",b.value=n,w.value=!0,setTimeout((function(){w.value=!1}),1e3),e.abrupt("return");case 8:if(x(),o=m.some((function(e){return e.draggable})),!t.placeId&&!o){e.next=14;break}return g.value=void 0,b.value=void 0,e.abrupt("return");case 14:v.value=setTimeout((function(){g.value=t.latLng,y.value="markeractions",b.value=void 0}),200);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(){m.splice(0),m.push.apply(m,Dt(h()))}function x(){m.forEach((function(e){e.iconUrl=Vt.Fd.url}))}function S(e){var t=e.originalPosition?e:m.find((function(e){return!!e.originalPosition}));if(t)return g.value=t.position,b.value=t,y.value="movedactions",void(t.iconUrl=Vt.l9.url);
2g.value=void 0,e?(e._place.id&&(e.draggable=!1),e.iconUrl=Vt.Fd.url):k(),L.value&&(L.value=void 0)}function E(){return(E=Pt(Tt().mark((function e(t){var n;return Tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(n=t._place)&&void 0!==n&&n.id){e.next=3;break}return d.value=t._place,e.abrupt("return");case 3:if(!t._place.sv_pano_id){e.next=7;break}return u.value=!0,d.value=t._place,e.abrupt("return");case 7:return e.prev=7,e.next=10,axios.put(route("places.update",{place:t._place}),{place_name:t._place.place_name,description:t._place.description,location:t.position});case 10:"OK"===e.sent.statusText&&(g.value=void 0,b.value=void 0,t.originalPosition=void 0,S(t)),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),console.warn(e.t0);case 17:case"end":return e.stop()}}),e,null,[[7,14]])})))).apply(this,arguments)}function T(e){d.value=void 0,L.value=void 0,(0,o.nextTick)((function(){d.value=e._place,L.value=e}))}return(0,o.watch)((function(){return e.places}),(function(e){A.value=e,m.splice(0,m.length),m.push.apply(m,Dt(h())),g.value=void 0,b.value=void 0,C()})),(0,o.watch)(d,(function(e){var t=m.some((function(e){return!!e.originalPosition}));void 0!==e||t||(g.value=void 0,b.value=void 0)})),(0,o.watch)((function(){var e;return null===(e=r.value)||void 0===e?void 0:e.ready}),(function(e){if(e){var t=r.value.map;i.value=t,C();var n=a.value;if(n){var o=new google.maps.places.PlaceAutocompleteElement({});o.placeholder="Search In Visible Area",n.appendChild(o),t.addListener("bounds_changed",(function(){o.locationBias=t.getBounds()})),o.addEventListener("input",(function(){p.forEach((function(e){return e.map=null})),p.length=0})),o.addEventListener("gmp-select",function(){var e=Pt(Tt().mark((function e(n){var o,r,i;return Tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.placePrediction,p.forEach((function(e){return e.map=null})),p.length=0,r=o.toPlace(),e.next=6,r.fetchFields({fields:["location","viewport","displayName"]});case 6:if(r.location){e.next=8;break}return e.abrupt("return");case 8:(i=new google.maps.marker.AdvancedMarkerElement({map:t,title:r.displayName,position:r.location})).addListener("gmp-click",(function(e){B(e)})),p.push(i),r.viewport?t.fitBounds(r.viewport):(t.setCenter(r.location),t.setZoom(15));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}})),{apiPromise:Ot.b3,GOOGLE_MAPS_MAP_ID:Ot.rz,mapRef:r,mapInstance:i,searchWrapperRef:a,deletePlaceBtnRef:l,showConfirmDelete:s,showSvWarning:u,center:c,clusterOptions:f,book:e.book,markers:m,mapClicked:B,mapDoubleClicked:function(e){clearTimeout(v.value),g.value=void 0,b.value=void 0},unlockMarker:function(e){g.value=void 0,e?(e.draggable=!0,e.iconUrl=Vt.l9.url,L.value=e):L.value&&(L.value.draggable=!0,L.value.iconUrl=Vt.l9.url)},lockMarkers:S,confirmDelete:function(e){var t;null===(t=l.value)||void 0===t||t.$el.addEventListener("click",(function(t){t.preventDefault(),function(e){var t;s.value=!1,null!==(t=e._place)&&void 0!==t&&t.id?Ft.Inertia.delete(route("places.destroy",{place:e._place}),{onSuccess:function(){d.value=void 0,L.value=void 0,k()},preserveState:!0,preserveScroll:!0}):(d.value=void 0,L.value=void 0,m.splice(m.findIndex((function(t){return t===e})),1),k())}(e)})),s.value=!0},markerMoved:function(e,t){var n;e.originalPosition||(e.originalPosition=e.position);var o=t.latLng||(null===(n=t.target)||void 0===n?void 0:n.position);e.position=o,e._place=qt(qt({},e._place),{},{lat:"function"==typeof o.lat?o.lat():o.lat,lng:"function"==typeof o.lng?o.lng():o.lng}),L.value&&(g.value=e.position,b.value=e,y.value="movedactions")},resetMove:function(e){var t=e.originalPosition;e.position=t,e._place=qt(qt({},e._place),{},{lat:t.lat,lng:t.lng}),e.originalPosition=void 0,g.value=void 0,b.value=void 0,S(e)},saveNewMarkerLocation:function(e){return E.apply(this,arguments)},markerClicked:function(e){L.value||(x(),g.value=e.position,b.value=e,y.value="markeractions",e.iconUrl=Vt.l9.url)},openPlace:T,editingPlace:d,activeMarker:L,addMarker:function(e){var t=(null==e?void 0:e.latLng)||g.value,n=m.filter((function(e){return!!e._place.id})),o={position:t,draggable:!0,iconUrl:Vt.Ti.url,_place:{lat:t.lat(),lng:t.lng()}};
2m.splice(0),m.push.apply(m,Dt(n).concat([o])),g.value=void 0,T(o)},showPopupOnLatLng:g,popupContent:y,popupActionsForMarker:b,focusPopup:w}}}),jt=(0,Qe.Z)(Rt,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("CustomControl"),s=(0,o.resolveComponent)("AdvancedMarker"),u=(0,o.resolveComponent)("MarkerCluster"),c=(0,o.resolveComponent)("q-icon"),d=(0,o.resolveComponent)("s-button"),A=(0,o.resolveComponent)("map-popup"),p=(0,o.resolveComponent)("GoogleMap"),f=(0,o.resolveComponent)("place-modal"),h=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",rt,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",it,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["places__map",{editing:!!e.editingPlace||!!e.popupActionsForMarker}]),id:"places-map-container"},[(0,o.createVNode)(p,{ref:"mapRef",class:"sq-map","api-promise":e.apiPromise,"map-id":e.GOOGLE_MAPS_MAP_ID,center:e.center,zoom:12,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0,onClick:e.mapClicked,onDblclick:e.mapDoubleClicked},{default:(0,o.withCtx)((function(){var n,r;return[(0,o.createVNode)(l,{position:"TOP_LEFT"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",at,null,512)]})),_:1}),(0,o.createVNode)(u,{options:e.clusterOptions},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.markers,(function(t,n){return(0,o.openBlock)(),(0,o.createBlock)(s,{key:"marker_".concat(t.id||"ind_"+n),options:{position:t.position,gmpDraggable:t.draggable},onDragend:function(n){return e.markerMoved(t,n)},onClick:function(n){return e.markerClicked(t)}},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",lt,[(0,o.createElementVNode)("img",{src:t.iconUrl,draggable:"false"},null,8,st)])]})),_:2},1032,["options","onDragend","onClick"])})),128))]})),_:1},8,["options"]),e.showPopupOnLatLng&&e.mapInstance?((0,o.openBlock)(),(0,o.createBlock)(A,{key:0,map:e.mapInstance,latLng:e.showPopupOnLatLng,onTop:!e.popupActionsForMarker,style:(0,o.normalizeStyle)({"--popup-bubble-anchor-color":null!==(n=e.popupActionsForMarker)&&void 0!==n&&null!==(r=n._place)&&void 0!==r&&r.place_name?"movedactions"===e.popupContent?"var(--squirl-red)":"var(--squirl-orange-opaque)":""}),class:(0,o.normalizeClass)({"draw-attention":e.focusPopup})},{default:(0,o.withCtx)((function(){var n,r;return[(0,o.createElementVNode)("div",ut,["markeractions"===e.popupContent?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[e.popupActionsForMarker?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",dt,(0,o.toDisplayString)(null===(n=e.popupActionsForMarker._place)||void 0===n?void 0:n.place_name),1),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[0]||(t[0]=function(t){return e.openPlace(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"create",left:""}),At]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[1]||(t[1]=function(t){return e.unlockMarker(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"control_camera",left:""}),pt]})),_:1})],64)):((0,o.openBlock)(),(0,o.createBlock)(d,{key:0,class:"popup__btn","no-styling":"",onClick:e.addMarker},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"add",left:""}),ct]})),_:1},8,["onClick"]))],64)):"movedactions"===e.popupContent?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",ft,(0,o.toDisplayString)(null===(r=e.popupActionsForMarker._place)||void 0===r?void 0:r.place_name),1),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[2]||(t[2]=function(t){return e.saveNewMarkerLocation(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"save",left:""}),ht]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[3]||(t[3]=function(t){return e.unlockMarker(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"control_camera",left:""}),mt]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[4]||(t[4]=function(t){return e.resetMove(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"restart_alt",left:""}),vt]})),_:1})],64)):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["map","latLng","onTop","style","class"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center","onClick","onDblclick"])],2),(0,o.createVNode)(f,{modelValue:e.editingPlace,"onUpdate:modelValue":t[5]||(t[5]=function(t){return e.editingPlace=t}),book:e.book,marker:e.activeMarker,gmap:e.mapInstance,onEditMarker:e.unlockMarker,onDeleteMarker:e.confirmDelete,onLockMarker:e.lockMarkers,onFirstPlaceCreated:t[6]||(t[6]=function(t){return e.$emit("created")})},null,8,["modelValue","book","marker","gmap","onEditMarker","onDeleteMarker","onLockMarker"]),(0,o.createVNode)(h,{show:e.showConfirmDelete,onClose:t[8]||(t[8]=function(t){return e.showConfirmDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",gt,[yt,bt,(0,o.createElementVNode)("div",wt,[(0,o.createVNode)(d,{type:"button",ref:"deletePlaceBtnRef"},{default:(0,o.withCtx)((function(){return[Lt]})),_:1},512),(0,o.createVNode)(d,{type:"button","button-style":"primary-inverse",onClick:t[7]||(t[7]=function(t){return e.showConfirmDelete=!1})},{default:(0,o.withCtx)((function(){return[Ct]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(h,{show:e.showSvWarning,onClose:t[10]||(t[10]=function(t){return e.showSvWarning=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",Bt,[(0,o.createElementVNode)("h2",null,[(0,o.createVNode)(c,{name:"error_outline",left:""}),_t]),kt,(0,o.createElementVNode)("div",xt,[(0,o.createVNode)(d,{type:"button",onClick:t[9]||(t[9]=function(t){return e.showSvWarning=!1})},{default:(0,o.withCtx)((function(){return[St]}
2)),_:1})])])]})),_:1},8,["show"])])}],["__scopeId","data-v-4151c256"]]);var $t=n(2029);function zt(e){return function(e){if(Array.isArray(e))return Kt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Wt={components:{AppLayout:fe.Z,SButton:he.Z,Modal:me.Z,AuthorSelector:qe,BookForm:Me.default,PlacesList:nt,PlacesMap:jt,PublishButton:$t.Z},props:{author:Object,authors:Array,book:Object,bookCategories:Array,places:Array},data:function(){return{showAuthorSelector:!1,selectedAuthors:zt(this.authors||[]),showShareDialog:!1,shareCtaText:"Copy",showCreateSuccess:!1,showPlaceCreateSuccess:!1,confirmingDelete:!1,confirmingUnpublish:!1,noLocationsAlert:!1,activeView:"map"}},watch:{showShareDialog:function(){var e=this;setTimeout((function(){e.shareCtaText="Copy"}),200)}},computed:{viewMapUrl:function(){return"https://maps.squirl.co/book/".concat(this.book.id)},twitterShareLink:function(){var e=encodeURIComponent("I have added ".concat(this.book.title," to the @squirlbooks app! Discover my book's real-world settings here"));return"https://twitter.com/intent/tweet?text=".concat(e,"&url=").concat(this.viewMapUrl,"&hashtags=squirl,maps&via=squirlbooks")},facebookShareLink:function(){var e=encodeURIComponent("I have added ".concat(this.book.title," to the @squirlbooks app! Discover my book's real-world settings here ").concat(this.viewMapUrl));return"https://www.facebook.com/dialog/share?app_id=1484551291806724&feature=share&display=popup&href=".concat(this.viewMapUrl,""e=").concat(e,"&hashtag=#squirl")}},methods:{publishAt:function(e){var t;null!==(t=this.places)&&void 0!==t&&t.length?this.$refs.bookForm.publishAt(e):this.noLocationsAlert=!0},scrollToLocations:function(){var e;this.showCreateSuccess=!1,this.showPlaceCreateSuccess=!1,this.noLocationsAlert=!1;var t=null===(e=this.$refs.placesContainer)||void 0===e?void 0:e.offsetTop;t&&window.scrollTo({top:t,left:0,behavior:"smooth"})},unpublishBook:function(){var e=this;this.$inertia.delete(route("books.destroy",{book:this.book}),{data:{published:!1},onFinish:function(){e.confirmingUnpublish=!1}})},deleteBook:function(){var e;null!==(e=this.book)&&void 0!==e&&e.id?this.$inertia.delete(route("books.destroy",{book:this.book})):this.$inertia.visit(route("dashboard"))},toggleViews:function(){this.activeView="map"===this.activeView?"list":"map"},copyMapUrl:function(){var e,t=this;
2null===(e=navigator.clipboard)||void 0===e||e.writeText(this.viewMapUrl).then((function(){t.shareCtaText="Copied!"}),(function(){t.shareCtaText="Could not copy to clipboard."}))},updateSelectedAuthors:function(e){this.selectedAuthors=e},saveAuthors:function(){var e=this;if(this.selectedAuthors.length&&this.authors.length!==this.selectedAuthors.length){var t="bookInput";this.$inertia.form({_method:"PUT",authors:zt(this.selectedAuthors).map((function(e){return e.id}))},{bag:t,resetOnSuccess:!1}).post(route("books.update-authors",{book:this.book}),{preserveScroll:!0,onSuccess:function(){e.showAuthorSelector=!1},onError:function(n){Object.keys((null==n?void 0:n[t])||{}).length&&e.$q.dialog({title:"The changes were not saved",message:Object.values(n[t]).join("<br>"),rounded:!0,ok:{rounded:!0}})}})}else this.showAuthorSelector=!1},placeCreated:function(){var e;(null===(e=this.places)||void 0===e?void 0:e.length)<2&&(this.showPlaceCreateSuccess=!0)}},mounted:function(){var e=this;this.beforePublishedCheck=this.$inertia.on("before",(function(t){var n,o,r,i,a;if("post"!==(null===(n=t.detail)||void 0===n||null===(o=n.visit)||void 0===o?void 0:o.method)&&(null===(r=t.detail)||void 0===r||null===(i=r.visit)||void 0===i||null===(a=i.url)||void 0===a?void 0:a.href)!==window.location.href&&e.book&&!e.book.published)return confirm("You haven't published your book. Are you sure you want to navigate away?")}))},beforeUnmount:function(){this.beforePublishedCheck()}},Yt=(0,Qe.Z)(Wt,[["render",function(e,t,n,i,a,fe){var he=(0,o.resolveComponent)("inertia-link"),me=(0,o.resolveComponent)("q-icon"),ve=(0,o.resolveComponent)("publish-button"),ge=(0,o.resolveComponent)("book-form"),ye=(0,o.resolveComponent)("s-button"),be=(0,o.resolveComponent)("places-list"),we=(0,o.resolveComponent)("places-map"),Le=(0,o.resolveComponent)("modal"),Ce=(0,o.resolveComponent)("author-selector"),Be=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(Be,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",l,[(0,o.createElementVNode)("div",s,[n.author?((0,o.openBlock)(),(0,o.createBlock)(he,{key:0,href:e.route("authors.show",{author:n.author})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)(" < "+(0,o.toDisplayString)(n.author.author_name),1)]})),_:1},8,["href"])):((0,o.openBlock)(),(0,o.createBlock)(he,{key:1,href:e.route("dashboard")},{default:(0,o.withCtx)((function(){return[u]})),_:1},8,["href"])),n.book?((0,o.openBlock)(),(0,o.createElementBlock)("div",d,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.authors,(function(t,r){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:t.id},[(0,o.createVNode)(he,{href:e.route("authors.show",{author:t})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(t.author_name),1)]})),_:2},1032,["href"]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(r<n.authors.length-1?" | ":""),1)],64)})),128)),(0,o.createElementVNode)("button",{type:"button",onClick:t[0]||(t[0]=function(e){return a.showAuthorSelector=!0})},[(0,o.createVNode)(me,{name:"add_circle"})])])):((0,o.openBlock)(),(0,o.createElementBlock)("h1",c,"Adding a book for "+(0,o.toDisplayString)(n.author?n.author.author_name:n.authors?n.authors.map((function(e){return e.author_name})).join(", "):""),1))]),(0,o.createVNode)(ge,{author:n.author,authors:n.authors,bookCategories:n.bookCategories,book:n.book,onCreated:t[5]||(t[5]=function(e){return a.showCreateSuccess=!0}),ref:"bookForm"},(0,o.createSlots)({_:2},[n.book?{name:"actions",fn:(0,o.withCtx)((function(){var e,r;return[(0,o.createVNode)(ve,{class:(0,o.normalizeClass)(["action__publish",{"btn-success-alt":!n.book.published_at,"btn-primary":!!n.book.published_at}]),modelValue:n.book.published_at,"onUpdate:modelValue":t[1]||(t[1]=function(e){return n.book.published_at=e}),"disable-publish":!(n.book.published||null!==(e=n.book.authors)&&void 0!==e&&e.length),"disable-reason":null!==(r=n.book.authors)&&void 0!==r&&r.length?null:"You must add at least one author to publish this book (click the plus icon at the top right of the page to add an author).","with-delete":!n.book.published,"only-unpublish":n.book.published,onOnChangeAction:t[2]||(t[2]=function(e){return fe.publishAt(n.book.published_at)}),onOnSave:t[3]||(t[3]=function(e){return fe.publishAt(n.book.published_at)}),onOnDelete:t[4]||(t[4]=function(e){var t;return null!==(t=n.book)&&void 0!==t&&t.published?a.confirmingUnpublish=!0:a.confirmingDelete=!0})},null,8,["class","modelValue","disable-publish","disable-reason","with-delete","only-unpublish"])]}))}:void 0]),1032,["author","authors","bookCategories","book"])]),(0,o.createElementVNode)("section",A,[(0,o.createElementVNode)("div",p,[n.book?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,[(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("div",null,[m,(0,o.createElementVNode)("p",v,["map"==a.activeView?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[g],64)):n.places.length?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[y],64)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",b,[(0,o.createVNode)(ye,{type:"button","no-styling":"",class:"squirl-text-orange btn-share",onClick:t[6]||(t[6]=function(e){return a.showShareDialog=!0})},{default:(0,o.withCtx)((function(){return[w]})),_:1}),(0,o.createVNode)(ye,{class:"btn-toggle-view",type:"button","button-style":"primary",onClick:fe.toggleViews},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)("map"==a.activeView?"LIST":"MAP")+" VIEW",1)]})),_:1},8,["onClick"])])]),(0,o.createVNode)(o.Transition,{name:"places-view"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(),(0,o.createBlock)(o.KeepAlive,null,["list"===a.activeView?((0,o.openBlock)(),(0,o.createBlock)(be,{key:0,author:n.author,book:n.book,places:n.places},{emptytext:(0,o.withCtx)((function(){return[L,(0,o.createElementVNode)("a",{onClick:t[7]||(t[7]=function(){return fe.toggleViews&&fe.toggleViews.apply(fe,arguments)}),style:{"text-decoration":"underline",cursor:"pointer"}},"map view"),C]})),_:1},8,["author","book","places"])):((0,o.openBlock)(),(0,o.createBlock)(we,{key:1,author:n.author,book:n.book,places:n.places,onCreated:fe.placeCreated},null,8,["author","book","places","onCreated"]))],1024))]})),_:1})],512)):(0,o.createCommentVNode)("",!0)])]),(0,o.createVNode)(Le,{show:a.showShareDialog,onClose:t[8]||(t[8]=function(e){return a.showShareDialog=!1})},{default:(0,o.withCtx)((function(){var e;return[n.book?((0,o.openBlock)(),(0,o.createElementBlock)("div",B,[n.book.published?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("h2",null,[_,(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(n.book.title),1),k]),null!==(e=n.places)&&void 0!==e&&e.length?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("a",{href:fe.viewMapUrl,target:"_blank"},(0,o.toDisplayString)(fe.viewMapUrl),9,x),(0,o.createElementVNode)("div",S,[(0,o.createVNode)(ye,{type:"button",onClick:fe.copyMapUrl},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(a.shareCtaText),1)]})),_:1},8,["onClick"]),(0,o.createElementVNode)("a",{class:"btn btn-primary",target:"_blank",href:fe.twitterShareLink},T,8,E),(0,o.createElementVNode)("a",{class:"btn btn-primary",target:"_blank",href:fe.facebookShareLink},F,8,N)])],64)):((0,o.openBlock)(),(0,o.createElementBlock)("p",V,"You will need to add some locations before you can share this map."))],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[O,U],64))])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"]),(0,o.createVNode)(Le,{show:a.showCreateSuccess,onClose:t[9]||(t[9]=function(e){return a.showCreateSuccess=!1})},{default:(0,o.withCtx)((function(){var e;return[(0,o.createElementVNode)("div",Q,[q,(0,o.createElementVNode)("p",M,[(0,o.createTextVNode)(" You are ready to add locations for "+(0,o.toDisplayString)((null===(e=n.book)||void 0===e?void 0:e.title)||"this book")+"!",1),I,P]),(0,o.createElementVNode)("div",D,[(0,o.createVNode)(ye,{type:"button",onClick:fe.scrollToLocations},{default:(0,o.withCtx)((function(){return[H]})),_:1},8,["onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(Le,{show:a.showPlaceCreateSuccess,onClose:t[10]||(t[10]=function(e){return a.showPlaceCreateSuccess=!1})},{default:(0,o.withCtx)((function(){var e;return[(0,o.createElementVNode)("div",R,[j,(0,o.createElementVNode)("p",$,[(0,o.createTextVNode)(" Congratulations, you have added the first location for "+(0,o.toDisplayString)((null===(e=n.book)||void 0===e?void 0:e.title)||"this book")+"!",1),z,K]),(0,o.createElementVNode)("div",W,[(0,o.createVNode)(ye,{type:"button",onClick:fe.scrollToLocations},{default:(0,o.withCtx)((function(){return[Y]})),_:1},8,["onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(Le,{show:a.confirmingUnpublish,onClose:t[12]||(t[12]=function(e){return a.confirmingUnpublish=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",G,[Z,J,(0,o.createElementVNode)("div",X,[(0,o.createVNode)(ye,{type:"button",onClick:fe.unpublishBook},{default:(0,o.withCtx)((function(){return[ee]})),_:1},8,["onClick"]),(0,o.createVNode)(ye,{type:"button","button-style":"primary-contrast",onClick:t[11]||(t[11]=function(e){return a.confirmingUnpublish=!1})},{default:(0,o.withCtx)((function(){return[te]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(Le,{show:a.confirmingDelete,onClose:t[14]||(t[14]=function(e){return a.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",ne,[oe,re,(0,o.createElementVNode)("div",ie,[(0,o.createVNode)(ye,{type:"button",onClick:fe.deleteBook},{default:(0,o.withCtx)((function(){return[ae]})),_:1},8,["onClick"]),(0,o.createVNode)(ye,{type:"button","button-style":"primary-inverse",onClick:t[13]||(t[13]=function(e){return a.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[le]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(Le,{show:a.noLocationsAlert,onClose:t[15]||(t[15]=function(e){return a.noLocationsAlert=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",se,[ue,ce,(0,o.createElementVNode)("div",de,[(0,o.createVNode)(ye,{type:"button",onClick:fe.scrollToLocations},{default:(0,o.withCtx)((function(){return[Ae]})),_:1},8,["onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(Ce,{show:a.showAuthorSelector,onlySearch:!0,currentAuthors:n.authors,onClose:t[16]||(t[16]=function(e){return a.showAuthorSelector=!1}),onSelectedAuthors:fe.updateSelectedAuthors,onDone:fe.saveAuthors,onCancel:t[17]||(t[17]=function(e){return a.selectedAuthors=r(n.authors||[])})},{actionText:(0,o.withCtx)((function(){return[pe]})),_:1},8,["show","currentAuthors","onSelectedAuthors","onDone"])]})),_:1})}],["__scopeId","data-v-2bd257b6"]])},5521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>K});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-e39f1658"),e=e(),(0,o.popScopeId)(),e},i={class:"description"},a=["src"],l=(0,o.createTextVNode)("change cover"),s={class:"description__data__wrapper"},u={key:0,class:"description__data__info"},c={key:0,class:"text-success"},d={key:1,class:"text-success"},A={key:2,class:"text-danger"},p={class:"description__data"},f=["readonly"],h=["readonly"],m=["readonly"],v={class:"description__information"},g=r((function(){return(0,o.createElementVNode)("div",{class:"description__information__header"},"Add more info",-1)})),y={class:"description__information__content"},b={class:"description__information__field"},w=(0,o.createTextVNode)(" ISBN "),L={class:"description__information__field"},C=(0,o.createTextVNode)("Genre"),B={class:"description__information__field"},_=(0,o.createTextVNode)("Awards"),k={class:"description__information__field"},x=(0,o.createTextVNode)(" Main publication language "),S=(0,o.createTextVNode)(" Language "),E={class:"description__information__field"},T=(0,o.createTextVNode)(" Publication Date "),N={class:"description__information__field"},F=(0,o.createTextVNode)("Store URLs"),V=r((function(){return(0,o.createElementVNode)("p",null,"Please note that personal affiliate links are not permitted.",-1)})),O=(0,o.createTextVNode)(" Store "),U=(0,o.createTextVNode)(" Save ");var Q=n(9828),q=n(2099),M=n(6076),I=n(7936),P=n(1865),D=n(2029),H=n(9826),R=n(626);function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const z={mixins:[P.Z],emits:["created"],components:{DataProperty:q.Z,SButton:M.Z,STxtButton:I.Z,PublishButton:D.Z,ToastMessage:H.Z},props:{book:{type:Object,required:!1},author:Object,authors:Array,bookCategories:{type:Array,default:[]}},watch:{"form.image":function(e){var t=this;if(this.imagePreview=null,e){if(e instanceof File){var n=new FileReader;return n.onload=function(e){t.imagePreview=e.target.result},n.readAsDataURL(e),void(0,R.Fq)(e).then((function(e){t.form.image=e})).catch((function(e){console.error(e),t.$q.dialog({html:!0,title:"Image Error",message:"".concat(e,"<br>Please use a different image..."),rounded:!0,ok:{rounded:!0}}).onDismiss((function(){t.form.image=void 0}))}))}this.form.image=e}},formDirty:function(e){if(e){for(var t=!1,n=0,o=Object.entries(this.$refs);n<o.length;n++){var r,i=j(o[n],2),a=i[0],l=i[1];if(a.startsWith("dp"))if(null!=l&&null!==(r=l.$data)&&void 0!==r&&r.editing){t=!0;break}}t||this.form.processing||this.invokeSave()}},editingData:function(e){e||this.invokeSave()}},computed:{bookImage:function(){return this.imagePreview?this.imagePreview:this.isURL(this.form.image)?this.form.image:route("api.image-placeholder")}},data:function(){var e,t,n,o,r,i,a,l,s,u,c,d,A,p,f,h,m,v,g,y,b,w,L=!(null===(e=this.book)||void 0===e||!e.id);return{ERRORBAG:"bookInput",editingData:!this.book,debounceTimeout:void 0,bookExists:L,bookIsPrefilled:!(null===(t=this.book)||void 0===t||!t.google_book_id),showManualSave:!L,imageDragging:!1,imagePreview:null!==(n=this.book)&&void 0!==n&&null!==(o=n.image)&&void 0!==o&&o.is_fallback?null:(null===(r=this.book)||void 0===r||null===(i=r.image)||void 0===i?void 0:i.public_path)||null,showToast:!1,toastMessage:"",toastY:null,form:this.$inertia.form({_method:L?"PUT":"POST",title:(null===(a=this.book)||void 0===a?void 0:a.title)||null,subtitle:(null===(l=this.book)||void 0===l?void 0:l.subt
2itle)||null,description:(null===(s=this.book)||void 0===s?void 0:s.description)||null,categories:(null===(u=this.book)||void 0===u||null===(c=u.categories)||void 0===c?void 0:c.map((function(e){return e.id})))||null,awards:(null===(d=this.book)||void 0===d||null===(A=d.awards)||void 0===A?void 0:A.map((function(e){return e.id})))||null,language_id:(null===(p=this.book)||void 0===p?void 0:p.language_id)||40,published_date:this.book&&this.book.published_date?this.book.published_date:null,identifiers:null!==(f=this.book)&&void 0!==f&&null!==(h=f.identifiers)&&void 0!==h&&h.length?Object.fromEntries(this.book.identifiers.map((function(e){return[e.code_type,e.code_value]}))):{ISBN_10:null,ISBN_13:null,ASIN:null},image:null,authors:(null===(m=this.authors)||void 0===m?void 0:m.map((function(e){return e.id})))||null,published_at:null!==(v=this.book)&&void 0!==v&&v.published_at?new Date(this.book.published_at):null,publish_now:!1,store_urls:{amazon:(null===(g=this.book)||void 0===g?void 0:g.amazon_affiliate_link)||null,ibooks:(null===(y=this.book)||void 0===y?void 0:y.app_store_link)||null,bookshop:(null===(b=this.book)||void 0===b?void 0:b.bookshop_link)||null},google_book_id:(null===(w=this.book)||void 0===w?void 0:w.google_book_id)||null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},methods:{publishAt:function(e){e?this.form.published_at=e:(this.form.published_at=new Date,this.form.publish_now=!0),this.postForm()},saveIfNeeded:function(){this.formDirty&&this.invokeSave()},invokeSave:function(){var e=this;this.debounceTimeout&&window.clearTimeout(this.debounceTimeout),this.book&&!this.editingData&&(this.debounceTimeout=window.setTimeout((function(){e.postForm()}),900))},postForm:function(){var e=this;this.form.published_at&&this.form.published_at instanceof Date&&(this.form.published_at=Q.hTZ.formatDate(this.form.published_at,"YYYY-MM-DD",{})),this.form.processing=!0,this.showFeedback("Saving Data...");var t="books.".concat(this.bookExists?"update":"store"),n={book:this.bookExists?this.book:void 0};!this.bookExists&&this.author&&(t="authors.".concat(t),n.author=this.author),t=route(t,n),this.form._method=this.bookExists?"PUT":"POST",this.form.post(t,{preserveScroll:!0,replace:!0,onSuccess:function(){e.bookExists||(e.$emit("created"),e.bookExists=!0),e.restartFormTracking(),e.formDirty=!1,e.showManualSave=!1,e.showFeedback("Changes saved!")},onError:function(){e.showFeedback("Changes were NOT saved!"),e.showManualSave=!0,e.restartFormTrackingWithErrors()},onFinish:function(){e.editingData=!1,e.form.publish_now=!1}})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])},showFeedback:function(e){this.toastMessage=e,this.showToast=!0},showErrors:function(){Object.keys(this.form.errors.bookInput).length&&this.$q.notify({message:Object.entries(this.form.errors.bookInput).map((function(e){var t=j(e,2),n=t[0],o=t[1];return"".concat(n,": ").concat(o)})).join("<br/>\n"),html:!0,color:"negative",icon:"warning",position:"bottom"})},setPropertyError:function(e,t){t?this.setError(e,t):this.deleteError(e)},formatPublishDate:function(e){return Q.hTZ.formatDate(e,"MMM. Do YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}},mounted:function(){var e,t=this;this.removeBeforeListener=this.$inertia.on("before",(function(e){if(t.formDirty&&!t.form.processing&&!t.form.wasSuccessful){var n=confirm("You have unsaved data. Are you sure you want to navigate away?");return n||t.$refs.saveButton.$el.focus(),n}}));var n=Array.isArray(this.authors)&&this.authors.length>0,o=null!=(null===(e=this.author)||void 0===e?void 0:e.id);if(!n&&!o&&!this.bookExists)return this.$inertia.visit(route("home")),void this.$q.notify({message:"please select an author before creating a book",color:"negative",icon:"warning",position:"bottom"});var r=this.$refs.form.getBoundingClientRect();this.toastY=r.top+.5*r.height,this.toastY<160&&(this.toastY=160)},beforeUnmount:function(){this.removeBeforeListener()}};const K=(0,n(3744).Z)(z,[["render",function(e,t,n,r,Q,q){var M,I,P,D,H,R,j=(0,o.resolveComponent)("s-txt-button"),$=(0,o.resolveComponent)("data-property"),z=(0,o.resolveComponent)("s-button"),K=(0,o.resolveComponent)("toast-message");return(0,o.openBlock)(),(0,o.createElementBlock)("form",{class:"container full",onSubmit:t[20]||(t[20]=(0,o.withModifiers)((function(){return q.postForm&&q.postForm.a
2pply(q,arguments)}),["prevent"])),ref:"form"},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",{class:"description__image",onDrop:t[1]||(t[1]=function(){return q.fileDropped&&q.fileDropped.apply(q,arguments)}),onDragover:t[2]||(t[2]=function(){return q.draggingOver&&q.draggingOver.apply(q,arguments)}),onDragleave:t[3]||(t[3]=function(){return q.notDraggingOver&&q.notDraggingOver.apply(q,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image",Q.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:q.bookImage},null,8,a)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[0]||(t[0]=function(){return q.fileSelected&&q.fileSelected.apply(q,arguments)})},null,544),(0,o.createVNode)(j,{"no-styling":"","button-style":"txt-info",class:"description__image__action",onClick:(0,o.withModifiers)(q.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"])],32),(0,o.createElementVNode)("div",s,[n.book?((0,o.openBlock)(),(0,o.createElementBlock)("div",u,[n.book.published?((0,o.openBlock)(),(0,o.createElementBlock)("span",c,"currently published")):n.book.published_at?((0,o.openBlock)(),(0,o.createElementBlock)("span",d," Will be published on "+(0,o.toDisplayString)(q.formatPublishDate(n.book.published_at)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",A,"currently not published")),(0,o.renderSlot)(e.$slots,"actions",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("h1",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[4]||(t[4]=function(e){return Q.form.title=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("title")}]),onFocus:t[5]||(t[5]=function(e){return Q.editingData=!0}),onBlur:t[6]||(t[6]=function(e){return Q.editingData=!1}),readonly:!Q.editingData},null,42,f),[[o.vModelText,Q.form.title]])]),(0,o.createElementVNode)("h2",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Subtitle","onUpdate:modelValue":t[7]||(t[7]=function(e){return Q.form.subtitle=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("subtitle")}]),onFocus:t[8]||(t[8]=function(e){return Q.editingData=!0}),onBlur:t[9]||(t[9]=function(e){return Q.editingData=!1}),readonly:!Q.editingData},null,42,h),[[o.vModelText,Q.form.subtitle]])]),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{type:"text",placeholder:"Description","onUpdate:modelValue":t[10]||(t[10]=function(e){return Q.form.description=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("description")}]),rows:"5",onFocus:t[11]||(t[11]=function(e){return Q.editingData=!0}),onBlur:t[12]||(t[12]=function(e){return Q.editingData=!1}),readonly:!Q.editingData},null,42,m),[[o.vModelText,Q.form.description]])]),(0,o.createElementVNode)("div",v,[g,(0,o.createElementVNode)("div",y,[(0,o.createElementVNode)("div",b,[(0,o.createVNode)($,{ref:"dpIdentifiers",type:"book_identifiers",modelValue:Q.form.identifiers,"onUpdate:modelValue":t[13]||(t[13]=function(e){return Q.form.identifiers=e}),error:e.getError("identifiers"),"emoji-icon":"ð",onOnSave:q.saveIfNeeded},{default:(0,o.withCtx)((function(){return[w]})),_:1},8,["modelValue","error","onOnSave"])]),(0,o.createElementVNode)("div",L,[(0,o.createVNode)($,{placeholder:"Genre",modelValue:Q.form.categories,"onUpdate:modelValue":t[14]||(t[14]=function(e){return Q.form.categories=e}),label:null===(M=n.book)||void 0===M||null===(I=M.categories)||void 0===I?void 0:I.map((function(e){return e.category_name})).join(", "),type:"select-pills","select-options-res":"categories","emoji-icon":"ð§",error:e.getError("categories"),onOnSave:q.saveIfNeeded},{default:(0,o.withCtx)((function(){return[C]})),_:1},8,["modelValue","label","error","onOnSave"])]),(0,o.createElementVNode)("div",B,[(0,o.createVNode)($,{placeholder:"Awards",modelValue:Q.form.awards,"onUpdate:modelValue":t[15]||(t[15]=function(e){return Q.form.awards=e}),label:null===(P=n.book)||void 0===P||null===(D=P.awards)||void 0===D?void 0:D.map((function(e){return e.name})).join(", "),type:"select-pills","select-options-res":"awards",error:e.getError("awards"),"emoji-icon":"ð",onOnSave:q.saveIfNeeded},{default:(0,o.withCtx)((function(){return[_]})),_:1},8,["modelValue","label","error","onOnSave"])]),(0,o.createElementVNode)("div",k,[(0,o.createVNode)($,{placeholder:"Language",modelValue:Q.form.language_id,"onUpdate:modelValue":t[16]||(t[16]=function(e){return Q.form.language_id=e}),label:null===(H=n.book)||void 0===H||null===(R=H.language)||void 0===R?void 0:R.name,type:"select","select-options-res":"language","emoji-icon":"ð",error:e.getError("language_id"),onOnSave:q.saveIfNeeded},{helperText:(0,o.withCtx)((function(){return[x]})),default:(0,o.withCtx)((function(){return[S]})),_:1},8,["modelValue","label","error","onOnSave"])]),(0,o.createElementVNode)("div",E,[(0,o.createVNode)($,{placeholder:"mm-dd-yyyy",modelValue:Q.form.published_date,"onUpdate:modelValue":t[17]||(t[17]=function(e){return Q.form.published_date=e}),type:"date",error:e.getError("published_date"),"emoji-icon":"ð
",onOnSave:q.saveIfNeeded},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["modelValue","error","onOnSave"])]),(0,o.createElementVNode)("div",N,[(0,o.createVNode)($,{ref:"dpStore",modelValue:Q.form.store_urls,"onUpdate:modelValue":[t[18]||(t[18]=function(e){return Q.form.store_urls=e}),q.invokeSave],type:"store-urls",error:e.getError("store_urls"),"emoji-icon":"ð",onOnError:q.setPropertyError},{customTitle:(0,o.withCtx)((function(){return[F]})),helperText:(0,o.withCtx)((function(){return[V]})),default:(0,o.withCtx)((function(){return[O]})),_:1},8,["modelValue","onUpdate:modelValue","error","onOnError"])])]),Q.showManualSave||!Q.bookExists?((0,o.openBlock)(),(0,o.createBlock)(z,{key:0,class:"description__save","button-style":"primary",disabled:!e.formDirty&&!!n.book&&!Q.bookIsPrefilled,title:e.formDirty&&n.book||Q.bookIsPrefilled?"Save Changes":"No Changes - no need to save",ref:"saveButton"},{default:(0,o.withCtx)((function(){return[U]})),_:1},8,["disabled","title"])):(0,o.createCommentVNode)("",!0)])])]),(0,o.createVNode)(K,{active:Q.showToast,"onUpdate:active":t[19]||(t[19]=function(e){return Q.showToast=e}),style:(0,o.normalizeStyle)(Q.toastY?{top:"".concat(Q.toastY,"px")}:{}),onClick:q.showErrors},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(Q.toastMessage),1)]})),_:1},8,["active","style","onClick"])],544)}],["__scopeId","data-v-e39f1658"]])},7561:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-3909b8f4"),e=e(),(0,o.popScopeId)(),e},i={class:"half description"},a=["src"],l=(0,o.createTextVNode)(" change cover "),s={class:"description__data"},u=["readonly"],c=["readonly"],d=["readonly"],A=(0,o.createTextVNode)("done"),p=(0,o.createTextVNode)("edit"),f=r((function(){return(0,o.createElementVNode)("div",{class:"divider"},null,-1)})),h={class:"half information"},m={class:"information__field"},v=r((function(){return(0,o.createElementVNode)("label",{for:"input_categories"},"Genre",-1)})),g={key:0,class:"invalid-feedback"},y={class:"information__field"},b=r((function(){return(0,o.createElementVNode)("label",{for:"input_awards"},"Awards",-1)})),w={key:0,class:"invalid-feedback"},L={class:"information__field"},C=r((function(){return(0,o.createElementVNode)("label",{for:"input_language"},"Language",-1)})),B={key:0,class:"invalid-feedback"},_={class:"information__field"},k=r((function(){return(0,o.createElementVNode)("label",{for:"input_published"},"Publication Date",-1)})),x={key:0,class:"invalid-feedback"},S={class:"information__field"},E=r((function(){return(0,o.createElementVNode)("label",{for:"input_isbn"},"ISBN",-1)})),T={key:0,class:"invalid-feedback"},N=(0,o.createTextVNode)("Save");var F=n(8316),V=n(6076);const O={mixins:[n(1865).Z],components:{Datepicker:F.Z,SButton:V.Z},props:{book:{type:Object,required:!1},author:Object,bookCategories:{type:Array,default:[]}},watch:{"form.image":function(){this.imagePreview=null}},computed:{bookImage:function(){var e=this;return this.imagePreview?this.imagePreview:this.form.image instanceof File?new Promise((function(t,n){var o=new FileReader;o.onload=function(n){e.imagePreview=n.target.result,t(e.imagePreview)},o.readAsDataURL(e.form.image)})):this.isURL(this.form.image)?this.form.image:route("api.image-placeholder")}},data:function(){var e,t,n,o,r,i,a,l,s;return{ERRORBAG:"bookInput",editingData:!this.book,imageDragging:!1,imagePreview:(null===(e=this.book)||void 0===e||null===(t=e.image)||void 0===t?void 0:t.public_path)||null,form:this.$inertia.form({_method:this.book?"PUT":"POST",title:(null===(n=this.book)||void 0===n?void 0:n.title)||null,subtitle:(null===(o=this.book)||void 0===o?void 0:o.subtitle)||null,description:(null===(r=this.book)||void 0===r?void 0:r.description)||null,categories:(null===(i=this.book)||void 0===i?void 0:i.categories.map((function(e){return e.category_name})))||null,awards:(null===(a=this.book)||void 0===a?void 0:a.awards)||null,language:(null===(l=this.book)||void 0===l?void 0:l.language)||null,published_date:this.book&&this.book.published_date?new Date(this.book.published_date):null,isbn:(null===(s=this.book)||void 0===s?void 0:s.isbn)||null,image:null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},methods:{postForm:function(){var e=this;this.form.processing=!0;var t=route("".concat(this.author?"authors.":"","books.").concat(this.book?"update":"store"),{author:this.author,book:this.book});this.form.post(t,{preserveScroll:!0,onSuccess:function(){e.restartFormTracking(),e.formDirty=!1},onError:function(){},onFinish:function(){e.editingData=!1}})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])}},mounted:function(){var e=this;this.removeBeforeListener=this.$inertia.on("before",(function(t){if(e.formDirty&&!e.form.processing&&!e.form.wasSuccessful){var n=confirm("You have unsaved data. Are you sure you want to navigate away?");return n||e.$refs.saveButton.$el.focus(),n}}))},beforeUnmount:function(){this.removeBeforeListener()}};const U=(0,n(3744).Z)(O,[["render",function(e,t,n,r,F,V){var O=(0,o.resolveComponent)("s-button"),U=(0,o.resolveComponent)("datepicker");return(0,o.openBlock)(),(0,o.createElementBlock)("form",{class:"container",onSubmit:t[13]||(t[13]=(0,o.withModifiers)((function(){return V.postForm&&V.postForm.a
2pply(V,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",{class:"description__image",onDrop:t[1]||(t[1]=function(){return V.fileDropped&&V.fileDropped.apply(V,arguments)}),onDragover:t[2]||(t[2]=function(){return V.draggingOver&&V.draggingOver.apply(V,arguments)}),onDragleave:t[3]||(t[3]=function(){return V.notDraggingOver&&V.notDraggingOver.apply(V,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image",F.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:V.bookImage},null,8,a)],2),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[0]||(t[0]=function(){return V.fileSelected&&V.fileSelected.apply(V,arguments)})},null,544),(0,o.createVNode)(O,{"no-styling":"","button-style":"primary",class:"description__image__action",onClick:(0,o.withModifiers)(V.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["onClick"])],32),(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("h1",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[4]||(t[4]=function(e){return F.form.title=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("title")}]),readonly:!F.editingData},null,10,u),[[o.vModelText,F.form.title]])]),(0,o.createElementVNode)("h2",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Subtitle","onUpdate:modelValue":t[5]||(t[5]=function(e){return F.form.subtitle=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("subtitle")}]),readonly:!F.editingData},null,10,c),[[o.vModelText,F.form.subtitle]])]),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{type:"text",placeholder:"Description","onUpdate:modelValue":t[6]||(t[6]=function(e){return F.form.description=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("description")}]),readonly:!F.editingData},null,10,d),[[o.vModelText,F.form.description]]),(0,o.createVNode)(O,{"no-styling":"","button-style":"primary",class:"description__data__action",onClick:t[7]||(t[7]=(0,o.withModifiers)((function(e){return F.editingData=!F.editingData}),["prevent"]))},{default:(0,o.withCtx)((function(){return[F.editingData?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[A],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[p],64))]})),_:1})])]),f,(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("div",m,[v,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("categories")}]),id:"input_categories","onUpdate:modelValue":t[8]||(t[8]=function(e){return F.form.categories=e})},null,2),[[o.vModelText,F.form.categories]]),e.hasError("categories")?((0,o.openBlock)(),(0,o.createElementBlock)("div",g,(0,o.toDisplayString)(e.getError("categories")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",y,[b,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("awards")}]),id:"input_awards","onUpdate:modelValue":t[9]||(t[9]=function(e){return F.form.awards=e})},null,2),[[o.vModelText,F.form.awards]]),e.hasError("awards")?((0,o.openBlock)(),(0,o.createElementBlock)("div",w,(0,o.toDisplayString)(e.getError("awards")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",L,[C,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("language")}]),id:"input_language","onUpdate:modelValue":t[10]||(t[10]=function(e){return F.form.language=e})},null,2),[[o.vModelText,F.form.language]]),e.hasError("language")?((0,o.openBlock)(),(0,o.createElementBlock)("div",B,(0,o.toDisplayString)(e.getError("language")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",_,[k,(0,o.createVNode)(U,{modelValue:F.form.published_date,"onUpdate:modelValue":t[11]||(t[11]=function(e){return F.form.published_date=e}),"starting-view":"year",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("published_date")}]),id:"input_published"},null,8,["modelValue","class"]),e.hasError("published_date")?((0,o.openBlock)(),(0,o.createElementBlock)("div",x,(0,o.toDisplayString)(e.getError("published_date")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",S,[E,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("isbn")}]),id:"input_isbn","onUpdate:modelValue":t[12]||(t[12]=function(e){return F.form.isbn=e})},null,2),[[o.vModelText,F.form.isbn]]),e.hasError("isbn")?((0,o.openBlock)(),(0,o.createElementBlock)("div",T,(0,o.toDisplayString)(e.getError("isbn")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(O,{"button-style":"primary-inverse",disabled:!e.formDirty,title:e.formDirty?"Save Changes":"No Changes - no need to save",ref:"saveButton"},{default:(0,o.withCtx)((function(){return[N]})),_:1},8,["disabled","title"])])],32)}],["__scopeId","data-v-3909b8f4"]])},4401:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>J});var o=n(3868),r={class:"action"},i={class:"children"},a={class:"container full"},l=(0,o.createTextVNode)("No authors matched your search."),s=(0,o.createElementVNode)("h6",{class:"text-gray"},"My Authors",-1),u=(0,o.createTextVNode)("No books matched your search."),c=(0,o.createElementVNode)("h6",{class:"text-gray"},"My Books",-1);var d=n(4390),A=n.n(d),p=n(9925),f=function(e){return(0,o.pushScopeId)("data-v-de2237b2"),e=e(),(0,o.popScopeId)(),e},h={class:"container full"},m={class:"half greeting"},v=f((function(){return(0,o.createElementVNode)("h1",null,"From Alaska to Zanzibar",-1)})),g=f((function(){return(0,o.createElementVNode)("p",null,"Turn your story's real-world settings into engaging points of discovery. Together we are creating the story layer on top of the world!",-1)})),y={class:"actions"},b=(0,o.createStaticVNode)('<a class="btn btn-primary color-gray" href="https://apps.apple.com/us/app/squirl-discover-book-locations/id988939249" target="_blank" data-v-de2237b2>ð± Download App</a><a class="btn btn-primary color-gray" href="https://maps.squirl.co/" target="_blank" data-v-de2237b2>ðºï¸ Squirl Maps</a><br data-v-de2237b2><a class="btn btn-primary color-gray" href="https://www.instagram.com/squirlbooks/" target="_blank" data-v-de2237b2><img class="emoji-icon" src="/images/icon-insta.svg" alt="Instagram Logo" data-v-de2237b2> Instagram </a><a class="btn btn-primary color-gray" href="https://forms.gle/y8j4rmLixpgNeQQD7" target="_blank" data-v-de2237b2>
2ð Survey</a>',5),w=["href"],L=f((function(){return(0,o.createElementVNode)("div",{class:"half introduction"},[(0,o.createElementVNode)("img",{class:"image",alt:"man and woman reading",src:"/images/dashboard_read.png"})],-1)})),C={class:"welcome-modal"},B=f((function(){return(0,o.createElementVNode)("h2",{class:"welcome-modal__title"},"A warm welcome from the Squirl team!",-1)})),_={key:0,class:"welcome-modal__content"},k=[f((function(){return(0,o.createElementVNode)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/01gN-KwMw7g",title:"YouTube video player",frameborder:"0",allowfullscreen:""},null,-1)}))],x={class:"welcome-modal__actions"},S=f((function(){return(0,o.createElementVNode)("a",{class:"btn btn-primary color-gray",href:"https://www.instagram.com/squirlbooks/",target:"_blank"},[(0,o.createElementVNode)("img",{class:"emoji-icon",src:"/images/icon-insta.svg",alt:"Instagram Logo"}),(0,o.createTextVNode)(" Instagram ")],-1)})),E=f((function(){return(0,o.createElementVNode)("a",{class:"btn btn-primary color-gray",href:"https://forms.gle/y8j4rmLixpgNeQQD7",target:"_blank"},"ð Survey",-1)})),T=["href"];var N=n(6076),F=n(8939),V=n(8330);const O={components:{SButton:N.Z,JetApplicationLogo:F.Z,Modal:V.Z},data:function(){return{emailLink:"mailto:?subject=".concat("Have you heard about the Squirl app?","&body=").concat(encodeURIComponent("Squirl lets you discover the real-world settings from books nearby and far away.\nI have just added my bookâs locations for free at https://squirl.co\n\nDownload the app: https://apps.apple.com/us/app/squirl-discover-book-locations/id988939249\n\nCheck it out!")),showWelcomeModal:!("true"===localStorage.getItem("welcome-shown"))}},mounted:function(){localStorage.setItem("welcome-shown","true")}};var U=n(3744);const Q=(0,U.Z)(O,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("div",m,[v,g,(0,o.createElementVNode)("div",y,[(0,o.createElementVNode)("div",{class:"btn btn-primary color-gray",onClick:t[0]||(t[0]=function(e){return i.showWelcomeModal=!0})},"ð Welcome"),b,(0,o.createElementVNode)("a",{class:"btn btn-primary color-gray",href:i.emailLink,target:"_blank"},"ð® Invite",8,w)])]),L]),(0,o.createVNode)(l,{show:i.showWelcomeModal,onClose:t[1]||(t[1]=function(e){return i.showWelcomeModal=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",C,[B,i.showWelcomeModal?((0,o.openBlock)(),(0,o.createElementBlock)("div",_,k)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",x,[S,E,(0,o.createElementVNode)("a",{class:"btn btn-primary color-gray",href:i.emailLink,target:"_blank"},"ð® Invite",8,T)])])]})),_:1},8,["show"])],64)}],["__scopeId","data-v-de2237b2"]]);var q=n(6687),M={class:"authors"},I={key:0,class:"authors__title"},P={class:"authors__list"},D=function(e){return(0,o.pushScopeId)("data-v-a4ce3f9c"),e=e(),(0,o.popScopeId)(),e}((function(){return(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 24 24",fill:"currentColor"},[(0,o.createElementVNode)("path",{d:"M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z","fill-rule":"evenodd","clip-rule":"evenodd"})],-1)})),H={key:1,class:"author__image btn btn-primary"},R={class:"author__title text-gray"},j={key:1,class:"author empty"},$={class:"author__title text-gray"},z=(0,o.createTextVNode)(" STEP 1: Add an author profile by clicking the plus sign on the left. ");const K={props:{authors:Array}},W=(0,U.Z)(K,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("inertia-link");return(0,o.openBlock)(),(0,o.createElementBlock)("div",M,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",I,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",P,[(0,o.createVNode)(l,{class:"btn naked btn-primary author add",href:e.route("authors.create")},{default:(0,o.withCtx)((function(){return[D]})),_:1},8,["href"]),(0,o.createVNode)(o.TransitionGroup,{name:"author-list"},{default:(0,o.withCtx)((function(){return[n.authors.length?((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:0},(0,o.renderList)(n.authors,(function(t){return(0,o.openBlock)(),(0,o.createBlock)(l,{class:"author",key:t.id,href:e.route("authors.show",{author:t})},{default:(0,o.withCtx)((function(){return[t.image?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"author__image btn btn-primary",style:(0,o.normalizeStyle)("background-image: url('".concat(t.image.public_path,"');"))},null,4)):((0,o.openBlock)(),(0,o.createElementBlock)("div",H)),(0,o.createElementVNode)("h5",R,(0,o.toDisplayString)(t.author_name),1)]})),_:2},1032,["href"])})),128)):((0,o.openBlock)(),(0,o.createElementBlock)("div",j,[(0,o.createElementVNode)("h5",$,[e.$slots.emptytext?(0,o.renderSlot)(e.$slots,"emptytext",{key:0},void 0,!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[z],64))])]))]})),_:3})])])}],["__scopeId","data-v-a4ce3f9c"]]);var Y=n(6638),G=n(635);const Z={components:{AppLayout:p.Z,Welcome:Q,Search:q.Z,AuthorsList:W,BooksList:Y.Z,StoriesList:G.Z,Modal:V.Z},props:{authors:Array,books:Array,stories:Array,paginated:{type:Boolean,default:!1}},data:function(){return{filterText:"",debounceFilter:null,fetchedAuthors:null,fetchedBooks:null,fetchedStories:null}},watch:{filterText:function(e){var t=this;this.paginated&&(this.debounceFilter&&clearTimeout(this.debounceFilter),this.debounceFilter=setTimeout((function(){axios.post(route("api.search.dashboard"),{query:e}).then((function(e){t.fetchedAuthors=e.data.authors,t.fetchedBooks=e.data.books,t.fetchedStories=e.data.stories})).catch((function(e){}))}),320))}},computed:{filteredAuthors:function(){var e=this;return this.paginated&&this.fetchedAuthors?this.fetchedAuthors:(this.authors||[]).filter((function(t){var n;return A()(e.filterText,(null==t||null===(n=t.author_name)||void 0===n?void 0:n.toLowerCase())||"")})).sort((function(e,t){return e.author_name.localeCompare(t.author_name)}))},filteredBooks:function(){var e=this;return this.paginated&&this.fetchedBooks?this.fetchedBooks:(this.books||[]).filter((function(t){var n,o;return A()(e.filterText,(null==t||null===(n=t.title)||void 0===n?void 0:n.toLowerCase())||"")||A()(e.filterText,(null==t||null===(o=t.subtitle)||void 0===o?void 0:o.toLowerCase())||"")})).sort((function(e,t){return e.title.localeCompare(t.title)}))},filteredStories:function(){var e=this;return this.paginated&&this.fetchedStories?this.fetchedStories:(this.stories||[]).filter((function(t){var n,o;return A()(e.filterText,(null==t||null===(n=t.title)||void 0===n?void 0:n.toLowerCase())||"")||A()(e.filterText,(null==t||null===(o=t.subtitle)||void 0===o?void 0:o.toLowerCase())||"")})).sort((function(e,t){return e.title.localeCompare(t.title)}))}}},J=(0,U.Z)(Z,[["render",function(e,t,n,d,A,p){var f=(0,o.resolveComponent)("welcome"),h=(0,o.resolveComponent)("search"),m=(0,o.resolveComponent)("authors-list"),v=(0,o.resolveComponent)("books-list"),g=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(g,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",r,[(0,o.createVNode)(f)]),(0,o.createElementVNode)("section",i,[(0,o.createElementVNode)("div",a,[(0,o.createVNode)(m,{authors:p.filteredAuthors},(0,o.createSlots)({title:(0,o.withCtx)((function(){return[s,(0,o.createVNode)(h,{modelValue:A.filterText,"onUpdate:modelValue":t[0]||(t[0]=function(e){return A.filterText=e})},null,8,["modelValue"])]})),_:2},[A.filterText?{name:"emptytext",fn:(0,o.withCtx)((function(){return[l]}))}:void 0]),1032,["authors"]),(0,o.createVNode)(v,{books:p.filteredBooks},(0,o.createSlots)({title:(0,o.withCtx)((function(){return[c]})),_:2},[A.filterText?{name:"emptytext",fn:(0,o.withCtx)((function(){return[u]}))}:void 0]),1032,["books"])])])]})),_:1})}]])},4203:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-6ae5165a"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a=r((function(){return(0,o.createElementVNode)("h1",null,"Notifications",-1)})),l={class:"notifications"},s={class:"notification__wrapper"},u={class:"text-gray-400"},c={key:1,class:"notification"},d=[r((function(){return(0,o.createElementVNode)("div",{class:"notification__wrapper"},"You have no notifications",-1)}))],A={key:0,class:"show-notification table"},p={class:"show-notification__title"},f={key:0,class:"show-notification__image"},h=["src"],m={class:"show-notification__content"},v=["innerHTML"];var g=n(9828),y=n(9925),b=n(5288),w=n(8330);const L={components:{AppLayout:y.Z,Menu:b.Z,Modal:w.Z},props:{notifications:{type:Array,default:[]}},data:function(){return{isAddingNotification:!1,showingNotification:null}},methods:{addNotification:function(){this.isAddingNotification=!0}
2,selectNotification:function(e){this.showingNotification=e},getNotificationContent:function(e){var t,n;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.content)return e.content.content;var o=Object.keys(e.content).filter((function(e){return"actingUser"!==e}));if(1===o.length){var r=o[0],i=e.content[r];return"story"===r?"<em>On story ".concat(null==i||null===(n=i.appUserComments)||void 0===n?void 0:n.join(", ")," - n/a</em>"):"<em>On ".concat(r," - n/a</em>")}return"<em>n/a</em>"},formatDate:function(e){return g.hTZ.formatDate(e,"YYYY-MM-DD HH:mm",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}}};const C=(0,n(3744).Z)(L,[["render",function(e,t,n,r,g,y){var b=(0,o.resolveComponent)("Menu"),w=(0,o.resolveComponent)("modal"),L=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(L,null,{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("section",i,[a,(0,o.createElementVNode)("div",l,[n.notifications.length?((0,o.openBlock)(),(0,o.createBlock)(b,{key:0,items:n.notifications,onSelect:y.selectNotification,class:"notification",displayKey:"action_text"},{value:(0,o.withCtx)((function(e){var t=e.item;return[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("span",u,(0,o.toDisplayString)(y.formatDate(t.created_at||t.created_date)),1),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.action_text),1)])]})),_:1},8,["items","onSelect"])):((0,o.openBlock)(),(0,o.createElementBlock)("div",c,d))])]),(0,o.createVNode)(w,{show:!!g.showingNotification,onClose:t[0]||(t[0]=function(e){return g.showingNotification=null})},{default:(0,o.withCtx)((function(){var e;return[g.showingNotification?((0,o.openBlock)(),(0,o.createElementBlock)("table",A,[(0,o.createElementVNode)("tbody",null,[(0,o.createElementVNode)("tr",p,[(0,o.createElementVNode)("td",null,(0,o.toDisplayString)(g.showingNotification.action_text),1)]),g.showingNotification.image?((0,o.openBlock)(),(0,o.createElementBlock)("tr",f,[(0,o.createElementVNode)("td",null,[(0,o.createElementVNode)("img",{src:null===(e=g.showingNotification.image)||void 0===e?void 0:e.url},null,8,h)])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("tr",m,[(0,o.createElementVNode)("td",{innerHTML:y.getNotificationContent(g.showingNotification)},null,8,v)])])])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"])]})),_:1})}],["__scopeId","data-v-6ae5165a"]])},366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ve});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-dda65a8e"),e=e(),(0,o.popScopeId)(),e},i={class:"place-modal__content"},a={class:"property-field"},l=r((function(){return(0,o.createElementVNode)("label",{for:"input_name"},"Location name",-1)})),s={class:"input-group has-validation"},u={key:0,class:"invalid-feedback"},c={class:"property-field map-field"},d={ref:"locationTitleRef"},A={class:"sq-marker"},p=["src"],f={class:"raw-values"},h=r((function(){return(0,o.createElementVNode)("span",null,"Latitude:",-1)})),m=["readonly"],v=r((function(){return(0,o.createElementVNode)("span",null,"Longitude:",-1)})),g=["readonly"],y={class:"property-field"},b=["for"],w={class:"content-editor"},L=["id"],C={key:0,class:"invalid-feedback"},B={class:""},_=(0,o.createTextVNode)(" Add more "),k={class:"extra-properties"},x=(0,o.createTextVNode)("Image"),S=(0,o.createTextVNode)(" ð StreetView "),E={class:"place-modal__action"},T=(0,o.createTextVNode)("Save"),N={class:"sv-container"},F={id:"sv-save-button",class:"no-init"},V=(0,o.createTextVNode)("Save"),O=[r((function(){return(0,o.createElementVNode)("svg",{height:"56%",style:{"enable-background":"new 0 0 512 512"},version:"1.1",viewBox:"0 0 512 512",width:"56%","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[(0,o.createElementVNode)("path",{d:"M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z",style:{fill:"currentColor"}})],-1)}))],U={class:"sv-info-area"},Q={class:"sv-element",ref:"svContainer"},q={class:"confirm-leave"},M={class:"confirm-leave__title"},I=(0,o.createTextVNode)("Unsaved Changes"),P=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-leave__description"},"Before you leave this view, be sure to save your changes.",-1)})),D={class:"confirm-leave__actions"},H=(0,o.createTextVNode)("Close"),R=(0,o.createTextVNode)("Save"),j={class:"confirm-leave"},$={class:"confirm-leave__title"},z=(0,o.createTextVNode)("No Results"),K=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-leave__description"}," There was no streetview image found on this location. Try to adjust the location or leave the streetview data empty for this location. ",-1)})),W={class:"confirm-leave__actions"},Y=(0,o.createTextVNode)(" Close "),G=(0,o.createTextVNode)(" Adjust Location ");var Z=n(7757),J=n.n(Z),X=n(6095),ee=n(3627),te=n(8330),ne=n(6076),oe=n(1865),re=n(2099),ie=n(4148),ae=n(5055),le=n(9054),se=n(626);function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ce(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function de(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function Ae(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){de(i,o,r,a,l,"next",e)}function l(e){de(i,o,r,a,l,"throw",e)}a(void 0)}))}}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const me={mixins:[oe.Z],components:{GoogleMap:ee.GoogleMap,AdvancedMarker:ee.AdvancedMarker,Modal:te.Z,SButton:ne.Z,DataProperty:re.Z},props:{modelValue:[Object],book:{type:Object,required:!1},marker:{type:Object,required:!1},gmap:{type:Object,required:!1}},emits:["update:modelValue","editMarker","deleteMarker","lockMarker","firstPlaceCreated"],watch:{modelValue:function(){var e=this;this.isStreetViewVisible=!1,this.cleanupStreetView(),this.place=this.modelValue,this.editing=!!this.modelValue,this.form.place_name||this.$nextTick((function(){e.$refs.placeName.focus()}))},place:function(e){var t;this.form.place_name=(null==e?void 0:e.place_name)||null,this.form.description=(null==e?void 0:e.description)||null,this.form.location={lat:null==e?void 0:e.lat,lng:null==e?void 0:e.lng},this.form.image=(null==e?void 0:e.image)||null,this.form.is_image_fallback=(null==e?void 0:e.is_image_fallback)||!1,this.form.characters=(null==e||null===(t=e.characters)||void 0===t?void 0:t.map((function(e){return e.id})))||null,this.form.sv_pano=null!=e&&e.sv_pano?fe({},e.sv_pano):{},this.form.sv_pano_id=null==e?void 0:e.sv_pano_id,null!=e&&e.id&&this.restartFormTracking(),this.initEditor(),this.setMapCenter()},isStreetViewVisible:function(e){e&&this.$refs.locationTitleRef.offsetParent.scrollTo({top:0,left:0,behavior:"auto"})}},data:function(){var e,t,n,o,r,i,a,l,s,u,c,d=localStorage.getItem("sv-info-hidden")||!1;return{ERRORBAG:"placeInput",place:this.modelValue,editing:!!this.modelValue,editingLatLng:!1,alertForSave:!1,mapCenter:{lat:40.689247,lng:-74.044502},alertNoSvFound:!1,isStreetViewVisible:!1,isInfoAreaVisible:!d,svPano:null,svPanoListeners:[],contentEditor:null,form:this.$inertia.form({_method:null!==(e=this.place)&&void 0!==e&&e.id?"PUT":"POST",place_name:(null===(t=this.place)||void 0===t?void 0:t.place_name)||null,description:(null===(n=this.place)||void 0===n?void 0:n.description)||null,location:{lat:null===(o=this.place)||void 0===o?void 0:o.lat,lng:null===(r=this.place)||void 0===r?void 0:r.lng},image:(null===(i=this.place)||void 0===i?void 0:i.image)||null,is_image_fallback:(null===(a=this.place)||void 0===a?void 0:a.is_image_fallback)||!1,characters:(null===(l=this.place)||void 0===l||null===(s=l.characters)||void 0===s?void 0:s.map((function(e){return e.id})))||null,sv_pano:(null===(u=this.place)||void 0===u?void 0:u.sv_pano)||{},sv_pano_id:null===(c=this.place)||void 0===c?void 0:c.sv_pano_id},{bag:this.ERRORBAG,resetOnSuccess:!1}),apiPromise:ae.b3,GOOGLE_MAPS_MAP_ID:ae.rz,mapClickedTimeout:null}},methods:{emitValue:function(){this.$emit("update:modelValue",void 0)},emitAndClose:function(){var e;!(this.formDirty||null!==(e=this.marker)&&void 0!==e&&e.originalPosition)||this.alertForSave?(this.alertForSave=!1,this.emitValue(),this.closeModal()):this.alertForSave=!0},closeModal:function(){var e=this;this.editing=!1,this.isStreetViewVisible=!1,this.$nextTick((function(){setTimeout((function(){e.cleanupStreetView()}),100)})),this.marker&&this.$emit("lockMarker",this.marker)},postForm:function(){var e=this;return Ae(J().mark((function t(){var n,o,r,i,a,l,s;return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.form.processing=!0,e.form.image){t.next=19;break}if(e.setMapCenter(),!(a=null===(i=e.$refs.mapRef)||void 0===i?void 0:i.map)||12===a.zoom){t.next=8;break}return a.setZoom(12),t.next=8,new Promise((function(e){return setTimeout((function(){return e()}),300)}));case 8:return t.prev=8,t.next=11,(0,se.ym)(e.$refs.mapRef.$el.querySelector('div[aria-label="Map"]'),"No Place Image");case 11:e.form.image=t.sent,e.form.is_image_fallback=!0,t.next=19;break;case 15:t.prev=15,t.t0=t.catch(8),console.warn("no default image rendered",t.t0),e.form.is_image_fallback=!1;case 19:l=route("".concat(e.author?"authors.":"").concat(e.book?"books.":"","places.").concat(null!==(n=e.place)&&void 0!==n&&n.id?"update":"store"),{author:e.author,book:e.book,place:null!==(o=e.place)&&void 0!==o&&o.id?e.place:void 0}),e.form._method=null!==(r=e.place)&&void 0!==r&&r.id?"PUT":"POST",e.form.description=e.contentEditor.root.innerHTML,null!=(s=e.form.image)&&s.id&&(e.form.image=void 0),e.form.post(l,{preserveScroll:!0,onSuccess:function(){var t,n,o;e.formDirty=!1,null!==(t=e.marker)&&void 0!==t&&t.originalPosition&&delete e.marker.originalPosition,null!==(n=e.book)&&void 0!==n&&null!==(o=n.places)&&void 0!==o&&o.length||e.$emit("firstPlaceCreated"),e.emitAndClose()},onError:function(){var t=e.getErrors(),n=Object.entries(t).map((function(e){var t=ue(e,2),n=t[0],o=t[1],r=n.replace("place_name","location name").replace("_"," "),i=o.map((function(e){return e.replace("place name","location name")})).join(", ");return"".concat(r,": ").concat(i)}));e.$q.notify({type:"negative",message:"Changes could not be saved <br>Please check your input.<br><br>Inputs to fix:<br>".concat(n.join("<br>")),html:!0,position:"center",multiLine:!0,timeout:8e3,actions:[{label:"Dismiss",color:"white"}]})},onFinish:function(){e.alertForSave=!1,e.form.image=s}});case 25:case"end":return t.stop()}}),t,null,[[8,15]])})))()},markerMoved:function(e){var t,n=e.latLng||(null===(t=e.target)||void 0===t?void 0:t.position),o="function"==typeof n.lat?n.lat():n.lat,r="function"==typeof n.lng?n.lng():n.lng;this.form.location={lat:o,lng:r}},updateLocation:function(){var e;null!==(e=this.$refs.mapRef)&&void 0!==e&&e.map&&this.locationMarker?this.$refs.mapRef.map.panTo(this.locationMarker.position):this.setMapCenter()},getImageIconElement:function(){return"<div style=\"width: 100%;height: 100%;background-image: url('".concat(this.form.image.public_path,"');background-size: cover;\"></div>")},editMarker:function(e){if("delete"===e)return this.alertForSave=!1,void this.$emit("deleteMarker",this.marker);this.marker&&(this.editing=!1,this.marker._place.place_name=this.form.place_name,this.marker._place.description=this.contentEditor.root.innerHTML,this.$emit("editMarker",this.marker))},setMapCenter:function(){this.locationMarker?this.mapCenter=this.locationMarker.position:this.mapCenter={lat:40.689247,lng:-74.044502}},initStreetViewPano:function(){var e=this;return Ae(J().mark((function t(){var n,o,r,i;return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ae.b3;case 3:if(e.$refs.svContainer){t.next=6;break}return console.error("Street View container not found"),t.abrupt("return");case 6:e.svPano=new google.maps.StreetViewPanorama(e.$refs.svContainer,{addressControlOptions:{position:google.maps.ControlPosition.BOTTOM_CENTER},zoomControlOptions:{position:google.maps.ControlPosition.LEFT_BOTTOM},panControl:!1,fullscreenControl:!1,linksControl:!1,visible:!0,enableCloseButton:!1,motionTracking:!1,motionTrackingControl:!1}),(n=document.getElementById("sv-save-button"))&&(n.classList.remove("no-init"),e.svPano.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(n)),e.svPanoListeners=[],o=e.svPano.addListener("pov_changed",(function(){if(e.svPano)try{var t=e.svPano.getPov();t&&(e.form.sv_pano={heading:Number(t.heading)||0,pitch:Number(t.pitch)||0,zoom:void 0!==t.zoom?Number(t.zoom):void 0})}catch(e){}})),e.svPanoListeners.push(o),r=e.svPano.addListener("pano_changed",(function(){if(e.svPano)try{var t=e.svPano.getPano();t&&(e.form.sv_pano_id=t)}catch(e){}})),e.svPanoListeners.push(r),i=e.svPano.addListener("status_changed",(function(){if(e.svPano&&e.isStreetViewVisible)try{"ZERO_RESULTS"===e.svPano.getStatus()&&(e.alertNoSvFound=!0,e.isStreetViewVisible=!1)}catch(e){}})),e.svPanoListeners.push(i),t.next=22;break;case 18:t.prev=18,t.t0=t.catch(0),console.error("Error initializing Street View panorama:",t.t0),e.svPano=null;case 22:case"end":return t.stop()}}
2),t,null,[[0,18]])})))()},cleanupStreetView:function(){if(this.svPano)try{this.svPanoListeners.forEach((function(e){e&&e.remove&&e.remove()})),this.svPanoListeners=[],google.maps.event.clearInstanceListeners(this.svPano),this.svPano.unbindAll(),this.svPano=null}catch(e){console.warn("Error during Street View cleanup (suppressed):",e),this.svPano=null,this.svPanoListeners=[]}},toggleStreetView:function(){var e=this;return Ae(J().mark((function t(){var n,o,r;return J().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isStreetViewVisible=!e.isStreetViewVisible,e.isStreetViewVisible){t.next=4;break}return e.cleanupStreetView(),t.abrupt("return");case 4:if(null!==(n=e.form.location)&&void 0!==n&&n.lat&&null!==(o=e.form.location)&&void 0!==o&&o.lng){t.next=8;break}return console.warn("No valid location found"),e.isStreetViewVisible=!1,t.abrupt("return");case 8:return t.prev=8,t.next=11,ae.b3;case 11:r=new google.maps.LatLng({lat:Number(e.form.location.lat),lng:Number(e.form.location.lng)}),(new google.maps.StreetViewService).getPanorama({location:r,radius:50},(function(t,n){n===google.maps.StreetViewStatus.OK?e.initAndShowStreetView(r,t):(e.alertNoSvFound=!0,e.isStreetViewVisible=!1)})),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(8),console.error("Error initializing Street View:",t.t0),e.isStreetViewVisible=!1;case 20:case"end":return t.stop()}}),t,null,[[8,16]])})))()},initAndShowStreetView:function(e,t){var n=this;return Ae(J().mark((function o(){var r,i,a,l;return J().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,n.$nextTick();case 2:return o.next=4,new Promise((function(e){return setTimeout(e,150)}));case 4:if(!n.svPano){o.next=8;break}return n.cleanupStreetView(),o.next=8,new Promise((function(e){return setTimeout(e,100)}));case 8:return o.next=10,n.initStreetViewPano();case 10:if(n.svPano){o.next=14;break}return console.warn("Street View panorama not initialized"),n.isStreetViewVisible=!1,o.abrupt("return");case 14:return o.prev=14,r=null,n.form.sv_pano&&0!==Object.keys(n.form.sv_pano).length||null!==(i=n.place)&&void 0!==i&&i.sv_pano&&(n.form.sv_pano=fe({},n.place.sv_pano)),n.form.sv_pano&&Object.keys(n.form.sv_pano).length>0&&(r=fe({},n.form.sv_pano)),a=new Promise((function(e){var t=n.svPano.addListener("pano_changed",(function(){t.remove(),e()}))})),t&&t.location&&t.location.pano?(n.svPano.setPano(t.location.pano),n.form.sv_pano_id=t.location.pano):n.svPano.setPosition(e),o.next=22,a;case 22:if(!r){o.next=28;break}return o.next=25,new Promise((function(e){return setTimeout(e,100)}));case 25:l={heading:Number(r.heading)||0,pitch:Number(r.pitch)||0},void 0!==r.zoom&&(l.zoom=Number(r.zoom)),n.svPano.setPov(l);case 28:google.maps.event.trigger(n.svPano,"resize"),o.next=36;break;case 31:o.prev=31,o.t0=o.catch(14),console.error("Error showing Street View:",o.t0),n.isStreetViewVisible=!1,n.cleanupStreetView();case 36:case"end":return o.stop()}}),o,null,[[14,31]])})))()},toggleInfoArea:function(){this.isInfoAreaVisible=!this.isInfoAreaVisible,this.isInfoAreaVisible||localStorage.setItem("sv-info-hidden",!0)},initEditor:function(){for(var e=document.getElementsByClassName("ql-toolbar");e[0];)e[0].parentNode.removeChild(e[0]);this.contentEditor=new X("#input_excerpt_".concat(this.$.uid),{placeholder:"",theme:"snow",readOnly:!1,modules:{toolbar:le.C}}),this.contentEditor.root.innerHTML=this.form.description}},computed:{locationMarker:function(){var e,t;return null!==(e=this.form.location)&&void 0!==e&&e.lat&&null!==(t=this.form.location)&&void 0!==t&&t.lng?{position:{lat:Number(this.form.location.lat),lng:Number(this.form.location.lng)},draggable:!0,iconUrl:ie.Fd.url}:null}},mounted:function(){var e=window.onerror;window.onerror=function(t,n,o,r,i){return n&&n.includes("imagery_viewer.js")?(console.warn("Suppressed Google Maps imagery viewer error:",t),!0):!!e&&e(t,n,o,r,i)}},beforeUnmount:function(){this.cleanupStreetView()}};const ve=(0,n(3744).Z)(me,[["render",function(e,t,n,r,Z,J){var X=(0,o.resolveComponent)("AdvancedMarker"),ee=(0,o.resolveComponent)("GoogleMap"),te=(0,o.resolveComponent)("data-property"),ne=(0,o.resolveComponent)("s-button"),oe=(0,o.resolveComponent)("q-icon"),re=(0,o.resolveComponent)("q-spinner"),ie=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)(ie,{show:Z.editing,onClose:J.emitAndClose,class:"place-modal modal-light modal-big"},{default:(0,o.withCtx)((function(){var n,r;return[(0,o.createElementVNode)("form",{onSubmit:t[11]||(t[11]=(0,o.withModifiers)((function(){return J.postForm&&J.postForm.a
2pply(J,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",a,[l,(0,o.createElementVNode)("h5",s,[(0,o.withDirectives)((0,o.createElementVNode)("input",{ref:"placeName",type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("place_name")}]),placeholder:"Add the real or fictional name for this location.",id:"input_name","onUpdate:modelValue":t[0]||(t[0]=function(e){return Z.form.place_name=e})},null,2),[[o.vModelText,Z.form.place_name]]),e.hasError("place_name")?((0,o.openBlock)(),(0,o.createElementBlock)("div",u,(0,o.toDisplayString)(e.getError("place_name").replace("place name","location name")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("label",d,"Location",512),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["place-map",{"is-invalid":e.hasError("location")}])},[(0,o.createVNode)(ee,{ref:"mapRef","api-promise":Z.apiPromise,"map-id":Z.GOOGLE_MAPS_MAP_ID,center:Z.mapCenter,zoom:12,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0},{default:(0,o.withCtx)((function(){return[J.locationMarker?((0,o.openBlock)(),(0,o.createBlock)(X,{key:0,options:{position:J.locationMarker.position,gmpDraggable:J.locationMarker.draggable},onDragend:J.markerMoved},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("img",{src:J.locationMarker.iconUrl,draggable:"false"},null,8,p)])]})),_:1},8,["options","onDragend"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center"])],2),(0,o.createElementVNode)("div",f,[h,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=function(e){return Z.form.location.lat=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("lat")}]),onFocus:t[2]||(t[2]=function(e){return Z.editingLatLng=!0}),onBlur:t[3]||(t[3]=function(e){return Z.editingLatLng=!1}),onInput:t[4]||(t[4]=function(){return J.updateLocation&&J.updateLocation.apply(J,arguments)}),readonly:!Z.editingLatLng},null,42,m),[[o.vModelText,Z.form.location.lat]]),v,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=function(e){return Z.form.location.lng=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("lng")}]),onFocus:t[6]||(t[6]=function(e){return Z.editingLatLng=!0}),onBlur:t[7]||(t[7]=function(e){return Z.editingLatLng=!1}),onInput:t[8]||(t[8]=function(){return J.updateLocation&&J.updateLocation.apply(J,arguments)}),readonly:!Z.editingLatLng},null,42,g),[[o.vModelText,Z.form.location.lng]])])]),(0,o.createElementVNode)("div",y,[(0,o.createElementVNode)("label",{for:"input_excerpt_".concat(e.$.uid)},"Excerpt",8,b),(0,o.createElementVNode)("div",w,[(0,o.createElementVNode)("div",{id:"input_excerpt_".concat(e.$.uid),class:(0,o.normalizeClass)({"is-invalid":e.hasError("description")})},null,10,L)]),e.hasError("description")?((0,o.openBlock)(),(0,o.createElementBlock)("div",C,(0,o.toDisplayString)(e.getError("description").replace("description","excerpt")),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",B,[_,(0,o.createElementVNode)("div",k,[(0,o.createVNode)(te,{type:"image",placeholder:"Image",modelValue:Z.form.image,"onUpdate:modelValue":t[9]||(t[9]=function(e){return Z.form.image=e}),error:e.getError("image"),icon:"ð¸"},{default:(0,o.withCtx)((function(){return[x]})),_:1},8,["modelValue","error"]),(0,o.createVNode)(ne,{onClick:(0,o.withModifiers)(J.toggleStreetView,["prevent"]),"button-style":"primary ".concat(null!==(n=Z.place)&&void 0!==n&&n.sv_pano?"":"btn-primary-washed")},{default:(0,o.withCtx)((function(){return[S]})),_:1},8,["onClick","button-style"])])])]),(0,o.createElementVNode)("div",E,[null!==(r=Z.place)&&void 0!==r&&r.id?((0,o.openBlock)(),(0,o.createBlock)(ne,{key:0,class:"place-modal__action__delete-btn","button-style":"danger btn-sm",type:"button",onClick:t[10
2]||(t[10]=(0,o.withModifiers)((function(e){return J.editMarker("delete")}),["prevent"]))},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(oe,{name:"delete",size:"1.4rem"})]})),_:1})):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(ne,{class:"place-modal__action__save-btn","button-style":"success-alt",type:"submit"},{default:(0,o.withCtx)((function(){return[Z.form.processing?((0,o.openBlock)(),(0,o.createBlock)(re,{key:0,size:"1em"})):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[T],64))]})),_:1})])],32),(0,o.withDirectives)((0,o.createElementVNode)("div",N,[(0,o.createElementVNode)("div",F,[(0,o.createVNode)(ne,{"button-style":"primary",type:"button",class:(0,o.normalizeClass)({"has-action":e.formDirty}),onClick:J.toggleStreetView},{default:(0,o.withCtx)((function(){return[V]})),_:1},8,["class","onClick"])]),(0,o.createElementVNode)("button",{class:"sv-info-button",onClick:t[12]||(t[12]=function(){return J.toggleInfoArea&&J.toggleInfoArea.apply(J,arguments)})},[(0,o.createVNode)(oe,{name:"info"})]),(0,o.createElementVNode)("button",{class:"sv-close-button",onClick:t[13]||(t[13]=function(){return J.toggleStreetView&&J.toggleStreetView.apply(J,arguments)})},O),(0,o.withDirectives)((0,o.createElementVNode)("div",U," Move this panoramic street view around until the point of interest is completely visible and centered in the image. ",512),[[o.vShow,Z.isInfoAreaVisible]]),(0,o.createElementVNode)("div",Q,null,512)],512),[[o.vShow,Z.isStreetViewVisible]])]})),_:1},8,["show","onClose"]),(0,o.createVNode)(ie,{show:Z.alertForSave,onClose:t[15]||(t[15]=function(e){return Z.alertForSave=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",q,[(0,o.createElementVNode)("h2",M,[(0,o.createVNode)(oe,{name:"error_outline",left:""}),I]),P,(0,o.createElementVNode)("div",D,[(0,o.createVNode)(ne,{"button-style":"primary-inverse",type:"button",onClick:t[14]||(t[14]=function(e){var t;return null!==(t=Z.place)&&void 0!==t&&t.id?J.emitAndClose():J.editMarker("delete")})},{default:(0,o.withCtx)((function(){return[H]})),_:1}),(0,o.createVNode)(ne,{"button-style":"primary",type:"button",class:(0,o.normalizeClass)({"has-action":e.formDirty}),onClick:J.postForm},{default:(0,o.withCtx)((function(){return[R]})),_:1},8,["class","onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(ie,{show:Z.alertNoSvFound,onClose:t[18]||(t[18]=function(e){Z.alertNoSvFound=!1,J.toggleStreetView()})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",j,[(0,o.createElementVNode)("h2",$,[(0,o.createVNode)(oe,{name:"error_outline",left:""}),z]),K,(0,o.createElementVNode)("div",W,[(0,o.createVNode)(ne,{"button-style":"primary-inverse",type:"button",onClick:t[16]||(t[16]=function(e){Z.alertNoSvFound=!1,J.toggleStreetView()})},{default:(0,o.withCtx)((function(){return[Y]})),_:1}),(0,o.createVNode)(ne,{"button-style":"primary",type:"button",onClick:t[17]||(t[17]=function(e){Z.alertNoSvFound=!1,J.editMarker()})},{default:(0,o.withCtx)((function(){return[G]})),_:1})])])]})),_:1},8,["show"])],64)}],["__scopeId","data-v-dda65a8e"]])},7720:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var o=n(3868),r=(0,o.createTextVNode)(" Delete Account "),i=(0,o.createTextVNode)(" Permanently delete your account. "),a=(0,o.createElementVNode)("div",{class:"max-w-xl text-sm text-gray-600"},"By deleting your account, you are also deleting its related content (e.g.: authors, books, locations and stories).",-1),l={class:"mt-5"},s=(0,o.createTextVNode)(" Delete Account "),u=(0,o.createTextVNode)(" Delete Account "),c=(0,o.createTextVNode)(" By deleting your account, you are also deleting its related content (e.g.: authors, books, locations and stories)."),d=(0,o.createElementVNode)("br",null,null,-1),A=(0,o.createTextVNode)(" Please enter your password to confirm you would like to permanently delete your account. "),p={class:"mt-4"},f={class:"mt-2 ml-2"},h={class:"flex items-center"},m=(0,o.createElementVNode)("div",{class:"ml-2"},"Also remove my data",-1),v=(0,o.createTextVNode)(" Cancel "),g=(0,o.createTextVNode)(" Delete Account ");var y=n(9454),b=n(381),w=n(6064),L=n(24),C=n(7110),B=n(271),_=n(6076);const k={components:{JetActionSection:y.Z,JetDialogModal:b.Z,JetInput:w.Z,JetInputError:L.Z,JetCheckbox:C.Z,JetLabel:B.Z,SButton:_.Z},data:function(){return{confirmingUserDeletion:!1,form:this.$inertia.form({password:"",remove_data:!1})}},methods:{confirmUserDeletion:function(){var e=this;this.confirmingUserDeletion=!0,setTimeout((function(){return e.$refs.password.focus()}),250)},deleteUser:function(){var e=this;this.form.delete(route("current-user.destroy"),{preserveScroll:!0,onSuccess:function(){return e.closeModal()},onError:function(){return e.$refs.password.focus()},onFinish:function(){return e.form.reset()}})},closeModal:function(){this.confirmingUserDeletion=!1,this.form.reset()}}};const x=(0,n(3744).Z)(k,[["render",function(e,t,n,y,b,w){var L=(0,o.resolveComponent)("s-button"),C=(0,o.resolveComponent)("jet-input"),B=(0,o.resolveComponent)("jet-input-error"),_=(0,o.resolveComponent)("jet-checkbox"),k=(0,o.resolveComponent)("jet-label"),x=(0,o.resolveComponent)("jet-dialog-modal"),S=(0,o.resolveComponent)("jet-action-section");return(0,o.openBlock)(),(0,o.createBlock)(S,null,{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),content:(0,o.withCtx)((function(){return[a,(0,o.createElementVNode)("div",l,[(0,o.createVNode)(L,{type:"button","button-style":"danger",onClick:w.confirmUserDeletion},{default:(0,o.withCtx)((function(){return[s]})),_:1},8,["onClick"])]),(0,o.createVNode)(x,{show:b.confirmingUserDeletion,onClose:w.closeModal},{title:(0,o.withCtx)((function(){return[u]})),content:(0,o.withCtx)((function(){return[c,d,A,(0,o.createElementVNode)("div",p,[(0,o.createVNode)(C,{type:"password",class:"mt-1 block w-3/4",placeholder:"Password",ref:"password",modelValue:b.form.password,"onUpdate:modelValue":t[0]||(t[0]=function(e){return b.form.password=e}),onKeyup:(0,o.withKeys)(w.deleteUser,["enter"])},null,8,["modelValue","onKeyup"]),(0,o.createVNode)(B,{message:b.form.errors.password,class:"mt-2"},null,8,["message"])]),(0,o.createElementVNode)("div",f,[(0,o.createVNode)(k,{for:"removeData",class:"text-white"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",h,[(0,o.createVNode)(_,{name:"removeData",id:"removeData",checked:b.form.remove_data,"onUpdate:checked":t[1]||(t[1]=function(e){return b.form.remove_data=e})},null,8,["checked"]),m])]})),_:1}),(0,o.createVNode)(B,{message:b.form.errors.remove_data,class:"mt-2"},null,8,["message"])])]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(L,{type:"button","button-style":"primary-contrast",onClick:w.closeModal},{default:(0,o.withCtx)((function(){return[v]})),_:1},8,["onClick"]),(0,o.createVNode)(L,{type:"button","button-style":"danger",onClick:w.deleteUser,class:(0,o.normalizeClass)(["ml-2",{"opacity-25":b.form.processing}]),disabled:b.form.processing},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["onClick","class","disabled"])]})),_:1},8,["show","onClose"])]})),_:1})}]])},5017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var o=n(3868),r=(0,o.createTextVNode)(" Browser Sessions "),i=(0,o.createTextVNode)(" Manage and log out your active sessions on other browsers and devices. "),a=(0,o.createElementVNode)("div",{class:"max-w-xl text-sm text-gray-600"}," If necessary, you may log out of all of your other browser sessions across all of your devices. Some of your recent sessions are listed below; however, this list may not be exhaustive. If you feel your account has been compromised, you should also update your password. ",-1),l={key:0,class:"mt-5 space-y-6"},s={key:0,fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor",class:"w-8 h-8 text-gray-500"},u=[(0,o.createElementVNode)("path",{d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"},null,-1)],c={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round",class:"w-8 h-8 text-gray-500"},d=[(0,o.createElementVNode)("path",{d:"M0 0h24v24H0z",stroke:"none"},null,-1),(0,o.createElementVNode)("rect",{x:"7",y:"4",width:"10",height:"16",rx:"1"},null,-1),(0,o.createElementVNode)("path",{d:"M11 5h2M12 17v.01"},null,-1)],A={class:"ml-3"},p={class:"text-sm text-gray-600"},f={class:"text-xs text-gray-500"},h={key:0,class:"text-green-500 font-semibold"},m={key:1},v={class:"flex items-center mt-5"},g=(0,o.createTextVNode)(" Log Out Other Browser Sessions "),y=(0,o.createTextVNode)(" Done. "),b=(0,o.createTextVNode)(" Log Out Other Browser Sessions "),w=(0,o.createTextVNode)(" Please enter your password to confirm you would like to log out of your other browser sessions across all of your devices. "),L={class:"mt-4"},C=(0,o.createTextVNode)(" Cancel "),B=(0,o.createTextVNode)(" Log Out Other Browser Sessions ");var _=n(2374),k=n(9454),x=n(6076),S=n(381),E=n(6064),T=n(24),N=n(3462);const F={props:["sessions"],components:{JetActionMessage:_.Z,JetActionSection:k.Z,JetButton:x.Z,JetDialogModal:S.Z,JetInput:E.Z,JetInputError:T.Z,JetSecondaryButton:N.Z},data:function(){return{confirmingLogout:!1,form:this.$inertia.form({password:""})}},methods:{confirmLogout:function(){var e=this;this.confirmingLogout=!0,setTimeout((function(){return e.$refs.password.focus()}),250)},logoutOtherBrowserSessions:function(){var e=this;this.form.delete(route("other-browser-sessions.destroy"),{preserveScroll:!0,onSuccess:function(){return e.closeModal()},onError:function(){return e.$refs.password.focus()},onFinish:function(){return e.form.reset()}})},closeModal:function(){this.confirmingLogout=!1,this.form.reset()}}};const V=(0,n(3744).Z)(F,[["render",function(e,t,n,_,k,x){var S=(0,o.resolveComponent)("jet-button"),E=(0,o.resolveComponent)("jet-action-message"),T=(0,o.resolveComponent)("jet-input"),N=(0,o.resolveComponent)("jet-input-error"),F=(0,o.resolveComponent)("jet-secondary-button"),V=(0,o.resolveComponent)("jet-dialog-modal"),O=(0,o.resolveComponent)("jet-action-section");return(0,o.openBlock)(),(0,o.createBlock)(O,null,{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),content:(0,o.withCtx)((function(){return[a,n.sessions.length>0?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.sessions,(function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"flex items-center",key:t},[(0,o.createElementVNode)("div",null,[e.agent.is_desktop?((0,o.openBlock)(),(0,o.createElementBlock)("svg",s,u)):((0,o.openBlock)(),(0,o.createElementBlock)("svg",c,d))]),(0,o.createElementVNode)("div",A,[(0,o.createElementVNode)("div",p,(0,o.toDisplayString)(e.agent.platform)+" - "+(0,o.toDisplayString)(e.agent.browser),1),(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",f,[(0,o.createTextVNode)((0,o.toDisplayString)(e.ip_address)+", ",1),e.is_current_device?((0,o.openBlock)(),(0,o.createElementBlock)("span",h,"This device")):((0,o.openBlock)(),(0,o.createElementBlock)("span",m,"Last active "+(0,o.toDisplayString)(e.last_active),1))])])])])})),128))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",v,[(0,o.createVNode)(S,{onClick:x.confirmLogout},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["onClick"]),(0,o.createVNode)(E,{on:k.form.recentlySuccessful,class:"ml-3"},{default:(0,o.withCtx)((function(){return[y]})),_:1},8,["on"])]),(0,o.createVNode)(V,{show:k.confirmingLogout,onClose:x.closeModal},{title:(0,o.withCtx)((function(){return[b]})),content:(0,o.withCtx)((function(){return[w,(0,o.createElementVNode)("div",L,[(0,o.createVNode)(T,{type:"password",class:"mt-1 block w-3/4",placeholder:"Password",ref:"password",modelValue:k.form.password,"onUpdate:modelValue":t[0]||(t[0]=function(e){return k.form.password=e}),onKeyup:(0,o.withKeys)(x.logoutOtherBrowserSessions,["enter"])},null,8,["modelValue","onKeyup"]),(0,o.createVNode)(N,{message:k.form.errors.password,class:"mt-2"},null,8,["message"])])]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(F,{onClick:x.closeModal},{default:(0,o.withCtx)((function(){return[C]})),_:1},8,["onClick"]),(0,o.createVNode)(S,{class:(0,o.normalizeClass)(["ml-2",{"opacity-25":k.form.processing}]),onClick:x.logoutOtherBrowserSessions,disabled:k.form.processing},{default:(0,o.withCtx)((function(){return[B]})),_:1},8,["onClick","class","disabled"])]})),_:1},8,["show","onClose"])]})),_:1})}]])}
2,4254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var o=n(3868),r=(0,o.createElementVNode)("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"},"Profile",-1),i={class:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"},a={key:0},l={key:1},s={key:2};var u=n(9925),c=n(7720),d=n(8263),A=n(5017),p=n(8407),f=n(2679),h=n(8311);const m={props:["sessions"],components:{AppLayout:u.Z,DeleteUserForm:c.default,JetSectionBorder:d.Z,LogoutOtherBrowserSessionsForm:A.default,TwoFactorAuthenticationForm:p.default,UpdatePasswordForm:f.default,UpdateProfileInformationForm:h.default}};const v=(0,n(3744).Z)(m,[["render",function(e,t,n,u,c,d){var A=(0,o.resolveComponent)("update-profile-information-form"),p=(0,o.resolveComponent)("jet-section-border"),f=(0,o.resolveComponent)("update-password-form"),h=(0,o.resolveComponent)("two-factor-authentication-form"),m=(0,o.resolveComponent)("logout-other-browser-sessions-form"),v=(0,o.resolveComponent)("delete-user-form"),g=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(g,null,{header:(0,o.withCtx)((function(){return[r]})),default:(0,o.withCtx)((function(){var t,r,u,c,d,g,y,b,w,L,C,B,_,k,x;return[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",i,[null!==(t=e.$page)&&void 0!==t&&null!==(r=t.props)&&void 0!==r&&null!==(u=r.jetstream)&&void 0!==u&&u.canUpdateProfileInformation?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.createVNode)(A,{user:e.$page.props.user},null,8,["user"]),(0,o.createVNode)(p)])):(0,o.createCommentVNode)("",!0),null!==(c=e.$page)&&void 0!==c&&null!==(d=c.props)&&void 0!==d&&null!==(g=d.jetstream)&&void 0!==g&&g.canUpdatePassword?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createVNode)(f,{class:"mt-10 sm:mt-0"}),(0,o.createVNode)(p)])):(0,o.createCommentVNode)("",!0),null!==(y=e.$page)&&void 0!==y&&null!==(b=y.props)&&void 0!==b&&null!==(w=b.jetstream)&&void 0!==w&&w.canManageTwoFactorAuthentication?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.createVNode)(h,{class:"mt-10 sm:mt-0"}),(0,o.createVNode)(p)])):(0,o.createCommentVNode)("",!0),null!==(L=e.$page)&&void 0!==L&&null!==(C=L.props)&&void 0!==C&&null!==(B=C.jetstream)&&void 0!==B&&B.canManageOtherBrowserSessions?((0,o.openBlock)(),(0,o.createBlock)(m,{key:3,sessions:n.sessions,class:"mt-10 sm:mt-0"},null,8,["sessions"])):(0,o.createCommentVNode)("",!0),null!==(_=e.$page)&&void 0!==_&&null!==(k=_.props)&&void 0!==k&&null!==(x=k.jetstream)&&void 0!==x&&x.hasAccountDeletionFeatures?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:4},[(0,o.createVNode)(p),(0,o.createVNode)(v,{class:"mt-10 sm:mt-0"})],64)):(0,o.createCommentVNode)("",!0)])])]})),_:1})}]])},8407:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Q});var o=n(3868),r=(0,o.createTextVNode)(" Two Factor Authentication "),i=(0,o.createTextVNode)(" Add additional security to your account using two factor authentication. "),a={key:0,class:"text-lg font-medium text-gray-900"},l={key:1,class:"text-lg font-medium text-gray-900"},s=(0,o.createElementVNode)("div",{class:"mt-3 max-w-xl text-sm text-gray-600"},[(0,o.createElementVNode)("p",null," When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone's Google Authenticator application. ")],-1),u={key:2},c={key:0},d=(0,o.createElementVNode)("div",{class:"mt-4 max-w-xl text-sm text-gray-600"},[(0,o.createElementVNode)("p",{class:"font-semibold"}," Two factor authentication is now enabled. Scan the following QR code using your phone's authenticator application. ")],-1),A=["innerHTML"],p={key:1},f=(0,o.createElementVNode)("div",{class:"mt-4 max-w-xl text-sm text-gray-600"},[(0,o.createElementVNode)("p",{class:"font-semibold"}," Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost. ")],-1),h={class:"grid gap-1 max-w-xl mt-4 px-4 py-4 font-mono text-sm bg-gray-100 rounded-lg"},m={class:"mt-5"},v={key:0},g=(0,o.createTextVNode)(" Enable "),y={key:1},b=(0,o.createTextVNode)(" Regenerate Recovery Codes "),w=(0,o.createTextVNode)(" Show Recovery Codes "),L=(0,o.createTextVNode)(" Disable ");var C=n(9454),B=n(6076),_={class:"mt-4"},k=(0,o.createTextVNode)(" Cancel ");var x=n(381),S=n(6064),E=n(24),T=n(3462);const N={emits:["confirmed"],props:{title:{default:"Confirm Password"},content:{default:"For your security, please confirm your password to continue."},button:{default:"Confirm"}},components:{JetButton:B.Z,JetDialogModal:x.Z,JetInput:S.Z,JetInputError:E.Z,JetSecondaryButton:T.Z},data:function(){return{confirmingPassword:!1,form:{password:"",error:""}}},methods:{startConfirmingPassword:function(){var e=this;axios.get(route("password.confirmation")).then((function(t){t.data.confirmed?e.$emit("confirmed"):(e.confirmingPassword=!0,setTimeout((function(){return e.$refs.password.focus()}),250))}))},confirmPassword:function(){var e=this;this.form.processing=!0,axios.post(route("password.confirm"),{password:this.form.password}).then((function(){e.form.processing=!1,e.closeModal(),e.$nextTick((function(){return e.$emit("confirmed")}))})).catch((function(t){e.form.processing=!1,e.form.error=t.response.data.errors.password[0],e.$refs.password.focus()}))},closeModal:function(){this.confirmingPassword=!1,this.form.password="",this.form.error=""}}};var F=n(3744);const V=(0,F.Z)(N,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("jet-input"),s=(0,o.resolveComponent)("jet-input-error"),u=(0,o.resolveComponent)("jet-secondary-button"),c=(0,o.resolveComponent)("jet-button"),d=(0,o.resolveComponent)("jet-dialog-modal");return(0,o.openBlock)(),(0,o.createElementBlock)("span",null,[(0,o.createElementVNode)("span",{onClick:t[0]||(t[0]=function(){return a.startConfirmingPassword&&a.startConfirmingPassword.apply(a,arguments)})},[(0,o.renderSlot)(e.$slots,"default")]),(0,o.createVNode)(d,{show:i.confirmingPassword,onClose:a.closeModal},{title:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(n.title),1)]})),content:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(n.content)+" ",1),(0,o.createElementVNode)("div",_,[(0,o.createVNode)(l,{type:"password",class:"mt-1 block w-3/4",placeholder:"Password",ref:"password",modelValue:i.form.password,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.form.password=e}),onKeyup:(0,o.withKeys)(a.confirmPassword,["enter"])},null,8,["modelValue","onKeyup"]),(0,o.createVNode)(s,{message:i.form.error,class:"mt-2"},null,8,["message"])])]})),footer:(0,o.withCtx)((function(){return[(0,o.createVNode)(u,{onClick:a.closeModal},{default:(0,o.withCtx)((function(){return[k]})),_:1},8,["onClick"]),(0,o.createVNode)(c,{class:(0,o.normalizeClass)(["ml-2",{"opacity-25":i.form.processing}]),onClick:a.confirmPassword,disabled:i.form.processing},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(n.button),1)]})),_:1},8,["onClick","class","disabled"])]})),_:1},8,["show","onClose"])])}]]);var O=n(8117);const U={components:{JetActionSection:C.Z,JetButton:B.Z,JetConfirmsPassword:V,JetDangerButton:O.Z,JetSecondaryButton:T.Z},data:function(){return{enabling:!1,disabling:!1,qrCode:null,recoveryCodes:[]}},methods:{enableTwoFactorAuthentication:function(){var e=this;this.enabling=!0,this.$inertia.post("/user/two-factor-authentication",{},{preserveScroll:!0,onSuccess:function(){return Promise.all([e.showQrCode(),e.showRecoveryCodes()])},onFinish:function(){return e.enabling=!1}})},showQrCode:function(){var e=this;return axios.get("/user/two-factor-qr-code").then((function(t){e.qrCode=t.data.svg}))},showRecoveryCodes:function(){var e=this;return axios.get("/user/two-factor-recovery-codes").then((function(t){e.recoveryCodes=t.data}))},regenerateRecoveryCodes:function(){var e=this;axios.post("/user/two-factor-recovery-codes").then((function(t){e.showRecoveryCodes()}))},disableTwoFactorAuthentication:function(){var e=this;this.disabling=!0,this.$inertia.delete("/user/two-factor-authentication",{preserveScroll:!0,onSuccess:function(){return e.disabling=!1}})}},computed:{twoFactorEnabled:function(){return!this.enabling&&this.$page.props.user.two_factor_enabled}}},Q=(0,F.Z)(U,[["render",function(e,t,n,C,B,_){var k=(0,o.resolveComponent)("jet-button"),x=(0,o.resolveComponent)("jet-confirms-password"),S=(0,o.resolveComponent)("jet-secondary-button"),E=(0,o.resolveComponent)("jet-danger-button"),T=(0,o.resolveComponent)("jet-action-section");return(0,o.openBlock)(),(0,o.createBlock)(T,null,{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),content:(0,o.withCtx)((function(){return[_.twoFactorEnabled?((0,o.openBlock)(),(0,o.createElementBlock)("h3",a," You have enabled two factor authentication. ")):((0,o.openBlock)(),(0,o.createElementBlock)("h3",l," You have not enabled two factor authentication. ")),s,_.twoFactorEnabled?((0,o.openBlock)(),(0,o.createElementBlock)("div",u,[B.qrCode?((0,o.openBlock)(),(0,o.createElementBlock)("div",c,[d,(0,o.createElementVNode)("div",{class:"mt-4 dark:p-4 dark:w-56 dark:bg-white",innerHTML:B.qrCode},null,8,A)])):(0,o.createCommentVNode)("",!0),B.recoveryCodes.length>0?((0,o.openBlock)(),(0,o.createElementBlock)("div",p,[f,(0,o.createElementVNode)("div",h,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(B.recoveryCodes,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{key:e},(0,o.toDisplayString)(e),1)})),128))])])):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",m,[_.twoFactorEnabled?((0,o.openBlock)(),(0,o.createElementBlock)("div",y,[(0,o.createVNode)(x,{onConfirmed:_.regenerateRecoveryCodes},{default:(0,o.withCtx)((function(){return[B.recoveryCodes.length>0?((0,o.openBlock)(),(0,o.createBlock)(S,{key:0,class:"mr-3"},{default:(0,o.withCtx)((function(){return[b]})),_:1})):(0,o.createCommentVNode)("",!0)]})),_:1},8,["onConfirmed"]),(0,o.createVNode)(x,{onConfirmed:_.showRecoveryCodes},{default:(0,o.withCtx)((function(){return[0===B.recoveryCodes.length?((0,o.openBlock)(),(0,o.createBlock)(S,{key:0,class:"mr-3"},{default:(0,o.withCtx)((function(){return[w]})),_:1})):(0,o.createCommentVNode)("",!0)]})),_:1},8,["onConfirmed"]),(0,o.createVNode)(x,{onConfirmed:_.disableTwoFactorAuthentication},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(E,{class:(0,o.normalizeClass)({"opacity-25":B.disabling}),disabled:B.disabling},{default:(0,o.withCtx)((function(){return[L]})),_:1},8,["class","disabled"])]})),_:1},8,["onConfirmed"])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",v,[(0,o.createVNode)(x,{onConfirmed:_.enableTwoFactorAuthentication},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(k,{type:"button",class:(0,o.normalizeClass)({"opacity-25":B.enabling}),disabled:B.enabling},{default:(0,o.withCtx)((function(){return[g]})),_:1},8,["class","disabled"])]})),_:1},8,["onConfirmed"])]))])]})),_:1})}]])},2679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var o=n(3868),r=(0,o.createTextVNode)(" Update Password "),i=(0,o.createTextVNode)(" Ensure your account is using a long, random password to stay secure. "),a={class:"col-span-6 sm:col-span-4"},l={class:"col-span-6 sm:col-span-4"},s={class:"col-span-6 sm:col-span-4"},u=(0,o.createTextVNode)(" Saved. "),c=(0,o.createTextVNode)(" Save ");var d=n(2374),A=n(6076),p=n(2681),f=n(6064),h=n(24),m=n(271);const v={components:{JetActionMessage:d.Z,JetButton:A.Z,JetFormSection:p.Z,JetInput:f.Z,JetInputError:h.Z,JetLabel:m.Z},data:function(){return{form:this.$inertia.form({current_password:"",password:"",password_confirmation:""})}},methods:{updatePassword:function(){var e=this;this.form.put(route("user.update-password"),{errorBag:"updatePassword",preserveScroll:!0,onSuccess:function(){return e.form.reset()},onError:function(){e.form.errors.password&&(e.form.reset("password","password_confirmation"),e.$refs.password.focus()),e.form.errors.current_password&&(e.form.reset("current_password"),e.$refs.current_password.focus())}})}}};const g=(0,n(3744).Z)(v,[["render",function(e,t,n,d,A,p){var f=(0,o.resolveComponent)("jet-label"),h=(0,o.resolveComponent)("jet-input"),m=(0,o.resolveComponent)("jet-input-error"),v=(0,o.resolveComponent)("jet-action-message"),g=(0,o.resolveComponent)("jet-button"),y=(0,o.resolveComponent)("jet-form-section");return(0,o.openBlock)(),(0,o.createBlock)(y,{onSubmitted:p.updatePassword},{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),form:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",a,[(0,o.createVNode)(f,{for:"current_password",value:"Current Password"}),(0,o.createVNode)(h,{id:"current_password",type:"password",class:"mt-1 block w-full",modelValue:A.form.current_password,"onUpdate:modelValue":t[0]||(t[0]=function(e){return A.form.current_password=e}),ref:"current_password",autocomplete:"current-password"},null,8,["modelValue"]),(0,o.createVNode)(m,{message:A.form.errors.current_password,class:"mt-2"},null,8,["message"])]),(0,o.createElementVNode)("div",l,[(0,o.createVNode)(f,{for:"password",value:"New Password"}),(0,o.createVNode)(h,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:A.form.password,"onUpdate:modelValue":t[1]||(t[1]=function(e){return A.form.password=e}),ref:"password",autocomplete:"new-password"},null,8,["modelValue"]),(0,o.createVNode)(m,{message:A.form.errors.password,class:"mt-2"},null,8,["message"])]),(0,o.createElementVNode)("div",s,[(0,o.createVNode)(f,{for:"password_confirmation",value:"Confirm Password"}),(0,o.createVNode)(h,{id:"password_confirmation",type:"password",class:"mt-1 block w-full",modelValue:A.form.password_confirmation,"onUpdate:modelValue":t[2]||(t[2]=function(e){return A.form.password_confirmation=e}),autocomplete:"new-password"},null,8,["modelValue"]),(0,o.createVNode)(m,{message:A.form.errors.password_confirmation,class:"mt-2"},null,8,["message"])])]})),actions:(0,o.withCtx)((function(){return[(0,o.createVNode)(v,{on:A.form.recentlySuccessful,class:"mr-3"},{default:(0,o.withCtx)((function(){return[u]})),_:1},8,["on"]),(0,o.createVNode)(g,{class:(0,o.normalizeClass)({"opacity-25":A.form.processing}),disabled:A.form.processing},{default:(0,o.withCtx)((function(){return[c]})),_:1},8,["class","disabled"])]})),_:1},8,["onSubmitted"])}]])},8311:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var o=n(3868),r=(0,o.createTextVNode)(" Profile Information "),i=(0,o.createTextVNode)(" Update your account's profile information and email address. "),a={key:0,class:"col-span-6 sm:col-span-4"},l={class:"mt-2"},s=["src","alt"],u={class:"mt-2"},c=(0,o.createTextVNode)(" Select A New Photo "),d=(0,o.createTextVNode)(" Remove Photo "),A={class:"col-span-6 sm:col-span-4"},p={class:"col-span-6 sm:col-span-4"},f={key:0,class:"mt-2"},h=[(0,o.createElementVNode)("p",{class:"text-sm text-green"},"There is an email update pending. Check your inbox and confirm your new email address.",-1)],m=(0,o.createTextVNode)(" Saved. "),v=(0,o.createTextVNode)(" Save ");var g=n(6076),y=n(2681),b=n(6064),w=n(24),L=n(271),C=n(2374),B=n(3462);const _={components:{JetActionMessage:C.Z,JetButton:g.Z,JetFormSection:y.Z,JetInput:b.Z,JetInputError:w.Z,JetLabel:L.Z,JetSecondaryButton:B.Z},props:["user"],data:function(){return{form:this.$inertia.form({_method:"PUT",name:this.user.screen_name,email:this.user.email,photo:null}),photoPreview:null}},methods:{updateProfileInformation:function(){this.$refs.photo&&(this.form.photo=this.$refs.photo.files[0]),this.form.post(route("user.update-profile-information"),{errorBag:"updateProfileInformation",preserveScroll:!0})},selectNewPhoto:function(){this.$refs.photo.click()},updatePhotoPreview:function(){var e=this,t=new FileReader;t.onload=function(t){e.photoPreview=t.target.result}
2,t.readAsDataURL(this.$refs.photo.files[0])},deletePhoto:function(){var e=this;this.$inertia.delete(route("current-user-photo.destroy"),{preserveScroll:!0,onSuccess:function(){return e.photoPreview=null}})}}};const k=(0,n(3744).Z)(_,[["render",function(e,t,n,g,y,b){var w=(0,o.resolveComponent)("jet-label"),L=(0,o.resolveComponent)("jet-secondary-button"),C=(0,o.resolveComponent)("jet-input-error"),B=(0,o.resolveComponent)("jet-input"),_=(0,o.resolveComponent)("jet-action-message"),k=(0,o.resolveComponent)("jet-button"),x=(0,o.resolveComponent)("jet-form-section");return(0,o.openBlock)(),(0,o.createBlock)(x,{onSubmitted:b.updateProfileInformation},{title:(0,o.withCtx)((function(){return[r]})),description:(0,o.withCtx)((function(){return[i]})),form:(0,o.withCtx)((function(){return[e.$page.props.jetstream.managesProfilePhotos?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.createElementVNode)("input",{type:"file",class:"hidden",ref:"photo",onChange:t[0]||(t[0]=function(){return b.updatePhotoPreview&&b.updatePhotoPreview.apply(b,arguments)})},null,544),(0,o.createVNode)(w,{for:"photo",value:"Photo"}),(0,o.withDirectives)((0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("img",{src:n.user.profile_photo_url,alt:n.user.name,class:"rounded-full h-20 w-20 object-cover"},null,8,s)],512),[[o.vShow,!y.photoPreview]]),(0,o.withDirectives)((0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("span",{class:"block rounded-full w-20 h-20",style:(0,o.normalizeStyle)("background-size: cover; background-repeat: no-repeat; background-position: center center; background-image: url('"+y.photoPreview+"');")},null,4)],512),[[o.vShow,y.photoPreview]]),(0,o.createVNode)(L,{class:"mt-2 mr-2",type:"button",onClick:(0,o.withModifiers)(b.selectNewPhoto,["prevent"])},{default:(0,o.withCtx)((function(){return[c]})),_:1},8,["onClick"]),n.user.profile_photo_path?((0,o.openBlock)(),(0,o.createBlock)(L,{key:0,type:"button",class:"mt-2",onClick:(0,o.withModifiers)(b.deletePhoto,["prevent"])},{default:(0,o.withCtx)((function(){return[d]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(C,{message:y.form.errors.photo,class:"mt-2"},null,8,["message"])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",A,[(0,o.createVNode)(w,{for:"name",value:"Name"}),(0,o.createVNode)(B,{id:"name",type:"text",class:"mt-1 block w-full",modelValue:y.form.name,"onUpdate:modelValue":t[1]||(t[1]=function(e){return y.form.name=e}),autocomplete:"name"},null,8,["modelValue"]),(0,o.createVNode)(C,{message:y.form.errors.name,class:"mt-2"},null,8,["message"])]),(0,o.createElementVNode)("div",p,[(0,o.createVNode)(w,{for:"email",value:"Email"}),(0,o.createVNode)(B,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:y.form.email,"onUpdate:modelValue":t[2]||(t[2]=function(e){return y.form.email=e})},null,8,["modelValue"]),(0,o.createVNode)(C,{message:y.form.errors.email,class:"mt-2"},null,8,["message"]),n.user.new_email?((0,o.openBlock)(),(0,o.createElementBlock)("div",f,h)):(0,o.createCommentVNode)("",!0)])]})),actions:(0,o.withCtx)((function(){return[(0,o.createVNode)(_,{on:y.form.recentlySuccessful,class:"mr-3"},{default:(0,o.withCtx)((function(){return[m]})),_:1},8,["on"]),(0,o.createVNode)(k,{class:(0,o.normalizeClass)({"opacity-25":y.form.processing}),disabled:y.form.processing},{default:(0,o.withCtx)((function(){return[v]})),_:1},8,["class","disabled"])]})),_:1},8,["onSubmitted"])}]])},6082:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>me});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-414cb9de"),e=e(),(0,o.popScopeId)(),e},i={class:"chapter-modal__title"},a={class:"chapter-modal__content"},l={class:"property-field"},s={for:"input_name",ref:"titleRef"},u={class:"input-group has-validation"},c={key:0,class:"invalid-feedback"},d={class:"property-field map-field"},A={ref:"locationTitleRef"},p={class:"search-input",ref:"searchWrapperRef"},f={class:"sq-marker"},h=["src"],m={class:"raw-values"},v=r((function(){return(0,o.createElementVNode)("span",null,"Latitude:",-1)})),g=["readonly"],y=r((function(){return(0,o.createElementVNode)("span",null,"Longitude:",-1)})),b=["readonly"],w={class:"property-field"},L=["for"],C={class:"content-editor"},B=["id"],_={class:""},k=(0,o.createTextVNode)(" Add more "),x={class:"extra-properties"},S=(0,o.createTextVNode)("Image"),E=(0,o.createTextVNode)(" ð StreetView "),T={class:"chapter-modal__action"},N={key:1,class:"chapter-modal__action__feedback-txt text-danger"},F=(0,o.createTextVNode)("Save"),V={class:"sv-container"},O={id:"sv-save-button",class:"no-init"},U=(0,o.createTextVNode)(" Done "),Q=[r((function(){return(0,o.createElementVNode)("svg",{height:"56%",style:{"enable-background":"new 0 0 512 512"},version:"1.1",viewBox:"0 0 512 512",width:"56%","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[(0,o.createElementVNode)("path",{d:"M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z",style:{fill:"currentColor"}})],-1)}))],q={class:"sv-info-area"},M={class:"sv-element",ref:"svContainer"},I={class:"confirm-leave"},P={class:"confirm-leave__title"},D=(0,o.createTextVNode)("Unsaved Changes"),H=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-leave__description"},"Before you leave this view, be sure to save your changes.",-1)})),R={class:"confirm-leave__actions"},j=(0,o.createTextVNode)("Close"),$=(0,o.createTextVNode)("Save"),z={class:"confirm-leave"},K={class:"confirm-leave__title"},W=(0,o.createTextVNode)("No Results"),Y=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-leave__description"}," There was no streetview image found on this location. Try to adjust the location or leave the streetview data empty for this location. ",-1)})),G={class:"confirm-leave__actions"},Z=(0,o.createTextVNode)(" Close ");var J=n(7757),X=n.n(J),ee=n(6095),te=n(3627),ne=n(8330),oe=n(6076),re=n(1865),ie=n(2099),ae=n(4148),le=n(5055),se=n(9054),ue=n(626);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ce(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function fe(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){pe(i,o,r,a,l,"next",e)}function l(e){pe(i,o,r,a,l,"throw",e)}a(void 0)}))}}const he={mixins:[re.Z],components:{GoogleMap:te.GoogleMap,AdvancedMarker:te.AdvancedMarker,CustomControl:te.CustomControl,Modal:ne.Z,SButton:oe.Z,DataProperty:ie.Z},props:{modelValue:[Object,void 0],story:{type:Object,required:!0,default:{}}},emits:["update:modelValue"],watch:{modelValue:function(){this.chapter=this.modelValue,this.editing=!!this.modelValue,this.isStreetViewVisible=!1},chapter:function(e){var t,n,o,r,i;this.form.title=(null==e?void 0:e.title)||null,this.form.subtitle=(null==e?void 0:e.subtitle)||null,this.form.content=(null==e?void 0:e.content)||null,this.form.location={lat:Number(null==e||null===(t=e.location)||void 0===t?void 0:t.lat),lng:Number(null==e||null===(n=e.location)||void 0===n?void 0:n.lng)},this.form.image=(null==e?void 0:e.image)||null,this.form.is_image_fallback=(null==e?void 0:e.is_image_fallback)||!1,this.form.characters=(null==e||null===(o=e.characters)||void 0===o?void 0:o.map((function(e){return e.id})))||null,this.locationMarker=null!=e&&null!==(r=e.location)&&void 0!==r&&r.lat&&null!=e&&null!==(i=e.location)&&void 0!==i&&i.lng?{position:{lat:e.location.lat,lng:e.location.lng},draggable:!0,iconUrl:ae.Fd.url}:null,null!=e&&e.id&&this.restartFormTracking(),this.initEditor(),this.setMapCenter()},isStreetViewVisible:function(e){if(e){var t=this.$refs.locationTitleRef,n=null==t?void 0:t.offsetParent;null==n||n.scrollTo({top:0,left:0,behavior:"auto"})}},editing:function(e){if(e){var t=document.querySelector(".search-input gmp-place-autocomplete");t&&(t.value="")}}},data:function(){var e,t,n,o,r,i,a,l,s,u,c,d,A,p,f=localStorage.getItem("sv-info-hidden")||!1;return{ERRORBAG:"chapterInput",chapter:this.modelValue,editing:!!this.modelValue,editingLatLng:!1,alertForSave:!1,mapCenter:{lat:40.689247,lng:-74.044502},mapSearchInput:null,alertNoSvFound:!1,isStreetViewVisible:!1,isInfoAreaVisible:!f,svPano:null,contentEditor:null,form:this.$inertia.form({_method:null!==(e=this.chapter)&&void 0!==e&&e.id?"PUT":"POST",title:(null===(t=this.chapter)||void 0===t?void 0:t.title)||null,subtitle:(null===(n=this.chapter)||void 0===n?void 0:n.subtitle)||null,content:(null===(o=this.chapter)||void 0===o?void 0:o.content)||null,location:{lat:null===(r=this.chapter)||void 0===r?void 0:r.lat,lng:null===(i=this.chapter)||void 0===i?void 0:i.lng},image:(null===(a=this.chapter)||void 0===a?void 0:a.image)||null,is_image_fallback:(null===(l=this.chapter)||void 0===l?void 0:l.is_image_fallback)||!1,characters:(null===(s=this.chapter)||void 0===s||null===(u=s.characters)||void 0===u?void 0:u.map((function(e){return e.id})))||null,sv_pano:null===(c=this.chapter)||void 0===c?void 0:c.sv_pano,sv_pano_id:null===(d=this.chapter)||void 0===d?void 0:d.sv_pano_id},{bag:this.ERRORBAG,resetOnSuccess:!0}),apiPromise:le.b3,GOOGLE_MAPS_MAP_ID:le.rz,mapClickedTimeout:null,locationMarker:this.chapter?{position:{lat:null===(A=this.chapter)||void 0===A?void 0:A.lat,lng:null===(p=this.chapter)||void 0===p?void 0:p.lng},draggable:!0,iconUrl:ae.Fd.url}:null,svStatus:{loading:!1,svImage:null}}},methods:{emitValue:function(){this.$emit("update:modelValue",void 0)},emitAndClose:function(){!this.formDirty||this.alertForSave?(this.alertForSave=!1,this.emitValue(),this.closeModal()):this.alertForSave=!0},closeModal:function(){this.editing=!1,this.svPano=void 0},deleteChapter:function(){var e=this;this.$q.dialog({title:"Confirm Delete",message:"Are you sure you want to delete this chapter?",rounded:!0,ok:{rounded:!0,color:"negative",label:"Delete"},cancel:{rounded:!0},persistent:!0}).onOk((function(){e.$inertia.delete(route("stories.chapters.destroy",{story:e.story,chapter:e.chapter}),{onFinish:function(){e.closeModal()}})}))},postForm:function(){var e=this;return fe(X().mark((function t(){var n,o,r,i,a,l,s;return X().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.form.title){t.next=3;break}return e.$q.dialog({title:"Title Required",message:"A title is required to save this chapter",rounded:!0,ok:{rounded:!0}}).onDismiss((function(){var t=e.$refs.titleRef;t.offsetParent.scrollTo({top:t.offsetTop,left:t.offsetLeft,behavior:"smooth"})})).onOk((function(){e.alertForSave=!1})),t.abrupt("return");case 3:if(e.form.location.lat&&e.form.location.lng){t.next=6;break}return e.$q.dialog({title:"Location Required",message:"A location is required to save this chapter",rounded:!0,ok:{rounded:!0}}).onDismiss((function(){var t=e.$refs.locationTitleRef;t.offsetParent.scrollTo({top:t.offsetTop,left:t.offsetLeft,behavior:"smooth"})})).onOk((function(){e.alertForSave=!1})),t.abrupt("return");case 6:if(e.form.processing=!0,e.form.image){t.next=25;break}if(e.mapCenter=e.form.location,!(a=null===(i=e.$refs.mapRef)||void 0===i?void 0:i.map)||12===a.zoom){t.next=14;break}return a.setZoom(12),t.next=14,new Promise((function(e){return setTimeout((function(){return e()}),300)}));case 14:return t.prev=14,t.next=17,(0,ue.ym)(e.$refs.mapRef.$el.querySelector('div[aria-label="Map"]'),"No Chapter Image");case 17:e.form.image=t.sent,e.form.is_image_fallback=!0,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(14),console.warn("no default image rendered",t.t0),e.form.is_image_fallback=!1;case 25:l=route("".concat(e.author?"authors.":"").concat(e.story?"stories.":"","chapters.").concat(null!==(n=e.chapter)&&void 0!==n&&n.id?"update":"store"),{author:e.author,story:e.story,chapter:null!==(o=e.chapter)&&void 0!==o&&o.id?e.chapter:void 0}),e.form._method=null!==(r=e.chapter)&&void 0!==r&&r.id?"PUT":"POST",e.form.content=e.contentEditor.root.innerHTML,null!=(s=e.form.image)&&s.id&&(e.form.image=void 0),e.form.post(l,{preserveScroll:!0,onSuccess:function(){e.formDirty=!1,e.emitAndClose()},onError:function(){console.log("onerror")},onFinish:function(){e.alertForSave=!1,e.form.image=s}});case 31:case"end":return t.stop()}}),t,null,[[14,21]])})))()},getImageIconElement:function(){return"<div style=\"width: 100%;height: 100%;background-image: url('".concat(this.form.image.public_path,"');background-size: cover;\"></div>")},setMapCenter:function(){this.locationMarker?this.mapCenter=this.locationMarker.position:this.mapCenter={lat:40.689247,lng:-74.044502}},mapClicked:function(e){var t=this;this.mapClickedTimeout=setTimeout((function(){var n=e.latLng;t.locationMarker={position:n,draggable:!0,iconUrl:ae.Fd.url},t.form.location={lat:n.lat(),lng:n.lng()}}),200)},mapDoubleClicked:function(e){clearTimeout(this.mapClickedTimeout)},markerMoved:function(e){var t,n=e.latLng||(null===(t=e.target)||void 0===t?void 0:t.position),o="function"==typeof n.lat?n.lat():n.lat,r="function"==typeof n.lng?n.lng():n.lng;this.form.location={lat:o,lng:r}},updateLocation:function(){var e;this.locationMarker={position:{lat:Number(this.form.location.lat),lng:Number(this.form.location.lng)},draggable:!0,iconUrl:ae.Fd.url},null!==(e=this.$refs.mapRef)&&void 0!==e&&e.map?this.$refs.mapRef.map.panTo(this.locationMarker.position):this.setMapCenter()},initStreetViewPano:function(){var e=this;return fe(X().mark((function t(){var n;return X().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,le.b3;case 2:e.svPano=new google.maps.StreetViewPanorama(e.$refs.svContainer,{addressControlOptions:{position:google.maps.ControlPosition.BOTTOM_CENTER},zoomControlOptions:{position:google.maps.ControlPosition.LEFT_BOTTOM},panControl:!1,fullscreenControl:!1,linksControl:!1,visible:!1,enableCloseButton:!1}),(n=document.getElementById("sv-save-button")).id="".concat(n.id,"_initted"),n.addEventListener("click",(function(t){var n=e.$refs.spinnerRef.$el.cloneNode(!0);n.style.display="inline",t.target.innerHTML="",t.target.appendChild(n),e.toggleStreetView()})),n.classList.remove("no-init"),e.svPano.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(n),e.svPano.addListener("pov_changed",(function(){e.form.sv_pano=e.svPano.getPov()})),e.svPano.addListener("pano_changed",(function(){e.form.sv_pano_id=e.svPano.getPano()})),e.svPano.addListener("status_changed",(function(){e.isStreetViewVisible&&("ZERO_RESULTS"===e.svPano.getStatus()&&(e.alertNoSvFound=!0))}));case 11:case"end":return t.stop()}}),t)})))()},toggleStreetView:function(){var e=arguments,t=this;return fe(X().mark((function n(){var o,r,i;return X().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if((o=e.length>0&&void 0!==e[0]&&e[0])||!t.isStreetViewVisible||!t.svStatus.loading){n.next=5;break}return n.abrupt("return");case 5:t.isStreetViewVisible;case 6:if(t.isStreetViewVisible=!o&&!t.isStreetViewVisible,!t.isStreetViewVisible){n.next=14;break}if(t.svPano){n.next=11;break}return n.next=11,t.initStreetViewPano();case 11:null!=(r=document.getElementById("sv-save-button_initted"))&&r.querySelector(".btn")&&(r.querySelector(".btn").innerHTML="Done"),t.form.location?(t.svPano.setPosition(new google.maps.LatLng({lat:Number(t.form.location.lat),lng:Number(t.form.location.lng)})),!t.form.sv_pano&&null!==(i=t.chapter)&&void 0!==i&&i.sv_pano&&(t.form.sv_pano=de({},t.chapter.sv_pano)),t.form.sv_pano&&t.svPano.setPov(t.form.sv_pano)):console.warn("no location found");case 14:t.$nextTick((function(){var e;null===(e=t.svPano)||void 0===e||e.setVisible(t.isStreetViewVisible)}));case 15:case"end":return n.stop()}}),n)})))()},toggleInfoArea:function(){this.isInfoAreaVisible=!this.isInfoAreaVisible,this.isInfoAreaVisible||localStorage.setItem("sv-info-hidden",!0)},initEditor:function(){for(var e=document.getElementsByClassName("ql-toolbar");e[0];)e[0].parentNode.removeChild(e[0]);
2this.contentEditor=new ee("#input_content_".concat(this.$.uid),{placeholder:"",theme:"snow",readOnly:!1,modules:{toolbar:se.C}}),this.contentEditor.root.innerHTML=this.form.content}},mounted:function(){var e=this;this._stopWatchMapReady=this.$watch((function(){var t;return null===(t=e.$refs.mapRef)||void 0===t?void 0:t.ready}),(function(t){if(t){var n=e.$refs.mapRef.map,o=e.$refs.searchWrapperRef;if(o){var r=new google.maps.places.PlaceAutocompleteElement({});r.placeholder="Search In Visible Area",o.appendChild(r),n.addListener("bounds_changed",(function(){r.locationBias=n.getBounds()})),r.addEventListener("gmp-select",function(){var e=fe(X().mark((function e(t){var o,r;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.placePrediction,r=o.toPlace(),e.next=4,r.fetchFields({fields:["location","viewport"]});case 4:if(r.location){e.next=6;break}return e.abrupt("return");case 6:r.viewport?n.fitBounds(r.viewport):(n.setCenter(r.location),n.setZoom(15));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}e._stopWatchMapReady&&e._stopWatchMapReady()}}))}};const me=(0,n(3744).Z)(he,[["render",function(e,t,n,r,J,X){var ee=(0,o.resolveComponent)("CustomControl"),te=(0,o.resolveComponent)("AdvancedMarker"),ne=(0,o.resolveComponent)("GoogleMap"),oe=(0,o.resolveComponent)("data-property"),re=(0,o.resolveComponent)("s-button"),ie=(0,o.resolveComponent)("q-icon"),ae=(0,o.resolveComponent)("q-spinner"),le=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createVNode)(le,{show:J.editing,onClose:X.emitAndClose,class:"chapter-modal modal-light modal-big"},{default:(0,o.withCtx)((function(){var n,r,I;return[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("span",null,"Chapter "+(0,o.toDisplayString)(null===(n=J.chapter)||void 0===n?void 0:n.number),1)]),(0,o.createElementVNode)("form",{onSubmit:t[11]||(t[11]=(0,o.withModifiers)((function(){return X.postForm&&X.postForm.apply(X,arguments)}),["prevent"]))},[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",l,[(0,o.createElementVNode)("label",s,"Title",512),(0,o.createElementVNode)("h5",u,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",class:(0,o.normalizeClass)(["form-control grow-control",{"is-invalid":e.hasError("title")}]),placeholder:"Chapter Title",id:"input_name","onUpdate:modelValue":t[0]||(t[0]=function(e){return J.form.title=e})},null,2),[[o.vModelText,J.form.title]]),e.hasError("title")?((0,o.openBlock)(),(0,o.createElementBlock)("div",c,(0,o.toDisplayString)(e.getError("title")),1)):(0,o.createCommentVNode)("",!0)])]),(0,o.createElementVNode)("div",d,[(0,o.createElementVNode)("label",A,"Location",512),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["chapter-map",{"is-invalid":e.hasError("location")}])},[(0,o.createVNode)(ne,{ref:"mapRef","api-promise":J.apiPromise,"map-id":J.GOOGLE_MAPS_MAP_ID,center:J.mapCenter,zoom:12,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0,onClick:X.mapClicked,onDblclick:X.mapDoubleClicked},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ee,{position:"TOP_LEFT"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",p,null,512)]})),_:1}),J.locationMarker?((0,o.openBlock)(),(0,o.createBlock)(te,{key:0,options:{position:J.locationMarker.position,gmpDraggable:J.locationMarker.draggable},onDragend:X.markerMoved},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("img",{src:J.locationMarker.iconUrl,draggable:"false"},null,8,h)])]})),_:1},8,["options","onDragend"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center","onClick","onDblclick"])],2),(0,o.createElementVNode)("div",m,[v,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=function(e){return J.form.location.lat=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("lat")}]),onFocus:t[2]||(t[2]=function(e){return J.editingLatLng=!0}),onBlur:t[3]||(t[3]=function(e){return J.editingLatLng=!1}),onInput:t[4]||(t[4]=function(){return X.updateLocation&&X.updateLocation.apply(X,arguments)}),readonly:!J.editingLatLng},null,42,g),[[o.vModelText,J.form.location.lat]]),y,(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[5]||(t[5]=function(e){return J.form.location.lng=e}),required:"",class:(0,o.normalizeClass)(["form-control latlng",{"is-invalid":e.hasError("lng")}]),onFocus:t[6]||(t[6]=function(e){return J.editingLatLng=!0}),onBlur:t[7]||(t[7]=function(e){return J.editingLatLng=!1}),onInput:t[8]||(t[8]=function(){return X.updateLocation&&X.updateLocation.apply(X,arguments)}),readonly:!J.editingLatLng},null,42,b),[[o.vModelText,J.form.location.lng]])])]),(0,o.createElementVNode)("div",w,[(0,o.createElementVNode)("label",{for:"input_content_".concat(e.$.uid)},"Content",8,L),(0,o.createElementVNode)("div",C,[(0,o.createElementVNode)("div",{id:"input_content_".concat(e.$.uid),class:(0,o.normalizeClass)({"is-invalid":e.hasError("content")})},null,10,B)])]),(0,o.createElementVNode)("div",_,[k,(0,o.createElementVNode)("div",x,[(0,o.createVNode)(oe,{type:"image",placeholder:"Image",modelValue:J.form.image,"onUpdate:modelValue":t[9]||(t[9]=function(e){return J.form.image=e}),error:e.getError("image"),icon:"ð¸"},{default:(0,o.withCtx)((function(){return[S]})),_:1},8,["modelValue","error"]),(0,o.createVNode)(re,{onClick:(0,o.withModifiers)(X.toggleStreetView,["prevent"]),"button-style":"primary ".concat(null!==(r=J.chapter)&&void 0!==r&&r.sv_pano?"":"btn-primary-washed")},{default:(0,o.withCtx)((function(){return[E]})),_:1},8,["onClick","button-style"])])])]),(0,o.createElementVNode)("div",T,[null!==(I=J.chapter)&&void 0!==I&&I.id?((0,o.openBlock)(),(0,o.createBlock)(re,{key:0,class:"chapter-modal__action__delete-btn","button-style":"danger btn-sm",type:"button",onClick:t[10
2]||(t[10]=(0,o.withModifiers)((function(e){return X.deleteChapter()}),["prevent"]))},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(ie,{name:"delete",size:"1.4rem"})]})),_:1})):(0,o.createCommentVNode)("",!0),e.hasErrors()?((0,o.openBlock)(),(0,o.createElementBlock)("div",N,"You have errors in your input - Please check the input values")):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(re,{class:"chapter-modal__action__save-btn","button-style":"success-alt",type:"submit",disabled:J.form.processing},{default:(0,o.withCtx)((function(){return[J.form.processing?((0,o.openBlock)(),(0,o.createBlock)(ae,{key:0,size:"1em"})):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[F],64))]})),_:1},8,["disabled"])])],32),(0,o.withDirectives)((0,o.createElementVNode)("div",V,[(0,o.createElementVNode)("div",O,[(0,o.createVNode)(re,{"button-style":"primary",type:"button",class:(0,o.normalizeClass)({"has-action":e.formDirty})},{default:(0,o.withCtx)((function(){return[U]})),_:1},8,["class"])]),(0,o.createElementVNode)("button",{class:"sv-info-button",onClick:t[12]||(t[12]=function(){return X.toggleInfoArea&&X.toggleInfoArea.apply(X,arguments)})},[(0,o.createVNode)(ie,{name:"info"})]),(0,o.createElementVNode)("button",{class:"sv-close-button",onClick:t[13]||(t[13]=function(){return X.toggleStreetView&&X.toggleStreetView.apply(X,arguments)})},Q),(0,o.withDirectives)((0,o.createElementVNode)("div",q," Move this panoramic street view around until the point of interest is completely visible and centered in the image. ",512),[[o.vShow,J.isInfoAreaVisible]]),(0,o.createElementVNode)("div",M,null,512)],512),[[o.vShow,J.isStreetViewVisible]])]})),_:1},8,["show","onClose"]),(0,o.createVNode)(le,{show:J.alertForSave,onClose:t[15]||(t[15]=function(e){return J.alertForSave=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",I,[(0,o.createElementVNode)("h2",P,[(0,o.createVNode)(ie,{name:"error_outline",left:""}),D]),H,(0,o.createElementVNode)("div",R,[(0,o.createVNode)(re,{"button-style":"primary-inverse",type:"button",onClick:t[14]||(t[14]=function(e){return X.emitAndClose()})},{default:(0,o.withCtx)((function(){return[j]})),_:1}),(0,o.createVNode)(re,{"button-style":"primary",type:"button",class:(0,o.normalizeClass)({"has-action":e.formDirty}),onClick:X.postForm},{default:(0,o.withCtx)((function(){return[$]})),_:1},8,["class","onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(le,{show:J.alertNoSvFound,onClick:t[17]||(t[17]=function(e){J.alertNoSvFound=!1,X.toggleStreetView()})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",z,[(0,o.createElementVNode)("h2",K,[(0,o.createVNode)(ie,{name:"error_outline",left:""}),W]),Y,(0,o.createElementVNode)("div",G,[(0,o.createVNode)(re,{"button-style":"primary-inverse",type:"button",onClick:t[16]||(t[16]=function(e){J.alertNoSvFound=!1,X.toggleStreetView()})},{default:(0,o.withCtx)((function(){return[Z]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(ae,{size:"1em",ref:"spinnerRef",style:{display:"none"}},null,512)],64)}],["__scopeId","data-v-414cb9de"]])},6632:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>gt});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-c0d44fd2"),e=e(),(0,o.popScopeId)(),e},i={class:"action"},a={class:"breadcrumbs container full"},l=(0,o.createTextVNode)(" < Home "),s={key:2},u={key:4,class:"breadcrumbs__right"},c={class:"children"},d={class:"container full"},A={key:0,class:"beta-banner"},p={class:"beta-banner__header"},f=r((function(){return(0,o.createElementVNode)("h4",{class:"beta-banner__header__text"},"This is a beta product!",-1)})),h=[r((function(){return(0,o.createElementVNode)("svg",{style:{"enable-background":"new 0 0 512 512"},version:"1.1",viewBox:"0 0 512 512","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[(0,o.createElementVNode)("path",{d:"M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z",style:{fill:"currentColor"}})],-1)}))],m=r((function(){return(0,o.createElementVNode)("p",{class:"beta-banner__content"}," Shorts stories will be integrated in the upcoming Squirl app. In the meantime, share them as maps for your readers to discover in their browser. ",-1)})),v={class:"chapters",ref:"chaptersContainer"},g={class:"chapters__header"},y={class:"chapters__header__title text-gray"},b=(0,o.createTextVNode)(" Locations "),w=r((function(){return(0,o.createElementVNode)("p",{class:"text-description"},"Create location-based short stories by adding chronological chapters below.",-1)})),L={class:"chapters__header__actions"},C=(0,o.createTextVNode)("ð£ Share This Map"),B={key:1,class:"chapters__action"},_=r((function(){return(0,o.createElementVNode)("h6",{class:"chapters__action__title text-gray"},"Add location chapter",-1)})),k=r((function(){return(0,o.createElementVNode)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 24 24",fill:"
2currentColor"},[(0,o.createElementVNode)("path",{d:"M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z","fill-rule":"evenodd","clip-rule":"evenodd"})],-1)})),x={class:"title text-gray"},S={class:"confirm-modal"},E=r((function(){return(0,o.createElementVNode)("h2",null,"Save Story",-1)})),T=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-modal__description"},"Before adding chapters, you need to save the story first.",-1)})),N={class:"confirm-modal__actions"},F=(0,o.createTextVNode)("Save"),V=(0,o.createTextVNode)("Cancel"),O={key:0,class:"share-dialog"},U=(0,o.createTextVNode)(" Share the "),Q=(0,o.createTextVNode)(" Squirl map! "),q=["href"],M={class:"share-dialog__actions"},I=["href"],P=[r((function(){return(0,o.createElementVNode)("img",{class:"emoji-icon",src:"/images/icon-twitter.svg",alt:"Twitter Logo"},null,-1)})),(0,o.createTextVNode)(" Tweet ")],D=["href"],H=[r((function(){return(0,o.createElementVNode)("img",{class:"emoji-icon",src:"/images/icon-fb.svg",alt:"Facebook Logo"},null,-1)})),(0,o.createTextVNode)(" Share ")],R={key:1,class:"share-dialog__description"},j=r((function(){return(0,o.createElementVNode)("h3",null,"â ï¸ This story is currently set as unpublished.",-1)})),$=r((function(){return(0,o.createElementVNode)("p",{class:"share-dialog__description"},"You will need to publish your story before you can share this map.",-1)})),z={class:"confirm-modal"},K=r((function(){return(0,o.createElementVNode)("h2",null,"Confirm Unpublish",-1)})),W=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-modal__description"},"You can unpublish this story until you finshed setting everything up.",-1)})),Y={class:"confirm-modal__actions"},G=(0,o.createTextVNode)("Unpublish"),Z=(0,o.createTextVNode)("Cancel"),J={class:"confirm-modal"},X=r((function(){return(0,o.createElementVNode)("h2",null,"Confirm Removal",-1)})),ee=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-modal__description"},[(0,o.createTextVNode)("If you delete this story, all associated locations will also be deleted."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)("This action is irreversible.")],-1)})),te={class:"confirm-modal__actions"},ne=(0,o.createTextVNode)("Delete"),oe=(0,o.createTextVNode)("Cancel"),re={class:"confirm-modal"},ie=r((function(){return(0,o.createElementVNode)("h2",null,"No Locations",-1)})),ae=r((function(){return(0,o.createElementVNode)("p",{class:"confirm-modal__description"},"Before you can publish this story, you will need to add at least one location.",-1)})),le={class:"confirm-modal__actions"},se=(0,o.createTextVNode)("Add Locations");var ue=n(9925),ce=n(6076),de=n(8330),Ae=n(912),pe=n(6082),fe={class:"chapters"},he={key:0,class:"chapters__title"},me=["href","onClick"],ve={class:"chapter__title text-gray"},ge={class:"chapter__content btn btn-primary"},ye={class:"chapter__content__excerpt"},be={key:0},we=["innerHTML"],Le={class:"chapter__content__handle"};var Ce=n(8496);const Be={components:{SButton:ce.Z,ChapterModal:pe.default,draggable:Ce.J},props:{chapters:Array,story:{type:Object,required:!0}},data:function(){return{editingChapter:void 0}},methods:{routeForChapter:function(e){return route("stories.chapters.show",{story:this.story,chapter:e})},addChapter:function(){var e;e=route("stories.chapters.create",{story:this.story}),this.$inertia.visit(e)},editChapter:function(e){this.editingChapter=e},updateChapterOrder:function(){var e=this,t=this.chapters.map((function(e){return e.id}));axios.put(route("stories.update-chapter-order",{story:this.story}),{order:t}).then((function(t){200!==t.status?alert("Not all changes were saved, please try again."):e.reloadState()}))},reloadState:function(){this.$inertia.get(this.$page.url,{},{preserveState:!0,preserveScroll:!0})}}};var _e=n(3744);const ke=(0,_e.Z)(Be,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("q-icon"),s=(0,o.resolveComponent)("draggable"),u=(0,o.resolveComponent)("chapter-modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",fe,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",he,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(s,{class:"chapters__list",list:n.chapters,onChange:a.updateChapterOrder,handle:".chapter__c
2ontent__handle"},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(o.TransitionGroup,{type:"transition",name:"flip-list"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.chapters,(function(e){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"chapter",key:e.id,href:a.routeForChapter(e),onClick:(0,o.withModifiers)((function(t){return a.editChapter(e)}),["prevent"])},[(0,o.createElementVNode)("h5",ve,(0,o.toDisplayString)(e.title),1),(0,o.createElementVNode)("div",ge,[e.image?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:"chapter__content__image",style:(0,o.normalizeStyle)("background-image: url('".concat(e.image.public_path,"'); background-color: transparent;"))},null,4)):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,class:"chapter__content__image",style:(0,o.normalizeStyle)("background-image: url('/api/image');")},null,4)),(0,o.createElementVNode)("div",ye,[e.subtitle?((0,o.openBlock)(),(0,o.createElementBlock)("span",be,(0,o.toDisplayString)(e.subtitle),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{innerHTML:e.content},null,8,we)]),(0,o.createElementVNode)("div",Le,[(0,o.createVNode)(l,{name:"import_export"})])])],8,me)})),128))]})),_:1})]})),_:1},8,["list","onChange"]),(0,o.createVNode)(u,{modelValue:i.editingChapter,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i.editingChapter=e}),story:n.story},null,8,["modelValue","story"])])}],["__scopeId","data-v-691bc83a"]]);var xe=function(e){return(0,o.pushScopeId)("data-v-7bd0a0b0"),e=e(),(0,o.popScopeId)(),e},Se={class:"chapters"},Ee={key:0,class:"chapters__title"},Te={class:"search-input-wrapper",ref:"searchWrapperRef"},Ne={class:"sq-marker"},Fe=["src"],Ve={key:0,class:"marker-number"},Oe={class:"popup"},Ue=(0,o.createTextVNode)(" Add Chapter "),Qe={class:"popup__title"},qe=(0,o.createTextVNode)(" Edit Chapter "),Me=(0,o.createTextVNode)(" Move Chapter "),Ie={class:"popup__title editing"},Pe=(0,o.createTextVNode)(" Save Chapter "),De=(0,o.createTextVNode)(" Move Chapter "),He=(0,o.createTextVNode)(" Revert Move "),Re={class:"confirm-delete"},je=xe((function(){return(0,o.createElementVNode)("h2",null,"Confirm Delete",-1)})),$e=xe((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},"Are you sure you want to delete this chapter?",-1)})),ze={class:"confirm-delete__actions"},Ke=(0,o.createTextVNode)("Delete"),We=(0,o.createTextVNode)("Cancel"),Ye={class:"confirm-delete"},Ge=(0,o.createTextVNode)("Updated Location"),Ze=xe((function(){return(0,o.createElementVNode)("p",{class:"confirm-delete__description"},[(0,o.createTextVNode)(" You updated the location but there is a streetview image linked to this location."),(0,o.createElementVNode)("br"),(0,o.createTextVNode)(" Please update the streetview image in the chapter details. ")],-1)})),Je={class:"confirm-delete__actions"},Xe=(0,o.createTextVNode)("Got It");var et=n(7757),tt=n.n(et),nt=n(3627),ot=n(9680),rt=n(4148),it=n(5055),at=n(8366);function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ct(e,t,n,o,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(o,r)}function dt(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var i=e.apply(t,n);function a(e){ct(i,o,r,a,l,"next",e)}function l(e){ct(i,o,r,a,l,"throw",e)}a(void 0)}))}}function At(e){return function(e){if(Array.isArray(e))return pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return pt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const ft=(0,o.defineComponent)({components:{GoogleMap:nt.GoogleMap,AdvancedMarker:nt.AdvancedMarker,MarkerCluster:nt.MarkerCluster,CustomControl:nt.CustomControl,Modal:de.Z,ChapterModal:pe.default,SButton:ce.Z,MapPopup:at.Z},props:{author:{type:Object,default:{}},story:{type:Object,required:!0},chapters:{type:Array,default:[]}},setup:function(e){var t,n=(0,o.ref)(null),r=(0,o.ref)(null),i=(0,o.ref)(null),a=(0,o.ref)(null),l=(0,o.ref)(!1),s=(0,o.ref)(!1),u=(0,o.ref)({lat:40.689247,lng:-74.044502}),c=(0,o.ref)(void 0),d=(0,o.ref)(e.chapters||e.story.chapters),A=[],p={renderer:(t=rt.kz,{render:function(e){var n=e.count,o=e.position,r=document.createElement("div");r.style.position="relative",r.style.cursor="pointer";var i=document.createElement("img");i.src=t.url,i.style.width="".concat(t.width||42,"px"),i.style.height="".concat(t.height||52,"px"),i.style.display="block",r.appendChild(i);var a=document.createElement("span");return a.textContent=n,a.style.position="absolute",a.style.top="50%",a.style.left="50%",a.style.transform="translate(-50%, -65%)",a.style.color=t.textColor||"#FFFFFF",a.style.fontSize="".concat(t.textSize||14,"px"),a.style.fontWeight=t.fontWeight||"bold",r.appendChild(a),new google.maps.marker.AdvancedMarkerElement({position:o,content:r,zIndex:n})}})},f=function(){return d.value.filter((function(e){return!!e.location})).map((function(e){return{_chapter:e,position:{lat:Number(e.location.lat),lng:Number(e.location.lng)},iconUrl:rt.Fd.url,draggable:!1,labelText:"".concat(e.number)}}))},h=(0,o.reactive)(f()),m=(0,o.ref)(void 0),v=(0,o.ref)(void 0),g=(0,o.ref)(void 0),y=(0,o.ref)(void 0),b=(0,o.ref)(!1),w=(0,o.ref)(void 0);e.center&&(u.value=e.center);var L=function(){var e,t=null===(e=n.value)||void 0===e?void 0:e.map;if(t)if(h.length>1){for(var o=new google.maps.LatLngBounds,r=0;r<h.length;r++)o.extend(h[r].position);setTimeout((function(){t.fitBounds(o)}),120)}else 1===h.length?(t.setZoom(11),t.setCenter(h[0].position)):t.setZoom(11)};function C(e){return B.apply(this,arguments)}function B(){return(B=dt(tt().mark((function e(t){var n,o;return tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=h.find((function(e){return!!e.originalPosition})))){e.next=8;break}return v.value=n.position,g.value="movedactions",y.value=n,b.value=!0,setTimeout((function(){b.value=!1}),1e3),e.abrupt("return");case 8:if(k(),o=h.some((function(e){return e.draggable})),!t.placeId&&!o){e.next=14;break}return v.value=void 0,y.value=void 0,e.abrupt("return");case 14:m.value=setTimeout((function(){v.value=t.latLng,g.value="markeractions",y.value=void 0}),200);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){h.splice(0),h.push.apply(h,At(f()))}function k(){h.forEach((function(e){e.iconUrl=rt.Fd.url}))}function x(e){var t=e.originalPosition?e:h.find((function(e){return!!e.originalPosition}));if(t)return v.value=t.position,y.value=t,g.value="movedactions",void(t.iconUrl=rt.l9.url);v.value=void 0,e?(e._chapter.id&&(e.draggable=!1),e.iconUrl=rt.Fd.url):_(),w.value&&(w.value=void 0)}function S(){return(S=dt(tt().mark((function t(n){var o;return tt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n._chapter.sv_pano_id){t.next=4;break}return s.value=!0,c.value=n._chapter,t.abrupt("return");case 4:return t.prev=4,t.next=7,axios.put(route("stories.chapters.update",{story:e.story,chapter:n._chapter}),{title:n._chapter.title,content:n._chapter.content,location:n.position});case 7:"OK"===(o=t.sent).statusText&&(v.value=void 0,y.value=void 0,n.originalPosition=void 0,o.data.chapter&&(n._chapter=o.data.chapter),x(n)),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(4),console.warn(t.t0);case 14:case"end":return t.stop()}}),t,null,[[4,11]])})))).apply(this,arguments)}function E(e){c.value=void 0,w.value=void 0,(0,o.nextTick)((function(){c.value=e._chapter,w.value=e}))}return(0,o.watch)((function(){return e.chapters}),(function(e){d.value=e,h.splice(0,h.length),h.push.apply(h,At(f())),v.value=void 0,y.value=void 0,L()})),(0,o.watch)(c,(function(e){var t=h.some((function(e){return!!e.originalPosition}));void 0!==e||t||(v.value=void 0,y.value=void 0,w.value=void 0,_())})),(0,o.watch)((function(){var e;return null===(e=n.value)||void 0===e?void 0:e.ready}),(function(e){if(e){var t=n.value.map;r.value=t,L();var o=i.value;if(o){var a=new google.maps.places.PlaceAutocompleteElement({});a.placeholder="Search In Visible Area",o.appendChild(a),t.addListener("bounds_changed",(function(){a.locationBias=t.getBounds()})),a.addEventListener("input",(function(){A.forEach((function(e){return e.map=null})),A.length=0})),a.addEventListener("gmp-select",function(){var e=dt(tt().mark((function e(n){var o,r,i;return tt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.placePrediction,A.forEach((function(e){return e.map=null})),A.length=0,r=o.toPlace(),e.next=6,r.fetchFields({fields:["location","viewport","displayName"]});case 6:if(r.location){e.next=8;break}return e.abrupt("return");case 8:(i=new google.maps.marker.AdvancedMarkerElement({map:t,title:r.displayName,position:r.location})).addListener("gmp-click",(function(e){C(e)})),A.push(i),r.viewport?t.fitBounds(r.viewport):(t.setCenter(r.location),t.setZoom(15));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}})),{apiPromise:it.b3,GOOGLE_MAPS_MAP_ID:it.rz,mapRef:n,mapInstance:r,searchWra
2pperRef:i,deleteChapterBtnRef:a,showConfirmDelete:l,showSvWarning:s,center:u,clusterOptions:p,story:e.story,markers:h,mapClicked:C,mapDoubleClicked:function(e){clearTimeout(m.value),v.value=void 0,y.value=void 0},unlockMarker:function(e){v.value=void 0,e?(e.draggable=!0,e.iconUrl=rt.l9.url,w.value=e):w.value&&(w.value.draggable=!0,w.value.iconUrl=rt.l9.url)},lockMarkers:x,confirmDelete:function(e){var t;null===(t=a.value)||void 0===t||t.$el.addEventListener("click",(function(t){t.preventDefault(),function(e){var t;l.value=!1,null!==(t=e._chapter)&&void 0!==t&&t.id?ot.Inertia.delete(route("chapters.destroy",{chapter:e._chapter}),{onSuccess:function(){c.value=void 0,w.value=void 0,_()}}):(c.value=void 0,w.value=void 0,h.splice(h.findIndex((function(t){return t===e})),1),_())}(e)})),l.value=!0},markerMoved:function(e,t){var n;e.originalPosition||(e.originalPosition=e.position);var o=t.latLng||(null===(n=t.target)||void 0===n?void 0:n.position);e.position=o,e._chapter=st(st({},e._chapter),{},{lat:"function"==typeof o.lat?o.lat():o.lat,lng:"function"==typeof o.lng?o.lng():o.lng}),w.value&&(v.value=e.position,y.value=e,g.value="movedactions")},resetMove:function(e){var t=e.originalPosition;e.position=t,e._chapter=st(st({},e._chapter),{},{lat:t.lat,lng:t.lng}),e.originalPosition=void 0,v.value=void 0,y.value=void 0,x(e)},saveNewMarkerLocation:function(e){return S.apply(this,arguments)},markerClicked:function(e){w.value||(k(),v.value=e.position,y.value=e,g.value="markeractions",e.iconUrl=rt.l9.url)},openChapter:E,editingChapter:c,activeMarker:w,addMarker:function(e){var t=(null==e?void 0:e.latLng)||v.value,n=h.filter((function(e){return!!e._chapter.id})),o={position:t,draggable:!0,iconUrl:rt.Ti.url,_chapter:{location:{lat:t.lat(),lng:t.lng()}}};h.splice(0),h.push.apply(h,At(n).concat([o])),v.value=void 0,E(o)},showPopupOnLatLng:v,popupContent:g,popupActionsForMarker:y,focusPopup:b}}}),ht=(0,_e.Z)(ft,[["render",function(e,t,n,r,i,a){var l=(0,o.resolveComponent)("CustomControl"),s=(0,o.resolveComponent)("AdvancedMarker"),u=(0,o.resolveComponent)("MarkerCluster"),c=(0,o.resolveComponent)("q-icon"),d=(0,o.resolveComponent)("s-button"),A=(0,o.resolveComponent)("map-popup"),p=(0,o.resolveComponent)("GoogleMap"),f=(0,o.resolveComponent)("chapter-modal"),h=(0,o.resolveComponent)("modal");return(0,o.openBlock)(),(0,o.createElementBlock)("div",Se,[e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",Ee,[(0,o.renderSlot)(e.$slots,"title",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["chapters__map",{editing:!!e.editingChapter||!!e.popupActionsForMarker}]),id:"chapters-map-container"},[(0,o.createVNode)(p,{ref:"mapRef",class:"sq-map","api-promise":e.apiPromise,"map-id":e.GOOGLE_MAPS_MAP_ID,center:e.center,zoom:12,"disable-default-ui":!0,"zoom-control":!0,"zoom-control-position":"TOP_RIGHT","map-type-control":!0,"map-type-control-options":{mapTypeIds:["roadmap","satellite"]},"fullscreen-control":!0,onClick:e.mapClicked,onDblclick:e.mapDoubleClicked},{default:(0,o.withCtx)((function(){var n,r;return[(0,o.createVNode)(l,{position:"TOP_LEFT"},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",Te,null,512)]})),_:1}),(0,o.createVNode)(u,{options:e.clusterOptions},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.markers,(function(t,n){return(0,o.openBlock)(),(0,o.createBlock)(s,{key:"marker_".concat(t.id||"ind_"+n),options:{position:t.position,gmpDraggable:t.draggable},onDragend:function(n){return e.markerMoved(t,n)},onClick:function(n){return e.markerClicked(t)}},{content:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",Ne,[(0,o.createElementVNode)("img",{src:t.iconUrl,draggable:"false"},null,8,Fe),t.labelText?((0,o.openBlock)(),(0,o.createElementBlock)("span",Ve,(0,o.toDisplayString)(t.labelText),1)):(0,o.createCommentVNode)("",!0)])]})),_:2},1032,["options","onDragend","onClick"])})),128))]})),_:1},8,["options"]),e.showPopupOnLatLng&&e.mapInstance?((0,o.openBlock)(),(0,o.createBlock)(A,{key:0,map:e.mapInstance,latLng:e.showPopupOnLatLng,onTop:!e.popupActionsForMarker,style:(0,o.normalizeStyle)({"--popup-bubble-anchor-color":null!==(n=e.popupActionsForMarker)&&void 0!==n&&null!==(r=n._chapter)&&void 0!==r&&r.title?"movedactions"===e.popupContent?"var(--squirl-red)":"var(--squirl-orange-opaque)":""}
2),class:(0,o.normalizeClass)({"draw-attention":e.focusPopup})},{default:(0,o.withCtx)((function(){var n,r;return[(0,o.createElementVNode)("div",Oe,["markeractions"===e.popupContent?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[e.popupActionsForMarker?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",Qe,(0,o.toDisplayString)(null===(n=e.popupActionsForMarker._chapter)||void 0===n?void 0:n.title),1),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[0]||(t[0]=function(t){return e.openChapter(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"create",left:""}),qe]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[1]||(t[1]=function(t){return e.unlockMarker(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"control_camera",left:""}),Me]})),_:1})],64)):((0,o.openBlock)(),(0,o.createBlock)(d,{key:0,class:"popup__btn","no-styling":"",onClick:e.addMarker},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"add",left:""}),Ue]})),_:1},8,["onClick"]))],64)):"movedactions"===e.popupContent?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("div",Ie,(0,o.toDisplayString)(null===(r=e.popupActionsForMarker._chapter)||void 0===r?void 0:r.title),1),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[2]||(t[2]=function(t){return e.saveNewMarkerLocation(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"save",left:""}),Pe]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[3]||(t[3]=function(t){return e.unlockMarker(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"control_camera",left:""}),De]})),_:1}),(0,o.createVNode)(d,{class:"popup__btn","no-styling":"",onClick:t[4]||(t[4]=function(t){return e.resetMove(e.popupActionsForMarker)})},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(c,{name:"restart_alt",left:""}),He]})),_:1})],64)):(0,o.createCommentVNode)("",!0)])]})),_:1},8,["map","latLng","onTop","style","class"])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["api-promise","map-id","center","onClick","onDblclick"])],2),(0,o.createVNode)(f,{modelValue:e.editingChapter,"onUpdate:modelValue":t[5]||(t[5]=function(t){return e.editingChapter=t}),story:e.story},null,8,["modelValue","story"]),(0,o.createVNode)(h,{show:e.showConfirmDelete,onClose:t[7]||(t[7]=function(t){return e.showConfirmDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",Re,[je,$e,(0,o.createElementVNode)("div",ze,[(0,o.createVNode)(d,{type:"button",ref:"deleteChapterBtnRef"},{default:(0,o.withCtx)((function(){return[Ke]})),_:1},512),(0,o.createVNode)(d,{type:"button","button-style":"primary-inverse",onClick:t[6]||(t[6]=function(t){return e.showConfirmDelete=!1})},{default:(0,o.withCtx)((function(){return[We]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(h,{show:e.showSvWarning,onClose:t[9]||(t[9]=function(t){return e.showSvWarning=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",Ye,[(0,o.createElementVNode)("h2",null,[(0,o.createVNode)(c,{name:"error_outline",left:""}),Ge]),Ze,(0,o.createElementVNode)("div",Je,[(0,o.createVNode)(d,{type:"button",onClick:t[8]||(t[8]=function(t){return e.showSvWarning=!1})},{default:(0,o.withCtx)((function(){return[Xe]})),_:1})])])]})),_:1},8,["show"])])}],["__scopeId","data-v-7bd0a0b0"]]);var mt=n(2029);const vt={components:{AppLayout:ue.Z,SButton:ce.Z,Modal:de.Z,storyForm:Ae.default,ChaptersList:ke,ChaptersMap:ht,PublishButton:mt.Z,ChapterModal:pe.default},props:{author:Object,authors:Array,story:Object,storyCategories:Array},data:function(){var e=localStorage.getItem("show-beta-banner");return{showSaveFirstModal:!1,showShareDialog:!1,shareCtaText:"Copy",confirmingDelete:!1,confirmingUnpublish:!1,noLocationsAlert:!1,activeView:"list",showingChapter:null,showBetaBanner:null===e||"false"!==e}},watch:{showShareDialog:function(){var e=this;setTimeout((function(){e.shareCtaText="Copy"}),200)},showBetaBanner:function(e){localStorage.setItem("show-beta-banner",e)}},computed:{viewMapUrl:function(){return"https://maps.squirl.co/story/".concat(this.story.id)},twitterShareLink:function(){var e=encodeURIComponent("I have added ".concat(this.story.title," to the @squirlbooks app! Discover my book's real-world settings here"));return"https://twitter.com/intent/tweet?text=".concat(e,"&url=").concat(this.viewMapUrl,"&hashtags=squirl,maps&via=squirlbooks")},facebookShareLink:function(){var e=encodeURIComponent("I have added ".concat(this.story.title," to the @squirlbooks app! Discover my book's real-world settings here ").
2concat(this.viewMapUrl));return"https://www.facebook.com/dialog/share?app_id=1484551291806724&feature=share&display=popup&href=".concat(this.viewMapUrl,""e=").concat(e,"&hashtag=#squirl")}},methods:{publishAt:function(e){this.story.chapters.length?this.$refs.storyForm.publishAt(e):this.noLocationsAlert=!0},scrollToLocations:function(){var e;this.noLocationsAlert=!1;var t=null===(e=this.$refs.chaptersContainer)||void 0===e?void 0:e.offsetTop;t&&window.scrollTo(0,t)},saveStory:function(){this.$refs.storyForm.postForm(),this.showSaveFirstModal=!1},unpublishStory:function(){var e=this;this.$inertia.delete(route("stories.destroy",{story:this.story}),{data:{published:!1},onFinish:function(){e.confirmingUnpublish=!1}})},deleteStory:function(){this.$inertia.delete(route("stories.destroy",{story:this.story}),{})},toggleViews:function(){this.activeView="map"===this.activeView?"list":"map"},addChapter:function(){this.story?this.showingChapter={}:this.showSaveFirstModal=!0},copyMapUrl:function(){var e,t=this;null===(e=navigator.clipboard)||void 0===e||e.
2writeText(this.viewMapUrl).then((function(){t.shareCtaText="Copied!"}),(function(){t.shareCtaText="Could not copy to clipboard."}))}},mounted:function(){var e=this;this.beforePublishedCheck=this.$inertia.on("before",(function(t){var n,o,r,i,a;if("post"!==(null===(n=t.detail)||void 0===n||null===(o=n.visit)||void 0===o?void 0:o.method)&&(null===(r=t.detail)||void 0===r||null===(i=r.visit)||void 0===i||null===(a=i.url)||void 0===a?void 0:a.href)!==window.location.href&&e.story&&!e.story.published)return confirm("You haven't published your story. Are you sure you want to navigate away?")}))},beforeUnmount:function(){this.beforePublishedCheck()}},gt=(0,_e.Z)(vt,[["render",function(e,t,n,r,ue,ce){var de=(0,o.resolveComponent)("inertia-link"),Ae=(0,o.resolveComponent)("publish-button"),pe=(0,o.resolveComponent)("story-form"),fe=(0,o.resolveComponent)("s-button"),he=(0,o.resolveComponent)("chapters-list"),me=(0,o.resolveComponent)("chapters-map"),ve=(0,o.resolveComponent)("modal"),ge=(0,o.resolveComponent)("chapter-modal"),ye=(0,o.resolveComponent)("app-layout");return(0,o.openBlock)(),(0,o.createBlock)(ye,null,{default:(0,o.withCtx)((function(){var r,ye;return[(0,o.createElementVNode)("section",i,[(0,o.createElementVNode)("div",a,[n.author?((0,o.openBlock)(),(0,o.createBlock)(de,{key:0,href:e.route("authors.show",{author:n.author})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)(" < "+(0,o.toDisplayString)(n.author.author_name),1)]})),_:1},8,["href"])):((0,o.openBlock)(),(0,o.createBlock)(de,{key:1,href:e.route("dashboard")},{default:(0,o.withCtx)((function(){return[l]})),_:1},8,["href"])),n.story?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("h1",s,"Adding a story for "+(0,o.toDisplayString)(n.author?n.author.author_name:n.authors?n.authors.map((function(e){return e.author_name})).join(", "):""),1)),1===(null===(r=n.authors)||void 0===r?void 0:r.length)?((0,o.openBlock)(),(0,o.createBlock)(de,{key:3,class:"breadcrumbs__right",href:e.route("authors.show",{author:n.authors[0]})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(n.authors[0].author_name),1)]})),_:1},8,["href"])):null!==(ye=n.authors)&&void 0!==ye&&ye.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",u,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.authors,(function(t,r){return(0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:t.id},[(0,o.createVNode)(de,{href:e.route("authors.show",{author:t})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(t.author_name),1)]})),_:2},1032,["href"]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(r<n.authors.length-1?" | ":""),1)],64)})),128))])):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(pe,{author:n.author,authors:n.authors,storyCategories:n.storyCategories,story:n.story,ref:"storyForm"},(0,o.createSlots)({_:2},[n.story?{name:"actions",fn:(0,o.withCtx)((function(){return[(0,o.createVNode)(Ae,{class:(0,o.normalizeClass)(["action__publish",{"btn-success-alt":!n.story.published_at,"btn-primary":!!n.story.published_at}]),modelValue:n.story.published_at,"onUpdate:modelValue":t[0]||(t[0]=function(e){return n.story.published_at=e}),"with-delete":!n.story.published,"only-unpublish":n.story.published,onOnChangeAction:t[1]||(t[1]=function(e){return ce.publishAt(n.story.published_at)}),onOnSave:t[2]||(t[2]=function(e){return ce.publishAt(n.story.published_at)}),onOnDelete:t[3]||(t[3]=function(e){var t;return null!==(t=n.story)&&void 0!==t&&t.published?ue.confirmingUnpublish=!0:ue.confirmingDelete=!0})},null,8,["class","modelValue","with-delete","only-unpublish"])]}))}:void 0]),1032,["author","authors","storyCategories","story"])]),(0,o.createElementVNode)("section",c,[(0,o.createElementVNode)("div",d,[ue.showBetaBanner?((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[(0,o.createElementVNode)("div",p,[f,(0,o.createElementVNode)("button",{class:"beta-banner__header__close-button",onClick:t[4]||(t[4]=function(e){return ue.showBetaBanner=!1})},h)]),m])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",v,[(0,o.createElementVNode)("div",g,[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("h6",y,[b,(0,o.createElementVNode)("a",{class:"badge badge-danger",onClick:t[5]||(t[5]=function(e){return ue.showBetaBanner=!0})},"beta")]),w]),(0,o.createElementVNode)("div",L,[(0,o.createVNode)(fe,{type:"button","no-styling":"",class:"squirl-text-orange btn-share",onClick:t[6]||(t[6]=function(e){return ue.showShareDialog=!0})},{default:(0,o.withCtx)((function(){return[C]})),_:1}),n.story?((0,o.openBlock)(),(0,o.createBlock)(fe,{key:0,class:"btn-toggle-view",type:"button","button-style":"primary",onClick:ce.toggleViews},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)("map"==ue.activeView?"LIST":"MAP")+" VIEW",1)]})),_:1},8,["onClick"])):(0,o.createCommentVNode)("",!0)])]),n.story?((0,o.openBlock)(),(0,o.createBlock)(o.Transition,{key:0,name:"chapters-view"},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(),(0,o.createBlock)(o.KeepAlive,null,["list"===ue.activeView?((0,o.openBlock)(),(0,o.createBlock)(he,{key:0,author:n.author,story:n.story,chapters:n.story.chapters},null,8,["author","story","chapters"])):((0,o.openBlock)(),(0,o.createBlock)(me,{key:1,author:n.author,story:n.story,chapters:n.story.chapters},null,8,["author","story","chapters"]))],1024))]})),_:1})):(0,o.createCommentVNode)("",!0),"list"===ue.activeView?((0,o.openBlock)(),(0,o.createElementBlock)("div",B,[_,(0,o.createVNode)(fe,{type:"button","button-style":"primary",class:"chapter add",onClick:ce.addChapter,title:"Add a chapter"},{default:(0,o.withCtx)((function(){var e,t;return[k,(0,o.createElementVNode)("span",x,"ADD "+(0,o.toDisplayString)(null!==(e=n.story)&&void 0!==e&&null!==(t=e.chapters)&&void 0!==t&&t.length?"NEXT":"")+" LOCATION CHAPTER",1)]})),_:1},8,["onClick"])])):(0,o.createCommentVNode)("",!0)],512)])]),(0,o.createVNode)(ve,{show:ue.showSaveFirstModal,onClose:t[8]||(t[8]=function(e){return ue.showSaveFirstModal=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",S,[E,T,(0,o.createElementVNode)("div",N,[(0,o.createVNode)(fe,{type:"button",onClick:ce.saveStory},{default:(0,o.withCtx)((function(){return[F]})),_:1},8,["onClick"]),(0,o.createVNode)(fe,{type:"button","button-style":"primary-inverse",onClick:t[7]||(t[7]=function(e){return ue.showSaveFirstModal=!1})},{default:(0,o.withCtx)((function(){return[V]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(ve,{show:ue.showShareDialog,onClose:t[9]||(t[9]=function(e){return ue.showShareDialog=!1})},{default:(0,o.withCtx)((function(){var e,t;return[n.story?((0,o.openBlock)(),(0,o.createElementBlock)("div",O,[n.story.published?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("h2",null,[U,(0,o.createElementVNode)("strong",null,(0,o.toDisplayString)(n.story.title),1),Q]),null!==(e=n.story)&&void 0!==e&&null!==(t=e.chapters)&&void 0!==t&&t.length?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("a",{href:ce.viewMapUrl,target:"_blank"},(0,o.toDisplayString)(ce.viewMapUrl),9,q),(0,o.createElementVNode)("div",M,[(0,o.createVNode)(fe,{type:"button",onClick:ce.copyMapUrl},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(ue.shareCtaText),1)]})),_:1},8,["onClick"]),(0,o.createElementVNode)("a",{class:"btn btn-primary",target:"_blank",href:ce.twitterShareLink},P,8,I),(0,o.createElementVNode)("a",{class:"btn btn-primary",target:"_blank",href:ce.facebookShareLink},H,8,D)])],64)):((0,o.openBlock)(),(0,o.createElementBlock)("p",R,"You will need to add some chapters before you can share this map."))],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[j,$],64))])):(0,o.createCommentVNode)("",!0)]})),_:1},8,["show"]),(0,o.createVNode)(ve,{show:ue.confirmingUnpublish,onClose:t[11]||(t[11]=function(e){return ue.confirmingUnpublish=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",z,[K,W,(0,o.createElementVNode)("div",Y,[(0,o.createVNode)(fe,{type:"button",onClick:ce.unpublishStory},{default:(0,o.withCtx)((function(){return[G]})),_:1},8,["onClick"]),(0,o.createVNode)(fe,{type:"button","button-style":"primary-contrast",onClick:t[10
2]||(t[10]=function(e){return ue.confirmingUnpublish=!1})},{default:(0,o.withCtx)((function(){return[Z]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(ve,{show:ue.confirmingDelete,onClose:t[13]||(t[13]=function(e){return ue.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",J,[X,ee,(0,o.createElementVNode)("div",te,[(0,o.createVNode)(fe,{type:"button",onClick:ce.deleteStory},{default:(0,o.withCtx)((function(){return[ne]})),_:1},8,["onClick"]),(0,o.createVNode)(fe,{type:"button","button-style":"primary-inverse",onClick:t[12]||(t[12]=function(e){return ue.confirmingDelete=!1})},{default:(0,o.withCtx)((function(){return[oe]})),_:1})])])]})),_:1},8,["show"]),(0,o.createVNode)(ve,{show:ue.noLocationsAlert,onClose:t[14]||(t[14]=function(e){return ue.noLocationsAlert=!1})},{default:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("div",re,[ie,ae,(0,o.createElementVNode)("div",le,[(0,o.createVNode)(fe,{type:"button",onClick:ce.scrollToLocations},{default:(0,o.withCtx)((function(){return[se]})),_:1},8,["onClick"])])])]})),_:1},8,["show"]),(0,o.createVNode)(ge,{modelValue:ue.showingChapter,"onUpdate:modelValue":t[15]||(t[15]=function(e){return ue.showingChapter=e}),story:n.story},null,8,["modelValue","story"])]})),_:1})}],["__scopeId","data-v-c0d44fd2"]])},912:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>P});var o=n(3868),r=function(e){return(0,o.pushScopeId)("data-v-7ba6e9b6"),e=e(),(0,o.popScopeId)(),e},i={class:"description"},a=["src"],l={class:"q-select-small__selected"},s=(0,o.createTextVNode)(" No Overlay "),u=(0,o.createTextVNode)("change cover"),c={class:"description__data__wrapper"},d={key:0,class:"description__data__info"},A={key:0,class:"text-success"},p={key:1,class:"text-success"},f={key:2,class:"text-danger"},h={class:"description__data"},m=["readonly"],v=["readonly"],g=["readonly"],y={class:"description__information"},b=r((function(){return(0,o.createElementVNode)("div",{class:"description__information__header"},"Add more info",-1)})),w={class:"description__information__content"},L={class:"description__information__field"},C=(0,o.createTextVNode)("Genre"),B={class:"description__information__field"},_=(0,o.createTextVNode)(" Main publication language "),k=(0,o.createTextVNode)(" Language "),x={class:"description__information__field"},S=(0,o.createTextVNode)("Publication Date"),E=(0,o.createTextVNode)(" Save "),T=(0,o.createTextVNode)("Save");var N=n(9828),F=n(8316),V=n(2099),O=n(6076),U=n(7936),Q=n(1865),q=n(9826),M=n(626);const I={mixins:[Q.Z],components:{Datepicker:F.Z,DataProperty:V.Z,SButton:O.Z,STxtButton:U.Z,ToastMessage:q.Z},props:{story:{type:Object,required:!1},author:Object,authors:Array,storyCategories:{type:Array,default:[]}},watch:{"form.image":function(e){var t=this;if(this.imagePreview=null,e){if(e instanceof File){var n=new FileReader;return n.onload=function(e){t.imagePreview=e.target.result},n.readAsDataURL(e),void(0,M.Fq)(e).then((function(e){t.form.image=e})).catch((function(e){console.error(e),t.$q.dialog({html:!0,title:"Image Error",message:"".concat(e,"<br>Please use a different image..."),rounded:!0,ok:{rounded:!0}}).onDismiss((function(){t.form.image=void 0}))}))}this.form.image=e}},formDirty:function(e){e&&!this.form.processing&&this.invokeSave()},editingData:function(e){e||this.invokeSave()}},computed:{storyImage:function(){return this.imagePreview?this.imagePreview:this.isURL(this.form.image)?this.form.image:route("api.image-placeholder")}},data:function(){var e,t,n,o,r,i,a,l,s,u,c,d;return{ERRORBAG:"storyInput",editingData:!this.story,debounceTimeout:void 0,showManualSave:!1,imageDragging:!1,imagePreview:(null===(e=this.story)||void 0===e||null===(t=e.image)||void 0===t?void 0:t.public_path)||null,showToast:!1,toastMessage:"",toastY:null,titleOverlayValues:{top:"Top",center:"Center",bottom:"Bottom",none:"No Overlay"},form:this.$inertia.form({_method:this.story?"PUT":"POST",title:(null===(n=this.story)||void 0===n?void 0:n.title)||null,subtitle:(null===(o=this.story)||void 0===o?void 0:o.subtitle)||null,description:(null===(r=this.story)||void 0===r?void 0:r.description)||null,categories:(null===(i=this.story)||void 0===i?void 0:i.categories.map((function(e){return e.id})))||null,language_id:(null===(a=this.story)||void 0===a?void 0:a.language_id)||null,published_date:this.story&&this.story.published_date?new Date(this.story.published_date):null,image:null,title_overlay_position:(null===(l=this.story)||void 0===l||null===(s=l.image)||void 0===s||null===(u=s.meta)||void 0===u?void 0:u.overlay_position)||"center",authors:(null===(c=this.authors)||void 0===c?void 0:c.map((function(e){return e.id})))||null,published_at:null!==(d=this.story)&&void 0!==d&&d.published_at?new Date(this.story.published_at):null},{bag:this.ERRORBAG,resetOnSuccess:!1})}},methods:{publishAt:function(e){this.form.published_at=e||new Date,this.postForm()},invokeSave:function(){var e=this;this.debounceTimeout&&window.clearTimeout(this.debounceTimeout),this.story&&!this.editingData&&(this.debounceTimeout=window.setTimeout((function(){e.postForm()}),900))},postForm:function(){var e=this;this.form._method=this.story?"PUT":"POST",this.form.published_at instanceof Date&&(this.form.published_at=N.hTZ.formatDate(this.form.published_at,"YYYY-MM-DD",{}
2)),this.form.processing=!0,this.showFeedback("Saving Data...");var t="stories.".concat(this.story?"update":"store"),n={story:this.story};!this.story&&this.author&&(t="authors.".concat(t),n.author=this.author),t=route(t,n),this.form.post(t,{preserveScroll:!0,onSuccess:function(){e.restartFormTracking(),e.formDirty=!1,e.showManualSave=!1,e.showFeedback("Changes saved!")},onError:function(){e.showFeedback("Changes were NOT saved!"),e.showManualSave=!0},onFinish:function(){e.editingData=!1}})},openGallery:function(){this.$refs.imageInput.click()},draggingOver:function(e){this.imageDragging=!0,e.preventDefault(),e.stopPropagation()},notDraggingOver:function(){this.imageDragging=!1},fileSelected:function(e){e.target.files.length&&(this.form.image=e.target.files[0])},fileDropped:function(e){if(e.preventDefault(),e.stopPropagation(),this.notDraggingOver(),e.dataTransfer.items){for(var t=0;t<e.dataTransfer.items.length;t++)if("file"===e.dataTransfer.items[t].kind){this.form.image=e.dataTransfer.items[t].getAsFile();break}}else e.dataTransfer.files.length&&(this.form.image=e.dataTransfer.files[t])},showFeedback:function(e){this.toastMessage=e,this.showToast=!0},formatPublishDate:function(e){return N.hTZ.formatDate(e,"MMM. Do YYYY",{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:1,format24h:!0,pluralDay:"days"})}},mounted:function(){var e=this;this.removeBeforeListener=this.$inertia.on("before",(function(t){if(e.formDirty&&!e.form.processing&&!e.form.wasSuccessful){var n=confirm("You have unsaved data. Are you sure you want to navigate away?");return n||e.$refs.saveButton.$el.focus(),n}}));var t=this.$refs.form.getBoundingClientRect();this.toastY=t.top+.5*t.height,this.toastY<160&&(this.toastY=160)},beforeUnmount:function(){this.removeBeforeListener()}};const P=(0,n(3744).Z)(I,[["render",function(e,t,n,r,N,F){var V,O,U,Q,q=(0,o.resolveComponent)("q-item-label"),M=(0,o.resolveComponent)("q-item-section"),I=(0,o.resolveComponent)("q-item"),P=(0,o.resolveComponent)("q-select"),D=(0,o.resolveComponent)("s-txt-button"),H=(0,o.resolveComponent)("data-property"),R=(0,o.resolveComponent)("s-button"),j=(0,o.resolveComponent)("toast-message");return(0,o.openBlock)(),(0,o.createElementBlock)("form",{class:"container full",onSubmit:t[18]||(t[18]=(0,o.withModifiers)((function(){return F.postForm&&F.postForm.apply(F,arguments)}),["prevent"])),ref:"form"},[(0,o.createElementVNode)("div",i,[(0,o.createElementVNode)("div",{class:"description__image",onDrop:t[2]||(t[2]=function(){return F.fileDropped&&F.fileDropped.apply(F,arguments)}),onDragover:t[3]||(t[3]=function(){return F.draggingOver&&F.draggingOver.apply(F,arguments)}),onDragleave:t[4]||(t[4]=function(){return F.notDraggingOver&&F.notDraggingOver.apply(F,arguments)})},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image",N.imageDragging?"drag-over":""])},[(0,o.createElementVNode)("img",{src:F.storyImage},null,8,a),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["description__image__image__overlay",N.form.title_overlay_position])},(0,o.toDisplayString)(N.form.title),3)],2),(0,o.createVNode)(P,{class:"q-select-small",borderless:"",rounded:"",outlined:"","input-debounce":"0",label:"Title Overlay",modelValue:N.form.title_overlay_position,"onUpdate:modelValue":t[0]||(t[0]=function(e){return N.form.title_overlay_position=e}),options:["top","center","bottom","none"]},{option:(0,o.withCtx)((function(e){return[(0,o.createVNode)(I,(0,o.normalizeProps)((0,o.guardReactiveProps)(e.itemProps)),{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(M,null,{default:(0,o.withCtx)((function(){return[(0,o.createVNode)(q,null,{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(N.titleOverlayValues[e.opt]),1)]})),_:2},1024)]})),_:2},1024)]})),_:2},1040)]})),selected:(0,o.withCtx)((function(){return[(0,o.createElementVNode)("span",l,["none"!==N.form.title_overlay_position?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createTextVNode)(" Position: "+(0,o.toDisplayString)(N.titleOverlayValues[N.form.t
2itle_overlay_position]),1)],64)):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[s],64))])]})),_:1},8,["modelValue"]),(0,o.createElementVNode)("input",{type:"file",accept:"image/*",style:{display:"none"},ref:"imageInput",onChange:t[1]||(t[1]=function(){return F.fileSelected&&F.fileSelected.apply(F,arguments)})},null,544),(0,o.createVNode)(D,{"no-styling":"","button-style":"txt-info",class:"description__image__action",onClick:(0,o.withModifiers)(F.openGallery,["prevent"])},{default:(0,o.withCtx)((function(){return[u]})),_:1},8,["onClick"])],32),(0,o.createElementVNode)("div",c,[n.story?((0,o.openBlock)(),(0,o.createElementBlock)("div",d,[n.story.published?((0,o.openBlock)(),(0,o.createElementBlock)("span",A,"currently published")):n.story.published_at?((0,o.openBlock)(),(0,o.createElementBlock)("span",p," Will be published on "+(0,o.toDisplayString)(F.formatPublishDate(n.story.published_at)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("span",f,"currently not published")),(0,o.renderSlot)(e.$slots,"actions",{},void 0,!0)])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",h,[(0,o.createElementVNode)("h1",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Title","onUpdate:modelValue":t[5]||(t[5]=function(e){return N.form.title=e}),required:"",class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("title")}]),onFocus:t[6]||(t[6]=function(e){return N.editingData=!0}),onBlur:t[7]||(t[7]=function(e){return N.editingData=!1}),readonly:!N.editingData},null,42,m),[[o.vModelText,N.form.title]])]),(0,o.createElementVNode)("h2",null,[(0,o.withDirectives)((0,o.createElementVNode)("input",{type:"text",placeholder:"Subtitle","onUpdate:modelValue":t[8]||(t[8]=function(e){return N.form.subtitle=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("subtitle")}]),onFocus:t[9]||(t[9]=function(e){return N.editingData=!0}),onBlur:t[10]||(t[10]=function(e){return N.editingData=!1}),readonly:!N.editingData},null,42,v),[[o.vModelText,N.form.subtitle]])]),(0,o.withDirectives)((0,o.createElementVNode)("textarea",{type:"text",placeholder:"Description","onUpdate:modelValue":t[11]||(t[11]=function(e){return N.form.description=e}),class:(0,o.normalizeClass)(["form-control",{"is-invalid":e.hasError("description")}]),rows:"5",onFocus:t[12]||(t[12]=function(e){return N.editingData=!0}),onBlur:t[13]||(t[13]=function(e){return N.editingData=!1}),readonly:!N.editingData},null,42,g),[[o.vModelText,N.form.description]])]),(0,o.createElementVNode)("div",y,[b,(0,o.createElementVNode)("div",w,[(0,o.createElementVNode)("div",L,[(0,o.createVNode)(H,{placeholder:"Genre",modelValue:N.form.categories,"onUpdate:modelValue":t[14]||(t[14]=function(e){return N.form.categories=e}),label:null===(V=n.story)||void 0===V||null===(O=V.categories)||void 0===O?void 0:O.map((function(e){return e.category_name})).join(", "),type:"select-pills","select-options-res":"categories","emoji-icon":"ð§",error:e.getError("categories")},{default:(0,o.withCtx)((function(){return[C]})),_:1},8,["modelValue","label","error"])]),(0,o.createElementVNode)("div",B,[(0,o.createVNode)(H,{placeholder:"Language",modelValue:N.form.language_id,"onUpdate:modelValue":t[15]||(t[15]=function(e){return N.form.language_id=e}),label:null===(U=n.story)||void 0===U||null===(Q=U.language)||void 0===Q?void 0:Q.name,type:"select","select-options-res":"language","emoji-icon":"ð",error:e.getError("language_id")},{helperText:(0,o.withCtx)((function(){return[_]})),default:(0,o.withCtx)((function(){return[k]})),_:1},8,["modelValue","label","error"])]),(0,o.createElementVNode)("div",x,[(0,o.createVNode)(H,{placeholder:"mm-dd-yyyy",modelValue:N.form.published_date,"onUpdate:modelValue":t[16]||(t[16]=function(e){return N.form.published_date=e}),type:"date",error:e.getError("published_date"),"emoji-icon":"ð
"},{default:(0,o.withCtx)((function(){return[S]})),_:1},8,["modelValue","error"])])]),n.story?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[N.showManualSave?((0,o.openBlock)(),(0,o.createBlock)(R,{key:0,class:"description__save","button-style":"primary-inverse",disabled:!e.formDirty,title:e.formDirty?"Save Changes":"No Changes - no need to save",ref:"saveButton"},{default:(0,o.withCtx)((function(){return[E]})),_:1},8,["disabled","title"])):(0,o.createCommentVNode)("",!0)],64)):((0,o.openBlock)(),(0,o.createBlock)(R,{key:1,"button-style":"primary",class:"description__save",title:"Save Story",onClick:(0,o.withModifiers)(F.postForm,["prevent"])},{default:(0,o.withCtx)((function(){return[T]})),_:1},8,["onClick"]))])])]),(0,o.createVNode)(j,{active:N.showToast,"onUpdate:active":t[17]||(t[17]=function(e){return N.showToast=e}),style:(0,o.normalizeStyle)(N.toastY?{top:"".concat(N.toastY,"px")}:{})},{default:(0,o.withCtx)((function(){return[(0,o.createTextVNode)((0,o.toDisplayString)(N.toastMessage),1)]})),_:1},8,["active","style"])],544)}],["__scopeId","data-v-7ba6e9b6"]])},7042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var o=n(3868),r=[(0,o.createElementVNode)("h1",null,"Squirl Author Tool",-1)];const i={};const a=(0,n(3744).Z)(i,[["render",function(e,t,n,i,a,l){return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,r)}]])},3868:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>r.P$,Comment:()=>r.sv,EffectScope:()=>r.Bj,Fragment:()=>r.HY,KeepAlive:()=>r.Ob,ReactiveEffect:()=>r.qq,Static:()=>r.qG,Suspense:()=>r.n4,Teleport:()=>r.lR,Text:()=>r.xv,Transition:()=>re,TransitionGroup:()=>Le,VueElement:()=>Z,callWithAsyncErrorHandling:()=>r.$d,callWithErrorHandling:()=>r.KU,camelize:()=>r._A,capitalize:()=>r.kC,cloneVNode:()=>r.Ho,compatUtils:()=>r.ry,compile:()=>mi,computed:()=>r.Fl,createApp:()=>Xe,createBlock:()=>r.j4,createCommentVNode:()=>r.kq,createElementBlock:()=>r.iD,createElementVNode:()=>r._,createHydrationRenderer:()=>r.Eo,createPropsRestProxy:()=>r.p1,createRenderer:()=>r.Us,createSSRApp:()=>et,createSlots:()=>r.Nv,createStaticVNode:()=>r.uE,createTextVNode:()=>r.Uk,createVNode:()=>r.Wm,customRef:()=>r.ZM,defineAsyncComponent:()=>r.RC,defineComponent:()=>r.aZ,defineCustomElement:()=>W,defineEmits:()=>r.Bz,defineExpose:()=>r.WY,defineProps:()=>r.MW,defineSSRCustomElement:()=>Y,devtools:()=>r.mW,effect:()=>r.cE,effectScope:()=>r.B,getCurrentInstance:()=>r.FN,getCurrentScope:()=>r.nZ,getTransitionRawChildren:()=>r.Q6,guardReactiveProps:()=>r.F4,h:()=>r.h,handleError:()=>r.S3,hydrate:()=>Je,initCustomFormatter:()=>
2r.Mr,initDirectivesForSSR:()=>ot,inject:()=>r.f3,isMemoSame:()=>r.nQ,isProxy:()=>r.X3,isReactive:()=>r.PG,isReadonly:()=>r.$y,isRef:()=>r.dq,isRuntimeOnly:()=>r.of,isShallow:()=>r.yT,isVNode:()=>r.lA,markRaw:()=>r.Xl,mergeDefaults:()=>r.u_,mergeProps:()=>r.dG,nextTick:()=>r.Y3,normalizeClass:()=>r.C_,normalizeProps:()=>r.vs,normalizeStyle:()=>r.j5,onActivated:()=>r.dl,onBeforeMount:()=>r.wF,onBeforeUnmount:()=>r.Jd,onBeforeUpdate:()=>r.Xn,onDeactivated:()=>r.se,onErrorCaptured:()=>r.d1,onMounted:()=>r.bv,onRenderTracked:()=>r.bT,onRenderTriggered:()=>r.Yq,onScopeDispose:()=>r.EB,onServerPrefetch:()=>r.vl,onUnmounted:()=>r.Ah,onUpdated:()=>r.ic,openBlock:()=>r.wg,popScopeId:()=>r.Cn,provide:()=>r.JJ,proxyRefs:()=>r.WL,pushScopeId:()=>r.dD,queuePostFlushCb:()=>r.qb,reactive:()=>r.qj,readonly:()=>r.OT,ref:()=>r.iH,registerRuntimeCompiler:()=>r.Y1,render:()=>Ze,renderList:()=>r.Ko,renderSlot:()=>r.WI,resolveComponent:()=>r.up,resolveDirective:()=>r.Q2,resolveDynamicComponent:()=>r.LL,resolveFilter:()=>r.eq,resolveTransitionHooks:()=>r.U2,setBlockTracking:()=>r.qZ,setDevtoolsHook:()=>r.ec,setTransitionHooks:()=>r.nK,shallowReactive:()=>r.Um,shallowReadonly:()=>r.YS,shallowRef:()=>r.XI,ssrContextKey:()=>r.Uc,ssrUtils:()=>r.G,stop:()=>r.sT,toDisplayString:()=>r.zw,toHandlerKey:()=>r.hR,toHandlers:()=>r.mx,toRaw:()=>r.IU,toRef:()=>r.Vh,toRefs:()=>r.BK,transformVNodeArgs:()=>r.C3,triggerRef:()=>r.oR,unref:()=>r.SU,useAttrs:()=>r.l1,useCssModule:()=>J,useCssVars:()=>X,useSSRContext:()=>r.Zq,useSlots:()=>r.Rr,useTransitionState:()=>r.Y8,vModelCheckbox:()=>Te,vModelDynamic:()=>qe,vModelRadio:()=>Fe,vModelSelect:()=>Ve,vModelText:()=>Ee,vShow:()=>je,version:()=>r.i8,warn:()=>r.ZK,watch:()=>r.YP,watchEffect:()=>r.m0,watchPostEffect:()=>r.Rh,watchSyncEffect:()=>r.yX,withAsyncContext:()=>r.mv,withCtx:()=>r.w5,withDefaults:()=>r.b9,withDirectives:()=>r.wy,withKeys:()=>Re,withMemo:()=>r.MX,withModifiers:()=>De,withScopeId:()=>r.HX});var o={};n.r(o),n.d(o,{BaseTransition:()=>r.P$,Comment:()=>r.sv,EffectScope:()=>r.Bj,Fragment:()=>r.HY,KeepAlive:()=>r.Ob,ReactiveEffect:()=>r.qq,Static:()=>r.qG,Suspense:()=>r.n4,Teleport:()=>r.lR,Text:()=>r.xv,Transition:()=>re,TransitionGroup:()=>Le,VueElement:()=>Z,callWithAsyncErrorHandling:()=>r.$d,callWithErrorHandling:()=>r.KU,camelize:()=>r._A,capitalize:()=>r.kC,cloneVNode:()=>r.Ho,compatUtils:()=>r.ry,computed:()=>r.Fl,createApp:()=>Xe,createBlock:()=>r.j4,createCommentVNode:()=>r.kq,createElementBlock:()=>r.iD,createElementVNode:()=>r._,createHydrationRenderer:()=>r.Eo,createPropsRestProxy:()=>r.p1,createRenderer:()=>r.Us,createSSRApp:()=>et,createSlots:()=>r.Nv,createStaticVNode:()=>r.uE,createTextVNode:()=>r.Uk,createVNode:()=>r.Wm,customRef:()=>r.ZM,defineAsyncComponent:()=>r.RC,defineComponent:()=>r.aZ,defineCustomElement:()=>W,defineEmits:()=>r.Bz,defineExpose:()=>r.WY,defineProps:()=>r.MW,defineSSRCustomElement:()=>Y,devtools:()=>r.mW,effect:()=>r.cE,effectScope:()=>r.B,getCurrentInstance:()=>r.FN,getCurrentScope:()=>r.nZ,getTransitionRawChildren:()=>r.Q6,guardReactiveProps:()=>r.F4,h:()=>r.h,handleError:()=>r.S3,hydrate:()=>Je,initCustomFormatter:()=>r.Mr,initDirectivesForSSR:()=>ot,inject:()=>r.f3,isMemoSame:()=>r.nQ,isProxy:()=>r.X3,isReactive:()=>r.PG,isReadonly:()=>r.$y,isRef:()=>r.dq,isRuntimeOnly:()=>r.of,isShallow:()=>r.yT,isVNode:()=>r.lA,markRaw:()=>r.Xl,mergeDefaults:()=>r.u_,mergeProps:()=>r.dG,nextTick:()=>r.Y3,normalizeClass:()=>r.C_,normalizeProps:()=>r.vs,normalizeStyle:()=>r.j5,onActivated:()=>r.dl,onBeforeMount:()=>r.wF,onBeforeUnmount:()=>r.Jd,onBeforeUpdate:()=>r.Xn,onDeactivated:()=>r.se,onErrorCaptured:()=>r.d1,onMounted:()=>r.bv,onRenderTracked:()=>r.bT,onRenderTriggered:()=>r.Yq,onScopeDispose:()=>r.EB,onServerPrefetch:()=>r.vl,onUnmounted:()=>r.Ah,onUpdated:()=>r.ic,openBlock:()=>r.wg,popScopeId:()=>r.Cn,provide:()=>r.JJ,proxyRefs:()=>r.WL,pushScopeId:()=>r.dD,queuePostFlushCb:()=>r.qb,reactive:()=>r.qj,readonly:()=>r.OT,ref:()=>r.iH,registerRuntimeCompiler:()=>r.Y1,render:()=>Ze,renderList:()=>r.Ko,renderSlot:()=>r.WI,resolveComponent:()=>r.up,resolveDirective:()=>r.Q2,resolveDynamicComponent:()=>r.LL,resolveFilter:()=>r.eq,resolveTransitionHooks:()=>r.U2,setBlockTracking:()=>r.qZ,setDevtoolsHook:()=>r.ec,setTransitionHooks:()=>r.nK,shallowReactive:()=>r.Um,shallowReadonly:()=>r.YS,shallowRef:()=>r.XI,ssrContextKey:()=>r.Uc,ssrUtils:()=>r.G,stop:()=>r.sT,toDisplayString:()=>r.zw,toHandlerKey:()=>r.hR,toHandlers:()=>r.mx,toRaw:()=>r.IU,toRef:()=>r.Vh,toRefs:()=>r.BK,transformVNodeArgs:()=>r.C3,triggerRef:()=>r.oR,unref:()=>r.SU,useAttrs:()=>r.l1,useCssModule:()=>J,useCssVars:()=>X,useSSRContext:()=>r.Zq,useSlots:()=>r.Rr,useTransitionState:()=>r.Y8,vModelCheckbox:()=>Te,vModelDynamic:()=>qe,vModelRadio:()=>Fe,vModelSelect:()=>Ve,vModelText:()=>Ee,vShow:()=>je,version:()=>r.i8,warn:()=>r.ZK,watch:()=>r.YP,watchEffect:()=>r.m0,watchPostEffect:()=>r.Rh,watchSyncEffect:()=>r.yX,withAsyncContext:()=>r.mv,withCtx:()=>r.w5,withDefaults:()=>r.b9,withDirectives:()=>r.wy,withKeys:()=>Re,withMemo:()=>r.MX,withModifiers:()=>De,withScopeId:()=>r.HX});var r=n(6252),i=n(6612),a=n(2931);function l(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",u=l(s);function c(e){return!!e||""===e}function d(e,t){if(e===t)return!0;let n=g(e),o=g(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=m(e),o=m(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=d(e[o],t[o]);return n}(e,t);if(n=w(e),o=w(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!d(e[n],t[n]))return!1}}return String(e)===String(t)}function A(e,t){return e.findIndex((e=>d(e,t)))}const p={},f=/^on[^a-z]/,h=Object.assign,m=(Object.prototype.hasOwnProperty,Array.isArray),v=e=>"[object Set]"===C(e),g=e=>e instanceof Date,y=e=>
2"function"==typeof e,b=e=>"string"==typeof e,w=e=>null!==e&&"object"==typeof e,L=Object.prototype.toString,C=e=>L.call(e),B=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_=/-(\w)/g,k=B((e=>e.replace(_,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,S=B((e=>e.replace(x,"-$1").toLowerCase())),E=B((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=(B((e=>e?`on${E(e)}`:"")),e=>{const t=parseFloat(e);return isNaN(t)?e:t});const N="undefined"!=typeof document?document:null,F=N&&N.createElement("template"),V={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?N.createElementNS("http://www.w3.org/2000/svg",e):N.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>N.createTextNode(e),createComment:e=>N.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>N.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{F.innerHTML=o?`<svg>${e}</svg>`:e;const r=F.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const O=/\s*!important$/;function U(e,t,n){if(m(n))n.forEach((n=>U(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=q[t];if(n)return n;let o=(0,i._A)(t);if("filter"!==o&&o in e)return q[t]=o;o=E(o);for(let n=0;n<Q.length;n++){const r=Q[n]+o;if(r in e)return q[t]=r}return t}(e,t);O.test(n)?e.setProperty(S(o),n.replace(O,""),"important"):e[o]=n}}const Q=["Webkit","Moz","ms"],q={};const M="http://www.w3.org/1999/xlink";let I=Date.now,P=!1;if("undefined"!=typeof window){I()>document.createEvent("Event").timeStamp&&(I=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);P=!!(e&&Number(e[1])<=53)}let D=0;const H=Promise.resolve(),R=()=>{D=0};function j(e,t,n,o){e.addEventListener(t,n,o)}function $(e,t,n,o,i=null){const a=e._vei||(e._vei={}),l=a[t];if(o&&l)l.value=o;else{const[n,s]=function(e){let t;if(z.test(e)){let n;for(t={};n=e.match(z);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[S(e.slice(2)),t]}(t);if(o){const l=a[t]=function(e,t){const n=e=>{const o=e.timeStamp||I();(P||o>=n.attached-1)&&(0,r.$d)(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=(()=>D||(H.then(R),D=I()))(),n}(o,i);j(e,n,l,s)}else l&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,l,s),a[t]=void 0)}}const z=/(?:Once|Passive|Capture)$/;const K=/^on[a-z]/;function W(e,t){const n=(0,r.aZ)(e);class o extends Z{constructor(e){super(n,e,t)}}return o.def=n,o}const Y=e=>W(e,Je),G="undefined"!=typeof HTMLElement?HTMLElement:class{};class Z extends G{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,(0,r.Y3)((()=>{this._connected||(Ze(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,o=!m(t),r=t?o?Object.keys(t):t:[];let i;if(o)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=T(this._props[e]),(i||(i=Object.create(null)))[e]=!0)}this._numberProps=i;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of r.map(k))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=T(t)),this._setProp(k(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(S(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(S(e),t+""):t||this.removeAttribute(S(e))))}
2_update(){Ze(this._createVNode(),this.shadowRoot)}_createVNode(){const e=(0,r.Wm)(this._def,h({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Z){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function J(e="$style"){{const t=(0,r.FN)();if(!t)return p;const n=t.type.__cssModules;if(!n)return p;const o=n[e];return o||p}}function X(e){const t=(0,r.FN)();if(!t)return;const n=()=>ee(t.subTree,e(t.proxy));(0,r.Rh)(n),(0,r.bv)((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),(0,r.Ah)((()=>e.disconnect()))}))}function ee(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ee(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)te(e.el,t);else if(e.type===r.HY)e.children.forEach((e=>ee(e,t)));else if(e.type===r.qG){let{el:n,anchor:o}=e;for(;n&&(te(n,t),n!==o);)n=n.nextSibling}}function te(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const ne="transition",oe="animation",re=(e,{slots:t})=>(0,r.h)(r.P$,ue(e),t);re.displayName="Transition";const ie={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},ae=re.props=h({},r.P$.props,ie),le=(e,t=[])=>{m(e)?e.forEach((e=>e(...t))):e&&e(...t)},se=e=>!!e&&(m(e)?e.some((e=>e.length>1)):e.length>1);function ue(e){const t={};for(const n in e)n in ie||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:u=a,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:A=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;if(w(e))return[ce(e.enter),ce(e.leave)];{const t=ce(e);return[t,t]}}(r),m=f&&f[0],v=f&&f[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:b,onLeave:L,onLeaveCancelled:C,onBeforeAppear:B=g,onAppear:_=y,onAppearCancelled:k=b}=t,x=(e,t,n)=>{Ae(e,t?c:l),Ae(e,t?u:a),n&&n()},S=(e,t)=>{Ae(e,p),Ae(e,A),t&&t()},E=e=>(t,n)=>{const r=e?_:y,a=()=>x(t,e,n);le(r,[t,a]),pe((()=>{Ae(t,e?s:i),de(t,e?c:l),se(r)||he(t,o,m,a)}))};return h(t,{onBeforeEnter(e){le(g,[e]),de(e,i),de(e,a)},onBeforeAppear(e){le(B,[e]),de(e,s),de(e,u)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){const n=()=>S(e,t);de(e,d),ye(),de(e,A),pe((()=>{Ae(e,d),de(e,p),se(L)||he(e,o,v,n)})),le(L,[e,n])},onEnterCancelled(e){x(e,!1),le(b,[e])},onAppearCancelled(e){x(e,!0),le(k,[e])},onLeaveCancelled(e){S(e),le(C,[e])}})}function ce(e){return T(e)}function de(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Ae(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function pe(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let fe=0;function he(e,t,n,o){const r=e._endId=++fe,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:s}=me(e,t);if(!a)return o();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,A),i()},A=t=>{t.target===e&&++c>=s&&d()};setTimeout((()=>{c<s&&d()}),l+1),e.addEventListener(u,A)}function me(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),a=ve(r,i),l=o("animationDelay"),s=o("animationDuration"),u=ve(l,s);let c=null,d=0,A=0;t===ne?a>0&&(c=ne,d=a,A=i.length):t===oe?u>0&&(c=oe,d=u,A=s.length):(d=Math.max(a,u),c=d>0?a>u?ne:oe:null,A=c?c===ne?i.length:s.length:0);return{type:c,timeout:d,propCount:A,hasTransform:c===ne&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function ve(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>ge(t)+ge(e[n]))))}function ge(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ye(){return document.body.offsetHeight}const be=new WeakMap,we=new WeakMap,Le={name:"TransitionGroup",props:h({},ae,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,r.FN)(),o=(0,r.Y8)();let i,l;return(0,r.ic)((()=>
2{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:i}=me(o);return r.removeChild(o),i}(i[0].el,n.vnode.el,t))return;i.forEach(Ce),i.forEach(Be);const o=i.filter(_e);ye(),o.forEach((e=>{const n=e.el,o=n.style;de(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,Ae(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=(0,a.IU)(e),u=ue(s);let c=s.tag||r.HY;i=l,l=t.default?(0,r.Q6)(t.default()):[];for(let e=0;e<l.length;e++){const t=l[e];null!=t.key&&(0,r.nK)(t,(0,r.U2)(t,u,o,n))}if(i)for(let e=0;e<i.length;e++){const t=i[e];(0,r.nK)(t,(0,r.U2)(t,u,o,n)),be.set(t,t.el.getBoundingClientRect())}return(0,r.Wm)(c,null,l)}}};function Ce(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Be(e){we.set(e,e.el.getBoundingClientRect())}function _e(e){const t=be.get(e),n=we.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const ke=e=>{const t=e.props["onUpdate:modelValue"];return m(t)?e=>((e,t)=>{for(let n=0;n<e.length;n++)e[n](t)})(t,e):t};function xe(e){e.target.composing=!0}function Se(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Ee={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=ke(r);const i=o||r.props&&"number"===r.props.type;j(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():i&&(o=T(o)),e._assign(o)})),n&&j(e,"change",(()=>{e.value=e.value.trim()})),t||(j(e,"compositionstart",xe),j(e,"compositionend",Se),j(e,"change",Se))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e._assign=ke(i),e.composing)return;if(document.activeElement===e){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&T(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},Te={deep:!0,created(e,t,n){e._assign=ke(n),j(e,"change",(()=>{const t=e._modelValue,n=Ue(e),o=e.checked,r=e._assign;if(m(t)){const e=A(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(v(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Qe(e,o))}))},mounted:Ne,beforeUpdate(e,t,n){e._assign=ke(n),Ne(e,t,n)}};function Ne(e,{value:t,oldValue:n},o){e._modelValue=t,m(t)?e.checked=A(t,o.props.value)>-1:v(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=d(t,Qe(e,!0)))}const Fe={created(e,{value:t},n){e.checked=d(t,n.props.value),e._assign=ke(n),j(e,"change",(()=>{e._assign(Ue(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=ke(o),t!==n&&(e.checked=d(t,o.props.value))}},Ve={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=v(t);j(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?T(Ue(e)):Ue(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=ke(o)},mounted(e,{value:t}){Oe(e,t)},beforeUpdate(e,t,n){e._assign=ke(n)},updated(e,{value:t}){Oe(e,t)}};function Oe(e,t){const n=e.multiple;if(!n||m(t)||v(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],i=Ue(r);if(n)m(t)?r.selected=A(t,i)>-1:r.selected=t.has(i);else if(d(Ue(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ue(e){return"_value"in e?e._value:e.value}function Qe(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const qe={created(e,t,n){Me(e,t,n,null,"created")},mounted(e,t,n){Me(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Me(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Me(e,t,n,o,"updated")}};function Me(e,t,n,o,r){let i;switch(e.tagName){case"SELECT":i=Ve;break;case"TEXTAREA":i=Ee;break;default:switch(n.props&&n.props.type){case"checkbox":i=Te;break;case"radio":i=Fe;break;default:i=Ee}}const a=i[r];a&&a(e,t,n,o)}const Ie=["ctrl","shift","alt","meta"],Pe={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)=>
2Ie.some((n=>e[`${n}Key`]&&!t.includes(n)))},De=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=Pe[t[e]];if(o&&o(n,t))return}return e(n,...o)},He={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Re=(e,t)=>n=>{if(!("key"in n))return;const o=S(n.key);return t.some((e=>e===o||He[e]===o))?e(n):void 0},je={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):$e(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),$e(e,!0),o.enter(e)):o.leave(e,(()=>{$e(e,!1)})):$e(e,t))},beforeUnmount(e,{value:t}){$e(e,t)}};function $e(e,t){e.style.display=t?e._vod:"none"}const ze=h({patchProp:(e,t,n,o,r=!1,i,a,l,s)=>{"class"===t?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,r):"style"===t?function(e,t,n){const o=e.style,r=b(n);if(n&&!r){for(const e in n)U(o,e,n[e]);if(t&&!b(t))for(const e in t)null==n[e]&&U(o,e,"")}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}(e,n,o):(e=>f.test(e))(t)?(e=>e.startsWith("onUpdate:"))(t)||$(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&K.test(t)&&y(n));if("spellcheck"===t||"draggable"===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(K.test(t)&&b(n))return!1;return t in e}(e,t,o,r))?function(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const o=typeof e[t];if("boolean"===o)return void(e[t]=c(n));if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,t,o,i,a,l,s):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(M,t.slice(6,t.length)):e.setAttributeNS(M,t,n);else{const o=u(t);null==n||o&&!c(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))}},V);let Ke,We=!1;function Ye(){return Ke||(Ke=(0,r.Us)(ze))}function Ge(){return Ke=We?Ke:(0,r.Eo)(ze),We=!0,Ke}const Ze=(...e)=>{Ye().render(...e)},Je=(...e)=>{Ge().hydrate(...e)},Xe=(...e)=>{const t=Ye().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=tt(e);if(!o)return;const r=t._component;y(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},et=(...e)=>
2{const t=Ge().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=tt(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function tt(e){if(b(e)){return document.querySelector(e)}return e}let nt=!1;const ot=()=>{nt||(nt=!0,Ee.getSSRProps=({value:e})=>({value:e}),Fe.getSSRProps=({value:e},t)=>{if(t.props&&d(t.props.value,e))return{checked:!0}},Te.getSSRProps=({value:e},t)=>{if(m(e)){if(t.props&&A(e,t.props.value)>-1)return{checked:!0}}else if(v(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},je.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})};function rt(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const it=/;(?![^(]*\))/g,at=/:(.+)/;function lt(e){const t={};return e.split(it).forEach((e=>{if(e){const n=e.split(at);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}const st=rt("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),ut=rt("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),ct=rt("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");const dt={},At=()=>{},pt=()=>!1,ft=/^on[^a-z]/,ht=e=>ft.test(e),mt=Object.assign,vt=(Object.prototype.hasOwnProperty,Array.isArray),gt=e=>"string"==typeof e,yt=e=>"symbol"==typeof e,bt=e=>null!==e&&"object"==typeof e,wt=(Object.prototype.toString,rt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),Lt=rt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ct=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bt=/-(\w)/g,_t=Ct((e=>e.replace(Bt,((e,t)=>t?t.toUpperCase():"")))),kt=/\B([A-Z])/g,xt=Ct((e=>e.replace(kt,"-$1").toLowerCase())),St=Ct((e=>e.charAt(0).toUpperCase()+e.slice(1))),Et=Ct((e=>e?`on${St(e)}`:""));function Tt(e){throw e}function Nt(e){}function Ft(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Vt=Symbol(""),Ot=Symbol(""),Ut=Symbol(""),Qt=Symbol(""),qt=Symbol(""),Mt=Symbol(""),It=Symbol(""),Pt=Symbol(""),Dt=Symbol(""),Ht=Symbol(""),Rt=Symbol(""),jt=Symbol(""),$t=Symbol(""),zt=Symbol(""),Kt=Symbol(""),Wt=Symbol(""),Yt=Symbol(""),Gt=Symbol(""),Zt=Symbol(""),Jt=Symbol(""),Xt=Symbol(""),en=Symbol(""),tn=Symbol(""),nn=Symbol(""),on=Symbol(""),rn=Symbol(""),an=Symbol(""),ln=Symbol(""),sn=Symbol(""),un=Symbol(""),cn=Symbol(""),dn=Symbol(""),An=Symbol(""),pn=Symbol(""),fn=Symbol(""),hn=Symbol(""),mn=Symbol(""),vn=Symbol(""),gn=Symbol(""),yn={[Vt]:"Fragment",[Ot]:"Teleport",[Ut]:"Suspense",[Qt]:"KeepAlive",[qt]:"BaseTransition",[Mt]:"openBlock",[It]:"createBlock",[Pt]:"createElementBlock",[Dt]:"createVNode",[Ht]:"createElementVNode",[Rt]:"createCommentVNode",[jt]:"createTextVNode",[$t]:"createStaticVNode",[zt]:"resolveComponent",[Kt]:"resolveDynamicComponent",[Wt]:"resolveDirective",[Yt]:"resolveFilter",[Gt]:"withDirectives",[Zt]:"renderList",[Jt]:"renderSlot",[Xt]:"createSlots",[en]:"toDisplayString",[tn]:"mergeProps",[nn]:"normalizeClass",[on]:"normalizeStyle",[rn]:"normalizeProps",[an]:"guardReactiveProps",[ln]:"toHandlers",[sn]:"camelize",[un]:"capitalize",[cn]:"toHandlerKey",[dn]:"setBlockTracking",[An]:"pushScopeId",[pn]:"popScopeId",[fn]:"withCtx",[hn]:"unref",[mn]:"isRef",[vn]:"withMemo",[gn]:"isMemoSame"};const bn={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};
2function wn(e,t,n,o,r,i,a,l=!1,s=!1,u=!1,c=bn){return e&&(l?(e.helper(Mt),e.helper(Gn(e.inSSR,u))):e.helper(Yn(e.inSSR,u)),a&&e.helper(Gt)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:i,directives:a,isBlock:l,disableTracking:s,isComponent:u,loc:c}}function Ln(e,t=bn){return{type:17,loc:t,elements:e}}function Cn(e,t=bn){return{type:15,loc:t,properties:e}}function Bn(e,t){return{type:16,loc:bn,key:gt(e)?_n(e,!0):e,value:t}}function _n(e,t=!1,n=bn,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function kn(e,t=bn){return{type:8,loc:t,children:e}}function xn(e,t=[],n=bn){return{type:14,loc:n,callee:e,arguments:t}}function Sn(e,t,n=!1,o=!1,r=bn){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function En(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:bn}}const Tn=e=>4===e.type&&e.isStatic,Nn=(e,t)=>e===t||e===xt(t);function Fn(e){return Nn(e,"Teleport")?Ot:Nn(e,"Suspense")?Ut:Nn(e,"KeepAlive")?Qt:Nn(e,"BaseTransition")?qt:void 0}const Vn=/^\d|[^\$\w]/,On=e=>!Vn.test(e),Un=/[A-Za-z_$\xA0-\uFFFF]/,Qn=/[\.\?\w$\xA0-\uFFFF]/,qn=/\s+[.[]\s*|\s*[.[]\s+/g,Mn=e=>{e=e.trim().replace(qn,(e=>e.trim()));let t=0,n=[],o=0,r=0,i=null;for(let a=0;a<e.length;a++){const l=e.charAt(a);switch(t){case 0:if("["===l)n.push(t),t=1,o++;else if("("===l)n.push(t),t=2,r++;else if(!(0===a?Un:Qn).test(l))return!1;break;case 1:"'"===l||'"'===l||"`"===l?(n.push(t),t=3,i=l):"["===l?o++:"]"===l&&(--o||(t=n.pop()));break;case 2:if("'"===l||'"'===l||"`"===l)n.push(t),t=3,i=l;else if("("===l)r++;else if(")"===l){if(a===e.length-1)return!1;--r||(t=n.pop())}break;case 3:l===i&&(t=n.pop(),i=null)}}return!o&&!r};function In(e,t,n){const o={source:e.source.slice(t,t+n),start:Pn(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Pn(e.start,e.source,t+n)),o}function Pn(e,t,n=t.length){return Dn(mt({},e),t,n)}function Dn(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Hn(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(gt(t)?r.name===t:t.test(r.name)))return r}}function Rn(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||o))return i}else if("bind"===i.name&&(i.exp||o)&&jn(i.arg,t))return i}}function jn(e,t){return!(!e||!Tn(e)||e.content!==t)}function $n(e){return 5===e.type||2===e.type}function zn(e){return 7===e.type&&"slot"===e.name}function Kn(e){return 1===e.type&&3===e.tagType}function Wn(e){return 1===e.type&&2===e.tagType}function Yn(e,t){return e||t?Dt:Ht}function Gn(e,t){return e||t?It:Pt}const Zn=new Set([rn,an]);function Jn(e,t=[]){if(e&&!gt(e)&&14===e.type){const n=e.callee;if(!gt(n)&&Zn.has(n))return Jn(e.arguments[0],t.concat(e))}return[e,t]}function Xn(e,t,n){let o,r,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!gt(i)&&14===i.type){const e=Jn(i);i=e[0],a=e[1],r=a[a.length-1]}if(null==i||gt(i))o=Cn([t]);else if(14===i.type){const e=i.arguments[0];gt(e)||15!==e.type?i.callee===ln?o=xn(n.helper(tn),[Cn([t]),i]):i.arguments.unshift(Cn([t])):e.properties.unshift(t),!o&&(o=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===n))}e||i.properties.unshift(t),o=i}else o=xn(n.helper(tn),[Cn([t]),i]),r&&r.callee===an&&(r=a[a.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function eo(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function to(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Yn(o,e.isComponent)),t(Mt),t(Gn(o,e.isComponent)))}function no(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function oo(e,t){const n=no("MODE",t),o=no(e,t);return 3===n?!0===o:!1!==o}function ro(e,t,n,...o){return oo(e,t)}const io=/&(gt|lt|amp|apos|quot);/g,ao={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},lo={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:pt,isPreTag:pt,isCustomElement:pt,decodeEntities:e=>e.replace(io,((e,t)=>ao[t])),onError:Tt,onWarn:Nt,comments:!1};function so(e,t={}){const n=function(e,t){const n=mt({},lo);let o;
2for(o in t)n[o]=void 0===t[o]?lo[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Co(n);return function(e,t=bn){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(uo(n,0,[]),Bo(n,o))}function uo(e,t,n){const o=_o(n),r=o?o.ns:0,i=[];for(;!No(e,t,n);){const a=e.source;let l;if(0===t||1===t)if(!e.inVPre&&ko(a,e.options.delimiters[0]))l=bo(e,t);else if(0===t&&"<"===a[0])if(1===a.length)To(e,5,1);else if("!"===a[1])ko(a,"\x3c!--")?l=po(e):ko(a,"<!DOCTYPE")?l=fo(e):ko(a,"<![CDATA[")?0!==r?l=Ao(e,n):(To(e,1),l=fo(e)):(To(e,11),l=fo(e));else if("/"===a[1])if(2===a.length)To(e,5,2);else{if(">"===a[2]){To(e,14,2),xo(e,3);continue}if(/[a-z]/i.test(a[2])){To(e,23),vo(e,1,o);continue}To(e,12,2),l=fo(e)}else/[a-z]/i.test(a[1])?(l=ho(e,n),oo("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&mo(e.name)))&&(l=l.children)):"?"===a[1]?(To(e,21,1),l=fo(e)):To(e,12,1);if(l||(l=wo(e,t)),vt(l))for(let e=0;e<l.length;e++)co(i,l[e]);else co(i,l)}let a=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<i.length;n++){const o=i[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(a=!0,i[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[n-1],r=i[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(a=!0,i[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?i.filter(Boolean):i}function co(e,t){if(2===t.type){const n=_o(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Ao(e,t){xo(e,9);const n=uo(e,3,t);return 0===e.source.length?To(e,6):xo(e,3),n}function po(e){const t=Co(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&To(e,0),o[1]&&To(e,10),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",r));)xo(e,i-r+1),i+4<t.length&&To(e,16),r=i+1;xo(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),xo(e,e.source.length),To(e,7);return{type:3,content:n,loc:Bo(e,t)}}function fo(e){const t=Co(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),xo(e,e.source.length)):(o=e.source.slice(n,r),xo(e,r+1)),{type:3,content:o,loc:Bo(e,t)}}function ho(e,t){const n=e.inPre,o=e.inVPre,r=_o(t),i=vo(e,0,r),a=e.inPre&&!n,l=e.inVPre&&!o;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return a&&(e.inPre=!1),l&&(e.inVPre=!1),i;t.push(i);const s=e.options.getTextMode(i,r),u=uo(e,s,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ro("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=Bo(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=u,Fo(e.source,i.tag))vo(e,1,r);else if(To(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=u[0];t&&ko(t.loc.source,"\x3c!--")&&To(e,8)}return i.loc=Bo(e,i.loc.start),a&&(e.inPre=!1),l&&(e.inVPre=!1),i}const mo=rt("if,else,else-if,for,slot");function vo(e,t,n){const o=Co(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=r[1],a=e.options.getNamespace(i,n);xo(e,r[0].length),So(e);const l=Co(e),s=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let u=go(e,t);0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,mt(e,l),e.source=s,u=go(e,t).filter((e=>"v-pre"!==e.name)));let c=!1;if(0===e.source.length?To(e,9):(c=ko(e.source,"/>"),1===t&&c&&To(e,4),xo(e,c?2:1)),1===t)return;let d=0;return e.inVPre||("slot"===i?d=2:"template"===i?u.some((e=>7===e.type&&mo(e.name)))&&(d=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Fn(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const o=t[e];if(6===o.type){if("is"===o.name&&o.value){if(o.value.content.startsWith("vue:"))return!0;
2if(ro("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}else{if("is"===o.name)return!0;if("bind"===o.name&&jn(o.arg,"is")&&ro("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}}(i,u,e)&&(d=1)),{type:1,ns:a,tag:i,tagType:d,props:u,isSelfClosing:c,children:[],loc:Bo(e,o),codegenNode:void 0}}function go(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ko(e.source,">")&&!ko(e.source,"/>");){if(ko(e.source,"/")){To(e,22),xo(e,1),So(e);continue}1===t&&To(e,3);const r=yo(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&To(e,15),So(e)}return n}function yo(e,t){const n=Co(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&To(e,2),t.add(o),"="===o[0]&&To(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(o);)To(e,17,n.index)}let r;xo(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(So(e),xo(e,1),So(e),r=function(e){const t=Co(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){xo(e,1);const t=e.source.indexOf(o);-1===t?n=Lo(e,e.source.length,4):(n=Lo(e,t,4),xo(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)To(e,18,r.index);n=Lo(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Bo(e,t)}}(e),r||To(e,13));const i=Bo(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let a,l=ko(o,"."),s=t[1]||(l||ko(o,":")?"bind":ko(o,"@")?"on":"slot");if(t[2]){const r="slot"===s,i=o.lastIndexOf(t[2]),l=Bo(e,Eo(e,n,i),Eo(e,n,i+t[2].length+(r&&t[3]||"").length));let u=t[2],c=!0;u.startsWith("[")?(c=!1,u.endsWith("]")?u=u.slice(1,u.length-1):(To(e,27),u=u.slice(1))):r&&(u+=t[3]||""),a={type:4,content:u,isStatic:c,constType:c?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Pn(e.start,r.content),e.source=e.source.slice(1,-1)}const u=t[3]?t[3].slice(1).split("."):[];return l&&u.push("prop"),"bind"===s&&a&&u.includes("sync")&&ro("COMPILER_V_BIND_SYNC",e,0,a.loc.source)&&(s="model",u.splice(u.indexOf("sync"),1)),{type:7,name:s,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:a,modifiers:u,loc:i}}return!e.inVPre&&ko(o,"v-")&&To(e,26),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:i}}function bo(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void To(e,25);const i=Co(e);xo(e,n.length);const a=Co(e),l=Co(e),s=r-n.length,u=e.source.slice(0,s),c=Lo(e,s,t),d=c.trim(),A=c.indexOf(d);A>0&&Dn(a,u,A);return Dn(l,u,s-(c.length-d.length-A)),xo(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:Bo(e,a,l)},loc:Bo(e,i)}}function wo(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Co(e);return{type:2,content:Lo(e,o,t),loc:Bo(e,r)}}function Lo(e,t,n){const o=e.source.slice(0,t);return xo(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Co(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Bo(e,t,n){return{start:t,end:n=n||Co(e),source:e.originalSource.slice(t.offset,n.offset)}}function _o(e){return e[e.length-1]}function ko(e,t){return e.startsWith(t)}function xo(e,t){const{source:n}=e;Dn(e,n,t),e.source=n.slice(t)}function So(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&xo(e,t[0].length)}function Eo(e,t,n){return Pn(t,e.originalSource.slice(t.offset,n),n)}function To(e,t,n,o=Co(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(Ft(t,{start:o,end:o,source:""}))}function No(e,t,n){const o=e.source;switch(t){case 0:if(ko(o,"</"))for(let e=n.length-1;e>=0;--e)if(Fo(o,n[e].tag))return!0;break;case 1:case 2:{const e=_o(n);if(e&&Fo(o,e.tag))return!0;break}case 3:if(ko(o,"]]>"))return!0}return!o}function Fo(e,t){return ko(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Vo(e,t){Uo(e,t,Oo(e,e.children[0]))}function Oo(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Wn(t)}function Uo(e,t,n=!1){const{children:o}=e,r=o.length;let i=0;for(let e=0;e<o.length;e++){const r=o[e];if(1===r.type&&0===r.tagType){const e=n?0:Qo(r,t);if(e>0){if(e>=2){r.codegenNode.patchFlag="-1",r.codegenNode=t.hoist(r.codegenNode),i++;continue}}else{const e=r.codegenNode;if(13===e.type){const n=Do(e);if((!n||512===n||1===n)&&Io(r,t)>=2){const n=Po(r);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}else 12===r.type&&Qo(r.content,t)>=2&&(r.codegenNode=t.hoist(r.codegenNode),i++);if(1===r.type){const e=1===r.tagType;e&&t.scopes.vSlot++,Uo(r,t),e&&t.scopes.vSlot--}else if(11===r.type)Uo(r,t,1===r.children.length);else if(9===r.type)for(let e=0;e<r.branches.length;e++)Uo(r.branches[e],t,1===r.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(o,t,e),i&&i===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&vt(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Ln(e.codegenNode.children)))}function Qo(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Do(r))return n.set(e,0),0;{let o=3;const i=Io(e,t);if(0===i)return n.set(e,0),0;i<o&&(o=i);for(let r=0;r<e.children.length;r++){const i=Qo(e.children[r],t);if(0===i)return n.set(e,0),0;i<o&&(o=i)}if(o>1)for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"bind"===i.name&&i.exp){const r=Qo(i.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(Mt),t.removeHelper(Gn(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Yn(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Qo(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(gt(o)||yt(o))continue;const r=Qo(o,t);
2if(0===r)return 0;r<i&&(i=r)}return i}}const qo=new Set([nn,on,rn,an]);function Mo(e,t){if(14===e.type&&!gt(e.callee)&&qo.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Qo(n,t);if(14===n.type)return Mo(n,t)}return 0}function Io(e,t){let n=3;const o=Po(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:i}=e[o],a=Qo(r,t);if(0===a)return a;let l;if(a<n&&(n=a),l=4===i.type?Qo(i,t):14===i.type?Mo(i,t):0,0===l)return l;l<n&&(n=l)}}return n}function Po(e){const t=e.codegenNode;if(13===t.type)return t.props}function Do(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ho(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:i=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:s=At,isCustomElement:u=At,expressionPlugins:c=[],scopeId:d=null,slotted:A=!0,ssr:p=!1,inSSR:f=!1,ssrCssVars:h="",bindingMetadata:m=dt,inline:v=!1,isTS:g=!1,onError:y=Tt,onWarn:b=Nt,compatConfig:w}){const L=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:L&&St(_t(L[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:i,directiveTransforms:a,transformHoist:l,isBuiltInComponent:s,isCustomElement:u,expressionPlugins:c,scopeId:d,slotted:A,ssr:p,inSSR:f,ssrCssVars:h,bindingMetadata:m,inline:v,isTS:g,onError:y,onWarn:b,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${yn[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=C.parent.children,n=e?t.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>n&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){gt(e)&&(e=_n(e)),C.hoists.push(e);const t=_n(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:bn}}(C.cached++,e,t)};return C.filters=new Set,C}function Ro(e,t){const n=Ho(e,t);jo(e,n),t.hoistStatic&&Vo(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Oo(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&to(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;0,e.codegenNode=wn(t,n(Vt),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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.filters=[...n.filters]}function jo(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const i=n[r](e,t);if(i&&(vt(i)?o.push(...i):o.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Rt);break;case 5:t.ssr||t.helper(en);break;case 9:for(let n=0;n<e.branches.length;n++)jo(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];gt(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,jo(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function $o(e,t){const n=gt(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(zn))return;const i=[];for(let a=0;a<r.length;a++){const l=r[a];if(7===l.type&&n(l.name)){r.splice(a,1),a--;const n=t(e,l,o);n&&i.push(n)}}return i}}}const zo="/*#__PURE__*/";function Ko(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:l="Vue",runtimeModuleName:s="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:c=!1,isTS:d=!1,inSSR:A=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:i,optimizeImports:a,runtimeGlobalName:l,runtimeModuleName:s,ssrRuntimeModuleName:u,ssr:c,isTS:d,inSSR:A,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${yn[e]}`,push(e,t){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))}return p}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:i,indent:a,deindent:l,newline:s,scopeId:u,ssr:c}=n,d=e.helpers.length>0,A=!i&&"module"!==o;!function(e,t){const{ssr:n,prefixIdentifiers:o,push:r,newline:i,runtimeModuleName:a,runtimeGlobalName:l,ssrRuntimeModuleName:s}=t,u=l,c=e=>`${yn[e]}: _${yn[e]}`;if(e.helpers.length>0&&(r(`const _Vue = ${u}\n`),e.hoists.length)){r(`const { ${[Dt,Ht,Rt,jt,$t].filter((t=>e.helpers.includes(t))).map(c).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o,helper:r,scopeId:i,mode:a}=t;o();for(let r=0;r<e.length;r++){const i=e[r];i&&(n(`const _hoisted_${r+1} = `),Zo(i,t),o())}t.pure=!1})(e.hoists,t),i(),r("return ")}(e,n);if(r(`function ${c?"ssrRender":"render"}(${(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),A&&(r("with (_ctx) {"),a(),d&&(r(`const { ${e.helpers.map((e=>`${yn[e]}: _${yn[e]}`)).join(", ")} } = _Vue`),r("\n"),s())),e.components.length&&(Wo(e.components,"component",n),(e.directives.length||e.temps>0)&&s()),e.directives.length&&(Wo(e.directives,"directive",n),e.temps>0&&s()),e.filters&&e.filters.length&&(s(),Wo(e.filters,"filter",n),s()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),s()),c||r("return "),e.codegenNode?Zo(e.codegenNode,n):r("null"),A&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Wo(e,t,{helper:n,push:o,newline:r,isTS:i}){const a=n("filter"===t?Yt:"component"===t?zt:Wt);for(let n=0;n<e.length;n++){let l=e[n];const s=l.endsWith("__self");s&&(l=l.slice(0,-6)),o(`const ${eo(l,t)} = ${a}(${JSON.stringify(l)}${s?", true":""})${i?"!":""}`),n<e.length-1&&r()}}function Yo(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Go(e,t,n),n&&t.deindent(),t.push("]")}function Go(e,t,n=!1,o=!0){const{push:r,newline:i}=t;
2for(let a=0;a<e.length;a++){const l=e[a];gt(l)?r(l):vt(l)?Yo(l,t):Zo(l,t),a<e.length-1&&(n?(o&&r(","),i()):o&&r(", "))}}function Zo(e,t){if(gt(e))t.push(e);else if(yt(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Zo(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Jo(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zo);n(`${o(en)}(`),Zo(e.content,t),n(")")}(e,t);break;case 8:Xo(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zo);n(`${o(Rt)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:i,props:a,children:l,patchFlag:s,dynamicProps:u,directives:c,isBlock:d,disableTracking:A,isComponent:p}=e;c&&n(o(Gt)+"(");d&&n(`(${o(Mt)}(${A?"true":""}), `);r&&n(zo);const f=d?Gn(t.inSSR,p):Yn(t.inSSR,p);n(o(f)+"(",e),Go(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,a,l,s,u]),t),n(")"),d&&n(")");c&&(n(", "),Zo(c,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,i=gt(e.callee)?e.callee:o(e.callee);r&&n(zo);n(i+"(",e),Go(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:i}=t,{properties:a}=e;if(!a.length)return void n("{}",e);const l=a.length>1||!1;n(l?"{":"{ "),l&&o();for(let e=0;e<a.length;e++){const{key:o,value:r}=a[e];er(o,t),n(": "),Zo(r,t),e<a.length-1&&(n(","),i())}l&&r(),n(l?"}":" }")}(e,t);break;case 17:!function(e,t){Yo(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:i,returns:a,body:l,newline:s,isSlot:u}=e;u&&n(`_${yn[fn]}(`);n("(",e),vt(i)?Go(i,t):i&&Zo(i,t);n(") => "),(s||l)&&(n("{"),o());a?(s&&n("return "),vt(a)?Yo(a,t):Zo(a,t)):l&&Zo(l,t);(s||l)&&(r(),n("}"));u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:i}=e,{push:a,indent:l,deindent:s,newline:u}=t;if(4===n.type){const e=!On(n.content);e&&a("("),Jo(n,t),e&&a(")")}else a("("),Zo(n,t),a(")");i&&l(),t.indentLevel++,i||a(" "),a("? "),Zo(o,t),t.indentLevel--,i&&u(),i||a(" "),a(": ");const c=19===r.type;c||t.indentLevel++;Zo(r,t),c||t.indentLevel--;i&&s(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:i,newline:a}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(dn)}(-1),`),a());n(`_cache[${e.index}] = `),Zo(e.value,t),e.isVNode&&(n(","),a(),n(`${o(dn)}(1),`),a(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:Go(e.body,t,!0,!1)}}function Jo(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Xo(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];gt(o)?t.push(o):Zo(o,t)}}function er(e,t){const{push:n}=t;if(8===e.type)n("["),Xo(e,t),n("]");else if(e.isStatic){n(On(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const tr=$o(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(Ft(28,t.loc)),t.exp=_n("true",!1,o)}0;if("if"===t.name){const r=nr(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),o)return o(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-- >=-1;){const a=r[i];if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&n.onError(Ft(30,e.loc)),n.removeNode();const r=nr(e,t);0,a.branches.push(r);const i=o&&o(a,r,!1);jo(r,n),i&&i(),n.currentNode=null}else n.onError(Ft(30,e.loc));break}n.removeNode(a)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let i=r.indexOf(e),a=0;for(;i-- >=0;){const e=r[i];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(o)e.codegenNode=or(t,a,n);else{const o=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);o.alternate=or(t,a+e.branches.length-1,n)}}}))));function nr(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Hn(e,"for")?[e]:e.children,userKey:Rn(e,"key")}}function or(e,t,n){return e.condition?En(e.condition,rr(e,t,n),xn(n.helper(Rt),['""',"true"])):rr(e,t,n)}function rr(e,t,n){const{helper:o}=n,r=Bn("key",_n(`${t}`,!1,bn,2)),{children:i}=e,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){const e=a.codegenNode;return Xn(e,r,n),e}{let t=64;
2return wn(n,o(Vt),Cn([r]),i,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=14===(l=e).type&&l.callee===vn?l.arguments[1].returns:l;return 13===t.type&&to(t,n),Xn(t,r,n),e}var l}const ir=$o("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return void n.onError(Ft(31,t.loc));const r=ur(t.exp,n);if(!r)return void n.onError(Ft(32,t.loc));const{addIdentifiers:i,removeIdentifiers:a,scopes:l}=n,{source:s,value:u,key:c,index:d}=r,A={type:11,loc:t.loc,source:s,valueAlias:u,keyAlias:c,objectIndexAlias:d,parseResult:r,children:Kn(e)?e.children:[e]};n.replaceNode(A),l.vFor++;const p=o&&o(A);return()=>{l.vFor--,p&&p()}}(e,t,n,(t=>{const i=xn(o(Zt),[t.source]),a=Kn(e),l=Hn(e,"memo"),s=Rn(e,"key"),u=s&&(6===s.type?_n(s.value.content,!0):s.exp),c=s?Bn("key",u):null,d=4===t.source.type&&t.source.constType>0,A=d?64:s?128:256;return t.codegenNode=wn(n,o(Vt),void 0,i,A+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let s;const{children:A}=t;const p=1!==A.length||1!==A[0].type,f=Wn(e)?e:a&&1===e.children.length&&Wn(e.children[0])?e.children[0]:null;if(f?(s=f.codegenNode,a&&c&&Xn(s,c,n)):p?s=wn(n,o(Vt),c?Cn([c]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(s=A[0].codegenNode,a&&c&&Xn(s,c,n),s.isBlock!==!d&&(s.isBlock?(r(Mt),r(Gn(n.inSSR,s.isComponent))):r(Yn(n.inSSR,s.isComponent))),s.isBlock=!d,s.isBlock?(o(Mt),o(Gn(n.inSSR,s.isComponent))):o(Yn(n.inSSR,s.isComponent))),l){const e=Sn(dr(t.parseResult,[_n("_cached")]));e.body={type:21,body:[kn(["const _memo = (",l.exp,")"]),kn(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(gn)}(_cached, _memo)) return _cached`]),kn(["const _item = ",s]),_n("_item.memo = _memo"),_n("return _item")],loc:bn},i.arguments.push(e,_n("_cache"),_n(String(n.cached++)))}else i.arguments.push(Sn(dr(t.parseResult),s,!0))}}))}));const ar=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,lr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sr=/^\(|\)$/g;function ur(e,t){const n=e.loc,o=e.content,r=o.match(ar);if(!r)return;const[,i,a]=r,l={source:cr(n,a.trim(),o.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0};let s=i.trim().replace(sr,"").trim();const u=i.indexOf(s),c=s.match(lr);if(c){s=s.replace(lr,"").trim();const e=c[1].trim();let t;if(e&&(t=o.indexOf(e,u+s.length),l.key=cr(n,e,t)),c[2]){const r=c[2].trim();r&&(l.index=cr(n,r,o.indexOf(r,l.key?t+e.length:u+s.length)))}}return s&&(l.value=cr(n,s,u)),l}function cr(e,t,n){return _n(t,!1,In(e,n,t.length))}function dr({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||_n("_".repeat(t+1),!1)))}([e,t,n,...o])}const Ar=_n("undefined",!1),pr=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Hn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},fr=(e,t,n)=>Sn(e,t,!1,!0,t.length?t[0].loc:n);function hr(e,t,n=fr){t.helper(fn);const{children:o,loc:r}=e,i=[],a=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const s=Hn(e,"slot",!0);if(s){const{arg:e,exp:t}=s;e&&!Tn(e)&&(l=!0),i.push(Bn(e||_n("default",!0),n(t,o,r)))}let u=!1,c=!1;const d=[],A=new Set;for(let e=0;e<o.length;e++){const r=o[e];let p;if(!Kn(r)||!(p=Hn(r,"slot",!0))){3!==r.type&&d.push(r);continue}if(s){t.onError(Ft(37,p.loc));break}u=!0;const{children:f,loc:h}=r,{arg:m=_n("default",!0),exp:v,loc:g}=p;let y;Tn(m)?y=m?m.content:"default":l=!0;const b=n(v,f,h);let w,L,C;if(w=Hn(r,"if"))l=!0,a.push(En(w.exp,mr(m,b),Ar));else if(L=Hn(r,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&(n=o[r],3===n.type););if(n&&Kn(n)&&Hn(n,"if")){o.splice(e,1),e--;let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=L.exp?En(L.exp,mr(m,b),Ar):mr(m,b)}else t.onError(Ft(30,L.loc))}else if(C=Hn(r,"for")){l=!0;const e=C.parseResult||ur(C.exp);e?a.push(xn(t.helper(Zt),[e.source,Sn(dr(e),mr(m,b),!0)])):t.onError(Ft(32,C.loc))}else{if(y){if(A.has(y)){t.onError(Ft(38,g));continue}A.add(y),"default"===y&&(c=!0)}i.push(Bn(m,b))}}if(!s){const e=(e,o)=>{const i=n(e,o,r);return t.compatConfig&&(i.isNonScopedSlot=!0),Bn("default",i)};u?d.length&&d.some((e=>gr(e)))&&(c?t.onError(Ft(39,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,o))}const p=l?2:vr(e.children)?3:1;
2let f=Cn(i.concat(Bn("_",_n(p+"",!1))),r);return a.length&&(f=xn(t.helper(Xt),[f,Ln(a)])),{slots:f,hasDynamicSlots:l}}function mr(e,t){return Cn([Bn("name",e),Bn("fn",t)])}function vr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||vr(n.children))return!0;break;case 9:if(vr(n.branches))return!0;break;case 10:case 11:if(vr(n.children))return!0}}return!1}function gr(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():gr(e.content))}const yr=new WeakMap,br=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let i=r?function(e,t,n=!1){let{tag:o}=e;const r=Br(o),i=Rn(e,"is");if(i)if(r||oo("COMPILER_IS_ON_ELEMENT",t)){const e=6===i.type?i.value&&_n(i.value.content,!0):i.exp;if(e)return xn(t.helper(Kt),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(o=i.value.content.slice(4));const a=!r&&Hn(e,"is");if(a&&a.exp)return xn(t.helper(Kt),[a.exp]);const l=Fn(o)||t.isBuiltInComponent(o);if(l)return n||t.helper(l),l;return t.helper(zt),t.components.add(o),eo(o,"component")}(e,t):`"${n}"`;let a,l,s,u,c,d,A=0,p=bt(i)&&i.callee===Kt||i===Ot||i===Ut||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=wr(e,t);a=n.props,A=n.patchFlag,c=n.dynamicPropNames;const o=n.directives;d=o&&o.length?Ln(o.map((e=>function(e,t){const n=[],o=yr.get(e);o?n.push(t.helperString(o)):(t.helper(Wt),t.directives.add(e.name),n.push(eo(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=_n("true",!1,r);n.push(Cn(e.modifiers.map((e=>Bn(e,t))),r))}return Ln(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0){i===Qt&&(p=!0,A|=1024);if(r&&i!==Ot&&i!==Qt){const{slots:n,hasDynamicSlots:o}=hr(e,t);l=n,o&&(A|=1024)}else if(1===e.children.length&&i!==Ot){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Qo(n,t)&&(A|=1),l=r||2===o?n:e.children}else l=e.children}0!==A&&(s=String(A),c&&c.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(c))),e.codegenNode=wn(t,i,a,l,s,u,d,!!p,!1,r,e.loc)};function wr(e,t,n=e.props,o=!1){const{tag:r,loc:i,children:a}=e,l=1===e.tagType;let s=[];const u=[],c=[],d=a.length>0;let A=!1,p=0,f=!1,h=!1,m=!1,v=!1,g=!1,y=!1;const b=[],w=({key:e,value:n})=>{if(Tn(e)){const o=e.content,r=ht(o);if(l||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||wt(o)||(v=!0),r&&wt(o)&&(y=!0),20===n.type||(4===n.type||8===n.type)&&Qo(n,t)>0)return;"ref"===o?f=!0:"class"===o?h=!0:"style"===o?m=!0:"key"===o||b.includes(o)||b.push(o),!l||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else g=!0};for(let a=0;a<n.length;a++){const p=n[a];if(6===p.type){const{loc:e,name:n,value:o}=p;let i=!0;if("ref"===n&&(f=!0,t.scopes.vFor>0&&s.push(Bn(_n("ref_for",!0),_n("true")))),"is"===n&&(Br(r)||o&&o.content.startsWith("vue:")||oo("COMPILER_IS_ON_ELEMENT",t)))continue;s.push(Bn(_n(n,!0,In(e,0,n.length)),_n(o?o.content:"",i,o?o.loc:e)))}else{const{name:n,arg:a,exp:f,loc:h}=p,m="bind"===n,v="on"===n;if("slot"===n){l||t.onError(Ft(40,h));continue}if("once"===n||"memo"===n)continue;if("is"===n||m&&jn(a,"is")&&(Br(r)||oo("COMPILER_IS_ON_ELEMENT",t)))continue;if(v&&o)continue;if((m&&jn(a,"key")||v&&d&&jn(a,"vue:before-update"))&&(A=!0),m&&jn(a,"ref")&&t.scopes.vFor>0&&s.push(Bn(_n("ref_for",!0),_n("true"))),!a&&(m||v)){if(g=!0,f)if(s.length&&(u.push(Cn(Lr(s),i)),s=[]),m){if(oo("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(f);continue}u.push(f)}else u.push({type:14,loc:h,callee:t.helper(ln),arguments:[f]});else t.onError(Ft(m?34:35,h));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(p,e,t);!o&&n.forEach(w),s.push(...n),r&&(c.push(p),yt(r)&&yr.set(p,r))}else Lt(n)||(c.push(p),d&&(A=!0))}}let L;if(u.length?(s.length&&u.push(Cn(Lr(s),i)),L=u.length>1?xn(t.helper(tn),u,i):u[0]):s.length&&(L=Cn(Lr(s),i)),g?p|=16:(h&&!l&&(p|=2),m&&!l&&(p|=4),b.length&&(p|=8),v&&(p|=32)),A||0!==p&&32!==p||!(f||y||c.length>0)||(p|=512),!t.inSSR&&L)switch(L.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<L.properties.length;t++){const r=L.properties[t].key;Tn(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=L.properties[e],i=L.properties[n];o?L=xn(t.helper(rn),[L]):(r&&!Tn(r.value)&&(r.value=xn(t.helper(nn),[r.value])),!i||Tn(i.value)||!m&&17!==i.value.type||(i.value=xn(t.helper(on),[i.value])));break;case 14:break;default:L=xn(t.helper(rn),[xn(t.helper(an),[L])])}return{props:L,directives:c,patchFlag:p,dynamicPropNames:b,shouldUseBlock:A}}function Lr(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,a=t.get(i);a?("style"===i||"class"===i||ht(i))&&Cr(a,r):(t.set(i,r),n.push(r))}return n}function Cr(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Ln([e.value,t.value],e.loc)}function Br(e){return"component"===e||"Component"===e}const _r=/-(\w)/g,kr=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(_r,((e,t)=>
2t?t.toUpperCase():"")))),xr=(e,t)=>{if(Wn(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:i}=function(e,t){let n,o='"default"';const r=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?o=JSON.stringify(n.value.content):(n.name=kr(n.name),r.push(n))):"bind"===n.name&&jn(n.arg,"name")?n.exp&&(o=n.exp):("bind"===n.name&&n.arg&&Tn(n.arg)&&(n.arg.content=kr(n.arg.content)),r.push(n))}if(r.length>0){const{props:o,directives:i}=wr(e,t,r);n=o,i.length&&t.onError(Ft(36,i[0].loc))}return{slotName:o,slotProps:n}}(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let l=2;i&&(a[2]=i,l=3),n.length&&(a[3]=Sn([],n,!1,!1,o),l=4),t.scopeId&&!t.slotted&&(l=5),a.splice(l),e.codegenNode=xn(t.helper(Jt),a,o)}};const Sr=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Er=(e,t,n,o)=>{const{loc:r,modifiers:i,arg:a}=e;let l;if(e.exp||i.length||n.onError(Ft(35,r)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),l=_n(Et(_t(e)),!0,a.loc)}else l=kn([`${n.helperString(cn)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(cn)}(`),l.children.push(")");let s=e.exp;s&&!s.content.trim()&&(s=void 0);let u=n.cacheHandlers&&!s&&!n.inVOnce;if(s){const e=Mn(s.content),t=!(e||Sr.test(s.content)),n=s.content.includes(";");0,(t||u&&e)&&(s=kn([`${t?"$event":"(...args)"} => ${n?"{":"("}`,s,n?"}":")"]))}let c={props:[Bn(l,s||_n("() => {}",!1,r))]};return o&&(c=o(c)),u&&(c.props[0].value=n.cache(c.props[0].value)),c.props.forEach((e=>e.key.isHandlerKey=!0)),c},Tr=(e,t,n)=>{const{exp:o,modifiers:r,loc:i}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),r.includes("camel")&&(4===a.type?a.isStatic?a.content=_t(a.content):a.content=`${n.helperString(sn)}(${a.content})`:(a.children.unshift(`${n.helperString(sn)}(`),a.children.push(")"))),n.inSSR||(r.includes("prop")&&Nr(a,"."),r.includes("attr")&&Nr(a,"^")),!o||4===o.type&&!o.content.trim()?(n.onError(Ft(34,i)),{props:[Bn(a,_n("",!0,i))]}):{props:[Bn(a,o)]}},Nr=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Fr=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if($n(t)){r=!0;for(let r=e+1;r<n.length;r++){const i=n[r];if(!$n(i)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",i),n.splice(r,1),r--}}}if(r&&(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 o=n[e];if($n(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Qo(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:xn(t.helper(jt),r)}}}}},Vr=new WeakSet,Or=(e,t)=>{if(1===e.type&&Hn(e,"once",!0)){if(Vr.has(e)||t.inVOnce)return;return Vr.add(e),t.inVOnce=!0,t.helper(dn),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Ur=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(Ft(41,e.loc)),Qr();const i=o.loc.source,a=4===o.type?o.content:i;n.bindingMetadata[i];if(!a.trim()||!Mn(a))return n.onError(Ft(42,o.loc)),Qr();const l=r||_n("modelValue",!0),s=r?Tn(r)?`onUpdate:${r.content}`:kn(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;u=kn([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const c=[Bn(l,e.exp),Bn(s,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(On(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Tn(r)?`${r.content}Modifiers`:kn([r,' + "Modifiers"']):"modelModifiers";c.push(Bn(n,_n(`{ ${t} }`,!1,e.loc,2)))}return Qr(c)};function Qr(e=[]){return{props:e}}const qr=/[\w).+\-_$\]]/,Mr=(e,t)=>{oo("COMPILER_FILTER",t)&&(5===e.type&&Ir(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Ir(e.exp,t)})))};function Ir(e,t){if(4===e.type)Pr(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Pr(o,t):8===o.type?Ir(e,t):5===o.type&&Ir(o.content,t))}}function Pr(e,t){const n=e.content;
2let o,r,i,a,l=!1,s=!1,u=!1,c=!1,d=0,A=0,p=0,f=0,h=[];for(i=0;i<n.length;i++)if(r=o,o=n.charCodeAt(i),l)39===o&&92!==r&&(l=!1);else if(s)34===o&&92!==r&&(s=!1);else if(u)96===o&&92!==r&&(u=!1);else if(c)47===o&&92!==r&&(c=!1);else if(124!==o||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||A||p){switch(o){case 34:s=!0;break;case 39:l=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:A++;break;case 93:A--;break;case 123:d++;break;case 125:d--}if(47===o){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&qr.test(e)||(c=!0)}}else void 0===a?(f=i+1,a=n.slice(0,i).trim()):m();function m(){h.push(n.slice(f,i).trim()),f=i+1}if(void 0===a?a=n.slice(0,i).trim():0!==f&&m(),h.length){for(i=0;i<h.length;i++)a=Dr(a,h[i],t);e.content=a}}function Dr(e,t,n){n.helper(Yt);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${eo(t,"filter")}(${e})`;{const r=t.slice(0,o),i=t.slice(o+1);return n.filters.add(r),`${eo(r,"filter")}(${e}${")"!==i?","+i:i}`}}const Hr=new WeakSet,Rr=(e,t)=>{if(1===e.type){const n=Hn(e,"memo");if(!n||Hr.has(e))return;return Hr.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&to(o,t),e.codegenNode=xn(t.helper(vn),[n.exp,Sn(void 0,o),"_cache",String(t.cached++)]))}}};function jr(e,t={}){const n=t.onError||Tt,o="module"===t.mode;!0===t.prefixIdentifiers?n(Ft(46)):o&&n(Ft(47));t.cacheHandlers&&n(Ft(48)),t.scopeId&&!o&&n(Ft(49));const r=gt(e)?so(e,t):e,[i,a]=[[Or,tr,Rr,ir,Mr,xr,br,pr,Fr],{on:Er,bind:Tr,model:Ur}];return Ro(r,mt({},t,{prefixIdentifiers:false,nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:mt({},a,t.directiveTransforms||{})})),Ko(r,mt({},t,{prefixIdentifiers:false}))}const $r=Symbol(""),zr=Symbol(""),Kr=Symbol(""),Wr=Symbol(""),Yr=Symbol(""),Gr=Symbol(""),Zr=Symbol(""),Jr=Symbol(""),Xr=Symbol(""),ei=Symbol("");var ti;let ni;ti={[$r]:"vModelRadio",[zr]:"vModelCheckbox",[Kr]:"vModelText",[Wr]:"vModelSelect",[Yr]:"vModelDynamic",[Gr]:"withModifiers",[Zr]:"withKeys",[Jr]:"vShow",[Xr]:"Transition",[ei]:"TransitionGroup"},Object.getOwnPropertySymbols(ti).forEach((e=>{yn[e]=ti[e]}));const oi=rt("style,iframe,script,noscript",!0),ri={isVoidTag:ct,isNativeTag:e=>st(e)||ut(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ni||(ni=document.createElement("div")),t?(ni.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,ni.children[0].getAttribute("foo")):(ni.innerHTML=e,ni.textContent)},isBuiltInComponent:e=>Nn(e,"Transition")?Xr:Nn(e,"TransitionGroup")?ei:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)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)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(oi(e))return 2}return 0}},ii=(e,t)=>{const n=lt(e);return _n(JSON.stringify(n),!1,t,3)};function ai(e,t){return Ft(e,t)}const li=rt("passive,once,capture"),si=rt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ui=rt("left,right"),ci=rt("onkeyup,onkeydown,onkeypress",!0),di=(e,t)=>Tn(e)&&"onclick"===e.content.toLowerCase()?_n(t,!0):4!==e.type?kn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const Ai=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(ai(60,e.loc)),t.removeNode())},pi=[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:_n("style",!0,t.loc),exp:ii(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],fi={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ai(50,r)),t.children.length&&(n.onError(ai(51,r)),t.children.length=0),{props:[Bn(_n("innerHTML",!0,r),o||_n("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ai(52,r)),t.children.length&&(n.onError(ai(53,r)),t.children.length=0),{props:[Bn(_n("textContent",!0),o?xn(n.helperString(en),[o],r):_n("",!0))]}}
2,model:(e,t,n)=>{const o=Ur(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(ai(55,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||i){let a=Kr,l=!1;if("input"===r||i){const o=Rn(t,"type");if(o){if(7===o.type)a=Yr;else if(o.value)switch(o.value.content){case"radio":a=$r;break;case"checkbox":a=zr;break;case"file":l=!0,n.onError(ai(56,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)&&(a=Yr)}else"select"===r&&(a=Wr);l||(o.needRuntime=n.helper(a))}else n.onError(ai(54,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Er(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:i}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:s}=((e,t,n,o)=>{const r=[],i=[],a=[];for(let o=0;o<t.length;o++){const l=t[o];"native"===l&&ro("COMPILER_V_ON_NATIVE",n)||li(l)?a.push(l):ui(l)?Tn(e)?ci(e.content)?r.push(l):i.push(l):(r.push(l),i.push(l)):si(l)?i.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:a}})(r,o,n,e.loc);if(l.includes("right")&&(r=di(r,"onContextmenu")),l.includes("middle")&&(r=di(r,"onMouseup")),l.length&&(i=xn(n.helper(Gr),[i,JSON.stringify(l)])),!a.length||Tn(r)&&!ci(r.content)||(i=xn(n.helper(Zr),[i,JSON.stringify(a)])),s.length){const e=s.map(St).join("");r=Tn(r)?_n(`${r.content}${e}`,!0):kn(["(",r,`) + "${e}"`])}return{props:[Bn(r,i)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(ai(58,r)),{props:[],needRuntime:n.helper(Jr)}}};const hi=Object.create(null);function mi(e,t){if(!gt(e)){if(!e.nodeType)return At;e=e.innerHTML}const n=e,r=hi[n];if(r)return r;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const{code:i}=function(e,t={}){return jr(e,mt({},ri,t,{nodeTransforms:[Ai,...pi,...t.nodeTransforms||[]],directiveTransforms:mt({},fi,t.directiveTransforms||{}),transformHoist:null}))}(e,mt({hoistStatic:!0,onError:void 0,onWarn:At},t));const a=new Function("Vue",i)(o);return a._rc=!0,hi[n]=a}(0,r.Y1)(mi)},3627:function(e,t,n){!function(){var e;try{if(typeof document<"u"){var t=document.createElement("style");t.nonce=null==(e=document.head.querySelector("meta[property=csp-nonce]"))?void 0:e.content,t.appendChild(document.createTextNode(".mapdiv[data-v-0f97a681]{width:100%;height:100%}.advanced-marker-wrapper{display:none}.mapdiv .advanced-marker-wrapper{display:inline-block}.custom-control-wrapper[data-v-ae91c15f]{display:none}.mapdiv .custom-control-wrapper[data-v-ae91c15f]{display:inline-block}.info-window-wrapper[data-v-fdd87cf3]{display:none}.mapdiv .info-window-wrapper[data-v-fdd87cf3]{display:inline-block}.custom-marker-wrapper[data-v-90fe8380]{display:none}.mapdiv .custom-marker-wrapper[data-v-90fe8380]{display:inline-block}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e,t){"use strict";var o=Object.defineProperty,r=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t,n)=>(r(e,"symbol"!=typeof t?t+"":t,n),n);const a=Symbol("map"),l=Symbol("api"),s=Symbol("marker"),u=Symbol("markerCluster"),c=Symbol("CustomMarker"),d=Symbol("mapTilesLoaded"),A=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"];function p(e,t){e.src=t}const f=e=>{var t,n,o,r="The Google Maps JavaScript API",i="google",a="importLibrary",l="__ib__",s=document,u=window,c=u[i]||(u[i]={}),d=c.maps||(c.maps={}),A=new Set,f=new URLSearchParams,h=()=>t||(t=new Promise((async(a,u)=>{var c;for(o in await(n=s.createElement("script")),f.set("libraries",[...A]+""),e)f.set(o.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[o]);f.set("callback",i+".maps."+l),p(n,"https://maps.googleapis.com/maps/api/js?"+f),d[l]=a,n.onerror=()=>t=u(Error(r+" could not load.")),n.nonce=(null==(c=s.querySelector("script[nonce]"))?void 0:c.nonce)||"",s.head.append(n)})));d[a]?console.warn(r+" only loads once. Ignoring:",e):d[a]=(e,...t)=>A.add(e)&&h().then((()=>d[a](e,...t)))},h=e=>`The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`,m=e=>`The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`,v="No options were set before calling importLibrary. Make sure to configure the loader using setOptions().",g=()=>{},y=()=>{};let b=!1;function w(e){b?g(h(e)):(C(e),b=!0)}async function L(e){var t,n;if(b||g(v),null==(n=null==(t=null==window?void 0:window.google)?void 0:t.maps)||!n.importLibrary)throw new Error("google.maps.importLibrary is not installed.");return await google.maps.importLibrary(e)}function C(e){var t,n;const o=!(null==(n=null==(t=window.google)?void 0:t.maps)||!n.importLibrary);!!o&&y(m(e)),o||f(e)}function B(e){return class extends e.OverlayView{constructor(e){super(),i(this,"element"),i(this,"opts");const{element:t,...n}=e;this.element=t,this.opts=n,this.opts.map&&this.setMap(this.opts.map)}getPosition(){return this.opts.position?this.opts.position instanceof e.LatLng?this.opts.position:new e.LatLng(this.opts.position):null}getVisible(){if(!this.element)return!1;const e=this.element;
2return"none"!==e.style.display&&"hidden"!==e.style.visibility&&(""===e.style.opacity||Number(e.style.opacity)>.01)}onAdd(){if(!this.element)return;const e=this.getPanes();e&&e.overlayMouseTarget.appendChild(this.element)}draw(){if(!this.element)return;const e=this.getProjection(),t=null==e?void 0:e.fromLatLngToDivPixel(this.getPosition());if(t){let e,n;switch(this.element.style.position="absolute",this.opts.anchorPoint){case"TOP_CENTER":e="-50%",n="-100%";break;case"BOTTOM_CENTER":e="-50%",n="0";break;case"LEFT_CENTER":e="-100%",n="-50%";break;case"RIGHT_CENTER":e="0",n="-50%";break;case"TOP_LEFT":e="-100%",n="-100%";break;case"TOP_RIGHT":e="0",n="-100%";break;case"BOTTOM_LEFT":e="-100%",n="0";break;case"BOTTOM_RIGHT":e="0",n="0";break;default:e="-50%",n="-50%"}const o=t.x+(this.opts.offsetX||0)+"px",r=t.y+(this.opts.offsetY||0)+"px";this.element.style.transform=`translateX(${e}) translateX(${o}) translateY(${n}) translateY(${r})`,this.opts.zIndex&&(this.element.style.zIndex=this.opts.zIndex.toString())}}onRemove(){this.element&&this.element.remove()}setOptions(e){const{element:t,...n}=e;this.element=t,this.opts=n,this.draw()}}}let _=!1;const k=["bounds_changed","center_changed","click","contextmenu","dblclick","drag","dragend","dragstart","heading_changed","idle","isfractionalzoomenabled_changed","mapcapabilities_changed","maptypeid_changed","mousemove","mouseout","mouseover","projection_changed","renderingtype_changed","rightclick","tilesloaded","tilt_changed","zoom_changed"],x=t.defineComponent({props:{apiPromise:{type:Promise},apiKey:{type:String,default:""},version:{type:String,default:"weekly"},libraries:{type:Array,default:()=>["places","marker"]},region:{type:String,required:!1},language:{type:String,required:!1},backgroundColor:{type:String,required:!1},center:{type:Object,default:()=>({lat:0,lng:0})},clickableIcons:{type:Boolean,required:!1,default:void 0},colorScheme:{type:String,required:!1},controlSize:{type:Number,required:!1},disableDefaultUi:{type:Boolean,required:!1,default:void 0},disableDoubleClickZoom:{type:Boolean,required:!1,default:void 0},draggable:{type:Boolean,required:!1,default:void 0},draggableCursor:{type:String,required:!1},draggingCursor:{type:String,required:!1},fullscreenControl:{type:Boolean,required:!1,default:void 0},fullscreenControlPosition:{type:String,required:!1},gestureHandling:{type:String,required:!1},heading:{type:Number,required:!1},isFractionalZoomEnabled:{type:Boolean,required:!1,default:void 0},keyboardShortcuts:{type:Boolean,required:!1,default:void 0},mapTypeControl:{type:Boolean,required:!1,default:void 0},mapTypeControlOptions:{type:Object,required:!1},mapTypeId:{type:[Number,String],required:!1},mapId:{type:String,required:!1},maxZoom:{type:Number,required:!1},minZoom:{type:Number,required:!1},noClear:{type:Boolean,required:!1,default:void 0},panControl:{type:Boolean,required:!1,default:void 0},panControlPosition:{type:String,required:!1},restriction:{type:Object,required:!1},rotateControl:{type:Boolean,required:!1,default:void 0},rotateControlPosition:{type:String,required:!1},scaleControl:{type:Boolean,required:!1,default:void 0},scaleControlStyle:{type:Number,required:!1},scrollwheel:{type:Boolean,required:!1,default:void 0},streetView:{type:Object,required:!1},streetViewControl:{type:Boolean,required:!1,default:void 0},streetViewControlPosition:{type:String,required:!1},styles:{type:Array,required:!1},tilt:{type:Number,required:!1},zoom:{type:Number,required:!1},zoomControl:{type:Boolean,required:!1,default:void 0},zoomControlPosition:{type:String,required:!1},cameraControl:{type:Boolean,required:!1,default:void 0},cameraControlPosition:{type:String,required:!1}},emits:[...k],setup(e,{emit:n}){const o=t.ref(),r=t.ref(!1),i=t.ref(),s=t.ref(),u=t.ref(!1);t.provide(a,i),t.provide(l,s),t.provide(d,u);const A=()=>{const t={...e};Object.keys(t).forEach((e=>{void 0===t[e]&&delete t[e]}));const n=e=>{var t;return e?{position:null==(t=s.value)?void 0:t.ControlPosition[e]}:{}},o={scaleControlOptions:e.scaleControlStyle?{style:e.scaleControlStyle}:{},panControlOptions:n(e.panControlPosition),zoomControlOptions:n(e.zoomControlPosition),rotateControlOptions:n(e.rotateControlPosition),streetViewControlOptions:n(e.streetViewControlPosition),fullscreenControlOptions:n(e.fullscreenControlPosition),cameraControlOptions:n(e.cameraControlPosition),disableDefaultUI:e.disableDefaultUi};return{...t,...o}},p=t.watch([s,i],(([e,t])=>{const n=t;e&&n&&(e.event.addListenerOnce(n,"tilesloaded",(()=>{u.value=!0})),setTimeout(p,0))}),{immediate:!0}),f=()=>{const{apiKey:t,region:n,version:o,language:r,libraries:i}=e;w({key:t,region:n,v:o,language:r,libraries:i})},h=a=>{const l=a?a.maps:google.maps;s.value=t.markRaw(l),i.value=t.markRaw(new l.Map(o.value,A()));const u=B(s.value);
2s.value[c]=u,k.forEach((e=>{var t;null==(t=i.value)||t.addListener(e,(t=>n(e,t)))})),r.value=!0;const d=Object.keys(e).filter((e=>!["apiPromise","apiKey","version","libraries","region","language","center","zoom"].includes(e))).map((n=>t.toRef(e,n)));t.watch([()=>e.center,()=>e.zoom,...d],(([e,t],[n,o])=>{var r,a,l;const{center:s,zoom:u,...c}=A();null==(r=i.value)||r.setOptions(c),void 0!==t&&t!==o&&(null==(a=i.value)||a.setZoom(t));const d=!n||e.lng!==n.lng||e.lat!==n.lat;e&&d&&(null==(l=i.value)||l.panTo(e))}))};return t.onMounted((()=>{if(e.apiPromise&&e.apiPromise instanceof Promise)e.apiPromise.then(h);else{_||(f(),_=!0);const t=e.libraries&&e.libraries.length>0?e.libraries:["maps","marker"];Promise.all(t.map((e=>L(e)))).then((()=>h()))}})),t.onBeforeUnmount((()=>{var e;u.value=!1,i.value&&(null==(e=s.value)||e.event.clearInstanceListeners(i.value))})),{mapRef:o,ready:r,map:i,api:s,mapTilesLoaded:u}}}),S=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n},E={ref:"mapRef",class:"mapdiv"};function T(e,n,o,r,i,a){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",E,null,512),t.renderSlot(e.$slots,"default",t.normalizeProps(t.guardReactiveProps({ready:e.ready,map:e.map,api:e.api,mapTilesLoaded:e.mapTilesLoaded})),void 0,!0)])}const N=S(x,[["render",T],["__scopeId","data-v-0f97a681"]]);function F(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const V=F((function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return!1;for(r=o;0!=r--;){var a=i[r];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n})),O="click",U="gmp-click",Q=["drag","dragend","dragstart",U],q=t.defineComponent({name:"AdvancedMarker",props:{options:{type:Object,required:!0},pinOptions:{type:Object,required:!1}},emits:[...Q,O],setup(e,{emit:n,expose:o,slots:r}){const i=t.ref(),c=t.computed((()=>{var e;return null==(e=r.content)?void 0:e.call(r).some((e=>e.type!==t.Comment))})),d=t.toRef(e,"options"),A=t.toRef(e,"pinOptions"),p=t.ref(),f=t.inject(a,t.ref()),h=t.inject(l,t.ref()),m=t.inject(u,t.ref()),v=t.computed((()=>!!(m.value&&h.value&&p.value instanceof google.maps.marker.AdvancedMarkerElement)));return t.watch([f,d,A,i],(async(e,[o,r,a,l])=>{var s,u,g;const y=!V(d.value,r)||!V(A.value,a),b=i.value!==l,w=y||b||f.value!==o;if(!f.value||!h.value||!w||c.value&&!i.value)return;const{AdvancedMarkerElement:L,PinElement:C}=h.value.marker;if(p.value){const{map:e,content:t,...n}=d.value;Object.assign(p.value,{content:c.value?i.value:A.value?new C(A.value):t,...n}),v.value&&(null==(s=m.value)||s.removeMarker(p.value),null==(u=m.value)||u.addMarker(p.value))}else c.value?d.value.content=i.value:A.value&&(d.value.content=new C(A.value)),p.value=t.markRaw(new L(d.value)),v.value?null==(g=m.value)||g.addMarker(p.value):p.value.map=f.value,Q.forEach((e=>{var t;null==(t=p.value)||t.addListener(e,(t=>{n(e,t),e===U&&n(O,t)}))}))}),{immediate:!0,flush:"post"}),t.onBeforeUnmount((()=>{var e,t;p.value&&(null==(e=h.value)||e.event.clearInstanceListeners(p.value),v.value?null==(t=m.value)||t.removeMarker(p.value):p.value.map=null)})),t.provide(s,p),o({marker:p}),{hasCustomSlotContent:c,markerRef:i}}}),M={key:0,class:"advanced-marker-wrapper"};function I(e,n,o,r,i,a){return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.hasCustomSlotContent?(t.openBlock(),t.createElementBlock("div",M,[t.createElementVNode("div",t.mergeProps({ref:"markerRef"},e.$attrs),[t.renderSlot(e.$slots,"content")],16)])):t.createCommentVNode("v-if",!0),t.renderSlot(e.$slots,"default")],64)}const P=S(q,[["render",I]]),D=e=>"Marker"===e,H=e=>e===c,R=(e,n,o,r)=>{const i=t.ref(),s=t.inject(a,t.ref()),d=t.inject(l,t.ref()),A=t.inject(u,t.ref()),p=t.computed((()=>!!(A.value&&d.value&&(i.value instanceof d.value.Marker||i.value instanceof d.value[c]))));return t.watch([s,o],((a,[l,u])=>{var c,f,h;const m=!V(o.value,u)||s.value!==l;if(s.value&&d.value&&m)if(i.value)i.value.setOptions(o.value),p.value&&(null==(c=A.value)||c.removeMarker(i.value),null==(f=A.value)||f.addMarker(i.value));else{if(D(e))i.value=t.markRaw(new d.value[e](o.value));else if(H(e)){const n=o.value;
2n.element&&(i.value=t.markRaw(new d.value[e](n)))}else i.value=t.markRaw(new d.value[e]({...o.value,map:s.value}));i.value&&(p.value?null==(h=A.value)||h.addMarker(i.value):(D(e)||H(e))&&i.value.setMap(s.value)),n.forEach((e=>{var t;null==(t=i.value)||t.addListener(e,(t=>r(e,t)))}))}}),{immediate:!0,flush:"post"}),t.onBeforeUnmount((()=>{var e,t;i.value&&(null==(e=d.value)||e.event.clearInstanceListeners(i.value),p.value?null==(t=A.value)||t.removeMarker(i.value):i.value.setMap(null))})),i},j=["animation_changed","click","dblclick","rightclick","dragstart","dragend","drag","mouseover","mousedown","mouseout","mouseup","draggable_changed","clickable_changed","contextmenu","cursor_changed","flat_changed","zindex_changed","icon_changed","position_changed","shape_changed","title_changed","visible_changed"],$=t.defineComponent({name:"Marker",props:{options:{type:Object,required:!0}},emits:[...j],setup(e,{emit:n,expose:o,slots:r}){const i=t.toRef(e,"options"),a=R("Marker",j,i,n);return t.provide(s,a),o({marker:a}),()=>{var e;return null==(e=r.default)?void 0:e.call(r)}}}),z=t.defineComponent({name:"Polyline",props:{options:{type:Object,required:!0}},emits:[...A],setup(e,{emit:n}){const o=t.toRef(e,"options");return{polyline:R("Polyline",A,o,n)}},render:()=>null}),K=t.defineComponent({name:"Polygon",props:{options:{type:Object,required:!0}},emits:[...A],setup(e,{emit:n}){const o=t.toRef(e,"options");return{polygon:R("Polygon",A,o,n)}},render:()=>null}
2),W=[...A,"bounds_changed"],Y=t.defineComponent({name:"Rectangle",props:{options:{type:Object,required:!0}},emits:[...W],setup(e,{emit:n}){const o=t.toRef(e,"options");return{rectangle:R("Rectangle",W,o,n)}},render:()=>null}),G=[...A,"center_changed","radius_changed"],Z=t.defineComponent({name:"Circle",props:{options:{type:Object,required:!0}},emits:[...G],setup(e,{emit:n}){const o=t.toRef(e,"options");return{circle:R("Circle",G,o,n)}},render:()=>null}),J=t.defineComponent({props:{position:{type:String,required:!0},index:{type:Number,default:1}},emits:["content:loaded"],setup(e,{emit:n}){const o=t.ref(null),r=t.inject(a,t.ref()),i=t.inject(l,t.ref()),s=t.inject(d,t.ref(!1)),u=t.watch([s,i,o],(([t,o,r])=>{o&&t&&r&&(c(e.position),n("content:loaded"),setTimeout(u,0))}),{immediate:!0}),c=t=>{if(r.value&&i.value&&o.value){const n=i.value.ControlPosition[t];o.value.index=e.index,r.value.controls[n].push(o.value)}},A=e=>{if(r.value&&i.value){let t=null;const n=i.value.ControlPosition[e];r.value.controls[n].forEach(((e,n)=>{e===o.value&&(t=n)})),null!==t&&r.value.controls[n].removeAt(t)}};return t.onBeforeUnmount((()=>A(e.position))),t.watch((()=>e.position),((e,t)=>{A(t),c(e)})),t.watch((()=>e.index),(e=>{o.value&&(o.value.index=e)})),{controlRef:o}}}),X={ref:"controlRef",class:"custom-control-wrapper"};function ee(e,n,o,r,i,a){return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode("\n v-show must be used instead of v-if otherwise there\n would be no rendered content pushed to the map controls\n "),t.createElementVNode("div",X,[t.renderSlot(e.$slots,"default",{},void 0,!0)],512)],2112)}const te=S(J,[["render",ee],["__scopeId","data-v-ae91c15f"]]);function ne(e){return e instanceof google.maps.marker.AdvancedMarkerElement?"gmp-click":"click"}const oe=["closeclick","content_changed","domready","position_changed","visible","zindex_changed"],re=t.defineComponent({inheritAttrs:!1,props:{options:{type:Object,default:()=>({})},modelValue:{type:Boolean}},emits:[...oe,"update:modelValue"],setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),u=t.ref(),c=t.inject(a,t.ref()),d=t.inject(l,t.ref()),A=t.inject(s,t.ref());let p,f=e.modelValue;const h=t.computed((()=>{var e;return null==(e=n.default)?void 0:e.call(n).some((e=>e.type!==t.Comment))})),m=e=>{f=e,o("update:modelValue",e)},v=e=>{i.value&&(i.value.open({map:c.value,anchor:A.value,...e}),m(!0))},g=()=>{i.value&&(i.value.close(),m(!1))};return t.onMounted((()=>{t.watch([c,()=>e.options],(([e,n],[r,a])=>{var l;const s=!V(n,a)||c.value!==r;c.value&&d.value&&s&&(i.value?(i.value.setOptions({...n,content:h.value?u.value:n.content}),A.value||v()):(i.value=t.markRaw(new d.value.InfoWindow({...n,content:h.value?u.value:n.content})),A.value&&(p=A.value.addListener(ne(A.value),(()=>v()))),(!A.value||f)&&v(),oe.forEach((e=>{var t;null==(t=i.value)||t.addListener(e,(t=>o(e,t)))})),null==(l=i.value)||l.addListener("closeclick",(()=>m(!1)))))}),{immediate:!0,flush:"post"}),t.watch(A,((e,t)=>{!i.value||e===t||(p&&(p.remove(),p=void 0),e&&(p=e.addListener(ne(e),(()=>v()))))}),{flush:"post"}),t.watch((()=>e.modelValue),(e=>{e!==f&&(e?v():g())}))})),t.onBeforeUnmount((()=>{var e;
2p&&p.remove(),i.value&&(null==(e=d.value)||e.event.clearInstanceListeners(i.value),g())})),r({infoWindow:i,open:v,close:g}),{infoWindow:i,infoWindowRef:u,hasSlotContent:h,open:v,close:g}}}),ie={key:0,class:"info-window-wrapper"};function ae(e,n,o,r,i,a){return e.hasSlotContent?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("div",t.mergeProps({ref:"infoWindowRef"},e.$attrs),[t.renderSlot(e.$slots,"default",{},void 0,!0)],16)])):t.createCommentVNode("v-if",!0)}const le=S(re,[["render",ae],["__scopeId","data-v-fdd87cf3"]]);var se=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty;function de(e,t){return function(n,o,r){return e(n,o,r)&&t(n,o,r)}}function Ae(e){return function(t,n,o){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,o);var r=o.cache,i=r.get(t),a=r.get(n);if(i&&a)return i===n&&a===t;r.set(t,n),r.set(n,t);var l=e(t,n,o);return r.delete(t),r.delete(n),l}}function pe(e){return se(e).concat(ue(e))}var fe=Object.hasOwn||function(e,t){return ce.call(e,t)};function he(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var me="__v",ve="__o",ge="_owner",ye=Object.getOwnPropertyDescriptor,be=Object.keys;function we(e,t,n){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!n.equals(e[o],t[o],o,o,e,t,n))return!1;return!0}function Le(e,t){return he(e.getTime(),t.getTime())}function Ce(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Be(e,t){return e===t}function _e(e,t,n){var o=e.size;if(o!==t.size)return!1;if(!o)return!0;for(var r,i,a=new Array(o),l=e.entries(),s=0;(r=l.next())&&!r.done;){for(var u=t.entries(),c=!1,d=0;(i=u.next())&&!i.done;)if(a[d])d++;else{var A=r.value,p=i.value;if(n.equals(A[0],p[0],s,d,e,t,n)&&n.equals(A[1],p[1],A[0],p[0],e,t,n)){c=a[d]=!0;break}d++}if(!c)return!1;s++}return!0}var ke=he;function xe(e,t,n){var o=be(e),r=o.length;if(be(t).length!==r)return!1;for(;r-- >0;)if(!Oe(e,t,n,o[r]))return!1;return!0}function Se(e,t,n){var o,r,i,a=pe(e),l=a.length;if(pe(t).length!==l)return!1;for(;l-- >0;)if(!Oe(e,t,n,o=a[l])||(r=ye(e,o),i=ye(t,o),(r||i)&&(!r||!i||r.configurable!==i.configurable||r.enumerable!==i.enumerable||r.writable!==i.writable)))return!1;return!0}function Ee(e,t){return he(e.valueOf(),t.valueOf())}function Te(e,t){return e.source===t.source&&e.flags===t.flags}function Ne(e,t,n){var o=e.size;if(o!==t.size)return!1;if(!o)return!0;for(var r,i,a=new Array(o),l=e.values();(r=l.next())&&!r.done;){for(var s=t.values(),u=!1,c=0;(i=s.next())&&!i.done;){if(!a[c]&&n.equals(r.value,i.value,r.value,i.value,e,t,n)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function Fe(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Ve(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Oe(e,t,n,o){return!(o!==ge&&o!==ve&&o!==me||!e.$$typeof&&!t.$$typeof)||fe(t,o)&&n.equals(e[o],t[o],o,o,e,t,n)}var Ue="[object Arguments]",Qe="[object Boolean]",qe="[object Date]",Me="[object Error]",Ie="[object Map]",Pe="[object Number]",De="[object Object]",He="[object RegExp]",Re="[object Set]",je="[object String]",$e="[object URL]",ze=Array.isArray,Ke="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,We=Object.assign,Ye=Object.prototype.toString.call.bind(Object.prototype.toString);function Ge(e){var t=e.areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,r=e.areFunctionsEqual,i=e.areMapsEqual,a=e.areNumbersEqual,l=e.areObjectsEqual,s=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,c=e.areSetsEqual,d=e.areTypedArraysEqual,A=e.areUrlsEqual;return function(e,p,f){if(e===p)return!0;if(null==e||null==p)return!1;var h=typeof e;if(h!==typeof p)return!1;if("object"!==h)return"number"===h?a(e,p,f):"function"===h&&r(e,p,f);var m=e.constructor;if(m!==p.constructor)return!1;if(m===Object)return l(e,p,f);if(ze(e))return t(e,p,f);if(null!=Ke&&Ke(e))return d(e,p,f);if(m===Date)return n(e,p,f);if(m===RegExp)return u(e,p,f);if(m===Map)return i(e,p,f);if(m===Set)return c(e,p,f);var v=Ye(e);return v===qe?n(e,p,f):v===He?u(e,p,f):v===Ie?i(e,p,f):v===Re?c(e,p,f):v===De?"function"!=typeof e.then&&"function"!=typeof p.then&&l(e,p,f):v===$e?A(e,p,f):v===Me?o(e,p,f):v===Ue?l(e,p,f):(v===Qe||v===Pe||v===je)&&s(e,p,f)}}
vendor: 5,494 bytes, line 2
2function Ze(e){var t=e.circular,n=e.createCustomConfig,o=e.strict,r={areArraysEqual:o?Se:we,areDatesEqual:Le,areErrorsEqual:Ce,areFunctionsEqual:Be,areMapsEqual:o?de(_e,Se):_e,areNumbersEqual:ke,areObjectsEqual:o?Se:xe,arePrimitiveWrappersEqual:Ee,areRegExpsEqual:Te,areSetsEqual:o?de(Ne,Se):Ne,areTypedArraysEqual:o?Se:Fe,areUrlsEqual:Ve};if(n&&(r=We({},r,n(r))),t){var i=Ae(r.areArraysEqual),a=Ae(r.areMapsEqual),l=Ae(r.areObjectsEqual),s=Ae(r.areSetsEqual);r=We({},r,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:l,areSetsEqual:s})}return r}function Je(e){return function(t,n,o,r,i,a,l){return e(t,n,l)}}function Xe(e){var t=e.circular,n=e.comparator,o=e.createState,r=e.equals,i=e.strict;if(o)return function(e,a){var l=o(),s=l.cache,u=void 0===s?t?new WeakMap:void 0:s,c=l.meta;return n(e,a,{cache:u,equals:r,meta:c,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};var a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}var et=tt();function tt(e){void 0===e&&(e={});var t=e.circular,n=void 0!==t&&t,o=e.createInternalComparator,r=e.createState,i=e.strict,a=void 0!==i&&i,l=Ge(Ze(e));return Xe({circular:n,comparator:l,createState:r,equals:o?o(l):Je(l),strict:a})}tt({strict:!0}),tt({circular:!0}),tt({circular:!0,strict:!0}),tt({createInternalComparator:function(){return he}}),tt({strict:!0,createInternalComparator:function(){return he}}),tt({circular:!0,createInternalComparator:function(){return he}}),tt({circular:!0,createInternalComparator:function(){return he},strict:!0});const nt=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],ot=1,rt=8;class it{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[t,n]=new Uint8Array(e,0,2);if(219!==t)throw new Error("Data does not appear to be in a KDBush format.");const o=n>>4;if(o!==ot)throw new Error(`Got v${o} data when expected v${ot}.`);const r=nt[15&n];if(!r)throw new Error("Unrecognized array type.");const[i]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new it(a,i,r,e)}constructor(e,t=64,n=Float64Array,o){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=n,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const r=nt.indexOf(this.ArrayType),i=2*e*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-a%8)%8;if(r<0)throw new Error(`Unexpected typed array class: ${n}.`);o&&o instanceof ArrayBuffer?(this.data=o,this.ids=new this.IndexArrayType(this.data,rt,e),this.coords=new this.ArrayType(this.data,rt+a+l,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(rt+i+a+l),this.ids=new this.IndexArrayType(this.data,rt,e),this.coords=new this.ArrayType(this.data,rt+a+l,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(ot<<4)+r]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=e,this.coords[this._pos++]=t,n}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return at(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,n,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:i,nodeSize:a}=this,l=[0,r.length-1,0],s=[];for(;l.length;){const u=l.pop()||0,c=l.pop()||0,d=l.pop()||0;if(c-d<=a){for(let a=d;a<=c;a++){const l=i[2*a],u=i[2*a+1];l>=e&&l<=n&&u>=t&&u<=o&&s.push(r[a])}continue}const A=d+c>>1,p=i[2*A],f=i[2*A+1];p>=e&&p<=n&&f>=t&&f<=o&&s.push(r[A]),(0===u?e<=p:t<=f)&&(l.push(d),l.push(A-1),l.push(1-u)),(0===u?n>=p:o>=f)&&(l.push(A+1),l.push(c),l.push(1-u))}return s}within(e,t,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:r,nodeSize:i}=this,a=[0,o.length-1,0],l=[],s=n*n;for(;a.length;){const u=a.pop()||0,c=a.pop()||0,d=a.pop()||0;if(c-d<=i){for(let n=d;n<=c;n++)ct(r[2*n],r[2*n+1],e,t)<=s&&l.push(o[n]);continue}const A=d+c>>1,p=r[2*A],f=r[2*A+1];ct(p,f,e,t)<=s&&l.push(o[A]),(0===u?e-n<=p:t-n<=f)&&(a.push(d),a.push(A-1),a.push(1-u)),(0===u?e+n>=p:t+n>=f)&&(a.push(A+1),a.push(c),a.push(1-u))}return l}}function at(e,t,n,o,r,i){if(r-o<=n)return;const a=o+r>>1;lt(e,t,a,o,r,i),at(e,t,n,o,a-1,1-i),at(e,t,n,a+1,r,1-i)}function lt(e,t,n,o,r,i){for(;r>o;){if(r-o>600){const a=r-o+1,l=n-o+1,s=Math.log(a),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(a-u)/a)*(l-a/2<0?-1:1);lt(e,t,n,Math.max(o,Math.floor(n-l*u/a+c)),Math.min(r,Math.floor(n+(a-l)*u/a+c)),i)}const a=t[2*n+i];let l=o,s=r;for(st(e,t,o,n),t[2*r+i]>a&&st(e,t,o,r);l<s;){for(st(e,t,l,s),l++,s--;t[2*l+i]<a;)l++;for(;t[2*s+i]>a;)s--}t[2*o+i]===a?st(e,t,o,s):(s++,st(e,t,s,r)),s<=n&&(o=s+1),n<=s&&(r=s-1)}}function st(e,t,n,o){ut(e,n,o),ut(t,2*n,2*o),ut(t,2*n+1,2*o+1)}function ut(e,t,n){const o=e[t];e[t]=e[n],e[n]=o}function ct(e,t,n,o){const r=e-n,i=t-o;return r*r+i*i}const dt={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},At=Math.fround||(gt=new Float32Array(1),e=>(gt[0]=+e,gt[0])),pt=2,ft=3,ht=4,mt=5,vt=6;var gt;class yt{constructor(e){this.options=Object.assign(Object.create(dt),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}
2load(e){const{log:t,minZoom:n,maxZoom:o}=this.options;t&&console.time("total time");const r=`prepare ${e.length} points`;t&&console.time(r),this.points=e;const i=[];for(let t=0;t<e.length;t++){const n=e[t];if(!n.geometry)continue;const[o,r]=n.geometry.coordinates,a=At(Lt(o)),l=At(Ct(r));i.push(a,l,1/0,t,-1,1),this.options.reduce&&i.push(0)}let a=this.trees[o+1]=this._createTree(i);t&&console.timeEnd(r);for(let e=o;e>=n;e--){const n=+Date.now();a=this.trees[e]=this._createTree(this._cluster(a,e)),t&&console.log("z%d: %d clusters in %dms",e,a.numItems,+Date.now()-n)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let n=((e[0]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[1]));let r=180===e[2]?180:((e[2]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,r=180;else if(n>r){const e=this.getClusters([n,o,180,i],t),a=this.getClusters([-180,o,r,i],t);return e.concat(a)}const a=this.trees[this._limitZoom(t)],l=a.range(Lt(n),Ct(i),Lt(r),Ct(o)),s=a.data,u=[];for(const e of l){const t=this.stride*e;u.push(s[t+mt]>1?bt(s,t,this.clusterProps):this.points[s[t+ft]])}return u}getChildren(e){const t=this._getOriginId(e),n=this._getOriginZoom(e),o="No cluster with the specified id.",r=this.trees[n];if(!r)throw new Error(o);const i=r.data;if(t*this.stride>=i.length)throw new Error(o);const a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),l=i[t*this.stride],s=i[t*this.stride+1],u=r.within(l,s,a),c=[];for(const t of u){const n=t*this.stride;i[n+ht]===e&&c.push(i[n+mt]>1?bt(i,n,this.clusterProps):this.points[i[n+ft]])}if(0===c.length)throw new Error(o);return c}getLeaves(e,t,n){t=t||10,n=n||0;const o=[];return this._appendLeaves(o,e,t,n,0),o}getTile(e,t,n){const o=this.trees[this._limitZoom(e)],r=Math.pow(2,e),{extent:i,radius:a}=this.options,l=a/i,s=(n-l)/r,u=(n+1+l)/r,c={features:[]};return this._addTileFeatures(o.range((t-l)/r,s,(t+1+l)/r,u),o.data,t,n,r,c),0===t&&this._addTileFeatures(o.range(1-l/r,s,1,u),o.data,r,n,r,c),t===r-1&&this._addTileFeatures(o.range(0,s,l/r,u),o.data,-1,n,r,c),c.features.length?c:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,o,r){const i=this.getChildren(t);for(const t of i){const i=t.properties;if(i&&i.cluster?r+i.point_count<=o?r+=i.point_count:r=this._appendLeaves(e,i.cluster_id,n,o,r):r<o?r++:e.push(t),e.length===n)break}return r}_createTree(e){const t=new it(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let n=0;n<e.length;n+=this.stride)t.add(e[n],e[n+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,n,o,r,i){for(const a of e){const e=a*this.stride,l=t[e+mt]>1;let s,u,c;if(l)s=wt(t,e,this.clusterProps),u=t[e],c=t[e+1];else{const n=this.points[t[e+ft]];s=n.properties;const[o,r]=n.geometry.coordinates;u=Lt(o),c=Ct(r)}const d={type:1,geometry:[[Math.round(this.options.extent*(u*r-n)),Math.round(this.options.extent*(c*r-o))]],tags:s};let A;A=l||this.options.generateId?t[e+ft]:this.points[t[e+ft]].id,void 0!==A&&(d.id=A),i.features.push(d)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const{radius:n,extent:o,reduce:r,minPoints:i}=this.options,a=n/(o*Math.pow(2,t)),l=e.data,s=[],u=this.stride;for(let n=0;n<l.length;n+=u){if(l[n+pt]<=t)continue;l[n+pt]=t;const o=l[n],c=l[n+1],d=e.within(l[n],l[n+1],a),A=l[n+mt];let p=A;for(const e of d){const n=e*u;l[n+pt]>t&&(p+=l[n+mt])}if(p>A&&p>=i){let e,i=o*A,a=c*A,f=-1;const h=((n/u|0)<<5)+(t+1)+this.points.length;for(const o of d){const s=o*u;if(l[s+pt]<=t)continue;l[s+pt]=t;const c=l[s+mt];i+=l[s]*c,a+=l[s+1]*c,l[s+ht]=h,r&&(e||(e=this._map(l,n,!0),f=this.clusterProps.length,this.clusterProps.push(e)),r(e,this._map(l,s)))}l[n+ht]=h,s.push(i/p,a/p,1/0,h,-1,p),r&&s.push(f)}else{for(let e=0;e<u;e++)s.push(l[n+e]);if(p>1)for(const e of d){const n=e*u;if(!(l[n+pt]<=t)){l[n+pt]=t;for(let e=0;e<u;e++)s.push(l[n+e])}}}}return s}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,n){if(e[t+mt]>1){const o=this.clusterProps[e[t+vt]];return n?Object.assign({},o):o}const o=this.points[e[t+ft]].properties,r=this.options.map(o);return n&&r===o?Object.assign({},r):r}}function bt(e,t,n){return{type:"Feature",id:e[t+ft],properties:wt(e,t,n),geometry:{type:"Point",coordinates:[Bt(e[t]),_t(e[t+1])]}}}function wt(e,t,n){const o=e[t+mt],r=o>=1e4?`${Math.round(o/1e3)}
2k`:o>=1e3?Math.round(o/100)/10+"k":o,i=e[t+vt],a=-1===i?{}:Object.assign({},n[i]);return Object.assign(a,{cluster:!0,cluster_id:e[t+ft],point_count:o,point_count_abbreviated:r})}function Lt(e){return e/360+.5}function Ct(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function Bt(e){return 360*(e-.5)}function _t(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function kt(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;class xt{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(Number.isFinite(e.position.lat)&&Number.isFinite(e.position.lng))return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class St{constructor({markers:e,position:t}){this.markers=[],e&&(this.markers=e),t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0===this.markers.length&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const t of this.markers)e.extend(xt.getPosition(t));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>xt.getVisible(e))).length}push(e){this.markers.push(e)}delete(){this.marker&&(xt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}function Et(e,t="assertion failed"){if(null==e)throw Error(t)}const Tt=(e,t,n,o)=>{const r=e.getBounds();Et(r);const i=Nt(r,t,o);return n.filter((e=>i.contains(xt.getPosition(e))))},Nt=(e,t,n)=>{const{northEast:o,southWest:r}=Vt(e,t),i=Ot({northEast:o,southWest:r},n);return Ut(i,t)},Ft=(e,t,n)=>
2{const o=Nt(e,t,n),r=o.getNorthEast(),i=o.getSouthWest();return[i.lng(),i.lat(),r.lng(),r.lat()]},Vt=(e,t)=>{const n=t.fromLatLngToDivPixel(e.getNorthEast()),o=t.fromLatLngToDivPixel(e.getSouthWest());return Et(n),Et(o),{northEast:n,southWest:o}},Ot=({northEast:e,southWest:t},n)=>(e.x+=n,e.y-=n,t.x-=n,t.y+=n,{northEast:e,southWest:t}),Ut=({northEast:e,southWest:t},n)=>{const o=n.fromDivPixelToLatLng(t),r=n.fromDivPixelToLatLng(e);return new google.maps.LatLngBounds(o,r)};class Qt{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Mt(e)}}class qt extends Qt{constructor(e){var{viewportPadding:t=60}=e;super(kt(e,["viewportPadding"])),this.viewportPadding=60,this.viewportPadding=t}calculate({markers:e,map:t,mapCanvasProjection:n}){const o=t.getZoom();return Et(o),o>=this.maxZoom?{clusters:this.noop({markers:e}),changed:!1}:{clusters:this.cluster({markers:Tt(t,n,e,this.viewportPadding),map:t,mapCanvasProjection:n})}}}const Mt=e=>e.map((e=>new St({position:xt.getPosition(e),markers:[e]})));class It extends Qt{constructor(e){var{maxZoom:t,radius:n=60}=e,o=kt(e,["maxZoom","radius"]);super({maxZoom:t}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new yt(Object.assign({maxZoom:this.maxZoom,radius:n},o))}calculate(e){let t=!1,n=e.map.getZoom();Et(n),n=Math.round(n);const o={zoom:n};if(!et(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const n=this.markers.map((e=>{const t=xt.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}}));this.superCluster.load(n)}return t||(this.state.zoom<=this.maxZoom||o.zoom<=this.maxZoom)&&(t=!et(this.state,o)),this.state=o,0===e.markers.length?(this.cluster
2s=[],{clusters:this.clusters,changed:t}):(t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t})}cluster({map:e}){const t=e.getZoom();return Et(t),this.superCluster.getClusters([-180,-90,180,90],Math.round(t)).map((e=>this.transformCluster(e)))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new St({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map((e=>e.properties.marker)),position:{lat:t,lng:e}});const o=n.marker;return new St({markers:[o],position:xt.getPosition(o)})}}class Pt extends qt{constructor(e){var{maxZoom:t,radius:n=60,viewportPadding:o=60}=e,r=kt(e,["maxZoom","radius","viewportPadding"]);super({maxZoom:t,viewportPadding:o}),this.markers=[],this.clusters=[],this.superCluster=new yt(Object.assign({maxZoom:this.maxZoom,radius:n},r)),this.state={zoom:-1,view:[0,0,0,0]}}calculate(e){const t=this.getViewportState(e);let n=!et(this.state,t);if(!et(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const t=this.markers.map((e=>{const t=xt.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}}));this.superCluster.load(t)}
2return n&&(this.clusters=this.cluster(e),this.state=t),{clusters:this.clusters,changed:n}}cluster(e){const t=this.getViewportState(e);return this.superCluster.getClusters(t.view,t.zoom).map((e=>this.transformCluster(e)))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new St({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map((e=>e.properties.marker)),position:{lat:t,lng:e}});const o=n.marker;return new St({markers:[o],position:xt.getPosition(o)})}getViewportState(e){const t=e.map.getZoom(),n=e.map.getBounds();return Et(t),Et(n),{zoom:Math.round(t),view:Ft(n,e.mapCanvasProjection,this.viewportPadding)}}}class Dt{constructor(e,t){this.markers={sum:e.length};const n=t.map((e=>e.count)),o=n.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:o/t.length,sum:o,min:Math.min(...n),max:Math.max(...n)}}}}class Ht{render({count:e,position:t},n,o){const r=`<svg fill="${e>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">\n<circle cx="120" cy="120" opacity=".6" r="70" />\n<circle cx="120" cy="120" opacity=".3" r="90" />\n<circle cx="120" cy="120" opacity=".2" r="110" />\n<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>\n</svg>`,i=`Cluster of ${e} markers`,a=Number(google.maps.Marker.MAX_ZINDEX)+e;if(xt.isAdvancedMarkerAvailable(o)){const e=(new DOMParser).parseFromString(r,"image/svg+xml").documentElement;e.setAttribute("transform","translate(0 25)");const n={map:o,position:t,zIndex:a,title:i,content:e};return new google.maps.marker.AdvancedMarkerElement(n)}const l={position:t,zIndex:a,title:i,icon:{url:`data:image/svg+xml;base64,${btoa(r)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(l)}}function Rt(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}class jt{constructor(){Rt(jt,google.maps.OverlayView)}}var $t;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click",e.GMP_CLICK="gmp-click"}($t||($t={}));const zt=(e,t,n)=>{t.bounds&&n.fitBounds(t.bounds)};class Kt extends jt{constructor({map:e,markers:t=[],algorithmOptions:n={},algorithm:o=new It(n),renderer:r=new Ht,onClusterClick:i=zt}){super(),this.map=null,this.idleListener=null,this.markers=[...t],this.clusters=[],this.algorithm=o,this.renderer=r,this.onClusterClick=i,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const n=this.markers.indexOf(e);return-1!==n&&(xt.setMap(e,null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){let n=!1;return e.forEach((e=>{n=this.removeMarker(e,!0)||n})),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,$t.CLUSTERING_BEGIN,this);const{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(n||null==n){const e=new Set;for(const n of t)1==n.markers.length&&e.add(n.markers[0]);const n=[];for(const t of this.clusters)null!=t.marker&&(1==t.markers.length?e.has(t.marker)||xt.setMap(t.marker,null):n.push(t.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame((()=>n.forEach((e=>xt.setMap(e,null)))))}google.maps.event.trigger(this,$t.CLUSTERING_END,this)}}onAdd(){const e=this.getMap();Et(e),this.idleListener=e.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach((e=>xt.setMap(e,null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new Dt(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((n=>{if(1===n.markers.length)n.marker=n.markers[0];
2else if(n.marker=this.renderer.render(n,e,t),n.markers.forEach((e=>xt.setMap(e,null))),this.onClusterClick){const e=xt.isAdvancedMarker(n.marker)?$t.GMP_CLICK:$t.CLUSTER_CLICK;n.marker.addListener(e,(e=>{google.maps.event.trigger(this,$t.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)}))}xt.setMap(n.marker,t)}))}}function Wt(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}const Yt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var Gt="object"==typeof self&&self&&self.Object===Object&&self;const Zt=Yt||Gt||Function("return this")(),Jt=function(){return Zt.Date.now()};var Xt=/\s/;function en(e){for(var t=e.length;t--&&Xt.test(e.charAt(t)););return t}var tn=/^\s+/;function nn(e){return e&&e.slice(0,en(e)+1).replace(tn,"")}const on=Zt.Symbol;var rn=Object.prototype,an=rn.hasOwnProperty,ln=rn.toString,sn=on?on.toStringTag:void 0;function un(e){var t=an.call(e,sn),n=e[sn];try{e[sn]=void 0;var o=!0}catch{}var r=ln.call(e);return o&&(t?e[sn]=n:delete e[sn]),r}var cn=Object.prototype.toString;function dn(e){return cn.call(e)}var An="[object Null]",pn="[object Undefined]",fn=on?on.toStringTag:void 0;function hn(e){return null==e?void 0===e?pn:An:fn&&fn in Object(e)?un(e):dn(e)}function mn(e){return null!=e&&"object"==typeof e}var vn="[object Symbol]";function gn(e){return"symbol"==typeof e||mn(e)&&hn(e)==vn}var yn=NaN,bn=/^[-+]0x[0-9a-f]+$/i,wn=/^0b[01]+$/i,Ln=/^0o[0-7]+$/i,Cn=parseInt;function Bn(e){if("number"==typeof e)return e;if(gn(e))return yn;if(Wt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Wt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=nn(e);var n=wn.test(e);return n||Ln.test(e)?Cn(e.slice(2),n?2:8):bn.test(e)?yn:+e}var _n="Expected a function",kn=Math.max,xn=Math.min;function Sn(e,t,n){var o,r,i,a,l,s,u=0,c=!1,d=!1,A=!0;if("function"!=typeof e)throw new TypeError(_n);function p(t){var n=o,i=r;return o=r=void 0,u=t,a=e.apply(i,n)}function f(e){return u=e,l=setTimeout(v,t),c?p(e):a}function h(e){var n=t-(e-s);return d?xn(n,i-(e-u)):n}function m(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=i}function v(){var e=Jt();if(m(e))return g(e);l=setTimeout(v,h(e))}function g(e){return l=void 0,A&&o?p(e):(o=r=void 0,a)}function y(){void 0!==l&&clearTimeout(l),u=0,o=s=r=l=void 0}function b(){return void 0===l?a:g(Jt())}function w(){var e=Jt(),n=m(e);if(o=arguments,r=this,s=e,n){if(void 0===l)return f(s);if(d)return clearTimeout(l),l=setTimeout(v,t),p(s)}return void 0===l&&(l=setTimeout(v,t)),a}return t=Bn(t)||0,Wt(n)&&(c=!!n.leading,i=(d="maxWait"in n)?kn(Bn(n.maxWait)||0,t):i,A="trailing"in n?!!n.trailing:A),w.cancel=y,w.flush=b,w}class En extends Kt{constructor(e,t=10){super(e),i(this,"debouncedRender"),this.debouncedRender=Sn((()=>{super.render()}),t,{leading:!0,trailing:!0})}addMarker(e,t){super.addMarker(e,!0),t||this.debouncedRender()}removeMarker(e,t){const n=super.removeMarker(e,!0);return t||this.debouncedRender(),n}addMarkers(e,t){super.addMarkers(e,!0),t||this.debouncedRender()}removeMarkers(e,t){const n=super.removeMarkers(e,!0);return t||this.debouncedRender(),n}clearMarkers(e){super.clearMarkers(!0),e||this.debouncedRender()}render(){this.debouncedRender.cancel(),super.render()}destroy(){this.debouncedRender.cancel()}}class Tn extends Pt{calculate(e){return 0===e.markers.length?{clusters:[],changed:!0}:super.calculate(e)}}const Nn=Object.values($t),Fn=t.defineComponent({name:"MarkerCluster",props:{options:{type:Object,default:()=>({})},renderDebounceDelay:{type:Number,default:10}},emits:Nn,setup(e,{emit:n,expose:o,slots:r}){const i=t.ref(),s=t.inject(a,t.ref()),c=t.inject(l,t.ref());return t.provide(u,i),t.watch(s,(()=>{s.value&&(i.value=t.markRaw(new En({map:s.value,algorithm:new Tn(e.options.algorithmOptions??{}),...e.options},e.renderDebounceDelay)),Nn.forEach((e=>{var t;null==(t=i.value)||t.addListener(e,(t=>n(e,t)))})))}),{immediate:!0}),t.onBeforeUnmount((()=>{var e;i.value&&(null==(e=c.value)||e.event.clearInstanceListeners(i.value),i.value.clearMarkers(!0),i.value.setMap(null),i.value.destroy())})),o({markerCluster:i}),()=>{var e;return null==(e=r.default)?void 0:e.call(r)}}}),Vn=t.defineComponent({inheritAttrs:!1,props:{options:{type:Object,required:!0}},setup(e,{slots:n,emit:o,expose:r}){const i=t.ref(),a=t.computed((()=>{var e;return null==(e=n.default)?void 0:e.call(n).some((e=>e.type!==t.Comment))})),l=t.computed((()=>({...e.options,element:i.value}))),s=R(c,[],l,o);return r({customMarker:s}),{customMarkerRef:i,customMarker:s,hasSlotContent:a}}}),On={key:0,class:"custom-marker-wrapper"};function Un(e,n,o,r,i,a){return e.hasSlotContent?(t.openBlock(),t.createElementBlock("div",On,[t.createElementVNode("div",t.mergeProps({ref:"customMarkerRef",style:{cursor:e.$attrs.onClick?"pointer":void 0}},e.$attrs),[t.renderSlot(e.$slots,"default",{},void 0,!0)],16)])):t.createCommentVNode("v-if",!0)}const Qn=S(Vn,[["render",Un],["__scopeId","data-v-90fe8380"]]),qn=t.defineComponent({name:"HeatmapLayer",props:{options:{type:Object,default:()=>({})}},setup(e){const n=t.ref(),o=t.inject(a,t.ref()),r=t.inject(l,t.ref());return t.watch([o,()=>e.options],(([e,i],[a,l])=>{const s=!V(i,l)||o.value!==a;if(o.value&&r.value&&s){let e;if(!i.data||i.data instanceof r.value.MVCArray)e=i;else{const t=r.value.LatLng,n=i.data.map((e=>e instanceof t||"location"in e&&(e.location instanceof t||null===e.location)?e:"location"in e?{...e,location:new t(e.location)}:new t(e)));e={...i,data:n}}n.value?n.value.setOptions(e):n.value=t.markRaw(new r.value.visualization.HeatmapLayer({...e,map:o.value}))}}),{immediate:!0}),t.onBeforeUnmount((()=>{n.value&&n.value.setMap(null)})),{heatmapLayer:n}},render:()=>null});e.AdvancedMarker=P,e.Circle=Z,e.CustomControl=te,e.CustomMarker=Qn,e.GoogleMap=N,e.HeatmapLayer=qn,e.InfoWindow=le,e.Marker=$,e.MarkerCluster
2=Fn,e.Polygon=K,e.Polyline=z,e.Rectangle=Y,e.apiSymbol=l,e.mapSymbol=a,e.mapTilesLoadedSymbol=d,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t,n(3868))},3218:(e,t,n)=>{var o={"./API/ApiTokenManager":4742,"./API/ApiTokenManager.vue":4742,"./API/Index":9983,"./API/Index.vue":9983,"./Admin/Authors":7736,"./Admin/Authors.vue":7736,"./Admin/Awards":8926,"./Admin/Awards.vue":8926,"./Admin/Categories":1371,"./Admin/Categories.vue":1371,"./Admin/Featured":4790,"./Admin/Featured.vue":4790,"./Admin/Locations":8362,"./Admin/Locations.vue":8362,"./Admin/Notifications":6285,"./Admin/Notifications.vue":6285,"./Admin/Settings":3119,"./Admin/Settings.vue":3119,"./Admin/Users":3035,"./Admin/Users.vue":3035,"./Auth/AnonymousActions":3043,"./Auth/AnonymousActions.vue":3043,"./Auth/ConfirmPassword":8596,"./Auth/ConfirmPassword.vue":8596,"./Auth/ForgotPassword":7393,"./Auth/ForgotPassword.vue":7393,"./Auth/Login":1674,"./Auth/Login.vue":1674,"./Auth/LoginNew":7366,"./Auth/LoginNew.vue":7366,"./Auth/Register":2963,"./Auth/Register.vue":2963,"./Auth/RegisterNew":7824,"./Auth/RegisterNew.vue":7824,"./Auth/ResetPassword":3500,"./Auth/ResetPassword.vue":3500,"./Auth/TwoFactorChallenge":913,"./Auth/TwoFactorChallenge.vue":913,"./Auth/VerifyEmail":1258,"./Auth/VerifyEmail.vue":1258,"./Authors/Show":3912,"./Authors/Show.vue":3912,"./Authors/_Form":8551,"./Authors/_Form.vue":8551,"./Authors/_Form_splitted":4641,"./Authors/_Form_splitted.vue":4641,"./Books/Show":2993,"./Books/Show.vue":2993,"./Books/_Form":5521,"./Books/_Form.vue":5521,"./Books/_Form_splitted":7561,"./Books/_Form_splitted.vue":7561,"./Dashboard":4401,"./Dashboard.vue":4401,"./Notifications/Index":4203,"./Notifications/Index.vue":4203,"./Places/PlaceModal":366,"./Places/PlaceModal.vue":366,"./Profile/DeleteUserForm":7720,"./Profile/DeleteUserForm.vue":7720,"./Profile/LogoutOtherBrowserSessionsForm":5017,"./Profile/LogoutOtherBrowserSessionsForm.vue":5017,"./Profile/Show":4254,"./Profile/Show.vue":4254,"./Profile/TwoFactorAuthenticationForm":8407,"./Profile/TwoFactorAuthenticationForm.vue":8407,"./Profile/UpdatePasswordForm":2679,"./Profile/UpdatePasswordForm.vue":2679,"./Profile/UpdateProfileInformationForm":8311,"./Profile/UpdateProfileInformationForm.vue":8311,"./Stories/ChapterModal":6082,"./Stories/ChapterModal.vue":6082,"./Stories/Show":6632,"./Stories/Show.vue":6632,"./Stories/_Form":912,"./Stories/_Form.vue":912,"./Welcome":7042,"./Welcome.vue":7042};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=3218},4654:()=>{},8316:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Jt});var o=n(3868);function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function i(e){r(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function a(e){r(1,arguments);var t=i(e);return!isNaN(t)}function l(e){r(1,arguments);var t=i(e),n=t.getFullYear();return n}function s(e){r(1,arguments);var t=i(e),n=t.getFullYear(),o=10*Math.floor(n/10);return o}function u(e,t){r(2,arguments);var n=i(e),o=i(t);return n.getTime()<o.getTime()}function c(e,t){r(2,arguments);var n=i(e),o=i(t);return n.getTime()>o.getTime()}function d(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function A(e,t){r(2,arguments);var n=i(e),o=d(t);if(isNaN(o))return new Date(NaN);if(!o)return n;var a=n.getDate(),l=new Date(n.getTime());l.setMonth(n.getMonth()+o+1,0);var s=l.getDate();return a>=s?l:(n.setFullYear(l.getFullYear(),l.getMonth(),a),n)}function p(e,t){r(2,arguments);var n=d(t);return A(e,12*n)}function f(e,t){r(2,arguments);var n=d(t);return p(e,-n)}var h={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function m(e){return function(t){var n=t||{},o=n.width?String(n.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}var v={date:m({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:m({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:m({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var g={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function y(e){return function(t,n){var o,r=n||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,s=r.width?String(r.width):e.defaultWidth;o=e.values[s]||e.values[l]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function b(e){return function(t,n){var o=String(t),r=n||{},i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=o.match(a);if(!l)return null;var s,u=l[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(c)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(c,(function(e){return e.test(u)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(c,(function(e){return e.test(u)})),s=e.valueCallback?e.valueCallback(s):s,{value:s=r.valueCallback?r.valueCallback(s):s,rest:o.slice(u.length)}}}var w;const L={code:"en-US",formatDistance:function(e,t,n){var o;return n=n||{},o="string"==typeof h[e]?h[e]:1===t?h[e].one:h[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+o:o+" ago":o},formatLong:v,formatRelative:function(e,t,n,o){return g[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:y({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:y({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:y({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:y({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:y({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(w={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e,t){var n=String(e),o=t||{},r=n.match(w.matchPattern);if(!r)return null;var i=r[0],a=n.match(w.parsePattern);if(!a)return null;var l=w.valueCallback?w.valueCallback(a[0]):a[0];return{value:l=o.valueCallback?o.valueCallback(l):l,rest:n.slice(i.length)}}),era:b({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:b({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:b({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:b({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:b({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function C(e,t){r(2,arguments);var n=i(e).getTime(),o=d(t);return new Date(n+o)}function B(e,t){r(2,arguments);var n=d(t);return C(e,-n)}function _(e,t){for(var n=e<0?"-":"",o=Math.abs(e).toString();o.length<t;)o="0"+o;return n+o}const k={y:function(e,t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return _("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):_(n+1,2)},d:function(e,t){return _(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return _(e.getUTCHours()%12||12,t.length)},H:function(e,t){return _(e.getUTCHours(),t.length)},m:function(e,t){return _(e.getUTCMinutes(),t.length)},s:function(e,t){return _(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds();return _(Math.floor(o*Math.pow(10,n-3)),t.length)}};var x=864e5;function S(e){r(1,arguments);var t=1,n=i(e),o=n.getUTCDay(),a=(o<t?7:0)+o-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n}function E(e){r(1,arguments);var t=i(e),n=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var a=S(o),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var s=S(l);return t.getTime()>=a.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function T(e){r(1,arguments);var t=E(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var o=S(n);return o}var N=6048e5;function F(e){r(1,arguments);var t=i(e),n=S(t).getTime()-T(t).getTime();return Math.round(n/N)+1}function V(e,t){r(1,arguments);var n=t||{},o=n.locale,a=o&&o.options&&o.options.weekStartsOn,l=null==a?0:d(a),s=null==n.weekStartsOn?l:d(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(e),c=u.getUTCDay(),A=(c<s?7:0)+c-s;return u.setUTCDate(u.getUTCDate()-A),u.setUTCHours(0,0,0,0),u}function O(e,t){r(1,arguments);var n=i(e,t),o=n.getUTCFullYear(),a=t||{},l=a.locale,s=l&&l.options&&l.options.firstWeekContainsDate,u=null==s?1:d(s),c=null==a.firstWeekContainsDate?u:d(a.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=new Date(0);A.setUTCFullYear(o+1,0,c),A.setUTCHours(0,0,0,0);var p=V(A,t),f=new Date(0);f.setUTCFullYear(o,0,c),f.setUTCHours(0,0,0,0);var h=V(f,t);return n.getTime()>=p.getTime()?o+1:n.getTime()>=h.getTime()?o:o-1}function U(e,t){r(1,arguments);var n=t||{},o=n.locale,i=o&&o.options&&o.options.firstWeekContainsDate,a=null==i?1:d(i),l=null==n.firstWeekContainsDate?a:d(n.firstWeekContainsDate),s=O(e,t),u=new Date(0);u.setUTCFullYear(s,0,l),u.setUTCHours(0,0,0,0);var c=V(u,t);return c}var Q=6048e5;function q(e,t){r(1,arguments);var n=i(e),o=V(n,t).getTime()-U(n,t).getTime();return Math.round(o/Q)+1}var M="midnight",I="noon",P="morning",D="afternoon",H="evening",R="night",j={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var o=e.getUTCFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return k.y(e,t)},Y:function(e,t,n,o){var r=O(e,o),i=r>0?r:1-r;return"YY"===t?_(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):_(i,t.length)},R:function(e,t){return _(E(e),t.length)},u:function(e,t){return _(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return _(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return _(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){var o=e.getUTCMonth();switch(t){case"M":case"MM":return k.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return _(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var r=q(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):_(r,t.length)},I:function(e,t,n){var o=F(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):_(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):k.d(e,t)},D:function(e,t,n){var o=function(e){r(1,arguments);var t=i(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var o=t.getTime(),a=n-o;return Math.floor(a/x)+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):_(o,t.length)},E:function(e,t,n){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return _(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return _(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var o=e.getUTCDay(),r=0===o?7:o;switch(t){case"i":return String(r);case"ii":return _(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,r=e.getUTCHours();switch(o=12===r?I:0===r?M:r/12>
vendor: 28,768 bytes, line 2
2=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,r=e.getUTCHours();switch(o=r>=17?H:r>=12?D:r>=4?P:R,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var o=e.getUTCHours()%12;return 0===o&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return k.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):k.H(e,t)},K:function(e,t,n){var o=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):_(o,t.length)},k:function(e,t,n){var o=e.getUTCHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):_(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):k.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):k.s(e,t)},S:function(e,t){return k.S(e,t)},X:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return z(r);case"XXXX":case"XX":return K(r);default:return K(r,":")}},x:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"x":return z(r);case"xxxx":case"xx":return K(r);default:return K(r,":")}},O:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+$(r,":");default:return"GMT"+K(r,":")}},z:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+$(r,":");default:return"GMT"+K(r,":")}},t:function(e,t,n,o){var r=o._originalDate||e;return _(Math.floor(r.getTime()/1e3),t.length)},T:function(e,t,n,o){return _((o._originalDate||e).getTime(),t.length)}};function $(e,t){var n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),i=o%60;if(0===i)return n+String(r);var a=t||"";return n+String(r)+a+_(i,2)}function z(e,t){return e%60==0?(e>0?"-":"+")+_(Math.abs(e)/60,2):K(e,t)}function K(e,t){var n=t||"",o=e>0?"-":"+",r=Math.abs(e);return o+_(Math.floor(r/60),2)+n+_(r%60,2)}const W=j;function Y(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function G(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var Z={p:G,P:function(e,t){var n,o=e.match(/(P+)(p+)?/),r=o[1],i=o[2];if(!i)return Y(e,t);switch(r){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Y(r,t)).replace("{{time}}",G(i,t))}};const J=Z;function X(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var ee=["D","DD"],te=["YY","YYYY"];function ne(e){return-1!==ee.indexOf(e)}function oe(e){return-1!==te.indexOf(e)}function re(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var ie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,le=/^'([^]*?)'?$/,se=/''/g,ue=/[a-zA-Z]/;function ce(e,t,n){r(2,arguments);var o=String(t),l=n||{},s=l.locale||L,u=s.options&&s.options.firstWeekContainsDate,c=null==u?1:d(u),A=null==l.firstWeekContainsDate?c:d(l.firstWeekContainsDate);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=s.options&&s.options.weekStartsOn,f=null==p?0:d(p),h=null==l.weekStartsOn?f:d(l.weekStartsOn);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!s.localize)throw new RangeError("locale must contain localize property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var m=i(e);if(!a(m))throw new RangeError("Invalid time value");var v=X(m),g=B(m,v),y={firstWeekContainsDate:A,weekStartsOn:h,locale:s,_originalDate:m},b=o.match(ae).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,J[t])(e,s.formatLong,y):e})).join("").match(ie).map((function(n){if("''"===n)return"'";var o=n[0];if("'"===o)return de(n);var r=W[o];if(r)return!l.useAdditionalWeekYearTokens&&oe(n)&&re(n,t,e),!l.useAdditionalDayOfYearTokens&&ne(n)&&re(n,t,e),r(g,n,s.localize,y);if(o.match(ue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n})).join("");return b}function de(e){return e.match(le)[1].replace(se,"'")}function Ae(e){r(1,arguments);var t=i(e);return t.setDate(1),t.setHours(0,0,0,0),t}function pe(e){r(1,arguments);var t=i(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function fe(e,t){r(2,arguments);var n=i(e),o=i(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function he(e,t){r(2,arguments);var n=i(e),o=i(t);return n.getFullYear()===o.getFullYear()}function me(e,t){r(1,arguments);var n=t||{},o=n.locale,a=o&&o.options&&o.options.weekStartsOn,l=null==a?0:d(a),s=null==n.weekStartsOn?l:d(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(e),c=u.getDay(),A=(c<s?7:0)+c-s;return u.setDate(u.getDate()-A),u.setHours(0,0,0,0),u}function ve(e,t){r(1,arguments);var n=t||{},o=n.locale,a=o&&o.options&&o.options.weekStartsOn,l=null==a?0:d(a),s=null==n.weekStartsOn?l:d(n.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(e),c=u.getDay(),A=6+(c<s?-7:0)-(c-s);return u.setDate(u.getDate()+A),u.setHours(23,59,59,999),u}function ge(e,t){r(2,arguments);var n=i(e),o=d(t);return isNaN(o)?new Date(NaN):o?(n.setDate(n.getDate()+o),n):n}function ye(e){r(1,arguments);var t=i(e);return t.setHours(0,0,0,0),t}function be(e,t){r(2,arguments);var n=ye(e),o=ye(t);return n.getTime()===o.getTime()}function we(e,t){r(2,arguments);var n=i(e).getTime(),o=i(t.start).getTime(),a=i(t.end).getTime();if(!(o<=a))throw new RangeError("Invalid interval");return n>=o&&n<=a}function Le(e){r(1,arguments);var t=i(e),n=t.getFullYear(),o=t.getMonth(),a=new Date(0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()}function Ce(e,t){r(2,arguments);var n=i(e),o=d(t),a=n.getFullYear(),l=n.getDate(),s=new Date(0);s.setFullYear(a,o,15),s.setHours(0,0,0,0);var u=Le(s);return n.setMonth(o,Math.min(l,u)),n}function Be(e,t){if(r(2,arguments),"object"!=typeof t||null===t)throw new RangeError("values parameter must be an object");var n=i(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=Ce(n,t.month)),null!=t.date&&n.setDate(d(t.date)),null!=t.hours&&n.setHours(d(t.hours)),null!=t.minutes&&n.setMinutes(d(t.minutes)),null!=t.seconds&&n.setSeconds(d(t.seconds)),null!=t.milliseconds&&n.setMilliseconds(d(t.milliseconds)),n)}function _e(e){r(1,arguments);var t=i(e);return t.setMinutes(0,0,0),t}function ke(e){r(1,arguments);var t=i(e);return t.setSeconds(0,0),t}function xe(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Se(e,t,n){r(2,arguments);var o=n||{},a=o.locale,l=a&&a.options&&a.options.weekStartsOn,s=null==l?0:d(l),u=null==o.weekStartsOn?s:d(o.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=i(e),A=d(t),p=c.getUTCDay(),f=A%7,h=(f+7)%7,m=(h<u?7:0)+A-p;return c.setUTCDate(c.getUTCDate()+m),c}var Ee=/^(1[0-2]|0?\d)/,Te=/^(3[0-1]|[0-2]?\d)/,Ne=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Fe=/^(5[0-3]|[0-4]?\d)/,Ve=/^(2[0-3]|[0-1]?\d)/,Oe=/^(2[0-4]|[0-1]?\d)/,Ue=/^(1[0-1]|0?\d)/,Qe=/^(1[0-2]|0?\d)/,qe=/^[0-5]?\d/,Me=/^[0-5]?\d/,Ie=/^\d/,Pe=/^\d{1,2}/,De=/^\d{1,3}/,He=/^\d{1,4}/,Re=/^-?\d+/,je=/^-?\d/,$e=/^-?\d{1,2}/,ze=/^-?\d{1,3}/,Ke=/^-?\d{1,4}/,We=/^([+-])(\d{2})(\d{2})?|Z/,Ye=/^([+-])(\d{2})(\d{2})|Z/,Ge=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ze=/^([+-])(\d{2}):(\d{2})|Z/,Je=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Xe(e,t,n){var o=t.match(e);if(!o)return null;var r=parseInt(o[0],10);return{value:n?n(r):r,rest:t.slice(o[0].length)}}function et(e,t){var n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function tt(e,t){return Xe(Re,e,t)}function nt(e,t,n){switch(e){case 1:return Xe(Ie,t,n);case 2:return Xe(Pe,t,n);case 3:return Xe(De,t,n);case 4:return Xe(He,t,n);default:return Xe(new RegExp("^\\d{1,"+e+"}"),t,n)}}function ot(e,t,n){switch(e){case 1:return Xe(je,t,n);case 2:return Xe($e,t,n);case 3:return Xe(ze,t,n);case 4:return Xe(Ke,t,n);default:return Xe(new RegExp("^-?\\d{1,"+e+"}"),t,n)}}function rt(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function it(e,t){var n,o=t>0,r=o?t:1-t;if(r<=50)n=e||100;else{var i=r+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return o?n:1-n}var at=[31,28,31,30,31,30,31,31,30,31,30,31],lt=[31,29,31,30,31,30,31,31,30,31,30,31];function st(e){return e%400==0||e%4==0&&e%100!=0}var ut={G:{priority:140,parse:function(e,t,n,o){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,o){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return nt(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return nt(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=it(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return nt(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return nt(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=O(e,o);if(n.isTwoDigitYear){var i=it(n.year,r);return e.setUTCFullYear(i,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),V(e,o)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),V(e,o)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,o){return ot("R"===t?4:t.length,e)},set:function(e,t,n,o){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),S(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,o){return ot("u"===t?4:t.length,e)},set:function(e,t,n,o){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,o){switch(t){case"Q":case"QQ":return nt(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,o){switch(t){case"q":case"qq":return nt(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"M":return Xe(Ee,e,r);case"MM":return nt(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"L":return Xe(Ee,e,r);case"LL":return nt(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,o){switch(t){case"w":return Xe(Fe,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return V(function(e,t,n){r(2,arguments);var o=i(e),a=d(t),l=q(o,n)-a;return o.setUTCDate(o.getUTCDate()-7*l),o}(e,n,o),o)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,o){switch(t){case"I":return Xe(Fe,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return S(function(e,t){r(2,arguments);var n=i(e),o=d(t),a=F(n)-o;return n.setUTCDate(n.getUTCDate()-7*a),n}(e,n,o),o)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"d":return Xe(Te,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return nt(t.length,e)}},validate:function(e,t,n){var o=st(e.getUTCFullYear()),r=e.getUTCMonth();return o?t>=1&&t<=lt[r]:t>=1&&t<=at[r]},set:function(e,t,n,o){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"D":case"DD":return Xe(Ne,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return nt(t.length,e)}},validate:function(e,t,n){return st(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,o){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,o){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=Se(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return nt(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=Se(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return nt(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=Se(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,o){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return nt(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,o){return e=function(e,t){r(2,arguments);var n=d(t);n%7==0&&(n-=7);var o=1,a=i(e),l=a.getUTCDay(),s=((n%7+7)%7<o?7:0)+n-l;return a.setUTCDate(a.getUTCDate()+s),a}(e,n,o),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,n,o){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,o){return e.setUTCHours(rt(n),0,0,0),e},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(e,t,n,o){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,o){return e.setUTCHours(rt(n),0,0,0),e},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(e,t,n,o){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,n,o){return e.setUTCHours(rt(n),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,n,o){switch(t){case"h":return Xe(Qe,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,o){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,o){switch(t){case"H":return Xe(Ve,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,o){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,o){switch(t){case"K":return Xe(Ue,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,o){switch(t){case"k":return Xe(Oe,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,o){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,o){switch(t){case"m":return Xe(qe,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,o){switch(t){case"s":return Xe(Me,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return nt(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,o){return nt(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,o){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,o){switch(t){case"X":return et(We,e);case"XX":return et(Ye,e);case"XXXX":return et(Ge,e);case"XXXXX":return et(Je,e);default:return et(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,o){switch(t){case"x":return et(We,e);case"xx":return et(Ye,e);case"xxxx":return et(Ge,e);case"xxxxx":return et(Je,e);default:return et(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,o){return tt(e)},set:function(e,t,n,o){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,o){return tt(e)},set:function(e,t,n,o){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};const ct=ut;var dt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,At=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pt=/^'([^]*?)'?$/,ft=/''/g,ht=/\S/,mt=/[a-zA-Z]/;function vt(e,t,n,o){r(3,arguments);var a=String(e),l=String(t),s=o||{},u=s.locale||L;if(!u.match)throw new RangeError("locale must contain match property");var c=u.options&&u.options.firstWeekContainsDate,A=null==c?1:d(c),p=null==s.firstWeekContainsDate?A:d(s.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=u.options&&u.options.weekStartsOn,h=null==f?0:d(f),m=null==s.weekStartsOn?h:d(s.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===a?i(n):new Date(NaN);var v,g={firstWeekContainsDate:p,weekStartsOn:m,locale:u},y=[{priority:10,subPriority:-1,set:gt,index:0}],b=l.match(At).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,J[t])(e,u.formatLong,g):e})).join("").match(dt),w=[];for(v=0;v<b.length;v++){var C=b[v];!s.useAdditionalWeekYearTokens&&oe(C)&&re(C,l,e),!s.useAdditionalDayOfYearTokens&&ne(C)&&re(C,l,e);var _=C[0],k=ct[_];if(k){var x=k.incompatibleTokens;if(Array.isArray(x)){for(var S=void 0,E=0;E<w.length;E++){var T=w[E].token;if(-1!==x.indexOf(T)||T===_){S=w[E];break}}if(S)throw new RangeError("The format string mustn't contain `".concat(S.fullToken,"` and `").concat(C,"` at the same time"))}else if("*"===k.incompatibleTokens&&w.length)throw new RangeError("The format string mustn't contain `".concat(C,"` and any other token at the same time"));w.push({token:_,fullToken:C});var N=k.parse(a,C,u.match,g);if(!N)return new Date(NaN);y.push({priority:k.priority,subPriority:k.subPriority||0,set:k.set,validate:k.validate,value:N.value,index:y.length}),a=N.rest}else{if(_.match(mt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+_+"`");if("''"===C?C="'":"'"===_&&(C=yt(C)),0!==a.indexOf(C))return new Date(NaN);a=a.slice(C.length)}}if(a.length>0&&ht.test(a))return new Date(NaN);var F=y.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return y.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),V=i(n);if(isNaN(V))return new Date(NaN);var O=B(V,X(V)),U={};for(v=0;v<F.length;v++){var Q=F[v];if(Q.validate&&!Q.validate(O,Q.value,g))return new Date(NaN);var q=Q.set(O,U,Q.value,g);q[0]?(O=q[0],xe(U,q[1])):O=q}return O}function gt(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}function yt(e){return e.match(pt)[1].replace(ft,"'")}!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v3dp__popout[data-v-65eb861b]{z-index:10;position:absolute;text-align:center;width:17.5em;background-color:var(--popout-bg-color);
2box-shadow:var(--box-shadow);border-radius:var(--border-radius);padding:8px 0 1em;color:var(--text-color)}.v3dp__popout *[data-v-65eb861b]{color:inherit;font-size:inherit;font-weight:inherit}.v3dp__popout[data-v-65eb861b] button{background:none;border:none;outline:none}.v3dp__popout[data-v-65eb861b] button:not(:disabled){cursor:pointer}.v3dp__heading[data-v-65eb861b]{width:100%;display:flex;height:var(--heading-size);line-height:var(--heading-size);font-weight:var(--heading-weight)}.v3dp__heading__button[data-v-65eb861b]{background:none;border:none;padding:0;display:flex;justify-content:center;align-items:center;width:var(--heading-size)}button.v3dp__heading__center[data-v-65eb861b]:hover,.v3dp__heading__button[data-v-65eb861b]:not(:disabled):hover{background-color:var(--heading-hover-color)}.v3dp__heading__center[data-v-65eb861b]{flex:1}.v3dp__heading__icon[data-v-65eb861b]{height:12px;stroke:var(--arrow-color)}.v3dp__heading__button:disabled .v3dp__heading__icon[data-v-65eb861b]{stroke:var(--elem-disabled-color)}.v3dp__subheading[data-v-65eb861b],.v3dp__elements[data-v-65eb861b]{display:grid;grid-template-columns:var(--popout-column-definition);font-size:var(--elem-font-size)}.v3dp__subheading[data-v-65eb861b]{margin-top:1em}.v3dp__divider[data-v-65eb861b]{border:1px solid var(--divider-color);border-radius:3px}.v3dp__elements[data-v-65eb861b] button:disabled{color:var(--elem-disabled-color)}.v3dp__elements[data-v-65eb861b] button{padding:.3em .6em}.v3dp__elements[data-v-65eb861b] button span{display:block;line-height:1.9em;height:1.8em;border-radius:var(--elem-border-radius)}.v3dp__elements[data-v-65eb861b] button:not(:disabled):hover span{background-color:var(--elem-hover-bg-color);color:var(--elem-hover-color)}.v3dp__elements[data-v-65eb861b] button.selected span{background-color:var(--elem-selected-bg-color);color:var(--elem-selected-color)}.v3dp__elements[data-v-65eb861b] button.current span{font-weight:var(--elem-current-font-weight);outline:1px solid var(--elem-current-outline-color)}.v3dp__column[data-v-81ac698d]{display:flex;flex-direction:column;overflow-y:auto;height:190px}.v3dp__datepicker{--popout-bg-color: var(--vdp-bg-color, #fff);--box-shadow: var( --vdp-box-shadow, 0 4px 10px 0 rgba(128, 144, 160, .1), 0 0 1px 0 rgba(128, 144, 160, .81) );--text-color: var(--vdp-text-color, #000000);--border-radius: var(--vdp-border-radius, 3px);--heading-size: var(--vdp-heading-size, 2.5em);--heading-weight: var(--vdp-heading-weight, bold);--heading-hover-color: var(--vdp-heading-hover-color, #eeeeee);--arrow-color: var(--vdp-arrow-color, currentColor);--elem-color: var(--vdp-elem-color, currentColor);--elem-disabled-color: var(--vdp-disabled-color, #d5d9e0);--elem-hover-color: var(--vdp-hover-color, #fff);--elem-hover-bg-color: var(--vdp-hover-bg-color, #0baf74);--elem-selected-color: var(--vdp-selected-color, #fff);--elem-selected-bg-color: var(--vdp-selected-bg-color, #0baf74);--elem-current-outline-color: var(--vdp-current-date-outline-color, #888);--elem-current-font-weight: var(--vdp-current-date-font-weight, bold);--elem-font-size: var(--vdp-elem-font-size, .8em);--elem-border-radius: var(--vdp-elem-border-radius, 3px);--divider-color: var(--vdp-divider-color, var(--elem-disabled-color));position:relative}.v3dp__clearable{display:inline;position:relative;left:-15px;cursor:pointer}")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();const bt=["year","month","day","time","custom"],wt=(0,o.defineComponent)({emits:{elementClick:e=>a(e),left:()=>!0,right:()=>!0,heading:()=>!0},props:{headingClickable:{type:Boolean,default:!1},leftDisabled:{type:Boolean,default:!1},rightDisabled:{type:Boolean,default:!1},columnCount:{type:Number,default:7},items:{type:Array,default:()=>[]},viewMode:{type:String,required:!0,validate:e=>"string"==typeof e&&bt.includes(e)}}}),Lt=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n},Ct=e=>((0,o.pushScopeId)("data-v-65eb861b"),e=e(),(0,o.popScopeId)(),e),Bt={class:"v3dp__heading"},_t=["disabled"],kt=Ct((()=>(0,o.createElementVNode)("svg",{class:"v3dp__heading__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 8"},[(0,o.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,o.createElementVNode)("path",{stroke:"none",d:"M-9 16V-8h24v24z"}),(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5 0L1 4l4 4"})])],-1))),xt=["disabled"],St=Ct((()=>(0,o.createElementVNode)("svg",{class:"v3dp__heading__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 8"},[(0,o.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,o.createElementVNode)("path",{stroke:"none",d:"M15-8v24H-9V-8z"}),(0,o.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M1 8l4-4-4-4"})])],-1))),Et={class:"v3dp__body"},Tt={class:"v3dp__subheading"},Nt=Ct((()=>(0,o.createElementVNode)("hr",{class:"v3dp__divider"},null,-1))),Ft={class:"v3dp__elements"},Vt=["disabled","onClick"];const Ot=Lt(wt,[["render",function(e,t,n,r,i,a){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["v3dp__popout",`v3dp__popout-${e.viewMode}`]),style:(0,o.normalizeStyle)({"--popout-column-definition":`repeat(${e.columnCount}, 1fr)`}),onMousedown:t[3]||(t[3]=(0,o.withModifiers)((()=>{}),["prevent"]))},[(0,o.createElementVNode)("div",Bt,[(0,o.createElementVNode)("button",{class:"v3dp__heading__button v3dp__heading__button__left",disabled:e.leftDisabled,onClick:t[0]||(t[0]=(0,o.withModifiers)((t=>e.$emit("left")),["stop","prevent"]))},[(0,o.renderSlot)(e.$slots,"arrow-left",{},(()=>[kt]),!0)],8,_t),((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.headingClickable?"button":"span"),{class:"v3dp__heading__center",onClick:t[1]||(t[1]=(0,o.withModifiers)((t=>e.$emit("heading")),["stop","prevent"]))},{default:(0,o.withCtx)((()=>[(0,o.renderSlot)(e.$slots,"heading",{},void 0,!0)])),_:3})),(0,o.createElementVNode)("button",{class:"v3dp__heading__button v3dp__heading__button__right",disabled:e.rightDisabled,onClick:t[2]||(t[2]=(0,o.withModifiers)((t=>
2e.$emit("right")),["stop","prevent"]))},[(0,o.renderSlot)(e.$slots,"arrow-right",{},(()=>[St]),!0)],8,xt)]),(0,o.createElementVNode)("div",Et,["subheading"in e.$slots?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[(0,o.createElementVNode)("div",Tt,[(0,o.renderSlot)(e.$slots,"subheading",{},void 0,!0)]),Nt],64)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",Ft,[(0,o.renderSlot)(e.$slots,"body",{},(()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.items,(t=>((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:t.key,disabled:t.disabled,class:(0,o.normalizeClass)([{selected:t.selected,current:t.current},`v3dp__element__button__${e.viewMode}`]),onClick:(0,o.withModifiers)((n=>e.$emit("elementClick",t.value)),["stop","prevent"])},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(t.display),1)],10,Vt)))),128))]),!0)])])],38)}],["__scopeId","data-v-65eb861b"]]);const Ut=Lt((0,o.defineComponent)({components:{PickerPopup:Ot},emits:{"update:pageDate":e=>a(e),select:e=>a(e)},props:{selected:{type:Date,required:!1},pageDate:{type:Date,required:!0},lowerLimit:{type:Date,required:!1},upperLimit:{type:Date,required:!1}},setup(e,{emit:t}){const n=(0,o.computed)((()=>function(e){r(1,arguments);var t=i(e),n=t.getFullYear(),o=10*Math.floor(n/10);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}(e.pageDate))),a=(0,o.computed)((()=>function(e){r(1,arguments);var t=i(e),n=t.getFullYear(),o=9+10*Math.floor(n/10);return t.setFullYear(o,11,31),t.setHours(23,59,59,999),t}(e.pageDate))),d=(e,t,n)=>!t&&!n||!(t&&l(e)<l(t)||n&&l(e)>l(n)),A=(0,o.computed)((()=>function(e){r(1,arguments);var t=e||{},n=i(t.start),o=i(t.end).getTime();if(!(n.getTime()<=o))throw new RangeError("Invalid interval");var a=[],l=n;for(l.setHours(0,0,0,0),l.setMonth(0,1);l.getTime()<=o;)a.push(i(l)),l.setFullYear(l.getFullYear()+1);return a}({start:n.value,end:a.value}).map((t=>({value:t,key:String(l(t)),display:l(t),selected:!!e.selected&&l(t)===l(e.selected),disabled:!d(t,e.lowerLimit,e.upperLimit)})))));return{years:A,heading:(0,o.computed)((()=>`${l(n.value)} - ${l(a.value)}`)),leftDisabled:(0,o.computed)((()=>e.lowerLimit&&(s(e.lowerLimit)===s(e.pageDate)||u(e.pageDate,e.lowerLimit)))),rightDisabled:(0,o.computed)((()=>e.upperLimit&&(s(e.upperLimit)===s(e.pageDate)||c(e.pageDate,e.upperLimit)))),previousPage:()=>t("update:pageDate",f(e.pageDate,10)),nextPage:()=>t("update:pageDate",p(e.pageDate,10))}}}),[["render",function(e,t,n,r,i,a){const l=(0,o.resolveComponent)("picker-popup");return(0,o.openBlock)(),(0,o.createBlock)(l,{columnCount:3,leftDisabled:e.leftDisabled,rightDisabled:e.rightDisabled,items:e.years,viewMode:"year",onLeft:e.previousPage,onRight:e.nextPage,onElementClick:t[0]||(t[0]=t=>e.$emit("select",t))},{heading:(0,o.withCtx)((()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.heading),1)])),_:1},8,["leftDisabled","rightDisabled","items","onLeft","onRight"])}]]);const Qt=Lt((0,o.defineComponent)({components:{PickerPopup:Ot},emits:{"update:pageDate":e=>a(e),select:e=>a(e),back:()=>!0},props:{selected:{type:Date,required:!1},pageDate:{type:Date,required:!0},format:{type:String,required:!1,default:"LLL"},locale:{type:Object,required:!1},lowerLimit:{type:Date,required:!1},upperLimit:{type:Date,required:!1}},setup(e,{emit:t}){const n=(0,o.computed)((()=>function(e){r(1,arguments);var t=i(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(e.pageDate))),a=(0,o.computed)((()=>function(e){r(1,arguments);var t=i(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}(e.pageDate))),s=(0,o.computed)((()=>t=>ce(t,e.format,{locale:e.locale}))),d=(e,t,n)=>!t&&!n||!(t&&u(e,Ae(t))||n&&c(e,pe(n))),A=(0,o.computed)((()=>function(e){r(1,arguments);var t=e||{},n=i(t.start),o=i(t.end).getTime(),a=[];if(!(n.getTime()<=o))throw new RangeError("Invalid interval");var l=n;for(l.setHours(0,0,0,0),l.setDate(1);l.getTime()<=o;)a.push(i(l)),l.setMonth(l.getMonth()+1);return a}({start:n.value,end:a.value}).map((t=>({value:t,display:s.value(t),key:s.value(t),selected:!!e.selected&&fe(e.selected,t),disabled:!d(t,e.lowerLimit,e.upperLimit)})))));return{months:A,heading:(0,o.computed)((()=>l(n.value))),leftDisabled:(0,o.computed)((()=>e.lowerLimit&&(he(e.lowerLimit,e.pageDate)||u(e.pageDate,e.lowerLimit)))),rightDisabled:(0,o.computed)((()=>e.upperLimit&&(he(e.upperLimit,e.pageDate)||c(e.pageDate,e.upperLimit)))),previousPage:()=>t("update:pageDate",f(e.pageDate,1)),nextPage:()=>t("update:pageDate",p(e.pageDate,1))}}}),[["render",function(e,t,n,r,i,a){const l=(0,o.resolveComponent)("picker-popup");return(0,o.openBlock)(),(0,o.createBlock)(l,{headingClickable:"",columnCount:3,items:e.months,leftDisabled:e.leftDisabled,rightDisabled:e.rightDisabled,viewMode:"month",onLeft:e.previousPage,onRight:e.nextPage,onHeading:t[0]||(t[0]=t=>e.$emit("back")),onElementClick:t[1]||(t[1]=t=>e.$emit("select",t))},{heading:(0,o.withCtx)((()=>
2[(0,o.createTextVNode)((0,o.toDisplayString)(e.heading),1)])),_:1},8,["items","leftDisabled","rightDisabled","onLeft","onRight"])}]]),qt=(0,o.defineComponent)({components:{PickerPopup:Ot},emits:{"update:pageDate":e=>a(e),select:e=>a(e),back:()=>!0},props:{selected:{type:Date,required:!1},pageDate:{type:Date,required:!0},format:{type:String,required:!1,default:"dd"},headingFormat:{type:String,required:!1,default:"LLLL yyyy"},weekdayFormat:{type:String,required:!1,default:"EE"},locale:{type:Object,required:!1},weekStartsOn:{type:Number,required:!1,default:1,validator:e=>"number"==typeof e&&Number.isInteger(e)&&e>=0&&e<=6},lowerLimit:{type:Date,required:!1},upperLimit:{type:Date,required:!1},disabledDates:{type:Object,required:!1},allowOutsideInterval:{type:Boolean,required:!1,default:!1}},setup(e,{emit:t}){const n=(0,o.computed)((()=>t=>n=>ce(n,t,{locale:e.locale,weekStartsOn:e.weekStartsOn}))),a=(0,o.computed)((()=>Ae(e.pageDate))),l=(0,o.computed)((()=>pe(e.pageDate))),s=(0,o.computed)((()=>({start:a.value,end:l.value}))),p=(0,o.computed)((()=>({start:me(a.value,{weekStartsOn:e.weekStartsOn}),end:ve(l.value,{weekStartsOn:e.weekStartsOn})}))),f=(0,o.computed)((()=>{const t=e.weekStartsOn,o=n.value(e.weekdayFormat);return Array.from(Array(7)).map(((e,n)=>(t+n)%7)).map((t=>function(e,t,n){r(2,arguments);var o=n||{},a=o.locale,l=a&&a.options&&a.options.weekStartsOn,s=null==l?0:d(l),u=null==o.weekStartsOn?s:d(o.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=i(e,o),A=d(t),p=c.getDay(),f=(A%7+7)%7,h=7-u;return ge(c,A<0||A>6?A-(p+h)%7:(f+h)%7-(p+h)%7,o)}(new Date,t,{weekStartsOn:e.weekStartsOn}))).map(o)})),h=(e,t,n,o)=>{var a,l;return!(null!=(a=null==o?void 0:o.dates)&&a.some((t=>be(e,t)))||null!=(l=null==o?void 0:o.predicate)&&l.call(o,e))&&(!t&&!n||!(t&&u(e,ye(t))||n&&c(e,function(e){r(1,arguments);var t=i(e);return t.setHours(23,59,59,999),t}(n))))},m=(0,o.computed)((()=>{const t=new Date,o=n.value(e.format);return function(e,t){r(1,arguments);var n=e||{},o=i(n.start),a=i(n.end).getTime();if(!(o.getTime()<=a))throw new RangeError("Invalid interval");var l=[],s=o;s.setHours(0,0,0,0);var u=t&&"step"in t?Number(t.step):1;if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;s.getTime()<=a;)l.push(i(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return l}(p.value).map((r=>({value:r,display:o(r),selected:!!e.selected&&be(e.selected,r),current:be(t,r),disabled:!e.allowOutsideInterval&&!we(r,s.value)||!h(r,e.lowerLimit,e.upperLimit,e.disabledDates),key:n.value("yyyy-MM-dd")(r)})))}));return{weekDays:f,days:m,heading:(0,o.computed)((()=>n.value(e.headingFormat)(e.pageDate))),leftDisabled:(0,o.computed)((()=>e.lowerLimit&&(fe(e.lowerLimit,e.pageDate)||u(e.pageDate,e.lowerLimit)))),rightDisabled:(0,o.computed)((()=>e.upperLimit&&(fe(e.upperLimit,e.pageDate)||c(e.pageDate,e.upperLimit)))),previousPage:()=>t("update:pageDate",function(e,t){r(2,arguments);var n=d(t);return A(e,-n)}(e.pageDate,1)),nextPage:()=>t("update:pageDate",A(e.pageDate,1))}}});const Mt=Lt(qt,[["render",function(e,t,n,r,i,a){const l=(0,o.resolveComponent)("picker-popup");return(0,o.openBlock)(),(0,o.createBlock)(l,{headingClickable:"",leftDisabled:e.leftDisabled,rightDisabled:e.rightDisabled,items:e.days,viewMode:"day",onLeft:e.previousPage,onRight:e.nextPage,onHeading:t[0]||(t[0]=t=>e.$emit("back")),onElementClick:t[1]||(t[1]=t=>e.$emit("select",t))},{heading:(0,o.withCtx)((()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.heading),1)])),subheading:(0,o.withCtx)((()=>[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.weekDays,((e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("span",{key:e,class:(0,o.normalizeClass)(`v3dp__subheading__weekday__${t}`)},(0,o.toDisplayString)(e),3)))),128))])),_:1},8,["leftDisabled","rightDisabled","items","onLeft","onRight"])}]]);function It(e,t){const n=e.getBoundingClientRect(),o=e.clientHeight,r=(e.clientWidth,t.getBoundingClientRect());if(!(r.top>=n.top&&r.bottom<=n.top+o)){const t=r.top-n.top,o=r.bottom-n.bottom;Math.abs(t)<Math.abs(o)?e.scrollTop+=t:e.scrollTop+=o}}const Pt=(0,o.defineComponent)({components:{PickerPopup:Ot},emits:{select:e=>a(e),back:()=>!0},props:{selected:{type:Date,required:!1},pageDate:{type:Date,required:!0},visible:{type:Boolean,required:!0},disabledTime:{type:Object,required:!1}},setup(e,{emit:t}){const n=(0,o.ref)(null),i=(0,o.ref)(null),a=(0,o.computed)((()=>e.pageDate??e.selected)),l=(0,o.ref)(a.value.getHours()),s=(0,o.ref)(a.value.getMinutes());(0,o.watch)((()=>e.selected),(e=>{let t=0,n=0;e&&(t=e.getHours(),n=e.getMinutes()),l.value=t,s.value=n}));const u=(0,o.computed)((()=>[...Array(24).keys()].map((e=>({value:e,date:Be(new Date(a.value.getTime()),{hours:e,minutes:s.value,seconds:0}),selected:l.value===e,ref:(0,o.ref)(null)}))))),c=(0,o.computed)((()=>[...Array(60).keys()].map((e=>({value:e,date:Be(new Date(a.value.getTime()),{hours:l.value,minutes:e,seconds:0}),selected:s.value===e,ref:(0,o.ref)(null)}))))),d=()=>{const e=u.value.find((e=>{var t,n;return(null==(n=null==(t=e.ref.value)?void 0:t.classList)?void 0:n.contains("selected"))??!1})),t=c.value.find((e=>{var t,n;return(null==(n=null==(t=e.ref.value)?void 0:t.classList)?void 0:n.contains("selected"))??!1}));e&&t&&(It(n.value,e.ref.value),It(i.value,t.ref.value))};return(0,o.watch)((()=>e.visible),(e=>{e&&(0,o.nextTick)(d)})),{hoursListRef:n,minutesListRef:i,hours:l,minutes:s,hoursList:u,minutesList:c,padStartZero:e=>`0${e}`.substr(-2),selectMinutes:e=>{s.value=e.value,t("select",e.date)},isEnabled:t=>{var n,o,i,a;return!(null!=(o=null==(n=e.disabledTime)?void 0:n.dates)&&o.some((e=>function(e,t){r(2,arguments);var n=_e(e),o=_e(t);return n.getTime()===o.getTime()}(t,e)&&function(e,t){r(2,arguments);var n=ke(e),o=ke(t);return n.getTime()===o.getTime()}(t,e)))||null!=(a=null==(i=e.disabledTime)?void 0:i.predicate)&&a.call(i,t))},scroll:d}}}),Dt={ref:"hoursListRef",class:"v3dp__column"},Ht=["disabled","onClick"],Rt={ref:"minutesListRef",class:"v3dp__column"},jt=["disabled","onClick"];const $t=Lt(Pt,[["render",function(e,t,n,r,i,a){const l=(0,o.resolveComponent)("picker-popup");return(0,o.openBlock)(),(0,o.createBlock)(l,{headingClickable:"",columnCount:2,leftDisabled:!0,rightDisabled:!0,viewMode:"time",onHeading:t[0]||(t[0]=t=>e.$emit("back"))},{heading:(0,o.withCtx)((()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.padStartZero(e.hours))+":"+(0,o.toDisplayString)(e.padStartZero(e.minutes)),1)])),body:(0,o.withCtx)((()=>[(0,o.createElementVNode)("div",Dt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.hoursList,(t=>((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:t.value,ref_for:!0,ref:t.ref,class:(0,o.normalizeClass)([{selected:t.selected},"v3dp__element_button__hour"]),disabled:!e.isEnabled(t.date),onClick:(0,o.withModifiers)((n=>e.hours=t.value),["stop","prevent"])},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.padStartZero(t.value)),1)],10,Ht)))),128))],512),(0,o.createElementVNode)("div",Rt,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.minutesList,(t=>((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:t.value,ref_for:!0,ref:t.ref,class:(0,o.normalizeClass)([{selected:t.selected},"v3dp__element_button__minute"]),disabled:!e.isEnabled(t.date),onClick:(0,o.withModifiers)((n=>e.selectMinutes(t)),["stop","prevent"])},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.padStartZero(t.value)),1)],10,jt)))),128))],512)])),_:1})}],["__scopeId","data-v-81ac698d"]]),zt=["time","day","month","year"],Kt=(e,t,n
2)=>{let o=n||new Date;return e&&(o=function(e){var t,n;if(r(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!=typeof e||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=i(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}([e,o])),t&&(o=function(e){var t,n;if(r(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!=typeof e||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=i(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}([t,o])),o},Wt=(0,o.defineComponent)({components:{YearPicker:Ut,MonthPicker:Qt,DayPicker:Mt,TimePicker:$t},inheritAttrs:!1,props:{placeholder:{type:String,default:""},modelValue:{type:Date,required:!1},disabledDates:{type:Object,required:!1},allowOutsideInterval:{type:Boolean,required:!1,default:!1},disabledTime:{type:Object,required:!1},upperLimit:{type:Date,required:!1},lowerLimit:{type:Date,required:!1},startingView:{type:String,required:!1,default:"day",validate:e=>"string"==typeof e&&zt.includes(e)},startingViewDate:{type:Date,required:!1,default:()=>new Date},dayPickerHeadingFormat:{type:String,required:!1,default:"LLLL yyyy"},monthListFormat:{type:String,required:!1,default:"LLL"},weekdayFormat:{type:String,required:!1,default:"EE"},dayFormat:{type:String,required:!1,default:"dd"},inputFormat:{type:String,required:!1,default:"yyyy-MM-dd"},locale:{type:Object,required:!1},weekStartsOn:{type:Number,required:!1,default:1,validator:e=>[0,1,2,3,4,5,6].includes(e)},disabled:{type:Boolean,required:!1,default:!1},clearable:{type:Boolean,required:!1,default:!1},typeable:{type:Boolean,required:!1,default:!1},minimumView:{type:String,required:!1,default:"day",validate:e=>"string"==typeof e&&zt.includes(e)}},emits:{"update:modelValue":e=>null==e||a(e),decadePageChanged:e=>!0,yearPageChanged:e=>!0,monthPageChanged:e=>!0,opened:()=>!0,closed:()=>!0},setup(e,{emit:t,attrs:n}){const r=(0,o.ref)("none"),i=(0,o.ref)(e.startingViewDate),l=(0,o.ref)(null),s=(0,o.ref)(!1),u=(0,o.ref)("");(0,o.watchEffect)((()=>{const t=vt(u.value,e.inputFormat,new Date,{locale:e.locale});a(t)&&(i.value=t)})),(0,o.watchEffect)((()=>u.value=e.modelValue&&a(e.modelValue)?ce(e.modelValue,e.inputFormat,{locale:e.locale}):""));const c=(n="none")=>{e.disabled||("none"!==n&&"none"===r.value&&(i.value=e.modelValue||Kt(e.lowerLimit,e.upperLimit,i.value)),r.value=n,t("none"!==n?"opened":"closed"))};(0,o.watchEffect)((()=>{e.disabled&&(r.value="none")}));const d=(0,o.computed)((()=>zt.indexOf(e.startingView)<zt.indexOf(e.minimumView)?e.minimumView:e.startingView));return{blur:()=>{s.value=!1,c()},focus:()=>c(d.value),click:()=>s.value=!0,input:u,inputRef:l,pageDate:i,renderView:c,updatePageDate:(e,n)=>{i.value=n,"year"===e?t("decadePageChanged",n):"month"===e?t("yearPageChanged",n):"day"===e&&t("monthPageChanged",n)},selectYear:n=>{i.value=n,"year"===e.minimumView?(c("none"),t("update:modelValue",n)):r.value="month"},selectMonth:n=>{i.value=n,"month"===e.minimumView?(c("none"),t("update:modelValue",n)):r.value="day"},selectDay:n=>{i.value=n,"day"===e.minimumView?(c("none"),t("update:modelValue",n)):r.value="time"},selectTime:e=>{c("none"),t("update:modelValue",e)},keyUp:n=>{const o=n.keyCode?n.keyCode:n.which;if([27,13].includes(o)&&l.value.blur(),e.typeable){const n=vt(l.value.value,e.inputFormat,new Date,{locale:e.locale});a(n)&&u.value===ce(n,e.inputFormat,{locale:e.locale})&&(u.value=l.value.value,t("update:modelValue",n))}},viewShown:r,goBackFromTimepicker:()=>"time"===e.startingView&&"time"===e.minimumView?null:r.value="day",clearModelValue:()=>{e.clearable&&(c("none"),t("update:modelValue",null),i.value=e.startingViewDate)},initialView:d,log:e=>console.log(e),variables:e=>Object.fromEntries(Object.entries(e??{}).filter((([e,t])=>e.startsWith("--"))))}}}),Yt={class:"v3dp__input_wrapper"},Gt=["readonly","placeholder","disabled","tabindex"],Zt={class:"v3dp__clearable"};const Jt=Lt(Wt,[["render",function(e,t,n,r,i,a){const l=(0,o.resolveComponent)("year-picker"),s=(0,o.resolveComponent)("month-picker"),u=(0,o.resolveComponent)("day-picker"),c=(0,o.resolveComponent)("time-picker");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"v3dp__datepicker",style:(0,o.normalizeStyle)(e.variables(e.$attrs.style))},[(0,o.createElementVNode)("div",Yt,[(0,o.withDirectives)((0,o.createElementVNode)("input",(0,o.mergeProps)({type:"text",ref:"inputRef",readonly:!e.typeable,"onUpdate:modelValue":t[0]||(t[0]=t=>e.input=t)},e.$attrs,{placeholder:e.placeholder,disabled:e.disabled,tabindex:e.disabled?-1:0,onKeyup:t[1]||(t[1]=(...t)=>e.keyUp&&e.keyUp(...t)),onBlur:t[2]||(t[2]=(...t)=>e.blur&&e.blur(...t)),onFocus:t[3]||(t[3]=(...t)=>e.focus&&e.focus(...t)),onClick:t[4]||(t[4]=(...t)=>e.click&&e.click(...t))}),null,16,Gt),[[o.vModelText,e.input]]),(0,o.withDirectives)((0,o.createElementVNode)("div",Zt,[(0,o.renderSlot)(e.$slots,"clear",{onClear:e.clearModelValue},(()=>[(0,o.createElementVNode)("i",{onClick:t[5]||(t[5]=t=>e.clearModelValue())},"x")]))],512),[[o.vShow,e.clearable&&e.modelValue]])]),(0,o.withDirectives)((0,o.createVNode)(l,{pageDate:e.pageDate,"onUpdate:pageDate":t[6]||(t[6]=t=>e.updatePageDate("year",t)),selected:e.modelValue,lowerLimit:e.lowerLimit,upperLimit:e.upperLimit,onSelect:e.selectYear},null,8,["pageDate","selected","lowerLimit","upperLimit","onSelect"]),[[o.vShow,"year"===e.viewShown]]),(0,o.withDirectives)((0,o.createVNode)(s,{pageDate:e.pageDate,"onUpdate:pageDate":t[7]||(t[7]=t=>e.updatePageDate("month",t)),selected:e.modelValue,onSelect:e.selectMonth,lowerLimit:e.lowerLimit,upperLimit:e.upperLimit,format:e.monthListFormat,locale:e.locale,onBack:t[8]||(t[8]=t=>e.viewShown="year")},null,8,["pageDate","selected","onSelect","lowerLimit","upperLimit","format","locale"]),[[o.vShow,"month"===e.viewShown]]),(0,o.withDirectives)((0,o.createVNode)(u,{pageDate:e.pageDate,"onUpdate:pageDate":t[9]||(t[9]=t=>e.updatePageDate("day",t)),selected:e.modelValue,weekStartsOn:e.weekStartsOn,lowerLimit:e.lowerLimit,upperLimit:e.upperLimit,headingFormat:e.dayPickerHeadingFormat,disabledDates:e.disabledDates,locale:e.locale,weekdayFormat:e.weekdayFormat,"allow-outside-interval":e.allowOutsideInterval,format:e.dayFormat,onSelect:e.selectDay,onBack:t[10
2]||(t[10]=t=>e.viewShown="month")},null,8,["pageDate","selected","weekStartsOn","lowerLimit","upperLimit","headingFormat","disabledDates","locale","weekdayFormat","allow-outside-interval","format","onSelect"]),[[o.vShow,"day"===e.viewShown]]),(0,o.withDirectives)((0,o.createVNode)(c,{pageDate:e.pageDate,visible:"time"===e.viewShown,selected:e.modelValue,disabledTime:e.disabledTime,onSelect:e.selectTime,onBack:e.goBackFromTimepicker},null,8,["pageDate","visible","selected","disabledTime","onSelect","onBack"]),[[o.vShow,"time"===e.viewShown]])],4)}]])}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=t,e=[],o.O=(t,n,r,i)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){for(var[n,r,i]=e[c],l=!0,s=0;s<n.length;s++)(!1&i||a>=i)&&Object.keys(o.O).every((e=>o.O[e](n[s])))?n.splice(s--,1):(l=!1,i<a&&(a=i));if(l){e.splice(c--,1);var u=r();void 0!==u&&(t=u)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,r,i]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={773:0,170:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var r,i,[a,l,s]=n,u=0;if(a.some((t=>0!==e[t]))){for(r in l)o.o(l,r)&&(o.m[r]=l[r]);if(s)var c=s(o)}for(t&&t(n);u<a.length;u++)i=a[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(c)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),o.O(void 0,[170],(()=>o(37)));var r=o.O(void 0,[170],(()=>o(6378)));r=o.O(r)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.