leadconduit-trustedform 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var t={822(t){t.exports={age:{description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",use:"Only accept leads that meet their minimum requirement for lead age."},browser:{description:"The browser name and version",use:"Use browser type information to infer attributes about a consumer, and accept or reject a lead accordingly."},created_at:{description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",use:"Only accept leads that are less than x hours old, to maximize the likelihood of conversion."},device:{description:"Mobile device type, if applicable.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},event_duration:{description:"The amount of time, in seconds, that the consumer spent on the page filling out the form.",use:"Longer time on page might indicate a more thoughtful conversion event. Some buyers may choose to reject leads where a minimum duration was not met."},expires_at:{description:"Timestamp indicating when the claim period for the TrustedForm certificate expires.",use:"Reject leads where the TrustedForm certificate has expired and can no longer be claimed for protection against TCPA complaints."},framed:{description:"Whether or not the page_url was in an iframe.",use:""},city:{description:"The city that the consumer was located in when they filled out the form, based on IP address. ",use:"Accept leads within a specific geographic area."},country_code:{description:"The country that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lat:{description:"The location (latitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lon:{description:"The location (longitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},postal_code:{description:"The postal code that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},state:{description:"The state that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},time_zone:{description:"The time zone that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},ip:{description:"The IP address of the consumer.",use:""},wpm:{description:"The consumer’s typing speed on the form, in words per minute.",use:"Use typing speed information to infer attributes about a consumer. A buyer might reject leads that don’t fall within a desired range."},kpm:{description:"The consumer’s typing speed on the form, in keystrokes per minute.",use:"A kpm that is greater than wpm indicates the use of the delete key and/or spacebar. This might suggest a lower likelihood of bot activity and a lower probability that a lead is fraudulent."},page_url:{description:"The URL of the page on which the consumer filled out the form.",use:"Track leads back to their original source regardless of where they were purchased."},operating_system:{description:"The operating system for the device from which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},parent_page_url:{description:"The URL of the page on which the consumer filled out the form. The value will be “null” unless framed=true (see above).",use:""},cert_id:{description:"The TrustedForm certificate ID.",use:""},user_agent:{description:"The browser and operating system for the device on which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},fingerprints_matching:{description:"Matching fingerprints that were found on the TrustedForm certificate.",use:"Accept a lead where there is a fingerprint match."},fingerprints_non_matching:{description:"Non-matching fingerprints that were found on the TrustedForm certificate.",use:"Reject a lead where there is not a fingerprint match."},is_masked:{description:"Whether or not the TrustedForm certificate is masked.",use:"Route leads with masked certificates to a different system."},scans_found:{description:"Language that was found through the use of page scanning.",use:"Accept leads where desired language was found on the page through the use of page scanning."},scans_not_found:{description:"Language that was not found through the use of page scanning.",use:"Reject leads where page scanning indicates that desired language was not found on the page."},warnings:{description:"Any warnings present about the content of the form, specific to page scanning and fingerprinting.",use:"Reject leads where warnings are present."}}},711(t){t.exports={age:{name:"Age",description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",enabled:!1},browser:{name:"Browser",description:"The name and version of the browser used during the lead event.",enabled:!1},created_timestamp:{name:"Created Timestamp",description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",enabled:!1},domain:{name:"Domain",description:"The name of the website the lead event took place on.",enabled:!1},expiration_timestamp:{name:"Expiration Timestamp",description:"A timestamp indicating when this certificate will no longer be available for API requests.",enabled:!1},framed:{name:"Framed",description:'Whether or not the lead event took place inside of an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn More.</a>',enabled:!1},bot_detected:{name:"Bot Detection",description:'A determination of whether the events documented were likely produced by a non-human entity based on ActiveProspect’s proprietary algorithms. <a href="https://community.activeprospect.com/posts/5424099" target="_blank">Learn more.</a>',enabled:!1},confirmed_owner:{name:"Confirmed Owner",description:'A string indicating the verified owner of the domain, page, app, or site where the lead was generated. <a href="https://community.activeprospect.com/posts/5871525" target="_blank">Learn More.</a>',enabled:!1},form_input_method:{name:"Form Input Method",description:"A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.",enabled:!1},form_input_kpm:{name:"Form Input KPM",description:"The consumer’s typing speed on the form, in keystrokes per minute.",enabled:!1},form_input_wpm:{name:"Form Input WPM",description:"The consumer’s approximate typing speed on the form, in words per minute. This is calculated by using the Form Input KPM and assuming five characters represent a word.",enabled:!1},ip_address:{name:"IP Address",description:"The public IP address of the consumer during the lead event.",enabled:!1},location:{name:"Location",description:"The city, state, postal code, country, timezone, latitude and longitude of the consumer's location during the lead event based on IP address.",enabled:!1},masked:{name:"Masked",description:"Whether or not the TrustedForm certificate is masked.",enabled:!1},sensitive_content:{name:"Sensitive Content",description:"Count of how many content elements (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},sensitive_form_fields:{name:"Sensitive Form Fields",description:"Count of how many form fields (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},operating_system:{name:"Operating System",description:"The name and version of the operating system for the device used during the lead event.",enabled:!1},page_scan:{name:"Page Scan",description:'Results indicating whether specified text was found on the web page that created the certificate. <a href="https://community.activeprospect.com/posts/4078890-trustedform-page-scan" target="_blank">Learn more.</a>',enabled:!1},page_url:{name:"Page URL",description:"The URL of the page where the lead event took place.",enabled:!1},parent_page_url:{name:"Parent Page URL",description:'The URL displayed in the consumer\'s browser if the Page URL was displayed in an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn more.</a>',enabled:!1},time_on_page:{name:"Time On Page",description:"The amount of time, in seconds, that the consumer spent on the page during the lead event.",enabled:!1}}},883(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\nul[data-v-4cb6d661] {\n padding-top: 1em;\n}\n",""]);const a=s},531(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\ntable[data-v-350d7264] {\n position: relative;\n}\nth[data-v-350d7264] {\n position: sticky;\n top: 0;\n background-color: #f4f6f8;\n border-bottom: 1px solid #dfe4e8;\n}\n\n/*\nWe are using "fancy-checkbox" in an atypical way;\nTypically, the <label> and <input> components are siblings, and there is only 1 label for the checkbox.\nHowever, since our fancy-checkbox is supposed to be placed in a separate <td> and have additional padding,\nWe have to add some additional styling and a second <label> element.\n*/\n.checkbox-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L495 */\n padding: 1.2em !important;\n}\n.text-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L429 */\n margin: 0 !important;\n}\n',""]);const a=s},585(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\n/* All the selectors here use `:deep()` because otherwise the styles can\'t be scoped, since the classes are added by a library. */\n\n/** override this style https://github.com/activeprospect/leadconduit-client/blob/a005d3ac5627aa39d12c64756561ef400b512bf3/public/css/core/forms.styl#L252-L254 */\n[data-v-7a5031b7] input[type="text"] {\n min-width: 0 !important;\n}\n[data-v-7a5031b7] .formkit-outer {\n width: 100%;\n}\n',""]);const a=s},31(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\ninput[data-v-6d17c3cb] {\n width: 65%;\n}\n\n",""]);const a=s},388(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},219(t){"use strict";t.exports=function(t){return t[1]}},743(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){var t=!1,e=function(t){if("loading"!==document.readyState)t();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else var e=setInterval(function(){"loading"!==document.readyState&&(clearInterval(e),t())},10)};function n(t,e){window.parent.postMessage({type:"integration-message",data:{event:t,data:e}},window.location.href.replace(window.location.pathname,""))}function i(){new MutationObserver(t=>{n("mutation-observed",{height:(document.body.scrollHeight??0)+24})}).observe(document,{childList:!0,subtree:!0})}function r(t){return function(e){n(t,e)}}return{init:function(r,o){t||(t=!0,"function"!=typeof r||o||(o=r,r=void 0),e(i),e(function(){!function(t){let e="d35x2co4ayvx2v.cloudfront.net";try{(window.RICH_UI_STYLESHEET_HOST||window.parent.window.RICH_UI_STYLESHEET_HOST)&&(e=window.RICH_UI_STYLESHEET_HOST||window.parent.window.RICH_UI_STYLESHEET_HOST)}catch(t){console.warn("Error loading parent styles",t)}const n=["common/fonts.css","common/fontawesome/fontawesome.css","common/rich-ui.css"];let i=n.length;for(const t of n){const n=document.createElement("link");n.rel="stylesheet",n.onload=r,n.href=`https://${e}/${t}`,document.head.appendChild(n)}function r(){i--,0===i&&(document.body.appendChild(document.createElement("div")),t())}}(function(){n("ready")})}),"function"==typeof o&&window.addEventListener("message",function(t){if("object"!=typeof t||"object"!=typeof t.data||!t.data.type)return!1;"init"==t.data.type&&e(function(){o(t.data.data)})}),(r=r||{}).url=window.location.href,n("init",r))},send:n,create:r("create"),close:r("close"),cancel:r("cancel"),getBasePath:function(t){var e=location.pathname,n="/"==e.charAt(e.length-1)?"":"/";return e+n+t},generateOauthCallbackHtml:function(t){const e="https://app.activeprospect.com",n=e||e;return`\n <html>\n <body style="\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100vh;\n width: 100vw;\n "\n >\n <div\n id="success"\n style="\n border-radius: 1em;\n border-color: #666;\n border-width: 1px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);\n max-width: 600px;\n font-family: sans-serif;\n font-size: 24px;\n padding: 1em;\n margin: 1em;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n "\n ></div>\n \n <script>\n window.addEventListener('load', () => {\n // Send message to parent window\n try {\n if (window.opener && !window.opener.closed) {\n window.opener.postMessage(\n {\n type: 'credential',\n data: ${JSON.stringify(t)}\n },\n '${n}'\n );\n }\n } catch (e) {\n console.error('error posting message, likely due to being on leadconduit legacy app', error);\n }\n \n document.getElementById('success').innerHTML = 'Successfully connected! This window will close automatically in 5 seconds, or you may close it at any time.';\n \n setTimeout(() => {\n window.close();\n }, 5000);\n });\n <\/script>\n </body>\n </html>\n `},subscribe:function(t,e){"function"==typeof e&&window.addEventListener("message",n=>{n?.data?.type===t&&e(n?.data?.data)})}}})?i.call(e,n,e,t):i)||(t.exports=r)},273(t,e,n){var i;t=n.nmd(t),function(){var r,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",l=32,c=128,u=1/0,h=9007199254740991,d=NaN,p=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",O="[object RegExp]",A="[object Set]",T="[object String]",P="[object Symbol]",E="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",$="[object Float32Array]",j="[object Float64Array]",D="[object Int8Array]",I="[object Int16Array]",N="[object Int32Array]",R="[object Uint8Array]",B="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Ot="\\ufe0e\\ufe0f",At="\\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",Tt="["+xt+"]",Pt="["+At+"]",Et="["+wt+"]",Mt="\\d+",Lt="["+St+"]",$t="["+kt+"]",jt="[^"+xt+At+Mt+St+kt+Ct+"]",Dt="\\ud83c[\\udffb-\\udfff]",It="[^"+xt+"]",Nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Vt="\\u200d",zt="(?:"+$t+"|"+jt+")",Ft="(?:"+Bt+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Et+"|"+Dt+")?",qt="["+Ot+"]?",Gt=qt+Ut+"(?:"+Vt+"(?:"+[It,Nt,Rt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,Nt,Rt].join("|")+")"+Gt,Yt="(?:"+[It+Et+"?",Et,Nt,Rt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Et,"g"),Qt=RegExp(Dt+"(?="+Dt+")|"+Yt+Gt,"g"),Jt=RegExp([Bt+"?"+$t+"+"+Wt+"(?="+[Pt,Bt,"$"].join("|")+")",Ft+"+"+Ht+"(?="+[Pt,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Vt+xt+wt+Ot+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[$]=re[j]=re[D]=re[I]=re[N]=re[R]=re[B]=re[V]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[O]=re[A]=re[T]=re[E]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[$]=oe[j]=oe[D]=oe[I]=oe[N]=oe[w]=oe[S]=oe[k]=oe[O]=oe[A]=oe[T]=oe[P]=oe[R]=oe[B]=oe[V]=oe[z]=!0,oe[b]=oe[_]=oe[E]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch(t){}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Pe(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Ee(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function $e(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function je(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function De(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Ie=We("length");function Ne(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function Re(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Re(t,ze,n)}function Ve(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Fe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:d}function We(t){return function(e){return null==e?r:e[t]}}function He(t){return function(e){return null==t?r:t[e]}}function Ue(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function qe(t,e){for(var n,i=-1,o=t.length;++i<o;){var s=e(t[i]);s!==r&&(n=n===r?s:n+s)}return n}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t?t.slice(0,dn(t)+1).replace(it,""):t}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,function(e){return t[e]})}function Ze(t,e){return t.has(e)}function Qe(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Je(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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:"'n",ſ:"s"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function ln(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function un(t){return rn(t)?function(t){for(var e=Qt.lastIndex=0;Qt.test(t);)++e;return e}(t):Ie(t)}function hn(t){return rn(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function dn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var pn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fn=function t(e){var n,i=(e=null==e?he:fn.defaults(he.Object(),e,fn.pick(he,ne))).Array,rt=e.Date,xt=e.Error,wt=e.Function,St=e.Math,kt=e.Object,Ct=e.RegExp,Ot=e.String,At=e.TypeError,Tt=i.prototype,Pt=wt.prototype,Et=kt.prototype,Mt=e["__core-js_shared__"],Lt=Pt.toString,$t=Et.hasOwnProperty,jt=0,Dt=(n=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",It=Et.toString,Nt=Lt.call(kt),Rt=he._,Bt=Ct("^"+Lt.call($t).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=fe?e.Buffer:r,zt=e.Symbol,Ft=e.Uint8Array,Wt=Vt?Vt.allocUnsafe:r,Ht=sn(kt.getPrototypeOf,kt),Ut=kt.create,qt=Et.propertyIsEnumerable,Gt=Tt.splice,Xt=zt?zt.isConcatSpreadable:r,Yt=zt?zt.iterator:r,Qt=zt?zt.toStringTag:r,te=function(){try{var t=lo(kt,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,ce=rt&&rt.now!==he.Date.now&&rt.now,ue=e.setTimeout!==he.setTimeout&&e.setTimeout,de=St.ceil,pe=St.floor,ge=kt.getOwnPropertySymbols,me=Vt?Vt.isBuffer:r,Ie=e.isFinite,He=Tt.join,gn=sn(kt.keys,kt),mn=St.max,vn=St.min,yn=rt.now,bn=e.parseInt,_n=St.random,xn=Tt.reverse,wn=lo(e,"DataView"),Sn=lo(e,"Map"),kn=lo(e,"Promise"),Cn=lo(e,"Set"),On=lo(e,"WeakMap"),An=lo(kt,"create"),Tn=On&&new On,Pn={},En=No(wn),Mn=No(Sn),Ln=No(kn),$n=No(Cn),jn=No(On),Dn=zt?zt.prototype:r,In=Dn?Dn.valueOf:r,Nn=Dn?Dn.toString:r;function Rn(t){if(ta(t)&&!Ws(t)&&!(t instanceof Fn)){if(t instanceof zn)return t;if($t.call(t,"__wrapped__"))return Ro(t)}return new zn(t)}var Bn=function(){function t(){}return function(e){if(!Js(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function Vn(){}function zn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Fn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Un;++e<n;)this.add(t[e])}function Gn(t){var e=this.__data__=new Hn(t);this.size=e.size}function Xn(t,e){var n=Ws(t),i=!n&&Fs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&la(t),s=n||i||r||o,a=s?Ge(t.length,Ot):[],l=a.length;for(var c in t)!e&&!$t.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,l))||a.push(c);return a}function Yn(t){var e=t.length;return e?t[Ui(0,e-1)]:r}function Kn(t,e){return Lo(Or(t),oi(e,0,t.length))}function Zn(t){return Lo(Or(t))}function Qn(t,e,n){(n!==r&&!Bs(t[e],n)||n===r&&!(e in t))&&ii(t,e,n)}function Jn(t,e,n){var i=t[e];$t.call(t,e)&&Bs(i,n)&&(n!==r||e in t)||ii(t,e,n)}function ti(t,e){for(var n=t.length;n--;)if(Bs(t[n][0],e))return n;return-1}function ei(t,e,n,i){return ui(t,function(t,r,o){e(i,t,n(t),o)}),i}function ni(t,e){return t&&Ar(e,Ea(e),t)}function ii(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ri(t,e){for(var n=-1,o=e.length,s=i(o),a=null==t;++n<o;)s[n]=a?r:Ca(t,e[n]);return s}function oi(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function si(t,e,n,i,o,s){var a,l=1&e,c=2&e,u=4&e;if(n&&(a=o?n(t,i,o,s):n(t)),a!==r)return a;if(!Js(t))return t;var h=Ws(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&$t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Or(t,a)}else{var d=ho(t),p=d==_||d==x;if(Gs(t))return _r(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:fo(t),!l)return c?function(t,e){return Ar(t,uo(t),e)}(t,function(t,e){return t&&Ar(e,Ma(e),t)}(a,t)):function(t,e){return Ar(t,co(t),e)}(t,ni(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i,r=t.constructor;switch(e){case M:return xr(t);case v:case y:return new r(+t);case L:return function(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case $:case j:case D:case I:case N:case R:case B:case V:case z:return wr(t,n);case w:return new r;case S:case T:return new r(t);case O:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new r;case P:return i=t,In?kt(In.call(i)):{}}}(t,d,l)}}s||(s=new Gn);var f=s.get(t);if(f)return f;s.set(t,a),oa(t)?t.forEach(function(i){a.add(si(i,e,n,i,t,s))}):ea(t)&&t.forEach(function(i,r){a.set(r,si(i,e,n,r,t,s))});var m=h?r:(u?c?eo:to:c?Ma:Ea)(t);return Ce(m||t,function(i,r){m&&(i=t[r=i]),Jn(a,r,si(i,e,n,r,t,s))}),a}function ai(t,e,n){var i=n.length;if(null==t)return!i;for(t=kt(t);i--;){var o=n[i],s=e[o],a=t[o];if(a===r&&!(o in t)||!s(a))return!1}return!0}function li(t,e,n){if("function"!=typeof t)throw new At(o);return To(function(){t.apply(r,n)},e)}function ci(t,e,n,i){var r=-1,o=Pe,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Ee,s=!1):e.length>=200&&(o=Ze,s=!1,e=new qn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Rn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Rn}},Rn.prototype=Vn.prototype,Rn.prototype.constructor=Rn,zn.prototype=Bn(Vn.prototype),zn.prototype.constructor=zn,Fn.prototype=Bn(Vn.prototype),Fn.prototype.constructor=Fn,Wn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(An){var n=e[t];return n===s?r:n}return $t.call(e,t)?e[t]:r},Wn.prototype.has=function(t){var e=this.__data__;return An?e[t]!==r:$t.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=An&&e===r?s:e,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(t){var e=this.__data__,n=ti(e,t);return!(n<0||(n==e.length-1?e.pop():Gt.call(e,n,1),--this.size,0))},Hn.prototype.get=function(t){var e=this.__data__,n=ti(e,t);return n<0?r:e[n][1]},Hn.prototype.has=function(t){return ti(this.__data__,t)>-1},Hn.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Un.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Sn||Hn),string:new Wn}},Un.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Un.prototype.get=function(t){return so(this,t).get(t)},Un.prototype.has=function(t){return so(this,t).has(t)},Un.prototype.set=function(t,e){var n=so(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Gn.prototype.get=function(t){return this.__data__.get(t)},Gn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Hn){var i=n.__data__;if(!Sn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Un(i)}return n.set(t,e),this.size=n.size,this};var ui=Er(yi),hi=Er(bi,!0);function di(t,e){var n=!0;return ui(t,function(t,i,r){return n=!!e(t,i,r)}),n}function pi(t,e,n){for(var i=-1,o=t.length;++i<o;){var s=t[i],a=e(s);if(null!=a&&(l===r?a==a&&!aa(a):n(a,l)))var l=a,c=s}return c}function fi(t,e){var n=[];return ui(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function gi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=go),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?gi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var mi=Mr(),vi=Mr(!0);function yi(t,e){return t&&mi(t,e,Ea)}function bi(t,e){return t&&vi(t,e,Ea)}function _i(t,e){return Te(e,function(e){return Ks(t[e])})}function xi(t,e){for(var n=0,i=(e=mr(e,t)).length;null!=t&&n<i;)t=t[Io(e[n++])];return n&&n==i?t:r}function wi(t,e,n){var i=e(t);return Ws(t)?i:Le(i,n(t))}function Si(t){return null==t?t===r?"[object Undefined]":"[object Null]":Qt&&Qt in kt(t)?function(t){var e=$t.call(t,Qt),n=t[Qt];try{t[Qt]=r;var i=!0}catch(t){}var o=It.call(t);return i&&(e?t[Qt]=n:delete t[Qt]),o}(t):function(t){return It.call(t)}(t)}function ki(t,e){return t>e}function Ci(t,e){return null!=t&&$t.call(t,e)}function Oi(t,e){return null!=t&&e in kt(t)}function Ai(t,e,n){for(var o=n?Ee:Pe,s=t[0].length,a=t.length,l=a,c=i(a),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Me(d,Ye(e))),u=vn(d.length,u),c[l]=!n&&(e||s>=120&&d.length>=120)?new qn(l&&d):r}d=t[0];var p=-1,f=c[0];t:for(;++p<s&&h.length<u;){var g=d[p],m=e?e(g):g;if(g=n||0!==g?g:0,!(f?Ze(f,m):o(h,m,n))){for(l=a;--l;){var v=c[l];if(!(v?Ze(v,m):o(t[l],m,n)))continue t}f&&f.push(m),h.push(g)}}return h}function Ti(t,e,n){var i=null==(t=Co(t,e=mr(e,t)))?t:t[Io(Yo(e))];return null==i?r:Se(i,t,n)}function Pi(t){return ta(t)&&Si(t)==g}function Ei(t,e,n,i,o){return t===e||(null==t||null==e||!ta(t)&&!ta(e)?t!=t&&e!=e:function(t,e,n,i,o,s){var a=Ws(t),l=Ws(e),c=a?m:ho(t),u=l?m:ho(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Gs(t)){if(!Gs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Gn),a||la(t)?Qr(t,e,n,i,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ft(t),new Ft(e)));case v:case y:case S:return Bs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case O:case T:return t==e+"";case w:var a=on;case A:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Qr(a(t),a(e),i,r,o,s);return s.delete(t),u;case P:if(In)return In.call(t)==In.call(e)}return!1}(t,e,c,n,i,o,s);if(!(1&n)){var f=h&&$t.call(t,"__wrapped__"),_=d&&$t.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Gn),o(x,C,n,i,s)}}return!!p&&(s||(s=new Gn),function(t,e,n,i,o,s){var a=1&n,l=to(t),c=l.length;if(c!=to(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:$t.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(i)var y=a?i(v,m,h,e,t,s):i(m,v,h,t,e,s);if(!(y===r?m===v||o(m,v,n,i,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(f=!1)}return s.delete(t),s.delete(e),f}(t,e,n,i,o,s))}(t,e,n,i,Ei,o))}function Mi(t,e,n,i){var o=n.length,s=o,a=!i;if(null==t)return!s;for(t=kt(t);o--;){var l=n[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===r&&!(c in t))return!1}else{var d=new Gn;if(i)var p=i(u,h,c,t,e,d);if(!(p===r?Ei(h,u,3,i,d):p))return!1}}return!0}function Li(t){return!(!Js(t)||(e=t,Dt&&Dt in e))&&(Ks(t)?Bt:gt).test(No(t));var e}function $i(t){return"function"==typeof t?t:null==t?nl:"object"==typeof t?Ws(t)?Ri(t[0],t[1]):Ni(t):hl(t)}function ji(t){if(!xo(t))return gn(t);var e=[];for(var n in kt(t))$t.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Di(t,e){return t<e}function Ii(t,e){var n=-1,r=Us(t)?i(t.length):[];return ui(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Ni(t){var e=ao(t);return 1==e.length&&e[0][2]?So(e[0][0],e[0][1]):function(n){return n===t||Mi(n,t,e)}}function Ri(t,e){return yo(t)&&wo(e)?So(Io(t),e):function(n){var i=Ca(n,t);return i===r&&i===e?Oa(n,t):Ei(e,i,3)}}function Bi(t,e,n,i,o){t!==e&&mi(e,function(s,a){if(o||(o=new Gn),Js(s))!function(t,e,n,i,o,s,a){var l=Oo(t,n),c=Oo(e,n),u=a.get(c);if(u)Qn(t,n,u);else{var h=s?s(l,c,n+"",t,e,a):r,d=h===r;if(d){var p=Ws(c),f=!p&&Gs(c),g=!p&&!f&&la(c);h=c,p||f||g?Ws(l)?h=l:qs(l)?h=Or(l):f?(d=!1,h=_r(c,!0)):g?(d=!1,h=wr(c,!0)):h=[]:ia(c)||Fs(c)?(h=l,Fs(l)?h=ma(l):Js(l)&&!Ks(l)||(h=fo(c))):d=!1}d&&(a.set(c,h),o(h,c,i,s,a),a.delete(c)),Qn(t,n,h)}}(t,e,a,n,Bi,i,o);else{var l=i?i(Oo(t,a),s,a+"",t,e,o):r;l===r&&(l=s),Qn(t,a,l)}},Ma)}function Vi(t,e){var n=t.length;if(n)return mo(e+=e<0?n:0,n)?t[e]:r}function zi(t,e,n){e=e.length?Me(e,function(t){return Ws(t)?function(e){return xi(e,1===t.length?t[0]:t)}:t}):[nl];var i=-1;e=Me(e,Ye(oo()));var r=Ii(t,function(t,n,r){var o=Me(e,function(e){return e(t)});return{criteria:o,index:++i,value:t}});return function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=Sr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(r)}function Fi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=xi(t,s);n(a,s)&&Ki(o,mr(s,t),a)}return o}function Wi(t,e,n,i){var r=i?Ve:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Or(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Gt.call(a,l,1),Gt.call(t,l,1);return t}function Hi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;mo(r)?Gt.call(t,r,1):lr(t,r)}}return t}function Ui(t,e){return t+pe(_n()*(e-t+1))}function qi(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Gi(t,e){return Po(ko(t,e,nl),t+"")}function Xi(t){return Yn(Ba(t))}function Yi(t,e){var n=Ba(t);return Lo(n,oi(e,0,n.length))}function Ki(t,e,n,i){if(!Js(t))return t;for(var o=-1,s=(e=mr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Io(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=i?i(h,c,l):r)===r&&(u=Js(h)?h:mo(e[o+1])?[]:{})}Jn(l,c,u),l=l[c]}return t}var Zi=Tn?function(t,e){return Tn.set(t,e),t}:nl,Qi=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Ja(e),writable:!0})}:nl;function Ji(t){return Lo(Ba(t))}function tr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=i(o);++r<o;)s[r]=t[r+e];return s}function er(t,e){var n;return ui(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function nr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!aa(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return ir(t,e,nl,n)}function ir(t,e,n,i){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,l=null===e,c=aa(e),u=e===r;o<s;){var h=pe((o+s)/2),d=n(t[h]),p=d!==r,f=null===d,g=d==d,m=aa(d);if(a)var v=i||g;else v=u?g&&(i||p):l?g&&p&&(i||!f):c?g&&p&&!f&&(i||!m):!f&&!m&&(i?d<=e:d<e);v?o=h+1:s=h}return vn(s,4294967294)}function rr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Bs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function or(t){return"number"==typeof t?t:aa(t)?d:+t}function sr(t){if("string"==typeof t)return t;if(Ws(t))return Me(t,sr)+"";if(aa(t))return Nn?Nn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ar(t,e,n){var i=-1,r=Pe,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Ee;else if(o>=200){var c=e?null:qr(t);if(c)return ln(c);s=!1,r=Ze,l=new qn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function lr(t,e){var n=-1,i=(e=mr(e,t)).length;if(!i)return!0;for(;++n<i;){var r=Io(e[n]);if("__proto__"===r&&!$t.call(t,"__proto__"))return!1;if(("constructor"===r||"prototype"===r)&&n<i-1)return!1}var o=Co(t,e);return null==o||delete o[Io(Yo(e))]}function cr(t,e,n,i){return Ki(t,e,n(xi(t,e)),i)}function ur(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?tr(t,i?0:o,i?o+1:r):tr(t,i?o+1:0,i?r:o)}function hr(t,e){var n=t;return n instanceof Fn&&(n=n.value()),$e(e,function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))},n)}function dr(t,e,n){var r=t.length;if(r<2)return r?ar(t[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=t[o],l=-1;++l<r;)l!=o&&(s[o]=ci(s[o]||a,t[l],e,n));return ar(gi(s,1),e,n)}function pr(t,e,n){for(var i=-1,o=t.length,s=e.length,a={};++i<o;){var l=i<s?e[i]:r;n(a,t[i],l)}return a}function fr(t){return qs(t)?t:[]}function gr(t){return"function"==typeof t?t:nl}function mr(t,e){return Ws(t)?t:yo(t,e)?[t]:Do(va(t))}var vr=Gi;function yr(t,e,n){var i=t.length;return n=n===r?i:n,!e&&n>=i?t:tr(t,e,n)}var br=se||function(t){return he.clearTimeout(t)};function _r(t,e){if(e)return t.slice();var n=t.length,i=Wt?Wt(n):new t.constructor(n);return t.copy(i),i}function xr(t){var e=new t.constructor(t.byteLength);return new Ft(e).set(new Ft(t)),e}function wr(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Sr(t,e){if(t!==e){var n=t!==r,i=null===t,o=t==t,s=aa(t),a=e!==r,l=null===e,c=e==e,u=aa(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!o)return 1;if(!i&&!s&&!u&&t<e||u&&n&&o&&!i&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}function kr(t,e,n,r){for(var o=-1,s=t.length,a=n.length,l=-1,c=e.length,u=mn(s-a,0),h=i(c+u),d=!r;++l<c;)h[l]=e[l];for(;++o<a;)(d||o<s)&&(h[n[o]]=t[o]);for(;u--;)h[l++]=t[o++];return h}function Cr(t,e,n,r){for(var o=-1,s=t.length,a=-1,l=n.length,c=-1,u=e.length,h=mn(s-l,0),d=i(h+u),p=!r;++o<h;)d[o]=t[o];for(var f=o;++c<u;)d[f+c]=e[c];for(;++a<l;)(p||o<s)&&(d[f+n[a]]=t[o++]);return d}function Or(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function Ar(t,e,n,i){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=i?i(n[l],t[l],l,n,t):r;c===r&&(c=t[l]),o?ii(n,l,c):Jn(n,l,c)}return n}function Tr(t,e){return function(n,i){var r=Ws(n)?ke:ei,o=e?e():{};return r(n,t,oo(i,2),o)}}function Pr(t){return Gi(function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:r,a=o>2?n[2]:r;for(s=t.length>3&&"function"==typeof s?(o--,s):r,a&&vo(n[0],n[1],a)&&(s=o<3?r:s,o=1),e=kt(e);++i<o;){var l=n[i];l&&t(e,l,i,s)}return e})}function Er(t,e){return function(n,i){if(null==n)return n;if(!Us(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=kt(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Mr(t){return function(e,n,i){for(var r=-1,o=kt(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function Lr(t){return function(e){var n=rn(e=va(e))?hn(e):r,i=n?n[0]:e.charAt(0),o=n?yr(n,1).join(""):e.slice(1);return i[t]()+o}}function $r(t){return function(e){return $e(Ka(Fa(e).replace(Kt,"")),t,"")}}function jr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Bn(t.prototype),i=t.apply(n,e);return Js(i)?i:n}}function Dr(t){return function(e,n,i){var o=kt(e);if(!Us(e)){var s=oo(n,3);e=Ea(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,i);return a>-1?o[s?e[a]:a]:r}}function Ir(t){return Jr(function(e){var n=e.length,i=n,s=zn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new At(o);if(s&&!l&&"wrapper"==io(a))var l=new zn([],!0)}for(i=l?i:n;++i<n;){var c=io(a=e[i]),u="wrapper"==c?no(a):r;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[io(u[0])].apply(l,u[3]):1==a.length&&bo(a)?l[c]():l.thru(a)}return function(){var t=arguments,i=t[0];if(l&&1==t.length&&Ws(i))return l.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function Nr(t,e,n,o,s,a,l,u,h,d){var p=e&c,f=1&e,g=2&e,m=24&e,v=512&e,y=g?r:jr(t);return function c(){for(var b=arguments.length,_=i(b),x=b;x--;)_[x]=arguments[x];if(m)var w=ro(c),S=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(_,w);if(o&&(_=kr(_,o,s,m)),a&&(_=Cr(_,a,l,m)),b-=S,m&&b<d){var k=an(_,w);return Hr(t,e,Nr,c.placeholder,n,_,k,u,h,d-b)}var C=f?n:this,O=g?C[t]:t;return b=_.length,u?_=function(t,e){for(var n=t.length,i=vn(e.length,n),o=Or(t);i--;){var s=e[i];t[i]=mo(s,n)?o[s]:r}return t}(_,u):v&&b>1&&_.reverse(),p&&h<b&&(_.length=h),this&&this!==he&&this instanceof c&&(O=y||jr(O)),O.apply(C,_)}}function Rr(t,e){return function(n,i){return function(t,e,n,i){return yi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Br(t,e){return function(n,i){var o;if(n===r&&i===r)return e;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=or(n),i=or(i)),o=t(n,i)}return o}}function Vr(t){return Jr(function(e){return e=Me(e,Ye(oo())),Gi(function(n){var i=this;return t(e,function(t){return Se(t,i,n)})})})}function zr(t,e){var n=(e=e===r?" ":sr(e)).length;if(n<2)return n?qi(e,t):e;var i=qi(e,de(t/un(e)));return rn(e)?yr(hn(i),0,t).join(""):i.slice(0,t)}function Fr(t){return function(e,n,o){return o&&"number"!=typeof o&&vo(e,n,o)&&(n=o=r),e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n,r){for(var o=-1,s=mn(de((e-t)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=t,t+=n;return a}(e,n,o=o===r?e<n?1:-1:da(o),t)}}function Wr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ga(e),n=ga(n)),t(e,n)}}function Hr(t,e,n,i,o,s,a,c,u,h){var d=8&e;e|=d?l:64,4&(e&=~(d?64:l))||(e&=-4);var p=[t,e,o,d?s:r,d?a:r,d?r:s,d?r:a,c,u,h],f=n.apply(r,p);return bo(t)&&Ao(f,p),f.placeholder=i,Eo(f,t,e)}function Ur(t){var e=St[t];return function(t,n){if(t=ga(t),(n=null==n?0:vn(pa(n),292))&&Ie(t)){var i=(va(t)+"e").split("e");return+((i=(va(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var qr=Cn&&1/ln(new Cn([,-0]))[1]==u?function(t){return new Cn(t)}:al;function Gr(t){return function(e){var n=ho(e);return n==w?on(e):n==A?cn(e):function(t,e){return Me(e,function(e){return[e,t[e]]})}(e,t(e))}}function Xr(t,e,n,s,u,h,d,p){var f=2&e;if(!f&&"function"!=typeof t)throw new At(o);var g=s?s.length:0;if(g||(e&=-97,s=u=r),d=d===r?d:mn(pa(d),0),p=p===r?p:pa(p),g-=u?u.length:0,64&e){var m=s,v=u;s=u=r}var y=f?r:no(t),b=[t,e,n,s,u,m,v,h,d,p];if(y&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=i==c&&8==n||i==c&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?kr(u,l,e[4]):l,t[4]=u?an(t[3],a):e[4]}(l=e[5])&&(u=t[5],t[5]=u?Cr(u,l,e[6]):l,t[6]=u?an(t[5],a):e[6]),(l=e[7])&&(t[7]=l),i&c&&(t[8]=null==t[8]?e[8]:vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(b,y),t=b[0],e=b[1],n=b[2],s=b[3],u=b[4],!(p=b[9]=b[9]===r?f?0:t.length:mn(b[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var o=jr(t);return function s(){for(var a=arguments.length,l=i(a),c=a,u=ro(s);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:an(l,u);return(a-=h.length)<n?Hr(t,e,Nr,s.placeholder,r,l,h,r,r,n-a):Se(this&&this!==he&&this instanceof s?o:t,this,l)}}(t,e,p):e!=l&&33!=e||u.length?Nr.apply(r,b):function(t,e,n,r){var o=1&e,s=jr(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=r.length,h=i(u+l),d=this&&this!==he&&this instanceof e?s:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++a];return Se(d,o?n:this,h)}}(t,e,n,s);else var _=function(t,e,n){var i=1&e,r=jr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return Eo((y?Zi:Ao)(_,b),t,e)}function Yr(t,e,n,i){return t===r||Bs(t,Et[n])&&!$t.call(i,n)?e:t}function Kr(t,e,n,i,o,s){return Js(t)&&Js(e)&&(s.set(e,t),Bi(t,e,r,Kr,s),s.delete(e)),t}function Zr(t){return ia(t)?r:t}function Qr(t,e,n,i,o,s){var a=1&n,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&n?new qn:r;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(i)var v=a?i(m,g,d,e,t,s):i(g,m,d,t,e,s);if(v!==r){if(v)continue;p=!1;break}if(f){if(!De(e,function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,n,i,s)))return f.push(e)})){p=!1;break}}else if(g!==m&&!o(g,m,n,i,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Jr(t){return Po(ko(t,r,Ho),t+"")}function to(t){return wi(t,Ea,co)}function eo(t){return wi(t,Ma,uo)}var no=Tn?function(t){return Tn.get(t)}:al;function io(t){for(var e=t.name+"",n=Pn[e],i=$t.call(Pn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function ro(t){return($t.call(Rn,"placeholder")?Rn:t).placeholder}function oo(){var t=Rn.iteratee||il;return t=t===il?$i:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function ao(t){for(var e=Ea(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,wo(r)]}return e}function lo(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Li(n)?n:r}var co=ge?function(t){return null==t?[]:(t=kt(t),Te(ge(t),function(e){return qt.call(t,e)}))}:fl,uo=ge?function(t){for(var e=[];t;)Le(e,co(t)),t=Ht(t);return e}:fl,ho=Si;function po(t,e,n){for(var i=-1,r=(e=mr(e,t)).length,o=!1;++i<r;){var s=Io(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Qs(r)&&mo(s,r)&&(Ws(t)||Fs(t))}function fo(t){return"function"!=typeof t.constructor||xo(t)?{}:Bn(Ht(t))}function go(t){return Ws(t)||Fs(t)||!!(Xt&&t&&t[Xt])}function mo(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function vo(t,e,n){if(!Js(n))return!1;var i=typeof e;return!!("number"==i?Us(n)&&mo(e,n.length):"string"==i&&e in n)&&Bs(n[e],t)}function yo(t,e){if(Ws(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!aa(t))||J.test(t)||!Q.test(t)||null!=e&&t in kt(e)}function bo(t){var e=io(t),n=Rn[e];if("function"!=typeof n||!(e in Fn.prototype))return!1;if(t===n)return!0;var i=no(n);return!!i&&t===i[0]}(wn&&ho(new wn(new ArrayBuffer(1)))!=L||Sn&&ho(new Sn)!=w||kn&&ho(kn.resolve())!=C||Cn&&ho(new Cn)!=A||On&&ho(new On)!=E)&&(ho=function(t){var e=Si(t),n=e==k?t.constructor:r,i=n?No(n):"";if(i)switch(i){case En:return L;case Mn:return w;case Ln:return C;case $n:return A;case jn:return E}return e});var _o=Mt?Ks:gl;function xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Et)}function wo(t){return t==t&&!Js(t)}function So(t,e){return function(n){return null!=n&&n[t]===e&&(e!==r||t in kt(n))}}function ko(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,s=mn(r.length-e,0),a=i(s);++o<s;)a[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(a),Se(t,this,l)}}function Co(t,e){return e.length<2?t:xi(t,tr(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Ao=Mo(Zi),To=ue||function(t,e){return he.setTimeout(t,e)},Po=Mo(Qi);function Eo(t,e,n){var i=e+"";return Po(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,function(n){var i="_."+n[0];e&n[1]&&!Pe(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Mo(t){var e=0,n=0;return function(){var i=yn(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Lo(t,e){var n=-1,i=t.length,o=i-1;for(e=e===r?i:e;++n<e;){var s=Ui(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var $o,jo,Do=($o=$s(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)}),e},function(t){return 500===jo.size&&jo.clear(),t}),jo=$o.cache,$o);function Io(t){if("string"==typeof t||aa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function No(t){if(null!=t){try{return Lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ro(t){if(t instanceof Fn)return t.clone();var e=new zn(t.__wrapped__,t.__chain__);return e.__actions__=Or(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Bo=Gi(function(t,e){return qs(t)?ci(t,gi(e,1,qs,!0)):[]}),Vo=Gi(function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),oo(n,2)):[]}),zo=Gi(function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),r,n):[]});function Fo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Re(t,oo(e,3),r)}function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return n!==r&&(o=pa(n),o=n<0?mn(i+o,0):vn(o,i-1)),Re(t,oo(e,3),o,!0)}function Ho(t){return null!=t&&t.length?gi(t,1):[]}function Uo(t){return t&&t.length?t[0]:r}var qo=Gi(function(t){var e=Me(t,fr);return e.length&&e[0]===t[0]?Ai(e):[]}),Go=Gi(function(t){var e=Yo(t),n=Me(t,fr);return e===Yo(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Ai(n,oo(e,2)):[]}),Xo=Gi(function(t){var e=Yo(t),n=Me(t,fr);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Ai(n,r,e):[]});function Yo(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Ko=Gi(Zo);function Zo(t,e){return t&&t.length&&e&&e.length?Wi(t,e):t}var Qo=Jr(function(t,e){var n=null==t?0:t.length,i=ri(t,e);return Hi(t,Me(e,function(t){return mo(t,n)?+t:t}).sort(Sr)),i});function Jo(t){return null==t?t:xn.call(t)}var ts=Gi(function(t){return ar(gi(t,1,qs,!0))}),es=Gi(function(t){var e=Yo(t);return qs(e)&&(e=r),ar(gi(t,1,qs,!0),oo(e,2))}),ns=Gi(function(t){var e=Yo(t);return e="function"==typeof e?e:r,ar(gi(t,1,qs,!0),r,e)});function is(t){if(!t||!t.length)return[];var e=0;return t=Te(t,function(t){if(qs(t))return e=mn(t.length,e),!0}),Ge(e,function(e){return Me(t,We(e))})}function rs(t,e){if(!t||!t.length)return[];var n=is(t);return null==e?n:Me(n,function(t){return Se(e,r,t)})}var os=Gi(function(t,e){return qs(t)?ci(t,e):[]}),ss=Gi(function(t){return dr(Te(t,qs))}),as=Gi(function(t){var e=Yo(t);return qs(e)&&(e=r),dr(Te(t,qs),oo(e,2))}),ls=Gi(function(t){var e=Yo(t);return e="function"==typeof e?e:r,dr(Te(t,qs),r,e)}),cs=Gi(is),us=Gi(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,rs(t,n)});function hs(t){var e=Rn(t);return e.__chain__=!0,e}function ds(t,e){return e(t)}var ps=Jr(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return ri(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Fn&&mo(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ds,args:[o],thisArg:r}),new zn(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(o)}),fs=Tr(function(t,e,n){$t.call(t,n)?++t[n]:ii(t,n,1)}),gs=Dr(Fo),ms=Dr(Wo);function vs(t,e){return(Ws(t)?Ce:ui)(t,oo(e,3))}function ys(t,e){return(Ws(t)?Oe:hi)(t,oo(e,3))}var bs=Tr(function(t,e,n){$t.call(t,n)?t[n].push(e):ii(t,n,[e])}),_s=Gi(function(t,e,n){var r=-1,o="function"==typeof e,s=Us(t)?i(t.length):[];return ui(t,function(t){s[++r]=o?Se(e,t,n):Ti(t,e,n)}),s}),xs=Tr(function(t,e,n){ii(t,n,e)});function ws(t,e){return(Ws(t)?Me:Ii)(t,oo(e,3))}var Ss=Tr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ks=Gi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&vo(t,e[0],e[1])?e=[]:n>2&&vo(e[0],e[1],e[2])&&(e=[e[0]]),zi(t,gi(e,1),[])}),Cs=ce||function(){return he.Date.now()};function Os(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Xr(t,c,r,r,r,r,e)}function As(t,e){var n;if("function"!=typeof e)throw new At(o);return t=pa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Ts=Gi(function(t,e,n){var i=1;if(n.length){var r=an(n,ro(Ts));i|=l}return Xr(t,i,e,n,r)}),Ps=Gi(function(t,e,n){var i=3;if(n.length){var r=an(n,ro(Ps));i|=l}return Xr(e,i,t,n,r)});function Es(t,e,n){var i,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new At(o);function g(e){var n=i,o=s;return i=s=r,h=e,l=t.apply(o,n)}function m(t){var n=t-u;return u===r||n>=e||n<0||p&&t-h>=a}function v(){var t=Cs();if(m(t))return y(t);c=To(v,function(t){var n=e-(t-u);return p?vn(n,a-(t-h)):n}(t))}function y(t){return c=r,f&&i?g(t):(i=s=r,l)}function b(){var t=Cs(),n=m(t);if(i=arguments,s=this,u=t,n){if(c===r)return function(t){return h=t,c=To(v,e),d?g(t):l}(u);if(p)return br(c),c=To(v,e),g(u)}return c===r&&(c=To(v,e)),l}return e=ga(e)||0,Js(n)&&(d=!!n.leading,a=(p="maxWait"in n)?mn(ga(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){c!==r&&br(c),h=0,i=u=s=c=r},b.flush=function(){return c===r?l:y(Cs())},b}var Ms=Gi(function(t,e){return li(t,1,e)}),Ls=Gi(function(t,e,n){return li(t,ga(e)||0,n)});function $s(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new At(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new($s.Cache||Un),n}function js(t){if("function"!=typeof t)throw new At(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}$s.Cache=Un;var Ds=vr(function(t,e){var n=(e=1==e.length&&Ws(e[0])?Me(e[0],Ye(oo())):Me(gi(e,1),Ye(oo()))).length;return Gi(function(i){for(var r=-1,o=vn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)})}),Is=Gi(function(t,e){var n=an(e,ro(Is));return Xr(t,l,r,e,n)}),Ns=Gi(function(t,e){var n=an(e,ro(Ns));return Xr(t,64,r,e,n)}),Rs=Jr(function(t,e){return Xr(t,256,r,r,r,e)});function Bs(t,e){return t===e||t!=t&&e!=e}var Vs=Wr(ki),zs=Wr(function(t,e){return t>=e}),Fs=Pi(function(){return arguments}())?Pi:function(t){return ta(t)&&$t.call(t,"callee")&&!qt.call(t,"callee")},Ws=i.isArray,Hs=ve?Ye(ve):function(t){return ta(t)&&Si(t)==M};function Us(t){return null!=t&&Qs(t.length)&&!Ks(t)}function qs(t){return ta(t)&&Us(t)}var Gs=me||gl,Xs=ye?Ye(ye):function(t){return ta(t)&&Si(t)==y};function Ys(t){if(!ta(t))return!1;var e=Si(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ia(t)}function Ks(t){if(!Js(t))return!1;var e=Si(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zs(t){return"number"==typeof t&&t==pa(t)}function Qs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Js(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ta(t){return null!=t&&"object"==typeof t}var ea=be?Ye(be):function(t){return ta(t)&&ho(t)==w};function na(t){return"number"==typeof t||ta(t)&&Si(t)==S}function ia(t){if(!ta(t)||Si(t)!=k)return!1;var e=Ht(t);if(null===e)return!0;var n=$t.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Lt.call(n)==Nt}var ra=_e?Ye(_e):function(t){return ta(t)&&Si(t)==O},oa=xe?Ye(xe):function(t){return ta(t)&&ho(t)==A};function sa(t){return"string"==typeof t||!Ws(t)&&ta(t)&&Si(t)==T}function aa(t){return"symbol"==typeof t||ta(t)&&Si(t)==P}var la=we?Ye(we):function(t){return ta(t)&&Qs(t.length)&&!!re[Si(t)]},ca=Wr(Di),ua=Wr(function(t,e){return t<=e});function ha(t){if(!t)return[];if(Us(t))return sa(t)?hn(t):Or(t);if(Yt&&t[Yt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Yt]());var e=ho(t);return(e==w?on:e==A?ln:Ba)(t)}function da(t){return t?(t=ga(t))===u||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var e=da(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?oi(pa(t),0,p):0}function ga(t){if("number"==typeof t)return t;if(aa(t))return d;if(Js(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Js(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?d:+t}function ma(t){return Ar(t,Ma(t))}function va(t){return null==t?"":sr(t)}var ya=Pr(function(t,e){if(xo(e)||Us(e))Ar(e,Ea(e),t);else for(var n in e)$t.call(e,n)&&Jn(t,n,e[n])}),ba=Pr(function(t,e){Ar(e,Ma(e),t)}),_a=Pr(function(t,e,n,i){Ar(e,Ma(e),t,i)}),xa=Pr(function(t,e,n,i){Ar(e,Ea(e),t,i)}),wa=Jr(ri),Sa=Gi(function(t,e){t=kt(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&vo(e[0],e[1],o)&&(i=1);++n<i;)for(var s=e[n],a=Ma(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===r||Bs(h,Et[u])&&!$t.call(t,u))&&(t[u]=s[u])}return t}),ka=Gi(function(t){return t.push(r,Kr),Se($a,r,t)});function Ca(t,e,n){var i=null==t?r:xi(t,e);return i===r?n:i}function Oa(t,e){return null!=t&&po(t,e,Oi)}var Aa=Rr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=It.call(e)),t[e]=n},Ja(nl)),Ta=Rr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=It.call(e)),$t.call(t,e)?t[e].push(n):t[e]=[n]},oo),Pa=Gi(Ti);function Ea(t){return Us(t)?Xn(t):ji(t)}function Ma(t){return Us(t)?Xn(t,!0):function(t){if(!Js(t))return function(t){var e=[];if(null!=t)for(var n in kt(t))e.push(n);return e}(t);var e=xo(t),n=[];for(var i in t)("constructor"!=i||!e&&$t.call(t,i))&&n.push(i);return n}(t)}var La=Pr(function(t,e,n){Bi(t,e,n)}),$a=Pr(function(t,e,n,i){Bi(t,e,n,i)}),ja=Jr(function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,function(e){return e=mr(e,t),i||(i=e.length>1),e}),Ar(t,eo(t),n),i&&(n=si(n,7,Zr));for(var r=e.length;r--;)lr(n,e[r]);return n}),Da=Jr(function(t,e){return null==t?{}:function(t,e){return Fi(t,e,function(e,n){return Oa(t,n)})}(t,e)});function Ia(t,e){if(null==t)return{};var n=Me(eo(t),function(t){return[t]});return e=oo(e),Fi(t,n,function(t,n){return e(t,n[0])})}var Na=Gr(Ea),Ra=Gr(Ma);function Ba(t){return null==t?[]:Ke(t,Ea(t))}var Va=$r(function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)});function za(t){return Ya(va(t).toLowerCase())}function Fa(t){return(t=va(t))&&t.replace(yt,tn).replace(Zt,"")}var Wa=$r(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ha=$r(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ua=Lr("toLowerCase"),qa=$r(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Ga=$r(function(t,e,n){return t+(n?" ":"")+Ya(e)}),Xa=$r(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ya=Lr("toUpperCase");function Ka(t,e,n){return t=va(t),(e=n?r:e)===r?function(t){return ee.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Za=Gi(function(t,e){try{return Se(t,r,e)}catch(t){return Ys(t)?t:new xt(t)}}),Qa=Jr(function(t,e){return Ce(e,function(e){e=Io(e),ii(t,e,Ts(t[e],t))}),t});function Ja(t){return function(){return t}}var tl=Ir(),el=Ir(!0);function nl(t){return t}function il(t){return $i("function"==typeof t?t:si(t,1))}var rl=Gi(function(t,e){return function(n){return Ti(n,t,e)}}),ol=Gi(function(t,e){return function(n){return Ti(t,n,e)}});function sl(t,e,n){var i=Ea(e),r=_i(e,i);null!=n||Js(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=_i(e,Ea(e)));var o=!(Js(n)&&"chain"in n&&!n.chain),s=Ks(t);return Ce(r,function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Or(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})}),t}function al(){}var ll=Vr(Me),cl=Vr(Ae),ul=Vr(De);function hl(t){return yo(t)?We(Io(t)):function(t){return function(e){return xi(e,t)}}(t)}var dl=Fr(),pl=Fr(!0);function fl(){return[]}function gl(){return!1}var ml,vl=Br(function(t,e){return t+e},0),yl=Ur("ceil"),bl=Br(function(t,e){return t/e},1),_l=Ur("floor"),xl=Br(function(t,e){return t*e},1),wl=Ur("round"),Sl=Br(function(t,e){return t-e},0);return Rn.after=function(t,e){if("function"!=typeof e)throw new At(o);return t=pa(t),function(){if(--t<1)return e.apply(this,arguments)}},Rn.ary=Os,Rn.assign=ya,Rn.assignIn=ba,Rn.assignInWith=_a,Rn.assignWith=xa,Rn.at=wa,Rn.before=As,Rn.bind=Ts,Rn.bindAll=Qa,Rn.bindKey=Ps,Rn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ws(t)?t:[t]},Rn.chain=hs,Rn.chunk=function(t,e,n){e=(n?vo(t,e,n):e===r)?1:mn(pa(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=i(de(o/e));s<o;)l[a++]=tr(t,s,s+=e);return l},Rn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Rn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return Le(Ws(n)?Or(n):[n],gi(e,1))},Rn.cond=function(t){var e=null==t?0:t.length,n=oo();return t=e?Me(t,function(t){if("function"!=typeof t[1])throw new At(o);return[n(t[0]),t[1]]}):[],Gi(function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}})},Rn.conforms=function(t){return function(t){var e=Ea(t);return function(n){return ai(n,t,e)}}(si(t,1))},Rn.constant=Ja,Rn.countBy=fs,Rn.create=function(t,e){var n=Bn(t);return null==e?n:ni(n,e)},Rn.curry=function t(e,n,i){var o=Xr(e,8,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Rn.curryRight=function t(e,n,i){var o=Xr(e,16,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Rn.debounce=Es,Rn.defaults=Sa,Rn.defaultsDeep=ka,Rn.defer=Ms,Rn.delay=Ls,Rn.difference=Bo,Rn.differenceBy=Vo,Rn.differenceWith=zo,Rn.drop=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=n||e===r?1:pa(e))<0?0:e,i):[]},Rn.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,0,(e=i-(e=n||e===r?1:pa(e)))<0?0:e):[]},Rn.dropRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0,!0):[]},Rn.dropWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0):[]},Rn.fill=function(t,e,n,i){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&vo(t,e,n)&&(n=0,i=o),function(t,e,n,i){var o=t.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:pa(i))<0&&(i+=o),i=n>i?0:fa(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},Rn.filter=function(t,e){return(Ws(t)?Te:fi)(t,oo(e,3))},Rn.flatMap=function(t,e){return gi(ws(t,e),1)},Rn.flatMapDeep=function(t,e){return gi(ws(t,e),u)},Rn.flatMapDepth=function(t,e,n){return n=n===r?1:pa(n),gi(ws(t,e),n)},Rn.flatten=Ho,Rn.flattenDeep=function(t){return null!=t&&t.length?gi(t,u):[]},Rn.flattenDepth=function(t,e){return null!=t&&t.length?gi(t,e=e===r?1:pa(e)):[]},Rn.flip=function(t){return Xr(t,512)},Rn.flow=tl,Rn.flowRight=el,Rn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];ii(i,r[0],r[1])}return i},Rn.functions=function(t){return null==t?[]:_i(t,Ea(t))},Rn.functionsIn=function(t){return null==t?[]:_i(t,Ma(t))},Rn.groupBy=bs,Rn.initial=function(t){return null!=t&&t.length?tr(t,0,-1):[]},Rn.intersection=qo,Rn.intersectionBy=Go,Rn.intersectionWith=Xo,Rn.invert=Aa,Rn.invertBy=Ta,Rn.invokeMap=_s,Rn.iteratee=il,Rn.keyBy=xs,Rn.keys=Ea,Rn.keysIn=Ma,Rn.map=ws,Rn.mapKeys=function(t,e){var n={};return e=oo(e,3),yi(t,function(t,i,r){ii(n,e(t,i,r),t)}),n},Rn.mapValues=function(t,e){var n={};return e=oo(e,3),yi(t,function(t,i,r){ii(n,i,e(t,i,r))}),n},Rn.matches=function(t){return Ni(si(t,1))},Rn.matchesProperty=function(t,e){return Ri(t,si(e,1))},Rn.memoize=$s,Rn.merge=La,Rn.mergeWith=$a,Rn.method=rl,Rn.methodOf=ol,Rn.mixin=sl,Rn.negate=js,Rn.nthArg=function(t){return t=pa(t),Gi(function(e){return Vi(e,t)})},Rn.omit=ja,Rn.omitBy=function(t,e){return Ia(t,js(oo(e)))},Rn.once=function(t){return As(2,t)},Rn.orderBy=function(t,e,n,i){return null==t?[]:(Ws(e)||(e=null==e?[]:[e]),Ws(n=i?r:n)||(n=null==n?[]:[n]),zi(t,e,n))},Rn.over=ll,Rn.overArgs=Ds,Rn.overEvery=cl,Rn.overSome=ul,Rn.partial=Is,Rn.partialRight=Ns,Rn.partition=Ss,Rn.pick=Da,Rn.pickBy=Ia,Rn.property=hl,Rn.propertyOf=function(t){return function(e){return null==t?r:xi(t,e)}},Rn.pull=Ko,Rn.pullAll=Zo,Rn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,oo(n,2)):t},Rn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,r,n):t},Rn.pullAt=Qo,Rn.range=dl,Rn.rangeRight=pl,Rn.rearg=Rs,Rn.reject=function(t,e){return(Ws(t)?Te:fi)(t,js(oo(e,3)))},Rn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=oo(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Hi(t,r),n},Rn.rest=function(t,e){if("function"!=typeof t)throw new At(o);return Gi(t,e=e===r?e:pa(e))},Rn.reverse=Jo,Rn.sampleSize=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),(Ws(t)?Kn:Yi)(t,e)},Rn.set=function(t,e,n){return null==t?t:Ki(t,e,n)},Rn.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:Ki(t,e,n,i)},Rn.shuffle=function(t){return(Ws(t)?Zn:Ji)(t)},Rn.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&vo(t,e,n)?(e=0,n=i):(e=null==e?0:pa(e),n=n===r?i:pa(n)),tr(t,e,n)):[]},Rn.sortBy=ks,Rn.sortedUniq=function(t){return t&&t.length?rr(t):[]},Rn.sortedUniqBy=function(t,e){return t&&t.length?rr(t,oo(e,2)):[]},Rn.split=function(t,e,n){return n&&"number"!=typeof n&&vo(t,e,n)&&(e=n=r),(n=n===r?p:n>>>0)?(t=va(t))&&("string"==typeof e||null!=e&&!ra(e))&&!(e=sr(e))&&rn(t)?yr(hn(t),0,n):t.split(e,n):[]},Rn.spread=function(t,e){if("function"!=typeof t)throw new At(o);return e=null==e?0:mn(pa(e),0),Gi(function(n){var i=n[e],r=yr(n,0,e);return i&&Le(r,i),Se(t,this,r)})},Rn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},Rn.take=function(t,e,n){return t&&t.length?tr(t,0,(e=n||e===r?1:pa(e))<0?0:e):[]},Rn.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=i-(e=n||e===r?1:pa(e)))<0?0:e,i):[]},Rn.takeRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!1,!0):[]},Rn.takeWhile=function(t,e){return t&&t.length?ur(t,oo(e,3)):[]},Rn.tap=function(t,e){return e(t),t},Rn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new At(o);return Js(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Es(t,e,{leading:i,maxWait:e,trailing:r})},Rn.thru=ds,Rn.toArray=ha,Rn.toPairs=Na,Rn.toPairsIn=Ra,Rn.toPath=function(t){return Ws(t)?Me(t,Io):aa(t)?[t]:Or(Do(va(t)))},Rn.toPlainObject=ma,Rn.transform=function(t,e,n){var i=Ws(t),r=i||Gs(t)||la(t);if(e=oo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Js(t)&&Ks(o)?Bn(Ht(t)):{}}return(r?Ce:yi)(t,function(t,i,r){return e(n,t,i,r)}),n},Rn.unary=function(t){return Os(t,1)},Rn.union=ts,Rn.unionBy=es,Rn.unionWith=ns,Rn.uniq=function(t){return t&&t.length?ar(t):[]},Rn.uniqBy=function(t,e){return t&&t.length?ar(t,oo(e,2)):[]},Rn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?ar(t,r,e):[]},Rn.unset=function(t,e){return null==t||lr(t,e)},Rn.unzip=is,Rn.unzipWith=rs,Rn.update=function(t,e,n){return null==t?t:cr(t,e,gr(n))},Rn.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:cr(t,e,gr(n),i)},Rn.values=Ba,Rn.valuesIn=function(t){return null==t?[]:Ke(t,Ma(t))},Rn.without=os,Rn.words=Ka,Rn.wrap=function(t,e){return Is(gr(e),t)},Rn.xor=ss,Rn.xorBy=as,Rn.xorWith=ls,Rn.zip=cs,Rn.zipObject=function(t,e){return pr(t||[],e||[],Jn)},Rn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Ki)},Rn.zipWith=us,Rn.entries=Na,Rn.entriesIn=Ra,Rn.extend=ba,Rn.extendWith=_a,sl(Rn,Rn),Rn.add=vl,Rn.attempt=Za,Rn.camelCase=Va,Rn.capitalize=za,Rn.ceil=yl,Rn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=ga(n))==n?n:0),e!==r&&(e=(e=ga(e))==e?e:0),oi(ga(t),e,n)},Rn.clone=function(t){return si(t,4)},Rn.cloneDeep=function(t){return si(t,5)},Rn.cloneDeepWith=function(t,e){return si(t,5,e="function"==typeof e?e:r)},Rn.cloneWith=function(t,e){return si(t,4,e="function"==typeof e?e:r)},Rn.conformsTo=function(t,e){return null==e||ai(t,e,Ea(e))},Rn.deburr=Fa,Rn.defaultTo=function(t,e){return null==t||t!=t?e:t},Rn.divide=bl,Rn.endsWith=function(t,e,n){t=va(t),e=sr(e);var i=t.length,o=n=n===r?i:oi(pa(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},Rn.eq=Bs,Rn.escape=function(t){return(t=va(t))&&X.test(t)?t.replace(q,en):t},Rn.escapeRegExp=function(t){return(t=va(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Rn.every=function(t,e,n){var i=Ws(t)?Ae:di;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Rn.find=gs,Rn.findIndex=Fo,Rn.findKey=function(t,e){return Ne(t,oo(e,3),yi)},Rn.findLast=ms,Rn.findLastIndex=Wo,Rn.findLastKey=function(t,e){return Ne(t,oo(e,3),bi)},Rn.floor=_l,Rn.forEach=vs,Rn.forEachRight=ys,Rn.forIn=function(t,e){return null==t?t:mi(t,oo(e,3),Ma)},Rn.forInRight=function(t,e){return null==t?t:vi(t,oo(e,3),Ma)},Rn.forOwn=function(t,e){return t&&yi(t,oo(e,3))},Rn.forOwnRight=function(t,e){return t&&bi(t,oo(e,3))},Rn.get=Ca,Rn.gt=Vs,Rn.gte=zs,Rn.has=function(t,e){return null!=t&&po(t,e,Ci)},Rn.hasIn=Oa,Rn.head=Uo,Rn.identity=nl,Rn.includes=function(t,e,n,i){t=Us(t)?t:Ba(t),n=n&&!i?pa(n):0;var r=t.length;return n<0&&(n=mn(r+n,0)),sa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Rn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Be(t,e,r)},Rn.inRange=function(t,e,n){return e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n){return t>=vn(e,n)&&t<mn(e,n)}(t=ga(t),e,n)},Rn.invoke=Pa,Rn.isArguments=Fs,Rn.isArray=Ws,Rn.isArrayBuffer=Hs,Rn.isArrayLike=Us,Rn.isArrayLikeObject=qs,Rn.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Si(t)==v},Rn.isBuffer=Gs,Rn.isDate=Xs,Rn.isElement=function(t){return ta(t)&&1===t.nodeType&&!ia(t)},Rn.isEmpty=function(t){if(null==t)return!0;if(Us(t)&&(Ws(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||la(t)||Fs(t)))return!t.length;var e=ho(t);if(e==w||e==A)return!t.size;if(xo(t))return!ji(t).length;for(var n in t)if($t.call(t,n))return!1;return!0},Rn.isEqual=function(t,e){return Ei(t,e)},Rn.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?Ei(t,e,r,n):!!i},Rn.isError=Ys,Rn.isFinite=function(t){return"number"==typeof t&&Ie(t)},Rn.isFunction=Ks,Rn.isInteger=Zs,Rn.isLength=Qs,Rn.isMap=ea,Rn.isMatch=function(t,e){return t===e||Mi(t,e,ao(e))},Rn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Mi(t,e,ao(e),n)},Rn.isNaN=function(t){return na(t)&&t!=+t},Rn.isNative=function(t){if(_o(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Li(t)},Rn.isNil=function(t){return null==t},Rn.isNull=function(t){return null===t},Rn.isNumber=na,Rn.isObject=Js,Rn.isObjectLike=ta,Rn.isPlainObject=ia,Rn.isRegExp=ra,Rn.isSafeInteger=function(t){return Zs(t)&&t>=-9007199254740991&&t<=h},Rn.isSet=oa,Rn.isString=sa,Rn.isSymbol=aa,Rn.isTypedArray=la,Rn.isUndefined=function(t){return t===r},Rn.isWeakMap=function(t){return ta(t)&&ho(t)==E},Rn.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Si(t)},Rn.join=function(t,e){return null==t?"":He.call(t,e)},Rn.kebabCase=Wa,Rn.last=Yo,Rn.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=pa(n))<0?mn(i+o,0):vn(o,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Re(t,ze,o,!0)},Rn.lowerCase=Ha,Rn.lowerFirst=Ua,Rn.lt=ca,Rn.lte=ua,Rn.max=function(t){return t&&t.length?pi(t,nl,ki):r},Rn.maxBy=function(t,e){return t&&t.length?pi(t,oo(e,2),ki):r},Rn.mean=function(t){return Fe(t,nl)},Rn.meanBy=function(t,e){return Fe(t,oo(e,2))},Rn.min=function(t){return t&&t.length?pi(t,nl,Di):r},Rn.minBy=function(t,e){return t&&t.length?pi(t,oo(e,2),Di):r},Rn.stubArray=fl,Rn.stubFalse=gl,Rn.stubObject=function(){return{}},Rn.stubString=function(){return""},Rn.stubTrue=function(){return!0},Rn.multiply=xl,Rn.nth=function(t,e){return t&&t.length?Vi(t,pa(e)):r},Rn.noConflict=function(){return he._===this&&(he._=Rt),this},Rn.noop=al,Rn.now=Cs,Rn.pad=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return zr(pe(r),n)+t+zr(de(r),n)},Rn.padEnd=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?t+zr(e-i,n):t},Rn.padStart=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?zr(e-i,n)+t:t},Rn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),bn(va(t).replace(it,""),e||0)},Rn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&vo(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=da(t),e===r?(e=t,t=0):e=da(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var o=_n();return vn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return Ui(t,e)},Rn.reduce=function(t,e,n){var i=Ws(t)?$e:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,ui)},Rn.reduceRight=function(t,e,n){var i=Ws(t)?je:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,hi)},Rn.repeat=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),qi(va(t),e)},Rn.replace=function(){var t=arguments,e=va(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Rn.result=function(t,e,n){var i=-1,o=(e=mr(e,t)).length;for(o||(o=1,t=r);++i<o;){var s=null==t?r:t[Io(e[i])];s===r&&(i=o,s=n),t=Ks(s)?s.call(t):s}return t},Rn.round=wl,Rn.runInContext=t,Rn.sample=function(t){return(Ws(t)?Yn:Xi)(t)},Rn.size=function(t){if(null==t)return 0;if(Us(t))return sa(t)?un(t):t.length;var e=ho(t);return e==w||e==A?t.size:ji(t).length},Rn.snakeCase=qa,Rn.some=function(t,e,n){var i=Ws(t)?De:er;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Rn.sortedIndex=function(t,e){return nr(t,e)},Rn.sortedIndexBy=function(t,e,n){return ir(t,e,oo(n,2))},Rn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=nr(t,e);if(i<n&&Bs(t[i],e))return i}return-1},Rn.sortedLastIndex=function(t,e){return nr(t,e,!0)},Rn.sortedLastIndexBy=function(t,e,n){return ir(t,e,oo(n,2),!0)},Rn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=nr(t,e,!0)-1;if(Bs(t[n],e))return n}return-1},Rn.startCase=Ga,Rn.startsWith=function(t,e,n){return t=va(t),n=null==n?0:oi(pa(n),0,t.length),e=sr(e),t.slice(n,n+e.length)==e},Rn.subtract=Sl,Rn.sum=function(t){return t&&t.length?qe(t,nl):0},Rn.sumBy=function(t,e){return t&&t.length?qe(t,oo(e,2)):0},Rn.template=function(t,e,n){var i=Rn.templateSettings;n&&vo(t,e,n)&&(e=r),t=va(t),e=xa({},e,i,Yr);var o=xa({},e.imports,i.imports,Yr),s=Ea(o),a=Ke(o,s);Ce(s,function(t){if(ct.test(t))throw new xt("Invalid `imports` option passed into `_.template`")});var l,c,u=0,h=e.interpolate||bt,d="__p += '",p=Ct((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+($t.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,function(e,n,i,r,o,s){return i||(i=r),d+=t.slice(u,s).replace(_t,nn),n&&(l=!0,d+="' +\n__e("+n+") +\n'"),o&&(c=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=s+e.length,e}),d+="';\n";var g=$t.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new xt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(c?d.replace(F,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Za(function(){return wt(s,f+"return "+d).apply(r,a)});if(m.source=d,Ys(m))throw m;return m},Rn.times=function(t,e){if((t=pa(t))<1||t>h)return[];var n=p,i=vn(t,p);e=oo(e),t-=p;for(var r=Ge(i,e);++n<t;)e(n);return r},Rn.toFinite=da,Rn.toInteger=pa,Rn.toLength=fa,Rn.toLower=function(t){return va(t).toLowerCase()},Rn.toNumber=ga,Rn.toSafeInteger=function(t){return t?oi(pa(t),-9007199254740991,h):0===t?t:0},Rn.toString=va,Rn.toUpper=function(t){return va(t).toUpperCase()},Rn.trim=function(t,e,n){if((t=va(t))&&(n||e===r))return Xe(t);if(!t||!(e=sr(e)))return t;var i=hn(t),o=hn(e);return yr(i,Qe(i,o),Je(i,o)+1).join("")},Rn.trimEnd=function(t,e,n){if((t=va(t))&&(n||e===r))return t.slice(0,dn(t)+1);if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,0,Je(i,hn(e))+1).join("")},Rn.trimStart=function(t,e,n){if((t=va(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,Qe(i,hn(e))).join("")},Rn.truncate=function(t,e){var n=30,i="...";if(Js(e)){var o="separator"in e?e.separator:o;n="length"in e?pa(e.length):n,i="omission"in e?sr(e.omission):i}var s=(t=va(t)).length;if(rn(t)){var a=hn(t);s=a.length}if(n>=s)return t;var l=n-un(i);if(l<1)return i;var c=a?yr(a,0,l).join(""):t.slice(0,l);if(o===r)return c+i;if(a&&(l+=c.length-l),ra(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ct(o.source,va(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===r?l:d)}}else if(t.indexOf(sr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+i},Rn.unescape=function(t){return(t=va(t))&&G.test(t)?t.replace(U,pn):t},Rn.uniqueId=function(t){var e=++jt;return va(t)+e},Rn.upperCase=Xa,Rn.upperFirst=Ya,Rn.each=vs,Rn.eachRight=ys,Rn.first=Uo,sl(Rn,(ml={},yi(Rn,function(t,e){$t.call(Rn.prototype,e)||(ml[e]=t)}),ml),{chain:!1}),Rn.VERSION="4.18.1",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Rn[t].placeholder=Rn}),Ce(["drop","take"],function(t,e){Fn.prototype[t]=function(n){n=n===r?1:mn(pa(n),0);var i=this.__filtered__&&!e?new Fn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,p),type:t+(i.__dir__<0?"Right":"")}),i},Fn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ce(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;Fn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:oo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),Ce(["head","last"],function(t,e){var n="take"+(e?"Right":"");Fn.prototype[t]=function(){return this[n](1).value()[0]}}),Ce(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Fn.prototype[t]=function(){return this.__filtered__?new Fn(this):this[n](1)}}),Fn.prototype.compact=function(){return this.filter(nl)},Fn.prototype.find=function(t){return this.filter(t).head()},Fn.prototype.findLast=function(t){return this.reverse().find(t)},Fn.prototype.invokeMap=Gi(function(t,e){return"function"==typeof t?new Fn(this):this.map(function(n){return Ti(n,t,e)})}),Fn.prototype.reject=function(t){return this.filter(js(oo(t)))},Fn.prototype.slice=function(t,e){t=pa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Fn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=pa(e))<0?n.dropRight(-e):n.take(e-t)),n)},Fn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Fn.prototype.toArray=function(){return this.take(p)},yi(Fn.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=Rn[i?"take"+("last"==e?"Right":""):e],s=i||/^find/.test(e);o&&(Rn.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,l=e instanceof Fn,c=a[0],u=l||Ws(e),h=function(t){var e=o.apply(Rn,Le([t],a));return i&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Fn(this);var m=t.apply(e,a);return m.__actions__.push({func:ds,args:[h],thisArg:r}),new zn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?i?m.value()[0]:m.value():m)})}),Ce(["pop","push","shift","sort","splice","unshift"],function(t){var e=Tt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Rn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Ws(r)?r:[],t)}return this[n](function(n){return e.apply(Ws(n)?n:[],t)})}}),yi(Fn.prototype,function(t,e){var n=Rn[e];if(n){var i=n.name+"";$t.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:e,func:n})}}),Pn[Nr(r,2).name]=[{name:"wrapper",func:r}],Fn.prototype.clone=function(){var t=new Fn(this.__wrapped__);return t.__actions__=Or(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Or(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Or(this.__views__),t},Fn.prototype.reverse=function(){if(this.__filtered__){var t=new Fn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Fn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ws(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=vn(e,t+s);break;case"takeRight":t=mn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=vn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return hr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Rn.prototype.at=ps,Rn.prototype.chain=function(){return hs(this)},Rn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Rn.prototype.next=function(){this.__values__===r&&(this.__values__=ha(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Rn.prototype.plant=function(t){for(var e,n=this;n instanceof Vn;){var i=Ro(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},Rn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Fn){var e=t;return this.__actions__.length&&(e=new Fn(this)),(e=e.reverse()).__actions__.push({func:ds,args:[Jo],thisArg:r}),new zn(e,this.__chain__)}return this.thru(Jo)},Rn.prototype.toJSON=Rn.prototype.valueOf=Rn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},Rn.prototype.first=Rn.prototype.head,Yt&&(Rn.prototype[Yt]=function(){return this}),Rn}();he._=fn,(i=function(){return fn}.call(e,n,e,t))===r||(t.exports=i)}.call(this)},60(t,e){"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n}},164(t,e,n){var i=n(883);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("16719a21",i,!1,{})},924(t,e,n){var i=n(531);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("31f45de0",i,!1,{})},334(t,e,n){var i=n(585);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("5f9d2fe9",i,!1,{})},680(t,e,n){var i=n(31);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("3f94db54",i,!1,{})},988(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=o[0],a={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}n.d(e,{A:()=>f});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){c=n,h=r||{};var s=i(t,e);return g(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}for(e?g(s=i(t,e)):s=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(p){var r=l++;i=a||(a=m()),e=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=m(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t=n(743),e=n.n(t);function i(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const r={},o=[],s=()=>{},a=()=>!1,l=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),c=t=>t.startsWith("onUpdate:"),u=Object.assign,h=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(t,e)=>d.call(t,e),f=Array.isArray,g=t=>"[object Map]"===k(t),m=t=>"[object Set]"===k(t),v=t=>"[object Date]"===k(t),y=t=>"function"==typeof t,b=t=>"string"==typeof t,_=t=>"symbol"==typeof t,x=t=>null!==t&&"object"==typeof t,w=t=>(x(t)||y(t))&&y(t.then)&&y(t.catch),S=Object.prototype.toString,k=t=>S.call(t),C=t=>"[object Object]"===k(t),O=t=>b(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,A=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},P=/-\w/g,E=T(t=>t.replace(P,t=>t.slice(1).toUpperCase())),M=/\B([A-Z])/g,L=T(t=>t.replace(M,"-$1").toLowerCase()),$=T(t=>t.charAt(0).toUpperCase()+t.slice(1)),j=T(t=>t?`on${$(t)}`:""),D=(t,e)=>!Object.is(t,e),I=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},N=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},R=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let B;const V=()=>B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function z(t){if(f(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=b(i)?U(i):z(i);if(r)for(const t in r)e[t]=r[t]}return e}if(b(t)||x(t))return t}const F=/;(?![^(]*\))/g,W=/:([^]+)/,H=/\/\*[^]*?\*\//g;function U(t){const e={};return t.replace(H,"").split(F).forEach(t=>{if(t){const n=t.split(W);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function q(t){let e="";if(b(t))e=t;else if(f(t))for(let n=0;n<t.length;n++){const i=q(t[n]);i&&(e+=i+" ")}else if(x(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function G(t){if(!t)return null;let{class:e,style:n}=t;return e&&!b(e)&&(t.class=q(e)),n&&(t.style=z(n)),t}const X=i("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(t){return!!t||""===t}function K(t,e){if(t===e)return!0;let n=v(t),i=v(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=_(t),i=_(e),n||i)return t===e;if(n=f(t),i=f(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=K(t[i],e[i]);return n}(t,e);if(n=x(t),i=x(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),r=e.hasOwnProperty(n);if(i&&!r||!i&&r||!K(t[n],e[n]))return!1}}return String(t)===String(e)}function Z(t,e){return t.findIndex(t=>K(t,e))}const Q=t=>!(!t||!0!==t.__v_isRef),J=t=>b(t)?t:null==t?"":f(t)||x(t)&&(t.toString===S||!y(t.toString))?Q(t)?J(t.value):JSON.stringify(t,tt,2):String(t),tt=(t,e)=>Q(e)?tt(t,e.value):g(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n],i)=>(t[et(e,i)+" =>"]=n,t),{})}:m(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>et(t))}:_(e)?et(e):!x(e)||f(e)||C(e)?e:String(e),et=(t,e="")=>{var n;return _(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};function nt(t){return null==t?"initial":"string"==typeof t?""===t?" ":t:("number"==typeof t&&Number.isFinite(t),String(t))}let it,rt;class ot{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=it;try{return it=this,t()}finally{it=e}}}on(){1===++this._on&&(this.prevScope=it,it=this)}off(){if(this._on>0&&0===--this._on){if(it===this)it=this.prevScope;else{let t=it;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}const st=new WeakSet;class at{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,st.has(this)&&(st.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ht(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,kt(this),ft(this);const t=rt,e=_t;rt=this,_t=!0;try{return this.fn()}finally{gt(this),rt=t,_t=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)yt(t);this.deps=this.depsTail=void 0,kt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?st.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){mt(this)&&this.run()}get dirty(){return mt(this)}}let lt,ct,ut=0;function ht(t,e=!1){if(t.flags|=8,e)return t.next=ct,void(ct=t);t.next=lt,lt=t}function dt(){ut++}function pt(){if(--ut>0)return;if(ct){let t=ct;for(ct=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;lt;){let e=lt;for(lt=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=n}}if(t)throw t}function ft(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function gt(t){let e,n=t.depsTail,i=n;for(;i;){const t=i.prevDep;-1===i.version?(i===n&&(n=t),yt(i),bt(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function mt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(vt(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function vt(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===Ct)return;if(t.globalVersion=Ct,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!mt(t)))return;t.flags|=2;const e=t.dep,n=rt,i=_t;rt=t,_t=!0;try{ft(t);const n=t.fn(t._value);(0===e.version||D(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(t){throw e.version++,t}finally{rt=n,_t=i,gt(t),t.flags&=-3}}function yt(t,e=!1){const{dep:n,prevSub:i,nextSub:r}=t;if(i&&(i.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)yt(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function bt(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let _t=!0;const xt=[];function wt(){xt.push(_t),_t=!1}function St(){const t=xt.pop();_t=void 0===t||t}function kt(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=rt;rt=void 0;try{e()}finally{rt=t}}}let Ct=0;class Ot{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class At{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!rt||!_t||rt===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==rt)e=this.activeLink=new Ot(rt,this),rt.deps?(e.prevDep=rt.depsTail,rt.depsTail.nextDep=e,rt.depsTail=e):rt.deps=rt.depsTail=e,Tt(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=rt.depsTail,e.nextDep=void 0,rt.depsTail.nextDep=e,rt.depsTail=e,rt.deps===e&&(rt.deps=t)}return e}trigger(t){this.version++,Ct++,this.notify(t)}notify(t){dt();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{pt()}}}function Tt(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)Tt(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Pt=new WeakMap,Et=Symbol(""),Mt=Symbol(""),Lt=Symbol("");function $t(t,e,n){if(_t&&rt){let e=Pt.get(t);e||Pt.set(t,e=new Map);let i=e.get(n);i||(e.set(n,i=new At),i.map=e,i.key=n),i.track()}}function jt(t,e,n,i,r,o){const s=Pt.get(t);if(!s)return void Ct++;const a=t=>{t&&t.trigger()};if(dt(),"clear"===e)s.forEach(a);else{const r=f(t),o=r&&O(n);if(r&&"length"===n){const t=Number(i);s.forEach((e,n)=>{("length"===n||n===Lt||!_(n)&&n>=t)&&a(e)})}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get(Lt)),e){case"add":r?o&&a(s.get("length")):(a(s.get(Et)),g(t)&&a(s.get(Mt)));break;case"delete":r||(a(s.get(Et)),g(t)&&a(s.get(Mt)));break;case"set":g(t)&&a(s.get(Et))}}pt()}function Dt(t){const e=be(t);return e===t?e:($t(e,0,Lt),ve(t)?e:e.map(xe))}function It(t){return $t(t=be(t),0,Lt),t}function Nt(t,e){return me(t)?ge(t)?we(xe(e)):we(e):xe(e)}const Rt={__proto__:null,[Symbol.iterator](){return Bt(this,Symbol.iterator,t=>Nt(this,t))},concat(...t){return Dt(this).concat(...t.map(t=>f(t)?Dt(t):t))},entries(){return Bt(this,"entries",t=>(t[1]=Nt(this,t[1]),t))},every(t,e){return zt(this,"every",t,e,void 0,arguments)},filter(t,e){return zt(this,"filter",t,e,t=>t.map(t=>Nt(this,t)),arguments)},find(t,e){return zt(this,"find",t,e,t=>Nt(this,t),arguments)},findIndex(t,e){return zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zt(this,"findLast",t,e,t=>Nt(this,t),arguments)},findLastIndex(t,e){return zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Wt(this,"includes",t)},indexOf(...t){return Wt(this,"indexOf",t)},join(t){return Dt(this).join(t)},lastIndexOf(...t){return Wt(this,"lastIndexOf",t)},map(t,e){return zt(this,"map",t,e,void 0,arguments)},pop(){return Ht(this,"pop")},push(...t){return Ht(this,"push",t)},reduce(t,...e){return Ft(this,"reduce",t,e)},reduceRight(t,...e){return Ft(this,"reduceRight",t,e)},shift(){return Ht(this,"shift")},some(t,e){return zt(this,"some",t,e,void 0,arguments)},splice(...t){return Ht(this,"splice",t)},toReversed(){return Dt(this).toReversed()},toSorted(t){return Dt(this).toSorted(t)},toSpliced(...t){return Dt(this).toSpliced(...t)},unshift(...t){return Ht(this,"unshift",t)},values(){return Bt(this,"values",t=>Nt(this,t))}};function Bt(t,e,n){const i=It(t),r=i[e]();return i===t||ve(t)||(r._next=r.next,r.next=()=>{const t=r._next();return t.done||(t.value=n(t.value)),t}),r}const Vt=Array.prototype;function zt(t,e,n,i,r,o){const s=It(t),a=s!==t&&!ve(t),l=s[e];if(l!==Vt[e]){const e=l.apply(t,o);return a?xe(e):e}let c=n;s!==t&&(a?c=function(e,i){return n.call(this,Nt(t,e),i,t)}:n.length>2&&(c=function(e,i){return n.call(this,e,i,t)}));const u=l.call(s,c,i);return a&&r?r(u):u}function Ft(t,e,n,i){const r=It(t),o=r!==t&&!ve(t);let s=n,a=!1;r!==t&&(o?(a=0===i.length,s=function(e,i,r){return a&&(a=!1,e=Nt(t,e)),n.call(this,e,Nt(t,i),r,t)}):n.length>3&&(s=function(e,i,r){return n.call(this,e,i,r,t)}));const l=r[e](s,...i);return a?Nt(t,l):l}function Wt(t,e,n){const i=be(t);$t(i,0,Lt);const r=i[e](...n);return-1!==r&&!1!==r||!ye(n[0])?r:(n[0]=be(n[0]),i[e](...n))}function Ht(t,e,n=[]){wt(),dt();const i=be(t)[e].apply(t,n);return pt(),St(),i}const Ut=i("__proto__,__v_isRef,__isVue"),qt=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(_));function Gt(t){_(t)||(t=String(t));const e=be(this);return $t(e,0,t),e.hasOwnProperty(t)}class Xt{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!i;if("__v_isReadonly"===e)return i;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(i?r?ue:ce:r?le:ae).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=f(t);if(!i){let t;if(o&&(t=Rt[e]))return t;if("hasOwnProperty"===e)return Gt}const s=Reflect.get(t,e,Se(t)?t:n);if(_(e)?qt.has(e):Ut(e))return s;if(i||$t(t,0,e),r)return s;if(Se(s)){const t=o&&O(e)?s:s.value;return i&&x(t)?pe(t):t}return x(s)?i?pe(s):he(s):s}}class Yt extends Xt{constructor(t=!1){super(!1,t)}set(t,e,n,i){let r=t[e];const o=f(t)&&O(e);if(!this._isShallow){const t=me(r);if(ve(n)||me(n)||(r=be(r),n=be(n)),!o&&Se(r)&&!Se(n))return t||(r.value=n),!0}const s=o?Number(e)<t.length:p(t,e),a=Reflect.set(t,e,n,Se(t)?t:i);return t===be(i)&&(s?D(n,r)&&jt(t,"set",e,n):jt(t,"add",e,n)),a}deleteProperty(t,e){const n=p(t,e),i=(t[e],Reflect.deleteProperty(t,e));return i&&n&&jt(t,"delete",e,void 0),i}has(t,e){const n=Reflect.has(t,e);return _(e)&&qt.has(e)||$t(t,0,e),n}ownKeys(t){return $t(t,0,f(t)?"length":Et),Reflect.ownKeys(t)}}class Kt extends Xt{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Zt=new Yt,Qt=new Kt,Jt=new Yt(!0),te=t=>t,ee=t=>Reflect.getPrototypeOf(t);function ne(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function ie(t,e){const n=function(t,e){const n={get(n){const i=this.__v_raw,r=be(i),o=be(n);t||(D(n,o)&&$t(r,0,n),$t(r,0,o));const{has:s}=ee(r),a=e?te:t?we:xe;return s.call(r,n)?a(i.get(n)):s.call(r,o)?a(i.get(o)):void(i!==r&&i.get(n))},get size(){const e=this.__v_raw;return!t&&$t(be(e),0,Et),e.size},has(e){const n=this.__v_raw,i=be(n),r=be(e);return t||(D(e,r)&&$t(i,0,e),$t(i,0,r)),e===r?n.has(e):n.has(e)||n.has(r)},forEach(n,i){const r=this,o=r.__v_raw,s=be(o),a=e?te:t?we:xe;return!t&&$t(s,0,Et),o.forEach((t,e)=>n.call(i,a(t),a(e),r))}};return u(n,t?{add:ne("add"),set:ne("set"),delete:ne("delete"),clear:ne("clear")}:{add(t){const n=be(this),i=ee(n),r=be(t),o=e||ve(t)||me(t)?t:r;return i.has.call(n,o)||D(t,o)&&i.has.call(n,t)||D(r,o)&&i.has.call(n,r)||(n.add(o),jt(n,"add",o,o)),this},set(t,n){e||ve(n)||me(n)||(n=be(n));const i=be(this),{has:r,get:o}=ee(i);let s=r.call(i,t);s||(t=be(t),s=r.call(i,t));const a=o.call(i,t);return i.set(t,n),s?D(n,a)&&jt(i,"set",t,n):jt(i,"add",t,n),this},delete(t){const e=be(this),{has:n,get:i}=ee(e);let r=n.call(e,t);r||(t=be(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&jt(e,"delete",t,void 0),o},clear(){const t=be(this),e=0!==t.size,n=t.clear();return e&&jt(t,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=function(t,e,n){return function(...i){const r=this.__v_raw,o=be(r),s=g(o),a="entries"===t||t===Symbol.iterator&&s,l="keys"===t&&s,c=r[t](...i),h=n?te:e?we:xe;return!e&&$t(o,0,l?Mt:Et),u(Object.create(c),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[h(t[0]),h(t[1])]:h(t),done:e}}})}}(i,t,e)}),n}(t,e);return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(p(n,i)&&i in e?n:e,i,r)}const re={get:ie(!1,!1)},oe={get:ie(!1,!0)},se={get:ie(!0,!1)},ae=new WeakMap,le=new WeakMap,ce=new WeakMap,ue=new WeakMap;function he(t){return me(t)?t:fe(t,!1,Zt,re,ae)}function de(t){return fe(t,!1,Jt,oe,le)}function pe(t){return fe(t,!0,Qt,se,ce)}function fe(t,e,n,i,r){if(!x(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=(s=t).__v_skip||!Object.isExtensible(s)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>k(t).slice(8,-1))(s));var s;if(0===o)return t;const a=r.get(t);if(a)return a;const l=new Proxy(t,2===o?i:n);return r.set(t,l),l}function ge(t){return me(t)?ge(t.__v_raw):!(!t||!t.__v_isReactive)}function me(t){return!(!t||!t.__v_isReadonly)}function ve(t){return!(!t||!t.__v_isShallow)}function ye(t){return!!t&&!!t.__v_raw}function be(t){const e=t&&t.__v_raw;return e?be(e):t}function _e(t){return!p(t,"__v_skip")&&Object.isExtensible(t)&&N(t,"__v_skip",!0),t}const xe=t=>x(t)?he(t):t,we=t=>x(t)?pe(t):t;function Se(t){return!!t&&!0===t.__v_isRef}function ke(t){return Ce(t,!1)}function Ce(t,e){return Se(t)?t:new Oe(t,e)}class Oe{constructor(t,e){this.dep=new At,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:be(t),this._value=e?t:xe(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||ve(t)||me(t);t=n?t:be(t),D(t,e)&&(this._rawValue=t,this._value=n?t:xe(t),this.dep.trigger())}}function Ae(t){t.dep&&t.dep.trigger()}function Te(t){return Se(t)?t.value:t}const Pe={get:(t,e,n)=>"__v_raw"===e?t:Te(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Ee(t){return ge(t)?t:new Proxy(t,Pe)}function Me(t){const e=f(t)?new Array(t.length):{};for(const n in t)e[n]=je(t,n);return e}class Le{constructor(t,e,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(e)?e:String(e),this._raw=be(t);let i=!0,r=t;if(!f(t)||_(this._key)||!O(this._key))do{i=!ye(r)||ve(r)}while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Te(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const e=this._object[this._key];if(Se(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const n=Pt.get(t);return n&&n.get(e)}(this._raw,this._key)}}class $e{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function je(t,e,n){return new Le(t,e,n)}class De{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new At(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ct-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||rt===this))return ht(this,!0),!0}get value(){const t=this.dep.track();return vt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Ie={},Ne=new WeakMap;let Re;function Be(t,e=1/0,n){if(e<=0||!x(t)||t.__v_skip)return t;if(((n=n||new Map).get(t)||0)>=e)return t;if(n.set(t,e),e--,Se(t))Be(t.value,e,n);else if(f(t))for(let i=0;i<t.length;i++)Be(t[i],e,n);else if(m(t)||g(t))t.forEach(t=>{Be(t,e,n)});else if(C(t)){for(const i in t)Be(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Be(t[i],e,n)}return t}function Ve(t,e,n,i){try{return i?t(...i):t()}catch(t){Fe(t,e,n)}}function ze(t,e,n,i){if(y(t)){const r=Ve(t,e,n,i);return r&&w(r)&&r.catch(t=>{Fe(t,e,n)}),r}if(f(t)){const r=[];for(let o=0;o<t.length;o++)r.push(ze(t[o],e,n,i));return r}}function Fe(t,e,n,i=!0){e&&e.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||r;if(e){let i=e.parent;const r=e.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,r,s))return;i=i.parent}if(o)return wt(),Ve(o,null,10,[t,r,s]),void St()}!function(t,e,n,i=!0,r=!1){if(r)throw t;console.error(t)}(t,0,0,i,s)}const We=[];let He=-1;const Ue=[];let qe=null,Ge=0;const Xe=Promise.resolve();let Ye=null;function Ke(t){const e=Ye||Xe;return t?e.then(this?t.bind(this):t):e}function Ze(t){if(!(1&t.flags)){const e=nn(t),n=We[We.length-1];!n||!(2&t.flags)&&e>=nn(n)?We.push(t):We.splice(function(t){let e=He+1,n=We.length;for(;e<n;){const i=e+n>>>1,r=We[i],o=nn(r);o<t||o===t&&2&r.flags?e=i+1:n=i}return e}(e),0,t),t.flags|=1,Qe()}}function Qe(){Ye||(Ye=Xe.then(rn))}function Je(t){f(t)?Ue.push(...t):qe&&-1===t.id?qe.splice(Ge+1,0,t):1&t.flags||(Ue.push(t),t.flags|=1),Qe()}function tn(t,e,n=He+1){for(;n<We.length;n++){const e=We[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;We.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function en(t){if(Ue.length){const t=[...new Set(Ue)].sort((t,e)=>nn(t)-nn(e));if(Ue.length=0,qe)return void qe.push(...t);for(qe=t,Ge=0;Ge<qe.length;Ge++){const t=qe[Ge];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}qe=null,Ge=0}}const nn=t=>null==t.id?2&t.flags?-1:1/0:t.id;function rn(t){try{for(He=0;He<We.length;He++){const t=We[He];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),Ve(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;He<We.length;He++){const t=We[He];t&&(t.flags&=-2)}He=-1,We.length=0,en(),Ye=null,(We.length||Ue.length)&&rn(t)}}let on,sn=[],an=!1;function ln(t,...e){on?on.emit(t,...e):an||sn.push({event:t,args:e})}function cn(t,e){var n,i;on=t,on?(on.enabled=!0,sn.forEach(({event:t,args:e})=>on.emit(t,...e)),sn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(n=window.navigator)?void 0:n.userAgent)?void 0:i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{cn(t,e)}),setTimeout(()=>{on||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,an=!0,sn=[])},3e3)):(an=!0,sn=[])}const un=pn("component:added"),hn=pn("component:updated"),dn=pn("component:removed");function pn(t){return e=>{ln(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}let fn=null,gn=null;function mn(t){const e=fn;return fn=t,gn=t&&t.type.__scopeId||null,e}function vn(t){gn=t}function yn(){gn=null}function bn(t,e=fn,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&Ir(-1);const r=mn(e);let o;try{o=t(...n)}finally{mn(r),i._d&&Ir(1)}return __VUE_PROD_DEVTOOLS__&&hn(e),o};return i._n=!0,i._c=!0,i._d=!0,i}function _n(t,e){if(null===fn)return t;const n=yo(fn),i=t.dirs||(t.dirs=[]);for(let t=0;t<e.length;t++){let[o,s,a,l=r]=e[t];o&&(y(o)&&(o={mounted:o,updated:o}),o.deep&&Be(s),i.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return t}function xn(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(wt(),ze(l,n,8,[t.el,a,t,e]),St())}}function wn(t,e){if(io){let n=io.provides;const i=io.parent&&io.parent.provides;i===n&&(n=io.provides=Object.create(i)),n[t]=e}}function Sn(t,e,n=!1){const i=ro();if(i||Yi){let r=Yi?Yi._context.provides:i?null==i.parent||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&y(e)?e.call(i&&i.proxy):e}}const kn=Symbol.for("v-scx");function Cn(t,e){return An(t,null,e)}function On(t,e,n){return An(t,e,n)}function An(t,e,n=r){const{immediate:i,deep:o,flush:a,once:l}=n,c=u({},n),d=e&&i||!e&&"post"!==a;let p;if(po)if("sync"===a){const t=Sn(kn);p=t.__watcherHandles||(t.__watcherHandles=[])}else if(!d){const t=()=>{};return t.stop=s,t.resume=s,t.pause=s,t}const g=io;c.call=(t,e,n)=>ze(t,g,e,n);let m=!1;"post"===a?c.scheduler=t=>{br(t,g&&g.suspense)}:"sync"!==a&&(m=!0,c.scheduler=(t,e)=>{e?t():Ze(t)}),c.augmentJob=t=>{e&&(t.flags|=4),m&&(t.flags|=2,g&&(t.id=g.uid,t.i=g))};const v=function(t,e,n=r){const{immediate:i,deep:o,once:a,scheduler:l,augmentJob:c,call:u}=n,d=t=>o?t:ve(t)||!1===o||0===o?Be(t,1):Be(t);let p,g,m,v,b=!1,_=!1;if(Se(t)?(g=()=>t.value,b=ve(t)):ge(t)?(g=()=>d(t),b=!0):f(t)?(_=!0,b=t.some(t=>ge(t)||ve(t)),g=()=>t.map(t=>Se(t)?t.value:ge(t)?d(t):y(t)?u?u(t,2):t():void 0)):g=y(t)?e?u?()=>u(t,2):t:()=>{if(m){wt();try{m()}finally{St()}}const e=Re;Re=p;try{return u?u(t,3,[v]):t(v)}finally{Re=e}}:s,e&&o){const t=g,e=!0===o?1/0:o;g=()=>Be(t(),e)}const x=it,w=()=>{p.stop(),x&&x.active&&h(x.effects,p)};if(a&&e){const t=e;e=(...e)=>{t(...e),w()}}let S=_?new Array(t.length).fill(Ie):Ie;const k=t=>{if(1&p.flags&&(p.dirty||t))if(e){const t=p.run();if(o||b||(_?t.some((t,e)=>D(t,S[e])):D(t,S))){m&&m();const n=Re;Re=p;try{const n=[t,S===Ie?void 0:_&&S[0]===Ie?[]:S,v];S=t,u?u(e,3,n):e(...n)}finally{Re=n}}}else p.run()};return c&&c(k),p=new at(g),p.scheduler=l?()=>l(k,!1):k,v=t=>function(t,e=!1,n=Re){if(n){let e=Ne.get(n);e||Ne.set(n,e=[]),e.push(t)}}(t,!1,p),m=p.onStop=()=>{const t=Ne.get(p);if(t){if(u)u(t,4);else for(const e of t)e();Ne.delete(p)}},e?i?k(!0):S=p.run():l?l(k.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}(t,e,c);return po&&(p?p.push(v):d&&v()),v}function Tn(t,e,n){const i=this.proxy,r=b(t)?t.includes(".")?Pn(i,t):()=>i[t]:t.bind(i,i);let o;y(e)?o=e:(o=e.handler,n=e);const s=ao(this),a=An(r,o.bind(i),n);return s(),a}function Pn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const En=Symbol("_vte"),Mn=t=>t.__isTeleport,Ln=Symbol("_leaveCb"),$n=Symbol("_enterCb");const jn=[Function,Array],Dn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},In=t=>{const e=t.subTree;return e.component?In(e.component):e};function Nn(t){let e=t[0];if(t.length>1){let n=!1;for(const i of t)if(i.type!==Er){e=i,n=!0;break}}return e}const Rn={name:"BaseTransition",props:Dn,setup(t,{slots:e}){const n=ro(),i=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ci(()=>{t.isMounted=!0}),di(()=>{t.isUnmounting=!0}),t}();return()=>{const r=e.default&&Hn(e.default(),!0),o=r&&r.length?Nn(r):n.subTree?Yr():void 0;if(!o)return;const s=be(t),{mode:a}=s;if(i.isLeaving)return zn(o);const l=Fn(o);if(!l)return zn(o);let c=Vn(l,s,i,n,t=>c=t);l.type!==Er&&Wn(l,c);let u=n.subTree&&Fn(n.subTree);if(u&&u.type!==Er&&!zr(u,l)&&In(n).type!==Er){let t=Vn(u,s,i,n);if(Wn(u,t),"out-in"===a&&l.type!==Er)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave,u=void 0},zn(o);"in-out"===a&&l.type!==Er?t.delayLeave=(t,e,n)=>{Bn(i,u)[String(u.key)]=u,t[Ln]=()=>{e(),t[Ln]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Bn(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Vn(t,e,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=e,x=String(t.key),w=Bn(n,t),S=(t,e)=>{t&&ze(t,i,9,e)},k=(t,e)=>{const n=e[1];S(t,e),f(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(e){let i=l;if(!n.isMounted){if(!o)return;i=v||l}e[Ln]&&e[Ln](!0);const r=w[x];r&&zr(t,r)&&r.el[Ln]&&r.el[Ln](),S(i,[e])},enter(e){if(w[x]===t)return;let i=c,r=u,s=h;if(!n.isMounted){if(!o)return;i=y||c,r=b||u,s=_||h}let a=!1;e[$n]=t=>{a||(a=!0,S(t?s:r,[e]),C.delayedLeave&&C.delayedLeave(),e[$n]=void 0)};const l=e[$n].bind(null,!1);i?k(i,[e,l]):l()},leave(e,i){const r=String(t.key);if(e[$n]&&e[$n](!0),n.isUnmounting)return i();S(d,[e]);let o=!1;e[Ln]=n=>{o||(o=!0,i(),S(n?m:g,[e]),e[Ln]=void 0,w[r]===t&&delete w[r])};const s=e[Ln].bind(null,!1);w[r]=t,p?k(p,[e,s]):s()},clone(t){const o=Vn(t,e,n,i,r);return r&&r(o),o}};return C}function zn(t){if(Qn(t))return(t=Gr(t)).children=null,t}function Fn(t){if(!Qn(t))return Mn(t.type)&&t.children?Nn(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&y(n.default))return n.default()}}function Wn(t,e){6&t.shapeFlag&&t.component?(t.transition=e,Wn(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Hn(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Tr?(128&s.patchFlag&&r++,i=i.concat(Hn(s.children,e,a))):(e||s.type!==Er)&&i.push(null!=a?Gr(s,{key:a}):s)}if(r>1)for(let t=0;t<i.length;t++)i[t].patchFlag=-2;return i}function Un(t,e){return y(t)?(()=>u({name:t.name},e,{setup:t}))():t}function qn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gn(t,e){let n;return!(!(n=Object.getOwnPropertyDescriptor(t,e))||n.configurable)}const Xn=new WeakMap;function Yn(t,e,n,i,o=!1){if(f(t))return void t.forEach((t,r)=>Yn(t,e&&(f(e)?e[r]:e),n,i,o));if(Zn(i)&&!o)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Yn(t,e,n,i.component.subTree));const s=4&i.shapeFlag?yo(i.component):i.el,l=o?null:s,{i:c,r:u}=t,d=e&&e.r,g=c.refs===r?c.refs={}:c.refs,m=c.setupState,v=be(m),_=m===r?a:t=>!Gn(g,t)&&p(v,t),x=(t,e)=>!e||!Gn(g,e);if(null!=d&&d!==u)if(Kn(e),b(d))g[d]=null,_(d)&&(m[d]=null);else if(Se(d)){const t=e;x(0,t.k)&&(d.value=null),t.k&&(g[t.k]=null)}if(y(u))Ve(u,c,12,[l,g]);else{const e=b(u),i=Se(u);if(e||i){const r=()=>{if(t.f){const n=e?_(u)?m[u]:g[u]:x()||!t.k?u.value:g[t.k];if(o)f(n)&&h(n,s);else if(f(n))n.includes(s)||n.push(s);else if(e)g[u]=[s],_(u)&&(m[u]=g[u]);else{const e=[s];x(0,t.k)&&(u.value=e),t.k&&(g[t.k]=e)}}else e?(g[u]=l,_(u)&&(m[u]=l)):i&&(x(0,t.k)&&(u.value=l),t.k&&(g[t.k]=l))};if(l){const e=()=>{r(),Xn.delete(t)};e.id=-1,Xn.set(t,e),br(e,n)}else Kn(t),r()}}}function Kn(t){const e=Xn.get(t);e&&(e.flags|=8,Xn.delete(t))}V().requestIdleCallback,V().cancelIdleCallback;const Zn=t=>!!t.type.__asyncLoader,Qn=t=>t.type.__isKeepAlive;RegExp,RegExp;function Jn(t,e){return f(t)?t.some(t=>Jn(t,e)):b(t)?t.split(",").includes(e):"[object RegExp]"===k(t)&&(t.lastIndex=0,t.test(e))}function ti(t,e){ni(t,"a",e)}function ei(t,e){ni(t,"da",e)}function ni(t,e,n=io){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(si(e,i,n),n){let t=n.parent;for(;t&&t.parent;)Qn(t.parent.vnode)&&ii(i,e,n,t),t=t.parent}}function ii(t,e,n,i){const r=si(e,t,i,!0);pi(()=>{h(i[e],r)},n)}function ri(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function oi(t){return 128&t.shapeFlag?t.ssContent:t}function si(t,e,n=io,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{wt();const r=ao(n),o=ze(e,n,t,i);return r(),St(),o});return i?r.unshift(o):r.push(o),o}}const ai=t=>(e,n=io)=>{po&&"sp"!==t||si(t,(...t)=>e(...t),n)},li=ai("bm"),ci=ai("m"),ui=ai("bu"),hi=ai("u"),di=ai("bum"),pi=ai("um"),fi=ai("sp"),gi=ai("rtg"),mi=ai("rtc");function vi(t,e=io){si("ec",t,e)}const yi="components";function bi(t,e){return wi(yi,t,!0,e)||t}const _i=Symbol.for("v-ndc");function xi(t){return b(t)?wi(yi,t,!1)||t:t||_i}function wi(t,e,n=!0,i=!1){const r=fn||io;if(r){const n=r.type;if(t===yi){const t=bo(n,!1);if(t&&(t===e||t===E(e)||t===$(E(e))))return n}const o=Si(r[t]||n[t],e)||Si(r.appContext[t],e);return!o&&i?n:o}}function Si(t,e){return t&&(t[e]||t[E(e)]||t[$(E(e))])}function ki(t,e,n,i){let r;const o=n&&n[i],s=f(t);if(s||b(t)){let n=!1,i=!1;s&&ge(t)&&(n=!ve(t),i=me(t),t=It(t)),r=new Array(t.length);for(let s=0,a=t.length;s<a;s++)r[s]=e(n?i?we(xe(t[s])):xe(t[s]):t[s],s,void 0,o&&o[s])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(x(t))if(t[Symbol.iterator])r=Array.from(t,(t,n)=>e(t,n,void 0,o&&o[n]));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=e(t[s],s,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Ci(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(f(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function Oi(t,e,n={},i,r){if(fn.ce||fn.parent&&Zn(fn.parent)&&fn.parent.ce){const t=Object.keys(n).length>0;return"default"!==e&&(n.name=e),jr(),Br(Tr,null,[Ur("slot",n,i&&i())],t?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),jr();const s=o&&Ai(o(n)),a=n.key||s&&s.key,l=Br(Tr,{key:(a&&!_(a)?a:`_${e}`)+(!s&&i?"_fb":"")},s||(i?i():[]),s&&1===t._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Ai(t){return t.some(t=>!Vr(t)||t.type!==Er&&!(t.type===Tr&&!Ai(t.children)))?t:null}function Ti(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:j(i)]=t[i];return n}const Pi=t=>t?co(t)?yo(t):Pi(t.parent):null,Ei=u(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Pi(t.parent),$root:t=>Pi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?Ri(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{Ze(t.update)}),$nextTick:t=>t.n||(t.n=Ke.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?Tn.bind(t):s}),Mi=(t,e)=>t!==r&&!t.__isScriptSetup&&p(t,e),Li={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:i,data:o,props:s,accessCache:a,type:l,appContext:c}=t;if("$"!==e[0]){const t=a[e];if(void 0!==t)switch(t){case 1:return i[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if(Mi(i,e))return a[e]=1,i[e];if(__VUE_OPTIONS_API__&&o!==r&&p(o,e))return a[e]=2,o[e];if(p(s,e))return a[e]=3,s[e];if(n!==r&&p(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!Di||(a[e]=0)}}const u=Ei[e];let h,d;return u?("$attrs"===e&&$t(t.attrs,0,""),u(t)):(h=l.__cssModules)&&(h=h[e])?h:n!==r&&p(n,e)?(a[e]=4,n[e]):(d=c.config.globalProperties,p(d,e)?d[e]:void 0)},set({_:t},e,n){const{data:i,setupState:o,ctx:s}=t;return Mi(o,e)?(o[e]=n,!0):__VUE_OPTIONS_API__&&i!==r&&p(i,e)?(i[e]=n,!0):!(p(t.props,e)||"$"===e[0]&&e.slice(1)in t||(s[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:o,props:s,type:a}},l){let c;return!!(n[l]||__VUE_OPTIONS_API__&&t!==r&&"$"!==l[0]&&p(t,l)||Mi(e,l)||p(s,l)||p(i,l)||p(Ei,l)||p(o.config.globalProperties,l)||(c=a.__cssModules)&&c[l])},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:p(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function $i(){return function(){const t=ro();return t.setupContext||(t.setupContext=vo(t))}().slots}function ji(t){return f(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}let Di=!0;function Ii(t,e,n){ze(f(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ni(t,e,n,i){let r=i.includes(".")?Pn(n,i):()=>n[i];if(b(t)){const n=e[t];y(n)&&On(r,n)}else if(y(t))On(r,t.bind(n));else if(x(t))if(f(t))t.forEach(t=>Ni(t,e,n,i));else{const i=y(t.handler)?t.handler.bind(n):e[t.handler];y(i)&&On(r,i,t)}}function Ri(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let l;return a?l=a:r.length||n||i?(l={},r.length&&r.forEach(t=>Bi(l,t,s,!0)),Bi(l,e,s)):l=e,x(e)&&o.set(e,l),l}function Bi(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Bi(t,o,n,!0),r&&r.forEach(e=>Bi(t,e,n,!0));for(const r in e)if(i&&"expose"===r);else{const i=Vi[r]||n&&n[r];t[r]=i?i(t[r],e[r]):e[r]}return t}const Vi={data:zi,props:Ui,emits:Ui,methods:Hi,computed:Hi,beforeCreate:Wi,created:Wi,beforeMount:Wi,mounted:Wi,beforeUpdate:Wi,updated:Wi,beforeDestroy:Wi,beforeUnmount:Wi,destroyed:Wi,unmounted:Wi,activated:Wi,deactivated:Wi,errorCaptured:Wi,serverPrefetch:Wi,components:Hi,directives:Hi,watch:function(t,e){if(!t)return e;if(!e)return t;const n=u(Object.create(null),t);for(const i in e)n[i]=Wi(t[i],e[i]);return n},provide:zi,inject:function(t,e){return Hi(Fi(t),Fi(e))}};function zi(t,e){return e?t?function(){return u(y(t)?t.call(this,this):t,y(e)?e.call(this,this):e)}:e:t}function Fi(t){if(f(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Wi(t,e){return t?[...new Set([].concat(t,e))]:e}function Hi(t,e){return t?u(Object.create(null),t,e):e}function Ui(t,e){return t?f(t)&&f(e)?[...new Set([...t,...e])]:u(Object.create(null),ji(t),ji(null!=e?e:{})):e}function qi(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Gi=0;function Xi(t,e){return function(n,i=null){y(n)||(n=u({},n)),null==i||x(i)||(i=null);const r=qi(),o=new WeakSet,s=[];let a=!1;const l=r.app={_uid:Gi++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:wo,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&y(t.install)?(o.add(t),t.install(l,...e)):y(t)&&(o.add(t),t(l,...e))),l),mixin:t=>(__VUE_OPTIONS_API__&&(r.mixins.includes(t)||r.mixins.push(t)),l),component:(t,e)=>e?(r.components[t]=e,l):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,l):r.directives[t],mount(o,s,c){if(!a){const u=l._ceVNode||Ur(n,i);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),s&&e?e(u,o):t(u,o,c),a=!0,l._container=o,o.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(t,e){ln("app:init",t,e,{Fragment:Tr,Text:Pr,Comment:Er,Static:Mr})}(l,wo)),yo(u.component)}},onUnmount(t){s.push(t)},unmount(){a&&(ze(s,l._instance,16),t(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(t){ln("app:unmount",t)}(l)),delete l._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,l),runWithContext(t){const e=Yi;Yi=l;try{return t()}finally{Yi=e}}};return l}}let Yi=null;function Ki(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||r;let o=n;const s=e.startsWith("update:"),a=s&&((t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${E(e)}Modifiers`]||t[`${L(e)}Modifiers`])(i,e.slice(7));let l;a&&(a.trim&&(o=n.map(t=>b(t)?t.trim():t)),a.number&&(o=n.map(R))),__VUE_PROD_DEVTOOLS__&&function(t,e,n){ln("component:emit",t.appContext.app,t,e,n)}(t,e,o);let c=i[l=j(e)]||i[l=j(E(e))];!c&&s&&(c=i[l=j(L(e))]),c&&ze(c,t,6,o);const u=i[l+"Once"];if(u){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,ze(u,t,6,o)}}const Zi=new WeakMap;function Qi(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?Zi:e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let s={},a=!1;if(__VUE_OPTIONS_API__&&!y(t)){const i=t=>{const n=Qi(t,e,!0);n&&(a=!0,u(s,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||a?(f(o)?o.forEach(t=>s[t]=null):u(s,o),x(t)&&i.set(t,s),s):(x(t)&&i.set(t,null),null)}function Ji(t,e){return!(!t||!l(e))&&(e=e.slice(2).replace(/Once$/,""),p(t,e[0].toLowerCase()+e.slice(1))||p(t,L(e))||p(t,e))}function tr(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:l,render:u,renderCache:h,props:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=t,v=mn(t);let y,b;try{if(4&n.shapeFlag){const t=r||i,e=t;y=Kr(u.call(e,t,h,d,f,p,g)),b=a}else{const t=e;y=Kr(t.length>1?t(d,{attrs:a,slots:s,emit:l}):t(d,null)),b=e.props?a:er(a)}}catch(e){Lr.length=0,Fe(e,t,1),y=Ur(Er)}let _=y;if(b&&!1!==m){const t=Object.keys(b),{shapeFlag:e}=_;t.length&&7&e&&(o&&t.some(c)&&(b=nr(b,o)),_=Gr(_,b,!1,!0))}return n.dirs&&(_=Gr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Wn(_,n.transition),y=_,mn(v),y}const er=t=>{let e;for(const n in t)("class"===n||"style"===n||l(n))&&((e||(e={}))[n]=t[n]);return e},nr=(t,e)=>{const n={};for(const i in t)c(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function ir(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(rr(e,t,o)&&!Ji(n,o))return!0}return!1}function rr(t,e,n){const i=t[n],r=e[n];return"style"===n&&x(i)&&x(r)?!K(i,r):i!==r}const or={},sr=()=>Object.create(or),ar=t=>Object.getPrototypeOf(t)===or;function lr(t,e,n,i){const[o,s]=t.propsOptions;let a,l=!1;if(e)for(let r in e){if(A(r))continue;const c=e[r];let u;o&&p(o,u=E(r))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Ji(t.emitsOptions,r)||r in i&&c===i[r]||(i[r]=c,l=!0)}if(s){const e=be(n),i=a||r;for(let r=0;r<s.length;r++){const a=s[r];n[a]=cr(o,e,a,i[a],t,!p(i,a))}}return l}function cr(t,e,n,i,r,o){const s=t[n];if(null!=s){const t=p(s,"default");if(t&&void 0===i){const t=s.default;if(s.type!==Function&&!s.skipFactory&&y(t)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const s=ao(r);i=o[n]=t.call(null,e),s()}}else i=t;r.ce&&r.ce._setProp(n,i)}s[0]&&(o&&!t?i=!1:!s[1]||""!==i&&i!==L(n)||(i=!0))}return i}const ur=new WeakMap;function hr(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?ur:e.propsCache,s=i.get(t);if(s)return s;const a=t.props,l={},c=[];let h=!1;if(__VUE_OPTIONS_API__&&!y(t)){const i=t=>{h=!0;const[n,i]=hr(t,e,!0);u(l,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!a&&!h)return x(t)&&i.set(t,o),o;if(f(a))for(let t=0;t<a.length;t++){const e=E(a[t]);dr(e)&&(l[e]=r)}else if(a)for(const t in a){const e=E(t);if(dr(e)){const n=a[t],i=l[e]=f(n)||y(n)?{type:n}:u({},n),r=i.type;let o=!1,s=!0;if(f(r))for(let t=0;t<r.length;++t){const e=r[t],n=y(e)&&e.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=y(r)&&"Boolean"===r.name;i[0]=o,i[1]=s,(o||p(i,"default"))&&c.push(e)}}const d=[l,c];return x(t)&&i.set(t,d),d}function dr(t){return"$"!==t[0]&&!A(t)}const pr=t=>"_"===t||"_ctx"===t||"$stable"===t,fr=t=>f(t)?t.map(Kr):[Kr(t)],gr=(t,e,n)=>{if(e._n)return e;const i=bn((...t)=>fr(e(...t)),n);return i._c=!1,i},mr=(t,e,n)=>{const i=t._ctx;for(const n in t){if(pr(n))continue;const r=t[n];if(y(r))e[n]=gr(0,r,i);else if(null!=r){const t=fr(r);e[n]=()=>t}}},vr=(t,e)=>{const n=fr(e);t.slots.default=()=>n},yr=(t,e,n)=>{for(const i in e)!n&&pr(i)||(t[i]=e[i])},br=function(t,e){e&&e.pendingBranch?f(t)?e.effects.push(...t):e.effects.push(t):Je(t)};function _r(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(V().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(V().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(V().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=V();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&cn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:a,patchProp:l,createElement:c,createText:u,createComment:h,setText:d,setElementText:f,parentNode:g,nextSibling:m,setScopeId:v=s,insertStaticContent:y}=t,b=(t,e,n,i=null,r=null,o=null,s=void 0,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!zr(t,e)&&(i=Q(t),G(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case Pr:_(t,e,n,i);break;case Er:x(t,e,n,i);break;case Mr:null==t&&S(e,n,i,s);break;case Tr:j(t,e,n,i,r,o,s,a,l);break;default:1&h?k(t,e,n,i,r,o,s,a,l):6&h?D(t,e,n,i,r,o,s,a,l):(64&h||128&h)&&c.process(t,e,n,i,r,o,s,a,l,et)}null!=u&&r?Yn(u,t&&t.ref,o,e||t,!e):null==u&&t&&null!=t.ref&&Yn(t.ref,null,o,t,!0)},_=(t,e,n,r)=>{if(null==t)i(e.el=u(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},x=(t,e,n,r)=>{null==t?i(e.el=h(e.children||""),n,r):e.el=t.el},S=(t,e,n,i)=>{[t.el,t.anchor]=y(t.children,e,n,i,t.el,t.anchor)},k=(t,e,n,i,r,o,s,a,l)=>{if("svg"===e.type?s="svg":"math"===e.type&&(s="mathml"),null==t)C(e,n,i,r,o,s,a,l);else{const n=t.el&&t.el._isVueCE?t.el:null;try{n&&n._beginPatch(),P(t,e,r,o,s,a,l)}finally{n&&n._endPatch()}}},C=(t,e,n,r,o,s,a,u)=>{let h,d;const{props:p,shapeFlag:g,transition:m,dirs:v}=t;if(h=t.el=c(t.type,s,p&&p.is,p),8&g?f(h,t.children):16&g&&T(t.children,h,null,r,o,xr(t,s),a,u),v&&xn(t,null,r,"created"),O(h,t,t.scopeId,a,r),p){for(const t in p)"value"===t||A(t)||l(h,t,null,p[t],s,r);"value"in p&&l(h,"value",null,p.value,s),(d=p.onVnodeBeforeMount)&&to(d,r,t)}__VUE_PROD_DEVTOOLS__&&(N(h,"__vnode",t,!0),N(h,"__vueParentComponent",r,!0)),v&&xn(t,null,r,"beforeMount");const y=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(o,m);y&&m.beforeEnter(h),i(h,e,n),((d=p&&p.onVnodeMounted)||y||v)&&br(()=>{try{d&&to(d,r,t),y&&m.enter(h),v&&xn(t,null,r,"mounted")}finally{}},o)},O=(t,e,n,i,r)=>{if(n&&v(t,n),i)for(let e=0;e<i.length;e++)v(t,i[e]);if(r){let n=r.subTree;if(e===n||Ar(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=r.vnode;O(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},T=(t,e,n,i,r,o,s,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?Zr(t[c]):Kr(t[c]);b(null,l,e,n,i,r,o,s,a)}},P=(t,e,n,i,o,s,a)=>{const c=e.el=t.el;__VUE_PROD_DEVTOOLS__&&(c.__vnode=e);let{patchFlag:u,dynamicChildren:h,dirs:d}=e;u|=16&t.patchFlag;const p=t.props||r,g=e.props||r;let m;if(n&&wr(n,!1),(m=g.onVnodeBeforeUpdate)&&to(m,n,e,t),d&&xn(e,t,n,"beforeUpdate"),n&&wr(n,!0),(p.innerHTML&&null==g.innerHTML||p.textContent&&null==g.textContent)&&f(c,""),h?M(t.dynamicChildren,h,c,n,i,xr(e,o),s):a||W(t,e,c,null,n,i,xr(e,o),s,!1),u>0){if(16&u)$(c,p,g,n,o);else if(2&u&&p.class!==g.class&&l(c,"class",null,g.class,o),4&u&&l(c,"style",p.style,g.style,o),8&u){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],r=p[i],s=g[i];s===r&&"value"!==i||l(c,i,r,s,o,n)}}1&u&&t.children!==e.children&&f(c,e.children)}else a||null!=h||$(c,p,g,n,o);((m=g.onVnodeUpdated)||d)&&br(()=>{m&&to(m,n,e,t),d&&xn(e,t,n,"updated")},i)},M=(t,e,n,i,r,o,s)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],u=l.el&&(l.type===Tr||!zr(l,c)||198&l.shapeFlag)?g(l.el):n;b(l,c,u,null,i,r,o,s,!0)}},$=(t,e,n,i,o)=>{if(e!==n){if(e!==r)for(const r in e)A(r)||r in n||l(t,r,e[r],null,o,i);for(const r in n){if(A(r))continue;const s=n[r],a=e[r];s!==a&&"value"!==r&&l(t,r,a,s,o,i)}"value"in n&&l(t,"value",e.value,n.value,o)}},j=(t,e,n,r,o,s,a,l,c)=>{const h=e.el=t?t.el:u(""),d=e.anchor=t?t.anchor:u("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(i(h,n,r),i(d,n,r),T(e.children||[],n,d,o,s,a,l,c)):p>0&&64&p&&f&&t.dynamicChildren&&t.dynamicChildren.length===f.length?(M(t.dynamicChildren,f,n,o,s,a,l),(null!=e.key||o&&e===o.subTree)&&Sr(t,e,!0)):W(t,e,n,d,o,s,a,l,c)},D=(t,e,n,i,r,o,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,s,l):R(e,n,i,r,o,s,l):B(t,e,l)},R=(t,e,n,i,o,s,a)=>{const l=t.component=function(t,e,n){const i=t.type,o=(e?e.appContext:t.appContext)||eo,s={uid:no++,vnode:t,type:i,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ot(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:hr(i,o),emitsOptions:Qi(i,o),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Ki.bind(null,s),t.ce&&t.ce(s),s}(t,i,o);if(Qn(t)&&(l.ctx.renderer=et),function(t,e=!1,n=!1){e&&so(e);const{props:i,children:r}=t.vnode,o=co(t);!function(t,e,n,i=!1){const r={},o=sr();t.propsDefaults=Object.create(null),lr(t,e,r,o);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);n?t.props=i?r:de(r):t.type.props?t.props=r:t.props=o,t.attrs=o}(t,i,o,e),((t,e,n)=>{const i=t.slots=sr();if(32&t.vnode.shapeFlag){const t=e._;t?(yr(i,e,n),n&&N(i,"_",t,!0)):mr(e,i)}else e&&vr(t,e)})(t,r,n||e);const s=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Li);const{setup:i}=n;if(i){wt();const n=t.setupContext=i.length>1?vo(t):null,r=ao(t),o=Ve(i,t,0,[t.props,n]),s=w(o);if(St(),r(),!s&&!t.sp||Zn(t)||qn(t),s){if(o.then(lo,lo),e)return o.then(n=>{fo(t,n,e)}).catch(e=>{Fe(e,t,0)});t.asyncDep=o}else fo(t,o,e)}else go(t,e)}(t,e):void 0;e&&so(!1)}(l,!1,a),l.asyncDep){if(o&&o.registerDep(l,z,a),!t.el){const i=l.subTree=Ur(Er);x(null,i,e,n),t.placeholder=i.el}}else z(l,t,e,n,o,s,a)},B=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||i!==s&&(i?!s||ir(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?ir(i,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(rr(s,i,n)&&!Ji(c,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void F(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},z=(t,e,n,i,r,o,s)=>{t.scope.on();const a=t.effect=new at(()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:a,vnode:c}=t;{const n=kr(t);if(n)return e&&(e.el=c.el,F(t,e,s)),void n.asyncDep.then(()=>{br(()=>{t.isUnmounted||l()},r)})}let u,h=e;wr(t,!1),e?(e.el=c.el,F(t,e,s)):e=c,n&&I(n),(u=e.props&&e.props.onVnodeBeforeUpdate)&&to(u,a,e,c),wr(t,!0);const d=tr(t),p=t.subTree;t.subTree=d,b(p,d,g(p.el),Q(p),t,r,o),e.el=d.el,null===h&&function({vnode:t,parent:e,suspense:n},i){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.suspense.vnode.el=n.el=i,t=n),n!==t)break;(t=e.vnode).el=i,e=e.parent}n&&n.activeBranch===t&&(n.vnode.el=i)}(t,d.el),i&&br(i,r),(u=e.props&&e.props.onVnodeUpdated)&&br(()=>to(u,a,e,c),r),__VUE_PROD_DEVTOOLS__&&hn(t)}else{let s;const{el:a,props:l}=e,{bm:c,m:u,parent:h,root:d,type:p}=t,f=Zn(e);if(wr(t,!1),c&&I(c),!f&&(s=l&&l.onVnodeBeforeMount)&&to(s,h,e),wr(t,!0),a&&it){const e=()=>{t.subTree=tr(t),it(a,t.subTree,t,r,null)};f&&p.__asyncHydrate?p.__asyncHydrate(a,t,e):e()}else{d.ce&&d.ce._hasShadowRoot()&&d.ce._injectChildStyle(p,t.parent?t.parent.type:void 0);const s=t.subTree=tr(t);b(null,s,n,i,t,r,o),e.el=s.el}if(u&&br(u,r),!f&&(s=l&&l.onVnodeMounted)){const t=e;br(()=>to(s,h,t),r)}(256&e.shapeFlag||h&&Zn(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&br(t.a,r),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&un(t),e=n=i=null}});t.scope.off();const l=t.update=a.run.bind(a),c=t.job=a.runIfDirty.bind(a);c.i=t,c.id=t.uid,a.scheduler=()=>Ze(c),wr(t,!0),l()},F=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=t,a=be(r),[l]=t.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;lr(t,e,r,o)&&(c=!0);for(const o in a)e&&(p(e,o)||(i=L(o))!==o&&p(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=cr(l,a,o,void 0,t,!0)):delete r[o]);if(o!==a)for(const t in o)e&&p(e,t)||(delete o[t],c=!0)}else if(8&s){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let s=n[i];if(Ji(t.emitsOptions,s))continue;const u=e[s];if(l)if(p(o,s))u!==o[s]&&(o[s]=u,c=!0);else{const e=E(s);r[e]=cr(l,a,e,u,t,!1)}else u!==o[s]&&(o[s]=u,c=!0)}}c&&jt(t.attrs,"set","")}(t,e.props,i,n),((t,e,n)=>{const{vnode:i,slots:o}=t;let s=!0,a=r;if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:yr(o,e,n):(s=!e.$stable,mr(e,o)),a=e}else e&&(vr(t,e),a={default:1});if(s)for(const t in o)pr(t)||null!=a[t]||delete o[t]})(t,e.children,n),wt(),tn(t),St()},W=(t,e,n,i,r,o,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void U(c,h,n,i,r,o,s,a,l);if(256&d)return void H(c,h,n,i,r,o,s,a,l)}8&p?(16&u&&Z(c,r,o),h!==c&&f(n,h)):16&u?16&p?U(c,h,n,i,r,o,s,a,l):Z(c,r,o,!0):(8&u&&f(n,""),16&p&&T(h,n,i,r,o,s,a,l))},H=(t,e,n,i,r,s,a,l,c)=>{e=e||o;const u=(t=t||o).length,h=e.length,d=Math.min(u,h);let p;for(p=0;p<d;p++){const i=e[p]=c?Zr(e[p]):Kr(e[p]);b(t[p],i,n,null,r,s,a,l,c)}u>h?Z(t,r,s,!0,!1,d):T(e,n,i,r,s,a,l,c,d)},U=(t,e,n,i,r,s,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,p=h-1;for(;u<=d&&u<=p;){const i=t[u],o=e[u]=c?Zr(e[u]):Kr(e[u]);if(!zr(i,o))break;b(i,o,n,null,r,s,a,l,c),u++}for(;u<=d&&u<=p;){const i=t[d],o=e[p]=c?Zr(e[p]):Kr(e[p]);if(!zr(i,o))break;b(i,o,n,null,r,s,a,l,c),d--,p--}if(u>d){if(u<=p){const t=p+1,o=t<h?e[t].el:i;for(;u<=p;)b(null,e[u]=c?Zr(e[u]):Kr(e[u]),n,o,r,s,a,l,c),u++}}else if(u>p)for(;u<=d;)G(t[u],r,s,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=p;u++){const t=e[u]=c?Zr(e[u]):Kr(e[u]);null!=t.key&&m.set(t.key,u)}let v,y=0;const _=p-g+1;let x=!1,w=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=f;u<=d;u++){const i=t[u];if(y>=_){G(i,r,s,!0);continue}let o;if(null!=i.key)o=m.get(i.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&zr(i,e[v])){o=v;break}void 0===o?G(i,r,s,!0):(S[o-g]=u+1,o>=w?w=o:x=!0,b(i,e[o],n,null,r,s,a,l,c),y++)}const k=x?function(t){const e=t.slice(),n=[0];let i,r,o,s,a;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<l?o=a+1:s=a;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}(S):o;for(v=k.length-1,u=_-1;u>=0;u--){const t=g+u,o=e[t],d=e[t+1],p=t+1<h?d.el||Or(d):i;0===S[u]?b(null,o,n,p,r,s,a,l,c):x&&(v<0||u!==k[v]?q(o,n,p,2):v--)}}},q=(t,e,n,r,o=null)=>{const{el:s,type:l,transition:c,children:u,shapeFlag:h}=t;if(6&h)q(t.component.subTree,e,n,r);else if(128&h)t.suspense.move(e,n,r);else if(64&h)l.move(t,e,n,et);else if(l!==Tr)if(l!==Mr)if(2!==r&&1&h&&c)if(0===r)c.beforeEnter(s),i(s,e,n),br(()=>c.enter(s),o);else{const{leave:r,delayLeave:o,afterLeave:l}=c,u=()=>{t.ctx.isUnmounted?a(s):i(s,e,n)},h=()=>{s._isLeaving&&s[Ln](!0),r(s,()=>{u(),l&&l()})};o?o(s,u,h):h()}else i(s,e,n);else(({el:t,anchor:e},n,r)=>{let o;for(;t&&t!==e;)o=m(t),i(t,n,r),t=o;i(e,n,r)})(t,e,n);else{i(s,e,n);for(let t=0;t<u.length;t++)q(u[t],e,n,r);i(t.anchor,e,n)}},G=(t,e,n,i=!1,r=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d,cacheIndex:p,memo:f}=t;if(-2===h&&(r=!1),null!=a&&(wt(),Yn(a,null,n,t,!0),St()),null!=p&&(e.renderCache[p]=void 0),256&u)return void e.ctx.deactivate(t);const g=1&u&&d,m=!Zn(t);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&to(v,e,t),6&u)K(t.component,n,i);else{if(128&u)return void t.suspense.unmount(n,i);g&&xn(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,et,i):c&&!c.hasOnce&&(o!==Tr||h>0&&64&h)?Z(c,e,n,!1,!0):(o===Tr&&384&h||!r&&16&u)&&Z(l,e,n),i&&X(t)}const y=null!=f&&null==p;(m&&(v=s&&s.onVnodeUnmounted)||g||y)&&br(()=>{v&&to(v,e,t),g&&xn(t,null,e,"unmounted"),y&&(t.el=null)},n)},X=t=>{const{type:e,el:n,anchor:i,transition:r}=t;if(e===Tr)return void Y(n,i);if(e===Mr)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=m(t),a(t),t=n;a(e)})(t);const o=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:i}=r,s=()=>e(n,o);i?i(t.el,o,s):s()}else o()},Y=(t,e)=>{let n;for(;t!==e;)n=m(t),a(t),t=n;a(e)},K=(t,e,n)=>{const{bum:i,scope:r,job:o,subTree:s,um:a,m:l,a:c}=t;var u;Cr(l),Cr(c),i&&I(i),r.stop(),o&&(o.flags|=8,G(s,t,e,n)),a&&br(a,e),br(()=>{t.isUnmounted=!0},e),__VUE_PROD_DEVTOOLS__&&(u=t,on&&"function"==typeof on.cleanupBuffer&&!on.cleanupBuffer(u)&&dn(u))},Z=(t,e,n,i=!1,r=!1,o=0)=>{for(let s=o;s<t.length;s++)G(t[s],e,n,i,r)},Q=t=>{if(6&t.shapeFlag)return Q(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=m(t.anchor||t.el),n=e&&e[En];return n?m(n):e};let J=!1;const tt=(t,e,n)=>{let i;null==t?e._vnode&&(G(e._vnode,null,null,!0),i=e._vnode.component):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,J||(J=!0,tn(i),en(),J=!1)},et={p:b,um:G,m:q,r:X,mt:R,mc:T,pc:W,pbc:M,n:Q,o:t};let nt,it;return e&&([nt,it]=e(et)),{render:tt,hydrate:nt,createApp:Xi(tt,nt)}}function xr({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function wr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Sr(t,e,n=!1){const i=t.children,r=e.children;if(f(i)&&f(r))for(let t=0;t<i.length;t++){const e=i[t];let o=r[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=r[t]=Zr(r[t]),o.el=e.el),n||-2===o.patchFlag||Sr(e,o)),o.type===Pr&&(-1===o.patchFlag&&(o=r[t]=Zr(o)),o.el=e.el),o.type!==Er||o.el||(o.el=e.el)}}function kr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:kr(e)}function Cr(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Or(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Or(e.subTree):null}const Ar=t=>t.__isSuspense;const Tr=Symbol.for("v-fgt"),Pr=Symbol.for("v-txt"),Er=Symbol.for("v-cmt"),Mr=Symbol.for("v-stc"),Lr=[];let $r=null;function jr(t=!1){Lr.push($r=t?null:[])}let Dr=1;function Ir(t,e=!1){Dr+=t,t<0&&$r&&e&&($r.hasOnce=!0)}function Nr(t){return t.dynamicChildren=Dr>0?$r||o:null,Lr.pop(),$r=Lr[Lr.length-1]||null,Dr>0&&$r&&$r.push(t),t}function Rr(t,e,n,i,r,o){return Nr(Hr(t,e,n,i,r,o,!0))}function Br(t,e,n,i,r){return Nr(Ur(t,e,n,i,r,!0))}function Vr(t){return!!t&&!0===t.__v_isVNode}function zr(t,e){return t.type===e.type&&t.key===e.key}const Fr=({key:t})=>null!=t?t:null,Wr=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?b(t)||Se(t)||y(t)?{i:fn,r:t,k:e,f:!!n}:t:null);function Hr(t,e=null,n=null,i=0,r=null,o=(t===Tr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Fr(e),ref:e&&Wr(e),scopeId:gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fn};return a?(Qr(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),Dr>0&&!s&&$r&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&$r.push(l),l}const Ur=function(t,e=null,n=null,i=0,r=null,o=!1){if(t&&t!==_i||(t=Er),Vr(t)){const i=Gr(t,e,!0);return n&&Qr(i,n),Dr>0&&!o&&$r&&(6&i.shapeFlag?$r[$r.indexOf(t)]=i:$r.push(i)),i.patchFlag=-2,i}if(s=t,y(s)&&"__vccOpts"in s&&(t=t.__vccOpts),e){e=qr(e);let{class:t,style:n}=e;t&&!b(t)&&(e.class=q(t)),x(n)&&(ye(n)&&!f(n)&&(n=u({},n)),e.style=z(n))}var s;return Hr(t,e,n,i,r,b(t)?1:Ar(t)?128:Mn(t)?64:x(t)?4:y(t)?2:0,o,!0)};function qr(t){return t?ye(t)||ar(t)?u({},t):t:null}function Gr(t,e,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:l}=t,c=e?Jr(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Fr(c),ref:e&&e.ref?n&&o?f(o)?o.concat(Wr(e)):[o,Wr(e)]:Wr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Tr?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Gr(t.ssContent),ssFallback:t.ssFallback&&Gr(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Wn(u,l.clone(u)),u}function Xr(t=" ",e=0){return Ur(Pr,null,t,e)}function Yr(t="",e=!1){return e?(jr(),Br(Er,null,t)):Ur(Er,null,t)}function Kr(t){return null==t||"boolean"==typeof t?Ur(Er):f(t)?Ur(Tr,null,t.slice()):Vr(t)?Zr(t):Ur(Pr,null,String(t))}function Zr(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Gr(t)}function Qr(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(f(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Qr(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||ar(e)?3===i&&fn&&(1===fn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=fn}}else y(e)?(e={default:e,_ctx:fn},n=32):(e=String(e),64&i?(n=16,e=[Xr(e)]):n=8);t.children=e,t.shapeFlag|=n}function Jr(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=q([e.class,i.class]));else if("style"===t)e.style=z([e.style,i.style]);else if(l(t)){const n=e[t],r=i[t];!r||n===r||f(n)&&n.includes(r)?null!=r||null!=n||c(t)||(e[t]=r):e[t]=n?[].concat(n,r):r}else""!==t&&(e[t]=i[t])}return e}function to(t,e,n,i=null){ze(t,e,7,[n,i])}const eo=qi();let no=0;let io=null;const ro=()=>io||fn;let oo,so;{const t=V(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach(e=>e(t)):i[0](t)}};oo=e("__VUE_INSTANCE_SETTERS__",t=>io=t),so=e("__VUE_SSR_SETTERS__",t=>po=t)}const ao=t=>{const e=io;return oo(t),t.scope.on(),()=>{t.scope.off(),oo(e)}},lo=()=>{io&&io.scope.off(),oo(null)};function co(t){return 4&t.vnode.shapeFlag}let uo,ho,po=!1;function fo(t,e,n){y(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:x(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=Ee(e)),go(t,n)}function go(t,e,n){const i=t.type;if(!t.render){if(!e&&uo&&!i.render){const e=i.template||__VUE_OPTIONS_API__&&Ri(t).template;if(e){const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:s}=i,a=u(u({isCustomElement:n,delimiters:o},r),s);i.render=uo(e,a)}}t.render=i.render||s,ho&&ho(t)}if(__VUE_OPTIONS_API__){const e=ao(t);wt();try{!function(t){const e=Ri(t),n=t.proxy,i=t.ctx;Di=!1,e.beforeCreate&&Ii(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:a,watch:l,provide:c,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:g,updated:m,activated:v,deactivated:b,beforeDestroy:_,beforeUnmount:w,destroyed:S,unmounted:k,render:C,renderTracked:O,renderTriggered:A,errorCaptured:T,serverPrefetch:P,expose:E,inheritAttrs:M,components:L,directives:$,filters:j}=e;if(u&&function(t,e){f(t)&&(t=Fi(t));for(const n in t){const i=t[n];let r;r=x(i)?"default"in i?Sn(i.from||n,i.default,!0):Sn(i.from||n):Sn(i),Se(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[n]=r}}(u,i),a)for(const t in a){const e=a[t];y(e)&&(i[t]=e.bind(n))}if(r){const e=r.call(n,n);x(e)&&(t.data=he(e))}if(Di=!0,o)for(const t in o){const e=o[t],r=y(e)?e.bind(n,n):y(e.get)?e.get.bind(n,n):s,a=!y(e)&&y(e.set)?e.set.bind(n):s,l=_o({get:r,set:a});Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(l)for(const t in l)Ni(l[t],i,n,t);if(c){const t=y(c)?c.call(n):c;Reflect.ownKeys(t).forEach(e=>{wn(e,t[e])})}function D(t,e){f(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&Ii(h,t,"c"),D(li,d),D(ci,p),D(ui,g),D(hi,m),D(ti,v),D(ei,b),D(vi,T),D(mi,O),D(gi,A),D(di,w),D(pi,k),D(fi,P),f(E))if(E.length){const e=t.exposed||(t.exposed={});E.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})})}else t.exposed||(t.exposed={});C&&t.render===s&&(t.render=C),null!=M&&(t.inheritAttrs=M),L&&(t.components=L),$&&(t.directives=$),P&&qn(t)}(t)}finally{St(),e()}}}const mo={get:(t,e)=>($t(t,0,""),t[e])};function vo(t){return{attrs:new Proxy(t.attrs,mo),slots:t.slots,emit:t.emit,expose:e=>{t.exposed=e||{}}}}function yo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ee(_e(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Ei?Ei[n](t):void 0,has:(t,e)=>e in t||e in Ei})):t.proxy}function bo(t,e=!0){return y(t)?t.displayName||t.name:t.name||e&&t.__name}const _o=(t,e)=>{const n=function(t,e,n=!1){let i,r;return y(t)?i=t:(i=t.get,r=t.set),new De(i,r,n)}(t,0,po);return n};function xo(t,e,n){try{Ir(-1);const i=arguments.length;return 2===i?x(e)&&!f(e)?Vr(e)?Ur(t,null,[e]):Ur(t,e):Ur(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Vr(n)&&(n=[n]),Ur(t,e,n))}finally{Ir(1)}}const wo="3.5.33";let So;const ko="undefined"!=typeof window&&window.trustedTypes;if(ko)try{So=ko.createPolicy("vue",{createHTML:t=>t})}catch(nu){}const Co=So?t=>So.createHTML(t):t=>t,Oo="undefined"!=typeof document?document:null,Ao=Oo&&Oo.createElement("template"),To={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r="svg"===e?Oo.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?Oo.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?Oo.createElement(t,{is:n}):Oo.createElement(t);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>Oo.createTextNode(t),createComment:t=>Oo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Oo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const s=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{Ao.innerHTML=Co("svg"===i?`<svg>${t}</svg>`:"mathml"===i?`<math>${t}</math>`:t);const r=Ao.content;if("svg"===i||"mathml"===i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Po="transition",Eo="animation",Mo=Symbol("_vtc"),Lo={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},$o=u({},Dn,Lo),jo=(t=>(t.displayName="Transition",t.props=$o,t))((t,{slots:e})=>xo(Rn,function(t){const e={};for(const n in t)n in Lo||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:h=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(x(t))return[No(t.enter),No(t.leave)];{const e=No(t);return[e,e]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:O=_}=e,A=(t,e,n,i)=>{t._enterCancelled=i,Bo(t,e?h:a),Bo(t,e?c:s),n&&n()},T=(t,e)=>{t._isLeaving=!1,Bo(t,d),Bo(t,f),Bo(t,p),e&&e()},P=t=>(e,n)=>{const r=t?C:b,s=()=>A(e,t,n);Do(r,[e,s]),Vo(()=>{Bo(e,t?l:o),Ro(e,t?h:a),Io(r)||Fo(e,i,m,s)})};return u(e,{onBeforeEnter(t){Do(y,[t]),Ro(t,o),Ro(t,s)},onBeforeAppear(t){Do(k,[t]),Ro(t,l),Ro(t,c)},onEnter:P(!1),onAppear:P(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);Ro(t,d),t._enterCancelled?(Ro(t,p),Uo(t)):(Uo(t),Ro(t,p)),Vo(()=>{t._isLeaving&&(Bo(t,d),Ro(t,f),Io(w)||Fo(t,i,v,n))}),Do(w,[t,n])},onEnterCancelled(t){A(t,!1,void 0,!0),Do(_,[t])},onAppearCancelled(t){A(t,!0,void 0,!0),Do(O,[t])},onLeaveCancelled(t){T(t),Do(S,[t])}})}(t),e)),Do=(t,e=[])=>{f(t)?t.forEach(t=>t(...e)):t&&t(...e)},Io=t=>!!t&&(f(t)?t.some(t=>t.length>1):t.length>1);function No(t){return(t=>{const e=b(t)?Number(t):NaN;return isNaN(e)?t:e})(t)}function Ro(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[Mo]||(t[Mo]=new Set)).add(e)}function Bo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[Mo];n&&(n.delete(e),n.size||(t[Mo]=void 0))}function Vo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let zo=0;function Fo(t,e,n,i){const r=t._endId=++zo,o=()=>{r===t._endId&&i()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=function(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${Po}Delay`),o=i(`${Po}Duration`),s=Wo(r,o),a=i(`${Eo}Delay`),l=i(`${Eo}Duration`),c=Wo(a,l);let u=null,h=0,d=0;return e===Po?s>0&&(u=Po,h=s,d=o.length):e===Eo?c>0&&(u=Eo,h=c,d=l.length):(h=Math.max(s,c),u=h>0?s>c?Po:Eo:null,d=u?u===Po?o.length:l.length:0),{type:u,timeout:h,propCount:d,hasTransform:u===Po&&/\b(?:transform|all)(?:,|$)/.test(i(`${Po}Property`).toString())}}(t,e);if(!s)return i();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(c,d)}function Wo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((e,n)=>Ho(e)+Ho(t[n])))}function Ho(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}function Uo(t){return(t?t.ownerDocument:document).body.offsetHeight}const qo=Symbol("_vod"),Go=Symbol("_vsh"),Xo={name:"show",beforeMount(t,{value:e},{transition:n}){t[qo]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):Yo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Yo(t,!0),i.enter(t)):i.leave(t,()=>{Yo(t,!1)}):Yo(t,e))},beforeUnmount(t,{value:e}){Yo(t,e)}};function Yo(t,e){t.style.display=e?t[qo]:"none",t[Go]=!e}const Ko=Symbol("");function Zo(t){const e=ro();if(!e)return;const n=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(t=>Jo(t,n))},i=()=>{const i=t(e.proxy);e.ce?Jo(e.ce,i):Qo(e.subTree,i),n(i)};ui(()=>{Je(i)}),ci(()=>{On(i,s,{flush:"post"});const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),pi(()=>t.disconnect())})}function Qo(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Qo(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)Jo(t.el,e);else if(t.type===Tr)t.children.forEach(t=>Qo(t,e));else if(t.type===Mr){let{el:n,anchor:i}=t;for(;n&&(Jo(n,e),n!==i);)n=n.nextSibling}}function Jo(t,e){if(1===t.nodeType){const n=t.style;let i="";for(const t in e){const r=nt(e[t]);n.setProperty(`--${t}`,r),i+=`--${t}: ${r};`}n[Ko]=i}}const ts=/(?:^|;)\s*display\s*:/,es=/\s*!important$/;function ns(t,e,n){if(f(n))n.forEach(n=>ns(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=rs[e];if(n)return n;let i=E(e);if("filter"!==i&&i in t)return rs[e]=i;i=$(i);for(let n=0;n<is.length;n++){const r=is[n]+i;if(r in t)return rs[e]=r}return e}(t,e);es.test(n)?t.setProperty(L(i),n.replace(es,""),"important"):t[i]=n}}const is=["Webkit","Moz","ms"],rs={};function os(t,e,n,i){return"TEXTAREA"===t.tagName&&("width"===e||"height"===e)&&b(i)&&n===i}const ss="http://www.w3.org/1999/xlink";function as(t,e,n,i,r,o=X(e)){i&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(ss,e.slice(6,e.length)):t.setAttributeNS(ss,e,n):null==n||o&&!Y(n)?t.removeAttribute(e):t.setAttribute(e,o?"":_(n)?String(n):n)}function ls(t,e,n,i,r){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?Co(n):n));const o=t.tagName;if("value"===e&&"PROGRESS"!==o&&!o.includes("-")){const i="OPTION"===o?t.getAttribute("value")||"":t.value,r=null==n?"checkbox"===t.type?"on":"":String(n);return i===r&&"_value"in t||(t.value=r),null==n&&t.removeAttribute(e),void(t._value=n)}let s=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=Y(n):null==n&&"string"===i?(n="",s=!0):"number"===i&&(n=0,s=!0)}try{t[e]=n}catch(t){}s&&t.removeAttribute(r||e)}function cs(t,e,n,i){t.addEventListener(e,n,i)}const us=Symbol("_vei");const hs=/(?:Once|Passive|Capture)$/;let ds=0;const ps=Promise.resolve(),fs=()=>ds||(ps.then(()=>ds=0),ds=Date.now()),gs=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;function ms(t="$style"){{const e=ro();if(!e)return r;const n=e.type.__cssModules;if(!n)return r;return n[t]||r}}"undefined"!=typeof HTMLElement&&HTMLElement;const vs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return f(e)?t=>I(e,t):e};function ys(t){t.target.composing=!0}function bs(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const _s=Symbol("_assign");function xs(t,e,n){return e&&(t=t.trim()),n&&(t=R(t)),t}const ws={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t[_s]=vs(r);const o=i||r.props&&"number"===r.props.type;cs(t,e?"change":"input",e=>{e.target.composing||t[_s](xs(t.value,n,o))}),(n||o)&&cs(t,"change",()=>{t.value=xs(t.value,n,o)}),e||(cs(t,"compositionstart",ys),cs(t,"compositionend",bs),cs(t,"change",bs))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},s){if(t[_s]=vs(s),t.composing)return;const a=null==e?"":e;if((!o&&"number"!==t.type||/^0\d/.test(t.value)?t.value:R(t.value))===a)return;const l=t.getRootNode();if((l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===t&&"range"!==t.type){if(i&&e===n)return;if(r&&t.value.trim()===a)return}t.value=a}},Ss={deep:!0,created(t,e,n){t[_s]=vs(n),cs(t,"change",()=>{const e=t._modelValue,n=function(t){return"_value"in t?t._value:t.value}(t),i=t.checked,r=t[_s];if(f(e)){const t=Z(e,n),o=-1!==t;if(i&&!o)r(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),r(n)}}else if(m(e)){const t=new Set(e);i?t.add(n):t.delete(n),r(t)}else r(Cs(t,i))})},mounted:ks,beforeUpdate(t,e,n){t[_s]=vs(n),ks(t,e,n)}};function ks(t,{value:e,oldValue:n},i){let r;if(t._modelValue=e,f(e))r=Z(e,i.props.value)>-1;else if(m(e))r=e.has(i.props.value);else{if(e===n)return;r=K(e,Cs(t,!0))}t.checked!==r&&(t.checked=r)}function Cs(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Os=["ctrl","shift","alt","meta"],As={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Os.some(n=>t[`${n}Key`]&&!e.includes(n))},Ts=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t<e.length;t++){const i=As[e[t]];if(i&&i(n,e))return}return t(n,...i)})},Ps={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Es=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=L(n.key);return e.some(t=>t===i||Ps[t]===i)?t(n):void 0})},Ms=u({patchProp:(t,e,n,i,r,o)=>{const s="svg"===r;"class"===e?function(t,e,n){const i=t[Mo];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,s):"style"===e?function(t,e,n){const i=t.style,r=b(n);let o=!1;if(n&&!r){if(e)if(b(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&ns(i,e,"")}else for(const t in e)null==n[t]&&ns(i,t,"");for(const r in n){"display"===r&&(o=!0);const s=n[r];null!=s?os(t,r,!b(e)&&e?e[r]:void 0,s)||ns(i,r,s):ns(i,r,"")}}else if(r){if(e!==n){const t=i[Ko];t&&(n+=";"+t),i.cssText=n,o=ts.test(n)}}else e&&t.removeAttribute("style");qo in t&&(t[qo]=o?i.display:"",t[Go]&&(i.display="none"))}(t,n,i):l(e)?c(e)||function(t,e,n,i,r=null){const o=t[us]||(t[us]={}),s=o[e];if(i&&s)s.value=i;else{const[n,a]=function(t){let e;if(hs.test(t)){let n;for(e={};n=t.match(hs);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[":"===t[2]?t.slice(3):L(t.slice(2)),e]}(e);if(i){const s=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();ze(function(t,e){if(f(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t&&t(e))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=fs(),n}(i,r);cs(t,n,s,a)}else s&&(function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,s,a),o[e]=void 0)}}(t,e,0,i,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&gs(e)&&y(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("sandbox"===e&&"IFRAME"===t.tagName)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!gs(e)||!b(n))&&e in t}(t,e,i,s))?(ls(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||as(t,e,i,s,0,"value"!==e)):t._isVueCE&&(function(t,e){const n=t._def.props;if(!n)return!1;const i=E(e);return Array.isArray(n)?n.some(t=>E(t)===i):Object.keys(n).some(t=>E(t)===i)}(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!b(i)))?ls(t,E(e),i,0,e):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),as(t,e,i,s))}},To);let Ls;const $s=(...t)=>{const e=(Ls||(Ls=_r(Ms))).createApp(...t),{mount:n}=e;return e.mount=t=>{const i=function(t){if(b(t))return document.querySelector(t);return t}(t);if(!i)return;const r=e._component;y(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,function(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};var js=n(60);const Ds={},Is=(0,js.A)(Ds,[["render",function(t,e){const n=bi("router-view");return jr(),Rr("div",null,[Ur(n)])}]]);function Ns(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const Rs="function"==typeof Proxy;let Bs,Vs;class zs{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const i=t.settings[e];n[e]=i.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(r,e)}catch(t){}this.fallbacks={getSettings:()=>r,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}r=t},now:()=>function(){var t;return void 0!==Bs||("undefined"!=typeof window&&window.performance?(Bs=!0,Vs=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(Bs=!0,Vs=globalThis.perf_hooks.performance):Bs=!1),Bs}()?Vs.now():Date.now()},e&&e.on("plugin:settings:set",(t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise(n=>{this.targetQueue.push({method:e,args:t,resolve:n})})})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Fs(t,e){const n=t,i=Ns(),r=Ns().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=Rs&&n.enableEarlyProxy;if(!r||!i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new zs(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else r.emit("devtools-plugin:setup",t,e)}function Ws(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Hs(t){return null!==t&&"object"==typeof t}function Us(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function qs(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Xs(t,n,[],t._modules.root,!0),Gs(t,n,e)}function Gs(t,e,n){var i=t._state,r=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={},a={},l=new ot(!0);l.run(function(){Ws(o,function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),a[n]=_o(function(){return s[n]()}),Object.defineProperty(t.getters,n,{get:function(){return a[n].value},enumerable:!0})})}),t._state=he({data:e}),t._scope=l,t.strict&&function(t){On(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}(t),i&&n&&t._withCommit(function(){i.data=null}),r&&r.stop()}function Xs(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=Ks(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=i.state})}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=Zs(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=Zs(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return Ys(t,e)}},state:{get:function(){return Ks(t.state,n)}}}),r}(t,s,n);i.forEachMutation(function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,i.state,e)})}(t,s+n,e,c)}),i.forEachAction(function(e,n){var i=e.root?n:s+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push(function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}(t,i,r,c)}),i.forEachGetter(function(e,n){!function(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}(t,s+n,e,c)}),i.forEachChild(function(i,o){Xs(t,e,n.concat(o),i,r)})}function Ys(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach(function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function Ks(t,e){return e.reduce(function(t,e){return t[e]},t)}function Zs(t,e,n){return Hs(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Qs="vuex:mutations",Js="vuex:actions",ta="vuex",ea=0;function na(t,e){Fs({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},function(n){n.addTimelineLayer({id:Qs,label:"Vuex Mutations",color:ia}),n.addTimelineLayer({id:Js,label:"Vuex Actions",color:ia}),n.addInspector({id:ta,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(n){if(n.app===t&&n.inspectorId===ta)if(n.filter){var i=[];aa(i,e._modules.root,n.filter,""),n.rootNodes=i}else n.rootNodes=[sa(e._modules.root,"")]}),n.on.getInspectorState(function(n){if(n.app===t&&n.inspectorId===ta){var i=n.nodeId;Ys(e,i),n.state=function(t,e,n){e="root"===n?e:e[n];var i=Object.keys(e),r={state:Object.keys(t.state).map(function(e){return{key:e,editable:!0,value:t.state[e]}})};if(i.length){var o=function(t){var e={};return Object.keys(t).forEach(function(n){var i=n.split("/");if(i.length>1){var r=e,o=i.pop();i.forEach(function(t){r[t]||(r[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),r=r[t]._custom.value}),r[o]=la(function(){return t[n]})}else e[n]=la(function(){return t[n]})}),e}(e);r.getters=Object.keys(o).map(function(t){return{key:t.endsWith("/")?oa(t):t,editable:!1,value:la(function(){return o[t]})}})}return r}((r=e._modules,(s=(o=i).split("/").filter(function(t){return t})).reduce(function(t,e,n){var i=t[e];if(!i)throw new Error('Missing module "'+e+'" for path "'+o+'".');return n===s.length-1?i:i._children},"root"===o?r:r.root._children)),"root"===i?e.getters:e._makeLocalGettersCache,i)}var r,o,s}),n.on.editInspectorState(function(n){if(n.app===t&&n.inspectorId===ta){var i=n.nodeId,r=n.path;"root"!==i&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit(function(){n.set(e._state.data,r,n.state.value)})}}),e.subscribe(function(t,e){var i={};t.payload&&(i.payload=t.payload),i.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(ta),n.sendInspectorState(ta),n.addTimelineEvent({layerId:Qs,event:{time:Date.now(),title:t.type,data:i}})}),e.subscribeAction({before:function(t,e){var i={};t.payload&&(i.payload=t.payload),t._id=ea++,t._time=Date.now(),i.state=e,n.addTimelineEvent({layerId:Js,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:i}})},after:function(t,e){var i={},r=Date.now()-t._time;i.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},t.payload&&(i.payload=t.payload),i.state=e,n.addTimelineEvent({layerId:Js,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:i}})}})})}var ia=8702998,ra={label:"namespaced",textColor:16777215,backgroundColor:6710886};function oa(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function sa(t,e){return{id:e||"root",label:oa(e),tags:t.namespaced?[ra]:[],children:Object.keys(t._children).map(function(n){return sa(t._children[n],e+n+"/")})}}function aa(t,e,n,i){i.includes(n)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:e.namespaced?[ra]:[]}),Object.keys(e._children).forEach(function(r){aa(t,e._children[r],n,i+r+"/")})}function la(t){try{return t()}catch(t){return t}}var ca=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},ua={namespaced:{configurable:!0}};ua.namespaced.get=function(){return!!this._rawModule.namespaced},ca.prototype.addChild=function(t,e){this._children[t]=e},ca.prototype.removeChild=function(t){delete this._children[t]},ca.prototype.getChild=function(t){return this._children[t]},ca.prototype.hasChild=function(t){return t in this._children},ca.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},ca.prototype.forEachChild=function(t){Ws(this._children,t)},ca.prototype.forEachGetter=function(t){this._rawModule.getters&&Ws(this._rawModule.getters,t)},ca.prototype.forEachAction=function(t){this._rawModule.actions&&Ws(this._rawModule.actions,t)},ca.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ws(this._rawModule.mutations,t)},Object.defineProperties(ca.prototype,ua);var ha=function(t){this.register([],t,!1)};function da(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;da(t.concat(i),e.getChild(i),n.modules[i])}}ha.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},ha.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},ha.prototype.update=function(t){da([],this.root,t)},ha.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new ca(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r),e.modules&&Ws(e.modules,function(e,r){i.register(t.concat(r),e,n)})},ha.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},ha.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var pa=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ha(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;Xs(this,l,[],this._modules.root),Gs(this,l),n.forEach(function(t){return t(e)})},fa={state:{configurable:!0}};function ga(t){return function(t){return Array.isArray(t)||Hs(t)}(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function ma(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function va(t,e,n){return t._modulesNamespaceMap[n]}pa.prototype.install=function(t,e){t.provide(e||"store",this),t.config.globalProperties.$store=this,(void 0!==this._devtools?this._devtools:__VUE_PROD_DEVTOOLS__)&&na(t,this)},fa.state.get=function(){return this._state.data},fa.state.set=function(t){},pa.prototype.commit=function(t,e,n){var i=this,r=Zs(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit(function(){l.forEach(function(t){t(s)})}),this._subscribers.slice().forEach(function(t){return t(a,i.state)}))},pa.prototype.dispatch=function(t,e){var n=this,i=Zs(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(s,n.state)})}catch(t){}var l=a.length>1?Promise.all(a.map(function(t){return t(o)})):a[0](o);return new Promise(function(t,e){l.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(s,n.state)})}catch(t){}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(s,n.state,t)})}catch(t){}e(t)})})}},pa.prototype.subscribe=function(t,e){return Us(t,this._subscribers,e)},pa.prototype.subscribeAction=function(t,e){return Us("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},pa.prototype.watch=function(t,e,n){var i=this;return On(function(){return t(i.state,i.getters)},e,Object.assign({},n))},pa.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._state.data=t})},pa.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),Xs(this,this.state,t,this._modules.get(t),n.preserveState),Gs(this,this.state)},pa.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){delete Ks(e.state,t.slice(0,-1))[t[t.length-1]]}),qs(this)},pa.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},pa.prototype.hotUpdate=function(t){this._modules.update(t),qs(this,!0)},pa.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(pa.prototype,fa),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=va(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=va(this.$store,0,t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||va(this.$store,0,t))return this.$store.getters[r]},n[i].vuex=!0}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=va(this.$store,0,t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n});var ya=n(822),ba=n.n(ya),_a=n(711),xa=n.n(_a);class wa extends Error{constructor(t,e){super(t),this.name="FetchClientError",this.response=e,this.isAxiosError=!0}}const Sa=async(t,{method:e="GET",headers:n={},body:i,params:r,auth:o,responseType:s}={})=>{const a=((t,e)=>{if(!e||0===Object.keys(e).length)return t;const n=new URLSearchParams(e).toString(),i=t.includes("?")?"&":"?";return`${t}${i}${n}`})(t,r),l={...n},c=Object.fromEntries(Object.entries(l).filter(([,t])=>null!=t));if(o){const{username:t,password:e}=o;c.Authorization=`Basic ${btoa(`${t}:${e}`)}`}let u;void 0!==i&&(u="string"==typeof i?i:JSON.stringify(i),c["Content-Type"]||c["content-type"]||(c["Content-Type"]="string"==typeof i?"text/plain":"application/json"));const h=await fetch(a,{method:e,headers:c,body:u}),d=h.headers.get("content-type")||"",p=await h.text();let f;if(d.includes("application/json")||"json"===s)try{f=JSON.parse(p)}catch{f=p}else f=p;const g={data:f,status:h.status,statusText:h.statusText,headers:Object.fromEntries(h.headers.entries())};if(h.ok)return g;const m=new wa(`Request failed with status code ${h.status}`,g);throw m.config={url:a,method:e},m},ka=t=>(e,n,i)=>{let r,o;return["POST","PUT","PATCH"].includes(t)?(o=n,r=i||{}):r=n||{},Sa(e,{...r,method:t,body:o})},Ca={get:ka("GET"),post:ka("POST"),put:ka("PUT"),delete:ka("DELETE"),patch:ka("PATCH"),request(t){const{url:e,method:n="GET",data:i,...r}=t;return Sa(e,{...r,method:n.toUpperCase(),body:i})}};var Oa=n(273);const Aa=(t,e)=>{const n={};return Object.keys(t).forEach(e=>{n[e]={...t[e],selected:t[e].enabled}}),e&&Array.isArray(e)&&e.forEach(t=>{if(t.property.startsWith("insights.")){const e=t.property.replace("insights.","");n[e]&&(n[e].selected="true"===t.value)}}),n},Ta=t=>{if(t&&Array.isArray(t)){const e=t.find(t=>"trustedform.advertiser_name"===t.property);return e?e.value:void 0}},Pa=(t,e)=>{if(t&&Array.isArray(t)){const n=t.find(t=>t.property===`trustedform.${e}`);return n?n.value:void 0}},Ea=(t,e)=>{if(Array.isArray(t)){const n=t.find(t=>t.property===`trustedform.${e}`);return!!n&&"true"===n.value}},Ma=(t,e)=>{return n={state:{fieldData:ba(),v4Fields:Aa(xa(),t.mappings),advertiserName:Ta(t.mappings),requiredTags:Pa(t.mappings,"scan_required_text"),forbiddenTags:Pa(t.mappings,"scan_forbidden_text"),ui:e,config:t,errors:void 0,products:{retain:{enabled:!1,selected:!1},insights:{enabled:!1,selected:!1},verify:{enabled:!1,selected:!1}},filters:[],pageScanForbidden:[],pageScanRequired:[],shouldConfigVerify:!1,navHistory:[]},mutations:{setErrors(t,e){t.errors=e},setProduct(t,{product:e,value:n}){t.products[e]=n},setFilters(t,e){t.filters=e},setPageScan(t,{required:e,forbidden:n}){t.pageScanRequired=e,t.pageScanForbidden=n},setAdvertiserName(t,{advertiserName:e}){t.advertiserName=e},setShouldConfigVerify(t,e){t.shouldConfigVerify=e},setNavHistory(t,e){(0,Oa.includes)(t.navHistory,e)||t.navHistory.push(e)},resetNavHistory(t){t.navHistory=[]}},getters:{getProducts:t=>t.products,getErrors:t=>t.errors,getShouldConfigVerify:t=>t.shouldConfigVerify,getNavHistory:t=>t.navHistory,getAdvertiserName:t=>t.advertiserName},actions:{cancel(t){t.state.ui.cancel()},getProducts(e){const n=["retain","insights","verify"];return Ca.get(`account?apiKey=${t.credential.token}`).then(function(i){const r=(0,Oa.get)(i,"data.product_components");n.forEach(function(n){e.commit("setProduct",{product:n,value:{enabled:r.includes(n),selected:r.includes(n)&&Ea(t.mappings,n)}})})}).catch(function(t){401===(0,Oa.get)(t,"response.status")?e.commit("setErrors","no TrustedForm account found for this API key"):e.commit("setErrors",(0,Oa.get)(t,"response.data")||t.message)})},createFilter(t,e){const n=e.rules.map(t=>({op:t.rulesOp,lhv:t.lhv,rhv:t.rhv})),i={type:"filter",reason:e.reason,outcome:e.outcome,rule_set:{op:"and",rules:n},description:e.description,enabled:!0};t.commit("setFilters",[...t.state.filters,i])},async confirm(e){const{products:n,v4Fields:i,pageScanForbidden:r,pageScanRequired:o,advertiserName:s}=e.state,a={steps:[{type:"recipient",entity:{name:t.entity.name,id:t.entity.id},integration:{module_id:t.integration,mappings:[]}}]};if("leadconduit-trustedform.outbound.trustedform"===t.integration){if(Object.keys(n).forEach(t=>{a.steps[0].integration.mappings.push({property:`trustedform.${t}`,value:n[t].selected?"true":"false"})}),n.insights.selected&&Object.keys(i).forEach(t=>{a.steps[0].integration.mappings.push({property:`insights.${t}`,value:i[t].selected?"true":"false"})}),(0,Oa.castArray)(o).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_required_text",value:be(o)}),(0,Oa.castArray)(r).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_forbidden_text",value:be(r)}),n.verify.selected){s&&a.steps[0].integration.mappings.push({property:"trustedform.advertiser_name",value:s});const t={rulesOp:"is not equal to",lhv:"trustedform.outcome",rhv:"success"},n=[{...t},{rulesOp:"is false",lhv:"trustedform.one_to_one"}],i={reason:"{{trustedform.reason}}",outcome:"failure",description:"Filter leads that fail on Trustedform Verify check",rules:s?n:[t]};await e.dispatch("createFilter",i)}e.state.filters.forEach(t=>{a.steps.push(be(t))})}e.state.ui.create({flow:a})}}},new pa(n);var n},La="undefined"!=typeof document;function $a(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const ja=Object.assign;function Da(t,e){const n={};for(const i in e){const r=e[i];n[i]=Na(r)?r.map(t):t(r)}return n}const Ia=()=>{},Na=Array.isArray;function Ra(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}const Ba=/#/g,Va=/&/g,za=/\//g,Fa=/=/g,Wa=/\?/g,Ha=/\+/g,Ua=/%5B/g,qa=/%5D/g,Ga=/%5E/g,Xa=/%60/g,Ya=/%7B/g,Ka=/%7C/g,Za=/%7D/g,Qa=/%20/g;function Ja(t){return null==t?"":encodeURI(""+t).replace(Ka,"|").replace(Ua,"[").replace(qa,"]")}function tl(t){return Ja(t).replace(Ha,"%2B").replace(Qa,"+").replace(Ba,"%23").replace(Va,"%26").replace(Xa,"`").replace(Ya,"{").replace(Za,"}").replace(Ga,"^")}function el(t){return tl(t).replace(Fa,"%3D")}function nl(t){return function(t){return Ja(t).replace(Ba,"%23").replace(Wa,"%3F")}(t).replace(za,"%2F")}function il(t){if(null==t)return null;try{return decodeURIComponent(""+t)}catch(t){}return""+t}const rl=/\/$/;function ol(t,e,n="/"){let i,r={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(i=e.slice(0,l),o=e.slice(l,a>0?a:e.length),r=t(o.slice(1))),a>=0&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,s,a=n.length-1;for(o=0;o<i.length;o++)if(s=i[o],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(o).join("/")}(null!=i?i:e,n),{fullPath:i+o+s,path:i,query:r,hash:il(s)}}function sl(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function al(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!ll(t[n],e[n]))return!1;return!0}function ll(t,e){return Na(t)?cl(t,e):Na(e)?cl(e,t):t?.valueOf()===e?.valueOf()}function cl(t,e){return Na(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}const ul={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let hl=function(t){return t.pop="pop",t.push="push",t}({}),dl=function(t){return t.back="back",t.forward="forward",t.unknown="",t}({});function pl(t){if(!t)if(La){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(rl,"")}const fl=/^[^#]+#/;function gl(t,e){return t.replace(fl,"#")+e}function ml(t,e){return(history.state?history.state.position-e:-1)+t}const vl=new Map;function yl(t){return"string"==typeof t||t&&"object"==typeof t}function bl(t){return"string"==typeof t||"symbol"==typeof t}let _l=function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t}({});const xl=Symbol("");function wl(t,e){return ja(new Error,{type:t,[xl]:!0},e)}function Sl(t,e){return t instanceof Error&&xl in t&&(null==e||!!(t.type&e))}_l.MATCHER_NOT_FOUND,_l.NAVIGATION_GUARD_REDIRECT,_l.NAVIGATION_ABORTED,_l.NAVIGATION_CANCELLED,_l.NAVIGATION_DUPLICATED;function kl(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let t=0;t<n.length;++t){const i=n[t].replace(Ha," "),r=i.indexOf("="),o=il(r<0?i:i.slice(0,r)),s=r<0?null:il(i.slice(r+1));if(o in e){let t=e[o];Na(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function Cl(t){let e="";for(let n in t){const i=t[n];n=el(n),null!=i?(Na(i)?i.map(t=>t&&tl(t)):[i&&tl(i)]).forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}):void 0!==i&&(e+=(e.length?"&":"")+n)}return e}function Ol(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=Na(i)?i.map(t=>null==t?null:""+t):null==i?i:""+i)}return e}const Al=Symbol(""),Tl=Symbol(""),Pl=Symbol(""),El=Symbol(""),Ml=Symbol("");function Ll(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function $l(t,e,n,i,r,o=t=>t()){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=t=>{!1===t?l(wl(_l.NAVIGATION_ABORTED,{from:n,to:e})):t instanceof Error?l(t):yl(t)?l(wl(_l.NAVIGATION_GUARD_REDIRECT,{from:e,to:t})):(s&&i.enterCallbacks[r]===s&&"function"==typeof t&&s.push(t),a())},u=o(()=>t.call(i&&i.instances[r],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(t=>l(t))})}function jl(t,e,n,i,r=t=>t()){const o=[];for(const s of t)for(const t in s.components){let a=s.components[t];if("beforeRouteEnter"===e||s.instances[t])if($a(a)){const l=(a.__vccOpts||a)[e];l&&o.push($l(l,n,i,s,t,r))}else{let l=a();o.push(()=>l.then(o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${s.path}"`);const a=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&$a(l.default)?o.default:o;var l;s.mods[t]=o,s.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&$l(c,n,i,s,t,r)()}))}}return o}function Dl(t,e){const n=ja({},t,{matched:t.matched.map(t=>function(t,e){const n={};for(const i in t)e.includes(i)||(n[i]=t[i]);return n}(t,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function Il(t){return{_custom:{display:t}}}let Nl=0;function Rl(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const i=Nl++;Fs({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},r=>{"function"!=typeof r.now&&function(t){const e=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+t].concat(e))}("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((t,n)=>{t.instanceData&&t.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Dl(e.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:t,componentInstance:e})=>{if(e.__vrv_devtools){const n=e.__vrv_devtools;t.tags.push({label:(n.name?`${n.name.toString()}: `:"")+n.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Vl})}Na(e.__vrl_devtools)&&(e.__devtoolsApi=r,e.__vrl_devtools.forEach(e=>{let n=e.route.path,i=Hl,r="",o=0;e.error?(n=e.error,i=ql,o=Gl):e.isExactActive?(i=Fl,r="This is exactly active"):e.isActive&&(i=zl,r="This link is active"),t.tags.push({label:n,textColor:o,tooltip:r,backgroundColor:i})}))}),On(e.currentRoute,()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)});const o="router:navigations:"+i;r.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError((t,e)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:e.fullPath,logType:"error",time:r.now(),data:{error:t},groupId:e.meta.__navigationId}})});let s=0;e.beforeEach((t,e)=>{const n={guard:Il("beforeEach"),from:Dl(e,"Current Location during this navigation"),to:Dl(t,"Target location")};Object.defineProperty(t.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:t.fullPath,data:n,groupId:t.meta.__navigationId}})}),e.afterEach((t,e,n)=>{const i={guard:Il("afterEach")};n?(i.failure={_custom:{type:Error,readOnly:!0,display:n?n.message:"",tooltip:"Navigation Failure",value:n}},i.status=Il("❌")):i.status=Il("✅"),i.from=Dl(e,"Current Location during this navigation"),i.to=Dl(t,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:t.fullPath,time:r.now(),data:i,logType:n?"warning":"default",groupId:t.meta.__navigationId}})});const a="router-inspector:"+i;function l(){if(!c)return;const t=c;let i=n.getRoutes().filter(t=>!t.parent||!t.parent.record.components);i.forEach(Ql),t.filter&&(i=i.filter(e=>Jl(e,t.filter.toLowerCase()))),i.forEach(t=>Zl(t,e.currentRoute.value)),t.rootNodes=i.map(Xl)}let c;r.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),r.on.getInspectorTree(e=>{c=e,e.app===t&&e.inspectorId===a&&l()}),r.on.getInspectorState(e=>{if(e.app===t&&e.inspectorId===a){const t=n.getRoutes().find(t=>t.record.__vd_id===e.nodeId);t&&(e.state={options:Bl(t)})}}),r.sendInspectorTree(a),r.sendInspectorState(a)})}function Bl(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return null!=e.name&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(t=>`${t.name}${function(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}(t)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),null!=e.redirect&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(t=>t.record.path)}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(t=>t.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const Vl=15485081,zl=2450411,Fl=8702998,Wl=2282478,Hl=16486972,Ul=6710886,ql=16704226,Gl=12131356;function Xl(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:Wl}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:Hl}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:Vl}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:Fl}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:zl}),n.redirect&&e.push({label:"string"==typeof n.redirect?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Ul});let i=n.__vd_id;return null==i&&(i=String(Yl++),n.__vd_id=i),{id:i,label:n.path,tags:e,children:t.children.map(Xl)}}let Yl=0;const Kl=/^\/(.*)\/([a-z]*)$/;function Zl(t,e){const n=e.matched.length&&sl(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(e=>sl(e,t.record))),t.children.forEach(t=>Zl(t,e))}function Ql(t){t.__vd_match=!1,t.children.forEach(Ql)}function Jl(t,e){const n=String(t.re).match(Kl);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach(t=>Jl(t,e)),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),r=il(i);return!(e.startsWith("/")||!r.includes(e)&&!i.includes(e))||!(!r.startsWith(e)&&!i.startsWith(e))||!(!t.record.name||!String(t.record.name).includes(e))||t.children.some(t=>Jl(t,e))}let tc=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t}({});var ec=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t}(ec||{});const nc={type:tc.Static,value:""},ic=/[a-zA-Z0-9_]/,rc="[^/]+?",oc={sensitive:!1,strict:!1,start:!0,end:!0};var sc=function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t}(sc||{});const ac=/[.+*?^${}()[\]/\\]/g;function lc(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&t[0]===sc.Static+sc.Segment?-1:1:t.length>e.length?1===e.length&&e[0]===sc.Static+sc.Segment?1:-1:0}function cc(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=lc(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(uc(i))return 1;if(uc(r))return-1}return r.length-i.length}function uc(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const hc={strict:!1,end:!0,sensitive:!1};function dc(t,e,n){const i=function(t,e){const n=ja({},oc,e),i=[];let r=n.start?"^":"";const o=[];for(const e of t){const t=e.length?[]:[sc.Root];n.strict&&!e.length&&(r+="/");for(let i=0;i<e.length;i++){const s=e[i];let a=sc.Segment+(n.sensitive?sc.BonusCaseSensitive:0);if(s.type===tc.Static)i||(r+="/"),r+=s.value.replace(ac,"\\$&"),a+=sc.Static;else if(s.type===tc.Param){const{value:t,repeatable:n,optional:l,regexp:c}=s;o.push({name:t,repeatable:n,optional:l});const u=c||rc;u!==rc&&(a+=sc.BonusCustomRegExp);let h=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;i||(h=l&&e.length<2?`(?:/${h})`:"/"+h),l&&(h+="?"),r+=h,a+=sc.Dynamic,l&&(a+=sc.BonusOptional),n&&(a+=sc.BonusRepeatable),".*"===u&&(a+=sc.BonusWildcard)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=sc.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:i,keys:o,parse:function(t){const e=t.match(s),n={};if(!e)return null;for(let t=1;t<e.length;t++){const i=e[t]||"",r=o[t-1];n[r.name]=i&&r.repeatable?i.split("/"):i}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(t.type===tc.Static)n+=t.value;else if(t.type===tc.Param){const{value:o,repeatable:s,optional:a}=t,l=o in e?e[o]:"";if(Na(l)&&!s)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=Na(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[nc]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=ec.Static,i=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a,l=0,c="",u="";function h(){c&&(n===ec.Static?o.push({type:tc.Static,value:c}):n===ec.Param||n===ec.ParamRegExp||n===ec.ParamRegExpEnd?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:tc.Param,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||n===ec.ParamRegExp)switch(n){case ec.Static:"/"===a?(c&&h(),s()):":"===a?(h(),n=ec.Param):d();break;case ec.EscapeNext:d(),n=i;break;case ec.Param:"("===a?n=ec.ParamRegExp:ic.test(a)?d():(h(),n=ec.Static,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case ec.ParamRegExp:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=ec.ParamRegExpEnd:u+=a;break;case ec.ParamRegExpEnd:h(),n=ec.Static,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=ec.EscapeNext;return n===ec.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),r}(t.path),n),r=ja(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function pc(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function fc(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:gc(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function gc(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function vc(t){return t.reduce((t,e)=>ja(t,e.meta),{})}function yc({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function bc(t){const e=Sn(Pl),n=Sn(El),i=_o(()=>{const n=Te(t.to);return e.resolve(n)}),r=_o(()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(sl.bind(null,r));if(s>-1)return s;const a=xc(t[e-2]);return e>1&&xc(r)===a&&o[o.length-1].path!==a?o.findIndex(sl.bind(null,t[e-2])):s}),o=_o(()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!Na(r)||r.length!==i.length||i.some((t,e)=>t.valueOf()!==r[e].valueOf()))return!1}return!0}(n.params,i.value.params)),s=_o(()=>r.value>-1&&r.value===n.matched.length-1&&al(n.params,i.value.params));if(__VUE_PROD_DEVTOOLS__&&La){const e=ro();if(e){const n={route:i.value,isActive:o.value,isExactActive:s.value,error:null};e.__vrl_devtools=e.__vrl_devtools||[],e.__vrl_devtools.push(n),Cn(()=>{n.route=i.value,n.isActive=o.value,n.isExactActive=s.value,n.error=yl(Te(t.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:i,href:_o(()=>i.value.href),isActive:o,isExactActive:s,navigate:function(n={}){if(function(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}(n)){const n=e[Te(t.replace)?"replace":"push"](Te(t.to)).catch(Ia);return t.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const _c=Un({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:bc,setup(t,{slots:e}){const n=he(bc(t)),{options:i}=Sn(Pl),r=_o(()=>({[wc(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[wc(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&(1===(o=e.default(n)).length?o[0]:o);var o;return t.custom?i:xo("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function xc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const wc=(t,e,n)=>null!=t?t:null!=e?e:n,Sc=Un({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Sn(Ml),r=_o(()=>t.route||i.value),o=Sn(Tl,0),s=_o(()=>{let t=Te(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t}),a=_o(()=>r.value.matched[s.value]);wn(Tl,_o(()=>s.value+1)),wn(Al,a),wn(Ml,r);const l=ke();return On(()=>[l.value,a.value,t.name],([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&sl(e,r)&&i||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=r.value,o=t.name,c=a.value,u=c&&c.components[o];if(!u)return kc(n.default,{Component:u,route:i});const h=c.props[o],d=h?!0===h?i.params:"function"==typeof h?h(i):h:null,p=xo(u,ja({},d,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(c.instances[o]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&La&&p.ref){const t={depth:s.value,name:c.name,path:c.path,meta:c.meta};(Na(p.ref)?p.ref.map(t=>t.i):[p.ref.i]).forEach(e=>{e.__vrv_devtools=t})}return kc(n.default,{Component:p,route:i})||p}}});function kc(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Cc=Sc,Oc={key:0},Ac={key:1};var Tc={props:{disableConfirm:{type:Boolean,default:!1},onConfirm:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:()=>[]}},data(){return{page:this.$router?.currentRoute?.value?this.$router.currentRoute.value.path:"/"}},computed:{pageNo(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showPrev(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev(){try{var t=this.$props.navHistory.pop();t||(t="/"+(this.pageNo-1),console.debug(`Navigation.vue: no previous page in history; using previous page by number: '${t}'`)),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},confirm(){this.$props.onConfirm?(this.$props.navHistory.push(this.page),this.$props.onConfirm()):console.debug("Navigation: confirm() called with no :onConfirm")}}};const Pc=["disabled"];Tc.render=function(t,e,n,i,r,o){return jr(),Rr("div",null,[Hr("footer",null,[o.showPrev?(jr(),Rr("button",{key:0,onClick:e[0]||(e[0]=(...t)=>o.prev&&o.prev(...t)),class:"tertiary-control","data-test":"nav-prev"},"Previous")):Yr("",!0),Oi(t.$slots,"footer"),Hr("button",{onClick:e[1]||(e[1]=(...t)=>o.confirm&&o.confirm(...t)),class:"primary",disabled:n.disableConfirm,"data-test":"nav-confirm"},"Confirm",8,Pc),Hr("button",{onClick:e[2]||(e[2]=(...t)=>o.cancel&&o.cancel(...t)),"data-test":"nav-cancel"},"Cancel")])])};var Ec={name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted(){setTimeout(()=>{this.finish()},2e3)}};const Mc=Hr("span",{class:"loading"},null,-1);Ec.render=function(t,e,n,i,r,o){return jr(),Rr("div",null,[Hr("header",null,J(n.moduleName),1),Hr("section",null,[Mc,Xr(" We're setting up your "+J(n.moduleName)+" step now. ",1)])])};const Lc={data:()=>({isDataService:!0}),components:{LoadingScreen:Ec,Navigation:Tc},computed:{moduleName(){switch(this.$store.state.config.integration){case"leadconduit-trustedform.outbound.claim":return"Claim";case"leadconduit-trustedform.outbound.consent":return"Consent";case"leadconduit-trustedform.outbound.consent_plus_data":return"Consent + Insights";case"leadconduit-trustedform.outbound.insights":return"Insights";default:return""}}},methods:{onConfirm(){this.$router.push("/2")},finish(){this.$store.dispatch("confirm")}},mounted(){const{integration:t}=this.$store.state.config;t.includes("outbound.trustedform")?this.$router.push("/4"):t.includes("insights")||(this.isDataService=!1)}},$c=(0,js.A)(Lc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation"),a=bi("LoadingScreen");return jr(),Rr("div",null,[Hr("header",null," Set Up TrustedForm "+J(o.moduleName),1),r.isDataService?(jr(),Rr("div",Oc,[e[0]||(e[0]=Hr("section",null,[Hr("p",null," TrustedForm Insights provides lead buyers with optimized lead data that helps them assess the value of a lead. It helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections. At the time of purchase, or any time thereafter, the lead buyer can use the LeadConduit platform to access lead metadata (not PII) found in the TrustedForm certificates. "),Hr("p",null,[Hr("b",null,"Note:"),Xr(" To access TrustedForm Insights, your lead source must use the TrustedForm script on their lead forms. ")])],-1)),Ur(s,{onConfirm:o.onConfirm},null,8,["onConfirm"])])):r.isDataService?Yr("v-if",!0):(jr(),Rr("div",Ac,[Ur(a,{onFinish:o.finish,"module-name":"TrustedForm "+o.moduleName},null,8,["onFinish","module-name"])]))])}]]),jc={class:"table-container"},Dc={data(){return{fields:this.$store.state.fieldData}},components:{Navigation:Tc},methods:{confirm(){this.$router.push("/3")}}},Ic=(0,js.A)(Dc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[2]||(e[2]=Hr("header",null," Set Up TrustedForm Insights ",-1)),Hr("section",null,[e[1]||(e[1]=Hr("p",null,"Below is a list of data points included with this enhancement. When configuring your flow, you can choose to accept, reject, or re-route leads based on each of the values returned.",-1)),Hr("div",jc,[Hr("table",null,[e[0]||(e[0]=Hr("thead",null,[Hr("tr",null,[Hr("th",null,"Data Point"),Hr("th",null,"Description"),Hr("th",null,"Possible Use")])],-1)),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(r.fields,(t,e)=>(jr(),Rr("tr",{key:e},[Hr("td",null,J(e),1),Hr("td",null,J(t.description),1),Hr("td",null,J(t.use),1)]))),128))])])])]),Ur(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Nc={methods:{confirm(){this.$store.dispatch("confirm")}},components:{Navigation:Tc}},Rc=(0,js.A)(Nc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[0]||(e[0]=Hr("header",null," Set Up TrustedForm Insights ",-1)),e[1]||(e[1]=Hr("section",null,[Hr("p",null," Now you’re ready to map your fields and set up the associated filters in your LeadConduit flow. ")],-1)),Ur(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Bc={key:0},Vc={key:1},zc={key:2},Fc=["disabled"],Wc=["disabled"],Hc=["disabled"],Uc={data(){return{loading:!0,products:this.$store.getters.getProducts,errors:this.$store.getters.getErrors,navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Tc},computed:{productsAvailable(){return this.products.retain.enabled||this.products.insights.enabled||this.products.verify.enabled}},methods:{confirm(){this.$store.commit("resetNavHistory"),this.$store.commit("setNavHistory","/4"),this.$store.state.products=this.products,this.products.insights.selected&&this.products.verify.selected?(this.$router.push("/5"),this.$store.commit("setShouldConfigVerify",!0)):this.products.insights.selected?(this.$store.commit("setShouldConfigVerify",!1),this.$router.push("/5")):this.products.verify.selected?this.$router.push("/7"):this.$store.dispatch("confirm")}},async created(){await this.$store.dispatch("getProducts"),this.loading=!1}};n(164);const qc=(0,js.A)(Uc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[12]||(e[12]=Hr("header",null," Add TrustedForm Add-On ",-1)),r.loading?(jr(),Rr("section",Bc,[...e[3]||(e[3]=[Hr("span",{class:"loading"},null,-1),Xr(" Loading products... ",-1)])])):o.productsAvailable?(jr(),Rr("section",zc,[Hr("form",null,[e[11]||(e[11]=Hr("h3",null,"Select the TrustedForm products to add to your flow.",-1)),Hr("p",null,"You may select all products that you would like to add to your flow. Each product will be charged depending on your contract. "+J(r.errors),1),Hr("ul",null,[Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.retain.enabled,"onUpdate:modelValue":e[0]||(e[0]=t=>r.products.retain.selected=t),id:"retain"},null,8,Fc),[[Ss,r.products.retain.selected]]),e[5]||(e[5]=Hr("label",{for:"retain"},"Retain",-1)),e[6]||(e[6]=Hr("p",{class:"help-text"},"Store consent in TrustedForm certificates for legal (TCPA) compliance.",-1))])]),Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.insights.enabled,"onUpdate:modelValue":e[1]||(e[1]=t=>r.products.insights.selected=t),id:"insights"},null,8,Wc),[[Ss,r.products.insights.selected]]),e[7]||(e[7]=Hr("label",{for:"insights"},"Insights",-1)),e[8]||(e[8]=Hr("p",{class:"help-text"},"TrustedForm Insights helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections.",-1))])]),Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.verify.enabled,"onUpdate:modelValue":e[2]||(e[2]=t=>r.products.verify.selected=t),id:"verify"},null,8,Hc),[[Ss,r.products.verify.selected]]),e[9]||(e[9]=Hr("label",{for:"verify"},"Verify",-1)),e[10]||(e[10]=Hr("p",{class:"help-text"},"Confirm that your leads were shown consent language that meets your compliance requirements.",-1))])])])])])):(jr(),Rr("section",Vc,[...e[4]||(e[4]=[Hr("p",null,[Xr(" Your account does not have access to TrustedForm. Please contact "),Hr("a",{href:"mailto:support@activeprospect.com",target:"_blank"},"support@activeprospect.com"),Xr(" if this is in error or if you would like to add TrustedForm to your account. ")],-1)])])),Ur(s,{showPrevious:!1,onConfirm:o.confirm,disableConfirm:!r.products.retain.selected&&!r.products.insights.selected&&!r.products.verify.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-4cb6d661"]]),Gc=[".indeterminate"],Xc=["id","onUpdate:modelValue"],Yc=["for"],Kc=["for"],Zc=["innerHTML"],Qc={data(){return{fields:this.$store.state.v4Fields,header:!1,selected:"none",navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Tc},methods:{amountSelected(){const t=Object.keys(this.fields).length,e=(0,Oa.filter)(this.fields,function(t){return t.selected}).length;return 0===e?"none":t===e?"all":"some"},toggleAll(){const t="all"!==this.amountSelected();for(const e in this.fields)this.fields[e].selected=t;this.updateHeader()},updateHeader(){this.selected=this.amountSelected(),this.header="all"===this.selected},confirm(){this.$store.commit("setNavHistory","/5");const t=this.$store.getters.getShouldConfigVerify;this.$store.state.v4Fields=this.fields,this.fields.page_scan?.selected?this.$router.push("/6"):t?this.$router.push("/7"):this.$store.dispatch("confirm")}},mounted(){this.updateHeader()}};n(924);const Jc=(0,js.A)(Qc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[8]||(e[8]=Hr("header",null," Configure TrustedForm Insights ",-1)),Hr("section",null,[Hr("form",null,[e[6]||(e[6]=Hr("h3",null,"Select Insights Data Points",-1)),e[7]||(e[7]=Hr("p",null,"TrustedForm Insights provides the following data related to the lead that filled out the form. Each selection of data points will be charged individually.",-1)),Hr("table",null,[Hr("thead",null,[Hr("tr",null,[Hr("th",null,[_n(Hr("input",{id:"select-all",type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e[0]||(e[0]=t=>r.header=t),".indeterminate":"some"===r.selected,onClick:e[1]||(e[1]=(...t)=>o.toggleAll&&o.toggleAll(...t))},null,40,Gc),[[Ss,r.header]]),e[3]||(e[3]=Hr("label",{for:"select-all",class:"checkbox-label"},null,-1))]),e[4]||(e[4]=Hr("th",null,[Hr("label",{for:"select-all",class:"text-label"},"Data Point")],-1)),e[5]||(e[5]=Hr("th",null,"Description",-1))])]),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(Object.keys(r.fields),t=>(jr(),Rr("tr",{key:r.fields[t].name},[Hr("td",null,[_n(Hr("input",{id:t,type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e=>r.fields[t].selected=e,onChange:e[2]||(e[2]=(...t)=>o.updateHeader&&o.updateHeader(...t))},null,40,Xc),[[Ss,r.fields[t].selected]]),Hr("label",{for:t,class:"checkbox-label"},null,8,Yc)]),Hr("td",null,[Hr("label",{for:t,class:"text-label"},J(r.fields[t].name),9,Kc)]),Hr("td",{innerHTML:r.fields[t].description},null,8,Zc)]))),128))])])])]),Ur(s,{onConfirm:o.confirm,disableConfirm:"none"===r.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-350d7264"]]);var tu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{};function eu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var nu,iu={exports:{}};nu=iu,function(t){if(!t.jQuery){var e=function(t,n){return new e.fn.init(t,n)};e.isWindow=function(t){return t&&t===t.window},e.type=function(t){return t?"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t:t+""},e.isArray=Array.isArray||function(t){return"array"===e.type(t)},e.isPlainObject=function(t){var n;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}for(n in t);return void 0===n||r.call(t,n)},e.each=function(t,e,n){var i=0,r=t.length,o=l(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},e.data=function(t,i,r){if(void 0===r){var o=t[e.expando],s=o&&n[o];if(void 0===i)return s;if(s&&i in s)return s[i]}else if(void 0!==i){var a=t[e.expando]||(t[e.expando]=++e.uuid);return n[a]=n[a]||{},n[a][i]=r,r}},e.removeData=function(t,i){var r=t[e.expando],o=r&&n[r];o&&(i?e.each(i,function(t,e){delete o[e]}):delete n[r])},e.extend=function(){var t,n,i,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==e.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(o=arguments[l])for(r in o)o.hasOwnProperty(r)&&(t=a[r],a!==(i=o[r])&&(u&&i&&(e.isPlainObject(i)||(n=e.isArray(i)))?(n?(n=!1,s=t&&e.isArray(t)?t:[]):s=t&&e.isPlainObject(t)?t:{},a[r]=e.extend(u,s,i)):void 0!==i&&(a[r]=i)));return a},e.queue=function(t,n,i){if(t){n=(n||"fx")+"queue";var r=e.data(t,n);return i?(!r||e.isArray(i)?r=e.data(t,n,(s=[],(o=i)&&(l(Object(o))?function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(s,"string"==typeof o?[o]:o):[].push.call(s,o)),s)):r.push(i),r):r||[]}var o,s},e.dequeue=function(t,n){e.each(t.nodeType?[t]:t,function(t,i){n=n||"fx";var r=e.queue(i,n),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===n&&r.unshift("inprogress"),o.call(i,function(){e.dequeue(i,n)}))})},e.fn=e.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var t=this[0],n=function(t){for(var e=t.offsetParent;e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase();)e=e.offsetParent;return e||document}(t),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:e(n).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var n={};e.expando="velocity"+(new Date).getTime(),e.uuid=0;for(var i={},r=i.hasOwnProperty,o=i.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)i["[object "+s[a]+"]"]=s[a].toLowerCase();e.fn.init.prototype=e.fn,t.Velocity={Utilities:e}}function l(t){var n=t.length,i=e.type(t);return"function"!==i&&!e.isWindow(t)&&(!(1!==t.nodeType||!n)||"array"===i||0===n||"number"==typeof n&&n>0&&n-1 in t)}}(window),nu.exports=function(t,e,n,i){var r,o=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return i}(),s=(r=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,n=(new Date).getTime();return e=Math.max(0,16-(n-r)),r=n+e,setTimeout(function(){t(n+e)},e)}),a=function(){var t=e.performance||{};if("function"!=typeof t.now){var n=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-n}}return t}();var l=function(){var t=Array.prototype.slice;try{return t.call(n.documentElement),t}catch{return function(e,n){var i=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof n&&(n=i),this.slice)return t.call(this,e,n);var r,o=[],s=e>=0?e:Math.max(0,i+e),a=(n<0?i+n:Math.min(n,i))-s;if(a>0)if(o=new Array(a),this.charAt)for(r=0;r<a;r++)o[r]=this.charAt(s+r);else for(r=0;r<a;r++)o[r]=this[s+r];return o}}}(),c=function(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return t.indexOf(e)>=0}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}};function u(t){return d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]),t}var h,d={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},p=!1;if(t.fn&&t.fn.jquery?(h=t,p=!0):h=e.Velocity.Utilities,o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var f=400,g="swing",m={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:g,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(t){var e=(new Date).getTime();h.each(m.State.calls,function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]={resume:!1}}}),h.each(m.State.delayedElements,function(t,n){n&&S(n,e)})},resumeAll:function(t){(new Date).getTime(),h.each(m.State.calls,function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}}),h.each(m.State.delayedElements,function(t,e){e&&k(e)})}};e.pageYOffset!==i?(m.State.scrollAnchor=e,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop");var v=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),c=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+c*i,n}return function t(e,i,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,h=1e-4;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,l.tension=e,l.friction=i,s=(o=null!==r)?(u=t(e,i))/r*.016:.016;a=n(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>h&&Math.abs(a.v)>h;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();m.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){m.Easings[e[0]]=O.apply(null,e[1])});var y=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<y.Lists.colors.length;t++){var e="color"===y.Lists.colors[t]?"0 0 0 1":"255 255 255 1";y.Hooks.templates[y.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(o)for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n)){r=(i=y.Hooks.templates[n])[0].split(" ");var s=i[1].match(y.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),s.push(s.shift()),y.Hooks.templates[n]=[r.join(" "),s.join(" ")])}for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n))for(var a in r=(i=y.Hooks.templates[n])[0].split(" "))if(r.hasOwnProperty(a)){var l=n+r[a],c=a;y.Hooks.registered[l]=[n,c]}},getRoot:function(t){var e=y.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var n=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&c(y.Lists.units)?n:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(t,e,n){return y.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+y.Lists.colorNames[n]+(e?"":",1)"):e+n})},cleanRootPropertyValue:function(t,e){return y.RegEx.valueUnwrap.test(e)&&(e=e.match(y.RegEx.valueUnwrap)[1]),y.Values.isCSSNullValue(e)&&(e=y.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=y.Hooks.registered[t];if(n){var i=n[0],r=n[1];return(e=y.Hooks.cleanRootPropertyValue(i,e)).toString().match(y.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=y.Hooks.registered[t];if(i){var r,o=i[0],s=i[1];return(r=(n=y.Hooks.cleanRootPropertyValue(o,n)).toString().match(y.RegEx.valueSplit))[s]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return y.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return m.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(o<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){(!o||o>9)&&!m.State.isGingerbread&&(y.Lists.transformsBase=y.Lists.transformsBase.concat(y.Lists.transforms3D));for(var t=0;t<y.Lists.transformsBase.length;t++)(function(){var e=y.Lists.transformsBase[t];y.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return w(n)===i||w(n).transformCache[e]===i?/^scale/i.test(e)?1:0:w(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":m.State.isAndroid&&w(n).transformCache[e]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(w(n).transformCache[e]="("+r+")"),w(n).transformCache[e]}}})();for(var e=0;e<y.Lists.colors.length;e++)(function(){var t=y.Lists.colors[e];y.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var s;if(y.RegEx.wrappedValueAlreadyExtracted.test(r))s=r;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=l[r]!==i?l[r]:l.black:y.RegEx.isHex.test(r)?a="rgb("+y.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=l.black),s=(a||r).toString().match(y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(r)?r:(o<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(o<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}})();function n(t,e,n){if("border-box"===y.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(n||!1)){var i,r,o=0,s="width"===t?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(i=0;i<a.length;i++)r=parseFloat(y.getPropertyValue(e,a[i])),isNaN(r)||(o+=r);return n?-o:o}return 0}function r(t,e){return function(i,r,o){switch(i){case"name":return t;case"extract":return parseFloat(o)+n(t,r,e);case"inject":return parseFloat(o)-n(t,r,e)+"px"}}}y.Normalizations.registered.innerWidth=r("width",!0),y.Normalizations.registered.innerHeight=r("height",!0),y.Normalizations.registered.outerWidth=r("width"),y.Normalizations.registered.outerHeight=r("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||m.State.isAndroid&&!m.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(m.State.prefixMatches[t])return[m.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),d.isString(m.State.prefixElement.style[r]))return m.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,n,i){return e+e+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n+(n?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,n,r,s){function a(t,n){var r=0;if(o<=8)r=h.css(t,n);else{var l=!1;/^(width|height)$/.test(n)&&0===y.getPropertyValue(t,"display")&&(l=!0,y.setPropertyValue(t,"display",y.Values.getDisplayType(t)));var c,u=function(){l&&y.setPropertyValue(t,"display","none")};if(!s){if("height"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetHeight-(parseFloat(y.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(y.getPropertyValue(t,"paddingBottom"))||0);return u(),d}if("width"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetWidth-(parseFloat(y.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(y.getPropertyValue(t,"paddingRight"))||0);return u(),p}}c=w(t)===i?e.getComputedStyle(t,null):w(t).computedStyle?w(t).computedStyle:w(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),(""===(r=9===o&&"filter"===n?c.getPropertyValue(n):c[n])||null===r)&&(r=t.style[n]),u()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(n))&&(r=h(t).position()[n]+"px")}return r}var l;if(y.Hooks.registered[n]){var c=n,u=y.Hooks.getRoot(c);r===i&&(r=y.getPropertyValue(t,y.Names.prefixCheck(u)[0])),y.Normalizations.registered[u]&&(r=y.Normalizations.registered[u]("extract",t,r)),l=y.Hooks.extractValue(c,r)}else if(y.Normalizations.registered[n]){var d,p;"transform"!==(d=y.Normalizations.registered[n]("name",t))&&(p=a(t,y.Names.prefixCheck(d)[0]),y.Values.isCSSNullValue(p)&&y.Hooks.templates[n]&&(p=y.Hooks.templates[n][1])),l=y.Normalizations.registered[n]("extract",t,p)}if(!/^[\d-]/.test(l)){var f=w(t);if(f&&f.isSVG&&y.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch{l=0}else l=t.getAttribute(n);else l=a(t,y.Names.prefixCheck(n)[0])}return y.Values.isCSSNullValue(l)&&(l=0),m.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,s){var a=n;if("scroll"===n)s.container?s.container["scroll"+s.direction]=i:"Left"===s.direction?e.scrollTo(i,s.alternateValue):e.scrollTo(s.alternateValue,i);else if(y.Normalizations.registered[n]&&"transform"===y.Normalizations.registered[n]("name",t))y.Normalizations.registered[n]("inject",t,i),a="transform",i=w(t).transformCache[n];else{if(y.Hooks.registered[n]){var l=n,c=y.Hooks.getRoot(n);r=r||y.getPropertyValue(t,c),i=y.Hooks.injectValue(l,i,r),n=c}if(y.Normalizations.registered[n]&&(i=y.Normalizations.registered[n]("inject",t,i),n=y.Normalizations.registered[n]("name",t)),a=y.Names.prefixCheck(n)[0],o<=8)try{t.style[a]=i}catch{m.debug&&console.log("Browser does not support ["+i+"] for ["+a+"]")}else{var u=w(t);u&&u.isSVG&&y.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[a]=i}m.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(t){var e="",n=w(t);if((o||m.State.isAndroid&&!m.State.isChrome)&&n&&n.isSVG){var i=function(e){return parseFloat(y.getPropertyValue(t,e))},r={translate:[i("translateX"),i("translateY")],skewX:[i("skewX")],skewY:[i("skewY")],scale:1!==i("scale")?[i("scale"),i("scale")]:[i("scaleX"),i("scaleY")],rotate:[i("rotateZ"),0,0]};h.each(w(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(e+=t+"("+r[t].join(" ")+") ",delete r[t])})}else{var s,a;h.each(w(t).transformCache,function(n){if(s=w(t).transformCache[n],"transformPerspective"===n)return a=s,!0;9===o&&"rotateZ"===n&&(n="rotate"),e+=n+s+" "}),a&&(e="perspective"+a+" "+e)}y.setPropertyValue(t,"transform",e)}};y.Hooks.register(),y.Normalizations.register(),m.hook=function(t,e,n){var r;return t=u(t),h.each(t,function(t,o){if(w(o)===i&&m.init(o),n===i)r===i&&(r=y.getPropertyValue(o,e));else{var s=y.setPropertyValue(o,e,n);"transform"===s[0]&&m.CSS.flushTransformCache(o),r=s}}),r};var b=function(){var t;function r(){return o?_.promise||null:s}var o,s,a,l,p,g,v=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(o=!1,a=0,l=this,s=this):(o=!0,a=1,l=v?arguments[0].elements||arguments[0].e:arguments[0]);var _={promise:null,resolver:null,rejecter:null};if(o&&m.Promise&&(_.promise=new m.Promise(function(t,e){_.resolver=t,_.rejecter=e})),v?(p=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(p=arguments[a],g=arguments[a+1]),l=u(l)){var x,C=l.length,O=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!h.isPlainObject(g)){g={};for(var E=a+1;E<arguments.length;E++)d.isArray(arguments[E])||!/^(fast|normal|slow)$/i.test(arguments[E])&&!/^\d/.test(arguments[E])?d.isString(arguments[E])||d.isArray(arguments[E])?g.easing=arguments[E]:d.isFunction(arguments[E])&&(g.complete=arguments[E]):g.duration=arguments[E]}switch(p){case"scroll":x="scroll";break;case"reverse":x="reverse";break;case"pause":var M=(new Date).getTime();return h.each(l,function(t,e){S(e,M)}),h.each(m.State.calls,function(t,e){var n=!1;e&&h.each(e[1],function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||(h.each(l,function(t,i){if(i===r)return e[5]={resume:!1},n=!0,!1}),!n&&void 0)})}),r();case"resume":return h.each(l,function(t,e){k(e)}),h.each(m.State.calls,function(t,e){var n=!1;e&&h.each(e[1],function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||!e[5]||(h.each(l,function(t,i){if(i===r)return e[5].resume=!0,n=!0,!1}),!n&&void 0)})}),r();case"finish":case"finishAll":case"stop":h.each(l,function(t,e){w(e)&&w(e).delayTimer&&(clearTimeout(w(e).delayTimer.setTimeout),w(e).delayTimer.next&&w(e).delayTimer.next(),delete w(e).delayTimer),"finishAll"===p&&(!0===g||d.isString(g))&&(h.each(h.queue(e,d.isString(g)?g:""),function(t,e){d.isFunction(e)&&e()}),h.queue(e,d.isString(g)?g:"",[]))});var L=[];return h.each(m.State.calls,function(t,e){e&&h.each(e[1],function(n,r){var o=g===i?"":g;if(!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue))return!0;h.each(l,function(n,i){if(i===r)if((!0===g||d.isString(g))&&(h.each(h.queue(i,d.isString(g)?g:""),function(t,e){d.isFunction(e)&&e(null,!0)}),h.queue(i,d.isString(g)?g:"",[])),"stop"===p){var s=w(i);s&&s.tweensContainer&&(!0===o||""===o)&&h.each(s.tweensContainer,function(t,e){e.endValue=e.currentValue}),L.push(t)}else("finish"===p||"finishAll"===p)&&(e[2].duration=1)})})}),"stop"===p&&(h.each(L,function(t,e){P(e,!0)}),_.promise&&_.resolver(l)),r();default:if(!h.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&m.Redirects[p]){var $=(t=h.extend({},g)).duration,j=t.delay||0;return!0===t.backwards&&(l=h.extend(!0,[],l).reverse()),h.each(l,function(e,n){parseFloat(t.stagger)?t.delay=j+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=j+t.stagger.call(n,e,C)),t.drag&&(t.duration=parseFloat($)||(/^(callout|transition)/.test(p)?1e3:400),t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)),m.Redirects[p].call(n,n,t||{},e,C,l,_.promise?_:i)}),r()}var D="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return _.promise?_.rejecter(new Error(D)):e.console&&console.log(D),r()}x="start"}var I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];h.each(l,function(t,r){d.isNode(r)&&function(t,r){var o,s=h.extend({},m.defaults,g),a={};switch(w(t)===i&&m.init(t),parseFloat(s.delay)&&!1!==s.queue&&h.queue(t,s.queue,function(e,n){if(!0===n)return!0;m.velocityQueueEntryFlag=!0;var i=m.State.delayedElements.count++;m.State.delayedElements[i]=t;var r=function(t){return function(){m.State.delayedElements[t]=!1,e()}}(i);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:r}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=f;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}function u(u){var f,v;if(s.begin&&0===O)try{s.begin.call(l,l)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===x){var b,S,k,P=/^x$/i.test(s.axis)?"Left":"Top",E=parseFloat(s.offset)||0;s.container?d.isWrapped(s.container)||d.isNode(s.container)?(s.container=s.container[0]||s.container,k=(b=s.container["scroll"+P])+h(t).position()[P.toLowerCase()]+E):s.container=null:(b=m.State.scrollAnchor[m.State["scrollProperty"+P]],S=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===P?"Top":"Left")]],k=h(t).offset()[P.toLowerCase()]+E),a={scroll:{rootPropertyValue:!1,startValue:b,currentValue:b,endValue:k,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:P,alternateValue:S}},element:t},m.debug&&console.log("tweensContainer (scroll): ",a.scroll,t)}else if("reverse"===x){if(!(f=w(t)))return;if(!f.tweensContainer)return void h.dequeue(t,s.queue);for(var M in"none"===f.opts.display&&(f.opts.display="auto"),"hidden"===f.opts.visibility&&(f.opts.visibility="visible"),f.opts.loop=!1,f.opts.begin=null,f.opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=h.extend({},f.opts,s),v=h.extend(!0,{},f?f.tweensContainer:null))if(v.hasOwnProperty(M)&&"element"!==M){var L=v[M].startValue;v[M].startValue=v[M].currentValue=v[M].endValue,v[M].endValue=L,d.isEmptyObject(g)||(v[M].easing=s.easing),m.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(v[M]),t)}a=v}else if("start"===x){(f=w(t))&&f.tweensContainer&&!0===f.isAnimating&&(v=f.tweensContainer);var $=function(e,n){var i,o,a;return d.isFunction(e)&&(e=e.call(t,r,C)),d.isArray(e)?(i=e[0],!d.isArray(e[1])&&/^[\d-]/.test(e[1])||d.isFunction(e[1])||y.RegEx.isHex.test(e[1])?a=e[1]:d.isString(e[1])&&!y.RegEx.isHex.test(e[1])&&m.Easings[e[1]]||d.isArray(e[1])?(o=n?e[1]:A(e[1],s.duration),a=e[2]):a=e[1]||e[2]):i=e,n||(o=o||s.easing),d.isFunction(i)&&(i=i.call(t,r,C)),d.isFunction(a)&&(a=a.call(t,r,C)),[i||0,o,a]},j=function(r,l){var c,u=y.Hooks.getRoot(r),p=!1,g=l[0],b=l[1],_=l[2];if(f&&f.isSVG||"tween"===u||!1!==y.Names.prefixCheck(u)[1]||y.Normalizations.registered[u]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(r)&&!_&&0!==g&&(_=0),s._cacheValues&&v&&v[r]?(_===i&&(_=v[r].endValue+v[r].unitType),p=f.rootPropertyValueCache[u]):y.Hooks.registered[r]?_===i?(p=y.getPropertyValue(t,u),_=y.getPropertyValue(t,r,p)):p=y.Hooks.templates[u][1]:_===i&&(_=y.getPropertyValue(t,r));var x,w,S,k=!1,C=function(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=y.Values.getUnitType(t)),[i,n]};if(_!==g&&d.isString(_)&&d.isString(g)){c="";var O=0,A=0,T=[],P=[],E=0,M=0,L=0;for(_=y.Hooks.fixColors(_),g=y.Hooks.fixColors(g);O<_.length&&A<g.length;){var $=_[O],j=g[A];if(/[\d\.-]/.test($)&&/[\d\.-]/.test(j)){for(var D=$,N=j,R=".",B=".";++O<_.length;){if(($=_[O])===R)R="..";else if(!/\d/.test($))break;D+=$}for(;++A<g.length;){if((j=g[A])===B)B="..";else if(!/\d/.test(j))break;N+=j}var V=y.Hooks.getUnit(_,O),z=y.Hooks.getUnit(g,A);if(O+=V.length,A+=z.length,V===z)D===N?c+=D+V:(c+="{"+T.length+(M?"!":"")+"}"+V,T.push(parseFloat(D)),P.push(parseFloat(N)));else{var F=parseFloat(D),W=parseFloat(N);c+=(E<5?"calc":"")+"("+(F?"{"+T.length+(M?"!":"")+"}":"0")+V+" + "+(W?"{"+(T.length+(F?1:0))+(M?"!":"")+"}":"0")+z+")",F&&(T.push(F),P.push(0)),W&&(T.push(0),P.push(W))}}else{if($!==j){E=0;break}c+=$,O++,A++,0===E&&"c"===$||1===E&&"a"===$||2===E&&"l"===$||3===E&&"c"===$||E>=4&&"("===$?E++:(E&&E<5||E>=4&&")"===$&&--E<5)&&(E=0),0===M&&"r"===$||1===M&&"g"===$||2===M&&"b"===$||3===M&&"a"===$||M>=3&&"("===$?(3===M&&"a"===$&&(L=1),M++):L&&","===$?++L>3&&(M=L=0):(L&&M<(L?5:4)||M>=(L?4:3)&&")"===$&&--M<(L?5:4))&&(M=L=0)}}(O!==_.length||A!==g.length)&&(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+g+'", "'+_+'"]'),c=i),c&&(T.length?(m.debug&&console.log('Pattern found "'+c+'" -> ',T,P,"["+_+","+g+"]"),_=T,g=P,w=S=""):c=i)}c||(_=(x=C(r,_))[0],S=x[1],g=(x=C(r,g))[0].replace(/^([+-\/*])=/,function(t,e){return k=e,""}),w=x[1],_=parseFloat(_)||0,g=parseFloat(g)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(g/=100,w="em"):/^scale/.test(r)?(g/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(g=g/100*255,w="")));var H=function(){var i={myParent:t.parentNode||n.body,position:y.getPropertyValue(t,"position"),fontSize:y.getPropertyValue(t,"fontSize")},r=i.position===I.lastPosition&&i.myParent===I.lastParent,o=i.fontSize===I.lastFontSize;I.lastParent=i.myParent,I.lastPosition=i.position,I.lastFontSize=i.fontSize;var s=100,a={};if(o&&r)a.emToPx=I.lastEmToPx,a.percentToPxWidth=I.lastPercentToPxWidth,a.percentToPxHeight=I.lastPercentToPxHeight;else{var l=f&&f.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");m.init(l),i.myParent.appendChild(l),h.each(["overflow","overflowX","overflowY"],function(t,e){m.CSS.setPropertyValue(l,e,"hidden")}),m.CSS.setPropertyValue(l,"position",i.position),m.CSS.setPropertyValue(l,"fontSize",i.fontSize),m.CSS.setPropertyValue(l,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){m.CSS.setPropertyValue(l,e,s+"%")}),m.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(y.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(y.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=I.lastEmToPx=(parseFloat(y.getPropertyValue(l,"paddingLeft"))||1)/s,i.myParent.removeChild(l)}return null===I.remToPx&&(I.remToPx=parseFloat(y.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(e.innerWidth)/100,I.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=I.remToPx,a.vwToPx=I.vwToPx,a.vhToPx=I.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t),a};if(/[\/*]/.test(k))w=S;else if(S!==w&&0!==_)if(0===g)w=S;else{o=o||H();var U=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(S){case"%":_*="x"===U?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:_*=o[S+"ToPx"]}switch(w){case"%":_*=1/("x"===U?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:_*=1/o[w+"ToPx"]}}switch(k){case"+":g=_+g;break;case"-":g=_-g;break;case"*":g*=_;break;case"/":g=_/g}a[r]={rootPropertyValue:p,startValue:_,currentValue:_,endValue:g,unitType:w,easing:b},c&&(a[r].pattern=c),m.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(a[r]),t)}else m.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var D in p)if(p.hasOwnProperty(D)){var R=y.Names.camelCase(D),B=$(p[D]);if(c(y.Lists.colors)){var V=B[0],z=B[1],F=B[2];if(y.RegEx.isHex.test(V)){for(var W=["Red","Green","Blue"],H=y.Values.hexToRgb(V),U=F?y.Values.hexToRgb(F):i,q=0;q<W.length;q++){var G=[H[q]];z&&G.push(z),U!==i&&G.push(U[q]),j(R+W[q],G)}continue}}j(R,B)}a.element=t}a.element&&(y.Values.addClass(t,"velocity-animating"),N.push(a),(f=w(t))&&(""===s.queue&&(f.tweensContainer=a,f.opts=s),f.isAnimating=!0),O===C-1?(m.State.calls.push([N,l,s,null,_.resolver,null,0]),!1===m.State.isTicking&&(m.State.isTicking=!0,T())):O++)}if(!1!==m.mock&&(!0===m.mock?s.duration=s.delay=1:(s.duration*=parseFloat(m.mock)||1,s.delay*=parseFloat(m.mock)||1)),s.easing=A(s.easing,s.duration),s.begin&&!d.isFunction(s.begin)&&(s.begin=null),s.progress&&!d.isFunction(s.progress)&&(s.progress=null),s.complete&&!d.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=m.CSS.Values.getDisplayType(t))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&m.State.isMobile&&!m.State.isGingerbread,!1===s.queue)if(s.delay){var v=m.State.delayedElements.count++;m.State.delayedElements[v]=t;var b=function(t){return function(){m.State.delayedElements[t]=!1,u()}}(v);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(u,parseFloat(s.delay)),next:b}}else u();else h.queue(t,s.queue,function(t,e){if(!0===e)return _.promise&&_.resolver(l),!0;m.velocityQueueEntryFlag=!0,u()});(""===s.queue||"fx"===s.queue)&&"inprogress"!==h.queue(t)[0]&&h.dequeue(t)}(r,t)}),(t=h.extend({},m.defaults,g)).loop=parseInt(t.loop,10);var R=2*t.loop-1;if(t.loop)for(var B=0;B<R;B++){var V={delay:t.delay,progress:t.progress};B===R-1&&(V.display=t.display,V.visibility=t.visibility,V.complete=t.complete),b(l,"reverse",V)}return r()}_.promise&&(p&&g&&!1===g.promiseRejectEmpty?_.resolver():_.rejecter())};(m=h.extend(b,m)).animate=b;var _=e.requestAnimationFrame||s;if(!m.State.isMobile&&n.hidden!==i){var x=function(){n.hidden?(_=function(t){return setTimeout(function(){t(!0)},16)},T()):_=e.requestAnimationFrame||s};x(),n.addEventListener("visibilitychange",x)}return t.Velocity=m,t!==e&&(t.fn.velocity=b,t.fn.velocity.defaults=m.defaults),h.each(["Down","Up"],function(t,e){m.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===i&&(l.display="Down"===e?"inline"===m.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var n in 0===r&&c&&c.call(s,s),p)if(p.hasOwnProperty(n)){d[n]=t.style[n];var i=y.getPropertyValue(t,n);p[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);r===o-1&&(u&&u.call(s,s),a&&a.resolver(s))},m(t,p,l)}}),h.each(["In","Out"],function(t,e){m.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.complete,u={opacity:"In"===e?1:0};0!==r&&(l.begin=null),l.complete=r!==o-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),m(this,u,l)}}),m}function w(t){var e=h.data(t,"velocity");return null===e?i:e}function S(t,e){var n=w(t);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-e+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function k(t,e){var n=w(t);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function C(t){return function(e){return Math.round(e*t)*(1/t)}}function O(t,n,i,r){var o=.1,s="Float32Array"in e;if(4!==arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var l=s?new Float32Array(11):new Array(11);function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function h(t){return 3*t}function d(t,e,n){return((c(e,n)*t+u(e,n))*t+h(e))*t}function p(t,e,n){return 3*c(e,n)*t*t+2*u(e,n)*t+h(e)}function f(e){for(var n=0,r=1;10!==r&&l[r]<=e;++r)n+=o;--r;var s=n+(e-l[r])/(l[r+1]-l[r])*o,a=p(s,t,i);return a>=.001?function(e,n){for(var r=0;r<4;++r){var o=p(n,t,i);if(0===o)return n;n-=(d(n,t,i)-e)/o}return n}(e,s):0===a?s:function(e,n,r){var o,s,a=0;do{(o=d(s=n+(r-n)/2,t,i)-e)>0?r=s:n=s}while(Math.abs(o)>1e-7&&++a<10);return s}(e,n,n+o)}var g=!1;function m(){g=!0,(t!==n||i!==r)&&function(){for(var e=0;e<11;++e)l[e]=d(e*o,t,i)}()}var v=function(e){return g||m(),t===n&&i===r?e:0===e?0:1===e?1:d(f(e),n,r)};v.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var y="generateBezier("+[t,n,i,r]+")";return v.toString=function(){return y},v}function A(t,e){var n=t;return d.isString(t)?m.Easings[t]||(n=!1):n=d.isArray(t)&&1===t.length?C.apply(null,t):d.isArray(t)&&2===t.length?v.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&O.apply(null,t),!1===n&&(n=m.Easings[m.defaults.easing]?m.defaults.easing:g),n}function T(t){if(t){var e=m.timestamp&&!0!==t?t:a.now(),n=m.State.calls.length;n>1e4&&(m.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}(m.State.calls),n=m.State.calls.length);for(var r=0;r<n;r++)if(m.State.calls[r]){var s=m.State.calls[r],l=s[0],c=s[2],u=s[3],p=!u,f=null,g=s[5],v=s[6];if(u||(u=m.State.calls[r][3]=e-16),g){if(!0!==g.resume)continue;u=s[3]=Math.round(e-v-16),s[5]=null}v=s[6]=e-u;for(var b=Math.min(v/c.duration,1),x=0,S=l.length;x<S;x++){var k=l[x],C=k.element;if(w(C)){var O=!1;if(c.display!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){h.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){y.setPropertyValue(C,"display",e)})}y.setPropertyValue(C,"display",c.display)}for(var A in c.visibility!==i&&"hidden"!==c.visibility&&y.setPropertyValue(C,"visibility",c.visibility),k)if(k.hasOwnProperty(A)&&"element"!==A){var E,M=k[A],L=d.isString(M.easing)?m.Easings[M.easing]:M.easing;if(d.isString(M.pattern)){var $=1===b?function(t,e,n){var i=M.endValue[e];return n?Math.round(i):i}:function(t,e,n){var i=M.startValue[e],r=M.endValue[e]-i,o=i+r*L(b,c,r);return n?Math.round(o):o};E=M.pattern.replace(/{(\d+)(!)?}/g,$)}else if(1===b)E=M.endValue;else{var j=M.endValue-M.startValue;E=M.startValue+j*L(b,c,j)}if(!p&&E===M.currentValue)continue;if(M.currentValue=E,"tween"===A)f=E;else{var D;if(y.Hooks.registered[A]){D=y.Hooks.getRoot(A);var I=w(C).rootPropertyValueCache[D];I&&(M.rootPropertyValue=I)}var N=y.setPropertyValue(C,A,M.currentValue+(o<9&&0===parseFloat(E)?"":M.unitType),M.rootPropertyValue,M.scrollData);y.Hooks.registered[A]&&(y.Normalizations.registered[D]?w(C).rootPropertyValueCache[D]=y.Normalizations.registered[D]("extract",null,N[1]):w(C).rootPropertyValueCache[D]=N[1]),"transform"===N[0]&&(O=!0)}}c.mobileHA&&w(C).transformCache.translate3d===i&&(w(C).transformCache.translate3d="(0px, 0px, 0px)",O=!0),O&&y.flushTransformCache(C)}}c.display!==i&&"none"!==c.display&&(m.State.calls[r][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(m.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],b,Math.max(0,u+c.duration-e),u,f),1===b&&P(r)}}m.State.isTicking&&_(T)}function P(t,e){if(!m.State.calls[t])return!1;for(var n=m.State.calls[t][0],r=m.State.calls[t][1],o=m.State.calls[t][2],s=m.State.calls[t][4],a=!1,l=0,c=n.length;l<c;l++){var u=n[l].element;!e&&!o.loop&&("none"===o.display&&y.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&y.setPropertyValue(u,"visibility",o.visibility));var d=w(u);if(!0!==o.loop&&(h.queue(u)[1]===i||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;h.each(y.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=d.transformCache[e];d.transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete d.transformCache[e])}),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&y.flushTransformCache(u),y.Values.removeClass(u,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}s&&!0!==o.loop&&s(r),d&&!0===o.loop&&!e&&(h.each(d.tweensContainer,function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0){var n=e.startValue;e.startValue=e.endValue,e.endValue=n}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),m(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&h.dequeue(u,o.queue)}m.State.calls[t]=!1;for(var f=0,g=m.State.calls.length;f<g;f++)if(!1!==m.State.calls[f]){a=!0;break}!1===a&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0);const ru=eu(iu.exports);var ou={exports:{}};!function(t,e){(function(){var n,i="Expected a function",r="__lodash_hash_undefined__",o="__lodash_placeholder__",s=32,a=128,l=1/0,c=9007199254740991,u=NaN,h=4294967295,d=h-1,p=h>>>1,f=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",O="[object RegExp]",A="[object Set]",T="[object String]",P="[object Symbol]",E="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",$="[object Float32Array]",j="[object Float64Array]",D="[object Int8Array]",I="[object Int16Array]",N="[object Int32Array]",R="[object Uint8Array]",B="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Ot="\\ufe0e\\ufe0f",At="\\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",Tt="["+xt+"]",Pt="["+At+"]",Et="["+wt+"]",Mt="\\d+",Lt="["+St+"]",$t="["+kt+"]",jt="[^"+xt+At+Mt+St+kt+Ct+"]",Dt="\\ud83c[\\udffb-\\udfff]",It="[^"+xt+"]",Nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Vt="\\u200d",zt="(?:"+$t+"|"+jt+")",Ft="(?:"+Bt+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Et+"|"+Dt+")?",qt="["+Ot+"]?",Gt=qt+Ut+"(?:"+Vt+"(?:"+[It,Nt,Rt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,Nt,Rt].join("|")+")"+Gt,Yt="(?:"+[It+Et+"?",Et,Nt,Rt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Et,"g"),Qt=RegExp(Dt+"(?="+Dt+")|"+Yt+Gt,"g"),Jt=RegExp([Bt+"?"+$t+"+"+Wt+"(?="+[Pt,Bt,"$"].join("|")+")",Ft+"+"+Ht+"(?="+[Pt,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Vt+xt+wt+Ot+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[$]=re[j]=re[D]=re[I]=re[N]=re[R]=re[B]=re[V]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[O]=re[A]=re[T]=re[E]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[$]=oe[j]=oe[D]=oe[I]=oe[N]=oe[w]=oe[S]=oe[k]=oe[O]=oe[A]=oe[T]=oe[P]=oe[R]=oe[B]=oe[V]=oe[z]=!0,oe[b]=oe[_]=oe[E]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof tu&&tu&&tu.Object===Object&&tu,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch{}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Pe(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Ee(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function $e(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function je(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function De(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Ie=We("length");function Ne(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function Re(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Re(t,ze,n)}function Ve(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Fe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:u}function We(t){return function(e){return null==e?n:e[t]}}function He(t){return function(e){return null==t?n:t[e]}}function Ue(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function qe(t,e){for(var i,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==n&&(i=i===n?s:i+s)}return i}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t&&t.slice(0,hn(t)+1).replace(it,"")}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,function(e){return t[e]})}function Ze(t,e){return t.has(e)}function Qe(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Je(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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:"'n",ſ:"s"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,s=[];++n<i;){var a=t[n];(a===e||a===o)&&(t[n]=o,s[r++]=n)}return s}function ln(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){return rn(t)?function(t){for(var e=Qt.lastIndex=0;Qt.test(t);)++e;return e}(t):Ie(t)}function un(t){return rn(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var dn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),pn=function t(e){var rt,xt=(e=null==e?he:pn.defaults(he.Object(),e,pn.pick(he,ne))).Array,wt=e.Date,St=e.Error,kt=e.Function,Ct=e.Math,Ot=e.Object,At=e.RegExp,Tt=e.String,Pt=e.TypeError,Et=xt.prototype,Mt=kt.prototype,Lt=Ot.prototype,$t=e["__core-js_shared__"],jt=Mt.toString,Dt=Lt.hasOwnProperty,It=0,Nt=(rt=/[^.]+$/.exec($t&&$t.keys&&$t.keys.IE_PROTO||""))?"Symbol(src)_1."+rt:"",Rt=Lt.toString,Bt=jt.call(Ot),Vt=he._,zt=At("^"+jt.call(Dt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=fe?e.Buffer:n,Wt=e.Symbol,Ht=e.Uint8Array,Ut=Ft?Ft.allocUnsafe:n,qt=sn(Ot.getPrototypeOf,Ot),Gt=Ot.create,Xt=Lt.propertyIsEnumerable,Yt=Et.splice,Qt=Wt?Wt.isConcatSpreadable:n,te=Wt?Wt.iterator:n,se=Wt?Wt.toStringTag:n,ce=function(){try{var t=co(Ot,"defineProperty");return t({},"",{}),t}catch{}}(),ue=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,de=wt&&wt.now!==he.Date.now&&wt.now,pe=e.setTimeout!==he.setTimeout&&e.setTimeout,ge=Ct.ceil,me=Ct.floor,Ie=Ot.getOwnPropertySymbols,He=Ft?Ft.isBuffer:n,fn=e.isFinite,gn=Et.join,mn=sn(Ot.keys,Ot),vn=Ct.max,yn=Ct.min,bn=wt.now,_n=e.parseInt,xn=Ct.random,wn=Et.reverse,Sn=co(e,"DataView"),kn=co(e,"Map"),Cn=co(e,"Promise"),On=co(e,"Set"),An=co(e,"WeakMap"),Tn=co(Ot,"create"),Pn=An&&new An,En={},Mn=Ro(Sn),Ln=Ro(kn),$n=Ro(Cn),jn=Ro(On),Dn=Ro(An),In=Wt?Wt.prototype:n,Nn=In?In.valueOf:n,Rn=In?In.toString:n;function Bn(t){if(ea(t)&&!Hs(t)&&!(t instanceof Wn)){if(t instanceof Fn)return t;if(Dt.call(t,"__wrapped__"))return Bo(t)}return new Fn(t)}var Vn=function(){function t(){}return function(e){if(!ta(e))return{};if(Gt)return Gt(e);t.prototype=e;var i=new t;return t.prototype=n,i}}();function zn(){}function Fn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new qn;++e<n;)this.add(t[e])}function Xn(t){var e=this.__data__=new Un(t);this.size=e.size}function Yn(t,e){var n=Hs(t),i=!n&&Ws(t),r=!n&&!i&&Xs(t),o=!n&&!i&&!r&&ca(t),s=n||i||r||o,a=s?Ge(t.length,Tt):[],l=a.length;for(var c in t)(e||Dt.call(t,c))&&(!s||!("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vo(c,l)))&&a.push(c);return a}function Kn(t){var e=t.length;return e?t[qi(0,e-1)]:n}function Zn(t,e){return $o(Ar(t),si(e,0,t.length))}function Qn(t){return $o(Ar(t))}function Jn(t,e,i){(i!==n&&!Vs(t[e],i)||i===n&&!(e in t))&&ri(t,e,i)}function ti(t,e,i){var r=t[e];(!Dt.call(t,e)||!Vs(r,i)||i===n&&!(e in t))&&ri(t,e,i)}function ei(t,e){for(var n=t.length;n--;)if(Vs(t[n][0],e))return n;return-1}function ni(t,e,n,i){return hi(t,function(t,r,o){e(i,t,n(t),o)}),i}function ii(t,e){return t&&Tr(e,Ma(e),t)}function ri(t,e,n){"__proto__"==e&&ce?ce(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function oi(t,e){for(var i=-1,r=e.length,o=xt(r),s=null==t;++i<r;)o[i]=s?n:Oa(t,e[i]);return o}function si(t,e,i){return t==t&&(i!==n&&(t=t<=i?t:i),e!==n&&(t=t>=e?t:e)),t}function ai(t,e,i,r,o,s){var a,l=1&e,c=2&e,u=4&e;if(i&&(a=o?i(t,r,o,s):i(t)),a!==n)return a;if(!ta(t))return t;var h=Hs(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Dt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ar(t,a)}else{var d=po(t),p=d==_||d==x;if(Xs(t))return xr(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:go(t),!l)return c?function(t,e){return Tr(t,ho(t),e)}(t,function(t,e){return t&&Tr(e,La(e),t)}(a,t)):function(t,e){return Tr(t,uo(t),e)}(t,ii(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case M:return wr(t);case v:case y:return new i(+t);case L:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case $:case j:case D:case I:case N:case R:case B:case V:case z:return Sr(t,n);case w:return new i;case S:case T:return new i(t);case O:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new i;case P:return function(t){return Nn?Ot(Nn.call(t)):{}}(t)}}(t,d,l)}}s||(s=new Xn);var f=s.get(t);if(f)return f;s.set(t,a),sa(t)?t.forEach(function(n){a.add(ai(n,e,i,n,t,s))}):na(t)&&t.forEach(function(n,r){a.set(r,ai(n,e,i,r,t,s))});var m=h?n:(u?c?no:eo:c?La:Ma)(t);return Ce(m||t,function(n,r){m&&(n=t[r=n]),ti(a,r,ai(n,e,i,r,t,s))}),a}function li(t,e,i){var r=i.length;if(null==t)return!r;for(t=Ot(t);r--;){var o=i[r],s=e[o],a=t[o];if(a===n&&!(o in t)||!s(a))return!1}return!0}function ci(t,e,r){if("function"!=typeof t)throw new Pt(i);return Po(function(){t.apply(n,r)},e)}function ui(t,e,n,i){var r=-1,o=Pe,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Ee,s=!1):e.length>=200&&(o=Ze,s=!1,e=new Gn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Bn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Fn.prototype=Vn(zn.prototype),Fn.prototype.constructor=Fn,Wn.prototype=Vn(zn.prototype),Wn.prototype.constructor=Wn,Hn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Hn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hn.prototype.get=function(t){var e=this.__data__;if(Tn){var i=e[t];return i===r?n:i}return Dt.call(e,t)?e[t]:n},Hn.prototype.has=function(t){var e=this.__data__;return Tn?e[t]!==n:Dt.call(e,t)},Hn.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Tn&&e===n?r:e,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(t){var e=this.__data__,n=ei(e,t);return!(n<0||(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,0))},Un.prototype.get=function(t){var e=this.__data__,i=ei(e,t);return i<0?n:e[i][1]},Un.prototype.has=function(t){return ei(this.__data__,t)>-1},Un.prototype.set=function(t,e){var n=this.__data__,i=ei(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(kn||Un),string:new Hn}},qn.prototype.delete=function(t){var e=ao(this,t).delete(t);return this.size-=e?1:0,e},qn.prototype.get=function(t){return ao(this,t).get(t)},qn.prototype.has=function(t){return ao(this,t).has(t)},qn.prototype.set=function(t,e){var n=ao(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Gn.prototype.add=Gn.prototype.push=function(t){return this.__data__.set(t,r),this},Gn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.clear=function(){this.__data__=new Un,this.size=0},Xn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Xn.prototype.get=function(t){return this.__data__.get(t)},Xn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Un){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new qn(i)}return n.set(t,e),this.size=n.size,this};var hi=Mr(bi),di=Mr(_i,!0);function pi(t,e){var n=!0;return hi(t,function(t,i,r){return n=!!e(t,i,r)}),n}function fi(t,e,i){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(l===n?a==a&&!la(a):i(a,l)))var l=a,c=s}return c}function gi(t,e){var n=[];return hi(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function mi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=mo),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?mi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var vi=Lr(),yi=Lr(!0);function bi(t,e){return t&&vi(t,e,Ma)}function _i(t,e){return t&&yi(t,e,Ma)}function xi(t,e){return Te(e,function(e){return Zs(t[e])})}function wi(t,e){for(var i=0,r=(e=vr(e,t)).length;null!=t&&i<r;)t=t[No(e[i++])];return i&&i==r?t:n}function Si(t,e,n){var i=e(t);return Hs(t)?i:Le(i,n(t))}function ki(t){return null==t?t===n?"[object Undefined]":"[object Null]":se&&se in Ot(t)?function(t){var e=Dt.call(t,se),i=t[se];try{t[se]=n;var r=!0}catch{}var o=Rt.call(t);return r&&(e?t[se]=i:delete t[se]),o}(t):function(t){return Rt.call(t)}(t)}function Ci(t,e){return t>e}function Oi(t,e){return null!=t&&Dt.call(t,e)}function Ai(t,e){return null!=t&&e in Ot(t)}function Ti(t,e,i){for(var r=i?Ee:Pe,o=t[0].length,s=t.length,a=s,l=xt(s),c=1/0,u=[];a--;){var h=t[a];a&&e&&(h=Me(h,Ye(e))),c=yn(h.length,c),l[a]=!i&&(e||o>=120&&h.length>=120)?new Gn(a&&h):n}h=t[0];var d=-1,p=l[0];t:for(;++d<o&&u.length<c;){var f=h[d],g=e?e(f):f;if(f=i||0!==f?f:0,!(p?Ze(p,g):r(u,g,i))){for(a=s;--a;){var m=l[a];if(!(m?Ze(m,g):r(t[a],g,i)))continue t}p&&p.push(g),u.push(f)}}return u}function Pi(t,e,i){var r=null==(t=Oo(t,e=vr(e,t)))?t:t[No(Ko(e))];return null==r?n:Se(r,t,i)}function Ei(t){return ea(t)&&ki(t)==g}function Mi(t,e,i,r,o){return t===e||(null==t||null==e||!ea(t)&&!ea(e)?t!=t&&e!=e:function(t,e,i,r,o,s){var a=Hs(t),l=Hs(e),c=a?m:po(t),u=l?m:po(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Xs(t)){if(!Xs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Xn),a||ca(t)?Jr(t,e,i,r,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case v:case y:case S:return Vs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case O:case T:return t==e+"";case w:var a=on;case A:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Jr(a(t),a(e),i,r,o,s);return s.delete(t),u;case P:if(Nn)return Nn.call(t)==Nn.call(e)}return!1}(t,e,c,i,r,o,s);if(!(1&i)){var f=h&&Dt.call(t,"__wrapped__"),_=d&&Dt.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Xn),o(x,C,i,r,s)}}return!!p&&(s||(s=new Xn),function(t,e,i,r,o,s){var a=1&i,l=eo(t),c=l.length;if(c!=eo(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:Dt.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(r)var y=a?r(v,m,h,e,t,s):r(m,v,h,t,e,s);if(!(y===n?m===v||o(m,v,i,r,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(f=!1)}return s.delete(t),s.delete(e),f}(t,e,i,r,o,s))}(t,e,i,r,Mi,o))}function Li(t,e,i,r){var o=i.length,s=o,a=!r;if(null==t)return!s;for(t=Ot(t);o--;){var l=i[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=i[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===n&&!(c in t))return!1}else{var d=new Xn;if(r)var p=r(u,h,c,t,e,d);if(!(p===n?Mi(h,u,3,r,d):p))return!1}}return!0}function $i(t){return!(!ta(t)||function(t){return!!Nt&&Nt in t}(t))&&(Zs(t)?zt:gt).test(Ro(t))}function ji(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Hs(t)?Bi(t[0],t[1]):Ri(t):dl(t)}function Di(t){if(!wo(t))return mn(t);var e=[];for(var n in Ot(t))Dt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ii(t,e){return t<e}function Ni(t,e){var n=-1,i=qs(t)?xt(t.length):[];return hi(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function Ri(t){var e=lo(t);return 1==e.length&&e[0][2]?ko(e[0][0],e[0][1]):function(n){return n===t||Li(n,t,e)}}function Bi(t,e){return bo(t)&&So(e)?ko(No(t),e):function(i){var r=Oa(i,t);return r===n&&r===e?Aa(i,t):Mi(e,r,3)}}function Vi(t,e,i,r,o){t!==e&&vi(e,function(s,a){if(o||(o=new Xn),ta(s))!function(t,e,i,r,o,s,a){var l=Ao(t,i),c=Ao(e,i),u=a.get(c);if(u)Jn(t,i,u);else{var h=s?s(l,c,i+"",t,e,a):n,d=h===n;if(d){var p=Hs(c),f=!p&&Xs(c),g=!p&&!f&&ca(c);h=c,p||f||g?Hs(l)?h=l:Gs(l)?h=Ar(l):f?(d=!1,h=xr(c,!0)):g?(d=!1,h=Sr(c,!0)):h=[]:ra(c)||Ws(c)?(h=l,Ws(l)?h=va(l):(!ta(l)||Zs(l))&&(h=go(c))):d=!1}d&&(a.set(c,h),o(h,c,r,s,a),a.delete(c)),Jn(t,i,h)}}(t,e,a,i,Vi,r,o);else{var l=r?r(Ao(t,a),s,a+"",t,e,o):n;l===n&&(l=s),Jn(t,a,l)}},La)}function zi(t,e){var i=t.length;if(i)return vo(e+=e<0?i:0,i)?t[e]:n}function Fi(t,e,n){e=e.length?Me(e,function(t){return Hs(t)?function(e){return wi(e,1===t.length?t[0]:t)}:t}):[il];var i=-1;return e=Me(e,Ye(so())),function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=kr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(Ni(t,function(t,n,r){return{criteria:Me(e,function(e){return e(t)}),index:++i,value:t}}))}function Wi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=wi(t,s);n(a,s)&&Zi(o,vr(s,t),a)}return o}function Hi(t,e,n,i){var r=i?Ve:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Ar(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Yt.call(a,l,1),Yt.call(t,l,1);return t}function Ui(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;vo(r)?Yt.call(t,r,1):cr(t,r)}}return t}function qi(t,e){return t+me(xn()*(e-t+1))}function Gi(t,e){var n="";if(!t||e<1||e>c)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Xi(t,e){return Eo(Co(t,e,il),t+"")}function Yi(t){return Kn(Va(t))}function Ki(t,e){var n=Va(t);return $o(n,si(e,0,n.length))}function Zi(t,e,i,r){if(!ta(t))return t;for(var o=-1,s=(e=vr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=No(e[o]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=r?r(h,c,l):n)===n&&(u=ta(h)?h:vo(e[o+1])?[]:{})}ti(l,c,u),l=l[c]}return t}var Qi=Pn?function(t,e){return Pn.set(t,e),t}:il,Ji=ce?function(t,e){return ce(t,"toString",{configurable:!0,enumerable:!1,value:tl(e),writable:!0})}:il;function tr(t){return $o(Va(t))}function er(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=xt(r);++i<r;)o[i]=t[i+e];return o}function nr(t,e){var n;return hi(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function ir(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=p){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!la(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return rr(t,e,il,n)}function rr(t,e,i,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=i(e))!=e,l=null===e,c=la(e),u=e===n;o<s;){var h=me((o+s)/2),p=i(t[h]),f=p!==n,g=null===p,m=p==p,v=la(p);if(a)var y=r||m;else y=u?m&&(r||f):l?m&&f&&(r||!g):c?m&&f&&!g&&(r||!v):!g&&!v&&(r?p<=e:p<e);y?o=h+1:s=h}return yn(s,d)}function or(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Vs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function sr(t){return"number"==typeof t?t:la(t)?u:+t}function ar(t){if("string"==typeof t)return t;if(Hs(t))return Me(t,ar)+"";if(la(t))return Rn?Rn.call(t):"";var e=t+"";return"0"==e&&1/t==-l?"-0":e}function lr(t,e,n){var i=-1,r=Pe,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Ee;else if(o>=200){var c=e?null:Gr(t);if(c)return ln(c);s=!1,r=Ze,l=new Gn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function cr(t,e){return null==(t=Oo(t,e=vr(e,t)))||delete t[No(Ko(e))]}function ur(t,e,n,i){return Zi(t,e,n(wi(t,e)),i)}function hr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?er(t,i?0:o,i?o+1:r):er(t,i?o+1:0,i?r:o)}function dr(t,e){var n=t;return n instanceof Wn&&(n=n.value()),$e(e,function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))},n)}function pr(t,e,n){var i=t.length;if(i<2)return i?lr(t[0]):[];for(var r=-1,o=xt(i);++r<i;)for(var s=t[r],a=-1;++a<i;)a!=r&&(o[r]=ui(o[r]||s,t[a],e,n));return lr(mi(o,1),e,n)}function fr(t,e,i){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var l=r<s?e[r]:n;i(a,t[r],l)}return a}function gr(t){return Gs(t)?t:[]}function mr(t){return"function"==typeof t?t:il}function vr(t,e){return Hs(t)?t:bo(t,e)?[t]:Io(ya(t))}var yr=Xi;function br(t,e,i){var r=t.length;return i=i===n?r:i,!e&&i>=r?t:er(t,e,i)}var _r=ue||function(t){return he.clearTimeout(t)};function xr(t,e){if(e)return t.slice();var n=t.length,i=Ut?Ut(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Sr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(t,e){if(t!==e){var i=t!==n,r=null===t,o=t==t,s=la(t),a=e!==n,l=null===e,c=e==e,u=la(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||r&&a&&c||!i&&c||!o)return 1;if(!r&&!s&&!u&&t<e||u&&i&&o&&!r&&!s||l&&i&&o||!a&&o||!c)return-1}return 0}function Cr(t,e,n,i){for(var r=-1,o=t.length,s=n.length,a=-1,l=e.length,c=vn(o-s,0),u=xt(l+c),h=!i;++a<l;)u[a]=e[a];for(;++r<s;)(h||r<o)&&(u[n[r]]=t[r]);for(;c--;)u[a++]=t[r++];return u}function Or(t,e,n,i){for(var r=-1,o=t.length,s=-1,a=n.length,l=-1,c=e.length,u=vn(o-a,0),h=xt(u+c),d=!i;++r<u;)h[r]=t[r];for(var p=r;++l<c;)h[p+l]=e[l];for(;++s<a;)(d||r<o)&&(h[p+n[s]]=t[r++]);return h}function Ar(t,e){var n=-1,i=t.length;for(e||(e=xt(i));++n<i;)e[n]=t[n];return e}function Tr(t,e,i,r){var o=!i;i||(i={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=r?r(i[l],t[l],l,i,t):n;c===n&&(c=t[l]),o?ri(i,l,c):ti(i,l,c)}return i}function Pr(t,e){return function(n,i){var r=Hs(n)?ke:ni,o=e?e():{};return r(n,t,so(i,2),o)}}function Er(t){return Xi(function(e,i){var r=-1,o=i.length,s=o>1?i[o-1]:n,a=o>2?i[2]:n;for(s=t.length>3&&"function"==typeof s?(o--,s):n,a&&yo(i[0],i[1],a)&&(s=o<3?n:s,o=1),e=Ot(e);++r<o;){var l=i[r];l&&t(e,l,r,s)}return e})}function Mr(t,e){return function(n,i){if(null==n)return n;if(!qs(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=Ot(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Lr(t){return function(e,n,i){for(var r=-1,o=Ot(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function $r(t){return function(e){var i=rn(e=ya(e))?un(e):n,r=i?i[0]:e.charAt(0),o=i?br(i,1).join(""):e.slice(1);return r[t]()+o}}function jr(t){return function(e){return $e(Za(Wa(e).replace(Kt,"")),t,"")}}function Dr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Vn(t.prototype),i=t.apply(n,e);return ta(i)?i:n}}function Ir(t){return function(e,i,r){var o=Ot(e);if(!qs(e)){var s=so(i,3);e=Ma(e),i=function(t){return s(o[t],t,o)}}var a=t(e,i,r);return a>-1?o[s?e[a]:a]:n}}function Nr(t){return to(function(e){var r=e.length,o=r,s=Fn.prototype.thru;for(t&&e.reverse();o--;){var a=e[o];if("function"!=typeof a)throw new Pt(i);if(s&&!l&&"wrapper"==ro(a))var l=new Fn([],!0)}for(o=l?o:r;++o<r;){var c=ro(a=e[o]),u="wrapper"==c?io(a):n;l=u&&_o(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==a.length&&_o(a)?l[c]():l.thru(a)}return function(){var t=arguments,n=t[0];if(l&&1==t.length&&Hs(n))return l.plant(n).value();for(var i=0,o=r?e[i].apply(this,t):n;++i<r;)o=e[i].call(this,o);return o}})}function Rr(t,e,i,r,o,s,l,c,u,h){var d=e&a,p=1&e,f=2&e,g=24&e,m=512&e,v=f?n:Dr(t);return function a(){for(var y=arguments.length,b=xt(y),_=y;_--;)b[_]=arguments[_];if(g)var x=oo(a),w=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,x);if(r&&(b=Cr(b,r,o,g)),s&&(b=Or(b,s,l,g)),y-=w,g&&y<h){var S=an(b,x);return Ur(t,e,Rr,a.placeholder,i,b,S,c,u,h-y)}var k=p?i:this,C=f?k[t]:t;return y=b.length,c?b=function(t,e){for(var i=t.length,r=yn(e.length,i),o=Ar(t);r--;){var s=e[r];t[r]=vo(s,i)?o[s]:n}return t}(b,c):m&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==he&&this instanceof a&&(C=v||Dr(C)),C.apply(k,b)}}function Br(t,e){return function(n,i){return function(t,e,n,i){return bi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Vr(t,e){return function(i,r){var o;if(i===n&&r===n)return e;if(i!==n&&(o=i),r!==n){if(o===n)return r;"string"==typeof i||"string"==typeof r?(i=ar(i),r=ar(r)):(i=sr(i),r=sr(r)),o=t(i,r)}return o}}function zr(t){return to(function(e){return e=Me(e,Ye(so())),Xi(function(n){var i=this;return t(e,function(t){return Se(t,i,n)})})})}function Fr(t,e){var i=(e=e===n?" ":ar(e)).length;if(i<2)return i?Gi(e,t):e;var r=Gi(e,ge(t/cn(e)));return rn(e)?br(un(r),0,t).join(""):r.slice(0,t)}function Wr(t){return function(e,i,r){return r&&"number"!=typeof r&&yo(e,i,r)&&(i=r=n),e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n,i){for(var r=-1,o=vn(ge((e-t)/(n||1)),0),s=xt(o);o--;)s[i?o:++r]=t,t+=n;return s}(e,i,r=r===n?e<i?1:-1:pa(r),t)}}function Hr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ma(e),n=ma(n)),t(e,n)}}function Ur(t,e,i,r,o,a,l,c,u,h){var d=8&e;e|=d?s:64,4&(e&=~(d?64:s))||(e&=-4);var p=[t,e,o,d?a:n,d?l:n,d?n:a,d?n:l,c,u,h],f=i.apply(n,p);return _o(t)&&To(f,p),f.placeholder=r,Mo(f,t,e)}function qr(t){var e=Ct[t];return function(t,n){if(t=ma(t),(n=null==n?0:yn(fa(n),292))&&fn(t)){var i=(ya(t)+"e").split("e");return+((i=(ya(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Gr=On&&1/ln(new On([,-0]))[1]==l?function(t){return new On(t)}:ll;function Xr(t){return function(e){var n=po(e);return n==w?on(e):n==A?function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}(e):function(t,e){return Me(e,function(e){return[e,t[e]]})}(e,t(e))}}function Yr(t,e,r,l,c,u,h,d){var p=2&e;if(!p&&"function"!=typeof t)throw new Pt(i);var f=l?l.length:0;if(f||(e&=-97,l=c=n),h=h===n?h:vn(fa(h),0),d=d===n?d:fa(d),f-=c?c.length:0,64&e){var g=l,m=c;l=c=n}var v=p?n:io(t),y=[t,e,r,l,c,g,m,u,h,d];if(v&&function(t,e){var n=t[1],i=e[1],r=n|i,s=r<131,l=i==a&&8==n||i==a&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!s&&!l)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?Cr(u,c,e[4]):c,t[4]=u?an(t[3],o):e[4]}(c=e[5])&&(u=t[5],t[5]=u?Or(u,c,e[6]):c,t[6]=u?an(t[5],o):e[6]),(c=e[7])&&(t[7]=c),i&a&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(y,v),t=y[0],e=y[1],r=y[2],l=y[3],c=y[4],!(d=y[9]=y[9]===n?p?0:t.length:vn(y[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,i){var r=Dr(t);return function o(){for(var s=arguments.length,a=xt(s),l=s,c=oo(o);l--;)a[l]=arguments[l];var u=s<3&&a[0]!==c&&a[s-1]!==c?[]:an(a,c);return(s-=u.length)<i?Ur(t,e,Rr,o.placeholder,n,a,u,n,n,i-s):Se(this&&this!==he&&this instanceof o?r:t,this,a)}}(t,e,d):e!=s&&33!=e||c.length?Rr.apply(n,y):function(t,e,n,i){var r=1&e,o=Dr(t);return function e(){for(var s=-1,a=arguments.length,l=-1,c=i.length,u=xt(c+a),h=this&&this!==he&&this instanceof e?o:t;++l<c;)u[l]=i[l];for(;a--;)u[l++]=arguments[++s];return Se(h,r?n:this,u)}}(t,e,r,l);else var b=function(t,e,n){var i=1&e,r=Dr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,r);return Mo((v?Qi:To)(b,y),t,e)}function Kr(t,e,i,r){return t===n||Vs(t,Lt[i])&&!Dt.call(r,i)?e:t}function Zr(t,e,i,r,o,s){return ta(t)&&ta(e)&&(s.set(e,t),Vi(t,e,n,Zr,s),s.delete(e)),t}function Qr(t){return ra(t)?n:t}function Jr(t,e,i,r,o,s){var a=1&i,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&i?new Gn:n;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(r)var v=a?r(m,g,d,e,t,s):r(g,m,d,t,e,s);if(v!==n){if(v)continue;p=!1;break}if(f){if(!De(e,function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,i,r,s)))return f.push(e)})){p=!1;break}}else if(g!==m&&!o(g,m,i,r,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function to(t){return Eo(Co(t,n,Uo),t+"")}function eo(t){return Si(t,Ma,uo)}function no(t){return Si(t,La,ho)}var io=Pn?function(t){return Pn.get(t)}:ll;function ro(t){for(var e=t.name+"",n=En[e],i=Dt.call(En,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function oo(t){return(Dt.call(Bn,"placeholder")?Bn:t).placeholder}function so(){var t=Bn.iteratee||rl;return t=t===rl?ji:t,arguments.length?t(arguments[0],arguments[1]):t}function ao(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function lo(t){for(var e=Ma(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,So(r)]}return e}function co(t,e){var i=function(t,e){return null==t?n:t[e]}(t,e);return $i(i)?i:n}var uo=Ie?function(t){return null==t?[]:(t=Ot(t),Te(Ie(t),function(e){return Xt.call(t,e)}))}:gl,ho=Ie?function(t){for(var e=[];t;)Le(e,uo(t)),t=qt(t);return e}:gl,po=ki;function fo(t,e,n){for(var i=-1,r=(e=vr(e,t)).length,o=!1;++i<r;){var s=No(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Js(r)&&vo(s,r)&&(Hs(t)||Ws(t))}function go(t){return"function"!=typeof t.constructor||wo(t)?{}:Vn(qt(t))}function mo(t){return Hs(t)||Ws(t)||!!(Qt&&t&&t[Qt])}function vo(t,e){var n=typeof t;return!!(e=e??c)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function yo(t,e,n){if(!ta(n))return!1;var i=typeof e;return!!("number"==i?qs(n)&&vo(e,n.length):"string"==i&&e in n)&&Vs(n[e],t)}function bo(t,e){if(Hs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!la(t))||J.test(t)||!Q.test(t)||null!=e&&t in Ot(e)}function _o(t){var e=ro(t),n=Bn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var i=io(n);return!!i&&t===i[0]}(Sn&&po(new Sn(new ArrayBuffer(1)))!=L||kn&&po(new kn)!=w||Cn&&po(Cn.resolve())!=C||On&&po(new On)!=A||An&&po(new An)!=E)&&(po=function(t){var e=ki(t),i=e==k?t.constructor:n,r=i?Ro(i):"";if(r)switch(r){case Mn:return L;case Ln:return w;case $n:return C;case jn:return A;case Dn:return E}return e});var xo=$t?Zs:ml;function wo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Lt)}function So(t){return t==t&&!ta(t)}function ko(t,e){return function(i){return null!=i&&i[t]===e&&(e!==n||t in Ot(i))}}function Co(t,e,i){return e=vn(e===n?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=vn(n.length-e,0),s=xt(o);++r<o;)s[r]=n[e+r];r=-1;for(var a=xt(e+1);++r<e;)a[r]=n[r];return a[e]=i(s),Se(t,this,a)}}function Oo(t,e){return e.length<2?t:wi(t,er(e,0,-1))}function Ao(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var To=Lo(Qi),Po=pe||function(t,e){return he.setTimeout(t,e)},Eo=Lo(Ji);function Mo(t,e,n){var i=e+"";return Eo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,function(n){var i="_."+n[0];e&n[1]&&!Pe(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Lo(t){var e=0,i=0;return function(){var r=bn(),o=16-(r-i);if(i=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(n,arguments)}}function $o(t,e){var i=-1,r=t.length,o=r-1;for(e=e===n?r:e;++i<e;){var s=qi(i,o),a=t[s];t[s]=t[i],t[i]=a}return t.length=e,t}var jo,Do,Io=(jo=js(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)}),e},function(t){return 500===Do.size&&Do.clear(),t}),Do=jo.cache,jo);function No(t){if("string"==typeof t||la(t))return t;var e=t+"";return"0"==e&&1/t==-l?"-0":e}function Ro(t){if(null!=t){try{return jt.call(t)}catch{}try{return t+""}catch{}}return""}function Bo(t){if(t instanceof Wn)return t.clone();var e=new Fn(t.__wrapped__,t.__chain__);return e.__actions__=Ar(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Vo=Xi(function(t,e){return Gs(t)?ui(t,mi(e,1,Gs,!0)):[]}),zo=Xi(function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),so(i,2)):[]}),Fo=Xi(function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),n,i):[]});function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Re(t,so(e,3),r)}function Ho(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return i!==n&&(o=fa(i),o=i<0?vn(r+o,0):yn(o,r-1)),Re(t,so(e,3),o,!0)}function Uo(t){return null!=t&&t.length?mi(t,1):[]}function qo(t){return t&&t.length?t[0]:n}var Go=Xi(function(t){var e=Me(t,gr);return e.length&&e[0]===t[0]?Ti(e):[]}),Xo=Xi(function(t){var e=Ko(t),i=Me(t,gr);return e===Ko(i)?e=n:i.pop(),i.length&&i[0]===t[0]?Ti(i,so(e,2)):[]}),Yo=Xi(function(t){var e=Ko(t),i=Me(t,gr);return(e="function"==typeof e?e:n)&&i.pop(),i.length&&i[0]===t[0]?Ti(i,n,e):[]});function Ko(t){var e=null==t?0:t.length;return e?t[e-1]:n}var Zo=Xi(Qo);function Qo(t,e){return t&&t.length&&e&&e.length?Hi(t,e):t}var Jo=to(function(t,e){var n=null==t?0:t.length,i=oi(t,e);return Ui(t,Me(e,function(t){return vo(t,n)?+t:t}).sort(kr)),i});function ts(t){return null==t?t:wn.call(t)}var es=Xi(function(t){return lr(mi(t,1,Gs,!0))}),ns=Xi(function(t){var e=Ko(t);return Gs(e)&&(e=n),lr(mi(t,1,Gs,!0),so(e,2))}),is=Xi(function(t){var e=Ko(t);return e="function"==typeof e?e:n,lr(mi(t,1,Gs,!0),n,e)});function rs(t){if(!t||!t.length)return[];var e=0;return t=Te(t,function(t){if(Gs(t))return e=vn(t.length,e),!0}),Ge(e,function(e){return Me(t,We(e))})}function os(t,e){if(!t||!t.length)return[];var i=rs(t);return null==e?i:Me(i,function(t){return Se(e,n,t)})}var ss=Xi(function(t,e){return Gs(t)?ui(t,e):[]}),as=Xi(function(t){return pr(Te(t,Gs))}),ls=Xi(function(t){var e=Ko(t);return Gs(e)&&(e=n),pr(Te(t,Gs),so(e,2))}),cs=Xi(function(t){var e=Ko(t);return e="function"==typeof e?e:n,pr(Te(t,Gs),n,e)}),us=Xi(rs),hs=Xi(function(t){var e=t.length,i=e>1?t[e-1]:n;return i="function"==typeof i?(t.pop(),i):n,os(t,i)});function ds(t){var e=Bn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var fs=to(function(t){var e=t.length,i=e?t[0]:0,r=this.__wrapped__,o=function(e){return oi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&vo(i)?((r=r.slice(i,+i+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:n}),new Fn(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(n),t})):this.thru(o)}),gs=Pr(function(t,e,n){Dt.call(t,n)?++t[n]:ri(t,n,1)}),ms=Ir(Wo),vs=Ir(Ho);function ys(t,e){return(Hs(t)?Ce:hi)(t,so(e,3))}function bs(t,e){return(Hs(t)?Oe:di)(t,so(e,3))}var _s=Pr(function(t,e,n){Dt.call(t,n)?t[n].push(e):ri(t,n,[e])}),xs=Xi(function(t,e,n){var i=-1,r="function"==typeof e,o=qs(t)?xt(t.length):[];return hi(t,function(t){o[++i]=r?Se(e,t,n):Pi(t,e,n)}),o}),ws=Pr(function(t,e,n){ri(t,n,e)});function Ss(t,e){return(Hs(t)?Me:Ni)(t,so(e,3))}var ks=Pr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Cs=Xi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&yo(t,e[0],e[1])?e=[]:n>2&&yo(e[0],e[1],e[2])&&(e=[e[0]]),Fi(t,mi(e,1),[])}),Os=de||function(){return he.Date.now()};function As(t,e,i){return e=i?n:e,e=t&&null==e?t.length:e,Yr(t,a,n,n,n,n,e)}function Ts(t,e){var r;if("function"!=typeof e)throw new Pt(i);return t=fa(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var Ps=Xi(function(t,e,n){var i=1;if(n.length){var r=an(n,oo(Ps));i|=s}return Yr(t,i,e,n,r)}),Es=Xi(function(t,e,n){var i=3;if(n.length){var r=an(n,oo(Es));i|=s}return Yr(e,i,t,n,r)});function Ms(t,e,r){var o,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Pt(i);function g(e){var i=o,r=s;return o=s=n,h=e,l=t.apply(r,i)}function m(t){var i=t-u;return u===n||i>=e||i<0||p&&t-h>=a}function v(){var t=Os();if(m(t))return y(t);c=Po(v,function(t){var n=e-(t-u);return p?yn(n,a-(t-h)):n}(t))}function y(t){return c=n,f&&o?g(t):(o=s=n,l)}function b(){var t=Os(),i=m(t);if(o=arguments,s=this,u=t,i){if(c===n)return function(t){return h=t,c=Po(v,e),d?g(t):l}(u);if(p)return _r(c),c=Po(v,e),g(u)}return c===n&&(c=Po(v,e)),l}return e=ma(e)||0,ta(r)&&(d=!!r.leading,a=(p="maxWait"in r)?vn(ma(r.maxWait)||0,e):a,f="trailing"in r?!!r.trailing:f),b.cancel=function(){c!==n&&_r(c),h=0,o=u=s=c=n},b.flush=function(){return c===n?l:y(Os())},b}var Ls=Xi(function(t,e){return ci(t,1,e)}),$s=Xi(function(t,e,n){return ci(t,ma(e)||0,n)});function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Pt(i);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(js.Cache||qn),n}function Ds(t){if("function"!=typeof t)throw new Pt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}js.Cache=qn;var Is=yr(function(t,e){var n=(e=1==e.length&&Hs(e[0])?Me(e[0],Ye(so())):Me(mi(e,1),Ye(so()))).length;return Xi(function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)})}),Ns=Xi(function(t,e){var i=an(e,oo(Ns));return Yr(t,s,n,e,i)}),Rs=Xi(function(t,e){var i=an(e,oo(Rs));return Yr(t,64,n,e,i)}),Bs=to(function(t,e){return Yr(t,256,n,n,n,e)});function Vs(t,e){return t===e||t!=t&&e!=e}var zs=Hr(Ci),Fs=Hr(function(t,e){return t>=e}),Ws=Ei(function(){return arguments}())?Ei:function(t){return ea(t)&&Dt.call(t,"callee")&&!Xt.call(t,"callee")},Hs=xt.isArray,Us=ve?Ye(ve):function(t){return ea(t)&&ki(t)==M};function qs(t){return null!=t&&Js(t.length)&&!Zs(t)}function Gs(t){return ea(t)&&qs(t)}var Xs=He||ml,Ys=ye?Ye(ye):function(t){return ea(t)&&ki(t)==y};function Ks(t){if(!ea(t))return!1;var e=ki(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Zs(t){if(!ta(t))return!1;var e=ki(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Qs(t){return"number"==typeof t&&t==fa(t)}function Js(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function ta(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ea(t){return null!=t&&"object"==typeof t}var na=be?Ye(be):function(t){return ea(t)&&po(t)==w};function ia(t){return"number"==typeof t||ea(t)&&ki(t)==S}function ra(t){if(!ea(t)||ki(t)!=k)return!1;var e=qt(t);if(null===e)return!0;var n=Dt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&jt.call(n)==Bt}var oa=_e?Ye(_e):function(t){return ea(t)&&ki(t)==O},sa=xe?Ye(xe):function(t){return ea(t)&&po(t)==A};function aa(t){return"string"==typeof t||!Hs(t)&&ea(t)&&ki(t)==T}function la(t){return"symbol"==typeof t||ea(t)&&ki(t)==P}var ca=we?Ye(we):function(t){return ea(t)&&Js(t.length)&&!!re[ki(t)]},ua=Hr(Ii),ha=Hr(function(t,e){return t<=e});function da(t){if(!t)return[];if(qs(t))return aa(t)?un(t):Ar(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=po(t);return(e==w?on:e==A?ln:Va)(t)}function pa(t){return t?(t=ma(t))===l||t===-l?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function fa(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ga(t){return t?si(fa(t),0,h):0}function ma(t){if("number"==typeof t)return t;if(la(t))return u;if(ta(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ta(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?u:+t}function va(t){return Tr(t,La(t))}function ya(t){return null==t?"":ar(t)}var ba=Er(function(t,e){if(wo(e)||qs(e))Tr(e,Ma(e),t);else for(var n in e)Dt.call(e,n)&&ti(t,n,e[n])}),_a=Er(function(t,e){Tr(e,La(e),t)}),xa=Er(function(t,e,n,i){Tr(e,La(e),t,i)}),wa=Er(function(t,e,n,i){Tr(e,Ma(e),t,i)}),Sa=to(oi),ka=Xi(function(t,e){t=Ot(t);var i=-1,r=e.length,o=r>2?e[2]:n;for(o&&yo(e[0],e[1],o)&&(r=1);++i<r;)for(var s=e[i],a=La(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===n||Vs(h,Lt[u])&&!Dt.call(t,u))&&(t[u]=s[u])}return t}),Ca=Xi(function(t){return t.push(n,Zr),Se(ja,n,t)});function Oa(t,e,i){var r=null==t?n:wi(t,e);return r===n?i:r}function Aa(t,e){return null!=t&&fo(t,e,Ai)}var Ta=Br(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),t[e]=n},tl(il)),Pa=Br(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),Dt.call(t,e)?t[e].push(n):t[e]=[n]},so),Ea=Xi(Pi);function Ma(t){return qs(t)?Yn(t):Di(t)}function La(t){return qs(t)?Yn(t,!0):function(t){if(!ta(t))return function(t){var e=[];if(null!=t)for(var n in Ot(t))e.push(n);return e}(t);var e=wo(t),n=[];for(var i in t)"constructor"==i&&(e||!Dt.call(t,i))||n.push(i);return n}(t)}var $a=Er(function(t,e,n){Vi(t,e,n)}),ja=Er(function(t,e,n,i){Vi(t,e,n,i)}),Da=to(function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,function(e){return e=vr(e,t),i||(i=e.length>1),e}),Tr(t,no(t),n),i&&(n=ai(n,7,Qr));for(var r=e.length;r--;)cr(n,e[r]);return n}),Ia=to(function(t,e){return null==t?{}:function(t,e){return Wi(t,e,function(e,n){return Aa(t,n)})}(t,e)});function Na(t,e){if(null==t)return{};var n=Me(no(t),function(t){return[t]});return e=so(e),Wi(t,n,function(t,n){return e(t,n[0])})}var Ra=Xr(Ma),Ba=Xr(La);function Va(t){return null==t?[]:Ke(t,Ma(t))}var za=jr(function(t,e,n){return e=e.toLowerCase(),t+(n?Fa(e):e)});function Fa(t){return Ka(ya(t).toLowerCase())}function Wa(t){return(t=ya(t))&&t.replace(yt,tn).replace(Zt,"")}var Ha=jr(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ua=jr(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),qa=$r("toLowerCase"),Ga=jr(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Xa=jr(function(t,e,n){return t+(n?" ":"")+Ka(e)}),Ya=jr(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ka=$r("toUpperCase");function Za(t,e,i){return t=ya(t),(e=i?n:e)===n?function(t){return ee.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Qa=Xi(function(t,e){try{return Se(t,n,e)}catch(t){return Ks(t)?t:new St(t)}}),Ja=to(function(t,e){return Ce(e,function(e){e=No(e),ri(t,e,Ps(t[e],t))}),t});function tl(t){return function(){return t}}var el=Nr(),nl=Nr(!0);function il(t){return t}function rl(t){return ji("function"==typeof t?t:ai(t,1))}var ol=Xi(function(t,e){return function(n){return Pi(n,t,e)}}),sl=Xi(function(t,e){return function(n){return Pi(t,n,e)}});function al(t,e,n){var i=Ma(e),r=xi(e,i);null==n&&(!ta(e)||!r.length&&i.length)&&(n=e,e=t,t=this,r=xi(e,Ma(e)));var o=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(t);return Ce(r,function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ar(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})}),t}function ll(){}var cl=zr(Me),ul=zr(Ae),hl=zr(De);function dl(t){return bo(t)?We(No(t)):function(t){return function(e){return wi(e,t)}}(t)}var pl=Wr(),fl=Wr(!0);function gl(){return[]}function ml(){return!1}var vl=Vr(function(t,e){return t+e},0),yl=qr("ceil"),bl=Vr(function(t,e){return t/e},1),_l=qr("floor"),xl=Vr(function(t,e){return t*e},1),wl=qr("round"),Sl=Vr(function(t,e){return t-e},0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Pt(i);return t=fa(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=As,Bn.assign=ba,Bn.assignIn=_a,Bn.assignInWith=xa,Bn.assignWith=wa,Bn.at=Sa,Bn.before=Ts,Bn.bind=Ps,Bn.bindAll=Ja,Bn.bindKey=Es,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Hs(t)?t:[t]},Bn.chain=ds,Bn.chunk=function(t,e,i){e=(i?yo(t,e,i):e===n)?1:vn(fa(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,s=0,a=xt(ge(r/e));o<r;)a[s++]=er(t,o,o+=e);return a},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=xt(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Le(Hs(n)?Ar(n):[n],mi(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=so();return t=e?Me(t,function(t){if("function"!=typeof t[1])throw new Pt(i);return[n(t[0]),t[1]]}):[],Xi(function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}})},Bn.conforms=function(t){return function(t){var e=Ma(t);return function(n){return li(n,t,e)}}(ai(t,1))},Bn.constant=tl,Bn.countBy=gs,Bn.create=function(t,e){var n=Vn(t);return null==e?n:ii(n,e)},Bn.curry=function t(e,i,r){var o=Yr(e,8,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.curryRight=function t(e,i,r){var o=Yr(e,16,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.debounce=Ms,Bn.defaults=ka,Bn.defaultsDeep=Ca,Bn.defer=Ls,Bn.delay=$s,Bn.difference=Vo,Bn.differenceBy=zo,Bn.differenceWith=Fo,Bn.drop=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=i||e===n?1:fa(e))<0?0:e,r):[]},Bn.dropRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,0,(e=r-(e=i||e===n?1:fa(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0):[]},Bn.fill=function(t,e,i,r){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&yo(t,e,i)&&(i=0,r=o),function(t,e,i,r){var o=t.length;for((i=fa(i))<0&&(i=-i>o?0:o+i),(r=r===n||r>o?o:fa(r))<0&&(r+=o),r=i>r?0:ga(r);i<r;)t[i++]=e;return t}(t,e,i,r)):[]},Bn.filter=function(t,e){return(Hs(t)?Te:gi)(t,so(e,3))},Bn.flatMap=function(t,e){return mi(Ss(t,e),1)},Bn.flatMapDeep=function(t,e){return mi(Ss(t,e),l)},Bn.flatMapDepth=function(t,e,i){return i=i===n?1:fa(i),mi(Ss(t,e),i)},Bn.flatten=Uo,Bn.flattenDeep=function(t){return null!=t&&t.length?mi(t,l):[]},Bn.flattenDepth=function(t,e){return null!=t&&t.length?mi(t,e=e===n?1:fa(e)):[]},Bn.flip=function(t){return Yr(t,512)},Bn.flow=el,Bn.flowRight=nl,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Bn.functions=function(t){return null==t?[]:xi(t,Ma(t))},Bn.functionsIn=function(t){return null==t?[]:xi(t,La(t))},Bn.groupBy=_s,Bn.initial=function(t){return null!=t&&t.length?er(t,0,-1):[]},Bn.intersection=Go,Bn.intersectionBy=Xo,Bn.intersectionWith=Yo,Bn.invert=Ta,Bn.invertBy=Pa,Bn.invokeMap=xs,Bn.iteratee=rl,Bn.keyBy=ws,Bn.keys=Ma,Bn.keysIn=La,Bn.map=Ss,Bn.mapKeys=function(t,e){var n={};return e=so(e,3),bi(t,function(t,i,r){ri(n,e(t,i,r),t)}),n},Bn.mapValues=function(t,e){var n={};return e=so(e,3),bi(t,function(t,i,r){ri(n,i,e(t,i,r))}),n},Bn.matches=function(t){return Ri(ai(t,1))},Bn.matchesProperty=function(t,e){return Bi(t,ai(e,1))},Bn.memoize=js,Bn.merge=$a,Bn.mergeWith=ja,Bn.method=ol,Bn.methodOf=sl,Bn.mixin=al,Bn.negate=Ds,Bn.nthArg=function(t){return t=fa(t),Xi(function(e){return zi(e,t)})},Bn.omit=Da,Bn.omitBy=function(t,e){return Na(t,Ds(so(e)))},Bn.once=function(t){return Ts(2,t)},Bn.orderBy=function(t,e,i,r){return null==t?[]:(Hs(e)||(e=null==e?[]:[e]),Hs(i=r?n:i)||(i=null==i?[]:[i]),Fi(t,e,i))},Bn.over=cl,Bn.overArgs=Is,Bn.overEvery=ul,Bn.overSome=hl,Bn.partial=Ns,Bn.partialRight=Rs,Bn.partition=ks,Bn.pick=Ia,Bn.pickBy=Na,Bn.property=dl,Bn.propertyOf=function(t){return function(e){return null==t?n:wi(t,e)}},Bn.pull=Zo,Bn.pullAll=Qo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Hi(t,e,so(n,2)):t},Bn.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Hi(t,e,n,i):t},Bn.pullAt=Jo,Bn.range=pl,Bn.rangeRight=fl,Bn.rearg=Bs,Bn.reject=function(t,e){return(Hs(t)?Te:gi)(t,Ds(so(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=so(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Ui(t,r),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Pt(i);return Xi(t,e=e===n?e:fa(e))},Bn.reverse=ts,Bn.sampleSize=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),(Hs(t)?Zn:Ki)(t,e)},Bn.set=function(t,e,n){return null==t?t:Zi(t,e,n)},Bn.setWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:Zi(t,e,i,r)},Bn.shuffle=function(t){return(Hs(t)?Qn:tr)(t)},Bn.slice=function(t,e,i){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&yo(t,e,i)?(e=0,i=r):(e=null==e?0:fa(e),i=i===n?r:fa(i)),er(t,e,i)):[]},Bn.sortBy=Cs,Bn.sortedUniq=function(t){return t&&t.length?or(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?or(t,so(e,2)):[]},Bn.split=function(t,e,i){return i&&"number"!=typeof i&&yo(t,e,i)&&(e=i=n),(i=i===n?h:i>>>0)?(t=ya(t))&&("string"==typeof e||null!=e&&!oa(e))&&!(e=ar(e))&&rn(t)?br(un(t),0,i):t.split(e,i):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Pt(i);return e=null==e?0:vn(fa(e),0),Xi(function(n){var i=n[e],r=br(n,0,e);return i&&Le(r,i),Se(t,this,r)})},Bn.tail=function(t){var e=null==t?0:t.length;return e?er(t,1,e):[]},Bn.take=function(t,e,i){return t&&t.length?er(t,0,(e=i||e===n?1:fa(e))<0?0:e):[]},Bn.takeRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=r-(e=i||e===n?1:fa(e)))<0?0:e,r):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?hr(t,so(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new Pt(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ms(t,e,{leading:r,maxWait:e,trailing:o})},Bn.thru=ps,Bn.toArray=da,Bn.toPairs=Ra,Bn.toPairsIn=Ba,Bn.toPath=function(t){return Hs(t)?Me(t,No):la(t)?[t]:Ar(Io(ya(t)))},Bn.toPlainObject=va,Bn.transform=function(t,e,n){var i=Hs(t),r=i||Xs(t)||ca(t);if(e=so(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:ta(t)&&Zs(o)?Vn(qt(t)):{}}return(r?Ce:bi)(t,function(t,i,r){return e(n,t,i,r)}),n},Bn.unary=function(t){return As(t,1)},Bn.union=es,Bn.unionBy=ns,Bn.unionWith=is,Bn.uniq=function(t){return t&&t.length?lr(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?lr(t,so(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:n,t&&t.length?lr(t,n,e):[]},Bn.unset=function(t,e){return null==t||cr(t,e)},Bn.unzip=rs,Bn.unzipWith=os,Bn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},Bn.updateWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:ur(t,e,mr(i),r)},Bn.values=Va,Bn.valuesIn=function(t){return null==t?[]:Ke(t,La(t))},Bn.without=ss,Bn.words=Za,Bn.wrap=function(t,e){return Ns(mr(e),t)},Bn.xor=as,Bn.xorBy=ls,Bn.xorWith=cs,Bn.zip=us,Bn.zipObject=function(t,e){return fr(t||[],e||[],ti)},Bn.zipObjectDeep=function(t,e){return fr(t||[],e||[],Zi)},Bn.zipWith=hs,Bn.entries=Ra,Bn.entriesIn=Ba,Bn.extend=_a,Bn.extendWith=xa,al(Bn,Bn),Bn.add=vl,Bn.attempt=Qa,Bn.camelCase=za,Bn.capitalize=Fa,Bn.ceil=yl,Bn.clamp=function(t,e,i){return i===n&&(i=e,e=n),i!==n&&(i=(i=ma(i))==i?i:0),e!==n&&(e=(e=ma(e))==e?e:0),si(ma(t),e,i)},Bn.clone=function(t){return ai(t,4)},Bn.cloneDeep=function(t){return ai(t,5)},Bn.cloneDeepWith=function(t,e){return ai(t,5,e="function"==typeof e?e:n)},Bn.cloneWith=function(t,e){return ai(t,4,e="function"==typeof e?e:n)},Bn.conformsTo=function(t,e){return null==e||li(t,e,Ma(e))},Bn.deburr=Wa,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=bl,Bn.endsWith=function(t,e,i){t=ya(t),e=ar(e);var r=t.length,o=i=i===n?r:si(fa(i),0,r);return(i-=e.length)>=0&&t.slice(i,o)==e},Bn.eq=Vs,Bn.escape=function(t){return(t=ya(t))&&X.test(t)?t.replace(q,en):t},Bn.escapeRegExp=function(t){return(t=ya(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Bn.every=function(t,e,i){var r=Hs(t)?Ae:pi;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.find=ms,Bn.findIndex=Wo,Bn.findKey=function(t,e){return Ne(t,so(e,3),bi)},Bn.findLast=vs,Bn.findLastIndex=Ho,Bn.findLastKey=function(t,e){return Ne(t,so(e,3),_i)},Bn.floor=_l,Bn.forEach=ys,Bn.forEachRight=bs,Bn.forIn=function(t,e){return null==t?t:vi(t,so(e,3),La)},Bn.forInRight=function(t,e){return null==t?t:yi(t,so(e,3),La)},Bn.forOwn=function(t,e){return t&&bi(t,so(e,3))},Bn.forOwnRight=function(t,e){return t&&_i(t,so(e,3))},Bn.get=Oa,Bn.gt=zs,Bn.gte=Fs,Bn.has=function(t,e){return null!=t&&fo(t,e,Oi)},Bn.hasIn=Aa,Bn.head=qo,Bn.identity=il,Bn.includes=function(t,e,n,i){t=qs(t)?t:Va(t),n=n&&!i?fa(n):0;var r=t.length;return n<0&&(n=vn(r+n,0)),aa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Bn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Be(t,e,r)},Bn.inRange=function(t,e,i){return e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n){return t>=yn(e,n)&&t<vn(e,n)}(t=ma(t),e,i)},Bn.invoke=Ea,Bn.isArguments=Ws,Bn.isArray=Hs,Bn.isArrayBuffer=Us,Bn.isArrayLike=qs,Bn.isArrayLikeObject=Gs,Bn.isBoolean=function(t){return!0===t||!1===t||ea(t)&&ki(t)==v},Bn.isBuffer=Xs,Bn.isDate=Ys,Bn.isElement=function(t){return ea(t)&&1===t.nodeType&&!ra(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(qs(t)&&(Hs(t)||"string"==typeof t||"function"==typeof t.splice||Xs(t)||ca(t)||Ws(t)))return!t.length;var e=po(t);if(e==w||e==A)return!t.size;if(wo(t))return!Di(t).length;for(var n in t)if(Dt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Mi(t,e)},Bn.isEqualWith=function(t,e,i){var r=(i="function"==typeof i?i:n)?i(t,e):n;return r===n?Mi(t,e,n,i):!!r},Bn.isError=Ks,Bn.isFinite=function(t){return"number"==typeof t&&fn(t)},Bn.isFunction=Zs,Bn.isInteger=Qs,Bn.isLength=Js,Bn.isMap=na,Bn.isMatch=function(t,e){return t===e||Li(t,e,lo(e))},Bn.isMatchWith=function(t,e,i){return i="function"==typeof i?i:n,Li(t,e,lo(e),i)},Bn.isNaN=function(t){return ia(t)&&t!=+t},Bn.isNative=function(t){if(xo(t))throw new St("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $i(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=ia,Bn.isObject=ta,Bn.isObjectLike=ea,Bn.isPlainObject=ra,Bn.isRegExp=oa,Bn.isSafeInteger=function(t){return Qs(t)&&t>=-c&&t<=c},Bn.isSet=sa,Bn.isString=aa,Bn.isSymbol=la,Bn.isTypedArray=ca,Bn.isUndefined=function(t){return t===n},Bn.isWeakMap=function(t){return ea(t)&&po(t)==E},Bn.isWeakSet=function(t){return ea(t)&&"[object WeakSet]"==ki(t)},Bn.join=function(t,e){return null==t?"":gn.call(t,e)},Bn.kebabCase=Ha,Bn.last=Ko,Bn.lastIndexOf=function(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r;return i!==n&&(o=(o=fa(i))<0?vn(r+o,0):yn(o,r-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Re(t,ze,o,!0)},Bn.lowerCase=Ua,Bn.lowerFirst=qa,Bn.lt=ua,Bn.lte=ha,Bn.max=function(t){return t&&t.length?fi(t,il,Ci):n},Bn.maxBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ci):n},Bn.mean=function(t){return Fe(t,il)},Bn.meanBy=function(t,e){return Fe(t,so(e,2))},Bn.min=function(t){return t&&t.length?fi(t,il,Ii):n},Bn.minBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ii):n},Bn.stubArray=gl,Bn.stubFalse=ml,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(t,e){return t&&t.length?zi(t,fa(e)):n},Bn.noConflict=function(){return he._===this&&(he._=Vt),this},Bn.noop=ll,Bn.now=Os,Bn.pad=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Fr(me(r),n)+t+Fr(ge(r),n)},Bn.padEnd=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?t+Fr(e-i,n):t},Bn.padStart=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?Fr(e-i,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),_n(ya(t).replace(it,""),e||0)},Bn.random=function(t,e,i){if(i&&"boolean"!=typeof i&&yo(t,e,i)&&(e=i=n),i===n&&("boolean"==typeof e?(i=e,e=n):"boolean"==typeof t&&(i=t,t=n)),t===n&&e===n?(t=0,e=1):(t=pa(t),e===n?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(i||t%1||e%1){var o=xn();return yn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return qi(t,e)},Bn.reduce=function(t,e,n){var i=Hs(t)?$e:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,hi)},Bn.reduceRight=function(t,e,n){var i=Hs(t)?je:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,di)},Bn.repeat=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),Gi(ya(t),e)},Bn.replace=function(){var t=arguments,e=ya(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,i){var r=-1,o=(e=vr(e,t)).length;for(o||(o=1,t=n);++r<o;){var s=null==t?n:t[No(e[r])];s===n&&(r=o,s=i),t=Zs(s)?s.call(t):s}return t},Bn.round=wl,Bn.runInContext=t,Bn.sample=function(t){return(Hs(t)?Kn:Yi)(t)},Bn.size=function(t){if(null==t)return 0;if(qs(t))return aa(t)?cn(t):t.length;var e=po(t);return e==w||e==A?t.size:Di(t).length},Bn.snakeCase=Ga,Bn.some=function(t,e,i){var r=Hs(t)?De:nr;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.sortedIndex=function(t,e){return ir(t,e)},Bn.sortedIndexBy=function(t,e,n){return rr(t,e,so(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ir(t,e);if(i<n&&Vs(t[i],e))return i}return-1},Bn.sortedLastIndex=function(t,e){return ir(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return rr(t,e,so(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ir(t,e,!0)-1;if(Vs(t[n],e))return n}return-1},Bn.startCase=Xa,Bn.startsWith=function(t,e,n){return t=ya(t),n=null==n?0:si(fa(n),0,t.length),e=ar(e),t.slice(n,n+e.length)==e},Bn.subtract=Sl,Bn.sum=function(t){return t&&t.length?qe(t,il):0},Bn.sumBy=function(t,e){return t&&t.length?qe(t,so(e,2)):0},Bn.template=function(t,e,i){var r=Bn.templateSettings;i&&yo(t,e,i)&&(e=n),t=ya(t),e=xa({},e,r,Kr);var o,s,a=xa({},e.imports,r.imports,Kr),l=Ma(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=At((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+(Dt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e}),d+="';\n";var g=Dt.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new St("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(F,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Qa(function(){return kt(l,f+"return "+d).apply(n,c)});if(m.source=d,Ks(m))throw m;return m},Bn.times=function(t,e){if((t=fa(t))<1||t>c)return[];var n=h,i=yn(t,h);e=so(e),t-=h;for(var r=Ge(i,e);++n<t;)e(n);return r},Bn.toFinite=pa,Bn.toInteger=fa,Bn.toLength=ga,Bn.toLower=function(t){return ya(t).toLowerCase()},Bn.toNumber=ma,Bn.toSafeInteger=function(t){return t?si(fa(t),-c,c):0===t?t:0},Bn.toString=ya,Bn.toUpper=function(t){return ya(t).toUpperCase()},Bn.trim=function(t,e,i){if((t=ya(t))&&(i||e===n))return Xe(t);if(!t||!(e=ar(e)))return t;var r=un(t),o=un(e);return br(r,Qe(r,o),Je(r,o)+1).join("")},Bn.trimEnd=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.slice(0,hn(t)+1);if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,0,Je(r,un(e))+1).join("")},Bn.trimStart=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.replace(it,"");if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,Qe(r,un(e))).join("")},Bn.truncate=function(t,e){var i=30,r="...";if(ta(e)){var o="separator"in e?e.separator:o;i="length"in e?fa(e.length):i,r="omission"in e?ar(e.omission):r}var s=(t=ya(t)).length;if(rn(t)){var a=un(t);s=a.length}if(i>=s)return t;var l=i-cn(r);if(l<1)return r;var c=a?br(a,0,l).join(""):t.slice(0,l);if(o===n)return c+r;if(a&&(l+=c.length-l),oa(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=At(o.source,ya(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(t.indexOf(ar(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Bn.unescape=function(t){return(t=ya(t))&&G.test(t)?t.replace(U,dn):t},Bn.uniqueId=function(t){var e=++It;return ya(t)+e},Bn.upperCase=Ya,Bn.upperFirst=Ka,Bn.each=ys,Bn.eachRight=bs,Bn.first=qo,al(Bn,function(){var t={};return bi(Bn,function(e,n){Dt.call(Bn.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),Bn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Bn[t].placeholder=Bn}),Ce(["drop","take"],function(t,e){Wn.prototype[t]=function(i){i=i===n?1:vn(fa(i),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(i,r.__takeCount__):r.__views__.push({size:yn(i,h),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ce(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:so(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),Ce(["head","last"],function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}}),Ce(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}}),Wn.prototype.compact=function(){return this.filter(il)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Xi(function(t,e){return"function"==typeof t?new Wn(this):this.map(function(n){return Pi(n,t,e)})}),Wn.prototype.reject=function(t){return this.filter(Ds(so(t)))},Wn.prototype.slice=function(t,e){t=fa(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Wn(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==n&&(i=(e=fa(e))<0?i.dropRight(-e):i.take(e-t)),i)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(h)},bi(Wn.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Bn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof Wn,c=a[0],u=l||Hs(e),h=function(t){var e=o.apply(Bn,Le([t],a));return r&&d?e[0]:e};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Wn(this);var m=t.apply(e,a);return m.__actions__.push({func:ps,args:[h],thisArg:n}),new Fn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})}),Ce(["pop","push","shift","sort","splice","unshift"],function(t){var e=Et[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Hs(r)?r:[],t)}return this[n](function(n){return e.apply(Hs(n)?n:[],t)})}}),bi(Wn.prototype,function(t,e){var n=Bn[e];if(n){var i=n.name+"";Dt.call(En,i)||(En[i]=[]),En[i].push({name:e,func:n})}}),En[Rr(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Ar(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ar(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ar(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Hs(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=yn(e,t+s);break;case"takeRight":t=vn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=yn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return dr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Bn.prototype.at=fs,Bn.prototype.chain=function(){return ds(this)},Bn.prototype.commit=function(){return new Fn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===n&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,i=this;i instanceof zn;){var r=Bo(i);r.__index__=0,r.__values__=n,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:ps,args:[ts],thisArg:n}),new Fn(e,this.__chain__)}return this.thru(ts)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return dr(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,te&&(Bn.prototype[te]=function(){return this}),Bn}();pe?((pe.exports=pn)._=pn,de._=pn):he._=pn}).call(tu)}(ou,ou.exports);var su=ou.exports;const au={key:0,class:"message"},lu={class:"body"},cu={class:"dismiss"},uu=Un({__name:"base-banner",props:{prependMessage:{default:void 0},small:{type:Boolean,default:!1},type:{default:"warning"}},setup(t){const e=t,n={warning:"Warning",error:"Error",success:"Success",info:"Info"},i=_o(()=>e.prependMessage?e.prependMessage:su.isUndefined(n[e.type])?"":`${n[e.type]}`);return(t,e)=>(jr(),Rr("div",{class:q(["banner",t.type,{small:t.small}]),role:"alert"},[i.value?(jr(),Rr("div",au,J(i.value),1)):Yr("",!0),Hr("div",lu,[Oi(t.$slots,"default",{},void 0,!0)]),Hr("div",cu,[Oi(t.$slots,"right",{},void 0,!0)])],2))}}),hu=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n},du=hu(uu,[["__scopeId","data-v-150bbe49"]]),pu={props:{modelValue:{type:null,default:void 0},initialValue:{type:null,default:void 0}},data(){return{toggleState:void 0!==this.initialValue&&this.initialValue}},computed:{visible:{get(){return void 0===this.modelValue?this.toggleState:this.modelValue},set(t){void 0===this.modelValue?this.toggleState=t:this.$emit("update:modelValue",t)}}},methods:{toggle(){this.visible?this.close():this.open()},open(){this.visible||(this.$emit("update:modelValue",!0),this.toggleState=!0,this.$emit("open"))},close(...t){this.visible&&(this.$emit("update:modelValue",!1),this.toggleState=!1,this.$emit("close",...t))},show(){this.open()},hide(){this.close()}}},fu=hu(Un({__name:"icon-viewer",props:{icon:{}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q(["icon-viewer",`icon-${t.icon}`])},null,2))}),[["__scopeId","data-v-47ab70fc"]]),gu=(Boolean,Boolean,Boolean,Boolean,Boolean,Un({__name:"button",props:{as:{type:[String,Object,Function],default:"button"},leftIcon:{},rightIcon:{},disabled:{type:Boolean,default:!1},hasMinWidth:{type:Boolean,default:void 0},size:{default:"medium"},spinner:{type:Boolean,default:!1},severity:{default:"primary"},variant:{default:"regular"}},setup(t){const e=t,n=ms(),i=_o(()=>{const t=void 0===e.hasMinWidth?"simple"!==e.variant:e.hasMinWidth;return[n.button,n[`variant-${e.variant}`],n[`severity-${e.severity}`],n[`size-${e.size}`],{[n[`icon-left-${e.leftIcon}`]]:!!e.leftIcon,[n[`icon-right-${e.rightIcon}`]]:!!e.rightIcon,[n.spinner]:e.spinner,[n.hasLeftIcon]:!!e.leftIcon,[n.hasMinWidth]:t,[n.hasRightIcon]:!!e.rightIcon}]});return(t,e)=>(jr(),Br(xi(t.as||"button"),{class:q(i.value),disabled:t.disabled},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["class","disabled"]))}})),mu=hu(gu,[["__cssModules",{$style:{icon:"_icon_y1o6n_1",button:"_button_y1o6n_51",spinner:"_spinner_y1o6n_70",spin:"_spin_y1o6n_70","icon-left-alert-circle":"_icon-left-alert-circle_y1o6n_97","icon-right-alert-circle":"_icon-right-alert-circle_y1o6n_101","icon-left-angles-up":"_icon-left-angles-up_y1o6n_105","icon-right-angles-up":"_icon-right-angles-up_y1o6n_109","icon-left-angles-down":"_icon-left-angles-down_y1o6n_113","icon-right-angles-down":"_icon-right-angles-down_y1o6n_117","icon-left-angles-left":"_icon-left-angles-left_y1o6n_121","icon-right-angles-left":"_icon-right-angles-left_y1o6n_125","icon-left-angles-right":"_icon-left-angles-right_y1o6n_129","icon-right-angles-right":"_icon-right-angles-right_y1o6n_133","icon-left-angle-down":"_icon-left-angle-down_y1o6n_137","icon-right-angle-down":"_icon-right-angle-down_y1o6n_141","icon-left-angle-left":"_icon-left-angle-left_y1o6n_145","icon-right-angle-left":"_icon-right-angle-left_y1o6n_149","icon-left-angle-right":"_icon-left-angle-right_y1o6n_153","icon-right-angle-right":"_icon-right-angle-right_y1o6n_157","icon-left-angle-up":"_icon-left-angle-up_y1o6n_161","icon-right-angle-up":"_icon-right-angle-up_y1o6n_165","icon-left-arrow-down":"_icon-left-arrow-down_y1o6n_169","icon-right-arrow-down":"_icon-right-arrow-down_y1o6n_173","icon-left-arrow-left":"_icon-left-arrow-left_y1o6n_177","icon-right-arrow-left":"_icon-right-arrow-left_y1o6n_181","icon-left-arrow-right":"_icon-left-arrow-right_y1o6n_185","icon-right-arrow-right":"_icon-right-arrow-right_y1o6n_189","icon-left-arrow-up":"_icon-left-arrow-up_y1o6n_193","icon-right-arrow-up":"_icon-right-arrow-up_y1o6n_197","icon-left-ban":"_icon-left-ban_y1o6n_201","icon-right-ban":"_icon-right-ban_y1o6n_205","icon-left-bell":"_icon-left-bell_y1o6n_209","icon-right-bell":"_icon-right-bell_y1o6n_213","icon-left-building":"_icon-left-building_y1o6n_217","icon-right-building":"_icon-right-building_y1o6n_221","icon-left-calendar":"_icon-left-calendar_y1o6n_225","icon-right-calendar":"_icon-right-calendar_y1o6n_229","icon-left-chart-bar":"_icon-left-chart-bar_y1o6n_233","icon-right-chart-bar":"_icon-right-chart-bar_y1o6n_237","icon-left-circle-check":"_icon-left-circle-check_y1o6n_241","icon-right-circle-check":"_icon-right-circle-check_y1o6n_245","icon-left-check":"_icon-left-check_y1o6n_249","icon-right-check":"_icon-right-check_y1o6n_253","icon-left-chevron-up":"_icon-left-chevron-up_y1o6n_257","icon-right-chevron-up":"_icon-right-chevron-up_y1o6n_261","icon-left-chevron-down":"_icon-left-chevron-down_y1o6n_265","icon-right-chevron-down":"_icon-right-chevron-down_y1o6n_269","icon-left-chevron-left":"_icon-left-chevron-left_y1o6n_273","icon-right-chevron-left":"_icon-right-chevron-left_y1o6n_277","icon-left-chevron-right":"_icon-left-chevron-right_y1o6n_281","icon-right-chevron-right":"_icon-right-chevron-right_y1o6n_285","icon-left-caret-up":"_icon-left-caret-up_y1o6n_289","icon-right-caret-up":"_icon-right-caret-up_y1o6n_293","icon-left-caret-down":"_icon-left-caret-down_y1o6n_297","icon-right-caret-down":"_icon-right-caret-down_y1o6n_301","icon-left-caret-left":"_icon-left-caret-left_y1o6n_305","icon-right-caret-left":"_icon-right-caret-left_y1o6n_309","icon-left-caret-right":"_icon-left-caret-right_y1o6n_313","icon-right-caret-right":"_icon-right-caret-right_y1o6n_317","icon-left-circle":"_icon-left-circle_y1o6n_241","icon-right-circle":"_icon-right-circle_y1o6n_245","icon-left-circle-arrow-up":"_icon-left-circle-arrow-up_y1o6n_329","icon-right-circle-arrow-up":"_icon-right-circle-arrow-up_y1o6n_333","icon-left-circle-arrow-down":"_icon-left-circle-arrow-down_y1o6n_337","icon-right-circle-arrow-down":"_icon-right-circle-arrow-down_y1o6n_341","icon-left-circle-arrow-left":"_icon-left-circle-arrow-left_y1o6n_345","icon-right-circle-arrow-left":"_icon-right-circle-arrow-left_y1o6n_349","icon-left-circle-arrow-right":"_icon-left-circle-arrow-right_y1o6n_353","icon-right-circle-arrow-right":"_icon-right-circle-arrow-right_y1o6n_357","icon-left-circle-chevron-up":"_icon-left-circle-chevron-up_y1o6n_361","icon-right-circle-chevron-up":"_icon-right-circle-chevron-up_y1o6n_365","icon-left-circle-chevron-down":"_icon-left-circle-chevron-down_y1o6n_369","icon-right-circle-chevron-down":"_icon-right-circle-chevron-down_y1o6n_373","icon-left-circle-chevron-left":"_icon-left-circle-chevron-left_y1o6n_377","icon-right-circle-chevron-left":"_icon-right-circle-chevron-left_y1o6n_381","icon-left-circle-chevron-right":"_icon-left-circle-chevron-right_y1o6n_385","icon-right-circle-chevron-right":"_icon-right-circle-chevron-right_y1o6n_389","icon-left-circle-thin":"_icon-left-circle-thin_y1o6n_393","icon-right-circle-thin":"_icon-right-circle-thin_y1o6n_397","icon-left-clock":"_icon-left-clock_y1o6n_401","icon-right-clock":"_icon-right-clock_y1o6n_405","icon-left-close":"_icon-left-close_y1o6n_409","icon-right-close":"_icon-right-close_y1o6n_413","icon-left-close-circle":"_icon-left-close-circle_y1o6n_417","icon-right-close-circle":"_icon-right-close-circle_y1o6n_421","icon-left-code-branch":"_icon-left-code-branch_y1o6n_425","icon-right-code-branch":"_icon-right-code-branch_y1o6n_429","icon-left-gear":"_icon-left-gear_y1o6n_433","icon-right-gear":"_icon-right-gear_y1o6n_437","icon-left-grip":"_icon-left-grip_y1o6n_441","icon-right-grip":"_icon-right-grip_y1o6n_445","icon-left-grip-vertical":"_icon-left-grip-vertical_y1o6n_449","icon-right-grip-vertical":"_icon-right-grip-vertical_y1o6n_453","icon-left-comments":"_icon-left-comments_y1o6n_457","icon-right-comments":"_icon-right-comments_y1o6n_461","icon-left-copy":"_icon-left-copy_y1o6n_465","icon-right-copy":"_icon-right-copy_y1o6n_469","icon-left-credit-card":"_icon-left-credit-card_y1o6n_473","icon-right-credit-card":"_icon-right-credit-card_y1o6n_477","icon-left-disable":"_icon-left-disable_y1o6n_481","icon-right-disable":"_icon-right-disable_y1o6n_485","icon-left-dollar-sign":"_icon-left-dollar-sign_y1o6n_489","icon-right-dollar-sign":"_icon-right-dollar-sign_y1o6n_493","icon-left-download":"_icon-left-download_y1o6n_497","icon-right-download":"_icon-right-download_y1o6n_501","icon-left-pen-to-square":"_icon-left-pen-to-square_y1o6n_505","icon-right-pen-to-square":"_icon-right-pen-to-square_y1o6n_509","icon-left-ellipsis":"_icon-left-ellipsis_y1o6n_513","icon-right-ellipsis":"_icon-right-ellipsis_y1o6n_517","icon-left-ellipsis-vertical":"_icon-left-ellipsis-vertical_y1o6n_521","icon-right-ellipsis-vertical":"_icon-right-ellipsis-vertical_y1o6n_525","icon-left-circle-exclamation":"_icon-left-circle-exclamation_y1o6n_529","icon-right-circle-exclamation":"_icon-right-circle-exclamation_y1o6n_533","icon-left-triangle-exclamation":"_icon-left-triangle-exclamation_y1o6n_537","icon-right-triangle-exclamation":"_icon-right-triangle-exclamation_y1o6n_541","icon-left-eye":"_icon-left-eye_y1o6n_545","icon-right-eye":"_icon-right-eye_y1o6n_549","icon-left-forward-fast":"_icon-left-forward-fast_y1o6n_553","icon-right-forward-fast":"_icon-right-forward-fast_y1o6n_557","icon-left-file":"_icon-left-file_y1o6n_561","icon-right-file":"_icon-right-file_y1o6n_565","icon-left-filter":"_icon-left-filter_y1o6n_569","icon-right-filter":"_icon-right-filter_y1o6n_573","icon-left-earth-americas":"_icon-left-earth-americas_y1o6n_577","icon-right-earth-americas":"_icon-right-earth-americas_y1o6n_581","icon-left-globe":"_icon-left-globe_y1o6n_585","icon-right-globe":"_icon-right-globe_y1o6n_589","icon-left-help":"_icon-left-help_y1o6n_593","icon-right-help":"_icon-right-help_y1o6n_597","icon-left-clock-rotate-left":"_icon-left-clock-rotate-left_y1o6n_601","icon-right-clock-rotate-left":"_icon-right-clock-rotate-left_y1o6n_605","icon-left-house":"_icon-left-house_y1o6n_609","icon-right-house":"_icon-right-house_y1o6n_613","icon-left-id-card":"_icon-left-id-card_y1o6n_617","icon-right-id-card":"_icon-right-id-card_y1o6n_621","icon-left-info":"_icon-left-info_y1o6n_625","icon-right-info":"_icon-right-info_y1o6n_629","icon-left-link":"_icon-left-link_y1o6n_633","icon-right-link":"_icon-right-link_y1o6n_637","icon-left-list":"_icon-left-list_y1o6n_641","icon-right-list":"_icon-right-list_y1o6n_645","icon-left-list-check":"_icon-left-list-check_y1o6n_649","icon-right-list-check":"_icon-right-list-check_y1o6n_653","icon-left-lock":"_icon-left-lock_y1o6n_657","icon-right-lock":"_icon-right-lock_y1o6n_661","icon-left-lock-open":"_icon-left-lock-open_y1o6n_665","icon-right-lock-open":"_icon-right-lock-open_y1o6n_669","icon-left-left-long":"_icon-left-left-long_y1o6n_673","icon-right-left-long":"_icon-right-left-long_y1o6n_677","icon-left-right-long":"_icon-left-right-long_y1o6n_681","icon-right-right-long":"_icon-right-right-long_y1o6n_685","icon-left-wand-magic":"_icon-left-wand-magic_y1o6n_689","icon-right-wand-magic":"_icon-right-wand-magic_y1o6n_693","icon-left-circle-minus":"_icon-left-circle-minus_y1o6n_697","icon-right-circle-minus":"_icon-right-circle-minus_y1o6n_701","icon-left-menu":"_icon-left-menu_y1o6n_705","icon-right-menu":"_icon-right-menu_y1o6n_709","icon-left-minus":"_icon-left-minus_y1o6n_713","icon-right-minus":"_icon-right-minus_y1o6n_717","icon-left-more":"_icon-left-more_y1o6n_721","icon-right-more":"_icon-right-more_y1o6n_725","icon-left-more-vert":"_icon-left-more-vert_y1o6n_729","icon-right-more-vert":"_icon-right-more-vert_y1o6n_733","icon-left-paper-plane":"_icon-left-paper-plane_y1o6n_737","icon-right-paper-plane":"_icon-right-paper-plane_y1o6n_741","icon-left-circle-play":"_icon-left-circle-play_y1o6n_745","icon-right-circle-play":"_icon-right-circle-play_y1o6n_749","icon-left-plus":"_icon-left-plus_y1o6n_753","icon-right-plus":"_icon-right-plus_y1o6n_757","icon-left-circle-plus":"_icon-left-circle-plus_y1o6n_761","icon-right-circle-plus":"_icon-right-circle-plus_y1o6n_765","icon-left-square-plus":"_icon-left-square-plus_y1o6n_769","icon-right-square-plus":"_icon-right-square-plus_y1o6n_773","icon-left-square-caret-up":"_icon-left-square-caret-up_y1o6n_777","icon-right-square-caret-up":"_icon-right-square-caret-up_y1o6n_781","icon-left-square-caret-down":"_icon-left-square-caret-down_y1o6n_785","icon-right-square-caret-down":"_icon-right-square-caret-down_y1o6n_789","icon-left-square-caret-left":"_icon-left-square-caret-left_y1o6n_793","icon-right-square-caret-left":"_icon-right-square-caret-left_y1o6n_797","icon-left-square-caret-right":"_icon-left-square-caret-right_y1o6n_801","icon-right-square-caret-right":"_icon-right-square-caret-right_y1o6n_805","icon-left-question-mark":"_icon-left-question-mark_y1o6n_809","icon-right-question-mark":"_icon-right-question-mark_y1o6n_813","icon-left-shuffle":"_icon-left-shuffle_y1o6n_817","icon-right-shuffle":"_icon-right-shuffle_y1o6n_821","icon-left-arrow-rotate-right":"_icon-left-arrow-rotate-right_y1o6n_825","icon-right-arrow-rotate-right":"_icon-right-arrow-rotate-right_y1o6n_829","icon-left-refresh":"_icon-left-refresh_y1o6n_833","icon-right-refresh":"_icon-right-refresh_y1o6n_837","icon-left-reply":"_icon-left-reply_y1o6n_841","icon-right-reply":"_icon-right-reply_y1o6n_845","icon-left-resend":"_icon-left-resend_y1o6n_849","icon-right-resend":"_icon-right-resend_y1o6n_853","icon-left-right-from-bracket":"_icon-left-right-from-bracket_y1o6n_857","icon-right-right-from-bracket":"_icon-right-right-from-bracket_y1o6n_861","icon-left-magnifying-glass":"_icon-left-magnifying-glass_y1o6n_865","icon-right-magnifying-glass":"_icon-right-magnifying-glass_y1o6n_869","icon-left-settings":"_icon-left-settings_y1o6n_873","icon-right-settings":"_icon-right-settings_y1o6n_877","icon-left-share":"_icon-left-share_y1o6n_881","icon-right-share":"_icon-right-share_y1o6n_885","icon-left-spinner":"_icon-left-spinner_y1o6n_889","icon-right-spinner":"_icon-right-spinner_y1o6n_894","icon-left-square-down":"_icon-left-square-down_y1o6n_899","icon-right-square-down":"_icon-right-square-down_y1o6n_903","icon-left-stop":"_icon-left-stop_y1o6n_907","icon-right-stop":"_icon-right-stop_y1o6n_911","icon-left-swap":"_icon-left-swap_y1o6n_915","icon-right-swap":"_icon-right-swap_y1o6n_919","icon-left-table":"_icon-left-table_y1o6n_923","icon-right-table":"_icon-right-table_y1o6n_927","icon-left-circle-xmark":"_icon-left-circle-xmark_y1o6n_931","icon-right-circle-xmark":"_icon-right-circle-xmark_y1o6n_935","icon-left-trash":"_icon-left-trash_y1o6n_939","icon-right-trash":"_icon-right-trash_y1o6n_943","icon-left-unfold-less":"_icon-left-unfold-less_y1o6n_947","icon-right-unfold-less":"_icon-right-unfold-less_y1o6n_951","icon-left-unfold-more":"_icon-left-unfold-more_y1o6n_955","icon-right-unfold-more":"_icon-right-unfold-more_y1o6n_959","icon-left-user":"_icon-left-user_y1o6n_963","icon-right-user":"_icon-right-user_y1o6n_967","icon-left-users":"_icon-left-users_y1o6n_971","icon-right-users":"_icon-right-users_y1o6n_975","icon-left-vial":"_icon-left-vial_y1o6n_979","icon-right-vial":"_icon-right-vial_y1o6n_983","icon-left-view-list":"_icon-left-view-list_y1o6n_987","icon-right-view-list":"_icon-right-view-list_y1o6n_991",hasLeftIcon:"_hasLeftIcon_y1o6n_995","size-small":"_size-small_y1o6n_1001",hasRightIcon:"_hasRightIcon_y1o6n_1008",hasMinWidth:"_hasMinWidth_y1o6n_1025","severity-primary":"_severity-primary_y1o6n_1028","variant-regular":"_variant-regular_y1o6n_1028","variant-outline":"_variant-outline_y1o6n_1044","variant-simple":"_variant-simple_y1o6n_1059","severity-secondary":"_severity-secondary_y1o6n_1070","severity-danger":"_severity-danger_y1o6n_1117","severity-caution":"_severity-caution_y1o6n_1153","size-large":"_size-large_y1o6n_1189",disabled:"_disabled_y1o6n_1230"}}]]),vu=hu(Un({__name:"card-content",props:{padding:{default:"md"}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q(t.$style[t.padding])},[Oi(t.$slots,"default")],2))}),[["__cssModules",{$style:{sm:"_sm_rsgx8_1",md:"_md_rsgx8_4",lg:"_lg_rsgx8_7"}}]]),yu=hu(Un({__name:"card",props:{boxShadow:{type:Boolean,default:!0},outline:{type:Boolean,default:!0},padding:{type:[String,Boolean],default:"md"}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q([t.$style.card,{[t.$style.boxShadow]:t.boxShadow,[t.$style.outline]:t.outline}])},[t.padding?(jr(),Br(vu,{key:0,padding:t.padding},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["padding"])):Oi(t.$slots,"default",{key:1})],2))}),[["__cssModules",{$style:{card:"_card_7q0tq_1",outline:"_outline_7q0tq_6",boxShadow:"_boxShadow_7q0tq_9"}}]]);Object.assign(yu,{Content:vu});var bu={exports:{}};!function(t){var e,n;e=typeof window<"u"?window:tu,n=function(t){var e={};function n(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.6",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e}),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let e,{charts:n,doc:i,win:r}=t;function o(e,n,i,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=d(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),w(s,function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))}),c+=t}k(t,"displayError",{chart:i,code:e,message:c,params:s},function(){if(n)throw Error(c);r.console&&-1===o.messages.indexOf(c)&&console.warn(c)}),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function h(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function p(t){return null!=t}function f(t,e,n){let i,r=a(e)&&!p(n),o=(e,n)=>{p(e)?t.setAttribute(n,e):r?(i=t.getAttribute(n))||"class"!==n||(i=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):w(e,o),i}function g(t){return l(t)?t:[t]}function m(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function y(t,e){m(t.style,e)}function b(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function _(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};function w(t,e,n){for(let i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function S(t,e,n){function i(e,n){let i=t.removeEventListener;i&&i.call(t,e,n,!1)}function r(n){let r,o;t.nodeName&&(e?(r={})[e]=!0:r=n,w(r,function(t,e){if(n[e])for(o=n[e].length;o--;)i(e,n[e][o].fn)}))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter(function(t){return n!==t.fn}),i(e,n)):(r(t),t[e]=[])}else r(t),delete o.hcEvents}}function k(e,n,r,o){if(r=r||{},i.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=i.createEvent("Events");t.initEvent(n,!0,!0),r=m(t,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||m(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n});let t=[],i=e,o=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,i.hcEvents[n])),i=Object.getPrototypeOf(i);o&&t.sort((t,e)=>t.order-e.order),t.forEach(t=>{!1===t.fn.call(e,r)&&r.preventDefault()})}o&&!r.defaultPrevented&&o.call(e,r)}w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}});let C=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return r.jQuery&&(r.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[f(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,i,r={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:i,order:"number"==typeof r.order?r.order:1/0};return s[n].push(l),s[n].sort((t,e)=>t.order-e.order),function(){S(e,n,i)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:f,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){p(t)&&clearTimeout(t)},correctFloat:_,createElement:function(t,e,n,r,o){let s=i.createElement(t);return e&&m(s,e),o&&y(s,{padding:"0",border:"none",margin:"0"}),n&&y(s,n),r&&r.appendChild(s),s},crisp:(t,e=0,n)=>{let i=e%2/2,r=n?-1:1;return(Math.round(t*r-i)+i)*r},css:y,defined:p,destroyObjectProperties:function(t,e,n){w(t,function(i,r){i!==e&&null!=i&&i.destroy&&i.destroy(),(null!=i&&i.destroy||!n)&&delete t[r]})},diffObjects:function(t,e,n,i){let r={};return function t(e,r,o,s){let a=n?r:e;w(e,function(n,u){if(!s&&i&&i.indexOf(u)>-1&&r[u]){n=g(n),o[u]=[];for(let e=0;e<Math.max(n.length,r[u].length);e++)r[u][e]&&(void 0===n[e]?o[u][e]=r[u][e]:(o[u][e]={},t(n[e],r[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,r[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==r[u]||u in e&&!(u in r))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])})}(t,e,r,0),r},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:m,extendClass:function(t,e){let n=function(){};return m(n.prototype=new t,e),n},find:x,fireEvent:k,getClosestDistance:function(t,e){let n,i,r,o=!e;return t.forEach(t=>{if(t.length>1)for(r=t.length-1;r>0;r--)(i=t[r]-t[r-1])<0&&!o?(null==e||e(),e=void 0):i&&(void 0===n||i<n)&&(n=i)}),n},getMagnitude:b,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&p(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let i=e[t];if(!p(i)||"function"==typeof i||"number"==typeof i.nodeType||i===r)return;e=i}return e},getStyle:function t(e,n,i){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),i=e.getBoundingClientRect&&e.getBoundingClientRect().width;return i<n&&i>=n-1&&(n=Math.floor(i)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=r.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(i,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,i=t.options.index,r=e.length;for(n=t.options.isInternal?r:0;n<r+1;n++)if(!e[n]||d(i)&&i<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:h,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:d,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),w(e,function(n,r){"__proto__"!==r&&"constructor"!==r&&(!c(n,!0)||h(n)||u(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))}),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){let o,s=t,a=t/(n=v(n,b(t)));for(!e&&(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter(function(t){return t%1==0}):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!r||!(s*n>=t))&&(r||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return _(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(t){let e=i.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:S,replaceNested:function(t,...e){let n,i;do{for(i of(n=t,e))t=t.replace(i[0],i[1])}while(t!==n);return t},splat:g,stableSort:function(t,e){let n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort(function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n}),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let i=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}}),n(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),n(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{win:n}=t,{defined:i,error:r,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:h,splat:d,timeUnits:p}=e,f=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,g=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class m{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),i=n-this.getTimezoneOffset(e);e.setTime(i);let r=e["getUTC"+t]();return e.setTime(n),r}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let i=this.getTimezoneOffset(e),r=e.getTime()-i;e.setTime(r),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return r=e.getTime()+o,e.setTime(r)}return this.useUTC||f&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=h(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,i,r,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||g||(s-=36e5)):s=new this.Date(t,e,h(n,1),h(i,0),h(r,0),h(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[i,r,o,a,l=0]=(m.formatCache[n]=m.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch{r(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=h(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),d=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return c(o({a:y?y[d]:v[d].substr(0,3),A:v[d],d:u(p),e:u(p,2," "),w:d,b:m.shortMonths[f],B:m.months[f],m:u(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(s,n):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,r){let s,a,l,c,u=this,d=u.Date,f=[],g={},m=new d(e),v=t.unitRange,y=t.count||1;if(r=h(r,1),i(e)){u.set("Milliseconds",m,v>=p.second?0:y*Math.floor(u.get("Milliseconds",m)/y)),v>=p.second&&u.set("Seconds",m,v>=p.minute?0:y*Math.floor(u.get("Seconds",m)/y)),v>=p.minute&&u.set("Minutes",m,v>=p.hour?0:y*Math.floor(u.get("Minutes",m)/y)),v>=p.hour&&u.set("Hours",m,v>=p.day?0:y*Math.floor(u.get("Hours",m)/y)),v>=p.day&&u.set("Date",m,v>=p.month?1:Math.max(1,y*Math.floor(u.get("Date",m)/y))),v>=p.month&&(u.set("Month",m,v>=p.year?0:y*Math.floor(u.get("Month",m)/y)),a=u.get("FullYear",m)),v>=p.year&&(a-=a%y,u.set("FullYear",m,a)),v===p.week&&(c=u.get("Day",m),u.set("Date",m,u.get("Date",m)-c+r+(c<r?-7:0))),a=u.get("FullYear",m);let t=u.get("Month",m),o=u.get("Date",m),h=u.get("Hours",m);e=m.getTime(),(u.variableTimezone||!u.useUTC)&&i(n)&&(l=n-e>4*p.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let d=m.getTime();for(s=1;d<n;)f.push(d),v===p.year?d=u.makeTime(a+s*y,0):v===p.month?d=u.makeTime(a,t+s*y):!l||v!==p.day&&v!==p.week?l&&v===p.hour&&y>1?d=u.makeTime(a,t,o,h+s*y):d+=v*y:d=u.makeTime(a,t,o+s*y*(v===p.day?1:7)),s++;f.push(d),v<=p.hour&&f.length<1e4&&f.forEach(function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(g[t]="day")})}return f.info=o(t,{higherRanks:g,totalRange:v*y}),f}getDateFormat(t,e,n,i){let r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&r.substr(6)===o.substr(6)){a="week";break}if(p[a]>t){a=l;break}if(s[a]&&r.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(i[a]).main}}return m.formatCache={},m}),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=r,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new i(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}}),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{isNumber:n,merge:i,pInt:r}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,i,r,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map(t=>new o(t[1]));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?i=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(r=o.parsers.length;r--&&!i;)(n=(s=o.parsers[r]).regex.exec(e))&&(i=s.parse(n))}i&&(this.rgba=i)}get(t){let e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=i(e);return n.stops=[].slice.call(n.stops),this.stops.forEach((e,i)=>{n.stops[i]=[n.stops[i][0],e.get(t)]}),n}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?`${r[3]}`:"rgba("+r.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=r(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let i=this.rgba,r=t.rgba;if(!n(i[0])||!n(r[0]))return t.input||"none";let o=1!==r[3]||1!==i[3];return(o?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(o?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],o.None=new o(""),o}),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{parse:i}=t,{win:r}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],i=this.now||0,r=[];if(1!==i&&e&&n)if(e.length===n.length&&i<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+i*(n-e):l[t]=n}r.push(l)}else r=n;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)}run(t,e,n){let i=this,o=i.options,s=function(t){return!s.stopped&&i.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,i=+new Date,r=this.options,o=this.elem,a=r.complete,l=r.duration,c=r.curAnim;return o.attr&&!o.element?e=!1:t||i>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,function(t){!0!==t&&(n=!1)}),n&&a&&a.call(o),e=!1):(this.pos=r.easing((i-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let i,r,s,a,l=t.startX,c=t.endX,u=n.slice(),h=t.isArea,d=h?2:1,p=e&&n.length>e.length&&n.hasStackedCliffs,f=e&&e.slice();if(!f||p)return[u,u];function g(t,e){for(;t.length<r;){let n=t[0],i=e[r-t.length];if(i&&"M"===n[0]&&("C"===i[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),h){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<r;){let e=t[Math.floor(t.length/d)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),h){let n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){i=s;break}if(l[0]===c[c.length-l.length+s]){i=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){i=l.length-s;break}}void 0===i&&(f=[])}return f.length&&o(i)&&(r=u.length+i*d,a?(g(f,u),m(u)):(g(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}}return a.timers=[],a}),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,e){let{defined:n,getStyle:i,isArray:r,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function h(e,n){let i=t.timers.length;for(;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}return{animate:function(e,n,c){let u,d,p,f,g="";s(c)||(f=arguments,c={duration:f[2],easing:f[3],complete:f[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,function(o,s){h(e,s),p=new t(e,c,s),d=void 0,"d"===s&&r(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,d=1):e.attr?u=e.attr(s):(u=parseFloat(i(e,s))||0,"opacity"!==s&&(g="px")),d||(d=o),"string"==typeof d&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(u,d,g)})},animObject:u,getDeferredAnimation:function(t,e,i){let r=u(e),o=i?[i]:t.series,a=0,l=0;return o.forEach(t=>{let i=u(t.options.animation);a=s(e)&&n(e.defer)?r.defer:Math.max(a,i.duration+i.defer),l=Math.min(r.duration,i.duration)}),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:h}}),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{SVG_NS:n,win:i}=t,{attr:r,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:h}=e,{trustedTypes:d}=i,p=d&&l(d.createPolicy)&&d.createPolicy("highcharts",{createHTML:t=>t}),f=p?p.createHTML(""):"",g=function(){try{return!!(new DOMParser).parseFromString(f,"text/html")}catch{return!1}}();class m{static filterUserAttributes(t){return u(t,(e,n)=>{let i=!0;-1===m.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=c(e)&&m.allowedReferences.some(t=>0===e.indexOf(t))),i||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"<"))}),t}static parseStyle(t){return t.split(";").reduce((t,e)=>{let n=e.split(":").map(t=>t.trim()),i=n.shift();return i&&n.length&&(t[i.replace(/-([a-z])/g,t=>t[1].toUpperCase())]=n.join(":")),t},{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(i,o){let l;return h(i).forEach(function(i){let c,h=i.tagName,d=i.textContent?t.doc.createTextNode(i.textContent):void 0,p=m.bypassHTMLFiltering;if(h)if("#text"===h)c=d;else if(-1!==m.allowedTags.indexOf(h)||p){let a="svg"===h?n:o.namespaceURI||n,l=t.doc.createElementNS(a,h),f=i.attributes||{};u(i,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(f[e]=t)}),r(l,p?f:m.filterUserAttributes(f)),i.style&&s(l,i.style),d&&l.appendChild(d),e(i.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":h});c&&o.appendChild(c),l=c}),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),g)e=(new DOMParser).parseFromString(p?p.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let i=(t,e)=>{let n=t.nodeName.toLowerCase(),r={tagName:n};"#text"===n&&(r.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,e=>{"data-style"===e.name?r.style=m.parseStyle(e.value):t[e.name]=e.value}),r.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,t=>{i(t,e)}),e.length&&(r.children=e)}e.push(r)};return[].forEach.call(e.body.childNodes,t=>i(t,n)),n}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=f,m.bypassHTMLFiltering=!1,m}),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,e){let{defaultOptions:n,defaultTime:i}=t,{extend:r,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,h={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map((n,i)=>d(e.body,r(l(n)?n:{"@this":n},{"@index":i,"@first":0===i,"@last":i===t.length-1}))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function d(t="",e,r){let s,a,l,u=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,f=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,g=[],m=/f$/,v=/\.(\d)/,y=n.lang,b=r&&r.time||i,_=r&&r.numberFormatter||p,x=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},w=0;for(;null!==(s=u.exec(t));){let n=f.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let i=s[1].split(" ")[0].replace("#","");h[i]&&(a.isBlock&&i===a.fn&&w++,a.fn||(a.fn=i));let r="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||r))if(w)!r&&w--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],r||(g.push(a),a=void 0)}else a.isBlock||g.push(a);if(n&&(null==a||!a.isBlock))break}return g.forEach(n=>{let i,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=h[u].length;o--;)t.unshift(x(c[o+1]));i=h[u].apply(e,t),n.isBlock&&"boolean"==typeof i&&(i=d(i?s:a,e,r))}else{let t=l.split(":");if(i=x(t.shift()||""),t.length&&"number"==typeof i){let e=t.join(":");if(m.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==i&&(i=_(i,t,y.decimalPoint,e.indexOf(",")>-1?y.thousandsSep:""))}else i=b.dateFormat(e,i)}}t=t.replace(n.find,c(i,""))}),l?d(t,e,r):t}function p(t,e,i,r){let o,s;t=+t||0,e=+e;let l=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),p=e;-1===e?e=Math.min(h,20):a(e)?e&&d[1]&&d[1]<0&&((s=e+ +d[1])>=0?(d[0]=(+d[0]).toExponential(s).split("e")[0],e=s):(d[0]=d[0].split(".")[0]||0,t=e<20?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)):e=2;let f=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),g=String(u(f)),m=g.length>3?g.length%3:0;return i=c(i,l.decimalPoint),r=c(r,l.thousandsSep),o=(t<0?"-":"")+(m?g.substr(0,m)+r:""),0>+d[1]&&!p?o="0":o+=g.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),e?o+=i+f.slice(-e):0==+o&&(o="0"),d[1]&&0!=+o&&(o+="e"+d[1]),o}return{dateFormat:function(t,e,n){return i.dateFormat(t,e,n)},format:d,helpers:h,numberFormat:p}}),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var e,n;let i;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=i){return n.rendererTypes[t]||n.rendererTypes[i]},n.registerRendererType=function(e,r,o){n.rendererTypes[e]=r,(!i||o)&&(i=e,t.Renderer=r)},e}),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var e;let{clamp:n,pick:i,pushUnique:r,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,h,d,p,f=e,g=f.reducedLen||s,m=(t,e)=>t.target-e.target,v=[],y=e.length,b=[],_=v.push,x=!0,w=0;for(l=y;l--;)w+=e[l].size;if(w>g){for(o(e,(t,e)=>(e.rank||0)-(t.rank||0)),u=(p=e[0].rank===e[e.length-1].rank)?y/2:-1,c=p?u:y-1;u&&w>g;)h=e[l=Math.floor(c)],r(b,l)&&(w-=h.size),c+=u,p&&c>=e.length&&(u/=2,c=u);b.sort((t,e)=>e-t).forEach(t=>_.apply(v,e.splice(t,1)))}for(o(e,m),e=e.map(t=>({size:t.size,targets:[t.target],align:i(t.align,.5)}));x;){for(l=e.length;l--;)h=e[l],d=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=n(d-h.size*h.align,0,s-h.size);for(l=e.length,x=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),x=!0)}return _.apply(f,v),l=0,e.some(e=>{let n=0;return(e.targets||[]).some(()=>(f[l].pos=e.pos+n,void 0!==a&&Math.abs(f[l].pos-f[l].target)>a?(f.slice(0,l+1).forEach(t=>delete t.pos),f.reducedLen=(f.reducedLen||s)-.1*s,f.reducedLen>.1*s&&t(f,s,a),!0):(n+=f[l].size,l++,!1)))}),o(f,m),f},e}),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{animate:r,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:h}=n,{addEvent:d,attr:p,createElement:f,crisp:g,css:m,defined:v,erase:y,extend:b,fireEvent:_,isArray:x,isFunction:w,isObject:S,isString:k,merge:C,objectEach:O,pick:A,pInt:T,pushUnique:P,replaceNested:E,syncTimeout:M,uniqueKey:L}=i;class ${_defaultGetter(t){let e=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===n.indexOf(e)&&t.push(e),t},n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,i=!0){let r,o,s,a,l={},c=this.renderer,u=c.alignedObjects,h=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let d=!n||k(n)?n||"renderer":void 0;d&&(h&&P(u,this),n=void 0);let p=A(n,c[d],c),f=t.align,g=t.verticalAlign;return r=(p.x||0)+(t.x||0),o=(p.y||0)+(t.y||0),"right"===f?s=1:"center"===f&&(s=2),s&&(r+=((p.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(r),"bottom"===g?a=1:"middle"===g&&(a=2),a&&(o+=((p.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),i&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let i=o(A(e,this.renderer.globalAnimation,!0)),s=i.defer;return l.hidden&&(i.duration=0),0!==i.duration?(n&&(i.complete=n),M(()=>{this.element&&r(this,t,i)},s)):(this.attr(t,void 0,n||i.complete),O(t,function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.split(" "),r=i[i.length-1],o=i[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*Number(e)+n}),this.removeTextOutline();let t=l.createElementNS(u,"tspan");p(t,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(t=>n.removeAttribute(t)),t.appendChild(n)});let i=0;[].forEach.call(n.querySelectorAll("text tspan"),t=>{i+=Number(t.getAttribute("dy"))});let s=l.createElementNS(u,"tspan");s.textContent="",p(s,{x:Number(e.getAttribute("x")),dy:-i}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,i){let r,o,a,{element:l}=this,c=$.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(r=t,(t={})[r]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(O(t,function(e,n){a=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)},this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=L()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);b(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,i=t.y||this.y||0,r=(t.width||this.width||0)+n,o=(t.height||this.height||0)+i,s=g(n,e),a=g(i,e);return b(t,{x:s,y:a,width:g(r,e)-s,height:g(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,i){let r,o,s,a,l,c,u,h,d,p,f,g=this.renderer,m=[];_(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=g.gradients,c=t.stops,d=i.radialReference,x(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!v(s.gradientUnits)&&(a=s,s=C(s,g.getRadialAttr(d,a),{gradientUnits:"userSpaceOnUse"})),O(s,function(t,e){"id"!==e&&m.push(e,t)}),O(c,function(t){m.push(t)}),l[m=m.join(",")])p=l[m].attr("id");else{s.id=p=L();let t=l[m]=g.createElement(o).attr(s).add(g.defs);t.radAttr=a,t.stops=[],c.forEach(function(n){0===n[1].indexOf("rgba")?(u=(r=e.parse(n[1])).get("rgb"),h=r.get("a")):(u=n[1],h=1);let i=g.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":h}).add(t);t.stops.push(i)})}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=m,t.toString=function(){return f}}})}css(t){let e,n=this.styles,i={},r=this.element,o=!n;if(n&&O(t,function(t,e){n&&n[e]!==t&&(i[e]=t,o=!0)}),o){n&&(t=b(n,i)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),b(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=C(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(t=>o&&delete o[t]),o.color&&(o.fill=o.color)),m(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=i.length;e--;)i[e]=""+T(i[e])*A(n,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){var t;let e,n,i=this,r=i.element||{},o=i.renderer,a=r.ownerSVGElement,l="SPAN"===r.nodeName&&i.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(i),i.clipPath&&a){let t=i.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")}),i.clipPath=t.destroy()}if(i.connector=null==(t=i.connector)?void 0:t.destroy(),i.stops){for(n=0;n<i.stops.length;n++)i.stops[n].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(r);l&&l.div&&0===l.div.childNodes.length;)e=l.parentGroup,i.safeRemoveChild(l.div),delete l.div,l=e;i.alignOptions&&y(o.alignedObjects,i),O(i,function(t,e){i[e]&&i[e].parentGroup===i&&i[e].destroy&&i[e].destroy(),delete i[e]})}dSetter(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString(),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,i,r,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:h,cacheKeys:d}=l,p=a.namespaceURI===this.SVG_NS,f=A(e,this.rotation,0),g=l.styledMode?a&&$.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/\d/g,"0")),o+=["",l.rootFontSize,g,f,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=h[o]),!n||n.polygon){if(p||l.forExport){try{r=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},w(r)&&r("none"),n=a.getBBox?b({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(r)&&r("")}catch{}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();i=n.height,p&&(n.height=i={"11px,17":14,"13px,20":16}[`${g||""},${Math.round(i)}`]||i),f&&(n=this.getRotatedBox(n,f));let t={bBox:n};_(this,"afterGetBBox",t),n=t.bBox}if(o&&(""===u||n.height>0)){for(;d.length>250;)delete h[d.shift()];h[o]||d.push(o),h[o]=n}return n}getRotatedBox(t,e){let{x:n,y:i,width:r,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,h={right:1,center:.5}[s||0]||0,d=Number(this.element.getAttribute("y")||0)-(l?0:i),p=e*a,f=(e-90)*a,g=Math.cos(p),m=Math.sin(p),v=r*g,y=r*m,b=Math.cos(f),_=Math.sin(f),[[x,w],[S,k]]=[c,u].map(t=>[t-t*g,t*m]),C=n+h*(r-v)+x+k+d*b,O=C+v,A=O-o*b,T=A-v,P=i+d-h*y-w+S+d*_,E=P+y,M=E-o*_,L=M-y,$=Math.min(C,O,A,T),j=Math.min(P,E,M,L);return{x:$,y:j,width:Math.max(C,O,A,T)-$,height:Math.max(P,E,M,L)-j,polygon:[[C,P],[O,E],[A,M],[T,L]]}}getStyle(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},_(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=d(this.element,t,e),this}opacitySetter(t,e,n){let i=Number(Number(t).toFixed(3));this.opacity=i,n.setAttribute(e,i)}reAlign(){var t;null!=(t=this.alignOptions)&&t.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){var e;let{renderer:n}=this,i=C(90===(null==(e=this.parentGroup)?void 0:e.rotation)?{offsetX:-1,offsetY:-1}:{},S(t)?t:{}),r=n.shadowDefinition(i);return this.attr({filter:t?`url(${n.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=T(e):""!==e&&(p(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;$.symbolCustomAttribs.forEach(function(n){e[n]=A(t[n],e[n])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=E(A(t,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){var e;let{element:n,matrix:i,rotation:r=0,rotationOriginX:o,rotationOriginY:s,scaleX:a,scaleY:l,translateX:c=0,translateY:u=0}=this,h=["translate("+c+","+u+")"];v(i)&&h.push("matrix("+i.join(",")+")"),r&&(h.push("rotate("+r+" "+A(o,n.getAttribute("x"),0)+" "+A(s,n.getAttribute("y")||0)+")"),"SPAN"===(null==(e=this.text)?void 0:e.element.tagName)&&this.text.attr({rotation:r,rotationOriginX:(o||0)-this.padding,rotationOriginY:(s||0)-this.padding})),(v(a)||v(l))&&h.push("scale("+A(a,1)+" "+A(l,1)+")"),h.length&&!(this.text||this).textPath&&n.setAttribute(t,h.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,i,r,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,h=c===a.box,d=!1,p=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(p=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!d;s--)o=!v(r=(i=n[s]).getAttribute("data-z-index")),i!==u&&(t<0&&o&&!h&&!s?(c.insertBefore(u,n[s]),d=!0):(T(r)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),d=!0));d||(c.insertBefore(u,n[h?3:0]),d=!0)}return d}}return $.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],$.prototype.strokeSetter=$.prototype.fillSetter,$.prototype.yGetter=$.prototype.xGetter,$.prototype.matrixSetter=$.prototype.rotationOriginXSetter=$.prototype.rotationOriginYSetter=$.prototype.rotationSetter=$.prototype.scaleXSetter=$.prototype.scaleYSetter=$.prototype.translateXSetter=$.prototype.translateYSetter=$.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},$}),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){let{defined:n,extend:i,isNumber:r,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,i,r,o,s,a,c,u){let h;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=n,this.y=i,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof r&&((h=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||h,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach(n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])}),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:i=0,translateX:r=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:i,x:r+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(i(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,i=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(i!==t.x||e!==t.y)&&(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e}}widthSetter(t){this.widthSetting=r(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l}),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:e,isNumber:n,pick:i}=t;function r(t,n,r,o,s){let a=[];if(s){let l=s.start||0,c=i(s.r,r),u=i(s.r,o||r),h=2e-4/Math.max(c,1),d=Math.abs((s.end||0)-l-2*Math.PI)<h,p=(s.end||0)-h,f=s.innerR,g=i(s.open,d),m=Math.cos(l),v=Math.sin(l),y=Math.cos(p),b=Math.sin(p),_=i(s.longArc,p-l-Math.PI<h?0:1),x=["A",c,u,0,_,i(s.clockwise,1),t+c*y,n+u*b];x.params={start:l,end:p,cx:t,cy:n},a.push(["M",t+c*m,n+u*v],x),e(f)&&((x=["A",f,f,0,_,e(s.clockwise)?1-s.clockwise:0,t+f*m,n+f*v]).params={start:p,end:l,cx:t,cy:n},a.push(g?["M",t+f*y,n+f*b]:["L",t+f*y,n+f*b],x)),g||a.push(["Z"])}return a}function o(t,e,n,i,r){return r&&r.r?s(t,e,n,i,r):[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]}function s(t,e,n,i,r){let o=(null==r?void 0:r.r)||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+i-o],["A",o,o,0,0,1,t+n-o,e+i],["L",t+o,e+i],["A",o,o,0,0,1,t,e+i-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:r,callout:function(t,e,i,r,o){let a=Math.min(o&&o.r||0,i,r),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,h=s(t,e,i,r,{r:a});if(!n(c)||c<i&&c>0&&u<r&&u>0)return h;if(t+c>i-l)if(u>e+l&&u<e+r-l)h.splice(3,1,["L",t+i,u-6],["L",t+i+6,u],["L",t+i,u+6],["L",t+i,e+r-a]);else if(c<i){let n=u<e+l,o=n?e:e+r;h.splice(n?2:5,0,["L",c,u],["L",t+i-a,o])}else h.splice(3,1,["L",t+i,r/2],["L",c,u],["L",t+i,r/2],["L",t+i,e+r-a]);else if(t+c<l)if(u>e+l&&u<e+r-l)h.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,i=n?e:e+r;h.splice(n?1:6,0,["L",c,u],["L",t+a,i])}else h.splice(7,1,["L",t,r/2],["L",c,u],["L",t,r/2],["L",t,e+a]);else u>r&&c<i-l?h.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+a,e+r]):u<0&&c>l&&h.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]);return h},circle:function(t,e,n,i){return r(t+n/2,e+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}}),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{doc:i,SVG_NS:r,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:h}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,r=e.renderer,o=h(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&r.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let i=new t(o);this.modifyTree(i.nodes),i.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(n)}}else n.appendChild(i.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(t,i)=>{t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))});let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),h=this.getLineHeight(o),d=0,p=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*h),(t,e)=>t.substring(0,e)+"…");else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&d>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===d&&p||0,a,(t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-")),p=e.actualWidth,d++;u.forEach(e=>{o.insertBefore(e,t)}),l.forEach(e=>{o.insertBefore(i.createTextNode(e),t);let a=i.createElementNS(r,"tspan");a.textContent="",s(a,{dy:h,x:n}),o.insertBefore(a,t)})}},c=t=>{[].slice.call(t.childNodes).forEach(n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))})};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,i)=>{let{attributes:r={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?r.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?r.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){r.class="highcharts-br",n.textContent="";let e=t[i+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some(t=>"#text"===t.tagName)&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:r,style:s}),o&&o.filter(t=>"#text"!==t.tagName).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,i,r,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],h=n?1:0,d=(e||n||"").length,p=d,f=function(e,r){let o=r||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=i+s.getSubStringLength(0,n?o+1:o)}catch{}return u[o]};if(l.rotation=0,i+(a=f(t.textContent.length))>r){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(s=o(n,p)),a=f(p,s&&s.length-1),h===d?h=d+1:a>r?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||o(e||n,p))}n&&n.splice(0,p),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),i))}),t}}}),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l,c){let u,{defaultOptions:h}=e,{charts:d,deg2rad:p,doc:f,isFirefox:g,isMS:m,isWebKit:v,noop:y,SVG_NS:b,symbolSizes:_,win:x}=i,{addEvent:w,attr:S,createElement:k,crisp:C,css:O,defined:A,destroyObjectProperties:T,extend:P,isArray:E,isNumber:M,isObject:L,isString:$,merge:j,pick:D,pInt:I,replaceNested:N,uniqueKey:R}=c;class B{constructor(t,e,n,i,r,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(i||{})),t.appendChild(u),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 11.4.6")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),g&&t.getBoundingClientRect&&((a=function(){O(t,{left:0,top:0}),l=t.getBoundingClientRect(),O(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=w(x,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((g||v)&&f.getElementsByTagName("base").length){if(!A(u)){let e=R(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body);O(n,{position:"fixed",top:0,left:0,zIndex:9e5});let i=f.elementFromPoint(6,6);u="hitme"===(i&&i.id),f.body.removeChild(n)}if(u)return N(x.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=P({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map(e=>`${e}-${t[e]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),n=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:this.getShadowFilterContent(n)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map(t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),i=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(i+.05)>(i+.05)/.05?"#FFFFFF":"#000000"}button(e,n,i,r,o={},s,a,l,c,u){let d=this.label(e,n,i,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,f=arguments,g=0;o=j(h.global.buttonTheme,o),p&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},y=o.style||{};delete o.states,delete o.style;let b=[t.filterUserAttributes(o)],_=[y];return p||["hover","select","disabled"].forEach((e,n)=>{b.push(j(b[0],t.filterUserAttributes(f[n+5]||v[e]||{}))),_.push(b[n+1].style),delete b[n+1].style}),w(d.element,m?"mouseover":"mouseenter",function(){3!==g&&d.setState(1)}),w(d.element,m?"mouseout":"mouseleave",function(){3!==g&&d.setState(g)}),d.setState=(t=0)=>{if(1!==t&&(d.state=g=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!p){d.attr(b[t]);let e=_[t];L(e)&&d.css(e)}},d.attr(b[0]),!p&&(d.css(P({cursor:"default"},y)),u&&d.text.css({pointerEvents:"none"})),d.on("touchstart",t=>t.stopPropagation()).on("click",function(t){3!==g&&r.call(d,t)})}crispLine(t,e){let[n,i]=t;return A(n[1])&&n[1]===i[1]&&(n[1]=i[1]=C(n[1],e)),A(n[2])&&n[2]===i[2]&&(n[2]=i[2]=C(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:L(t)&&P(e,t),this.createElement("path").attr(e)}circle(t,e,n){let i=L(t)?t:void 0===t?{}:{x:t,y:e,r:n},r=this.createElement("circle");return r.xSetter=r.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},r.attr(i)}arc(t,e,n,i,r,o){let s;L(t)?(e=(s=t).y,n=s.r,i=s.innerR,r=s.start,o=s.end,t=s.x):s={innerR:i,start:r,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,i,r,o){let s=L(t)?t:void 0===t?{}:{x:t,y:e,r,width:Math.max(n||0,0),height:Math.max(i||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,P(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,S(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,i,r,o){let s={preserveAspectRatio:"none"};M(e)&&(s.x=e),M(n)&&(s.y=n),M(i)&&(s.width=i),M(r)&&(s.height=r);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new x.Image;w(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,i,r,o){let s,a,l,c,u=this,h=/^url\((.*?)\)$/,p=h.test(t),g=!p&&(this.symbols[t]?t:"circle"),m=g&&this.symbols[g];if(m)"number"==typeof e&&(a=m.call(this.symbols,e||0,n||0,i||0,r||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),P(s,{symbolName:g||void 0,x:e,y:n,width:i,height:r}),o&&P(s,o);else if(p){l=t.match(h)[1];let i=s=this.image(l);i.imgwidth=D(o&&o.width,_[l]&&_[l].width),i.imgheight=D(o&&o.height,_[l]&&_[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach(t=>{i[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:i,width:r,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&r&&s&&a&&l?(u=Math.min(r/a,s/l),S(i,{width:Math.round(a*u),height:Math.round(l*u)})):i&&c&&i.setAttribute(e,c),!n&&a&&l&&this.translate(((r||0)-a*u)/2,((s||0)-l*u)/2)}}),A(e)&&i.attr({x:e,y:n}),i.isImg=!0,A(i.imgwidth)&&A(i.imgheight)?c(i):(i.attr({width:0,height:0}),k("img",{onload:function(){let t=d[u.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),_[l]={width:this.width,height:this.height},i.imgwidth=this.width,i.imgheight=this.height,i.element&&c(i),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,i){return this.rect(t,e,n,i,0)}text(t,e,n,i){let r={};if(i&&(this.allowHTML||!this.forExport))return this.html(t,e,n);r.x=Math.round(e||0),n&&(r.y=Math.round(n)),A(t)&&(r.text=t);let o=this.createElement("text").attr(r);return i&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let i=n.getElementsByTagName("tspan"),r=n.getAttribute(e);for(let n,o=0;o<i.length;o++)(n=i[o]).getAttribute(e)===r&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=I(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let i=t;return e&&n&&(i=Math.max(i*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:i}}pathToSegments(t){let e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<t.length;r++)$(n[0])&&M(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e}label(t,e,n,i,r,o,a,l,c){return new s(this,t,e,n,i,r,o,a,l,c)}alignElements(){this.alignedObjects.forEach(t=>t.align())}}return P(B.prototype,{Element:o,SVG_NS:b,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:y}),r.registerRendererType("svg",B,!0),B}),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{composed:r}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:h}=i;function d(t,e,i){var r;let o=(null==(r=this.div)?void 0:r.style)||i.style;n.prototype[`${e}Setter`].call(this,t,e,i),o&&(o[e]=t)}let p=(t,e)=>{var i;if(!t.div){let r=o(t.element,"class"),s=t.css,l=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},(null==(i=t.parentGroup)?void 0:i.div)||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),l.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,l.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=d,t.css=e=>(s.call(t,e),e.cursor&&(l.style.cursor=e.cursor),e.pointerEvents&&(l.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:l,onEvents:t.onEvents},arguments),t},t.div=l}return t.div};class f extends n{static compose(t){h(r,this.compose)&&(t.prototype.html=function(t,e,n){return new f(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,i="SPAN"===n.tagName&&t&&"width"in t,r=i&&t.width;return i&&(delete t.width,this.textWidth=u(r)||void 0,e=!0),"ellipsis"===(null==t?void 0:t.textOverflow)&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){var t;if(!this.added)return void(this.alignOnAdd=!0);let{element:e,renderer:n,rotation:i,rotationOriginX:r,rotationOriginY:o,styles:a,textAlign:c="left",textWidth:u,translateX:h=0,translateY:d=0,x:p=0,y:f=0}=this,g={left:0,center:.5,right:1}[c],m=a.whiteSpace;if(s(e,{marginLeft:`${h}px`,marginTop:`${d}px`}),"SPAN"===e.tagName){let a,h=[i,c,e.innerHTML,u,this.textAlign].join(","),d=-1*(null==(t=this.parentGroup)?void 0:t.padding)||0,v=!1;if(u!==this.oldTextWidth){let t=this.textPxLength?this.textPxLength:(s(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth),n=u||0;(n>this.oldTextWidth||t>n)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(s(e,{width:t>n||i?u+"px":"auto",display:"block",whiteSpace:m||"normal"}),this.oldTextWidth=u,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(a=n.fontMetrics(e).b,l(i)&&(i!==(this.oldRotation||0)||c!==this.oldAlign)&&this.setSpanRotation(i,d,d),this.getSpanCorrection(!l(i)&&this.textPxLength||e.offsetWidth,a,g));let{xCorr:y=0,yCorr:b=0}=this;s(e,{left:`${p+y}px`,top:`${f+b}px`,transformOrigin:`${(r??p)-y-p-d}px ${(o??f)-b-f-d}px`}),this.cTT=h,this.oldRotation=i,this.oldAlign=c}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,i=[];if(this.parentGroup=t,t&&!(e=t.div)){let r=t;for(;r;)i.push(r),r=r.parentGroup;for(let t of i.reverse())e=p(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let g=f.prototype;return g.visibilitySetter=g.opacitySetter=d,g.ySetter=g.rotationSetter=g.rotationOriginXSetter=g.rotationOriginYSetter=g.xSetter,f}),n(e,"Core/Axis/AxisDefaults.js",[],function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,isFunction:i,objectEach:r,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e,{order:0})))})},e}),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{deg2rad:i}=e,{clamp:r,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:h,objectEach:d,pick:p}=n;return class{constructor(t,e,n,i,r){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}addLabel(){let e,n,i,r=this,a=r.axis,h=a.options,d=a.chart,f=a.categories,g=a.logarithmic,m=a.names,v=r.pos,y=p(r.options&&r.options.labels,h.labels),b=a.tickPositions,_=v===b[0],x=v===b[b.length-1],w=(!y.step||1===y.step)&&1===a.tickInterval,S=b.info,k=r.label,C=this.parameters.category||(f?p(f[v],m[v],v):v);g&&u(C)&&(C=o(g.lin2log(C))),a.dateTime&&(S?e=(n=d.time.resolveDTLFormat(h.dateTimeLabelFormats[!h.grid&&S.higherRanks[v]||S.unitName])).main:u(C)&&(e=a.dateTime.getXDateFormat(C,h.dateTimeLabelFormats||{}))),r.isFirst=_,r.isLast=x;let O={axis:a,chart:d,dateTimeLabelFormat:e,isFirst:_,isLast:x,pos:v,tick:r,tickPositionInfo:S,value:C};c(this,"labelFormat",O);let A=e=>y.formatter?y.formatter.call(e,e):y.format?(e.text=a.defaultLabelFormatter.call(e),t.format(y.format,e,d)):a.defaultLabelFormatter.call(e),T=A.call(O,O),P=n&&n.list;r.shortenLabel=P?function(){for(i=0;i<P.length;i++)if(l(O,{dateTimeLabelFormat:P[i]}),k.attr({text:A.call(O,O)}),k.getBBox().width<a.getSlotWidth(r)-2*(y.padding||0))return;k.attr({text:""})}:void 0,w&&a._addedPlotLB&&r.moveLabel(T,y),s(k)||r.movedLabel?k&&k.textStr!==T&&!w&&(!k.textWidth||y.style.width||k.styles.width||k.css({width:null}),k.attr({text:T}),k.textPxLength=k.getBBox().width):(r.label=k=r.createLabel(T,y),r.rotation=0)}createLabel(t,e,n){let i=this.axis,r=i.chart,o=s(t)&&e.enabled?r.renderer.text(t,null==n?void 0:n.x,null==n?void 0:n.y,e.useHTML).add(i.labelGroup):void 0;return o&&(r.styledMode||o.css(h(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,i){let s=this.axis,a=s.chart,l=i&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,i)+s.transB):s.left+s.offset+(s.opposite?(i&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,i)-s.transB)};return u.y=r(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,r,o,a,l,u){let h,d,f=this.axis,g=f.transA,m=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,v=f.staggerLines,y=f.tickRotCorr||{x:0,y:0},b=r||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),_=o.distance,x={};return h=0===f.side?n.rotation?-_:-n.getBBox().height:2===f.side?y.y+_:Math.cos(n.rotation*i)*(y.y-n.getBBox(!1,0).height/2),s(o.y)&&(h=0===f.side&&f.horiz?o.y+h:o.y),t=t+p(o.x,[0,1,0,-1][f.side]*_)+b+y.x-(a&&r?a*g*(m?-1:1):0),e=e+h-(a&&!r?a*g*(m?1:-1):0),v&&(d=l/(u||1)%v,f.opposite&&(d=v-d-1),e+=d*(f.labelOffset/v)),x.x=t,x.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:x,tickmarkOffset:a,index:l}),x}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,i,r=!1,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)}handleOverflow(t){let e,n,r,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=p(o.labelLeft,Math.min(o.pos,c[3])),h=p(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),d=this.label,f=this.rotation,g={left:0,center:.5,right:1}[o.labelAlign||d.attr("align")],m=d.getBBox().width,v=o.getSlotWidth(this),y={},b=v,_=1;f||"justify"!==s.overflow?f<0&&a-g*m<u?r=Math.round(a/Math.cos(f*i)-u):f>0&&a+g*m>h&&(r=Math.round((l-a)/Math.cos(f*i))):(e=a-g*m,n=a+(1-g)*m,e<u?b=t.x+b*(1-g)-u:n>h&&(b=h-t.x+b*g,_=-1),(b=Math.min(v,b))<v&&"center"===o.labelAlign&&(t.x+=_*(v-b-g*(v-Math.min(m,b)))),(m>b||o.autoRotation&&(d.styles||{}).width)&&(r=b)),r&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(r)+"px",(s.style||{}).textOverflow||(y.textOverflow="ellipsis"),d.css(y)))}moveLabel(t,e){let n,i=this,r=i.label,o=i.axis,s=!1;r&&r.textStr===t?(i.movedLabel=r,s=!0,delete i.label):d(o.ticks,function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)}),!s&&(i.labelPos||r)&&(n=i.labelPos||r.xy,i.movedLabel=i.createLabel(t,e,n),i.movedLabel&&i.movedLabel.attr({opacity:0}))}render(t,e,n){let i=this.axis,r=i.horiz,s=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset),l=this.getPosition(r,s,a,e),u=l.x,h=l.y,d=i.pos,f=d+i.len,g=r?u:h;!i.chart.polar&&this.isNew&&(o(g)<d||g>f)&&(n=0);let m=p(n,this.label&&this.label.newOpacity,1);n=p(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,m,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,i=this.axis,r=i.options,o={},s=this.pos,a=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,u=this.gridLine,h=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(h=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),u||(i.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(i.gridGroup)),u&&(n=i.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,i=n.options,r=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=p(i["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=i["minor"!==o?"tickColor":"minorTickColor"],h=this.mark,d=!h;s&&(n.opposite&&(s[0]=-s[0]),h||(this.mark=h=r.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||h.attr({stroke:u,"stroke-width":c})),h[d?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],h.strokeWidth(),n.horiz,r),opacity:e}))}renderLabel(t,e,n,i){let r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step,h=p(this.tickmarkOffset,r.tickmarkOffset),d=t.x,f=t.y,g=!0;a&&u(d)&&(a.xy=t=this.getLabelPosition(d,f,a,o,l,h,i,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?g=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(g=!1),g&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:h}=i,{registerEventOptions:d}=r,{deg2rad:p}=o,{arrayMax:f,arrayMin:g,clamp:m,correctFloat:v,defined:y,destroyObjectProperties:b,erase:_,error:x,extend:w,fireEvent:S,getClosestDistance:k,insertItem:C,isArray:O,isNumber:A,isString:T,merge:P,normalizeTickInterval:E,objectEach:M,pick:L,relativeLength:$,removeEvent:j,splat:D,syncTimeout:I}=a,N=(t,e)=>E(e,void 0,void 0,L(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);w(h,{xAxis:c,yAxis:P(c,u)});class R{constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let i="xAxis"===n,r=this.isZAxis||(t.inverted?!i:i);this.chart=t,this.horiz=r,this.isXAxis=i,this.coll=n,S(this,"init",{userOptions:e}),this.opposite=L(e.opposite,this.opposite),this.side=L(e.side,this.side,r?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=L(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=O(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=L(o.crosshair,D(t.options.tooltip.crosshairs)[i?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),C(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&!y(this.reversed)&&(this.reversed=!0),this.labelRotation=A(s.rotation)?s.rotation:void 0,d(this,o),S(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=P(e,h[this.coll],t),S(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:i}=this.chart,r=A(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=h.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,d=n.logarithmic?Math.abs(r):n.tickInterval,p=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,r);else if(p&&c&&d>=1e3)for(;p--&&void 0===e;)d>=(t=Math.pow(u,p+1))&&10*r%t==0&&null!==c[p]&&0!==r&&(e=i(r/t,-1)+c[p]);return void 0===e&&(e=Math.abs(r)>=1e4?i(r,-1):i(r,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;S(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach(n=>{if(n.reserveSpace()){let i,r,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(i=n.xData)&&i.length&&(i=e.logarithmic?i.filter(t=>t>0):i,r=(t=n.getXExtremes(i)).min,o=t.max,A(r)||r instanceof Date||(i=i.filter(A),r=(t=n.getXExtremes(i)).min,o=t.max),i.length&&(e.dataMin=Math.min(L(e.dataMin,r),r),e.dataMax=Math.max(L(e.dataMax,o),o)));else{let t=n.applyExtremes();A(t.dataMin)&&(r=t.dataMin,e.dataMin=Math.min(L(e.dataMin,r),r)),A(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(L(e.dataMax,o),o)),y(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}})}),S(this,"afterGetSeriesExtremes")}translate(t,e,n,i,r,o){var s;let a=this.linkedParent||this,l=i&&a.old?a.old.min:a.min;if(!A(l))return NaN;let c=a.minPixelPadding,u=(a.isOrdinal||(null==(s=a.brokenAxis)?void 0:s.hasBreaks)||a.logarithmic&&r)&&a.lin2val,h=1,d=0,p=i&&a.old?a.old.transA:a.transA,f=0;return p||(p=a.transA),n&&(h*=-1,d=a.len),a.reversed&&(h*=-1,d-=h*(a.sector||a.len)),e?(f=(t=t*h+d-c)/p+l,u&&(f=a.lin2val(f))):(u&&(t=a.val2lin(t)),f=h*(t-l)*p+d+h*c+(A(o)?p*o:0),a.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,i,r,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,h=t.value,d=t.lineWidth,p=u&&a.oldChartHeight||a.chartHeight,f=u&&a.oldChartWidth||a.chartWidth,g=s.transB,v=t.translatedValue,y=t.force;function b(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=m(t,e,n):o=!0),t}let _={value:h,lineWidth:d,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:v};return S(this,"getPlotLinePath",_,function(t){e=i=(v=m(v=L(v,s.translate(h,void 0,void 0,u)),-1e5,1e5))+g,n=r=p-v-g,A(v)?s.horiz?(n=c,r=p-s.bottom+(s.options.isInternal?0:a.scrollablePixelsY||0),e=i=b(e,l,l+s.width)):(e=l,i=f-s.right+(a.scrollablePixelsX||0),n=r=b(n,c,c+s.height)):(o=!0,y=!1),t.path=o&&!y?void 0:a.renderer.crispLine([["M",e,n],["L",i,r]],d||1)}),_.path}getLinearTickPositions(t,e,n){let i,r,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(i=s;i<=a&&(l.push(i),(i=v(i+t,o))!==r);)r=i;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?L(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,i=this.minorTickInterval,r=this.pointRangePadding||0,o=(this.min||0)-r,s=(this.max||0)+r,a=s-o,l=[];if(a&&a/i<this.len/3){let r=this.logarithmic;if(r)this.paddedTicks.forEach(function(t,e,n){e&&l.push.apply(l,r.getLogTickPositions(i,n[e-1],n[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%i;t<=s&&t!==l[0];t+=i)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,i,r=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=y(r.min)||y(r.max)||y(r.floor)||y(r.ceiling)?null:Math.min(5*(k(this.series.map(t=>{var e;return(t.xIncrement?null==(e=t.xData)?void 0:e.slice(0,2):t.xData)||[]}))||0),this.dataMax-this.dataMin)),A(s)&&A(a)&&A(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,L(r.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),i=[(a=f(n))+l,L(r.max,a+l)],e&&(i[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=g(i))-a<l&&(n[0]=s-l,n[1]=L(r.min,s-l),a=f(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach(function(t){var i;let r=t.closestPointRange;1===(null==(i=t.xData)?void 0:i.length)?n.push(t.xData[0]):!t.noSharedTooltip&&y(r)&&t.reserveSpace()&&(e=y(e)?Math.min(e,r):r)}),n.length&&(n.sort((t,e)=>t-e),t=k([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=O(this.options.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,y(r)||(r=this.options.uniqueNames&&i?n?i.indexOf(t.name):L(i.keys[t.name],-1):t.series.autoIncrement()),-1===r?!n&&i&&(e=i.length):e=r,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(n,i){let r;null!=n&&n.options&&void 0!==n.name&&void 0!==(r=t.nameToX(n))&&r!==n.x&&(n.x=r,e.xData[i]=r)})}))}setAxisTranslation(){let t,e,n=this,i=n.max-n.min,r=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),r?(l=r.minPointOffset,c=r.pointRangePadding):n.series.forEach(function(e){let i=o?1:s?L(e.options.pointRange,t,0):n.axisPointRange||0,r=e.options.pointPlacement;if(a=Math.max(a,i),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&T(r)?0:i/2),c=Math.max(c,t&&"on"===r?0:i)}}),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:i),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(i+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,S(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return A(t)&&A(e)&&t-e||void 0}setTickInterval(t){var e,n,i,r;let o,s,a,l,c,{categories:u,chart:h,dataMax:d,dataMin:p,dateTime:f,isXAxis:g,logarithmic:m,options:b,softThreshold:_}=this,w=A(this.threshold)?this.threshold:void 0,k=this.minRange||0,{ceiling:C,floor:O,linkedTo:T,softMax:P,softMin:E}=b,M=A(T)&&(null==(e=h[this.coll])?void 0:e[T]),$=b.tickPixelInterval,j=b.maxPadding,D=b.minPadding,I=0,R=A(b.tickInterval)&&b.tickInterval>=0?b.tickInterval:void 0;if(f||u||M||this.getTickAmount(),l=L(this.userMin,b.min),c=L(this.userMax,b.max),M?(this.linkedParent=M,o=M.getExtremes(),this.min=L(o.min,o.dataMin),this.max=L(o.max,o.dataMax),b.type!==M.options.type&&x(11,!0,h)):(_&&y(w)&&A(d)&&A(p)&&(p>=w?(s=w,D=0):d<=w&&(a=w,j=0)),this.min=L(l,s,p),this.max=L(c,a,d)),A(this.max)&&A(this.min)&&(m&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,L(p,this.min))&&x(10,!0,h),this.min=v(m.log2lin(this.min),16),this.max=v(m.log2lin(this.max),16)),this.range&&A(p)&&(this.userMin=this.min=l=Math.max(p,this.minFromRange()||0),this.userMax=c=this.max,this.range=void 0)),S(this,"foundExtremes"),this.adjustForMinRange(),A(this.min)&&A(this.max)){if(!A(this.userMin)&&A(E)&&E<this.min&&(this.min=l=E),!A(this.userMax)&&A(P)&&P>this.max&&(this.max=c=P),u||this.axisPointRange||null!=(n=this.stacking)&&n.usePercentage||M||!(I=this.max-this.min)||(!y(l)&&D&&(this.min-=I*D),y(c)||!j||(this.max+=I*j)),!A(this.userMin)&&A(O)&&(this.min=Math.max(this.min,O)),!A(this.userMax)&&A(C)&&(this.max=Math.min(this.max,C)),_&&A(p)&&A(d)){let t=w||0;!y(l)&&this.min<t&&p>=t?this.min=b.minRange?Math.min(t,this.max-k):t:!y(c)&&this.max>t&&d<=t&&(this.max=b.minRange?Math.max(t,this.min+k):t)}!h.polar&&this.min>this.max&&(y(b.min)?this.max=this.min:y(b.max)&&(this.min=this.max)),I=this.max-this.min}if(this.min!==this.max&&A(this.min)&&A(this.max)?M&&!R&&$===M.options.tickPixelInterval?this.tickInterval=R=M.tickInterval:this.tickInterval=L(R,this.tickAmount?I/Math.max(this.tickAmount-1,1):void 0,u?1:I*$/Math.max(this.len,$)):this.tickInterval=1,g&&!t){let t=this.min!==(null==(i=this.old)?void 0:i.min)||this.max!==(null==(r=this.old)?void 0:r.max);this.series.forEach(function(e){var n;e.forceCrop=null==(n=e.forceCropping)?void 0:n.call(e),e.processData(t)}),S(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),S(this,"initialAxisTranslation"),this.pointRange&&!R&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let B=L(b.minTickInterval,f&&!this.series.some(t=>t.noSharedTooltip)?this.closestPointRange:0);!R&&this.tickInterval<B&&(this.tickInterval=B),f||m||R||(this.tickInterval=N(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var t,e;let n,i=this.options,r=i.tickPositions,o=i.tickPositioner,s=this.getMinorTickInterval(),a=!this.isPanning,l=a&&i.startOnTick,c=a&&i.endOnTick,u=[];if(this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===s&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:s,this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==i.allowDecimals),r)u=r.slice();else if(A(this.min)&&A(this.max)){if((null==(t=this.ordinal)||!t.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))u=[this.min,this.max],x(19,!1,this.chart);else if(this.dateTime)u=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,null==(e=this.ordinal)?void 0:e.positions,this.closestPointRange,!0);else if(this.logarithmic)u=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(u=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&u.length>this.tickAmount);)this.tickInterval=N(this,e*=1.1)}u.length>this.len&&(u=[u[0],u[u.length-1]])[0]===u[1]&&(u.length=1),o&&(this.tickPositions=u,(n=o.apply(this,[this.min,this.max]))&&(u=n))}this.tickPositions=u,this.paddedTicks=u.slice(0),this.trimTicks(u,l,c),!this.isLinked&&A(this.min)&&A(this.max)&&(this.single&&u.length<2&&!this.categories&&!this.series.some(t=>t.is("heatmap")&&"between"===t.options.pointPlacement)&&(this.min-=.5,this.max+=.5),r||n||this.adjustTickAmount()),S(this,"afterSetTickPositions")}trimTicks(t,e,n){let i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(e&&i!==-1/0)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&y(i)&&!this.options.tickPositions&&t.push((r+i)/2)}}alignToOthers(){let t,e=this,n=e.chart,i=[this],r=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&r.alignTicks||s)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){let r=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=r(this);n[this.coll].forEach(function(n){let{series:s}=n;s.length&&s.some(t=>t.visible)&&n!==e&&r(n)===o&&(t=!0,i.push(n))})}if(t&&s){i.forEach(t=>{let n=t.getThresholdAlignment(e);A(n)&&a.push(n)});let t=a.length>1?a.reduce((t,e)=>t+e,0)/a.length:void 0;i.forEach(e=>{e.thresholdAlignment=t})}return t}getThresholdAlignment(t){if((!A(this.dataMin)||this!==t&&this.series.some(t=>t.isDirty||t.isDirtyData))&&this.getSeriesExtremes(),A(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;y(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,i=this,{finalTickAmt:r,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=i,h=null==l?void 0:l.length,d=L(i.threshold,i.softThreshold?0:null),p=i.tickInterval,f=()=>l.push(v(l[l.length-1]+p)),g=()=>l.unshift(v(l[0]-p));if(A(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),i.hasData()&&A(s)&&A(o)){let u=()=>{i.transA*=(h-1)/(c-1),i.min=a.startOnTick?l[0]:Math.min(s,l[0]),i.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(A(n)&&A(i.threshold)){for(;l[n]!==d||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(i.threshold);l.length<c;)void 0===l[n]||l[n]>i.threshold?g():f();if(p>8*i.tickInterval)break;p*=2}u()}else if(h<c){for(;l.length<c;)l.length%2||s===d?f():g();u()}if(y(r)){for(e=t=l.length;e--;)(3===r&&e%2==1||r<=2&&e>0&&e<t-1)&&l.splice(e,1);i.finalTickAmt=void 0}}}setScale(){var t,e;let{coll:n,stacking:i}=this,r=!1,o=!1;this.series.forEach(t=>{r=r||t.isDirtyData||t.isDirty,o=o||t.xAxis&&t.xAxis.isDirty||!1}),this.setAxisSize();let s=this.len!==(this.old&&this.old.len);s||r||o||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(i&&"yAxis"===n&&i.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),i&&"xAxis"===n&&i.buildStacks(),this.isDirty||(this.isDirty=s||this.min!==(null==(t=this.old)?void 0:t.min)||this.max!==(null==(e=this.old)?void 0:e.max))):i&&i.cleanStacks(),r&&delete this.allExtremes,S(this,"afterSetScale")}setExtremes(t,e,n=!0,i,r){this.series.forEach(t=>{delete t.kdTree}),S(this,"setExtremes",r=w(r,{min:t,max:e}),t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(i)})}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round($(L(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round($(L(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round($(L(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round($(L(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-a,this.len=Math.max(i?r:o,0),this.pos=i?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,i=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=i:n>t?t=n:i<t&&(t=i),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(L(t,0)-90*this.side+720)%360,n={align:"center"};return S(this,"autoLabelAlign",n,function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")}),n.align}tickSize(t){let e,n=this.options,i=L(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=n["tick"===t?"tickLength":"minorTickLength"];i&&r&&("inside"===n[t+"Position"]&&(r=-r),e=[r,i]);let o={tickSize:e};return S(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,i=n.padding||0,r=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*i)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},h=o,d=Number.MAX_VALUE;if(r){if(!n.staggerLines&&(A(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,i;for(let r of e)(r===a||r&&r>=-90&&r<=90)&&(i=(n=u(Math.abs(l/Math.sin(p*r))))+Math.abs(r/360))<d&&(d=i,t=r,h=n)}}else h=u(.75*l);return this.autoRotation=e,this.labelRotation=L(t,A(a)?a:0),n.step?o:h}getSlotWidth(t){let e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&A(t.slotWidth))return t.slotWidth;if(n&&i.step<2)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){let t=i.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,h=this.getSlotWidth(),d=Math.max(1,Math.round(h-(u?2*(l.padding||0):l.distance||0))),p={},f=this.labelMetrics(),g=c.textOverflow,m=0;if(T(l.rotation)||(p.rotation=l.rotation||0),s.forEach(function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>m&&(m=e.label.textPxLength)}),this.maxLabelLength=m,this.autoRotation)m>d&&m>f.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(h&&(t=d,!g))for(e="clip",i=s.length;!u&&i--;)(n=a[s[i]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>h&&n.css({width:h+"px"}),n.getBBox().height>this.len/s.length-(f.h-f.f)&&(n.specificTextOverflow="ellipsis"));p.rotation&&(t=m>.5*r.chartHeight?.33*r.chartHeight:m,g||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(p.align=this.labelAlign),s.forEach(function(n){let i=a[n],r=i&&i.label,o=c.width,s={};r&&(r.attr(p),i.shortenLabel?i.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<r.textPxLength||"SPAN"===r.element.tagName)?(s.width=t+"px",g||(s.textOverflow=r.specificTextOverflow||e),r.css(s)):!r.styles.width||s.width||o||r.css({width:null}),delete r.specificTextOverflow,i.rotation=p.rotation)},this),this.tickRotCorr=o.rotCorr(f.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&y(this.min)&&y(this.max)}addTitle(t){let e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(P(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:i}=this,r=e.renderer,o=(e,o,s)=>r.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(i.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",i.gridZIndex),this.axisGroup=o("axis","",i.zIndex),this.labelGroup=o("axis-labels","-labels",i.labels.zIndex))}getOffset(){let t,e,n,i,r=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:h}=r,d=o.inverted&&!r.isZAxis?[1,0,3,2][l]:l,p=r.hasData(),f=a.title,g=a.labels,m=A(a.crossing),v=o.axisOffset,b=o.clipOffset,_=[-1,1,1,-1][l],x=0,w=0,k=0;if(r.showAxis=t=p||a.showEmpty,r.staggerLines=r.horiz&&g.staggerLines||void 0,r.createGroups(),p||r.isLinked?(u.forEach(function(t){r.generateTick(t)}),r.renderUnsquish(),r.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===r.labelAlign,L(g.reserveSpace,!m&&null,"center"===r.labelAlign||null,r.reserveSpaceDefault)&&u.forEach(function(t){k=Math.max(c[t].getLabelSize(),k)}),r.staggerLines&&(k*=r.staggerLines),r.labelOffset=k*(r.opposite?-1:1)):M(c,function(t,e){t.destroy(),delete c[e]}),null!=f&&f.text&&!1!==f.enabled&&(r.addTitle(t),t&&!m&&!1!==f.reserveSpace&&(r.titleOffset=x=r.axisTitle.getBBox()[s?"height":"width"],w=y(e=f.offset)?0:L(f.margin,s?5:10))),r.renderLine(),r.offset=_*L(a.offset,v[l]?v[l]+(a.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},i=0===l?-r.labelMetrics().h:2===l?r.tickRotCorr.y:0,n=Math.abs(k)+w,k&&(n-=i,n+=_*(s?L(g.y,r.tickRotCorr.y+_*g.distance):L(g.x,_*g.distance))),r.axisTitleMargin=L(e,n),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(c,u)),"colorAxis"!==h&&b){let t=this.tickSize("tick");v[l]=Math.max(v[l],(r.axisTitleMargin||0)+x+_*r.offset,n,u&&u.length&&t?t[0]+_*r.offset:0);let e=!r.axisLine||a.offset?0:r.axisLine.strokeWidth()/2;b[d]=Math.max(b[d],e)}S(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i,s=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?s:this.top],["L",r?e.chartWidth-this.right:o,r?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,i=this.top,r=this.len,o=this.options.title,s=e?n:i,a=this.opposite,l=this.offset,c=o.x,u=o.y,h=this.chart.renderer.fontMetrics(t),d=t?Math.max(t.getBBox(!1,0).height-h.h-1,0):0,p={low:s+(e?0:r),middle:s+r/2,high:s+(e?r:0)}[o.align],f=(e?i+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-d,d,h.f,-d][this.side],g={x:e?p+c:f+(a?this.width:0)+l+c,y:e?f+u-(a?this.height:0)+l:p+u};return S(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let i=this.isLinked,r=this.ticks;(!i||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new s(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))}render(){let t,e,n=this,i=n.chart,r=n.logarithmic,a=i.renderer,c=n.options,u=n.isLinked,h=n.tickPositions,d=n.axisTitle,p=n.ticks,f=n.minorTicks,g=n.alternateBands,m=c.stackLabels,v=c.alternateGridColor,y=c.crossing,b=n.tickmarkOffset,_=n.axisLine,x=n.showAxis,w=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,f,g].forEach(function(t){M(t,function(t){t.isActive=!1})}),A(y)){let t=this.isXAxis?i.yAxis[0]:i.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let i=t.toPixels(y,!0);n.horiz&&(i=t.len-i),n.offset=e*i}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&A(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach(function(t){n.renderMinorTick(t,a)}),h.length&&(h.forEach(function(t,e){n.renderTick(t,e,a)}),b&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new s(n,-1,null,!0)),p[-1].render(-1))),v&&h.forEach(function(s,a){e=void 0!==h[a+1]?h[a+1]+b:n.max-b,a%2==0&&s<n.max&&e<=n.max+(i.polar?-b:b)&&(g[s]||(g[s]=new o.PlotLineOrBand(n,{})),t=s+b,g[s].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},g[s].render(),g[s].isActive=!0)}),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach(function(t){n.addPlotBandOrLine(t)}))}[p,f,g].forEach(function(t){let e=[],n=w.duration;M(t,function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))}),I(function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])},t!==g&&i.hasRendered&&n?n:0)}),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[x?"show":"hide"](x)),d&&x&&(d[d.isNew?"attr":"animate"](n.getTitlePosition(d)),d.isNew=!1),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,S(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})}getKeepProps(){return this.keepProps||R.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(S(this,"destroy",{keepEvents:t}),t||j(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){b(t)}),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();M(e,function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]}),this.eventOptions=i}drawCrosshair(t,e){let i,r,o,s,a=this.crosshair,l=L(a&&a.snap,!0),c=this.chart,u=this.cross;if(S(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(y(e)||!l)){if(l?y(e)&&(r=L("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),y(r)&&(s={value:e&&(this.isXAxis?e.x:L(e.stackY,e.y)),translatedValue:r},c.polar&&w(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),i=this.getPlotLinePath(s)||null),!y(i))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:L(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":L(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:i}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();S(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),S(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=P(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,L(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,i=this.series,r=i.length;for(;r--;)i[r]&&i[r].remove(!1);_(e.axes,this),_(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,L(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return R.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],R}),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,getMagnitude:i,normalizeTickInterval:r,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:r(t/l,c,"year"===a[0]?Math.max(i(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e}),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,normalizeTickInterval:i,pick:r}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let i,r,s,a,l,u,h;for(i=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);r<n+1&&!h;r++)for(s=0,a=i.length;s<a&&!h;s++)(l=this.log2lin(this.lin2log(r)*i[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(h=!0),u=l}else{let u=this.lin2log(e),h=this.lin2log(n),d=o?s.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(o?5:1),f=o?a/s.tickPositions.length:a;t=i(t=r("auto"===d?null:d,this.minorAutoInterval,(h-u)*p/(f||1))),c=s.getLinearTickPositions(t,u,h).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e}),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{erase:n,extend:i,isNumber:r}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let i=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach(t=>{this.addPlotBandOrLine(t)})),n){let e=i[n]||[];e.push(t),i[n]=e}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let i,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),h=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),h=0),i=0;i<u.length;i+=2){let t=u[i],e=u[i+1],n=s[i],r=s[i+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===r[0]||"L"===r[0])&&(l&&n[1]===t[1]?(n[1]+=h,r[1]+=h):l||n[2]!==t[2]||(n[2]+=h,r[2]+=h),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",r[1],r[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach(function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])})}}function h(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let r=n.prototype;return r.addPlotBand||(e=t,i(r,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:h,removePlotBandOrLine:u})),n}}(e||(e={})),e}),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,e){let{arrayMax:n,arrayMin:i,defined:r,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class h{static compose(e){return t.compose(h,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:i,logarithmic:o}=e,{color:s,events:h,zIndex:d=0}=n,p={},f=e.chart.renderer,g=n.to,m=n.from,v=n.value,y=n.borderWidth,b=n.label,{label:_,svgElem:x}=this,w=[],S=r(m)&&r(g),k=r(v),C=!x,O={class:"highcharts-plot-"+(S?"band ":"line ")+(n.className||"")},A=S?"bands":"lines";if(!e.chart.styledMode&&(k?(O.stroke=s||"#999999",O["stroke-width"]=u(n.width,1),n.dashStyle&&(O.dashstyle=n.dashStyle)):S&&(O.fill=s||"#e6e9ff",y&&(O.stroke=n.borderColor,O["stroke-width"]=y))),p.zIndex=d,A+="-"+d,(t=e.plotLinesAndBandsGroups[A])||(e.plotLinesAndBandsGroups[A]=t=f.g("plot-"+A).attr(p).add()),x||(this.svgElem=x=f.path().attr(O).add(t)),r(v))w=e.getPlotLinePath({value:(null==o?void 0:o.log2lin(v))??v,lineWidth:x.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!r(m)||!r(g))return;w=e.getPlotBandPath((null==o?void 0:o.log2lin(m))??m,(null==o?void 0:o.log2lin(g))??g,n)}return!this.eventsAdded&&h&&(c(h,(t,e)=>{null==x||x.on(e,t=>{h[e].apply(this,[t])})}),this.eventsAdded=!0),!C&&x.d||null==w||!w.length?x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),_&&(this.label=_=_.destroy()))):x.attr({d:w}),b&&(r(b.text)||r(b.formatter))&&null!=w&&w.length&&e.width>0&&e.height>0&&!w.isFlat?(b=l({align:i&&S?"center":void 0,x:i?!S&&4:10,verticalAlign:!i&&S?"middle":void 0,y:i?S?16:10:S?6:-4,rotation:i&&!S?90:0},b),this.renderLabel(b,w,S,d)):_&&_.hide(),this}renderLabel(t,e,r,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],h=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],d=i(u),p=i(h);if(c.align(t,!1,{x:d,y:p,width:n(u)-d,height:n(h)-p}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return r(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return h}),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:h}=n,{distribute:d}=i,{addEvent:p,clamp:f,css:g,discardElement:m,extend:v,fireEvent:y,isArray:b,isNumber:_,isString:x,merge:w,pick:S,pushUnique:k,splat:C,syncTimeout:O}=o;class A{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map(function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(t){this.chart.series.forEach(function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)})}defaultFormatter(t){let e,n=this.points||C(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:i,pointer:r}=this,o=i.inverted,s=i.plotTop,a=i.plotLeft;if((t=C(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=r.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let i=0,r=0;t.forEach(function(t){let e=t.pos(!0);e&&(i+=e[0],r+=e[1])}),i/=t.length,r/=t.length,this.shared&&t.length>1&&e&&(o?i=e.chartX:r=e.chartY),n=[i-a,r-s]}return n.map(Math.round)}getClassName(t,e,n){let i=this.options,r=t.series,o=r.options;return[i.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+S(t.colorIndex,r.colorIndex),o&&o.className].filter(x).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=r.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",g(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,"tooltip").attr({padding:i.padding,r:i.borderRadius}),e||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth||0}).css(i.style).css({pointerEvents:i.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach((n,i)=>{e[i?"ySetter":"xSetter"]=r=>{n.call(e,t.distance),e[i?"y":"x"]=r,s&&(s.style[i?"top":"left"]=`${r}px`)}})}this.label.attr({zIndex:8}).shadow(i.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:i,outside:r}=this;return{width:r?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*i:n.chartWidth,height:r?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){var i,r;let o,{distance:s,chart:a,outside:l,pointer:c}=this,{inverted:u,plotLeft:h,plotTop:d,polar:p}=a,{plotX:f=0,plotY:g=0}=n,m={},v=u&&n.h||0,{height:y,width:b}=this.getPlayingField(),_=c.getChartPosition(),x=t=>t*_.scaleX,w=t=>t*_.scaleY,k=n=>{let i="x"===n;return[n,i?b:y,i?t:e].concat(l?[i?x(t):w(e),i?_.left-s+x(f+h):_.top-s+w(g+d),0,i?b:y]:[i?t:e,i?f+h:g+d,i?h:d,i?h+a.plotWidth:d+a.plotHeight])},C=k("y"),O=k("x"),A=!!n.negative;!p&&null!=(r=null==(i=a.hoverSeries)?void 0:i.yAxis)&&r.reversed&&(A=!A);let T=!this.followPointer&&S(n.ttBelow,!p&&!u===A),P=function(t,e,n,i,r,o,a){let c=l?"y"===t?w(s):x(s):s,u=(n-i)/2,h=i<r-s,d=r+s+i<e,p=r-c-n+u,f=r+c-u;if(T&&d)m[t]=f;else if(!T&&h)m[t]=p;else if(h)m[t]=Math.min(a-i,p-v<0?p:p-v);else{if(!d)return!1;m[t]=Math.max(o,f+v+n>e?f:f+v)}},E=function(t,e,n,i,r){if(r<s||r>e-s)return!1;m[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2},M=function(t){[C,O]=[O,C],o=t},L=()=>{!1!==P.apply(0,C)?!1!==E.apply(0,O)||o||(M(!0),L()):o?m.x=m.y=0:(M(!0),L())};return(u&&!p||this.len>1)&&M(),L(),m}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=S(t,this.options.hideDelay),this.isHidden||(this.hideTimer=O(function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t&&150,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0},t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=S(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,i){let r=this,o=a(!r.isHidden&&r.options.animation),s={x:t,y:e};r.followPointer||(r.len||0)>1||(s.anchorX=n,s.anchorY=i),o.step=()=>r.drawTracker(),r.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:i,pointer:r,shared:s}=this,a=C(t),c=a[0],u=[],h=i.format,d=i.formatter||this.defaultFormatter,p=n.styledMode,f={};if(!i.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!b(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let g=this.getAnchor(t,e),m=g[0],v=g[1];s&&this.allowShared?(r.applyInactiveState(a),a.forEach(function(t){t.setState("hover"),u.push(t.getLabelConfig())}),(f=c.getLabelConfig()).points=u):f=c.getLabelConfig(),this.len=u.length;let _=x(h)?l(h,f,n):d.call(f,this),w=c.series;if(this.distance=S(w.tooltipOptions.distance,16),!1===_)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(_,a);else{let t=m,o=v;if(e&&r.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==w.options.clip&&!a.some(e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o)))return void this.hide();{let t=this.getLabel();(!i.style.width||p)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({class:this.getClassName(c),text:_&&_.join?_.join(""):_}),p||t.attr({stroke:i.borderColor||c.color||w.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:g[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}renderSplit(t,e){var n;let i=this,{chart:r,chart:{chartWidth:o,chartHeight:s,plotHeight:a,plotLeft:l,plotTop:c,scrollablePixelsY:p=0,scrollablePixelsX:g,styledMode:m},distance:y,options:b,options:{positioner:_},pointer:w}=i,{scrollLeft:k=0,scrollTop:C=0}=(null==(n=r.scrollablePlotArea)?void 0:n.scrollingContainer)||{},O=i.outside&&"number"!=typeof g?u.documentElement.getBoundingClientRect():{left:k,right:k+o,top:C,bottom:C+s},A=i.getLabel(),T=this.renderer||r.renderer,P=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:E,top:M}=w.getChartPosition(),L=c+C,$=0,j=a-p;function D(t,e,n,r,o=!0){let s,a;return n?(s=P?0:j,a=f(t-r/2,O.left,O.right-r-(i.outside?E:0))):(s=e-L,a=f(a=o?t-r-y:t+y,o?a:O.left,O.right)),{x:a,y:s}}x(t)&&(t=[!1,t]);let I=t.slice(0,e.length+1).reduce(function(t,n,r){if(!1!==n&&""!==n){let o=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:a,series:{}},s=o.isHeader,u=s?i:o.series,h=u.tt=function(t,e,n){let r=t,{isHeader:o,series:s}=e;if(!r){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),r=T.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(i.getClassName(e,!0,o)).attr(t).add(A)}return r.isActive=!0,r.attr({text:n}),m||r.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),r}(u.tt,o,n.toString()),d=h.getBBox(),p=d.width+h.strokeWidth();s&&($=d.height,j+=$,P&&(L-=$));let{anchorX:g,anchorY:v}=function(t){let e,n,{isHeader:i,plotX:r=0,plotY:o=0,series:s}=t;if(i)e=Math.max(l+r,l),n=c+a/2;else{let{xAxis:t,yAxis:i}=s;e=t.pos+f(r,-y,t.len+y),s.shouldShowTooltip(0,i.pos-c+o,{ignoreX:!0})&&(n=i.pos+o)}return{anchorX:e=f(e,O.left-y,O.right+y),anchorY:n}}(o);if("number"==typeof v){let e=d.height+1,n=_?_.call(i,p,e,o):D(g,v,s,p);t.push({align:_?0:void 0,anchorX:g,anchorY:v,boxWidth:p,point:o,rank:S(n.rank,s?1:0),size:e,target:n.y,tt:h,x:n.x})}else h.isActive=!1}return t},[]);!_&&I.some(t=>{let{outside:e}=i,n=(e?E:0)+t.anchorX;return n<O.left&&n+t.boxWidth<O.right||n<E-O.left+t.boxWidth&&O.right-n>n})&&(I=I.map(t=>{let{x:e,y:n}=D(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})})),i.cleanSplit(),d(I,j);let N={left:E,right:E};I.forEach(function(t){let{x:e,boxWidth:n,isHeader:r}=t;!r&&(i.outside&&E+e<N.left&&(N.left=E+e),!r&&i.outside&&N.left+n>N.right&&(N.right=E+e))}),I.forEach(function(t){let{x:e,anchorX:n,anchorY:r,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+L,anchorX:n,anchorY:r};if(i.outside&&e<n){let t=E-N.left;t>0&&(s||(a.x=e+t,a.anchorX=n+t),s&&(a.x=(N.right-N.left)/2,a.anchorX=n+t))}t.tt.attr(a)});let{container:R,outside:B,renderer:V}=i;if(B&&R&&V){let{width:t,height:e,x:n,y:i}=A.getBBox();V.setSize(t+n,e+i,!1),R.style.left=N.left+"px",R.style.top=M+"px"}h&&A.attr({opacity:1===A.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let i={x:0,y:0,width:0,height:0},r=this.getAnchor(n),o=e.getBBox();r[0]+=t.plotLeft-(e.translateX||0),r[1]+=t.plotTop-(e.translateY||0),i.x=Math.min(0,r[0]),i.y=Math.min(0,r[1]),i.width=r[0]<0?Math.max(Math.abs(r[0]),o.width-r[0]):Math.max(Math.abs(r[0]),o.width),i.height=r[1]<0?Math.max(Math.abs(r[1]),o.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),o.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,i=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime,s={isFooter:e,labelConfig:t},a=i.xDateFormat,c=i[e?"footerFormat":"headerFormat"];return y(this,"headerFormatter",s,function(e){o&&!a&&_(t.key)&&(a=o.getXDateFormat(t.key,i.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")}),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)}),s.text}update(t){this.destroy(),this.init(this.chart,w(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:i,distance:r,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:h,scaleX:d,scaleY:p}=s.getChartPosition(),f=(o.positioner||this.getPosition).call(this,c,l,t),m=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&i&&(o.positioner&&(f.x+=u-r,f.y+=h-r),e=(o.borderWidth||0)+2*r+2,a.setSize(c+e,l+e,!1),(1!==d||1!==p)&&(g(i,{transform:`scale(${d}, ${p})`}),m*=d,v*=p),m+=u-f.x,v+=h-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,v)}}return(s=A||(A={})).compose=function(t){k(c,"Core.Tooltip")&&p(t,"afterInit",function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))})},A}),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=i,{addEvent:l,crisp:c,erase:u,extend:h,fireEvent:d,getNestedProperty:p,isArray:f,isFunction:g,isNumber:m,isObject:v,merge:y,pick:b,syncTimeout:_,removeEvent:x,uniqueKey:w}=r;class S{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach(function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)}),n.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})}applyOptions(t,e){let n=this.series,i=n.options.pointValKey||n.pointValKey;return h(this,t=S.prototype.optionsToObject.call(this,t)),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=S.prototype.getNestedProperty.call(this,i)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=e??n.autoIncrement():m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,i=e.options.dataSorting,r=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(x(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),r&&(t.setState(),u(r,t),r.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),_(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach(function(t){e[t]=e[t].destroy()}),n.plural.forEach(function(t){e[t].forEach(function(t){t&&t.element&&t.destroy()}),delete e[t]})}firePointEvent(t,e,n){let i=this,r=this.series.options;i.manageEvent(t),"click"===t&&r.allowPointSelect&&(n=function(t){!i.destroyed&&i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(i,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,i=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),n=r.length;n--;)i[e=r[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach(function(e){let n=e+"s";t[e]&&i[n]&&o.plural.push(n)}),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,i=e.zoneAxis||"y",r=0;for(t=n[0];this[i]>=t.value;)t=n[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=w()),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,s={},a=0,l=0;if(m(t)||null===t)s[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)i&&void 0===t[a]||(r[l].indexOf(".")>0?S.prototype.setNestedProperty(s,t[a],r[l]):s[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:i}=this,{chart:r,xAxis:o,yAxis:s}=i,a=0,l=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,l=s?s.pos:r.plotTop),r.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,i=this.series,r=i.chart.options.chart,o=i.chart.styledMode,s=r.colorCount;delete this.nonZonedColor,i.options.colorByPoint?(o||(t=(e=i.options.colors||i.chart.options.colors)[i.colorCounter],s=e.length),n=i.colorCounter,i.colorCounter++,i.colorCounter===s&&(i.colorCounter=0)):(o||(t=i.color),n=i.colorIndex),this.colorIndex=b(this.options.colorIndex,n),this.color=b(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce(function(t,n,i,r){let o=r.length-1===i;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]},t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,i=b(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach(function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")}),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,i){let r,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let i=a&&o.hasMockGraphic,u=null===o.y?!i:i;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),null!=t&&t.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),r=o.index,s.updateParallelArrays(o,r),c.data[r]=v(c.data[r],!0)||v(t,!0)?o.options:b(t,c.data[r]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=b(e,!0),!1===i?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,i=n.series,r=i.chart;t=b(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach(function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null}manageEvent(t){var e,n,i,r,o,s;let a=null==(e=y(this.series.options.point,this.options).events)?void 0:e[t];!g(a)||null!=(n=this.hcEvents)&&n[t]&&-1!==(null==(r=null==(i=this.hcEvents)?void 0:i[t])?void 0:r.map(t=>t.fn).indexOf(a))?this.importedUserEvent&&!a&&null!=(s=this.hcEvents)&&s[t]&&(x(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(null==(o=this.importedUserEvent)||o.call(this),this.importedUserEvent=l(this,t,a))}setState(e,n){var i;let r,o,a,l,c=this.series,u=this.state,p=c.options.states[e||"normal"]||{},f=s.plotOptions[c.type].marker&&c.options.marker,g=f&&!1===f.enabled,v=f&&f.states&&f.states[e||"normal"]||{},y=!1===v.enabled,_=this.marker||{},x=c.chart,w=f&&c.markerAttribs,S=c.halo,k=c.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===p.enabled||e&&(y||g&&!1===v.enabled)||e&&_.states&&_.states[e]&&!1===_.states[e].enabled)return;if(this.state=e,w&&(r=c.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){o=c.pointAttribs(this,e),a=b(x.options.chart.animation,p.animation);let t=o.opacity;c.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach(function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},a),e.connector&&e.connector.animate({opacity:t},a))}),this.graphic.animate(o,a)}r&&this.graphic.animate(r,b(x.options.chart.animation,v.animation,f.animation)),k&&k.hide()}else e&&v&&(l=_.symbol||c.symbol,k&&k.currentSymbol!==l&&(k=k.destroy()),r&&(k?k[n?"animate":"attr"]({x:r.x,y:r.y}):l&&(c.stateMarkerGraphic=k=x.renderer.symbol(l,r.x,r.y,r.width,r.height).add(c.markerGroup),k.currentSymbol=l)),!x.styledMode&&k&&"inactive"!==this.state&&k.attr(c.pointAttribs(this,e))),k&&(k[e&&this.isInside?"show":"hide"](),k.element.point=this,k.addClass(this.getClassName(),!0));let C=p.halo,O=this.graphic||k,A=O&&O.visibility||"inherit";C&&C.size&&O&&"hidden"!==A&&!this.isCluster?(S||(c.halo=S=x.renderer.path().add(O.parentGroup)),S.show()[n?"animate":"attr"]({d:this.haloPath(C.size)}),S.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:A,zIndex:-1}),S.point=this,x.styledMode||S.attr(h({fill:this.color||c.color,"fill-opacity":C.opacity},t.filterUserAttributes(C.attributes||{})))):null!=(i=null==S?void 0:S.point)&&i.haloPath&&!S.point.destroyed&&S.animate({d:S.point.haloPath(0)},null,S.hide),d(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return S}),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){var i;let{parse:r}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:h,find:d,fireEvent:p,isNumber:f,isObject:g,objectEach:m,offset:v,pick:y,pushUnique:b,splat:_}=n;class x{applyInactiveState(t){let e,n=[];(t||[]).forEach(function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})}destroy(){let t=this;this.eventsToUnbind.forEach(t=>t()),this.eventsToUnbind=[],!e.chartCount&&(x.unbindDocumentMouseUp&&(x.unbindDocumentMouseUp=x.unbindDocumentMouseUp()),x.unbindDocumentTouchEnd&&(x.unbindDocumentTouchEnd=x.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,function(e,n){t[n]=void 0})}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",n,n=>{let i,{chart:r,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=r,c=n.attrs;c.x=r.plotLeft,c.y=r.plotTop,c.width=o?1:r.plotWidth,c.height=s?1:r.plotHeight,o&&(i=t-a,c.width=Math.max(1,Math.abs(i)),c.x=(i>0?0:i)+a),s&&(i=e-l,c.height=Math.max(1,Math.abs(i)),c.y=(i>0?0:i)+l)}),n}drag(t){let e,{chart:n}=this,{mouseDownX:i=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,h=n.plotWidth,d=n.plotHeight,p=g(s)?s.enabled:s,f=a&&t[`${a}Key`],m=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(m<c?m=c:m>c+h&&(m=c+h),v<u?v=u:v>u+d&&(v=u+d),this.hasDragged=Math.sqrt(Math.pow(i-m,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(i-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:h}=this.getSelectionMarkerAttrs(m,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!f&&!y&&(this.selectionMarker=y=n.renderer[a](),y.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||y.attr({fill:l||r("#334eff").setOpacity(.25).get()})),y&&y.attr(h),e&&!y&&p&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return p(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:i}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some(t=>t.boosted))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),i&&t){if(this.hasDragged){let e=this.getSelectionBox(i);n.transform({axes:n.axes.filter(t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY)),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}f(n.index)&&(this.selectionMarker=i.destroy())}n&&f(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let i;return t.forEach(function(t){let r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,r);g(o,!0)&&o.series&&(!g(i,!0)||function(t,n){var i,r;let o=t.distX-n.distX,s=t.dist-n.dist,a=(null==(i=n.series.group)?void 0:i.zIndex)-(null==(r=t.series.group)?void 0:r.zIndex);return 0!==o&&e?o:0!==s?s:0!==a?a:t.series.index>n.series.index?-1:1}(i,o)>0)&&(i=o)}),i}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:i}=t.series,r=t.shapeArgs;if(n&&i){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:i}=t;return i>2&&n>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,i,r,o){let s,a=[],l=function(t){return t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter(t=>t.stickyTracking&&(u.filter||l)(t));let h=i&&t||!o?t:this.findNearestKDPoint(s,r,o);return c=h&&h.series,h&&(r&&!c.noSharedTooltip?(s=n.filter(function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip})).forEach(function(t){let e=d(t.points,function(t){return t.x===h.x&&!t.isNull});g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))}):a.push(h)),p(this,"afterGetHoverData",u={hoverPoint:h}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,i=e.hoverSeries;this.isDirectTouch=!1,!i||!n||i.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+i.index)&&this.inClass(n,"highcharts-tracker")||i.onMouseOut()}inClass(t,e){let n,i=t;for(;i;){if(n=c(i,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}i=i.parentElement}}constructor(t,e){var n;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!(null==(n=e.chart.events)||!n.click),this.pinchDown=[],this.setDOMEvents(),p(this,"afterInit")}normalize(t,e){let n=t.touches,i=n?n.length?n.item(0):y(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let r=i.pageX-e.left,o=i.pageY-e.top;return h(t,{chartX:Math.round(r/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,i=this.normalize(t),r=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(i.target,"highcharts-tracker")?(p(n.series,"click",h(i,{point:n})),e.hoverPoint&&n.firePointEvent("click",i)):(h(i,this.getCoordinates(i)),e.isInsidePlot(i.chartX-r,i.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",i)))}onContainerMouseDown(t){var n;let i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&(null==(n=t.preventDefault)||n.call(t)),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[y(x.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,i=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(i))&&this.drag(i),!e.openMenu&&(this.inClass(i.target,"highcharts-tracker")||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(i))&&(this.inClass(i.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(i))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,i=this.chartPosition,r=this.normalize(t,i);!i||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(r)||r.target!==e.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){var e,n;null==(n=null==(e=o[y(x.hoverChartIndex,-1)])?void 0:e.pointer)||n.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:i,lastTouches:r}=e,o=[].map.call(t.touches||[],t=>e.normalize(t)),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&y(null==l?void 0:l.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),i&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0,n.mouseDownX=t.chartX):c?this.runPointActions(e.normalize(t)):r&&(p(n,"touchpan",{originalEvent:t,touches:o},()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter(t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz)),to:e(o),from:e(r),trigger:t.type})}),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:r;t&&a&&_(a).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?s&&a&&_(a).length&&(s.refresh(a),s.shared&&o?o.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),n.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&o.forEach(function(t){t.setState()}),i&&i.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(t){t.hideCrosshair()}),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let i=this.chart,r=i.series,s=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!s&&s.shared,c=e||i.hoverPoint,u=c&&c.series||i.hoverSeries,h=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),p=this.getHoverData(c,u,r,h,a,t);c=p.hoverPoint,u=p.hoverSeries;let f=p.hoverPoints,g=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,m=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==i.hoverPoint||s&&s.isHidden)){if((i.hoverPoints||[]).forEach(function(t){-1===f.indexOf(t)&&t.setState()}),i.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(f),(f||[]).forEach(function(t){t.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!c.series)return;i.hoverPoints=f,i.hoverPoint=c,c.firePointEvent("mouseOver",void 0,()=>{s&&c&&s.refresh(m?f:c,t)})}else if(g&&s&&!s.isHidden){let e=s.getAnchor([{}],t);i.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(i.container.ownerDocument,"mousemove",t=>{var e,n;return null==(n=null==(e=o[x.hoverChartIndex??-1])?void 0:e.pointer)?void 0:n.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(e){let n,r=y((e.crosshair||{}).snap,!0);!r||(n=i.hoverPoint)&&n.series[e.coll]===e||(n=d(f,t=>t.series&&t.series[e.coll]===e)),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()})}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),x.unbindDocumentMouseUp||(x.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",()=>{delete this.chartPosition})),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),x.unbindDocumentTouchEnd||(x.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var t,e;if(!a)return;let n=this.pointerCaptureEventsToUnbind,i=this.chart,r=i.container,o=y(null==(t=i.options.tooltip)?void 0:t.followTouchMove,!0)&&i.series.some(t=>t.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&o?(n.push(l(r,"pointerdown",t=>{var e,n;null!=(e=t.target)&&e.hasPointerCapture(t.pointerId)&&(null==(n=t.target)||n.releasePointerCapture(t.pointerId))}),l(r,"pointermove",t=>{var e,n;null==(n=null==(e=i.pointer)?void 0:e.getPointFromEvent(t))||n.onMouseOver(t)})),i.styledMode||u(r,{"touch-action":"none"}),r.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!o&&(n.forEach(t=>t()),n.length=0,i.styledMode||u(r,{"touch-action":y(null==(e=i.options.chart.style)?void 0:e["touch-action"],"manipulation")}),r.className=r.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){var n;let i=this.chart,r=e.charts[y(x.hoverChartIndex,-1)];if(r&&r!==i){let e={relatedTarget:i.container};t&&!(null!=t&&t.relatedTarget)&&(t={...e,...t}),null==(n=r.pointer)||n.onContainerMouseLeave(t||e)}r&&r.mouseIsDown||(x.hoverChartIndex=i.index)}touch(t,e){let n,{chart:i,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),y(n,!0)&&this.pinch(t)):e&&this.reset():2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,i=this.chart,r=i.inverted,o=i.zooming.type||"";/touch/.test(t.type)&&(o=y(i.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!r||n&&r,this.zoomVert=n&&!r||e&&r,this.hasZoom=e||n}}return(i=x||(x={})).compose=function(t){b(s,"Core.Pointer")&&l(t,"beforeRender",function(){this.pointer=new i(this,this.options)})},x}),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var e;let{extend:n,merge:i,pick:r}=t;return function(t){function e(t,e,o){var s;let a,l=this.legendItem=this.legendItem||{},{chart:c,options:u}=this,{baseline:h=0,symbolWidth:d,symbolHeight:p}=t,f=this.symbol||"circle",g=p/2,m=c.renderer,v=l.group,y=h-Math.round(p*(o?.4:.3)),b={},_=u.marker,x=0;if(c.styledMode||(b["stroke-width"]=Math.min(u.lineWidth||0,24),u.dashStyle?b.dashstyle=u.dashStyle:"square"===u.linecap||(b["stroke-linecap"]="round")),l.line=m.path().addClass("highcharts-graph").attr(b).add(v),o&&(l.area=m.path().addClass("highcharts-area").add(v)),b["stroke-linecap"]&&(x=Math.min(l.line.strokeWidth(),d)/2),d){let t=[["M",x,y],["L",d-x,y]];l.line.attr({d:t}),null==(s=l.area)||s.attr({d:[...t,["L",d-x,h],["L",x,h]]})}if(_&&!1!==_.enabled&&d){let t=Math.min(r(_.radius,g),g);0===f.indexOf("url")&&(_=i(_,{width:p,height:p}),t=0),l.symbol=a=m.symbol(f,d/2-t,y-t,2*t,2*t,n({context:"legend"},_)).addClass("highcharts-point").add(v),a.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},i=t.options,o=t.symbolHeight,s=i.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,r(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e}),n(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,n,i){var r;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=i;return function(e){function i(t,i){let r=o.plotOptions||{},s=i.defaultOptions,a=i.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(r[t]=s),e.seriesTypes[t]=i,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,c,u,h){let d=o.plotOptions||{};if(r=r||"",d[t]=l(d[r],c),delete e.seriesTypes[t],i(t,a(e.seriesTypes[r]||function(){},u)),e.seriesTypes[t].prototype.type=t,h){class i extends n{}s(i.prototype,h),e.seriesTypes[t].prototype.pointClass=i}return e.seriesTypes[t]}}(r||(r={})),r}),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l,c){let{animObject:u,setAnimation:h}=t,{defaultOptions:d}=e,{registerEventOptions:p}=n,{svg:f,win:g}=i,{seriesTypes:m}=a,{arrayMax:v,arrayMin:y,clamp:b,correctFloat:_,crisp:x,defined:w,destroyObjectProperties:S,diffObjects:k,erase:C,error:O,extend:A,find:T,fireEvent:P,getClosestDistance:E,getNestedProperty:M,insertItem:L,isArray:$,isNumber:j,isString:D,merge:I,objectEach:N,pick:R,removeEvent:B,splat:V,syncTimeout:z}=c;class F{constructor(){this.zoneAxis="y"}init(t,e){let n;P(this,"init",{options:e});let i=this,r=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e);let o=i.options,s=!1!==o.visible;i.linkedSeries=[],i.bindAxes(),A(i,{name:o.name,state:"",visible:s,selected:!0===o.selected}),p(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(t){i[t+"Data"]||(i[t+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(n=r[r.length-1]),i._i=R(n&&n._i,-1)+1,i.opacity=i.options.opacity,t.orderItems("series",L(this,r)),o.dataSorting&&o.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(o.data,!1),P(this,"afterInit")}is(t){return m[t]&&this instanceof m[t]}bindAxes(){let t,e=this,n=e.options,i=e.chart;P(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){(i[r]||[]).forEach(function(i){t=i.options,(R(n[r],0)===i.index||void 0!==n[r]&&n[r]===t.id)&&(L(e,i.series),e[r]=i,i.isDirty=!0)}),e[r]||e.optionalAxis===r||O(18,!0,i)})}),P(this,"afterBindAxes")}updateParallelArrays(t,e,n){let i=t.series,r=j(e)?function(n){let r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],n)};i.parallelArrays.forEach(r)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,i=e.marker||{};return n&&(i.enabled&&!n.enabled||i.symbol!==n.symbol||i.height!==n.height||i.width!==n.width)}autoIncrement(t){let e,n,i=this.options,r=i.pointIntervalUnit,o=i.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=R(a,i.pointStart,0),this.pointInterval=n=R(this.pointInterval,i.pointInterval,1),o&&j(t)&&(n*=t),r&&(e=new s.Date(a),"day"===r?s.set("Date",e,s.get("Date",e)+n):"month"===r?s.set("Month",e,s.get("Month",e)+n):"year"===r&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&j(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;A(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)}setOptions(t){var e,n;let i,r=this.chart,o=r.options.plotOptions,s=r.userOptions||{},a=I(t),l=r.styledMode,c={plotOptions:o,userOptions:a};P(this,"setOptions",c);let u=c.plotOptions[this.type],h=s.plotOptions||{},p=h.series||{},f=d.plotOptions[this.type]||{},g=h[this.type]||{};this.userOptions=c.userOptions;let m=I(u,o.series,g,a);this.tooltipOptions=I(d.tooltip,null==(e=d.plotOptions.series)?void 0:e.tooltip,null==f?void 0:f.tooltip,r.userOptions.tooltip,null==(n=h.series)?void 0:n.tooltip,g.tooltip,a.tooltip),this.stickyTracking=R(a.stickyTracking,g.stickyTracking,p.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||m.stickyTracking),null===u.marker&&delete m.marker,this.zoneAxis=m.zoneAxis||"y";let v=this.zones=(m.zones||[]).map(t=>({...t}));return(m.negativeColor||m.negativeFillColor)&&!m.zones&&(i={value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative"},l||(i.color=m.negativeColor,i.fillColor=m.negativeFillColor),v.push(i)),v.length&&w(v[v.length-1].value)&&v.push(l?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:m}),m}getName(){return R(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let i,r,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=(null==n?void 0:n.length)||o.options.chart.colorCount;!e&&(w(r=R("color"===t?this.options.colorIndex:void 0,this[s]))?i=r:(o.series.length||(o[a]=0),i=o[a]%l,o[a]+=1),n&&(e=n[i])),void 0!==i&&(this[s]=i),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||d.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,i,r,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=T(l,e)))return}return n&&void 0!==(r=n&&n.index)&&(i=!0),void 0===r&&j(a)&&(r=this.xData.indexOf(a,e)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=this.cropStart?r-this.cropStart:r),!i&&j(r)&&l[r]&&l[r].touched&&(r=void 0),r}updateData(t,e){let n,i,r,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,h=t.length===l.length,d=!0;if(this.xIncrement=null,t.forEach(function(t,e){let i,r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||j(d)?(-1===(i=this.findPointIndex(r,o))||void 0===i?c.push(t):l[i]&&t!==s.data[i]?(l[i].update(t,!1,null,!1),l[i].touched=!0,u&&(o=i+1)):l[i]&&(l[i].touched=!0),(!h||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)},this),n)for(i=l.length;i--;)(r=l[i])&&!r.touched&&r.remove&&r.remove(!1,e);else!h||a&&a.enabled?d=!1:(t.forEach(function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)}),c.length=0);return l.forEach(function(t){t&&(t.touched=!1)}),!!d&&(c.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,i){var r;let o,s,a,l,c=this,u=c.points,h=u&&u.length||0,d=c.options,p=c.chart,f=d.dataSorting,g=c.xAxis,m=d.turboThreshold,v=this.xData,y=this.yData,b=c.pointArrayMap,_=b&&b.length,x=d.keys,w=0,S=1;p.options.chart.allowMutatingData||(d.data&&delete c.options.data,c.userOptions.data&&delete c.userOptions.data,l=I(!0,t));let k=(t=l||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),p.options.chart.allowMutatingData&&!1!==i&&k&&h&&!c.cropped&&!c.hasGroupedData&&c.visible&&!c.boosted&&(a=this.updateData(t,n)),!a){c.xIncrement=null,c.colorCounter=0,this.parallelArrays.forEach(function(t){c[t+"Data"].length=0});let e=m&&k>m;if(e){let n=c.getFirstValidPoint(t),i=c.getFirstValidPoint(t,k-1,-1),r=t=>!(!$(t)||!x&&!j(t[0]));if(j(n)&&j(i))for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else if(r(n)&&r(i))if(_)if(n.length===_)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else for(o=0;o<k;o++)s=t[o],v[o]=s[0],y[o]=s.slice(1,_+1);else if(x&&(w=x.indexOf("x"),S=x.indexOf("y"),w=w>=0?w:0,S=S>=0?S:1),1===n.length&&(S=0),w===S)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o][S];else for(o=0;o<k;o++)s=t[o],v[o]=s[w],y[o]=s[S];else e=!1}if(!e)for(o=0;o<k;o++)s={series:c},c.pointClass.prototype.applyOptions.apply(s,[t[o]]),c.updateParallelArrays(s,o);for(y&&D(y[0])&&O(14,!0,p),c.data=[],c.options.data=c.userOptions.data=t,o=h;o--;)null==(r=u[o])||r.destroy();g&&(g.minRange=g.userMinRange),c.isDirty=p.isDirtyBox=!0,c.isDirtyData=!!u,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&p.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(n,r){t[r]=i(e,n),t[r].index=r},this),t.concat().sort((t,e)=>{let i=M(n,t),r=M(n,e);return r<i?-1:r>i?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){let n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach(function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)}),e.setData(r,!1))}),t}getProcessedData(t){let e,n,i,r,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=null==a?void 0:a.logarithmic,u=s.isCartesian,h=0,d=s.xData,p=s.yData,f=!1,g=d.length;a&&(r=(i=a.getExtremes()).min,o=i.max,f=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||g>l||s.forceCrop)&&(d[g-1]<r||d[0]>o?(d=[],p=[]):s.yData&&(d[0]<r||d[g-1]>o)&&(d=(e=this.cropData(s.xData,s.yData,r,o)).xData,p=e.yData,h=e.start,n=!0));let m=E([c?d.map(c.log2lin):d],()=>s.requireSorting&&!f&&O(15,!1,s.chart));return{xData:d,yData:p,cropped:n,cropStart:h,closestPointRange:m}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,P(this,"afterProcessData")}cropData(t,e,n,i){let r,o,s=t.length,a=0,l=s;for(r=0;r<s;r++)if(t[r]>=n){a=Math.max(0,r-1);break}for(o=r;o<s;o++)if(t[o]>i){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,i,r=this.options,o=this.processedData||r.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,h=this.hasGroupedData,d=r.keys,p=[],f=r.dataGrouping&&r.dataGrouping.groupAll?u:0,g=this.data;if(!g&&!h){let t=[];t.length=o.length,g=this.data=t}for(d&&h&&(this.options.keys=!1),i=0;i<c;i++)e=u+i,h?((n=new l(this,[s[i]].concat(V(a[i])))).dataGroup=this.groupMap[f+i],n.dataGroup.options&&(n.options=n.dataGroup.options,A(n,n.dataGroup.options),delete n.dataLabels)):(n=g[e])||void 0===o[e]||(g[e]=n=new l(this,o[e],s[i])),n&&(n.index=h?f+i:e,p[i]=n);if(this.options.keys=d,g&&(c!==(t=g.length)||h))for(i=0;i<t;i++)i!==u||h||(i+=c),g[i]&&(g[i].destroyElements(),g[i].plotX=void 0);this.data=g,this.points=p,P(this,"afterGeneratePoints")}getXExtremes(t){return{min:y(t),max:v(t)}}getExtremes(t,e){let n,i,r,o,s,a,l,c=this.xAxis,u=this.yAxis,h=[],d=this.requireSorting&&!this.is("column")?1:0,p=!!u&&u.positiveValuesOnly,f=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:g,processedYData:m}=this,b=0,_=0,x=0;if(this.cropped&&f){let t=this.getProcessedData(!0);g=t.xData,m=t.yData}let w=(t=t||this.stackedYData||m||[]).length,S=g||this.xData;for(c&&(b=(n=c.getExtremes()).min,_=n.max),a=0;a<w;a++)if(o=S[a],i=(j(s=t[a])||$(s))&&((j(s)?s>0:s.length)||!p),r=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(S[a+d]||o)>=b&&(S[a-d]||o)<=_,i&&r)if(l=s.length)for(;l--;)j(s[l])&&(h[x++]=s[l]);else h[x++]=s;let k={activeYData:h,dataMin:y(h),dataMax:v(h)};return P(this,"afterGetExtremes",{dataExtremes:k}),k}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,n=1){let i=t.length,r=e;for(;r>=0&&r<i;){if(w(t[r]))return t[r];r+=n}}translate(){var t;this.processedXData||this.processData(),this.generatePoints();let e,n,i,r,o=this.options,s=o.stacking,a=this.xAxis,l=a.categories,c=this.enabledDataSorting,u=this.yAxis,h=this.points,d=h.length,p=this.pointPlacementToXValue(),f=!!p,g=o.threshold,m=o.startFromThreshold?g:0,v=Number.MAX_VALUE;function y(t){return b(t,-1e5,1e5)}for(e=0;e<d;e++){let o,d,b,x=h[e],S=x.x,k=x.y,C=x.low,O=s&&(null==(t=u.stacking)?void 0:t.stacks[(this.negStacks&&k<(m?0:g)?"-":"")+this.stackKey]);n=a.translate(S,!1,!1,!1,!0,p),x.plotX=j(n)?_(y(n)):void 0,s&&this.visible&&O&&O[S]&&(r=this.getStackIndicator(r,S,this.index),!x.isNull&&r.key&&(b=(d=O[S]).points[r.key]),d&&$(b)&&(C=b[0],k=b[1],C===m&&r.key===O[S].base&&(C=R(j(g)?g:u.min)),u.positiveValuesOnly&&w(C)&&C<=0&&(C=void 0),x.total=x.stackTotal=R(d.total),x.percentage=w(x.y)&&d.total?x.y/d.total*100:void 0,x.stackY=k,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),x.yBottom=w(C)?y(u.translate(C,!1,!0,!1,!0)):void 0,this.dataModify&&(k=this.dataModify.modifyValue(k,e)),j(k)&&void 0!==x.plotX&&(o=j(o=u.translate(k,!1,!0,!1,!0))?y(o):void 0),x.plotY=o,x.isInside=this.isPointInside(x),x.clientX=f?_(a.translate(S,!1,!1,!1,!0,p)):n,x.negative=(x.y||0)<(g||0),x.category=R(l&&l[x.x],x.x),x.isNull||!1===x.visible||(void 0!==i&&(v=Math.min(v,Math.abs(n-i))),i=n),x.zone=this.zones.length?x.getZone():void 0,!x.graphic&&this.group&&c&&(x.isNew=!0)}this.closestPointRangePx=v,P(this,"afterTranslate")}getValidPoints(t,e,n){let i=this.chart;return(t||this.points||[]).filter(function(t){let{plotX:r,plotY:o}=t;return!(!(n||!t.isNull&&j(o))||e&&!i.isInsidePlot(r,o,{inverted:i.inverted}))&&!1!==t.visible})}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:i,y:r,width:o,height:s}=I(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:i,y:r,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,i=t.sharedClips,r=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=i[s];a?a.animate(o):i[s]=a=r.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:i}=this,r=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,r&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),null==i||i.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(null!=i&&i.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&null!=l&&l.element&&l.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),N(this.chart.sharedClips,(t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])}),this.finishedAnimating=!0,P(this,"afterAnimate")}drawPoints(t=this.points){let e,n,i,r,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:h}=this,d=h.marker,p=this[this.specialGroup||"markerGroup"],f=this.xAxis,g=R(d.enabled,!f||!!f.isRadial||null,this.closestPointRangePx>=d.enabledThreshold*d.radius);if(!1!==d.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(r=(i=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(g&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=R(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=f.reversed?-(a.width||0):f.width);let e=!1!==n.isInside;if(!i&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=i=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:d).add(p),this.enabledDataSorting&&l.hasRendered&&(i.attr({x:n.startXPos}),r="animate")),i&&"animate"===r&&i[e?"show":"hide"](e).animate(a),i){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&i.css({fill:t.fill}):i[r](t)}i&&i.addClass(n.getClassName(),!0)}else i&&(n.graphic=i.destroy())}markerAttribs(t,e){let n,i,r=this.options,o=r.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=R(s.radius,o&&o.radius);e&&(n=o.states[e],c=R((i=s.states&&s.states[e])&&i.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return j(c)&&u&&(r.crisp&&(u[0]=x(u[0],t.hasImage?0:"rect"===a?(null==o?void 0:o.lineWidth)||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,i,r,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,h=t&&t.zone&&t.zone.color,d=this.color,p=R(l.lineWidth,s.lineWidth),f=1;return d=c||h||u||d,r=l.fillColor||s.fillColor||d,o=l.lineColor||s.lineColor||d,e=e||"normal",n=s.states[e]||{},p=R((i=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,p+R(i.lineWidthPlus,n.lineWidthPlus,0)),r=i.fillColor||n.fillColor||r,{stroke:o=i.lineColor||n.lineColor||o,"stroke-width":p,fill:r,opacity:f=R(i.opacity,n.opacity,f)}}destroy(t){let e,n,i,r=this,o=r.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(P(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach(function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of r.zones)S(t,void 0,!0);c.clearTimeout(r.animationTimeout),N(r,function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()}),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderItems("series"),N(r,function(e,n){t&&"hcEvents"===n||delete r[n]})}applyZones(){let{area:t,chart:e,graph:n,zones:i,points:r,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:h,len:d=0}=u||{},p=((null==n?void 0:n.strokeWidth())||0)/2+1,f=(t,e=0,n=0)=>{l&&(n=d-n);let{translated:i=0,lineClip:r}=t,o=n-i;null==r||r.push(["L",e,Math.abs(o)<p?n-p*(o<=0?-1:1):i])};if(i.length&&(n||t)&&u&&j(u.min)){let e=u.getExtremes().max,p=t=>{t.forEach((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],h?d-e[1]:e[1],h?e[2]:d-e[2]])})};if(i.forEach(t=>{t.lineClip=[],t.translated=b(u.toPixels(R(t.value,e),!0)||0,0,d)}),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&r.length<o.len)for(let t of r){let{plotX:e,plotY:n,zone:r}=t,o=r&&i[i.indexOf(r)-1];r&&f(r,e,n),o&&f(o,e,n)}let g=[],m=u.toPixels(u.getExtremes().min,!0);i.forEach(e=>{var i,r;let a=e.lineClip||[],u=Math.round(e.translated||0);o.reversed&&a.reverse();let{clip:d,simpleClip:f}=e,v=0,y=0,b=o.len,_=s.len;h?(v=u,b=m):(y=u,_=m);let x=[["M",v,y],["L",b,y],["L",b,_],["L",v,_],["Z"]],w=[x[0],...a,x[1],x[2],...g,x[3],x[4]];g=a.reverse(),m=u,l&&(p(w),t&&p(x)),d?(d.animate({d:w}),null==f||f.animate({d:x})):(d=e.clip=c.path(w),t&&(f=e.simpleClip=c.path(x))),n&&(null==(i=e.graph)||i.clip(d)),t&&(null==(r=e.area)||r.clip(f))})}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,i,r){let o=this[t],s=!o,a={visibility:n,zIndex:i||.1};return w(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,i=this.chart,r=i.inverted&&!i.polar&&e&&this.invertible&&"series"===t;return i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:r?90:0,rotationOriginX:r?(e.len-n.len)/2:0,rotationOriginY:r?(e.len+n.len)/2:0,scaleX:r?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||B(this),e.length&&(e.forEach(t=>{t()}),e.length=0)}render(){var t,e,n,i,r;let o=this,{chart:s,options:a,hasRendered:l}=o,c=u(a.animation),h=o.visible?"inherit":"hidden",d=a.zIndex,p=s.seriesGroup,f=o.finishedAnimating?0:c.duration;P(this,"render"),o.plotGroup("group","series",h,d,p),o.markerGroup=o.plotGroup("markerGroup","markers",h,d,p),!1!==a.clip&&o.setClip(),f&&(null==(t=o.animate)||t.call(o,!0)),o.drawGraph&&(o.drawGraph(),o.applyZones()),o.visible&&o.drawPoints(),null==(e=o.drawDataLabels)||e.call(o),null==(n=o.redrawPoints)||n.call(o),a.enableMouseTracking&&(null==(i=o.drawTracker)||i.call(o)),f&&(null==(r=o.animate)||r.call(o)),l||(f&&c.defer&&(f+=c.defer),o.animationTimeout=z(()=>{o.afterAnimate()},f||0)),o.isDirty=!1,o.hasRendered=!0,P(o,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:i}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z(function(){e.kdTree=function t(n,i,r){let o,s,a=null==n?void 0:n.length;if(a)return o=e.kdAxisArray[i%r],n.sort((t,e)=>(t[o]||0)-(e[o]||0)),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),i+1,r),right:t(n.slice(s+1),i+1,r)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1},e.options.kdNow||"touchstart"===(null==t?void 0:t.type)?0:1)}searchKDTree(t,e,n){let i=this,[r,o]=this.kdAxisArray,s=e?"distX":"dist",a=(i.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!i.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){var u;let h,d,p=n.point,f=i.kdAxisArray[a%c],g=p;!function(t,e){var n;let i=t[r],s=e[r],a=w(i)&&w(s)?i-s:null,c=t[o],u=e[o],h=w(c)&&w(u)?c-u:0,d=l&&(null==(n=e.marker)?void 0:n.radius)||0;e.dist=Math.sqrt((a&&a*a||0)+h*h)-d,e.distX=w(a)?Math.abs(a)-d:Number.MAX_VALUE}(e,p);let m=(e[f]||0)-(p[f]||0)+(l&&(null==(u=p.marker)?void 0:u.radius)||0),v=m<0?"left":"right",y=m<0?"right":"left";return n[v]&&(g=(h=t(e,n[v],a+1,c))[s]<g[s]?h:p),n[y]&&Math.sqrt(m*m)<g[s]&&(g=(d=t(e,n[y],a+1,c))[s]<g[s]?d:g),g}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),j(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:i}=this,{plotX:r=-1,plotY:o=-1}=t;return o>=0&&o<=(i?i.len:e.plotHeight)&&r>=0&&r<=(n?n.len:e.plotWidth)}drawTracker(){var t;let e=this,n=e.options,i=n.trackByArea,r=[].concat((i?e.areaPath:e.graphPath)||[]),o=e.chart,s=o.pointer,a=o.renderer,l=(null==(t=o.options.tooltip)?void 0:t.snap)||0,c=()=>{n.enableMouseTracking&&o.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(f?1e-4:.002)+")",h=e.tracker;h?h.attr({d:r}):e.graph&&(e.tracker=h=a.path(r).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),o.styledMode||h.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:i?u:"none","stroke-width":e.graph.strokeWidth()+(i?0:2*l)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach(t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",t=>{null==s||s.onTrackerMouseOut(t)}),n.cursor&&!o.styledMode&&t.css({cursor:n.cursor}),t.on("touchstart",c))})),P(this,"afterDrawTracker")}addPoint(t,e,n,i,r){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,h=u&&u.hasNames&&u.names,d=a.data,p=this.xData;e=R(e,!0);let f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);let g=f.x;if(s=p.length,this.requireSorting&&g<p[s-1])for(o=!0;s&&p[s-1]>g;)s--;this.updateParallelArrays(f,"splice",[s,0,0]),this.updateParallelArrays(f,s),h&&f.name&&(h[g]=f.name),d.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(f,"shift"),d.shift())),!1!==r&&P(this,"addPoint",{point:f}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(i)}removePoint(t,e,n){let i=this,r=i.data,o=r[t],s=i.points,a=i.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",[t,1]),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&a.redraw()};h(n,a),e=R(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,i){let r=this,o=r.chart;function s(){r.destroy(i),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(i),R(t,!0)&&o.redraw(e)}!1!==n?P(r,"remove",null,s):s()}update(t,e){var n,i,r;P(this,"update",{options:t=k(t,this.userOptions)});let o,s,a=this,l=a.chart,c=a.userOptions,u=a.initialType||a.type,h=l.options.plotOptions,d=m[u].prototype,p=a.finishedAnimating&&{animation:!1},f={},g=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],v=t.type||c.type||l.options.chart.type,y=!(this.hasDerivedData||v&&v!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(t=>a.hasOptionChanged(t)));v=v||u,y&&(g.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&g.push("area","graph"),a.parallelArrays.forEach(function(t){g.push(t+"Data")}),t.data&&(t.dataSorting&&A(a.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=I(c,{index:void 0===c.index?a.index:c.index,pointStart:(null==(n=null==h?void 0:h.series)?void 0:n.pointStart)??c.pointStart??(null==(i=a.xData)?void 0:i[0])},!y&&{data:a.options.data},t,p),y&&t.data&&(t.data=a.options.data),(g=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(g)).forEach(function(t){g[t]=a[t],delete a[t]});let b=!1;if(m[v]){if(b=v!==a.type,a.remove(!1,!1,!1,!0),b)if(l.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(a,m[v].prototype);else{let t=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents;for(s in d)a[s]=void 0;A(a,m[v].prototype),t?a.hcEvents=t:delete a.hcEvents}}else O(17,!0,l,{missingModuleFor:v});if(g.forEach(function(t){a[t]=g[t]}),a.init(l,t),y&&this.points)for(let t of(!1===(o=a.options).visible?(f.graphic=1,f.dataLabel=1):(this.hasMarkerChanged(o,c)&&(f.graphic=1),null!=(r=a.hasDataLabels)&&r.call(a)||(f.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(f).length&&t.destroyElements(f),!1===o.showInLegend&&t.legendItem&&l.legend.destroyItem(t));a.initialType=u,l.linkSeries(),l.setSortedData(),b&&a.linkedSeries.length&&(a.isDirtyData=!0),P(this,"afterUpdate"),R(e,!0)&&l.redraw(!!y&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){var e,n;let i=this.chart,r=this.options[t],o=i.options.plotOptions,s=this.userOptions[t],a=R(null==(e=null==o?void 0:o[this.type])?void 0:e[t],null==(n=null==o?void 0:o.series)?void 0:n[t]);return s&&!w(a)?r!==s:r!==R(a,r)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;null==n||n.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach(function(t){t.setState("",!0)})}setState(t,e){let n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,s=i.states,a=R(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))}),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=R(s[t].opacity,c)),r&&!r.dashstyle&&j(l))for(let t of[r,...this.zones.map(t=>t.graph)])null==t||t.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach(function(e){e.setState&&e.setState(t)})}setVisible(t,e){var n;let i=this,r=i.chart,o=r.options.chart.ignoreHiddenSeries,s=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t;let a=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(t=>{var e;null==(e=i[t])||e[a]()}),(r.hoverSeries===i||(null==(n=r.hoverPoint)?void 0:n.series)===i)&&i.onMouseOut(),i.legendItem&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&r.series.forEach(t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(e=>{e.setVisible(t,!1)}),o&&(r.isDirtyBox=!0),P(i,a),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){var n;null==(n=r[this.options.legendSymbol||"rectangle"])||n.call(this,t,e)}}return F.defaultOptions=s,F.types=a.seriesTypes,F.registerType=a.registerSeriesType,A(F.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=F,F}),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a){var l;let{animObject:c,setAnimation:u}=t,{registerEventOptions:h}=e,{composed:d,marginNames:p}=n,{distribute:f}=o,{format:g}=s,{addEvent:m,createElement:v,css:y,defined:b,discardElement:_,find:x,fireEvent:w,isNumber:S,merge:k,pick:C,pushUnique:O,relativeLength:A,stableSort:T,syncTimeout:P}=a;class E{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this,e),m(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),m(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(t){let e=C(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=k(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=C(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(k(!0,this.options,t)),"events"in this.options&&h(this,this.options),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,C(e,!0)&&n.redraw(),w(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:i,label:r,line:o,symbol:s}=t.legendItem||{};if(null==i||i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:i={}}=this,a=i.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:h}=t.options,d=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);null==r||r.css(k(e?this.itemStyle:i)),null==o||o.attr(d({stroke:u||t.color})),s&&s.attr(d(h&&s.isMarker?t.pointAttribs():{fill:t.color})),null==n||n.attr(d({fill:l||t.color,"fill-opacity":l?1:c??.75}))}w(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:i=0}=t.legendItem||{},r=this.options,o=r.symbolPadding,s=!r.rtl,a=t.checkbox;if(e&&e.element){let r={translateX:s?n:this.legendWidth-n-2*o-4,translateY:i};e[b(e.translateY)?"animate":"attr"](r,void 0,()=>{w(this,"afterPositionItem",{item:t})})}a&&(a.x=n,a.y=i)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&_(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,i=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach(function(r){let o,s=r.checkbox;s&&(o=t+i+s.y+(this.scrollOffset||0)+3,y(s,{left:e.translateX+r.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))},this))}renderTitle(){let t,e=this.options,n=this.padding,i=e.title,r=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?g(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o="horizontal"===r.layout,s=this.symbolWidth,a=r.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?C(r.itemDistance,20):0,h=!r.rtl,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=r.useHTML,v=t.options.className,y=e.label,b=s+a+u+(g?20:0);!y&&(e.group=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=i.text("",h?s+a:-a,this.baseline||0,m),n.styledMode||y.css(k(t.visible?l:c)),y.attr({align:h?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=i.fontMetrics(y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=C(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=C(r.symbolWidth,Math.max(this.symbolHeight,16)),b=this.symbolWidth+a+u+(g?20:0),h&&y.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&y.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-b+"px"}),this.setText(t);let _=y.getBBox(),x=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||_.width+b,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(_.height>1.5*x?_.height:x))}layoutItem(t){let e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=i?C(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};i&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,i?this.itemX+=c:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach(function(e){let n=e&&e.options;e&&C(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))}),w(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,s){o.test(r)&&!b(t[s])&&(n[p[s]]=Math.max(n[p[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*i[s%2?"x":"y"]+C(i.margin,12)+e[s]+(n.titleOffset[s]||0)))})}proximatePositions(){let t,e=this.chart,n=[],i="left"===this.options.align;for(let r of(this.allItems.forEach(function(t){let r,o,s,a,l=i;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(r=x(l?t.points:t.points.slice(0).reverse(),function(t){return S(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(r?r.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))},this),f(n,e.plotHeight)))t=r.item.legendItem||{},S(r.pos)&&(t.y=e.plotTop-e.spacing[0]+r.pos)}render(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=A(s.width,r.spacingBox.width-a),i=r.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(i/=2),this.maxLegendWidth=this.widthOption||i,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),T(l,(t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),r.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),r.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(i-=e.titleOffset[2]),i!==t.y&&(t=k(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(k(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,i,r=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,h=a.maxHeight,d=a.navigation,p=C(d.animation,!0),f=d.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?x.attr({height:t}):x&&(r.clipRect=x.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},y=function(t){return r[t]=s.circle(0,0,1.3*f).translate(f/2,f/2).add(_),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},b=o.spacingBox.height+(c?-l:l)-u,_=this.nav,x=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(b/=2),h&&(b=Math.min(b,h)),g.length=0,t&&b>0&&t>b&&!1!==d.enabled?(this.clipHeight=e=Math.max(b-20-this.titleHeight-u,0),this.currentPage=C(this.currentPage,1),this.fullHeight=t,m.forEach((t,r)=>{let o=(i=t.legendItem||{}).y||0,s=Math.round(i.label.getBBox().height),a=g.length;(!a||o-g[a-1]>e&&(n||o)!==g[a-1])&&(g.push(n||o),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&o+s-g[a-1]>e&&o>g[a-1]&&(g.push(o),i.pageIx=a),o!==n&&(n=o)}),x||(x=r.clipRect=s.clipRect(0,u-2,9999,0),r.contentGroup.clip(x)),v(e),_||(this.nav=_=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).add(_),y("upTracker").on("click",function(){r.scroll(-1,p)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(_),this.down=s.symbol("triangle-down",0,0,f,f).add(_),y("downTracker").on("click",function(){r.scroll(1,p)})),r.scroll(0),t=b):_&&(v(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,i=this.pages,r=i.length,o=this.clipHeight,s=this.options.navigation,a=this.pager,l=this.padding,h=this.currentPage+t;h>r&&(h=r),h>0&&(void 0!==e&&u(e,n),this.nav.attr({translateX:l,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),a.attr({text:h+"/"+r}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,class:h===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),n.styledMode||(this.up.attr({fill:1===h?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===r?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:h===r?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),P(()=>{w(this,"afterScroll",{currentPage:h})},c(C(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let o=this,s=t.legendItem||{},a=o.chart.renderer.boxWrapper,l=t instanceof r,c=t instanceof i,u="highcharts-legend-"+(l?"point":"series")+"-active",h=o.chart.styledMode,d=n?[e,s.symbol]:[s.group],p=e=>{o.allItems.forEach(n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach(t=>{t.setState(e,!l)})})};for(let n of d)n&&n.on("mouseover",function(){t.visible&&p("inactive"),t.setState("hover"),t.visible&&a.addClass(u),h||e.css(o.options.itemHoverStyle)}).on("mouseout",function(){o.chart.styledMode||e.css(k(t.visible?o.itemStyle:o.itemHiddenStyle)),p(""),a.removeClass(u),t.setState()}).on("click",function(e){a.removeClass(u),w(o,"itemClick",{browserEvent:e,legendItem:t},function(){t.setVisible&&t.setVisible(),p(t.visible?"inactive":"")}),l?t.firePointEvent("legendItemClick",{browserEvent:e}):c&&w(t,"legendItemClick",{browserEvent:e})})}createCheckboxForItem(t){t.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),m(t.checkbox,"click",function(e){let n=e.target;w(t.series||t,"checkboxClick",{checked:n.checked,item:t},function(){t.select()})})}}return(l=E||(E={})).compose=function(t){O(d,"Core.Legend")&&m(t,"beforeMargins",function(){this.legend=new l(this,this.options.legend)})},E}),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,e,n,i,r,o,s,a,l,c,u,h,d,p){let{animate:f,animObject:g,setAnimation:m}=t,{defaultOptions:v,defaultTime:y}=n,{numberFormat:b}=i,{registerEventOptions:_}=r,{charts:x,doc:w,marginNames:S,svg:k,win:C}=o,{seriesTypes:O}=l,{addEvent:A,attr:T,createElement:P,css:E,defined:M,diffObjects:L,discardElement:$,erase:j,error:D,extend:I,find:N,fireEvent:R,getStyle:B,isArray:V,isNumber:z,isObject:F,isString:W,merge:H,objectEach:U,pick:q,pInt:G,relativeLength:X,removeEvent:Y,splat:K,syncTimeout:Z,uniqueKey:Q}=h;class J{static chart(t,e,n){return new J(t,e,n)}constructor(t,e,n){this.sharedClips={};let i=[...arguments];(W(t)||t.nodeName)&&(this.renderTo=i.shift()),this.init(i[0],i[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:q(t.zoomType,e.type),key:q(t.zoomKey,e.key),pinchType:q(t.pinchType,e.pinchType),singleTouch:q(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:H(e.resetButton,t.resetZoomButton)}}init(t,e){R(this,"init",{args:arguments},function(){let n=H(v,t),i=n.chart;this.userOptions=I({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,_(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),R(this,"afterInit"),this.firstRender()})}initSeries(t){let e=this.options.chart,n=t.type||e.type,i=O[n];i||D(17,!0,this,{missingModuleFor:n});let r=new i;return"function"==typeof r.init&&r.init(this,t),r}setSortedData(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})}orderItems(t,e=0){let n=this[t],i=this.options[t]=K(this.options[t]).slice(),r=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(i.splice(e),r.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(i[t]=e.options,r[t]=e.userOptions))}}isInsidePlot(t,e,n={}){var i;let{inverted:r,plotBox:o,plotLeft:s,plotTop:a,scrollablePlotBox:l}=this,{scrollLeft:c=0,scrollTop:u=0}=n.visiblePlotOnly&&(null==(i=this.scrollablePlotArea)?void 0:i.scrollingContainer)||{},h=n.series,d=n.visiblePlotOnly&&l||o,p=n.inverted?e:t,f=n.inverted?t:e,g={x:p,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=h&&(r&&!this.polar?h.yAxis:h.xAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+p:s+p;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.width,t.pos+t.len)||(g.isInsidePlot=!1)}if(!n.ignoreY&&g.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||h&&(r?h.xAxis:h.yAxis)||{pos:a,len:1/0},e=n.paneCoordinates?t.pos+f:a+f;e>=Math.max(u+a,t.pos)&&e<=Math.min(u+a+d.height,t.pos+t.len)||(g.isInsidePlot=!1)}return R(this,"afterIsInsidePlot",g),g.isInsidePlot}redraw(t){R(this,"beforeRedraw");let e,n,i,r,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,h=u.isHidden(),d=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),h&&this.temporaryDisplay(),this.layOutTitles(!1),i=s.length;i--;)if(((r=s[i]).options.stacking||r.options.centerInCategory)&&(n=!0,r.isDirty)){e=!0;break}if(e)for(i=s.length;i--;)(r=s[i]).options.stacking&&(r.isDirty=!0);s.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):c&&(c.labelFormatter||c.labelFormat)&&(f=!0)),t.isDirtyData&&R(t,"updatedData")}),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),o.forEach(function(t){t.isDirty&&(p=!0)}),o.forEach(function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,d.push(function(){R(t,"afterSetExtremes",I(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(p||n)&&t.redraw()}),p&&this.drawChartBox(),R(this,"predraw"),s.forEach(function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),a&&a.reset(!0),u.draw(),R(this,"redraw"),R(this,"render"),h&&this.temporaryDisplay(!0),d.forEach(function(t){t.call()})}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let i=N(this.axes,n)||N(this.series,n);for(let t=0;!i&&t<e.length;t++)i=N(e[t].points||[],n);return i}getAxes(){let t=this.userOptions;for(let n of(R(this,"getAxes"),["xAxis","yAxis"]))for(let i of t[n]=K(t[n]||{}))new e(this,i,n);R(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((t,e)=>(e.getPointsCollection().forEach(e=>{q(e.selectedStaging,e.selected)&&t.push(e)}),t),[])}getSelectedSeries(){return this.series.filter(function(t){return t.selected})}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,i=this.options[t]=H(this.options[t],e),r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e,i){n.applyDescription(t,e),n.layOutTitles(i)},this.styledMode||r.css(I("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},i.style)),this[t]=r)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach(function(t){let r=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(r){r.css({width:(o.width||i.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(r).b,l=Math.round(r.getBBox(o.useHTML).height);r.align(I({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,R(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:B(this.renderTo,"width",!0)||0,height:B(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,i=this.getContainerBox();this.chartWidth=Math.max(0,e||i.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(i.height>1?i.height:400)),this.containerBox=i}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(E(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(w.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(w.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,w.body.appendChild(n)),("none"===B(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),E(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==w.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){var t;let e,n=this.options,i=n.chart,r="data-highcharts-chart",a=Q(),l=this.renderTo;l||(this.renderTo=l=i.renderTo),W(l)&&(this.renderTo=l=w.getElementById(l)),l||D(13,!0,this);let u=G(T(l,r));z(u)&&x[u]&&x[u].hasRendered&&x[u].destroy(),T(l,r,this.index),l.innerHTML=d.emptyHTML,i.skipClone||l.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h=this.chartHeight,p=this.chartWidth;E(l,{overflow:"hidden",pointerEvents:o.isChrome?"fill":"auto"}),this.styledMode||(e=I({position:"relative",overflow:"hidden",width:p+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let f=P("div",{id:a},e,l);this.container=f,this.getChartSize(),p===this.chartWidth||(p=this.chartWidth,this.styledMode||E(f,{width:q(null==(t=i.style)?void 0:t.width,p+"px")})),this.containerBox=this.getContainerBox(),this._cursor=f.style.cursor;let g=i.renderer||!k?s.getRendererType(i.renderer):c;if(this.renderer=new g(f,p,h,void 0,i.forExport,n.exporting&&n.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let t in n.defs)this.renderer.definition(n.defs[t]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,R(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:i}=this;this.resetMargins(),i[0]&&!M(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!M(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),R(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),S.forEach(function(n,r){M(i[r])||(t[n]+=e[r])}),t.setChartSize()}getOptions(){return L(this.userOptions,v)}reflow(t){var e;let n=this,i=n.containerBox,r=n.getContainerBox();null==(e=n.pointer)||delete e.chartPosition,!n.isPrinting&&!n.isResizing&&i&&r.width&&((r.width!==i.width||r.height!==i.height)&&(h.clearTimeout(n.reflowTimeout),n.reflowTimeout=Z(function(){n.container&&n.setSize(void 0,void 0,!1)},t?100:0)),n.containerBox=r)}setReflow(){let t=this,e=e=>{var n;null!=(n=t.options)&&n.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=A(C,"resize",e);A(this,"destroy",t)}}setSize(t,e,n){let i=this,r=i.renderer;i.isResizing+=1,m(n,i);let o=r.globalAnimation;i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=i;(i.isDirtyBox||s!==i.oldChartWidth||a!==i.oldChartHeight)&&(i.styledMode||(o?f:E)(i.container,{width:`${s+l}px`,height:`${a+c}px`},o),i.setChartSize(!0),r.setSize(s,a,o),i.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(o),i.oldChartHeight=void 0,R(i,"resize"),setTimeout(()=>{i&&R(i,"endResize")},g(o).duration)),i.isResizing-=1}setChartSize(t){let e,n,i,r,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,h=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?r:i,this.plotSizeY=a?i:r,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:i,height:r},u&&(this.clipBox={x:h(u[3]),y:h(u[0]),width:h(this.plotSizeX-u[1]-u[3]),height:h(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),c.alignElements()),R(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){R(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,i=n/2;["margin","spacing"].forEach(function(n){let i=e[n],r=F(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach(function(i,o){t[n][o]=q(e[n+i],r[o])})}),S.forEach(function(e,n){t[e]=q(t.margin[n],t.spacing[n])}),t.axisOffset=[0,0,0,0],t.clipOffset=[i,i,i,i],t.plotBorderWidth=n}drawChartBox(){let t,e,n,i=this.options.chart,r=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=i.backgroundColor,u=i.plotBackgroundColor,h=i.plotBackgroundImage,d=this.plotLeft,p=this.plotTop,f=this.plotWidth,g=this.plotHeight,m=this.plotBox,v=this.clipRect,y=this.clipBox,b=this.chartBackground,_=this.plotBackground,x=this.plotBorder,w="animate";b||(this.chartBackground=b=r.rect().addClass("highcharts-background").add(),w="attr"),a?t=e=b.strokeWidth():(e=(t=i.borderWidth||0)+(i.shadow?8:0),n={fill:c||"none"},(t||b["stroke-width"])&&(n.stroke=i.borderColor,n["stroke-width"]=t),b.attr(n).shadow(i.shadow)),b[w]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:i.borderRadius}),w="animate",_||(w="attr",this.plotBackground=_=r.rect().addClass("highcharts-plot-background").add()),_[w](m),!a&&(_.attr({fill:u||"none"}).shadow(i.plotShadow),h&&(l?(h!==l.attr("href")&&l.attr("href",h),l.animate(m)):this.plotBGImage=r.image(h,d,p,f,g).add())),v?v.animate({width:y.width,height:y.height}):this.clipRect=r.clipRect(y),w="animate",x||(w="attr",this.plotBorder=x=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||x.attr({stroke:i.plotBorderColor,"stroke-width":i.plotBorderWidth||0,fill:"none"}),x[w](x.crisp({x:d,y:p,width:f,height:g},-x.strokeWidth())),this.isDirtyBox=!1,R(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach(function(s){for(e=O[r.type],n=r[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=O[o[t].type])&&e.prototype[s]&&(n=!0);i[s]=n})}linkSeries(t){let e=this,n=e.series;n.forEach(function(t){t.linkedSeries.length=0}),n.forEach(function(t){let{linkedTo:n}=t.options;if(W(n)){let i;(i=":previous"===n?e.series[t.index-1]:e.get(n))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,i.options.visible,t.visible))}}),R(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach(function(t){t.translate(),t.render()})}render(){var t;let e,n=this.axes,i=this.colorAxis,r=this.renderer,o=this.options.chart.axisLayoutRuns||2,s=t=>{t.forEach(t=>{t.visible&&t.render()})},a=0,l=!0,c=0;for(let e of(this.setTitle(),R(this,"beforeMargins"),null==(t=this.getStacks)||t.call(this),this.getMargins(!0),this.setChartSize(),n)){let{options:t}=e,{labels:n}=t;if(this.hasCartesianSeries&&e.horiz&&e.visible&&n.enabled&&e.series.length&&"colorAxis"!==e.coll&&!this.polar){a=t.tickLength,e.createGroups();let i=new p(e,0,"",!0),r=i.createLabel("x",n);if(i.destroy(),r&&q(n.reserveSpace,!z(t.crossing))&&(a=r.getBBox().height+n.distance+Math.max(t.offset||0,0)),a){null==r||r.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-a,0);(l||e||o>1)&&c<o;){let t=this.plotWidth,i=this.plotHeight;for(let t of n)0===c?t.setScale():(t.horiz&&l||!t.horiz&&e)&&t.setTickInterval(!0);0===c?this.getAxisMargins():this.getMargins(),l=t/this.plotWidth>(c?1:1.1),e=i/this.plotHeight>(c?1:1.05),c++}this.drawChartBox(),this.hasCartesianSeries?s(n):i&&i.length&&s(i),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=H(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){n.href&&(C.location.href=n.href)}).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,i=e.series,r=e.container,s=r&&r.parentNode;for(R(e,"destroy"),e.renderer.forExport?j(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Y(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())}),r&&(r.innerHTML=d.emptyHTML,Y(r),s&&$(r)),U(e,function(t,n){delete e[n]})}firstRender(){var t;let e=this,n=e.options;e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes();let i=V(n.series)?n.series:[];n.series=[],i.forEach(function(t){e.initSeries(t)}),e.linkSeries(),e.setSortedData(),R(e,"beforeRender"),e.render(),null==(t=e.pointer)||t.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),R(this,"load"),R(this,"render"),M(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"<")}),t.accessibility&&!1===t.accessibility.enabled||D('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let i,r=this;return t&&(e=q(e,!0),R(r,"addSeries",{options:t},function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),R(r,"afterAddSeries",{series:i}),e&&r.redraw(n)})),i}addAxis(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let i=new e(this,n.axis,t);return q(n.redraw,!0)&&this.redraw(n.animation),i}showLoading(t){let e=this,n=e.options,i=n.loading,r=function(){o&&E(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=P("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=P("span",{className:"highcharts-loading-inner"},null,o),A(e,"redraw",r)),o.className="highcharts-loading",d.setElementHTML(s,q(t,n.lang.loading,"")),e.styledMode||(E(o,I(i.style,{zIndex:10})),E(s,i.labelStyle),e.loadingShown||(E(o,{opacity:0,display:""}),f(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){E(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,i){let r,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,h=[];R(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=L(t,a.options),a.userOptions=H(a.userOptions,t);let d=t.chart;d&&(H(!0,a.options.chart,d),this.setZoomOptions(),"className"in d&&a.setClassName(d.className),("inverted"in d||"polar"in d||"type"in d)&&(a.propFromSeries(),r=!0),"alignTicks"in d&&(r=!0),"events"in d&&_(this,d),U(d,function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))}),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new u(t.time)),H(!0,a.options.time,t.time)),U(t,function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&H(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)}),this.collectionsWithUpdate.forEach(function(e){t[e]&&(K(t[e]).forEach(function(t,i){let r,o=M(t.id);o&&(r=a.get(t.id)),!r&&a[e]&&(r=a[e][q(t.index,i)])&&(o&&M(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),n&&(r.touched=!0)),!r&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),n&&a[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)}))}),h.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}),r&&a.axes.forEach(function(t){t.update({},!1)}),o&&a.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this);let p=d&&d.width,f=d&&(W(d.height)?X(d.height,p||a.chartWidth):d.height);s||z(p)&&p!==a.chartWidth||z(f)&&f!==a.chartHeight?a.setSize(p,f,i):q(e,!0)&&a.redraw(i),R(a,"afterUpdate",{options:t,redraw:e,animation:i})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,i=n.theme,r="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}R(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,i).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,r)}),R(this,"afterShowResetZoom")}zoomOut(){R(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(t,e){let n=this,i="object"==typeof e?e:{enabled:e,type:"x"},r=i.type,o=r&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[r]].filter(t=>t.options.panningEnabled&&!t.options.isInternal),s=n.options.chart;null!=s&&s.panning&&(s.panning=i),R(this,"pan",{originalEvent:t},()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),E(n.container,{cursor:"move"})})}transform(t){var e;let n,i,{axes:r=this.axes,event:o,from:s={},reset:a,selection:l,to:c={},trigger:u}=t,{inverted:h}=this,d=!1;for(let t of(null==(e=this.hoverPoints)||e.forEach(t=>t.setState()),r)){let{horiz:e,len:r,minPointOffset:p=0,options:f,reversed:g}=t,m=e?"width":"height",v=e?"x":"y",y=q(c[m],t.len),b=q(s[m],t.len),_=10>Math.abs(y)?1:y/b,x=(s[v]||0)+b/2-t.pos,w=x-((c[v]??t.pos)+y/2-t.pos)/_,S=g&&!h||!g&&h?-1:1;if(!a&&(x<0||x>t.len))continue;let k=t.toValue(w,!0)+(l?0:p*S),C=t.toValue(w+r/_,!0)-(l?0:p*S||0),O=t.allExtremes;if(k>C&&([k,C]=[C,k]),1===_&&!a&&"yAxis"===t.coll&&!O){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);O??(O={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(O.dataMin=Math.min(t.dataMin,O.dataMin),O.dataMax=Math.max(t.dataMax,O.dataMax))}t.allExtremes=O}let{dataMin:A,dataMax:T,min:P,max:E}=I(t.getExtremes(),O||{}),L=A??f.min,$=T??f.max,j=C-k,D=t.categories?0:Math.min(j,$-L),N=L-D*(M(f.min)?0:f.minPadding),R=$+D*(M(f.max)?0:f.maxPadding),B=t.allowZoomOutside||1===_||"zoom"!==u&&_>1,V=Math.min(f.min??N,N,B?P:N),F=Math.max(f.max??R,R,B?E:R);(!t.isOrdinal||1!==_||a)&&(k<V&&(k=V,_>=1&&(C=k+j)),C>F&&(C=F,_>=1&&(k=C-j)),(a||t.series.length&&(k!==P||C!==E)&&k>=V&&C<=F)&&(l?l[t.coll].push({axis:t,min:k,max:C}):(t.isPanning="zoom"!==u,t.isPanning&&(i=!0),t.setExtremes(a?void 0:k,a?void 0:C,!1,!1,{move:w,trigger:u,scale:_}),!a&&(k>V||C<F)&&"mousewheel"!==u&&(n=!0)),d=!0),o&&(this[e?"mouseDownX":"mouseDownY"]=o[e?"chartX":"chartY"]))}return d&&(l?R(this,"selection",l,()=>{delete t.selection,t.trigger="zoom",this.transform(t)}):(!n||i||this.resetZoomButton?!n&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===u&&(this.options.chart.animation??this.pointCount<100)))),d}}return I(J.prototype,{callbacks:[],collectionsWithInit:{xAxis:[J.prototype.addAxis,[!0]],yAxis:[J.prototype.addAxis,[!1]],series:[J.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),J}),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{stop:r}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:h}=i;function d(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new f(this)),null==t||t.applyFixed()}function p(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class f{static compose(t,e,n){h(o,this.compose)&&(s(t,"afterInit",p),s(e,"afterSetChartSize",t=>this.afterSetSize(t.target,t)),s(e,"render",d),s(n,"show",p))}static afterSetSize(t,e){let n,i,r,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:h,renderer:d}=t;if(!d.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[h?"height":"width"]+=n,r=!0)):s&&(t.scrollablePixelsY=i=Math.max(0,s-t.chartHeight),c(i)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=i,a[h?"width":"height"]+=i,r=!1)),c(r)&&!e.skipAxes))for(let e of t.axes)e.horiz===r&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){var e;let i,r=t.options.chart,o=n.getRendererType(),c=r.scrollablePlotArea||{},u=this.moveFixedElements.bind(this),h={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(h.overflowX="auto"),t.scrollablePixelsY&&(h.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),p=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},h,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,p),g=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null==(e=r.style)?void 0:e.zIndex)||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new o(g,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":c.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p.parentNode.insertBefore(g,p),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",u),s(t,"afterApplyDrilldown",u),s(t,"afterLayOutTitles",u),s(p,"scroll",()=>{let{pointer:e,hoverPoint:n}=t;e&&(delete e.chartPosition,n&&(i=n),e.runPointActions(void 0,i,!0))}),f.appendChild(t.container)}applyFixed(){var t;let{chart:e,fixedRenderer:n,isDirty:i,scrollingContainer:o}=this,{axisOffset:s,chartWidth:a,chartHeight:u,container:h,plotHeight:d,plotLeft:p,plotTop:f,plotWidth:g,scrollablePixelsX:m=0,scrollablePixelsY:v=0}=e,{scrollPositionX:y=0,scrollPositionY:b=0}=e.options.chart.scrollablePlotArea||{},_=a+m,x=u+v;n.setSize(a,u),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),r(e.container),l(h,{width:`${_}px`,height:`${x}px`}),e.renderer.boxWrapper.attr({width:_,height:x,viewBox:[0,0,_,x].join(" ")}),null==(t=e.chartBackground)||t.attr({width:_,height:x}),l(o,{width:`${a}px`,height:`${u}px`}),c(i)||(o.scrollLeft=m*y,o.scrollTop=v*b);let w=f-s[0]-1,S=p-s[3]-1,k=f+d+s[2]+1,C=p+g+s[1]+1,O=p+g-m,A=f+d-v,T=[["M",0,0]];m?T=[["M",0,w],["L",p-1,w],["L",p-1,k],["L",0,k],["Z"],["M",O,w],["L",a,w],["L",a,k],["L",O,k],["Z"]]:v&&(T=[["M",S,0],["L",S,f-1],["L",C,f-1],["L",C,0],["Z"],["M",S,A],["L",S,u],["L",C,u],["L",C,A],["Z"]]),"adjustHeight"!==e.redrawTrigger&&this.mask.attr({d:T})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:i,scrollablePixelsY:r}=this.chart,o=this.fixedRenderer,s=f.fixedSelectors;for(let a of(i&&!n?t=".highcharts-yaxis":i&&n||r&&!n?t=".highcharts-xaxis":r&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})}}return f.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],f}),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{format:i}=t,{series:r}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,i,r){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=i,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,r=n.format,o=r?i(r,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let i={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(i),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,i,o,c){let{alignOptions:u,axis:h,label:d,options:p,textAlign:f}=this,g=h.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(d&&m){let t,e=d.getBBox(void 0,0),n=d.padding,i="justify"===l(p.overflow,"justify");u.x=p.x||0,u.y=p.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:f});m.x-=o,m.y-=s,d.align(u,!1,m),(t=g.isInsidePlot(d.alignAttr.x+u.x+o,d.alignAttr.y+u.y+s))||(i=!1),i&&r.prototype.justifyDataLabel.call(h,d,u,d.alignAttr,e,m),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:p.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[p.textAlign||"center"],rotationOriginY:e.height/2}),l(!i&&p.crop,!0)&&(t=a(d.x)&&a(d.y)&&g.isInsidePlot(d.x-n+(d.width||0),d.y)&&g.isInsidePlot(d.x+n,d.y)),d[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let i={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=i[e],o=i[n];return{x:t.width/2+t.width/2*o,y:t.height/2*r}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:i,defaultX:r,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(i,this.total,0),h=e.toPixels(u),d=t.xAxis||n.xAxis[0],p=l(r,d.translate(this.x))+o,f=Math.abs(h-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),g=n.inverted,m=this.isNegative;return g?{x:(m?h:h-f)-n.plotLeft,y:d.height-p-s+d.top-n.plotTop,width:f,height:s}:{x:p+d.transB-n.plotLeft,y:(m?h-f:h)-n.plotTop,width:s,height:f}}}}),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:h,fireEvent:d,isArray:p,isNumber:f,objectEach:g,pick:m}=r;function v(){let t=this.inverted;this.axes.forEach(t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),this.series.forEach(e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,m(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))})}function y(){var t;let e=this.stacking;if(e){let n=e.stacks;g(n,(t,e)=>{h(t),delete n[e]}),null==(t=e.stackTotalGroup)||t.destroy()}}function b(){this.stacking||(this.stacking=new C(this))}function _(t,e,n,i){return!u(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(","),t}function x(){let t,e=this,n=e.yAxis,i=e.stackKey||"",r=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[i,"-"+i].forEach(n=>{var i;let s,l,c,u=o.length;for(;u--;)s=o[u],t=e.getStackIndicator(t,s,e.index,n),l=null==(i=r[n])?void 0:i[s],(c=null==l?void 0:l.points[t.key||""])&&a.call(e,c,l,u)})}function w(t,e,n){let i=e.total?100/e.total:0;t[0]=c(t[0]*i),t[1]=c(t[1]*i),this.stackedYData[n]=t[1]}function S(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function k(t,e){var n,r;let o,s,a,l,h,d,f,g,v,y=e||this.options.stacking;if(!y||!this.reserveSpace()||({group:"xAxis"}[y]||"yAxis")!==t.coll)return;let b=this.processedXData,_=this.processedYData,x=[],w=_.length,S=this.options,k=S.threshold||0,C=S.startFromThreshold?k:0,O=S.stack,A=e?`${this.type},${y}`:this.stackKey||"",T="-"+A,P=this.negStacks,E=t.stacking,M=E.stacks,L=E.oldStacks;for(E.stacksTouched+=1,f=0;f<w;f++){g=b[f],v=_[f],d=(o=this.getStackIndicator(o,g,this.index)).key||"",M[h=(s=P&&v<(C?0:k))?T:A]||(M[h]={}),M[h][g]||(null!=(n=L[h])&&n[g]?(M[h][g]=L[h][g],M[h][g].total=null):M[h][g]=new i(t,t.options.stackLabels,!!s,g,O)),a=M[h][g],null!==v?(a.points[d]=a.points[this.index]=[m(a.cumulative,C)],u(a.cumulative)||(a.base=d),a.touched=E.stacksTouched,o.index>0&&!1===this.singleStacks&&(a.points[d][0]=a.points[this.index+","+g+",0"][0])):(delete a.points[d],delete a.points[this.index]);let e=a.total||0;"percent"===y?(l=s?A:T,e=P&&null!=(r=M[l])&&r[g]?(l=M[l][g]).total=Math.max(l.total||0,e)+Math.abs(v)||0:c(e+(Math.abs(v)||0))):"group"===y?(p(v)&&(v=v[0]),null!==v&&e++):e=c(e+(v||0)),a.cumulative="group"===y?(e||1)-1:c(m(a.cumulative,C)+(v||0)),a.total=e,null!==v&&(a.points[d].push(a.cumulative),x[f]=a.cumulative,a.hasValidPoints=!0)}"percent"===y&&(E.usePercentage=!0),"group"!==y&&(this.stackedYData=x),E.oldStacks={}}class C{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,i=n.series,r="xAxis"===n.coll,o=n.options.reversedStacks,s=i.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=i[o?e:s-e-1],r&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!r)for(e=0;e<s;e++)i[e].modifyStacks();d(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,g(this.stacks,t=>{g(t,t=>{t.cumulative=t.total})}))}resetStacks(){g(this.stacks,t=>{g(t,(e,n)=>{f(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)})})}renderStackTotals(){var t;let e=this.axis,n=e.chart,i=n.renderer,r=this.stacks,o=s(n,(null==(t=e.options.stackLabels)?void 0:t.animation)||!1),a=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();a.translate(n.plotLeft,n.plotTop),g(r,t=>{g(t,t=>{t.render(a)})}),a.animate({opacity:1},o)}}return(o||(o={})).compose=function(t,e,n){let i=e.prototype,r=n.prototype;i.getStacks||(l(t,"init",b),l(t,"destroy",y),i.getStacks=v,r.getStackIndicator=_,r.modifyStacks=x,r.percentStacker=w,r.setGroupedPoints=S,r.setStackedPoints=k)},o}),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{defined:i,merge:r,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach((i,s)=>{let a,l=i.graph,c=l?"animate":"attr",u=i.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(i.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&i.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||i.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&r({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)})}getGraphPath(t,e,n){let r,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach(function(u,h){let d,p=u.plotX,f=u.plotY,g=t[h-1],m=u.isNull||"number"!=typeof f;(u.leftCliff||g&&g.rightCliff)&&!n&&(r=!0),m&&!i(e)&&h>0?r=!s.connectNulls:m&&!e?r=!0:(0===h||r?d=[["M",u.plotX,u.plotY]]:o.getPointSpline?d=[o.getPointSpline(t,u,h)]:c?(d=1===c?[["L",g.plotX,f]]:2===c?[["L",(g.plotX+p)/2,g.plotY],["L",(g.plotX+p)/2,f]]:[["L",p,g.plotY]]).push(["L",p,f]):d=[["L",p,f]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,d),r=!1)}),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=r(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s}),n(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{seriesTypes:{line:i}}=e,{extend:r,merge:o,objectEach:s,pick:a}=n;class l extends i{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach((n,i)=>{let r={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(r.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(i?` highcharts-zone-area-${i-1} `:" ")+(i&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=o||n.color||this.color,r["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](r),s.startX=t.xMap,s.shiftUnit=e.step?2:1})}getGraphPath(t){let e,n,r,o=i.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],h=[],d=this.index,p=c.stacking.stacks[this.stackKey],f=s.threshold,g=Math.round(c.getThreshold(s.threshold)),m=a(s.connectNulls,"percent"===l),v=function(n,i,r){let o,s,a=t[n],m=l&&p[a.x].points[d],v=a[r+"Null"]||0,y=a[r+"Cliff"]||0,b=!0;y||v?(o=(v?m[0]:m[1])+y,s=m[0]+y,b=!!v):!l&&t[i]&&t[i].isNull&&(o=s=f),void 0!==o&&(h.push({plotX:e,plotY:null===o?g:c.getThreshold(o),isNull:b,isCliff:!0}),u.push({plotX:e,plotY:null===s?g:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let i=0,o=t.length;i<o;++i)l||(t[i].leftCliff=t[i].rightCliff=t[i].leftNull=t[i].rightNull=void 0),n=t[i].isNull,e=a(t[i].rectPlotX,t[i].plotX),r=l?a(t[i].yBottom,g):g,n&&!m||(m||v(i,i-1,"left"),n&&!l&&m||(h.push(t[i]),u.push({x:i,plotX:e,plotY:r})),m||v(i,i+1,"right"));let y=o.call(this,h,!0,!0);u.reversed=!0;let b=o.call(this,u,!0,!0),_=b[0];_&&"M"===_[0]&&(b[0]=["L",_[1],_[2]]);let x=y.concat(b);x.length&&x.push(["Z"]);let w=o.call(this,h,!1,m);return this.chart.series.length>1&&l&&h.some(t=>t.isCliff)&&(x.hasStackedCliffs=w.hasStackedCliffs=!0),x.xMap=y.xMap,this.areaPath=x,w}getStackPoints(t){let e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,h=u.length,d=o.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,function(t,e){null!==t.total&&i.push(e)}),i.sort(function(t,e){return t-e});let f=u.map(t=>t.visible);i.forEach(function(t,s){let g,m,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach(function(n){let r=1===n?"rightNull":"leftNull",o=l[i[s+n]],a=0;if(o){let n=p;for(;n>=0&&n<h;){let i=u[n].index;!(g=o.points[i])&&(i===e.index?c[t][r]=!0:f[n]&&(m=l[t].points[i])&&(a-=m[1]-m[0])),n+=d}}c[t][1===n?"rightCliff":"leftCliff"]=a});else{let e=p;for(;e>=0&&e<h;){let n=u[e].index;if(g=l[t].points[n]){v=g[1];break}e+=d}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}})}return n}}return l.defaultOptions=o(i.defaultOptions,t),r(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l}),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){let{line:n}=t.seriesTypes,{merge:i,pick:r}=e;class o extends n{getPointSpline(t,e,n){let i,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],h=t[n+1];function d(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(d(u)&&d(h)){let t=u.plotX||0,n=u.plotY||0,r=h.plotX||0,d=h.plotY||0,p=0;i=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+r)/2.5,a=(1.5*c+d)/2.5,s!==i&&(p=(a-o)*(s-l)/(s-i)+c-a),o+=p,a+=p,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>d&&a>c?(a=Math.max(d,c),o=2*c-a):a<d&&a<c&&(a=Math.min(d,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[i,o],high:[s,a]}}let p=["C",r(u.rightContX,u.plotX,0),r(u.rightContY,u.plotY,0),r(i,l,0),r(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,p}}return o.defaultOptions=i(n.defaultOptions),t.registerSeriesType("spline",o),o}),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{area:i,area:{prototype:r}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,i.defaultOptions),o(a.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph}),e.registerSeriesType("areaspline",a),a}),n(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=i,{clamp:u,crisp:h,defined:d,extend:p,fireEvent:f,isArray:g,isNumber:m,merge:v,pick:y,objectEach:b}=s;class _ extends r{animate(t){let e,n,i=this,r=this.yAxis,o=r.pos,s=r.reversed,l=i.options,{clipOffset:c,inverted:h}=this.chart,d={},f=h?"translateX":"translateY";t&&c?(d.scaleY=.001,n=u(r.toPixels(l.threshold),o,o+r.len),h?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),d.translateX=n-r.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),d.translateY=n),i.clipBox&&i.setClip(),i.group.attr(d)):(e=Number(i.group.attr(f)),i.group.animate({scaleY:1},p(a(i.options.animation),{step:function(t,n){i.group&&(d[f]=e+n.pos*(o-e),i.group.attr(d))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)})}getColumnMetrics(){var t,e;let n,i=this,r=i.options,o=i.xAxis,s=i.yAxis,a=o.options.reversedStacks,l=o.reversed&&!a||!o.reversed&&a,c={},u=0;!1===r.grouping?u=1:i.chart.series.forEach(function(t){let e,r=t.yAxis,o=t.options;t.type===i.type&&t.reserveSpace()&&s.len===r.len&&s.pos===r.pos&&(o.stacking&&"group"!==o.stacking?(void 0===c[n=t.stackKey]&&(c[n]=u++),e=c[n]):!1!==o.grouping&&(e=u++),t.columnIndex=e)});let h=Math.min(Math.abs(o.transA)*(!(null!=(t=o.brokenAxis)&&t.hasBreaks)&&(null==(e=o.ordinal)?void 0:e.slope)||r.pointRange||o.closestPointRange||o.tickInterval||1),o.len),d=h*r.groupPadding,p=(h-2*d)/(u||1),f=Math.min(r.maxPointWidth||o.len,y(r.pointWidth,p*(1-2*r.pointPadding))),g=(i.columnIndex||0)+(l?1:0);return i.columnMetrics={width:f,offset:(p-f)/2+(d+g*p-h/2)*(l?-1:1),paddedWidth:p,columnCount:u},i.columnMetrics}crispCol(t,e,n,i){let r=this.borderWidth,o=this.chart.inverted;return i=h(e+i,r,o)-(e=h(e,r,o)),this.options.crisp&&(n=h(t+n,r)-(t=h(t,r))),{x:t,y:e,width:n,height:i}}adjustForMissingColumns(t,e,n,i){var r;if(!n.isNull&&i.columnCount>1){let o=this.xAxis.series.filter(t=>t.visible).map(t=>t.index),s=0,a=0;b(null==(r=this.xAxis.stacking)?void 0:r.stacks,t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&g(e.points[this.index])){let t=Object.keys(e.points).filter(t=>!t.match(",")&&e.points[t]&&e.points[t].length>1).map(parseFloat).filter(t=>-1!==o.indexOf(t)).sort((t,e)=>e-t);s=t.indexOf(this.index),a=t.length}}}),s=this.xAxis.reversed?a-1-s:s;let l=(a-1)*i.paddedWidth+e;t=(n.plotX||0)+l/2-e-s*i.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,i=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=y(n.borderWidth,i?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=y(n.minPointLength,5),h=t.getColumnMetrics(),p=h.width,g=t.pointXOffset=h.offset,v=t.dataMin,b=t.dataMax,_=t.translatedThreshold=a.getThreshold(l),x=t.barW=Math.max(p,1+2*o);n.pointPadding&&(x=Math.ceil(x)),r.prototype.translate.apply(t),t.points.forEach(function(i){let r,o=y(i.yBottom,_),f=999+Math.abs(o),w=i.plotX||0,S=u(i.plotY,-f,a.len+f),k=Math.min(S,o),C=Math.max(S,o)-k,O=p,A=w+g,T=x;c&&Math.abs(C)<c&&(C=c,r=!a.reversed&&!i.negative||a.reversed&&i.negative,m(l)&&m(b)&&i.y===l&&b<=l&&(a.min||0)<l&&(v!==b||(a.max||0)<=l)&&(r=!r,i.negative=!i.negative),k=Math.abs(k-_)>c?o-c:_-(r?c:0)),d(i.options.pointWidth)&&(A-=Math.round(((O=T=Math.ceil(i.options.pointWidth))-p)/2)),n.centerInCategory&&!n.stacking&&(A=t.adjustForMissingColumns(A,O,i,h)),i.barX=A,i.pointWidth=O,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-S,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-A-T/2,C]:[s.left-e.plotLeft+A+T/2,u(S+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],i.shapeType=t.pointClass.prototype.shapeType||"roundedRect",i.shapeArgs=t.crispCol(A,i.isNull?_:k,T,i.isNull?0:C)}),f(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,i,r,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,h=t&&t[a]||o[a]||u,d=t&&t.options.dashStyle||o.dashStyle,p=t&&t[c]||o[c]||this[c]||0,f=y(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(i=t.getZone(),u=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(h=i.borderColor||h,d=i.dashStyle||d,p=i.borderWidth||p)),e&&t&&(r=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==r&&l(u).brighten(n.brightness).get()||u,h=n[a]||h,p=n[c]||p,d=n.dashStyle||d,f=y(n.opacity,f));let g={fill:u,stroke:h,"stroke-width":p,opacity:f};return d&&(g.dashstyle=d),g}drawPoints(t=this.points){let e,n=this,i=this.chart,r=n.options,o=i.renderer,s=r.animationLimit||250;t.forEach(function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&i.pointCount<s?"animate":"attr";m(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),i.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())})}drawTracker(t=this.points){let e,n=this,i=n.chart,r=i.pointer,o=function(t){let e=null==r?void 0:r.getPointFromEvent(t);r&&e&&n.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach(function(t){e=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach(function(e){(e.div||e.element).point=t})}),n._hasTracking||(n.trackerGroups.forEach(function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(t){null==r||r.onTrackerMouseOut(t)}).on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))}),n._hasTracking=!0),f(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),r.prototype.remove.apply(t,arguments)}}return _.defaultOptions=v(r.defaultOptions,n),p(_.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",_),_}),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n){var i;let{getDeferredAnimation:r}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:h,objectEach:d,pick:p,pInt:f,splat:g}=n;return function(t){function e(){return _(this).some(t=>null==t?void 0:t.enabled)}function n(t,e,n,i,r){var o;let{chart:l,enabledDataSorting:c}=this,u=this.isCartesian&&l.inverted,d=t.plotX,f=t.plotY,g=n.rotation||0,m=s(d)&&s(f)&&l.isInsidePlot(d,Math.round(f),{inverted:u,paneCoordinates:!0,series:this}),v=0===g&&"justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==t.visible&&s(d)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(d,u?i.x+1:i.y+i.height-1,{inverted:u,paneCoordinates:!0,series:this})),b=t.pos();if(y&&b){var _;let s=e.getBBox(),d=e.getBBox(void 0,0),f={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(i=a({x:b[0],y:Math.round(b[1]),width:0,height:0},i||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(i[u?"x":"y"]=0,i[u?"width":"height"]=(null==(o=this.yAxis)?void 0:o.len)||0),a(n,{width:s.width,height:s.height}),_=i,c&&this.xAxis&&!v&&this.setDataLabelStartPos(t,e,r,m,_),e.align(h(n,{width:d.width,height:d.height}),!1,i,!1),e.alignAttr.x+=f*(d.width-s.width),e.alignAttr.y+=x*(d.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-d.width)/2,y:e.alignAttr.y+(s.height-d.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),v&&i.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,i,r);else if(p(n.crop,!0)){let{x:t,y:n}=e.alignAttr;y=l.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&l.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!g&&e[r?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}r&&c&&(e.placed=!1),y||c&&!v?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function i(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){var e;let n;t=t||this.points;let i=this,a=i.chart,c=i.options,h=a.renderer,{backgroundColor:m,plotBackgroundColor:v}=a.options.chart,y=h.getContrast(u(v)&&v||u(m)&&m||"#000000"),x=_(i),{animation:w,defer:S}=x[0],k=S?r(a,w,i):{defer:0,duration:0};l(this,"drawDataLabels"),null!=(e=i.hasDataLabels)&&e.call(i)&&(n=this.initDataLabels(k),t.forEach(t=>{var e,r;let m=t.dataLabels||[];g(b(x,t.dlOptions||(null==(e=t.options)?void 0:e.dataLabels))).forEach((e,r)=>{let g,v,b,_,x,w=e.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,i=t[n.property],r=n.value;return">"===e&&i>r||"<"===e&&i<r||">="===e&&i>=r||"<="===e&&i<=r||"=="===e&&i==r||"==="===e&&i===r||"!="===e&&i!=r||"!=="===e&&i!==r}return!0}(t,e),{backgroundColor:S,borderColor:k,distance:C,style:O={}}=e,A={},T=m[r],P=!T;w&&(v=p(e[t.formatPrefix+"Format"],e.format),g=t.getLabelConfig(),b=s(v)?o(v,g,a):(e[t.formatPrefix+"Formatter"]||e.formatter).call(g,e),_=e.rotation,!a.styledMode&&(O.color=p(e.color,O.color,u(i.color)?i.color:void 0,"#000000"),"contrast"===O.color?("none"!==S&&(x=S),t.contrastColor=h.getContrast("auto"!==x&&x||t.color||i.color),O.color=x||!s(C)&&e.inside||0>f(C||0)||c.stacking?t.contrastColor:y):delete t.contrastColor,c.cursor&&(O.cursor=c.cursor)),A={r:e.borderRadius||0,rotation:_,padding:e.padding,zIndex:1},a.styledMode||(A.fill="auto"===S?t.color:S,A.stroke="auto"===k?t.color:k,A["stroke-width"]=e.borderWidth),d(A,(t,e)=>{void 0===t&&delete A[e]})),!T||w&&s(b)&&!!T.div==!!e.useHTML&&(T.rotation&&e.rotation||T.rotation===e.rotation)||(T=void 0,P=!0),w&&s(b)&&(T?A.text=b:(T=h.label(b,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),T&&(T.options=e,T.attr(A),a.styledMode||T.css(O).shadow(e.shadow),l(T,"beforeAddingDataLabel",{labelOptions:e,point:t}),T.added||T.add(n),i.alignDataLabel(t,T,e,void 0,P),T.isActive=!0,m[r]&&m[r]!==T&&m[r].destroy(),m[r]=T))});let v=m.length;for(;v--;)m[v]&&m[v].isActive?m[v].isActive=!1:(null==(r=m[v])||r.destroy(),m.splice(v,1));t.dataLabel=m[0],t.dataLabels=m})),l(this,"afterDrawDataLabels")}function y(t,e,n,i,r,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,h=t.box?0:t.padding||0,d=l.inverted?this.yAxis:this.xAxis,p=d?d.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,g=f?f.top-l.plotTop:0,{x:m=0,y:v=0}=e;return(s=(n.x||0)+h+p)<0&&("right"===c&&m>=0?(e.align="left",e.inside=!0):m-=s,a=!0),(s=(n.x||0)+i.width-h+p)>l.plotWidth&&("left"===c&&m<=0?(e.align="right",e.inside=!0):m+=l.plotWidth-s,a=!0),(s=n.y+h+g)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+i.height-h+g)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=m,e.y=v,t.placed=!o,t.align(e,void 0,r)),a}function b(t,e){let n,i=[];if(c(t)&&!c(e))i=t.map(function(t){return h(t,e)});else if(c(e)&&!c(t))i=e.map(function(e){return h(t,e)});else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=h(t[n],e[n])}else i=h(t,e);return i}function _(t){var e,n;let i=t.chart.options.plotOptions;return g(b(b(null==(e=null==i?void 0:i.series)?void 0:e.dataLabels,null==(n=null==i?void 0:i[t.type])?void 0:n.dataLabels),t.options.dataLabels))}function x(t,e,n,i,r){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,h=u?u/2:0;e.startXPos=s?r.x:l?-c-h:a.width-c+h,e.startYPos=s?l?this.yAxis.height-c+h:-c-h:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let r=t.prototype;r.initDataLabels||(r.initDataLabels=m,r.initDataLabelsGroup=i,r.alignDataLabel=n,r.drawDataLabels=v,r.justifyDataLabel=y,r.setDataLabelStartPos=x,r.hasDataLabels=e)}}(i||(i={})),i}),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i){var r;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=i;return function(e){function n(t,e,n,i,r){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,h=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,d=t.dlBox||t.shapeArgs,p=l(t.below,t.plotY>l(this.translatedThreshold,h)),f=l(n.inside,!!this.options.stacking);if(d){if(i=a(d),"allow"!==n.overflow||!1!==n.crop){i.y<0&&(i.height+=i.y,i.y=0);let t=i.y+i.height-h;t>0&&t<i.height-1&&(i.height-=t)}o&&(i={x:h-i.y-i.height,y:u-i.x-i.width,width:i.height,height:i.width}),f||(o?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))}n.align=l(n.align,!o||f?"center":p?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||f?"middle":p?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,i,r),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(r||(r={})),r}),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{extend:i,merge:r}=n;class o extends t{}return o.defaultOptions=r(t.defaultOptions,{}),i(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o}),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{column:i,line:r}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends r{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach(function(i,r){["x","y"].forEach(function(o,s){if(e[o]&&!i.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(i[a]||0)-c),e=Math.min(l.len,(i[a]||0)+c);i[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(r+s*n),"x"===o&&(i.clientX=i.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(r.defaultOptions,t),s(l.prototype,{drawTracker:i.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",l),l}),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,e,n){var i,r;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(r=i||(i={})).getCenter=function(){let t,n,i,r=this.options,o=this.chart,u=2*(r.slicedOffset||0),h=o.plotWidth-2*u,d=o.plotHeight-2*u,p=r.center,f=Math.min(h,d),g=r.thickness,m=r.size,v=r.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof v&&(v=parseFloat(v));let y=[l(p[0],"50%"),l(p[1],"50%"),l(m&&m<0?void 0:r.size,"100%"),l(v&&v<0?void 0:r.innerSize||0,"0%")];for(!o.angular||this instanceof e||(y[3]=0),n=0;n<4;++n)i=y[n],t=n<2||2===n&&/%$/.test(i),y[n]=c(i,[h,d,f,y[2]][n])+(t?u:0);return y[3]>y[2]&&(y[3]=y[2]),a(g)&&2*g<y[2]&&g>0&&(y[3]=y[2]-2*g),s(this,"afterGetCenter",{positions:y}),y},r.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,i=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(i+-90)}},i}),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,n){let{setAnimation:i}=t,{addEvent:r,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},i=n.connectorShape,r=this.connectorShapes[i]||i;return e&&r.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let i=t=>{this.slice("select"===t.type)};r(this,"select",i),r(this,"unselect",i)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let r=this.series;i(n,r.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let i=e.breakAt,r=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-r.x,2*i.y-r.y,i.x,i.y]:["L",i.x,i.y];return[["M",t.x,t.y],o,["L",r.x,r.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:i,touchingSliceAt:r}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:h,plotWidth:d}=o.chart,p="left"===t.alignment,{x:f,y:g}=t,m=i.x;if(n.crookDistance){let t=c(n.crookDistance,1);m=p?s+u+(d+h-s-u)*(1-t):h+(s-u)*t}else m=s+(a-g)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=i.x:m>=f&&m<=i.x)&&v.push(["L",m,g]),v.push(["L",i.x,i.y],["L",r.x,r.y]),v}}}),u}),n(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:h,extend:d,fireEvent:p,merge:f,pick:g}=l;class m extends o{animate(t){let e=this,n=e.points,i=e.startAngleRad;t||n.forEach(function(t){let n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})}drawEmpty(){let t,e,n=this.startAngleRad,i=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,i).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:i,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,i){let r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2,s=i.dataLabelPosition,a=(null==s?void 0:s.distance)||0,l=Math.asin(h((t-r[1])/(o+a),-1,1));return r[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(i.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,i,r=this,o=r.chart;this.drawEmpty(),r.group&&!o.styledMode&&r.group.shadow(r.options.shadow),r.points.forEach(function(s){let a={};e=s.graphic,!s.isNull&&e?(i=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=r.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,a,n),f(!0,a,i,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())})}sortByAngle(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})}translate(t){p(this,"translate"),this.generatePoints();let e,n,i,r,o,s,a,l=this.options,u=l.slicedOffset,h=c(l.startAngle,l.endAngle),d=this.startAngleRad=h.start,f=(this.endAngleRad=h.end)-d,g=this.points,m=l.ignoreHiddenPoint,v=g.length,y=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=g[s],e=d+y*f,a.isValid()&&(!m||a.visible)&&(y+=a.percentage/100),n=d+y*f;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(i=(n+e)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(i)*u),translateY:Math.round(Math.sin(i)*u)},r=Math.cos(i)*t[2]/2,o=Math.sin(i)*t[2]/2,a.tooltipPos=[t[0]+.7*r,t[1]+.7*o],a.half=i<-Math.PI/2||i>Math.PI/2?1:0,a.angle=i}p(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++)(e=n[t]).isValid()&&(!r||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<i;t++)(e=n[t]).percentage=o>0&&(e.visible||!r)?e.y/o*100:0,e.total=o}}return m.defaultOptions=f(o.defaultOptions,r),d(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",m),m}),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=i,{arrayMax:u,clamp:h,defined:d,pick:p,pushUnique:f,relativeLength:g}=r;return function(e){let n={radialDistributionY:function(t,e){var n;return((null==(n=e.dataLabelPosition)?void 0:n.top)||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,i,r){let o=r.dataLabelPosition;return t.getX(n<((null==o?void 0:o.top)||0)+2||n>((null==o?void 0:o.bottom)||0)-2?i:n,e.half,e,r)},justify:function(t,e,n,i){var r;return i[0]+(t.half?-1:1)*(n+((null==(r=e.dataLabelPosition)?void 0:r.distance)||0))},alignToPlotEdges:function(t,e,n,i){let r=t.getBBox().width;return e?r+i:n-r-i},alignToConnectors:function(t,e,n,i){let r,o=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)}),e?o+i:n-o-i}};function i(t,e){let{center:n,options:i}=this,r=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*r,c=n[1]+a*r,u=Math.min((i.slicedOffset||0)+(i.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function r(){var t;let e,n,i,r=this,o=r.points,s=r.chart,a=s.plotWidth,h=s.plotHeight,f=s.plotLeft,m=Math.round(s.chartWidth/3),v=r.center,y=v[2]/2,b=v[1],_=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,S=0;r.visible&&null!=(t=r.hasDataLabels)&&t.call(r)&&(o.forEach(t=>{(t.dataLabels||[]).forEach(t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)})}),c.prototype.drawDataLabels.apply(r),o.forEach(t=>{(t.dataLabels||[]).forEach((e,n)=>{var i;let r=v[2]/2,o=e.options,s=g((null==o?void 0:o.distance)||0,r);0===n&&_[t.half].push(t),!d(null==(i=null==o?void 0:o.style)?void 0:i.width)&&e.getBBox().width>m&&(e.css({width:Math.round(.7*m)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,s),S=Math.max(S,s)})}),_.forEach((t,e)=>{let o,c,u,g=t.length,m=[],_=0;g&&(r.sortByAngle(t,e-.5),S>0&&(o=Math.max(0,b-y-S),c=Math.min(b+y+S,s.plotHeight),t.forEach(t=>{(t.dataLabels||[]).forEach(e=>{var n;let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,b-y-i.distance),i.bottom=Math.min(b+y+i.distance,s.plotHeight),_=e.getBBox().height||21,e.lineHeight=s.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:((null==(n=e.dataLabelPosition)?void 0:n.natural.y)||0)-i.top+e.lineHeight/2,size:_,rank:t.y},m.push(t.distributeBox))})}),l(m,u=c+_-o,u/5)),t.forEach(o=>{(o.dataLabels||[]).forEach(s=>{let l=s.options||{},c=o.distributeBox,u=s.dataLabelPosition,g=(null==u?void 0:u.natural.y)||0,b=l.connectorPadding||0,_=s.lineHeight||21,S=(_-s.getBBox().height)/2,k=0,C=g,O="inherit";if(u){if(m&&d(c)&&u.distance>0&&(void 0===c.pos?O="hidden":(i=c.size,C=w.radialDistributionY(o,s))),l.justify)k=w.justify(o,s,y,v);else switch(l.alignTo){case"connectors":k=w.alignToConnectors(t,e,a,f);break;case"plotEdges":k=w.alignToPlotEdges(s,e,a,f);break;default:k=w.radialDistributionX(r,o,C-S,g,s)}if(u.attribs={visibility:O,align:u.alignment},u.posAttribs={x:k+(l.x||0)+({left:b,right:-b}[u.alignment]||0),y:C+(l.y||0)-_/2},u.computed.x=k,u.computed.y=C-S,p(l.crop,!0)){let t;k-(n=s.getBBox().width)<b&&1===e?(t=Math.round(n-k+b),x[3]=Math.max(t,x[3])):k+n>a-b&&0===e&&(t=Math.round(k+n-a+b),x[1]=Math.max(t,x[1])),C-i/2<0?x[0]=Math.max(Math.round(i/2-C),x[0]):C+i/2>h&&(x[2]=Math.max(Math.round(C+i/2-h),x[2])),u.sideOverflow=t}}})}))}),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach(t=>{(t.dataLabels||[]).forEach(n=>{var i;let{connectorColor:o,connectorWidth:a=1}=n.options||{},l=n.dataLabelPosition;if(a){let c;e=n.connector,l&&l.distance>0?(c=!e,e||(n.connector=e=s.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(r.dataLabelsGroup)),s.styledMode||e.attr({"stroke-width":a,stroke:o||t.color||"#666666"}),e[c?"attr":"animate"]({d:t.getConnectorPath(n)}),e.attr({visibility:null==(i=l.attribs)?void 0:i.visibility})):e&&(n.connector=e.destroy())}})})))}function o(){this.points.forEach(t=>{(t.dataLabels||[]).forEach(t=>{var e;let n=t.dataLabelPosition;n?(n.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-n.sideOverflow,0)+"px",textOverflow:((null==(e=t.options)?void 0:e.style)||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(n.attribs),t[t.moved?"animate":"attr"](n.posAttribs),t.moved=!0):t&&t.attr({y:-9999})}),delete t.distributeBox},this)}function m(t){let e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=r,s=null!==n.size;return!s&&(null!==i[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),r):(o=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2),null!==i[1]?o=h(o,r,e[2]-Math.max(t[0],t[2])):(o=h(o,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,g(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),f(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=r,t.getDataLabelPosition=i,t.placeDataLabels=o,t.verifyDataLabelOverflow=m}}}(o||(o={})),o}),n(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,e;return(e=t||(t={})).getCenterOfPoints=function(t){let e=t.reduce((t,e)=>(t.x+=e.x,t.y+=e.y,t),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},e.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},e.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},e.pointInPolygon=function({x:t,y:e},n){let i,r,o=n.length,s=!1;for(i=0,r=o-1;i<o;r=i++){let[o,a]=n[i],[l,c]=n[r];a>e!=c>e&&t<(l-o)*(e-a)/(c-a)+o&&(s=!s)}return s},t}),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,e){let{pointInPolygon:n}=t,{addEvent:i,fireEvent:r,objectEach:o,pick:s}=e;function a(t){let e,i,o,s,a,c=t.length,u=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),h=(t,e)=>{for(let i of t)if(n({x:i[0],y:i[1]},e))return!0;return!1},d=!1;for(let n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){var e,n;if(t&&(!t.alignAttr||t.placed)){let i=t.box?0:t.padding||0,r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},o=t.getBBox();return t.width=o.width,t.height=o.height,{x:r.x+((null==(e=t.parentGroup)?void 0:e.translateX)||0)+i,y:r.y+((null==(n=t.parentGroup)?void 0:n.translateY)||0)+i,width:(t.width||0)-2*i,height:(t.height||0)-2*i,polygon:null==o?void 0:o.polygon}}}(e));t.sort((t,e)=>(e.labelrank||0)-(t.labelrank||0));for(let e=0;e<c;++e){s=(i=t[e])&&i.absoluteBox;let n=null==s?void 0:s.polygon;for(let r=e+1;r<c;++r){a=(o=t[r])&&o.absoluteBox;let e=!1;if(s&&a&&i!==o&&0!==i.newOpacity&&0!==o.newOpacity&&"hidden"!==i.visibility&&"hidden"!==o.visibility){let t=a.polygon;if(n&&t&&n!==t?h(n,t)&&(e=!0):u(s,a)&&(e=!0),e){let t=i.labelrank<o.labelrank?i:o,e=t.text;t.newOpacity=0,null!=e&&e.element.querySelector("textPath")&&e.hide()}}}}for(let e of t)l(e,this)&&(d=!0);d&&r(this,"afterHideAllOverlappingLabels")}function l(t,e){let n,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,n),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function c(){var t;let e=this,n=[];for(let t of e.labelCollectors||[])n=n.concat(t());for(let t of e.yAxis||[])t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&o(t.stacking.stacks,t=>{o(t,t=>{t.label&&n.push(t.label)})});for(let i of e.series||[])if(i.visible&&null!=(t=i.hasDataLabels)&&t.call(i)){let t=t=>{for(let i of t)i.visible&&(i.dataLabels||[]).forEach(t=>{var r;let o=t.options||{};t.labelrank=s(o.labelrank,i.labelrank,null==(r=i.shapeArgs)?void 0:r.height),o.allowOverlap??Number(o.distance)>0?(t.oldOpacity=t.opacity,t.newOpacity=1,l(t,e)):n.push(t)})};t(i.nodes||[]),t(i.points)}this.hideOverlappingLabels(n)}return{compose:function(t){let e=t.prototype;e.hideOverlappingLabels||(e.hideOverlappingLabels=a,i(t,"render",c))}}}),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{defaultOptions:i}=t,{noop:r}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},h=r,d=r;function p(t,e,n,i,r={}){let o=h(t,e,n,i,r),{innerR:s=0,r:a=n,start:l=0,end:u=0}=r;if(r.open||!r.borderRadius)return o;let d=u-l,p=Math.sin(d/2),f=Math.max(Math.min(c(r.borderRadius||0,a-s),(a-s)/2,a*p/(1+p)),0),g=Math.min(f,d/Math.PI*2*s),m=o.length-1;for(;m--;)(function(t,e,n){let i,r,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(i=a,r=s):(i=s,r=a,o=!0),i&&r&&r.params){let s=r[1],a=r[5],l=r.params,{start:c,end:u,cx:h,cy:d}=l,p=a?s-n:s+n,f=p?Math.asin(n/p):0,g=a?f:-f,m=Math.cos(f)*p;o?(l.start=c+g,i[1]=h+m*Math.cos(c),i[2]=d+m*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,h+s*Math.cos(l.start),d+s*Math.sin(l.start)])):(l.end=u-g,r[6]=h+s*Math.cos(l.end),r[7]=d+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,h+m*Math.cos(u),d+m*Math.sin(u)])),r[4]=Math.abs(l.end-l.start)<Math.PI?0:1}})(o,m,m>1?g:f);return o}function f(){var t,e;if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:n,yAxis:r}=this,o="percent"===n.stacking,l=null==(e=null==(t=i.plotOptions)?void 0:t[this.type])?void 0:e.borderRadius,u=g(n.borderRadius,a(l)?l:{}),h=r.options.reversed;for(let t of this.points){let{shapeArgs:e}=t;if("roundedRect"===t.shapeType&&e){let{width:i=0,height:a=0,y:l=0}=e,d=l,p=a;if("stack"===u.scope&&t.stackTotal){let e=r.translate(o?100:t.stackTotal,!1,!0,!1,!0),i=r.translate(n.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(e,i),0,Math.abs(e-i));d=s.y,p=s.height}let f=(t.negative?-1:1)*(h?-1:1)==-1,g=u.where;!g&&this.is("waterfall")&&Math.abs((t.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let m=Math.min(c(u.radius,i),i/2,"all"===g?a/2:1/0)||0;"end"===g&&(f&&(d-=m),p+=m),s(e,{brBoxHeight:p,brBoxY:d,r:m})}}}}function g(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function m(){let t=g(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,i,r={}){let o=d(t,e,n,i,r),{r:s=0,brBoxHeight:a=i,brBoxY:l=e}=r,c=e-l,u=l+a-(e+i),h=c-s>-.1?0:s,p=u-s>-.1?0:s,f=Math.max(h&&c,0),g=Math.max(p&&u,0),m=[t+h,e],v=[t+n-h,e],y=[t+n,e+h],b=[t+n,e+i-p],_=[t+n-p,e+i],x=[t+p,e+i],w=[t,e+i-p],S=[t,e+h],k=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(f){let t=k(h,h-f);m[0]-=t,v[0]+=t,y[1]=S[1]=e+h-f}if(i<h-f){let r=k(h,h-f-i);y[0]=b[0]=t+n-h+r,_[0]=Math.min(y[0],_[0]),x[0]=Math.max(b[0],x[0]),w[0]=S[0]=t+h-r,y[1]=S[1]=e+i}if(g){let t=k(p,p-g);_[0]+=t,x[0]-=t,b[1]=w[1]=e+i-p+g}if(i<p-g){let r=k(p,p-g-i);y[0]=b[0]=t+n-p+r,v[0]=Math.min(y[0],v[0]),m[0]=Math.max(b[0],m[0]),w[0]=S[0]=t+p-r,b[1]=w[1]=e}return o.length=0,o.push(["M",...m],["L",...v],["A",h,h,0,0,1,...y],["L",...b],["A",p,p,0,0,1,..._],["L",...x],["A",p,p,0,0,1,...w],["L",...S],["A",h,h,0,0,1,...m],["Z"]),o}return{compose:function(t,e,n){let i=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let r=n.prototype.symbols;o(t,"afterColumnTranslate",f,{order:9}),o(i,"afterTranslate",m),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),h=r.arc,d=r.roundedRect,r.arc=p,r.roundedRect=v}},optionsToObject:g}}),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var e;let{diffObjects:n,extend:i,find:r,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let i,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach(t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)},this);let u=o(...c.map(t=>r((s||{}).rules||[],e=>e._id===t)).map(t=>t&&t.chartOptions));u.isResponsiveOptions=!0,c=c.toString()||void 0;let h=l&&l.ruleIds;c===h||(l&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(l.undoOptions,t,!0),this.updatingResponsive=!1),c?((i=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:i},this.updatingResponsive||this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||i(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e}),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,b,_,x,w,S,k,C,O,A,T,P,E,M,L,$,j,D){return t.AST=o,t.Axis=d,t.Chart=w,t.Color=j,t.DataLabel=E,t.Fx=i,t.HTMLElement=h,t.Legend=_,t.LegendSymbol=x,t.OverlappingDataLabels=t.OverlappingDataLabels||M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b,t.RendererRegistry=a,t.Series=O,t.SeriesRegistry=A,t.StackItem=C,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=m,t.Time=D,t.Tooltip=v,t.animate=r.animate,t.animObject=r.animObject,t.chart=w.chart,t.color=j.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=r.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=A.seriesType,t.setAnimation=r.setAnimation,t.setOptions=n.setOptions,t.stop=r.stop,t.time=n.defaultTime,t.timers=i.timers,L.compose(t.Series,t.SVGElement,t.SVGRenderer),T.compose(t.Series.types.column),E.compose(t.Series),p.compose(t.Axis),h.compose(t.SVGRenderer),_.compose(t.Chart),f.compose(t.Axis),M.compose(t.Chart),P.compose(t.Series.types.pie),g.compose(t.Axis),b.compose(t.Chart),$.compose(t.Chart),S.compose(t.Axis,t.Chart,t.Series),k.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t}),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=e&&e.document?n(e):n):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=n(e))}(bu);function _u(t,e,n){var i,r,o,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(l,e-c):(i=null,n||(a=t.apply(o,r),o=r=null))}null==e&&(e=100);var c=function(){o=this,r=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(l,e)),c&&(a=t.apply(o,r),o=r=null),a};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(a=t.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}Boolean,_u.debounce=_u;var xu=_u;function wu(t,e){var n=t.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Su(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ku(t){var e=Su(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Cu(t){return t instanceof Su(t).Element||t instanceof Element}function Ou(t){return t instanceof Su(t).HTMLElement||t instanceof HTMLElement}function Au(t){return!(typeof ShadowRoot>"u")&&(t instanceof Su(t).ShadowRoot||t instanceof ShadowRoot)}function Tu(t){return t?(t.nodeName||"").toLowerCase():null}function Pu(t){return((Cu(t)?t.ownerDocument:t.document)||window.document).documentElement}function Eu(t){return wu(Pu(t)).left+ku(t).scrollLeft}function Mu(t){return Su(t).getComputedStyle(t)}function Lu(t){var e=Mu(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function $u(t,e,n){void 0===n&&(n=!1);var i=Ou(e);Ou(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var r=Pu(e),o=wu(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(i||!i&&!n)&&(("body"!==Tu(e)||Lu(r))&&(s=function(t){return t!==Su(t)&&Ou(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):ku(t)}(e)),Ou(e)?((a=wu(e)).x+=e.clientLeft,a.y+=e.clientTop):r&&(a.x=Eu(r))),{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function ju(t){var e=wu(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Du(t){return"html"===Tu(t)?t:t.assignedSlot||t.parentNode||(Au(t)?t.host:null)||Pu(t)}function Iu(t){return["html","body","#document"].indexOf(Tu(t))>=0?t.ownerDocument.body:Ou(t)&&Lu(t)?t:Iu(Du(t))}function Nu(t,e){var n;void 0===e&&(e=[]);var i=Iu(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=Su(i),s=r?[o].concat(o.visualViewport||[],Lu(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Nu(Du(s)))}function Ru(t){return["table","td","th"].indexOf(Tu(t))>=0}function Bu(t){return Ou(t)&&"fixed"!==Mu(t).position?t.offsetParent:null}function Vu(t){for(var e=Su(t),n=Bu(t);n&&Ru(n)&&"static"===Mu(n).position;)n=Bu(n);return n&&("html"===Tu(n)||"body"===Tu(n)&&"static"===Mu(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ou(t)&&"fixed"===Mu(t).position)return null;for(var n=Du(t);Ou(n)&&["html","body"].indexOf(Tu(n))<0;){var i=Mu(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var zu="top",Fu="bottom",Wu="right",Hu="left",Uu="auto",qu=[zu,Fu,Wu,Hu],Gu="start",Xu="end",Yu="viewport",Ku="popper",Zu=qu.reduce(function(t,e){return t.concat([e+"-"+Gu,e+"-"+Xu])},[]),Qu=[].concat(qu,[Uu]).reduce(function(t,e){return t.concat([e,e+"-"+Gu,e+"-"+Xu])},[]),Ju=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function th(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}}),i.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||r(t)}),i}function eh(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function nh(t){return t.split("-")[0]}var ih=Math.max,rh=Math.min,oh=Math.round;function sh(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Au(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ah(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lh(t,e){return e===Yu?ah(function(t){var e=Su(t),n=Pu(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+Eu(t),y:a}}(t)):Ou(e)?function(t){var e=wu(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ah(function(t){var e,n=Pu(t),i=ku(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=ih(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=ih(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Eu(t),l=-i.scrollTop;return"rtl"===Mu(r||n).direction&&(a+=ih(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Pu(t)))}function ch(t){return t.split("-")[1]}function uh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function hh(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?nh(r):null,s=r?ch(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case zu:e={x:a,y:n.y-i.height};break;case Fu:e={x:a,y:n.y+n.height};break;case Wu:e={x:n.x+n.width,y:l};break;case Hu:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=o?uh(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Gu:e[c]=e[c]-(n[u]/2-i[u]/2);break;case Xu:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function dh(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ph(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}function fh(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,l=void 0===a?Yu:a,c=n.elementContext,u=void 0===c?Ku:c,h=n.altBoundary,d=void 0!==h&&h,p=n.padding,f=void 0===p?0:p,g=dh("number"!=typeof f?f:ph(f,qu)),m=u===Ku?"reference":Ku,v=t.rects.popper,y=t.elements[d?m:u],b=function(t,e,n){var i="clippingParents"===e?function(t){var e=Nu(Du(t)),n=["absolute","fixed"].indexOf(Mu(t).position)>=0&&Ou(t)?Vu(t):t;return Cu(n)?e.filter(function(t){return Cu(t)&&sh(t,n)&&"body"!==Tu(t)}):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce(function(e,n){var i=lh(t,n);return e.top=ih(i.top,e.top),e.right=rh(i.right,e.right),e.bottom=rh(i.bottom,e.bottom),e.left=ih(i.left,e.left),e},lh(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Cu(y)?y:y.contextElement||Pu(t.elements.popper),s,l),_=wu(t.elements.reference),x=hh({reference:_,element:v,strategy:"absolute",placement:r}),w=ah(Object.assign({},v,x)),S=u===Ku?w:_,k={top:b.top-S.top+g.top,bottom:S.bottom-b.bottom+g.bottom,left:b.left-S.left+g.left,right:S.right-b.right+g.right},C=t.modifiersData.offset;if(u===Ku&&C){var O=C[r];Object.keys(k).forEach(function(t){var e=[Wu,Fu].indexOf(t)>=0?1:-1,n=[zu,Fu].indexOf(t)>=0?"y":"x";k[t]+=O[n]*e})}return k}var gh={placement:"bottom",modifiers:[],strategy:"absolute"};function mh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function vh(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?gh:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},gh,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,l={state:r,setOptions:function(n){var a="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},o,r.options,a),r.scrollParents={reference:Cu(t)?Nu(t):t.contextElement?Nu(t.contextElement):[],popper:Nu(e)};var u=function(t){var e=th(t);return Ju.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}([].concat(i,r.options.modifiers)));return r.orderedModifiers=u.filter(function(t){return t.enabled}),r.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var a=o({state:r,name:e,instance:l,options:i});s.push(a||function(){})}}),l.update()},forceUpdate:function(){if(!a){var t=r.elements,e=t.reference,n=t.popper;if(mh(e,n)){r.rects={reference:$u(e,Vu(n),"fixed"===r.options.strategy),popper:ju(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach(function(t){return r.modifiersData[t.name]=Object.assign({},t.data)});for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],s=o.fn,c=o.options,u=void 0===c?{}:c,h=o.name;"function"==typeof s&&(r=s({state:r,options:u,name:h,instance:l})||r)}else r.reset=!1,i=-1}}},update:eh(function(){return new Promise(function(t){l.forceUpdate(),t(r)})}),destroy:function(){c(),a=!0}};if(!mh(t,e))return l;function c(){s.forEach(function(t){return t()}),s=[]}return l.setOptions(n).then(function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)}),l}}var yh={passive:!0},bh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=Su(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(t){t.addEventListener("scroll",n.update,yh)}),a&&l.addEventListener("resize",n.update,yh),function(){o&&c.forEach(function(t){t.removeEventListener("scroll",n.update,yh)}),a&&l.removeEventListener("resize",n.update,yh)}},data:{}},_h={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=hh({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},xh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wh(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=!0===u?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:oh(oh(e*i)/i)||0,y:oh(oh(n*i)/i)||0}}(s):"function"==typeof u?u(s):s,d=h.x,p=void 0===d?0:d,f=h.y,g=void 0===f?0:f,m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=Hu,b=zu,_=window;if(c){var x=Vu(n),w="clientHeight",S="clientWidth";x===Su(n)&&"static"!==Mu(x=Pu(n)).position&&"absolute"===a&&(w="scrollHeight",S="scrollWidth"),(r===zu||(r===Hu||r===Wu)&&o===Xu)&&(b=Fu,g-=x[w]-i.height,g*=l?1:-1),(r===Hu||(r===zu||r===Fu)&&o===Xu)&&(y=Wu,p-=x[S]-i.width,p*=l?1:-1)}var k,C=Object.assign({position:a},c&&xh);return l?Object.assign({},C,((k={})[b]=v?"0":"",k[y]=m?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},C,((e={})[b]=v?g+"px":"",e[y]=m?p+"px":"",e.transform="",e))}var Sh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:nh(e.placement),variation:ch(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,wh(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,wh(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},kh={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Ou(r)||!Tu(r)||(Object.assign(r.style,n),Object.keys(i).forEach(function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});!Ou(i)||!Tu(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]},Ch=vh({defaultModifiers:[bh,_h,Sh,kh]});function Oh(t,e,n){return ih(t,rh(e,n))}var Ah={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,g=void 0===f?0:f,m=fh(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=nh(e.placement),y=ch(e.placement),b=!y,_=uh(v),x=function(t){return"x"===t?"y":"x"}(_),w=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O={x:0,y:0};if(w){if(o||a){var A="y"===_?zu:Hu,T="y"===_?Fu:Wu,P="y"===_?"height":"width",E=w[_],M=w[_]+m[A],L=w[_]-m[T],$=p?-k[P]/2:0,j=y===Gu?S[P]:k[P],D=y===Gu?-k[P]:-S[P],I=e.elements.arrow,N=p&&I?ju(I):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=R[A],V=R[T],z=Oh(0,S[P],N[P]),F=b?S[P]/2-$-z-B-C:j-z-B-C,W=b?-S[P]/2+$+z+V+C:D+z+V+C,H=e.elements.arrow&&Vu(e.elements.arrow),U=H?"y"===_?H.clientTop||0:H.clientLeft||0:0,q=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=w[_]+F-q-U,X=w[_]+W-q;if(o){var Y=Oh(p?rh(M,G):M,E,p?ih(L,X):L);w[_]=Y,O[_]=Y-E}if(a){var K="x"===_?zu:Hu,Z="x"===_?Fu:Wu,Q=w[x],J=Q+m[K],tt=Q-m[Z],et=Oh(p?rh(J,G):J,Q,p?ih(tt,X):tt);w[x]=et,O[x]=et-Q}}e.modifiersData[i]=O}},requiresIfExists:["offset"]},Th={left:"right",right:"left",bottom:"top",top:"bottom"};function Ph(t){return t.replace(/left|right|bottom|top/g,function(t){return Th[t]})}var Eh={start:"end",end:"start"};function Mh(t){return t.replace(/start|end/g,function(t){return Eh[t]})}var Lh={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=e.options.placement,v=nh(m),y=l||(v!==m&&f?function(t){if(nh(t)===Uu)return[];var e=Ph(t);return[Mh(t),e,Mh(e)]}(m):[Ph(m)]),b=[m].concat(y).reduce(function(t,n){return t.concat(nh(n)===Uu?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Qu:l,u=ch(i),h=u?a?Zu:Zu.filter(function(t){return ch(t)===u}):qu,d=h.filter(function(t){return c.indexOf(t)>=0});0===d.length&&(d=h);var p=d.reduce(function(e,n){return e[n]=fh(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[nh(n)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)},[]),_=e.rects.reference,x=e.rects.popper,w=new Map,S=!0,k=b[0],C=0;C<b.length;C++){var O=b[C],A=nh(O),T=ch(O)===Gu,P=[zu,Fu].indexOf(A)>=0,E=P?"width":"height",M=fh(e,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),L=P?T?Wu:Hu:T?Fu:zu;_[E]>x[E]&&(L=Ph(L));var $=Ph(L),j=[];if(o&&j.push(M[A]<=0),a&&j.push(M[L]<=0,M[$]<=0),j.every(function(t){return t})){k=O,S=!1;break}w.set(O,j)}if(S)for(var D=function(t){var e=b.find(function(e){var n=w.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return k=e,"break"},I=f?3:1;I>0&&"break"!==D(I);I--);e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},$h={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=Qu.reduce(function(t,n){return t[n]=function(t,e,n){var i=nh(t),r=[Hu,zu].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[Hu,Wu].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t},{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}},jh={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=nh(n.placement),l=uh(a),c=[Hu,Wu].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(t,e){return dh("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ph(t,qu))}(r.padding,n),h=ju(o),d="y"===l?zu:Hu,p="y"===l?Fu:Wu,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Vu(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=u[d],_=v-h[c]-u[p],x=v/2-h[c]/2+y,w=Oh(b,x,_),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||sh(e.elements.popper,i)&&(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};const Dh=t=>parseInt(t,10);const Ih={id:"arrow","data-popper-arrow":""};function Nh(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&!(typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Nh('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var Rh={render:function(t,e){return jr(),Rr("div",Ih)},__scopeId:"data-v-20b7fd4a"};const Bh=["onKeyup"];var Vh={props:{placement:{type:String,default:"bottom",validator:function(t){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(t)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup(t,{emit:e}){const n=t;Zo(e=>({c81fc0a4:t.zIndex}));const i=$i(),r=ke(null),o=ke(null),s=ke(null),a=ke(!1);ci(()=>{const t=i.default();if(t&&t.length>1)return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${t.length} child nodes.`)});const{arrowPadding:l,closeDelay:c,content:u,disableClickAway:h,disabled:d,interactive:p,locked:f,offsetDistance:g,offsetSkid:m,openDelay:v,placement:y,show:b}=Me(n),{isOpen:_,open:x,close:w}=function({arrowPadding:t,emit:e,locked:n,offsetDistance:i,offsetSkid:r,placement:o,popperNode:s,triggerNode:a}){const l=he({isOpen:!1,popperInstance:null}),c=t=>{var e;null===(e=l.popperInstance)||void 0===e||e.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:t}]}))};On([()=>l.isOpen,o],async([t])=>{t?(await u(),c(!0)):c(!1)});const u=async()=>{await Ke(),l.popperInstance=Ch(a.value,s.value,{placement:o.value,modifiers:[Ah,Lh,{name:"flip",enabled:!n.value},jh,{name:"arrow",options:{padding:Dh(t.value)}},$h,{name:"offset",options:{offset:[Dh(r.value),Dh(i.value)]}}]}),l.popperInstance.update()};return di(()=>{var t;null===(t=l.popperInstance)||void 0===t||t.destroy()}),{...Me(l),open:()=>{l.isOpen||(l.isOpen=!0,e("open:popper"))},close:()=>{l.isOpen&&(l.isOpen=!1,e("close:popper"))}}}({arrowPadding:l,emit:e,locked:f,offsetDistance:g,offsetSkid:m,placement:y,popperNode:o,triggerNode:s}),{hasContent:S}=function(t,e,n){let i=null;const r=ke(!1);ci(()=>{(void 0!==t.content||n.value)&&(r.value=!0),i=new MutationObserver(o),i.observe(e.value,{childList:!0,subtree:!0})}),di(()=>i.disconnect()),On(n,t=>{r.value=!!t});const o=()=>{t.content?r.value=!0:r.value=!1};return{hasContent:r}}(i,o,u),k=_o(()=>null!==b.value),C=_o(()=>d.value||!S.value),O=_o(()=>_.value&&!C.value),A=_o(()=>!h.value&&!k.value),T=_o(()=>p.value?`border: ${g.value}px solid transparent; margin: -${g.value}px;`:null),P=xu.debounce(x,v.value),E=xu.debounce(w,c.value),M=async()=>{C.value||k.value||(E.clear(),P())},L=async()=>{k.value||(P.clear(),E())},$=()=>{_.value?L():M()};return On([S,d],([t,e])=>{_.value&&(!t||e)&&w()}),On(_,t=>{t?a.value=!0:xu.debounce(()=>{a.value=!1},200)}),Cn(()=>{k.value&&(b.value?P():E())}),Cn(()=>{A.value&&function(t,e){typeof window>"u"||!window||function(t,e,n){Se(t)?On(t,(t,i)=>{null==i||i.removeEventListener(e,n),null==t||t.addEventListener(e,n)}):ci(()=>{t.addEventListener(e,n)}),di(()=>{var i;null===(i=Te(t))||void 0===i||i.removeEventListener(e,n)})}(window,"pointerdown",n=>{const i=Te(t);i&&(i===n.target||n.composedPath().includes(i)||e(n))})}(r,L)}),(e,n)=>(jr(),Rr("div",{class:"inline-block",style:z(Te(T)),onMouseleave:n[2]||(n[2]=e=>t.hover&&L()),ref:(t,e)=>{e.popperContainerNode=t,r.value=t}},[Hr("div",{ref:(t,e)=>{e.triggerNode=t,s.value=t},onMouseover:n[0]||(n[0]=e=>t.hover&&M()),onClick:$,onFocus:M,onKeyup:Es(L,["esc"])},[Oi(e.$slots,"default")],40,Bh),Ur(jo,{name:"fade"},{default:bn(()=>[_n(Hr("div",{onClick:n[1]||(n[1]=t=>!Te(p)&&L()),class:"popper",ref:(t,e)=>{e.popperNode=t,o.value=t}},[Oi(e.$slots,"content",{close:Te(w),isOpen:a.value},()=>[Xr(J(Te(u)),1)]),t.arrow?(jr(),Br(Rh,{key:0})):Yr("",!0)],512),[[Xo,Te(O)]])]),_:3})],36))}};Nh("\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.popper[data-v-5784ed69] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--c81fc0a4);\n}\n.popper[data-v-5784ed69]:hover,\n .popper:hover > #arrow[data-v-5784ed69]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.fade-enter-active[data-v-5784ed69],\n .fade-leave-active[data-v-5784ed69] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-5784ed69],\n .fade-leave-to[data-v-5784ed69] {\n opacity: 0;\n}\n"),Vh.__scopeId="data-v-5784ed69";var zh=(()=>{const t=Vh;return t.install=e=>{e.component("Popper",t)},t})();const Fh=Un({__name:"index",props:{arrow:{type:Boolean},hover:{type:Boolean},offsetDistance:{},offsetSkid:{},placement:{default:"bottom-end"}},emits:["open:popover","close:popover"],setup(t,{emit:e}){const n=$i();function i(){e("open:popover")}function r(){e("close:popover")}return(t,e)=>(jr(),Br(Te(zh),Jr({...t.$attrs,...t.$props},{class:"popover","onOpen:popper":i,"onClose:popper":r}),Ci({default:bn(()=>[Oi(t.$slots,"default")]),_:2},[Te(n).tooltip?{name:"content",fn:bn(e=>[Oi(t.$slots,"tooltip",G(qr(e)))]),key:"0"}:void 0]),1040))}});Un({name:"DropdownMenu",components:{IconViewer:fu,Popover:Fh},props:{position:{type:String,default:"bottom-end"},hoverable:{type:Boolean,default:!1},icon:{type:String,required:!1},offsetDistance:{type:String,default:"12",required:!1}},emits:["close-dropdown"],data:()=>({showDropdown:!1}),mounted(){document&&document.addEventListener("click",this.clickHandler)},unmounted(){document&&document.removeEventListener("click",this.clickHandler)},methods:{clickHandler(t){t.target.getAttribute("disable-close")||this.$refs.popover&&!this.$refs.popover.$el.contains(t.target)&&this.close()},handleMouseEnter(){this.hoverable&&(this.showDropdown=!0)},handleMouseLeave(){this.hoverable&&this.close()},toggleOnClick(t){t.target.getAttribute("disable-close")||(this.showDropdown=!this.showDropdown)},close(){this.$emit("close-dropdown"),this.showDropdown=!1}}});function Wh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function Hh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wh(Object(n),!0).forEach(function(e){qh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Uh(t){return(Uh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gh(){return Gh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Gh.apply(this,arguments)}function Xh(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Yh=Xh(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Kh=Xh(/Edge/i),Zh=Xh(/firefox/i),Qh=Xh(/safari/i)&&!Xh(/chrome/i)&&!Xh(/android/i),Jh=Xh(/iP(ad|od|hone)/i),td=Xh(/chrome/i)&&Xh(/android/i),ed={capture:!1,passive:!1};function nd(t,e,n){t.addEventListener(e,n,!Yh&&ed)}function id(t,e,n){t.removeEventListener(e,n,!Yh&&ed)}function rd(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function od(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function sd(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&rd(t,e):rd(t,e))||i&&t===n)return t;if(t===n)break}while(t=od(t))}return null}var ad,ld=/\s+/g;function cd(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(ld," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(ld," ")}}function ud(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];!(e in i)&&-1===e.indexOf("webkit")&&(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function hd(t,e){var n="";if("string"==typeof t)n=t;else do{var i=ud(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function dd(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function pd(){return document.scrollingElement||document.documentElement}function fd(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,l,c,u,h;if(t!==window&&t.parentNode&&t!==pd()?(s=(o=t.getBoundingClientRect()).top,a=o.left,l=o.bottom,c=o.right,u=o.height,h=o.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!Yh))do{if(r&&r.getBoundingClientRect&&("none"!==ud(r,"transform")||n&&"static"!==ud(r,"position"))){var d=r.getBoundingClientRect();s-=d.top+parseInt(ud(r,"border-top-width")),a-=d.left+parseInt(ud(r,"border-left-width")),l=s+o.height,c=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var p=hd(r||t),f=p&&p.a,g=p&&p.d;p&&(l=(s/=g)+(u/=g),c=(a/=f)+(h/=f))}return{top:s,left:a,bottom:l,right:c,width:h,height:u}}}function gd(t,e,n){for(var i=_d(t,!0),r=fd(t)[e];i;){if(!(r>=fd(i)[n]))return i;if(i===pd())break;i=_d(i,!1)}return!1}function md(t,e,n,i){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==wp.ghost&&(i||s[o]!==wp.dragged)&&sd(s[o],n.draggable,t,!1)){if(r===e)return s[o];r++}o++}return null}function vd(t,e){for(var n=t.lastElementChild;n&&(n===wp.ghost||"none"===ud(n,"display")||e&&!rd(n,e));)n=n.previousElementSibling;return n||null}function yd(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"!==t.nodeName.toUpperCase()&&t!==wp.clone&&(!e||rd(t,e))&&n++;return n}function bd(t){var e=0,n=0,i=pd();if(t)do{var r=hd(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function _d(t,e){if(!t||!t.getBoundingClientRect)return pd();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=ud(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 pd();if(i||e)return n;i=!0}}}while(n=n.parentNode);return pd()}function xd(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function wd(t,e){return function(){if(!ad){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),ad=setTimeout(function(){ad=void 0},e)}}}function Sd(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function kd(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Cd="Sortable"+(new Date).getTime();var Od=[],Ad={initializeByDefault:!0},Td={mount:function(t){for(var e in Ad)Ad.hasOwnProperty(e)&&!(e in t)&&(t[e]=Ad[e]);Od.forEach(function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Od.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";Od.forEach(function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](Hh({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](Hh({sortable:e},n)))})},initializePlugins:function(t,e,n,i){for(var r in Od.forEach(function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,Gh(n,o.defaults)}}),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);typeof o<"u"&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return Od.forEach(function(i){"function"==typeof i.eventProperties&&Gh(n,i.eventProperties.call(e[i.pluginName],t))}),n},modifyOption:function(t,e,n){var i;return Od.forEach(function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))}),i}},Pd=["evt"],Ed=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(n,Pd);Td.pluginEvent.bind(wp)(t,e,Hh({dragEl:Ld,parentEl:$d,ghostEl:jd,rootEl:Dd,nextEl:Id,lastDownEl:Nd,cloneEl:Rd,cloneHidden:Bd,dragStarted:Qd,putSortable:Ud,activeSortable:wp.active,originalEvent:i,oldIndex:Vd,oldDraggableIndex:Fd,newIndex:zd,newDraggableIndex:Wd,hideGhostForTarget:yp,unhideGhostForTarget:bp,cloneNowHidden:function(){Bd=!0},cloneNowShown:function(){Bd=!1},dispatchSortableEvent:function(t){Md({sortable:e,name:t,originalEvent:i})}},r))};function Md(t){!function(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,p=t.putSortable,f=t.extraEventProperties;if(e=e||n&&n[Cd]){var g,m=e.options,v="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||Yh||Kh?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=r||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=p?p.lastPutMode:void 0;var y=Hh(Hh({},f),Td.getEventProperties(i,e));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(e,g)}}(Hh({putSortable:Ud,cloneEl:Rd,targetEl:Ld,rootEl:Dd,oldIndex:Vd,oldDraggableIndex:Fd,newIndex:zd,newDraggableIndex:Wd},t))}var Ld,$d,jd,Dd,Id,Nd,Rd,Bd,Vd,zd,Fd,Wd,Hd,Ud,qd,Gd,Xd,Yd,Kd,Zd,Qd,Jd,tp,ep,np,ip=!1,rp=!1,op=[],sp=!1,ap=!1,lp=[],cp=!1,up=[],hp=typeof document<"u",dp=Jh,pp=Kh||Yh?"cssFloat":"float",fp=hp&&!td&&!Jh&&"draggable"in document.createElement("div"),gp=function(){if(hp){if(Yh)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),mp=function(t,e){var n=ud(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=md(t,0,e),o=md(t,1,e),s=r&&ud(r),a=o&&ud(o),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+fd(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+fd(o).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&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===n[pp]||o&&"none"===n[pp]&&l+c>i)?"vertical":"horizontal"},vp=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var l=(n?i:r).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;(!i||"object"!=Uh(i))&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},yp=function(){!gp&&jd&&ud(jd,"display","none")},bp=function(){!gp&&jd&&ud(jd,"display","")};hp&&!td&&document.addEventListener("click",function(t){if(rp)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),rp=!1,!1},!0);var _p=function(t){if(Ld){var e=function(t,e){var n;return op.some(function(i){var r=i[Cd].options.emptyInsertThreshold;if(r&&!vd(i)){var o=fd(i),s=t>=o.left-r&&t<=o.right+r,a=e>=o.top-r&&e<=o.bottom+r;if(s&&a)return n=i}}),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[Cd]._onDragOver(n)}}},xp=function(t){Ld&&Ld.parentNode[Cd]._isOutsideThisEl(t.target)};function wp(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=Gh({},e),t[Cd]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return mp(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.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!==wp.supportPointer&&"PointerEvent"in window&&!Qh,emptyInsertThreshold:5};for(var i in Td.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in vp(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&fp,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?nd(t,"pointerdown",this._onTapStart):(nd(t,"mousedown",this._onTapStart),nd(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(nd(t,"dragover",this),nd(t,"dragenter",this)),op.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Gh(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(t){if("none"!==ud(t,"display")&&t!==wp.ghost){e.push({target:t,rect:fd(t)});var n=Hh({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=hd(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}})},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var r=!1,o=0;e.forEach(function(t){var e=0,n=t.target,s=n.fromRect,a=fd(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,h=hd(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&xd(l,a)&&!xd(s,a)&&(u.top-a.top)/(u.left-a.left)===(s.top-a.top)/(s.left-a.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),xd(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},e),n.thisAnimationDuration=e)}),clearTimeout(t),r?t=setTimeout(function(){"function"==typeof n&&n()},o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){ud(t,"transition",""),ud(t,"transform","");var r=hd(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,ud(t,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),ud(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),ud(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout(function(){ud(t,"transition",""),ud(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},i)}}}}())}function Sp(t,e,n,i,r,o,s,a){var l,c,u=t[Cd],h=u.options.onMove;return!window.CustomEvent||Yh||Kh?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||fd(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),h&&(c=h.call(u,l,s)),c}function kp(t){t.draggable=!1}function Cp(){cp=!1}function Op(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Ap(t){return setTimeout(t,0)}function Tp(t){return clearTimeout(t)}wp.prototype={constructor:wp,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Jd=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Ld):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(function(t){up.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&up.push(i)}}(n),!Ld&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Qh||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=sd(a,i.draggable,n,!1))&&a.animated||Nd===a)){if(Vd=yd(a),Fd=yd(a,i.draggable),"function"==typeof c){if(c.call(this,t,a,this))return Md({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),Ed("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some(function(i){if(i=sd(l,i.trim(),n,!1))return Md({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),Ed("filter",e,{evt:t}),!0})))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!sd(l,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!Ld&&n.parentNode===o){var l=fd(n);if(Dd=o,$d=(Ld=n).parentNode,Id=Ld.nextSibling,Nd=n,Hd=s.group,wp.dragged=Ld,qd={target:Ld,clientX:(e||t).clientX,clientY:(e||t).clientY},Kd=qd.clientX-l.left,Zd=qd.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Ld.style["will-change"]="all",i=function(){Ed("delayEnded",r,{evt:t}),wp.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!Zh&&r.nativeDraggable&&(Ld.draggable=!0),r._triggerDragStart(t,e),Md({sortable:r,name:"choose",originalEvent:t}),cd(Ld,s.chosenClass,!0))},s.ignore.split(",").forEach(function(t){dd(Ld,t.trim(),kp)}),nd(a,"dragover",_p),nd(a,"mousemove",_p),nd(a,"touchmove",_p),nd(a,"mouseup",r._onDrop),nd(a,"touchend",r._onDrop),nd(a,"touchcancel",r._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Ld.draggable=!0),Ed("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(Kh||Yh))i();else{if(wp.eventCanceled)return void this._onDrop();nd(a,"mouseup",r._disableDelayedDrag),nd(a,"touchend",r._disableDelayedDrag),nd(a,"touchcancel",r._disableDelayedDrag),nd(a,"mousemove",r._delayedDragTouchMoveHandler),nd(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&nd(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Ld&&kp(Ld),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;id(t,"mouseup",this._disableDelayedDrag),id(t,"touchend",this._disableDelayedDrag),id(t,"touchcancel",this._disableDelayedDrag),id(t,"mousemove",this._delayedDragTouchMoveHandler),id(t,"touchmove",this._delayedDragTouchMoveHandler),id(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?nd(document,"pointermove",this._onTouchMove):nd(document,e?"touchmove":"mousemove",this._onTouchMove):(nd(Ld,"dragend",this),nd(Dd,"dragstart",this._onDragStart));try{document.selection?Ap(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(ip=!1,Dd&&Ld){Ed("dragStarted",this,{evt:e}),this.nativeDraggable&&nd(document,"dragover",xp);var n=this.options;!t&&cd(Ld,n.dragClass,!1),cd(Ld,n.ghostClass,!0),wp.active=this,t&&this._appendGhost(),Md({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(Gd){this._lastX=Gd.clientX,this._lastY=Gd.clientY,yp();for(var t=document.elementFromPoint(Gd.clientX,Gd.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Gd.clientX,Gd.clientY))!==e;)e=t;if(Ld.parentNode[Cd]._isOutsideThisEl(t),e)do{if(e[Cd]&&e[Cd]._onDragOver({clientX:Gd.clientX,clientY:Gd.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);bp()}},_onTouchMove:function(t){if(qd){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=jd&&hd(jd,!0),s=jd&&o&&o.a,a=jd&&o&&o.d,l=dp&&np&&bd(np),c=(r.clientX-qd.clientX+i.x)/(s||1)+(l?l[0]-lp[0]:0)/(s||1),u=(r.clientY-qd.clientY+i.y)/(a||1)+(l?l[1]-lp[1]:0)/(a||1);if(!wp.active&&!ip){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(jd){o?(o.e+=c-(Xd||0),o.f+=u-(Yd||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");ud(jd,"webkitTransform",h),ud(jd,"mozTransform",h),ud(jd,"msTransform",h),ud(jd,"transform",h),Xd=c,Yd=u,Gd=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!jd){var t=this.options.fallbackOnBody?document.body:Dd,e=fd(Ld,!0,dp,!0,t),n=this.options;if(dp){for(np=t;"static"===ud(np,"position")&&"none"===ud(np,"transform")&&np!==document;)np=np.parentNode;np!==document.body&&np!==document.documentElement?(np===document&&(np=pd()),e.top+=np.scrollTop,e.left+=np.scrollLeft):np=pd(),lp=bd(np)}cd(jd=Ld.cloneNode(!0),n.ghostClass,!1),cd(jd,n.fallbackClass,!0),cd(jd,n.dragClass,!0),ud(jd,"transition",""),ud(jd,"transform",""),ud(jd,"box-sizing","border-box"),ud(jd,"margin",0),ud(jd,"top",e.top),ud(jd,"left",e.left),ud(jd,"width",e.width),ud(jd,"height",e.height),ud(jd,"opacity","0.8"),ud(jd,"position",dp?"absolute":"fixed"),ud(jd,"zIndex","100000"),ud(jd,"pointerEvents","none"),wp.ghost=jd,t.appendChild(jd),ud(jd,"transform-origin",Kd/parseInt(jd.style.width)*100+"% "+Zd/parseInt(jd.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;Ed("dragStart",this,{evt:t}),wp.eventCanceled?this._onDrop():(Ed("setupClone",this),wp.eventCanceled||((Rd=kd(Ld)).removeAttribute("id"),Rd.draggable=!1,Rd.style["will-change"]="",this._hideClone(),cd(Rd,this.options.chosenClass,!1),wp.clone=Rd),n.cloneId=Ap(function(){Ed("clone",n),!wp.eventCanceled&&(n.options.removeCloneOnHide||Dd.insertBefore(Rd,Ld),n._hideClone(),Md({sortable:n,name:"clone"}))}),!e&&cd(Ld,r.dragClass,!0),e?(rp=!0,n._loopId=setInterval(n._emulateDragOver,50)):(id(document,"mouseup",n._onDrop),id(document,"touchend",n._onDrop),id(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,Ld)),nd(document,"drop",n),ud(Ld,"transform","translateZ(0)")),ip=!0,n._dragStartId=Ap(n._dragStarted.bind(n,e,t)),nd(document,"selectstart",n),Qd=!0,Qh&&ud(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,s=t.target,a=this.options,l=a.group,c=wp.active,u=Hd===l,h=a.sort,d=Ud||c,p=this,f=!1;if(!cp){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=sd(s,a.draggable,o,!0),P("dragOver"),wp.eventCanceled)return f;if(Ld.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return M(!1);if(rp=!1,c&&!a.disabled&&(u?h||(i=$d!==Dd):Ud===this||(this.lastPutMode=Hd.checkPull(this,c,Ld,t))&&l.checkPut(this,c,Ld,t))){if(r="vertical"===this._getDirection(t,s),e=fd(Ld),P("dragOverValid"),wp.eventCanceled)return f;if(i)return $d=Dd,E(),this._hideClone(),P("revert"),wp.eventCanceled||(Id?Dd.insertBefore(Ld,Id):Dd.appendChild(Ld)),M(!0);var g=vd(o,a.draggable);if(!g||function(t,e,n){var i=fd(vd(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!g.animated){if(g===Ld)return M(!1);if(g&&o===t.target&&(s=g),s&&(n=fd(s)),!1!==Sp(Dd,o,Ld,e,s,n,t,!!s))return E(),g&&g.nextSibling?o.insertBefore(Ld,g.nextSibling):o.appendChild(Ld),$d=o,L(),M(!0)}else if(g&&function(t,e,n){var i=fd(md(n.el,0,n.options,!0));return e?t.clientX<i.left-10||t.clientY<i.top&&t.clientX<i.right:t.clientY<i.top-10||t.clientY<i.bottom&&t.clientX<i.left}(t,r,this)){var m=md(o,0,a,!0);if(m===Ld)return M(!1);if(n=fd(s=m),!1!==Sp(Dd,o,Ld,e,s,n,t,!1))return E(),o.insertBefore(Ld,m),$d=o,L(),M(!0)}else if(s.parentNode===o){n=fd(s);var v,y,b,_=Ld.parentNode!==o,x=!function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===s||r===a||i+o/2===s+l/2}(Ld.animated&&Ld.toRect||e,s.animated&&s.toRect||n,r),w=r?"top":"left",S=gd(s,"top","top")||gd(Ld,"top","top"),k=S?S.scrollTop:void 0;if(Jd!==s&&(y=n[w],sp=!1,ap=!x&&a.invertSwap||_),v=function(t,e,n,i,r,o,s,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&ep<c*r){if(!sp&&(1===tp?l>u+c*o/2:l<h-c*o/2)&&(sp=!0),sp)d=!0;else if(1===tp?l<u+ep:l>h-ep)return-tp}else if(l>u+c*(1-r)/2&&l<h-c*(1-r)/2)return function(t){return yd(Ld)<yd(t)?1:-1}(e);return(d=d||s)&&(l<u+c*o/2||l>h-c*o/2)?l>u+c/2?1:-1:0}(t,s,n,r,x?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,ap,Jd===s),0!==v){var C=yd(Ld);do{C-=v,b=$d.children[C]}while(b&&("none"===ud(b,"display")||b===jd))}if(0===v||b===s)return M(!1);Jd=s,tp=v;var O=s.nextElementSibling,A=!1,T=Sp(Dd,o,Ld,e,s,n,t,A=1===v);if(!1!==T)return(1===T||-1===T)&&(A=1===T),cp=!0,setTimeout(Cp,30),E(),A&&!O?o.appendChild(Ld):s.parentNode.insertBefore(Ld,A?O:s),S&&Sd(S,0,k-S.scrollTop),$d=Ld.parentNode,void 0!==y&&!ap&&(ep=Math.abs(y-fd(s)[w])),L(),M(!0)}if(o.contains(Ld))return M(!1)}return!1}function P(a,l){Ed(a,p,Hh({evt:t,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:h,fromSortable:d,target:s,completed:M,onMove:function(n,i){return Sp(Dd,o,Ld,e,n,fd(n),t,i)},changed:L},l))}function E(){P("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function M(e){return P("dragOverCompleted",{insertion:e}),e&&(u?c._hideClone():c._showClone(p),p!==d&&(cd(Ld,Ud?Ud.options.ghostClass:c.options.ghostClass,!1),cd(Ld,a.ghostClass,!0)),Ud!==p&&p!==wp.active?Ud=p:p===wp.active&&Ud&&(Ud=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){P("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===Ld&&!Ld.animated||s===o&&!s.animated)&&(Jd=null),!a.dragoverBubble&&!t.rootEl&&s!==document&&(Ld.parentNode[Cd]._isOutsideThisEl(t.target),!e&&_p(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),f=!0}function L(){zd=yd(Ld),Wd=yd(Ld,a.draggable),Md({sortable:p,name:"change",toEl:o,newIndex:zd,newDraggableIndex:Wd,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){id(document,"mousemove",this._onTouchMove),id(document,"touchmove",this._onTouchMove),id(document,"pointermove",this._onTouchMove),id(document,"dragover",_p),id(document,"mousemove",_p),id(document,"touchmove",_p)},_offUpEvents:function(){var t=this.el.ownerDocument;id(t,"mouseup",this._onDrop),id(t,"touchend",this._onDrop),id(t,"pointerup",this._onDrop),id(t,"touchcancel",this._onDrop),id(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;zd=yd(Ld),Wd=yd(Ld,n.draggable),Ed("drop",this,{evt:t}),$d=Ld&&Ld.parentNode,zd=yd(Ld),Wd=yd(Ld,n.draggable),wp.eventCanceled||(ip=!1,ap=!1,sp=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Tp(this.cloneId),Tp(this._dragStartId),this.nativeDraggable&&(id(document,"drop",this),id(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Qh&&ud(document.body,"user-select",""),ud(Ld,"transform",""),t&&(Qd&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),jd&&jd.parentNode&&jd.parentNode.removeChild(jd),(Dd===$d||Ud&&"clone"!==Ud.lastPutMode)&&Rd&&Rd.parentNode&&Rd.parentNode.removeChild(Rd),Ld&&(this.nativeDraggable&&id(Ld,"dragend",this),kp(Ld),Ld.style["will-change"]="",Qd&&!ip&&cd(Ld,Ud?Ud.options.ghostClass:this.options.ghostClass,!1),cd(Ld,this.options.chosenClass,!1),Md({sortable:this,name:"unchoose",toEl:$d,newIndex:null,newDraggableIndex:null,originalEvent:t}),Dd!==$d?(zd>=0&&(Md({rootEl:$d,name:"add",toEl:$d,fromEl:Dd,originalEvent:t}),Md({sortable:this,name:"remove",toEl:$d,originalEvent:t}),Md({rootEl:$d,name:"sort",toEl:$d,fromEl:Dd,originalEvent:t}),Md({sortable:this,name:"sort",toEl:$d,originalEvent:t})),Ud&&Ud.save()):zd!==Vd&&zd>=0&&(Md({sortable:this,name:"update",toEl:$d,originalEvent:t}),Md({sortable:this,name:"sort",toEl:$d,originalEvent:t})),wp.active&&((null==zd||-1===zd)&&(zd=Vd,Wd=Fd),Md({sortable:this,name:"end",toEl:$d,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Ed("nulling",this),Dd=Ld=$d=jd=Id=Rd=Nd=Bd=qd=Gd=Qd=zd=Wd=Vd=Fd=Jd=tp=Ud=Hd=wp.dragged=wp.ghost=wp.clone=wp.active=null,up.forEach(function(t){t.checked=!0}),up.length=Xd=Yd=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Ld&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)sd(t=n[i],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Op(t));return e},sort:function(t,e){var n={},i=this.el;this.toArray().forEach(function(t,e){var r=i.children[e];sd(r,this.options.draggable,i,!1)&&(n[t]=r)},this),e&&this.captureAnimationState(),t.forEach(function(t){n[t]&&(i.removeChild(n[t]),i.appendChild(n[t]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return sd(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Td.modifyOption(this,t,e);n[t]=typeof i<"u"?i:e,"group"===t&&vp(n)},destroy:function(){Ed("destroy",this);var t=this.el;t[Cd]=null,id(t,"mousedown",this._onTapStart),id(t,"touchstart",this._onTapStart),id(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(id(t,"dragover",this),id(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),op.splice(op.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Bd){if(Ed("hideClone",this),wp.eventCanceled)return;ud(Rd,"display","none"),this.options.removeCloneOnHide&&Rd.parentNode&&Rd.parentNode.removeChild(Rd),Bd=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(Bd){if(Ed("showClone",this),wp.eventCanceled)return;Ld.parentNode!=Dd||this.options.group.revertClone?Id?Dd.insertBefore(Rd,Id):Dd.appendChild(Rd):Dd.insertBefore(Rd,Ld),this.options.group.revertClone&&this.animate(Ld,Rd),ud(Rd,"display",""),Bd=!1}}else this._hideClone()}},hp&&nd(document,"touchmove",function(t){(wp.active||ip)&&t.cancelable&&t.preventDefault()}),wp.utils={on:nd,off:id,css:ud,find:dd,is:function(t,e){return!!sd(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:wd,closest:sd,toggleClass:cd,clone:kd,index:yd,nextTick:Ap,cancelNextTick:Tp,detectDirection:mp,getChild:md},wp.get=function(t){return t[Cd]},wp.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(wp.utils=Hh(Hh({},wp.utils),t.utils)),Td.mount(t)})},wp.create=function(t,e){return new wp(t,e)},wp.version="1.15.0";var Pp,Ep,Mp,Lp,$p,jp,Dp=[],Ip=!1;function Np(){Dp.forEach(function(t){clearInterval(t.pid)}),Dp=[]}function Rp(){clearInterval(jp)}var Bp=wd(function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=pd(),u=!1;Ep!==n&&(Ep=n,Np(),Pp=e.scroll,r=e.scrollFn,!0===Pp&&(Pp=_d(n,!0)));var h=0,d=Pp;do{var p=d,f=fd(p),g=f.top,m=f.bottom,v=f.left,y=f.right,b=f.width,_=f.height,x=void 0,w=void 0,S=p.scrollWidth,k=p.scrollHeight,C=ud(p),O=p.scrollLeft,A=p.scrollTop;p===c?(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY));var T=x&&(Math.abs(y-o)<=a&&O+b<S)-(Math.abs(v-o)<=a&&!!O),P=w&&(Math.abs(m-s)<=a&&A+_<k)-(Math.abs(g-s)<=a&&!!A);if(!Dp[h])for(var E=0;E<=h;E++)Dp[E]||(Dp[E]={});(Dp[h].vx!=T||Dp[h].vy!=P||Dp[h].el!==p)&&(Dp[h].el=p,Dp[h].vx=T,Dp[h].vy=P,clearInterval(Dp[h].pid),(0!=T||0!=P)&&(u=!0,Dp[h].pid=setInterval(function(){i&&0===this.layer&&wp.active._onTouchMove($p);var e=Dp[this.layer].vy?Dp[this.layer].vy*l:0,n=Dp[this.layer].vx?Dp[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(wp.dragged.parentNode[Cd],n,e,t,$p,Dp[this.layer].el)||Sd(Dp[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==c&&(d=_d(d,!1)));Ip=u}},30),Vp=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function zp(){}function Fp(){}zp.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=md(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Vp},Gh(zp,{pluginName:"revertOnSpill"}),Fp.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:Vp},Gh(Fp,{pluginName:"removeOnSpill"}),wp.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?nd(document,"dragover",this._handleAutoScroll):this.options.supportPointer?nd(document,"pointermove",this._handleFallbackAutoScroll):e.touches?nd(document,"touchmove",this._handleFallbackAutoScroll):nd(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?id(document,"dragover",this._handleAutoScroll):(id(document,"pointermove",this._handleFallbackAutoScroll),id(document,"touchmove",this._handleFallbackAutoScroll),id(document,"mousemove",this._handleFallbackAutoScroll)),Rp(),Np(),clearTimeout(ad),ad=void 0},nulling:function(){$p=Ep=Pp=Ip=jp=Mp=Lp=null,Dp.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if($p=t,e||this.options.forceAutoScrollFallback||Kh||Yh||Qh){Bp(t,this.options,o,e);var s=_d(o,!0);Ip&&(!jp||i!==Mp||r!==Lp)&&(jp&&Rp(),jp=setInterval(function(){var o=_d(document.elementFromPoint(i,r),!0);o!==s&&(s=o,Np()),Bp(t,n.options,o,e)},10),Mp=i,Lp=r)}else{if(!this.options.bubbleScroll||_d(o,!0)===pd())return void Np();Bp(t,this.options,_d(o,!1),!1)}}},Gh(t,{pluginName:"scroll",initializeByDefault:!0})}),wp.mount(Fp,zp),Boolean,Boolean;const Wp=(t,{slots:e})=>{var n;return xo(t.as,{class:ke(["heading",`heading-${t.size}`,{"heading-secondary":t.secondary},t.class]).value},null==(n=e.default)?void 0:n.call(e))};Wp.props={as:{type:String,default:"h2"},size:{type:String,default:"lg"},secondary:{type:Boolean,default:!1}};const Hp=Un({__name:"hr",props:{height:{default:"1"}},setup(t){const e=t,n=_o(()=>({"--hr-height":`${e.height}px`}));return(t,e)=>(jr(),Rr("hr",{class:q(t.$style.hr),style:z(n.value)},null,6))}}),Up=hu(Hp,[["__cssModules",{$style:{hr:"_hr_1alp8_1"}}]]);function qp(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function Gp(t,e,n,i){return e?t.filter(t=>function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(i(t,n),e)).sort((t,e)=>i(t,n).length-i(e,n).length):t}function Xp(t){return t.filter(t=>!t.$isLabel)}function Yp(t,e){return n=>n.reduce((n,i)=>i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n,[])}Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;const Kp=(...t)=>e=>t.reduce((t,e)=>e(t),e);var Zp={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:(t,e)=>qp(t)?"":e?t[e]:t},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:()=>[]},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):Gp(n,e,this.label,this.customLabel):this.groupValues?Yp(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(t){return(...e)=>!t(...e)}(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(t,e,n){return Kp(function(t,e,n,i,r){return o=>o.map(o=>{if(!o[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const s=Gp(o[n],t,e,r);return s.length?{[i]:o[i],[n]:s}:[]})}(e,n,this.groupValues,this.groupLabel,this.customLabel),Yp(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return Kp(Yp(this.groupValues,this.groupLabel),Xp)(t)},updateSearch(t){this.search=t},isExistingOption(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:t=>!!t.$isDisabled,getOptionLabel(t){if(qp(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return qp(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(e=>e[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const t=this.internalValue.filter(t=>-1===e[this.groupValues].indexOf(t));this.$emit("update:modelValue",t)}else{let t=e[this.groupValues].filter(t=>!(this.isOptionDisabled(t)||this.isSelected(t)));this.max&&t.splice(this.max-this.internalValue.length),this.$emit("select",t,this.id),this.$emit("update:modelValue",this.internalValue.concat(t))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const n="object"==typeof t?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const t=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",t)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},Qp={data:()=>({pointer:0,pointerDirty:!1}),props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(t=>t[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},Jp={name:"vue-multiselect",mixins:[Zp,Qp],props:{name:{type:String,default:""},modelValue:{type:null,default:()=>[]},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}};const tf={ref:"tags",class:"multiselect__tags"},ef={class:"multiselect__tags-wrap"},nf={class:"multiselect__spinner"},rf={key:0},of={class:"multiselect__option"},sf={class:"multiselect__option"},af=Xr("No elements found. Consider changing the search query."),lf={class:"multiselect__option"},cf=Xr("List is empty.");Jp.render=function(t,e,n,i,r,o){return jr(),Br("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=e=>t.activate()),onBlur:e[15]||(e[15]=e=>!t.searchable&&t.deactivate()),onKeydown:[e[16]||(e[16]=Es(Ts(e=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=Es(Ts(e=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=Es(Ts(e=>t.addPointerElement(e),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=Es(e=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[Oi(t.$slots,"caret",{toggle:t.toggle},()=>[Ur("div",{onMousedown:e[1]||(e[1]=Ts(e=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),Oi(t.$slots,"clear",{search:t.search}),Ur("div",tf,[Oi(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:o.visibleValues,isOpen:t.isOpen},()=>[_n(Ur("div",ef,[(jr(!0),Br(Tr,null,ki(o.visibleValues,(e,n)=>Oi(t.$slots,"tag",{option:e,search:t.search,remove:t.removeElement},()=>[(jr(),Br("span",{class:"multiselect__tag",key:n},[Ur("span",{textContent:J(t.getOptionLabel(e))},null,8,["textContent"]),Ur("i",{tabindex:"1",onKeypress:Es(Ts(n=>t.removeElement(e),["prevent"]),["enter"]),onMousedown:Ts(n=>t.removeElement(e),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[Xo,o.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?Oi(t.$slots,"limit",{key:0},()=>[Ur("strong",{class:"multiselect__strong",textContent:J(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):Yr("v-if",!0)]),Ur(jo,{name:"multiselect__loading"},{default:bn(()=>[Oi(t.$slots,"loading",{},()=>[_n(Ur("div",nf,null,512),[[Xo,n.loading]])])]),_:3}),t.searchable?(jr(),Br("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:t.placeholder,style:o.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=e=>t.updateSearch(e.target.value)),onFocus:e[3]||(e[3]=Ts(e=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=Ts(e=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=Es(e=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=Es(Ts(e=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=Es(Ts(e=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=Es(Ts(e=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=Es(Ts(e=>t.addPointerElement(e),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):Yr("v-if",!0),o.isSingleLabelVisible?(jr(),Br("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=Ts((...e)=>t.toggle&&t.toggle(...e),["prevent"]))},[Oi(t.$slots,"singleLabel",{option:o.singleValue},()=>[Xr(J(t.currentOptionLabel),1)])],32)):Yr("v-if",!0),o.isPlaceholderVisible?(jr(),Br("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=Ts((...e)=>t.toggle&&t.toggle(...e),["prevent"]))},[Oi(t.$slots,"placeholder",{},()=>[Xr(J(t.placeholder),1)])],32)):Yr("v-if",!0)],512),Ur(jo,{name:"multiselect"},{default:bn(()=>[_n(Ur("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...e)=>t.activate&&t.activate(...e)),tabindex:"-1",onMousedown:e[13]||(e[13]=Ts(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[Ur("ul",{class:"multiselect__content",style:o.contentStyle,role:"listbox",id:"listbox-"+t.id},[Oi(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(jr(),Br("li",rf,[Ur("span",of,[Oi(t.$slots,"maxElements",{},()=>[Xr("Maximum of "+J(t.max)+" options selected. First remove a selected option to select another.",1)])])])):Yr("v-if",!0),!t.max||t.internalValue.length<t.max?(jr(!0),Br(Tr,{key:1},ki(t.filteredOptions,(e,n)=>(jr(),Br("li",{class:"multiselect__element",key:n,id:t.id+"-"+n,role:e&&(e.$isLabel||e.$isDisabled)?null:"option"},[e&&(e.$isLabel||e.$isDisabled)?Yr("v-if",!0):(jr(),Br("span",{key:0,class:[t.optionHighlight(n,e),"multiselect__option"],onClick:Ts(n=>t.select(e),["stop"]),onMouseenter:Ts(e=>t.pointerSet(n),["self"]),"data-select":e&&e.isTag?t.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[Oi(t.$slots,"option",{option:e,search:t.search,index:n},()=>[Ur("span",null,J(t.getOptionLabel(e)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),e&&(e.$isLabel||e.$isDisabled)?(jr(),Br("span",{key:1,"data-select":t.groupSelect&&o.selectGroupLabelText,"data-deselect":t.groupSelect&&o.deselectGroupLabelText,class:[t.groupHighlight(n,e),"multiselect__option"],onMouseenter:Ts(e=>t.groupSelect&&t.pointerSet(n),["self"]),onMousedown:Ts(n=>t.selectGroup(e),["prevent"])},[Oi(t.$slots,"option",{option:e,search:t.search,index:n},()=>[Ur("span",null,J(t.getOptionLabel(e)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):Yr("v-if",!0)],8,["id","role"]))),128)):Yr("v-if",!0),_n(Ur("li",null,[Ur("span",sf,[Oi(t.$slots,"noResult",{search:t.search},()=>[af])])],512),[[Xo,n.showNoResults&&0===t.filteredOptions.length&&t.search&&!n.loading]]),_n(Ur("li",null,[Ur("span",lf,[Oi(t.$slots,"noOptions",{},()=>[cf])])],512),[[Xo,n.showNoOptions&&(0===t.options.length||!0===o.hasOptionGroup&&0===t.filteredOptions.length)&&!t.search&&!n.loading]]),Oi(t.$slots,"afterList")],12,["id"])],36),[[Xo,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])};const uf=["onClick"],hf=["onClick"],df=Un({__name:"pagination",props:{modelValue:{},total:{},windowSize:{default:3}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;Cn(()=>{1!==n.modelValue&&n.modelValue>n.total&&e("update:modelValue",1)});const i=t=>{e("update:modelValue",t)},r=_o(()=>n.total<=n.windowSize+3),o=_o(()=>{const t=n.windowSize;if(r.value)return Array.from(Array(n.total).keys()).map(t=>t+1);let e;return e=n.modelValue>t&&n.modelValue<n.total-t+1?Array.from(Array(t).keys()).map(t=>n.modelValue+t-1):n.modelValue<=t?Array.from(Array(t+1).keys()).map(t=>t+2):Array.from(Array(t+1).keys()).map(t=>n.total-t-1).reverse(),e}),s=_o(()=>1!==n.modelValue),a=_o(()=>n.modelValue!==n.total),l=ms(),c=t=>({"aria-label":n.modelValue===t?`Current Page, Page ${t}`:`Goto Page ${t}`,class:[l.page,{[l.active]:n.modelValue===t}]});return(t,e)=>{const n=wi("directives","hidden");return _n((jr(),Rr("nav",{class:q(t.$style.root),role:"navigation","aria-label":"pagination"},[Hr("ul",{class:q(t.$style.nav)},[_n((jr(),Rr("li",{class:q(t.$style.navigationLeft),onClick:e[0]||(e[0]=e=>i(t.modelValue-1))},[Ur(Te(fu),{icon:"caret-left",class:q(t.$style.icon)},null,8,["class"])],2)),[[n,!s.value]]),r.value?(jr(!0),Rr(Tr,{key:0},ki(o.value,t=>(jr(),Rr("li",Jr({key:t},c(t),{onClick:e=>i(t)}),J(t),17,uf))),128)):(jr(),Rr(Tr,{key:1},[Hr("li",Jr(c(1),{onClick:e[1]||(e[1]=t=>i(1))})," 1 ",16),t.modelValue>t.windowSize?(jr(),Rr("li",{key:0,class:q(Te(l).navItem)}," ... ",2)):Yr("",!0),(jr(!0),Rr(Tr,null,ki(o.value,t=>(jr(),Rr("li",Jr({key:t},c(t),{onClick:e=>i(t)}),J(t),17,hf))),128)),t.modelValue<=t.total-t.windowSize?(jr(),Rr("li",{key:1,class:q(Te(l).navItem)}," ... ",2)):Yr("",!0),Hr("li",Jr(c(t.total),{onClick:e[2]||(e[2]=e=>i(t.total))}),J(t.total),17)],64)),_n((jr(),Rr("li",{class:q(t.$style.navigationRight),onClick:e[3]||(e[3]=e=>i(t.modelValue+1))},[Ur(Te(fu),{icon:"caret-right",class:q(t.$style.icon)},null,8,["class"])],2)),[[n,!a.value]])],2)],2)),[[n,t.total<=1]])}}}),pf=hu(df,[["__cssModules",{$style:{root:"_root_5yb23_1",nav:"_nav_5yb23_5",navItem:"_navItem_5yb23_12",page:"_page_5yb23_13",active:"_active_5yb23_22",navigation:"_navigation_5yb23_26",navigationLeft:"_navigationLeft_5yb23_27",navigationRight:"_navigationRight_5yb23_28",icon:"_icon_5yb23_40"}}]]),ff=Un({__name:"stack",props:{align:{},columnGap:{},direction:{default:"column"},gap:{default:"5"},justify:{},rowGap:{},wrap:{default:"wrap"}},setup(t){const e=t,n=ms(),i=_o(()=>{const t=[n.root,n[e.direction],n[e.wrap]];return e.align&&t.push(n[e.align]),e.justify&&t.push(n[e.justify]),t}),r=_o(()=>e.columnGap??(e.direction.includes("row")&&e.gap)),o=_o(()=>e.rowGap??(!e.direction.includes("row")&&e.gap)),s=_o(()=>({"--stack-row-gap":4*Number(o.value)+"px","--stack-column-gap":4*Number(r.value)+"px"}));return(t,e)=>(jr(),Rr("div",{class:q(i.value),style:z(s.value)},[Oi(t.$slots,"default")],6))}}),gf=hu(ff,[["__cssModules",{$style:{root:"_root_1janq_1","flex-start":"_flex-start_1janq_6","flex-end":"_flex-end_1janq_9",center:"_center_1janq_12","space-between":"_space-between_1janq_15","space-around":"_space-around_1janq_18",stretch:"_stretch_1janq_21","space-evenly":"_space-evenly_1janq_24",row:"_row_1janq_27","row-reverse":"_row-reverse_1janq_30",column:"_column_1janq_33","column-reverse":"_column-reverse_1janq_36",start:"_start_1janq_42",end:"_end_1janq_45",left:"_left_1janq_54",right:"_right_1janq_57",normal:"_normal_1janq_60","spacing-column-1":"_spacing-column-1_1janq_75","spacing-row-1":"_spacing-row-1_1janq_78","spacing-column-2":"_spacing-column-2_1janq_81","spacing-row-2":"_spacing-row-2_1janq_84","spacing-column-3":"_spacing-column-3_1janq_87","spacing-row-3":"_spacing-row-3_1janq_90","spacing-column-4":"_spacing-column-4_1janq_93","spacing-row-4":"_spacing-row-4_1janq_96","spacing-column-5":"_spacing-column-5_1janq_99","spacing-row-5":"_spacing-row-5_1janq_102","spacing-column-6":"_spacing-column-6_1janq_105","spacing-row-6":"_spacing-row-6_1janq_108","spacing-column-7":"_spacing-column-7_1janq_111","spacing-row-7":"_spacing-row-7_1janq_114","spacing-column-8":"_spacing-column-8_1janq_117","spacing-row-8":"_spacing-row-8_1janq_120",wrap:"_wrap_1janq_123","wrap-reverse":"_wrap-reverse_1janq_126",nowrap:"_nowrap_1janq_129"}}]]),mf=(Boolean,Symbol("active-tab"),Boolean,Un({__name:"title",setup:t=>(t,e)=>(jr(),Br(Te(Wp),{as:"h2",size:"md"},{default:bn(()=>[Oi(t.$slots,"default")]),_:3}))})),vf=Un({__name:"label",props:{description:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0}},setup:t=>(e,n)=>(jr(),Rr("label",{class:q(e.$style.label)},[Hr("span",{class:q(e.$style.labelText)},[Oi(e.$slots,"label",{},()=>[Oi(e.$slots,"default")])],2),t.required?(jr(),Rr("span",{key:0,class:q(e.$style.labelRequired)},"(REQUIRED)",2)):Yr("",!0),t.description?(jr(),Br(Fh,{key:1,arrow:"",hover:"",placement:"top"},{tooltip:bn(()=>[Xr(J(t.description),1)]),default:bn(()=>[Ur(Te(fu),{icon:"circle-exclamation",class:q(e.$style.description)},null,8,["class"])]),_:1})):Yr("",!0)],2))}),yf=hu(vf,[["__cssModules",{$style:{description:"_description_14dok_1",label:"_label_14dok_6",labelText:"_labelText_14dok_14",labelRequired:"_labelRequired_14dok_21"}}]]),bf={message:"_message_1qafl_1",messages:"_messages_1qafl_5",help:"_help_1qafl_15",inputControl:"_inputControl_1qafl_18",focused:"_focused_1qafl_33",inputHide:"_inputHide_1qafl_65",inner:"_inner_1qafl_75",formSpan:"_formSpan_1qafl_79"};function _f(t,e){const n=t[e];return"string"==typeof n?{[n]:!0}:n}function xf(t,e){const n={...e};return Object.keys(t).forEach(e=>{const i=_f(n,e),r=_f(t,e);n[e]={...i,...r}}),n}function wf(t){if(!t)return{};const e={};return"string"==typeof t?(e["--mobile-form-span"]="12",e["--form-span"]=e["--medium-form-span"]=e["--small-form-span"]=t):(e["--mobile-form-span"]=t.mobile||"12",e["--small-form-span"]=t.small||e["--mobile-form-span"],e["--medium-form-span"]=t.medium||e["--small-form-span"],e["--form-span"]=t.large||e["--medium-form-span"]),e}const Sf=Symbol("is_form"),kf=hu(Un({__name:"fieldset",props:{gap:{default:"5"},inline:{type:Boolean},label:{},legend:{},rowGap:{},span:{}},setup:t=>(wn(Sf,!0),(t,e)=>(jr(),Rr("fieldset",{class:q([t.$style.fieldset,Te(bf).formSpan]),style:z(Te(wf)(t.span))},[t.legend?(jr(),Rr("legend",{key:0,class:q(t.$style.legend)},J(t.legend),3)):Yr("",!0),t.label?(jr(),Br(yf,{key:1,class:q(t.$style.label)},{default:bn(()=>[Xr(J(t.label),1)]),_:1},8,["class"])):Yr("",!0),Ur(Te(gf),{gap:t.gap,direction:t.inline?"row":"column","row-gap":t.rowGap||(t.inline?"5":void 0)},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["gap","direction","row-gap"])],6)))}),[["__cssModules",{$style:{fieldset:"_fieldset_1fcft_1",legend:"_legend_1fcft_6",label:"_label_1fcft_10"}}]]),Cf=hu(Un({__name:"form-actions",props:{variant:{default:"standard"}},setup:t=>(t,e)=>(jr(),Rr(Tr,null,["plain"!==t.variant?(jr(),Br(xi("standard"===t.variant?Te(Up):"div"),{key:0,class:q(t.$style.hr)},null,8,["class"])):Yr("",!0),Ur(Te(gf),Jr(t.$attrs,{class:t.$style[t.variant],gap:"2",direction:"row",wrap:"nowrap"}),{default:bn(()=>[Hr("div",{class:q(t.$style.spacer)},null,2),Oi(t.$slots,"default",{},()=>[Ur(Te(mu),{type:"submit",severity:"primary"},{default:bn(()=>[Xr(" Save ")]),_:1})])]),_:3},16,["class"])],64))}),[["__cssModules",{$style:{hr:"_hr_10l8x_1",padding:"_padding_10l8x_4",standard:"_standard_10l8x_5",filled:"_filled_10l8x_6",spacer:"_spacer_10l8x_12"}}]]),Of=Un({__name:"form",props:{actions:{type:[Boolean,String],default:!0},config:{},formRef:{},errors:{},inline:{type:Boolean},legend:{},modelValue:{},onSubmit:{},onSubmitInvalid:{},"onUpdate:modelValue":{}},setup(t){const e=t,n=async(t,n)=>{var i;const r=await(null==(i=e.onSubmit)?void 0:i.call(e,t,n));r&&(null!=r&&r.errors?null==n||n.setErrors(r.errors):null==n||n.reset(null==r?void 0:r.values))};return(t,i)=>{const r=bi("FormKit");return jr(),Br(r,Jr({ref:e=>{var n;return null==(n=t.formRef)?void 0:n.call(t,e)},type:"form",actions:!1,config:t.config,"incomplete-message":!1,errors:t.errors,"model-value":t.modelValue,novalidate:""},Ti({submit:n}),{onSubmitInvalid:t.onSubmitInvalid,"onUpdate:modelValue":e["onUpdate:modelValue"]}),{default:bn(e=>[Ur(kf,{legend:t.legend,inline:t.inline},{default:bn(()=>[Oi(t.$slots,"default",G(qr(e)))]),_:2},1032,["legend","inline"]),t.actions?(jr(),Br(Cf,{key:0,variant:"string"==typeof t.actions?t.actions:"standard"},{default:bn(()=>[Oi(t.$slots,"actions",G(qr(e)))]),_:2},1032,["variant"])):Yr("",!0)]),_:3},16,["config","errors","model-value","onSubmitInvalid","onUpdate:modelValue"])}}}),Af=(Boolean,Boolean,{classes:{type:Object,required:!1},description:{type:String,required:!1},disabled:{type:[Boolean,String],required:!1},errors:{type:Array,required:!1},help:{type:String,required:!1},ignore:{type:Boolean,required:!1},id:{type:String,required:!1,default:({name:t})=>t?`input_${t}`:void 0},label:{type:String,required:!1,default:({name:t})=>su.startCase(t)},modelValue:{required:!1},name:{type:String,required:!1},onInput:{type:[Function,Array],required:!1},"onUpdate:modelValue":{type:[Function,Array],required:!1},prefix:{type:String,required:!1},preserve:{type:Boolean,required:!1,default:!1},prefixIcon:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0},span:{type:[String,Object],required:!1,default:()=>Sn(Sf,!1)?{mobile:"12",small:"6"}:void 0},suffix:{type:String,required:!1},suffixIcon:{type:String,required:!1},validation:{type:String,required:!1},validationLabel:{type:[String,Function],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1}}),Tf=(Boolean,Un({__name:"field",props:{...Af,sectionsSchema:{type:Object,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=_o(()=>e.required?function(...t){return t.filter(Boolean).join("|")}("required",e.validation):e.validation),i=_e(yf),r=_o(()=>({outer:{attrs:{style:wf(e.span)}},label:{$el:"div",if:"$label || $description || $required",children:[{$cmp:i,children:"$label",props:{description:"$description",required:"$required",for:"$id"}}]},...e.sectionsSchema})),o=t=>{t.addProps(["description","required"])};return(i,s)=>{const a=bi("FormKit");return jr(),Br(a,Jr({id:i.id,classes:Te(xf)({outer:i.$attrs.class},i.classes),description:i.description,disabled:i.disabled||void 0,errors:i.errors,help:i.help,ignore:i.ignore,label:i.label,"model-value":i.modelValue,name:i.name,"outer-class":i.span&&Te(bf).formSpan,preserve:i.preserve,plugins:[o],required:i.required,"sections-schema":r.value,type:t.type,validation:n.value,"validation-label":i.validationLabel,"validation-messages":i.validationMessages,"validation-rules":i.validationRules,"onUpdate:modelValue":e["onUpdate:modelValue"]},Ti({input:i.onInput})),Ci({_:2},[ki(i.$slots,(t,e)=>({name:e,fn:bn(t=>[Oi(i.$slots,e,G(qr(t)))])})),i.$slots.label?{name:"label",fn:bn(t=>[Ur(yf,{for:i.id,description:i.description,required:i.required},{default:bn(()=>[Oi(i.$slots,"label",G(qr(t)))]),_:2},1032,["for","description","required"])]),key:"0"}:void 0,i.$slots.help?{name:"help",fn:bn(t=>[Hr("div",{class:q(i.$style.help)},[Oi(i.$slots,"help",G(qr(t)))],2)]),key:"1"}:void 0]),1040,["id","classes","description","disabled","errors","help","ignore","label","model-value","name","outer-class","preserve","plugins","required","sections-schema","type","validation","validation-label","validation-messages","validation-rules","onUpdate:modelValue"])}}})),Pf=hu(Tf,[["__cssModules",{$style:{help:"_help_l44b4_1"}}]]),Ef=["for"],Mf=["for"],Lf=Un({__name:"input",props:{...Af,placeholder:{type:String,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=ke(!1);return(t,i)=>(jr(),Br(Pf,Jr(e,{classes:Te(xf)({inner:{[t.$style.input]:!0,[Te(bf).inputControl]:!0,[Te(bf).focused]:n.value},input:Te(bf).inputHide},t.classes),onFocus:i[0]||(i[0]=t=>n.value=!0),onBlur:i[1]||(i[1]=t=>n.value=!1)}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])})),t.$slots.prefix||t.prefix||t.prefixIcon?{name:"prefix",fn:bn(e=>[Hr("label",{for:t.id,class:q(t.$style.prefix)},[t.prefixIcon?(jr(),Br(Te(fu),{key:0,icon:t.prefixIcon},null,8,["icon"])):Yr("",!0),Oi(t.$slots,"prefix",G(qr(e)),()=>[Xr(J(t.prefix),1)])],10,Ef)]),key:"0"}:void 0,t.$slots.suffix||t.suffix||t.suffixIcon?{name:"suffix",fn:bn(e=>[Hr("label",{for:t.id,class:q(t.$style.suffix)},[t.suffixIcon?(jr(),Br(Te(fu),{key:0,icon:t.suffixIcon},null,8,["icon"])):Yr("",!0),Oi(t.$slots,"suffix",G(qr(e)),()=>[Xr(J(t.suffix),1)])],10,Mf)]),key:"1"}:void 0]),1040,["classes"]))}}),$f=hu(Lf,[["__cssModules",{$style:{input:"_input_1rnut_1",prefixSuffix:"_prefixSuffix_1rnut_4",prefix:"_prefix_1rnut_4",suffix:"_suffix_1rnut_6"}}]]);function jf(){return Math.random().toString(36).substring(2,15)}function Df(t,e){return[...t instanceof Set?t:new Set(t)]}function If(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Nf(t,e,n=!0,i=["__key"]){if(t===e)return!0;if("object"==typeof e&&"object"==typeof t){if(t instanceof Map||t instanceof Set||t instanceof Date||null===t||null===e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n of i)if((n in t||n in e)&&t[n]!==e[n])return!1;for(const r in t)if(!(r in e)||t[r]!==e[r]&&!n||n&&!Nf(t[r],e[r],n,i))return!1;return!0}return!1}function Rf(t){const e=typeof t;if("number"===e)return!1;if(void 0===t)return!0;if("string"===e)return""===t;if("object"===e){if(null===t)return!0;for(const e in t)return!1;return!(t instanceof RegExp||t instanceof Date)}return!1}function Bf(t){return"[object Object]"===Object.prototype.toString.call(t)}function Vf(t){return Bf(t)||Array.isArray(t)}function zf(t){if(!1===Bf(t)||t.__FKNode__||!1===t.__POJO__)return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!(!1===Bf(n)||!1===n.hasOwnProperty("isPrototypeOf"))}function Ff(t,e,n=!1,i=!1){if(null===e)return null;const r={};if("string"==typeof e)return e;for(const o in t)if(!If(e,o)||void 0===e[o]&&i)r[o]=t[o];else{if(n&&Array.isArray(t[o])&&Array.isArray(e[o])){r[o]=t[o].concat(e[o]);continue}if(void 0===e[o])continue;zf(t[o])&&zf(e[o])?r[o]=Ff(t[o],e[o],n,i):r[o]=e[o]}for(const t in e)!If(r,t)&&void 0!==e[t]&&(r[t]=e[t]);return r}function Wf(...t){return t.reduce((t,e)=>{const{value:n,name:i,modelValue:r,config:o,plugins:s,...a}=e;return Object.assign(t,a)},{})}function Hf(t,e){const n={},i=e.filter(t=>t instanceof RegExp),r=new Set(e);for(const e in t)!r.has(e)&&!i.some(t=>t.test(e))&&(n[e]=t[e]);return n}function Uf(t,e){const n={},i=e.filter(t=>t instanceof RegExp);return e.forEach(e=>{e instanceof RegExp||(n[e]=t[e])}),Object.keys(t).forEach(e=>{i.some(t=>t.test(e))&&(n[e]=t[e])}),n}function qf(t){return t.replace(/-([a-z0-9])/gi,(t,e)=>e.toUpperCase())}function Gf(t){return t.replace(/([a-z0-9])([A-Z])/g,(t,e,n)=>e+"-"+n.toLowerCase()).replace(" ","-").toLowerCase()}function Xf(t,e=["__key","__init"]){if(null===t||t instanceof RegExp||t instanceof Date||t instanceof Map||t instanceof Set||"function"==typeof File&&t instanceof File)return t;let n;n=Array.isArray(t)?t.map(t=>"object"==typeof t?Xf(t,e):t):Object.keys(t).reduce((n,i)=>(n[i]="object"==typeof t[i]?Xf(t[i],e):t[i],n),{});for(const i of e)i in t&&Object.defineProperty(n,i,{enumerable:!1,value:t[i]});return n}function Yf(t){return"object"==typeof t?Xf(t):t}function Kf(t){return void 0!==t&&"false"!==t&&!1!==t||void 0}function Zf(t){return Object.isFrozen(t)?t:Object.defineProperty(t,"__init",{enumerable:!1,value:!0})}function Qf(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]/g," ").trim().replace(/\s+/g,"-")}function Jf(){const t=[];let e=0;const n=e=>t.push(e),i=n=>{const r=t[e];return"function"==typeof r?r(n,t=>(e++,i(void 0===t?n:t))):(e=0,n)};return n.dispatch=i,n.unshift=e=>t.unshift(e),n.remove=e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},n}function tg(){const t=new Map,e=new Map;let n;const i=(e,i)=>{n?n.set(i.name,[e,i]):(t.has(i.name)&&t.get(i.name).forEach(t=>{(i.origin===e||t.modifiers.includes("deep"))&&t.listener(i)}),i.bubble&&e.bubble(i))};return i.on=(n,i)=>{const[r,...o]=n.split("."),s=i.receipt||jf(),a={modifiers:o,event:r,listener:i,receipt:s};return t.has(r)?t.get(r).push(a):t.set(r,[a]),e.has(s)?e.get(s).push(r):e.set(s,[r]),s},i.off=n=>{var i;e.has(n)&&(null===(i=e.get(n))||void 0===i||i.forEach(e=>{const i=t.get(e);Array.isArray(i)&&t.set(e,i.filter(t=>t.receipt!==n))}),e.delete(n))},i.pause=t=>{n||(n=new Map),t&&t.walk(t=>t._e.pause())},i.play=t=>{if(!n)return;const e=n;n=void 0,e.forEach(([t,e])=>i(t,e)),t&&t.walk(t=>t._e.play())},i}Boolean;const eg=Jf();eg((t,e)=>(t.message||(t.message=`E${t.code}`),e(t)));const ng=Jf();function ig(t,e={}){ng.dispatch({code:t,data:e})}function rg(t,e={}){throw Error(eg.dispatch({code:t,data:e}).message)}function og(t,e){return{blocking:!1,key:jf(),meta:{},type:"state",visible:!0,...t}}ng((t,e)=>{t.message||(t.message=`W${t.code}`);const n=e(t);return console&&"function"==typeof console.warn&&console.warn(n.message),n});const sg={apply:function(t,e,n,i,r){if(Array.isArray(i)){if(e.buffer)return void e._b.push([i,r]);const t=new Set(i.map(t=>(e.set(t),t.key)));"string"==typeof r?e.filter(e=>e.type!==r||t.has(e.key)):"function"==typeof r&&e.filter(e=>!r(e)||t.has(e.key))}else for(const t in i){const o=n.at(t);o?o.store.apply(i[t],r):cg(n,e,t,i[t],r)}},set:function(t,e,n,i){if(e.buffer)return e._b.push([[i]]),e;if(t[i.key]!==i){if("string"==typeof i.value&&!1!==i.meta.localize){const t=i.value;i.value=n.t(i),i.value!==t&&(i.meta.locale=n.props.locale)}const e="message-"+(If(t,i.key)?"updated":"added");t[i.key]=Object.freeze(n.hook.message.dispatch(i)),n.emit(e,i)}return e},remove:lg,filter:function(t,e,n,i,r){for(const o in t){const s=t[o];(!r||s.type===r)&&!i(s)&&lg(t,e,n,o)}},reduce:function(t,e,n,i,r){for(const e in t)r=i(r,t[e]);return r},release:function(t,e){e.buffer=!1,e._b.forEach(([t,n])=>e.apply(t,n)),e._b=[]},touch:function(t,e){for(const n in t){const i={...t[n]};e.set(i)}}};function ag(t=!1){const e={};let n,i=t,r=[];const o=new Map;let s;const a=new Proxy(e,{get(...t){const[l,c]=t;return"buffer"===c?i:"_b"===c?r:"_m"===c?o:"_r"===c?s:If(sg,c)?sg[c].bind(null,e,a,n):Reflect.get(...t)},set:(t,e,o)=>"_n"===e?(n=o,"__n"===s&&ug(n,a),!0):"_b"===e?(r=o,!0):"buffer"===e?(i=o,!0):"_r"===e?(s=o,!0):(rg(101,n),!1)});return a}function lg(t,e,n,i){if(If(t,i)){const e=t[i];delete t[i],n.emit("message-removed",e)}return!0===e.buffer&&(e._b=e._b.filter(t=>(t[0]=t[0].filter(t=>t.key!==i),t[1]||t[0].length))),e}function cg(t,e,n,i,r){var o;const s=e._m;s.has(n)||s.set(n,[]),e._r||(e._r=ug(t,e)),null===(o=s.get(n))||void 0===o||o.push([i,r])}function ug(t,e){return t.on("child.deep",({payload:n})=>{e._m.forEach((i,r)=>{t.at(r)===n&&(i.forEach(([t,e])=>{n.store.apply(t,e)}),e._m.delete(r))}),0===e._m.size&&e._r&&(t.off(e._r),e._r=void 0)})}function hg(){const t={};let e;return{count:(...n)=>function(t,e,n,i,r=0){if(i=function(t){return"function"==typeof t?t:e=>e.type===t}(i||n),!If(e,n)){const o={condition:i,count:0,name:n,node:t,promise:Promise.resolve(),resolve:()=>{}};e[n]=o,r=t.store.reduce((t,e)=>t+1*o.condition(e),r),t.each(t=>{t.ledger.count(o.name,o.condition),r+=t.ledger.value(o.name)})}return dg(e[n],r).promise}(e,t,...n),init(n){e=n,n.on("message-added.deep",pg(t,1)),n.on("message-removed.deep",pg(t,-1))},merge:n=>fg(e,t,n),settled:e=>If(t,e)?t[e].promise:Promise.resolve(),unmerge:n=>fg(e,t,n,!0),value:e=>If(t,e)?t[e].count:0}}function dg(t,e){const n=t.count,i=t.count+e;return t.count=i,0===n&&0!==i?(t.node.emit(`unsettled:${t.name}`,t.count,!1),t.promise=new Promise(e=>t.resolve=e)):0!==n&&0===i&&(t.node.emit(`settled:${t.name}`,t.count,!1),t.resolve()),t.node.emit(`count:${t.name}`,t.count,!1),t}function pg(t,e){return n=>{for(const i in t){const r=t[i];r.condition(n.payload)&&dg(r,e)}}}function fg(t,e,n,i=!1){for(const r in e){const o=e[r].condition;i||n.ledger.count(r,o);const s=n.ledger.value(r)*(i?-1:1);if(t)do{t.ledger.count(r,o,s),t=t.parent}while(t)}}const gg=new Map,mg=new Map,vg=tg(),yg=[];function bg(t){return gg.get(t)}function _g(t,e,n){let i=!0;return e in t.config._t?i=!1:t.emit(`config:${e}`,n,!1),e in t.props||(t.emit("prop",{prop:e,value:n}),t.emit(`prop:${e}`,n)),i}function xg(t){const e=document.getElementById(t);if(e instanceof HTMLFormElement){const t=new Event("submit",{cancelable:!0,bubbles:!0});return void e.dispatchEvent(t)}ig(151,t)}function wg(t,e){const n="string"==typeof t?bg(t):t;if(n){const t=t=>Yf(t.props.initial)||("group"===t.type?{}:"list"===t.type?[]:void 0);n._e.pause(n),n.input(Yf(e)||t(n),!1),n.walk(e=>e.input(t(e),!1));const i=t(n);return n.input("object"==typeof i?Yf(e)||Zf(i):i,!1),n._e.play(n),function(t){const e=t=>{for(const e in t.store){const n=t.store[e];"error"===n.type||"ui"===n.type&&"incomplete"===e?t.store.remove(e):"state"===n.type&&t.store.set({...n,value:!1})}};e(t),t.walk(e)}(n),n.emit("reset",n),n}ig(152,t)}const Sg={delimiter:".",delay:0,locale:"en",rootClasses:t=>({[`formkit-${Gf(t)}`]:!0})},kg=Symbol("index"),Cg=Symbol("removed"),Og=Symbol("moved"),Ag=Symbol("inserted");function Tg(t){return t&&"object"==typeof t&&!0===t.__FKNode__}const Pg=(t,e,n)=>{rg(102,[t,n])},Eg={_c:Mg(function(t,e){return e},Pg,!1),add:Mg(function(t,e,n,i){if("input"===t.type&&rg(100,t),n.parent&&n.parent!==t&&n.parent.remove(n),e.children.includes(n)||(void 0!==i&&"list"===t.type?(e.children.splice(i,0,n),Array.isArray(t.value)&&t.value.length<e.children.length&&t.disturb().calm({name:i,value:n.value,from:Ag})):e.children.push(n),n.isSettled||t.disturb()),n.parent!==t){if(n.parent=t,n.parent!==t)return t.remove(n),n.parent.add(n),t}else n.use(t.plugins);return Rg(t,e,!1),t.ledger.merge(n),t.emit("child",n),t}),addProps:Mg(function(t,e,n){var i;if(t.props.attrs){const r={...t.props.attrs};t.props._emit=!1;for(const e in r){const i=qf(e);n.includes(i)&&(t.props[i]=r[e],delete r[e])}const o=Yf(e._value);t.props.initial="input"!==t.type?Zf(o):o,t.props._emit=!0,t.props.attrs=r,t.props.definition&&(t.props.definition.props=[...(null===(i=t.props.definition)||void 0===i?void 0:i.props)||[],...n])}return t.emit("added-props",n),t}),address:Mg(function(t,e){return e.parent?e.parent.address.concat([t.name]):[t.name]},Pg,!1),at:Mg(function(t,e,n){const i="string"==typeof n?n.split(t.config.delimiter):n;if(!i.length)return;const r=i[0];let o=t.parent;for(o||(String(i[0])===String(t.name)&&i.shift(),o=t),"$parent"===r&&i.shift();o&&i.length;){const e=i.shift();switch(e){case"$root":o=t.root;break;case"$parent":o=o.parent;break;case"$self":o=t;break;default:o=o.children.find(t=>String(t.name)===String(e))||zg(o,e)}}return o||void 0}),bubble:Mg(function(t,e,n){return Tg(t.parent)&&t.parent._e(t.parent,n),t}),clearErrors:Mg(function(t,e,n=!0,i){return Wg(t,0,[]),n&&(i=i||`${t.name}-set`,t.walk(t=>{t.store.filter(t=>!("error"===t.type&&t.meta&&t.meta.source===i))})),t}),calm:Mg(function(t,e,n){var i;if(void 0!==n&&"input"!==t.type)return Bg(e,n),Rg(t,e,!0,!1);e._d>0&&e._d--,0===e._d&&(e.isSettled=!0,t.emit("settled",!0,!1),t.parent&&(null===(i=t.parent)||void 0===i||i.calm({name:t.name,value:e.value})),e._resolve&&e._resolve(e.value))}),config:Mg(!1),define:Mg(function(t,e,n){e.type=n.type,e.props.definition=Xf(n),e.value=e._value=Ig({type:t.type,value:e.value}),n.forceTypeProp&&(t.props.type&&(t.props.originalType=t.props.type),e.props.type=n.forceTypeProp),n.family&&(e.props.family=n.family),n.features&&n.features.forEach(e=>e(t)),n.props&&t.addProps(n.props),t.emit("defined",n)}),disturb:Mg(function(t,e){var n;return e._d<=0&&(e.isSettled=!1,t.emit("settled",!1,!1),e.settled=new Promise(t=>{e._resolve=t}),t.parent&&(null===(n=t.parent)||void 0===n||n.disturb())),e._d++,t}),destroy:Mg(function(t,e){t.emit("destroying",t),t.store.filter(()=>!1),t.parent&&t.parent.remove(t),function(t){if(mg.has(t)){const e=mg.get(t);mg.delete(t),gg.delete(e),vg(t,{payload:null,name:e,bubble:!1,origin:t})}}(t),e._value=e.value=void 0,t.emit("destroyed",t)}),hydrate:Mg(function(t,e){const n=e._value;return e.children.forEach(i=>{if("object"==typeof n)if(i.name in n){const t="input"!==i.type||n[i.name]&&"object"==typeof n[i.name]?Zf(n[i.name]):n[i.name];i.input(t,!1)}else("list"!==t.type||"number"==typeof i.name)&&Bg(e,{name:i.name,value:i.value}),n.__init||("group"===i.type?i.input({},!1):"list"===i.type?i.input([],!1):i.input(void 0,!1))}),t}),index:Mg(function(t){if(t.parent){const e=[...t.parent.children].indexOf(t);return-1===e?t.parent.children.length:e}return-1},function(t,e,n,i){if(Tg(t.parent)){const e=t.parent.children,n=i>=e.length?e.length-1:i<0?0:i,r=e.indexOf(t);return-1!==r&&(e.splice(r,1),e.splice(n,0,t),t.parent.children=e,"list"===t.parent.type&&t.parent.disturb().calm({name:n,value:Og,from:r}),!0)}return!1},!1),input:Mg(Ng),each:Mg(function(t,e,n){e.children.forEach(t=>n(t))}),emit:Mg(function(t,e,n,i,r=!0){return e._e(t,{payload:i,name:n,bubble:r,origin:t}),t}),find:Mg(function(t,e,n,i){return function(t,e,n="name"){const i="string"==typeof n?t=>t[n]==e:n,r=[t];for(;r.length;){const t=r.shift();if(i(t,e))return t;r.push(...t.children)}}(t,n,i)}),on:Mg(function(t,e,n,i){return e._e.on(n,i)}),off:Mg(function(t,e,n){return e._e.off(n),t}),parent:Mg(!1,function(t,e,n,i){return Tg(i)?(t.parent&&t.parent!==i&&t.parent.remove(t),e.parent=i,t.resetConfig(),i.children.includes(t)?t.use(i.plugins):i.add(t),!0):null===i&&(e.parent=null,!0)}),plugins:Mg(!1),remove:Mg(function(t,e,n){const i=e.children.indexOf(n);if(-1!==i){n.isSettled&&t.disturb(),e.children.splice(i,1);let r=Kf(n.props.preserve),o=n.parent;for(;void 0===r&&o;)r=Kf(o.props.preserve),o=o.parent;r?t.calm():t.calm({name:"list"===t.type?i:n.name,value:Cg}),n.parent=null,n.config._rmn=n}return t.ledger.unmerge(n),t}),root:Mg(function(t){let e=t;for(;e.parent;)e=e.parent;return e},Pg,!1),reset:Mg(function(t,e,n){return wg(t,n)}),resetConfig:Mg(function(t,e){const n=t.parent||void 0;e.config=Fg(t.config._t,n),t.walk(t=>t.resetConfig())}),setErrors:Mg(Wg),submit:Mg(function(t){const e=t.name;do{if(!0===t.props.isForm)break;t.parent||rg(106,e),t=t.parent}while(t);t.props.id&&xg(t.props.id)}),t:Mg(function(t,e,n,i="ui"){const r="string"==typeof n?{key:n,value:n,type:i}:n,o=t.hook.text.dispatch(r);return t.emit("text",o,!1),o.value}),use:Mg(Vg),name:Mg(function(t,e){var n;return"list"===(null===(n=t.parent)||void 0===n?void 0:n.type)?t.index:e.name!==kg?e.name:t.index},!1,!1),walk:Mg(function(t,e,n,i=!1){e.children.forEach(t=>{(!1!==n(t)||!i)&&t.walk(n)})})};function Mg(t,e,n=!0){return{get:!!t&&((e,i)=>n?(...n)=>t(e,i,...n):t(e,i)),set:void 0!==e?e:Pg.bind(null)}}function Lg(){const t=new Map;return new Proxy(t,{get:(e,n)=>(t.has(n)||t.set(n,Jf()),t.get(n))})}let $g=0,jg=0;function Dg(t){var e,n;return"list"===(null===(e=t.parent)||void 0===e?void 0:e.type)?kg:t.name||`${(null===(n=t.props)||void 0===n?void 0:n.type)||"input"}_${++$g}`}function Ig(t){return"group"===t.type?Zf(t.value&&"object"==typeof t.value&&!Array.isArray(t.value)?t.value:{}):"list"===t.type?Zf(Array.isArray(t.value)?t.value:[]):null===t.value?"":t.value}function Ng(t,e,n,i=!0){return e._value=function(t,e){switch(t.type){case"input":break;case"group":(!e||"object"!=typeof e)&&rg(107,[t,e]);break;case"list":Array.isArray(e)||rg(108,[t,e])}return e}(t,t.hook.input.dispatch(n)),t.emit("input",e._value),e.isSettled&&t.disturb(),i?(e._tmo&&clearTimeout(e._tmo),e._tmo=setTimeout(Rg,t.props.delay,t,e)):Rg(t,e),e.settled}function Rg(t,e,n=!0,i=!0){e._value=e.value=t.hook.commit.dispatch(e._value),"input"!==t.type&&i&&t.hydrate(),t.emit("commit",e.value),n&&t.calm()}function Bg(t,{name:e,value:n,from:i}){if(!Object.isFrozen(t._value)){if(function(t){return"list"===t.type&&Array.isArray(t._value)}(t)){const r=n===Cg?[]:n===Og&&"number"==typeof i?t._value.splice(i,1):[n];return void t._value.splice(e,n===Og||i===Ag?0:1,...r)}n!==Cg?t._value[e]=n:delete t._value[e]}}function Vg(t,e,n,i=!0,r=!0){return Array.isArray(n)||n instanceof Set?(n.forEach(n=>Vg(t,e,n)),t):(e.plugins.has(n)||(r&&"function"==typeof n.library&&n.library(t),i&&!1!==n(t)&&(e.plugins.add(n),t.children.forEach(t=>t.use(n)))),t)}function zg(t,e){const n=String(e).match(/^(find)\((.*)\)$/);if(n){const[,e,i]=n,r=i.split(",").map(t=>t.trim());return"find"===e?t.find(r[0],r[1]):void 0}}function Fg(t={},e){let n;return new Proxy(t,{get(...i){const r=i[1];if("_t"===r)return t;const o=Reflect.get(...i);if(void 0!==o)return o;if(e){const t=e.config[r];if(void 0!==t)return t}if(t.rootConfig&&"string"==typeof r){const e=t.rootConfig[r];if(void 0!==e)return e}return"delay"===r&&"input"===(null==n?void 0:n.type)?20:Sg[r]},set(...e){const i=e[1],r=e[2];if("_n"===i)return n=r,t.rootConfig&&t.rootConfig._add(n),!0;if("_rmn"===i)return t.rootConfig&&t.rootConfig._rm(n),n=void 0,!0;if(!Nf(t[i],r,!1)){const t=Reflect.set(...e);return n&&(n.emit(`config:${i}`,r,!1),_g(n,i,r),n.walk(t=>_g(t,i,r),!0)),t}return!0}})}function Wg(t,e,n,i){const r=`${t.name}-set`,o=t.hook.setErrors.dispatch({localErrors:n,childErrors:i});return function(t,...e){const n=`${t.name}-set`,i=t=>og({key:Qf(t),type:"error",value:t,meta:{source:n,autoClear:!0}});return e.filter(t=>!!t).map(t=>{if("string"==typeof t&&(t=[t]),Array.isArray(t))return t.map(t=>i(t));{const e={};for(const n in t)Array.isArray(t[n])?e[n]=t[n].map(t=>i(t)):e[n]=[i(t[n])];return e}})}(t,o.localErrors,o.childErrors).forEach(e=>{t.store.apply(e,t=>t.meta.source===r)}),t}function Hg(t){const e={initial:"object"==typeof t?Yf(t):t};let n,i=!0;return new Proxy(e,{get(...t){const[i,r]=t;return If(e,r)?Reflect.get(...t):n&&"string"==typeof r&&void 0!==n.config[r]?n.config[r]:void 0},set(t,r,o,s){if("_n"===r)return n=o,!0;if("_emit"===r)return i=o,!0;const{prop:a,value:l}=n.hook.prop.dispatch({prop:r,value:o});if(!Nf(e[a],l,!1)||"object"==typeof l){const e=Reflect.set(t,a,l,s);return i&&(n.emit("prop",{prop:a,value:l}),"string"==typeof a&&n.emit(`prop:${a}`,l)),e}return!0}})}function Ug(t){const e=t||{},n=function(t){const e=Ig(t),n=Fg(t.config||{},t.parent);return{_d:0,_e:tg(),_resolve:!1,_tmo:!1,_value:e,children:Df(t.children||[]),config:n,hook:Lg(),isCreated:!1,isSettled:!0,ledger:hg(),name:Dg(t),parent:t.parent||null,plugins:new Set,props:Hg(e),settled:Promise.resolve(e),store:ag(!0),traps:new Map(Object.entries(Eg)),type:t.type||"input",value:e}}(e),i=new Proxy(n,{get(...t){const[,e]=t;if("__FKNode__"===e)return!0;const r=n.traps.get(e);return r&&r.get?r.get(i,n):Reflect.get(...t)},set(...t){const[,e,r]=t,o=n.traps.get(e);return o&&o.set?o.set(i,n,e,r):Reflect.set(...t)}});return function(t,e){var n;if(t.ledger.init(t.store._n=t.props._n=t.config._n=t),t.props._emit=!1,e.props&&Object.assign(t.props,e.props),t.props._emit=!0,function(t,e){if(t.props.definition)return t.define(t.props.definition);for(const n of e){if(t.props.definition)return;"function"==typeof n.library&&n.library(t)}}(t,new Set([...e.plugins||[],...t.parent?t.parent.plugins:[]])),e.plugins)for(const n of e.plugins)Vg(t,t._c,n,!0,!1);return function(t){If(t.props,"id")||(t.props.id="input_"+jg++)}(t),t.each(e=>t.add(e)),t.parent&&t.parent.add(t,e.index),"input"===t.type&&t.children.length&&rg(100,t),Ng(t,t._c,t._value,!1),t.store.release(),!(null===(n=e.props)||void 0===n)&&n.id&&function(t){t.props.id&&(gg.set(t.props.id,t),mg.set(t,t.props.id),vg(t,{payload:t,name:t.props.id,bubble:!1,origin:t}))}(t),t.emit("created",t),t.isCreated=!0,t}(i,e)}function qg(t){return"string"!=typeof t&&If(t,"$el")}function Gg(t){return"string"!=typeof t&&If(t,"$cmp")}function Xg(t){return!(!t||"string"==typeof t)&&If(t,"if")&&If(t,"then")}function Yg(t){let e;const n=new Set,i=function(t,e){return"function"==typeof t?t(e):t},r=[{"&&":(t,e,n)=>i(t,n)&&i(e,n),"||":(t,e,n)=>i(t,n)||i(e,n)},{"===":(t,e,n)=>i(t,n)===i(e,n),"!==":(t,e,n)=>i(t,n)!==i(e,n),"==":(t,e,n)=>i(t,n)==i(e,n),"!=":(t,e,n)=>i(t,n)!=i(e,n),">=":(t,e,n)=>i(t,n)>=i(e,n),"<=":(t,e,n)=>i(t,n)<=i(e,n),">":(t,e,n)=>i(t,n)>i(e,n),"<":(t,e,n)=>i(t,n)<i(e,n)},{"+":(t,e,n)=>i(t,n)+i(e,n),"-":(t,e,n)=>i(t,n)-i(e,n)},{"*":(t,e,n)=>i(t,n)*i(e,n),"/":(t,e,n)=>i(t,n)/i(e,n),"%":(t,e,n)=>i(t,n)%i(e,n)}],o=r.reduce((t,e)=>t.concat(Object.keys(e)),[]),s=new Set(o.map(t=>t.charAt(0)));function a(t,e,n,i){const r=t.filter(t=>t.startsWith(e));return!!r.length&&r.find(t=>i.length>=n+t.length&&i.substring(n,n+t.length)===t&&t)}function l(t,e,n=1){let i=n?e.substring(t+1).trim():e.substring(0,t).trim();if(!i.length)return-1;if(!n){const t=i.split("").reverse(),e=t.findIndex(t=>s.has(t));i=t.slice(e).join("")}const o=i[0];return r.findIndex(t=>!!a(Object.keys(t),o,0,i))}function c(t,e){let n="";const i=e.length;let r=0;for(let s=t;s<i;s++){const t=e.charAt(s);if("("===t)r++;else if(")"===t)r--;else if(0===r&&" "===t)continue;if(0===r&&a(o,t,s,e))return[n,s-1];n+=t}return[n,e.length-1]}function u(t,e=0){const n=r[e],i=t.length,o=Object.keys(n);let s,u=0,d=!1,p=null,f="",g=null,m="",v="",y="",b="",_=0;const x=(t,e)=>{t?y+=e:f+=e};for(let r=0;r<i;r++)if(m=v,v=t.charAt(r),"'"!==v&&'"'!==v||"\\"===m||!(0===u&&!d||u&&!b))if(d&&(v!==d||"\\"===m)||b&&(v!==b||"\\"===m))x(u,v);else if(d!==v)if(b!==v){if(" "!==v)if("("===v)0===u?_=r:y+=v,u++;else if(")"===v)if(u--,0===u){const n="string"==typeof f&&f.startsWith("$")?f:void 0,i=n&&"."===t.charAt(r+1);let o="";i&&([o,r]=c(r+2,t));const s=p?e:l(_,t,0),a=l(r,t);-1===s&&-1===a?f=h(y,-1,n,o):p&&(s>=a||-1===a)&&e===s?(g=p.bind(null,h(y,-1,n,o)),p=null,f=""):a>s&&e===a?f=h(y,-1,n,o):f+=`(${y})${i?`.${o}`:""}`,y=""}else y+=v;else{if(0===u&&(s=a(o,v,r,t))){0===r&&rg(103,[s,t]),r+=s.length-1,r===t.length-1&&rg(104,[s,t]),p?f&&(g=p.bind(null,h(f,e)),p=n[s].bind(null,g),f=""):g?(p=n[s].bind(null,h(g,e)),g=null):(p=n[s].bind(null,h(f,e)),f="");continue}x(u,v)}}else b=!1,x(u,v);else d=!1,x(u,v);else u?b=v:d=v,x(u,v);return f&&p&&(p=p.bind(null,h(f,e))),p=!p&&g?g:p,!p&&f&&(p=(t,e)=>"function"==typeof t?t(e):t,p=p.bind(null,h(f,e))),!p&&!f&&rg(105,t),p}function h(t,i,o,s){if(o){const n=h(o,r.length);let i,a=!!s&&Yg(`$${s}`);if("function"==typeof n){const r=function(t){const e=[];let n="",i=0,r="",o="";for(let s=0;s<t.length;s++){const a=t.charAt(s);a===r&&"\\"!==o?r="":"'"!==a&&'"'!==a||r||"\\"===o?"("!==a||r?")"===a&&!r&&i--:i++:r=a,","!==a||r||0!==i?(" "!==a||r)&&(n+=a):(e.push(n),n=""),o=a}return n&&e.push(n),e}(String(t)).map(t=>h(t,-1));return t=>{const l=n(t);return"function"!=typeof l?(ig(150,o),l):(i=l(...r.map(e=>"function"==typeof e?e(t):e)),a&&(a=a.provide(t=>{const n=e(t);return t.reduce((t,e)=>{if(e===s||(null==s?void 0:s.startsWith(`${e}(`))){const n=function(t,e){if(!t||"object"!=typeof t)return null;const n=e.split(".");let i=t;for(const t in n){const e=n[t];if(If(i,e)&&(i=i[e]),+t===n.length-1)return i;if(!i||"object"!=typeof i)return null}return null}(i,e);t[e]=()=>n}else t[e]=n[e];return t},{})})),a?a():i)}}}else if("string"==typeof t){if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if(function(t){if('"'!==t[0]&&"'"!==t[0]||t[0]!==t[t.length-1])return!1;const e=t[0];for(let n=1;n<t.length;n++)if(t[n]===e&&(1===n||"\\"!==t[n-1])&&n!==t.length-1)return!1;return!0}(t))return function(t){if(!t.length)return"";let e="",n="";for(let i=0;i<t.length;i++){const r=t.charAt(i);("\\"!==r||"\\"===n)&&(e+=r),n=r}return e}(t.substring(1,t.length-1));if(!isNaN(+t))return Number(t);if(i<r.length-1)return u(t,i+1);if(t.startsWith("$")){const e=t.substring(1);return n.add(e),function(t){return e in t?t[e]():void 0}}return t}return t}const d=u(t.startsWith("$:")?t.substring(2):t),p=Array.from(n);return Object.assign(d,{provide:function t(n){return e=n,Object.assign(d.bind(null,n(p)),{provide:t})}})}function Kg(t,e,n){return n?"string"==typeof n?n.split(" ").reduce((t,e)=>Object.assign(t,{[e]:!0}),{}):"function"==typeof n?Kg(t,e,n(e,t)):n:{}}function Zg(t,e,n){const i=bg(t);i?i.setErrors(e,n):ig(651,t)}function Qg(t,e=!0){const n=bg(t);n?n.clearErrors(e):ig(652,t)}const Jg="1.0.0-beta.10",tm=rv("outer",()=>({$el:"div",attrs:{key:"$id","data-family":"$family || undefined","data-type":"$type","data-multiple":'$attrs.multiple || ($type != "select" && $options != undefined) || undefined',"data-disabled":"$disabled || undefined","data-complete":"$state.complete || undefined","data-invalid":"$state.valid === false && $state.validationVisible || undefined","data-errors":"$state.errors || undefined","data-submitted":"$state.submitted || undefined","data-prefix-icon":"$_rawPrefixIcon !== undefined || undefined","data-suffix-icon":"$_rawSuffixIcon !== undefined || undefined","data-prefix-icon-click":"$onPrefixIconClick !== undefined || undefined","data-suffix-icon-click":"$onSuffixIconClick !== undefined || undefined"}}),!0),em=rv("inner","div"),nm=rv("wrapper","div"),im=rv("label",()=>({$el:"label",if:"$label",attrs:{for:"$id"}})),rm=rv("messages",()=>({$el:"ul",if:"$fns.length($messages)"})),om=rv("message",()=>({$el:"li",for:["message","$messages"],attrs:{key:"$message.key",id:"$id + '-' + $message.key","data-message-type":"$message.type"}})),sm=rv("prefix",null),am=rv("suffix",null),lm=rv("help",()=>({$el:"div",if:"$help",attrs:{id:'$: "help-" + $id'}})),cm=rv("fieldset",()=>({$el:"fieldset",attrs:{id:"$id","aria-describedby":{if:"$help",then:'$: "help-" + $id',else:void 0}}})),um=rv("decorator",()=>({$el:"span",attrs:{"aria-hidden":"true"}})),hm=rv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",name:"$node.props.altName || $node.name",disabled:"$option.attrs.disabled || $disabled",onInput:"$handlers.toggleChecked",checked:"$fns.eq($_value, $onValue)",onBlur:"$handlers.blur",value:"$: true",id:"$id","aria-describedby":{if:"$options.length",then:{if:"$option.help",then:'$: "help-" + $option.attrs.id',else:void 0},else:{if:"$help",then:'$: "help-" + $id',else:void 0}}}})),dm=rv("legend",()=>({$el:"legend",if:"$label"})),pm=rv("option",()=>({$el:"li",for:["option","$options"],attrs:{"data-disabled":"$option.attrs.disabled || $disabled"}})),fm=rv("options","ul"),gm=rv("wrapper",()=>({$el:"label",attrs:{"data-disabled":{if:"$options.length",then:void 0,else:"$disabled || undefined"}}})),mm=rv("optionHelp",()=>({$el:"div",if:"$option.help",attrs:{id:'$: "help-" + $option.attrs.id'}})),vm=rv("label","span"),ym=rv("input",()=>({$el:"button",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",id:"$id"}})),bm=rv("default",null),_m=rv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"file",disabled:"$disabled",name:"$node.name",onChange:"$handlers.files",onBlur:"$handlers.blur",id:"$id","aria-describedby":"$describedBy"}})),xm=rv("fileItem",()=>({$el:"li",for:["file","$value"]})),wm=rv("fileList",()=>({$el:"ul",if:"$value.length",attrs:{"data-has-multiple":{if:"$value.length > 1",then:"true"}}})),Sm=rv("fileName",()=>({$el:"span",attrs:{class:"$classes.fileName"}})),km=rv("fileRemove",()=>({$el:"button",attrs:{onClick:"$handlers.resetFiles"}})),Cm=rv("noFiles",()=>({$el:"span",if:"$value.length == 0"})),Om=rv("form",()=>({$el:"form",bind:"$attrs",attrs:{id:"$id",name:"$node.name",onSubmit:"$handlers.submit","data-loading":"$state.loading || undefined"}}),!0),Am=rv("actions",()=>({$el:"div",if:"$actions"})),Tm=rv("submit",()=>({$cmp:"FormKit",bind:"$submitAttrs",props:{ignore:!0,type:"submit",disabled:"$disabled",label:"$submitLabel"}})),Pm=rv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"}})),Em=rv("wrapper",null,!0),Mm=rv("input",()=>({$el:"select",bind:"$attrs",attrs:{id:"$id","data-placeholder":{if:"$placeholder",then:{if:"$value",then:void 0,else:"true"}},disabled:"$disabled",class:"$classes.input",name:"$node.name",onChange:"$handlers.onChange",onInput:"$handlers.selectInput",onBlur:"$handlers.blur","aria-describedby":"$describedBy"}})),Lm=rv("option",()=>({$el:"option",for:["option","$options"],bind:"$option.attrs",attrs:{class:"$classes.option",value:"$option.value",selected:"$fns.isSelected($option.value)"}})),$m=rv("input",()=>({$el:"textarea",bind:"$attrs",attrs:{disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"},children:"$initialValue"})),jm=(t,e)=>rv(`${t}Icon`,()=>{const n=`_raw${t.charAt(0).toUpperCase()}${t.slice(1)}Icon`;return{if:`$${t}Icon && $${n}`,$el:`${e||"span"}`,attrs:{class:`$classes.${t}Icon + " formkit-icon"`,innerHTML:`$${n}`,onClick:`$handlers.iconClick(${t})`,for:{if:`${"label"===e}`,then:"$id"}}}})();function Dm(t){return function(e,n){return"options"===e.prop&&Array.isArray(e.value)&&(e.value=e.value.map(e=>{var n;return null!==(n=e.attrs)&&void 0!==n&&n.id?e:Ff(e,{attrs:{id:`${t.name}-option-${Gf(String(e.value))}`}})}),"checkbox"===t.props.type&&!Array.isArray(t.value)&&(t.isCreated?t.input([],!1):t.on("created",()=>{Array.isArray(t.value)||t.input([],!1)}))),n(e)}}function Im(t,e){if(Array.isArray(t))for(const n of t)if(e==n.value)return"__original"in n?n.__original:n.value;return e}function Nm(t,e){return t==e||!(!zf(t)||!zf(e))&&Nf(t,e)}function Rm(t){t.hook.prop((t,e)=>{if("options"===t.prop){const e=function(t){let e=1;return Array.isArray(t)?t.map(t=>"string"==typeof t||"number"==typeof t?{label:t,value:t}:("object"==typeof t&&"value"in t&&"string"!=typeof t.value&&Object.assign(t,{value:"__mask_"+e++,__original:t.value}),t)):Object.keys(t).map(e=>({label:t[e],value:e}))}(t.value);t.value=e}return e(t)})}function Bm(t,e){const n=e.target;if(n instanceof HTMLInputElement){const e=Array.isArray(t.props.options)?Im(t.props.options,n.value):n.value;Array.isArray(t.props.options)&&t.props.options.length?Array.isArray(t._value)?t._value.some(t=>Nm(e,t))?t.input(t._value.filter(t=>!Nm(e,t))):t.input([...t._value,e]):t.input([e]):n.checked?t.input(t.props.onValue):t.input(t.props.offValue)}}function Vm(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,!!Array.isArray(t._value)&&t._value.some(n=>Nm(Im(t.props.options,e),n))}function zm(t){t.on("created",()=>{t.props.disabled=Kf(t.props.disabled)}),t.hook.prop(({prop:t,value:e},n)=>n({prop:t,value:e="disabled"===t?Kf(e):e})),t.on("prop:disabled",({payload:e})=>{t.config.disabled=Kf(e)}),t.on("created",()=>{t.config.disabled=Kf(t.props.disabled)})}function Fm(t,e){return n=>{n.store.set(og({key:t,type:"ui",value:e||t,meta:{localize:!0,i18nArgs:[n]}}))}}const Wm=typeof window<"u";function Hm(t){t.target instanceof HTMLElement&&t.target.hasAttribute("data-file-hover")&&t.target.removeAttribute("data-file-hover")}function Um(t,e){e.target instanceof HTMLInputElement?"dragover"===t&&e.target.setAttribute("data-file-hover","true"):e.preventDefault(),"drop"===t&&Hm(e)}async function qm(t,e){if(e.preventDefault(),await t.settled,t.walk(t=>{t.store.set(og({key:"submitted",value:!0,visible:!1}))}),"function"==typeof t.props.onSubmitRaw&&t.props.onSubmitRaw(e,t),t.ledger.value("blocking"))"function"==typeof t.props.onSubmitInvalid&&t.props.onSubmitInvalid(t),!1!==t.props.incompleteMessage&&t.store.set(og({blocking:!1,key:"incomplete",meta:{localize:void 0===t.props.incompleteMessage,i18nArgs:[{node:t}],showAsMessage:!0},type:"ui",value:t.props.incompleteMessage||"Form incomplete."}));else if("function"==typeof t.props.onSubmit){const e=t.props.onSubmit(t.hook.submit.dispatch(Xf(t.value)),t);if(e instanceof Promise){const n=void 0===t.props.disabled&&"live"!==t.props.submitBehavior;n&&(t.props.disabled=!0),t.store.set(og({key:"loading",value:!0,visible:!1})),await e,n&&(t.props.disabled=!1),t.store.remove("loading")}}else e.target instanceof HTMLFormElement&&e.target.submit()}function Gm(t,e){e.target instanceof HTMLInputElement&&t.input(Im(t.props.options,e.target.value))}function Xm(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,Nm(Im(t.props.options,e),t._value)}function Ym(t){t.on("created",()=>{var e,n;Array.isArray(t.props.options)||ig(350,t),!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=Gm.bind(null,t)),null!==(n=t.context)&&void 0!==n&&n.fns&&(t.context.fns.isChecked=Xm.bind(null,t))}),t.hook.prop(Dm(t))}function Km(t,e){t.context&&t.context.value;const n=Im(t.props.options,e);return Array.isArray(t._value)?t._value.some(t=>Nm(t,n)):void 0===t.value&&!e||Nm(n,t._value)}async function Zm(t,e){var n;"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(await new Promise(t=>setTimeout(t,0)),await t.settled,t.props.attrs.onChange(e))}function Qm(t,e){const n=e.target,i=n.hasAttribute("multiple")?Array.from(n.selectedOptions).map(e=>Im(t.props.options,e.value)):Im(t.props.options,n.value);t.input(i)}function Jm(t,e){return t.some(t=>t.attrs&&t.attrs["data-is-placeholder"])?t:[{label:e,value:"",attrs:{hidden:!0,disabled:!0,"data-is-placeholder":"true"}},...t]}function tv(t,e){return n=>{void 0===n.props[`${t}Icon`]&&(n.props[`${t}Icon`]=`default:${e}`)}}function ev(t){return"object"==typeof t&&("$el"in t||"$cmp"in t||"$formkit"in t)}function nv(t){return!!(Xg(t)&&t.if&&t.if.startsWith("$slots.")&&"string"==typeof t.then&&t.then.startsWith("$slots.")&&"else"in t)}function iv(t,e={}){return"string"==typeof t?ev(e)||"string"==typeof e?e:t:Array.isArray(t)?ev(e)?e:t:Ff(t,e)}function rv(t,e,n=!1){return(...i)=>{const r=n=>{const r=e&&"string"!=typeof e?e():{$el:e};return(qg(r)||Gg(r))&&(r.meta||(r.meta={section:t}),i.length&&!r.children&&(r.children=[...i.map(t=>"string"==typeof t?t:t(n))]),qg(r)&&(r.attrs={class:`$classes.${t}`,...r.attrs||{}})),{if:`$slots.${t}`,then:`$slots.${t}`,else:t in n?iv(r,n[t]):r}};return n?ov(r):r}}function ov(t){return e=>[t(e)]}function sv(t,e,n){return i=>{const r=e(i);return n?{if:t,then:r,else:n(i)}:(nv(r)?Object.assign(r.else,{if:t}):ev(r)&&Object.assign(r,{if:t}),r)}}function av(t,e){return n=>{const i=t({});return nv(i)?(Array.isArray(i.else)||(i.else=iv(iv(i.else,e),n)),i):iv(iv(i,e),n)}}const lv={schema:tm(rm(om("$message.value")),nm(ym(jm("prefix"),sm(),bm("$label || $ui.submit.value"),am(),jm("suffix"))),lm("$help")),type:"input",family:"button",props:[],features:[Fm("submit"),function(t){void 0===t.props.ignore&&(t.props.ignore=!0,t.parent=null)}]},cv={schema:tm(sv("$options == undefined",gm(em(sm(),hm(),um(jm("decorator")),am()),sv("$label",vm("$label"))),cm(dm("$label"),lm("$help"),fm(pm(gm(em(sm(),av(hm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),um(jm("decorator")),am()),sv("$option.label",vm("$option.label"))),mm("$option.help"))))),sv("$options == undefined && $help",lm("$help")),rm(om("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Rm,function(t){t.on("created",()=>{var e,n;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=Bm.bind(null,t)),!(null===(n=t.context)||void 0===n)&&n.fns&&(t.context.fns.isChecked=Vm.bind(null,t)),If(t.props,"onValue")||(t.props.onValue=!0),If(t.props,"offValue")||(t.props.offValue=!1)}),t.hook.prop(Dm(t))},tv("decorator","checkboxDecorator")]},uv={schema:tm(nm(im("$label"),em(jm("prefix","label"),sm(),_m(),wm(xm(jm("fileItem"),Sm("$file.name"),sv("$value.length === 1",km(jm("fileRemove"),"$ui.remove.value")))),sv("$value.length > 1",km("$ui.removeAll.value")),Cm(jm("noFiles"),"$ui.noFiles.value"),am(),jm("suffix"))),lm("$help"),rm(om("$message.value"))),type:"input",family:"text",props:[],features:[function(t){Fm("noFiles","Select file")(t),Fm("removeAll","Remove all")(t),Fm("remove")(t),Wm&&(window._FormKit_File_Drop||(window.addEventListener("dragover",Um.bind(null,"dragover")),window.addEventListener("drop",Um.bind(null,"drop")),window.addEventListener("dragleave",Hm),window._FormKit_File_Drop=!0)),t.hook.input((t,e)=>e(Array.isArray(t)?t:[])),t.on("created",()=>{Array.isArray(t.value)||t.input([],!1),t.context&&(t.context.handlers.resetFiles=e=>{if(e.preventDefault(),t.input([]),t.props.id&&Wm){const e=document.getElementById(t.props.id);e&&(e.value="")}},t.context.handlers.files=e=>{var n,i;const r=[];if(e.target instanceof HTMLInputElement&&e.target.files){for(let t=0;t<e.target.files.length;t++){let n;(n=e.target.files.item(t))&&r.push({name:n.name,file:n})}t.input(r)}t.context&&(t.context.files=r),"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(null===(i=t.props.attrs)||void 0===i||i.onChange(e))})})},tv("fileItem","fileItem"),tv("fileRemove","fileRemove"),tv("noFiles","noFiles")]},hv={schema:Om("$slots.default",rm(om("$message.value")),Am(Tm())),type:"group",props:["actions","submit","submitLabel","submitAttrs","submitBehavior","incompleteMessage"],features:[function(t){t.props.isForm=!0,t.on("created",()=>{var e;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.submit=qm.bind(null,t)),If(t.props,"actions")||(t.props.actions=!0)}),t.on("settled:blocking",()=>t.store.remove("incomplete"))},zm]},dv={schema:Em("$slots.default"),type:"group",props:[],features:[zm]},pv={schema:function(t){return ov(t)}(Pm()),type:"input",props:[],features:[]},fv={schema:Em("$slots.default"),type:"list",props:[],features:[zm]},gv={schema:tm(sv("$options == undefined",gm(em(sm(),hm(),um(jm("decorator")),am()),sv("$label",vm("$label"))),cm(dm("$label"),lm("$help"),fm(pm(gm(em(sm(),av(hm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),um(jm("decorator")),am()),sv("$option.label",vm("$option.label"))),mm("$option.help"))))),sv("$options == undefined && $help",lm("$help")),rm(om("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Rm,Ym,tv("decorator","radioDecorator")]},mv={schema:tm(nm(im("$label"),em(jm("prefix"),sm(),Mm(sv("$slots.default",()=>"$slots.default",sv("$slots.option",()=>({$el:null,if:"$options.length",for:["option","$options"],children:"$slots.option"}),Lm("$option.label")))),sv("$attrs.multiple !== undefined",()=>"",jm("select")),am(),jm("suffix"))),lm("$help"),rm(om("$message.value"))),type:"input",props:["options","placeholder"],features:[Rm,function(t){t.on("created",()=>{var e,n,i;const r=Kf(null===(e=t.props.attrs)||void 0===e?void 0:e.multiple);!r&&t.props.placeholder&&Array.isArray(t.props.options)&&(t.hook.prop(({prop:e,value:n},i)=>("options"===e&&(n=Jm(n,t.props.placeholder)),i({prop:e,value:n}))),t.props.options=Jm(t.props.options,t.props.placeholder)),r?void 0===t.value&&t.input([],!1):t.context&&!t.context.options&&(t.props.attrs=Object.assign({},t.props.attrs,{value:t._value}),t.on("input",({payload:e})=>{t.props.attrs=Object.assign({},t.props.attrs,{value:e})})),!(null===(n=t.context)||void 0===n)&&n.handlers&&(t.context.handlers.selectInput=Qm.bind(null,t),t.context.handlers.onChange=Zm.bind(null,t)),null!==(i=t.context)&&void 0!==i&&i.fns&&(t.context.fns.isSelected=Km.bind(null,t))}),t.hook.input((e,n)=>{var i,r,o;return!t.props.placeholder&&void 0===e&&Array.isArray(null===(i=t.props)||void 0===i?void 0:i.options)&&t.props.options.length&&!Kf(null===(o=null===(r=t.props)||void 0===r?void 0:r.attrs)||void 0===o?void 0:o.multiple)&&(e="__original"in t.props.options[0]?t.props.options[0].__original:t.props.options[0].value),n(e)})},tv("select","select")]},vv={schema:tm(nm(im("$label"),em(jm("prefix","label"),sm(),$m(),am(),jm("suffix"))),lm("$help"),rm(om("$message.value"))),type:"input",props:[],features:[function(t){t.on("created",()=>{t.context&&(t.context.initialValue=t.value||"")})}]},yv={schema:tm(nm(im("$label"),em(jm("prefix","label"),sm(),Pm(),am(),jm("suffix"))),lm("$help"),rm(om("$message.value"))),type:"input",family:"text",props:[],features:[]};var bv=Object.freeze({__proto__:null,button:lv,submit:lv,checkbox:cv,file:uv,form:hv,group:dv,hidden:pv,list:fv,radio:gv,select:mv,textarea:vv,text:yv,color:yv,date:yv,datetimeLocal:yv,email:yv,month:yv,number:yv,password:yv,search:yv,tel:yv,time:yv,url:yv,week:yv,range:yv});const _v=rv("labelWrapper","div"),{prefixIcon:xv,...wv}=(tm(cm(dm("$label"),lm("$help"),fm(pm(gm(em(sm(),av(hm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),um(jm("decorator")),am()),_v(sv("$option.label",vm("$option.label")),mm("$option.help")))))),rm(om("$message.value"))),tv("decorator","radioDecorator"),Af),Sv=hu(Un({components:{InputField:$f},props:{...wv,placeholder:{type:String,default:"Search..."}}}),[["render",function(t,e,n,i,r,o){const s=bi("InputField");return jr(),Br(s,Jr(t.$props,{"prefix-icon":"magnifying-glass","input-class":t.$style.input,type:"search"}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040,["input-class"])}],["__cssModules",{$style:{input:"_input_1ijgr_1"}}]]),kv=/(_confirm(?:ed)?)$/,Cv=function({value:t},e="default"){return"trim"===e&&"string"==typeof t?!Rf(t.trim()):!Rf(t)};Cv.skipEmpty=!1;const Ov=Object.freeze(Object.defineProperty({__proto__:null,accepted:function({value:t}){return["yes","on","1",1,!0,"true"].includes(t)},alpha:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż]+$/,latin:/^[a-zA-Z]+$/};return n[If(n,e)?e:"default"].test(String(t))},alpha_spaces:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż ]+$/,latin:/^[a-zA-Z ]+$/};return n[If(n,e)?e:"default"].test(String(t))},alphanumeric:function({value:t},e="default"){const n={default:/^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z0-9]+$/};return n[If(n,e)?e:"default"].test(String(t))},between:function({value:t},e,n){if(!isNaN(t)&&!isNaN(e)&&!isNaN(n)){const i=1*t;e=Number(e),n=Number(n);const[r,o]=e<=n?[e,n]:[n,e];return i>=1*r&&i<=1*o}return!1},confirm:function(t,e,n="loose"){var i;e||(e=kv.test(t.name)?t.name.replace(kv,""):`${t.name}_confirm`);const r=null===(i=t.at(e))||void 0===i?void 0:i.value;return"strict"===n?t.value===r:t.value==r},date_after:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i>n},date_before:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i<n},date_between:function({value:t},e,n){e=e instanceof Date?e.getTime():Date.parse(e),n=n instanceof Date?n.getTime():Date.parse(n);const i=t instanceof Date?t.getTime():Date.parse(String(t));if(e&&!n)n=e,e=Date.now();else if(!e||!i)return!1;return i>=e&&i<=n},date_format:function({value:t},e){return e&&"string"==typeof e?function(t){const e=`^${function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t)}$`,n={MM:"(0[1-9]|1[012])",M:"([1-9]|1[012])",DD:"([012][0-9]|3[01])",D:"([012]?[0-9]|3[01])",YYYY:"\\d{4}",YY:"\\d{2}"},i=Object.keys(n);return new RegExp(i.reduce((t,e)=>t.replace(e,n[e]),e))}(e).test(String(t)):!isNaN(Date.parse(String(t)))},email:function({value:t}){return/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t))},ends_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some(e=>t.endsWith(e)):"string"==typeof t&&0===e.length},is:function({value:t},...e){return e.some(e=>"object"==typeof e?Nf(e,t):e==t)},length:function({value:t},e=0,n=1/0){const i=(e=parseInt(e))<=(n=isNaN(parseInt(n))?1/0:parseInt(n))?e:n,r=n>=e?n:e;if("string"==typeof t||Array.isArray(t))return t.length>=i&&t.length<=r;if(t&&"object"==typeof t){const e=Object.keys(t).length;return e>=i&&e<=r}return!1},matches:function({value:t},...e){return e.some(e=>("string"==typeof e&&"/"===e.substr(0,1)&&"/"===e.substr(-1)&&(e=new RegExp(e.substr(1,e.length-2))),e instanceof RegExp?e.test(String(t)):e===t))},max:function({value:t},e=10){return Array.isArray(t)?t.length<=e:Number(t)<=Number(e)},min:function({value:t},e=1){return Array.isArray(t)?t.length>=e:Number(t)>=Number(e)},not:function({value:t},...e){return!e.some(e=>"object"==typeof e?Nf(e,t):e===t)},number:function({value:t}){return!isNaN(t)},required:Cv,starts_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some(e=>t.startsWith(e)):"string"==typeof t&&0===e.length},url:function({value:t},...e){try{const n=e.length?e:["http:","https:"],i=new URL(String(t));return n.includes(i.protocol)}catch{return!1}}},Symbol.toStringTag,{value:"Module"})),Av=new WeakSet;function Tv(t,e){const n=e||Object.assign(new Map,{active:!1}),i=new Map,r=function(e){var i;n.active&&(n.has(t)||n.set(t,new Set),null===(i=n.get(t))||void 0===i||i.add(e))},o=function(t,e){return Tg(t)?Tv(t,n):("value"===e&&r("commit"),"props"===e?function(t){return new Proxy(t,{get:(...t)=>("string"==typeof t[1]&&r(`prop:${t[1]}`),Reflect.get(...t))})}(t):"ledger"===e?function(t){return new Proxy(t,{get:(...e)=>"value"===e[1]?e=>(r(`count:${e}`),t.value(e)):Reflect.get(...e)})}(t):t)},{proxy:s,revoke:a}=Proxy.revocable(t,{get(...t){switch(t[1]){case"deps":return n;case"watch":return t=>Mv(s,t);case"observe":return()=>{const t=new Map(n);return n.clear(),n.active=!0,t};case"stopObserve":return()=>{const t=new Map(n);return n.active=!1,t};case"receipts":return i;case"kill":return()=>{Ev(i),Av.add(t[2]),a()}}const e=Reflect.get(...t);return"function"==typeof e?(...n)=>{const i=e(...n);return o(i,t[1])}:o(e,t[1])}});return s}function Pv(t,[e,n],i){e.forEach((e,n)=>{e.forEach(e=>{t.receipts.has(n)||t.receipts.set(n,{}),t.receipts.set(n,Object.assign(t.receipts.get(n),{[e]:n.on(e,i)}))})}),n.forEach((e,n)=>{e.forEach(e=>{if(t.receipts.has(n)){const i=t.receipts.get(n);i&&If(i,e)&&(n.off(i[e]),delete i[e],t.receipts.set(n,i))}})})}function Ev(t){t.forEach((t,e)=>{for(const n in t)e.off(t[n])})}async function Mv(t,e){const n=new Map(t.deps);t.observe();const i=e(t);i instanceof Promise&&await i;const r=t.stopObserve();Pv(t,Lv(n,r),()=>Mv(t,e))}function Lv(t,e){const n=new Map,i=new Map;return e.forEach((e,i)=>{if(t.has(i)){const r=new Set,o=t.get(i);e.forEach(t=>!(null!=o&&o.has(t))&&r.add(t)),n.set(i,r)}else n.set(i,e)}),t.forEach((t,n)=>{if(e.has(n)){const r=new Set,o=e.get(n);t.forEach(t=>!(null!=o&&o.has(t))&&r.add(t)),i.set(n,r)}else i.set(n,t)}),[n,i]}const $v=og({type:"state",blocking:!0,visible:!1,value:!0,key:"validating"});function jv(t,e,n){(function(t){return Av.has(t)})(t)||(n.input=jf(),n.isPassing=!0,t.store.filter(t=>!t.meta.removeImmediately,"validation"),e.forEach(t=>t.debounce&&clearTimeout(t.timer)),e.length&&(t.store.set($v),Dv(0,e,t,n,!1,()=>{t.store.remove($v.key)})))}function Dv(t,e,n,i,r,o){const s=e[t];if(!s)return o();const a=i.input;function l(l,c){i.isPassing=i.isPassing&&!!c,s.queued=!1;const u=n.stopObserve();Pv(n,Lv(s.deps,u),()=>{s.queued=!0,i.rerun&&clearTimeout(i.rerun),i.rerun=setTimeout(jv,0,n,e,i)}),s.deps=u,i.input===a&&(s.state=c,!1===c?function(t,e,n){const i=function(t,e){return[{node:t,name:Iv(t),args:e.args}]}(t,e),r=function(t,e,n){const i=t.props.validationMessages&&If(t.props.validationMessages,e.name)?t.props.validationMessages[e.name]:void 0;return"function"==typeof i?i(...n):i}(t,e,i),o=og({blocking:e.blocking,key:`rule_${e.name}`,meta:{messageKey:e.name,removeImmediately:n,localize:!r,i18nArgs:i},type:"validation",value:r||"This field is not valid."});t.store.set(o)}(n,s,r||l):function(t,e){const n=`rule_${e.name}`;If(t.store,n)&&t.store.remove(n)}(n,s),e.length>t+1?Dv(t+1,e,n,i,r||l,o):o())}s.state=null,Rf(n.value)&&s.skipEmpty||!i.isPassing&&!s.force?(Rf(n.value)&&s.skipEmpty&&i.isPassing&&(n.observe(),n.value),l(!1,null)):s.queued?function(t,e,n){t.debounce?t.timer=setTimeout(()=>{e.observe(),n(t.rule(e,...t.args))},t.debounce):(e.observe(),n(t.rule(e,...t.args)))}(s,n,t=>{t instanceof Promise?t.then(t=>l(!0,t)):l(!1,t)}):Dv(t+1,e,n,i,r,o)}function Iv(t){return"function"==typeof t.props.validationLabel?t.props.validationLabel(t):t.props.validationLabel||t.props.label||t.props.name||String(t.name)}const Nv="(?:[\\*+?()0-9]+)",Rv="[a-zA-Z][a-zA-Z0-9_]+",Bv=new RegExp(`^(${Nv}?${Rv})(?:\\:(.*)+)?$`,"i"),Vv=new RegExp(`^(${Nv})(${Rv})$`,"i"),zv=/([\*+?]+)?(\(\d+\))([\*+?]+)?/,Fv=/\(\d+\)/,Wv={blocking:!0,debounce:0,force:!1,skipEmpty:!0,name:""};function Hv(t,e){return t?("string"==typeof t?function(t){return t.split("|").reduce((t,e)=>{const n=function(t){const e=t.trim();if(e){const t=e.match(Bv);if(t&&"string"==typeof t[1])return[t[1].trim(),...t[2]&&"string"==typeof t[2]?t[2].split(",").map(t=>t.trim()):[]]}return!1}(e);return n&&t.push(n),t},[])}(t):Xf(t)).reduce((t,n)=>{let i=n.shift();const r={};if("string"==typeof i){const[t,n]=function(t){const e=t.match(Vv);if(!e)return[t,{name:t}];const n={"*":{force:!0},"+":{skipEmpty:!1},"?":{blocking:!1}},[,i,r]=e,o=Fv.test(i)?i.match(zv)||[]:[,i];return[r,[o[1],o[2],o[3]].reduce((t,e)=>(e&&(Fv.test(e)?t.debounce=parseInt(e.substr(1,e.length-1)):e.split("").forEach(e=>If(n,e)&&Object.assign(t,n[e]))),t),{name:r})]}(i);If(e,t)&&(i=e[t],Object.assign(r,n))}return"function"==typeof i&&t.push({rule:i,args:n,timer:0,state:null,queued:!0,deps:new Map,...Wv,...Uv(r,i)}),t},[]):[]}function Uv(t,e){return t.name||(t.name=e.ruleName||e.name),["skipEmpty","force","debounce","blocking"].reduce((t,n)=>(If(e,n)&&!If(t,n)&&Object.assign(t,{[n]:e[n]}),t),t)}function qv(t){return t[0].toUpperCase()+t.substr(1)}function Gv(t,e="or"){return t.reduce((n,i,r)=>(n+=i,r<=t.length-2&&t.length>2&&(n+=", "),r===t.length-2&&(n+=`${2===t.length?" ":""}${e} `),n),"")}function Xv(t){const e="string"==typeof t?new Date(Date.parse(t)):t;return e instanceof Date?new Intl.DateTimeFormat(void 0,{dateStyle:"medium"}).format(e):"(unknown)"}const Yv={accepted:({name:t})=>`Please accept the ${t}.`,date_after:({name:t,args:e})=>Array.isArray(e)&&e.length?`${qv(t)} must be after ${Xv(e[0])}.`:`${qv(t)} must be in the future.`,alpha:({name:t})=>`${qv(t)} can only contain alphabetical characters.`,alphanumeric:({name:t})=>`${qv(t)} can only contain letters and numbers.`,alpha_spaces:({name:t})=>`${qv(t)} can only contain letters and spaces.`,date_before:({name:t,args:e})=>Array.isArray(e)&&e.length?`${qv(t)} must be before ${Xv(e[0])}.`:`${qv(t)} must be in the past.`,between({name:t,args:e}){if(isNaN(e[0])||isNaN(e[1]))return"This field was configured incorrectly and can’t be submitted.";const[n,i]=function(t,e){return Number(t)>=Number(e)?[e,t]:[t,e]}(e[0],e[1]);return`${qv(t)} must be between ${n} and ${i}.`},confirm:({name:t})=>`${qv(t)} does not match.`,date_format:({name:t,args:e})=>Array.isArray(e)&&e.length?`${qv(t)} is not a valid date, please use the format ${e[0]}`:"This field was configured incorrectly and can’t be submitted",date_between:({name:t,args:e})=>`${qv(t)} must be between ${Xv(e[0])} and ${Xv(e[1])}`,email:"Please enter a valid email address.",ends_with:({name:t,args:e})=>`${qv(t)} doesn’t end with ${Gv(e)}.`,is:({name:t})=>`${qv(t)} is not an allowed value.`,length({name:t,args:[e=0,n=1/0]}){const i=Number(e)<=Number(n)?e:n,r=Number(n)>=Number(e)?n:e;return 1==i&&r===1/0?`${qv(t)} must be at least one character.`:0==i&&r?`${qv(t)} must be less than or equal to ${r} characters.`:i&&r===1/0?`${qv(t)} must be greater than or equal to ${i} characters.`:`${qv(t)} must be between ${i} and ${r} characters.`},matches:({name:t})=>`${qv(t)} is not an allowed value.`,max:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have more than ${n[0]} ${t}.`:`${qv(t)} must be less than or equal to ${n[0]}.`,mime:({name:t,args:e})=>e[0]?`${qv(t)} must be of the type: ${e[0]}`:"No file formats allowed.",min:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have less than ${n[0]} ${t}.`:`${qv(t)} must be at least ${n[0]}.`,not:({name:t,node:{value:e}})=>`“${e}” is not an allowed ${t}.`,number:({name:t})=>`${qv(t)} must be a number.`,required:({name:t})=>`${qv(t)} is required.`,starts_with:({name:t,args:e})=>`${qv(t)} doesn’t start with ${Gv(e)}.`,url:()=>"Please include a valid url."};var Kv=Object.freeze({__proto__:null,ui:{add:"Add",remove:"Remove",removeAll:"Remove all",incomplete:"Sorry, not all fields are filled out correctly.",submit:"Submit",noFiles:"No file chosen"},validation:Yv});function Zv(t,e){if(If(e,t))return t;const[n]=t.split("-");if(If(e,n))return n;for(const t in e)return t;return!1}let Qv,Jv,ty=null,ey=!1,ny=!1;const iy=new Promise(t=>{Jv=()=>{ey=!0,t()}}),ry=typeof window<"u"&&typeof fetch<"u";Qv=ry?getComputedStyle(document.documentElement):void 0;const oy={},sy={};function ay(t,e,n,i){e&&Object.assign(oy,e),ry&&!ny&&null!=Qv&&Qv.getPropertyValue("--formkit-theme")?(Jv(),ny=!0):t&&!ny&&ry?function(t){if(t&&ry&&"function"==typeof getComputedStyle&&(ny=!0,ty=document.getElementById("formkit-theme"),t&&ry&&((null==Qv||!Qv.getPropertyValue("--formkit-theme"))&&!ty||null!=ty&&ty.getAttribute("data-theme")&&(null==ty?void 0:ty.getAttribute("data-theme"))!==t))){const e=`https://cdn.jsdelivr.net/npm/@formkit/themes@${Jg.startsWith("__")?"latest":Jg}/dist/${t}/theme.css`,n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.id="formkit-theme",n.setAttribute("data-theme",t),n.onload=()=>{Qv=getComputedStyle(document.documentElement),Jv()},document.head.appendChild(n),n.href=e,ty&&ty.remove()}}(t):!ny&&ry&&Jv();const r=function(t){var e,r;t.addProps(["iconLoader","iconLoaderUrl"]),t.props.iconHandler=ly(null!==(e=t.props)&&void 0!==e&&e.iconLoader?t.props.iconLoader:i,null!==(r=t.props)&&void 0!==r&&r.iconLoaderUrl?t.props.iconLoaderUrl:n),function(t,e){const n=/^[a-zA-Z-]+(?:-icon|Icon)$/;Object.keys(t.props).filter(t=>n.test(t)).forEach(n=>function(t,e,n){const i=e(t.props[n]),r=`_raw${n.charAt(0).toUpperCase()}${n.slice(1)}`,o=`on${n.charAt(0).toUpperCase()}${n.slice(1)}Click`;if(t.addProps([r,o]),t.on(`prop:${n}`,uy),i instanceof Promise)return i.then(e=>{t.props[r]=e});t.props[r]=i}(t,e,n))}(t,t.props.iconHandler),t.on("created",()=>{var e;null!==(e=null==t?void 0:t.context)&&void 0!==e&&e.handlers&&(t.context.handlers.iconClick=e=>{const n=`on${e.charAt(0).toUpperCase()}${e.slice(1)}IconClick`,i=t.props[n];if(i&&"function"==typeof i)return e=>i(t,e)})})};return r.iconHandler=ly(i,n),r}function ly(t,e){return n=>{if("boolean"==typeof n)return;if(n.startsWith("<svg"))return n;if("string"!=typeof n)return;const i=oy[n],r=n.startsWith("default:");let o;if(n=r?n.split(":")[1]:n,i||n in oy)return i;if(!sy[n])if(o=function(t){if(ry)return ey?cy(t):iy.then(()=>cy(t))}(n),o=ry&&typeof o>"u"?Promise.resolve(o):o,o instanceof Promise)sy[n]=o.then(i=>i||"string"!=typeof n||r?i:o="function"==typeof t?t(n):function(t,e){const n=Jg.startsWith("__")?"latest":Jg,i="function"==typeof e?e(t):`https://cdn.jsdelivr.net/npm/@formkit/icons@${n}/dist/icons/${t}.svg`;if(ry)return fetch(`${i}`).then(async t=>{const e=await t.text();if(e.startsWith("<svg"))return e}).catch(t=>{console.error(t)})}(n,e)).then(t=>("string"==typeof n&&(oy[r?`default:${n}`:n]=t),t));else if("string"==typeof o)return oy[r?`default:${n}`:n]=o,o;return sy[n]}}function cy(t){const e=null==Qv?void 0:Qv.getPropertyValue(`--fk-icon-${t}`);if(e){const n=atob(e);if(n.startsWith("<svg"))return oy[t]=n,n}}function uy(t){var e;const n=t.origin,i=t.payload,r=null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.iconHandler,o=t.name.split(":")[1],s=`_raw${o.charAt(0).toUpperCase()}${o.slice(1)}`;if(r&&"function"==typeof r){const t=r(i);if(t instanceof Promise)return t.then(t=>{n.props[s]=t});n.props[s]=t}}let hy=!1;const dy={100:({data:t})=>`Only groups, lists, and forms can have children (${t.name}).`,101:({data:t})=>`You cannot directly modify the store (${t.name}). See: https://formkit.com/advanced/core#message-store`,102:({data:[t,e]})=>`You cannot directly assign node.${e} (${t.name})`,103:({data:[t]})=>`Schema expressions cannot start with an operator (${t})`,104:({data:[t,e]})=>`Schema expressions cannot end with an operator (${t} in "${e}")`,105:({data:t})=>`Invalid schema expression: ${t}`,106:({data:t})=>`Cannot submit because (${t}) is not in a form.`,107:({data:[t,e]})=>`Cannot set ${t.name} to non object value: ${e}`,108:({data:[t,e]})=>`Cannot set ${t.name} to non array value: ${e}`,600:({data:t})=>`Unknown input type${"string"==typeof t.props.type?' "'+t.props.type+'"':""} ("${t.name}")`,601:({data:t})=>`Input definition${"string"==typeof t.props.type?' "'+t.props.type+'"':""} is missing a schema or component property (${t.name}).`},py={150:({data:t})=>`Schema function "${t}()" is not a valid function.`,151:({data:t})=>`No form element with id: ${t}`,152:({data:t})=>`No input element with id: ${t}`,350:({data:t})=>`Invalid options prop for radio input (${t.name}). See https://formkit.com/inputs/radio`,650:'Schema "$get()" must use the id of an input to access.',651:({data:t})=>`Cannot setErrors() on "${t}" because no such id exists.`,652:({data:t})=>`Cannot clearErrors() on "${t}" because no such id exists.`,800:({data:t})=>`${t} is deprecated.`};hy||eg((t,e)=>{if(t.code in dy){const e=dy[t.code];t.message="function"==typeof e?e(t):e}return e(t)}),hy||ng((t,e)=>{if(t.code in py){const e=py[t.code];t.message="function"==typeof e?e(t):e}return e(t)}),hy=!0;const fy={};let gy;const my=new Map,vy=/[a-zA-Z0-9\-][cC]lass$/;function yy(t,e){const n=ke(null);if("get"===t){const t={};return n.value=_y.bind(null,t),n}const i=t.split(".");return Cn(()=>n.value=by(e,i)),n}function by(t,e){if(Array.isArray(t)){for(const n of t){const t=!1!==n&&by(n,e);if(void 0!==t)return t}return}let n;return e.reduce((t,i,r,o)=>{if("object"!=typeof t)return n=void 0,o.splice(1);const s=t[i];return r===e.length-1&&void 0!==s&&(n=s),t[i]},t),n}function _y(t,e){if("string"!=typeof e)return ig(650);if(e in t||(t[e]=ke(void 0)),void 0===t[e].value){t[e].value=null;const n=bg(e);n&&(t[e].value=n.context),function(t,e){yg.push(vg.on(t,e))}(e,({payload:n})=>{t[e].value=Tg(n)?n.context:n})}return t[e].value}function xy(t,e){function n(t,e){return[l(Yg(e.if),{if:!0}),s(t,e.then),e.else?s(t,e.else):null]}function i(t,e){var n,i;const o=l(Yg(t.if));let s=()=>e,a=()=>e;return a="object"==typeof t.then?r(t.then,void 0):"string"==typeof t.then&&null!==(n=t.then)&&void 0!==n&&n.startsWith("$")?l(Yg(t.then)):()=>t.then,If(t,"else")&&(s="object"==typeof t.else?r(t.else):"string"==typeof t.else&&null!==(i=t.else)&&void 0!==i&&i.startsWith("$")?l(Yg(t.else)):()=>t.else),()=>o()?a():s()}function r(t,e,n={}){const o=new Set(Object.keys(t||{})),s=e?l(Yg(e)):()=>({}),a=[t=>{const e=s();for(const n in e)o.has(n)||(t[n]=e[n])}];if(t){if(Xg(t))return i(t,n);for(let e in t){const n=t[e];let o;const s="string"==typeof n;e.startsWith("__raw__")?(e=e.substring(7),o=()=>n):o=!(s&&n.startsWith("$")&&n.length>1)||n.startsWith("$reset")&&vy.test(e)?"object"==typeof n&&Xg(n)?i(n,void 0):"object"==typeof n&&zf(n)?r(n):()=>n:l(Yg(n)),a.push(t=>{t[e]=o()})}}return()=>{const e=Array.isArray(t)?[]:{};return a.forEach(t=>t(e)),e}}function o(t,e){const[i,o,a,c,u,h,d]=function(t,e){let i=null,o=()=>null,a=!1,c=null,u=null,h=null,d=!1;const p=function(t){if("string"==typeof t)return{$el:"text",children:t};if(function(t){return"string"!=typeof t&&"$formkit"in t}(t)){const{$formkit:e,for:n,if:i,children:r,bind:o,...s}=t;return Object.assign({$cmp:"FormKit",props:{...s,type:e}},i?{if:i}:{},n?{for:n}:{},r?{children:r}:{},o?{bind:o}:{})}return t}(e);if(qg(p)?(i=p.$el,o="text"!==p.$el?r(p.attrs,p.bind):()=>null):Gg(p)?("string"==typeof p.$cmp?If(t,p.$cmp)?i=t[p.$cmp]:(i=p.$cmp,d=!0):i=p.$cmp,o=r(p.props,p.bind)):Xg(p)&&([a,c,u]=n(t,p)),!Xg(p)&&"if"in p?a=l(Yg(p.if)):!Xg(p)&&null===i&&(a=()=>!0),"children"in p&&p.children)if("string"==typeof p.children)if(p.children.startsWith("$slots."))i="text"===i?"slot":i,c=l(Yg(p.children));else if(p.children.startsWith("$")&&p.children.length>1){const t=l(Yg(p.children));c=()=>String(t())}else c=()=>String(p.children);else if(Array.isArray(p.children))c=s(t,p.children);else{const[e,i,r]=n(t,p.children);c=t=>e&&e()?i&&i(t):r&&r(t)}if(Gg(p))if(c){const t=c;c=e=>({default(n,i){var r,o,s,a;const l=gy;i&&(gy=i),n&&(null===(r=my.get(gy))||void 0===r||r.unshift(n)),e&&(null===(o=my.get(gy))||void 0===o||o.unshift(e));const c=t(e);return n&&(null===(s=my.get(gy))||void 0===s||s.shift()),e&&(null===(a=my.get(gy))||void 0===a||a.shift()),gy=l,c}}),c.slot=!0}else c=()=>({});if("for"in p&&p.for){const t=3===p.for.length?p.for[2]:p.for[1];h=["string"==typeof t&&t.startsWith("$")?l(Yg(t)):()=>t,p.for[0],3===p.for.length?String(p.for[1]):null]}return[a,i,o,c,u,h,d]}(t,e);let p=t=>{if(i&&null===o&&c)return i()?c(t):u&&u(t);if(o&&(!i||i())){if("text"===o&&c)return Xr(String(c()));if("slot"===o&&c)return c(t);const e=d?bi(o):o,n=null!=c&&c.slot?function(t,e){const n=t(e),i=gy;return Object.keys(n).reduce((t,e)=>{const r=n&&n[e];return t[e]=t=>r&&r(t,i)||null,t},{})}(c,t):null;return xo(e,a(),n||(c?c(t):[]))}return"function"==typeof u?u(t):u};if(h){const t=p,[e,n,i]=h;p=()=>{const r=e(),o=isNaN(r)?r:Array(Number(r)).fill(0).map((t,e)=>e),s=[];if("object"!=typeof o)return null;const a=my.get(gy)||[];for(const e in o){if(Array.isArray(o)&&"length"===e)continue;const r=Object.defineProperty({...a.reduce((t,e)=>t.__idata?{...t,...e}:e,{}),[n]:o[e],...null!==i?{[i]:e}:{}},"__idata",{enumerable:!1,value:!0});a.unshift(r),s.push(t.bind(null,r)()),a.shift()}return s}}return p}function s(t,e){if(Array.isArray(e)){const n=e.map(o.bind(null,t));return t=>n.map(e=>e(t))}const n=o(t,e);return t=>n(t)}const a=[];function l(t,e={}){const n={};return a.push((i,r)=>{n[r]=t.provide(t=>i(t,e))}),()=>n[gy]()}return function(n,i){const r=JSON.stringify(e),[o,l]=If(fy,r)?fy[r]:[s(t,e),a];return fy[r]=[o,l],l.forEach(t=>{t(n,i)}),()=>(gy=i,o())}}function wy(t,e){const n=my.get(gy)||[];let i;return n.length&&(i=by(n,t.split("."))),void 0===i?e:i}function Sy(t,e,n){return t((t,i={})=>t.reduce((t,r)=>{if(r.startsWith("slots.")){const o=r.substring(6),s=e.slots&&If(e.slots,o);if(i.if)t[r]=()=>s;else if(e.slots&&s){const i=function(t,e){return new Proxy(t,{get(...t){let n;const i=t[1];if("string"==typeof i){const t=gy;gy=e,n=wy(i,void 0),gy=t}return void 0!==n?n:Reflect.get(...t)}})}(e,n);return t[r]=()=>e.slots[o](i),t}}const o=yy(r,e);return t[r]=()=>wy(r,o.value),t},{}),n)}let ky=0;const Cy=Un({name:"FormKitSchema",props:{schema:{type:[Array,Object],required:!0},data:{type:Object,default:()=>({})},library:{type:Object,default:()=>({})}},setup(t,e){const n=ro();let i=Symbol(String(ky++));my.set(i,[]);let r,o,s=xy(t.library,t.schema);return On(()=>t.schema,(e,a)=>{var l;i=Symbol(String(ky++)),s=xy(t.library,t.schema),r=Sy(s,o,i),e===a&&(null===(l=null==n?void 0:n.proxy)||void 0===l?void 0:l.$forceUpdate)()},{deep:!0}),Cn(()=>{o=Object.assign(he(t.data),{slots:e.slots}),r=Sy(s,o,i)}),()=>r()}}),Oy={config:{type:Object,default:{}},classes:{type:Object,required:!1},delay:{type:Number,required:!1},errors:{type:Array,default:[]},inputErrors:{type:Object,default:()=>({})},index:{type:Number,required:!1},id:{type:String,required:!1},modelValue:{required:!1},name:{type:String,required:!1},parent:{type:Object,required:!1},plugins:{type:Array,default:[]},sectionsSchema:{type:Object,default:{}},type:{type:[String,Object],default:"text"},validation:{type:[String,Array],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1},validationLabel:{type:[String,Function],required:!1}},Ay=Symbol("FormKitParent"),Ty=Un({props:Oy,emits:{input:(t,e)=>!0,inputRaw:(t,e)=>!0,"update:modelValue":t=>!0,node:t=>!!t,submit:(t,e)=>!0,submitRaw:(t,e)=>!0,submitInvalid:t=>!0},inheritAttrs:!1,setup(t,e){const n=function(t,e,n={}){const i=Object.assign({},Sn(Py)||{},n),r=ro(),o=function(t){return t?["Submit","SubmitRaw","SubmitInvalid"].reduce((e,n)=>{const i=`on${n}`;return i in t&&"function"==typeof t[i]&&(e[i]=t[i]),e},{}):{}}(null==r?void 0:r.vnode.props),s=void 0!==t.modelValue,a=void 0!==t.modelValue?t.modelValue:Yf(e.attrs.value);const l=function(){const n={...Wf(t),...o},i=Hf(Wf(e.attrs),Ny);n.attrs=i;const r=Uf(Wf(e.attrs),Ny);for(const t in r)n[qf(t)]=r[t];const s={props:{}};return Ry(s,t),Object.assign(n,s.props),"string"!=typeof n.type&&(n.definition=n.type,delete n.type),n}(),c=l.ignore?null:t.parent||Sn(Ay,null),u=Ug(Ff(i||{},{name:t.name||void 0,value:a,parent:c,plugins:(i.plugins||[]).concat(t.plugins),config:t.config,props:l,index:t.index},!1,!0));u.props.definition||rg(600,u);const h=ke(new Set(u.props.definition.props||[]));u.on("added-props",({payload:t})=>{Array.isArray(t)&&t.forEach(t=>h.value.add(t))});const d=_o(()=>Ny.concat([...h.value]).reduce((t,e)=>("string"==typeof e?(t.push(qf(e)),t.push(Gf(e))):t.push(e),t),[]));Cn(()=>Ry(u,t));const p=Wf(t);for(const e in p)On(()=>t[e],()=>{void 0!==t[e]&&(u.props[e]=t[e])});const f=new Set,g=Wf(e.attrs);if(Cn(()=>{!function(t){f.forEach(t=>{t(),f.delete(t)});for(const n in t){const t=qf(n);f.add(On(()=>e.attrs[n],()=>{u.props[t]=e.attrs[n]}))}}(Uf(g,d.value))}),Cn(()=>{const t=Hf(Wf(e.attrs),d.value);u.props.attrs=Object.assign({},u.props.attrs||{},t)}),Cn(()=>{const e=t.errors.map(t=>og({key:Qf(t),type:"error",value:t,meta:{source:"prop"}}));u.store.apply(e,t=>"error"===t.type&&"prop"===t.meta.source)}),"input"!==u.type){const e=`${u.name}-prop`;Cn(()=>{const n=Object.keys(t.inputErrors);n.length||u.clearErrors(!0,e);const i=n.reduce((n,i)=>{let r=t.inputErrors[i];return"string"==typeof r&&(r=[r]),Array.isArray(r)&&(n[i]=r.map(t=>og({key:t,type:"error",value:t,meta:{source:e}}))),n},{});u.store.apply(i,t=>"error"===t.type&&t.meta.source===e)})}let m;Cn(()=>Object.assign(u.config,t.config)),"input"!==u.type&&wn(Ay,u);const v=new WeakSet;return u.on("modelUpdated",()=>{var n,i;if(e.emit("inputRaw",null===(n=u.context)||void 0===n?void 0:n.value,u),clearTimeout(m),m=setTimeout(e.emit,20,"input",null===(i=u.context)||void 0===i?void 0:i.value,u),s&&u.context){const n=Iy(u.context.value);Vf(n)&&Iy(t.modelValue)!==n&&v.add(n),e.emit("update:modelValue",n)}}),s&&function(t){const e={},n=n=>{for(const r of n)r.__str in e&&e[r.__str](),e[r.__str]=On($y.bind(null,t,r),i.bind(null,r),{deep:!1})},i=function(t,e,n,i){return r=>{const o=jy(t,r);o!==Ly&&(r.__deep&&i(r),"object"==typeof o&&n(Dy(o,[r],...r)),e(r,o,t))}}(t,(t,e)=>{var n;const i=Iy(e);if(Vf(i)&&v.has(i))return v.delete(i);t.length?null===(n=u.at(t))||void 0===n||n.input(e,!1):u.input(e,!1)},n,t=>{if(t.length)for(const n in e)`${n}`.startsWith(`${t.__str}.`)&&(e[n](),delete e[n])});n(Dy(t))}(function(t,e,n){return Se(t)?t:y(t)?new $e(t):x(t)&&arguments.length>1?je(t,e,n):ke(t)}(t,"modelValue")),pi(()=>u.destroy()),u}(t,e);if(n.props.definition||rg(600,n),n.props.definition.component)return()=>{var t;return xo(null===(t=n.props.definition)||void 0===t?void 0:t.component,{context:n.context},{...e.slots})};const i=ke([]),r=()=>{var e,r;const o=null===(r=null===(e=n.props)||void 0===e?void 0:e.definition)||void 0===r?void 0:r.schema;o||rg(601,n),i.value="function"==typeof o?o({...t.sectionsSchema}):o};r(),n.on("schema",r),e.emit("node",n);const o=n.props.definition.library;return e.expose({node:n}),()=>xo(Cy,{schema:i.value,data:n.context,library:o},{...e.slots})}}),Py=Symbol.for("FormKitOptions"),Ey=Symbol.for("FormKitConfig"),My={install(t,e){const n=Object.assign({alias:"FormKit",schemaAlias:"FormKitSchema"},"function"==typeof e?e():e),i=function(t={}){const e=new Set,n={...t,_add:t=>e.add(t),_rm:t=>t.remove(t)};return new Proxy(n,{set:(t,n,i,r)=>("string"==typeof n&&e.forEach(t=>_g(t,n,i)),Reflect.set(t,n,i,r))})}(n.config||{});n.config={rootConfig:i},t.config.globalProperties.$formkit=function(t,e){return t.component(e.alias||"FormKit",Ty).component(e.schemaAlias||"FormKitSchema",Cy),{get:bg,setLocale:t=>{var n;null!==(n=e.config)&&void 0!==n&&n.rootConfig&&(e.config.rootConfig.locale=t)},clearErrors:Qg,setErrors:Zg,submit:xg,reset:wg}}(t,n),t.provide(Py,n),t.provide(Ey,i)}},Ly=Symbol();function $y(t,e){const n=jy(t,e);return n&&"object"==typeof n?Object.keys(n):n}function jy(t,e){if(Se(t)){if(0===e.length)return t.value;t=t.value}return e.reduce((t,e)=>t===Ly?t:null===t||"object"!=typeof t?Ly:t[e],t)}function Dy(t,e=[],...n){if(null===t)return e;if(!n.length){const n=Object.defineProperty([],"__str",{value:""});if(!(t=Se(t)?t.value:t)||"object"!=typeof t)return[n];Object.defineProperty(n,"__deep",{value:!0}),e.push(n)}if(null===t||"object"!=typeof t)return e;for(const i in t){const r=n.concat(i);Object.defineProperty(r,"__str",{value:r.join(".")});const o=t[i];zf(o)||Array.isArray(o)?(e.push(Object.defineProperty(r,"__deep",{value:!0})),e=e.concat(Dy(o,[],...r))):e.push(r)}return e}function Iy(t){return null===t||"object"!=typeof t||(ge(t)?t=be(t):Se(t)&&(t=ge(t.value)?Iy(t.value):t.value)),t}const Ny=["help","label","ignore","disabled","preserve",/^preserve(-e|E)rrors/,/^[a-z]+(?:-visibility|Visibility)$/,/^[a-zA-Z-]+(?:-class|Class)$/,"prefixIcon","suffixIcon",/^[a-zA-Z-]+(?:-icon|Icon)$/];function Ry(t,e){e.classes&&Object.keys(e.classes).forEach(n=>{"string"==typeof n&&(t.props[`_${n}Class`]=e.classes[n],Vf(e.classes[n])&&"inner"===n&&Object.values(e.classes[n]))})}let By=1;const Vy=function(t){t.ledger.count("blocking",t=>t.blocking);const e=ke(!t.ledger.value("blocking"));t.ledger.count("errors",t=>"error"===t.type);const n=ke(!!t.ledger.value("errors"));let i=!1;Ke(()=>{i=!0});const r=he(t.store.reduce((t,e)=>(e.visible&&(t[e.key]=e),t),{})),o=ke(t.props.validationVisibility||"blur");t.on("prop:validationVisibility",({payload:t})=>{o.value=t});const s=ke("live"===o.value),a=_o(()=>{if(v.state.submitted)return!0;if(!s.value&&!v.state.settled)return!1;switch(o.value){case"live":return!0;case"blur":return v.state.blurred;case"dirty":return v.state.dirty;default:return!1}}),l=_o(()=>c.value?e.value&&!n.value:v.state.dirty&&!Rf(v.value)),c=ke(Array.isArray(t.props.parsedRules)&&t.props.parsedRules.length>0);t.on("prop:parsedRules",({payload:t})=>{c.value=Array.isArray(t)&&t.length>0});const u=_o(()=>{const t={};for(const e in r){const n=r[e];("validation"!==n.type||a.value)&&(t[e]=n)}return t}),h=he(t.store.reduce((t,e)=>("ui"===e.type&&e.visible&&(t[e.key]=e),t),{})),d=he({}),p=new Proxy(d,{get(...e){const[n,i]=e;let r=Reflect.get(...e);return!r&&"string"==typeof i&&!If(n,i)&&!i.startsWith("__v")&&Tv(t).watch(t=>{const e="function"==typeof t.config.rootClasses?t.config.rootClasses(i,t):{},o=t.config.classes?Kg(i,t,t.config.classes[i]):{},s=Kg(i,t,t.props[`_${i}Class`]),a=Kg(i,t,t.props[`${i}Class`]);r=function(t,e,...n){const i=n.reduce((t,e)=>{if(!e)return t;const{$reset:n,...i}=e;return n?i:Object.assign(t,i)},{});return Object.keys(t.hook.classes.dispatch({property:e,classes:i}).classes).filter(t=>i[t]).join(" ")||null}(t,i,e,o,s,a),n[i]=r}),r}}),f=_o(()=>{const e=[];v.help&&e.push(`help-${t.props.id}`);for(const n in u.value)e.push(`${t.props.id}-${n}`);return e.length?e.join(" "):void 0}),g=ke(t.value),m=ke(t.value),v=he({_value:m,attrs:t.props.attrs,disabled:t.props.disabled,describedBy:f,fns:{length:t=>Object.keys(t).length,number:t=>Number(t),string:t=>String(t),json:t=>JSON.stringify(t),eq:Nf},handlers:{blur:e=>{t.store.set(og({key:"blurred",visible:!1,value:!0})),"function"==typeof t.props.attrs.onBlur&&t.props.attrs.onBlur(e)},touch:()=>{t.store.set(og({key:"dirty",visible:!1,value:!0}))},DOMInput:e=>{t.input(e.target.value),t.emit("dom-input-event",e)}},help:t.props.help,id:t.props.id,label:t.props.label,messages:u,node:_e(t),options:t.props.options,state:{blurred:!1,complete:l,dirty:!1,submitted:!1,settled:t.isSettled,valid:e,errors:n,rules:c,validationVisible:a},type:t.props.type,family:t.props.family,ui:h,value:g,classes:p});function y(e){e.forEach(e=>{e=qf(e),!If(v,e)&&If(t.props,e)&&(v[e]=t.props[e]),t.on(`prop:${e}`,({payload:t})=>{v[e]=t})})}var b;t.on("created",()=>{Nf(v.value,t.value)||(m.value=t.value,g.value=t.value,Ae(g),Ae(m)),t.props._init=Yf(t.value)}),t.on("settled",({payload:t})=>{v.state.settled=t}),y((()=>{const e=/^[a-zA-Z-]+(?:-icon|Icon)$/,n=Object.keys(t.props).filter(t=>e.test(t));return["help","label","disabled","options","type","attrs","preserve","preserveErrors","id"].concat(n)})()),t.props.definition&&(b=t.props.definition).props&&y(b.props),t.on("added-props",({payload:t})=>y(t)),t.on("input",({payload:t})=>{m.value=t,Ae(m)}),t.on("commit",({payload:e})=>{g.value=m.value=e,Ae(g),t.emit("modelUpdated"),!v.state.dirty&&t.isCreated&&i&&!Nf(g.value,t.props._init)&&v.handlers.touch(),l&&"input"===t.type&&n.value&&!Kf(t.props.preserveErrors)&&t.store.filter(t=>{var e;return!("error"===t.type&&!0===(null===(e=t.meta)||void 0===e?void 0:e.autoClear))})});const _=async t=>{"ui"===t.type&&t.visible&&!t.meta.showAsMessage?h[t.key]=t:t.visible?r[t.key]=t:"state"===t.type&&(v.state[t.key]=!!t.value)};t.on("message-added",t=>_(t.payload)),t.on("message-updated",t=>_(t.payload)),t.on("message-removed",({payload:t})=>{delete h[t.key],delete r[t.key],delete v.state[t.key]}),t.on("settled:blocking",()=>{e.value=!0}),t.on("unsettled:blocking",()=>{e.value=!1}),t.on("settled:errors",()=>{n.value=!1}),t.on("unsettled:errors",()=>{n.value=!0}),On(a,t=>{t&&(s.value=!0)}),t.context=v,t.emit("context",t,!1)};Un({name:"FormKitIcon",props:{icon:{type:String,default:""},iconLoader:{type:Function,default:null},iconLoaderUrl:{type:Function,default:null}},setup(t){var e,n;const i=ke(void 0),r=Sn(Py,{}),o=Sn(Ay,null);let s;if(t.iconLoader&&"function"==typeof t.iconLoader)s=ly(t.iconLoader);else if(o&&null!==(e=o.props)&&void 0!==e&&e.iconLoader)s=ly(o.props.iconLoader);else if(t.iconLoaderUrl&&"function"==typeof t.iconLoaderUrl)s=ly(s,t.iconLoaderUrl);else{const t=null===(n=null==r?void 0:r.plugins)||void 0===n?void 0:n.find(t=>"function"==typeof t.iconHandler);t&&(s=t.iconHandler)}if(s&&"function"==typeof s){const e=s(t.icon);e instanceof Promise?e.then(t=>{i.value=t}):i.value=e}return()=>i.value?xo("span",{class:"formkit-icon",innerHTML:i.value}):null}});const zy=Un({__name:"select-input",props:{context:{type:Object,required:!0}},setup(t){const e=t,n=t=>e.context.attrs.customValue?e.context.attrs.customValue(t):t,i=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value,i].flat().filter(Boolean)):e.context.node.input(i)},r=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value].flat().filter(t=>t!==i)):e.context.node.input(null)},o=_o(()=>e.context.attrs.options.find(t=>n(t)===e.context._value)||e.context._value),s=_o(()=>e.context.node.props),a=ke(!1),l=su.debounce(async(t,n)=>{t&&e.context.attrs.onSearchChange&&(a.value=!0,await e.context.attrs.onSearchChange(t,n),a.value=!1)},e.context.attrs.searchDebounce),c=_o(()=>({...e.context.attrs,loading:a.value||e.context.attrs.loading,onSearchChange:l}));return pi(()=>{l.cancel()}),(n,a)=>(jr(),Rr("div",{class:q(["ap-select-input",{taggable:t.context.attrs.taggable}])},[Ur(Te(Jp),Jr(c.value,{id:s.value.id,class:{error:t.context.state.errors||t.context.state.validationVisible&&!t.context.state.valid},disabled:s.value.disabled,"model-value":o.value,name:s.value.name,options:t.context.attrs.options,onBlur:t.context.handlers.blur,onRemove:r,onSelect:i,onTouch:t.context.handlers.touch}),Ci({_:2},[ki(e.context.slots,(t,e)=>({name:e,fn:bn(e=>[t?(jr(),Br(xi(t),G(Jr({key:0},e)),null,16)):Yr("",!0)])}))]),1040,["id","class","disabled","model-value","name","options","onBlur","onTouch"])],2))}}),Fy=hu(zy,[["__scopeId","data-v-7460d5fa"]]),Wy={allowEmpty:{type:Boolean,required:!1,default:!0},blockKeys:{type:Array,required:!1,default:[]},clearOnSelect:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},customLabel:{type:Function,required:!1},customValue:{type:Function,required:!1},groupValues:{type:String,required:!1},groupLabel:{type:String,required:!1},groupSelect:{type:Boolean,required:!1,default:!1},hideSelected:{type:Boolean,required:!1,default:!1},id:{type:String,required:!1},internalSearch:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1},limitText:{type:Function,required:!1,default:t=>`and ${t} more`},loading:{type:Boolean,required:!1,default:!1},modelValue:{type:void 0,required:!1},multiple:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1},onSearchChange:{type:Function,required:!1},onTag:{type:Function,required:!1},openDirection:{type:String,required:!1},options:{type:Array,required:!1,default:()=>[]},optionsLimit:{type:Number,required:!1,default:1e3},preselectFirst:{type:Boolean,required:!1,default:!1},preserveSearch:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1},resetAfter:{type:Boolean,required:!1,default:!1},searchDebounce:{type:Number,required:!1,default:500},searchable:{type:Boolean,required:!1,default:!0},taggable:{type:Boolean,required:!1,default:!1},tagPlaceholder:{type:String,required:!1,default:"Press enter to create a tag"},tagPosition:{type:String,required:!1,default:"top"}},Hy=Un({__name:"select-field",props:{...Wy,...Af},setup(t){const e=t,n=function(t,e={}){const n={type:"input",...e};let i;if(function(t){return"function"==typeof t&&2===t.length||"object"==typeof t&&!Array.isArray(t)&&!("$el"in t)&&!("$cmp"in t)&&!("if"in t)}(t)){const e="SchemaComponent"+By++;i=rv("input",()=>({$cmp:e,props:{context:"$node.context"}})),n.library={[e]:_e(t)}}else i="function"==typeof t?t:rv("input",()=>Yf(t));return n.schema=function(t){return tm(nm(im("$label"),em(sm(),t(),am())),lm("$help"),rm(om("$message.value")))}(i||"Schema undefined"),n}(Fy);return(t,i)=>(jr(),Br(Pf,Jr(e,{type:Te(n)}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040,["type"]))}}),Uy=Un({__name:"text-field",props:Af,setup(t){const e=t;return(t,n)=>(jr(),Br($f,Jr(e,{type:"text"}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040))}}),qy=new Set,Gy=new WeakMap,Xy=new WeakMap,Yy=new WeakMap,Ky=new WeakMap,Zy=new WeakMap,Qy=new WeakMap,Jy=new WeakMap,tb=new WeakSet;let eb;const nb="__aa_tgt",ib="__aa_del";function rb(t){clearTimeout(Jy.get(t));const e=pb(t),n="function"==typeof e?500:e.duration;Jy.set(t,setTimeout(async()=>{const e=Yy.get(t);(!e||await e.finished)&&(Gy.set(t,hb(t)),function(t){const e=Ky.get(t);null==e||e.disconnect();let n=Gy.get(t),i=0;n||(n=hb(t),Gy.set(t,n));const{offsetWidth:r,offsetHeight:o}=eb,s=[n.top-5,r-(n.left+5+n.width),o-(n.top+5+n.height),n.left-5].map(t=>-1*Math.floor(t)+"px").join(" "),a=new IntersectionObserver(()=>{++i>1&&rb(t)},{root:eb,threshold:1,rootMargin:s});a.observe(t),Ky.set(t,a)}(t))},n))}function ob(t){setTimeout(()=>{Zy.set(t,setInterval(()=>sb(rb.bind(null,t)),2e3))},Math.round(2e3*Math.random()))}function sb(t){"function"==typeof requestIdleCallback?requestIdleCallback(()=>t()):requestAnimationFrame(()=>t())}let ab,lb;function cb(t,e){e||nb in t?e&&!(nb in e)&&Object.defineProperty(e,nb,{value:t}):Object.defineProperty(t,nb,{value:t})}function ub(t){return Number(t.replace(/[^0-9.\-]/g,""))}function hb(t){const e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX,width:e.width,height:e.height}}function db(t,e,n){let i=e.width,r=e.height,o=n.width,s=n.height;const a=getComputedStyle(t);if("content-box"===a.getPropertyValue("box-sizing")){const t=ub(a.paddingTop)+ub(a.paddingBottom)+ub(a.borderTopWidth)+ub(a.borderBottomWidth),e=ub(a.paddingLeft)+ub(a.paddingRight)+ub(a.borderRightWidth)+ub(a.borderLeftWidth);i-=e,o-=e,r-=t,s-=t}return[i,o,r,s].map(Math.round)}function pb(t){return nb in t&&Qy.has(t[nb])?Qy.get(t[nb]):{duration:250,easing:"ease-in-out"}}function fb(t){if(nb in t)return t[nb]}function gb(t){const e=fb(t);return!!e&&tb.has(e)}function mb(t,...e){e.forEach(e=>e(t,Qy.has(t)));for(let n=0;n<t.children.length;n++){const i=t.children.item(n);i&&e.forEach(t=>t(i,Qy.has(i)))}}typeof window<"u"&&(eb=document.documentElement,ab=new MutationObserver(t=>{const e=function(t){return t.reduce((t,e)=>{if(!1===t)return!1;if(e.target instanceof Element){if(cb(e.target),!t.has(e.target)){t.add(e.target);for(let n=0;n<e.target.children.length;n++){const i=e.target.children.item(n);if(i){if(ib in i)return!1;cb(e.target,i),t.add(i)}}}if(e.removedNodes.length)for(let n=0;n<e.removedNodes.length;n++){const i=e.removedNodes[n];if(ib in i)return!1;i instanceof Element&&(t.add(i),cb(e.target,i),Xy.set(i,[e.previousSibling,e.nextSibling]))}}return t},new Set)}(t);e&&e.forEach(t=>function(t){var e;const n=eb.contains(t),i=Gy.has(t);n&&Xy.has(t)&&Xy.delete(t),Yy.has(t)&&(null===(e=Yy.get(t))||void 0===e||e.cancel()),i&&n?function(t){const e=Gy.get(t),n=hb(t);if(!gb(t))return Gy.set(t,n);let i;if(!e)return;const r=pb(t);if("function"!=typeof r){const o=e.left-n.left,s=e.top-n.top,[a,l,c,u]=db(t,e,n),h={transform:`translate(${o}px, ${s}px)`},d={transform:"translate(0, 0)"};a!==l&&(h.width=`${a}px`,d.width=`${l}px`),c!==u&&(h.height=`${c}px`,d.height=`${u}px`),i=t.animate([h,d],{duration:r.duration,easing:r.easing})}else i=new Animation(r(t,"remain",e,n)),i.play();Yy.set(t,i),Gy.set(t,n),i.addEventListener("finish",rb.bind(null,t))}(t):i&&!n?function(t){var e;if(!Xy.has(t)||!Gy.has(t))return;const[n,i]=Xy.get(t);function r(){var e;t.remove(),Gy.delete(t),Xy.delete(t),Yy.delete(t),null===(e=Ky.get(t))||void 0===e||e.disconnect()}if(Object.defineProperty(t,ib,{value:!0}),i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(t,i):n&&n.parentNode?n.parentNode.appendChild(t):null===(e=fb(t))||void 0===e||e.appendChild(t),!gb(t))return r();const[o,s,a,l]=function(t){const e=Gy.get(t),[n,,i]=db(t,e,hb(t));let r=t.parentElement;for(;r&&("static"===getComputedStyle(r).position||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const o=getComputedStyle(r),s=Gy.get(r)||hb(r);return[Math.round(e.top-s.top)-ub(o.borderTopWidth),Math.round(e.left-s.left)-ub(o.borderLeftWidth),n,i]}(t),c=pb(t),u=Gy.get(t);let h;Object.assign(t.style,{position:"absolute",top:`${o}px`,left:`${s}px`,width:`${a}px`,height:`${l}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),"function"!=typeof c?h=t.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:c.duration,easing:"ease-out"}):(h=new Animation(c(t,"remove",u)),h.play()),Yy.set(t,h),h.addEventListener("finish",r)}(t):function(t){const e=hb(t);Gy.set(t,e);const n=pb(t);if(!gb(t))return;let i;"function"!=typeof n?i=t.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*n.duration,easing:"ease-in"}):(i=new Animation(n(t,"add",e)),i.play()),Yy.set(t,i),i.addEventListener("finish",rb.bind(null,t))}(t)}(t))}),lb=new ResizeObserver(t=>{t.forEach(t=>{t.target===eb&&(clearTimeout(Jy.get(eb)),Jy.set(eb,setTimeout(()=>{qy.forEach(t=>mb(t,t=>sb(()=>rb(t))))},100))),Gy.has(t.target)&&rb(t.target)})}),lb.observe(eb));const vb=new Map;let yb=null;function bb(){vb.forEach((t,e)=>{const n=document.getElementById(e);n&&(vb.delete(e),function(t,e={}){ab&&lb&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&"function"!=typeof e&&!e.disrespectUserMotionPreference||(tb.add(t),"static"===getComputedStyle(t).position&&Object.assign(t.style,{position:"relative"}),mb(t,rb,ob,t=>null==lb?void 0:lb.observe(t)),"function"==typeof e?Qy.set(t,e):Qy.set(t,{duration:250,easing:"ease-in-out",...e}),ab.observe(t,{childList:!0}),qy.add(t))),Object.freeze({parent:t,enable:()=>{tb.add(t)},disable:()=>{tb.delete(t)},isEnabled:()=>tb.has(t)})}(n,t||{}))})}const _b={install(t,e={}){var n;t.use(My,((t={})=>{const{rules:e={},locales:n={},inputs:i={},messages:r={},locale:o,theme:s,iconLoaderUrl:a,iconLoader:l,icons:c={},...u}=t,h=function(t={}){return function(e){const n=Object.assign({},t,e.props.validationRules);let i=Tv(e);const r={input:jf(),rerun:null,isPassing:!0};let o=Yf(e.props.validation);e.on("prop:validation",({payload:t})=>{Nf(o,t)||(o=Yf(t),Ev(i.receipts),e.store.filter(()=>!1,"validation"),e.props.parsedRules=Hv(t,n),i.kill(),i=Tv(e),jv(i,e.props.parsedRules,r))}),e.props.parsedRules=Hv(o,n),jv(i,e.props.parsedRules,r)}}({...Ov,...e||{}}),d=function(t){return function(e){let n=Zv(e.config.locale,t),i=n?t[n]:{};e.on("prop:locale",({payload:r})=>{n=Zv(r,t),i=n?t[n]:{},e.store.touch()}),e.on("prop:label",()=>e.store.touch()),e.on("prop:validationLabel",()=>e.store.touch()),e.hook.text((t,e)=>{var n,r;const o=(null===(n=t.meta)||void 0===n?void 0:n.messageKey)||t.key;if(If(i,t.type)&&If(i[t.type],o)){const e=i[t.type][o];t.value="function"==typeof e?Array.isArray(null===(r=t.meta)||void 0===r?void 0:r.i18nArgs)?e(...t.meta.i18nArgs):e(t):e}return e(t)})}}(Ff({en:Kv,...n||{}},r)),p=function(...t){const e=t.reduce((t,e)=>Ff(t,e),{}),n=()=>{};return n.library=function(t){const n=qf(t.props.type);If(e,n)&&t.define(e[n])},n}(bv,i);return Ff({plugins:[p,ay(s,c,a,l),Vy,d,h],...o?{config:{locale:o}}:{}},u||{},!0)})({...e,plugins:[t=>{t.on("created",()=>{var e;if("function"==typeof(null===(e=t.props.definition)||void 0===e?void 0:e.schema)){if(void 0===typeof window)return;const e=t.props.definition.schema;t.props.definition.schema=n=>{n.outer=Ff({attrs:{id:`outer-${t.props.id}`}},n.outer||{});const i=e(n),r=Xg(i[0])?Array.isArray(i[0].else)?i[0].else[0]:i[0].else:i[0];return r&&qg(r)&&r.attrs&&"id"in r.attrs&&vb.set(String("$id"===r.attrs.id?t.props.id:r.attrs.id),void 0),i}}yb||(bb(),yb=new MutationObserver(()=>{bb(),!vb.size&&yb&&(yb.disconnect(),yb=null)}),yb.observe(document,{childList:!0,subtree:!0}))})},...e.plugins||[]],config:{...e.config,classes:{messages:bf.messages,message:bf.message,help:bf.help,optionHelp:bf.help,inner:bf.inner,...null==(n=e.config)?void 0:n.classes}}}))}},xb=t=>(vn("data-v-69b1dd7f"),t=t(),yn(),t),wb={key:0},Sb=[xb(()=>Hr("td",{colspan:"999"},[Hr("span",{class:"loading"})],-1))],kb={key:1},Cb={colspan:"999"},Ob=xb(()=>Hr("div",null,null,-1)),Ab=Un({__name:"table-core",props:{hideRowCount:{type:Boolean},loading:{type:Boolean},page:{},pageTotal:{},rows:{default:()=>[]},rowCount:{default:({rows:t})=>(null==t?void 0:t.length)||0},onSearch:{},searchProps:{default:()=>({debounce:0,placeholder:"Search..."})},titleDescription:{},title:{}},emits:["sort","update:page"],setup(t,{emit:e}){const n=t,i=ms();function r(t){return void 0!==t.page&&void 0!==t.pageTotal}const o=_o(()=>{const t=n.page||1,e=n.pageTotal,i=n.rowCount;if(!e||!i)return{start:0,end:0};let r;return r=t<e?n.rows.length*(t-1):i-n.rows.length,{start:r+1,end:r+n.rows.length}});return(t,s)=>(jr(),Rr("div",null,[r(n)||t.hideRowCount?Yr("",!0):(jr(),Rr("div",{key:0,class:q(t.$style.searchCountTop)},[Xr(" Showing "),Hr("strong",null,J(t.rows.length),1),Xr(" of "),Hr("strong",null,J(t.rowCount),1)],2)),t.$slots.title||t.title||t.$slots.titleDescription||t.titleDescription?(jr(),Rr("div",{key:1,class:q(t.$style.titleRow)},[Oi(t.$slots,"title",{},()=>[t.title?(jr(),Br(mf,{key:0},{default:bn(()=>[Xr(J(t.title),1)]),_:1})):Yr("",!0)],!0),t.$slots.titleDescription||t.titleDescription?(jr(),Rr("div",{key:0,class:q(t.$style.titleDescription)},[Oi(t.$slots,"titleDescription",{},()=>[Xr(J(t.titleDescription),1)],!0)],2)):Yr("",!0)],2)):Yr("",!0),t.$slots.search||t.onSearch?(jr(),Rr("div",{key:2,class:q(t.$style.searchInput)},[Oi(t.$slots,"search",{},()=>[Ur(Te(Sv),{config:{delay:t.searchProps.debounce},placeholder:t.searchProps.placeholder,onInput:t.onSearch},null,8,["config","placeholder","onInput"])],!0)],2)):Yr("",!0),Hr("table",{class:q(t.$style.table)},[Hr("thead",{onClick:s[0]||(s[0]=t=>function(t){var n;if(!t.target)return;const r=su.get(t,"target.attributes.data-sort-by.value");if(!r)return;const o=t.target,s=o.classList.contains(i.active)?o.classList.contains(i.reverse)?"asc":"desc":"asc";null!=(n=o.parentElement)&&n.children&&Array.from(o.parentElement.children).forEach(t=>{t.classList&&(t.classList.remove(i.active),t.classList.remove(i.reverse))}),o.classList.add(i.active),o.classList["desc"===s?"add":"remove"](i.reverse),e("sort",r,s)}(t))},[Oi(t.$slots,"thead",{},void 0,!0)]),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(t.rows,e=>Oi(t.$slots,"tbody",{row:e,rows:t.rows},void 0,!0)),256)),t.loading?(jr(),Rr("tr",wb,Sb)):Yr("",!0),t.rows.length||t.loading?Yr("",!0):(jr(),Rr("tr",kb,[Hr("td",Cb,[Oi(t.$slots,"empty",{},()=>[Xr(" No items found ")],!0)])]))])],2),r(n)?(jr(),Rr("div",{key:3,class:q(t.$style.footer)},[Ob,Ur(Te(pf),{"model-value":n.page,total:n.pageTotal,class:q(t.$style.pagination),"onUpdate:modelValue":s[1]||(s[1]=e=>t.$emit("update:page",e))},null,8,["model-value","total","class"]),t.hideRowCount?Yr("",!0):(jr(),Rr("div",{key:0,class:q(t.$style.searchCountBottom)},[Xr(" Showing "),Hr("strong",null,J(o.value.start)+"-"+J(o.value.end),1),Xr(" of "),Hr("strong",null,J(t.rowCount),1)],2))],2)):Yr("",!0)]))}}),Tb=hu(Ab,[["__cssModules",{$style:{icon:"_icon_sahpl_1",titleRow:"_titleRow_sahpl_51",titleDescription:"_titleDescription_sahpl_54",searchCount:"_searchCount_sahpl_58",searchCountTop:"_searchCountTop_sahpl_59",searchCountBottom:"_searchCountBottom_sahpl_60",searchInput:"_searchInput_sahpl_75",table:"_table_sahpl_79",active:"_active_sahpl_111",reverse:"_reverse_sahpl_114",footer:"_footer_sahpl_121",pagination:"_pagination_sahpl_131",spin:"_spin_sahpl_1"}}],["__scopeId","data-v-69b1dd7f"]]),Pb=(Object.assign(Tb,{Title:mf}),Boolean,Boolean,he({id:1,active:[],add(t){Pb.active.push({id:this.id++,...t})},remove(t){const e=this.active.findIndex(e=>e.id===t);this.active.splice(e,1)},reset(){this.active=[],this.id=1}})),Eb="sidenav-lock",Mb=(he({isMobileOpen:!1,isLocked:!!(typeof localStorage<"u"&&localStorage.getItem(Eb)),toggleMobile(){this.isMobileOpen=!this.isMobileOpen},toggleLock(){this.isLocked=!this.isLocked,typeof localStorage<"u"&&(this.isLocked?localStorage.setItem(Eb,"true"):localStorage.removeItem(Eb))}}),{install(t,e={}){t.use(_b,e.form),t.directive("hidden",function(t,e){t.style.visibility=e.value?"hidden":null})}});function Lb(t,e,...n){if(t in e){let i=e[t];return"function"==typeof i?i(...n):i}let i=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(t=>`"${t}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Lb),i}var $b=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))($b||{}),jb=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(jb||{});function Db({visible:t=!0,features:e=0,ourProps:n,theirProps:i,...r}){var o;let s=Rb(i,n),a=Object.assign(r,{props:s});return t||2&e&&s.static?Ib(a):1&e?Lb(null==(o=s.unmount)||o?0:1,{0:()=>null,1:()=>Ib({...r,props:{...s,hidden:!0,style:{display:"none"}}})}):Ib(a)}function Ib({props:t,attrs:e,slots:n,slot:i,name:r}){var o,s;let{as:a,...l}=function(t,e=[]){let n=Object.assign({},t);for(let t of e)t in n&&delete n[t];return n}(t,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,i),u={};if(i){let t=!1,e=[];for(let[n,r]of Object.entries(i))"boolean"==typeof r&&(t=!0),!0===r&&e.push(n);t&&(u["data-headlessui-state"]=e.join(" "))}if("template"===a){if(c=Nb(c??[]),Object.keys(l).length>0||Object.keys(e).length>0){let[t,...n]=c??[];if(!function(t){return null!=t&&("string"==typeof t.type||"object"==typeof t.type||"function"==typeof t.type)}(t)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(e)).map(t=>t.trim()).filter((t,e,n)=>n.indexOf(t)===e).sort((t,e)=>t.localeCompare(e)).map(t=>` - ${t}`).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(t=>` - ${t}`).join("\n")].join("\n"));let i=Rb(null!=(s=t.props)?s:{},l),o=Gr(t,i);for(let t in i)t.startsWith("on")&&(o.props||(o.props={}),o.props[t]=i[t]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return xo(a,Object.assign({},l,u),{default:()=>c})}function Nb(t){return t.flatMap(t=>t.type===Tr?Nb(t.children):[t])}function Rb(...t){if(0===t.length)return{};if(1===t.length)return t[0];let e={},n={};for(let i of t)for(let t in i)t.startsWith("on")&&"function"==typeof i[t]?(null!=n[t]||(n[t]=[]),n[t].push(i[t])):e[t]=i[t];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(n).map(t=>[t,void 0])));for(let t in n)Object.assign(e,{[t](e,...i){let r=n[t];for(let t of r){if(e instanceof Event&&e.defaultPrevented)return;t(e,...i)}}});return e}let Bb=0;function Vb(){return++Bb}var zb=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(zb||{});function Fb(t){var e;return null==t||null==t.value?null:null!=(e=t.value.$el)?e:t.value}let Wb=Symbol("Context");var Hb=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(Hb||{});function Ub(t,e){if(t)return t;let n=e??"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}var qb=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(qb||{});let Gb=Symbol("DisclosureContext");function Xb(t){let e=Sn(Gb,null);if(null===e){let e=new Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Xb),e}return e}let Yb=Symbol("DisclosurePanelContext");Un({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(t,{slots:e,attrs:n}){let i=ke(t.defaultOpen?0:1),r=ke(null),o=ke(null),s={buttonId:ke(`headlessui-disclosure-button-${Vb()}`),panelId:ke(`headlessui-disclosure-panel-${Vb()}`),disclosureState:i,panel:r,button:o,toggleDisclosure(){i.value=Lb(i.value,{0:1,1:0})},closeDisclosure(){1!==i.value&&(i.value=1)},close(t){s.closeDisclosure();let e=t?t instanceof HTMLElement?t:t.value instanceof HTMLElement?Fb(t):Fb(s.button):Fb(s.button);null==e||e.focus()}};return wn(Gb,s),function(t){wn(Wb,t)}(_o(()=>Lb(i.value,{0:Hb.Open,1:Hb.Closed}))),()=>{let{defaultOpen:r,...o}=t;return Db({theirProps:o,ourProps:{},slot:{open:0===i.value,close:s.close},slots:e,attrs:n,name:"Disclosure"})}}}),Un({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=Xb("DisclosureButton"),o=Sn(Yb,null),s=_o(()=>null!==o&&o.value===r.panelId.value);ci(()=>{s.value||null!==t.id&&(r.buttonId.value=t.id)}),pi(()=>{s.value||(r.buttonId.value=null)});let a=ke(null);i({el:a,$el:a}),s.value||Cn(()=>{r.button.value=a.value});let l=function(t,e){let n=ke(Ub(t.value.type,t.value.as));return ci(()=>{n.value=Ub(t.value.type,t.value.as)}),Cn(()=>{var t;n.value||Fb(e)&&Fb(e)instanceof HTMLButtonElement&&(null==(t=Fb(e))||!t.hasAttribute("type"))&&(n.value="button")}),n}(_o(()=>({as:t.as,type:e.type})),a);function c(){var e;t.disabled||(s.value?(r.toggleDisclosure(),null==(e=Fb(r.button))||e.focus()):r.toggleDisclosure())}function u(e){var n;if(!t.disabled)if(s.value)switch(e.key){case zb.Space:case zb.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure(),null==(n=Fb(r.button))||n.focus()}else switch(e.key){case zb.Space:case zb.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure()}}function h(t){t.key===zb.Space&&t.preventDefault()}return()=>{var i;let o={open:0===r.disclosureState.value},{id:d,...p}=t;return Db({ourProps:s.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:null!=(i=r.buttonId.value)?i:d,ref:a,type:l.value,"aria-expanded":0===r.disclosureState.value,"aria-controls":0===r.disclosureState.value||Fb(r.panel)?r.panelId.value:void 0,disabled:!!t.disabled||void 0,onClick:c,onKeydown:u,onKeyup:h},theirProps:p,slot:o,attrs:e,slots:n,name:"DisclosureButton"})}}}),Un({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=Xb("DisclosurePanel");ci(()=>{null!==t.id&&(r.panelId.value=t.id)}),pi(()=>{r.panelId.value=null}),i({el:r.panel,$el:r.panel}),wn(Yb,r.panelId);let o=Sn(Wb,null),s=_o(()=>null!==o?(o.value&Hb.Open)===Hb.Open:0===r.disclosureState.value);return()=>{var i;let o={open:0===r.disclosureState.value,close:r.close},{id:a,...l}=t;return Db({ourProps:{id:null!=(i=r.panelId.value)?i:a,ref:r.panel},theirProps:l,slot:o,attrs:e,slots:n,features:$b.RenderStrategy|$b.Static,visible:s.value,name:"DisclosurePanel"})}}});Boolean,Boolean,Boolean,Boolean,Boolean;Boolean,Boolean;const Kb=hu(Un({__name:"nav-link-contents",props:{link:{},wrapperMaxWidth:{}},setup:t=>(t,e)=>(jr(),Rr("div",{class:"wrapper",style:z({maxWidth:t.wrapperMaxWidth})},[t.link.icon?(jr(),Rr(Tr,{key:0},["string"==typeof t.link.icon?(jr(),Br(Te(fu),{key:0,class:q([t.link.icon,"icon"]),icon:t.link.icon},null,8,["class","icon"])):(jr(),Br(xi(t.link.icon()),{key:1}))],64)):Yr("",!0),Oi(t.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-418031f4"]]),Zb=["href","onClick"],Qb={key:1};Boolean;Boolean;Boolean;function Jb(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}function t_(t,e={}){if(Jb(t)){const n=(e,i)=>{var r,o;const s=null!=(r=null==t?void 0:t.$attrs)&&r[e]?[null==(o=null==t?void 0:t.$attrs)?void 0:o[e]]:[];return[i].flat().reduce((t,i)=>{if(null!=i){const r=typeof i;if("string"===r||"number"===r)t.push(i);else if("object"===r){const r=Array.isArray(i)?n(e,i):Object.entries(i).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=r.length?t.concat(r.filter(t=>!!t)):t}}return t},s)};Object.entries(e).forEach(([e,i])=>{if(null!=i){const r=e.match(/^on(.+)/);r?t.addEventListener(r[1].toLowerCase(),i):"p-bind"===e?t_(t,i):(i="class"===e?[...new Set(n("class",i))].join(" ").trim():"style"===e?n("style",i).join(";").trim():i,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=i),t.setAttribute(e,i))}})}}function e_(t,e){return Jb(t)?Array.from(t.querySelectorAll(e)):[]}function n_(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function i_(t){return!!(t&&t.constructor&&t.call&&t.apply)}function r_(t){return!n_(t)}function o_(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}function s_(t,...e){return i_(t)?t(...e):t}function a_(t,e=!0){return"string"==typeof t&&(e||""!==t)}function l_(t){return a_(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function c_(t,e="",n={}){const i=l_(e).split("."),r=i.shift();return r?o_(t)?c_(s_(t[Object.keys(t).find(t=>l_(t)===r)||""],n),i.join("."),n):void 0:s_(t,n)}function u_(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}function h_(t){return r_(t)&&!isNaN(t)}function d_(t,e){if(e){const n=e.test(t);return e.lastIndex=0,n}return!1}function p_(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function f_(t){return a_(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,e)=>0===e?t:"-"+t.toLowerCase()).toLowerCase():t}function g_(t){return a_(t)?t.replace(/[A-Z]/g,(t,e)=>0===e?t:"."+t.toLowerCase()).toLowerCase():t}Boolean;var m_={};function v_(){return function(t="pui_id_"){return m_.hasOwnProperty(t)||(m_[t]=0),m_[t]++,`${t}${m_[t]}`}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_")}var y_=Object.defineProperty,b_=Object.defineProperties,__=Object.getOwnPropertyDescriptors,x_=Object.getOwnPropertySymbols,w_=Object.prototype.hasOwnProperty,S_=Object.prototype.propertyIsEnumerable,k_=(t,e,n)=>e in t?y_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,C_=(t,e)=>{for(var n in e||(e={}))w_.call(e,n)&&k_(t,n,e[n]);if(x_)for(var n of x_(e))S_.call(e,n)&&k_(t,n,e[n]);return t},O_=(t,e)=>b_(t,__(e)),A_=(t,e)=>{var n={};for(var i in t)w_.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&x_)for(var i of x_(t))e.indexOf(i)<0&&S_.call(t,i)&&(n[i]=t[i]);return n},T_=function(){const t=new Map;return{on(e,n){let i=t.get(e);return i?i.push(n):i=[n],t.set(e,i),this},off(e,n){let i=t.get(e);return i&&i.splice(i.indexOf(n)>>>0,1),this},emit(e,n){let i=t.get(e);i&&i.slice().map(t=>{t(n)})},clear(){t.clear()}}}(),P_=T_;function E_(t,e){u_(t)?t.push(...e||[]):o_(t)&&Object.assign(t,e)}function M_(t,e=""){return["opacity","z-index","line-height","font-weight","flex","flex-grow","flex-shrink","order"].some(t=>e.endsWith(t))?t:`${t}`.trim().split(" ").map(t=>h_(t)?`${t}px`:t).join(" ")}function L_(t="",e=""){return function(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}(`${a_(t,!1)&&a_(e,!1)?`${t}-`:t}${e}`)}function $_(t="",e=""){return`--${L_(t,e)}`}function j_(t,e="",n="",i=[],r){if(a_(t)){const o=/{([^}]*)}/g,s=t.trim();if(d_(s,o)){const t=s.replaceAll(o,t=>{const e=t.replace(/{|}/g,"").split(".").filter(t=>!i.some(e=>d_(t,e)));return`var(${$_(n,f_(e.join("-")))}${r_(r)?`, ${r}`:""})`}),e=/(\d+\s+[\+\-\*\/]\s+\d+)/g,a=/var\([^)]+\)/g;return d_(t.replace(a,"0"),e)?`calc(${t})`:t}return M_(s,e)}if(h_(t))return M_(t,e)}function D_(t,e){return t?`${t}{${e}}`:""}var I_=(...t)=>N_(B_.getTheme(),...t),N_=(t={},e,n,i="variable")=>{if(e){const{variable:r,options:o}=B_.defaults||{},{prefix:s,transform:a}=(null==t?void 0:t.options)||o||{},l=d_(e,/{([^}]*)}/g)?e:`{${e}}`;return"value"===i||"strict"===a?B_.getTokenValue(e):j_(l,void 0,s,[r.excludedKeyRegex],n)}return""};var R_={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:`${t}{:root{[CSS]}}`,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(t.trim())}}},custom:{resolve:t=>({type:"custom",selector:t,matched:!0})}},resolve(t){const e=Object.keys(this.rules).filter(t=>"custom"!==t).map(t=>this.rules[t]);return[t].flat().map(t=>{var n;return null!=(n=e.map(e=>e.resolve(t)).find(t=>t.matched))?n:this.rules.custom.resolve(t)})}},_toVariables:(t,e)=>function(t,e={}){const n=B_.defaults.variable,{prefix:i=n.prefix,selector:r=n.selector,excludedKeyRegex:o=n.excludedKeyRegex}=e,s=(t,e="")=>Object.entries(t).reduce((t,[n,r])=>{const a=d_(n,o)?L_(e):L_(e,f_(n)),l=function(t){return o_(t)&&t.hasOwnProperty("value")&&t.hasOwnProperty("type")?t.value:t}(r);if(o_(l)){const{variables:e,tokens:n}=s(l,a);E_(t.tokens,n),E_(t.variables,e)}else t.tokens.push((i?a.replace(`${i}-`,""):a).replaceAll("-",".")),function(t,e,n){a_(e,!1)&&t.push(`${e}:${n};`)}(t.variables,$_(a),j_(l,a,i,[o]));return t},{variables:[],tokens:[]}),{variables:a,tokens:l}=s(t,i);return{value:a,tokens:l,declarations:a.join(""),css:D_(r,a.join(""))}}(t,{prefix:null==e?void 0:e.prefix}),getCommon({name:t="",theme:e={},params:n,set:i,defaults:r}){var o,s,a,l;const{preset:c,options:u}=e;let h,d,p,f;if(r_(c)){const{primitive:e,semantic:n}=c,g=n||{},{colorScheme:m}=g,v=A_(g,["colorScheme"]),y=m||{},{dark:b}=y,_=A_(y,["dark"]),x=r_(e)?this._toVariables({primitive:e},u):{},w=r_(v)?this._toVariables({semantic:v},u):{},S=r_(_)?this._toVariables({light:_},u):{},k=r_(b)?this._toVariables({dark:b},u):{},[C,O]=[null!=(o=x.declarations)?o:"",x.tokens],[A,T]=[null!=(s=w.declarations)?s:"",w.tokens||[]],[P,E]=[null!=(a=S.declarations)?a:"",S.tokens||[]],[M,L]=[null!=(l=k.declarations)?l:"",k.tokens||[]];h=this.transformCSS(t,C,"light","variable",u,i,r),d=O,p=`${this.transformCSS(t,`${A}${P}color-scheme:light`,"light","variable",u,i,r)}${this.transformCSS(t,`${M}color-scheme:dark`,"dark","variable",u,i,r)}`,f=[...new Set([...T,...E,...L])]}return{primitive:{css:h,tokens:d},semantic:{css:p,tokens:f}}},getPreset({name:t="",preset:e={},options:n,params:i,set:r,defaults:o,selector:s}){var a,l,c;const u=t.replace("-directive",""),h=e,{colorScheme:d}=h,p=A_(h,["colorScheme"]),f=d||{},{dark:g}=f,m=A_(f,["dark"]),v=r_(p)?this._toVariables({[u]:p},n):{},y=r_(m)?this._toVariables({[u]:m},n):{},b=r_(g)?this._toVariables({[u]:g},n):{},[_,x]=[null!=(a=v.declarations)?a:"",v.tokens||[]],[w,S]=[null!=(l=y.declarations)?l:"",y.tokens||[]],[k,C]=[null!=(c=b.declarations)?c:"",b.tokens||[]],O=[...new Set([...x,...S,...C])];return{css:`${this.transformCSS(u,`${_}${w}`,"light","variable",n,r,o,s)}${this.transformCSS(u,k,"dark","variable",n,r,o,s)}`,tokens:O}},getPresetC({name:t="",theme:e={},params:n,set:i,defaults:r}){var o;const{preset:s,options:a}=e,l=null==(o=null==s?void 0:s.components)?void 0:o[t];return this.getPreset({name:t,preset:l,options:a,params:n,set:i,defaults:r})},getPresetD({name:t="",theme:e={},params:n,set:i,defaults:r}){var o;const s=t.replace("-directive",""),{preset:a,options:l}=e,c=null==(o=null==a?void 0:a.directives)?void 0:o[s];return this.getPreset({name:s,preset:c,options:l,params:n,set:i,defaults:r})},getColorSchemeOption(t,e){var n;return this.regex.resolve(null!=(n=t.darkModeSelector)?n:e.options.darkModeSelector)},getLayerOrder(t,e={},n,i){const{cssLayer:r}=e;return r?`@layer ${s_(r.order||"primeui",n)}`:""},getCommonStyleSheet({name:t="",theme:e={},params:n,props:i={},set:r,defaults:o}){const s=this.getCommon({name:t,theme:e,params:n,set:r,defaults:o}),a=Object.entries(i).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return Object.entries(s||{}).reduce((t,[e,n])=>{if(null!=n&&n.css){const i=p_(null==n?void 0:n.css),r=`${e}-variables`;t.push(`<style type="text/css" data-primevue-style-id="${r}" ${a}>${i}</style>`)}return t},[]).join("")},getStyleSheet({name:t="",theme:e={},params:n,props:i={},set:r,defaults:o}){var s;const a={name:t,theme:e,params:n,set:r,defaults:o},l=null==(s=t.includes("-directive")?this.getPresetD(a):this.getPresetC(a))?void 0:s.css,c=Object.entries(i).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${p_(l)}</style>`:""},createTokens(t={},e,n="",i="",r={}){return Object.entries(t).forEach(([t,o])=>{const s=d_(t,e.variable.excludedKeyRegex)?n:n?`${n}.${g_(t)}`:g_(t),a=i?`${i}.${t}`:t;o_(o)?this.createTokens(o,e,s,a,r):(r[s]||(r[s]={paths:[],computed(t,e={}){if(t){const n=this.paths.find(e=>e.scheme===t)||this.paths.find(t=>"none"===t.scheme);return null==n?void 0:n.computed(t,e.binding)}return this.paths.map(t=>t.computed(t.scheme,e[t.scheme]))}}),r[s].paths.push({path:a,value:o,scheme:a.includes("colorScheme.light")?"light":a.includes("colorScheme.dark")?"dark":"none",computed(t,e={}){const n=/{([^}]*)}/g;let i=o;if(e.name=this.path,e.binding||(e.binding={}),d_(o,n)){const s=o.trim().replaceAll(n,n=>{var i,o;const s=n.replace(/{|}/g,"");return null==(o=null==(i=r[s])?void 0:i.computed(t,e))?void 0:o.value}),a=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,l=/var\([^)]+\)/g;i=d_(s.replace(l,"0"),a)?`calc(${s})`:s}return n_(e.binding)&&delete e.binding,{colorScheme:t,path:this.path,paths:e,value:i.includes("undefined")?void 0:i}}}))}),r},getTokenValue(t,e,n){var i;const r=e.split(".").filter(t=>!d_(t.toLowerCase(),n.variable.excludedKeyRegex)).join("."),o=e.includes("colorScheme.light")?"light":e.includes("colorScheme.dark")?"dark":void 0,s=[null==(i=t[r])?void 0:i.computed(o)].flat().filter(t=>t);return 1===s.length?s[0].value:s.reduce((t={},e)=>{const n=e,{colorScheme:i}=n,r=A_(n,["colorScheme"]);return t[i]=r,t},void 0)},transformCSS(t,e,n,i,r={},o,s,a){if(r_(e)){const{cssLayer:l}=r;if("style"!==i){const t=this.getColorSchemeOption(r,s),i=a?D_(a,e):e;e="dark"===n?t.reduce((t,{selector:e})=>(r_(e)&&(t+=e.includes("[CSS]")?e.replace("[CSS]",i):D_(e,i)),t),""):D_(a??":root",e)}if(l){const n={name:"primeui",order:"primeui"};o_(l)&&(n.name=s_(l.name,{name:t,type:i})),r_(n.name)&&(e=D_(`@layer ${n.name}`,e),null==o||o.layerNames(n.name))}return e}return""}},B_={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){const{theme:e}=t;e&&(this._theme=O_(C_({},e),{options:C_(C_({},this.defaults.options),e.options)}),this._tokens=R_.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return(null==(t=this.theme)?void 0:t.preset)||{}},get options(){var t;return(null==(t=this.theme)?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),P_.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=O_(C_({},this.theme),{preset:t}),this._tokens=R_.createTokens(t,this.defaults),this.clearLoadedStyleNames(),P_.emit("preset:change",t),P_.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=O_(C_({},this.theme),{options:t}),this.clearLoadedStyleNames(),P_.emit("options:change",t),P_.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return R_.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",e){return R_.getCommon({name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",e){const n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return R_.getPresetC(n)},getDirective(t="",e){const n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return R_.getPresetD(n)},getCustomPreset(t="",e,n,i){const r={name:t,preset:e,options:this.options,selector:n,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return R_.getPreset(r)},getLayerOrderCSS(t=""){return R_.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",e,n="style",i){return R_.transformCSS(t,e,i,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",e,n={}){return R_.getCommonStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,e,n={}){return R_.getStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:e}){this._loadingStyles.size&&(this._loadingStyles.delete(e),P_.emit(`theme:${e}:load`,t),!this._loadingStyles.size&&P_.emit("theme:load"))}},V_={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(t){return this._loadedStyleNames.has(t)},setLoadedStyleName:function(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName:function(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function z_(t){return(z_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function W_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F_(Object(n),!0).forEach(function(e){H_(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function H_(t,e,n){return(e=function(t){var e=function(t){if("object"!=z_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=z_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==z_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var U_=0;function q_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ke(!1),i=ke(t),r=ke(null),o=typeof window<"u"&&window.document&&window.document.createElement?window.document:void 0,s=e.document,a=void 0===s?o:s,l=e.immediate,c=void 0===l||l,u=e.manual,h=void 0!==u&&u,d=e.name,p=void 0===d?"style_".concat(++U_):d,f=e.id,g=void 0===f?void 0:f,m=e.media,v=void 0===m?void 0:m,y=e.nonce,b=void 0===y?void 0:y,_=e.first,x=void 0!==_&&_,w=e.onMounted,S=void 0===w?void 0:w,k=e.onUpdated,C=void 0===k?void 0:k,O=e.onLoad,A=void 0===O?void 0:O,T=e.props,P=void 0===T?{}:T,E=function(){},M=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(a){var s=W_(W_({},P),o),l=s.name||p,c=s.id||g,u=s.nonce||b;r.value=a.querySelector('style[data-primevue-style-id="'.concat(l,'"]'))||a.getElementById(c)||a.createElement("style"),r.value.isConnected||(i.value=e||t,t_(r.value,{type:"text/css",id:c,media:v,nonce:u}),x?a.head.prepend(r.value):a.head.appendChild(r.value),function(t,e="",n){Jb(t)&&null!=n&&t.setAttribute(e,n)}(r.value,"data-primevue-style-id",l),t_(r.value,s),r.value.onload=function(t){return null==A?void 0:A(t,{name:l})},null==S||S(l)),!n.value&&(E=On(i,function(t){r.value.textContent=t,null==C||C(l)},{immediate:!0}),n.value=!0)}};return c&&!h&&function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ro()?ci(t):e?t():Ke(t)}(M),{id:g,name:p,el:r,css:i,unload:function(){!a||!n.value||(E(),function(t){return!!(null!==t&&typeof t<"u"&&t.nodeName&&function(t){if(t){let e=t.parentNode;return e&&e instanceof ShadowRoot&&e.host&&(e=e.host),e}return null}(t))}(r.value)&&a.head.removeChild(r.value),n.value=!1)},load:M,isLoaded:pe(n)}}function G_(t){return(G_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X_(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0!==e)for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Y_(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y_(t,e):void 0}}(t,e)||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 Y_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function K_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function Z_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K_(Object(n),!0).forEach(function(e){Q_(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Q_(t,e,n){return(e=function(t){var e=function(t){if("object"!=G_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=G_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==G_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var J_={name:"base",css:function(t){var e=t.dt;return"\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.p-hidden-accessible input,\n.p-hidden-accessible select {\n transform: scale(0);\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: ".concat(e("scrollbar.width"),";\n}\n")},theme:function(t){var e=t.dt;return"\n* {\n box-sizing: border-box;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity 0.1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity 0.1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n\n.p-disabled,\n.p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n}\n\n.p-disabled,\n.p-component:disabled {\n opacity: ".concat(e("disabled.opacity"),";\n}\n\n.pi {\n font-size: ").concat(e("icon.size"),";\n}\n\n.p-icon {\n width: ").concat(e("icon.size"),";\n height: ").concat(e("icon.size"),";\n}\n\n.p-overlay-mask {\n background: ").concat(e("mask.background"),";\n color: ").concat(e("mask.color"),";\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-mask-enter {\n animation: p-overlay-mask-enter-animation ").concat(e("mask.transition.duration")," forwards;\n}\n\n.p-overlay-mask-leave {\n animation: p-overlay-mask-leave-animation ").concat(e("mask.transition.duration")," forwards;\n}\n\n@keyframes p-overlay-mask-enter-animation {\n from {\n background: transparent;\n }\n to {\n background: ").concat(e("mask.background"),";\n }\n}\n@keyframes p-overlay-mask-leave-animation {\n from {\n background: ").concat(e("mask.background"),";\n }\n to {\n background: transparent;\n }\n}\n")},classes:{},inlineStyles:{},load:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t})(s_(t,{dt:I_}));return n?q_(p_(n),Z_({name:this.name},e)):{}},loadCSS:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.load(this.css,t)},loadTheme:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.load(this.theme,e,function(n){return B_.transformCSS(e.name||t.name,n)})},getCommonTheme:function(t){return B_.getCommon(this.name,t)},getComponentTheme:function(t){return B_.getComponent(this.name,t)},getDirectiveTheme:function(t){return B_.getDirective(this.name,t)},getPresetTheme:function(t,e,n){return B_.getCustomPreset(this.name,t,e,n)},getLayerOrderThemeCSS:function(){return B_.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.css){var n=s_(this.css,{dt:I_}),i=p_("".concat(n).concat(t)),r=Object.entries(e).reduce(function(t,e){var n=X_(e,2),i=n[0],r=n[1];return t.push("".concat(i,'="').concat(r,'"'))&&t},[]).join(" ");return'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(r,">").concat(i,"</style>")}return""},getCommonThemeStyleSheet:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return B_.getCommonStyleSheet(this.name,t,e)},getThemeStyleSheet:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[B_.getStyleSheet(this.name,t,e)];if(this.theme){var i="base"===this.name?"global-style":"".concat(this.name,"-style"),r=s_(this.theme,{dt:I_}),o=p_(B_.transformCSS(i,r)),s=Object.entries(e).reduce(function(t,e){var n=X_(e,2),i=n[0],r=n[1];return t.push("".concat(i,'="').concat(r,'"'))&&t},[]).join(" ");n.push('<style type="text/css" data-primevue-style-id="'.concat(i,'" ').concat(s,">").concat(o,"</style>"))}return n.join("")},extend:function(t){return Z_(Z_({},this),{},{css:void 0,theme:void 0},t)}},tx=J_.extend({name:"common"});function ex(t){return(ex="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nx(t,e){return sx(t)||function(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(t,e)||rx(t,e)||ix()}function ix(){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 rx(t,e){if(t){if("string"==typeof t)return ox(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ox(t,e):void 0}}function ox(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function sx(t){if(Array.isArray(t))return t}function ax(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function lx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ax(Object(n),!0).forEach(function(e){cx(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ax(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function cx(t,e,n){return(e=function(t){var e=function(t){if("object"!=ex(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ex(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ex(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ux={name:"BaseComponent",props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0},dt:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(t){t||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))}},dt:{immediate:!0,handler:function(t){var e=this;t?(this._loadScopedThemeStyles(t),this._themeChangeListener(function(){return e._loadScopedThemeStyles(t)})):this._unloadScopedThemeStyles()}}},scopedStyleEl:void 0,rootEl:void 0,beforeCreate:function(){var t,e,n,i,r,o,s,a,l,c,u,h=null===(t=this.pt)||void 0===t?void 0:t._usept,d=h?null===(e=this.pt)||void 0===e||null===(e=e.originalValue)||void 0===e?void 0:e[this.$.type.name]:void 0;null===(i=(h?null===(n=this.pt)||void 0===n||null===(n=n.value)||void 0===n?void 0:n[this.$.type.name]:this.pt)||d)||void 0===i||null===(i=i.hooks)||void 0===i||null===(r=i.onBeforeCreate)||void 0===r||r.call(i);var p=null===(o=this.$primevueConfig)||void 0===o||null===(o=o.pt)||void 0===o?void 0:o._usept,f=p?null===(s=this.$primevue)||void 0===s||null===(s=s.config)||void 0===s||null===(s=s.pt)||void 0===s?void 0:s.originalValue:void 0;null===(c=(p?null===(a=this.$primevue)||void 0===a||null===(a=a.config)||void 0===a||null===(a=a.pt)||void 0===a?void 0:a.value:null===(l=this.$primevue)||void 0===l||null===(l=l.config)||void 0===l?void 0:l.pt)||f)||void 0===c||null===(c=c[this.$.type.name])||void 0===c||null===(c=c.hooks)||void 0===c||null===(u=c.onBeforeCreate)||void 0===u||u.call(c)},created:function(){this._hook("onCreated")},beforeMount:function(){this._loadStyles(),this._hook("onBeforeMount")},mounted:function(){this.rootEl=function(t,e){return Jb(t)?t.matches(e)?t:t.querySelector(e):null}(this.$el,'[data-pc-name="'.concat(l_(this.$.type.name),'"]')),this.rootEl&&(this.rootEl.setAttribute(this.$attrSelector,""),this.rootEl.$pc=lx({name:this.$.type.name},this.$params)),this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._unloadScopedThemeStyles(),this._hook("onUnmounted")},methods:{_hook:function(t){if(!this.$options.hostName){var e=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(t)),n=this._useDefaultPT(this._getOptionValue,"hooks.".concat(t));null==e||e(),null==n||n()}},_mergeProps:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return i_(t)?t.apply(void 0,n):Jr.apply(void 0,n)},_loadStyles:function(){var t=this,e=function(){V_.isStyleNameLoaded("base")||(J_.loadCSS(t.$styleOptions),t._loadGlobalStyles(),V_.setLoadedStyleName("base")),t._loadThemeStyles()};e(),this._themeChangeListener(e)},_loadCoreStyles:function(){var t,e;!V_.isStyleNameLoaded(null===(t=this.$style)||void 0===t?void 0:t.name)&&null!==(e=this.$style)&&void 0!==e&&e.name&&(tx.loadCSS(this.$styleOptions),this.$options.style&&this.$style.loadCSS(this.$styleOptions),V_.setLoadedStyleName(this.$style.name))},_loadGlobalStyles:function(){var t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);r_(t)&&J_.load(t,lx({name:"global"},this.$styleOptions))},_loadThemeStyles:function(){var t,e;if(!this.isUnstyled){if(!B_.isStyleNameLoaded("common")){var n,i,r=(null===(n=this.$style)||void 0===n||null===(i=n.getCommonTheme)||void 0===i?void 0:i.call(n))||{},o=r.primitive,s=r.semantic;J_.load(null==o?void 0:o.css,lx({name:"primitive-variables"},this.$styleOptions)),J_.load(null==s?void 0:s.css,lx({name:"semantic-variables"},this.$styleOptions)),J_.loadTheme(lx({name:"global-style"},this.$styleOptions)),B_.setLoadedStyleName("common")}if(!B_.isStyleNameLoaded(null===(t=this.$style)||void 0===t?void 0:t.name)&&null!==(e=this.$style)&&void 0!==e&&e.name){var a,l,c,u,h=((null===(a=this.$style)||void 0===a||null===(l=a.getComponentTheme)||void 0===l?void 0:l.call(a))||{}).css;null===(c=this.$style)||void 0===c||c.load(h,lx({name:"".concat(this.$style.name,"-variables")},this.$styleOptions)),null===(u=this.$style)||void 0===u||u.loadTheme(lx({name:"".concat(this.$style.name,"-style")},this.$styleOptions)),B_.setLoadedStyleName(this.$style.name)}if(!B_.isStyleNameLoaded("layer-order")){var d,p,f=null===(d=this.$style)||void 0===d||null===(p=d.getLayerOrderThemeCSS)||void 0===p?void 0:p.call(d);J_.load(f,lx({name:"layer-order",first:!0},this.$styleOptions)),B_.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(t){var e,n,i,r=((null===(e=this.$style)||void 0===e||null===(n=e.getPresetTheme)||void 0===n?void 0:n.call(e,t,"[".concat(this.$attrSelector,"]")))||{}).css,o=null===(i=this.$style)||void 0===i?void 0:i.load(r,lx({name:"".concat(this.$attrSelector,"-").concat(this.$style.name)},this.$styleOptions));this.scopedStyleEl=o.el},_unloadScopedThemeStyles:function(){var t;null===(t=this.scopedStyleEl)||void 0===t||null===(t=t.value)||void 0===t||t.remove()},_themeChangeListener:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};V_.clearLoadedStyleNames(),P_.on("theme:change",t)},_getHostInstance:function(t){return t?this.$options.hostName?t.$.type.name===this.$options.hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0},_getPropValue:function(t){var e;return this[t]||(null===(e=this._getHostInstance(this))||void 0===e?void 0:e[t])},_getOptionValue:function(t){return c_(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})},_getPTValue:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=/./g.test(n)&&!!i[n.split(".")[0]],s=this._getPropValue("ptOptions")||(null===(t=this.$primevueConfig)||void 0===t?void 0:t.ptOptions)||{},a=s.mergeSections,l=void 0===a||a,c=s.mergeProps,u=void 0!==c&&c,h=r?o?this._useGlobalPT(this._getPTClassValue,n,i):this._useDefaultPT(this._getPTClassValue,n,i):void 0,d=o?void 0:this._getPTSelf(e,this._getPTClassValue,n,lx(lx({},i),{},{global:h||{}})),p=this._getPTDatasets(n);return l||!l&&d?u?this._mergeProps(u,h,d,p):lx(lx(lx({},h),d),p):lx(lx({},d),p)},_getPTSelf:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Jr(this._usePT.apply(this,[this._getPT(t,this.$name)].concat(n)),this._usePT.apply(this,[this.$_attrsPT].concat(n)))},_getPTDatasets:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i="data-pc-",r="root"===n&&r_(null===(t=this.pt)||void 0===t?void 0:t["data-pc-section"]);return"transition"!==n&&lx(lx({},"root"===n&&lx(cx({},"".concat(i,"name"),l_(r?null===(e=this.pt)||void 0===e?void 0:e["data-pc-section"]:this.$.type.name)),r&&cx({},"".concat(i,"extend"),l_(this.$.type.name)))),{},cx({},"".concat(i,"section"),l_(n)))},_getPTClassValue:function(){var t=this._getOptionValue.apply(this,arguments);return a_(t)||u_(t)?{class:t}:t},_getPT:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=function(t){var r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=i?i(t):t,a=l_(n),l=l_(e.$name);return null!==(r=o?a!==l?null==s?void 0:s[a]:void 0:null==s?void 0:s[a])&&void 0!==r?r:s};return null!=t&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:r(t.originalValue),value:r(t.value)}:r(t,!0)},_usePT:function(t,e,n,i){var r=function(t){return e(t,n,i)};if(null!=t&&t.hasOwnProperty("_usept")){var o,s=t._usept||(null===(o=this.$primevueConfig)||void 0===o?void 0:o.ptOptions)||{},a=s.mergeSections,l=void 0===a||a,c=s.mergeProps,u=void 0!==c&&c,h=r(t.originalValue),d=r(t.value);return void 0===h&&void 0===d?void 0:a_(d)?d:a_(h)?h:l||!l&&d?u?this._mergeProps(u,h,d):lx(lx({},h),d):d}return r(t)},_useGlobalPT:function(t,e,n){return this._usePT(this.globalPT,t,e,n)},_useDefaultPT:function(t,e,n){return this._usePT(this.defaultPT,t,e,n)},ptm:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._getPTValue(this.pt,t,lx(lx({},this.$params),e))},ptmi:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Jr(this.$_attrsWithoutPT,this.ptm(t,e))},ptmo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._getPTValue(t,e,lx({instance:this},n),!1)},cx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,t,lx(lx({},this.$params),e))},sx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=this._getOptionValue(this.$style.inlineStyles,t,lx(lx({},this.$params),e));return[this._getOptionValue(tx.inlineStyles,t,lx(lx({},this.$params),e)),n]}}},computed:{globalPT:function(){var t,e=this;return this._getPT(null===(t=this.$primevueConfig)||void 0===t?void 0:t.pt,void 0,function(t){return s_(t,{instance:e})})},defaultPT:function(){var t,e=this;return this._getPT(null===(t=this.$primevueConfig)||void 0===t?void 0:t.pt,void 0,function(t){return e._getOptionValue(t,e.$name,lx({},e.$params))||s_(t,lx({},e.$params))})},isUnstyled:function(){var t;return void 0!==this.unstyled?this.unstyled:null===(t=this.$primevueConfig)||void 0===t?void 0:t.unstyled},$theme:function(){var t;return null===(t=this.$primevueConfig)||void 0===t?void 0:t.theme},$style:function(){return lx(lx({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var t;return{nonce:null===(t=this.$primevueConfig)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}},$primevueConfig:function(){var t;return null===(t=this.$primevue)||void 0===t?void 0:t.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var t=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:t,props:null==t?void 0:t.$props,state:null==t?void 0:t.$data,attrs:null==t?void 0:t.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var e=nx(t,1)[0];return null==e?void 0:e.startsWith("pt:")}).reduce(function(t,e){var n=nx(e,2),i=n[0],r=n[1],o=function(t){return sx(t)||function(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||rx(t)||ix()}(i.split(":")).slice(1);return null==o||o.reduce(function(t,e,n,i){return!t[e]&&(t[e]=n===i.length-1?r:{}),t[e]},t),t},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var e=nx(t,1)[0];return!(null!=e&&e.startsWith("pt:"))}).reduce(function(t,e){var n=nx(e,2),i=n[0],r=n[1];return t[i]=r,t},{})},$attrSelector:function(){return v_("pc")}}},hx=J_.extend({name:"stepper",theme:function(t){var e=t.dt;return"\n.p-steplist {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow-x: auto;\n}\n\n.p-step {\n position: relative;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: ".concat(e("stepper.step.gap"),";\n padding: ").concat(e("stepper.step.padding"),";\n}\n\n.p-step:last-of-type {\n flex: initial;\n}\n\n.p-step-header {\n border: 0 none;\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),";\n border-radius: ").concat(e("stepper.step.header.border.radius"),";\n outline-color: transparent;\n background: transparent;\n padding: ").concat(e("stepper.step.header.padding"),";\n gap: ").concat(e("stepper.step.header.gap"),";\n}\n\n.p-step-header:focus-visible {\n box-shadow: ").concat(e("stepper.step.header.focus.ring.shadow"),";\n outline: ").concat(e("stepper.step.header.focus.ring.width")," ").concat(e("stepper.step.header.focus.ring.style")," ").concat(e("stepper.step.header.focus.ring.color"),";\n outline-offset: ").concat(e("stepper.step.header.focus.ring.offset"),";\n}\n\n.p-stepper.p-stepper-readonly .p-step {\n cursor: auto;\n}\n\n.p-step-title {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: ").concat(e("stepper.step.title.color"),";\n font-weight: ").concat(e("stepper.step.title.font.weight"),";\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),";\n}\n\n.p-step-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: ").concat(e("stepper.step.number.color"),";\n border: 2px solid ").concat(e("stepper.step.number.border.color"),";\n background: ").concat(e("stepper.step.number.background"),";\n min-width: ").concat(e("stepper.step.number.size"),";\n height: ").concat(e("stepper.step.number.size"),";\n line-height: ").concat(e("stepper.step.number.size"),";\n font-size: ").concat(e("stepper.step.number.font.size"),";\n z-index: 1;\n border-radius: ").concat(e("stepper.step.number.border.radius"),";\n position: relative;\n font-weight: ").concat(e("stepper.step.number.font.weight"),';\n}\n\n.p-step-number::after {\n content: " ";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: ').concat(e("stepper.step.number.border.radius"),";\n box-shadow: ").concat(e("stepper.step.number.shadow"),";\n}\n\n.p-step-active .p-step-header {\n cursor: default;\n}\n\n.p-step-active .p-step-number {\n background: ").concat(e("stepper.step.number.active.background"),";\n border-color: ").concat(e("stepper.step.number.active.border.color"),";\n color: ").concat(e("stepper.step.number.active.color"),";\n}\n\n.p-step-active .p-step-title {\n color: ").concat(e("stepper.step.title.active.color"),";\n}\n\n.p-step:not(.p-disabled):focus-visible {\n outline: ").concat(e("focus.ring.width")," ").concat(e("focus.ring.style")," ").concat(e("focus.ring.color"),";\n outline-offset: ").concat(e("focus.ring.offset"),";\n}\n\n.p-step:has(~ .p-step-active) .p-stepper-separator {\n background: ").concat(e("stepper.separator.active.background"),";\n}\n\n.p-stepper-separator {\n flex: 1 1 0;\n background: ").concat(e("stepper.separator.background"),";\n width: 100%;\n height: ").concat(e("stepper.separator.size"),";\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),";\n}\n\n.p-steppanels {\n padding: ").concat(e("stepper.steppanels.padding"),";\n}\n\n.p-steppanel {\n background: ").concat(e("stepper.steppanel.background"),";\n color: ").concat(e("stepper.steppanel.color"),";\n}\n\n.p-stepper:has(.p-stepitem) {\n display: flex;\n flex-direction: column;\n}\n\n.p-stepitem {\n display: flex;\n flex-direction: column;\n flex: initial;\n}\n\n.p-stepitem.p-stepitem-active {\n flex: 1 1 auto;\n}\n\n.p-stepitem .p-step {\n flex: initial;\n}\n\n.p-stepitem .p-steppanel-content {\n width: 100%;\n padding: ").concat(e("stepper.steppanel.padding"),";\n}\n\n.p-stepitem .p-steppanel {\n display: flex;\n flex: 1 1 auto;\n}\n\n.p-stepitem .p-stepper-separator {\n flex: 0 0 auto;\n width: ").concat(e("stepper.separator.size"),";\n height: auto;\n margin: ").concat(e("stepper.separator.margin"),";\n position: relative;\n left: calc(-1 * ").concat(e("stepper.separator.size"),");\n}\n\n.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {\n background: ").concat(e("stepper.separator.active.background"),";\n}\n\n.p-stepitem:last-of-type .p-steppanel {\n padding-inline-start: ").concat(e("stepper.step.number.size"),";\n}\n")},classes:{root:function(t){return["p-stepper p-component",{"p-readonly":t.props.linear}]},separator:"p-stepper-separator"}}),dx=(Boolean,J_.extend({name:"steplist",classes:{root:"p-steplist"}}),J_.extend({name:"step",classes:{root:function(t){var e=t.instance;return["p-step",{"p-step-active":e.active,"p-disabled":e.isStepDisabled}]},header:"p-step-header",number:"p-step-number",title:"p-step-title"}})),px={name:"StepperSeparator",hostName:"Stepper",extends:ux,render:function(t,e,n,i,r,o){return jr(),Rr("span",Jr({class:t.cx("separator")},t.ptm("separator")),null,16)}},fx={name:"Step",extends:{name:"BaseStep",extends:ux,props:{value:{type:[String,Number],default:void 0},disabled:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"DIV"}},style:dx,provide:function(){return{$pcStep:this,$parentInstance:this}}},inheritAttrs:!1,inject:{$pcStepper:{default:null},$pcStepList:{default:null},$pcStepItem:{default:null}},data:function(){return{isSeparatorVisible:!1}},mounted:function(){if(this.$el&&this.$pcStepList){var t=function(t,e){let n=-1;if(e)for(let i=0;i<e.length;i++)if(e[i]===t){n=i;break}return n}(this.$el,e_(this.$pcStepper.$el,'[data-pc-name="step"]')),e=e_(this.$pcStepper.$el,'[data-pc-name="step"]').length;this.isSeparatorVisible=t!==e-1}},methods:{getPTOptions:function(t){return("root"===t?this.ptmi:this.ptm)(t,{context:{active:this.active,disabled:this.isStepDisabled}})},onStepClick:function(){this.$pcStepper.updateValue(this.activeValue)}},computed:{active:function(){return this.$pcStepper.isStepActive(this.activeValue)},activeValue:function(){var t;return this.$pcStepItem?null===(t=this.$pcStepItem)||void 0===t?void 0:t.value:this.value},isStepDisabled:function(){return!this.active&&(this.$pcStepper.isStepDisabled()||this.disabled)},id:function(){var t;return"".concat(null===(t=this.$pcStepper)||void 0===t?void 0:t.id,"_step_").concat(this.activeValue)},ariaControls:function(){var t;return"".concat(null===(t=this.$pcStepper)||void 0===t?void 0:t.id,"_steppanel_").concat(this.activeValue)},a11yAttrs:function(){return{root:{role:"presentation","aria-current":this.active?"step":void 0,"data-pc-name":"step","data-pc-section":"root","data-p-disabled":this.disabled,"data-p-active":this.active},header:{id:this.id,role:"tab",taindex:this.disabled?-1:void 0,"aria-controls":this.ariaControls,"data-pc-section":"header",disabled:this.disabled,onClick:this.onStepClick}}}},components:{StepperSeparator:px}},gx=["id","tabindex","aria-controls","disabled"];fx.render=function(t,e,n,i,r,o){var s=bi("StepperSeparator");return t.asChild?Oi(t.$slots,"default",{key:1,class:q(t.cx("root")),active:o.active,value:t.value,a11yAttrs:o.a11yAttrs,activateCallback:o.onStepClick}):(jr(),Br(xi(t.as),Jr({key:0,class:t.cx("root"),"aria-current":o.active?"step":void 0,role:"presentation","data-p-active":o.active,"data-p-disabled":o.isStepDisabled},o.getPTOptions("root")),{default:bn(function(){return[Hr("button",Jr({id:o.id,class:t.cx("header"),role:"tab",type:"button",tabindex:o.isStepDisabled?-1:void 0,"aria-controls":o.ariaControls,disabled:o.isStepDisabled,onClick:e[0]||(e[0]=function(){return o.onStepClick&&o.onStepClick.apply(o,arguments)})},o.getPTOptions("header")),[Hr("span",Jr({class:t.cx("number")},o.getPTOptions("number")),J(o.activeValue),17),Hr("span",Jr({class:t.cx("title")},o.getPTOptions("title")),[Oi(t.$slots,"default")],16)],16,gx),r.isSeparatorVisible?(jr(),Br(s,{key:0})):Yr("",!0)]}),_:3},16,["class","aria-current","data-p-active","data-p-disabled"]))};const mx=(Boolean,{components:{Navigation:Tc,SelectField:Hy,Form:Of},data(){return{requiredTags:this.$store.state.requiredTags||[],requiredOptions:this.$store.state.requiredTags||[],forbiddenTags:this.$store.state.forbiddenTags||[],forbiddenOptions:this.$store.state.forbiddenTags||[],navHistory:this.$store.getters.getNavHistory}},methods:{handleRequiredTag(t){this.requiredTags.push(t),this.requiredOptions.push(t)},handleForbiddenTag(t){this.forbiddenTags.push(t),this.forbiddenOptions.push(t)},confirm(){this.$store.commit("setNavHistory","/6"),this.$store.commit("setPageScan",{required:this.requiredTags,forbidden:this.forbiddenTags}),this.$store.getters.getShouldConfigVerify?this.$router.push("/7"):this.$store.dispatch("confirm")}}});n(334);const vx=(0,js.A)(mx,[["render",function(t,e,n,i,r,o){const s=bi("SelectField"),a=bi("Form"),l=bi("Navigation");return jr(),Rr("div",null,[e[4]||(e[4]=Hr("header",null," Configure TrustedForm Insights ",-1)),Hr("section",null,[e[2]||(e[2]=Hr("h3",null,"Page Scan Forbidden/Required Text",-1)),e[3]||(e[3]=Hr("p",null,[Xr(" Please set your required and/or forbidden text for the TrustedForm set in LeadConduit; the step will fail if the required term is missing and if the forbidden term is present in the page. "),Hr("a",{href:"https://community.activeprospect.com/posts/4078890",target:"_blank"},"Learn More")],-1)),Ur(a,{actions:!1},{default:bn(()=>[Ur(s,{name:"PageScan Required",modelValue:r.requiredTags,"onUpdate:modelValue":e[0]||(e[0]=t=>r.requiredTags=t),options:r.requiredOptions,taggable:"",multiple:"",onTag:o.handleRequiredTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"]),Ur(s,{name:"PageScan Forbidden",modelValue:r.forbiddenTags,"onUpdate:modelValue":e[1]||(e[1]=t=>r.forbiddenTags=t),options:r.forbiddenOptions,taggable:"",multiple:"",onTag:o.handleForbiddenTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"])]),_:1})]),Ur(l,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-7a5031b7"]]),yx={components:{Navigation:Tc,TextField:Uy,Form:Of},data(){return{advertiserName:this.$store.state.advertiserName||"",navHistory:this.$store.getters.getNavHistory}},methods:{confirm(){this.$store.commit("setAdvertiserName",{advertiserName:this.advertiserName}),this.$store.dispatch("confirm")}}};n(680);const bx=(0,js.A)(yx,[["render",function(t,e,n,i,r,o){const s=bi("Form"),a=bi("Navigation");return jr(),Rr("div",null,[e[2]||(e[2]=Hr("header",null," Configure TrustedForm Verify ",-1)),Hr("section",null,[e[1]||(e[1]=Hr("p",null," Enter the name of the legal entity for an advertiser that will be used to determine if they were given consent in a one to one manner. ",-1)),Ur(s,{actions:!1},{default:bn(()=>[_n(Hr("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>r.advertiserName=t),type:"text",placeholder:"(optional) keep empty if you don't need to check one-to-one consent"},null,512),[[ws,r.advertiserName]])]),_:1})]),Ur(a,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-6d17c3cb"]]),_x=function(t){const e=function(t,e){const n=[],i=new Map;function r(t,n,i){const a=!i,l=fc(t);l.aliasOf=i&&i.record;const c=Ra(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(fc(ja({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=dc(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!mc(h)&&o(t.name)),yc(h)&&s(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{o(d)}:Ia}function o(t){if(bl(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function s(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;cc(t,e[r])<0?i=r:n=r+1}const r=function(t){let e=t;for(;e=e.parent;)if(yc(e)&&0===cc(t,e))return e}(t);return r&&(i=e.lastIndexOf(r,i-1)),i}(t,n);n.splice(e,0,t),t.record.name&&!mc(t)&&i.set(t.record.name,t)}return e=Ra(hc,e),t.forEach(t=>r(t)),{addRoute:r,resolve:function(t,e){let r,o,s,a={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw wl(_l.MATCHER_NOT_FOUND,{location:t});s=r.record.name,a=ja(pc(e.params,r.keys.filter(t=>!t.optional).concat(r.parent?r.parent.keys.filter(t=>t.optional):[]).map(t=>t.name)),t.params&&pc(t.params,r.keys.map(t=>t.name))),o=r.stringify(a)}else if(null!=t.path)o=t.path,r=n.find(t=>t.re.test(o)),r&&(a=r.parse(o),s=r.record.name);else{if(r=e.name?i.get(e.name):n.find(t=>t.re.test(e.path)),!r)throw wl(_l.MATCHER_NOT_FOUND,{location:t,currentLocation:e});s=r.record.name,a=ja({},e.params,t.params),o=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:a,matched:l,meta:vc(l)}},removeRoute:o,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}(t.routes,t),n=t.parseQuery||kl,i=t.stringifyQuery||Cl,r=t.history,o=Ll(),s=Ll(),a=Ll(),l=Ce(ul,!0);let c=ul;La&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Da.bind(null,t=>""+t),h=Da.bind(null,nl),d=Da.bind(null,il);function p(t,o){if(o=ja({},o||l.value),"string"==typeof t){const i=ol(n,t,o.path),s=e.resolve({path:i.path},o),a=r.createHref(i.fullPath);return ja(i,s,{params:d(s.params),hash:il(i.hash),redirectedFrom:void 0,href:a})}let s;if(null!=t.path)s=ja({},t,{path:ol(n,t.path,o.path).path});else{const e=ja({},t.params);for(const t in e)null==e[t]&&delete e[t];s=ja({},t,{params:h(e)}),o.params=h(o.params)}const a=e.resolve(s,o),c=t.hash||"";a.params=u(d(a.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,ja({},t,{hash:(g=c,Ja(g).replace(Ya,"{").replace(Za,"}").replace(Ga,"^")),path:a.path})),f=r.createHref(p);var g;return ja({fullPath:p,hash:c,query:i===Cl?Ol(t.query):t.query||{}},a,{redirectedFrom:void 0,href:f})}function f(t){return"string"==typeof t?ol(n,t,l.value.path):ja({},t)}function g(t,e){if(c!==t)return wl(_l.NAVIGATION_CANCELLED,{from:e,to:t})}function m(t){return y(t)}function v(t,e){const n=t.matched[t.matched.length-1];if(n&&n.redirect){const{redirect:i}=n;let r="function"==typeof i?i(t,e):i;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r},r.params={}),ja({query:t.query,hash:t.hash,params:null!=r.path?{}:t.params},r)}}function y(t,e){const n=c=p(t),r=l.value,o=t.state,s=t.force,a=!0===t.replace,u=v(n,r);if(u)return y(ja(f(u),{state:"object"==typeof u?ja({},o,u.state):o,force:s,replace:a}),e||n);const h=n;let d;return h.redirectedFrom=e,!s&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&sl(e.matched[i],n.matched[r])&&al(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(d=wl(_l.NAVIGATION_DUPLICATED,{to:h,from:r}),E(r,r,!0,!1)),(d?Promise.resolve(d):x(h,r)).catch(t=>Sl(t)?Sl(t,_l.NAVIGATION_GUARD_REDIRECT)?t:P(t):T(t,h,r)).then(t=>{if(t){if(Sl(t,_l.NAVIGATION_GUARD_REDIRECT))return y(ja({replace:a},f(t.to),{state:"object"==typeof t.to?ja({},o,t.to.state):o,force:s}),e||h)}else t=S(h,r,!0,a,o);return w(h,r,t),t})}function b(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function _(t){const e=$.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function x(t,e){let n;const[i,r,a]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find(t=>sl(t,o))?i.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find(t=>sl(t,a))||r.push(a))}return[n,i,r]}(t,e);n=jl(i.reverse(),"beforeRouteLeave",t,e);for(const r of i)r.leaveGuards.forEach(i=>{n.push($l(i,t,e))});const l=b.bind(null,t,e);return n.push(l),D(n).then(()=>{n=[];for(const i of o.list())n.push($l(i,t,e));return n.push(l),D(n)}).then(()=>{n=jl(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach(i=>{n.push($l(i,t,e))});return n.push(l),D(n)}).then(()=>{n=[];for(const i of a)if(i.beforeEnter)if(Na(i.beforeEnter))for(const r of i.beforeEnter)n.push($l(r,t,e));else n.push($l(i.beforeEnter,t,e));return n.push(l),D(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=jl(a,"beforeRouteEnter",t,e,_),n.push(l),D(n))).then(()=>{n=[];for(const i of s.list())n.push($l(i,t,e));return n.push(l),D(n)}).catch(t=>Sl(t,_l.NAVIGATION_CANCELLED)?t:Promise.reject(t))}function w(t,e,n){a.list().forEach(i=>_(()=>i(t,e,n)))}function S(t,e,n,i,o){const s=g(t,e);if(s)return s;const a=e===ul,c=La?history.state:{};n&&(i||a?r.replace(t.fullPath,ja({scroll:a&&c&&c.scroll},o)):r.push(t.fullPath,o)),l.value=t,E(t,e,n,a),P()}let k;let C,O=Ll(),A=Ll();function T(t,e,n){P(t);const i=A.list();return i.length?i.forEach(i=>i(t,e,n)):console.error(t),Promise.reject(t)}function P(t){return C||(C=!t,k||(k=r.listen((t,e,n)=>{if(!j.listening)return;const i=p(t),o=v(i,j.currentRoute.value);if(o)return void y(ja(o,{replace:!0,force:!0}),i).catch(Ia);c=i;const s=l.value;var a,u;La&&(a=ml(s.fullPath,n.delta),u={left:window.scrollX,top:window.scrollY},vl.set(a,u)),x(i,s).catch(t=>Sl(t,_l.NAVIGATION_ABORTED|_l.NAVIGATION_CANCELLED)?t:Sl(t,_l.NAVIGATION_GUARD_REDIRECT)?(y(ja(f(t.to),{force:!0}),i).then(t=>{Sl(t,_l.NAVIGATION_ABORTED|_l.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===hl.pop&&r.go(-1,!1)}).catch(Ia),Promise.reject()):(n.delta&&r.go(-n.delta,!1),T(t,i,s))).then(t=>{(t=t||S(i,s,!1))&&(n.delta&&!Sl(t,_l.NAVIGATION_CANCELLED)?r.go(-n.delta,!1):n.type===hl.pop&&Sl(t,_l.NAVIGATION_ABORTED|_l.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),w(i,s,t)}).catch(Ia)})),O.list().forEach(([e,n])=>t?n(t):e()),O.reset()),t}function E(e,n,i,r){const{scrollBehavior:o}=t;if(!La||!o)return Promise.resolve();const s=!i&&function(t){const e=vl.get(t);return vl.delete(t),e}(ml(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return Ke().then(()=>o(e,n,s)).then(t=>t&&function(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}(t)).catch(t=>T(t,e,n))}const M=t=>r.go(t);let L;const $=new Set,j={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return bl(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map(t=>t.record)},resolve:p,options:t,push:m,replace:function(t){return m(ja(f(t),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:A.add,isReady:function(){return C&&l.value!==ul?Promise.resolve():new Promise((t,e)=>{O.add([t,e])})},install(t){t.component("RouterLink",_c),t.component("RouterView",Cc),t.config.globalProperties.$router=j,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Te(l)}),La&&!L&&l.value===ul&&(L=!0,m(r.location).catch(t=>{}));const n={};for(const t in ul)Object.defineProperty(n,t,{get:()=>l.value[t],enumerable:!0});t.provide(Pl,j),t.provide(El,de(n)),t.provide(Ml,l);const i=t.unmount;$.add(t),t.unmount=function(){$.delete(t),$.size<1&&(c=ul,k&&k(),k=null,l.value=ul,L=!1,C=!1),i()},__VUE_PROD_DEVTOOLS__&&La&&Rl(t,j,e)}};function D(t){return t.reduce((t,e)=>t.then(()=>_(e)),Promise.resolve())}return j}({history:function(t=""){let e=[],n=[["",{}]],i=0;function r(t,e={}){i++,i!==n.length&&n.splice(i),n.push([t,e])}const o={location:"",state:{},base:t=pl(t),createHref:gl.bind(null,t),replace(t,e){n.splice(i--,1),r(t,e)},push(t,e){r(t,e)},listen:t=>(e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}),destroy(){e=[],n=[["",{}]],i=0},go(t,r=!0){const o=this.location,s=t<0?dl.back:dl.forward;i=Math.max(0,Math.min(i+t,n.length-1)),r&&function(t,n,{direction:i,delta:r}){const o={direction:i,delta:r,type:hl.pop};for(const i of e)i(t,n,o)}(this.location,o,{direction:s,delta:t})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[i][0]}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>n[i][1]}),o}(),routes:[{path:"/",name:"Default",component:Is,children:[{path:"",alias:"1",name:"PageOne",component:$c},{path:"2",name:"PageTwo",component:Ic},{path:"3",name:"PageThree",component:Rc},{path:"4",name:"PageFour",component:qc},{path:"5",name:"PageFive",component:Jc},{path:"6",name:"PageSix",component:vx},{path:"7",name:"PageSeven",component:bx}]}]});e().init(function(t){const n=$s(Is);n.use(Ma(t,e())),n.use(_x),n.use(Mb),n.mount("#app")})})()})();
|
|
2
|
+
(()=>{var t={822(t){t.exports={age:{description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",use:"Only accept leads that meet their minimum requirement for lead age."},browser:{description:"The browser name and version",use:"Use browser type information to infer attributes about a consumer, and accept or reject a lead accordingly."},created_at:{description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",use:"Only accept leads that are less than x hours old, to maximize the likelihood of conversion."},device:{description:"Mobile device type, if applicable.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},event_duration:{description:"The amount of time, in seconds, that the consumer spent on the page filling out the form.",use:"Longer time on page might indicate a more thoughtful conversion event. Some buyers may choose to reject leads where a minimum duration was not met."},expires_at:{description:"Timestamp indicating when the claim period for the TrustedForm certificate expires.",use:"Reject leads where the TrustedForm certificate has expired and can no longer be claimed for protection against TCPA complaints."},framed:{description:"Whether or not the page_url was in an iframe.",use:""},city:{description:"The city that the consumer was located in when they filled out the form, based on IP address. ",use:"Accept leads within a specific geographic area."},country_code:{description:"The country that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lat:{description:"The location (latitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},lon:{description:"The location (longitude) of the consumer when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},postal_code:{description:"The postal code that the consumer was located in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},state:{description:"The state that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},time_zone:{description:"The time zone that the consumer was in when they filled out the form, based on IP address.",use:"Accept leads within a specific geographic area."},ip:{description:"The IP address of the consumer.",use:""},wpm:{description:"The consumer’s typing speed on the form, in words per minute.",use:"Use typing speed information to infer attributes about a consumer. A buyer might reject leads that don’t fall within a desired range."},kpm:{description:"The consumer’s typing speed on the form, in keystrokes per minute.",use:"A kpm that is greater than wpm indicates the use of the delete key and/or spacebar. This might suggest a lower likelihood of bot activity and a lower probability that a lead is fraudulent."},page_url:{description:"The URL of the page on which the consumer filled out the form.",use:"Track leads back to their original source regardless of where they were purchased."},operating_system:{description:"The operating system for the device from which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},parent_page_url:{description:"The URL of the page on which the consumer filled out the form. The value will be “null” unless framed=true (see above).",use:""},cert_id:{description:"The TrustedForm certificate ID.",use:""},user_agent:{description:"The browser and operating system for the device on which the consumer filled out the form.",use:"Infer attributes about a consumer, and accept or reject a lead accordingly."},fingerprints_matching:{description:"Matching fingerprints that were found on the TrustedForm certificate.",use:"Accept a lead where there is a fingerprint match."},fingerprints_non_matching:{description:"Non-matching fingerprints that were found on the TrustedForm certificate.",use:"Reject a lead where there is not a fingerprint match."},is_masked:{description:"Whether or not the TrustedForm certificate is masked.",use:"Route leads with masked certificates to a different system."},scans_found:{description:"Language that was found through the use of page scanning.",use:"Accept leads where desired language was found on the page through the use of page scanning."},scans_not_found:{description:"Language that was not found through the use of page scanning.",use:"Reject leads where page scanning indicates that desired language was not found on the page."},warnings:{description:"Any warnings present about the content of the form, specific to page scanning and fingerprinting.",use:"Reject leads where warnings are present."}}},711(t){t.exports={age:{name:"Age",description:"The amount of time, in seconds, since the TrustedForm certificate was created. Serves as an approximation of lead age.",enabled:!1},browser:{name:"Browser",description:"The name and version of the browser used during the lead event.",enabled:!1},created_timestamp:{name:"Created Timestamp",description:"Timestamp of the creation of the TrustedForm certificate, in ISO 8601 format.",enabled:!1},domain:{name:"Domain",description:"The name of the website the lead event took place on.",enabled:!1},expiration_timestamp:{name:"Expiration Timestamp",description:"A timestamp indicating when this certificate will no longer be available for API requests.",enabled:!1},framed:{name:"Framed",description:'Whether or not the lead event took place inside of an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn More.</a>',enabled:!1},bot_detected:{name:"Bot Detection",description:'A determination of whether the events documented were likely produced by a non-human entity based on ActiveProspect’s proprietary algorithms. <a href="https://community.activeprospect.com/posts/5424099" target="_blank">Learn more.</a>',enabled:!1},confirmed_owner:{name:"Confirmed Owner",description:'A string indicating the verified owner of the domain, page, app, or site where the lead was generated. <a href="https://community.activeprospect.com/posts/5871525" target="_blank">Learn More.</a>',enabled:!1},form_input_method:{name:"Form Input Method",description:"A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.",enabled:!1},form_input_kpm:{name:"Form Input KPM",description:"The consumer’s typing speed on the form, in keystrokes per minute.",enabled:!1},form_input_wpm:{name:"Form Input WPM",description:"The consumer’s approximate typing speed on the form, in words per minute. This is calculated by using the Form Input KPM and assuming five characters represent a word.",enabled:!1},ip_address:{name:"IP Address",description:"The public IP address of the consumer during the lead event.",enabled:!1},location:{name:"Location",description:"The city, state, postal code, country, timezone, latitude and longitude of the consumer's location during the lead event based on IP address.",enabled:!1},masked:{name:"Masked",description:"Whether or not the TrustedForm certificate is masked.",enabled:!1},sensitive_content:{name:"Sensitive Content",description:"Count of how many content elements (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},sensitive_form_fields:{name:"Sensitive Form Fields",description:"Count of how many form fields (e.g. input, textarea) are marked sensitive and hidden from the session replay.",enabled:!1},operating_system:{name:"Operating System",description:"The name and version of the operating system for the device used during the lead event.",enabled:!1},page_scan:{name:"Page Scan",description:'Results indicating whether specified text was found on the web page that created the certificate. <a href="https://community.activeprospect.com/posts/4078890-trustedform-page-scan" target="_blank">Learn more.</a>',enabled:!1},page_url:{name:"Page URL",description:"The URL of the page where the lead event took place.",enabled:!1},parent_page_url:{name:"Parent Page URL",description:'The URL displayed in the consumer\'s browser if the Page URL was displayed in an iframe. <a href="https://www.techtarget.com/whatis/definition/IFrame-Inline-Frame" target="_blank">Learn more.</a>',enabled:!1},time_on_page:{name:"Time On Page",description:"The amount of time, in seconds, that the consumer spent on the page during the lead event.",enabled:!1}}},883(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\nul[data-v-4cb6d661] {\n padding-top: 1em;\n}\n",""]);const a=s},531(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\ntable[data-v-350d7264] {\n position: relative;\n}\nth[data-v-350d7264] {\n position: sticky;\n top: 0;\n background-color: #f4f6f8;\n border-bottom: 1px solid #dfe4e8;\n}\n\n/*\nWe are using "fancy-checkbox" in an atypical way;\nTypically, the <label> and <input> components are siblings, and there is only 1 label for the checkbox.\nHowever, since our fancy-checkbox is supposed to be placed in a separate <td> and have additional padding,\nWe have to add some additional styling and a second <label> element.\n*/\n.checkbox-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L495 */\n padding: 1.2em !important;\n}\n.text-label[data-v-350d7264] {\n /* !important is needed because of this style https://github.com/activeprospect/leadconduit-client/blob/618797873a9fc485bf2d51873043700aae9d496e/public/css/core/forms.styl#L429 */\n margin: 0 !important;\n}\n',""]);const a=s},585(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,'\n/* All the selectors here use `:deep()` because otherwise the styles can\'t be scoped, since the classes are added by a library. */\n\n/** override this style https://github.com/activeprospect/leadconduit-client/blob/a005d3ac5627aa39d12c64756561ef400b512bf3/public/css/core/forms.styl#L252-L254 */\n[data-v-7a5031b7] input[type="text"] {\n min-width: 0 !important;\n}\n[data-v-7a5031b7] .formkit-outer {\n width: 100%;\n}\n',""]);const a=s},31(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>a});var i=n(219),r=n.n(i),o=n(388),s=n.n(o)()(r());s.push([t.id,"\ninput[data-v-6d17c3cb] {\n width: 65%;\n}\n\n",""]);const a=s},388(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},219(t){"use strict";t.exports=function(t){return t[1]}},743(t,e,n){var i,r;void 0===(r="function"==typeof(i=function(){var t=!1,e=function(t){if("loading"!==document.readyState)t();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else var e=setInterval(function(){"loading"!==document.readyState&&(clearInterval(e),t())},10)};function n(t,e){window.parent.postMessage({type:"integration-message",data:{event:t,data:e}},window.location.href.replace(window.location.pathname,""))}function i(){new MutationObserver(t=>{n("mutation-observed",{height:(document.body.scrollHeight??0)+24})}).observe(document,{childList:!0,subtree:!0})}function r(t){return function(e){n(t,e)}}return{init:function(r,o){t||(t=!0,"function"!=typeof r||o||(o=r,r=void 0),e(i),e(function(){!function(t){let e="d35x2co4ayvx2v.cloudfront.net";try{(window.RICH_UI_STYLESHEET_HOST||window.parent.window.RICH_UI_STYLESHEET_HOST)&&(e=window.RICH_UI_STYLESHEET_HOST||window.parent.window.RICH_UI_STYLESHEET_HOST)}catch(t){console.warn("Error loading parent styles",t)}const n=["common/fonts.css","common/fontawesome/fontawesome.css","common/rich-ui.css"];let i=n.length;for(const t of n){const n=document.createElement("link");n.rel="stylesheet",n.onload=r,n.href=`https://${e}/${t}`,document.head.appendChild(n)}function r(){i--,0===i&&(document.body.appendChild(document.createElement("div")),t())}}(function(){n("ready")})}),"function"==typeof o&&window.addEventListener("message",function(t){if("object"!=typeof t||"object"!=typeof t.data||!t.data.type)return!1;"init"==t.data.type&&e(function(){o(t.data.data)})}),(r=r||{}).url=window.location.href,n("init",r))},send:n,create:r("create"),close:r("close"),cancel:r("cancel"),getBasePath:function(t){var e=location.pathname,n="/"==e.charAt(e.length-1)?"":"/";return e+n+t},generateOauthCallbackHtml:function(t){const e="https://app.activeprospect.com",n=e||e;return`\n <html>\n <body style="\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100vh;\n width: 100vw;\n "\n >\n <div\n id="success"\n style="\n border-radius: 1em;\n border-color: #666;\n border-width: 1px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);\n max-width: 600px;\n font-family: sans-serif;\n font-size: 24px;\n padding: 1em;\n margin: 1em;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n "\n ></div>\n \n <script>\n window.addEventListener('load', () => {\n // Send message to parent window\n try {\n if (window.opener && !window.opener.closed) {\n window.opener.postMessage(\n {\n type: 'credential',\n data: ${JSON.stringify(t)}\n },\n '${n}'\n );\n }\n } catch (e) {\n console.error('error posting message, likely due to being on leadconduit legacy app', error);\n }\n \n document.getElementById('success').innerHTML = 'Successfully connected! This window will close automatically in 5 seconds, or you may close it at any time.';\n \n setTimeout(() => {\n window.close();\n }, 5000);\n });\n <\/script>\n </body>\n </html>\n `},subscribe:function(t,e){"function"==typeof e&&window.addEventListener("message",n=>{n?.data?.type===t&&e(n?.data?.data)})}}})?i.call(e,n,e,t):i)||(t.exports=r)},273(t,e,n){var i;t=n.nmd(t),function(){var r,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",l=32,c=128,u=1/0,h=9007199254740991,d=NaN,p=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",O="[object RegExp]",A="[object Set]",T="[object String]",P="[object Symbol]",E="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",$="[object Float32Array]",j="[object Float64Array]",D="[object Int8Array]",I="[object Int16Array]",N="[object Int32Array]",R="[object Uint8Array]",B="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Ot="\\ufe0e\\ufe0f",At="\\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",Tt="["+xt+"]",Pt="["+At+"]",Et="["+wt+"]",Mt="\\d+",Lt="["+St+"]",$t="["+kt+"]",jt="[^"+xt+At+Mt+St+kt+Ct+"]",Dt="\\ud83c[\\udffb-\\udfff]",It="[^"+xt+"]",Nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Vt="\\u200d",zt="(?:"+$t+"|"+jt+")",Ft="(?:"+Bt+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Et+"|"+Dt+")?",qt="["+Ot+"]?",Gt=qt+Ut+"(?:"+Vt+"(?:"+[It,Nt,Rt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,Nt,Rt].join("|")+")"+Gt,Yt="(?:"+[It+Et+"?",Et,Nt,Rt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Et,"g"),Qt=RegExp(Dt+"(?="+Dt+")|"+Yt+Gt,"g"),Jt=RegExp([Bt+"?"+$t+"+"+Wt+"(?="+[Pt,Bt,"$"].join("|")+")",Ft+"+"+Ht+"(?="+[Pt,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Vt+xt+wt+Ot+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[$]=re[j]=re[D]=re[I]=re[N]=re[R]=re[B]=re[V]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[O]=re[A]=re[T]=re[E]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[$]=oe[j]=oe[D]=oe[I]=oe[N]=oe[w]=oe[S]=oe[k]=oe[O]=oe[A]=oe[T]=oe[P]=oe[R]=oe[B]=oe[V]=oe[z]=!0,oe[b]=oe[_]=oe[E]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch(t){}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Pe(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Ee(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function $e(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function je(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function De(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Ie=We("length");function Ne(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function Re(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Re(t,ze,n)}function Ve(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Fe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:d}function We(t){return function(e){return null==e?r:e[t]}}function He(t){return function(e){return null==t?r:t[e]}}function Ue(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function qe(t,e){for(var n,i=-1,o=t.length;++i<o;){var s=e(t[i]);s!==r&&(n=n===r?s:n+s)}return n}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t?t.slice(0,dn(t)+1).replace(it,""):t}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,function(e){return t[e]})}function Ze(t,e){return t.has(e)}function Qe(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Je(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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:"'n",ſ:"s"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function ln(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function un(t){return rn(t)?function(t){for(var e=Qt.lastIndex=0;Qt.test(t);)++e;return e}(t):Ie(t)}function hn(t){return rn(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function dn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var pn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),fn=function t(e){var n,i=(e=null==e?he:fn.defaults(he.Object(),e,fn.pick(he,ne))).Array,rt=e.Date,xt=e.Error,wt=e.Function,St=e.Math,kt=e.Object,Ct=e.RegExp,Ot=e.String,At=e.TypeError,Tt=i.prototype,Pt=wt.prototype,Et=kt.prototype,Mt=e["__core-js_shared__"],Lt=Pt.toString,$t=Et.hasOwnProperty,jt=0,Dt=(n=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",It=Et.toString,Nt=Lt.call(kt),Rt=he._,Bt=Ct("^"+Lt.call($t).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=fe?e.Buffer:r,zt=e.Symbol,Ft=e.Uint8Array,Wt=Vt?Vt.allocUnsafe:r,Ht=sn(kt.getPrototypeOf,kt),Ut=kt.create,qt=Et.propertyIsEnumerable,Gt=Tt.splice,Xt=zt?zt.isConcatSpreadable:r,Yt=zt?zt.iterator:r,Qt=zt?zt.toStringTag:r,te=function(){try{var t=lo(kt,"defineProperty");return t({},"",{}),t}catch(t){}}(),se=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,ce=rt&&rt.now!==he.Date.now&&rt.now,ue=e.setTimeout!==he.setTimeout&&e.setTimeout,de=St.ceil,pe=St.floor,ge=kt.getOwnPropertySymbols,me=Vt?Vt.isBuffer:r,Ie=e.isFinite,He=Tt.join,gn=sn(kt.keys,kt),mn=St.max,vn=St.min,yn=rt.now,bn=e.parseInt,_n=St.random,xn=Tt.reverse,wn=lo(e,"DataView"),Sn=lo(e,"Map"),kn=lo(e,"Promise"),Cn=lo(e,"Set"),On=lo(e,"WeakMap"),An=lo(kt,"create"),Tn=On&&new On,Pn={},En=No(wn),Mn=No(Sn),Ln=No(kn),$n=No(Cn),jn=No(On),Dn=zt?zt.prototype:r,In=Dn?Dn.valueOf:r,Nn=Dn?Dn.toString:r;function Rn(t){if(ta(t)&&!Ws(t)&&!(t instanceof Fn)){if(t instanceof zn)return t;if($t.call(t,"__wrapped__"))return Ro(t)}return new zn(t)}var Bn=function(){function t(){}return function(e){if(!Js(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function Vn(){}function zn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Fn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Un;++e<n;)this.add(t[e])}function Gn(t){var e=this.__data__=new Hn(t);this.size=e.size}function Xn(t,e){var n=Ws(t),i=!n&&Fs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&la(t),s=n||i||r||o,a=s?Ge(t.length,Ot):[],l=a.length;for(var c in t)!e&&!$t.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mo(c,l))||a.push(c);return a}function Yn(t){var e=t.length;return e?t[Ui(0,e-1)]:r}function Kn(t,e){return Lo(Or(t),oi(e,0,t.length))}function Zn(t){return Lo(Or(t))}function Qn(t,e,n){(n!==r&&!Bs(t[e],n)||n===r&&!(e in t))&&ii(t,e,n)}function Jn(t,e,n){var i=t[e];$t.call(t,e)&&Bs(i,n)&&(n!==r||e in t)||ii(t,e,n)}function ti(t,e){for(var n=t.length;n--;)if(Bs(t[n][0],e))return n;return-1}function ei(t,e,n,i){return ui(t,function(t,r,o){e(i,t,n(t),o)}),i}function ni(t,e){return t&&Ar(e,Ea(e),t)}function ii(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ri(t,e){for(var n=-1,o=e.length,s=i(o),a=null==t;++n<o;)s[n]=a?r:Ca(t,e[n]);return s}function oi(t,e,n){return t==t&&(n!==r&&(t=t<=n?t:n),e!==r&&(t=t>=e?t:e)),t}function si(t,e,n,i,o,s){var a,l=1&e,c=2&e,u=4&e;if(n&&(a=o?n(t,i,o,s):n(t)),a!==r)return a;if(!Js(t))return t;var h=Ws(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&$t.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Or(t,a)}else{var d=ho(t),p=d==_||d==x;if(Gs(t))return _r(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:fo(t),!l)return c?function(t,e){return Ar(t,uo(t),e)}(t,function(t,e){return t&&Ar(e,Ma(e),t)}(a,t)):function(t,e){return Ar(t,co(t),e)}(t,ni(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i,r=t.constructor;switch(e){case M:return xr(t);case v:case y:return new r(+t);case L:return function(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case $:case j:case D:case I:case N:case R:case B:case V:case z:return wr(t,n);case w:return new r;case S:case T:return new r(t);case O:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new r;case P:return i=t,In?kt(In.call(i)):{}}}(t,d,l)}}s||(s=new Gn);var f=s.get(t);if(f)return f;s.set(t,a),oa(t)?t.forEach(function(i){a.add(si(i,e,n,i,t,s))}):ea(t)&&t.forEach(function(i,r){a.set(r,si(i,e,n,r,t,s))});var m=h?r:(u?c?eo:to:c?Ma:Ea)(t);return Ce(m||t,function(i,r){m&&(i=t[r=i]),Jn(a,r,si(i,e,n,r,t,s))}),a}function ai(t,e,n){var i=n.length;if(null==t)return!i;for(t=kt(t);i--;){var o=n[i],s=e[o],a=t[o];if(a===r&&!(o in t)||!s(a))return!1}return!0}function li(t,e,n){if("function"!=typeof t)throw new At(o);return To(function(){t.apply(r,n)},e)}function ci(t,e,n,i){var r=-1,o=Pe,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Ee,s=!1):e.length>=200&&(o=Ze,s=!1,e=new qn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Rn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Rn}},Rn.prototype=Vn.prototype,Rn.prototype.constructor=Rn,zn.prototype=Bn(Vn.prototype),zn.prototype.constructor=zn,Fn.prototype=Bn(Vn.prototype),Fn.prototype.constructor=Fn,Wn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(An){var n=e[t];return n===s?r:n}return $t.call(e,t)?e[t]:r},Wn.prototype.has=function(t){var e=this.__data__;return An?e[t]!==r:$t.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=An&&e===r?s:e,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(t){var e=this.__data__,n=ti(e,t);return!(n<0||(n==e.length-1?e.pop():Gt.call(e,n,1),--this.size,0))},Hn.prototype.get=function(t){var e=this.__data__,n=ti(e,t);return n<0?r:e[n][1]},Hn.prototype.has=function(t){return ti(this.__data__,t)>-1},Hn.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Un.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Sn||Hn),string:new Wn}},Un.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Un.prototype.get=function(t){return so(this,t).get(t)},Un.prototype.has=function(t){return so(this,t).has(t)},Un.prototype.set=function(t,e){var n=so(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Gn.prototype.get=function(t){return this.__data__.get(t)},Gn.prototype.has=function(t){return this.__data__.has(t)},Gn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Hn){var i=n.__data__;if(!Sn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Un(i)}return n.set(t,e),this.size=n.size,this};var ui=Er(yi),hi=Er(bi,!0);function di(t,e){var n=!0;return ui(t,function(t,i,r){return n=!!e(t,i,r)}),n}function pi(t,e,n){for(var i=-1,o=t.length;++i<o;){var s=t[i],a=e(s);if(null!=a&&(l===r?a==a&&!aa(a):n(a,l)))var l=a,c=s}return c}function fi(t,e){var n=[];return ui(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function gi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=go),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?gi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var mi=Mr(),vi=Mr(!0);function yi(t,e){return t&&mi(t,e,Ea)}function bi(t,e){return t&&vi(t,e,Ea)}function _i(t,e){return Te(e,function(e){return Ks(t[e])})}function xi(t,e){for(var n=0,i=(e=mr(e,t)).length;null!=t&&n<i;)t=t[Io(e[n++])];return n&&n==i?t:r}function wi(t,e,n){var i=e(t);return Ws(t)?i:Le(i,n(t))}function Si(t){return null==t?t===r?"[object Undefined]":"[object Null]":Qt&&Qt in kt(t)?function(t){var e=$t.call(t,Qt),n=t[Qt];try{t[Qt]=r;var i=!0}catch(t){}var o=It.call(t);return i&&(e?t[Qt]=n:delete t[Qt]),o}(t):function(t){return It.call(t)}(t)}function ki(t,e){return t>e}function Ci(t,e){return null!=t&&$t.call(t,e)}function Oi(t,e){return null!=t&&e in kt(t)}function Ai(t,e,n){for(var o=n?Ee:Pe,s=t[0].length,a=t.length,l=a,c=i(a),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=Me(d,Ye(e))),u=vn(d.length,u),c[l]=!n&&(e||s>=120&&d.length>=120)?new qn(l&&d):r}d=t[0];var p=-1,f=c[0];t:for(;++p<s&&h.length<u;){var g=d[p],m=e?e(g):g;if(g=n||0!==g?g:0,!(f?Ze(f,m):o(h,m,n))){for(l=a;--l;){var v=c[l];if(!(v?Ze(v,m):o(t[l],m,n)))continue t}f&&f.push(m),h.push(g)}}return h}function Ti(t,e,n){var i=null==(t=Co(t,e=mr(e,t)))?t:t[Io(Yo(e))];return null==i?r:Se(i,t,n)}function Pi(t){return ta(t)&&Si(t)==g}function Ei(t,e,n,i,o){return t===e||(null==t||null==e||!ta(t)&&!ta(e)?t!=t&&e!=e:function(t,e,n,i,o,s){var a=Ws(t),l=Ws(e),c=a?m:ho(t),u=l?m:ho(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Gs(t)){if(!Gs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Gn),a||la(t)?Qr(t,e,n,i,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ft(t),new Ft(e)));case v:case y:case S:return Bs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case O:case T:return t==e+"";case w:var a=on;case A:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Qr(a(t),a(e),i,r,o,s);return s.delete(t),u;case P:if(In)return In.call(t)==In.call(e)}return!1}(t,e,c,n,i,o,s);if(!(1&n)){var f=h&&$t.call(t,"__wrapped__"),_=d&&$t.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Gn),o(x,C,n,i,s)}}return!!p&&(s||(s=new Gn),function(t,e,n,i,o,s){var a=1&n,l=to(t),c=l.length;if(c!=to(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:$t.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(i)var y=a?i(v,m,h,e,t,s):i(m,v,h,t,e,s);if(!(y===r?m===v||o(m,v,n,i,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(f=!1)}return s.delete(t),s.delete(e),f}(t,e,n,i,o,s))}(t,e,n,i,Ei,o))}function Mi(t,e,n,i){var o=n.length,s=o,a=!i;if(null==t)return!s;for(t=kt(t);o--;){var l=n[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===r&&!(c in t))return!1}else{var d=new Gn;if(i)var p=i(u,h,c,t,e,d);if(!(p===r?Ei(h,u,3,i,d):p))return!1}}return!0}function Li(t){return!(!Js(t)||(e=t,Dt&&Dt in e))&&(Ks(t)?Bt:gt).test(No(t));var e}function $i(t){return"function"==typeof t?t:null==t?nl:"object"==typeof t?Ws(t)?Ri(t[0],t[1]):Ni(t):hl(t)}function ji(t){if(!xo(t))return gn(t);var e=[];for(var n in kt(t))$t.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Di(t,e){return t<e}function Ii(t,e){var n=-1,r=Us(t)?i(t.length):[];return ui(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Ni(t){var e=ao(t);return 1==e.length&&e[0][2]?So(e[0][0],e[0][1]):function(n){return n===t||Mi(n,t,e)}}function Ri(t,e){return yo(t)&&wo(e)?So(Io(t),e):function(n){var i=Ca(n,t);return i===r&&i===e?Oa(n,t):Ei(e,i,3)}}function Bi(t,e,n,i,o){t!==e&&mi(e,function(s,a){if(o||(o=new Gn),Js(s))!function(t,e,n,i,o,s,a){var l=Oo(t,n),c=Oo(e,n),u=a.get(c);if(u)Qn(t,n,u);else{var h=s?s(l,c,n+"",t,e,a):r,d=h===r;if(d){var p=Ws(c),f=!p&&Gs(c),g=!p&&!f&&la(c);h=c,p||f||g?Ws(l)?h=l:qs(l)?h=Or(l):f?(d=!1,h=_r(c,!0)):g?(d=!1,h=wr(c,!0)):h=[]:ia(c)||Fs(c)?(h=l,Fs(l)?h=ma(l):Js(l)&&!Ks(l)||(h=fo(c))):d=!1}d&&(a.set(c,h),o(h,c,i,s,a),a.delete(c)),Qn(t,n,h)}}(t,e,a,n,Bi,i,o);else{var l=i?i(Oo(t,a),s,a+"",t,e,o):r;l===r&&(l=s),Qn(t,a,l)}},Ma)}function Vi(t,e){var n=t.length;if(n)return mo(e+=e<0?n:0,n)?t[e]:r}function zi(t,e,n){e=e.length?Me(e,function(t){return Ws(t)?function(e){return xi(e,1===t.length?t[0]:t)}:t}):[nl];var i=-1;e=Me(e,Ye(oo()));var r=Ii(t,function(t,n,r){var o=Me(e,function(e){return e(t)});return{criteria:o,index:++i,value:t}});return function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=Sr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(r)}function Fi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=xi(t,s);n(a,s)&&Ki(o,mr(s,t),a)}return o}function Wi(t,e,n,i){var r=i?Ve:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Or(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Gt.call(a,l,1),Gt.call(t,l,1);return t}function Hi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;mo(r)?Gt.call(t,r,1):lr(t,r)}}return t}function Ui(t,e){return t+pe(_n()*(e-t+1))}function qi(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Gi(t,e){return Po(ko(t,e,nl),t+"")}function Xi(t){return Yn(Ba(t))}function Yi(t,e){var n=Ba(t);return Lo(n,oi(e,0,n.length))}function Ki(t,e,n,i){if(!Js(t))return t;for(var o=-1,s=(e=mr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=Io(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=i?i(h,c,l):r)===r&&(u=Js(h)?h:mo(e[o+1])?[]:{})}Jn(l,c,u),l=l[c]}return t}var Zi=Tn?function(t,e){return Tn.set(t,e),t}:nl,Qi=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Ja(e),writable:!0})}:nl;function Ji(t){return Lo(Ba(t))}function tr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=i(o);++r<o;)s[r]=t[r+e];return s}function er(t,e){var n;return ui(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function nr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!aa(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return ir(t,e,nl,n)}function ir(t,e,n,i){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,l=null===e,c=aa(e),u=e===r;o<s;){var h=pe((o+s)/2),d=n(t[h]),p=d!==r,f=null===d,g=d==d,m=aa(d);if(a)var v=i||g;else v=u?g&&(i||p):l?g&&p&&(i||!f):c?g&&p&&!f&&(i||!m):!f&&!m&&(i?d<=e:d<e);v?o=h+1:s=h}return vn(s,4294967294)}function rr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Bs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function or(t){return"number"==typeof t?t:aa(t)?d:+t}function sr(t){if("string"==typeof t)return t;if(Ws(t))return Me(t,sr)+"";if(aa(t))return Nn?Nn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function ar(t,e,n){var i=-1,r=Pe,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Ee;else if(o>=200){var c=e?null:qr(t);if(c)return ln(c);s=!1,r=Ze,l=new qn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function lr(t,e){var n=-1,i=(e=mr(e,t)).length;if(!i)return!0;for(;++n<i;){var r=Io(e[n]);if("__proto__"===r&&!$t.call(t,"__proto__"))return!1;if(("constructor"===r||"prototype"===r)&&n<i-1)return!1}var o=Co(t,e);return null==o||delete o[Io(Yo(e))]}function cr(t,e,n,i){return Ki(t,e,n(xi(t,e)),i)}function ur(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?tr(t,i?0:o,i?o+1:r):tr(t,i?o+1:0,i?r:o)}function hr(t,e){var n=t;return n instanceof Fn&&(n=n.value()),$e(e,function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))},n)}function dr(t,e,n){var r=t.length;if(r<2)return r?ar(t[0]):[];for(var o=-1,s=i(r);++o<r;)for(var a=t[o],l=-1;++l<r;)l!=o&&(s[o]=ci(s[o]||a,t[l],e,n));return ar(gi(s,1),e,n)}function pr(t,e,n){for(var i=-1,o=t.length,s=e.length,a={};++i<o;){var l=i<s?e[i]:r;n(a,t[i],l)}return a}function fr(t){return qs(t)?t:[]}function gr(t){return"function"==typeof t?t:nl}function mr(t,e){return Ws(t)?t:yo(t,e)?[t]:Do(va(t))}var vr=Gi;function yr(t,e,n){var i=t.length;return n=n===r?i:n,!e&&n>=i?t:tr(t,e,n)}var br=se||function(t){return he.clearTimeout(t)};function _r(t,e){if(e)return t.slice();var n=t.length,i=Wt?Wt(n):new t.constructor(n);return t.copy(i),i}function xr(t){var e=new t.constructor(t.byteLength);return new Ft(e).set(new Ft(t)),e}function wr(t,e){var n=e?xr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Sr(t,e){if(t!==e){var n=t!==r,i=null===t,o=t==t,s=aa(t),a=e!==r,l=null===e,c=e==e,u=aa(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||i&&a&&c||!n&&c||!o)return 1;if(!i&&!s&&!u&&t<e||u&&n&&o&&!i&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}function kr(t,e,n,r){for(var o=-1,s=t.length,a=n.length,l=-1,c=e.length,u=mn(s-a,0),h=i(c+u),d=!r;++l<c;)h[l]=e[l];for(;++o<a;)(d||o<s)&&(h[n[o]]=t[o]);for(;u--;)h[l++]=t[o++];return h}function Cr(t,e,n,r){for(var o=-1,s=t.length,a=-1,l=n.length,c=-1,u=e.length,h=mn(s-l,0),d=i(h+u),p=!r;++o<h;)d[o]=t[o];for(var f=o;++c<u;)d[f+c]=e[c];for(;++a<l;)(p||o<s)&&(d[f+n[a]]=t[o++]);return d}function Or(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function Ar(t,e,n,i){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=i?i(n[l],t[l],l,n,t):r;c===r&&(c=t[l]),o?ii(n,l,c):Jn(n,l,c)}return n}function Tr(t,e){return function(n,i){var r=Ws(n)?ke:ei,o=e?e():{};return r(n,t,oo(i,2),o)}}function Pr(t){return Gi(function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:r,a=o>2?n[2]:r;for(s=t.length>3&&"function"==typeof s?(o--,s):r,a&&vo(n[0],n[1],a)&&(s=o<3?r:s,o=1),e=kt(e);++i<o;){var l=n[i];l&&t(e,l,i,s)}return e})}function Er(t,e){return function(n,i){if(null==n)return n;if(!Us(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=kt(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Mr(t){return function(e,n,i){for(var r=-1,o=kt(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function Lr(t){return function(e){var n=rn(e=va(e))?hn(e):r,i=n?n[0]:e.charAt(0),o=n?yr(n,1).join(""):e.slice(1);return i[t]()+o}}function $r(t){return function(e){return $e(Ka(Fa(e).replace(Kt,"")),t,"")}}function jr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Bn(t.prototype),i=t.apply(n,e);return Js(i)?i:n}}function Dr(t){return function(e,n,i){var o=kt(e);if(!Us(e)){var s=oo(n,3);e=Ea(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,i);return a>-1?o[s?e[a]:a]:r}}function Ir(t){return Jr(function(e){var n=e.length,i=n,s=zn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new At(o);if(s&&!l&&"wrapper"==io(a))var l=new zn([],!0)}for(i=l?i:n;++i<n;){var c=io(a=e[i]),u="wrapper"==c?no(a):r;l=u&&bo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[io(u[0])].apply(l,u[3]):1==a.length&&bo(a)?l[c]():l.thru(a)}return function(){var t=arguments,i=t[0];if(l&&1==t.length&&Ws(i))return l.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function Nr(t,e,n,o,s,a,l,u,h,d){var p=e&c,f=1&e,g=2&e,m=24&e,v=512&e,y=g?r:jr(t);return function c(){for(var b=arguments.length,_=i(b),x=b;x--;)_[x]=arguments[x];if(m)var w=ro(c),S=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(_,w);if(o&&(_=kr(_,o,s,m)),a&&(_=Cr(_,a,l,m)),b-=S,m&&b<d){var k=an(_,w);return Hr(t,e,Nr,c.placeholder,n,_,k,u,h,d-b)}var C=f?n:this,O=g?C[t]:t;return b=_.length,u?_=function(t,e){for(var n=t.length,i=vn(e.length,n),o=Or(t);i--;){var s=e[i];t[i]=mo(s,n)?o[s]:r}return t}(_,u):v&&b>1&&_.reverse(),p&&h<b&&(_.length=h),this&&this!==he&&this instanceof c&&(O=y||jr(O)),O.apply(C,_)}}function Rr(t,e){return function(n,i){return function(t,e,n,i){return yi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Br(t,e){return function(n,i){var o;if(n===r&&i===r)return e;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=or(n),i=or(i)),o=t(n,i)}return o}}function Vr(t){return Jr(function(e){return e=Me(e,Ye(oo())),Gi(function(n){var i=this;return t(e,function(t){return Se(t,i,n)})})})}function zr(t,e){var n=(e=e===r?" ":sr(e)).length;if(n<2)return n?qi(e,t):e;var i=qi(e,de(t/un(e)));return rn(e)?yr(hn(i),0,t).join(""):i.slice(0,t)}function Fr(t){return function(e,n,o){return o&&"number"!=typeof o&&vo(e,n,o)&&(n=o=r),e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n,r){for(var o=-1,s=mn(de((e-t)/(n||1)),0),a=i(s);s--;)a[r?s:++o]=t,t+=n;return a}(e,n,o=o===r?e<n?1:-1:da(o),t)}}function Wr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ga(e),n=ga(n)),t(e,n)}}function Hr(t,e,n,i,o,s,a,c,u,h){var d=8&e;e|=d?l:64,4&(e&=~(d?64:l))||(e&=-4);var p=[t,e,o,d?s:r,d?a:r,d?r:s,d?r:a,c,u,h],f=n.apply(r,p);return bo(t)&&Ao(f,p),f.placeholder=i,Eo(f,t,e)}function Ur(t){var e=St[t];return function(t,n){if(t=ga(t),(n=null==n?0:vn(pa(n),292))&&Ie(t)){var i=(va(t)+"e").split("e");return+((i=(va(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var qr=Cn&&1/ln(new Cn([,-0]))[1]==u?function(t){return new Cn(t)}:al;function Gr(t){return function(e){var n=ho(e);return n==w?on(e):n==A?cn(e):function(t,e){return Me(e,function(e){return[e,t[e]]})}(e,t(e))}}function Xr(t,e,n,s,u,h,d,p){var f=2&e;if(!f&&"function"!=typeof t)throw new At(o);var g=s?s.length:0;if(g||(e&=-97,s=u=r),d=d===r?d:mn(pa(d),0),p=p===r?p:pa(p),g-=u?u.length:0,64&e){var m=s,v=u;s=u=r}var y=f?r:no(t),b=[t,e,n,s,u,m,v,h,d,p];if(y&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=i==c&&8==n||i==c&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?kr(u,l,e[4]):l,t[4]=u?an(t[3],a):e[4]}(l=e[5])&&(u=t[5],t[5]=u?Cr(u,l,e[6]):l,t[6]=u?an(t[5],a):e[6]),(l=e[7])&&(t[7]=l),i&c&&(t[8]=null==t[8]?e[8]:vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(b,y),t=b[0],e=b[1],n=b[2],s=b[3],u=b[4],!(p=b[9]=b[9]===r?f?0:t.length:mn(b[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||16==e?function(t,e,n){var o=jr(t);return function s(){for(var a=arguments.length,l=i(a),c=a,u=ro(s);c--;)l[c]=arguments[c];var h=a<3&&l[0]!==u&&l[a-1]!==u?[]:an(l,u);return(a-=h.length)<n?Hr(t,e,Nr,s.placeholder,r,l,h,r,r,n-a):Se(this&&this!==he&&this instanceof s?o:t,this,l)}}(t,e,p):e!=l&&33!=e||u.length?Nr.apply(r,b):function(t,e,n,r){var o=1&e,s=jr(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=r.length,h=i(u+l),d=this&&this!==he&&this instanceof e?s:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++a];return Se(d,o?n:this,h)}}(t,e,n,s);else var _=function(t,e,n){var i=1&e,r=jr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return Eo((y?Zi:Ao)(_,b),t,e)}function Yr(t,e,n,i){return t===r||Bs(t,Et[n])&&!$t.call(i,n)?e:t}function Kr(t,e,n,i,o,s){return Js(t)&&Js(e)&&(s.set(e,t),Bi(t,e,r,Kr,s),s.delete(e)),t}function Zr(t){return ia(t)?r:t}function Qr(t,e,n,i,o,s){var a=1&n,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&n?new qn:r;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(i)var v=a?i(m,g,d,e,t,s):i(g,m,d,t,e,s);if(v!==r){if(v)continue;p=!1;break}if(f){if(!De(e,function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,n,i,s)))return f.push(e)})){p=!1;break}}else if(g!==m&&!o(g,m,n,i,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Jr(t){return Po(ko(t,r,Ho),t+"")}function to(t){return wi(t,Ea,co)}function eo(t){return wi(t,Ma,uo)}var no=Tn?function(t){return Tn.get(t)}:al;function io(t){for(var e=t.name+"",n=Pn[e],i=$t.call(Pn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function ro(t){return($t.call(Rn,"placeholder")?Rn:t).placeholder}function oo(){var t=Rn.iteratee||il;return t=t===il?$i:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function ao(t){for(var e=Ea(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,wo(r)]}return e}function lo(t,e){var n=function(t,e){return null==t?r:t[e]}(t,e);return Li(n)?n:r}var co=ge?function(t){return null==t?[]:(t=kt(t),Te(ge(t),function(e){return qt.call(t,e)}))}:fl,uo=ge?function(t){for(var e=[];t;)Le(e,co(t)),t=Ht(t);return e}:fl,ho=Si;function po(t,e,n){for(var i=-1,r=(e=mr(e,t)).length,o=!1;++i<r;){var s=Io(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Qs(r)&&mo(s,r)&&(Ws(t)||Fs(t))}function fo(t){return"function"!=typeof t.constructor||xo(t)?{}:Bn(Ht(t))}function go(t){return Ws(t)||Fs(t)||!!(Xt&&t&&t[Xt])}function mo(t,e){var n=typeof t;return!!(e=null==e?h:e)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function vo(t,e,n){if(!Js(n))return!1;var i=typeof e;return!!("number"==i?Us(n)&&mo(e,n.length):"string"==i&&e in n)&&Bs(n[e],t)}function yo(t,e){if(Ws(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!aa(t))||J.test(t)||!Q.test(t)||null!=e&&t in kt(e)}function bo(t){var e=io(t),n=Rn[e];if("function"!=typeof n||!(e in Fn.prototype))return!1;if(t===n)return!0;var i=no(n);return!!i&&t===i[0]}(wn&&ho(new wn(new ArrayBuffer(1)))!=L||Sn&&ho(new Sn)!=w||kn&&ho(kn.resolve())!=C||Cn&&ho(new Cn)!=A||On&&ho(new On)!=E)&&(ho=function(t){var e=Si(t),n=e==k?t.constructor:r,i=n?No(n):"";if(i)switch(i){case En:return L;case Mn:return w;case Ln:return C;case $n:return A;case jn:return E}return e});var _o=Mt?Ks:gl;function xo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Et)}function wo(t){return t==t&&!Js(t)}function So(t,e){return function(n){return null!=n&&n[t]===e&&(e!==r||t in kt(n))}}function ko(t,e,n){return e=mn(e===r?t.length-1:e,0),function(){for(var r=arguments,o=-1,s=mn(r.length-e,0),a=i(s);++o<s;)a[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(a),Se(t,this,l)}}function Co(t,e){return e.length<2?t:xi(t,tr(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Ao=Mo(Zi),To=ue||function(t,e){return he.setTimeout(t,e)},Po=Mo(Qi);function Eo(t,e,n){var i=e+"";return Po(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,function(n){var i="_."+n[0];e&n[1]&&!Pe(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Mo(t){var e=0,n=0;return function(){var i=yn(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Lo(t,e){var n=-1,i=t.length,o=i-1;for(e=e===r?i:e;++n<e;){var s=Ui(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var $o,jo,Do=($o=$s(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)}),e},function(t){return 500===jo.size&&jo.clear(),t}),jo=$o.cache,$o);function Io(t){if("string"==typeof t||aa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function No(t){if(null!=t){try{return Lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ro(t){if(t instanceof Fn)return t.clone();var e=new zn(t.__wrapped__,t.__chain__);return e.__actions__=Or(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Bo=Gi(function(t,e){return qs(t)?ci(t,gi(e,1,qs,!0)):[]}),Vo=Gi(function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),oo(n,2)):[]}),zo=Gi(function(t,e){var n=Yo(e);return qs(n)&&(n=r),qs(t)?ci(t,gi(e,1,qs,!0),r,n):[]});function Fo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Re(t,oo(e,3),r)}function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return n!==r&&(o=pa(n),o=n<0?mn(i+o,0):vn(o,i-1)),Re(t,oo(e,3),o,!0)}function Ho(t){return null!=t&&t.length?gi(t,1):[]}function Uo(t){return t&&t.length?t[0]:r}var qo=Gi(function(t){var e=Me(t,fr);return e.length&&e[0]===t[0]?Ai(e):[]}),Go=Gi(function(t){var e=Yo(t),n=Me(t,fr);return e===Yo(n)?e=r:n.pop(),n.length&&n[0]===t[0]?Ai(n,oo(e,2)):[]}),Xo=Gi(function(t){var e=Yo(t),n=Me(t,fr);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?Ai(n,r,e):[]});function Yo(t){var e=null==t?0:t.length;return e?t[e-1]:r}var Ko=Gi(Zo);function Zo(t,e){return t&&t.length&&e&&e.length?Wi(t,e):t}var Qo=Jr(function(t,e){var n=null==t?0:t.length,i=ri(t,e);return Hi(t,Me(e,function(t){return mo(t,n)?+t:t}).sort(Sr)),i});function Jo(t){return null==t?t:xn.call(t)}var ts=Gi(function(t){return ar(gi(t,1,qs,!0))}),es=Gi(function(t){var e=Yo(t);return qs(e)&&(e=r),ar(gi(t,1,qs,!0),oo(e,2))}),ns=Gi(function(t){var e=Yo(t);return e="function"==typeof e?e:r,ar(gi(t,1,qs,!0),r,e)});function is(t){if(!t||!t.length)return[];var e=0;return t=Te(t,function(t){if(qs(t))return e=mn(t.length,e),!0}),Ge(e,function(e){return Me(t,We(e))})}function rs(t,e){if(!t||!t.length)return[];var n=is(t);return null==e?n:Me(n,function(t){return Se(e,r,t)})}var os=Gi(function(t,e){return qs(t)?ci(t,e):[]}),ss=Gi(function(t){return dr(Te(t,qs))}),as=Gi(function(t){var e=Yo(t);return qs(e)&&(e=r),dr(Te(t,qs),oo(e,2))}),ls=Gi(function(t){var e=Yo(t);return e="function"==typeof e?e:r,dr(Te(t,qs),r,e)}),cs=Gi(is),us=Gi(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,rs(t,n)});function hs(t){var e=Rn(t);return e.__chain__=!0,e}function ds(t,e){return e(t)}var ps=Jr(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return ri(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Fn&&mo(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ds,args:[o],thisArg:r}),new zn(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(o)}),fs=Tr(function(t,e,n){$t.call(t,n)?++t[n]:ii(t,n,1)}),gs=Dr(Fo),ms=Dr(Wo);function vs(t,e){return(Ws(t)?Ce:ui)(t,oo(e,3))}function ys(t,e){return(Ws(t)?Oe:hi)(t,oo(e,3))}var bs=Tr(function(t,e,n){$t.call(t,n)?t[n].push(e):ii(t,n,[e])}),_s=Gi(function(t,e,n){var r=-1,o="function"==typeof e,s=Us(t)?i(t.length):[];return ui(t,function(t){s[++r]=o?Se(e,t,n):Ti(t,e,n)}),s}),xs=Tr(function(t,e,n){ii(t,n,e)});function ws(t,e){return(Ws(t)?Me:Ii)(t,oo(e,3))}var Ss=Tr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ks=Gi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&vo(t,e[0],e[1])?e=[]:n>2&&vo(e[0],e[1],e[2])&&(e=[e[0]]),zi(t,gi(e,1),[])}),Cs=ce||function(){return he.Date.now()};function Os(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,Xr(t,c,r,r,r,r,e)}function As(t,e){var n;if("function"!=typeof e)throw new At(o);return t=pa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Ts=Gi(function(t,e,n){var i=1;if(n.length){var r=an(n,ro(Ts));i|=l}return Xr(t,i,e,n,r)}),Ps=Gi(function(t,e,n){var i=3;if(n.length){var r=an(n,ro(Ps));i|=l}return Xr(e,i,t,n,r)});function Es(t,e,n){var i,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new At(o);function g(e){var n=i,o=s;return i=s=r,h=e,l=t.apply(o,n)}function m(t){var n=t-u;return u===r||n>=e||n<0||p&&t-h>=a}function v(){var t=Cs();if(m(t))return y(t);c=To(v,function(t){var n=e-(t-u);return p?vn(n,a-(t-h)):n}(t))}function y(t){return c=r,f&&i?g(t):(i=s=r,l)}function b(){var t=Cs(),n=m(t);if(i=arguments,s=this,u=t,n){if(c===r)return function(t){return h=t,c=To(v,e),d?g(t):l}(u);if(p)return br(c),c=To(v,e),g(u)}return c===r&&(c=To(v,e)),l}return e=ga(e)||0,Js(n)&&(d=!!n.leading,a=(p="maxWait"in n)?mn(ga(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){c!==r&&br(c),h=0,i=u=s=c=r},b.flush=function(){return c===r?l:y(Cs())},b}var Ms=Gi(function(t,e){return li(t,1,e)}),Ls=Gi(function(t,e,n){return li(t,ga(e)||0,n)});function $s(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new At(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new($s.Cache||Un),n}function js(t){if("function"!=typeof t)throw new At(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}$s.Cache=Un;var Ds=vr(function(t,e){var n=(e=1==e.length&&Ws(e[0])?Me(e[0],Ye(oo())):Me(gi(e,1),Ye(oo()))).length;return Gi(function(i){for(var r=-1,o=vn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)})}),Is=Gi(function(t,e){var n=an(e,ro(Is));return Xr(t,l,r,e,n)}),Ns=Gi(function(t,e){var n=an(e,ro(Ns));return Xr(t,64,r,e,n)}),Rs=Jr(function(t,e){return Xr(t,256,r,r,r,e)});function Bs(t,e){return t===e||t!=t&&e!=e}var Vs=Wr(ki),zs=Wr(function(t,e){return t>=e}),Fs=Pi(function(){return arguments}())?Pi:function(t){return ta(t)&&$t.call(t,"callee")&&!qt.call(t,"callee")},Ws=i.isArray,Hs=ve?Ye(ve):function(t){return ta(t)&&Si(t)==M};function Us(t){return null!=t&&Qs(t.length)&&!Ks(t)}function qs(t){return ta(t)&&Us(t)}var Gs=me||gl,Xs=ye?Ye(ye):function(t){return ta(t)&&Si(t)==y};function Ys(t){if(!ta(t))return!1;var e=Si(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ia(t)}function Ks(t){if(!Js(t))return!1;var e=Si(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zs(t){return"number"==typeof t&&t==pa(t)}function Qs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Js(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ta(t){return null!=t&&"object"==typeof t}var ea=be?Ye(be):function(t){return ta(t)&&ho(t)==w};function na(t){return"number"==typeof t||ta(t)&&Si(t)==S}function ia(t){if(!ta(t)||Si(t)!=k)return!1;var e=Ht(t);if(null===e)return!0;var n=$t.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Lt.call(n)==Nt}var ra=_e?Ye(_e):function(t){return ta(t)&&Si(t)==O},oa=xe?Ye(xe):function(t){return ta(t)&&ho(t)==A};function sa(t){return"string"==typeof t||!Ws(t)&&ta(t)&&Si(t)==T}function aa(t){return"symbol"==typeof t||ta(t)&&Si(t)==P}var la=we?Ye(we):function(t){return ta(t)&&Qs(t.length)&&!!re[Si(t)]},ca=Wr(Di),ua=Wr(function(t,e){return t<=e});function ha(t){if(!t)return[];if(Us(t))return sa(t)?hn(t):Or(t);if(Yt&&t[Yt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Yt]());var e=ho(t);return(e==w?on:e==A?ln:Ba)(t)}function da(t){return t?(t=ga(t))===u||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var e=da(t),n=e%1;return e==e?n?e-n:e:0}function fa(t){return t?oi(pa(t),0,p):0}function ga(t){if("number"==typeof t)return t;if(aa(t))return d;if(Js(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Js(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?d:+t}function ma(t){return Ar(t,Ma(t))}function va(t){return null==t?"":sr(t)}var ya=Pr(function(t,e){if(xo(e)||Us(e))Ar(e,Ea(e),t);else for(var n in e)$t.call(e,n)&&Jn(t,n,e[n])}),ba=Pr(function(t,e){Ar(e,Ma(e),t)}),_a=Pr(function(t,e,n,i){Ar(e,Ma(e),t,i)}),xa=Pr(function(t,e,n,i){Ar(e,Ea(e),t,i)}),wa=Jr(ri),Sa=Gi(function(t,e){t=kt(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&vo(e[0],e[1],o)&&(i=1);++n<i;)for(var s=e[n],a=Ma(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===r||Bs(h,Et[u])&&!$t.call(t,u))&&(t[u]=s[u])}return t}),ka=Gi(function(t){return t.push(r,Kr),Se($a,r,t)});function Ca(t,e,n){var i=null==t?r:xi(t,e);return i===r?n:i}function Oa(t,e){return null!=t&&po(t,e,Oi)}var Aa=Rr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=It.call(e)),t[e]=n},Ja(nl)),Ta=Rr(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=It.call(e)),$t.call(t,e)?t[e].push(n):t[e]=[n]},oo),Pa=Gi(Ti);function Ea(t){return Us(t)?Xn(t):ji(t)}function Ma(t){return Us(t)?Xn(t,!0):function(t){if(!Js(t))return function(t){var e=[];if(null!=t)for(var n in kt(t))e.push(n);return e}(t);var e=xo(t),n=[];for(var i in t)("constructor"!=i||!e&&$t.call(t,i))&&n.push(i);return n}(t)}var La=Pr(function(t,e,n){Bi(t,e,n)}),$a=Pr(function(t,e,n,i){Bi(t,e,n,i)}),ja=Jr(function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,function(e){return e=mr(e,t),i||(i=e.length>1),e}),Ar(t,eo(t),n),i&&(n=si(n,7,Zr));for(var r=e.length;r--;)lr(n,e[r]);return n}),Da=Jr(function(t,e){return null==t?{}:function(t,e){return Fi(t,e,function(e,n){return Oa(t,n)})}(t,e)});function Ia(t,e){if(null==t)return{};var n=Me(eo(t),function(t){return[t]});return e=oo(e),Fi(t,n,function(t,n){return e(t,n[0])})}var Na=Gr(Ea),Ra=Gr(Ma);function Ba(t){return null==t?[]:Ke(t,Ea(t))}var Va=$r(function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)});function za(t){return Ya(va(t).toLowerCase())}function Fa(t){return(t=va(t))&&t.replace(yt,tn).replace(Zt,"")}var Wa=$r(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ha=$r(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ua=Lr("toLowerCase"),qa=$r(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Ga=$r(function(t,e,n){return t+(n?" ":"")+Ya(e)}),Xa=$r(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ya=Lr("toUpperCase");function Ka(t,e,n){return t=va(t),(e=n?r:e)===r?function(t){return ee.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Za=Gi(function(t,e){try{return Se(t,r,e)}catch(t){return Ys(t)?t:new xt(t)}}),Qa=Jr(function(t,e){return Ce(e,function(e){e=Io(e),ii(t,e,Ts(t[e],t))}),t});function Ja(t){return function(){return t}}var tl=Ir(),el=Ir(!0);function nl(t){return t}function il(t){return $i("function"==typeof t?t:si(t,1))}var rl=Gi(function(t,e){return function(n){return Ti(n,t,e)}}),ol=Gi(function(t,e){return function(n){return Ti(t,n,e)}});function sl(t,e,n){var i=Ea(e),r=_i(e,i);null!=n||Js(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=_i(e,Ea(e)));var o=!(Js(n)&&"chain"in n&&!n.chain),s=Ks(t);return Ce(r,function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Or(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})}),t}function al(){}var ll=Vr(Me),cl=Vr(Ae),ul=Vr(De);function hl(t){return yo(t)?We(Io(t)):function(t){return function(e){return xi(e,t)}}(t)}var dl=Fr(),pl=Fr(!0);function fl(){return[]}function gl(){return!1}var ml,vl=Br(function(t,e){return t+e},0),yl=Ur("ceil"),bl=Br(function(t,e){return t/e},1),_l=Ur("floor"),xl=Br(function(t,e){return t*e},1),wl=Ur("round"),Sl=Br(function(t,e){return t-e},0);return Rn.after=function(t,e){if("function"!=typeof e)throw new At(o);return t=pa(t),function(){if(--t<1)return e.apply(this,arguments)}},Rn.ary=Os,Rn.assign=ya,Rn.assignIn=ba,Rn.assignInWith=_a,Rn.assignWith=xa,Rn.at=wa,Rn.before=As,Rn.bind=Ts,Rn.bindAll=Qa,Rn.bindKey=Ps,Rn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ws(t)?t:[t]},Rn.chain=hs,Rn.chunk=function(t,e,n){e=(n?vo(t,e,n):e===r)?1:mn(pa(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=i(de(o/e));s<o;)l[a++]=tr(t,s,s+=e);return l},Rn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Rn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return Le(Ws(n)?Or(n):[n],gi(e,1))},Rn.cond=function(t){var e=null==t?0:t.length,n=oo();return t=e?Me(t,function(t){if("function"!=typeof t[1])throw new At(o);return[n(t[0]),t[1]]}):[],Gi(function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}})},Rn.conforms=function(t){return function(t){var e=Ea(t);return function(n){return ai(n,t,e)}}(si(t,1))},Rn.constant=Ja,Rn.countBy=fs,Rn.create=function(t,e){var n=Bn(t);return null==e?n:ni(n,e)},Rn.curry=function t(e,n,i){var o=Xr(e,8,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Rn.curryRight=function t(e,n,i){var o=Xr(e,16,r,r,r,r,r,n=i?r:n);return o.placeholder=t.placeholder,o},Rn.debounce=Es,Rn.defaults=Sa,Rn.defaultsDeep=ka,Rn.defer=Ms,Rn.delay=Ls,Rn.difference=Bo,Rn.differenceBy=Vo,Rn.differenceWith=zo,Rn.drop=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=n||e===r?1:pa(e))<0?0:e,i):[]},Rn.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,0,(e=i-(e=n||e===r?1:pa(e)))<0?0:e):[]},Rn.dropRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0,!0):[]},Rn.dropWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!0):[]},Rn.fill=function(t,e,n,i){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&vo(t,e,n)&&(n=0,i=o),function(t,e,n,i){var o=t.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:pa(i))<0&&(i+=o),i=n>i?0:fa(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},Rn.filter=function(t,e){return(Ws(t)?Te:fi)(t,oo(e,3))},Rn.flatMap=function(t,e){return gi(ws(t,e),1)},Rn.flatMapDeep=function(t,e){return gi(ws(t,e),u)},Rn.flatMapDepth=function(t,e,n){return n=n===r?1:pa(n),gi(ws(t,e),n)},Rn.flatten=Ho,Rn.flattenDeep=function(t){return null!=t&&t.length?gi(t,u):[]},Rn.flattenDepth=function(t,e){return null!=t&&t.length?gi(t,e=e===r?1:pa(e)):[]},Rn.flip=function(t){return Xr(t,512)},Rn.flow=tl,Rn.flowRight=el,Rn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];ii(i,r[0],r[1])}return i},Rn.functions=function(t){return null==t?[]:_i(t,Ea(t))},Rn.functionsIn=function(t){return null==t?[]:_i(t,Ma(t))},Rn.groupBy=bs,Rn.initial=function(t){return null!=t&&t.length?tr(t,0,-1):[]},Rn.intersection=qo,Rn.intersectionBy=Go,Rn.intersectionWith=Xo,Rn.invert=Aa,Rn.invertBy=Ta,Rn.invokeMap=_s,Rn.iteratee=il,Rn.keyBy=xs,Rn.keys=Ea,Rn.keysIn=Ma,Rn.map=ws,Rn.mapKeys=function(t,e){var n={};return e=oo(e,3),yi(t,function(t,i,r){ii(n,e(t,i,r),t)}),n},Rn.mapValues=function(t,e){var n={};return e=oo(e,3),yi(t,function(t,i,r){ii(n,i,e(t,i,r))}),n},Rn.matches=function(t){return Ni(si(t,1))},Rn.matchesProperty=function(t,e){return Ri(t,si(e,1))},Rn.memoize=$s,Rn.merge=La,Rn.mergeWith=$a,Rn.method=rl,Rn.methodOf=ol,Rn.mixin=sl,Rn.negate=js,Rn.nthArg=function(t){return t=pa(t),Gi(function(e){return Vi(e,t)})},Rn.omit=ja,Rn.omitBy=function(t,e){return Ia(t,js(oo(e)))},Rn.once=function(t){return As(2,t)},Rn.orderBy=function(t,e,n,i){return null==t?[]:(Ws(e)||(e=null==e?[]:[e]),Ws(n=i?r:n)||(n=null==n?[]:[n]),zi(t,e,n))},Rn.over=ll,Rn.overArgs=Ds,Rn.overEvery=cl,Rn.overSome=ul,Rn.partial=Is,Rn.partialRight=Ns,Rn.partition=Ss,Rn.pick=Da,Rn.pickBy=Ia,Rn.property=hl,Rn.propertyOf=function(t){return function(e){return null==t?r:xi(t,e)}},Rn.pull=Ko,Rn.pullAll=Zo,Rn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,oo(n,2)):t},Rn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wi(t,e,r,n):t},Rn.pullAt=Qo,Rn.range=dl,Rn.rangeRight=pl,Rn.rearg=Rs,Rn.reject=function(t,e){return(Ws(t)?Te:fi)(t,js(oo(e,3)))},Rn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=oo(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Hi(t,r),n},Rn.rest=function(t,e){if("function"!=typeof t)throw new At(o);return Gi(t,e=e===r?e:pa(e))},Rn.reverse=Jo,Rn.sampleSize=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),(Ws(t)?Kn:Yi)(t,e)},Rn.set=function(t,e,n){return null==t?t:Ki(t,e,n)},Rn.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:Ki(t,e,n,i)},Rn.shuffle=function(t){return(Ws(t)?Zn:Ji)(t)},Rn.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&vo(t,e,n)?(e=0,n=i):(e=null==e?0:pa(e),n=n===r?i:pa(n)),tr(t,e,n)):[]},Rn.sortBy=ks,Rn.sortedUniq=function(t){return t&&t.length?rr(t):[]},Rn.sortedUniqBy=function(t,e){return t&&t.length?rr(t,oo(e,2)):[]},Rn.split=function(t,e,n){return n&&"number"!=typeof n&&vo(t,e,n)&&(e=n=r),(n=n===r?p:n>>>0)?(t=va(t))&&("string"==typeof e||null!=e&&!ra(e))&&!(e=sr(e))&&rn(t)?yr(hn(t),0,n):t.split(e,n):[]},Rn.spread=function(t,e){if("function"!=typeof t)throw new At(o);return e=null==e?0:mn(pa(e),0),Gi(function(n){var i=n[e],r=yr(n,0,e);return i&&Le(r,i),Se(t,this,r)})},Rn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},Rn.take=function(t,e,n){return t&&t.length?tr(t,0,(e=n||e===r?1:pa(e))<0?0:e):[]},Rn.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?tr(t,(e=i-(e=n||e===r?1:pa(e)))<0?0:e,i):[]},Rn.takeRightWhile=function(t,e){return t&&t.length?ur(t,oo(e,3),!1,!0):[]},Rn.takeWhile=function(t,e){return t&&t.length?ur(t,oo(e,3)):[]},Rn.tap=function(t,e){return e(t),t},Rn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new At(o);return Js(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Es(t,e,{leading:i,maxWait:e,trailing:r})},Rn.thru=ds,Rn.toArray=ha,Rn.toPairs=Na,Rn.toPairsIn=Ra,Rn.toPath=function(t){return Ws(t)?Me(t,Io):aa(t)?[t]:Or(Do(va(t)))},Rn.toPlainObject=ma,Rn.transform=function(t,e,n){var i=Ws(t),r=i||Gs(t)||la(t);if(e=oo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Js(t)&&Ks(o)?Bn(Ht(t)):{}}return(r?Ce:yi)(t,function(t,i,r){return e(n,t,i,r)}),n},Rn.unary=function(t){return Os(t,1)},Rn.union=ts,Rn.unionBy=es,Rn.unionWith=ns,Rn.uniq=function(t){return t&&t.length?ar(t):[]},Rn.uniqBy=function(t,e){return t&&t.length?ar(t,oo(e,2)):[]},Rn.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?ar(t,r,e):[]},Rn.unset=function(t,e){return null==t||lr(t,e)},Rn.unzip=is,Rn.unzipWith=rs,Rn.update=function(t,e,n){return null==t?t:cr(t,e,gr(n))},Rn.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:cr(t,e,gr(n),i)},Rn.values=Ba,Rn.valuesIn=function(t){return null==t?[]:Ke(t,Ma(t))},Rn.without=os,Rn.words=Ka,Rn.wrap=function(t,e){return Is(gr(e),t)},Rn.xor=ss,Rn.xorBy=as,Rn.xorWith=ls,Rn.zip=cs,Rn.zipObject=function(t,e){return pr(t||[],e||[],Jn)},Rn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Ki)},Rn.zipWith=us,Rn.entries=Na,Rn.entriesIn=Ra,Rn.extend=ba,Rn.extendWith=_a,sl(Rn,Rn),Rn.add=vl,Rn.attempt=Za,Rn.camelCase=Va,Rn.capitalize=za,Rn.ceil=yl,Rn.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=ga(n))==n?n:0),e!==r&&(e=(e=ga(e))==e?e:0),oi(ga(t),e,n)},Rn.clone=function(t){return si(t,4)},Rn.cloneDeep=function(t){return si(t,5)},Rn.cloneDeepWith=function(t,e){return si(t,5,e="function"==typeof e?e:r)},Rn.cloneWith=function(t,e){return si(t,4,e="function"==typeof e?e:r)},Rn.conformsTo=function(t,e){return null==e||ai(t,e,Ea(e))},Rn.deburr=Fa,Rn.defaultTo=function(t,e){return null==t||t!=t?e:t},Rn.divide=bl,Rn.endsWith=function(t,e,n){t=va(t),e=sr(e);var i=t.length,o=n=n===r?i:oi(pa(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},Rn.eq=Bs,Rn.escape=function(t){return(t=va(t))&&X.test(t)?t.replace(q,en):t},Rn.escapeRegExp=function(t){return(t=va(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Rn.every=function(t,e,n){var i=Ws(t)?Ae:di;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Rn.find=gs,Rn.findIndex=Fo,Rn.findKey=function(t,e){return Ne(t,oo(e,3),yi)},Rn.findLast=ms,Rn.findLastIndex=Wo,Rn.findLastKey=function(t,e){return Ne(t,oo(e,3),bi)},Rn.floor=_l,Rn.forEach=vs,Rn.forEachRight=ys,Rn.forIn=function(t,e){return null==t?t:mi(t,oo(e,3),Ma)},Rn.forInRight=function(t,e){return null==t?t:vi(t,oo(e,3),Ma)},Rn.forOwn=function(t,e){return t&&yi(t,oo(e,3))},Rn.forOwnRight=function(t,e){return t&&bi(t,oo(e,3))},Rn.get=Ca,Rn.gt=Vs,Rn.gte=zs,Rn.has=function(t,e){return null!=t&&po(t,e,Ci)},Rn.hasIn=Oa,Rn.head=Uo,Rn.identity=nl,Rn.includes=function(t,e,n,i){t=Us(t)?t:Ba(t),n=n&&!i?pa(n):0;var r=t.length;return n<0&&(n=mn(r+n,0)),sa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Rn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:pa(n);return r<0&&(r=mn(i+r,0)),Be(t,e,r)},Rn.inRange=function(t,e,n){return e=da(e),n===r?(n=e,e=0):n=da(n),function(t,e,n){return t>=vn(e,n)&&t<mn(e,n)}(t=ga(t),e,n)},Rn.invoke=Pa,Rn.isArguments=Fs,Rn.isArray=Ws,Rn.isArrayBuffer=Hs,Rn.isArrayLike=Us,Rn.isArrayLikeObject=qs,Rn.isBoolean=function(t){return!0===t||!1===t||ta(t)&&Si(t)==v},Rn.isBuffer=Gs,Rn.isDate=Xs,Rn.isElement=function(t){return ta(t)&&1===t.nodeType&&!ia(t)},Rn.isEmpty=function(t){if(null==t)return!0;if(Us(t)&&(Ws(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||la(t)||Fs(t)))return!t.length;var e=ho(t);if(e==w||e==A)return!t.size;if(xo(t))return!ji(t).length;for(var n in t)if($t.call(t,n))return!1;return!0},Rn.isEqual=function(t,e){return Ei(t,e)},Rn.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?Ei(t,e,r,n):!!i},Rn.isError=Ys,Rn.isFinite=function(t){return"number"==typeof t&&Ie(t)},Rn.isFunction=Ks,Rn.isInteger=Zs,Rn.isLength=Qs,Rn.isMap=ea,Rn.isMatch=function(t,e){return t===e||Mi(t,e,ao(e))},Rn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,Mi(t,e,ao(e),n)},Rn.isNaN=function(t){return na(t)&&t!=+t},Rn.isNative=function(t){if(_o(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Li(t)},Rn.isNil=function(t){return null==t},Rn.isNull=function(t){return null===t},Rn.isNumber=na,Rn.isObject=Js,Rn.isObjectLike=ta,Rn.isPlainObject=ia,Rn.isRegExp=ra,Rn.isSafeInteger=function(t){return Zs(t)&&t>=-9007199254740991&&t<=h},Rn.isSet=oa,Rn.isString=sa,Rn.isSymbol=aa,Rn.isTypedArray=la,Rn.isUndefined=function(t){return t===r},Rn.isWeakMap=function(t){return ta(t)&&ho(t)==E},Rn.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Si(t)},Rn.join=function(t,e){return null==t?"":He.call(t,e)},Rn.kebabCase=Wa,Rn.last=Yo,Rn.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=pa(n))<0?mn(i+o,0):vn(o,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Re(t,ze,o,!0)},Rn.lowerCase=Ha,Rn.lowerFirst=Ua,Rn.lt=ca,Rn.lte=ua,Rn.max=function(t){return t&&t.length?pi(t,nl,ki):r},Rn.maxBy=function(t,e){return t&&t.length?pi(t,oo(e,2),ki):r},Rn.mean=function(t){return Fe(t,nl)},Rn.meanBy=function(t,e){return Fe(t,oo(e,2))},Rn.min=function(t){return t&&t.length?pi(t,nl,Di):r},Rn.minBy=function(t,e){return t&&t.length?pi(t,oo(e,2),Di):r},Rn.stubArray=fl,Rn.stubFalse=gl,Rn.stubObject=function(){return{}},Rn.stubString=function(){return""},Rn.stubTrue=function(){return!0},Rn.multiply=xl,Rn.nth=function(t,e){return t&&t.length?Vi(t,pa(e)):r},Rn.noConflict=function(){return he._===this&&(he._=Rt),this},Rn.noop=al,Rn.now=Cs,Rn.pad=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return zr(pe(r),n)+t+zr(de(r),n)},Rn.padEnd=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?t+zr(e-i,n):t},Rn.padStart=function(t,e,n){t=va(t);var i=(e=pa(e))?un(t):0;return e&&i<e?zr(e-i,n)+t:t},Rn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),bn(va(t).replace(it,""),e||0)},Rn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&vo(t,e,n)&&(e=n=r),n===r&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),t===r&&e===r?(t=0,e=1):(t=da(t),e===r?(e=t,t=0):e=da(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var o=_n();return vn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return Ui(t,e)},Rn.reduce=function(t,e,n){var i=Ws(t)?$e:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,ui)},Rn.reduceRight=function(t,e,n){var i=Ws(t)?je:Ue,r=arguments.length<3;return i(t,oo(e,4),n,r,hi)},Rn.repeat=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:pa(e),qi(va(t),e)},Rn.replace=function(){var t=arguments,e=va(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Rn.result=function(t,e,n){var i=-1,o=(e=mr(e,t)).length;for(o||(o=1,t=r);++i<o;){var s=null==t?r:t[Io(e[i])];s===r&&(i=o,s=n),t=Ks(s)?s.call(t):s}return t},Rn.round=wl,Rn.runInContext=t,Rn.sample=function(t){return(Ws(t)?Yn:Xi)(t)},Rn.size=function(t){if(null==t)return 0;if(Us(t))return sa(t)?un(t):t.length;var e=ho(t);return e==w||e==A?t.size:ji(t).length},Rn.snakeCase=qa,Rn.some=function(t,e,n){var i=Ws(t)?De:er;return n&&vo(t,e,n)&&(e=r),i(t,oo(e,3))},Rn.sortedIndex=function(t,e){return nr(t,e)},Rn.sortedIndexBy=function(t,e,n){return ir(t,e,oo(n,2))},Rn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=nr(t,e);if(i<n&&Bs(t[i],e))return i}return-1},Rn.sortedLastIndex=function(t,e){return nr(t,e,!0)},Rn.sortedLastIndexBy=function(t,e,n){return ir(t,e,oo(n,2),!0)},Rn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=nr(t,e,!0)-1;if(Bs(t[n],e))return n}return-1},Rn.startCase=Ga,Rn.startsWith=function(t,e,n){return t=va(t),n=null==n?0:oi(pa(n),0,t.length),e=sr(e),t.slice(n,n+e.length)==e},Rn.subtract=Sl,Rn.sum=function(t){return t&&t.length?qe(t,nl):0},Rn.sumBy=function(t,e){return t&&t.length?qe(t,oo(e,2)):0},Rn.template=function(t,e,n){var i=Rn.templateSettings;n&&vo(t,e,n)&&(e=r),t=va(t),e=xa({},e,i,Yr);var o=xa({},e.imports,i.imports,Yr),s=Ea(o),a=Ke(o,s);Ce(s,function(t){if(ct.test(t))throw new xt("Invalid `imports` option passed into `_.template`")});var l,c,u=0,h=e.interpolate||bt,d="__p += '",p=Ct((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+($t.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,function(e,n,i,r,o,s){return i||(i=r),d+=t.slice(u,s).replace(_t,nn),n&&(l=!0,d+="' +\n__e("+n+") +\n'"),o&&(c=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=s+e.length,e}),d+="';\n";var g=$t.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new xt("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(c?d.replace(F,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Za(function(){return wt(s,f+"return "+d).apply(r,a)});if(m.source=d,Ys(m))throw m;return m},Rn.times=function(t,e){if((t=pa(t))<1||t>h)return[];var n=p,i=vn(t,p);e=oo(e),t-=p;for(var r=Ge(i,e);++n<t;)e(n);return r},Rn.toFinite=da,Rn.toInteger=pa,Rn.toLength=fa,Rn.toLower=function(t){return va(t).toLowerCase()},Rn.toNumber=ga,Rn.toSafeInteger=function(t){return t?oi(pa(t),-9007199254740991,h):0===t?t:0},Rn.toString=va,Rn.toUpper=function(t){return va(t).toUpperCase()},Rn.trim=function(t,e,n){if((t=va(t))&&(n||e===r))return Xe(t);if(!t||!(e=sr(e)))return t;var i=hn(t),o=hn(e);return yr(i,Qe(i,o),Je(i,o)+1).join("")},Rn.trimEnd=function(t,e,n){if((t=va(t))&&(n||e===r))return t.slice(0,dn(t)+1);if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,0,Je(i,hn(e))+1).join("")},Rn.trimStart=function(t,e,n){if((t=va(t))&&(n||e===r))return t.replace(it,"");if(!t||!(e=sr(e)))return t;var i=hn(t);return yr(i,Qe(i,hn(e))).join("")},Rn.truncate=function(t,e){var n=30,i="...";if(Js(e)){var o="separator"in e?e.separator:o;n="length"in e?pa(e.length):n,i="omission"in e?sr(e.omission):i}var s=(t=va(t)).length;if(rn(t)){var a=hn(t);s=a.length}if(n>=s)return t;var l=n-un(i);if(l<1)return i;var c=a?yr(a,0,l).join(""):t.slice(0,l);if(o===r)return c+i;if(a&&(l+=c.length-l),ra(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=Ct(o.source,va(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===r?l:d)}}else if(t.indexOf(sr(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+i},Rn.unescape=function(t){return(t=va(t))&&G.test(t)?t.replace(U,pn):t},Rn.uniqueId=function(t){var e=++jt;return va(t)+e},Rn.upperCase=Xa,Rn.upperFirst=Ya,Rn.each=vs,Rn.eachRight=ys,Rn.first=Uo,sl(Rn,(ml={},yi(Rn,function(t,e){$t.call(Rn.prototype,e)||(ml[e]=t)}),ml),{chain:!1}),Rn.VERSION="4.18.1",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Rn[t].placeholder=Rn}),Ce(["drop","take"],function(t,e){Fn.prototype[t]=function(n){n=n===r?1:mn(pa(n),0);var i=this.__filtered__&&!e?new Fn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,p),type:t+(i.__dir__<0?"Right":"")}),i},Fn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ce(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;Fn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:oo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),Ce(["head","last"],function(t,e){var n="take"+(e?"Right":"");Fn.prototype[t]=function(){return this[n](1).value()[0]}}),Ce(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Fn.prototype[t]=function(){return this.__filtered__?new Fn(this):this[n](1)}}),Fn.prototype.compact=function(){return this.filter(nl)},Fn.prototype.find=function(t){return this.filter(t).head()},Fn.prototype.findLast=function(t){return this.reverse().find(t)},Fn.prototype.invokeMap=Gi(function(t,e){return"function"==typeof t?new Fn(this):this.map(function(n){return Ti(n,t,e)})}),Fn.prototype.reject=function(t){return this.filter(js(oo(t)))},Fn.prototype.slice=function(t,e){t=pa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Fn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=pa(e))<0?n.dropRight(-e):n.take(e-t)),n)},Fn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Fn.prototype.toArray=function(){return this.take(p)},yi(Fn.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=Rn[i?"take"+("last"==e?"Right":""):e],s=i||/^find/.test(e);o&&(Rn.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,l=e instanceof Fn,c=a[0],u=l||Ws(e),h=function(t){var e=o.apply(Rn,Le([t],a));return i&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Fn(this);var m=t.apply(e,a);return m.__actions__.push({func:ds,args:[h],thisArg:r}),new zn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?i?m.value()[0]:m.value():m)})}),Ce(["pop","push","shift","sort","splice","unshift"],function(t){var e=Tt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Rn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Ws(r)?r:[],t)}return this[n](function(n){return e.apply(Ws(n)?n:[],t)})}}),yi(Fn.prototype,function(t,e){var n=Rn[e];if(n){var i=n.name+"";$t.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:e,func:n})}}),Pn[Nr(r,2).name]=[{name:"wrapper",func:r}],Fn.prototype.clone=function(){var t=new Fn(this.__wrapped__);return t.__actions__=Or(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Or(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Or(this.__views__),t},Fn.prototype.reverse=function(){if(this.__filtered__){var t=new Fn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Fn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ws(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=vn(e,t+s);break;case"takeRight":t=mn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=vn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return hr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Rn.prototype.at=ps,Rn.prototype.chain=function(){return hs(this)},Rn.prototype.commit=function(){return new zn(this.value(),this.__chain__)},Rn.prototype.next=function(){this.__values__===r&&(this.__values__=ha(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Rn.prototype.plant=function(t){for(var e,n=this;n instanceof Vn;){var i=Ro(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},Rn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Fn){var e=t;return this.__actions__.length&&(e=new Fn(this)),(e=e.reverse()).__actions__.push({func:ds,args:[Jo],thisArg:r}),new zn(e,this.__chain__)}return this.thru(Jo)},Rn.prototype.toJSON=Rn.prototype.valueOf=Rn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},Rn.prototype.first=Rn.prototype.head,Yt&&(Rn.prototype[Yt]=function(){return this}),Rn}();he._=fn,(i=function(){return fn}.call(e,n,e,t))===r||(t.exports=i)}.call(this)},60(t,e){"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n}},164(t,e,n){var i=n(883);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("16719a21",i,!1,{})},924(t,e,n){var i=n(531);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("31f45de0",i,!1,{})},334(t,e,n){var i=n(585);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("5f9d2fe9",i,!1,{})},680(t,e,n){var i=n(31);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals),(0,n(988).A)("3f94db54",i,!1,{})},988(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],s=o[0],a={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}n.d(e,{A:()=>f});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){c=n,h=r||{};var s=i(t,e);return g(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}for(e?g(s=i(t,e)):s=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(p){var r=l++;i=a||(a=m()),e=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=m(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t=n(743),e=n.n(t);function i(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const r={},o=[],s=()=>{},a=()=>!1,l=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),c=t=>t.startsWith("onUpdate:"),u=Object.assign,h=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(t,e)=>d.call(t,e),f=Array.isArray,g=t=>"[object Map]"===k(t),m=t=>"[object Set]"===k(t),v=t=>"[object Date]"===k(t),y=t=>"function"==typeof t,b=t=>"string"==typeof t,_=t=>"symbol"==typeof t,x=t=>null!==t&&"object"==typeof t,w=t=>(x(t)||y(t))&&y(t.then)&&y(t.catch),S=Object.prototype.toString,k=t=>S.call(t),C=t=>"[object Object]"===k(t),O=t=>b(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,A=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},P=/-\w/g,E=T(t=>t.replace(P,t=>t.slice(1).toUpperCase())),M=/\B([A-Z])/g,L=T(t=>t.replace(M,"-$1").toLowerCase()),$=T(t=>t.charAt(0).toUpperCase()+t.slice(1)),j=T(t=>t?`on${$(t)}`:""),D=(t,e)=>!Object.is(t,e),I=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},N=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},R=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let B;const V=()=>B||(B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function z(t){if(f(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=b(i)?U(i):z(i);if(r)for(const t in r)e[t]=r[t]}return e}if(b(t)||x(t))return t}const F=/;(?![^(]*\))/g,W=/:([^]+)/,H=/\/\*[^]*?\*\//g;function U(t){const e={};return t.replace(H,"").split(F).forEach(t=>{if(t){const n=t.split(W);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function q(t){let e="";if(b(t))e=t;else if(f(t))for(let n=0;n<t.length;n++){const i=q(t[n]);i&&(e+=i+" ")}else if(x(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function G(t){if(!t)return null;let{class:e,style:n}=t;return e&&!b(e)&&(t.class=q(e)),n&&(t.style=z(n)),t}const X=i("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(t){return!!t||""===t}function K(t,e){if(t===e)return!0;let n=v(t),i=v(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=_(t),i=_(e),n||i)return t===e;if(n=f(t),i=f(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=K(t[i],e[i]);return n}(t,e);if(n=x(t),i=x(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),r=e.hasOwnProperty(n);if(i&&!r||!i&&r||!K(t[n],e[n]))return!1}}return String(t)===String(e)}function Z(t,e){return t.findIndex(t=>K(t,e))}const Q=t=>!(!t||!0!==t.__v_isRef),J=t=>b(t)?t:null==t?"":f(t)||x(t)&&(t.toString===S||!y(t.toString))?Q(t)?J(t.value):JSON.stringify(t,tt,2):String(t),tt=(t,e)=>Q(e)?tt(t,e.value):g(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n],i)=>(t[et(e,i)+" =>"]=n,t),{})}:m(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>et(t))}:_(e)?et(e):!x(e)||f(e)||C(e)?e:String(e),et=(t,e="")=>{var n;return _(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};function nt(t){return null==t?"initial":"string"==typeof t?""===t?" ":t:("number"==typeof t&&Number.isFinite(t),String(t))}let it,rt;class ot{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=it;try{return it=this,t()}finally{it=e}}}on(){1===++this._on&&(this.prevScope=it,it=this)}off(){if(this._on>0&&0===--this._on){if(it===this)it=this.prevScope;else{let t=it;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}const st=new WeakSet;class at{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,st.has(this)&&(st.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ht(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,kt(this),ft(this);const t=rt,e=_t;rt=this,_t=!0;try{return this.fn()}finally{gt(this),rt=t,_t=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)yt(t);this.deps=this.depsTail=void 0,kt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?st.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){mt(this)&&this.run()}get dirty(){return mt(this)}}let lt,ct,ut=0;function ht(t,e=!1){if(t.flags|=8,e)return t.next=ct,void(ct=t);t.next=lt,lt=t}function dt(){ut++}function pt(){if(--ut>0)return;if(ct){let t=ct;for(ct=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;lt;){let e=lt;for(lt=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=n}}if(t)throw t}function ft(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function gt(t){let e,n=t.depsTail,i=n;for(;i;){const t=i.prevDep;-1===i.version?(i===n&&(n=t),yt(i),bt(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function mt(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(vt(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function vt(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===Ct)return;if(t.globalVersion=Ct,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!mt(t)))return;t.flags|=2;const e=t.dep,n=rt,i=_t;rt=t,_t=!0;try{ft(t);const n=t.fn(t._value);(0===e.version||D(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(t){throw e.version++,t}finally{rt=n,_t=i,gt(t),t.flags&=-3}}function yt(t,e=!1){const{dep:n,prevSub:i,nextSub:r}=t;if(i&&(i.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)yt(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function bt(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let _t=!0;const xt=[];function wt(){xt.push(_t),_t=!1}function St(){const t=xt.pop();_t=void 0===t||t}function kt(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=rt;rt=void 0;try{e()}finally{rt=t}}}let Ct=0;class Ot{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class At{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!rt||!_t||rt===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==rt)e=this.activeLink=new Ot(rt,this),rt.deps?(e.prevDep=rt.depsTail,rt.depsTail.nextDep=e,rt.depsTail=e):rt.deps=rt.depsTail=e,Tt(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=rt.depsTail,e.nextDep=void 0,rt.depsTail.nextDep=e,rt.depsTail=e,rt.deps===e&&(rt.deps=t)}return e}trigger(t){this.version++,Ct++,this.notify(t)}notify(t){dt();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{pt()}}}function Tt(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)Tt(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Pt=new WeakMap,Et=Symbol(""),Mt=Symbol(""),Lt=Symbol("");function $t(t,e,n){if(_t&&rt){let e=Pt.get(t);e||Pt.set(t,e=new Map);let i=e.get(n);i||(e.set(n,i=new At),i.map=e,i.key=n),i.track()}}function jt(t,e,n,i,r,o){const s=Pt.get(t);if(!s)return void Ct++;const a=t=>{t&&t.trigger()};if(dt(),"clear"===e)s.forEach(a);else{const r=f(t),o=r&&O(n);if(r&&"length"===n){const t=Number(i);s.forEach((e,n)=>{("length"===n||n===Lt||!_(n)&&n>=t)&&a(e)})}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get(Lt)),e){case"add":r?o&&a(s.get("length")):(a(s.get(Et)),g(t)&&a(s.get(Mt)));break;case"delete":r||(a(s.get(Et)),g(t)&&a(s.get(Mt)));break;case"set":g(t)&&a(s.get(Et))}}pt()}function Dt(t){const e=be(t);return e===t?e:($t(e,0,Lt),ve(t)?e:e.map(xe))}function It(t){return $t(t=be(t),0,Lt),t}function Nt(t,e){return me(t)?ge(t)?we(xe(e)):we(e):xe(e)}const Rt={__proto__:null,[Symbol.iterator](){return Bt(this,Symbol.iterator,t=>Nt(this,t))},concat(...t){return Dt(this).concat(...t.map(t=>f(t)?Dt(t):t))},entries(){return Bt(this,"entries",t=>(t[1]=Nt(this,t[1]),t))},every(t,e){return zt(this,"every",t,e,void 0,arguments)},filter(t,e){return zt(this,"filter",t,e,t=>t.map(t=>Nt(this,t)),arguments)},find(t,e){return zt(this,"find",t,e,t=>Nt(this,t),arguments)},findIndex(t,e){return zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zt(this,"findLast",t,e,t=>Nt(this,t),arguments)},findLastIndex(t,e){return zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Wt(this,"includes",t)},indexOf(...t){return Wt(this,"indexOf",t)},join(t){return Dt(this).join(t)},lastIndexOf(...t){return Wt(this,"lastIndexOf",t)},map(t,e){return zt(this,"map",t,e,void 0,arguments)},pop(){return Ht(this,"pop")},push(...t){return Ht(this,"push",t)},reduce(t,...e){return Ft(this,"reduce",t,e)},reduceRight(t,...e){return Ft(this,"reduceRight",t,e)},shift(){return Ht(this,"shift")},some(t,e){return zt(this,"some",t,e,void 0,arguments)},splice(...t){return Ht(this,"splice",t)},toReversed(){return Dt(this).toReversed()},toSorted(t){return Dt(this).toSorted(t)},toSpliced(...t){return Dt(this).toSpliced(...t)},unshift(...t){return Ht(this,"unshift",t)},values(){return Bt(this,"values",t=>Nt(this,t))}};function Bt(t,e,n){const i=It(t),r=i[e]();return i===t||ve(t)||(r._next=r.next,r.next=()=>{const t=r._next();return t.done||(t.value=n(t.value)),t}),r}const Vt=Array.prototype;function zt(t,e,n,i,r,o){const s=It(t),a=s!==t&&!ve(t),l=s[e];if(l!==Vt[e]){const e=l.apply(t,o);return a?xe(e):e}let c=n;s!==t&&(a?c=function(e,i){return n.call(this,Nt(t,e),i,t)}:n.length>2&&(c=function(e,i){return n.call(this,e,i,t)}));const u=l.call(s,c,i);return a&&r?r(u):u}function Ft(t,e,n,i){const r=It(t),o=r!==t&&!ve(t);let s=n,a=!1;r!==t&&(o?(a=0===i.length,s=function(e,i,r){return a&&(a=!1,e=Nt(t,e)),n.call(this,e,Nt(t,i),r,t)}):n.length>3&&(s=function(e,i,r){return n.call(this,e,i,r,t)}));const l=r[e](s,...i);return a?Nt(t,l):l}function Wt(t,e,n){const i=be(t);$t(i,0,Lt);const r=i[e](...n);return-1!==r&&!1!==r||!ye(n[0])?r:(n[0]=be(n[0]),i[e](...n))}function Ht(t,e,n=[]){wt(),dt();const i=be(t)[e].apply(t,n);return pt(),St(),i}const Ut=i("__proto__,__v_isRef,__isVue"),qt=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(_));function Gt(t){_(t)||(t=String(t));const e=be(this);return $t(e,0,t),e.hasOwnProperty(t)}class Xt{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!i;if("__v_isReadonly"===e)return i;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(i?r?ue:ce:r?le:ae).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=f(t);if(!i){let t;if(o&&(t=Rt[e]))return t;if("hasOwnProperty"===e)return Gt}const s=Reflect.get(t,e,Se(t)?t:n);if(_(e)?qt.has(e):Ut(e))return s;if(i||$t(t,0,e),r)return s;if(Se(s)){const t=o&&O(e)?s:s.value;return i&&x(t)?pe(t):t}return x(s)?i?pe(s):he(s):s}}class Yt extends Xt{constructor(t=!1){super(!1,t)}set(t,e,n,i){let r=t[e];const o=f(t)&&O(e);if(!this._isShallow){const t=me(r);if(ve(n)||me(n)||(r=be(r),n=be(n)),!o&&Se(r)&&!Se(n))return t||(r.value=n),!0}const s=o?Number(e)<t.length:p(t,e),a=Reflect.set(t,e,n,Se(t)?t:i);return t===be(i)&&(s?D(n,r)&&jt(t,"set",e,n):jt(t,"add",e,n)),a}deleteProperty(t,e){const n=p(t,e),i=(t[e],Reflect.deleteProperty(t,e));return i&&n&&jt(t,"delete",e,void 0),i}has(t,e){const n=Reflect.has(t,e);return _(e)&&qt.has(e)||$t(t,0,e),n}ownKeys(t){return $t(t,0,f(t)?"length":Et),Reflect.ownKeys(t)}}class Kt extends Xt{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Zt=new Yt,Qt=new Kt,Jt=new Yt(!0),te=t=>t,ee=t=>Reflect.getPrototypeOf(t);function ne(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function ie(t,e){const n=function(t,e){const n={get(n){const i=this.__v_raw,r=be(i),o=be(n);t||(D(n,o)&&$t(r,0,n),$t(r,0,o));const{has:s}=ee(r),a=e?te:t?we:xe;return s.call(r,n)?a(i.get(n)):s.call(r,o)?a(i.get(o)):void(i!==r&&i.get(n))},get size(){const e=this.__v_raw;return!t&&$t(be(e),0,Et),e.size},has(e){const n=this.__v_raw,i=be(n),r=be(e);return t||(D(e,r)&&$t(i,0,e),$t(i,0,r)),e===r?n.has(e):n.has(e)||n.has(r)},forEach(n,i){const r=this,o=r.__v_raw,s=be(o),a=e?te:t?we:xe;return!t&&$t(s,0,Et),o.forEach((t,e)=>n.call(i,a(t),a(e),r))}};return u(n,t?{add:ne("add"),set:ne("set"),delete:ne("delete"),clear:ne("clear")}:{add(t){const n=be(this),i=ee(n),r=be(t),o=e||ve(t)||me(t)?t:r;return i.has.call(n,o)||D(t,o)&&i.has.call(n,t)||D(r,o)&&i.has.call(n,r)||(n.add(o),jt(n,"add",o,o)),this},set(t,n){e||ve(n)||me(n)||(n=be(n));const i=be(this),{has:r,get:o}=ee(i);let s=r.call(i,t);s||(t=be(t),s=r.call(i,t));const a=o.call(i,t);return i.set(t,n),s?D(n,a)&&jt(i,"set",t,n):jt(i,"add",t,n),this},delete(t){const e=be(this),{has:n,get:i}=ee(e);let r=n.call(e,t);r||(t=be(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&jt(e,"delete",t,void 0),o},clear(){const t=be(this),e=0!==t.size,n=t.clear();return e&&jt(t,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=function(t,e,n){return function(...i){const r=this.__v_raw,o=be(r),s=g(o),a="entries"===t||t===Symbol.iterator&&s,l="keys"===t&&s,c=r[t](...i),h=n?te:e?we:xe;return!e&&$t(o,0,l?Mt:Et),u(Object.create(c),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[h(t[0]),h(t[1])]:h(t),done:e}}})}}(i,t,e)}),n}(t,e);return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(p(n,i)&&i in e?n:e,i,r)}const re={get:ie(!1,!1)},oe={get:ie(!1,!0)},se={get:ie(!0,!1)},ae=new WeakMap,le=new WeakMap,ce=new WeakMap,ue=new WeakMap;function he(t){return me(t)?t:fe(t,!1,Zt,re,ae)}function de(t){return fe(t,!1,Jt,oe,le)}function pe(t){return fe(t,!0,Qt,se,ce)}function fe(t,e,n,i,r){if(!x(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=(s=t).__v_skip||!Object.isExtensible(s)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>k(t).slice(8,-1))(s));var s;if(0===o)return t;const a=r.get(t);if(a)return a;const l=new Proxy(t,2===o?i:n);return r.set(t,l),l}function ge(t){return me(t)?ge(t.__v_raw):!(!t||!t.__v_isReactive)}function me(t){return!(!t||!t.__v_isReadonly)}function ve(t){return!(!t||!t.__v_isShallow)}function ye(t){return!!t&&!!t.__v_raw}function be(t){const e=t&&t.__v_raw;return e?be(e):t}function _e(t){return!p(t,"__v_skip")&&Object.isExtensible(t)&&N(t,"__v_skip",!0),t}const xe=t=>x(t)?he(t):t,we=t=>x(t)?pe(t):t;function Se(t){return!!t&&!0===t.__v_isRef}function ke(t){return Ce(t,!1)}function Ce(t,e){return Se(t)?t:new Oe(t,e)}class Oe{constructor(t,e){this.dep=new At,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:be(t),this._value=e?t:xe(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||ve(t)||me(t);t=n?t:be(t),D(t,e)&&(this._rawValue=t,this._value=n?t:xe(t),this.dep.trigger())}}function Ae(t){t.dep&&t.dep.trigger()}function Te(t){return Se(t)?t.value:t}const Pe={get:(t,e,n)=>"__v_raw"===e?t:Te(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Ee(t){return ge(t)?t:new Proxy(t,Pe)}function Me(t){const e=f(t)?new Array(t.length):{};for(const n in t)e[n]=je(t,n);return e}class Le{constructor(t,e,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(e)?e:String(e),this._raw=be(t);let i=!0,r=t;if(!f(t)||_(this._key)||!O(this._key))do{i=!ye(r)||ve(r)}while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Te(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&Se(this._raw[this._key])){const e=this._object[this._key];if(Se(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const n=Pt.get(t);return n&&n.get(e)}(this._raw,this._key)}}class $e{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function je(t,e,n){return new Le(t,e,n)}class De{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new At(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ct-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||rt===this))return ht(this,!0),!0}get value(){const t=this.dep.track();return vt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Ie={},Ne=new WeakMap;let Re;function Be(t,e=1/0,n){if(e<=0||!x(t)||t.__v_skip)return t;if(((n=n||new Map).get(t)||0)>=e)return t;if(n.set(t,e),e--,Se(t))Be(t.value,e,n);else if(f(t))for(let i=0;i<t.length;i++)Be(t[i],e,n);else if(m(t)||g(t))t.forEach(t=>{Be(t,e,n)});else if(C(t)){for(const i in t)Be(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Be(t[i],e,n)}return t}function Ve(t,e,n,i){try{return i?t(...i):t()}catch(t){Fe(t,e,n)}}function ze(t,e,n,i){if(y(t)){const r=Ve(t,e,n,i);return r&&w(r)&&r.catch(t=>{Fe(t,e,n)}),r}if(f(t)){const r=[];for(let o=0;o<t.length;o++)r.push(ze(t[o],e,n,i));return r}}function Fe(t,e,n,i=!0){e&&e.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:s}=e&&e.appContext.config||r;if(e){let i=e.parent;const r=e.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,r,s))return;i=i.parent}if(o)return wt(),Ve(o,null,10,[t,r,s]),void St()}!function(t,e,n,i=!0,r=!1){if(r)throw t;console.error(t)}(t,0,0,i,s)}const We=[];let He=-1;const Ue=[];let qe=null,Ge=0;const Xe=Promise.resolve();let Ye=null;function Ke(t){const e=Ye||Xe;return t?e.then(this?t.bind(this):t):e}function Ze(t){if(!(1&t.flags)){const e=nn(t),n=We[We.length-1];!n||!(2&t.flags)&&e>=nn(n)?We.push(t):We.splice(function(t){let e=He+1,n=We.length;for(;e<n;){const i=e+n>>>1,r=We[i],o=nn(r);o<t||o===t&&2&r.flags?e=i+1:n=i}return e}(e),0,t),t.flags|=1,Qe()}}function Qe(){Ye||(Ye=Xe.then(rn))}function Je(t){f(t)?Ue.push(...t):qe&&-1===t.id?qe.splice(Ge+1,0,t):1&t.flags||(Ue.push(t),t.flags|=1),Qe()}function tn(t,e,n=He+1){for(;n<We.length;n++){const e=We[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;We.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function en(t){if(Ue.length){const t=[...new Set(Ue)].sort((t,e)=>nn(t)-nn(e));if(Ue.length=0,qe)return void qe.push(...t);for(qe=t,Ge=0;Ge<qe.length;Ge++){const t=qe[Ge];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}qe=null,Ge=0}}const nn=t=>null==t.id?2&t.flags?-1:1/0:t.id;function rn(t){try{for(He=0;He<We.length;He++){const t=We[He];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),Ve(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;He<We.length;He++){const t=We[He];t&&(t.flags&=-2)}He=-1,We.length=0,en(),Ye=null,(We.length||Ue.length)&&rn(t)}}let on,sn=[],an=!1;function ln(t,...e){on?on.emit(t,...e):an||sn.push({event:t,args:e})}function cn(t,e){var n,i;on=t,on?(on.enabled=!0,sn.forEach(({event:t,args:e})=>on.emit(t,...e)),sn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(n=window.navigator)?void 0:n.userAgent)?void 0:i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(t=>{cn(t,e)}),setTimeout(()=>{on||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,an=!0,sn=[])},3e3)):(an=!0,sn=[])}const un=pn("component:added"),hn=pn("component:updated"),dn=pn("component:removed");function pn(t){return e=>{ln(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}let fn=null,gn=null;function mn(t){const e=fn;return fn=t,gn=t&&t.type.__scopeId||null,e}function vn(t){gn=t}function yn(){gn=null}function bn(t,e=fn,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&Ir(-1);const r=mn(e);let o;try{o=t(...n)}finally{mn(r),i._d&&Ir(1)}return __VUE_PROD_DEVTOOLS__&&hn(e),o};return i._n=!0,i._c=!0,i._d=!0,i}function _n(t,e){if(null===fn)return t;const n=yo(fn),i=t.dirs||(t.dirs=[]);for(let t=0;t<e.length;t++){let[o,s,a,l=r]=e[t];o&&(y(o)&&(o={mounted:o,updated:o}),o.deep&&Be(s),i.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return t}function xn(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(wt(),ze(l,n,8,[t.el,a,t,e]),St())}}function wn(t,e){if(io){let n=io.provides;const i=io.parent&&io.parent.provides;i===n&&(n=io.provides=Object.create(i)),n[t]=e}}function Sn(t,e,n=!1){const i=ro();if(i||Yi){let r=Yi?Yi._context.provides:i?null==i.parent||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&y(e)?e.call(i&&i.proxy):e}}const kn=Symbol.for("v-scx");function Cn(t,e){return An(t,null,e)}function On(t,e,n){return An(t,e,n)}function An(t,e,n=r){const{immediate:i,deep:o,flush:a,once:l}=n,c=u({},n),d=e&&i||!e&&"post"!==a;let p;if(po)if("sync"===a){const t=Sn(kn);p=t.__watcherHandles||(t.__watcherHandles=[])}else if(!d){const t=()=>{};return t.stop=s,t.resume=s,t.pause=s,t}const g=io;c.call=(t,e,n)=>ze(t,g,e,n);let m=!1;"post"===a?c.scheduler=t=>{br(t,g&&g.suspense)}:"sync"!==a&&(m=!0,c.scheduler=(t,e)=>{e?t():Ze(t)}),c.augmentJob=t=>{e&&(t.flags|=4),m&&(t.flags|=2,g&&(t.id=g.uid,t.i=g))};const v=function(t,e,n=r){const{immediate:i,deep:o,once:a,scheduler:l,augmentJob:c,call:u}=n,d=t=>o?t:ve(t)||!1===o||0===o?Be(t,1):Be(t);let p,g,m,v,b=!1,_=!1;if(Se(t)?(g=()=>t.value,b=ve(t)):ge(t)?(g=()=>d(t),b=!0):f(t)?(_=!0,b=t.some(t=>ge(t)||ve(t)),g=()=>t.map(t=>Se(t)?t.value:ge(t)?d(t):y(t)?u?u(t,2):t():void 0)):g=y(t)?e?u?()=>u(t,2):t:()=>{if(m){wt();try{m()}finally{St()}}const e=Re;Re=p;try{return u?u(t,3,[v]):t(v)}finally{Re=e}}:s,e&&o){const t=g,e=!0===o?1/0:o;g=()=>Be(t(),e)}const x=it,w=()=>{p.stop(),x&&x.active&&h(x.effects,p)};if(a&&e){const t=e;e=(...e)=>{t(...e),w()}}let S=_?new Array(t.length).fill(Ie):Ie;const k=t=>{if(1&p.flags&&(p.dirty||t))if(e){const t=p.run();if(o||b||(_?t.some((t,e)=>D(t,S[e])):D(t,S))){m&&m();const n=Re;Re=p;try{const n=[t,S===Ie?void 0:_&&S[0]===Ie?[]:S,v];S=t,u?u(e,3,n):e(...n)}finally{Re=n}}}else p.run()};return c&&c(k),p=new at(g),p.scheduler=l?()=>l(k,!1):k,v=t=>function(t,e=!1,n=Re){if(n){let e=Ne.get(n);e||Ne.set(n,e=[]),e.push(t)}}(t,!1,p),m=p.onStop=()=>{const t=Ne.get(p);if(t){if(u)u(t,4);else for(const e of t)e();Ne.delete(p)}},e?i?k(!0):S=p.run():l?l(k.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}(t,e,c);return po&&(p?p.push(v):d&&v()),v}function Tn(t,e,n){const i=this.proxy,r=b(t)?t.includes(".")?Pn(i,t):()=>i[t]:t.bind(i,i);let o;y(e)?o=e:(o=e.handler,n=e);const s=ao(this),a=An(r,o.bind(i),n);return s(),a}function Pn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const En=Symbol("_vte"),Mn=t=>t.__isTeleport,Ln=Symbol("_leaveCb"),$n=Symbol("_enterCb");const jn=[Function,Array],Dn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},In=t=>{const e=t.subTree;return e.component?In(e.component):e};function Nn(t){let e=t[0];if(t.length>1){let n=!1;for(const i of t)if(i.type!==Er){e=i,n=!0;break}}return e}const Rn={name:"BaseTransition",props:Dn,setup(t,{slots:e}){const n=ro(),i=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ci(()=>{t.isMounted=!0}),di(()=>{t.isUnmounting=!0}),t}();return()=>{const r=e.default&&Hn(e.default(),!0),o=r&&r.length?Nn(r):n.subTree?Yr():void 0;if(!o)return;const s=be(t),{mode:a}=s;if(i.isLeaving)return zn(o);const l=Fn(o);if(!l)return zn(o);let c=Vn(l,s,i,n,t=>c=t);l.type!==Er&&Wn(l,c);let u=n.subTree&&Fn(n.subTree);if(u&&u.type!==Er&&!zr(u,l)&&In(n).type!==Er){let t=Vn(u,s,i,n);if(Wn(u,t),"out-in"===a&&l.type!==Er)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave,u=void 0},zn(o);"in-out"===a&&l.type!==Er?t.delayLeave=(t,e,n)=>{Bn(i,u)[String(u.key)]=u,t[Ln]=()=>{e(),t[Ln]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Bn(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Vn(t,e,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:v,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=e,x=String(t.key),w=Bn(n,t),S=(t,e)=>{t&&ze(t,i,9,e)},k=(t,e)=>{const n=e[1];S(t,e),f(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(e){let i=l;if(!n.isMounted){if(!o)return;i=v||l}e[Ln]&&e[Ln](!0);const r=w[x];r&&zr(t,r)&&r.el[Ln]&&r.el[Ln](),S(i,[e])},enter(e){if(w[x]===t)return;let i=c,r=u,s=h;if(!n.isMounted){if(!o)return;i=y||c,r=b||u,s=_||h}let a=!1;e[$n]=t=>{a||(a=!0,S(t?s:r,[e]),C.delayedLeave&&C.delayedLeave(),e[$n]=void 0)};const l=e[$n].bind(null,!1);i?k(i,[e,l]):l()},leave(e,i){const r=String(t.key);if(e[$n]&&e[$n](!0),n.isUnmounting)return i();S(d,[e]);let o=!1;e[Ln]=n=>{o||(o=!0,i(),S(n?m:g,[e]),e[Ln]=void 0,w[r]===t&&delete w[r])};const s=e[Ln].bind(null,!1);w[r]=t,p?k(p,[e,s]):s()},clone(t){const o=Vn(t,e,n,i,r);return r&&r(o),o}};return C}function zn(t){if(Qn(t))return(t=Gr(t)).children=null,t}function Fn(t){if(!Qn(t))return Mn(t.type)&&t.children?Nn(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&y(n.default))return n.default()}}function Wn(t,e){6&t.shapeFlag&&t.component?(t.transition=e,Wn(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Hn(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Tr?(128&s.patchFlag&&r++,i=i.concat(Hn(s.children,e,a))):(e||s.type!==Er)&&i.push(null!=a?Gr(s,{key:a}):s)}if(r>1)for(let t=0;t<i.length;t++)i[t].patchFlag=-2;return i}function Un(t,e){return y(t)?(()=>u({name:t.name},e,{setup:t}))():t}function qn(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gn(t,e){let n;return!(!(n=Object.getOwnPropertyDescriptor(t,e))||n.configurable)}const Xn=new WeakMap;function Yn(t,e,n,i,o=!1){if(f(t))return void t.forEach((t,r)=>Yn(t,e&&(f(e)?e[r]:e),n,i,o));if(Zn(i)&&!o)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Yn(t,e,n,i.component.subTree));const s=4&i.shapeFlag?yo(i.component):i.el,l=o?null:s,{i:c,r:u}=t,d=e&&e.r,g=c.refs===r?c.refs={}:c.refs,m=c.setupState,v=be(m),_=m===r?a:t=>!Gn(g,t)&&p(v,t),x=(t,e)=>!e||!Gn(g,e);if(null!=d&&d!==u)if(Kn(e),b(d))g[d]=null,_(d)&&(m[d]=null);else if(Se(d)){const t=e;x(0,t.k)&&(d.value=null),t.k&&(g[t.k]=null)}if(y(u))Ve(u,c,12,[l,g]);else{const e=b(u),i=Se(u);if(e||i){const r=()=>{if(t.f){const n=e?_(u)?m[u]:g[u]:x()||!t.k?u.value:g[t.k];if(o)f(n)&&h(n,s);else if(f(n))n.includes(s)||n.push(s);else if(e)g[u]=[s],_(u)&&(m[u]=g[u]);else{const e=[s];x(0,t.k)&&(u.value=e),t.k&&(g[t.k]=e)}}else e?(g[u]=l,_(u)&&(m[u]=l)):i&&(x(0,t.k)&&(u.value=l),t.k&&(g[t.k]=l))};if(l){const e=()=>{r(),Xn.delete(t)};e.id=-1,Xn.set(t,e),br(e,n)}else Kn(t),r()}}}function Kn(t){const e=Xn.get(t);e&&(e.flags|=8,Xn.delete(t))}V().requestIdleCallback,V().cancelIdleCallback;const Zn=t=>!!t.type.__asyncLoader,Qn=t=>t.type.__isKeepAlive;RegExp,RegExp;function Jn(t,e){return f(t)?t.some(t=>Jn(t,e)):b(t)?t.split(",").includes(e):"[object RegExp]"===k(t)&&(t.lastIndex=0,t.test(e))}function ti(t,e){ni(t,"a",e)}function ei(t,e){ni(t,"da",e)}function ni(t,e,n=io){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(si(e,i,n),n){let t=n.parent;for(;t&&t.parent;)Qn(t.parent.vnode)&&ii(i,e,n,t),t=t.parent}}function ii(t,e,n,i){const r=si(e,t,i,!0);pi(()=>{h(i[e],r)},n)}function ri(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function oi(t){return 128&t.shapeFlag?t.ssContent:t}function si(t,e,n=io,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{wt();const r=ao(n),o=ze(e,n,t,i);return r(),St(),o});return i?r.unshift(o):r.push(o),o}}const ai=t=>(e,n=io)=>{po&&"sp"!==t||si(t,(...t)=>e(...t),n)},li=ai("bm"),ci=ai("m"),ui=ai("bu"),hi=ai("u"),di=ai("bum"),pi=ai("um"),fi=ai("sp"),gi=ai("rtg"),mi=ai("rtc");function vi(t,e=io){si("ec",t,e)}const yi="components";function bi(t,e){return wi(yi,t,!0,e)||t}const _i=Symbol.for("v-ndc");function xi(t){return b(t)?wi(yi,t,!1)||t:t||_i}function wi(t,e,n=!0,i=!1){const r=fn||io;if(r){const n=r.type;if(t===yi){const t=bo(n,!1);if(t&&(t===e||t===E(e)||t===$(E(e))))return n}const o=Si(r[t]||n[t],e)||Si(r.appContext[t],e);return!o&&i?n:o}}function Si(t,e){return t&&(t[e]||t[E(e)]||t[$(E(e))])}function ki(t,e,n,i){let r;const o=n&&n[i],s=f(t);if(s||b(t)){let n=!1,i=!1;s&&ge(t)&&(n=!ve(t),i=me(t),t=It(t)),r=new Array(t.length);for(let s=0,a=t.length;s<a;s++)r[s]=e(n?i?we(xe(t[s])):xe(t[s]):t[s],s,void 0,o&&o[s])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(x(t))if(t[Symbol.iterator])r=Array.from(t,(t,n)=>e(t,n,void 0,o&&o[n]));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=e(t[s],s,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Ci(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(f(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function Oi(t,e,n={},i,r){if(fn.ce||fn.parent&&Zn(fn.parent)&&fn.parent.ce){const t=Object.keys(n).length>0;return"default"!==e&&(n.name=e),jr(),Br(Tr,null,[Ur("slot",n,i&&i())],t?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),jr();const s=o&&Ai(o(n)),a=n.key||s&&s.key,l=Br(Tr,{key:(a&&!_(a)?a:`_${e}`)+(!s&&i?"_fb":"")},s||(i?i():[]),s&&1===t._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Ai(t){return t.some(t=>!Vr(t)||t.type!==Er&&!(t.type===Tr&&!Ai(t.children)))?t:null}function Ti(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:j(i)]=t[i];return n}const Pi=t=>t?co(t)?yo(t):Pi(t.parent):null,Ei=u(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Pi(t.parent),$root:t=>Pi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?Ri(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{Ze(t.update)}),$nextTick:t=>t.n||(t.n=Ke.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?Tn.bind(t):s}),Mi=(t,e)=>t!==r&&!t.__isScriptSetup&&p(t,e),Li={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:i,data:o,props:s,accessCache:a,type:l,appContext:c}=t;if("$"!==e[0]){const t=a[e];if(void 0!==t)switch(t){case 1:return i[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if(Mi(i,e))return a[e]=1,i[e];if(__VUE_OPTIONS_API__&&o!==r&&p(o,e))return a[e]=2,o[e];if(p(s,e))return a[e]=3,s[e];if(n!==r&&p(n,e))return a[e]=4,n[e];__VUE_OPTIONS_API__&&!Di||(a[e]=0)}}const u=Ei[e];let h,d;return u?("$attrs"===e&&$t(t.attrs,0,""),u(t)):(h=l.__cssModules)&&(h=h[e])?h:n!==r&&p(n,e)?(a[e]=4,n[e]):(d=c.config.globalProperties,p(d,e)?d[e]:void 0)},set({_:t},e,n){const{data:i,setupState:o,ctx:s}=t;return Mi(o,e)?(o[e]=n,!0):__VUE_OPTIONS_API__&&i!==r&&p(i,e)?(i[e]=n,!0):!(p(t.props,e)||"$"===e[0]&&e.slice(1)in t||(s[e]=n,0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:o,props:s,type:a}},l){let c;return!!(n[l]||__VUE_OPTIONS_API__&&t!==r&&"$"!==l[0]&&p(t,l)||Mi(e,l)||p(s,l)||p(i,l)||p(Ei,l)||p(o.config.globalProperties,l)||(c=a.__cssModules)&&c[l])},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:p(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function $i(){return function(){const t=ro();return t.setupContext||(t.setupContext=vo(t))}().slots}function ji(t){return f(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}let Di=!0;function Ii(t,e,n){ze(f(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ni(t,e,n,i){let r=i.includes(".")?Pn(n,i):()=>n[i];if(b(t)){const n=e[t];y(n)&&On(r,n)}else if(y(t))On(r,t.bind(n));else if(x(t))if(f(t))t.forEach(t=>Ni(t,e,n,i));else{const i=y(t.handler)?t.handler.bind(n):e[t.handler];y(i)&&On(r,i,t)}}function Ri(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let l;return a?l=a:r.length||n||i?(l={},r.length&&r.forEach(t=>Bi(l,t,s,!0)),Bi(l,e,s)):l=e,x(e)&&o.set(e,l),l}function Bi(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Bi(t,o,n,!0),r&&r.forEach(e=>Bi(t,e,n,!0));for(const r in e)if(i&&"expose"===r);else{const i=Vi[r]||n&&n[r];t[r]=i?i(t[r],e[r]):e[r]}return t}const Vi={data:zi,props:Ui,emits:Ui,methods:Hi,computed:Hi,beforeCreate:Wi,created:Wi,beforeMount:Wi,mounted:Wi,beforeUpdate:Wi,updated:Wi,beforeDestroy:Wi,beforeUnmount:Wi,destroyed:Wi,unmounted:Wi,activated:Wi,deactivated:Wi,errorCaptured:Wi,serverPrefetch:Wi,components:Hi,directives:Hi,watch:function(t,e){if(!t)return e;if(!e)return t;const n=u(Object.create(null),t);for(const i in e)n[i]=Wi(t[i],e[i]);return n},provide:zi,inject:function(t,e){return Hi(Fi(t),Fi(e))}};function zi(t,e){return e?t?function(){return u(y(t)?t.call(this,this):t,y(e)?e.call(this,this):e)}:e:t}function Fi(t){if(f(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Wi(t,e){return t?[...new Set([].concat(t,e))]:e}function Hi(t,e){return t?u(Object.create(null),t,e):e}function Ui(t,e){return t?f(t)&&f(e)?[...new Set([...t,...e])]:u(Object.create(null),ji(t),ji(null!=e?e:{})):e}function qi(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Gi=0;function Xi(t,e){return function(n,i=null){y(n)||(n=u({},n)),null==i||x(i)||(i=null);const r=qi(),o=new WeakSet,s=[];let a=!1;const l=r.app={_uid:Gi++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:wo,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&y(t.install)?(o.add(t),t.install(l,...e)):y(t)&&(o.add(t),t(l,...e))),l),mixin:t=>(__VUE_OPTIONS_API__&&(r.mixins.includes(t)||r.mixins.push(t)),l),component:(t,e)=>e?(r.components[t]=e,l):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,l):r.directives[t],mount(o,s,c){if(!a){const u=l._ceVNode||Ur(n,i);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),s&&e?e(u,o):t(u,o,c),a=!0,l._container=o,o.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(t,e){ln("app:init",t,e,{Fragment:Tr,Text:Pr,Comment:Er,Static:Mr})}(l,wo)),yo(u.component)}},onUnmount(t){s.push(t)},unmount(){a&&(ze(s,l._instance,16),t(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(t){ln("app:unmount",t)}(l)),delete l._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,l),runWithContext(t){const e=Yi;Yi=l;try{return t()}finally{Yi=e}}};return l}}let Yi=null;function Ki(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||r;let o=n;const s=e.startsWith("update:"),a=s&&((t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${E(e)}Modifiers`]||t[`${L(e)}Modifiers`])(i,e.slice(7));let l;a&&(a.trim&&(o=n.map(t=>b(t)?t.trim():t)),a.number&&(o=n.map(R))),__VUE_PROD_DEVTOOLS__&&function(t,e,n){ln("component:emit",t.appContext.app,t,e,n)}(t,e,o);let c=i[l=j(e)]||i[l=j(E(e))];!c&&s&&(c=i[l=j(L(e))]),c&&ze(c,t,6,o);const u=i[l+"Once"];if(u){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,ze(u,t,6,o)}}const Zi=new WeakMap;function Qi(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?Zi:e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let s={},a=!1;if(__VUE_OPTIONS_API__&&!y(t)){const i=t=>{const n=Qi(t,e,!0);n&&(a=!0,u(s,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||a?(f(o)?o.forEach(t=>s[t]=null):u(s,o),x(t)&&i.set(t,s),s):(x(t)&&i.set(t,null),null)}function Ji(t,e){return!(!t||!l(e))&&(e=e.slice(2).replace(/Once$/,""),p(t,e[0].toLowerCase()+e.slice(1))||p(t,L(e))||p(t,e))}function tr(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:l,render:u,renderCache:h,props:d,data:p,setupState:f,ctx:g,inheritAttrs:m}=t,v=mn(t);let y,b;try{if(4&n.shapeFlag){const t=r||i,e=t;y=Kr(u.call(e,t,h,d,f,p,g)),b=a}else{const t=e;y=Kr(t.length>1?t(d,{attrs:a,slots:s,emit:l}):t(d,null)),b=e.props?a:er(a)}}catch(e){Lr.length=0,Fe(e,t,1),y=Ur(Er)}let _=y;if(b&&!1!==m){const t=Object.keys(b),{shapeFlag:e}=_;t.length&&7&e&&(o&&t.some(c)&&(b=nr(b,o)),_=Gr(_,b,!1,!0))}return n.dirs&&(_=Gr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Wn(_,n.transition),y=_,mn(v),y}const er=t=>{let e;for(const n in t)("class"===n||"style"===n||l(n))&&((e||(e={}))[n]=t[n]);return e},nr=(t,e)=>{const n={};for(const i in t)c(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function ir(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(rr(e,t,o)&&!Ji(n,o))return!0}return!1}function rr(t,e,n){const i=t[n],r=e[n];return"style"===n&&x(i)&&x(r)?!K(i,r):i!==r}const or={},sr=()=>Object.create(or),ar=t=>Object.getPrototypeOf(t)===or;function lr(t,e,n,i){const[o,s]=t.propsOptions;let a,l=!1;if(e)for(let r in e){if(A(r))continue;const c=e[r];let u;o&&p(o,u=E(r))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Ji(t.emitsOptions,r)||r in i&&c===i[r]||(i[r]=c,l=!0)}if(s){const e=be(n),i=a||r;for(let r=0;r<s.length;r++){const a=s[r];n[a]=cr(o,e,a,i[a],t,!p(i,a))}}return l}function cr(t,e,n,i,r,o){const s=t[n];if(null!=s){const t=p(s,"default");if(t&&void 0===i){const t=s.default;if(s.type!==Function&&!s.skipFactory&&y(t)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const s=ao(r);i=o[n]=t.call(null,e),s()}}else i=t;r.ce&&r.ce._setProp(n,i)}s[0]&&(o&&!t?i=!1:!s[1]||""!==i&&i!==L(n)||(i=!0))}return i}const ur=new WeakMap;function hr(t,e,n=!1){const i=__VUE_OPTIONS_API__&&n?ur:e.propsCache,s=i.get(t);if(s)return s;const a=t.props,l={},c=[];let h=!1;if(__VUE_OPTIONS_API__&&!y(t)){const i=t=>{h=!0;const[n,i]=hr(t,e,!0);u(l,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!a&&!h)return x(t)&&i.set(t,o),o;if(f(a))for(let t=0;t<a.length;t++){const e=E(a[t]);dr(e)&&(l[e]=r)}else if(a)for(const t in a){const e=E(t);if(dr(e)){const n=a[t],i=l[e]=f(n)||y(n)?{type:n}:u({},n),r=i.type;let o=!1,s=!0;if(f(r))for(let t=0;t<r.length;++t){const e=r[t],n=y(e)&&e.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=y(r)&&"Boolean"===r.name;i[0]=o,i[1]=s,(o||p(i,"default"))&&c.push(e)}}const d=[l,c];return x(t)&&i.set(t,d),d}function dr(t){return"$"!==t[0]&&!A(t)}const pr=t=>"_"===t||"_ctx"===t||"$stable"===t,fr=t=>f(t)?t.map(Kr):[Kr(t)],gr=(t,e,n)=>{if(e._n)return e;const i=bn((...t)=>fr(e(...t)),n);return i._c=!1,i},mr=(t,e,n)=>{const i=t._ctx;for(const n in t){if(pr(n))continue;const r=t[n];if(y(r))e[n]=gr(0,r,i);else if(null!=r){const t=fr(r);e[n]=()=>t}}},vr=(t,e)=>{const n=fr(e);t.slots.default=()=>n},yr=(t,e,n)=>{for(const i in e)!n&&pr(i)||(t[i]=e[i])},br=function(t,e){e&&e.pendingBranch?f(t)?e.effects.push(...t):e.effects.push(t):Je(t)};function _r(t,e){"boolean"!=typeof __VUE_OPTIONS_API__&&(V().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(V().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(V().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=V();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&cn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:a,patchProp:l,createElement:c,createText:u,createComment:h,setText:d,setElementText:f,parentNode:g,nextSibling:m,setScopeId:v=s,insertStaticContent:y}=t,b=(t,e,n,i=null,r=null,o=null,s=void 0,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!zr(t,e)&&(i=Q(t),G(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case Pr:_(t,e,n,i);break;case Er:x(t,e,n,i);break;case Mr:null==t&&S(e,n,i,s);break;case Tr:j(t,e,n,i,r,o,s,a,l);break;default:1&h?k(t,e,n,i,r,o,s,a,l):6&h?D(t,e,n,i,r,o,s,a,l):(64&h||128&h)&&c.process(t,e,n,i,r,o,s,a,l,et)}null!=u&&r?Yn(u,t&&t.ref,o,e||t,!e):null==u&&t&&null!=t.ref&&Yn(t.ref,null,o,t,!0)},_=(t,e,n,r)=>{if(null==t)i(e.el=u(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},x=(t,e,n,r)=>{null==t?i(e.el=h(e.children||""),n,r):e.el=t.el},S=(t,e,n,i)=>{[t.el,t.anchor]=y(t.children,e,n,i,t.el,t.anchor)},k=(t,e,n,i,r,o,s,a,l)=>{if("svg"===e.type?s="svg":"math"===e.type&&(s="mathml"),null==t)C(e,n,i,r,o,s,a,l);else{const n=t.el&&t.el._isVueCE?t.el:null;try{n&&n._beginPatch(),P(t,e,r,o,s,a,l)}finally{n&&n._endPatch()}}},C=(t,e,n,r,o,s,a,u)=>{let h,d;const{props:p,shapeFlag:g,transition:m,dirs:v}=t;if(h=t.el=c(t.type,s,p&&p.is,p),8&g?f(h,t.children):16&g&&T(t.children,h,null,r,o,xr(t,s),a,u),v&&xn(t,null,r,"created"),O(h,t,t.scopeId,a,r),p){for(const t in p)"value"===t||A(t)||l(h,t,null,p[t],s,r);"value"in p&&l(h,"value",null,p.value,s),(d=p.onVnodeBeforeMount)&&to(d,r,t)}__VUE_PROD_DEVTOOLS__&&(N(h,"__vnode",t,!0),N(h,"__vueParentComponent",r,!0)),v&&xn(t,null,r,"beforeMount");const y=function(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}(o,m);y&&m.beforeEnter(h),i(h,e,n),((d=p&&p.onVnodeMounted)||y||v)&&br(()=>{try{d&&to(d,r,t),y&&m.enter(h),v&&xn(t,null,r,"mounted")}finally{}},o)},O=(t,e,n,i,r)=>{if(n&&v(t,n),i)for(let e=0;e<i.length;e++)v(t,i[e]);if(r){let n=r.subTree;if(e===n||Ar(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=r.vnode;O(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},T=(t,e,n,i,r,o,s,a,l=0)=>{for(let c=l;c<t.length;c++){const l=t[c]=a?Zr(t[c]):Kr(t[c]);b(null,l,e,n,i,r,o,s,a)}},P=(t,e,n,i,o,s,a)=>{const c=e.el=t.el;__VUE_PROD_DEVTOOLS__&&(c.__vnode=e);let{patchFlag:u,dynamicChildren:h,dirs:d}=e;u|=16&t.patchFlag;const p=t.props||r,g=e.props||r;let m;if(n&&wr(n,!1),(m=g.onVnodeBeforeUpdate)&&to(m,n,e,t),d&&xn(e,t,n,"beforeUpdate"),n&&wr(n,!0),(p.innerHTML&&null==g.innerHTML||p.textContent&&null==g.textContent)&&f(c,""),h?M(t.dynamicChildren,h,c,n,i,xr(e,o),s):a||W(t,e,c,null,n,i,xr(e,o),s,!1),u>0){if(16&u)$(c,p,g,n,o);else if(2&u&&p.class!==g.class&&l(c,"class",null,g.class,o),4&u&&l(c,"style",p.style,g.style,o),8&u){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],r=p[i],s=g[i];s===r&&"value"!==i||l(c,i,r,s,o,n)}}1&u&&t.children!==e.children&&f(c,e.children)}else a||null!=h||$(c,p,g,n,o);((m=g.onVnodeUpdated)||d)&&br(()=>{m&&to(m,n,e,t),d&&xn(e,t,n,"updated")},i)},M=(t,e,n,i,r,o,s)=>{for(let a=0;a<e.length;a++){const l=t[a],c=e[a],u=l.el&&(l.type===Tr||!zr(l,c)||198&l.shapeFlag)?g(l.el):n;b(l,c,u,null,i,r,o,s,!0)}},$=(t,e,n,i,o)=>{if(e!==n){if(e!==r)for(const r in e)A(r)||r in n||l(t,r,e[r],null,o,i);for(const r in n){if(A(r))continue;const s=n[r],a=e[r];s!==a&&"value"!==r&&l(t,r,a,s,o,i)}"value"in n&&l(t,"value",e.value,n.value,o)}},j=(t,e,n,r,o,s,a,l,c)=>{const h=e.el=t?t.el:u(""),d=e.anchor=t?t.anchor:u("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(i(h,n,r),i(d,n,r),T(e.children||[],n,d,o,s,a,l,c)):p>0&&64&p&&f&&t.dynamicChildren&&t.dynamicChildren.length===f.length?(M(t.dynamicChildren,f,n,o,s,a,l),(null!=e.key||o&&e===o.subTree)&&Sr(t,e,!0)):W(t,e,n,d,o,s,a,l,c)},D=(t,e,n,i,r,o,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,s,l):R(e,n,i,r,o,s,l):B(t,e,l)},R=(t,e,n,i,o,s,a)=>{const l=t.component=function(t,e,n){const i=t.type,o=(e?e.appContext:t.appContext)||eo,s={uid:no++,vnode:t,type:i,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ot(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:hr(i,o),emitsOptions:Qi(i,o),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Ki.bind(null,s),t.ce&&t.ce(s),s}(t,i,o);if(Qn(t)&&(l.ctx.renderer=et),function(t,e=!1,n=!1){e&&so(e);const{props:i,children:r}=t.vnode,o=co(t);!function(t,e,n,i=!1){const r={},o=sr();t.propsDefaults=Object.create(null),lr(t,e,r,o);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);n?t.props=i?r:de(r):t.type.props?t.props=r:t.props=o,t.attrs=o}(t,i,o,e),((t,e,n)=>{const i=t.slots=sr();if(32&t.vnode.shapeFlag){const t=e._;t?(yr(i,e,n),n&&N(i,"_",t,!0)):mr(e,i)}else e&&vr(t,e)})(t,r,n||e);const s=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Li);const{setup:i}=n;if(i){wt();const n=t.setupContext=i.length>1?vo(t):null,r=ao(t),o=Ve(i,t,0,[t.props,n]),s=w(o);if(St(),r(),!s&&!t.sp||Zn(t)||qn(t),s){if(o.then(lo,lo),e)return o.then(n=>{fo(t,n,e)}).catch(e=>{Fe(e,t,0)});t.asyncDep=o}else fo(t,o,e)}else go(t,e)}(t,e):void 0;e&&so(!1)}(l,!1,a),l.asyncDep){if(o&&o.registerDep(l,z,a),!t.el){const i=l.subTree=Ur(Er);x(null,i,e,n),t.placeholder=i.el}}else z(l,t,e,n,o,s,a)},B=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||i!==s&&(i?!s||ir(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?ir(i,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(rr(s,i,n)&&!Ji(c,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void F(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},z=(t,e,n,i,r,o,s)=>{t.scope.on();const a=t.effect=new at(()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:a,vnode:c}=t;{const n=kr(t);if(n)return e&&(e.el=c.el,F(t,e,s)),void n.asyncDep.then(()=>{br(()=>{t.isUnmounted||l()},r)})}let u,h=e;wr(t,!1),e?(e.el=c.el,F(t,e,s)):e=c,n&&I(n),(u=e.props&&e.props.onVnodeBeforeUpdate)&&to(u,a,e,c),wr(t,!0);const d=tr(t),p=t.subTree;t.subTree=d,b(p,d,g(p.el),Q(p),t,r,o),e.el=d.el,null===h&&function({vnode:t,parent:e,suspense:n},i){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.suspense.vnode.el=n.el=i,t=n),n!==t)break;(t=e.vnode).el=i,e=e.parent}n&&n.activeBranch===t&&(n.vnode.el=i)}(t,d.el),i&&br(i,r),(u=e.props&&e.props.onVnodeUpdated)&&br(()=>to(u,a,e,c),r),__VUE_PROD_DEVTOOLS__&&hn(t)}else{let s;const{el:a,props:l}=e,{bm:c,m:u,parent:h,root:d,type:p}=t,f=Zn(e);if(wr(t,!1),c&&I(c),!f&&(s=l&&l.onVnodeBeforeMount)&&to(s,h,e),wr(t,!0),a&&it){const e=()=>{t.subTree=tr(t),it(a,t.subTree,t,r,null)};f&&p.__asyncHydrate?p.__asyncHydrate(a,t,e):e()}else{d.ce&&d.ce._hasShadowRoot()&&d.ce._injectChildStyle(p,t.parent?t.parent.type:void 0);const s=t.subTree=tr(t);b(null,s,n,i,t,r,o),e.el=s.el}if(u&&br(u,r),!f&&(s=l&&l.onVnodeMounted)){const t=e;br(()=>to(s,h,t),r)}(256&e.shapeFlag||h&&Zn(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&br(t.a,r),t.isMounted=!0,__VUE_PROD_DEVTOOLS__&&un(t),e=n=i=null}});t.scope.off();const l=t.update=a.run.bind(a),c=t.job=a.runIfDirty.bind(a);c.i=t,c.id=t.uid,a.scheduler=()=>Ze(c),wr(t,!0),l()},F=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=t,a=be(r),[l]=t.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;lr(t,e,r,o)&&(c=!0);for(const o in a)e&&(p(e,o)||(i=L(o))!==o&&p(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=cr(l,a,o,void 0,t,!0)):delete r[o]);if(o!==a)for(const t in o)e&&p(e,t)||(delete o[t],c=!0)}else if(8&s){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let s=n[i];if(Ji(t.emitsOptions,s))continue;const u=e[s];if(l)if(p(o,s))u!==o[s]&&(o[s]=u,c=!0);else{const e=E(s);r[e]=cr(l,a,e,u,t,!1)}else u!==o[s]&&(o[s]=u,c=!0)}}c&&jt(t.attrs,"set","")}(t,e.props,i,n),((t,e,n)=>{const{vnode:i,slots:o}=t;let s=!0,a=r;if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:yr(o,e,n):(s=!e.$stable,mr(e,o)),a=e}else e&&(vr(t,e),a={default:1});if(s)for(const t in o)pr(t)||null!=a[t]||delete o[t]})(t,e.children,n),wt(),tn(t),St()},W=(t,e,n,i,r,o,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void U(c,h,n,i,r,o,s,a,l);if(256&d)return void H(c,h,n,i,r,o,s,a,l)}8&p?(16&u&&Z(c,r,o),h!==c&&f(n,h)):16&u?16&p?U(c,h,n,i,r,o,s,a,l):Z(c,r,o,!0):(8&u&&f(n,""),16&p&&T(h,n,i,r,o,s,a,l))},H=(t,e,n,i,r,s,a,l,c)=>{e=e||o;const u=(t=t||o).length,h=e.length,d=Math.min(u,h);let p;for(p=0;p<d;p++){const i=e[p]=c?Zr(e[p]):Kr(e[p]);b(t[p],i,n,null,r,s,a,l,c)}u>h?Z(t,r,s,!0,!1,d):T(e,n,i,r,s,a,l,c,d)},U=(t,e,n,i,r,s,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,p=h-1;for(;u<=d&&u<=p;){const i=t[u],o=e[u]=c?Zr(e[u]):Kr(e[u]);if(!zr(i,o))break;b(i,o,n,null,r,s,a,l,c),u++}for(;u<=d&&u<=p;){const i=t[d],o=e[p]=c?Zr(e[p]):Kr(e[p]);if(!zr(i,o))break;b(i,o,n,null,r,s,a,l,c),d--,p--}if(u>d){if(u<=p){const t=p+1,o=t<h?e[t].el:i;for(;u<=p;)b(null,e[u]=c?Zr(e[u]):Kr(e[u]),n,o,r,s,a,l,c),u++}}else if(u>p)for(;u<=d;)G(t[u],r,s,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=p;u++){const t=e[u]=c?Zr(e[u]):Kr(e[u]);null!=t.key&&m.set(t.key,u)}let v,y=0;const _=p-g+1;let x=!1,w=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=f;u<=d;u++){const i=t[u];if(y>=_){G(i,r,s,!0);continue}let o;if(null!=i.key)o=m.get(i.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&zr(i,e[v])){o=v;break}void 0===o?G(i,r,s,!0):(S[o-g]=u+1,o>=w?w=o:x=!0,b(i,e[o],n,null,r,s,a,l,c),y++)}const k=x?function(t){const e=t.slice(),n=[0];let i,r,o,s,a;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<l?o=a+1:s=a;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}(S):o;for(v=k.length-1,u=_-1;u>=0;u--){const t=g+u,o=e[t],d=e[t+1],p=t+1<h?d.el||Or(d):i;0===S[u]?b(null,o,n,p,r,s,a,l,c):x&&(v<0||u!==k[v]?q(o,n,p,2):v--)}}},q=(t,e,n,r,o=null)=>{const{el:s,type:l,transition:c,children:u,shapeFlag:h}=t;if(6&h)q(t.component.subTree,e,n,r);else if(128&h)t.suspense.move(e,n,r);else if(64&h)l.move(t,e,n,et);else if(l!==Tr)if(l!==Mr)if(2!==r&&1&h&&c)if(0===r)c.beforeEnter(s),i(s,e,n),br(()=>c.enter(s),o);else{const{leave:r,delayLeave:o,afterLeave:l}=c,u=()=>{t.ctx.isUnmounted?a(s):i(s,e,n)},h=()=>{s._isLeaving&&s[Ln](!0),r(s,()=>{u(),l&&l()})};o?o(s,u,h):h()}else i(s,e,n);else(({el:t,anchor:e},n,r)=>{let o;for(;t&&t!==e;)o=m(t),i(t,n,r),t=o;i(e,n,r)})(t,e,n);else{i(s,e,n);for(let t=0;t<u.length;t++)q(u[t],e,n,r);i(t.anchor,e,n)}},G=(t,e,n,i=!1,r=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:h,dirs:d,cacheIndex:p,memo:f}=t;if(-2===h&&(r=!1),null!=a&&(wt(),Yn(a,null,n,t,!0),St()),null!=p&&(e.renderCache[p]=void 0),256&u)return void e.ctx.deactivate(t);const g=1&u&&d,m=!Zn(t);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&to(v,e,t),6&u)K(t.component,n,i);else{if(128&u)return void t.suspense.unmount(n,i);g&&xn(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,et,i):c&&!c.hasOnce&&(o!==Tr||h>0&&64&h)?Z(c,e,n,!1,!0):(o===Tr&&384&h||!r&&16&u)&&Z(l,e,n),i&&X(t)}const y=null!=f&&null==p;(m&&(v=s&&s.onVnodeUnmounted)||g||y)&&br(()=>{v&&to(v,e,t),g&&xn(t,null,e,"unmounted"),y&&(t.el=null)},n)},X=t=>{const{type:e,el:n,anchor:i,transition:r}=t;if(e===Tr)return void Y(n,i);if(e===Mr)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=m(t),a(t),t=n;a(e)})(t);const o=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:i}=r,s=()=>e(n,o);i?i(t.el,o,s):s()}else o()},Y=(t,e)=>{let n;for(;t!==e;)n=m(t),a(t),t=n;a(e)},K=(t,e,n)=>{const{bum:i,scope:r,job:o,subTree:s,um:a,m:l,a:c}=t;var u;Cr(l),Cr(c),i&&I(i),r.stop(),o&&(o.flags|=8,G(s,t,e,n)),a&&br(a,e),br(()=>{t.isUnmounted=!0},e),__VUE_PROD_DEVTOOLS__&&(u=t,on&&"function"==typeof on.cleanupBuffer&&!on.cleanupBuffer(u)&&dn(u))},Z=(t,e,n,i=!1,r=!1,o=0)=>{for(let s=o;s<t.length;s++)G(t[s],e,n,i,r)},Q=t=>{if(6&t.shapeFlag)return Q(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=m(t.anchor||t.el),n=e&&e[En];return n?m(n):e};let J=!1;const tt=(t,e,n)=>{let i;null==t?e._vnode&&(G(e._vnode,null,null,!0),i=e._vnode.component):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,J||(J=!0,tn(i),en(),J=!1)},et={p:b,um:G,m:q,r:X,mt:R,mc:T,pc:W,pbc:M,n:Q,o:t};let nt,it;return e&&([nt,it]=e(et)),{render:tt,hydrate:nt,createApp:Xi(tt,nt)}}function xr({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function wr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Sr(t,e,n=!1){const i=t.children,r=e.children;if(f(i)&&f(r))for(let t=0;t<i.length;t++){const e=i[t];let o=r[t];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=r[t]=Zr(r[t]),o.el=e.el),n||-2===o.patchFlag||Sr(e,o)),o.type===Pr&&(-1===o.patchFlag&&(o=r[t]=Zr(o)),o.el=e.el),o.type!==Er||o.el||(o.el=e.el)}}function kr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:kr(e)}function Cr(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Or(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Or(e.subTree):null}const Ar=t=>t.__isSuspense;const Tr=Symbol.for("v-fgt"),Pr=Symbol.for("v-txt"),Er=Symbol.for("v-cmt"),Mr=Symbol.for("v-stc"),Lr=[];let $r=null;function jr(t=!1){Lr.push($r=t?null:[])}let Dr=1;function Ir(t,e=!1){Dr+=t,t<0&&$r&&e&&($r.hasOnce=!0)}function Nr(t){return t.dynamicChildren=Dr>0?$r||o:null,Lr.pop(),$r=Lr[Lr.length-1]||null,Dr>0&&$r&&$r.push(t),t}function Rr(t,e,n,i,r,o){return Nr(Hr(t,e,n,i,r,o,!0))}function Br(t,e,n,i,r){return Nr(Ur(t,e,n,i,r,!0))}function Vr(t){return!!t&&!0===t.__v_isVNode}function zr(t,e){return t.type===e.type&&t.key===e.key}const Fr=({key:t})=>null!=t?t:null,Wr=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?b(t)||Se(t)||y(t)?{i:fn,r:t,k:e,f:!!n}:t:null);function Hr(t,e=null,n=null,i=0,r=null,o=(t===Tr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Fr(e),ref:e&&Wr(e),scopeId:gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fn};return a?(Qr(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=b(n)?8:16),Dr>0&&!s&&$r&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&$r.push(l),l}const Ur=function(t,e=null,n=null,i=0,r=null,o=!1){if(t&&t!==_i||(t=Er),Vr(t)){const i=Gr(t,e,!0);return n&&Qr(i,n),Dr>0&&!o&&$r&&(6&i.shapeFlag?$r[$r.indexOf(t)]=i:$r.push(i)),i.patchFlag=-2,i}if(s=t,y(s)&&"__vccOpts"in s&&(t=t.__vccOpts),e){e=qr(e);let{class:t,style:n}=e;t&&!b(t)&&(e.class=q(t)),x(n)&&(ye(n)&&!f(n)&&(n=u({},n)),e.style=z(n))}var s;return Hr(t,e,n,i,r,b(t)?1:Ar(t)?128:Mn(t)?64:x(t)?4:y(t)?2:0,o,!0)};function qr(t){return t?ye(t)||ar(t)?u({},t):t:null}function Gr(t,e,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:l}=t,c=e?Jr(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Fr(c),ref:e&&e.ref?n&&o?f(o)?o.concat(Wr(e)):[o,Wr(e)]:Wr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Tr?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Gr(t.ssContent),ssFallback:t.ssFallback&&Gr(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Wn(u,l.clone(u)),u}function Xr(t=" ",e=0){return Ur(Pr,null,t,e)}function Yr(t="",e=!1){return e?(jr(),Br(Er,null,t)):Ur(Er,null,t)}function Kr(t){return null==t||"boolean"==typeof t?Ur(Er):f(t)?Ur(Tr,null,t.slice()):Vr(t)?Zr(t):Ur(Pr,null,String(t))}function Zr(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Gr(t)}function Qr(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(f(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Qr(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||ar(e)?3===i&&fn&&(1===fn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=fn}}else y(e)?(e={default:e,_ctx:fn},n=32):(e=String(e),64&i?(n=16,e=[Xr(e)]):n=8);t.children=e,t.shapeFlag|=n}function Jr(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=q([e.class,i.class]));else if("style"===t)e.style=z([e.style,i.style]);else if(l(t)){const n=e[t],r=i[t];!r||n===r||f(n)&&n.includes(r)?null!=r||null!=n||c(t)||(e[t]=r):e[t]=n?[].concat(n,r):r}else""!==t&&(e[t]=i[t])}return e}function to(t,e,n,i=null){ze(t,e,7,[n,i])}const eo=qi();let no=0;let io=null;const ro=()=>io||fn;let oo,so;{const t=V(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach(e=>e(t)):i[0](t)}};oo=e("__VUE_INSTANCE_SETTERS__",t=>io=t),so=e("__VUE_SSR_SETTERS__",t=>po=t)}const ao=t=>{const e=io;return oo(t),t.scope.on(),()=>{t.scope.off(),oo(e)}},lo=()=>{io&&io.scope.off(),oo(null)};function co(t){return 4&t.vnode.shapeFlag}let uo,ho,po=!1;function fo(t,e,n){y(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:x(e)&&(__VUE_PROD_DEVTOOLS__&&(t.devtoolsRawSetupState=e),t.setupState=Ee(e)),go(t,n)}function go(t,e,n){const i=t.type;if(!t.render){if(!e&&uo&&!i.render){const e=i.template||__VUE_OPTIONS_API__&&Ri(t).template;if(e){const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:s}=i,a=u(u({isCustomElement:n,delimiters:o},r),s);i.render=uo(e,a)}}t.render=i.render||s,ho&&ho(t)}if(__VUE_OPTIONS_API__){const e=ao(t);wt();try{!function(t){const e=Ri(t),n=t.proxy,i=t.ctx;Di=!1,e.beforeCreate&&Ii(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:a,watch:l,provide:c,inject:u,created:h,beforeMount:d,mounted:p,beforeUpdate:g,updated:m,activated:v,deactivated:b,beforeDestroy:_,beforeUnmount:w,destroyed:S,unmounted:k,render:C,renderTracked:O,renderTriggered:A,errorCaptured:T,serverPrefetch:P,expose:E,inheritAttrs:M,components:L,directives:$,filters:j}=e;if(u&&function(t,e){f(t)&&(t=Fi(t));for(const n in t){const i=t[n];let r;r=x(i)?"default"in i?Sn(i.from||n,i.default,!0):Sn(i.from||n):Sn(i),Se(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[n]=r}}(u,i),a)for(const t in a){const e=a[t];y(e)&&(i[t]=e.bind(n))}if(r){const e=r.call(n,n);x(e)&&(t.data=he(e))}if(Di=!0,o)for(const t in o){const e=o[t],r=y(e)?e.bind(n,n):y(e.get)?e.get.bind(n,n):s,a=!y(e)&&y(e.set)?e.set.bind(n):s,l=_o({get:r,set:a});Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(l)for(const t in l)Ni(l[t],i,n,t);if(c){const t=y(c)?c.call(n):c;Reflect.ownKeys(t).forEach(e=>{wn(e,t[e])})}function D(t,e){f(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&Ii(h,t,"c"),D(li,d),D(ci,p),D(ui,g),D(hi,m),D(ti,v),D(ei,b),D(vi,T),D(mi,O),D(gi,A),D(di,w),D(pi,k),D(fi,P),f(E))if(E.length){const e=t.exposed||(t.exposed={});E.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})})}else t.exposed||(t.exposed={});C&&t.render===s&&(t.render=C),null!=M&&(t.inheritAttrs=M),L&&(t.components=L),$&&(t.directives=$),P&&qn(t)}(t)}finally{St(),e()}}}const mo={get:(t,e)=>($t(t,0,""),t[e])};function vo(t){return{attrs:new Proxy(t.attrs,mo),slots:t.slots,emit:t.emit,expose:e=>{t.exposed=e||{}}}}function yo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ee(_e(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Ei?Ei[n](t):void 0,has:(t,e)=>e in t||e in Ei})):t.proxy}function bo(t,e=!0){return y(t)?t.displayName||t.name:t.name||e&&t.__name}const _o=(t,e)=>{const n=function(t,e,n=!1){let i,r;return y(t)?i=t:(i=t.get,r=t.set),new De(i,r,n)}(t,0,po);return n};function xo(t,e,n){try{Ir(-1);const i=arguments.length;return 2===i?x(e)&&!f(e)?Vr(e)?Ur(t,null,[e]):Ur(t,e):Ur(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Vr(n)&&(n=[n]),Ur(t,e,n))}finally{Ir(1)}}const wo="3.5.33";let So;const ko="undefined"!=typeof window&&window.trustedTypes;if(ko)try{So=ko.createPolicy("vue",{createHTML:t=>t})}catch(ru){}const Co=So?t=>So.createHTML(t):t=>t,Oo="undefined"!=typeof document?document:null,Ao=Oo&&Oo.createElement("template"),To={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r="svg"===e?Oo.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?Oo.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?Oo.createElement(t,{is:n}):Oo.createElement(t);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>Oo.createTextNode(t),createComment:t=>Oo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Oo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const s=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{Ao.innerHTML=Co("svg"===i?`<svg>${t}</svg>`:"mathml"===i?`<math>${t}</math>`:t);const r=Ao.content;if("svg"===i||"mathml"===i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Po="transition",Eo="animation",Mo=Symbol("_vtc"),Lo={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},$o=u({},Dn,Lo),jo=(t=>(t.displayName="Transition",t.props=$o,t))((t,{slots:e})=>xo(Rn,function(t){const e={};for(const n in t)n in Lo||(e[n]=t[n]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:h=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(x(t))return[No(t.enter),No(t.leave)];{const e=No(t);return[e,e]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:O=_}=e,A=(t,e,n,i)=>{t._enterCancelled=i,Bo(t,e?h:a),Bo(t,e?c:s),n&&n()},T=(t,e)=>{t._isLeaving=!1,Bo(t,d),Bo(t,f),Bo(t,p),e&&e()},P=t=>(e,n)=>{const r=t?C:b,s=()=>A(e,t,n);Do(r,[e,s]),Vo(()=>{Bo(e,t?l:o),Ro(e,t?h:a),Io(r)||Fo(e,i,m,s)})};return u(e,{onBeforeEnter(t){Do(y,[t]),Ro(t,o),Ro(t,s)},onBeforeAppear(t){Do(k,[t]),Ro(t,l),Ro(t,c)},onEnter:P(!1),onAppear:P(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);Ro(t,d),t._enterCancelled?(Ro(t,p),Uo(t)):(Uo(t),Ro(t,p)),Vo(()=>{t._isLeaving&&(Bo(t,d),Ro(t,f),Io(w)||Fo(t,i,v,n))}),Do(w,[t,n])},onEnterCancelled(t){A(t,!1,void 0,!0),Do(_,[t])},onAppearCancelled(t){A(t,!0,void 0,!0),Do(O,[t])},onLeaveCancelled(t){T(t),Do(S,[t])}})}(t),e)),Do=(t,e=[])=>{f(t)?t.forEach(t=>t(...e)):t&&t(...e)},Io=t=>!!t&&(f(t)?t.some(t=>t.length>1):t.length>1);function No(t){return(t=>{const e=b(t)?Number(t):NaN;return isNaN(e)?t:e})(t)}function Ro(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[Mo]||(t[Mo]=new Set)).add(e)}function Bo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[Mo];n&&(n.delete(e),n.size||(t[Mo]=void 0))}function Vo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let zo=0;function Fo(t,e,n,i){const r=t._endId=++zo,o=()=>{r===t._endId&&i()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=function(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${Po}Delay`),o=i(`${Po}Duration`),s=Wo(r,o),a=i(`${Eo}Delay`),l=i(`${Eo}Duration`),c=Wo(a,l);let u=null,h=0,d=0;return e===Po?s>0&&(u=Po,h=s,d=o.length):e===Eo?c>0&&(u=Eo,h=c,d=l.length):(h=Math.max(s,c),u=h>0?s>c?Po:Eo:null,d=u?u===Po?o.length:l.length:0),{type:u,timeout:h,propCount:d,hasTransform:u===Po&&/\b(?:transform|all)(?:,|$)/.test(i(`${Po}Property`).toString())}}(t,e);if(!s)return i();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,d),o()},d=e=>{e.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(c,d)}function Wo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((e,n)=>Ho(e)+Ho(t[n])))}function Ho(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}function Uo(t){return(t?t.ownerDocument:document).body.offsetHeight}const qo=Symbol("_vod"),Go=Symbol("_vsh"),Xo={name:"show",beforeMount(t,{value:e},{transition:n}){t[qo]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):Yo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Yo(t,!0),i.enter(t)):i.leave(t,()=>{Yo(t,!1)}):Yo(t,e))},beforeUnmount(t,{value:e}){Yo(t,e)}};function Yo(t,e){t.style.display=e?t[qo]:"none",t[Go]=!e}const Ko=Symbol("");function Zo(t){const e=ro();if(!e)return;const n=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(t=>Jo(t,n))},i=()=>{const i=t(e.proxy);e.ce?Jo(e.ce,i):Qo(e.subTree,i),n(i)};ui(()=>{Je(i)}),ci(()=>{On(i,s,{flush:"post"});const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),pi(()=>t.disconnect())})}function Qo(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Qo(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)Jo(t.el,e);else if(t.type===Tr)t.children.forEach(t=>Qo(t,e));else if(t.type===Mr){let{el:n,anchor:i}=t;for(;n&&(Jo(n,e),n!==i);)n=n.nextSibling}}function Jo(t,e){if(1===t.nodeType){const n=t.style;let i="";for(const t in e){const r=nt(e[t]);n.setProperty(`--${t}`,r),i+=`--${t}: ${r};`}n[Ko]=i}}const ts=/(?:^|;)\s*display\s*:/,es=/\s*!important$/;function ns(t,e,n){if(f(n))n.forEach(n=>ns(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=rs[e];if(n)return n;let i=E(e);if("filter"!==i&&i in t)return rs[e]=i;i=$(i);for(let n=0;n<is.length;n++){const r=is[n]+i;if(r in t)return rs[e]=r}return e}(t,e);es.test(n)?t.setProperty(L(i),n.replace(es,""),"important"):t[i]=n}}const is=["Webkit","Moz","ms"],rs={};function os(t,e,n,i){return"TEXTAREA"===t.tagName&&("width"===e||"height"===e)&&b(i)&&n===i}const ss="http://www.w3.org/1999/xlink";function as(t,e,n,i,r,o=X(e)){i&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(ss,e.slice(6,e.length)):t.setAttributeNS(ss,e,n):null==n||o&&!Y(n)?t.removeAttribute(e):t.setAttribute(e,o?"":_(n)?String(n):n)}function ls(t,e,n,i,r){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?Co(n):n));const o=t.tagName;if("value"===e&&"PROGRESS"!==o&&!o.includes("-")){const i="OPTION"===o?t.getAttribute("value")||"":t.value,r=null==n?"checkbox"===t.type?"on":"":String(n);return i===r&&"_value"in t||(t.value=r),null==n&&t.removeAttribute(e),void(t._value=n)}let s=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=Y(n):null==n&&"string"===i?(n="",s=!0):"number"===i&&(n=0,s=!0)}try{t[e]=n}catch(t){}s&&t.removeAttribute(r||e)}function cs(t,e,n,i){t.addEventListener(e,n,i)}const us=Symbol("_vei");const hs=/(?:Once|Passive|Capture)$/;let ds=0;const ps=Promise.resolve(),fs=()=>ds||(ps.then(()=>ds=0),ds=Date.now()),gs=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123;function ms(t="$style"){{const e=ro();if(!e)return r;const n=e.type.__cssModules;if(!n)return r;return n[t]||r}}"undefined"!=typeof HTMLElement&&HTMLElement;const vs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return f(e)?t=>I(e,t):e};function ys(t){t.target.composing=!0}function bs(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const _s=Symbol("_assign");function xs(t,e,n){return e&&(t=t.trim()),n&&(t=R(t)),t}const ws={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t[_s]=vs(r);const o=i||r.props&&"number"===r.props.type;cs(t,e?"change":"input",e=>{e.target.composing||t[_s](xs(t.value,n,o))}),(n||o)&&cs(t,"change",()=>{t.value=xs(t.value,n,o)}),e||(cs(t,"compositionstart",ys),cs(t,"compositionend",bs),cs(t,"change",bs))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},s){if(t[_s]=vs(s),t.composing)return;const a=null==e?"":e;if((!o&&"number"!==t.type||/^0\d/.test(t.value)?t.value:R(t.value))===a)return;const l=t.getRootNode();if((l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===t&&"range"!==t.type){if(i&&e===n)return;if(r&&t.value.trim()===a)return}t.value=a}},Ss={deep:!0,created(t,e,n){t[_s]=vs(n),cs(t,"change",()=>{const e=t._modelValue,n=function(t){return"_value"in t?t._value:t.value}(t),i=t.checked,r=t[_s];if(f(e)){const t=Z(e,n),o=-1!==t;if(i&&!o)r(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),r(n)}}else if(m(e)){const t=new Set(e);i?t.add(n):t.delete(n),r(t)}else r(Cs(t,i))})},mounted:ks,beforeUpdate(t,e,n){t[_s]=vs(n),ks(t,e,n)}};function ks(t,{value:e,oldValue:n},i){let r;if(t._modelValue=e,f(e))r=Z(e,i.props.value)>-1;else if(m(e))r=e.has(i.props.value);else{if(e===n)return;r=K(e,Cs(t,!0))}t.checked!==r&&(t.checked=r)}function Cs(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Os=["ctrl","shift","alt","meta"],As={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Os.some(n=>t[`${n}Key`]&&!e.includes(n))},Ts=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t<e.length;t++){const i=As[e[t]];if(i&&i(n,e))return}return t(n,...i)})},Ps={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Es=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=L(n.key);return e.some(t=>t===i||Ps[t]===i)?t(n):void 0})},Ms=u({patchProp:(t,e,n,i,r,o)=>{const s="svg"===r;"class"===e?function(t,e,n){const i=t[Mo];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,s):"style"===e?function(t,e,n){const i=t.style,r=b(n);let o=!1;if(n&&!r){if(e)if(b(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&ns(i,e,"")}else for(const t in e)null==n[t]&&ns(i,t,"");for(const r in n){"display"===r&&(o=!0);const s=n[r];null!=s?os(t,r,!b(e)&&e?e[r]:void 0,s)||ns(i,r,s):ns(i,r,"")}}else if(r){if(e!==n){const t=i[Ko];t&&(n+=";"+t),i.cssText=n,o=ts.test(n)}}else e&&t.removeAttribute("style");qo in t&&(t[qo]=o?i.display:"",t[Go]&&(i.display="none"))}(t,n,i):l(e)?c(e)||function(t,e,n,i,r=null){const o=t[us]||(t[us]={}),s=o[e];if(i&&s)s.value=i;else{const[n,a]=function(t){let e;if(hs.test(t)){let n;for(e={};n=t.match(hs);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[":"===t[2]?t.slice(3):L(t.slice(2)),e]}(e);if(i){const s=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();ze(function(t,e){if(f(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t&&t(e))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=fs(),n}(i,r);cs(t,n,s,a)}else s&&(function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,s,a),o[e]=void 0)}}(t,e,0,i,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&gs(e)&&y(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("sandbox"===e&&"IFRAME"===t.tagName)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!gs(e)||!b(n))&&e in t}(t,e,i,s))?(ls(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||as(t,e,i,s,0,"value"!==e)):t._isVueCE&&(function(t,e){const n=t._def.props;if(!n)return!1;const i=E(e);return Array.isArray(n)?n.some(t=>E(t)===i):Object.keys(n).some(t=>E(t)===i)}(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!b(i)))?ls(t,E(e),i,0,e):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),as(t,e,i,s))}},To);let Ls;const $s=(...t)=>{const e=(Ls||(Ls=_r(Ms))).createApp(...t),{mount:n}=e;return e.mount=t=>{const i=function(t){if(b(t))return document.querySelector(t);return t}(t);if(!i)return;const r=e._component;y(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,function(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};var js=n(60);const Ds={},Is=(0,js.A)(Ds,[["render",function(t,e){const n=bi("router-view");return jr(),Rr("div",null,[Ur(n)])}]]);function Ns(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const Rs="function"==typeof Proxy;let Bs,Vs;class zs{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const i=t.settings[e];n[e]=i.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(r,e)}catch(t){}this.fallbacks={getSettings:()=>r,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}r=t},now:()=>function(){var t;return void 0!==Bs||("undefined"!=typeof window&&window.performance?(Bs=!0,Vs=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(Bs=!0,Vs=globalThis.perf_hooks.performance):Bs=!1),Bs}()?Vs.now():Date.now()},e&&e.on("plugin:settings:set",(t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise(n=>{this.targetQueue.push({method:e,args:t,resolve:n})})})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function Fs(t,e){const n=t,i=Ns(),r=Ns().__VUE_DEVTOOLS_GLOBAL_HOOK__,o=Rs&&n.enableEarlyProxy;if(!r||!i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new zs(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else r.emit("devtools-plugin:setup",t,e)}function Ws(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Hs(t){return null!==t&&"object"==typeof t}function Us(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function qs(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Xs(t,n,[],t._modules.root,!0),Gs(t,n,e)}function Gs(t,e,n){var i=t._state,r=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={},a={},l=new ot(!0);l.run(function(){Ws(o,function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),a[n]=_o(function(){return s[n]()}),Object.defineProperty(t.getters,n,{get:function(){return a[n].value},enumerable:!0})})}),t._state=he({data:e}),t._scope=l,t.strict&&function(t){On(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}(t),i&&n&&t._withCommit(function(){i.data=null}),r&&r.stop()}function Xs(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=Ks(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=i.state})}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=Zs(n,i,r),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:i?t.commit:function(n,i,r){var o=Zs(n,i,r),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return Ys(t,e)}},state:{get:function(){return Ks(t.state,n)}}}),r}(t,s,n);i.forEachMutation(function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,i.state,e)})}(t,s+n,e,c)}),i.forEachAction(function(e,n){var i=e.root?n:s+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push(function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}(t,i,r,c)}),i.forEachGetter(function(e,n){!function(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}(t,s+n,e,c)}),i.forEachChild(function(i,o){Xs(t,e,n.concat(o),i,r)})}function Ys(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach(function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function Ks(t,e){return e.reduce(function(t,e){return t[e]},t)}function Zs(t,e,n){return Hs(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Qs="vuex:mutations",Js="vuex:actions",ta="vuex",ea=0;function na(t,e){Fs({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},function(n){n.addTimelineLayer({id:Qs,label:"Vuex Mutations",color:ia}),n.addTimelineLayer({id:Js,label:"Vuex Actions",color:ia}),n.addInspector({id:ta,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(n){if(n.app===t&&n.inspectorId===ta)if(n.filter){var i=[];aa(i,e._modules.root,n.filter,""),n.rootNodes=i}else n.rootNodes=[sa(e._modules.root,"")]}),n.on.getInspectorState(function(n){if(n.app===t&&n.inspectorId===ta){var i=n.nodeId;Ys(e,i),n.state=function(t,e,n){e="root"===n?e:e[n];var i=Object.keys(e),r={state:Object.keys(t.state).map(function(e){return{key:e,editable:!0,value:t.state[e]}})};if(i.length){var o=function(t){var e={};return Object.keys(t).forEach(function(n){var i=n.split("/");if(i.length>1){var r=e,o=i.pop();i.forEach(function(t){r[t]||(r[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),r=r[t]._custom.value}),r[o]=la(function(){return t[n]})}else e[n]=la(function(){return t[n]})}),e}(e);r.getters=Object.keys(o).map(function(t){return{key:t.endsWith("/")?oa(t):t,editable:!1,value:la(function(){return o[t]})}})}return r}((r=e._modules,(s=(o=i).split("/").filter(function(t){return t})).reduce(function(t,e,n){var i=t[e];if(!i)throw new Error('Missing module "'+e+'" for path "'+o+'".');return n===s.length-1?i:i._children},"root"===o?r:r.root._children)),"root"===i?e.getters:e._makeLocalGettersCache,i)}var r,o,s}),n.on.editInspectorState(function(n){if(n.app===t&&n.inspectorId===ta){var i=n.nodeId,r=n.path;"root"!==i&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit(function(){n.set(e._state.data,r,n.state.value)})}}),e.subscribe(function(t,e){var i={};t.payload&&(i.payload=t.payload),i.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(ta),n.sendInspectorState(ta),n.addTimelineEvent({layerId:Qs,event:{time:Date.now(),title:t.type,data:i}})}),e.subscribeAction({before:function(t,e){var i={};t.payload&&(i.payload=t.payload),t._id=ea++,t._time=Date.now(),i.state=e,n.addTimelineEvent({layerId:Js,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:i}})},after:function(t,e){var i={},r=Date.now()-t._time;i.duration={_custom:{type:"duration",display:r+"ms",tooltip:"Action duration",value:r}},t.payload&&(i.payload=t.payload),i.state=e,n.addTimelineEvent({layerId:Js,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:i}})}})})}var ia=8702998,ra={label:"namespaced",textColor:16777215,backgroundColor:6710886};function oa(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function sa(t,e){return{id:e||"root",label:oa(e),tags:t.namespaced?[ra]:[],children:Object.keys(t._children).map(function(n){return sa(t._children[n],e+n+"/")})}}function aa(t,e,n,i){i.includes(n)&&t.push({id:i||"root",label:i.endsWith("/")?i.slice(0,i.length-1):i||"Root",tags:e.namespaced?[ra]:[]}),Object.keys(e._children).forEach(function(r){aa(t,e._children[r],n,i+r+"/")})}function la(t){try{return t()}catch(t){return t}}var ca=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},ua={namespaced:{configurable:!0}};ua.namespaced.get=function(){return!!this._rawModule.namespaced},ca.prototype.addChild=function(t,e){this._children[t]=e},ca.prototype.removeChild=function(t){delete this._children[t]},ca.prototype.getChild=function(t){return this._children[t]},ca.prototype.hasChild=function(t){return t in this._children},ca.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},ca.prototype.forEachChild=function(t){Ws(this._children,t)},ca.prototype.forEachGetter=function(t){this._rawModule.getters&&Ws(this._rawModule.getters,t)},ca.prototype.forEachAction=function(t){this._rawModule.actions&&Ws(this._rawModule.actions,t)},ca.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ws(this._rawModule.mutations,t)},Object.defineProperties(ca.prototype,ua);var ha=function(t){this.register([],t,!1)};function da(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;da(t.concat(i),e.getChild(i),n.modules[i])}}ha.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},ha.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},ha.prototype.update=function(t){da([],this.root,t)},ha.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new ca(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r),e.modules&&Ws(e.modules,function(e,r){i.register(t.concat(r),e,n)})},ha.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},ha.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var pa=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ha(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;Xs(this,l,[],this._modules.root),Gs(this,l),n.forEach(function(t){return t(e)})},fa={state:{configurable:!0}};function ga(t){return function(t){return Array.isArray(t)||Hs(t)}(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function ma(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function va(t,e,n){return t._modulesNamespaceMap[n]}pa.prototype.install=function(t,e){t.provide(e||"store",this),t.config.globalProperties.$store=this,(void 0!==this._devtools?this._devtools:__VUE_PROD_DEVTOOLS__)&&na(t,this)},fa.state.get=function(){return this._state.data},fa.state.set=function(t){},pa.prototype.commit=function(t,e,n){var i=this,r=Zs(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit(function(){l.forEach(function(t){t(s)})}),this._subscribers.slice().forEach(function(t){return t(a,i.state)}))},pa.prototype.dispatch=function(t,e){var n=this,i=Zs(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(s,n.state)})}catch(t){}var l=a.length>1?Promise.all(a.map(function(t){return t(o)})):a[0](o);return new Promise(function(t,e){l.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(s,n.state)})}catch(t){}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(s,n.state,t)})}catch(t){}e(t)})})}},pa.prototype.subscribe=function(t,e){return Us(t,this._subscribers,e)},pa.prototype.subscribeAction=function(t,e){return Us("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},pa.prototype.watch=function(t,e,n){var i=this;return On(function(){return t(i.state,i.getters)},e,Object.assign({},n))},pa.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._state.data=t})},pa.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),Xs(this,this.state,t,this._modules.get(t),n.preserveState),Gs(this,this.state)},pa.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){delete Ks(e.state,t.slice(0,-1))[t[t.length-1]]}),qs(this)},pa.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},pa.prototype.hotUpdate=function(t){this._modules.update(t),qs(this,!0)},pa.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(pa.prototype,fa),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=va(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=va(this.$store,0,t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||va(this.$store,0,t))return this.$store.getters[r]},n[i].vuex=!0}),n}),ma(function(t,e){var n={};return ga(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=va(this.$store,0,t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n});var ya=n(822),ba=n.n(ya),_a=n(711),xa=n.n(_a);class wa extends Error{constructor(t,e){super(t),this.name="FetchClientError",this.response=e,this.isAxiosError=!0}}const Sa=async(t,{method:e="GET",headers:n={},body:i,params:r,auth:o}={})=>{const s=((t,e)=>{if(!e||0===Object.keys(e).length)return t;const n=new URLSearchParams(e).toString(),i=t.includes("?")?"&":"?";return`${t}${i}${n}`})(t,r),a=((...t)=>{const e={},n=new Map;for(const i of t)if(i)for(const[t,r]of Object.entries(i)){if(null==r)continue;const i=t.toLowerCase(),o=n.get(i);void 0!==o&&delete e[o],e[t]=r,n.set(i,t)}return e})({Accept:"application/json, text/plain, */*"},(t=>{if(!t)return{};const{username:e,password:n}=t;return{Authorization:`Basic ${btoa(`${e}:${n}`)}`}})(o),n);let l;void 0!==i&&(l="string"==typeof i?i:JSON.stringify(i),Object.keys(a).some(t=>t.toLowerCase()==="content-type".toLowerCase())||(a["Content-Type"]="string"==typeof i?"text/plain":"application/json"));const c=await fetch(s,{method:e,headers:a,body:l}),u=await c.text();let h;try{h=JSON.parse(u)}catch{h=u}const d={data:h,status:c.status,statusText:c.statusText,headers:Object.fromEntries(c.headers.entries())};if(c.ok)return d;const p=new wa(`Request failed with status code ${c.status}`,d);throw p.config={url:s,method:e},p},ka=t=>(e,n,i)=>{let r,o;return["POST","PUT","PATCH"].includes(t)?(o=n,r=i||{}):r=n||{},Sa(e,{...r,method:t,body:o})},Ca={get:ka("GET"),post:ka("POST"),put:ka("PUT"),delete:ka("DELETE"),patch:ka("PATCH"),request(t){const{url:e,method:n="GET",data:i,...r}=t;return Sa(e,{...r,method:n.toUpperCase(),body:i})}},Oa=t=>{const{url:e,method:n="GET",data:i,...r}=t;return Sa(e,{...r,method:n.toUpperCase(),body:i})};Object.assign(Oa,Ca);const Aa=Oa;var Ta=n(273);const Pa=(t,e)=>{const n={};return Object.keys(t).forEach(e=>{n[e]={...t[e],selected:t[e].enabled}}),e&&Array.isArray(e)&&e.forEach(t=>{if(t.property.startsWith("insights.")){const e=t.property.replace("insights.","");n[e]&&(n[e].selected="true"===t.value)}}),n},Ea=t=>{if(t&&Array.isArray(t)){const e=t.find(t=>"trustedform.advertiser_name"===t.property);return e?e.value:void 0}},Ma=(t,e)=>{if(t&&Array.isArray(t)){const n=t.find(t=>t.property===`trustedform.${e}`);return n?n.value:void 0}},La=(t,e)=>{if(Array.isArray(t)){const n=t.find(t=>t.property===`trustedform.${e}`);return!!n&&"true"===n.value}},$a=(t,e)=>{return n={state:{fieldData:ba(),v4Fields:Pa(xa(),t.mappings),advertiserName:Ea(t.mappings),requiredTags:Ma(t.mappings,"scan_required_text"),forbiddenTags:Ma(t.mappings,"scan_forbidden_text"),ui:e,config:t,errors:void 0,products:{retain:{enabled:!1,selected:!1},insights:{enabled:!1,selected:!1},verify:{enabled:!1,selected:!1}},filters:[],pageScanForbidden:[],pageScanRequired:[],shouldConfigVerify:!1,navHistory:[]},mutations:{setErrors(t,e){t.errors=e},setProduct(t,{product:e,value:n}){t.products[e]=n},setFilters(t,e){t.filters=e},setPageScan(t,{required:e,forbidden:n}){t.pageScanRequired=e,t.pageScanForbidden=n},setAdvertiserName(t,{advertiserName:e}){t.advertiserName=e},setShouldConfigVerify(t,e){t.shouldConfigVerify=e},setNavHistory(t,e){(0,Ta.includes)(t.navHistory,e)||t.navHistory.push(e)},resetNavHistory(t){t.navHistory=[]}},getters:{getProducts:t=>t.products,getErrors:t=>t.errors,getShouldConfigVerify:t=>t.shouldConfigVerify,getNavHistory:t=>t.navHistory,getAdvertiserName:t=>t.advertiserName},actions:{cancel(t){t.state.ui.cancel()},getProducts(e){const n=["retain","insights","verify"];return Aa.get(`account?apiKey=${t.credential.token}`).then(function(i){const r=(0,Ta.get)(i,"data.product_components");n.forEach(function(n){e.commit("setProduct",{product:n,value:{enabled:r.includes(n),selected:r.includes(n)&&La(t.mappings,n)}})})}).catch(function(t){401===(0,Ta.get)(t,"response.status")?e.commit("setErrors","no TrustedForm account found for this API key"):e.commit("setErrors",(0,Ta.get)(t,"response.data")||t.message)})},createFilter(t,e){const n=e.rules.map(t=>({op:t.rulesOp,lhv:t.lhv,rhv:t.rhv})),i={type:"filter",reason:e.reason,outcome:e.outcome,rule_set:{op:"and",rules:n},description:e.description,enabled:!0};t.commit("setFilters",[...t.state.filters,i])},async confirm(e){const{products:n,v4Fields:i,pageScanForbidden:r,pageScanRequired:o,advertiserName:s}=e.state,a={steps:[{type:"recipient",entity:{name:t.entity.name,id:t.entity.id},integration:{module_id:t.integration,mappings:[]}}]};if("leadconduit-trustedform.outbound.trustedform"===t.integration){if(Object.keys(n).forEach(t=>{a.steps[0].integration.mappings.push({property:`trustedform.${t}`,value:n[t].selected?"true":"false"})}),n.insights.selected&&Object.keys(i).forEach(t=>{a.steps[0].integration.mappings.push({property:`insights.${t}`,value:i[t].selected?"true":"false"})}),(0,Ta.castArray)(o).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_required_text",value:be(o)}),(0,Ta.castArray)(r).length>0&&a.steps[0].integration.mappings.push({property:"trustedform.scan_forbidden_text",value:be(r)}),n.verify.selected){s&&a.steps[0].integration.mappings.push({property:"trustedform.advertiser_name",value:s});const t={rulesOp:"is not equal to",lhv:"trustedform.outcome",rhv:"success"},n=[{...t},{rulesOp:"is false",lhv:"trustedform.one_to_one"}],i={reason:"{{trustedform.reason}}",outcome:"failure",description:"Filter leads that fail on Trustedform Verify check",rules:s?n:[t]};await e.dispatch("createFilter",i)}e.state.filters.forEach(t=>{a.steps.push(be(t))})}e.state.ui.create({flow:a})}}},new pa(n);var n},ja="undefined"!=typeof document;function Da(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const Ia=Object.assign;function Na(t,e){const n={};for(const i in e){const r=e[i];n[i]=Ba(r)?r.map(t):t(r)}return n}const Ra=()=>{},Ba=Array.isArray;function Va(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}const za=/#/g,Fa=/&/g,Wa=/\//g,Ha=/=/g,Ua=/\?/g,qa=/\+/g,Ga=/%5B/g,Xa=/%5D/g,Ya=/%5E/g,Ka=/%60/g,Za=/%7B/g,Qa=/%7C/g,Ja=/%7D/g,tl=/%20/g;function el(t){return null==t?"":encodeURI(""+t).replace(Qa,"|").replace(Ga,"[").replace(Xa,"]")}function nl(t){return el(t).replace(qa,"%2B").replace(tl,"+").replace(za,"%23").replace(Fa,"%26").replace(Ka,"`").replace(Za,"{").replace(Ja,"}").replace(Ya,"^")}function il(t){return nl(t).replace(Ha,"%3D")}function rl(t){return function(t){return el(t).replace(za,"%23").replace(Ua,"%3F")}(t).replace(Wa,"%2F")}function ol(t){if(null==t)return null;try{return decodeURIComponent(""+t)}catch(t){}return""+t}const sl=/\/$/;function al(t,e,n="/"){let i,r={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(i=e.slice(0,l),o=e.slice(l,a>0?a:e.length),r=t(o.slice(1))),a>=0&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,s,a=n.length-1;for(o=0;o<i.length;o++)if(s=i[o],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(o).join("/")}(null!=i?i:e,n),{fullPath:i+o+s,path:i,query:r,hash:ol(s)}}function ll(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function cl(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!ul(t[n],e[n]))return!1;return!0}function ul(t,e){return Ba(t)?hl(t,e):Ba(e)?hl(e,t):t?.valueOf()===e?.valueOf()}function hl(t,e){return Ba(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}const dl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let pl=function(t){return t.pop="pop",t.push="push",t}({}),fl=function(t){return t.back="back",t.forward="forward",t.unknown="",t}({});function gl(t){if(!t)if(ja){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(sl,"")}const ml=/^[^#]+#/;function vl(t,e){return t.replace(ml,"#")+e}function yl(t,e){return(history.state?history.state.position-e:-1)+t}const bl=new Map;function _l(t){return"string"==typeof t||t&&"object"==typeof t}function xl(t){return"string"==typeof t||"symbol"==typeof t}let wl=function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t}({});const Sl=Symbol("");function kl(t,e){return Ia(new Error,{type:t,[Sl]:!0},e)}function Cl(t,e){return t instanceof Error&&Sl in t&&(null==e||!!(t.type&e))}wl.MATCHER_NOT_FOUND,wl.NAVIGATION_GUARD_REDIRECT,wl.NAVIGATION_ABORTED,wl.NAVIGATION_CANCELLED,wl.NAVIGATION_DUPLICATED;function Ol(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let t=0;t<n.length;++t){const i=n[t].replace(qa," "),r=i.indexOf("="),o=ol(r<0?i:i.slice(0,r)),s=r<0?null:ol(i.slice(r+1));if(o in e){let t=e[o];Ba(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function Al(t){let e="";for(let n in t){const i=t[n];n=il(n),null!=i?(Ba(i)?i.map(t=>t&&nl(t)):[i&&nl(i)]).forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}):void 0!==i&&(e+=(e.length?"&":"")+n)}return e}function Tl(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=Ba(i)?i.map(t=>null==t?null:""+t):null==i?i:""+i)}return e}const Pl=Symbol(""),El=Symbol(""),Ml=Symbol(""),Ll=Symbol(""),$l=Symbol("");function jl(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function Dl(t,e,n,i,r,o=t=>t()){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=t=>{!1===t?l(kl(wl.NAVIGATION_ABORTED,{from:n,to:e})):t instanceof Error?l(t):_l(t)?l(kl(wl.NAVIGATION_GUARD_REDIRECT,{from:e,to:t})):(s&&i.enterCallbacks[r]===s&&"function"==typeof t&&s.push(t),a())},u=o(()=>t.call(i&&i.instances[r],e,n,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(t=>l(t))})}function Il(t,e,n,i,r=t=>t()){const o=[];for(const s of t)for(const t in s.components){let a=s.components[t];if("beforeRouteEnter"===e||s.instances[t])if(Da(a)){const l=(a.__vccOpts||a)[e];l&&o.push(Dl(l,n,i,s,t,r))}else{let l=a();o.push(()=>l.then(o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${s.path}"`);const a=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Da(l.default)?o.default:o;var l;s.mods[t]=o,s.components[t]=a;const c=(a.__vccOpts||a)[e];return c&&Dl(c,n,i,s,t,r)()}))}}return o}function Nl(t,e){const n=Ia({},t,{matched:t.matched.map(t=>function(t,e){const n={};for(const i in t)e.includes(i)||(n[i]=t[i]);return n}(t,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function Rl(t){return{_custom:{display:t}}}let Bl=0;function Vl(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const i=Bl++;Fs({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},r=>{"function"!=typeof r.now&&function(t){const e=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+t].concat(e))}("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((t,n)=>{t.instanceData&&t.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Nl(e.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:t,componentInstance:e})=>{if(e.__vrv_devtools){const n=e.__vrv_devtools;t.tags.push({label:(n.name?`${n.name.toString()}: `:"")+n.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Fl})}Ba(e.__vrl_devtools)&&(e.__devtoolsApi=r,e.__vrl_devtools.forEach(e=>{let n=e.route.path,i=ql,r="",o=0;e.error?(n=e.error,i=Xl,o=Yl):e.isExactActive?(i=Hl,r="This is exactly active"):e.isActive&&(i=Wl,r="This link is active"),t.tags.push({label:n,textColor:o,tooltip:r,backgroundColor:i})}))}),On(e.currentRoute,()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)});const o="router:navigations:"+i;r.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError((t,e)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:e.fullPath,logType:"error",time:r.now(),data:{error:t},groupId:e.meta.__navigationId}})});let s=0;e.beforeEach((t,e)=>{const n={guard:Rl("beforeEach"),from:Nl(e,"Current Location during this navigation"),to:Nl(t,"Target location")};Object.defineProperty(t.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:t.fullPath,data:n,groupId:t.meta.__navigationId}})}),e.afterEach((t,e,n)=>{const i={guard:Rl("afterEach")};n?(i.failure={_custom:{type:Error,readOnly:!0,display:n?n.message:"",tooltip:"Navigation Failure",value:n}},i.status=Rl("❌")):i.status=Rl("✅"),i.from=Nl(e,"Current Location during this navigation"),i.to=Nl(t,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:t.fullPath,time:r.now(),data:i,logType:n?"warning":"default",groupId:t.meta.__navigationId}})});const a="router-inspector:"+i;function l(){if(!c)return;const t=c;let i=n.getRoutes().filter(t=>!t.parent||!t.parent.record.components);i.forEach(tc),t.filter&&(i=i.filter(e=>ec(e,t.filter.toLowerCase()))),i.forEach(t=>Jl(t,e.currentRoute.value)),t.rootNodes=i.map(Kl)}let c;r.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),r.on.getInspectorTree(e=>{c=e,e.app===t&&e.inspectorId===a&&l()}),r.on.getInspectorState(e=>{if(e.app===t&&e.inspectorId===a){const t=n.getRoutes().find(t=>t.record.__vd_id===e.nodeId);t&&(e.state={options:zl(t)})}}),r.sendInspectorTree(a),r.sendInspectorState(a)})}function zl(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return null!=e.name&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(t=>`${t.name}${function(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}(t)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),null!=e.redirect&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(t=>t.record.path)}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(t=>t.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const Fl=15485081,Wl=2450411,Hl=8702998,Ul=2282478,ql=16486972,Gl=6710886,Xl=16704226,Yl=12131356;function Kl(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:Ul}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:ql}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:Fl}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:Hl}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:Wl}),n.redirect&&e.push({label:"string"==typeof n.redirect?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Gl});let i=n.__vd_id;return null==i&&(i=String(Zl++),n.__vd_id=i),{id:i,label:n.path,tags:e,children:t.children.map(Kl)}}let Zl=0;const Ql=/^\/(.*)\/([a-z]*)$/;function Jl(t,e){const n=e.matched.length&&ll(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(e=>ll(e,t.record))),t.children.forEach(t=>Jl(t,e))}function tc(t){t.__vd_match=!1,t.children.forEach(tc)}function ec(t,e){const n=String(t.re).match(Ql);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach(t=>ec(t,e)),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),r=ol(i);return!(e.startsWith("/")||!r.includes(e)&&!i.includes(e))||!(!r.startsWith(e)&&!i.startsWith(e))||!(!t.record.name||!String(t.record.name).includes(e))||t.children.some(t=>ec(t,e))}let nc=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t}({});var ic=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t}(ic||{});const rc={type:nc.Static,value:""},oc=/[a-zA-Z0-9_]/,sc="[^/]+?",ac={sensitive:!1,strict:!1,start:!0,end:!0};var lc=function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t}(lc||{});const cc=/[.+*?^${}()[\]/\\]/g;function uc(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&t[0]===lc.Static+lc.Segment?-1:1:t.length>e.length?1===e.length&&e[0]===lc.Static+lc.Segment?1:-1:0}function hc(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=uc(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(dc(i))return 1;if(dc(r))return-1}return r.length-i.length}function dc(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const pc={strict:!1,end:!0,sensitive:!1};function fc(t,e,n){const i=function(t,e){const n=Ia({},ac,e),i=[];let r=n.start?"^":"";const o=[];for(const e of t){const t=e.length?[]:[lc.Root];n.strict&&!e.length&&(r+="/");for(let i=0;i<e.length;i++){const s=e[i];let a=lc.Segment+(n.sensitive?lc.BonusCaseSensitive:0);if(s.type===nc.Static)i||(r+="/"),r+=s.value.replace(cc,"\\$&"),a+=lc.Static;else if(s.type===nc.Param){const{value:t,repeatable:n,optional:l,regexp:c}=s;o.push({name:t,repeatable:n,optional:l});const u=c||sc;u!==sc&&(a+=lc.BonusCustomRegExp);let h=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;i||(h=l&&e.length<2?`(?:/${h})`:"/"+h),l&&(h+="?"),r+=h,a+=lc.Dynamic,l&&(a+=lc.BonusOptional),n&&(a+=lc.BonusRepeatable),".*"===u&&(a+=lc.BonusWildcard)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=lc.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");return{re:s,score:i,keys:o,parse:function(t){const e=t.match(s),n={};if(!e)return null;for(let t=1;t<e.length;t++){const i=e[t]||"",r=o[t-1];n[r.name]=i&&r.repeatable?i.split("/"):i}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(t.type===nc.Static)n+=t.value;else if(t.type===nc.Param){const{value:o,repeatable:s,optional:a}=t,l=o in e?e[o]:"";if(Ba(l)&&!s)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const c=Ba(l)?l.join("/"):l;if(!c){if(!a)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[rc]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=ic.Static,i=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a,l=0,c="",u="";function h(){c&&(n===ic.Static?o.push({type:nc.Static,value:c}):n===ic.Param||n===ic.ParamRegExp||n===ic.ParamRegExpEnd?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:nc.Param,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<t.length;)if(a=t[l++],"\\"!==a||n===ic.ParamRegExp)switch(n){case ic.Static:"/"===a?(c&&h(),s()):":"===a?(h(),n=ic.Param):d();break;case ic.EscapeNext:d(),n=i;break;case ic.Param:"("===a?n=ic.ParamRegExp:oc.test(a)?d():(h(),n=ic.Static,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case ic.ParamRegExp:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=ic.ParamRegExpEnd:u+=a;break;case ic.ParamRegExpEnd:h(),n=ic.Static,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:e("Unknown state")}else i=n,n=ic.EscapeNext;return n===ic.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),r}(t.path),n),r=Ia(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function gc(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function mc(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:vc(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function vc(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function yc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function bc(t){return t.reduce((t,e)=>Ia(t,e.meta),{})}function _c({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function xc(t){const e=Sn(Ml),n=Sn(Ll),i=_o(()=>{const n=Te(t.to);return e.resolve(n)}),r=_o(()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(ll.bind(null,r));if(s>-1)return s;const a=Sc(t[e-2]);return e>1&&Sc(r)===a&&o[o.length-1].path!==a?o.findIndex(ll.bind(null,t[e-2])):s}),o=_o(()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!Ba(r)||r.length!==i.length||i.some((t,e)=>t.valueOf()!==r[e].valueOf()))return!1}return!0}(n.params,i.value.params)),s=_o(()=>r.value>-1&&r.value===n.matched.length-1&&cl(n.params,i.value.params));if(__VUE_PROD_DEVTOOLS__&&ja){const e=ro();if(e){const n={route:i.value,isActive:o.value,isExactActive:s.value,error:null};e.__vrl_devtools=e.__vrl_devtools||[],e.__vrl_devtools.push(n),Cn(()=>{n.route=i.value,n.isActive=o.value,n.isExactActive=s.value,n.error=_l(Te(t.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:i,href:_o(()=>i.value.href),isActive:o,isExactActive:s,navigate:function(n={}){if(function(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}(n)){const n=e[Te(t.replace)?"replace":"push"](Te(t.to)).catch(Ra);return t.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const wc=Un({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:xc,setup(t,{slots:e}){const n=he(xc(t)),{options:i}=Sn(Ml),r=_o(()=>({[kc(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[kc(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&(1===(o=e.default(n)).length?o[0]:o);var o;return t.custom?i:xo("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function Sc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const kc=(t,e,n)=>null!=t?t:null!=e?e:n,Cc=Un({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Sn($l),r=_o(()=>t.route||i.value),o=Sn(El,0),s=_o(()=>{let t=Te(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t}),a=_o(()=>r.value.matched[s.value]);wn(El,_o(()=>s.value+1)),wn(Pl,a),wn($l,r);const l=ke();return On(()=>[l.value,a.value,t.name],([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&ll(e,r)&&i||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=r.value,o=t.name,c=a.value,u=c&&c.components[o];if(!u)return Oc(n.default,{Component:u,route:i});const h=c.props[o],d=h?!0===h?i.params:"function"==typeof h?h(i):h:null,p=xo(u,Ia({},d,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(c.instances[o]=null)},ref:l}));if(__VUE_PROD_DEVTOOLS__&&ja&&p.ref){const t={depth:s.value,name:c.name,path:c.path,meta:c.meta};(Ba(p.ref)?p.ref.map(t=>t.i):[p.ref.i]).forEach(e=>{e.__vrv_devtools=t})}return Oc(n.default,{Component:p,route:i})||p}}});function Oc(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Ac=Cc,Tc={key:0},Pc={key:1};var Ec={props:{disableConfirm:{type:Boolean,default:!1},onConfirm:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:()=>[]}},data(){return{page:this.$router?.currentRoute?.value?this.$router.currentRoute.value.path:"/"}},computed:{pageNo(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showPrev(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev(){try{var t=this.$props.navHistory.pop();t||(t="/"+(this.pageNo-1),console.debug(`Navigation.vue: no previous page in history; using previous page by number: '${t}'`)),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},confirm(){this.$props.onConfirm?(this.$props.navHistory.push(this.page),this.$props.onConfirm()):console.debug("Navigation: confirm() called with no :onConfirm")}}};const Mc=["disabled"];Ec.render=function(t,e,n,i,r,o){return jr(),Rr("div",null,[Hr("footer",null,[o.showPrev?(jr(),Rr("button",{key:0,onClick:e[0]||(e[0]=(...t)=>o.prev&&o.prev(...t)),class:"tertiary-control","data-test":"nav-prev"},"Previous")):Yr("",!0),Oi(t.$slots,"footer"),Hr("button",{onClick:e[1]||(e[1]=(...t)=>o.confirm&&o.confirm(...t)),class:"primary",disabled:n.disableConfirm,"data-test":"nav-confirm"},"Confirm",8,Mc),Hr("button",{onClick:e[2]||(e[2]=(...t)=>o.cancel&&o.cancel(...t)),"data-test":"nav-cancel"},"Cancel")])])};var Lc={name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted(){setTimeout(()=>{this.finish()},2e3)}};const $c=Hr("span",{class:"loading"},null,-1);Lc.render=function(t,e,n,i,r,o){return jr(),Rr("div",null,[Hr("header",null,J(n.moduleName),1),Hr("section",null,[$c,Xr(" We're setting up your "+J(n.moduleName)+" step now. ",1)])])};const jc={data:()=>({isDataService:!0}),components:{LoadingScreen:Lc,Navigation:Ec},computed:{moduleName(){switch(this.$store.state.config.integration){case"leadconduit-trustedform.outbound.claim":return"Claim";case"leadconduit-trustedform.outbound.consent":return"Consent";case"leadconduit-trustedform.outbound.consent_plus_data":return"Consent + Insights";case"leadconduit-trustedform.outbound.insights":return"Insights";default:return""}}},methods:{onConfirm(){this.$router.push("/2")},finish(){this.$store.dispatch("confirm")}},mounted(){const{integration:t}=this.$store.state.config;t.includes("outbound.trustedform")?this.$router.push("/4"):t.includes("insights")||(this.isDataService=!1)}},Dc=(0,js.A)(jc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation"),a=bi("LoadingScreen");return jr(),Rr("div",null,[Hr("header",null," Set Up TrustedForm "+J(o.moduleName),1),r.isDataService?(jr(),Rr("div",Tc,[e[0]||(e[0]=Hr("section",null,[Hr("p",null," TrustedForm Insights provides lead buyers with optimized lead data that helps them assess the value of a lead. It helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections. At the time of purchase, or any time thereafter, the lead buyer can use the LeadConduit platform to access lead metadata (not PII) found in the TrustedForm certificates. "),Hr("p",null,[Hr("b",null,"Note:"),Xr(" To access TrustedForm Insights, your lead source must use the TrustedForm script on their lead forms. ")])],-1)),Ur(s,{onConfirm:o.onConfirm},null,8,["onConfirm"])])):r.isDataService?Yr("v-if",!0):(jr(),Rr("div",Pc,[Ur(a,{onFinish:o.finish,"module-name":"TrustedForm "+o.moduleName},null,8,["onFinish","module-name"])]))])}]]),Ic={class:"table-container"},Nc={data(){return{fields:this.$store.state.fieldData}},components:{Navigation:Ec},methods:{confirm(){this.$router.push("/3")}}},Rc=(0,js.A)(Nc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[2]||(e[2]=Hr("header",null," Set Up TrustedForm Insights ",-1)),Hr("section",null,[e[1]||(e[1]=Hr("p",null,"Below is a list of data points included with this enhancement. When configuring your flow, you can choose to accept, reject, or re-route leads based on each of the values returned.",-1)),Hr("div",Ic,[Hr("table",null,[e[0]||(e[0]=Hr("thead",null,[Hr("tr",null,[Hr("th",null,"Data Point"),Hr("th",null,"Description"),Hr("th",null,"Possible Use")])],-1)),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(r.fields,(t,e)=>(jr(),Rr("tr",{key:e},[Hr("td",null,J(e),1),Hr("td",null,J(t.description),1),Hr("td",null,J(t.use),1)]))),128))])])])]),Ur(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),Bc={methods:{confirm(){this.$store.dispatch("confirm")}},components:{Navigation:Ec}},Vc=(0,js.A)(Bc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[0]||(e[0]=Hr("header",null," Set Up TrustedForm Insights ",-1)),e[1]||(e[1]=Hr("section",null,[Hr("p",null," Now you’re ready to map your fields and set up the associated filters in your LeadConduit flow. ")],-1)),Ur(s,{onConfirm:o.confirm},null,8,["onConfirm"])])}]]),zc={key:0},Fc={key:1},Wc={key:2},Hc=["disabled"],Uc=["disabled"],qc=["disabled"],Gc={data(){return{loading:!0,products:this.$store.getters.getProducts,errors:this.$store.getters.getErrors,navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Ec},computed:{productsAvailable(){return this.products.retain.enabled||this.products.insights.enabled||this.products.verify.enabled}},methods:{confirm(){this.$store.commit("resetNavHistory"),this.$store.commit("setNavHistory","/4"),this.$store.state.products=this.products,this.products.insights.selected&&this.products.verify.selected?(this.$router.push("/5"),this.$store.commit("setShouldConfigVerify",!0)):this.products.insights.selected?(this.$store.commit("setShouldConfigVerify",!1),this.$router.push("/5")):this.products.verify.selected?this.$router.push("/7"):this.$store.dispatch("confirm")}},async created(){await this.$store.dispatch("getProducts"),this.loading=!1}};n(164);const Xc=(0,js.A)(Gc,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[12]||(e[12]=Hr("header",null," Add TrustedForm Add-On ",-1)),r.loading?(jr(),Rr("section",zc,[...e[3]||(e[3]=[Hr("span",{class:"loading"},null,-1),Xr(" Loading products... ",-1)])])):o.productsAvailable?(jr(),Rr("section",Wc,[Hr("form",null,[e[11]||(e[11]=Hr("h3",null,"Select the TrustedForm products to add to your flow.",-1)),Hr("p",null,"You may select all products that you would like to add to your flow. Each product will be charged depending on your contract. "+J(r.errors),1),Hr("ul",null,[Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.retain.enabled,"onUpdate:modelValue":e[0]||(e[0]=t=>r.products.retain.selected=t),id:"retain"},null,8,Hc),[[Ss,r.products.retain.selected]]),e[5]||(e[5]=Hr("label",{for:"retain"},"Retain",-1)),e[6]||(e[6]=Hr("p",{class:"help-text"},"Store consent in TrustedForm certificates for legal (TCPA) compliance.",-1))])]),Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.insights.enabled,"onUpdate:modelValue":e[1]||(e[1]=t=>r.products.insights.selected=t),id:"insights"},null,8,Uc),[[Ss,r.products.insights.selected]]),e[7]||(e[7]=Hr("label",{for:"insights"},"Insights",-1)),e[8]||(e[8]=Hr("p",{class:"help-text"},"TrustedForm Insights helps buyers identify the leads that are most likely to convert and effectively manage returns and rejections.",-1))])]),Hr("li",null,[Hr("label",null,[_n(Hr("input",{type:"checkbox",class:"fancy-checkbox",disabled:!r.products.verify.enabled,"onUpdate:modelValue":e[2]||(e[2]=t=>r.products.verify.selected=t),id:"verify"},null,8,qc),[[Ss,r.products.verify.selected]]),e[9]||(e[9]=Hr("label",{for:"verify"},"Verify",-1)),e[10]||(e[10]=Hr("p",{class:"help-text"},"Confirm that your leads were shown consent language that meets your compliance requirements.",-1))])])])])])):(jr(),Rr("section",Fc,[...e[4]||(e[4]=[Hr("p",null,[Xr(" Your account does not have access to TrustedForm. Please contact "),Hr("a",{href:"mailto:support@activeprospect.com",target:"_blank"},"support@activeprospect.com"),Xr(" if this is in error or if you would like to add TrustedForm to your account. ")],-1)])])),Ur(s,{showPrevious:!1,onConfirm:o.confirm,disableConfirm:!r.products.retain.selected&&!r.products.insights.selected&&!r.products.verify.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-4cb6d661"]]),Yc=[".indeterminate"],Kc=["id","onUpdate:modelValue"],Zc=["for"],Qc=["for"],Jc=["innerHTML"],tu={data(){return{fields:this.$store.state.v4Fields,header:!1,selected:"none",navHistory:this.$store.getters.getNavHistory}},components:{Navigation:Ec},methods:{amountSelected(){const t=Object.keys(this.fields).length,e=(0,Ta.filter)(this.fields,function(t){return t.selected}).length;return 0===e?"none":t===e?"all":"some"},toggleAll(){const t="all"!==this.amountSelected();for(const e in this.fields)this.fields[e].selected=t;this.updateHeader()},updateHeader(){this.selected=this.amountSelected(),this.header="all"===this.selected},confirm(){this.$store.commit("setNavHistory","/5");const t=this.$store.getters.getShouldConfigVerify;this.$store.state.v4Fields=this.fields,this.fields.page_scan?.selected?this.$router.push("/6"):t?this.$router.push("/7"):this.$store.dispatch("confirm")}},mounted(){this.updateHeader()}};n(924);const eu=(0,js.A)(tu,[["render",function(t,e,n,i,r,o){const s=bi("Navigation");return jr(),Rr("div",null,[e[8]||(e[8]=Hr("header",null," Configure TrustedForm Insights ",-1)),Hr("section",null,[Hr("form",null,[e[6]||(e[6]=Hr("h3",null,"Select Insights Data Points",-1)),e[7]||(e[7]=Hr("p",null,"TrustedForm Insights provides the following data related to the lead that filled out the form. Each selection of data points will be charged individually.",-1)),Hr("table",null,[Hr("thead",null,[Hr("tr",null,[Hr("th",null,[_n(Hr("input",{id:"select-all",type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e[0]||(e[0]=t=>r.header=t),".indeterminate":"some"===r.selected,onClick:e[1]||(e[1]=(...t)=>o.toggleAll&&o.toggleAll(...t))},null,40,Yc),[[Ss,r.header]]),e[3]||(e[3]=Hr("label",{for:"select-all",class:"checkbox-label"},null,-1))]),e[4]||(e[4]=Hr("th",null,[Hr("label",{for:"select-all",class:"text-label"},"Data Point")],-1)),e[5]||(e[5]=Hr("th",null,"Description",-1))])]),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(Object.keys(r.fields),t=>(jr(),Rr("tr",{key:r.fields[t].name},[Hr("td",null,[_n(Hr("input",{id:t,type:"checkbox",class:"fancy-checkbox","onUpdate:modelValue":e=>r.fields[t].selected=e,onChange:e[2]||(e[2]=(...t)=>o.updateHeader&&o.updateHeader(...t))},null,40,Kc),[[Ss,r.fields[t].selected]]),Hr("label",{for:t,class:"checkbox-label"},null,8,Zc)]),Hr("td",null,[Hr("label",{for:t,class:"text-label"},J(r.fields[t].name),9,Qc)]),Hr("td",{innerHTML:r.fields[t].description},null,8,Jc)]))),128))])])])]),Ur(s,{onConfirm:o.confirm,disableConfirm:"none"===r.selected,navHistory:r.navHistory},null,8,["onConfirm","disableConfirm","navHistory"])])}],["__scopeId","data-v-350d7264"]]);var nu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{};function iu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ru,ou={exports:{}};ru=ou,function(t){if(!t.jQuery){var e=function(t,n){return new e.fn.init(t,n)};e.isWindow=function(t){return t&&t===t.window},e.type=function(t){return t?"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t:t+""},e.isArray=Array.isArray||function(t){return"array"===e.type(t)},e.isPlainObject=function(t){var n;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return!1;try{if(t.constructor&&!r.call(t,"constructor")&&!r.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}for(n in t);return void 0===n||r.call(t,n)},e.each=function(t,e,n){var i=0,r=t.length,o=l(t);if(n){if(o)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(o)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},e.data=function(t,i,r){if(void 0===r){var o=t[e.expando],s=o&&n[o];if(void 0===i)return s;if(s&&i in s)return s[i]}else if(void 0!==i){var a=t[e.expando]||(t[e.expando]=++e.uuid);return n[a]=n[a]||{},n[a][i]=r,r}},e.removeData=function(t,i){var r=t[e.expando],o=r&&n[r];o&&(i?e.each(i,function(t,e){delete o[e]}):delete n[r])},e.extend=function(){var t,n,i,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==e.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(o=arguments[l])for(r in o)o.hasOwnProperty(r)&&(t=a[r],a!==(i=o[r])&&(u&&i&&(e.isPlainObject(i)||(n=e.isArray(i)))?(n?(n=!1,s=t&&e.isArray(t)?t:[]):s=t&&e.isPlainObject(t)?t:{},a[r]=e.extend(u,s,i)):void 0!==i&&(a[r]=i)));return a},e.queue=function(t,n,i){if(t){n=(n||"fx")+"queue";var r=e.data(t,n);return i?(!r||e.isArray(i)?r=e.data(t,n,(s=[],(o=i)&&(l(Object(o))?function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(s,"string"==typeof o?[o]:o):[].push.call(s,o)),s)):r.push(i),r):r||[]}var o,s},e.dequeue=function(t,n){e.each(t.nodeType?[t]:t,function(t,i){n=n||"fx";var r=e.queue(i,n),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===n&&r.unshift("inprogress"),o.call(i,function(){e.dequeue(i,n)}))})},e.fn=e.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var t=this[0],n=function(t){for(var e=t.offsetParent;e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase();)e=e.offsetParent;return e||document}(t),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:e(n).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var n={};e.expando="velocity"+(new Date).getTime(),e.uuid=0;for(var i={},r=i.hasOwnProperty,o=i.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)i["[object "+s[a]+"]"]=s[a].toLowerCase();e.fn.init.prototype=e.fn,t.Velocity={Utilities:e}}function l(t){var n=t.length,i=e.type(t);return"function"!==i&&!e.isWindow(t)&&(!(1!==t.nodeType||!n)||"array"===i||0===n||"number"==typeof n&&n>0&&n-1 in t)}}(window),ru.exports=function(t,e,n,i){var r,o=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return i}(),s=(r=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,n=(new Date).getTime();return e=Math.max(0,16-(n-r)),r=n+e,setTimeout(function(){t(n+e)},e)}),a=function(){var t=e.performance||{};if("function"!=typeof t.now){var n=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-n}}return t}();var l=function(){var t=Array.prototype.slice;try{return t.call(n.documentElement),t}catch{return function(e,n){var i=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof n&&(n=i),this.slice)return t.call(this,e,n);var r,o=[],s=e>=0?e:Math.max(0,i+e),a=(n<0?i+n:Math.min(n,i))-s;if(a>0)if(o=new Array(a),this.charAt)for(r=0;r<a;r++)o[r]=this.charAt(s+r);else for(r=0;r<a;r++)o[r]=this[s+r];return o}}}(),c=function(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return t.indexOf(e)>=0}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}};function u(t){return d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]),t}var h,d={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},p=!1;if(t.fn&&t.fn.jquery?(h=t,p=!0):h=e.Velocity.Utilities,o<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(o<=7)){var f=400,g="swing",m={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:g,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(t){var e=(new Date).getTime();h.each(m.State.calls,function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]={resume:!1}}}),h.each(m.State.delayedElements,function(t,n){n&&S(n,e)})},resumeAll:function(t){(new Date).getTime(),h.each(m.State.calls,function(e,n){if(n){if(t!==i&&(n[2].queue!==t||!1===n[2].queue))return!0;n[5]&&(n[5].resume=!0)}}),h.each(m.State.delayedElements,function(t,e){e&&k(e)})}};e.pageYOffset!==i?(m.State.scrollAnchor=e,m.State.scrollPropertyLeft="pageXOffset",m.State.scrollPropertyTop="pageYOffset"):(m.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,m.State.scrollPropertyLeft="scrollLeft",m.State.scrollPropertyTop="scrollTop");var v=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),c=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+c*i,n}return function t(e,i,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,h=1e-4;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,l.tension=e,l.friction=i,s=(o=null!==r)?(u=t(e,i))/r*.016:.016;a=n(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>h&&Math.abs(a.v)>h;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();m.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){m.Easings[e[0]]=O.apply(null,e[1])});var y=m.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<y.Lists.colors.length;t++){var e="color"===y.Lists.colors[t]?"0 0 0 1":"255 255 255 1";y.Hooks.templates[y.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(o)for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n)){r=(i=y.Hooks.templates[n])[0].split(" ");var s=i[1].match(y.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),s.push(s.shift()),y.Hooks.templates[n]=[r.join(" "),s.join(" ")])}for(n in y.Hooks.templates)if(y.Hooks.templates.hasOwnProperty(n))for(var a in r=(i=y.Hooks.templates[n])[0].split(" "))if(r.hasOwnProperty(a)){var l=n+r[a],c=a;y.Hooks.registered[l]=[n,c]}},getRoot:function(t){var e=y.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var n=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&c(y.Lists.units)?n:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(t,e,n){return y.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+y.Lists.colorNames[n]+(e?"":",1)"):e+n})},cleanRootPropertyValue:function(t,e){return y.RegEx.valueUnwrap.test(e)&&(e=e.match(y.RegEx.valueUnwrap)[1]),y.Values.isCSSNullValue(e)&&(e=y.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=y.Hooks.registered[t];if(n){var i=n[0],r=n[1];return(e=y.Hooks.cleanRootPropertyValue(i,e)).toString().match(y.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=y.Hooks.registered[t];if(i){var r,o=i[0],s=i[1];return(r=(n=y.Hooks.cleanRootPropertyValue(o,n)).toString().match(y.RegEx.valueSplit))[s]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return y.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(y.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return m.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(o<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){(!o||o>9)&&!m.State.isGingerbread&&(y.Lists.transformsBase=y.Lists.transformsBase.concat(y.Lists.transforms3D));for(var t=0;t<y.Lists.transformsBase.length;t++)(function(){var e=y.Lists.transformsBase[t];y.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return w(n)===i||w(n).transformCache[e]===i?/^scale/i.test(e)?1:0:w(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":m.State.isAndroid&&w(n).transformCache[e]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(w(n).transformCache[e]="("+r+")"),w(n).transformCache[e]}}})();for(var e=0;e<y.Lists.colors.length;e++)(function(){var t=y.Lists.colors[e];y.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var s;if(y.RegEx.wrappedValueAlreadyExtracted.test(r))s=r;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=l[r]!==i?l[r]:l.black:y.RegEx.isHex.test(r)?a="rgb("+y.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=l.black),s=(a||r).toString().match(y.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!o||o>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(r)?r:(o<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(o<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}})();function n(t,e,n){if("border-box"===y.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(n||!1)){var i,r,o=0,s="width"===t?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(i=0;i<a.length;i++)r=parseFloat(y.getPropertyValue(e,a[i])),isNaN(r)||(o+=r);return n?-o:o}return 0}function r(t,e){return function(i,r,o){switch(i){case"name":return t;case"extract":return parseFloat(o)+n(t,r,e);case"inject":return parseFloat(o)-n(t,r,e)+"px"}}}y.Normalizations.registered.innerWidth=r("width",!0),y.Normalizations.registered.innerHeight=r("height",!0),y.Normalizations.registered.outerWidth=r("width"),y.Normalizations.registered.outerHeight=r("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(o||m.State.isAndroid&&!m.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(m.State.prefixMatches[t])return[m.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),d.isString(m.State.prefixElement.style[r]))return m.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,n,i){return e+e+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n+(n?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var n=t.getAttribute(o<=7?"className":"class")||"";t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,n,r,s){function a(t,n){var r=0;if(o<=8)r=h.css(t,n);else{var l=!1;/^(width|height)$/.test(n)&&0===y.getPropertyValue(t,"display")&&(l=!0,y.setPropertyValue(t,"display",y.Values.getDisplayType(t)));var c,u=function(){l&&y.setPropertyValue(t,"display","none")};if(!s){if("height"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetHeight-(parseFloat(y.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(y.getPropertyValue(t,"paddingBottom"))||0);return u(),d}if("width"===n&&"border-box"!==y.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetWidth-(parseFloat(y.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(y.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(y.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(y.getPropertyValue(t,"paddingRight"))||0);return u(),p}}c=w(t)===i?e.getComputedStyle(t,null):w(t).computedStyle?w(t).computedStyle:w(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),(""===(r=9===o&&"filter"===n?c.getPropertyValue(n):c[n])||null===r)&&(r=t.style[n]),u()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(n)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(n))&&(r=h(t).position()[n]+"px")}return r}var l;if(y.Hooks.registered[n]){var c=n,u=y.Hooks.getRoot(c);r===i&&(r=y.getPropertyValue(t,y.Names.prefixCheck(u)[0])),y.Normalizations.registered[u]&&(r=y.Normalizations.registered[u]("extract",t,r)),l=y.Hooks.extractValue(c,r)}else if(y.Normalizations.registered[n]){var d,p;"transform"!==(d=y.Normalizations.registered[n]("name",t))&&(p=a(t,y.Names.prefixCheck(d)[0]),y.Values.isCSSNullValue(p)&&y.Hooks.templates[n]&&(p=y.Hooks.templates[n][1])),l=y.Normalizations.registered[n]("extract",t,p)}if(!/^[\d-]/.test(l)){var f=w(t);if(f&&f.isSVG&&y.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch{l=0}else l=t.getAttribute(n);else l=a(t,y.Names.prefixCheck(n)[0])}return y.Values.isCSSNullValue(l)&&(l=0),m.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,s){var a=n;if("scroll"===n)s.container?s.container["scroll"+s.direction]=i:"Left"===s.direction?e.scrollTo(i,s.alternateValue):e.scrollTo(s.alternateValue,i);else if(y.Normalizations.registered[n]&&"transform"===y.Normalizations.registered[n]("name",t))y.Normalizations.registered[n]("inject",t,i),a="transform",i=w(t).transformCache[n];else{if(y.Hooks.registered[n]){var l=n,c=y.Hooks.getRoot(n);r=r||y.getPropertyValue(t,c),i=y.Hooks.injectValue(l,i,r),n=c}if(y.Normalizations.registered[n]&&(i=y.Normalizations.registered[n]("inject",t,i),n=y.Normalizations.registered[n]("name",t)),a=y.Names.prefixCheck(n)[0],o<=8)try{t.style[a]=i}catch{m.debug&&console.log("Browser does not support ["+i+"] for ["+a+"]")}else{var u=w(t);u&&u.isSVG&&y.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[a]=i}m.debug>=2&&console.log("Set "+n+" ("+a+"): "+i)}return[a,i]},flushTransformCache:function(t){var e="",n=w(t);if((o||m.State.isAndroid&&!m.State.isChrome)&&n&&n.isSVG){var i=function(e){return parseFloat(y.getPropertyValue(t,e))},r={translate:[i("translateX"),i("translateY")],skewX:[i("skewX")],skewY:[i("skewY")],scale:1!==i("scale")?[i("scale"),i("scale")]:[i("scaleX"),i("scaleY")],rotate:[i("rotateZ"),0,0]};h.each(w(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(e+=t+"("+r[t].join(" ")+") ",delete r[t])})}else{var s,a;h.each(w(t).transformCache,function(n){if(s=w(t).transformCache[n],"transformPerspective"===n)return a=s,!0;9===o&&"rotateZ"===n&&(n="rotate"),e+=n+s+" "}),a&&(e="perspective"+a+" "+e)}y.setPropertyValue(t,"transform",e)}};y.Hooks.register(),y.Normalizations.register(),m.hook=function(t,e,n){var r;return t=u(t),h.each(t,function(t,o){if(w(o)===i&&m.init(o),n===i)r===i&&(r=y.getPropertyValue(o,e));else{var s=y.setPropertyValue(o,e,n);"transform"===s[0]&&m.CSS.flushTransformCache(o),r=s}}),r};var b=function(){var t;function r(){return o?_.promise||null:s}var o,s,a,l,p,g,v=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(o=!1,a=0,l=this,s=this):(o=!0,a=1,l=v?arguments[0].elements||arguments[0].e:arguments[0]);var _={promise:null,resolver:null,rejecter:null};if(o&&m.Promise&&(_.promise=new m.Promise(function(t,e){_.resolver=t,_.rejecter=e})),v?(p=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(p=arguments[a],g=arguments[a+1]),l=u(l)){var x,C=l.length,O=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!h.isPlainObject(g)){g={};for(var E=a+1;E<arguments.length;E++)d.isArray(arguments[E])||!/^(fast|normal|slow)$/i.test(arguments[E])&&!/^\d/.test(arguments[E])?d.isString(arguments[E])||d.isArray(arguments[E])?g.easing=arguments[E]:d.isFunction(arguments[E])&&(g.complete=arguments[E]):g.duration=arguments[E]}switch(p){case"scroll":x="scroll";break;case"reverse":x="reverse";break;case"pause":var M=(new Date).getTime();return h.each(l,function(t,e){S(e,M)}),h.each(m.State.calls,function(t,e){var n=!1;e&&h.each(e[1],function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||(h.each(l,function(t,i){if(i===r)return e[5]={resume:!1},n=!0,!1}),!n&&void 0)})}),r();case"resume":return h.each(l,function(t,e){k(e)}),h.each(m.State.calls,function(t,e){var n=!1;e&&h.each(e[1],function(t,r){var o=g===i?"":g;return!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue)||!e[5]||(h.each(l,function(t,i){if(i===r)return e[5].resume=!0,n=!0,!1}),!n&&void 0)})}),r();case"finish":case"finishAll":case"stop":h.each(l,function(t,e){w(e)&&w(e).delayTimer&&(clearTimeout(w(e).delayTimer.setTimeout),w(e).delayTimer.next&&w(e).delayTimer.next(),delete w(e).delayTimer),"finishAll"===p&&(!0===g||d.isString(g))&&(h.each(h.queue(e,d.isString(g)?g:""),function(t,e){d.isFunction(e)&&e()}),h.queue(e,d.isString(g)?g:"",[]))});var L=[];return h.each(m.State.calls,function(t,e){e&&h.each(e[1],function(n,r){var o=g===i?"":g;if(!0!==o&&e[2].queue!==o&&(g!==i||!1!==e[2].queue))return!0;h.each(l,function(n,i){if(i===r)if((!0===g||d.isString(g))&&(h.each(h.queue(i,d.isString(g)?g:""),function(t,e){d.isFunction(e)&&e(null,!0)}),h.queue(i,d.isString(g)?g:"",[])),"stop"===p){var s=w(i);s&&s.tweensContainer&&(!0===o||""===o)&&h.each(s.tweensContainer,function(t,e){e.endValue=e.currentValue}),L.push(t)}else("finish"===p||"finishAll"===p)&&(e[2].duration=1)})})}),"stop"===p&&(h.each(L,function(t,e){P(e,!0)}),_.promise&&_.resolver(l)),r();default:if(!h.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&m.Redirects[p]){var $=(t=h.extend({},g)).duration,j=t.delay||0;return!0===t.backwards&&(l=h.extend(!0,[],l).reverse()),h.each(l,function(e,n){parseFloat(t.stagger)?t.delay=j+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=j+t.stagger.call(n,e,C)),t.drag&&(t.duration=parseFloat($)||(/^(callout|transition)/.test(p)?1e3:400),t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)),m.Redirects[p].call(n,n,t||{},e,C,l,_.promise?_:i)}),r()}var D="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return _.promise?_.rejecter(new Error(D)):e.console&&console.log(D),r()}x="start"}var I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];h.each(l,function(t,r){d.isNode(r)&&function(t,r){var o,s=h.extend({},m.defaults,g),a={};switch(w(t)===i&&m.init(t),parseFloat(s.delay)&&!1!==s.queue&&h.queue(t,s.queue,function(e,n){if(!0===n)return!0;m.velocityQueueEntryFlag=!0;var i=m.State.delayedElements.count++;m.State.delayedElements[i]=t;var r=function(t){return function(){m.State.delayedElements[t]=!1,e()}}(i);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:r}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=f;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}function u(u){var f,v;if(s.begin&&0===O)try{s.begin.call(l,l)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===x){var b,S,k,P=/^x$/i.test(s.axis)?"Left":"Top",E=parseFloat(s.offset)||0;s.container?d.isWrapped(s.container)||d.isNode(s.container)?(s.container=s.container[0]||s.container,k=(b=s.container["scroll"+P])+h(t).position()[P.toLowerCase()]+E):s.container=null:(b=m.State.scrollAnchor[m.State["scrollProperty"+P]],S=m.State.scrollAnchor[m.State["scrollProperty"+("Left"===P?"Top":"Left")]],k=h(t).offset()[P.toLowerCase()]+E),a={scroll:{rootPropertyValue:!1,startValue:b,currentValue:b,endValue:k,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:P,alternateValue:S}},element:t},m.debug&&console.log("tweensContainer (scroll): ",a.scroll,t)}else if("reverse"===x){if(!(f=w(t)))return;if(!f.tweensContainer)return void h.dequeue(t,s.queue);for(var M in"none"===f.opts.display&&(f.opts.display="auto"),"hidden"===f.opts.visibility&&(f.opts.visibility="visible"),f.opts.loop=!1,f.opts.begin=null,f.opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=h.extend({},f.opts,s),v=h.extend(!0,{},f?f.tweensContainer:null))if(v.hasOwnProperty(M)&&"element"!==M){var L=v[M].startValue;v[M].startValue=v[M].currentValue=v[M].endValue,v[M].endValue=L,d.isEmptyObject(g)||(v[M].easing=s.easing),m.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(v[M]),t)}a=v}else if("start"===x){(f=w(t))&&f.tweensContainer&&!0===f.isAnimating&&(v=f.tweensContainer);var $=function(e,n){var i,o,a;return d.isFunction(e)&&(e=e.call(t,r,C)),d.isArray(e)?(i=e[0],!d.isArray(e[1])&&/^[\d-]/.test(e[1])||d.isFunction(e[1])||y.RegEx.isHex.test(e[1])?a=e[1]:d.isString(e[1])&&!y.RegEx.isHex.test(e[1])&&m.Easings[e[1]]||d.isArray(e[1])?(o=n?e[1]:A(e[1],s.duration),a=e[2]):a=e[1]||e[2]):i=e,n||(o=o||s.easing),d.isFunction(i)&&(i=i.call(t,r,C)),d.isFunction(a)&&(a=a.call(t,r,C)),[i||0,o,a]},j=function(r,l){var c,u=y.Hooks.getRoot(r),p=!1,g=l[0],b=l[1],_=l[2];if(f&&f.isSVG||"tween"===u||!1!==y.Names.prefixCheck(u)[1]||y.Normalizations.registered[u]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(r)&&!_&&0!==g&&(_=0),s._cacheValues&&v&&v[r]?(_===i&&(_=v[r].endValue+v[r].unitType),p=f.rootPropertyValueCache[u]):y.Hooks.registered[r]?_===i?(p=y.getPropertyValue(t,u),_=y.getPropertyValue(t,r,p)):p=y.Hooks.templates[u][1]:_===i&&(_=y.getPropertyValue(t,r));var x,w,S,k=!1,C=function(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=y.Values.getUnitType(t)),[i,n]};if(_!==g&&d.isString(_)&&d.isString(g)){c="";var O=0,A=0,T=[],P=[],E=0,M=0,L=0;for(_=y.Hooks.fixColors(_),g=y.Hooks.fixColors(g);O<_.length&&A<g.length;){var $=_[O],j=g[A];if(/[\d\.-]/.test($)&&/[\d\.-]/.test(j)){for(var D=$,N=j,R=".",B=".";++O<_.length;){if(($=_[O])===R)R="..";else if(!/\d/.test($))break;D+=$}for(;++A<g.length;){if((j=g[A])===B)B="..";else if(!/\d/.test(j))break;N+=j}var V=y.Hooks.getUnit(_,O),z=y.Hooks.getUnit(g,A);if(O+=V.length,A+=z.length,V===z)D===N?c+=D+V:(c+="{"+T.length+(M?"!":"")+"}"+V,T.push(parseFloat(D)),P.push(parseFloat(N)));else{var F=parseFloat(D),W=parseFloat(N);c+=(E<5?"calc":"")+"("+(F?"{"+T.length+(M?"!":"")+"}":"0")+V+" + "+(W?"{"+(T.length+(F?1:0))+(M?"!":"")+"}":"0")+z+")",F&&(T.push(F),P.push(0)),W&&(T.push(0),P.push(W))}}else{if($!==j){E=0;break}c+=$,O++,A++,0===E&&"c"===$||1===E&&"a"===$||2===E&&"l"===$||3===E&&"c"===$||E>=4&&"("===$?E++:(E&&E<5||E>=4&&")"===$&&--E<5)&&(E=0),0===M&&"r"===$||1===M&&"g"===$||2===M&&"b"===$||3===M&&"a"===$||M>=3&&"("===$?(3===M&&"a"===$&&(L=1),M++):L&&","===$?++L>3&&(M=L=0):(L&&M<(L?5:4)||M>=(L?4:3)&&")"===$&&--M<(L?5:4))&&(M=L=0)}}(O!==_.length||A!==g.length)&&(m.debug&&console.error('Trying to pattern match mis-matched strings ["'+g+'", "'+_+'"]'),c=i),c&&(T.length?(m.debug&&console.log('Pattern found "'+c+'" -> ',T,P,"["+_+","+g+"]"),_=T,g=P,w=S=""):c=i)}c||(_=(x=C(r,_))[0],S=x[1],g=(x=C(r,g))[0].replace(/^([+-\/*])=/,function(t,e){return k=e,""}),w=x[1],_=parseFloat(_)||0,g=parseFloat(g)||0,"%"===w&&(/^(fontSize|lineHeight)$/.test(r)?(g/=100,w="em"):/^scale/.test(r)?(g/=100,w=""):/(Red|Green|Blue)$/i.test(r)&&(g=g/100*255,w="")));var H=function(){var i={myParent:t.parentNode||n.body,position:y.getPropertyValue(t,"position"),fontSize:y.getPropertyValue(t,"fontSize")},r=i.position===I.lastPosition&&i.myParent===I.lastParent,o=i.fontSize===I.lastFontSize;I.lastParent=i.myParent,I.lastPosition=i.position,I.lastFontSize=i.fontSize;var s=100,a={};if(o&&r)a.emToPx=I.lastEmToPx,a.percentToPxWidth=I.lastPercentToPxWidth,a.percentToPxHeight=I.lastPercentToPxHeight;else{var l=f&&f.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");m.init(l),i.myParent.appendChild(l),h.each(["overflow","overflowX","overflowY"],function(t,e){m.CSS.setPropertyValue(l,e,"hidden")}),m.CSS.setPropertyValue(l,"position",i.position),m.CSS.setPropertyValue(l,"fontSize",i.fontSize),m.CSS.setPropertyValue(l,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){m.CSS.setPropertyValue(l,e,s+"%")}),m.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(y.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(y.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=I.lastEmToPx=(parseFloat(y.getPropertyValue(l,"paddingLeft"))||1)/s,i.myParent.removeChild(l)}return null===I.remToPx&&(I.remToPx=parseFloat(y.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(e.innerWidth)/100,I.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=I.remToPx,a.vwToPx=I.vwToPx,a.vhToPx=I.vhToPx,m.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t),a};if(/[\/*]/.test(k))w=S;else if(S!==w&&0!==_)if(0===g)w=S;else{o=o||H();var U=/margin|padding|left|right|width|text|word|letter/i.test(r)||/X$/.test(r)||"x"===r?"x":"y";switch(S){case"%":_*="x"===U?o.percentToPxWidth:o.percentToPxHeight;break;case"px":break;default:_*=o[S+"ToPx"]}switch(w){case"%":_*=1/("x"===U?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;default:_*=1/o[w+"ToPx"]}}switch(k){case"+":g=_+g;break;case"-":g=_-g;break;case"*":g*=_;break;case"/":g=_/g}a[r]={rootPropertyValue:p,startValue:_,currentValue:_,endValue:g,unitType:w,easing:b},c&&(a[r].pattern=c),m.debug&&console.log("tweensContainer ("+r+"): "+JSON.stringify(a[r]),t)}else m.debug&&console.log("Skipping ["+u+"] due to a lack of browser support.")};for(var D in p)if(p.hasOwnProperty(D)){var R=y.Names.camelCase(D),B=$(p[D]);if(c(y.Lists.colors)){var V=B[0],z=B[1],F=B[2];if(y.RegEx.isHex.test(V)){for(var W=["Red","Green","Blue"],H=y.Values.hexToRgb(V),U=F?y.Values.hexToRgb(F):i,q=0;q<W.length;q++){var G=[H[q]];z&&G.push(z),U!==i&&G.push(U[q]),j(R+W[q],G)}continue}}j(R,B)}a.element=t}a.element&&(y.Values.addClass(t,"velocity-animating"),N.push(a),(f=w(t))&&(""===s.queue&&(f.tweensContainer=a,f.opts=s),f.isAnimating=!0),O===C-1?(m.State.calls.push([N,l,s,null,_.resolver,null,0]),!1===m.State.isTicking&&(m.State.isTicking=!0,T())):O++)}if(!1!==m.mock&&(!0===m.mock?s.duration=s.delay=1:(s.duration*=parseFloat(m.mock)||1,s.delay*=parseFloat(m.mock)||1)),s.easing=A(s.easing,s.duration),s.begin&&!d.isFunction(s.begin)&&(s.begin=null),s.progress&&!d.isFunction(s.progress)&&(s.progress=null),s.complete&&!d.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=m.CSS.Values.getDisplayType(t))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&m.State.isMobile&&!m.State.isGingerbread,!1===s.queue)if(s.delay){var v=m.State.delayedElements.count++;m.State.delayedElements[v]=t;var b=function(t){return function(){m.State.delayedElements[t]=!1,u()}}(v);w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(s.delay),w(t).delayTimer={setTimeout:setTimeout(u,parseFloat(s.delay)),next:b}}else u();else h.queue(t,s.queue,function(t,e){if(!0===e)return _.promise&&_.resolver(l),!0;m.velocityQueueEntryFlag=!0,u()});(""===s.queue||"fx"===s.queue)&&"inprogress"!==h.queue(t)[0]&&h.dequeue(t)}(r,t)}),(t=h.extend({},m.defaults,g)).loop=parseInt(t.loop,10);var R=2*t.loop-1;if(t.loop)for(var B=0;B<R;B++){var V={delay:t.delay,progress:t.progress};B===R-1&&(V.display=t.display,V.visibility=t.visibility,V.complete=t.complete),b(l,"reverse",V)}return r()}_.promise&&(p&&g&&!1===g.promiseRejectEmpty?_.resolver():_.rejecter())};(m=h.extend(b,m)).animate=b;var _=e.requestAnimationFrame||s;if(!m.State.isMobile&&n.hidden!==i){var x=function(){n.hidden?(_=function(t){return setTimeout(function(){t(!0)},16)},T()):_=e.requestAnimationFrame||s};x(),n.addEventListener("visibilitychange",x)}return t.Velocity=m,t!==e&&(t.fn.velocity=b,t.fn.velocity.defaults=m.defaults),h.each(["Down","Up"],function(t,e){m.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===i&&(l.display="Down"===e?"inline"===m.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var n in 0===r&&c&&c.call(s,s),p)if(p.hasOwnProperty(n)){d[n]=t.style[n];var i=y.getPropertyValue(t,n);p[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);r===o-1&&(u&&u.call(s,s),a&&a.resolver(s))},m(t,p,l)}}),h.each(["In","Out"],function(t,e){m.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),c=l.complete,u={opacity:"In"===e?1:0};0!==r&&(l.begin=null),l.complete=r!==o-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),m(this,u,l)}}),m}function w(t){var e=h.data(t,"velocity");return null===e?i:e}function S(t,e){var n=w(t);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-e+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function k(t,e){var n=w(t);n&&n.delayTimer&&n.delayPaused&&(n.delayPaused=!1,n.delayTimer.setTimeout=setTimeout(n.delayTimer.next,n.delayRemaining))}function C(t){return function(e){return Math.round(e*t)*(1/t)}}function O(t,n,i,r){var o=.1,s="Float32Array"in e;if(4!==arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var l=s?new Float32Array(11):new Array(11);function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function h(t){return 3*t}function d(t,e,n){return((c(e,n)*t+u(e,n))*t+h(e))*t}function p(t,e,n){return 3*c(e,n)*t*t+2*u(e,n)*t+h(e)}function f(e){for(var n=0,r=1;10!==r&&l[r]<=e;++r)n+=o;--r;var s=n+(e-l[r])/(l[r+1]-l[r])*o,a=p(s,t,i);return a>=.001?function(e,n){for(var r=0;r<4;++r){var o=p(n,t,i);if(0===o)return n;n-=(d(n,t,i)-e)/o}return n}(e,s):0===a?s:function(e,n,r){var o,s,a=0;do{(o=d(s=n+(r-n)/2,t,i)-e)>0?r=s:n=s}while(Math.abs(o)>1e-7&&++a<10);return s}(e,n,n+o)}var g=!1;function m(){g=!0,(t!==n||i!==r)&&function(){for(var e=0;e<11;++e)l[e]=d(e*o,t,i)}()}var v=function(e){return g||m(),t===n&&i===r?e:0===e?0:1===e?1:d(f(e),n,r)};v.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var y="generateBezier("+[t,n,i,r]+")";return v.toString=function(){return y},v}function A(t,e){var n=t;return d.isString(t)?m.Easings[t]||(n=!1):n=d.isArray(t)&&1===t.length?C.apply(null,t):d.isArray(t)&&2===t.length?v.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&O.apply(null,t),!1===n&&(n=m.Easings[m.defaults.easing]?m.defaults.easing:g),n}function T(t){if(t){var e=m.timestamp&&!0!==t?t:a.now(),n=m.State.calls.length;n>1e4&&(m.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}(m.State.calls),n=m.State.calls.length);for(var r=0;r<n;r++)if(m.State.calls[r]){var s=m.State.calls[r],l=s[0],c=s[2],u=s[3],p=!u,f=null,g=s[5],v=s[6];if(u||(u=m.State.calls[r][3]=e-16),g){if(!0!==g.resume)continue;u=s[3]=Math.round(e-v-16),s[5]=null}v=s[6]=e-u;for(var b=Math.min(v/c.duration,1),x=0,S=l.length;x<S;x++){var k=l[x],C=k.element;if(w(C)){var O=!1;if(c.display!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){h.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){y.setPropertyValue(C,"display",e)})}y.setPropertyValue(C,"display",c.display)}for(var A in c.visibility!==i&&"hidden"!==c.visibility&&y.setPropertyValue(C,"visibility",c.visibility),k)if(k.hasOwnProperty(A)&&"element"!==A){var E,M=k[A],L=d.isString(M.easing)?m.Easings[M.easing]:M.easing;if(d.isString(M.pattern)){var $=1===b?function(t,e,n){var i=M.endValue[e];return n?Math.round(i):i}:function(t,e,n){var i=M.startValue[e],r=M.endValue[e]-i,o=i+r*L(b,c,r);return n?Math.round(o):o};E=M.pattern.replace(/{(\d+)(!)?}/g,$)}else if(1===b)E=M.endValue;else{var j=M.endValue-M.startValue;E=M.startValue+j*L(b,c,j)}if(!p&&E===M.currentValue)continue;if(M.currentValue=E,"tween"===A)f=E;else{var D;if(y.Hooks.registered[A]){D=y.Hooks.getRoot(A);var I=w(C).rootPropertyValueCache[D];I&&(M.rootPropertyValue=I)}var N=y.setPropertyValue(C,A,M.currentValue+(o<9&&0===parseFloat(E)?"":M.unitType),M.rootPropertyValue,M.scrollData);y.Hooks.registered[A]&&(y.Normalizations.registered[D]?w(C).rootPropertyValueCache[D]=y.Normalizations.registered[D]("extract",null,N[1]):w(C).rootPropertyValueCache[D]=N[1]),"transform"===N[0]&&(O=!0)}}c.mobileHA&&w(C).transformCache.translate3d===i&&(w(C).transformCache.translate3d="(0px, 0px, 0px)",O=!0),O&&y.flushTransformCache(C)}}c.display!==i&&"none"!==c.display&&(m.State.calls[r][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(m.State.calls[r][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],b,Math.max(0,u+c.duration-e),u,f),1===b&&P(r)}}m.State.isTicking&&_(T)}function P(t,e){if(!m.State.calls[t])return!1;for(var n=m.State.calls[t][0],r=m.State.calls[t][1],o=m.State.calls[t][2],s=m.State.calls[t][4],a=!1,l=0,c=n.length;l<c;l++){var u=n[l].element;!e&&!o.loop&&("none"===o.display&&y.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&y.setPropertyValue(u,"visibility",o.visibility));var d=w(u);if(!0!==o.loop&&(h.queue(u)[1]===i||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;h.each(y.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=d.transformCache[e];d.transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete d.transformCache[e])}),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&y.flushTransformCache(u),y.Values.removeClass(u,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}s&&!0!==o.loop&&s(r),d&&!0===o.loop&&!e&&(h.each(d.tweensContainer,function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0){var n=e.startValue;e.startValue=e.endValue,e.endValue=n}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),m(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&h.dequeue(u,o.queue)}m.State.calls[t]=!1;for(var f=0,g=m.State.calls.length;f<g;f++)if(!1!==m.State.calls[f]){a=!0;break}!1===a&&(m.State.isTicking=!1,delete m.State.calls,m.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0);const su=iu(ou.exports);var au={exports:{}};!function(t,e){(function(){var n,i="Expected a function",r="__lodash_hash_undefined__",o="__lodash_placeholder__",s=32,a=128,l=1/0,c=9007199254740991,u=NaN,h=4294967295,d=h-1,p=h>>>1,f=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",_="[object Function]",x="[object GeneratorFunction]",w="[object Map]",S="[object Number]",k="[object Object]",C="[object Promise]",O="[object RegExp]",A="[object Set]",T="[object String]",P="[object Symbol]",E="[object WeakMap]",M="[object ArrayBuffer]",L="[object DataView]",$="[object Float32Array]",j="[object Float64Array]",D="[object Int8Array]",I="[object Int16Array]",N="[object Int32Array]",R="[object Uint8Array]",B="[object Uint8ClampedArray]",V="[object Uint16Array]",z="[object Uint32Array]",F=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),X=RegExp(q.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,ut=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dt=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,vt=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,xt="\\ud800-\\udfff",wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Ot="\\ufe0e\\ufe0f",At="\\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",Tt="["+xt+"]",Pt="["+At+"]",Et="["+wt+"]",Mt="\\d+",Lt="["+St+"]",$t="["+kt+"]",jt="[^"+xt+At+Mt+St+kt+Ct+"]",Dt="\\ud83c[\\udffb-\\udfff]",It="[^"+xt+"]",Nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",Bt="["+Ct+"]",Vt="\\u200d",zt="(?:"+$t+"|"+jt+")",Ft="(?:"+Bt+"|"+jt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Et+"|"+Dt+")?",qt="["+Ot+"]?",Gt=qt+Ut+"(?:"+Vt+"(?:"+[It,Nt,Rt].join("|")+")"+qt+Ut+")*",Xt="(?:"+[Lt,Nt,Rt].join("|")+")"+Gt,Yt="(?:"+[It+Et+"?",Et,Nt,Rt,Tt].join("|")+")",Kt=RegExp("['’]","g"),Zt=RegExp(Et,"g"),Qt=RegExp(Dt+"(?="+Dt+")|"+Yt+Gt,"g"),Jt=RegExp([Bt+"?"+$t+"+"+Wt+"(?="+[Pt,Bt,"$"].join("|")+")",Ft+"+"+Ht+"(?="+[Pt,Bt+zt,"$"].join("|")+")",Bt+"?"+zt+"+"+Wt,Bt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Xt].join("|"),"g"),te=RegExp("["+Vt+xt+wt+Ot+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],ie=-1,re={};re[$]=re[j]=re[D]=re[I]=re[N]=re[R]=re[B]=re[V]=re[z]=!0,re[g]=re[m]=re[M]=re[v]=re[L]=re[y]=re[b]=re[_]=re[w]=re[S]=re[k]=re[O]=re[A]=re[T]=re[E]=!1;var oe={};oe[g]=oe[m]=oe[M]=oe[L]=oe[v]=oe[y]=oe[$]=oe[j]=oe[D]=oe[I]=oe[N]=oe[w]=oe[S]=oe[k]=oe[O]=oe[A]=oe[T]=oe[P]=oe[R]=oe[B]=oe[V]=oe[z]=!0,oe[b]=oe[_]=oe[E]=!1;var se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ae=parseFloat,le=parseInt,ce="object"==typeof nu&&nu&&nu.Object===Object&&nu,ue="object"==typeof self&&self&&self.Object===Object&&self,he=ce||ue||Function("return this")(),de=e&&!e.nodeType&&e,pe=de&&t&&!t.nodeType&&t,fe=pe&&pe.exports===de,ge=fe&&ce.process,me=function(){try{return pe&&pe.require&&pe.require("util").types||ge&&ge.binding&&ge.binding("util")}catch{}}(),ve=me&&me.isArrayBuffer,ye=me&&me.isDate,be=me&&me.isMap,_e=me&&me.isRegExp,xe=me&&me.isSet,we=me&&me.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var s=t[r];e(i,s,n(s),t)}return i}function Ce(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function Te(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o}function Pe(t,e){return!(null==t||!t.length)&&Be(t,e,0)>-1}function Ee(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function Me(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function Le(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function $e(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function je(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function De(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var Ie=We("length");function Ne(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function Re(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function Be(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):Re(t,ze,n)}function Ve(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function ze(t){return t!=t}function Fe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:u}function We(t){return function(e){return null==e?n:e[t]}}function He(t){return function(e){return null==t?n:t[e]}}function Ue(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function qe(t,e){for(var i,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==n&&(i=i===n?s:i+s)}return i}function Ge(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Xe(t){return t&&t.slice(0,hn(t)+1).replace(it,"")}function Ye(t){return function(e){return t(e)}}function Ke(t,e){return Me(e,function(e){return t[e]})}function Ze(t,e){return t.has(e)}function Qe(t,e){for(var n=-1,i=t.length;++n<i&&Be(e,t[n],0)>-1;);return n}function Je(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}var tn=He({À:"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:"'n",ſ:"s"}),en=He({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(t){return"\\"+se[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function sn(t,e){return function(n){return t(e(n))}}function an(t,e){for(var n=-1,i=t.length,r=0,s=[];++n<i;){var a=t[n];(a===e||a===o)&&(t[n]=o,s[r++]=n)}return s}function ln(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){return rn(t)?function(t){for(var e=Qt.lastIndex=0;Qt.test(t);)++e;return e}(t):Ie(t)}function un(t){return rn(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&rt.test(t.charAt(e)););return e}var dn=He({"&":"&","<":"<",">":">",""":'"',"'":"'"}),pn=function t(e){var rt,xt=(e=null==e?he:pn.defaults(he.Object(),e,pn.pick(he,ne))).Array,wt=e.Date,St=e.Error,kt=e.Function,Ct=e.Math,Ot=e.Object,At=e.RegExp,Tt=e.String,Pt=e.TypeError,Et=xt.prototype,Mt=kt.prototype,Lt=Ot.prototype,$t=e["__core-js_shared__"],jt=Mt.toString,Dt=Lt.hasOwnProperty,It=0,Nt=(rt=/[^.]+$/.exec($t&&$t.keys&&$t.keys.IE_PROTO||""))?"Symbol(src)_1."+rt:"",Rt=Lt.toString,Bt=jt.call(Ot),Vt=he._,zt=At("^"+jt.call(Dt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=fe?e.Buffer:n,Wt=e.Symbol,Ht=e.Uint8Array,Ut=Ft?Ft.allocUnsafe:n,qt=sn(Ot.getPrototypeOf,Ot),Gt=Ot.create,Xt=Lt.propertyIsEnumerable,Yt=Et.splice,Qt=Wt?Wt.isConcatSpreadable:n,te=Wt?Wt.iterator:n,se=Wt?Wt.toStringTag:n,ce=function(){try{var t=co(Ot,"defineProperty");return t({},"",{}),t}catch{}}(),ue=e.clearTimeout!==he.clearTimeout&&e.clearTimeout,de=wt&&wt.now!==he.Date.now&&wt.now,pe=e.setTimeout!==he.setTimeout&&e.setTimeout,ge=Ct.ceil,me=Ct.floor,Ie=Ot.getOwnPropertySymbols,He=Ft?Ft.isBuffer:n,fn=e.isFinite,gn=Et.join,mn=sn(Ot.keys,Ot),vn=Ct.max,yn=Ct.min,bn=wt.now,_n=e.parseInt,xn=Ct.random,wn=Et.reverse,Sn=co(e,"DataView"),kn=co(e,"Map"),Cn=co(e,"Promise"),On=co(e,"Set"),An=co(e,"WeakMap"),Tn=co(Ot,"create"),Pn=An&&new An,En={},Mn=Ro(Sn),Ln=Ro(kn),$n=Ro(Cn),jn=Ro(On),Dn=Ro(An),In=Wt?Wt.prototype:n,Nn=In?In.valueOf:n,Rn=In?In.toString:n;function Bn(t){if(ea(t)&&!Hs(t)&&!(t instanceof Wn)){if(t instanceof Fn)return t;if(Dt.call(t,"__wrapped__"))return Bo(t)}return new Fn(t)}var Vn=function(){function t(){}return function(e){if(!ta(e))return{};if(Gt)return Gt(e);t.prototype=e;var i=new t;return t.prototype=n,i}}();function zn(){}function Fn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Hn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new qn;++e<n;)this.add(t[e])}function Xn(t){var e=this.__data__=new Un(t);this.size=e.size}function Yn(t,e){var n=Hs(t),i=!n&&Ws(t),r=!n&&!i&&Xs(t),o=!n&&!i&&!r&&ca(t),s=n||i||r||o,a=s?Ge(t.length,Tt):[],l=a.length;for(var c in t)(e||Dt.call(t,c))&&(!s||!("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vo(c,l)))&&a.push(c);return a}function Kn(t){var e=t.length;return e?t[qi(0,e-1)]:n}function Zn(t,e){return $o(Ar(t),si(e,0,t.length))}function Qn(t){return $o(Ar(t))}function Jn(t,e,i){(i!==n&&!Vs(t[e],i)||i===n&&!(e in t))&&ri(t,e,i)}function ti(t,e,i){var r=t[e];(!Dt.call(t,e)||!Vs(r,i)||i===n&&!(e in t))&&ri(t,e,i)}function ei(t,e){for(var n=t.length;n--;)if(Vs(t[n][0],e))return n;return-1}function ni(t,e,n,i){return hi(t,function(t,r,o){e(i,t,n(t),o)}),i}function ii(t,e){return t&&Tr(e,Ma(e),t)}function ri(t,e,n){"__proto__"==e&&ce?ce(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function oi(t,e){for(var i=-1,r=e.length,o=xt(r),s=null==t;++i<r;)o[i]=s?n:Oa(t,e[i]);return o}function si(t,e,i){return t==t&&(i!==n&&(t=t<=i?t:i),e!==n&&(t=t>=e?t:e)),t}function ai(t,e,i,r,o,s){var a,l=1&e,c=2&e,u=4&e;if(i&&(a=o?i(t,r,o,s):i(t)),a!==n)return a;if(!ta(t))return t;var h=Hs(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Dt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ar(t,a)}else{var d=po(t),p=d==_||d==x;if(Xs(t))return xr(t,l);if(d==k||d==g||p&&!o){if(a=c||p?{}:go(t),!l)return c?function(t,e){return Tr(t,ho(t),e)}(t,function(t,e){return t&&Tr(e,La(e),t)}(a,t)):function(t,e){return Tr(t,uo(t),e)}(t,ii(a,t))}else{if(!oe[d])return o?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case M:return wr(t);case v:case y:return new i(+t);case L:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case $:case j:case D:case I:case N:case R:case B:case V:case z:return Sr(t,n);case w:return new i;case S:case T:return new i(t);case O:return function(t){var e=new t.constructor(t.source,dt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new i;case P:return function(t){return Nn?Ot(Nn.call(t)):{}}(t)}}(t,d,l)}}s||(s=new Xn);var f=s.get(t);if(f)return f;s.set(t,a),sa(t)?t.forEach(function(n){a.add(ai(n,e,i,n,t,s))}):na(t)&&t.forEach(function(n,r){a.set(r,ai(n,e,i,r,t,s))});var m=h?n:(u?c?no:eo:c?La:Ma)(t);return Ce(m||t,function(n,r){m&&(n=t[r=n]),ti(a,r,ai(n,e,i,r,t,s))}),a}function li(t,e,i){var r=i.length;if(null==t)return!r;for(t=Ot(t);r--;){var o=i[r],s=e[o],a=t[o];if(a===n&&!(o in t)||!s(a))return!1}return!0}function ci(t,e,r){if("function"!=typeof t)throw new Pt(i);return Po(function(){t.apply(n,r)},e)}function ui(t,e,n,i){var r=-1,o=Pe,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Me(e,Ye(n))),i?(o=Ee,s=!1):e.length>=200&&(o=Ze,s=!1,e=new Gn(e));t:for(;++r<a;){var u=t[r],h=null==n?u:n(u);if(u=i||0!==u?u:0,s&&h==h){for(var d=c;d--;)if(e[d]===h)continue t;l.push(u)}else o(e,h,i)||l.push(u)}return l}Bn.templateSettings={escape:Y,evaluate:K,interpolate:Z,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Fn.prototype=Vn(zn.prototype),Fn.prototype.constructor=Fn,Wn.prototype=Vn(zn.prototype),Wn.prototype.constructor=Wn,Hn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Hn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Hn.prototype.get=function(t){var e=this.__data__;if(Tn){var i=e[t];return i===r?n:i}return Dt.call(e,t)?e[t]:n},Hn.prototype.has=function(t){var e=this.__data__;return Tn?e[t]!==n:Dt.call(e,t)},Hn.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Tn&&e===n?r:e,this},Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(t){var e=this.__data__,n=ei(e,t);return!(n<0||(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,0))},Un.prototype.get=function(t){var e=this.__data__,i=ei(e,t);return i<0?n:e[i][1]},Un.prototype.has=function(t){return ei(this.__data__,t)>-1},Un.prototype.set=function(t,e){var n=this.__data__,i=ei(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(kn||Un),string:new Hn}},qn.prototype.delete=function(t){var e=ao(this,t).delete(t);return this.size-=e?1:0,e},qn.prototype.get=function(t){return ao(this,t).get(t)},qn.prototype.has=function(t){return ao(this,t).has(t)},qn.prototype.set=function(t,e){var n=ao(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Gn.prototype.add=Gn.prototype.push=function(t){return this.__data__.set(t,r),this},Gn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.clear=function(){this.__data__=new Un,this.size=0},Xn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Xn.prototype.get=function(t){return this.__data__.get(t)},Xn.prototype.has=function(t){return this.__data__.has(t)},Xn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Un){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new qn(i)}return n.set(t,e),this.size=n.size,this};var hi=Mr(bi),di=Mr(_i,!0);function pi(t,e){var n=!0;return hi(t,function(t,i,r){return n=!!e(t,i,r)}),n}function fi(t,e,i){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(l===n?a==a&&!la(a):i(a,l)))var l=a,c=s}return c}function gi(t,e){var n=[];return hi(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function mi(t,e,n,i,r){var o=-1,s=t.length;for(n||(n=mo),r||(r=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?mi(a,e-1,n,i,r):Le(r,a):i||(r[r.length]=a)}return r}var vi=Lr(),yi=Lr(!0);function bi(t,e){return t&&vi(t,e,Ma)}function _i(t,e){return t&&yi(t,e,Ma)}function xi(t,e){return Te(e,function(e){return Zs(t[e])})}function wi(t,e){for(var i=0,r=(e=vr(e,t)).length;null!=t&&i<r;)t=t[No(e[i++])];return i&&i==r?t:n}function Si(t,e,n){var i=e(t);return Hs(t)?i:Le(i,n(t))}function ki(t){return null==t?t===n?"[object Undefined]":"[object Null]":se&&se in Ot(t)?function(t){var e=Dt.call(t,se),i=t[se];try{t[se]=n;var r=!0}catch{}var o=Rt.call(t);return r&&(e?t[se]=i:delete t[se]),o}(t):function(t){return Rt.call(t)}(t)}function Ci(t,e){return t>e}function Oi(t,e){return null!=t&&Dt.call(t,e)}function Ai(t,e){return null!=t&&e in Ot(t)}function Ti(t,e,i){for(var r=i?Ee:Pe,o=t[0].length,s=t.length,a=s,l=xt(s),c=1/0,u=[];a--;){var h=t[a];a&&e&&(h=Me(h,Ye(e))),c=yn(h.length,c),l[a]=!i&&(e||o>=120&&h.length>=120)?new Gn(a&&h):n}h=t[0];var d=-1,p=l[0];t:for(;++d<o&&u.length<c;){var f=h[d],g=e?e(f):f;if(f=i||0!==f?f:0,!(p?Ze(p,g):r(u,g,i))){for(a=s;--a;){var m=l[a];if(!(m?Ze(m,g):r(t[a],g,i)))continue t}p&&p.push(g),u.push(f)}}return u}function Pi(t,e,i){var r=null==(t=Oo(t,e=vr(e,t)))?t:t[No(Ko(e))];return null==r?n:Se(r,t,i)}function Ei(t){return ea(t)&&ki(t)==g}function Mi(t,e,i,r,o){return t===e||(null==t||null==e||!ea(t)&&!ea(e)?t!=t&&e!=e:function(t,e,i,r,o,s){var a=Hs(t),l=Hs(e),c=a?m:po(t),u=l?m:po(e),h=(c=c==g?k:c)==k,d=(u=u==g?k:u)==k,p=c==u;if(p&&Xs(t)){if(!Xs(e))return!1;a=!0,h=!1}if(p&&!h)return s||(s=new Xn),a||ca(t)?Jr(t,e,i,r,o,s):function(t,e,n,i,r,o,s){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case v:case y:case S:return Vs(+t,+e);case b:return t.name==e.name&&t.message==e.message;case O:case T:return t==e+"";case w:var a=on;case A:var l=1&i;if(a||(a=ln),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var u=Jr(a(t),a(e),i,r,o,s);return s.delete(t),u;case P:if(Nn)return Nn.call(t)==Nn.call(e)}return!1}(t,e,c,i,r,o,s);if(!(1&i)){var f=h&&Dt.call(t,"__wrapped__"),_=d&&Dt.call(e,"__wrapped__");if(f||_){var x=f?t.value():t,C=_?e.value():e;return s||(s=new Xn),o(x,C,i,r,s)}}return!!p&&(s||(s=new Xn),function(t,e,i,r,o,s){var a=1&i,l=eo(t),c=l.length;if(c!=eo(e).length&&!a)return!1;for(var u=c;u--;){var h=l[u];if(!(a?h in e:Dt.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var f=!0;s.set(t,e),s.set(e,t);for(var g=a;++u<c;){var m=t[h=l[u]],v=e[h];if(r)var y=a?r(v,m,h,e,t,s):r(m,v,h,t,e,s);if(!(y===n?m===v||o(m,v,i,r,s):y)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(f=!1)}return s.delete(t),s.delete(e),f}(t,e,i,r,o,s))}(t,e,i,r,Mi,o))}function Li(t,e,i,r){var o=i.length,s=o,a=!r;if(null==t)return!s;for(t=Ot(t);o--;){var l=i[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=i[o])[0],u=t[c],h=l[1];if(a&&l[2]){if(u===n&&!(c in t))return!1}else{var d=new Xn;if(r)var p=r(u,h,c,t,e,d);if(!(p===n?Mi(h,u,3,r,d):p))return!1}}return!0}function $i(t){return!(!ta(t)||function(t){return!!Nt&&Nt in t}(t))&&(Zs(t)?zt:gt).test(Ro(t))}function ji(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Hs(t)?Bi(t[0],t[1]):Ri(t):dl(t)}function Di(t){if(!wo(t))return mn(t);var e=[];for(var n in Ot(t))Dt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ii(t,e){return t<e}function Ni(t,e){var n=-1,i=qs(t)?xt(t.length):[];return hi(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function Ri(t){var e=lo(t);return 1==e.length&&e[0][2]?ko(e[0][0],e[0][1]):function(n){return n===t||Li(n,t,e)}}function Bi(t,e){return bo(t)&&So(e)?ko(No(t),e):function(i){var r=Oa(i,t);return r===n&&r===e?Aa(i,t):Mi(e,r,3)}}function Vi(t,e,i,r,o){t!==e&&vi(e,function(s,a){if(o||(o=new Xn),ta(s))!function(t,e,i,r,o,s,a){var l=Ao(t,i),c=Ao(e,i),u=a.get(c);if(u)Jn(t,i,u);else{var h=s?s(l,c,i+"",t,e,a):n,d=h===n;if(d){var p=Hs(c),f=!p&&Xs(c),g=!p&&!f&&ca(c);h=c,p||f||g?Hs(l)?h=l:Gs(l)?h=Ar(l):f?(d=!1,h=xr(c,!0)):g?(d=!1,h=Sr(c,!0)):h=[]:ra(c)||Ws(c)?(h=l,Ws(l)?h=va(l):(!ta(l)||Zs(l))&&(h=go(c))):d=!1}d&&(a.set(c,h),o(h,c,r,s,a),a.delete(c)),Jn(t,i,h)}}(t,e,a,i,Vi,r,o);else{var l=r?r(Ao(t,a),s,a+"",t,e,o):n;l===n&&(l=s),Jn(t,a,l)}},La)}function zi(t,e){var i=t.length;if(i)return vo(e+=e<0?i:0,i)?t[e]:n}function Fi(t,e,n){e=e.length?Me(e,function(t){return Hs(t)?function(e){return wi(e,1===t.length?t[0]:t)}:t}):[il];var i=-1;return e=Me(e,Ye(so())),function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,s=r.length,a=n.length;++i<s;){var l=kr(r[i],o[i]);if(l)return i>=a?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(Ni(t,function(t,n,r){return{criteria:Me(e,function(e){return e(t)}),index:++i,value:t}}))}function Wi(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var s=e[i],a=wi(t,s);n(a,s)&&Zi(o,vr(s,t),a)}return o}function Hi(t,e,n,i){var r=i?Ve:Be,o=-1,s=e.length,a=t;for(t===e&&(e=Ar(e)),n&&(a=Me(t,Ye(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(a,u,l,i))>-1;)a!==t&&Yt.call(a,l,1),Yt.call(t,l,1);return t}function Ui(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;vo(r)?Yt.call(t,r,1):cr(t,r)}}return t}function qi(t,e){return t+me(xn()*(e-t+1))}function Gi(t,e){var n="";if(!t||e<1||e>c)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Xi(t,e){return Eo(Co(t,e,il),t+"")}function Yi(t){return Kn(Va(t))}function Ki(t,e){var n=Va(t);return $o(n,si(e,0,n.length))}function Zi(t,e,i,r){if(!ta(t))return t;for(var o=-1,s=(e=vr(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=No(e[o]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var h=l[c];(u=r?r(h,c,l):n)===n&&(u=ta(h)?h:vo(e[o+1])?[]:{})}ti(l,c,u),l=l[c]}return t}var Qi=Pn?function(t,e){return Pn.set(t,e),t}:il,Ji=ce?function(t,e){return ce(t,"toString",{configurable:!0,enumerable:!1,value:tl(e),writable:!0})}:il;function tr(t){return $o(Va(t))}function er(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=xt(r);++i<r;)o[i]=t[i+e];return o}function nr(t,e){var n;return hi(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function ir(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=p){for(;i<r;){var o=i+r>>>1,s=t[o];null!==s&&!la(s)&&(n?s<=e:s<e)?i=o+1:r=o}return r}return rr(t,e,il,n)}function rr(t,e,i,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=i(e))!=e,l=null===e,c=la(e),u=e===n;o<s;){var h=me((o+s)/2),p=i(t[h]),f=p!==n,g=null===p,m=p==p,v=la(p);if(a)var y=r||m;else y=u?m&&(r||f):l?m&&f&&(r||!g):c?m&&f&&!g&&(r||!v):!g&&!v&&(r?p<=e:p<e);y?o=h+1:s=h}return yn(s,d)}function or(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n],a=e?e(s):s;if(!n||!Vs(a,l)){var l=a;o[r++]=0===s?0:s}}return o}function sr(t){return"number"==typeof t?t:la(t)?u:+t}function ar(t){if("string"==typeof t)return t;if(Hs(t))return Me(t,ar)+"";if(la(t))return Rn?Rn.call(t):"";var e=t+"";return"0"==e&&1/t==-l?"-0":e}function lr(t,e,n){var i=-1,r=Pe,o=t.length,s=!0,a=[],l=a;if(n)s=!1,r=Ee;else if(o>=200){var c=e?null:Gr(t);if(c)return ln(c);s=!1,r=Ze,l=new Gn}else l=e?[]:a;t:for(;++i<o;){var u=t[i],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),a.push(u)}else r(l,h,n)||(l!==a&&l.push(h),a.push(u))}return a}function cr(t,e){return null==(t=Oo(t,e=vr(e,t)))||delete t[No(Ko(e))]}function ur(t,e,n,i){return Zi(t,e,n(wi(t,e)),i)}function hr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?er(t,i?0:o,i?o+1:r):er(t,i?o+1:0,i?r:o)}function dr(t,e){var n=t;return n instanceof Wn&&(n=n.value()),$e(e,function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))},n)}function pr(t,e,n){var i=t.length;if(i<2)return i?lr(t[0]):[];for(var r=-1,o=xt(i);++r<i;)for(var s=t[r],a=-1;++a<i;)a!=r&&(o[r]=ui(o[r]||s,t[a],e,n));return lr(mi(o,1),e,n)}function fr(t,e,i){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var l=r<s?e[r]:n;i(a,t[r],l)}return a}function gr(t){return Gs(t)?t:[]}function mr(t){return"function"==typeof t?t:il}function vr(t,e){return Hs(t)?t:bo(t,e)?[t]:Io(ya(t))}var yr=Xi;function br(t,e,i){var r=t.length;return i=i===n?r:i,!e&&i>=r?t:er(t,e,i)}var _r=ue||function(t){return he.clearTimeout(t)};function xr(t,e){if(e)return t.slice();var n=t.length,i=Ut?Ut(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Sr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(t,e){if(t!==e){var i=t!==n,r=null===t,o=t==t,s=la(t),a=e!==n,l=null===e,c=e==e,u=la(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||r&&a&&c||!i&&c||!o)return 1;if(!r&&!s&&!u&&t<e||u&&i&&o&&!r&&!s||l&&i&&o||!a&&o||!c)return-1}return 0}function Cr(t,e,n,i){for(var r=-1,o=t.length,s=n.length,a=-1,l=e.length,c=vn(o-s,0),u=xt(l+c),h=!i;++a<l;)u[a]=e[a];for(;++r<s;)(h||r<o)&&(u[n[r]]=t[r]);for(;c--;)u[a++]=t[r++];return u}function Or(t,e,n,i){for(var r=-1,o=t.length,s=-1,a=n.length,l=-1,c=e.length,u=vn(o-a,0),h=xt(u+c),d=!i;++r<u;)h[r]=t[r];for(var p=r;++l<c;)h[p+l]=e[l];for(;++s<a;)(d||r<o)&&(h[p+n[s]]=t[r++]);return h}function Ar(t,e){var n=-1,i=t.length;for(e||(e=xt(i));++n<i;)e[n]=t[n];return e}function Tr(t,e,i,r){var o=!i;i||(i={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=r?r(i[l],t[l],l,i,t):n;c===n&&(c=t[l]),o?ri(i,l,c):ti(i,l,c)}return i}function Pr(t,e){return function(n,i){var r=Hs(n)?ke:ni,o=e?e():{};return r(n,t,so(i,2),o)}}function Er(t){return Xi(function(e,i){var r=-1,o=i.length,s=o>1?i[o-1]:n,a=o>2?i[2]:n;for(s=t.length>3&&"function"==typeof s?(o--,s):n,a&&yo(i[0],i[1],a)&&(s=o<3?n:s,o=1),e=Ot(e);++r<o;){var l=i[r];l&&t(e,l,r,s)}return e})}function Mr(t,e){return function(n,i){if(null==n)return n;if(!qs(n))return t(n,i);for(var r=n.length,o=e?r:-1,s=Ot(n);(e?o--:++o<r)&&!1!==i(s[o],o,s););return n}}function Lr(t){return function(e,n,i){for(var r=-1,o=Ot(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(!1===n(o[l],l,o))break}return e}}function $r(t){return function(e){var i=rn(e=ya(e))?un(e):n,r=i?i[0]:e.charAt(0),o=i?br(i,1).join(""):e.slice(1);return r[t]()+o}}function jr(t){return function(e){return $e(Za(Wa(e).replace(Kt,"")),t,"")}}function Dr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Vn(t.prototype),i=t.apply(n,e);return ta(i)?i:n}}function Ir(t){return function(e,i,r){var o=Ot(e);if(!qs(e)){var s=so(i,3);e=Ma(e),i=function(t){return s(o[t],t,o)}}var a=t(e,i,r);return a>-1?o[s?e[a]:a]:n}}function Nr(t){return to(function(e){var r=e.length,o=r,s=Fn.prototype.thru;for(t&&e.reverse();o--;){var a=e[o];if("function"!=typeof a)throw new Pt(i);if(s&&!l&&"wrapper"==ro(a))var l=new Fn([],!0)}for(o=l?o:r;++o<r;){var c=ro(a=e[o]),u="wrapper"==c?io(a):n;l=u&&_o(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ro(u[0])].apply(l,u[3]):1==a.length&&_o(a)?l[c]():l.thru(a)}return function(){var t=arguments,n=t[0];if(l&&1==t.length&&Hs(n))return l.plant(n).value();for(var i=0,o=r?e[i].apply(this,t):n;++i<r;)o=e[i].call(this,o);return o}})}function Rr(t,e,i,r,o,s,l,c,u,h){var d=e&a,p=1&e,f=2&e,g=24&e,m=512&e,v=f?n:Dr(t);return function a(){for(var y=arguments.length,b=xt(y),_=y;_--;)b[_]=arguments[_];if(g)var x=oo(a),w=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,x);if(r&&(b=Cr(b,r,o,g)),s&&(b=Or(b,s,l,g)),y-=w,g&&y<h){var S=an(b,x);return Ur(t,e,Rr,a.placeholder,i,b,S,c,u,h-y)}var k=p?i:this,C=f?k[t]:t;return y=b.length,c?b=function(t,e){for(var i=t.length,r=yn(e.length,i),o=Ar(t);r--;){var s=e[r];t[r]=vo(s,i)?o[s]:n}return t}(b,c):m&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==he&&this instanceof a&&(C=v||Dr(C)),C.apply(k,b)}}function Br(t,e){return function(n,i){return function(t,e,n,i){return bi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Vr(t,e){return function(i,r){var o;if(i===n&&r===n)return e;if(i!==n&&(o=i),r!==n){if(o===n)return r;"string"==typeof i||"string"==typeof r?(i=ar(i),r=ar(r)):(i=sr(i),r=sr(r)),o=t(i,r)}return o}}function zr(t){return to(function(e){return e=Me(e,Ye(so())),Xi(function(n){var i=this;return t(e,function(t){return Se(t,i,n)})})})}function Fr(t,e){var i=(e=e===n?" ":ar(e)).length;if(i<2)return i?Gi(e,t):e;var r=Gi(e,ge(t/cn(e)));return rn(e)?br(un(r),0,t).join(""):r.slice(0,t)}function Wr(t){return function(e,i,r){return r&&"number"!=typeof r&&yo(e,i,r)&&(i=r=n),e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n,i){for(var r=-1,o=vn(ge((e-t)/(n||1)),0),s=xt(o);o--;)s[i?o:++r]=t,t+=n;return s}(e,i,r=r===n?e<i?1:-1:pa(r),t)}}function Hr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ma(e),n=ma(n)),t(e,n)}}function Ur(t,e,i,r,o,a,l,c,u,h){var d=8&e;e|=d?s:64,4&(e&=~(d?64:s))||(e&=-4);var p=[t,e,o,d?a:n,d?l:n,d?n:a,d?n:l,c,u,h],f=i.apply(n,p);return _o(t)&&To(f,p),f.placeholder=r,Mo(f,t,e)}function qr(t){var e=Ct[t];return function(t,n){if(t=ma(t),(n=null==n?0:yn(fa(n),292))&&fn(t)){var i=(ya(t)+"e").split("e");return+((i=(ya(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Gr=On&&1/ln(new On([,-0]))[1]==l?function(t){return new On(t)}:ll;function Xr(t){return function(e){var n=po(e);return n==w?on(e):n==A?function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}(e):function(t,e){return Me(e,function(e){return[e,t[e]]})}(e,t(e))}}function Yr(t,e,r,l,c,u,h,d){var p=2&e;if(!p&&"function"!=typeof t)throw new Pt(i);var f=l?l.length:0;if(f||(e&=-97,l=c=n),h=h===n?h:vn(fa(h),0),d=d===n?d:fa(d),f-=c?c.length:0,64&e){var g=l,m=c;l=c=n}var v=p?n:io(t),y=[t,e,r,l,c,g,m,u,h,d];if(v&&function(t,e){var n=t[1],i=e[1],r=n|i,s=r<131,l=i==a&&8==n||i==a&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!s&&!l)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var c=e[3];if(c){var u=t[3];t[3]=u?Cr(u,c,e[4]):c,t[4]=u?an(t[3],o):e[4]}(c=e[5])&&(u=t[5],t[5]=u?Or(u,c,e[6]):c,t[6]=u?an(t[5],o):e[6]),(c=e[7])&&(t[7]=c),i&a&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(y,v),t=y[0],e=y[1],r=y[2],l=y[3],c=y[4],!(d=y[9]=y[9]===n?p?0:t.length:vn(y[9]-f,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,i){var r=Dr(t);return function o(){for(var s=arguments.length,a=xt(s),l=s,c=oo(o);l--;)a[l]=arguments[l];var u=s<3&&a[0]!==c&&a[s-1]!==c?[]:an(a,c);return(s-=u.length)<i?Ur(t,e,Rr,o.placeholder,n,a,u,n,n,i-s):Se(this&&this!==he&&this instanceof o?r:t,this,a)}}(t,e,d):e!=s&&33!=e||c.length?Rr.apply(n,y):function(t,e,n,i){var r=1&e,o=Dr(t);return function e(){for(var s=-1,a=arguments.length,l=-1,c=i.length,u=xt(c+a),h=this&&this!==he&&this instanceof e?o:t;++l<c;)u[l]=i[l];for(;a--;)u[l++]=arguments[++s];return Se(h,r?n:this,u)}}(t,e,r,l);else var b=function(t,e,n){var i=1&e,r=Dr(t);return function e(){return(this&&this!==he&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,r);return Mo((v?Qi:To)(b,y),t,e)}function Kr(t,e,i,r){return t===n||Vs(t,Lt[i])&&!Dt.call(r,i)?e:t}function Zr(t,e,i,r,o,s){return ta(t)&&ta(e)&&(s.set(e,t),Vi(t,e,n,Zr,s),s.delete(e)),t}function Qr(t){return ra(t)?n:t}function Jr(t,e,i,r,o,s){var a=1&i,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var d=-1,p=!0,f=2&i?new Gn:n;for(s.set(t,e),s.set(e,t);++d<l;){var g=t[d],m=e[d];if(r)var v=a?r(m,g,d,e,t,s):r(g,m,d,t,e,s);if(v!==n){if(v)continue;p=!1;break}if(f){if(!De(e,function(t,e){if(!Ze(f,e)&&(g===t||o(g,t,i,r,s)))return f.push(e)})){p=!1;break}}else if(g!==m&&!o(g,m,i,r,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function to(t){return Eo(Co(t,n,Uo),t+"")}function eo(t){return Si(t,Ma,uo)}function no(t){return Si(t,La,ho)}var io=Pn?function(t){return Pn.get(t)}:ll;function ro(t){for(var e=t.name+"",n=En[e],i=Dt.call(En,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function oo(t){return(Dt.call(Bn,"placeholder")?Bn:t).placeholder}function so(){var t=Bn.iteratee||rl;return t=t===rl?ji:t,arguments.length?t(arguments[0],arguments[1]):t}function ao(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function lo(t){for(var e=Ma(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,So(r)]}return e}function co(t,e){var i=function(t,e){return null==t?n:t[e]}(t,e);return $i(i)?i:n}var uo=Ie?function(t){return null==t?[]:(t=Ot(t),Te(Ie(t),function(e){return Xt.call(t,e)}))}:gl,ho=Ie?function(t){for(var e=[];t;)Le(e,uo(t)),t=qt(t);return e}:gl,po=ki;function fo(t,e,n){for(var i=-1,r=(e=vr(e,t)).length,o=!1;++i<r;){var s=No(e[i]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Js(r)&&vo(s,r)&&(Hs(t)||Ws(t))}function go(t){return"function"!=typeof t.constructor||wo(t)?{}:Vn(qt(t))}function mo(t){return Hs(t)||Ws(t)||!!(Qt&&t&&t[Qt])}function vo(t,e){var n=typeof t;return!!(e=e??c)&&("number"==n||"symbol"!=n&&vt.test(t))&&t>-1&&t%1==0&&t<e}function yo(t,e,n){if(!ta(n))return!1;var i=typeof e;return!!("number"==i?qs(n)&&vo(e,n.length):"string"==i&&e in n)&&Vs(n[e],t)}function bo(t,e){if(Hs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!la(t))||J.test(t)||!Q.test(t)||null!=e&&t in Ot(e)}function _o(t){var e=ro(t),n=Bn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var i=io(n);return!!i&&t===i[0]}(Sn&&po(new Sn(new ArrayBuffer(1)))!=L||kn&&po(new kn)!=w||Cn&&po(Cn.resolve())!=C||On&&po(new On)!=A||An&&po(new An)!=E)&&(po=function(t){var e=ki(t),i=e==k?t.constructor:n,r=i?Ro(i):"";if(r)switch(r){case Mn:return L;case Ln:return w;case $n:return C;case jn:return A;case Dn:return E}return e});var xo=$t?Zs:ml;function wo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Lt)}function So(t){return t==t&&!ta(t)}function ko(t,e){return function(i){return null!=i&&i[t]===e&&(e!==n||t in Ot(i))}}function Co(t,e,i){return e=vn(e===n?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=vn(n.length-e,0),s=xt(o);++r<o;)s[r]=n[e+r];r=-1;for(var a=xt(e+1);++r<e;)a[r]=n[r];return a[e]=i(s),Se(t,this,a)}}function Oo(t,e){return e.length<2?t:wi(t,er(e,0,-1))}function Ao(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var To=Lo(Qi),Po=pe||function(t,e){return he.setTimeout(t,e)},Eo=Lo(Ji);function Mo(t,e,n){var i=e+"";return Eo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ce(f,function(n){var i="_."+n[0];e&n[1]&&!Pe(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(st);return e?e[1].split(at):[]}(i),n)))}function Lo(t){var e=0,i=0;return function(){var r=bn(),o=16-(r-i);if(i=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(n,arguments)}}function $o(t,e){var i=-1,r=t.length,o=r-1;for(e=e===n?r:e;++i<e;){var s=qi(i,o),a=t[s];t[s]=t[i],t[i]=a}return t.length=e,t}var jo,Do,Io=(jo=js(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,i,r){e.push(i?r.replace(ut,"$1"):n||t)}),e},function(t){return 500===Do.size&&Do.clear(),t}),Do=jo.cache,jo);function No(t){if("string"==typeof t||la(t))return t;var e=t+"";return"0"==e&&1/t==-l?"-0":e}function Ro(t){if(null!=t){try{return jt.call(t)}catch{}try{return t+""}catch{}}return""}function Bo(t){if(t instanceof Wn)return t.clone();var e=new Fn(t.__wrapped__,t.__chain__);return e.__actions__=Ar(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Vo=Xi(function(t,e){return Gs(t)?ui(t,mi(e,1,Gs,!0)):[]}),zo=Xi(function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),so(i,2)):[]}),Fo=Xi(function(t,e){var i=Ko(e);return Gs(i)&&(i=n),Gs(t)?ui(t,mi(e,1,Gs,!0),n,i):[]});function Wo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Re(t,so(e,3),r)}function Ho(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return i!==n&&(o=fa(i),o=i<0?vn(r+o,0):yn(o,r-1)),Re(t,so(e,3),o,!0)}function Uo(t){return null!=t&&t.length?mi(t,1):[]}function qo(t){return t&&t.length?t[0]:n}var Go=Xi(function(t){var e=Me(t,gr);return e.length&&e[0]===t[0]?Ti(e):[]}),Xo=Xi(function(t){var e=Ko(t),i=Me(t,gr);return e===Ko(i)?e=n:i.pop(),i.length&&i[0]===t[0]?Ti(i,so(e,2)):[]}),Yo=Xi(function(t){var e=Ko(t),i=Me(t,gr);return(e="function"==typeof e?e:n)&&i.pop(),i.length&&i[0]===t[0]?Ti(i,n,e):[]});function Ko(t){var e=null==t?0:t.length;return e?t[e-1]:n}var Zo=Xi(Qo);function Qo(t,e){return t&&t.length&&e&&e.length?Hi(t,e):t}var Jo=to(function(t,e){var n=null==t?0:t.length,i=oi(t,e);return Ui(t,Me(e,function(t){return vo(t,n)?+t:t}).sort(kr)),i});function ts(t){return null==t?t:wn.call(t)}var es=Xi(function(t){return lr(mi(t,1,Gs,!0))}),ns=Xi(function(t){var e=Ko(t);return Gs(e)&&(e=n),lr(mi(t,1,Gs,!0),so(e,2))}),is=Xi(function(t){var e=Ko(t);return e="function"==typeof e?e:n,lr(mi(t,1,Gs,!0),n,e)});function rs(t){if(!t||!t.length)return[];var e=0;return t=Te(t,function(t){if(Gs(t))return e=vn(t.length,e),!0}),Ge(e,function(e){return Me(t,We(e))})}function os(t,e){if(!t||!t.length)return[];var i=rs(t);return null==e?i:Me(i,function(t){return Se(e,n,t)})}var ss=Xi(function(t,e){return Gs(t)?ui(t,e):[]}),as=Xi(function(t){return pr(Te(t,Gs))}),ls=Xi(function(t){var e=Ko(t);return Gs(e)&&(e=n),pr(Te(t,Gs),so(e,2))}),cs=Xi(function(t){var e=Ko(t);return e="function"==typeof e?e:n,pr(Te(t,Gs),n,e)}),us=Xi(rs),hs=Xi(function(t){var e=t.length,i=e>1?t[e-1]:n;return i="function"==typeof i?(t.pop(),i):n,os(t,i)});function ds(t){var e=Bn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var fs=to(function(t){var e=t.length,i=e?t[0]:0,r=this.__wrapped__,o=function(e){return oi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&vo(i)?((r=r.slice(i,+i+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:n}),new Fn(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(n),t})):this.thru(o)}),gs=Pr(function(t,e,n){Dt.call(t,n)?++t[n]:ri(t,n,1)}),ms=Ir(Wo),vs=Ir(Ho);function ys(t,e){return(Hs(t)?Ce:hi)(t,so(e,3))}function bs(t,e){return(Hs(t)?Oe:di)(t,so(e,3))}var _s=Pr(function(t,e,n){Dt.call(t,n)?t[n].push(e):ri(t,n,[e])}),xs=Xi(function(t,e,n){var i=-1,r="function"==typeof e,o=qs(t)?xt(t.length):[];return hi(t,function(t){o[++i]=r?Se(e,t,n):Pi(t,e,n)}),o}),ws=Pr(function(t,e,n){ri(t,n,e)});function Ss(t,e){return(Hs(t)?Me:Ni)(t,so(e,3))}var ks=Pr(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Cs=Xi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&yo(t,e[0],e[1])?e=[]:n>2&&yo(e[0],e[1],e[2])&&(e=[e[0]]),Fi(t,mi(e,1),[])}),Os=de||function(){return he.Date.now()};function As(t,e,i){return e=i?n:e,e=t&&null==e?t.length:e,Yr(t,a,n,n,n,n,e)}function Ts(t,e){var r;if("function"!=typeof e)throw new Pt(i);return t=fa(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var Ps=Xi(function(t,e,n){var i=1;if(n.length){var r=an(n,oo(Ps));i|=s}return Yr(t,i,e,n,r)}),Es=Xi(function(t,e,n){var i=3;if(n.length){var r=an(n,oo(Es));i|=s}return Yr(e,i,t,n,r)});function Ms(t,e,r){var o,s,a,l,c,u,h=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new Pt(i);function g(e){var i=o,r=s;return o=s=n,h=e,l=t.apply(r,i)}function m(t){var i=t-u;return u===n||i>=e||i<0||p&&t-h>=a}function v(){var t=Os();if(m(t))return y(t);c=Po(v,function(t){var n=e-(t-u);return p?yn(n,a-(t-h)):n}(t))}function y(t){return c=n,f&&o?g(t):(o=s=n,l)}function b(){var t=Os(),i=m(t);if(o=arguments,s=this,u=t,i){if(c===n)return function(t){return h=t,c=Po(v,e),d?g(t):l}(u);if(p)return _r(c),c=Po(v,e),g(u)}return c===n&&(c=Po(v,e)),l}return e=ma(e)||0,ta(r)&&(d=!!r.leading,a=(p="maxWait"in r)?vn(ma(r.maxWait)||0,e):a,f="trailing"in r?!!r.trailing:f),b.cancel=function(){c!==n&&_r(c),h=0,o=u=s=c=n},b.flush=function(){return c===n?l:y(Os())},b}var Ls=Xi(function(t,e){return ci(t,1,e)}),$s=Xi(function(t,e,n){return ci(t,ma(e)||0,n)});function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Pt(i);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(js.Cache||qn),n}function Ds(t){if("function"!=typeof t)throw new Pt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}js.Cache=qn;var Is=yr(function(t,e){var n=(e=1==e.length&&Hs(e[0])?Me(e[0],Ye(so())):Me(mi(e,1),Ye(so()))).length;return Xi(function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Se(t,this,i)})}),Ns=Xi(function(t,e){var i=an(e,oo(Ns));return Yr(t,s,n,e,i)}),Rs=Xi(function(t,e){var i=an(e,oo(Rs));return Yr(t,64,n,e,i)}),Bs=to(function(t,e){return Yr(t,256,n,n,n,e)});function Vs(t,e){return t===e||t!=t&&e!=e}var zs=Hr(Ci),Fs=Hr(function(t,e){return t>=e}),Ws=Ei(function(){return arguments}())?Ei:function(t){return ea(t)&&Dt.call(t,"callee")&&!Xt.call(t,"callee")},Hs=xt.isArray,Us=ve?Ye(ve):function(t){return ea(t)&&ki(t)==M};function qs(t){return null!=t&&Js(t.length)&&!Zs(t)}function Gs(t){return ea(t)&&qs(t)}var Xs=He||ml,Ys=ye?Ye(ye):function(t){return ea(t)&&ki(t)==y};function Ks(t){if(!ea(t))return!1;var e=ki(t);return e==b||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Zs(t){if(!ta(t))return!1;var e=ki(t);return e==_||e==x||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Qs(t){return"number"==typeof t&&t==fa(t)}function Js(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function ta(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ea(t){return null!=t&&"object"==typeof t}var na=be?Ye(be):function(t){return ea(t)&&po(t)==w};function ia(t){return"number"==typeof t||ea(t)&&ki(t)==S}function ra(t){if(!ea(t)||ki(t)!=k)return!1;var e=qt(t);if(null===e)return!0;var n=Dt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&jt.call(n)==Bt}var oa=_e?Ye(_e):function(t){return ea(t)&&ki(t)==O},sa=xe?Ye(xe):function(t){return ea(t)&&po(t)==A};function aa(t){return"string"==typeof t||!Hs(t)&&ea(t)&&ki(t)==T}function la(t){return"symbol"==typeof t||ea(t)&&ki(t)==P}var ca=we?Ye(we):function(t){return ea(t)&&Js(t.length)&&!!re[ki(t)]},ua=Hr(Ii),ha=Hr(function(t,e){return t<=e});function da(t){if(!t)return[];if(qs(t))return aa(t)?un(t):Ar(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=po(t);return(e==w?on:e==A?ln:Va)(t)}function pa(t){return t?(t=ma(t))===l||t===-l?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function fa(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ga(t){return t?si(fa(t),0,h):0}function ma(t){if("number"==typeof t)return t;if(la(t))return u;if(ta(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ta(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xe(t);var n=ft.test(t);return n||mt.test(t)?le(t.slice(2),n?2:8):pt.test(t)?u:+t}function va(t){return Tr(t,La(t))}function ya(t){return null==t?"":ar(t)}var ba=Er(function(t,e){if(wo(e)||qs(e))Tr(e,Ma(e),t);else for(var n in e)Dt.call(e,n)&&ti(t,n,e[n])}),_a=Er(function(t,e){Tr(e,La(e),t)}),xa=Er(function(t,e,n,i){Tr(e,La(e),t,i)}),wa=Er(function(t,e,n,i){Tr(e,Ma(e),t,i)}),Sa=to(oi),ka=Xi(function(t,e){t=Ot(t);var i=-1,r=e.length,o=r>2?e[2]:n;for(o&&yo(e[0],e[1],o)&&(r=1);++i<r;)for(var s=e[i],a=La(s),l=-1,c=a.length;++l<c;){var u=a[l],h=t[u];(h===n||Vs(h,Lt[u])&&!Dt.call(t,u))&&(t[u]=s[u])}return t}),Ca=Xi(function(t){return t.push(n,Zr),Se(ja,n,t)});function Oa(t,e,i){var r=null==t?n:wi(t,e);return r===n?i:r}function Aa(t,e){return null!=t&&fo(t,e,Ai)}var Ta=Br(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),t[e]=n},tl(il)),Pa=Br(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Rt.call(e)),Dt.call(t,e)?t[e].push(n):t[e]=[n]},so),Ea=Xi(Pi);function Ma(t){return qs(t)?Yn(t):Di(t)}function La(t){return qs(t)?Yn(t,!0):function(t){if(!ta(t))return function(t){var e=[];if(null!=t)for(var n in Ot(t))e.push(n);return e}(t);var e=wo(t),n=[];for(var i in t)"constructor"==i&&(e||!Dt.call(t,i))||n.push(i);return n}(t)}var $a=Er(function(t,e,n){Vi(t,e,n)}),ja=Er(function(t,e,n,i){Vi(t,e,n,i)}),Da=to(function(t,e){var n={};if(null==t)return n;var i=!1;e=Me(e,function(e){return e=vr(e,t),i||(i=e.length>1),e}),Tr(t,no(t),n),i&&(n=ai(n,7,Qr));for(var r=e.length;r--;)cr(n,e[r]);return n}),Ia=to(function(t,e){return null==t?{}:function(t,e){return Wi(t,e,function(e,n){return Aa(t,n)})}(t,e)});function Na(t,e){if(null==t)return{};var n=Me(no(t),function(t){return[t]});return e=so(e),Wi(t,n,function(t,n){return e(t,n[0])})}var Ra=Xr(Ma),Ba=Xr(La);function Va(t){return null==t?[]:Ke(t,Ma(t))}var za=jr(function(t,e,n){return e=e.toLowerCase(),t+(n?Fa(e):e)});function Fa(t){return Ka(ya(t).toLowerCase())}function Wa(t){return(t=ya(t))&&t.replace(yt,tn).replace(Zt,"")}var Ha=jr(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ua=jr(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),qa=$r("toLowerCase"),Ga=jr(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Xa=jr(function(t,e,n){return t+(n?" ":"")+Ka(e)}),Ya=jr(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ka=$r("toUpperCase");function Za(t,e,i){return t=ya(t),(e=i?n:e)===n?function(t){return ee.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(lt)||[]}(t):t.match(e)||[]}var Qa=Xi(function(t,e){try{return Se(t,n,e)}catch(t){return Ks(t)?t:new St(t)}}),Ja=to(function(t,e){return Ce(e,function(e){e=No(e),ri(t,e,Ps(t[e],t))}),t});function tl(t){return function(){return t}}var el=Nr(),nl=Nr(!0);function il(t){return t}function rl(t){return ji("function"==typeof t?t:ai(t,1))}var ol=Xi(function(t,e){return function(n){return Pi(n,t,e)}}),sl=Xi(function(t,e){return function(n){return Pi(t,n,e)}});function al(t,e,n){var i=Ma(e),r=xi(e,i);null==n&&(!ta(e)||!r.length&&i.length)&&(n=e,e=t,t=this,r=xi(e,Ma(e)));var o=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(t);return Ce(r,function(n){var i=e[n];t[n]=i,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ar(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})}),t}function ll(){}var cl=zr(Me),ul=zr(Ae),hl=zr(De);function dl(t){return bo(t)?We(No(t)):function(t){return function(e){return wi(e,t)}}(t)}var pl=Wr(),fl=Wr(!0);function gl(){return[]}function ml(){return!1}var vl=Vr(function(t,e){return t+e},0),yl=qr("ceil"),bl=Vr(function(t,e){return t/e},1),_l=qr("floor"),xl=Vr(function(t,e){return t*e},1),wl=qr("round"),Sl=Vr(function(t,e){return t-e},0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Pt(i);return t=fa(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=As,Bn.assign=ba,Bn.assignIn=_a,Bn.assignInWith=xa,Bn.assignWith=wa,Bn.at=Sa,Bn.before=Ts,Bn.bind=Ps,Bn.bindAll=Ja,Bn.bindKey=Es,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Hs(t)?t:[t]},Bn.chain=ds,Bn.chunk=function(t,e,i){e=(i?yo(t,e,i):e===n)?1:vn(fa(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,s=0,a=xt(ge(r/e));o<r;)a[s++]=er(t,o,o+=e);return a},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=xt(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Le(Hs(n)?Ar(n):[n],mi(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=so();return t=e?Me(t,function(t){if("function"!=typeof t[1])throw new Pt(i);return[n(t[0]),t[1]]}):[],Xi(function(n){for(var i=-1;++i<e;){var r=t[i];if(Se(r[0],this,n))return Se(r[1],this,n)}})},Bn.conforms=function(t){return function(t){var e=Ma(t);return function(n){return li(n,t,e)}}(ai(t,1))},Bn.constant=tl,Bn.countBy=gs,Bn.create=function(t,e){var n=Vn(t);return null==e?n:ii(n,e)},Bn.curry=function t(e,i,r){var o=Yr(e,8,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.curryRight=function t(e,i,r){var o=Yr(e,16,n,n,n,n,n,i=r?n:i);return o.placeholder=t.placeholder,o},Bn.debounce=Ms,Bn.defaults=ka,Bn.defaultsDeep=Ca,Bn.defer=Ls,Bn.delay=$s,Bn.difference=Vo,Bn.differenceBy=zo,Bn.differenceWith=Fo,Bn.drop=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=i||e===n?1:fa(e))<0?0:e,r):[]},Bn.dropRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,0,(e=r-(e=i||e===n?1:fa(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!0):[]},Bn.fill=function(t,e,i,r){var o=null==t?0:t.length;return o?(i&&"number"!=typeof i&&yo(t,e,i)&&(i=0,r=o),function(t,e,i,r){var o=t.length;for((i=fa(i))<0&&(i=-i>o?0:o+i),(r=r===n||r>o?o:fa(r))<0&&(r+=o),r=i>r?0:ga(r);i<r;)t[i++]=e;return t}(t,e,i,r)):[]},Bn.filter=function(t,e){return(Hs(t)?Te:gi)(t,so(e,3))},Bn.flatMap=function(t,e){return mi(Ss(t,e),1)},Bn.flatMapDeep=function(t,e){return mi(Ss(t,e),l)},Bn.flatMapDepth=function(t,e,i){return i=i===n?1:fa(i),mi(Ss(t,e),i)},Bn.flatten=Uo,Bn.flattenDeep=function(t){return null!=t&&t.length?mi(t,l):[]},Bn.flattenDepth=function(t,e){return null!=t&&t.length?mi(t,e=e===n?1:fa(e)):[]},Bn.flip=function(t){return Yr(t,512)},Bn.flow=el,Bn.flowRight=nl,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Bn.functions=function(t){return null==t?[]:xi(t,Ma(t))},Bn.functionsIn=function(t){return null==t?[]:xi(t,La(t))},Bn.groupBy=_s,Bn.initial=function(t){return null!=t&&t.length?er(t,0,-1):[]},Bn.intersection=Go,Bn.intersectionBy=Xo,Bn.intersectionWith=Yo,Bn.invert=Ta,Bn.invertBy=Pa,Bn.invokeMap=xs,Bn.iteratee=rl,Bn.keyBy=ws,Bn.keys=Ma,Bn.keysIn=La,Bn.map=Ss,Bn.mapKeys=function(t,e){var n={};return e=so(e,3),bi(t,function(t,i,r){ri(n,e(t,i,r),t)}),n},Bn.mapValues=function(t,e){var n={};return e=so(e,3),bi(t,function(t,i,r){ri(n,i,e(t,i,r))}),n},Bn.matches=function(t){return Ri(ai(t,1))},Bn.matchesProperty=function(t,e){return Bi(t,ai(e,1))},Bn.memoize=js,Bn.merge=$a,Bn.mergeWith=ja,Bn.method=ol,Bn.methodOf=sl,Bn.mixin=al,Bn.negate=Ds,Bn.nthArg=function(t){return t=fa(t),Xi(function(e){return zi(e,t)})},Bn.omit=Da,Bn.omitBy=function(t,e){return Na(t,Ds(so(e)))},Bn.once=function(t){return Ts(2,t)},Bn.orderBy=function(t,e,i,r){return null==t?[]:(Hs(e)||(e=null==e?[]:[e]),Hs(i=r?n:i)||(i=null==i?[]:[i]),Fi(t,e,i))},Bn.over=cl,Bn.overArgs=Is,Bn.overEvery=ul,Bn.overSome=hl,Bn.partial=Ns,Bn.partialRight=Rs,Bn.partition=ks,Bn.pick=Ia,Bn.pickBy=Na,Bn.property=dl,Bn.propertyOf=function(t){return function(e){return null==t?n:wi(t,e)}},Bn.pull=Zo,Bn.pullAll=Qo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Hi(t,e,so(n,2)):t},Bn.pullAllWith=function(t,e,i){return t&&t.length&&e&&e.length?Hi(t,e,n,i):t},Bn.pullAt=Jo,Bn.range=pl,Bn.rangeRight=fl,Bn.rearg=Bs,Bn.reject=function(t,e){return(Hs(t)?Te:gi)(t,Ds(so(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=so(e,3);++i<o;){var s=t[i];e(s,i,t)&&(n.push(s),r.push(i))}return Ui(t,r),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Pt(i);return Xi(t,e=e===n?e:fa(e))},Bn.reverse=ts,Bn.sampleSize=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),(Hs(t)?Zn:Ki)(t,e)},Bn.set=function(t,e,n){return null==t?t:Zi(t,e,n)},Bn.setWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:Zi(t,e,i,r)},Bn.shuffle=function(t){return(Hs(t)?Qn:tr)(t)},Bn.slice=function(t,e,i){var r=null==t?0:t.length;return r?(i&&"number"!=typeof i&&yo(t,e,i)?(e=0,i=r):(e=null==e?0:fa(e),i=i===n?r:fa(i)),er(t,e,i)):[]},Bn.sortBy=Cs,Bn.sortedUniq=function(t){return t&&t.length?or(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?or(t,so(e,2)):[]},Bn.split=function(t,e,i){return i&&"number"!=typeof i&&yo(t,e,i)&&(e=i=n),(i=i===n?h:i>>>0)?(t=ya(t))&&("string"==typeof e||null!=e&&!oa(e))&&!(e=ar(e))&&rn(t)?br(un(t),0,i):t.split(e,i):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Pt(i);return e=null==e?0:vn(fa(e),0),Xi(function(n){var i=n[e],r=br(n,0,e);return i&&Le(r,i),Se(t,this,r)})},Bn.tail=function(t){var e=null==t?0:t.length;return e?er(t,1,e):[]},Bn.take=function(t,e,i){return t&&t.length?er(t,0,(e=i||e===n?1:fa(e))<0?0:e):[]},Bn.takeRight=function(t,e,i){var r=null==t?0:t.length;return r?er(t,(e=r-(e=i||e===n?1:fa(e)))<0?0:e,r):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?hr(t,so(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?hr(t,so(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new Pt(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ms(t,e,{leading:r,maxWait:e,trailing:o})},Bn.thru=ps,Bn.toArray=da,Bn.toPairs=Ra,Bn.toPairsIn=Ba,Bn.toPath=function(t){return Hs(t)?Me(t,No):la(t)?[t]:Ar(Io(ya(t)))},Bn.toPlainObject=va,Bn.transform=function(t,e,n){var i=Hs(t),r=i||Xs(t)||ca(t);if(e=so(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:ta(t)&&Zs(o)?Vn(qt(t)):{}}return(r?Ce:bi)(t,function(t,i,r){return e(n,t,i,r)}),n},Bn.unary=function(t){return As(t,1)},Bn.union=es,Bn.unionBy=ns,Bn.unionWith=is,Bn.uniq=function(t){return t&&t.length?lr(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?lr(t,so(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:n,t&&t.length?lr(t,n,e):[]},Bn.unset=function(t,e){return null==t||cr(t,e)},Bn.unzip=rs,Bn.unzipWith=os,Bn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},Bn.updateWith=function(t,e,i,r){return r="function"==typeof r?r:n,null==t?t:ur(t,e,mr(i),r)},Bn.values=Va,Bn.valuesIn=function(t){return null==t?[]:Ke(t,La(t))},Bn.without=ss,Bn.words=Za,Bn.wrap=function(t,e){return Ns(mr(e),t)},Bn.xor=as,Bn.xorBy=ls,Bn.xorWith=cs,Bn.zip=us,Bn.zipObject=function(t,e){return fr(t||[],e||[],ti)},Bn.zipObjectDeep=function(t,e){return fr(t||[],e||[],Zi)},Bn.zipWith=hs,Bn.entries=Ra,Bn.entriesIn=Ba,Bn.extend=_a,Bn.extendWith=xa,al(Bn,Bn),Bn.add=vl,Bn.attempt=Qa,Bn.camelCase=za,Bn.capitalize=Fa,Bn.ceil=yl,Bn.clamp=function(t,e,i){return i===n&&(i=e,e=n),i!==n&&(i=(i=ma(i))==i?i:0),e!==n&&(e=(e=ma(e))==e?e:0),si(ma(t),e,i)},Bn.clone=function(t){return ai(t,4)},Bn.cloneDeep=function(t){return ai(t,5)},Bn.cloneDeepWith=function(t,e){return ai(t,5,e="function"==typeof e?e:n)},Bn.cloneWith=function(t,e){return ai(t,4,e="function"==typeof e?e:n)},Bn.conformsTo=function(t,e){return null==e||li(t,e,Ma(e))},Bn.deburr=Wa,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=bl,Bn.endsWith=function(t,e,i){t=ya(t),e=ar(e);var r=t.length,o=i=i===n?r:si(fa(i),0,r);return(i-=e.length)>=0&&t.slice(i,o)==e},Bn.eq=Vs,Bn.escape=function(t){return(t=ya(t))&&X.test(t)?t.replace(q,en):t},Bn.escapeRegExp=function(t){return(t=ya(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Bn.every=function(t,e,i){var r=Hs(t)?Ae:pi;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.find=ms,Bn.findIndex=Wo,Bn.findKey=function(t,e){return Ne(t,so(e,3),bi)},Bn.findLast=vs,Bn.findLastIndex=Ho,Bn.findLastKey=function(t,e){return Ne(t,so(e,3),_i)},Bn.floor=_l,Bn.forEach=ys,Bn.forEachRight=bs,Bn.forIn=function(t,e){return null==t?t:vi(t,so(e,3),La)},Bn.forInRight=function(t,e){return null==t?t:yi(t,so(e,3),La)},Bn.forOwn=function(t,e){return t&&bi(t,so(e,3))},Bn.forOwnRight=function(t,e){return t&&_i(t,so(e,3))},Bn.get=Oa,Bn.gt=zs,Bn.gte=Fs,Bn.has=function(t,e){return null!=t&&fo(t,e,Oi)},Bn.hasIn=Aa,Bn.head=qo,Bn.identity=il,Bn.includes=function(t,e,n,i){t=qs(t)?t:Va(t),n=n&&!i?fa(n):0;var r=t.length;return n<0&&(n=vn(r+n,0)),aa(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Be(t,e,n)>-1},Bn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:fa(n);return r<0&&(r=vn(i+r,0)),Be(t,e,r)},Bn.inRange=function(t,e,i){return e=pa(e),i===n?(i=e,e=0):i=pa(i),function(t,e,n){return t>=yn(e,n)&&t<vn(e,n)}(t=ma(t),e,i)},Bn.invoke=Ea,Bn.isArguments=Ws,Bn.isArray=Hs,Bn.isArrayBuffer=Us,Bn.isArrayLike=qs,Bn.isArrayLikeObject=Gs,Bn.isBoolean=function(t){return!0===t||!1===t||ea(t)&&ki(t)==v},Bn.isBuffer=Xs,Bn.isDate=Ys,Bn.isElement=function(t){return ea(t)&&1===t.nodeType&&!ra(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(qs(t)&&(Hs(t)||"string"==typeof t||"function"==typeof t.splice||Xs(t)||ca(t)||Ws(t)))return!t.length;var e=po(t);if(e==w||e==A)return!t.size;if(wo(t))return!Di(t).length;for(var n in t)if(Dt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Mi(t,e)},Bn.isEqualWith=function(t,e,i){var r=(i="function"==typeof i?i:n)?i(t,e):n;return r===n?Mi(t,e,n,i):!!r},Bn.isError=Ks,Bn.isFinite=function(t){return"number"==typeof t&&fn(t)},Bn.isFunction=Zs,Bn.isInteger=Qs,Bn.isLength=Js,Bn.isMap=na,Bn.isMatch=function(t,e){return t===e||Li(t,e,lo(e))},Bn.isMatchWith=function(t,e,i){return i="function"==typeof i?i:n,Li(t,e,lo(e),i)},Bn.isNaN=function(t){return ia(t)&&t!=+t},Bn.isNative=function(t){if(xo(t))throw new St("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return $i(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=ia,Bn.isObject=ta,Bn.isObjectLike=ea,Bn.isPlainObject=ra,Bn.isRegExp=oa,Bn.isSafeInteger=function(t){return Qs(t)&&t>=-c&&t<=c},Bn.isSet=sa,Bn.isString=aa,Bn.isSymbol=la,Bn.isTypedArray=ca,Bn.isUndefined=function(t){return t===n},Bn.isWeakMap=function(t){return ea(t)&&po(t)==E},Bn.isWeakSet=function(t){return ea(t)&&"[object WeakSet]"==ki(t)},Bn.join=function(t,e){return null==t?"":gn.call(t,e)},Bn.kebabCase=Ha,Bn.last=Ko,Bn.lastIndexOf=function(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var o=r;return i!==n&&(o=(o=fa(i))<0?vn(r+o,0):yn(o,r-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):Re(t,ze,o,!0)},Bn.lowerCase=Ua,Bn.lowerFirst=qa,Bn.lt=ua,Bn.lte=ha,Bn.max=function(t){return t&&t.length?fi(t,il,Ci):n},Bn.maxBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ci):n},Bn.mean=function(t){return Fe(t,il)},Bn.meanBy=function(t,e){return Fe(t,so(e,2))},Bn.min=function(t){return t&&t.length?fi(t,il,Ii):n},Bn.minBy=function(t,e){return t&&t.length?fi(t,so(e,2),Ii):n},Bn.stubArray=gl,Bn.stubFalse=ml,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=xl,Bn.nth=function(t,e){return t&&t.length?zi(t,fa(e)):n},Bn.noConflict=function(){return he._===this&&(he._=Vt),this},Bn.noop=ll,Bn.now=Os,Bn.pad=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Fr(me(r),n)+t+Fr(ge(r),n)},Bn.padEnd=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?t+Fr(e-i,n):t},Bn.padStart=function(t,e,n){t=ya(t);var i=(e=fa(e))?cn(t):0;return e&&i<e?Fr(e-i,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),_n(ya(t).replace(it,""),e||0)},Bn.random=function(t,e,i){if(i&&"boolean"!=typeof i&&yo(t,e,i)&&(e=i=n),i===n&&("boolean"==typeof e?(i=e,e=n):"boolean"==typeof t&&(i=t,t=n)),t===n&&e===n?(t=0,e=1):(t=pa(t),e===n?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(i||t%1||e%1){var o=xn();return yn(t+o*(e-t+ae("1e-"+((o+"").length-1))),e)}return qi(t,e)},Bn.reduce=function(t,e,n){var i=Hs(t)?$e:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,hi)},Bn.reduceRight=function(t,e,n){var i=Hs(t)?je:Ue,r=arguments.length<3;return i(t,so(e,4),n,r,di)},Bn.repeat=function(t,e,i){return e=(i?yo(t,e,i):e===n)?1:fa(e),Gi(ya(t),e)},Bn.replace=function(){var t=arguments,e=ya(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,i){var r=-1,o=(e=vr(e,t)).length;for(o||(o=1,t=n);++r<o;){var s=null==t?n:t[No(e[r])];s===n&&(r=o,s=i),t=Zs(s)?s.call(t):s}return t},Bn.round=wl,Bn.runInContext=t,Bn.sample=function(t){return(Hs(t)?Kn:Yi)(t)},Bn.size=function(t){if(null==t)return 0;if(qs(t))return aa(t)?cn(t):t.length;var e=po(t);return e==w||e==A?t.size:Di(t).length},Bn.snakeCase=Ga,Bn.some=function(t,e,i){var r=Hs(t)?De:nr;return i&&yo(t,e,i)&&(e=n),r(t,so(e,3))},Bn.sortedIndex=function(t,e){return ir(t,e)},Bn.sortedIndexBy=function(t,e,n){return rr(t,e,so(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ir(t,e);if(i<n&&Vs(t[i],e))return i}return-1},Bn.sortedLastIndex=function(t,e){return ir(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return rr(t,e,so(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ir(t,e,!0)-1;if(Vs(t[n],e))return n}return-1},Bn.startCase=Xa,Bn.startsWith=function(t,e,n){return t=ya(t),n=null==n?0:si(fa(n),0,t.length),e=ar(e),t.slice(n,n+e.length)==e},Bn.subtract=Sl,Bn.sum=function(t){return t&&t.length?qe(t,il):0},Bn.sumBy=function(t,e){return t&&t.length?qe(t,so(e,2)):0},Bn.template=function(t,e,i){var r=Bn.templateSettings;i&&yo(t,e,i)&&(e=n),t=ya(t),e=xa({},e,r,Kr);var o,s,a=xa({},e.imports,r.imports,Kr),l=Ma(a),c=Ke(a,l),u=0,h=e.interpolate||bt,d="__p += '",p=At((e.escape||bt).source+"|"+h.source+"|"+(h===Z?ht:bt).source+"|"+(e.evaluate||bt).source+"|$","g"),f="//# sourceURL="+(Dt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ie+"]")+"\n";t.replace(p,function(e,n,i,r,a,l){return i||(i=r),d+=t.slice(u,l).replace(_t,nn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e}),d+="';\n";var g=Dt.call(e,"variable")&&e.variable;if(g){if(ct.test(g))throw new St("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(F,""):d).replace(W,"$1").replace(H,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Qa(function(){return kt(l,f+"return "+d).apply(n,c)});if(m.source=d,Ks(m))throw m;return m},Bn.times=function(t,e){if((t=fa(t))<1||t>c)return[];var n=h,i=yn(t,h);e=so(e),t-=h;for(var r=Ge(i,e);++n<t;)e(n);return r},Bn.toFinite=pa,Bn.toInteger=fa,Bn.toLength=ga,Bn.toLower=function(t){return ya(t).toLowerCase()},Bn.toNumber=ma,Bn.toSafeInteger=function(t){return t?si(fa(t),-c,c):0===t?t:0},Bn.toString=ya,Bn.toUpper=function(t){return ya(t).toUpperCase()},Bn.trim=function(t,e,i){if((t=ya(t))&&(i||e===n))return Xe(t);if(!t||!(e=ar(e)))return t;var r=un(t),o=un(e);return br(r,Qe(r,o),Je(r,o)+1).join("")},Bn.trimEnd=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.slice(0,hn(t)+1);if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,0,Je(r,un(e))+1).join("")},Bn.trimStart=function(t,e,i){if((t=ya(t))&&(i||e===n))return t.replace(it,"");if(!t||!(e=ar(e)))return t;var r=un(t);return br(r,Qe(r,un(e))).join("")},Bn.truncate=function(t,e){var i=30,r="...";if(ta(e)){var o="separator"in e?e.separator:o;i="length"in e?fa(e.length):i,r="omission"in e?ar(e.omission):r}var s=(t=ya(t)).length;if(rn(t)){var a=un(t);s=a.length}if(i>=s)return t;var l=i-cn(r);if(l<1)return r;var c=a?br(a,0,l).join(""):t.slice(0,l);if(o===n)return c+r;if(a&&(l+=c.length-l),oa(o)){if(t.slice(l).search(o)){var u,h=c;for(o.global||(o=At(o.source,ya(dt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var d=u.index;c=c.slice(0,d===n?l:d)}}else if(t.indexOf(ar(o),l)!=l){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r},Bn.unescape=function(t){return(t=ya(t))&&G.test(t)?t.replace(U,dn):t},Bn.uniqueId=function(t){var e=++It;return ya(t)+e},Bn.upperCase=Ya,Bn.upperFirst=Ka,Bn.each=ys,Bn.eachRight=bs,Bn.first=qo,al(Bn,function(){var t={};return bi(Bn,function(e,n){Dt.call(Bn.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),Bn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Bn[t].placeholder=Bn}),Ce(["drop","take"],function(t,e){Wn.prototype[t]=function(i){i=i===n?1:vn(fa(i),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(i,r.__takeCount__):r.__views__.push({size:yn(i,h),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ce(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:so(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),Ce(["head","last"],function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}}),Ce(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}}),Wn.prototype.compact=function(){return this.filter(il)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Xi(function(t,e){return"function"==typeof t?new Wn(this):this.map(function(n){return Pi(n,t,e)})}),Wn.prototype.reject=function(t){return this.filter(Ds(so(t)))},Wn.prototype.slice=function(t,e){t=fa(t);var i=this;return i.__filtered__&&(t>0||e<0)?new Wn(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==n&&(i=(e=fa(e))<0?i.dropRight(-e):i.take(e-t)),i)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(h)},bi(Wn.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Bn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof Wn,c=a[0],u=l||Hs(e),h=function(t){var e=o.apply(Bn,Le([t],a));return r&&d?e[0]:e};u&&i&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,g=l&&!p;if(!s&&u){e=g?e:new Wn(this);var m=t.apply(e,a);return m.__actions__.push({func:ps,args:[h],thisArg:n}),new Fn(m,d)}return f&&g?t.apply(this,a):(m=this.thru(h),f?r?m.value()[0]:m.value():m)})}),Ce(["pop","push","shift","sort","splice","unshift"],function(t){var e=Et[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Hs(r)?r:[],t)}return this[n](function(n){return e.apply(Hs(n)?n:[],t)})}}),bi(Wn.prototype,function(t,e){var n=Bn[e];if(n){var i=n.name+"";Dt.call(En,i)||(En[i]=[]),En[i].push({name:e,func:n})}}),En[Rr(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Ar(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ar(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ar(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Hs(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=yn(e,t+s);break;case"takeRight":t=vn(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,c=i?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=yn(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return dr(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var g=-1,m=t[c+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}f[d++]=m}return f},Bn.prototype.at=fs,Bn.prototype.chain=function(){return ds(this)},Bn.prototype.commit=function(){return new Fn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===n&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,i=this;i instanceof zn;){var r=Bo(i);r.__index__=0,r.__values__=n,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:ps,args:[ts],thisArg:n}),new Fn(e,this.__chain__)}return this.thru(ts)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return dr(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,te&&(Bn.prototype[te]=function(){return this}),Bn}();pe?((pe.exports=pn)._=pn,de._=pn):he._=pn}).call(nu)}(au,au.exports);var lu=au.exports;const cu={key:0,class:"message"},uu={class:"body"},hu={class:"dismiss"},du=Un({__name:"base-banner",props:{prependMessage:{default:void 0},small:{type:Boolean,default:!1},type:{default:"warning"}},setup(t){const e=t,n={warning:"Warning",error:"Error",success:"Success",info:"Info"},i=_o(()=>e.prependMessage?e.prependMessage:lu.isUndefined(n[e.type])?"":`${n[e.type]}`);return(t,e)=>(jr(),Rr("div",{class:q(["banner",t.type,{small:t.small}]),role:"alert"},[i.value?(jr(),Rr("div",cu,J(i.value),1)):Yr("",!0),Hr("div",uu,[Oi(t.$slots,"default",{},void 0,!0)]),Hr("div",hu,[Oi(t.$slots,"right",{},void 0,!0)])],2))}}),pu=(t,e)=>{const n=t.__vccOpts||t;for(const[t,i]of e)n[t]=i;return n},fu=pu(du,[["__scopeId","data-v-150bbe49"]]),gu={props:{modelValue:{type:null,default:void 0},initialValue:{type:null,default:void 0}},data(){return{toggleState:void 0!==this.initialValue&&this.initialValue}},computed:{visible:{get(){return void 0===this.modelValue?this.toggleState:this.modelValue},set(t){void 0===this.modelValue?this.toggleState=t:this.$emit("update:modelValue",t)}}},methods:{toggle(){this.visible?this.close():this.open()},open(){this.visible||(this.$emit("update:modelValue",!0),this.toggleState=!0,this.$emit("open"))},close(...t){this.visible&&(this.$emit("update:modelValue",!1),this.toggleState=!1,this.$emit("close",...t))},show(){this.open()},hide(){this.close()}}},mu=pu(Un({__name:"icon-viewer",props:{icon:{}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q(["icon-viewer",`icon-${t.icon}`])},null,2))}),[["__scopeId","data-v-47ab70fc"]]),vu=(Boolean,Boolean,Boolean,Boolean,Boolean,Un({__name:"button",props:{as:{type:[String,Object,Function],default:"button"},leftIcon:{},rightIcon:{},disabled:{type:Boolean,default:!1},hasMinWidth:{type:Boolean,default:void 0},size:{default:"medium"},spinner:{type:Boolean,default:!1},severity:{default:"primary"},variant:{default:"regular"}},setup(t){const e=t,n=ms(),i=_o(()=>{const t=void 0===e.hasMinWidth?"simple"!==e.variant:e.hasMinWidth;return[n.button,n[`variant-${e.variant}`],n[`severity-${e.severity}`],n[`size-${e.size}`],{[n[`icon-left-${e.leftIcon}`]]:!!e.leftIcon,[n[`icon-right-${e.rightIcon}`]]:!!e.rightIcon,[n.spinner]:e.spinner,[n.hasLeftIcon]:!!e.leftIcon,[n.hasMinWidth]:t,[n.hasRightIcon]:!!e.rightIcon}]});return(t,e)=>(jr(),Br(xi(t.as||"button"),{class:q(i.value),disabled:t.disabled},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["class","disabled"]))}})),yu=pu(vu,[["__cssModules",{$style:{icon:"_icon_y1o6n_1",button:"_button_y1o6n_51",spinner:"_spinner_y1o6n_70",spin:"_spin_y1o6n_70","icon-left-alert-circle":"_icon-left-alert-circle_y1o6n_97","icon-right-alert-circle":"_icon-right-alert-circle_y1o6n_101","icon-left-angles-up":"_icon-left-angles-up_y1o6n_105","icon-right-angles-up":"_icon-right-angles-up_y1o6n_109","icon-left-angles-down":"_icon-left-angles-down_y1o6n_113","icon-right-angles-down":"_icon-right-angles-down_y1o6n_117","icon-left-angles-left":"_icon-left-angles-left_y1o6n_121","icon-right-angles-left":"_icon-right-angles-left_y1o6n_125","icon-left-angles-right":"_icon-left-angles-right_y1o6n_129","icon-right-angles-right":"_icon-right-angles-right_y1o6n_133","icon-left-angle-down":"_icon-left-angle-down_y1o6n_137","icon-right-angle-down":"_icon-right-angle-down_y1o6n_141","icon-left-angle-left":"_icon-left-angle-left_y1o6n_145","icon-right-angle-left":"_icon-right-angle-left_y1o6n_149","icon-left-angle-right":"_icon-left-angle-right_y1o6n_153","icon-right-angle-right":"_icon-right-angle-right_y1o6n_157","icon-left-angle-up":"_icon-left-angle-up_y1o6n_161","icon-right-angle-up":"_icon-right-angle-up_y1o6n_165","icon-left-arrow-down":"_icon-left-arrow-down_y1o6n_169","icon-right-arrow-down":"_icon-right-arrow-down_y1o6n_173","icon-left-arrow-left":"_icon-left-arrow-left_y1o6n_177","icon-right-arrow-left":"_icon-right-arrow-left_y1o6n_181","icon-left-arrow-right":"_icon-left-arrow-right_y1o6n_185","icon-right-arrow-right":"_icon-right-arrow-right_y1o6n_189","icon-left-arrow-up":"_icon-left-arrow-up_y1o6n_193","icon-right-arrow-up":"_icon-right-arrow-up_y1o6n_197","icon-left-ban":"_icon-left-ban_y1o6n_201","icon-right-ban":"_icon-right-ban_y1o6n_205","icon-left-bell":"_icon-left-bell_y1o6n_209","icon-right-bell":"_icon-right-bell_y1o6n_213","icon-left-building":"_icon-left-building_y1o6n_217","icon-right-building":"_icon-right-building_y1o6n_221","icon-left-calendar":"_icon-left-calendar_y1o6n_225","icon-right-calendar":"_icon-right-calendar_y1o6n_229","icon-left-chart-bar":"_icon-left-chart-bar_y1o6n_233","icon-right-chart-bar":"_icon-right-chart-bar_y1o6n_237","icon-left-circle-check":"_icon-left-circle-check_y1o6n_241","icon-right-circle-check":"_icon-right-circle-check_y1o6n_245","icon-left-check":"_icon-left-check_y1o6n_249","icon-right-check":"_icon-right-check_y1o6n_253","icon-left-chevron-up":"_icon-left-chevron-up_y1o6n_257","icon-right-chevron-up":"_icon-right-chevron-up_y1o6n_261","icon-left-chevron-down":"_icon-left-chevron-down_y1o6n_265","icon-right-chevron-down":"_icon-right-chevron-down_y1o6n_269","icon-left-chevron-left":"_icon-left-chevron-left_y1o6n_273","icon-right-chevron-left":"_icon-right-chevron-left_y1o6n_277","icon-left-chevron-right":"_icon-left-chevron-right_y1o6n_281","icon-right-chevron-right":"_icon-right-chevron-right_y1o6n_285","icon-left-caret-up":"_icon-left-caret-up_y1o6n_289","icon-right-caret-up":"_icon-right-caret-up_y1o6n_293","icon-left-caret-down":"_icon-left-caret-down_y1o6n_297","icon-right-caret-down":"_icon-right-caret-down_y1o6n_301","icon-left-caret-left":"_icon-left-caret-left_y1o6n_305","icon-right-caret-left":"_icon-right-caret-left_y1o6n_309","icon-left-caret-right":"_icon-left-caret-right_y1o6n_313","icon-right-caret-right":"_icon-right-caret-right_y1o6n_317","icon-left-circle":"_icon-left-circle_y1o6n_241","icon-right-circle":"_icon-right-circle_y1o6n_245","icon-left-circle-arrow-up":"_icon-left-circle-arrow-up_y1o6n_329","icon-right-circle-arrow-up":"_icon-right-circle-arrow-up_y1o6n_333","icon-left-circle-arrow-down":"_icon-left-circle-arrow-down_y1o6n_337","icon-right-circle-arrow-down":"_icon-right-circle-arrow-down_y1o6n_341","icon-left-circle-arrow-left":"_icon-left-circle-arrow-left_y1o6n_345","icon-right-circle-arrow-left":"_icon-right-circle-arrow-left_y1o6n_349","icon-left-circle-arrow-right":"_icon-left-circle-arrow-right_y1o6n_353","icon-right-circle-arrow-right":"_icon-right-circle-arrow-right_y1o6n_357","icon-left-circle-chevron-up":"_icon-left-circle-chevron-up_y1o6n_361","icon-right-circle-chevron-up":"_icon-right-circle-chevron-up_y1o6n_365","icon-left-circle-chevron-down":"_icon-left-circle-chevron-down_y1o6n_369","icon-right-circle-chevron-down":"_icon-right-circle-chevron-down_y1o6n_373","icon-left-circle-chevron-left":"_icon-left-circle-chevron-left_y1o6n_377","icon-right-circle-chevron-left":"_icon-right-circle-chevron-left_y1o6n_381","icon-left-circle-chevron-right":"_icon-left-circle-chevron-right_y1o6n_385","icon-right-circle-chevron-right":"_icon-right-circle-chevron-right_y1o6n_389","icon-left-circle-thin":"_icon-left-circle-thin_y1o6n_393","icon-right-circle-thin":"_icon-right-circle-thin_y1o6n_397","icon-left-clock":"_icon-left-clock_y1o6n_401","icon-right-clock":"_icon-right-clock_y1o6n_405","icon-left-close":"_icon-left-close_y1o6n_409","icon-right-close":"_icon-right-close_y1o6n_413","icon-left-close-circle":"_icon-left-close-circle_y1o6n_417","icon-right-close-circle":"_icon-right-close-circle_y1o6n_421","icon-left-code-branch":"_icon-left-code-branch_y1o6n_425","icon-right-code-branch":"_icon-right-code-branch_y1o6n_429","icon-left-gear":"_icon-left-gear_y1o6n_433","icon-right-gear":"_icon-right-gear_y1o6n_437","icon-left-grip":"_icon-left-grip_y1o6n_441","icon-right-grip":"_icon-right-grip_y1o6n_445","icon-left-grip-vertical":"_icon-left-grip-vertical_y1o6n_449","icon-right-grip-vertical":"_icon-right-grip-vertical_y1o6n_453","icon-left-comments":"_icon-left-comments_y1o6n_457","icon-right-comments":"_icon-right-comments_y1o6n_461","icon-left-copy":"_icon-left-copy_y1o6n_465","icon-right-copy":"_icon-right-copy_y1o6n_469","icon-left-credit-card":"_icon-left-credit-card_y1o6n_473","icon-right-credit-card":"_icon-right-credit-card_y1o6n_477","icon-left-disable":"_icon-left-disable_y1o6n_481","icon-right-disable":"_icon-right-disable_y1o6n_485","icon-left-dollar-sign":"_icon-left-dollar-sign_y1o6n_489","icon-right-dollar-sign":"_icon-right-dollar-sign_y1o6n_493","icon-left-download":"_icon-left-download_y1o6n_497","icon-right-download":"_icon-right-download_y1o6n_501","icon-left-pen-to-square":"_icon-left-pen-to-square_y1o6n_505","icon-right-pen-to-square":"_icon-right-pen-to-square_y1o6n_509","icon-left-ellipsis":"_icon-left-ellipsis_y1o6n_513","icon-right-ellipsis":"_icon-right-ellipsis_y1o6n_517","icon-left-ellipsis-vertical":"_icon-left-ellipsis-vertical_y1o6n_521","icon-right-ellipsis-vertical":"_icon-right-ellipsis-vertical_y1o6n_525","icon-left-circle-exclamation":"_icon-left-circle-exclamation_y1o6n_529","icon-right-circle-exclamation":"_icon-right-circle-exclamation_y1o6n_533","icon-left-triangle-exclamation":"_icon-left-triangle-exclamation_y1o6n_537","icon-right-triangle-exclamation":"_icon-right-triangle-exclamation_y1o6n_541","icon-left-eye":"_icon-left-eye_y1o6n_545","icon-right-eye":"_icon-right-eye_y1o6n_549","icon-left-forward-fast":"_icon-left-forward-fast_y1o6n_553","icon-right-forward-fast":"_icon-right-forward-fast_y1o6n_557","icon-left-file":"_icon-left-file_y1o6n_561","icon-right-file":"_icon-right-file_y1o6n_565","icon-left-filter":"_icon-left-filter_y1o6n_569","icon-right-filter":"_icon-right-filter_y1o6n_573","icon-left-earth-americas":"_icon-left-earth-americas_y1o6n_577","icon-right-earth-americas":"_icon-right-earth-americas_y1o6n_581","icon-left-globe":"_icon-left-globe_y1o6n_585","icon-right-globe":"_icon-right-globe_y1o6n_589","icon-left-help":"_icon-left-help_y1o6n_593","icon-right-help":"_icon-right-help_y1o6n_597","icon-left-clock-rotate-left":"_icon-left-clock-rotate-left_y1o6n_601","icon-right-clock-rotate-left":"_icon-right-clock-rotate-left_y1o6n_605","icon-left-house":"_icon-left-house_y1o6n_609","icon-right-house":"_icon-right-house_y1o6n_613","icon-left-id-card":"_icon-left-id-card_y1o6n_617","icon-right-id-card":"_icon-right-id-card_y1o6n_621","icon-left-info":"_icon-left-info_y1o6n_625","icon-right-info":"_icon-right-info_y1o6n_629","icon-left-link":"_icon-left-link_y1o6n_633","icon-right-link":"_icon-right-link_y1o6n_637","icon-left-list":"_icon-left-list_y1o6n_641","icon-right-list":"_icon-right-list_y1o6n_645","icon-left-list-check":"_icon-left-list-check_y1o6n_649","icon-right-list-check":"_icon-right-list-check_y1o6n_653","icon-left-lock":"_icon-left-lock_y1o6n_657","icon-right-lock":"_icon-right-lock_y1o6n_661","icon-left-lock-open":"_icon-left-lock-open_y1o6n_665","icon-right-lock-open":"_icon-right-lock-open_y1o6n_669","icon-left-left-long":"_icon-left-left-long_y1o6n_673","icon-right-left-long":"_icon-right-left-long_y1o6n_677","icon-left-right-long":"_icon-left-right-long_y1o6n_681","icon-right-right-long":"_icon-right-right-long_y1o6n_685","icon-left-wand-magic":"_icon-left-wand-magic_y1o6n_689","icon-right-wand-magic":"_icon-right-wand-magic_y1o6n_693","icon-left-circle-minus":"_icon-left-circle-minus_y1o6n_697","icon-right-circle-minus":"_icon-right-circle-minus_y1o6n_701","icon-left-menu":"_icon-left-menu_y1o6n_705","icon-right-menu":"_icon-right-menu_y1o6n_709","icon-left-minus":"_icon-left-minus_y1o6n_713","icon-right-minus":"_icon-right-minus_y1o6n_717","icon-left-more":"_icon-left-more_y1o6n_721","icon-right-more":"_icon-right-more_y1o6n_725","icon-left-more-vert":"_icon-left-more-vert_y1o6n_729","icon-right-more-vert":"_icon-right-more-vert_y1o6n_733","icon-left-paper-plane":"_icon-left-paper-plane_y1o6n_737","icon-right-paper-plane":"_icon-right-paper-plane_y1o6n_741","icon-left-circle-play":"_icon-left-circle-play_y1o6n_745","icon-right-circle-play":"_icon-right-circle-play_y1o6n_749","icon-left-plus":"_icon-left-plus_y1o6n_753","icon-right-plus":"_icon-right-plus_y1o6n_757","icon-left-circle-plus":"_icon-left-circle-plus_y1o6n_761","icon-right-circle-plus":"_icon-right-circle-plus_y1o6n_765","icon-left-square-plus":"_icon-left-square-plus_y1o6n_769","icon-right-square-plus":"_icon-right-square-plus_y1o6n_773","icon-left-square-caret-up":"_icon-left-square-caret-up_y1o6n_777","icon-right-square-caret-up":"_icon-right-square-caret-up_y1o6n_781","icon-left-square-caret-down":"_icon-left-square-caret-down_y1o6n_785","icon-right-square-caret-down":"_icon-right-square-caret-down_y1o6n_789","icon-left-square-caret-left":"_icon-left-square-caret-left_y1o6n_793","icon-right-square-caret-left":"_icon-right-square-caret-left_y1o6n_797","icon-left-square-caret-right":"_icon-left-square-caret-right_y1o6n_801","icon-right-square-caret-right":"_icon-right-square-caret-right_y1o6n_805","icon-left-question-mark":"_icon-left-question-mark_y1o6n_809","icon-right-question-mark":"_icon-right-question-mark_y1o6n_813","icon-left-shuffle":"_icon-left-shuffle_y1o6n_817","icon-right-shuffle":"_icon-right-shuffle_y1o6n_821","icon-left-arrow-rotate-right":"_icon-left-arrow-rotate-right_y1o6n_825","icon-right-arrow-rotate-right":"_icon-right-arrow-rotate-right_y1o6n_829","icon-left-refresh":"_icon-left-refresh_y1o6n_833","icon-right-refresh":"_icon-right-refresh_y1o6n_837","icon-left-reply":"_icon-left-reply_y1o6n_841","icon-right-reply":"_icon-right-reply_y1o6n_845","icon-left-resend":"_icon-left-resend_y1o6n_849","icon-right-resend":"_icon-right-resend_y1o6n_853","icon-left-right-from-bracket":"_icon-left-right-from-bracket_y1o6n_857","icon-right-right-from-bracket":"_icon-right-right-from-bracket_y1o6n_861","icon-left-magnifying-glass":"_icon-left-magnifying-glass_y1o6n_865","icon-right-magnifying-glass":"_icon-right-magnifying-glass_y1o6n_869","icon-left-settings":"_icon-left-settings_y1o6n_873","icon-right-settings":"_icon-right-settings_y1o6n_877","icon-left-share":"_icon-left-share_y1o6n_881","icon-right-share":"_icon-right-share_y1o6n_885","icon-left-spinner":"_icon-left-spinner_y1o6n_889","icon-right-spinner":"_icon-right-spinner_y1o6n_894","icon-left-square-down":"_icon-left-square-down_y1o6n_899","icon-right-square-down":"_icon-right-square-down_y1o6n_903","icon-left-stop":"_icon-left-stop_y1o6n_907","icon-right-stop":"_icon-right-stop_y1o6n_911","icon-left-swap":"_icon-left-swap_y1o6n_915","icon-right-swap":"_icon-right-swap_y1o6n_919","icon-left-table":"_icon-left-table_y1o6n_923","icon-right-table":"_icon-right-table_y1o6n_927","icon-left-circle-xmark":"_icon-left-circle-xmark_y1o6n_931","icon-right-circle-xmark":"_icon-right-circle-xmark_y1o6n_935","icon-left-trash":"_icon-left-trash_y1o6n_939","icon-right-trash":"_icon-right-trash_y1o6n_943","icon-left-unfold-less":"_icon-left-unfold-less_y1o6n_947","icon-right-unfold-less":"_icon-right-unfold-less_y1o6n_951","icon-left-unfold-more":"_icon-left-unfold-more_y1o6n_955","icon-right-unfold-more":"_icon-right-unfold-more_y1o6n_959","icon-left-user":"_icon-left-user_y1o6n_963","icon-right-user":"_icon-right-user_y1o6n_967","icon-left-users":"_icon-left-users_y1o6n_971","icon-right-users":"_icon-right-users_y1o6n_975","icon-left-vial":"_icon-left-vial_y1o6n_979","icon-right-vial":"_icon-right-vial_y1o6n_983","icon-left-view-list":"_icon-left-view-list_y1o6n_987","icon-right-view-list":"_icon-right-view-list_y1o6n_991",hasLeftIcon:"_hasLeftIcon_y1o6n_995","size-small":"_size-small_y1o6n_1001",hasRightIcon:"_hasRightIcon_y1o6n_1008",hasMinWidth:"_hasMinWidth_y1o6n_1025","severity-primary":"_severity-primary_y1o6n_1028","variant-regular":"_variant-regular_y1o6n_1028","variant-outline":"_variant-outline_y1o6n_1044","variant-simple":"_variant-simple_y1o6n_1059","severity-secondary":"_severity-secondary_y1o6n_1070","severity-danger":"_severity-danger_y1o6n_1117","severity-caution":"_severity-caution_y1o6n_1153","size-large":"_size-large_y1o6n_1189",disabled:"_disabled_y1o6n_1230"}}]]),bu=pu(Un({__name:"card-content",props:{padding:{default:"md"}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q(t.$style[t.padding])},[Oi(t.$slots,"default")],2))}),[["__cssModules",{$style:{sm:"_sm_rsgx8_1",md:"_md_rsgx8_4",lg:"_lg_rsgx8_7"}}]]),_u=pu(Un({__name:"card",props:{boxShadow:{type:Boolean,default:!0},outline:{type:Boolean,default:!0},padding:{type:[String,Boolean],default:"md"}},setup:t=>(t,e)=>(jr(),Rr("div",{class:q([t.$style.card,{[t.$style.boxShadow]:t.boxShadow,[t.$style.outline]:t.outline}])},[t.padding?(jr(),Br(bu,{key:0,padding:t.padding},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["padding"])):Oi(t.$slots,"default",{key:1})],2))}),[["__cssModules",{$style:{card:"_card_7q0tq_1",outline:"_outline_7q0tq_6",boxShadow:"_boxShadow_7q0tq_9"}}]]);Object.assign(_u,{Content:bu});var xu={exports:{}};!function(t){var e,n;e=typeof window<"u"?window:nu,n=function(t){var e={};function n(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.6",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e}),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let e,{charts:n,doc:i,win:r}=t;function o(e,n,i,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=d(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),w(s,function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))}),c+=t}k(t,"displayError",{chart:i,code:e,message:c,params:s},function(){if(n)throw Error(c);r.console&&-1===o.messages.indexOf(c)&&console.warn(c)}),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function h(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function p(t){return null!=t}function f(t,e,n){let i,r=a(e)&&!p(n),o=(e,n)=>{p(e)?t.setAttribute(n,e):r?(i=t.getAttribute(n))||"class"!==n||(i=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):w(e,o),i}function g(t){return l(t)?t:[t]}function m(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function y(t,e){m(t.style,e)}function b(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function _(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};function w(t,e,n){for(let i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function S(t,e,n){function i(e,n){let i=t.removeEventListener;i&&i.call(t,e,n,!1)}function r(n){let r,o;t.nodeName&&(e?(r={})[e]=!0:r=n,w(r,function(t,e){if(n[e])for(o=n[e].length;o--;)i(e,n[e][o].fn)}))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter(function(t){return n!==t.fn}),i(e,n)):(r(t),t[e]=[])}else r(t),delete o.hcEvents}}function k(e,n,r,o){if(r=r||{},i.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=i.createEvent("Events");t.initEvent(n,!0,!0),r=m(t,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||m(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n});let t=[],i=e,o=!1;for(;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,i.hcEvents[n])),i=Object.getPrototypeOf(i);o&&t.sort((t,e)=>t.order-e.order),t.forEach(t=>{!1===t.fn.call(e,r)&&r.preventDefault()})}o&&!r.defaultPrevented&&o.call(e,r)}w({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}});let C=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return r.jQuery&&(r.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[f(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,i,r={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:i,order:"number"==typeof r.order?r.order:1/0};return s[n].push(l),s[n].sort((t,e)=>t.order-e.order),function(){S(e,n,i)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:f,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){p(t)&&clearTimeout(t)},correctFloat:_,createElement:function(t,e,n,r,o){let s=i.createElement(t);return e&&m(s,e),o&&y(s,{padding:"0",border:"none",margin:"0"}),n&&y(s,n),r&&r.appendChild(s),s},crisp:(t,e=0,n)=>{let i=e%2/2,r=n?-1:1;return(Math.round(t*r-i)+i)*r},css:y,defined:p,destroyObjectProperties:function(t,e,n){w(t,function(i,r){i!==e&&null!=i&&i.destroy&&i.destroy(),(null!=i&&i.destroy||!n)&&delete t[r]})},diffObjects:function(t,e,n,i){let r={};return function t(e,r,o,s){let a=n?r:e;w(e,function(n,u){if(!s&&i&&i.indexOf(u)>-1&&r[u]){n=g(n),o[u]=[];for(let e=0;e<Math.max(n.length,r[u].length);e++)r[u][e]&&(void 0===n[e]?o[u][e]=r[u][e]:(o[u][e]={},t(n[e],r[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,r[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==r[u]||u in e&&!(u in r))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])})}(t,e,r,0),r},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:m,extendClass:function(t,e){let n=function(){};return m(n.prototype=new t,e),n},find:x,fireEvent:k,getClosestDistance:function(t,e){let n,i,r,o=!e;return t.forEach(t=>{if(t.length>1)for(r=t.length-1;r>0;r--)(i=t[r]-t[r-1])<0&&!o?(null==e||e(),e=void 0):i&&(void 0===n||i<n)&&(n=i)}),n},getMagnitude:b,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&p(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let i=e[t];if(!p(i)||"function"==typeof i||"number"==typeof i.nodeType||i===r)return;e=i}return e},getStyle:function t(e,n,i){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),i=e.getBoundingClientRect&&e.getBoundingClientRect().width;return i<n&&i>=n-1&&(n=Math.floor(i)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=r.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(i,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,i=t.options.index,r=e.length;for(n=t.options.isInternal?r:0;n<r+1;n++)if(!e[n]||d(i)&&i<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:h,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:d,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),w(e,function(n,r){"__proto__"!==r&&"constructor"!==r&&(!c(n,!0)||h(n)||u(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))}),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){let o,s=t,a=t/(n=v(n,b(t)));for(!e&&(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter(function(t){return t%1==0}):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!r||!(s*n>=t))&&(r||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return _(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:w,offset:function(t){let e=i.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:S,replaceNested:function(t,...e){let n,i;do{for(i of(n=t,e))t=t.replace(i[0],i[1])}while(t!==n);return t},splat:g,stableSort:function(t,e){let n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort(function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n}),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let i=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}}),n(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),n(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{win:n}=t,{defined:i,error:r,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:h,splat:d,timeUnits:p}=e,f=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,g=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class m{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),i=n-this.getTimezoneOffset(e);e.setTime(i);let r=e["getUTC"+t]();return e.setTime(n),r}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let i=this.getTimezoneOffset(e),r=e.getTime()-i;e.setTime(r),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return r=e.getTime()+o,e.setTime(r)}return this.useUTC||f&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=h(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,i,r,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||g||(s-=36e5)):s=new this.Date(t,e,h(n,1),h(i,0),h(r,0),h(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[i,r,o,a,l=0]=(m.formatCache[n]=m.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch{r(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=h(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),d=this.get("Day",a),p=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,v=m&&m.weekdays,y=m&&m.shortWeekdays;return c(o({a:y?y[d]:v[d].substr(0,3),A:v[d],d:u(p),e:u(p,2," "),w:d,b:m.shortMonths[f],B:m.months[f],m:u(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(s,n):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,r){let s,a,l,c,u=this,d=u.Date,f=[],g={},m=new d(e),v=t.unitRange,y=t.count||1;if(r=h(r,1),i(e)){u.set("Milliseconds",m,v>=p.second?0:y*Math.floor(u.get("Milliseconds",m)/y)),v>=p.second&&u.set("Seconds",m,v>=p.minute?0:y*Math.floor(u.get("Seconds",m)/y)),v>=p.minute&&u.set("Minutes",m,v>=p.hour?0:y*Math.floor(u.get("Minutes",m)/y)),v>=p.hour&&u.set("Hours",m,v>=p.day?0:y*Math.floor(u.get("Hours",m)/y)),v>=p.day&&u.set("Date",m,v>=p.month?1:Math.max(1,y*Math.floor(u.get("Date",m)/y))),v>=p.month&&(u.set("Month",m,v>=p.year?0:y*Math.floor(u.get("Month",m)/y)),a=u.get("FullYear",m)),v>=p.year&&(a-=a%y,u.set("FullYear",m,a)),v===p.week&&(c=u.get("Day",m),u.set("Date",m,u.get("Date",m)-c+r+(c<r?-7:0))),a=u.get("FullYear",m);let t=u.get("Month",m),o=u.get("Date",m),h=u.get("Hours",m);e=m.getTime(),(u.variableTimezone||!u.useUTC)&&i(n)&&(l=n-e>4*p.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let d=m.getTime();for(s=1;d<n;)f.push(d),v===p.year?d=u.makeTime(a+s*y,0):v===p.month?d=u.makeTime(a,t+s*y):!l||v!==p.day&&v!==p.week?l&&v===p.hour&&y>1?d=u.makeTime(a,t,o,h+s*y):d+=v*y:d=u.makeTime(a,t,o+s*y*(v===p.day?1:7)),s++;f.push(d),v<=p.hour&&f.length<1e4&&f.forEach(function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(g[t]="day")})}return f.info=o(t,{higherRanks:g,totalRange:v*y}),f}getDateFormat(t,e,n,i){let r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===n&&r.substr(6)===o.substr(6)){a="week";break}if(p[a]>t){a=l;break}if(s[a]&&r.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(i[a]).main}}return m.formatCache={},m}),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=r,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new i(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}}),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{isNumber:n,merge:i,pInt:r}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,i,r,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map(t=>new o(t[1]));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?i=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(i=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!i)for(r=o.parsers.length;r--&&!i;)(n=(s=o.parsers[r]).regex.exec(e))&&(i=s.parse(n))}i&&(this.rgba=i)}get(t){let e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=i(e);return n.stops=[].slice.call(n.stops),this.stops.forEach((e,i)=>{n.stops[i]=[n.stops[i][0],e.get(t)]}),n}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?`${r[3]}`:"rgba("+r.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach(function(e){e.brighten(t)});else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=r(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let i=this.rgba,r=t.rgba;if(!n(i[0])||!n(r[0]))return t.input||"none";let o=1!==r[3]||1!==i[3];return(o?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(o?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],o.None=new o(""),o}),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{parse:i}=t,{win:r}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],i=this.now||0,r=[];if(1!==i&&e&&n)if(e.length===n.length&&i<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+i*(n-e):l[t]=n}r.push(l)}else r=n;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)}run(t,e,n){let i=this,o=i.options,s=function(t){return!s.stopped&&i.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,i=+new Date,r=this.options,o=this.elem,a=r.complete,l=r.duration,c=r.curAnim;return o.attr&&!o.element?e=!1:t||i>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,function(t){!0!==t&&(n=!1)}),n&&a&&a.call(o),e=!1):(this.pos=r.easing((i-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let i,r,s,a,l=t.startX,c=t.endX,u=n.slice(),h=t.isArea,d=h?2:1,p=e&&n.length>e.length&&n.hasStackedCliffs,f=e&&e.slice();if(!f||p)return[u,u];function g(t,e){for(;t.length<r;){let n=t[0],i=e[r-t.length];if(i&&"M"===n[0]&&("C"===i[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),h){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<r;){let e=t[Math.floor(t.length/d)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),h){let n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){i=s;break}if(l[0]===c[c.length-l.length+s]){i=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){i=l.length-s;break}}void 0===i&&(f=[])}return f.length&&o(i)&&(r=u.length+i*d,a?(g(f,u),m(u)):(g(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}}return a.timers=[],a}),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,e){let{defined:n,getStyle:i,isArray:r,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function h(e,n){let i=t.timers.length;for(;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}return{animate:function(e,n,c){let u,d,p,f,g="";s(c)||(f=arguments,c={duration:f[2],easing:f[3],complete:f[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,function(o,s){h(e,s),p=new t(e,c,s),d=void 0,"d"===s&&r(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,d=1):e.attr?u=e.attr(s):(u=parseFloat(i(e,s))||0,"opacity"!==s&&(g="px")),d||(d=o),"string"==typeof d&&d.match("px")&&(d=d.replace(/px/g,"")),p.run(u,d,g)})},animObject:u,getDeferredAnimation:function(t,e,i){let r=u(e),o=i?[i]:t.series,a=0,l=0;return o.forEach(t=>{let i=u(t.options.animation);a=s(e)&&n(e.defer)?r.defer:Math.max(a,i.duration+i.defer),l=Math.min(r.duration,i.duration)}),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:h}}),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){let{SVG_NS:n,win:i}=t,{attr:r,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:h}=e,{trustedTypes:d}=i,p=d&&l(d.createPolicy)&&d.createPolicy("highcharts",{createHTML:t=>t}),f=p?p.createHTML(""):"",g=function(){try{return!!(new DOMParser).parseFromString(f,"text/html")}catch{return!1}}();class m{static filterUserAttributes(t){return u(t,(e,n)=>{let i=!0;-1===m.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=c(e)&&m.allowedReferences.some(t=>0===e.indexOf(t))),i||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"<"))}),t}static parseStyle(t){return t.split(";").reduce((t,e)=>{let n=e.split(":").map(t=>t.trim()),i=n.shift();return i&&n.length&&(t[i.replace(/-([a-z])/g,t=>t[1].toUpperCase())]=n.join(":")),t},{})}static setElementHTML(t,e){t.innerHTML=m.emptyHTML,e&&new m(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(i,o){let l;return h(i).forEach(function(i){let c,h=i.tagName,d=i.textContent?t.doc.createTextNode(i.textContent):void 0,p=m.bypassHTMLFiltering;if(h)if("#text"===h)c=d;else if(-1!==m.allowedTags.indexOf(h)||p){let a="svg"===h?n:o.namespaceURI||n,l=t.doc.createElementNS(a,h),f=i.attributes||{};u(i,function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(f[e]=t)}),r(l,p?f:m.filterUserAttributes(f)),i.style&&s(l,i.style),d&&l.appendChild(d),e(i.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":h});c&&o.appendChild(c),l=c}),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),g)e=(new DOMParser).parseFromString(p?p.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let i=(t,e)=>{let n=t.nodeName.toLowerCase(),r={tagName:n};"#text"===n&&(r.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,e=>{"data-style"===e.name?r.style=m.parseStyle(e.value):t[e.name]=e.value}),r.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,t=>{i(t,e)}),e.length&&(r.children=e)}e.push(r)};return[].forEach.call(e.body.childNodes,t=>i(t,n)),n}}return m.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],m.allowedReferences=["https://","http://","mailto:","/","../","./","#"],m.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],m.emptyHTML=f,m.bypassHTMLFiltering=!1,m}),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,e){let{defaultOptions:n,defaultTime:i}=t,{extend:r,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,h={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map((n,i)=>d(e.body,r(l(n)?n:{"@this":n},{"@index":i,"@first":0===i,"@last":i===t.length-1}))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function d(t="",e,r){let s,a,l,u=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,f=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,g=[],m=/f$/,v=/\.(\d)/,y=n.lang,b=r&&r.time||i,_=r&&r.numberFormatter||p,x=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},w=0;for(;null!==(s=u.exec(t));){let n=f.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let i=s[1].split(" ")[0].replace("#","");h[i]&&(a.isBlock&&i===a.fn&&w++,a.fn||(a.fn=i));let r="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||r))if(w)!r&&w--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],r||(g.push(a),a=void 0)}else a.isBlock||g.push(a);if(n&&(null==a||!a.isBlock))break}return g.forEach(n=>{let i,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=h[u].length;o--;)t.unshift(x(c[o+1]));i=h[u].apply(e,t),n.isBlock&&"boolean"==typeof i&&(i=d(i?s:a,e,r))}else{let t=l.split(":");if(i=x(t.shift()||""),t.length&&"number"==typeof i){let e=t.join(":");if(m.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==i&&(i=_(i,t,y.decimalPoint,e.indexOf(",")>-1?y.thousandsSep:""))}else i=b.dateFormat(e,i)}}t=t.replace(n.find,c(i,""))}),l?d(t,e,r):t}function p(t,e,i,r){let o,s;t=+t||0,e=+e;let l=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,d=t.toString().split("e"),p=e;-1===e?e=Math.min(h,20):a(e)?e&&d[1]&&d[1]<0&&((s=e+ +d[1])>=0?(d[0]=(+d[0]).toExponential(s).split("e")[0],e=s):(d[0]=d[0].split(".")[0]||0,t=e<20?(d[0]*Math.pow(10,d[1])).toFixed(e):0,d[1]=0)):e=2;let f=(Math.abs(d[1]?d[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e),g=String(u(f)),m=g.length>3?g.length%3:0;return i=c(i,l.decimalPoint),r=c(r,l.thousandsSep),o=(t<0?"-":"")+(m?g.substr(0,m)+r:""),0>+d[1]&&!p?o="0":o+=g.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),e?o+=i+f.slice(-e):0==+o&&(o="0"),d[1]&&0!=+o&&(o+="e"+d[1]),o}return{dateFormat:function(t,e,n){return i.dateFormat(t,e,n)},format:d,helpers:h,numberFormat:p}}),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var e,n;let i;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=i){return n.rendererTypes[t]||n.rendererTypes[i]},n.registerRendererType=function(e,r,o){n.rendererTypes[e]=r,(!i||o)&&(i=e,t.Renderer=r)},e}),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var e;let{clamp:n,pick:i,pushUnique:r,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,h,d,p,f=e,g=f.reducedLen||s,m=(t,e)=>t.target-e.target,v=[],y=e.length,b=[],_=v.push,x=!0,w=0;for(l=y;l--;)w+=e[l].size;if(w>g){for(o(e,(t,e)=>(e.rank||0)-(t.rank||0)),u=(p=e[0].rank===e[e.length-1].rank)?y/2:-1,c=p?u:y-1;u&&w>g;)h=e[l=Math.floor(c)],r(b,l)&&(w-=h.size),c+=u,p&&c>=e.length&&(u/=2,c=u);b.sort((t,e)=>e-t).forEach(t=>_.apply(v,e.splice(t,1)))}for(o(e,m),e=e.map(t=>({size:t.size,targets:[t.target],align:i(t.align,.5)}));x;){for(l=e.length;l--;)h=e[l],d=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=n(d-h.size*h.align,0,s-h.size);for(l=e.length,x=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),x=!0)}return _.apply(f,v),l=0,e.some(e=>{let n=0;return(e.targets||[]).some(()=>(f[l].pos=e.pos+n,void 0!==a&&Math.abs(f[l].pos-f[l].target)>a?(f.slice(0,l+1).forEach(t=>delete t.pos),f.reducedLen=(f.reducedLen||s)-.1*s,f.reducedLen>.1*s&&t(f,s,a),!0):(n+=f[l].size,l++,!1)))}),o(f,m),f},e}),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{animate:r,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:h}=n,{addEvent:d,attr:p,createElement:f,crisp:g,css:m,defined:v,erase:y,extend:b,fireEvent:_,isArray:x,isFunction:w,isObject:S,isString:k,merge:C,objectEach:O,pick:A,pInt:T,pushUnique:P,replaceNested:E,syncTimeout:M,uniqueKey:L}=i;class ${_defaultGetter(t){let e=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^-?[\d\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===n.indexOf(e)&&t.push(e),t},n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,i=!0){let r,o,s,a,l={},c=this.renderer,u=c.alignedObjects,h=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let d=!n||k(n)?n||"renderer":void 0;d&&(h&&P(u,this),n=void 0);let p=A(n,c[d],c),f=t.align,g=t.verticalAlign;return r=(p.x||0)+(t.x||0),o=(p.y||0)+(t.y||0),"right"===f?s=1:"center"===f&&(s=2),s&&(r+=((p.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(r),"bottom"===g?a=1:"middle"===g&&(a=2),a&&(o+=((p.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),i&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let i=o(A(e,this.renderer.globalAnimation,!0)),s=i.defer;return l.hidden&&(i.duration=0),0!==i.duration?(n&&(i.complete=n),M(()=>{this.element&&r(this,t,i)},s)):(this.attr(t,void 0,n||i.complete),O(t,function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let i=t.split(" "),r=i[i.length-1],o=i[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*Number(e)+n}),this.removeTextOutline();let t=l.createElementNS(u,"tspan");p(t,{class:"highcharts-text-outline",fill:r,stroke:r,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(t=>n.removeAttribute(t)),t.appendChild(n)});let i=0;[].forEach.call(n.querySelectorAll("text tspan"),t=>{i+=Number(t.getAttribute("dy"))});let s=l.createElementNS(u,"tspan");s.textContent="",p(s,{x:Number(e.getAttribute("x")),dy:-i}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,i){let r,o,a,{element:l}=this,c=$.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(r=t,(t={})[r]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(O(t,function(e,n){a=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)},this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=L()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);b(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,i=t.y||this.y||0,r=(t.width||this.width||0)+n,o=(t.height||this.height||0)+i,s=g(n,e),a=g(i,e);return b(t,{x:s,y:a,width:g(r,e)-s,height:g(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,i){let r,o,s,a,l,c,u,h,d,p,f,g=this.renderer,m=[];_(this.renderer,"complexColor",{args:arguments},function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=g.gradients,c=t.stops,d=i.radialReference,x(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!v(s.gradientUnits)&&(a=s,s=C(s,g.getRadialAttr(d,a),{gradientUnits:"userSpaceOnUse"})),O(s,function(t,e){"id"!==e&&m.push(e,t)}),O(c,function(t){m.push(t)}),l[m=m.join(",")])p=l[m].attr("id");else{s.id=p=L();let t=l[m]=g.createElement(o).attr(s).add(g.defs);t.radAttr=a,t.stops=[],c.forEach(function(n){0===n[1].indexOf("rgba")?(u=(r=e.parse(n[1])).get("rgb"),h=r.get("a")):(u=n[1],h=1);let i=g.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":h}).add(t);t.stops.push(i)})}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=m,t.toString=function(){return f}}})}css(t){let e,n=this.styles,i={},r=this.element,o=!n;if(n&&O(t,function(t,e){n&&n[e]!==t&&(i[e]=t,o=!0)}),o){n&&(t=b(n,i)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),b(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=C(t);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(t=>o&&delete o[t]),o.color&&(o.fill=o.color)),m(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let i=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=i.length;e--;)i[e]=""+T(i[e])*A(n,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){var t;let e,n,i=this,r=i.element||{},o=i.renderer,a=r.ownerSVGElement,l="SPAN"===r.nodeName&&i.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(i),i.clipPath&&a){let t=i.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")}),i.clipPath=t.destroy()}if(i.connector=null==(t=i.connector)?void 0:t.destroy(),i.stops){for(n=0;n<i.stops.length;n++)i.stops[n].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(r);l&&l.div&&0===l.div.childNodes.length;)e=l.parentGroup,i.safeRemoveChild(l.div),delete l.div,l=e;i.alignOptions&&y(o.alignedObjects,i),O(i,function(t,e){i[e]&&i[e].parentGroup===i&&i[e].destroy&&i[e].destroy(),delete i[e]})}dSetter(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString(),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,i,r,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:h,cacheKeys:d}=l,p=a.namespaceURI===this.SVG_NS,f=A(e,this.rotation,0),g=l.styledMode?a&&$.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/\d/g,"0")),o+=["",l.rootFontSize,g,f,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=h[o]),!n||n.polygon){if(p||l.forExport){try{r=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&m(e,{display:t})},w(r)&&r("none"),n=a.getBBox?b({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(r)&&r("")}catch{}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();i=n.height,p&&(n.height=i={"11px,17":14,"13px,20":16}[`${g||""},${Math.round(i)}`]||i),f&&(n=this.getRotatedBox(n,f));let t={bBox:n};_(this,"afterGetBBox",t),n=t.bBox}if(o&&(""===u||n.height>0)){for(;d.length>250;)delete h[d.shift()];h[o]||d.push(o),h[o]=n}return n}getRotatedBox(t,e){let{x:n,y:i,width:r,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,h={right:1,center:.5}[s||0]||0,d=Number(this.element.getAttribute("y")||0)-(l?0:i),p=e*a,f=(e-90)*a,g=Math.cos(p),m=Math.sin(p),v=r*g,y=r*m,b=Math.cos(f),_=Math.sin(f),[[x,w],[S,k]]=[c,u].map(t=>[t-t*g,t*m]),C=n+h*(r-v)+x+k+d*b,O=C+v,A=O-o*b,T=A-v,P=i+d-h*y-w+S+d*_,E=P+y,M=E-o*_,L=M-y,$=Math.min(C,O,A,T),j=Math.min(P,E,M,L);return{x:$,y:j,width:Math.max(C,O,A,T)-$,height:Math.max(P,E,M,L)-j,polygon:[[C,P],[O,E],[A,M],[T,L]]}}getStyle(t){return h.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},_(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=d(this.element,t,e),this}opacitySetter(t,e,n){let i=Number(Number(t).toFixed(3));this.opacity=i,n.setAttribute(e,i)}reAlign(){var t;null!=(t=this.alignOptions)&&t.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}shadow(t){var e;let{renderer:n}=this,i=C(90===(null==(e=this.parentGroup)?void 0:e.rotation)?{offsetX:-1,offsetY:-1}:{},S(t)?t:{}),r=n.shadowDefinition(i);return this.attr({filter:t?`url(${n.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=T(e):""!==e&&(p(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;$.symbolCustomAttribs.forEach(function(n){e[n]=A(t[n],e[n])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=E(A(t,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){var e;let{element:n,matrix:i,rotation:r=0,rotationOriginX:o,rotationOriginY:s,scaleX:a,scaleY:l,translateX:c=0,translateY:u=0}=this,h=["translate("+c+","+u+")"];v(i)&&h.push("matrix("+i.join(",")+")"),r&&(h.push("rotate("+r+" "+A(o,n.getAttribute("x"),0)+" "+A(s,n.getAttribute("y")||0)+")"),"SPAN"===(null==(e=this.text)?void 0:e.element.tagName)&&this.text.attr({rotation:r,rotationOriginX:(o||0)-this.padding,rotationOriginY:(s||0)-this.padding})),(v(a)||v(l))&&h.push("scale("+A(a,1)+" "+A(l,1)+")"),h.length&&!(this.text||this).textPath&&n.setAttribute(t,h.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,i,r,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,h=c===a.box,d=!1,p=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(p=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,p){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!d;s--)o=!v(r=(i=n[s]).getAttribute("data-z-index")),i!==u&&(t<0&&o&&!h&&!s?(c.insertBefore(u,n[s]),d=!0):(T(r)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),d=!0));d||(c.insertBefore(u,n[h?3:0]),d=!0)}return d}}return $.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],$.prototype.strokeSetter=$.prototype.fillSetter,$.prototype.yGetter=$.prototype.xGetter,$.prototype.matrixSetter=$.prototype.rotationOriginXSetter=$.prototype.rotationOriginYSetter=$.prototype.rotationSetter=$.prototype.scaleXSetter=$.prototype.scaleYSetter=$.prototype.translateXSetter=$.prototype.translateYSetter=$.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},$}),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){let{defined:n,extend:i,isNumber:r,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,i,r,o,s,a,c,u){let h;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=e,this.x=n,this.y=i,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof r&&((h=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||h,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach(n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])}),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:i=0,translateX:r=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:i,x:r+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(i(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,i=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(i!==t.x||e!==t.y)&&(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e}}widthSetter(t){this.widthSetting=r(t)?t:void 0,this.doUpdate=!0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l}),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:e,isNumber:n,pick:i}=t;function r(t,n,r,o,s){let a=[];if(s){let l=s.start||0,c=i(s.r,r),u=i(s.r,o||r),h=2e-4/Math.max(c,1),d=Math.abs((s.end||0)-l-2*Math.PI)<h,p=(s.end||0)-h,f=s.innerR,g=i(s.open,d),m=Math.cos(l),v=Math.sin(l),y=Math.cos(p),b=Math.sin(p),_=i(s.longArc,p-l-Math.PI<h?0:1),x=["A",c,u,0,_,i(s.clockwise,1),t+c*y,n+u*b];x.params={start:l,end:p,cx:t,cy:n},a.push(["M",t+c*m,n+u*v],x),e(f)&&((x=["A",f,f,0,_,e(s.clockwise)?1-s.clockwise:0,t+f*m,n+f*v]).params={start:p,end:l,cx:t,cy:n},a.push(g?["M",t+f*y,n+f*b]:["L",t+f*y,n+f*b],x)),g||a.push(["Z"])}return a}function o(t,e,n,i,r){return r&&r.r?s(t,e,n,i,r):[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]}function s(t,e,n,i,r){let o=(null==r?void 0:r.r)||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+i-o],["A",o,o,0,0,1,t+n-o,e+i],["L",t+o,e+i],["A",o,o,0,0,1,t,e+i-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:r,callout:function(t,e,i,r,o){let a=Math.min(o&&o.r||0,i,r),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,h=s(t,e,i,r,{r:a});if(!n(c)||c<i&&c>0&&u<r&&u>0)return h;if(t+c>i-l)if(u>e+l&&u<e+r-l)h.splice(3,1,["L",t+i,u-6],["L",t+i+6,u],["L",t+i,u+6],["L",t+i,e+r-a]);else if(c<i){let n=u<e+l,o=n?e:e+r;h.splice(n?2:5,0,["L",c,u],["L",t+i-a,o])}else h.splice(3,1,["L",t+i,r/2],["L",c,u],["L",t+i,r/2],["L",t+i,e+r-a]);else if(t+c<l)if(u>e+l&&u<e+r-l)h.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,i=n?e:e+r;h.splice(n?1:6,0,["L",c,u],["L",t+a,i])}else h.splice(7,1,["L",t,r/2],["L",c,u],["L",t,r/2],["L",t,e+a]);else u>r&&c<i-l?h.splice(5,1,["L",c+6,e+r],["L",c,e+r+6],["L",c-6,e+r],["L",t+a,e+r]):u<0&&c>l&&h.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",i-a,e]);return h},circle:function(t,e,n,i){return r(t+n/2,e+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}}),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{doc:i,SVG_NS:r,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:h}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,r=e.renderer,o=h(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&r.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let i=new t(o);this.modifyTree(i.nodes),i.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),l&&l.removeChild(n)}}else n.appendChild(i.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(t,i)=>{t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))});let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),h=this.getLineHeight(o),d=0,p=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*h),(t,e)=>t.substring(0,e)+"…");else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&d>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===d&&p||0,a,(t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-")),p=e.actualWidth,d++;u.forEach(e=>{o.insertBefore(e,t)}),l.forEach(e=>{o.insertBefore(i.createTextNode(e),t);let a=i.createElementNS(r,"tspan");a.textContent="",s(a,{dy:h,x:n}),o.insertBefore(a,t)})}},c=t=>{[].slice.call(t.childNodes).forEach(n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))})};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,i)=>{let{attributes:r={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?r.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?r.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){r.class="highcharts-br",n.textContent="";let e=t[i+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some(t=>"#text"===t.tagName)&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:r,style:s}),o&&o.filter(t=>"#text"!==t.tagName).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,i,r,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],h=n?1:0,d=(e||n||"").length,p=d,f=function(e,r){let o=r||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=i+s.getSubStringLength(0,n?o+1:o)}catch{}return u[o]};if(l.rotation=0,i+(a=f(t.textContent.length))>r){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(s=o(n,p)),a=f(p,s&&s.length-1),h===d?h=d+1:a>r?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||o(e||n,p))}n&&n.splice(0,p),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),i))}),t}}}),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l,c){let u,{defaultOptions:h}=e,{charts:d,deg2rad:p,doc:f,isFirefox:g,isMS:m,isWebKit:v,noop:y,SVG_NS:b,symbolSizes:_,win:x}=i,{addEvent:w,attr:S,createElement:k,crisp:C,css:O,defined:A,destroyObjectProperties:T,extend:P,isArray:E,isNumber:M,isObject:L,isString:$,merge:j,pick:D,pInt:I,replaceNested:N,uniqueKey:R}=c;class B{constructor(t,e,n,i,r,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(i||{})),t.appendChild(u),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 11.4.6")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),g&&t.getBoundingClientRect&&((a=function(){O(t,{left:0,top:0}),l=t.getBoundingClientRect(),O(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=w(x,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((g||v)&&f.getElementsByTagName("base").length){if(!A(u)){let e=R(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body);O(n,{position:"fixed",top:0,left:0,zIndex:9e5});let i=f.elementFromPoint(6,6);u="hitme"===(i&&i.id),f.body.removeChild(n)}if(u)return N(x.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=P({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map(e=>`${e}-${t[e]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),n=j({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:this.getShadowFilterContent(n)}),e}getShadowFilterContent(t){return[{tagName:"feDropShadow",attributes:{dx:t.offsetX,dy:t.offsetY,"flood-color":t.color,"flood-opacity":Math.min(5*t.opacity,1),stdDeviation:t.width/2}}]}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map(t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),i=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(i+.05)>(i+.05)/.05?"#FFFFFF":"#000000"}button(e,n,i,r,o={},s,a,l,c,u){let d=this.label(e,n,i,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,f=arguments,g=0;o=j(h.global.buttonTheme,o),p&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},y=o.style||{};delete o.states,delete o.style;let b=[t.filterUserAttributes(o)],_=[y];return p||["hover","select","disabled"].forEach((e,n)=>{b.push(j(b[0],t.filterUserAttributes(f[n+5]||v[e]||{}))),_.push(b[n+1].style),delete b[n+1].style}),w(d.element,m?"mouseover":"mouseenter",function(){3!==g&&d.setState(1)}),w(d.element,m?"mouseout":"mouseleave",function(){3!==g&&d.setState(g)}),d.setState=(t=0)=>{if(1!==t&&(d.state=g=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!p){d.attr(b[t]);let e=_[t];L(e)&&d.css(e)}},d.attr(b[0]),!p&&(d.css(P({cursor:"default"},y)),u&&d.text.css({pointerEvents:"none"})),d.on("touchstart",t=>t.stopPropagation()).on("click",function(t){3!==g&&r.call(d,t)})}crispLine(t,e){let[n,i]=t;return A(n[1])&&n[1]===i[1]&&(n[1]=i[1]=C(n[1],e)),A(n[2])&&n[2]===i[2]&&(n[2]=i[2]=C(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:L(t)&&P(e,t),this.createElement("path").attr(e)}circle(t,e,n){let i=L(t)?t:void 0===t?{}:{x:t,y:e,r:n},r=this.createElement("circle");return r.xSetter=r.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},r.attr(i)}arc(t,e,n,i,r,o){let s;L(t)?(e=(s=t).y,n=s.r,i=s.innerR,r=s.start,o=s.end,t=s.x):s={innerR:i,start:r,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,i,r,o){let s=L(t)?t:void 0===t?{}:{x:t,y:e,r,width:Math.max(n||0,0),height:Math.max(i||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,P(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,S(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,i,r,o){let s={preserveAspectRatio:"none"};M(e)&&(s.x=e),M(n)&&(s.y=n),M(i)&&(s.width=i),M(r)&&(s.height=r);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new x.Image;w(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,i,r,o){let s,a,l,c,u=this,h=/^url\((.*?)\)$/,p=h.test(t),g=!p&&(this.symbols[t]?t:"circle"),m=g&&this.symbols[g];if(m)"number"==typeof e&&(a=m.call(this.symbols,e||0,n||0,i||0,r||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),P(s,{symbolName:g||void 0,x:e,y:n,width:i,height:r}),o&&P(s,o);else if(p){l=t.match(h)[1];let i=s=this.image(l);i.imgwidth=D(o&&o.width,_[l]&&_[l].width),i.imgheight=D(o&&o.height,_[l]&&_[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach(t=>{i[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:i,width:r,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&r&&s&&a&&l?(u=Math.min(r/a,s/l),S(i,{width:Math.round(a*u),height:Math.round(l*u)})):i&&c&&i.setAttribute(e,c),!n&&a&&l&&this.translate(((r||0)-a*u)/2,((s||0)-l*u)/2)}}),A(e)&&i.attr({x:e,y:n}),i.isImg=!0,A(i.imgwidth)&&A(i.imgheight)?c(i):(i.attr({width:0,height:0}),k("img",{onload:function(){let t=d[u.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),_[l]={width:this.width,height:this.height},i.imgwidth=this.width,i.imgheight=this.height,i.element&&c(i),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,i){return this.rect(t,e,n,i,0)}text(t,e,n,i){let r={};if(i&&(this.allowHTML||!this.forExport))return this.html(t,e,n);r.x=Math.round(e||0),n&&(r.y=Math.round(n)),A(t)&&(r.text=t);let o=this.createElement("text").attr(r);return i&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let i=n.getElementsByTagName("tspan"),r=n.getAttribute(e);for(let n,o=0;o<i.length;o++)(n=i[o]).getAttribute(e)===r&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=I(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let i=t;return e&&n&&(i=Math.max(i*Math.cos(e*p),4)),{x:-t/3*Math.sin(e*p),y:i}}pathToSegments(t){let e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<t.length;r++)$(n[0])&&M(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e}label(t,e,n,i,r,o,a,l,c){return new s(this,t,e,n,i,r,o,a,l,c)}alignElements(){this.alignedObjects.forEach(t=>t.align())}}return P(B.prototype,{Element:o,SVG_NS:b,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:y}),r.registerRendererType("svg",B,!0),B}),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{composed:r}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:h}=i;function d(t,e,i){var r;let o=(null==(r=this.div)?void 0:r.style)||i.style;n.prototype[`${e}Setter`].call(this,t,e,i),o&&(o[e]=t)}let p=(t,e)=>{var i;if(!t.div){let r=o(t.element,"class"),s=t.css,l=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},(null==(i=t.parentGroup)?void 0:i.div)||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),l.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,l.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=d,t.css=e=>(s.call(t,e),e.cursor&&(l.style.cursor=e.cursor),e.pointerEvents&&(l.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:l,onEvents:t.onEvents},arguments),t},t.div=l}return t.div};class f extends n{static compose(t){h(r,this.compose)&&(t.prototype.html=function(t,e,n){return new f(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,i="SPAN"===n.tagName&&t&&"width"in t,r=i&&t.width;return i&&(delete t.width,this.textWidth=u(r)||void 0,e=!0),"ellipsis"===(null==t?void 0:t.textOverflow)&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){var t;if(!this.added)return void(this.alignOnAdd=!0);let{element:e,renderer:n,rotation:i,rotationOriginX:r,rotationOriginY:o,styles:a,textAlign:c="left",textWidth:u,translateX:h=0,translateY:d=0,x:p=0,y:f=0}=this,g={left:0,center:.5,right:1}[c],m=a.whiteSpace;if(s(e,{marginLeft:`${h}px`,marginTop:`${d}px`}),"SPAN"===e.tagName){let a,h=[i,c,e.innerHTML,u,this.textAlign].join(","),d=-1*(null==(t=this.parentGroup)?void 0:t.padding)||0,v=!1;if(u!==this.oldTextWidth){let t=this.textPxLength?this.textPxLength:(s(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth),n=u||0;(n>this.oldTextWidth||t>n)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(s(e,{width:t>n||i?u+"px":"auto",display:"block",whiteSpace:m||"normal"}),this.oldTextWidth=u,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(a=n.fontMetrics(e).b,l(i)&&(i!==(this.oldRotation||0)||c!==this.oldAlign)&&this.setSpanRotation(i,d,d),this.getSpanCorrection(!l(i)&&this.textPxLength||e.offsetWidth,a,g));let{xCorr:y=0,yCorr:b=0}=this;s(e,{left:`${p+y}px`,top:`${f+b}px`,transformOrigin:`${(r??p)-y-p-d}px ${(o??f)-b-f-d}px`}),this.cTT=h,this.oldRotation=i,this.oldAlign=c}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,i=[];if(this.parentGroup=t,t&&!(e=t.div)){let r=t;for(;r;)i.push(r),r=r.parentGroup;for(let t of i.reverse())e=p(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let g=f.prototype;return g.visibilitySetter=g.opacitySetter=d,g.ySetter=g.rotationSetter=g.rotationOriginXSetter=g.rotationOriginYSetter=g.xSetter,f}),n(e,"Core/Axis/AxisDefaults.js",[],function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,isFunction:i,objectEach:r,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e,{order:0})))})},e}),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{deg2rad:i}=e,{clamp:r,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:h,objectEach:d,pick:p}=n;return class{constructor(t,e,n,i,r){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}addLabel(){let e,n,i,r=this,a=r.axis,h=a.options,d=a.chart,f=a.categories,g=a.logarithmic,m=a.names,v=r.pos,y=p(r.options&&r.options.labels,h.labels),b=a.tickPositions,_=v===b[0],x=v===b[b.length-1],w=(!y.step||1===y.step)&&1===a.tickInterval,S=b.info,k=r.label,C=this.parameters.category||(f?p(f[v],m[v],v):v);g&&u(C)&&(C=o(g.lin2log(C))),a.dateTime&&(S?e=(n=d.time.resolveDTLFormat(h.dateTimeLabelFormats[!h.grid&&S.higherRanks[v]||S.unitName])).main:u(C)&&(e=a.dateTime.getXDateFormat(C,h.dateTimeLabelFormats||{}))),r.isFirst=_,r.isLast=x;let O={axis:a,chart:d,dateTimeLabelFormat:e,isFirst:_,isLast:x,pos:v,tick:r,tickPositionInfo:S,value:C};c(this,"labelFormat",O);let A=e=>y.formatter?y.formatter.call(e,e):y.format?(e.text=a.defaultLabelFormatter.call(e),t.format(y.format,e,d)):a.defaultLabelFormatter.call(e),T=A.call(O,O),P=n&&n.list;r.shortenLabel=P?function(){for(i=0;i<P.length;i++)if(l(O,{dateTimeLabelFormat:P[i]}),k.attr({text:A.call(O,O)}),k.getBBox().width<a.getSlotWidth(r)-2*(y.padding||0))return;k.attr({text:""})}:void 0,w&&a._addedPlotLB&&r.moveLabel(T,y),s(k)||r.movedLabel?k&&k.textStr!==T&&!w&&(!k.textWidth||y.style.width||k.styles.width||k.css({width:null}),k.attr({text:T}),k.textPxLength=k.getBBox().width):(r.label=k=r.createLabel(T,y),r.rotation=0)}createLabel(t,e,n){let i=this.axis,r=i.chart,o=s(t)&&e.enabled?r.renderer.text(t,null==n?void 0:n.x,null==n?void 0:n.y,e.useHTML).add(i.labelGroup):void 0;return o&&(r.styledMode||o.css(h(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,i){let s=this.axis,a=s.chart,l=i&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,i)+s.transB):s.left+s.offset+(s.opposite?(i&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,i)-s.transB)};return u.y=r(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,r,o,a,l,u){let h,d,f=this.axis,g=f.transA,m=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,v=f.staggerLines,y=f.tickRotCorr||{x:0,y:0},b=r||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),_=o.distance,x={};return h=0===f.side?n.rotation?-_:-n.getBBox().height:2===f.side?y.y+_:Math.cos(n.rotation*i)*(y.y-n.getBBox(!1,0).height/2),s(o.y)&&(h=0===f.side&&f.horiz?o.y+h:o.y),t=t+p(o.x,[0,1,0,-1][f.side]*_)+b+y.x-(a&&r?a*g*(m?-1:1):0),e=e+h-(a&&!r?a*g*(m?1:-1):0),v&&(d=l/(u||1)%v,f.opposite&&(d=v-d-1),e+=d*(f.labelOffset/v)),x.x=t,x.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:x,tickmarkOffset:a,index:l}),x}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,i,r=!1,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)}handleOverflow(t){let e,n,r,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=p(o.labelLeft,Math.min(o.pos,c[3])),h=p(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),d=this.label,f=this.rotation,g={left:0,center:.5,right:1}[o.labelAlign||d.attr("align")],m=d.getBBox().width,v=o.getSlotWidth(this),y={},b=v,_=1;f||"justify"!==s.overflow?f<0&&a-g*m<u?r=Math.round(a/Math.cos(f*i)-u):f>0&&a+g*m>h&&(r=Math.round((l-a)/Math.cos(f*i))):(e=a-g*m,n=a+(1-g)*m,e<u?b=t.x+b*(1-g)-u:n>h&&(b=h-t.x+b*g,_=-1),(b=Math.min(v,b))<v&&"center"===o.labelAlign&&(t.x+=_*(v-b-g*(v-Math.min(m,b)))),(m>b||o.autoRotation&&(d.styles||{}).width)&&(r=b)),r&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(r)+"px",(s.style||{}).textOverflow||(y.textOverflow="ellipsis"),d.css(y)))}moveLabel(t,e){let n,i=this,r=i.label,o=i.axis,s=!1;r&&r.textStr===t?(i.movedLabel=r,s=!0,delete i.label):d(o.ticks,function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)}),!s&&(i.labelPos||r)&&(n=i.labelPos||r.xy,i.movedLabel=i.createLabel(t,e,n),i.movedLabel&&i.movedLabel.attr({opacity:0}))}render(t,e,n){let i=this.axis,r=i.horiz,s=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset),l=this.getPosition(r,s,a,e),u=l.x,h=l.y,d=i.pos,f=d+i.len,g=r?u:h;!i.chart.polar&&this.isNew&&(o(g)<d||g>f)&&(n=0);let m=p(n,this.label&&this.label.newOpacity,1);n=p(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,m,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,i=this.axis,r=i.options,o={},s=this.pos,a=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,u=this.gridLine,h=r.gridLineWidth,d=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(h=r.minorGridLineWidth,d=r.minorGridLineColor,f=r.minorGridLineDashStyle),u||(i.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(i.gridGroup)),u&&(n=i.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,i=n.options,r=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=p(i["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=i["minor"!==o?"tickColor":"minorTickColor"],h=this.mark,d=!h;s&&(n.opposite&&(s[0]=-s[0]),h||(this.mark=h=r.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||h.attr({stroke:u,"stroke-width":c})),h[d?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],h.strokeWidth(),n.horiz,r),opacity:e}))}renderLabel(t,e,n,i){let r=this.axis,o=r.horiz,s=r.options,a=this.label,l=s.labels,c=l.step,h=p(this.tickmarkOffset,r.tickmarkOffset),d=t.x,f=t.y,g=!0;a&&u(d)&&(a.xy=t=this.getLabelPosition(d,f,a,o,l,h,i,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?g=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&i%c&&(g=!1),g&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:h}=i,{registerEventOptions:d}=r,{deg2rad:p}=o,{arrayMax:f,arrayMin:g,clamp:m,correctFloat:v,defined:y,destroyObjectProperties:b,erase:_,error:x,extend:w,fireEvent:S,getClosestDistance:k,insertItem:C,isArray:O,isNumber:A,isString:T,merge:P,normalizeTickInterval:E,objectEach:M,pick:L,relativeLength:$,removeEvent:j,splat:D,syncTimeout:I}=a,N=(t,e)=>E(e,void 0,void 0,L(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);w(h,{xAxis:c,yAxis:P(c,u)});class R{constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let i="xAxis"===n,r=this.isZAxis||(t.inverted?!i:i);this.chart=t,this.horiz=r,this.isXAxis=i,this.coll=n,S(this,"init",{userOptions:e}),this.opposite=L(e.opposite,this.opposite),this.side=L(e.side,this.side,r?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=L(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=O(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=y(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=L(o.crosshair,D(t.options.tooltip.crosshairs)[i?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),C(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&!y(this.reversed)&&(this.reversed=!0),this.labelRotation=A(s.rotation)?s.rotation:void 0,d(this,o),S(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=P(e,h[this.coll],t),S(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:i}=this.chart,r=A(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=h.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,d=n.logarithmic?Math.abs(r):n.tickInterval,p=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,r);else if(p&&c&&d>=1e3)for(;p--&&void 0===e;)d>=(t=Math.pow(u,p+1))&&10*r%t==0&&null!==c[p]&&0!==r&&(e=i(r/t,-1)+c[p]);return void 0===e&&(e=Math.abs(r)>=1e4?i(r,-1):i(r,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;S(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach(n=>{if(n.reserveSpace()){let i,r,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(i=n.xData)&&i.length&&(i=e.logarithmic?i.filter(t=>t>0):i,r=(t=n.getXExtremes(i)).min,o=t.max,A(r)||r instanceof Date||(i=i.filter(A),r=(t=n.getXExtremes(i)).min,o=t.max),i.length&&(e.dataMin=Math.min(L(e.dataMin,r),r),e.dataMax=Math.max(L(e.dataMax,o),o)));else{let t=n.applyExtremes();A(t.dataMin)&&(r=t.dataMin,e.dataMin=Math.min(L(e.dataMin,r),r)),A(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(L(e.dataMax,o),o)),y(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}})}),S(this,"afterGetSeriesExtremes")}translate(t,e,n,i,r,o){var s;let a=this.linkedParent||this,l=i&&a.old?a.old.min:a.min;if(!A(l))return NaN;let c=a.minPixelPadding,u=(a.isOrdinal||(null==(s=a.brokenAxis)?void 0:s.hasBreaks)||a.logarithmic&&r)&&a.lin2val,h=1,d=0,p=i&&a.old?a.old.transA:a.transA,f=0;return p||(p=a.transA),n&&(h*=-1,d=a.len),a.reversed&&(h*=-1,d-=h*(a.sector||a.len)),e?(f=(t=t*h+d-c)/p+l,u&&(f=a.lin2val(f))):(u&&(t=a.val2lin(t)),f=h*(t-l)*p+d+h*c+(A(o)?p*o:0),a.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,i,r,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,h=t.value,d=t.lineWidth,p=u&&a.oldChartHeight||a.chartHeight,f=u&&a.oldChartWidth||a.chartWidth,g=s.transB,v=t.translatedValue,y=t.force;function b(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=m(t,e,n):o=!0),t}let _={value:h,lineWidth:d,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:v};return S(this,"getPlotLinePath",_,function(t){e=i=(v=m(v=L(v,s.translate(h,void 0,void 0,u)),-1e5,1e5))+g,n=r=p-v-g,A(v)?s.horiz?(n=c,r=p-s.bottom+(s.options.isInternal?0:a.scrollablePixelsY||0),e=i=b(e,l,l+s.width)):(e=l,i=f-s.right+(a.scrollablePixelsX||0),n=r=b(n,c,c+s.height)):(o=!0,y=!1),t.path=o&&!y?void 0:a.renderer.crispLine([["M",e,n],["L",i,r]],d||1)}),_.path}getLinearTickPositions(t,e,n){let i,r,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(i=s;i<=a&&(l.push(i),(i=v(i+t,o))!==r);)r=i;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?L(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,i=this.minorTickInterval,r=this.pointRangePadding||0,o=(this.min||0)-r,s=(this.max||0)+r,a=s-o,l=[];if(a&&a/i<this.len/3){let r=this.logarithmic;if(r)this.paddedTicks.forEach(function(t,e,n){e&&l.push.apply(l,r.getLogTickPositions(i,n[e-1],n[e],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%i;t<=s&&t!==l[0];t+=i)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,i,r=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=y(r.min)||y(r.max)||y(r.floor)||y(r.ceiling)?null:Math.min(5*(k(this.series.map(t=>{var e;return(t.xIncrement?null==(e=t.xData)?void 0:e.slice(0,2):t.xData)||[]}))||0),this.dataMax-this.dataMin)),A(s)&&A(a)&&A(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,L(r.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),i=[(a=f(n))+l,L(r.max,a+l)],e&&(i[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=g(i))-a<l&&(n[0]=s-l,n[1]=L(r.min,s-l),a=f(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach(function(t){var i;let r=t.closestPointRange;1===(null==(i=t.xData)?void 0:i.length)?n.push(t.xData[0]):!t.noSharedTooltip&&y(r)&&t.reserveSpace()&&(e=y(e)?Math.min(e,r):r)}),n.length&&(n.sort((t,e)=>t-e),t=k([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=O(this.options.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,y(r)||(r=this.options.uniqueNames&&i?n?i.indexOf(t.name):L(i.keys[t.name],-1):t.series.autoIncrement()),-1===r?!n&&i&&(e=i.length):e=r,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach(function(t){delete e.keys[t]}),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach(function(n,i){let r;null!=n&&n.options&&void 0!==n.name&&void 0!==(r=t.nameToX(n))&&r!==n.x&&(n.x=r,e.xData[i]=r)})}))}setAxisTranslation(){let t,e,n=this,i=n.max-n.min,r=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),r?(l=r.minPointOffset,c=r.pointRangePadding):n.series.forEach(function(e){let i=o?1:s?L(e.options.pointRange,t,0):n.axisPointRange||0,r=e.options.pointPlacement;if(a=Math.max(a,i),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&T(r)?0:i/2),c=Math.max(c,t&&"on"===r?0:i)}}),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:i),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(i+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,S(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return A(t)&&A(e)&&t-e||void 0}setTickInterval(t){var e,n,i,r;let o,s,a,l,c,{categories:u,chart:h,dataMax:d,dataMin:p,dateTime:f,isXAxis:g,logarithmic:m,options:b,softThreshold:_}=this,w=A(this.threshold)?this.threshold:void 0,k=this.minRange||0,{ceiling:C,floor:O,linkedTo:T,softMax:P,softMin:E}=b,M=A(T)&&(null==(e=h[this.coll])?void 0:e[T]),$=b.tickPixelInterval,j=b.maxPadding,D=b.minPadding,I=0,R=A(b.tickInterval)&&b.tickInterval>=0?b.tickInterval:void 0;if(f||u||M||this.getTickAmount(),l=L(this.userMin,b.min),c=L(this.userMax,b.max),M?(this.linkedParent=M,o=M.getExtremes(),this.min=L(o.min,o.dataMin),this.max=L(o.max,o.dataMax),b.type!==M.options.type&&x(11,!0,h)):(_&&y(w)&&A(d)&&A(p)&&(p>=w?(s=w,D=0):d<=w&&(a=w,j=0)),this.min=L(l,s,p),this.max=L(c,a,d)),A(this.max)&&A(this.min)&&(m&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,L(p,this.min))&&x(10,!0,h),this.min=v(m.log2lin(this.min),16),this.max=v(m.log2lin(this.max),16)),this.range&&A(p)&&(this.userMin=this.min=l=Math.max(p,this.minFromRange()||0),this.userMax=c=this.max,this.range=void 0)),S(this,"foundExtremes"),this.adjustForMinRange(),A(this.min)&&A(this.max)){if(!A(this.userMin)&&A(E)&&E<this.min&&(this.min=l=E),!A(this.userMax)&&A(P)&&P>this.max&&(this.max=c=P),u||this.axisPointRange||null!=(n=this.stacking)&&n.usePercentage||M||!(I=this.max-this.min)||(!y(l)&&D&&(this.min-=I*D),y(c)||!j||(this.max+=I*j)),!A(this.userMin)&&A(O)&&(this.min=Math.max(this.min,O)),!A(this.userMax)&&A(C)&&(this.max=Math.min(this.max,C)),_&&A(p)&&A(d)){let t=w||0;!y(l)&&this.min<t&&p>=t?this.min=b.minRange?Math.min(t,this.max-k):t:!y(c)&&this.max>t&&d<=t&&(this.max=b.minRange?Math.max(t,this.min+k):t)}!h.polar&&this.min>this.max&&(y(b.min)?this.max=this.min:y(b.max)&&(this.min=this.max)),I=this.max-this.min}if(this.min!==this.max&&A(this.min)&&A(this.max)?M&&!R&&$===M.options.tickPixelInterval?this.tickInterval=R=M.tickInterval:this.tickInterval=L(R,this.tickAmount?I/Math.max(this.tickAmount-1,1):void 0,u?1:I*$/Math.max(this.len,$)):this.tickInterval=1,g&&!t){let t=this.min!==(null==(i=this.old)?void 0:i.min)||this.max!==(null==(r=this.old)?void 0:r.max);this.series.forEach(function(e){var n;e.forceCrop=null==(n=e.forceCropping)?void 0:n.call(e),e.processData(t)}),S(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),S(this,"initialAxisTranslation"),this.pointRange&&!R&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let B=L(b.minTickInterval,f&&!this.series.some(t=>t.noSharedTooltip)?this.closestPointRange:0);!R&&this.tickInterval<B&&(this.tickInterval=B),f||m||R||(this.tickInterval=N(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var t,e;let n,i=this.options,r=i.tickPositions,o=i.tickPositioner,s=this.getMinorTickInterval(),a=!this.isPanning,l=a&&i.startOnTick,c=a&&i.endOnTick,u=[];if(this.tickmarkOffset=this.categories&&"between"===i.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===s&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:s,this.single=this.min===this.max&&y(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==i.allowDecimals),r)u=r.slice();else if(A(this.min)&&A(this.max)){if((null==(t=this.ordinal)||!t.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))u=[this.min,this.max],x(19,!1,this.chart);else if(this.dateTime)u=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,null==(e=this.ordinal)?void 0:e.positions,this.closestPointRange,!0);else if(this.logarithmic)u=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(u=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&u.length>this.tickAmount);)this.tickInterval=N(this,e*=1.1)}u.length>this.len&&(u=[u[0],u[u.length-1]])[0]===u[1]&&(u.length=1),o&&(this.tickPositions=u,(n=o.apply(this,[this.min,this.max]))&&(u=n))}this.tickPositions=u,this.paddedTicks=u.slice(0),this.trimTicks(u,l,c),!this.isLinked&&A(this.min)&&A(this.max)&&(this.single&&u.length<2&&!this.categories&&!this.series.some(t=>t.is("heatmap")&&"between"===t.options.pointPlacement)&&(this.min-=.5,this.max+=.5),r||n||this.adjustTickAmount()),S(this,"afterSetTickPositions")}trimTicks(t,e,n){let i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(e&&i!==-1/0)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&y(i)&&!this.options.tickPositions&&t.push((r+i)/2)}}alignToOthers(){let t,e=this,n=e.chart,i=[this],r=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&r.alignTicks||s)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){let r=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=r(this);n[this.coll].forEach(function(n){let{series:s}=n;s.length&&s.some(t=>t.visible)&&n!==e&&r(n)===o&&(t=!0,i.push(n))})}if(t&&s){i.forEach(t=>{let n=t.getThresholdAlignment(e);A(n)&&a.push(n)});let t=a.length>1?a.reduce((t,e)=>t+e,0)/a.length:void 0;i.forEach(e=>{e.thresholdAlignment=t})}return t}getThresholdAlignment(t){if((!A(this.dataMin)||this!==t&&this.series.some(t=>t.isDirty||t.isDirtyData))&&this.getSeriesExtremes(),A(this.threshold)){let t=m((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;y(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,i=this,{finalTickAmt:r,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=i,h=null==l?void 0:l.length,d=L(i.threshold,i.softThreshold?0:null),p=i.tickInterval,f=()=>l.push(v(l[l.length-1]+p)),g=()=>l.unshift(v(l[0]-p));if(A(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),i.hasData()&&A(s)&&A(o)){let u=()=>{i.transA*=(h-1)/(c-1),i.min=a.startOnTick?l[0]:Math.min(s,l[0]),i.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(A(n)&&A(i.threshold)){for(;l[n]!==d||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(i.threshold);l.length<c;)void 0===l[n]||l[n]>i.threshold?g():f();if(p>8*i.tickInterval)break;p*=2}u()}else if(h<c){for(;l.length<c;)l.length%2||s===d?f():g();u()}if(y(r)){for(e=t=l.length;e--;)(3===r&&e%2==1||r<=2&&e>0&&e<t-1)&&l.splice(e,1);i.finalTickAmt=void 0}}}setScale(){var t,e;let{coll:n,stacking:i}=this,r=!1,o=!1;this.series.forEach(t=>{r=r||t.isDirtyData||t.isDirty,o=o||t.xAxis&&t.xAxis.isDirty||!1}),this.setAxisSize();let s=this.len!==(this.old&&this.old.len);s||r||o||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(i&&"yAxis"===n&&i.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),i&&"xAxis"===n&&i.buildStacks(),this.isDirty||(this.isDirty=s||this.min!==(null==(t=this.old)?void 0:t.min)||this.max!==(null==(e=this.old)?void 0:e.max))):i&&i.cleanStacks(),r&&delete this.allExtremes,S(this,"afterSetScale")}setExtremes(t,e,n=!0,i,r){this.series.forEach(t=>{delete t.kdTree}),S(this,"setExtremes",r=w(r,{min:t,max:e}),t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(i)})}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round($(L(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round($(L(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round($(L(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round($(L(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-r-a,this.len=Math.max(i?r:o,0),this.pos=i?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,i=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=i:n>t?t=n:i<t&&(t=i),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(L(t,0)-90*this.side+720)%360,n={align:"center"};return S(this,"autoLabelAlign",n,function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")}),n.align}tickSize(t){let e,n=this.options,i=L(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=n["tick"===t?"tickLength":"minorTickLength"];i&&r&&("inside"===n[t+"Position"]&&(r=-r),e=[r,i]);let o={tickSize:e};return S(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,i=n.padding||0,r=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*i)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},h=o,d=Number.MAX_VALUE;if(r){if(!n.staggerLines&&(A(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,i;for(let r of e)(r===a||r&&r>=-90&&r<=90)&&(i=(n=u(Math.abs(l/Math.sin(p*r))))+Math.abs(r/360))<d&&(d=i,t=r,h=n)}}else h=u(.75*l);return this.autoRotation=e,this.labelRotation=L(t,A(a)?a:0),n.step?o:h}getSlotWidth(t){let e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&A(t.slotWidth))return t.slotWidth;if(n&&i.step<2)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){let t=i.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,h=this.getSlotWidth(),d=Math.max(1,Math.round(h-(u?2*(l.padding||0):l.distance||0))),p={},f=this.labelMetrics(),g=c.textOverflow,m=0;if(T(l.rotation)||(p.rotation=l.rotation||0),s.forEach(function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>m&&(m=e.label.textPxLength)}),this.maxLabelLength=m,this.autoRotation)m>d&&m>f.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(h&&(t=d,!g))for(e="clip",i=s.length;!u&&i--;)(n=a[s[i]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>h&&n.css({width:h+"px"}),n.getBBox().height>this.len/s.length-(f.h-f.f)&&(n.specificTextOverflow="ellipsis"));p.rotation&&(t=m>.5*r.chartHeight?.33*r.chartHeight:m,g||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(p.align=this.labelAlign),s.forEach(function(n){let i=a[n],r=i&&i.label,o=c.width,s={};r&&(r.attr(p),i.shortenLabel?i.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<r.textPxLength||"SPAN"===r.element.tagName)?(s.width=t+"px",g||(s.textOverflow=r.specificTextOverflow||e),r.css(s)):!r.styles.width||s.width||o||r.css({width:null}),delete r.specificTextOverflow,i.rotation=p.rotation)},this),this.tickRotCorr=o.rotCorr(f.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some(function(t){return t.hasData()})||this.options.showEmpty&&y(this.min)&&y(this.max)}addTitle(t){let e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(P(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:i}=this,r=e.renderer,o=(e,o,s)=>r.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(i.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",i.gridZIndex),this.axisGroup=o("axis","",i.zIndex),this.labelGroup=o("axis-labels","-labels",i.labels.zIndex))}getOffset(){let t,e,n,i,r=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:h}=r,d=o.inverted&&!r.isZAxis?[1,0,3,2][l]:l,p=r.hasData(),f=a.title,g=a.labels,m=A(a.crossing),v=o.axisOffset,b=o.clipOffset,_=[-1,1,1,-1][l],x=0,w=0,k=0;if(r.showAxis=t=p||a.showEmpty,r.staggerLines=r.horiz&&g.staggerLines||void 0,r.createGroups(),p||r.isLinked?(u.forEach(function(t){r.generateTick(t)}),r.renderUnsquish(),r.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===r.labelAlign,L(g.reserveSpace,!m&&null,"center"===r.labelAlign||null,r.reserveSpaceDefault)&&u.forEach(function(t){k=Math.max(c[t].getLabelSize(),k)}),r.staggerLines&&(k*=r.staggerLines),r.labelOffset=k*(r.opposite?-1:1)):M(c,function(t,e){t.destroy(),delete c[e]}),null!=f&&f.text&&!1!==f.enabled&&(r.addTitle(t),t&&!m&&!1!==f.reserveSpace&&(r.titleOffset=x=r.axisTitle.getBBox()[s?"height":"width"],w=y(e=f.offset)?0:L(f.margin,s?5:10))),r.renderLine(),r.offset=_*L(a.offset,v[l]?v[l]+(a.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},i=0===l?-r.labelMetrics().h:2===l?r.tickRotCorr.y:0,n=Math.abs(k)+w,k&&(n-=i,n+=_*(s?L(g.y,r.tickRotCorr.y+_*g.distance):L(g.x,_*g.distance))),r.axisTitleMargin=L(e,n),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(c,u)),"colorAxis"!==h&&b){let t=this.tickSize("tick");v[l]=Math.max(v[l],(r.axisTitleMargin||0)+x+_*r.offset,n,u&&u.length&&t?t[0]+_*r.offset:0);let e=!r.axisLine||a.offset?0:r.axisLine.strokeWidth()/2;b[d]=Math.max(b[d],e)}S(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i,s=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?s:this.top],["L",r?e.chartWidth-this.right:o,r?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,i=this.top,r=this.len,o=this.options.title,s=e?n:i,a=this.opposite,l=this.offset,c=o.x,u=o.y,h=this.chart.renderer.fontMetrics(t),d=t?Math.max(t.getBBox(!1,0).height-h.h-1,0):0,p={low:s+(e?0:r),middle:s+r/2,high:s+(e?r:0)}[o.align],f=(e?i+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-d,d,h.f,-d][this.side],g={x:e?p+c:f+(a?this.width:0)+l+c,y:e?f+u-(a?this.height:0)+l:p+u};return S(this,"afterGetTitlePosition",{titlePosition:g}),g}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let i=this.isLinked,r=this.ticks;(!i||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new s(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))}render(){let t,e,n=this,i=n.chart,r=n.logarithmic,a=i.renderer,c=n.options,u=n.isLinked,h=n.tickPositions,d=n.axisTitle,p=n.ticks,f=n.minorTicks,g=n.alternateBands,m=c.stackLabels,v=c.alternateGridColor,y=c.crossing,b=n.tickmarkOffset,_=n.axisLine,x=n.showAxis,w=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,f,g].forEach(function(t){M(t,function(t){t.isActive=!1})}),A(y)){let t=this.isXAxis?i.yAxis[0]:i.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let i=t.toPixels(y,!0);n.horiz&&(i=t.len-i),n.offset=e*i}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&A(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach(function(t){n.renderMinorTick(t,a)}),h.length&&(h.forEach(function(t,e){n.renderTick(t,e,a)}),b&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new s(n,-1,null,!0)),p[-1].render(-1))),v&&h.forEach(function(s,a){e=void 0!==h[a+1]?h[a+1]+b:n.max-b,a%2==0&&s<n.max&&e<=n.max+(i.polar?-b:b)&&(g[s]||(g[s]=new o.PlotLineOrBand(n,{})),t=s+b,g[s].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},g[s].render(),g[s].isActive=!0)}),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach(function(t){n.addPlotBandOrLine(t)}))}[p,f,g].forEach(function(t){let e=[],n=w.duration;M(t,function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))}),I(function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])},t!==g&&i.hasRendered&&n?n:0)}),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[x?"show":"hide"](x)),d&&x&&(d[d.isNew?"attr":"animate"](n.getTitlePosition(d)),d.isNew=!1),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,S(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(t){t.render()})),this.series.forEach(function(t){t.isDirty=!0})}getKeepProps(){return this.keepProps||R.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(S(this,"destroy",{keepEvents:t}),t||j(e),[e.ticks,e.minorTicks,e.alternateBands].forEach(function(t){b(t)}),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();M(e,function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]}),this.eventOptions=i}drawCrosshair(t,e){let i,r,o,s,a=this.crosshair,l=L(a&&a.snap,!0),c=this.chart,u=this.cross;if(S(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(y(e)||!l)){if(l?y(e)&&(r=L("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),y(r)&&(s={value:e&&(this.isXAxis?e.x:L(e.stackY,e.y)),translatedValue:r},c.polar&&w(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),i=this.getPlotLinePath(s)||null),!y(i))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:L(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":L(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:i}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();S(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),S(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=P(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,L(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,i=this.series,r=i.length;for(;r--;)i[r]&&i[r].remove(!1);_(e.axes,this),_(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,L(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return R.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],R}),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,getMagnitude:i,normalizeTickInterval:r,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:r(t/l,c,"year"===a[0]?Math.max(i(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e}),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{addEvent:n,normalizeTickInterval:i,pick:r}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let i,r,s,a,l,u,h;for(i=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],r=Math.floor(e);r<n+1&&!h;r++)for(s=0,a=i.length;s<a&&!h;s++)(l=this.log2lin(this.lin2log(r)*i[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(h=!0),u=l}else{let u=this.lin2log(e),h=this.lin2log(n),d=o?s.getMinorTickInterval():l.tickInterval,p=l.tickPixelInterval/(o?5:1),f=o?a/s.tickPositions.length:a;t=i(t=r("auto"===d?null:d,this.minorAutoInterval,(h-u)*p/(f||1))),c=s.getLinearTickPositions(t,u,h).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e}),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var e;let{erase:n,extend:i,isNumber:r}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let i=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach(t=>{this.addPlotBandOrLine(t)})),n){let e=i[n]||[];e.push(t),i[n]=e}this.plotLinesAndBands.push(r)}return r}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let i,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),h=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),h=0),i=0;i<u.length;i+=2){let t=u[i],e=u[i+1],n=s[i],r=s[i+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===r[0]||"L"===r[0])&&(l&&n[1]===t[1]?(n[1]+=h,r[1]+=h):l||n[2]!==t[2]||(n[2]+=h,r[2]+=h),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",r[1],r[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach(function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])})}}function h(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let r=n.prototype;return r.addPlotBand||(e=t,i(r,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:h,removePlotBandOrLine:u})),n}}(e||(e={})),e}),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,e){let{arrayMax:n,arrayMin:i,defined:r,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class h{static compose(e){return t.compose(h,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:i,logarithmic:o}=e,{color:s,events:h,zIndex:d=0}=n,p={},f=e.chart.renderer,g=n.to,m=n.from,v=n.value,y=n.borderWidth,b=n.label,{label:_,svgElem:x}=this,w=[],S=r(m)&&r(g),k=r(v),C=!x,O={class:"highcharts-plot-"+(S?"band ":"line ")+(n.className||"")},A=S?"bands":"lines";if(!e.chart.styledMode&&(k?(O.stroke=s||"#999999",O["stroke-width"]=u(n.width,1),n.dashStyle&&(O.dashstyle=n.dashStyle)):S&&(O.fill=s||"#e6e9ff",y&&(O.stroke=n.borderColor,O["stroke-width"]=y))),p.zIndex=d,A+="-"+d,(t=e.plotLinesAndBandsGroups[A])||(e.plotLinesAndBandsGroups[A]=t=f.g("plot-"+A).attr(p).add()),x||(this.svgElem=x=f.path().attr(O).add(t)),r(v))w=e.getPlotLinePath({value:(null==o?void 0:o.log2lin(v))??v,lineWidth:x.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!r(m)||!r(g))return;w=e.getPlotBandPath((null==o?void 0:o.log2lin(m))??m,(null==o?void 0:o.log2lin(g))??g,n)}return!this.eventsAdded&&h&&(c(h,(t,e)=>{null==x||x.on(e,t=>{h[e].apply(this,[t])})}),this.eventsAdded=!0),!C&&x.d||null==w||!w.length?x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),_&&(this.label=_=_.destroy()))):x.attr({d:w}),b&&(r(b.text)||r(b.formatter))&&null!=w&&w.length&&e.width>0&&e.height>0&&!w.isFlat?(b=l({align:i&&S?"center":void 0,x:i?!S&&4:10,verticalAlign:!i&&S?"middle":void 0,y:i?S?16:10:S?6:-4,rotation:i&&!S?90:0},b),this.renderLabel(b,w,S,d)):_&&_.hide(),this}renderLabel(t,e,r,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],h=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],d=i(u),p=i(h);if(c.align(t,!1,{x:d,y:p,width:n(u)-d,height:n(h)-p}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return r(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return h}),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:h}=n,{distribute:d}=i,{addEvent:p,clamp:f,css:g,discardElement:m,extend:v,fireEvent:y,isArray:b,isNumber:_,isString:x,merge:w,pick:S,pushUnique:k,splat:C,syncTimeout:O}=o;class A{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map(function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(t){this.chart.series.forEach(function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)})}defaultFormatter(t){let e,n=this.points||C(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),m(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:i,pointer:r}=this,o=i.inverted,s=i.plotTop,a=i.plotLeft;if((t=C(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=r.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let i=0,r=0;t.forEach(function(t){let e=t.pos(!0);e&&(i+=e[0],r+=e[1])}),i/=t.length,r/=t.length,this.shared&&t.length>1&&e&&(o?i=e.chartX:r=e.chartY),n=[i-a,r-s]}return n.map(Math.round)}getClassName(t,e,n){let i=this.options,r=t.series,o=r.options;return[i.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+S(t.colorIndex,r.colorIndex),o&&o.className].filter(x).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=r.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",g(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,"tooltip").attr({padding:i.padding,r:i.borderRadius}),e||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth||0}).css(i.style).css({pointerEvents:i.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach((n,i)=>{e[i?"ySetter":"xSetter"]=r=>{n.call(e,t.distance),e[i?"y":"x"]=r,s&&(s.style[i?"top":"left"]=`${r}px`)}})}this.label.attr({zIndex:8}).shadow(i.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:i,outside:r}=this;return{width:r?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*i:n.chartWidth,height:r?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){var i,r;let o,{distance:s,chart:a,outside:l,pointer:c}=this,{inverted:u,plotLeft:h,plotTop:d,polar:p}=a,{plotX:f=0,plotY:g=0}=n,m={},v=u&&n.h||0,{height:y,width:b}=this.getPlayingField(),_=c.getChartPosition(),x=t=>t*_.scaleX,w=t=>t*_.scaleY,k=n=>{let i="x"===n;return[n,i?b:y,i?t:e].concat(l?[i?x(t):w(e),i?_.left-s+x(f+h):_.top-s+w(g+d),0,i?b:y]:[i?t:e,i?f+h:g+d,i?h:d,i?h+a.plotWidth:d+a.plotHeight])},C=k("y"),O=k("x"),A=!!n.negative;!p&&null!=(r=null==(i=a.hoverSeries)?void 0:i.yAxis)&&r.reversed&&(A=!A);let T=!this.followPointer&&S(n.ttBelow,!p&&!u===A),P=function(t,e,n,i,r,o,a){let c=l?"y"===t?w(s):x(s):s,u=(n-i)/2,h=i<r-s,d=r+s+i<e,p=r-c-n+u,f=r+c-u;if(T&&d)m[t]=f;else if(!T&&h)m[t]=p;else if(h)m[t]=Math.min(a-i,p-v<0?p:p-v);else{if(!d)return!1;m[t]=Math.max(o,f+v+n>e?f:f+v)}},E=function(t,e,n,i,r){if(r<s||r>e-s)return!1;m[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2},M=function(t){[C,O]=[O,C],o=t},L=()=>{!1!==P.apply(0,C)?!1!==E.apply(0,O)||o||(M(!0),L()):o?m.x=m.y=0:(M(!0),L())};return(u&&!p||this.len>1)&&M(),L(),m}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=S(t,this.options.hideDelay),this.isHidden||(this.hideTimer=O(function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t&&150,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0},t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=S(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,i){let r=this,o=a(!r.isHidden&&r.options.animation),s={x:t,y:e};r.followPointer||(r.len||0)>1||(s.anchorX=n,s.anchorY=i),o.step=()=>r.drawTracker(),r.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:i,pointer:r,shared:s}=this,a=C(t),c=a[0],u=[],h=i.format,d=i.formatter||this.defaultFormatter,p=n.styledMode,f={};if(!i.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!b(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let g=this.getAnchor(t,e),m=g[0],v=g[1];s&&this.allowShared?(r.applyInactiveState(a),a.forEach(function(t){t.setState("hover"),u.push(t.getLabelConfig())}),(f=c.getLabelConfig()).points=u):f=c.getLabelConfig(),this.len=u.length;let _=x(h)?l(h,f,n):d.call(f,this),w=c.series;if(this.distance=S(w.tooltipOptions.distance,16),!1===_)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(_,a);else{let t=m,o=v;if(e&&r.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==w.options.clip&&!a.some(e=>r.isDirectTouch||e.series.shouldShowTooltip(t,o)))return void this.hide();{let t=this.getLabel();(!i.style.width||p)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({class:this.getClassName(c),text:_&&_.join?_.join(""):_}),p||t.attr({stroke:i.borderColor||c.color||w.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:g[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}y(this,"refresh")}renderSplit(t,e){var n;let i=this,{chart:r,chart:{chartWidth:o,chartHeight:s,plotHeight:a,plotLeft:l,plotTop:c,scrollablePixelsY:p=0,scrollablePixelsX:g,styledMode:m},distance:y,options:b,options:{positioner:_},pointer:w}=i,{scrollLeft:k=0,scrollTop:C=0}=(null==(n=r.scrollablePlotArea)?void 0:n.scrollingContainer)||{},O=i.outside&&"number"!=typeof g?u.documentElement.getBoundingClientRect():{left:k,right:k+o,top:C,bottom:C+s},A=i.getLabel(),T=this.renderer||r.renderer,P=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:E,top:M}=w.getChartPosition(),L=c+C,$=0,j=a-p;function D(t,e,n,r,o=!0){let s,a;return n?(s=P?0:j,a=f(t-r/2,O.left,O.right-r-(i.outside?E:0))):(s=e-L,a=f(a=o?t-r-y:t+y,o?a:O.left,O.right)),{x:a,y:s}}x(t)&&(t=[!1,t]);let I=t.slice(0,e.length+1).reduce(function(t,n,r){if(!1!==n&&""!==n){let o=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:a,series:{}},s=o.isHeader,u=s?i:o.series,h=u.tt=function(t,e,n){let r=t,{isHeader:o,series:s}=e;if(!r){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),r=T.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(i.getClassName(e,!0,o)).attr(t).add(A)}return r.isActive=!0,r.attr({text:n}),m||r.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),r}(u.tt,o,n.toString()),d=h.getBBox(),p=d.width+h.strokeWidth();s&&($=d.height,j+=$,P&&(L-=$));let{anchorX:g,anchorY:v}=function(t){let e,n,{isHeader:i,plotX:r=0,plotY:o=0,series:s}=t;if(i)e=Math.max(l+r,l),n=c+a/2;else{let{xAxis:t,yAxis:i}=s;e=t.pos+f(r,-y,t.len+y),s.shouldShowTooltip(0,i.pos-c+o,{ignoreX:!0})&&(n=i.pos+o)}return{anchorX:e=f(e,O.left-y,O.right+y),anchorY:n}}(o);if("number"==typeof v){let e=d.height+1,n=_?_.call(i,p,e,o):D(g,v,s,p);t.push({align:_?0:void 0,anchorX:g,anchorY:v,boxWidth:p,point:o,rank:S(n.rank,s?1:0),size:e,target:n.y,tt:h,x:n.x})}else h.isActive=!1}return t},[]);!_&&I.some(t=>{let{outside:e}=i,n=(e?E:0)+t.anchorX;return n<O.left&&n+t.boxWidth<O.right||n<E-O.left+t.boxWidth&&O.right-n>n})&&(I=I.map(t=>{let{x:e,y:n}=D(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})})),i.cleanSplit(),d(I,j);let N={left:E,right:E};I.forEach(function(t){let{x:e,boxWidth:n,isHeader:r}=t;!r&&(i.outside&&E+e<N.left&&(N.left=E+e),!r&&i.outside&&N.left+n>N.right&&(N.right=E+e))}),I.forEach(function(t){let{x:e,anchorX:n,anchorY:r,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+L,anchorX:n,anchorY:r};if(i.outside&&e<n){let t=E-N.left;t>0&&(s||(a.x=e+t,a.anchorX=n+t),s&&(a.x=(N.right-N.left)/2,a.anchorX=n+t))}t.tt.attr(a)});let{container:R,outside:B,renderer:V}=i;if(B&&R&&V){let{width:t,height:e,x:n,y:i}=A.getBBox();V.setSize(t+n,e+i,!1),R.style.left=N.left+"px",R.style.top=M+"px"}h&&A.attr({opacity:1===A.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let i={x:0,y:0,width:0,height:0},r=this.getAnchor(n),o=e.getBBox();r[0]+=t.plotLeft-(e.translateX||0),r[1]+=t.plotTop-(e.translateY||0),i.x=Math.min(0,r[0]),i.y=Math.min(0,r[1]),i.width=r[0]<0?Math.max(Math.abs(r[0]),o.width-r[0]):Math.max(Math.abs(r[0]),o.width),i.height=r[1]<0?Math.max(Math.abs(r[1]),o.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),o.height),this.tracker?this.tracker.attr(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,i=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime,s={isFooter:e,labelConfig:t},a=i.xDateFormat,c=i[e?"footerFormat":"headerFormat"];return y(this,"headerFormatter",s,function(e){o&&!a&&_(t.key)&&(a=o.getXDateFormat(t.key,i.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach(function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")}),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)}),s.text}update(t){this.destroy(),this.init(this.chart,w(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:i,distance:r,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:h,scaleX:d,scaleY:p}=s.getChartPosition(),f=(o.positioner||this.getPosition).call(this,c,l,t),m=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&i&&(o.positioner&&(f.x+=u-r,f.y+=h-r),e=(o.borderWidth||0)+2*r+2,a.setSize(c+e,l+e,!1),(1!==d||1!==p)&&(g(i,{transform:`scale(${d}, ${p})`}),m*=d,v*=p),m+=u-f.x,v+=h-f.y),this.move(Math.round(f.x),Math.round(f.y||0),m,v)}}return(s=A||(A={})).compose=function(t){k(c,"Core.Tooltip")&&p(t,"afterInit",function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))})},A}),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=i,{addEvent:l,crisp:c,erase:u,extend:h,fireEvent:d,getNestedProperty:p,isArray:f,isFunction:g,isNumber:m,isObject:v,merge:y,pick:b,syncTimeout:_,removeEvent:x,uniqueKey:w}=r;class S{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach(function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)}),n.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))})})}applyOptions(t,e){let n=this.series,i=n.options.pointValKey||n.pointValKey;return h(this,t=S.prototype.optionsToObject.call(this,t)),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=S.prototype.getNestedProperty.call(this,i)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=e??n.autoIncrement():m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,i=e.options.dataSorting,r=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(x(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),r&&(t.setState(),u(r,t),r.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),_(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach(function(t){e[t]=e[t].destroy()}),n.plural.forEach(function(t){e[t].forEach(function(t){t&&t.element&&t.destroy()}),delete e[t]})}firePointEvent(t,e,n){let i=this,r=this.series.options;i.manageEvent(t),"click"===t&&r.allowPointSelect&&(n=function(t){!i.destroyed&&i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(i,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,i=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),n=r.length;n--;)i[e=r[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach(function(e){let n=e+"s";t[e]&&i[n]&&o.plural.push(n)}),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?p(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,i=e.zoneAxis||"y",r=0;for(t=n[0];this[i]>=t.value;)t=n[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=w()),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit")}isValid(){return(m(this.x)||this.x instanceof Date)&&m(this.y)}optionsToObject(t){let e,n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,s={},a=0,l=0;if(m(t)||null===t)s[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)i&&void 0===t[a]||(r[l].indexOf(".")>0?S.prototype.setNestedProperty(s,t[a],r[l]):s[r[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:i}=this,{chart:r,xAxis:o,yAxis:s}=i,a=0,l=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,l=s?s.pos:r.plotTop),r.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,i=this.series,r=i.chart.options.chart,o=i.chart.styledMode,s=r.colorCount;delete this.nonZonedColor,i.options.colorByPoint?(o||(t=(e=i.options.colors||i.chart.options.colors)[i.colorCounter],s=e.length),n=i.colorCounter,i.colorCounter++,i.colorCounter===s&&(i.colorCounter=0)):(o||(t=i.color),n=i.colorIndex),this.colorIndex=b(this.options.colorIndex,n),this.color=b(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce(function(t,n,i,r){let o=r.length-1===i;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]},t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,i=b(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach(function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")}),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,i){let r,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let i=a&&o.hasMockGraphic,u=null===o.y?!i:i;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),null!=t&&t.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),r=o.index,s.updateParallelArrays(o,r),c.data[r]=v(c.data[r],!0)||v(t,!0)?o.options:b(t,c.data[r]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=b(e,!0),!1===i?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,i=n.series,r=i.chart;t=b(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach(function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach(function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null}manageEvent(t){var e,n,i,r,o,s;let a=null==(e=y(this.series.options.point,this.options).events)?void 0:e[t];!g(a)||null!=(n=this.hcEvents)&&n[t]&&-1!==(null==(r=null==(i=this.hcEvents)?void 0:i[t])?void 0:r.map(t=>t.fn).indexOf(a))?this.importedUserEvent&&!a&&null!=(s=this.hcEvents)&&s[t]&&(x(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||delete this.importedUserEvent):(null==(o=this.importedUserEvent)||o.call(this),this.importedUserEvent=l(this,t,a))}setState(e,n){var i;let r,o,a,l,c=this.series,u=this.state,p=c.options.states[e||"normal"]||{},f=s.plotOptions[c.type].marker&&c.options.marker,g=f&&!1===f.enabled,v=f&&f.states&&f.states[e||"normal"]||{},y=!1===v.enabled,_=this.marker||{},x=c.chart,w=f&&c.markerAttribs,S=c.halo,k=c.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===p.enabled||e&&(y||g&&!1===v.enabled)||e&&_.states&&_.states[e]&&!1===_.states[e].enabled)return;if(this.state=e,w&&(r=c.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){o=c.pointAttribs(this,e),a=b(x.options.chart.animation,p.animation);let t=o.opacity;c.options.inactiveOtherPoints&&m(t)&&(this.dataLabels||[]).forEach(function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},a),e.connector&&e.connector.animate({opacity:t},a))}),this.graphic.animate(o,a)}r&&this.graphic.animate(r,b(x.options.chart.animation,v.animation,f.animation)),k&&k.hide()}else e&&v&&(l=_.symbol||c.symbol,k&&k.currentSymbol!==l&&(k=k.destroy()),r&&(k?k[n?"animate":"attr"]({x:r.x,y:r.y}):l&&(c.stateMarkerGraphic=k=x.renderer.symbol(l,r.x,r.y,r.width,r.height).add(c.markerGroup),k.currentSymbol=l)),!x.styledMode&&k&&"inactive"!==this.state&&k.attr(c.pointAttribs(this,e))),k&&(k[e&&this.isInside?"show":"hide"](),k.element.point=this,k.addClass(this.getClassName(),!0));let C=p.halo,O=this.graphic||k,A=O&&O.visibility||"inherit";C&&C.size&&O&&"hidden"!==A&&!this.isCluster?(S||(c.halo=S=x.renderer.path().add(O.parentGroup)),S.show()[n?"animate":"attr"]({d:this.haloPath(C.size)}),S.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:A,zIndex:-1}),S.point=this,x.styledMode||S.attr(h({fill:this.color||c.color,"fill-opacity":C.opacity},t.filterUserAttributes(C.attributes||{})))):null!=(i=null==S?void 0:S.point)&&i.haloPath&&!S.point.destroyed&&S.animate({d:S.point.haloPath(0)},null,S.hide),d(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return S}),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){var i;let{parse:r}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:h,find:d,fireEvent:p,isNumber:f,isObject:g,objectEach:m,offset:v,pick:y,pushUnique:b,splat:_}=n;class x{applyInactiveState(t){let e,n=[];(t||[]).forEach(function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)}),this.chart.series.forEach(function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")})}destroy(){let t=this;this.eventsToUnbind.forEach(t=>t()),this.eventsToUnbind=[],!e.chartCount&&(x.unbindDocumentMouseUp&&(x.unbindDocumentMouseUp=x.unbindDocumentMouseUp()),x.unbindDocumentTouchEnd&&(x.unbindDocumentTouchEnd=x.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),m(t,function(e,n){t[n]=void 0})}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",n,n=>{let i,{chart:r,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=r,c=n.attrs;c.x=r.plotLeft,c.y=r.plotTop,c.width=o?1:r.plotWidth,c.height=s?1:r.plotHeight,o&&(i=t-a,c.width=Math.max(1,Math.abs(i)),c.x=(i>0?0:i)+a),s&&(i=e-l,c.height=Math.max(1,Math.abs(i)),c.y=(i>0?0:i)+l)}),n}drag(t){let e,{chart:n}=this,{mouseDownX:i=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,h=n.plotWidth,d=n.plotHeight,p=g(s)?s.enabled:s,f=a&&t[`${a}Key`],m=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(m<c?m=c:m>c+h&&(m=c+h),v<u?v=u:v>u+d&&(v=u+d),this.hasDragged=Math.sqrt(Math.pow(i-m,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(i-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:h}=this.getSelectionMarkerAttrs(m,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!f&&!y&&(this.selectionMarker=y=n.renderer[a](),y.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||y.attr({fill:l||r("#334eff").setOpacity(.25).get()})),y&&y.attr(h),e&&!y&&p&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return p(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:i}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some(t=>t.boosted))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),i&&t){if(this.hasDragged){let e=this.getSelectionBox(i);n.transform({axes:n.axes.filter(t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY)),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}f(n.index)&&(this.selectionMarker=i.destroy())}n&&f(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let i;return t.forEach(function(t){let r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,r);g(o,!0)&&o.series&&(!g(i,!0)||function(t,n){var i,r;let o=t.distX-n.distX,s=t.dist-n.dist,a=(null==(i=n.series.group)?void 0:i.zIndex)-(null==(r=t.series.group)?void 0:r.zIndex);return 0!==o&&e?o:0!==s?s:0!==a?a:t.series.index>n.series.index?-1:1}(i,o)>0)&&(i=o)}),i}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:i}=t.series,r=t.shapeArgs;if(n&&i){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,s=r.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+i.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:i}=t;return i>2&&n>2&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,i,r,o){let s,a=[],l=function(t){return t.visible&&!(!r&&t.directTouch)&&y(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter(t=>t.stickyTracking&&(u.filter||l)(t));let h=i&&t||!o?t:this.findNearestKDPoint(s,r,o);return c=h&&h.series,h&&(r&&!c.noSharedTooltip?(s=n.filter(function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip})).forEach(function(t){let e=d(t.points,function(t){return t.x===h.x&&!t.isNull});g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))}):a.push(h)),p(this,"afterGetHoverData",u={hoverPoint:h}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,i=e.hoverSeries;this.isDirectTouch=!1,!i||!n||i.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+i.index)&&this.inClass(n,"highcharts-tracker")||i.onMouseOut()}inClass(t,e){let n,i=t;for(;i;){if(n=c(i,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}i=i.parentElement}}constructor(t,e){var n;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!(null==(n=e.chart.events)||!n.click),this.pinchDown=[],this.setDOMEvents(),p(this,"afterInit")}normalize(t,e){let n=t.touches,i=n?n.length?n.item(0):y(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let r=i.pageX-e.left,o=i.pageY-e.top;return h(t,{chartX:Math.round(r/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,i=this.normalize(t),r=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(i.target,"highcharts-tracker")?(p(n.series,"click",h(i,{point:n})),e.hoverPoint&&n.firePointEvent("click",i)):(h(i,this.getCoordinates(i)),e.isInsidePlot(i.chartX-r,i.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",i)))}onContainerMouseDown(t){var n;let i=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&(null==(n=t.preventDefault)||n.call(t)),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[y(x.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,i=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(i))&&this.drag(i),!e.openMenu&&(this.inClass(i.target,"highcharts-tracker")||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(i))&&(this.inClass(i.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(i))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,i=this.chartPosition,r=this.normalize(t,i);!i||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(r)||r.target!==e.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){var e,n;null==(n=null==(e=o[y(x.hoverChartIndex,-1)])?void 0:e.pointer)||n.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:i,lastTouches:r}=e,o=[].map.call(t.touches||[],t=>e.normalize(t)),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&y(null==l?void 0:l.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),i&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0,n.mouseDownX=t.chartX):c?this.runPointActions(e.normalize(t)):r&&(p(n,"touchpan",{originalEvent:t,touches:o},()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter(t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz)),to:e(o),from:e(r),trigger:t.type})}),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:r;t&&a&&_(a).forEach(function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?s&&a&&_(a).length&&(s.refresh(a),s.shared&&o?o.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):r&&(r.setState(r.state,!0),n.axes.forEach(function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&o.forEach(function(t){t.setState()}),i&&i.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(t){t.hideCrosshair()}),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let i=this.chart,r=i.series,s=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,a=!!s&&s.shared,c=e||i.hoverPoint,u=c&&c.series||i.hoverSeries,h=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),p=this.getHoverData(c,u,r,h,a,t);c=p.hoverPoint,u=p.hoverSeries;let f=p.hoverPoints,g=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,m=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==i.hoverPoint||s&&s.isHidden)){if((i.hoverPoints||[]).forEach(function(t){-1===f.indexOf(t)&&t.setState()}),i.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(f),(f||[]).forEach(function(t){t.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!c.series)return;i.hoverPoints=f,i.hoverPoint=c,c.firePointEvent("mouseOver",void 0,()=>{s&&c&&s.refresh(m?f:c,t)})}else if(g&&s&&!s.isHidden){let e=s.getAnchor([{}],t);i.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(i.container.ownerDocument,"mousemove",t=>{var e,n;return null==(n=null==(e=o[x.hoverChartIndex??-1])?void 0:e.pointer)?void 0:n.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(e){let n,r=y((e.crosshair||{}).snap,!0);!r||(n=i.hoverPoint)&&n.series[e.coll]===e||(n=d(f,t=>t.series&&t.series[e.coll]===e)),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()})}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),x.unbindDocumentMouseUp||(x.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",()=>{delete this.chartPosition})),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),x.unbindDocumentTouchEnd||(x.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var t,e;if(!a)return;let n=this.pointerCaptureEventsToUnbind,i=this.chart,r=i.container,o=y(null==(t=i.options.tooltip)?void 0:t.followTouchMove,!0)&&i.series.some(t=>t.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&o?(n.push(l(r,"pointerdown",t=>{var e,n;null!=(e=t.target)&&e.hasPointerCapture(t.pointerId)&&(null==(n=t.target)||n.releasePointerCapture(t.pointerId))}),l(r,"pointermove",t=>{var e,n;null==(n=null==(e=i.pointer)?void 0:e.getPointFromEvent(t))||n.onMouseOver(t)})),i.styledMode||u(r,{"touch-action":"none"}),r.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!o&&(n.forEach(t=>t()),n.length=0,i.styledMode||u(r,{"touch-action":y(null==(e=i.options.chart.style)?void 0:e["touch-action"],"manipulation")}),r.className=r.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){var n;let i=this.chart,r=e.charts[y(x.hoverChartIndex,-1)];if(r&&r!==i){let e={relatedTarget:i.container};t&&!(null!=t&&t.relatedTarget)&&(t={...e,...t}),null==(n=r.pointer)||n.onContainerMouseLeave(t||e)}r&&r.mouseIsDown||(x.hoverChartIndex=i.index)}touch(t,e){let n,{chart:i,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(t=this.normalize(t)).touches.length?i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!r[0]&&Math.pow(r[0].chartX-t.chartX,2)+Math.pow(r[0].chartY-t.chartY,2)>=16),y(n,!0)&&this.pinch(t)):e&&this.reset():2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,i=this.chart,r=i.inverted,o=i.zooming.type||"";/touch/.test(t.type)&&(o=y(i.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!r||n&&r,this.zoomVert=n&&!r||e&&r,this.hasZoom=e||n}}return(i=x||(x={})).compose=function(t){b(s,"Core.Pointer")&&l(t,"beforeRender",function(){this.pointer=new i(this,this.options)})},x}),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var e;let{extend:n,merge:i,pick:r}=t;return function(t){function e(t,e,o){var s;let a,l=this.legendItem=this.legendItem||{},{chart:c,options:u}=this,{baseline:h=0,symbolWidth:d,symbolHeight:p}=t,f=this.symbol||"circle",g=p/2,m=c.renderer,v=l.group,y=h-Math.round(p*(o?.4:.3)),b={},_=u.marker,x=0;if(c.styledMode||(b["stroke-width"]=Math.min(u.lineWidth||0,24),u.dashStyle?b.dashstyle=u.dashStyle:"square"===u.linecap||(b["stroke-linecap"]="round")),l.line=m.path().addClass("highcharts-graph").attr(b).add(v),o&&(l.area=m.path().addClass("highcharts-area").add(v)),b["stroke-linecap"]&&(x=Math.min(l.line.strokeWidth(),d)/2),d){let t=[["M",x,y],["L",d-x,y]];l.line.attr({d:t}),null==(s=l.area)||s.attr({d:[...t,["L",d-x,h],["L",x,h]]})}if(_&&!1!==_.enabled&&d){let t=Math.min(r(_.radius,g),g);0===f.indexOf("url")&&(_=i(_,{width:p,height:p}),t=0),l.symbol=a=m.symbol(f,d/2-t,y-t,2*t,2*t,n({context:"legend"},_)).addClass("highcharts-point").add(v),a.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},i=t.options,o=t.symbolHeight,s=i.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,r(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e}),n(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,n,i){var r;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=i;return function(e){function i(t,i){let r=o.plotOptions||{},s=i.defaultOptions,a=i.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(r[t]=s),e.seriesTypes[t]=i,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,c,u,h){let d=o.plotOptions||{};if(r=r||"",d[t]=l(d[r],c),delete e.seriesTypes[t],i(t,a(e.seriesTypes[r]||function(){},u)),e.seriesTypes[t].prototype.type=t,h){class i extends n{}s(i.prototype,h),e.seriesTypes[t].prototype.pointClass=i}return e.seriesTypes[t]}}(r||(r={})),r}),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l,c){let{animObject:u,setAnimation:h}=t,{defaultOptions:d}=e,{registerEventOptions:p}=n,{svg:f,win:g}=i,{seriesTypes:m}=a,{arrayMax:v,arrayMin:y,clamp:b,correctFloat:_,crisp:x,defined:w,destroyObjectProperties:S,diffObjects:k,erase:C,error:O,extend:A,find:T,fireEvent:P,getClosestDistance:E,getNestedProperty:M,insertItem:L,isArray:$,isNumber:j,isString:D,merge:I,objectEach:N,pick:R,removeEvent:B,splat:V,syncTimeout:z}=c;class F{constructor(){this.zoneAxis="y"}init(t,e){let n;P(this,"init",{options:e});let i=this,r=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e);let o=i.options,s=!1!==o.visible;i.linkedSeries=[],i.bindAxes(),A(i,{name:o.name,state:"",visible:s,selected:!0===o.selected}),p(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach(function(t){i[t+"Data"]||(i[t+"Data"]=[])}),i.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(n=r[r.length-1]),i._i=R(n&&n._i,-1)+1,i.opacity=i.options.opacity,t.orderItems("series",L(this,r)),o.dataSorting&&o.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(o.data,!1),P(this,"afterInit")}is(t){return m[t]&&this instanceof m[t]}bindAxes(){let t,e=this,n=e.options,i=e.chart;P(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(r){(i[r]||[]).forEach(function(i){t=i.options,(R(n[r],0)===i.index||void 0!==n[r]&&n[r]===t.id)&&(L(e,i.series),e[r]=i,i.isDirty=!0)}),e[r]||e.optionalAxis===r||O(18,!0,i)})}),P(this,"afterBindAxes")}updateParallelArrays(t,e,n){let i=t.series,r=j(e)?function(n){let r="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=r}:function(t){Array.prototype[e].apply(i[t+"Data"],n)};i.parallelArrays.forEach(r)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,i=e.marker||{};return n&&(i.enabled&&!n.enabled||i.symbol!==n.symbol||i.height!==n.height||i.width!==n.width)}autoIncrement(t){let e,n,i=this.options,r=i.pointIntervalUnit,o=i.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=R(a,i.pointStart,0),this.pointInterval=n=R(this.pointInterval,i.pointInterval,1),o&&j(t)&&(n*=t),r&&(e=new s.Date(a),"day"===r?s.set("Date",e,s.get("Date",e)+n):"month"===r?s.set("Month",e,s.get("Month",e)+n):"year"===r&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&j(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;A(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),w(t.pointRange)||(t.pointRange=1)}setOptions(t){var e,n;let i,r=this.chart,o=r.options.plotOptions,s=r.userOptions||{},a=I(t),l=r.styledMode,c={plotOptions:o,userOptions:a};P(this,"setOptions",c);let u=c.plotOptions[this.type],h=s.plotOptions||{},p=h.series||{},f=d.plotOptions[this.type]||{},g=h[this.type]||{};this.userOptions=c.userOptions;let m=I(u,o.series,g,a);this.tooltipOptions=I(d.tooltip,null==(e=d.plotOptions.series)?void 0:e.tooltip,null==f?void 0:f.tooltip,r.userOptions.tooltip,null==(n=h.series)?void 0:n.tooltip,g.tooltip,a.tooltip),this.stickyTracking=R(a.stickyTracking,g.stickyTracking,p.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||m.stickyTracking),null===u.marker&&delete m.marker,this.zoneAxis=m.zoneAxis||"y";let v=this.zones=(m.zones||[]).map(t=>({...t}));return(m.negativeColor||m.negativeFillColor)&&!m.zones&&(i={value:m[this.zoneAxis+"Threshold"]||m.threshold||0,className:"highcharts-negative"},l||(i.color=m.negativeColor,i.fillColor=m.negativeFillColor),v.push(i)),v.length&&w(v[v.length-1].value)&&v.push(l?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:m}),m}getName(){return R(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let i,r,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=(null==n?void 0:n.length)||o.options.chart.colorCount;!e&&(w(r=R("color"===t?this.options.colorIndex:void 0,this[s]))?i=r:(o.series.length||(o[a]=0),i=o[a]%l,o[a]+=1),n&&(e=n[i])),void 0!==i&&(this[s]=i),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||d.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,i,r,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=T(l,e)))return}return n&&void 0!==(r=n&&n.index)&&(i=!0),void 0===r&&j(a)&&(r=this.xData.indexOf(a,e)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=this.cropStart?r-this.cropStart:r),!i&&j(r)&&l[r]&&l[r].touched&&(r=void 0),r}updateData(t,e){let n,i,r,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,h=t.length===l.length,d=!0;if(this.xIncrement=null,t.forEach(function(t,e){let i,r=w(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||j(d)?(-1===(i=this.findPointIndex(r,o))||void 0===i?c.push(t):l[i]&&t!==s.data[i]?(l[i].update(t,!1,null,!1),l[i].touched=!0,u&&(o=i+1)):l[i]&&(l[i].touched=!0),(!h||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)},this),n)for(i=l.length;i--;)(r=l[i])&&!r.touched&&r.remove&&r.remove(!1,e);else!h||a&&a.enabled?d=!1:(t.forEach(function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)}),c.length=0);return l.forEach(function(t){t&&(t.touched=!1)}),!!d&&(c.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,i){var r;let o,s,a,l,c=this,u=c.points,h=u&&u.length||0,d=c.options,p=c.chart,f=d.dataSorting,g=c.xAxis,m=d.turboThreshold,v=this.xData,y=this.yData,b=c.pointArrayMap,_=b&&b.length,x=d.keys,w=0,S=1;p.options.chart.allowMutatingData||(d.data&&delete c.options.data,c.userOptions.data&&delete c.userOptions.data,l=I(!0,t));let k=(t=l||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),p.options.chart.allowMutatingData&&!1!==i&&k&&h&&!c.cropped&&!c.hasGroupedData&&c.visible&&!c.boosted&&(a=this.updateData(t,n)),!a){c.xIncrement=null,c.colorCounter=0,this.parallelArrays.forEach(function(t){c[t+"Data"].length=0});let e=m&&k>m;if(e){let n=c.getFirstValidPoint(t),i=c.getFirstValidPoint(t,k-1,-1),r=t=>!(!$(t)||!x&&!j(t[0]));if(j(n)&&j(i))for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else if(r(n)&&r(i))if(_)if(n.length===_)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o];else for(o=0;o<k;o++)s=t[o],v[o]=s[0],y[o]=s.slice(1,_+1);else if(x&&(w=x.indexOf("x"),S=x.indexOf("y"),w=w>=0?w:0,S=S>=0?S:1),1===n.length&&(S=0),w===S)for(o=0;o<k;o++)v[o]=this.autoIncrement(),y[o]=t[o][S];else for(o=0;o<k;o++)s=t[o],v[o]=s[w],y[o]=s[S];else e=!1}if(!e)for(o=0;o<k;o++)s={series:c},c.pointClass.prototype.applyOptions.apply(s,[t[o]]),c.updateParallelArrays(s,o);for(y&&D(y[0])&&O(14,!0,p),c.data=[],c.options.data=c.userOptions.data=t,o=h;o--;)null==(r=u[o])||r.destroy();g&&(g.minRange=g.userMinRange),c.isDirty=p.isDirtyBox=!0,c.isDirtyData=!!u,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&p.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return w(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach(function(n,r){t[r]=i(e,n),t[r].index=r},this),t.concat().sort((t,e)=>{let i=M(n,t),r=M(n,e);return r<i?-1:r>i?1:0}).forEach(function(t,e){t.x=e},this),e.linkedSeries&&e.linkedSeries.forEach(function(e){let n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach(function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)}),e.setData(r,!1))}),t}getProcessedData(t){let e,n,i,r,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=null==a?void 0:a.logarithmic,u=s.isCartesian,h=0,d=s.xData,p=s.yData,f=!1,g=d.length;a&&(r=(i=a.getExtremes()).min,o=i.max,f=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||g>l||s.forceCrop)&&(d[g-1]<r||d[0]>o?(d=[],p=[]):s.yData&&(d[0]<r||d[g-1]>o)&&(d=(e=this.cropData(s.xData,s.yData,r,o)).xData,p=e.yData,h=e.start,n=!0));let m=E([c?d.map(c.log2lin):d],()=>s.requireSorting&&!f&&O(15,!1,s.chart));return{xData:d,yData:p,cropped:n,cropStart:h,closestPointRange:m}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,P(this,"afterProcessData")}cropData(t,e,n,i){let r,o,s=t.length,a=0,l=s;for(r=0;r<s;r++)if(t[r]>=n){a=Math.max(0,r-1);break}for(o=r;o<s;o++)if(t[o]>i){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,i,r=this.options,o=this.processedData||r.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,h=this.hasGroupedData,d=r.keys,p=[],f=r.dataGrouping&&r.dataGrouping.groupAll?u:0,g=this.data;if(!g&&!h){let t=[];t.length=o.length,g=this.data=t}for(d&&h&&(this.options.keys=!1),i=0;i<c;i++)e=u+i,h?((n=new l(this,[s[i]].concat(V(a[i])))).dataGroup=this.groupMap[f+i],n.dataGroup.options&&(n.options=n.dataGroup.options,A(n,n.dataGroup.options),delete n.dataLabels)):(n=g[e])||void 0===o[e]||(g[e]=n=new l(this,o[e],s[i])),n&&(n.index=h?f+i:e,p[i]=n);if(this.options.keys=d,g&&(c!==(t=g.length)||h))for(i=0;i<t;i++)i!==u||h||(i+=c),g[i]&&(g[i].destroyElements(),g[i].plotX=void 0);this.data=g,this.points=p,P(this,"afterGeneratePoints")}getXExtremes(t){return{min:y(t),max:v(t)}}getExtremes(t,e){let n,i,r,o,s,a,l,c=this.xAxis,u=this.yAxis,h=[],d=this.requireSorting&&!this.is("column")?1:0,p=!!u&&u.positiveValuesOnly,f=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:g,processedYData:m}=this,b=0,_=0,x=0;if(this.cropped&&f){let t=this.getProcessedData(!0);g=t.xData,m=t.yData}let w=(t=t||this.stackedYData||m||[]).length,S=g||this.xData;for(c&&(b=(n=c.getExtremes()).min,_=n.max),a=0;a<w;a++)if(o=S[a],i=(j(s=t[a])||$(s))&&((j(s)?s>0:s.length)||!p),r=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(S[a+d]||o)>=b&&(S[a-d]||o)<=_,i&&r)if(l=s.length)for(;l--;)j(s[l])&&(h[x++]=s[l]);else h[x++]=s;let k={activeYData:h,dataMin:y(h),dataMax:v(h)};return P(this,"afterGetExtremes",{dataExtremes:k}),k}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t,e=0,n=1){let i=t.length,r=e;for(;r>=0&&r<i;){if(w(t[r]))return t[r];r+=n}}translate(){var t;this.processedXData||this.processData(),this.generatePoints();let e,n,i,r,o=this.options,s=o.stacking,a=this.xAxis,l=a.categories,c=this.enabledDataSorting,u=this.yAxis,h=this.points,d=h.length,p=this.pointPlacementToXValue(),f=!!p,g=o.threshold,m=o.startFromThreshold?g:0,v=Number.MAX_VALUE;function y(t){return b(t,-1e5,1e5)}for(e=0;e<d;e++){let o,d,b,x=h[e],S=x.x,k=x.y,C=x.low,O=s&&(null==(t=u.stacking)?void 0:t.stacks[(this.negStacks&&k<(m?0:g)?"-":"")+this.stackKey]);n=a.translate(S,!1,!1,!1,!0,p),x.plotX=j(n)?_(y(n)):void 0,s&&this.visible&&O&&O[S]&&(r=this.getStackIndicator(r,S,this.index),!x.isNull&&r.key&&(b=(d=O[S]).points[r.key]),d&&$(b)&&(C=b[0],k=b[1],C===m&&r.key===O[S].base&&(C=R(j(g)?g:u.min)),u.positiveValuesOnly&&w(C)&&C<=0&&(C=void 0),x.total=x.stackTotal=R(d.total),x.percentage=w(x.y)&&d.total?x.y/d.total*100:void 0,x.stackY=k,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),x.yBottom=w(C)?y(u.translate(C,!1,!0,!1,!0)):void 0,this.dataModify&&(k=this.dataModify.modifyValue(k,e)),j(k)&&void 0!==x.plotX&&(o=j(o=u.translate(k,!1,!0,!1,!0))?y(o):void 0),x.plotY=o,x.isInside=this.isPointInside(x),x.clientX=f?_(a.translate(S,!1,!1,!1,!0,p)):n,x.negative=(x.y||0)<(g||0),x.category=R(l&&l[x.x],x.x),x.isNull||!1===x.visible||(void 0!==i&&(v=Math.min(v,Math.abs(n-i))),i=n),x.zone=this.zones.length?x.getZone():void 0,!x.graphic&&this.group&&c&&(x.isNew=!0)}this.closestPointRangePx=v,P(this,"afterTranslate")}getValidPoints(t,e,n){let i=this.chart;return(t||this.points||[]).filter(function(t){let{plotX:r,plotY:o}=t;return!(!(n||!t.isNull&&j(o))||e&&!i.isInsidePlot(r,o,{inverted:i.inverted}))&&!1!==t.visible})}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:i,y:r,width:o,height:s}=I(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:i,y:r,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,i=t.sharedClips,r=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=i[s];a?a.animate(o):i[s]=a=r.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:i}=this,r=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,r&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),null==i||i.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(null!=i&&i.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&null!=l&&l.element&&l.attr(r?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),N(this.chart.sharedClips,(t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])}),this.finishedAnimating=!0,P(this,"afterAnimate")}drawPoints(t=this.points){let e,n,i,r,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:h}=this,d=h.marker,p=this[this.specialGroup||"markerGroup"],f=this.xAxis,g=R(d.enabled,!f||!!f.isRadial||null,this.closestPointRangePx>=d.enabledThreshold*d.radius);if(!1!==d.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(r=(i=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(g&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=R(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=f.reversed?-(a.width||0):f.width);let e=!1!==n.isInside;if(!i&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=i=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:d).add(p),this.enabledDataSorting&&l.hasRendered&&(i.attr({x:n.startXPos}),r="animate")),i&&"animate"===r&&i[e?"show":"hide"](e).animate(a),i){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&i.css({fill:t.fill}):i[r](t)}i&&i.addClass(n.getClassName(),!0)}else i&&(n.graphic=i.destroy())}markerAttribs(t,e){let n,i,r=this.options,o=r.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=R(s.radius,o&&o.radius);e&&(n=o.states[e],c=R((i=s.states&&s.states[e])&&i.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return j(c)&&u&&(r.crisp&&(u[0]=x(u[0],t.hasImage?0:"rect"===a?(null==o?void 0:o.lineWidth)||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,i,r,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,h=t&&t.zone&&t.zone.color,d=this.color,p=R(l.lineWidth,s.lineWidth),f=1;return d=c||h||u||d,r=l.fillColor||s.fillColor||d,o=l.lineColor||s.lineColor||d,e=e||"normal",n=s.states[e]||{},p=R((i=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,p+R(i.lineWidthPlus,n.lineWidthPlus,0)),r=i.fillColor||n.fillColor||r,{stroke:o=i.lineColor||n.lineColor||o,"stroke-width":p,fill:r,opacity:f=R(i.opacity,n.opacity,f)}}destroy(t){let e,n,i,r=this,o=r.chart,s=/AppleWebKit\/533/.test(g.navigator.userAgent),a=r.data||[];for(P(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach(function(t){(i=r[t])&&i.series&&(C(i.series,r),i.isDirty=i.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of r.zones)S(t,void 0,!0);c.clearTimeout(r.animationTimeout),N(r,function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()}),o.hoverSeries===r&&(o.hoverSeries=void 0),C(o.series,r),o.orderItems("series"),N(r,function(e,n){t&&"hcEvents"===n||delete r[n]})}applyZones(){let{area:t,chart:e,graph:n,zones:i,points:r,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:h,len:d=0}=u||{},p=((null==n?void 0:n.strokeWidth())||0)/2+1,f=(t,e=0,n=0)=>{l&&(n=d-n);let{translated:i=0,lineClip:r}=t,o=n-i;null==r||r.push(["L",e,Math.abs(o)<p?n-p*(o<=0?-1:1):i])};if(i.length&&(n||t)&&u&&j(u.min)){let e=u.getExtremes().max,p=t=>{t.forEach((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],h?d-e[1]:e[1],h?e[2]:d-e[2]])})};if(i.forEach(t=>{t.lineClip=[],t.translated=b(u.toPixels(R(t.value,e),!0)||0,0,d)}),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&r.length<o.len)for(let t of r){let{plotX:e,plotY:n,zone:r}=t,o=r&&i[i.indexOf(r)-1];r&&f(r,e,n),o&&f(o,e,n)}let g=[],m=u.toPixels(u.getExtremes().min,!0);i.forEach(e=>{var i,r;let a=e.lineClip||[],u=Math.round(e.translated||0);o.reversed&&a.reverse();let{clip:d,simpleClip:f}=e,v=0,y=0,b=o.len,_=s.len;h?(v=u,b=m):(y=u,_=m);let x=[["M",v,y],["L",b,y],["L",b,_],["L",v,_],["Z"]],w=[x[0],...a,x[1],x[2],...g,x[3],x[4]];g=a.reverse(),m=u,l&&(p(w),t&&p(x)),d?(d.animate({d:w}),null==f||f.animate({d:x})):(d=e.clip=c.path(w),t&&(f=e.simpleClip=c.path(x))),n&&(null==(i=e.graph)||i.clip(d)),t&&(null==(r=e.area)||r.clip(f))})}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,i,r){let o=this[t],s=!o,a={visibility:n,zIndex:i||.1};return w(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,i=this.chart,r=i.inverted&&!i.polar&&e&&this.invertible&&"series"===t;return i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:r?90:0,rotationOriginX:r?(e.len-n.len)/2:0,rotationOriginY:r?(e.len+n.len)/2:0,scaleX:r?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||B(this),e.length&&(e.forEach(t=>{t()}),e.length=0)}render(){var t,e,n,i,r;let o=this,{chart:s,options:a,hasRendered:l}=o,c=u(a.animation),h=o.visible?"inherit":"hidden",d=a.zIndex,p=s.seriesGroup,f=o.finishedAnimating?0:c.duration;P(this,"render"),o.plotGroup("group","series",h,d,p),o.markerGroup=o.plotGroup("markerGroup","markers",h,d,p),!1!==a.clip&&o.setClip(),f&&(null==(t=o.animate)||t.call(o,!0)),o.drawGraph&&(o.drawGraph(),o.applyZones()),o.visible&&o.drawPoints(),null==(e=o.drawDataLabels)||e.call(o),null==(n=o.redrawPoints)||n.call(o),a.enableMouseTracking&&(null==(i=o.drawTracker)||i.call(o)),f&&(null==(r=o.animate)||r.call(o)),l||(f&&c.defer&&(f+=c.defer),o.animationTimeout=z(()=>{o.afterAnimate()},f||0)),o.isDirty=!1,o.hasRendered=!0,P(o,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:i}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z(function(){e.kdTree=function t(n,i,r){let o,s,a=null==n?void 0:n.length;if(a)return o=e.kdAxisArray[i%r],n.sort((t,e)=>(t[o]||0)-(e[o]||0)),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),i+1,r),right:t(n.slice(s+1),i+1,r)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1},e.options.kdNow||"touchstart"===(null==t?void 0:t.type)?0:1)}searchKDTree(t,e,n){let i=this,[r,o]=this.kdAxisArray,s=e?"distX":"dist",a=(i.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!i.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){var u;let h,d,p=n.point,f=i.kdAxisArray[a%c],g=p;!function(t,e){var n;let i=t[r],s=e[r],a=w(i)&&w(s)?i-s:null,c=t[o],u=e[o],h=w(c)&&w(u)?c-u:0,d=l&&(null==(n=e.marker)?void 0:n.radius)||0;e.dist=Math.sqrt((a&&a*a||0)+h*h)-d,e.distX=w(a)?Math.abs(a)-d:Number.MAX_VALUE}(e,p);let m=(e[f]||0)-(p[f]||0)+(l&&(null==(u=p.marker)?void 0:u.radius)||0),v=m<0?"left":"right",y=m<0?"right":"left";return n[v]&&(g=(h=t(e,n[v],a+1,c))[s]<g[s]?h:p),n[y]&&Math.sqrt(m*m)<g[s]&&(g=(d=t(e,n[y],a+1,c))[s]<g[s]?d:g),g}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),j(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:i}=this,{plotX:r=-1,plotY:o=-1}=t;return o>=0&&o<=(i?i.len:e.plotHeight)&&r>=0&&r<=(n?n.len:e.plotWidth)}drawTracker(){var t;let e=this,n=e.options,i=n.trackByArea,r=[].concat((i?e.areaPath:e.graphPath)||[]),o=e.chart,s=o.pointer,a=o.renderer,l=(null==(t=o.options.tooltip)?void 0:t.snap)||0,c=()=>{n.enableMouseTracking&&o.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(f?1e-4:.002)+")",h=e.tracker;h?h.attr({d:r}):e.graph&&(e.tracker=h=a.path(r).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),o.styledMode||h.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:i?u:"none","stroke-width":e.graph.strokeWidth()+(i?0:2*l)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach(t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",t=>{null==s||s.onTrackerMouseOut(t)}),n.cursor&&!o.styledMode&&t.css({cursor:n.cursor}),t.on("touchstart",c))})),P(this,"afterDrawTracker")}addPoint(t,e,n,i,r){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,h=u&&u.hasNames&&u.names,d=a.data,p=this.xData;e=R(e,!0);let f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);let g=f.x;if(s=p.length,this.requireSorting&&g<p[s-1])for(o=!0;s&&p[s-1]>g;)s--;this.updateParallelArrays(f,"splice",[s,0,0]),this.updateParallelArrays(f,s),h&&f.name&&(h[g]=f.name),d.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(f,"shift"),d.shift())),!1!==r&&P(this,"addPoint",{point:f}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(i)}removePoint(t,e,n){let i=this,r=i.data,o=r[t],s=i.points,a=i.chart,l=function(){s&&s.length===r.length&&s.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",[t,1]),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&a.redraw()};h(n,a),e=R(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,i){let r=this,o=r.chart;function s(){r.destroy(i),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(i),R(t,!0)&&o.redraw(e)}!1!==n?P(r,"remove",null,s):s()}update(t,e){var n,i,r;P(this,"update",{options:t=k(t,this.userOptions)});let o,s,a=this,l=a.chart,c=a.userOptions,u=a.initialType||a.type,h=l.options.plotOptions,d=m[u].prototype,p=a.finishedAnimating&&{animation:!1},f={},g=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],v=t.type||c.type||l.options.chart.type,y=!(this.hasDerivedData||v&&v!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(t=>a.hasOptionChanged(t)));v=v||u,y&&(g.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&g.push("area","graph"),a.parallelArrays.forEach(function(t){g.push(t+"Data")}),t.data&&(t.dataSorting&&A(a.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=I(c,{index:void 0===c.index?a.index:c.index,pointStart:(null==(n=null==h?void 0:h.series)?void 0:n.pointStart)??c.pointStart??(null==(i=a.xData)?void 0:i[0])},!y&&{data:a.options.data},t,p),y&&t.data&&(t.data=a.options.data),(g=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(g)).forEach(function(t){g[t]=a[t],delete a[t]});let b=!1;if(m[v]){if(b=v!==a.type,a.remove(!1,!1,!1,!0),b)if(l.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(a,m[v].prototype);else{let t=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents;for(s in d)a[s]=void 0;A(a,m[v].prototype),t?a.hcEvents=t:delete a.hcEvents}}else O(17,!0,l,{missingModuleFor:v});if(g.forEach(function(t){a[t]=g[t]}),a.init(l,t),y&&this.points)for(let t of(!1===(o=a.options).visible?(f.graphic=1,f.dataLabel=1):(this.hasMarkerChanged(o,c)&&(f.graphic=1),null!=(r=a.hasDataLabels)&&r.call(a)||(f.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(f).length&&t.destroyElements(f),!1===o.showInLegend&&t.legendItem&&l.legend.destroyItem(t));a.initialType=u,l.linkSeries(),l.setSortedData(),b&&a.linkedSeries.length&&(a.isDirtyData=!0),P(this,"afterUpdate"),R(e,!0)&&l.redraw(!!y&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){var e,n;let i=this.chart,r=this.options[t],o=i.options.plotOptions,s=this.userOptions[t],a=R(null==(e=null==o?void 0:o[this.type])?void 0:e[t],null==(n=null==o?void 0:o.series)?void 0:n[t]);return s&&!w(a)?r!==s:r!==R(a,r)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;null==n||n.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach(function(t){t.setState("",!0)})}setState(t,e){let n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,s=i.states,a=R(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))}),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=R(s[t].opacity,c)),r&&!r.dashstyle&&j(l))for(let t of[r,...this.zones.map(t=>t.graph)])null==t||t.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach(function(e){e.setState&&e.setState(t)})}setVisible(t,e){var n;let i=this,r=i.chart,o=r.options.chart.ignoreHiddenSeries,s=i.visible;i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t;let a=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(t=>{var e;null==(e=i[t])||e[a]()}),(r.hoverSeries===i||(null==(n=r.hoverPoint)?void 0:n.series)===i)&&i.onMouseOut(),i.legendItem&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&r.series.forEach(t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(e=>{e.setVisible(t,!1)}),o&&(r.isDirtyBox=!0),P(i,a),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){var n;null==(n=r[this.options.legendSymbol||"rectangle"])||n.call(this,t,e)}}return F.defaultOptions=s,F.types=a.seriesTypes,F.registerType=a.registerSeriesType,A(F.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=F,F}),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a){var l;let{animObject:c,setAnimation:u}=t,{registerEventOptions:h}=e,{composed:d,marginNames:p}=n,{distribute:f}=o,{format:g}=s,{addEvent:m,createElement:v,css:y,defined:b,discardElement:_,find:x,fireEvent:w,isNumber:S,merge:k,pick:C,pushUnique:O,relativeLength:A,stableSort:T,syncTimeout:P}=a;class E{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this,e),m(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),m(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(t){let e=C(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=k(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=C(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(k(!0,this.options,t)),"events"in this.options&&h(this,this.options),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,C(e,!0)&&n.redraw(),w(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:i,label:r,line:o,symbol:s}=t.legendItem||{};if(null==i||i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:i={}}=this,a=i.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:h}=t.options,d=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);null==r||r.css(k(e?this.itemStyle:i)),null==o||o.attr(d({stroke:u||t.color})),s&&s.attr(d(h&&s.isMarker?t.pointAttribs():{fill:t.color})),null==n||n.attr(d({fill:l||t.color,"fill-opacity":l?1:c??.75}))}w(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:i=0}=t.legendItem||{},r=this.options,o=r.symbolPadding,s=!r.rtl,a=t.checkbox;if(e&&e.element){let r={translateX:s?n:this.legendWidth-n-2*o-4,translateY:i};e[b(e.translateY)?"animate":"attr"](r,void 0,()=>{w(this,"afterPositionItem",{item:t})})}a&&(a.x=n,a.y=i)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&_(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,i=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach(function(r){let o,s=r.checkbox;s&&(o=t+i+s.y+(this.scrollOffset||0)+3,y(s,{left:e.translateX+r.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))},this))}renderTitle(){let t,e=this.options,n=this.padding,i=e.title,r=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?g(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o="horizontal"===r.layout,s=this.symbolWidth,a=r.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?C(r.itemDistance,20):0,h=!r.rtl,d=!t.series,p=!d&&t.series.drawLegendSymbol?t.series:t,f=p.options,g=!!this.createCheckboxForItem&&f&&f.showCheckbox,m=r.useHTML,v=t.options.className,y=e.label,b=s+a+u+(g?20:0);!y&&(e.group=i.g("legend-item").addClass("highcharts-"+p.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(d?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=y=i.text("",h?s+a:-a,this.baseline||0,m),n.styledMode||y.css(k(t.visible?l:c)),y.attr({align:h?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=i.fontMetrics(y),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,y.attr("y",this.baseline),this.symbolHeight=C(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=C(r.symbolWidth,Math.max(this.symbolHeight,16)),b=this.symbolWidth+a+u+(g?20:0),h&&y.attr("x",this.symbolWidth+a))),p.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,y,m)),g&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&y.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-b+"px"}),this.setText(t);let _=y.getBBox(),x=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||_.width+b,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(_.height>1.5*x?_.height:x))}layoutItem(t){let e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=i?C(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};i&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,i?this.itemX+=c:(this.itemY+=s+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach(function(e){let n=e&&e.options;e&&C(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))}),w(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,s){o.test(r)&&!b(t[s])&&(n[p[s]]=Math.max(n[p[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*i[s%2?"x":"y"]+C(i.margin,12)+e[s]+(n.titleOffset[s]||0)))})}proximatePositions(){let t,e=this.chart,n=[],i="left"===this.options.align;for(let r of(this.allItems.forEach(function(t){let r,o,s,a,l=i;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(r=x(l?t.points:t.points.slice(0).reverse(),function(t){return S(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(r?r.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))},this),f(n,e.plotHeight)))t=r.item.legendItem||{},S(r.pos)&&(t.y=e.plotTop-e.spacing[0]+r.pos)}render(){let t,e,n,i,r=this.chart,o=r.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=A(s.width,r.spacingBox.width-a),i=r.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(i/=2),this.maxLegendWidth=this.widthOption||i,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),T(l,(t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),r.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),r.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),w(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(i-=e.titleOffset[2]),i!==t.y&&(t=k(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(k(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,i,r=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,h=a.maxHeight,d=a.navigation,p=C(d.animation,!0),f=d.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?x.attr({height:t}):x&&(r.clipRect=x.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},y=function(t){return r[t]=s.circle(0,0,1.3*f).translate(f/2,f/2).add(_),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]},b=o.spacingBox.height+(c?-l:l)-u,_=this.nav,x=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(b/=2),h&&(b=Math.min(b,h)),g.length=0,t&&b>0&&t>b&&!1!==d.enabled?(this.clipHeight=e=Math.max(b-20-this.titleHeight-u,0),this.currentPage=C(this.currentPage,1),this.fullHeight=t,m.forEach((t,r)=>{let o=(i=t.legendItem||{}).y||0,s=Math.round(i.label.getBBox().height),a=g.length;(!a||o-g[a-1]>e&&(n||o)!==g[a-1])&&(g.push(n||o),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&o+s-g[a-1]>e&&o>g[a-1]&&(g.push(o),i.pageIx=a),o!==n&&(n=o)}),x||(x=r.clipRect=s.clipRect(0,u-2,9999,0),r.contentGroup.clip(x)),v(e),_||(this.nav=_=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,f,f).add(_),y("upTracker").on("click",function(){r.scroll(-1,p)}),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(_),this.down=s.symbol("triangle-down",0,0,f,f).add(_),y("downTracker").on("click",function(){r.scroll(1,p)})),r.scroll(0),t=b):_&&(v(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,i=this.pages,r=i.length,o=this.clipHeight,s=this.options.navigation,a=this.pager,l=this.padding,h=this.currentPage+t;h>r&&(h=r),h>0&&(void 0!==e&&u(e,n),this.nav.attr({translateX:l,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),a.attr({text:h+"/"+r}),[this.down,this.downTracker].forEach(function(t){t.attr({x:18+this.pager.getBBox().width,class:h===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),n.styledMode||(this.up.attr({fill:1===h?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===r?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:h===r?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),P(()=>{w(this,"afterScroll",{currentPage:h})},c(C(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let o=this,s=t.legendItem||{},a=o.chart.renderer.boxWrapper,l=t instanceof r,c=t instanceof i,u="highcharts-legend-"+(l?"point":"series")+"-active",h=o.chart.styledMode,d=n?[e,s.symbol]:[s.group],p=e=>{o.allItems.forEach(n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach(t=>{t.setState(e,!l)})})};for(let n of d)n&&n.on("mouseover",function(){t.visible&&p("inactive"),t.setState("hover"),t.visible&&a.addClass(u),h||e.css(o.options.itemHoverStyle)}).on("mouseout",function(){o.chart.styledMode||e.css(k(t.visible?o.itemStyle:o.itemHiddenStyle)),p(""),a.removeClass(u),t.setState()}).on("click",function(e){a.removeClass(u),w(o,"itemClick",{browserEvent:e,legendItem:t},function(){t.setVisible&&t.setVisible(),p(t.visible?"inactive":"")}),l?t.firePointEvent("legendItemClick",{browserEvent:e}):c&&w(t,"legendItemClick",{browserEvent:e})})}createCheckboxForItem(t){t.checkbox=v("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),m(t.checkbox,"click",function(e){let n=e.target;w(t.series||t,"checkboxClick",{checked:n.checked,item:t},function(){t.select()})})}}return(l=E||(E={})).compose=function(t){O(d,"Core.Legend")&&m(t,"beforeMargins",function(){this.legend=new l(this,this.options.legend)})},E}),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,e,n,i,r,o,s,a,l,c,u,h,d,p){let{animate:f,animObject:g,setAnimation:m}=t,{defaultOptions:v,defaultTime:y}=n,{numberFormat:b}=i,{registerEventOptions:_}=r,{charts:x,doc:w,marginNames:S,svg:k,win:C}=o,{seriesTypes:O}=l,{addEvent:A,attr:T,createElement:P,css:E,defined:M,diffObjects:L,discardElement:$,erase:j,error:D,extend:I,find:N,fireEvent:R,getStyle:B,isArray:V,isNumber:z,isObject:F,isString:W,merge:H,objectEach:U,pick:q,pInt:G,relativeLength:X,removeEvent:Y,splat:K,syncTimeout:Z,uniqueKey:Q}=h;class J{static chart(t,e,n){return new J(t,e,n)}constructor(t,e,n){this.sharedClips={};let i=[...arguments];(W(t)||t.nodeName)&&(this.renderTo=i.shift()),this.init(i[0],i[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:q(t.zoomType,e.type),key:q(t.zoomKey,e.key),pinchType:q(t.pinchType,e.pinchType),singleTouch:q(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:H(e.resetButton,t.resetZoomButton)}}init(t,e){R(this,"init",{args:arguments},function(){let n=H(v,t),i=n.chart;this.userOptions=I({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,_(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),R(this,"afterInit"),this.firstRender()})}initSeries(t){let e=this.options.chart,n=t.type||e.type,i=O[n];i||D(17,!0,this,{missingModuleFor:n});let r=new i;return"function"==typeof r.init&&r.init(this,t),r}setSortedData(){this.getSeriesOrderByLinks().forEach(function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0})}orderItems(t,e=0){let n=this[t],i=this.options[t]=K(this.options[t]).slice(),r=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(i.splice(e),r.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(i[t]=e.options,r[t]=e.userOptions))}}isInsidePlot(t,e,n={}){var i;let{inverted:r,plotBox:o,plotLeft:s,plotTop:a,scrollablePlotBox:l}=this,{scrollLeft:c=0,scrollTop:u=0}=n.visiblePlotOnly&&(null==(i=this.scrollablePlotArea)?void 0:i.scrollingContainer)||{},h=n.series,d=n.visiblePlotOnly&&l||o,p=n.inverted?e:t,f=n.inverted?t:e,g={x:p,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=h&&(r&&!this.polar?h.yAxis:h.xAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+p:s+p;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.width,t.pos+t.len)||(g.isInsidePlot=!1)}if(!n.ignoreY&&g.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||h&&(r?h.xAxis:h.yAxis)||{pos:a,len:1/0},e=n.paneCoordinates?t.pos+f:a+f;e>=Math.max(u+a,t.pos)&&e<=Math.min(u+a+d.height,t.pos+t.len)||(g.isInsidePlot=!1)}return R(this,"afterIsInsidePlot",g),g.isInsidePlot}redraw(t){R(this,"beforeRedraw");let e,n,i,r,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,h=u.isHidden(),d=[],p=this.isDirtyBox,f=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),h&&this.temporaryDisplay(),this.layOutTitles(!1),i=s.length;i--;)if(((r=s[i]).options.stacking||r.options.centerInCategory)&&(n=!0,r.isDirty)){e=!0;break}if(e)for(i=s.length;i--;)(r=s[i]).options.stacking&&(r.isDirty=!0);s.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),f=!0):c&&(c.labelFormatter||c.labelFormat)&&(f=!0)),t.isDirtyData&&R(t,"updatedData")}),f&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),o.forEach(function(t){t.isDirty&&(p=!0)}),o.forEach(function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,d.push(function(){R(t,"afterSetExtremes",I(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(p||n)&&t.redraw()}),p&&this.drawChartBox(),R(this,"predraw"),s.forEach(function(t){(p||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),a&&a.reset(!0),u.draw(),R(this,"redraw"),R(this,"render"),h&&this.temporaryDisplay(!0),d.forEach(function(t){t.call()})}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let i=N(this.axes,n)||N(this.series,n);for(let t=0;!i&&t<e.length;t++)i=N(e[t].points||[],n);return i}getAxes(){let t=this.userOptions;for(let n of(R(this,"getAxes"),["xAxis","yAxis"]))for(let i of t[n]=K(t[n]||{}))new e(this,i,n);R(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((t,e)=>(e.getPointsCollection().forEach(e=>{q(e.selectedStaging,e.selected)&&t.push(e)}),t),[])}getSelectedSeries(){return this.series.filter(function(t){return t.selected})}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,i=this.options[t]=H(this.options[t],e),r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e,i){n.applyDescription(t,e),n.layOutTitles(i)},this.styledMode||r.css(I("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},i.style)),this[t]=r)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach(function(t){let r=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(r){r.css({width:(o.width||i.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(r).b,l=Math.round(r.getBBox(o.useHTML).height);r.align(I({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}},this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,R(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:B(this.renderTo,"width",!0)||0,height:B(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,i=this.getContainerBox();this.chartWidth=Math.max(0,e||i.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(i.height>1?i.height:400)),this.containerBox=i}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(E(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(w.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(w.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,w.body.appendChild(n)),("none"===B(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),E(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==w.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){var t;let e,n=this.options,i=n.chart,r="data-highcharts-chart",a=Q(),l=this.renderTo;l||(this.renderTo=l=i.renderTo),W(l)&&(this.renderTo=l=w.getElementById(l)),l||D(13,!0,this);let u=G(T(l,r));z(u)&&x[u]&&x[u].hasRendered&&x[u].destroy(),T(l,r,this.index),l.innerHTML=d.emptyHTML,i.skipClone||l.offsetWidth||this.temporaryDisplay(),this.getChartSize();let h=this.chartHeight,p=this.chartWidth;E(l,{overflow:"hidden",pointerEvents:o.isChrome?"fill":"auto"}),this.styledMode||(e=I({position:"relative",overflow:"hidden",width:p+"px",height:h+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{}));let f=P("div",{id:a},e,l);this.container=f,this.getChartSize(),p===this.chartWidth||(p=this.chartWidth,this.styledMode||E(f,{width:q(null==(t=i.style)?void 0:t.width,p+"px")})),this.containerBox=this.getContainerBox(),this._cursor=f.style.cursor;let g=i.renderer||!k?s.getRendererType(i.renderer):c;if(this.renderer=new g(f,p,h,void 0,i.forExport,n.exporting&&n.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(i.className),this.styledMode)for(let t in n.defs)this.renderer.definition(n.defs[t]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,R(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:i}=this;this.resetMargins(),i[0]&&!M(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!M(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),R(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach(function(t){t.visible&&t.getOffset()})};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),S.forEach(function(n,r){M(i[r])||(t[n]+=e[r])}),t.setChartSize()}getOptions(){return L(this.userOptions,v)}reflow(t){var e;let n=this,i=n.containerBox,r=n.getContainerBox();null==(e=n.pointer)||delete e.chartPosition,!n.isPrinting&&!n.isResizing&&i&&r.width&&((r.width!==i.width||r.height!==i.height)&&(h.clearTimeout(n.reflowTimeout),n.reflowTimeout=Z(function(){n.container&&n.setSize(void 0,void 0,!1)},t?100:0)),n.containerBox=r)}setReflow(){let t=this,e=e=>{var n;null!=(n=t.options)&&n.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=A(C,"resize",e);A(this,"destroy",t)}}setSize(t,e,n){let i=this,r=i.renderer;i.isResizing+=1,m(n,i);let o=r.globalAnimation;i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=i;(i.isDirtyBox||s!==i.oldChartWidth||a!==i.oldChartHeight)&&(i.styledMode||(o?f:E)(i.container,{width:`${s+l}px`,height:`${a+c}px`},o),i.setChartSize(!0),r.setSize(s,a,o),i.axes.forEach(function(t){t.isDirty=!0,t.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(o),i.oldChartHeight=void 0,R(i,"resize"),setTimeout(()=>{i&&R(i,"endResize")},g(o).duration)),i.isResizing-=1}setChartSize(t){let e,n,i,r,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,h=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?r:i,this.plotSizeY=a?i:r,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:i,height:r},u&&(this.clipBox={x:h(u[3]),y:h(u[0]),width:h(this.plotSizeX-u[1]-u[3]),height:h(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach(function(t){t.setAxisSize(),t.setAxisTranslation()}),c.alignElements()),R(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){R(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,i=n/2;["margin","spacing"].forEach(function(n){let i=e[n],r=F(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach(function(i,o){t[n][o]=q(e[n+i],r[o])})}),S.forEach(function(e,n){t[e]=q(t.margin[n],t.spacing[n])}),t.axisOffset=[0,0,0,0],t.clipOffset=[i,i,i,i],t.plotBorderWidth=n}drawChartBox(){let t,e,n,i=this.options.chart,r=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=i.backgroundColor,u=i.plotBackgroundColor,h=i.plotBackgroundImage,d=this.plotLeft,p=this.plotTop,f=this.plotWidth,g=this.plotHeight,m=this.plotBox,v=this.clipRect,y=this.clipBox,b=this.chartBackground,_=this.plotBackground,x=this.plotBorder,w="animate";b||(this.chartBackground=b=r.rect().addClass("highcharts-background").add(),w="attr"),a?t=e=b.strokeWidth():(e=(t=i.borderWidth||0)+(i.shadow?8:0),n={fill:c||"none"},(t||b["stroke-width"])&&(n.stroke=i.borderColor,n["stroke-width"]=t),b.attr(n).shadow(i.shadow)),b[w]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:i.borderRadius}),w="animate",_||(w="attr",this.plotBackground=_=r.rect().addClass("highcharts-plot-background").add()),_[w](m),!a&&(_.attr({fill:u||"none"}).shadow(i.plotShadow),h&&(l?(h!==l.attr("href")&&l.attr("href",h),l.animate(m)):this.plotBGImage=r.image(h,d,p,f,g).add())),v?v.animate({width:y.width,height:y.height}):this.clipRect=r.clipRect(y),w="animate",x||(w="attr",this.plotBorder=x=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||x.attr({stroke:i.plotBorderColor,"stroke-width":i.plotBorderWidth||0,fill:"none"}),x[w](x.crisp({x:d,y:p,width:f,height:g},-x.strokeWidth())),this.isDirtyBox=!1,R(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach(function(s){for(e=O[r.type],n=r[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=O[o[t].type])&&e.prototype[s]&&(n=!0);i[s]=n})}linkSeries(t){let e=this,n=e.series;n.forEach(function(t){t.linkedSeries.length=0}),n.forEach(function(t){let{linkedTo:n}=t.options;if(W(n)){let i;(i=":previous"===n?e.series[t.index-1]:e.get(n))&&i.linkedParent!==t&&(i.linkedSeries.push(t),t.linkedParent=i,i.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,i.options.visible,t.visible))}}),R(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach(function(t){t.translate(),t.render()})}render(){var t;let e,n=this.axes,i=this.colorAxis,r=this.renderer,o=this.options.chart.axisLayoutRuns||2,s=t=>{t.forEach(t=>{t.visible&&t.render()})},a=0,l=!0,c=0;for(let e of(this.setTitle(),R(this,"beforeMargins"),null==(t=this.getStacks)||t.call(this),this.getMargins(!0),this.setChartSize(),n)){let{options:t}=e,{labels:n}=t;if(this.hasCartesianSeries&&e.horiz&&e.visible&&n.enabled&&e.series.length&&"colorAxis"!==e.coll&&!this.polar){a=t.tickLength,e.createGroups();let i=new p(e,0,"",!0),r=i.createLabel("x",n);if(i.destroy(),r&&q(n.reserveSpace,!z(t.crossing))&&(a=r.getBBox().height+n.distance+Math.max(t.offset||0,0)),a){null==r||r.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-a,0);(l||e||o>1)&&c<o;){let t=this.plotWidth,i=this.plotHeight;for(let t of n)0===c?t.setScale():(t.horiz&&l||!t.horiz&&e)&&t.setTickInterval(!0);0===c?this.getAxisMargins():this.getMargins(),l=t/this.plotWidth>(c?1:1.1),e=i/this.plotHeight>(c?1:1.05),c++}this.drawChartBox(),this.hasCartesianSeries?s(n):i&&i.length&&s(i),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=H(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){n.href&&(C.location.href=n.href)}).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,i=e.series,r=e.container,s=r&&r.parentNode;for(R(e,"destroy"),e.renderer.forExport?j(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),Y(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())}),r&&(r.innerHTML=d.emptyHTML,Y(r),s&&$(r)),U(e,function(t,n){delete e[n]})}firstRender(){var t;let e=this,n=e.options;e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes();let i=V(n.series)?n.series:[];n.series=[],i.forEach(function(t){e.initSeries(t)}),e.linkSeries(),e.setSortedData(),R(e,"beforeRender"),e.render(),null==(t=e.pointer)||t.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),R(this,"load"),R(this,"render"),M(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"<")}),t.accessibility&&!1===t.accessibility.enabled||D('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let i,r=this;return t&&(e=q(e,!0),R(r,"addSeries",{options:t},function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),R(r,"afterAddSeries",{series:i}),e&&r.redraw(n)})),i}addAxis(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let i=new e(this,n.axis,t);return q(n.redraw,!0)&&this.redraw(n.animation),i}showLoading(t){let e=this,n=e.options,i=n.loading,r=function(){o&&E(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=P("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=P("span",{className:"highcharts-loading-inner"},null,o),A(e,"redraw",r)),o.className="highcharts-loading",d.setElementHTML(s,q(t,n.lang.loading,"")),e.styledMode||(E(o,I(i.style,{zIndex:10})),E(s,i.labelStyle),e.loadingShown||(E(o,{opacity:0,display:""}),f(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||f(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){E(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,i){let r,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,h=[];R(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=L(t,a.options),a.userOptions=H(a.userOptions,t);let d=t.chart;d&&(H(!0,a.options.chart,d),this.setZoomOptions(),"className"in d&&a.setClassName(d.className),("inverted"in d||"polar"in d||"type"in d)&&(a.propFromSeries(),r=!0),"alignTicks"in d&&(r=!0),"events"in d&&_(this,d),U(d,function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))}),!a.styledMode&&d.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new u(t.time)),H(!0,a.options.time,t.time)),U(t,function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&H(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)}),this.collectionsWithUpdate.forEach(function(e){t[e]&&(K(t[e]).forEach(function(t,i){let r,o=M(t.id);o&&(r=a.get(t.id)),!r&&a[e]&&(r=a[e][q(t.index,i)])&&(o&&M(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),n&&(r.touched=!0)),!r&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)}),n&&a[e].forEach(function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)}))}),h.forEach(function(t){t.chart&&t.remove&&t.remove(!1)}),r&&a.axes.forEach(function(t){t.update({},!1)}),o&&a.getSeriesOrderByLinks().forEach(function(t){t.chart&&t.update({},!1)},this);let p=d&&d.width,f=d&&(W(d.height)?X(d.height,p||a.chartWidth):d.height);s||z(p)&&p!==a.chartWidth||z(f)&&f!==a.chartHeight?a.setSize(p,f,i):q(e,!0)&&a.redraw(i),R(a,"afterUpdate",{options:t,redraw:e,animation:i})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,i=n.theme,r="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}R(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,i).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,r)}),R(this,"afterShowResetZoom")}zoomOut(){R(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(t,e){let n=this,i="object"==typeof e?e:{enabled:e,type:"x"},r=i.type,o=r&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[r]].filter(t=>t.options.panningEnabled&&!t.options.isInternal),s=n.options.chart;null!=s&&s.panning&&(s.panning=i),R(this,"pan",{originalEvent:t},()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),E(n.container,{cursor:"move"})})}transform(t){var e;let n,i,{axes:r=this.axes,event:o,from:s={},reset:a,selection:l,to:c={},trigger:u}=t,{inverted:h}=this,d=!1;for(let t of(null==(e=this.hoverPoints)||e.forEach(t=>t.setState()),r)){let{horiz:e,len:r,minPointOffset:p=0,options:f,reversed:g}=t,m=e?"width":"height",v=e?"x":"y",y=q(c[m],t.len),b=q(s[m],t.len),_=10>Math.abs(y)?1:y/b,x=(s[v]||0)+b/2-t.pos,w=x-((c[v]??t.pos)+y/2-t.pos)/_,S=g&&!h||!g&&h?-1:1;if(!a&&(x<0||x>t.len))continue;let k=t.toValue(w,!0)+(l?0:p*S),C=t.toValue(w+r/_,!0)-(l?0:p*S||0),O=t.allExtremes;if(k>C&&([k,C]=[C,k]),1===_&&!a&&"yAxis"===t.coll&&!O){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);O??(O={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(O.dataMin=Math.min(t.dataMin,O.dataMin),O.dataMax=Math.max(t.dataMax,O.dataMax))}t.allExtremes=O}let{dataMin:A,dataMax:T,min:P,max:E}=I(t.getExtremes(),O||{}),L=A??f.min,$=T??f.max,j=C-k,D=t.categories?0:Math.min(j,$-L),N=L-D*(M(f.min)?0:f.minPadding),R=$+D*(M(f.max)?0:f.maxPadding),B=t.allowZoomOutside||1===_||"zoom"!==u&&_>1,V=Math.min(f.min??N,N,B?P:N),F=Math.max(f.max??R,R,B?E:R);(!t.isOrdinal||1!==_||a)&&(k<V&&(k=V,_>=1&&(C=k+j)),C>F&&(C=F,_>=1&&(k=C-j)),(a||t.series.length&&(k!==P||C!==E)&&k>=V&&C<=F)&&(l?l[t.coll].push({axis:t,min:k,max:C}):(t.isPanning="zoom"!==u,t.isPanning&&(i=!0),t.setExtremes(a?void 0:k,a?void 0:C,!1,!1,{move:w,trigger:u,scale:_}),!a&&(k>V||C<F)&&"mousewheel"!==u&&(n=!0)),d=!0),o&&(this[e?"mouseDownX":"mouseDownY"]=o[e?"chartX":"chartY"]))}return d&&(l?R(this,"selection",l,()=>{delete t.selection,t.trigger="zoom",this.transform(t)}):(!n||i||this.resetZoomButton?!n&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===u&&(this.options.chart.animation??this.pointCount<100)))),d}}return I(J.prototype,{callbacks:[],collectionsWithInit:{xAxis:[J.prototype.addAxis,[!0]],yAxis:[J.prototype.addAxis,[!1]],series:[J.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),J}),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i){let{stop:r}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:h}=i;function d(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new f(this)),null==t||t.applyFixed()}function p(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class f{static compose(t,e,n){h(o,this.compose)&&(s(t,"afterInit",p),s(e,"afterSetChartSize",t=>this.afterSetSize(t.target,t)),s(e,"render",d),s(n,"show",p))}static afterSetSize(t,e){let n,i,r,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:h,renderer:d}=t;if(!d.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[h?"height":"width"]+=n,r=!0)):s&&(t.scrollablePixelsY=i=Math.max(0,s-t.chartHeight),c(i)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=i,a[h?"width":"height"]+=i,r=!1)),c(r)&&!e.skipAxes))for(let e of t.axes)e.horiz===r&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){var e;let i,r=t.options.chart,o=n.getRendererType(),c=r.scrollablePlotArea||{},u=this.moveFixedElements.bind(this),h={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(h.overflowX="auto"),t.scrollablePixelsY&&(h.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),p=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},h,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,p),g=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:((null==(e=r.style)?void 0:e.zIndex)||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new o(g,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":c.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),p.parentNode.insertBefore(g,p),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",u),s(t,"afterApplyDrilldown",u),s(t,"afterLayOutTitles",u),s(p,"scroll",()=>{let{pointer:e,hoverPoint:n}=t;e&&(delete e.chartPosition,n&&(i=n),e.runPointActions(void 0,i,!0))}),f.appendChild(t.container)}applyFixed(){var t;let{chart:e,fixedRenderer:n,isDirty:i,scrollingContainer:o}=this,{axisOffset:s,chartWidth:a,chartHeight:u,container:h,plotHeight:d,plotLeft:p,plotTop:f,plotWidth:g,scrollablePixelsX:m=0,scrollablePixelsY:v=0}=e,{scrollPositionX:y=0,scrollPositionY:b=0}=e.options.chart.scrollablePlotArea||{},_=a+m,x=u+v;n.setSize(a,u),(i??!0)&&(this.isDirty=!1,this.moveFixedElements()),r(e.container),l(h,{width:`${_}px`,height:`${x}px`}),e.renderer.boxWrapper.attr({width:_,height:x,viewBox:[0,0,_,x].join(" ")}),null==(t=e.chartBackground)||t.attr({width:_,height:x}),l(o,{width:`${a}px`,height:`${u}px`}),c(i)||(o.scrollLeft=m*y,o.scrollTop=v*b);let w=f-s[0]-1,S=p-s[3]-1,k=f+d+s[2]+1,C=p+g+s[1]+1,O=p+g-m,A=f+d-v,T=[["M",0,0]];m?T=[["M",0,w],["L",p-1,w],["L",p-1,k],["L",0,k],["Z"],["M",O,w],["L",a,w],["L",a,k],["L",O,k],["Z"]]:v&&(T=[["M",S,0],["L",S,f-1],["L",C,f-1],["L",C,0],["Z"],["M",S,A],["L",S,u],["L",C,u],["L",C,A],["Z"]]),"adjustHeight"!==e.redrawTrigger&&this.mask.attr({d:T})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:i,scrollablePixelsY:r}=this.chart,o=this.fixedRenderer,s=f.fixedSelectors;for(let a of(i&&!n?t=".highcharts-yaxis":i&&n||r&&!n?t=".highcharts-xaxis":r&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})}}return f.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],f}),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{format:i}=t,{series:r}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,i,r){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=i,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,r=n.format,o=r?i(r,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let i={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(i),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,i,o,c){let{alignOptions:u,axis:h,label:d,options:p,textAlign:f}=this,g=h.chart,m=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(d&&m){let t,e=d.getBBox(void 0,0),n=d.padding,i="justify"===l(p.overflow,"justify");u.x=p.x||0,u.y=p.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:f});m.x-=o,m.y-=s,d.align(u,!1,m),(t=g.isInsidePlot(d.alignAttr.x+u.x+o,d.alignAttr.y+u.y+s))||(i=!1),i&&r.prototype.justifyDataLabel.call(h,d,u,d.alignAttr,e,m),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:p.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[p.textAlign||"center"],rotationOriginY:e.height/2}),l(!i&&p.crop,!0)&&(t=a(d.x)&&a(d.y)&&g.isInsidePlot(d.x-n+(d.width||0),d.y)&&g.isInsidePlot(d.x+n,d.y)),d[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let i={bottom:0,middle:1,top:2,right:1,center:0,left:-1},r=i[e],o=i[n];return{x:t.width/2+t.width/2*o,y:t.height/2*r}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:i,defaultX:r,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(i,this.total,0),h=e.toPixels(u),d=t.xAxis||n.xAxis[0],p=l(r,d.translate(this.x))+o,f=Math.abs(h-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),g=n.inverted,m=this.isNegative;return g?{x:(m?h:h-f)-n.plotLeft,y:d.height-p-s+d.top-n.plotTop,width:f,height:s}:{x:p+d.transB-n.plotLeft,y:(m?h-f:h)-n.plotTop,width:s,height:f}}}}),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:h,fireEvent:d,isArray:p,isNumber:f,objectEach:g,pick:m}=r;function v(){let t=this.inverted;this.axes.forEach(t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),this.series.forEach(e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,m(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))})}function y(){var t;let e=this.stacking;if(e){let n=e.stacks;g(n,(t,e)=>{h(t),delete n[e]}),null==(t=e.stackTotalGroup)||t.destroy()}}function b(){this.stacking||(this.stacking=new C(this))}function _(t,e,n,i){return!u(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(","),t}function x(){let t,e=this,n=e.yAxis,i=e.stackKey||"",r=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[i,"-"+i].forEach(n=>{var i;let s,l,c,u=o.length;for(;u--;)s=o[u],t=e.getStackIndicator(t,s,e.index,n),l=null==(i=r[n])?void 0:i[s],(c=null==l?void 0:l.points[t.key||""])&&a.call(e,c,l,u)})}function w(t,e,n){let i=e.total?100/e.total:0;t[0]=c(t[0]*i),t[1]=c(t[1]*i),this.stackedYData[n]=t[1]}function S(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function k(t,e){var n,r;let o,s,a,l,h,d,f,g,v,y=e||this.options.stacking;if(!y||!this.reserveSpace()||({group:"xAxis"}[y]||"yAxis")!==t.coll)return;let b=this.processedXData,_=this.processedYData,x=[],w=_.length,S=this.options,k=S.threshold||0,C=S.startFromThreshold?k:0,O=S.stack,A=e?`${this.type},${y}`:this.stackKey||"",T="-"+A,P=this.negStacks,E=t.stacking,M=E.stacks,L=E.oldStacks;for(E.stacksTouched+=1,f=0;f<w;f++){g=b[f],v=_[f],d=(o=this.getStackIndicator(o,g,this.index)).key||"",M[h=(s=P&&v<(C?0:k))?T:A]||(M[h]={}),M[h][g]||(null!=(n=L[h])&&n[g]?(M[h][g]=L[h][g],M[h][g].total=null):M[h][g]=new i(t,t.options.stackLabels,!!s,g,O)),a=M[h][g],null!==v?(a.points[d]=a.points[this.index]=[m(a.cumulative,C)],u(a.cumulative)||(a.base=d),a.touched=E.stacksTouched,o.index>0&&!1===this.singleStacks&&(a.points[d][0]=a.points[this.index+","+g+",0"][0])):(delete a.points[d],delete a.points[this.index]);let e=a.total||0;"percent"===y?(l=s?A:T,e=P&&null!=(r=M[l])&&r[g]?(l=M[l][g]).total=Math.max(l.total||0,e)+Math.abs(v)||0:c(e+(Math.abs(v)||0))):"group"===y?(p(v)&&(v=v[0]),null!==v&&e++):e=c(e+(v||0)),a.cumulative="group"===y?(e||1)-1:c(m(a.cumulative,C)+(v||0)),a.total=e,null!==v&&(a.points[d].push(a.cumulative),x[f]=a.cumulative,a.hasValidPoints=!0)}"percent"===y&&(E.usePercentage=!0),"group"!==y&&(this.stackedYData=x),E.oldStacks={}}class C{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,i=n.series,r="xAxis"===n.coll,o=n.options.reversedStacks,s=i.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=i[o?e:s-e-1],r&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!r)for(e=0;e<s;e++)i[e].modifyStacks();d(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,g(this.stacks,t=>{g(t,t=>{t.cumulative=t.total})}))}resetStacks(){g(this.stacks,t=>{g(t,(e,n)=>{f(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)})})}renderStackTotals(){var t;let e=this.axis,n=e.chart,i=n.renderer,r=this.stacks,o=s(n,(null==(t=e.options.stackLabels)?void 0:t.animation)||!1),a=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({zIndex:6,opacity:0}).add();a.translate(n.plotLeft,n.plotTop),g(r,t=>{g(t,t=>{t.render(a)})}),a.animate({opacity:1},o)}}return(o||(o={})).compose=function(t,e,n){let i=e.prototype,r=n.prototype;i.getStacks||(l(t,"init",b),l(t,"destroy",y),i.getStacks=v,r.getStackIndicator=_,r.modifyStacks=x,r.percentStacker=w,r.setGroupedPoints=S,r.setStackedPoints=k)},o}),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{defined:i,merge:r,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach((i,s)=>{let a,l=i.graph,c=l?"animate":"attr",u=i.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(i.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&i.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||i.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&r({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)})}getGraphPath(t,e,n){let r,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach(function(u,h){let d,p=u.plotX,f=u.plotY,g=t[h-1],m=u.isNull||"number"!=typeof f;(u.leftCliff||g&&g.rightCliff)&&!n&&(r=!0),m&&!i(e)&&h>0?r=!s.connectNulls:m&&!e?r=!0:(0===h||r?d=[["M",u.plotX,u.plotY]]:o.getPointSpline?d=[o.getPointSpline(t,u,h)]:c?(d=1===c?[["L",g.plotX,f]]:2===c?[["L",(g.plotX+p)/2,g.plotY],["L",(g.plotX+p)/2,f]]:[["L",p,g.plotY]]).push(["L",p,f]):d=[["L",p,f]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,d),r=!1)}),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=r(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s}),n(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{seriesTypes:{line:i}}=e,{extend:r,merge:o,objectEach:s,pick:a}=n;class l extends i{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach((n,i)=>{let r={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(r.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(i?` highcharts-zone-area-${i-1} `:" ")+(i&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=o||n.color||this.color,r["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](r),s.startX=t.xMap,s.shiftUnit=e.step?2:1})}getGraphPath(t){let e,n,r,o=i.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],h=[],d=this.index,p=c.stacking.stacks[this.stackKey],f=s.threshold,g=Math.round(c.getThreshold(s.threshold)),m=a(s.connectNulls,"percent"===l),v=function(n,i,r){let o,s,a=t[n],m=l&&p[a.x].points[d],v=a[r+"Null"]||0,y=a[r+"Cliff"]||0,b=!0;y||v?(o=(v?m[0]:m[1])+y,s=m[0]+y,b=!!v):!l&&t[i]&&t[i].isNull&&(o=s=f),void 0!==o&&(h.push({plotX:e,plotY:null===o?g:c.getThreshold(o),isNull:b,isCliff:!0}),u.push({plotX:e,plotY:null===s?g:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let i=0,o=t.length;i<o;++i)l||(t[i].leftCliff=t[i].rightCliff=t[i].leftNull=t[i].rightNull=void 0),n=t[i].isNull,e=a(t[i].rectPlotX,t[i].plotX),r=l?a(t[i].yBottom,g):g,n&&!m||(m||v(i,i-1,"left"),n&&!l&&m||(h.push(t[i]),u.push({x:i,plotX:e,plotY:r})),m||v(i,i+1,"right"));let y=o.call(this,h,!0,!0);u.reversed=!0;let b=o.call(this,u,!0,!0),_=b[0];_&&"M"===_[0]&&(b[0]=["L",_[1],_[2]]);let x=y.concat(b);x.length&&x.push(["Z"]);let w=o.call(this,h,!1,m);return this.chart.series.length>1&&l&&h.some(t=>t.isCliff)&&(x.hasStackedCliffs=w.hasStackedCliffs=!0),x.xMap=y.xMap,this.areaPath=x,w}getStackPoints(t){let e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,h=u.length,d=o.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,function(t,e){null!==t.total&&i.push(e)}),i.sort(function(t,e){return t-e});let f=u.map(t=>t.visible);i.forEach(function(t,s){let g,m,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach(function(n){let r=1===n?"rightNull":"leftNull",o=l[i[s+n]],a=0;if(o){let n=p;for(;n>=0&&n<h;){let i=u[n].index;!(g=o.points[i])&&(i===e.index?c[t][r]=!0:f[n]&&(m=l[t].points[i])&&(a-=m[1]-m[0])),n+=d}}c[t][1===n?"rightCliff":"leftCliff"]=a});else{let e=p;for(;e>=0&&e<h;){let n=u[e].index;if(g=l[t].points[n]){v=g[1];break}e+=d}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}})}return n}}return l.defaultOptions=o(i.defaultOptions,t),r(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l}),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){let{line:n}=t.seriesTypes,{merge:i,pick:r}=e;class o extends n{getPointSpline(t,e,n){let i,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],h=t[n+1];function d(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(d(u)&&d(h)){let t=u.plotX||0,n=u.plotY||0,r=h.plotX||0,d=h.plotY||0,p=0;i=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+r)/2.5,a=(1.5*c+d)/2.5,s!==i&&(p=(a-o)*(s-l)/(s-i)+c-a),o+=p,a+=p,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>d&&a>c?(a=Math.max(d,c),o=2*c-a):a<d&&a<c&&(a=Math.min(d,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[i,o],high:[s,a]}}let p=["C",r(u.rightContX,u.plotX,0),r(u.rightContY,u.plotY,0),r(i,l,0),r(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,p}}return o.defaultOptions=i(n.defaultOptions),t.registerSeriesType("spline",o),o}),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{area:i,area:{prototype:r}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,i.defaultOptions),o(a.prototype,{getGraphPath:r.getGraphPath,getStackPoints:r.getStackPoints,drawGraph:r.drawGraph}),e.registerSeriesType("areaspline",a),a}),n(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=i,{clamp:u,crisp:h,defined:d,extend:p,fireEvent:f,isArray:g,isNumber:m,merge:v,pick:y,objectEach:b}=s;class _ extends r{animate(t){let e,n,i=this,r=this.yAxis,o=r.pos,s=r.reversed,l=i.options,{clipOffset:c,inverted:h}=this.chart,d={},f=h?"translateX":"translateY";t&&c?(d.scaleY=.001,n=u(r.toPixels(l.threshold),o,o+r.len),h?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),d.translateX=n-r.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),d.translateY=n),i.clipBox&&i.setClip(),i.group.attr(d)):(e=Number(i.group.attr(f)),i.group.animate({scaleY:1},p(a(i.options.animation),{step:function(t,n){i.group&&(d[f]=e+n.pos*(o-e),i.group.attr(d))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach(function(t){t.type===n.type&&(t.isDirty=!0)})}getColumnMetrics(){var t,e;let n,i=this,r=i.options,o=i.xAxis,s=i.yAxis,a=o.options.reversedStacks,l=o.reversed&&!a||!o.reversed&&a,c={},u=0;!1===r.grouping?u=1:i.chart.series.forEach(function(t){let e,r=t.yAxis,o=t.options;t.type===i.type&&t.reserveSpace()&&s.len===r.len&&s.pos===r.pos&&(o.stacking&&"group"!==o.stacking?(void 0===c[n=t.stackKey]&&(c[n]=u++),e=c[n]):!1!==o.grouping&&(e=u++),t.columnIndex=e)});let h=Math.min(Math.abs(o.transA)*(!(null!=(t=o.brokenAxis)&&t.hasBreaks)&&(null==(e=o.ordinal)?void 0:e.slope)||r.pointRange||o.closestPointRange||o.tickInterval||1),o.len),d=h*r.groupPadding,p=(h-2*d)/(u||1),f=Math.min(r.maxPointWidth||o.len,y(r.pointWidth,p*(1-2*r.pointPadding))),g=(i.columnIndex||0)+(l?1:0);return i.columnMetrics={width:f,offset:(p-f)/2+(d+g*p-h/2)*(l?-1:1),paddedWidth:p,columnCount:u},i.columnMetrics}crispCol(t,e,n,i){let r=this.borderWidth,o=this.chart.inverted;return i=h(e+i,r,o)-(e=h(e,r,o)),this.options.crisp&&(n=h(t+n,r)-(t=h(t,r))),{x:t,y:e,width:n,height:i}}adjustForMissingColumns(t,e,n,i){var r;if(!n.isNull&&i.columnCount>1){let o=this.xAxis.series.filter(t=>t.visible).map(t=>t.index),s=0,a=0;b(null==(r=this.xAxis.stacking)?void 0:r.stacks,t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&g(e.points[this.index])){let t=Object.keys(e.points).filter(t=>!t.match(",")&&e.points[t]&&e.points[t].length>1).map(parseFloat).filter(t=>-1!==o.indexOf(t)).sort((t,e)=>e-t);s=t.indexOf(this.index),a=t.length}}}),s=this.xAxis.reversed?a-1-s:s;let l=(a-1)*i.paddedWidth+e;t=(n.plotX||0)+l/2-e-s*i.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,i=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=y(n.borderWidth,i?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=y(n.minPointLength,5),h=t.getColumnMetrics(),p=h.width,g=t.pointXOffset=h.offset,v=t.dataMin,b=t.dataMax,_=t.translatedThreshold=a.getThreshold(l),x=t.barW=Math.max(p,1+2*o);n.pointPadding&&(x=Math.ceil(x)),r.prototype.translate.apply(t),t.points.forEach(function(i){let r,o=y(i.yBottom,_),f=999+Math.abs(o),w=i.plotX||0,S=u(i.plotY,-f,a.len+f),k=Math.min(S,o),C=Math.max(S,o)-k,O=p,A=w+g,T=x;c&&Math.abs(C)<c&&(C=c,r=!a.reversed&&!i.negative||a.reversed&&i.negative,m(l)&&m(b)&&i.y===l&&b<=l&&(a.min||0)<l&&(v!==b||(a.max||0)<=l)&&(r=!r,i.negative=!i.negative),k=Math.abs(k-_)>c?o-c:_-(r?c:0)),d(i.options.pointWidth)&&(A-=Math.round(((O=T=Math.ceil(i.options.pointWidth))-p)/2)),n.centerInCategory&&!n.stacking&&(A=t.adjustForMissingColumns(A,O,i,h)),i.barX=A,i.pointWidth=O,i.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-S,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-A-T/2,C]:[s.left-e.plotLeft+A+T/2,u(S+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),C],i.shapeType=t.pointClass.prototype.shapeType||"roundedRect",i.shapeArgs=t.crispCol(A,i.isNull?_:k,T,i.isNull?0:C)}),f(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,i,r,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,h=t&&t[a]||o[a]||u,d=t&&t.options.dashStyle||o.dashStyle,p=t&&t[c]||o[c]||this[c]||0,f=y(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(i=t.getZone(),u=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(h=i.borderColor||h,d=i.dashStyle||d,p=i.borderWidth||p)),e&&t&&(r=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==r&&l(u).brighten(n.brightness).get()||u,h=n[a]||h,p=n[c]||p,d=n.dashStyle||d,f=y(n.opacity,f));let g={fill:u,stroke:h,"stroke-width":p,opacity:f};return d&&(g.dashstyle=d),g}drawPoints(t=this.points){let e,n=this,i=this.chart,r=n.options,o=i.renderer,s=r.animationLimit||250;t.forEach(function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&i.pointCount<s?"animate":"attr";m(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),i.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())})}drawTracker(t=this.points){let e,n=this,i=n.chart,r=i.pointer,o=function(t){let e=null==r?void 0:r.getPointFromEvent(t);r&&e&&n.options.enableMouseTracking&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach(function(t){e=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach(function(e){(e.div||e.element).point=t})}),n._hasTracking||(n.trackerGroups.forEach(function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(t){null==r||r.onTrackerMouseOut(t)}).on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))}),n._hasTracking=!0),f(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach(function(e){e.type===t.type&&(e.isDirty=!0)}),r.prototype.remove.apply(t,arguments)}}return _.defaultOptions=v(r.defaultOptions,n),p(_.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",_),_}),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,e,n){var i;let{getDeferredAnimation:r}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:h,objectEach:d,pick:p,pInt:f,splat:g}=n;return function(t){function e(){return _(this).some(t=>null==t?void 0:t.enabled)}function n(t,e,n,i,r){var o;let{chart:l,enabledDataSorting:c}=this,u=this.isCartesian&&l.inverted,d=t.plotX,f=t.plotY,g=n.rotation||0,m=s(d)&&s(f)&&l.isInsidePlot(d,Math.round(f),{inverted:u,paneCoordinates:!0,series:this}),v=0===g&&"justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==t.visible&&s(d)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(d,u?i.x+1:i.y+i.height-1,{inverted:u,paneCoordinates:!0,series:this})),b=t.pos();if(y&&b){var _;let s=e.getBBox(),d=e.getBBox(void 0,0),f={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(i=a({x:b[0],y:Math.round(b[1]),width:0,height:0},i||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(i[u?"x":"y"]=0,i[u?"width":"height"]=(null==(o=this.yAxis)?void 0:o.len)||0),a(n,{width:s.width,height:s.height}),_=i,c&&this.xAxis&&!v&&this.setDataLabelStartPos(t,e,r,m,_),e.align(h(n,{width:d.width,height:d.height}),!1,i,!1),e.alignAttr.x+=f*(d.width-s.width),e.alignAttr.y+=x*(d.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-d.width)/2,y:e.alignAttr.y+(s.height-d.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),v&&i.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,i,r);else if(p(n.crop,!0)){let{x:t,y:n}=e.alignAttr;y=l.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&l.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!g&&e[r?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}r&&c&&(e.placed=!1),y||c&&!v?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function i(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function m(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){var e;let n;t=t||this.points;let i=this,a=i.chart,c=i.options,h=a.renderer,{backgroundColor:m,plotBackgroundColor:v}=a.options.chart,y=h.getContrast(u(v)&&v||u(m)&&m||"#000000"),x=_(i),{animation:w,defer:S}=x[0],k=S?r(a,w,i):{defer:0,duration:0};l(this,"drawDataLabels"),null!=(e=i.hasDataLabels)&&e.call(i)&&(n=this.initDataLabels(k),t.forEach(t=>{var e,r;let m=t.dataLabels||[];g(b(x,t.dlOptions||(null==(e=t.options)?void 0:e.dataLabels))).forEach((e,r)=>{let g,v,b,_,x,w=e.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,i=t[n.property],r=n.value;return">"===e&&i>r||"<"===e&&i<r||">="===e&&i>=r||"<="===e&&i<=r||"=="===e&&i==r||"==="===e&&i===r||"!="===e&&i!=r||"!=="===e&&i!==r}return!0}(t,e),{backgroundColor:S,borderColor:k,distance:C,style:O={}}=e,A={},T=m[r],P=!T;w&&(v=p(e[t.formatPrefix+"Format"],e.format),g=t.getLabelConfig(),b=s(v)?o(v,g,a):(e[t.formatPrefix+"Formatter"]||e.formatter).call(g,e),_=e.rotation,!a.styledMode&&(O.color=p(e.color,O.color,u(i.color)?i.color:void 0,"#000000"),"contrast"===O.color?("none"!==S&&(x=S),t.contrastColor=h.getContrast("auto"!==x&&x||t.color||i.color),O.color=x||!s(C)&&e.inside||0>f(C||0)||c.stacking?t.contrastColor:y):delete t.contrastColor,c.cursor&&(O.cursor=c.cursor)),A={r:e.borderRadius||0,rotation:_,padding:e.padding,zIndex:1},a.styledMode||(A.fill="auto"===S?t.color:S,A.stroke="auto"===k?t.color:k,A["stroke-width"]=e.borderWidth),d(A,(t,e)=>{void 0===t&&delete A[e]})),!T||w&&s(b)&&!!T.div==!!e.useHTML&&(T.rotation&&e.rotation||T.rotation===e.rotation)||(T=void 0,P=!0),w&&s(b)&&(T?A.text=b:(T=h.label(b,0,0,e.shape,void 0,void 0,e.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(e.className||"")+(e.useHTML?" highcharts-tracker":"")),T&&(T.options=e,T.attr(A),a.styledMode||T.css(O).shadow(e.shadow),l(T,"beforeAddingDataLabel",{labelOptions:e,point:t}),T.added||T.add(n),i.alignDataLabel(t,T,e,void 0,P),T.isActive=!0,m[r]&&m[r]!==T&&m[r].destroy(),m[r]=T))});let v=m.length;for(;v--;)m[v]&&m[v].isActive?m[v].isActive=!1:(null==(r=m[v])||r.destroy(),m.splice(v,1));t.dataLabel=m[0],t.dataLabels=m})),l(this,"afterDrawDataLabels")}function y(t,e,n,i,r,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,h=t.box?0:t.padding||0,d=l.inverted?this.yAxis:this.xAxis,p=d?d.left-l.plotLeft:0,f=l.inverted?this.xAxis:this.yAxis,g=f?f.top-l.plotTop:0,{x:m=0,y:v=0}=e;return(s=(n.x||0)+h+p)<0&&("right"===c&&m>=0?(e.align="left",e.inside=!0):m-=s,a=!0),(s=(n.x||0)+i.width-h+p)>l.plotWidth&&("left"===c&&m<=0?(e.align="right",e.inside=!0):m+=l.plotWidth-s,a=!0),(s=n.y+h+g)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+i.height-h+g)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=m,e.y=v,t.placed=!o,t.align(e,void 0,r)),a}function b(t,e){let n,i=[];if(c(t)&&!c(e))i=t.map(function(t){return h(t,e)});else if(c(e)&&!c(t))i=e.map(function(e){return h(t,e)});else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)i[n]=h(t[n],e[n])}else i=h(t,e);return i}function _(t){var e,n;let i=t.chart.options.plotOptions;return g(b(b(null==(e=null==i?void 0:i.series)?void 0:e.dataLabels,null==(n=null==i?void 0:i[t.type])?void 0:n.dataLabels),t.options.dataLabels))}function x(t,e,n,i,r){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,h=u?u/2:0;e.startXPos=s?r.x:l?-c-h:a.width-c+h,e.startYPos=s?l?this.yAxis.height-c+h:-c-h:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let r=t.prototype;r.initDataLabels||(r.initDataLabels=m,r.initDataLabelsGroup=i,r.alignDataLabel=n,r.drawDataLabels=v,r.justifyDataLabel=y,r.setDataLabelStartPos=x,r.hasDataLabels=e)}}(i||(i={})),i}),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i){var r;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=i;return function(e){function n(t,e,n,i,r){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,h=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,d=t.dlBox||t.shapeArgs,p=l(t.below,t.plotY>l(this.translatedThreshold,h)),f=l(n.inside,!!this.options.stacking);if(d){if(i=a(d),"allow"!==n.overflow||!1!==n.crop){i.y<0&&(i.height+=i.y,i.y=0);let t=i.y+i.height-h;t>0&&t<i.height-1&&(i.height-=t)}o&&(i={x:h-i.y-i.height,y:u-i.x-i.width,width:i.height,height:i.width}),f||(o?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))}n.align=l(n.align,!o||f?"center":p?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||f?"middle":p?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,i,r),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(r||(r={})),r}),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{extend:i,merge:r}=n;class o extends t{}return o.defaultOptions=r(t.defaultOptions,{}),i(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o}),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n){let{column:i,line:r}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends r{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach(function(i,r){["x","y"].forEach(function(o,s){if(e[o]&&!i.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(i[a]||0)-c),e=Math.min(l.len,(i[a]||0)+c);i[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(r+s*n),"x"===o&&(i.clientX=i.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(r.defaultOptions,t),s(l.prototype,{drawTracker:i.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",l),l}),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,e,n){var i,r;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(r=i||(i={})).getCenter=function(){let t,n,i,r=this.options,o=this.chart,u=2*(r.slicedOffset||0),h=o.plotWidth-2*u,d=o.plotHeight-2*u,p=r.center,f=Math.min(h,d),g=r.thickness,m=r.size,v=r.innerSize||0;"string"==typeof m&&(m=parseFloat(m)),"string"==typeof v&&(v=parseFloat(v));let y=[l(p[0],"50%"),l(p[1],"50%"),l(m&&m<0?void 0:r.size,"100%"),l(v&&v<0?void 0:r.innerSize||0,"0%")];for(!o.angular||this instanceof e||(y[3]=0),n=0;n<4;++n)i=y[n],t=n<2||2===n&&/%$/.test(i),y[n]=c(i,[h,d,f,y[2]][n])+(t?u:0);return y[3]>y[2]&&(y[3]=y[2]),a(g)&&2*g<y[2]&&g>0&&(y[3]=y[2]-2*g),s(this,"afterGetCenter",{positions:y}),y},r.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,i=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(i+-90)}},i}),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,e,n){let{setAnimation:i}=t,{addEvent:r,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},i=n.connectorShape,r=this.connectorShapes[i]||i;return e&&r.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let i=t=>{this.slice("select"===t.type)};r(this,"select",i),r(this,"unselect",i)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let r=this.series;i(n,r.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let i=e.breakAt,r=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-r.x,2*i.y-r.y,i.x,i.y]:["L",i.x,i.y];return[["M",t.x,t.y],o,["L",r.x,r.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:i,touchingSliceAt:r}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:h,plotWidth:d}=o.chart,p="left"===t.alignment,{x:f,y:g}=t,m=i.x;if(n.crookDistance){let t=c(n.crookDistance,1);m=p?s+u+(d+h-s-u)*(1-t):h+(s-u)*t}else m=s+(a-g)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",f,g]];return(p?m<=f&&m>=i.x:m>=f&&m<=i.x)&&v.push(["L",m,g]),v.push(["L",i.x,i.y],["L",r.x,r.y]),v}}}),u}),n(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,n,i,r,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:h,extend:d,fireEvent:p,merge:f,pick:g}=l;class m extends o{animate(t){let e=this,n=e.points,i=e.startAngleRad;t||n.forEach(function(t){let n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))})}drawEmpty(){let t,e,n=this.startAngleRad,i=this.endAngleRad,r=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,i).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:i,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach(function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,i){let r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2,s=i.dataLabelPosition,a=(null==s?void 0:s.distance)||0,l=Math.asin(h((t-r[1])/(o+a),-1,1));return r[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(i.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,i,r=this,o=r.chart;this.drawEmpty(),r.group&&!o.styledMode&&r.group.shadow(r.options.shadow),r.points.forEach(function(s){let a={};e=s.graphic,!s.isNull&&e?(i=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=r.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||f(!0,a,n),f(!0,a,i,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())})}sortByAngle(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})}translate(t){p(this,"translate"),this.generatePoints();let e,n,i,r,o,s,a,l=this.options,u=l.slicedOffset,h=c(l.startAngle,l.endAngle),d=this.startAngleRad=h.start,f=(this.endAngleRad=h.end)-d,g=this.points,m=l.ignoreHiddenPoint,v=g.length,y=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=g[s],e=d+y*f,a.isValid()&&(!m||a.visible)&&(y+=a.percentage/100),n=d+y*f;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(i=(n+e)/2)>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(i)*u),translateY:Math.round(Math.sin(i)*u)},r=Math.cos(i)*t[2]/2,o=Math.sin(i)*t[2]/2,a.tooltipPos=[t[0]+.7*r,t[1]+.7*o],a.half=i<-Math.PI/2||i>Math.PI/2?1:0,a.angle=i}p(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++)(e=n[t]).isValid()&&(!r||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<i;t++)(e=n[t]).percentage=o>0&&(e.visible||!r)?e.y/o*100:0,e.total=o}}return m.defaultOptions=f(o.defaultOptions,r),d(m.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",m),m}),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,n,i,r){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=i,{arrayMax:u,clamp:h,defined:d,pick:p,pushUnique:f,relativeLength:g}=r;return function(e){let n={radialDistributionY:function(t,e){var n;return((null==(n=e.dataLabelPosition)?void 0:n.top)||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,i,r){let o=r.dataLabelPosition;return t.getX(n<((null==o?void 0:o.top)||0)+2||n>((null==o?void 0:o.bottom)||0)-2?i:n,e.half,e,r)},justify:function(t,e,n,i){var r;return i[0]+(t.half?-1:1)*(n+((null==(r=e.dataLabelPosition)?void 0:r.distance)||0))},alignToPlotEdges:function(t,e,n,i){let r=t.getBBox().width;return e?r+i:n-r-i},alignToConnectors:function(t,e,n,i){let r,o=0;return t.forEach(function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)}),e?o+i:n-o-i}};function i(t,e){let{center:n,options:i}=this,r=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*r,c=n[1]+a*r,u=Math.min((i.slicedOffset||0)+(i.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function r(){var t;let e,n,i,r=this,o=r.points,s=r.chart,a=s.plotWidth,h=s.plotHeight,f=s.plotLeft,m=Math.round(s.chartWidth/3),v=r.center,y=v[2]/2,b=v[1],_=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,S=0;r.visible&&null!=(t=r.hasDataLabels)&&t.call(r)&&(o.forEach(t=>{(t.dataLabels||[]).forEach(t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)})}),c.prototype.drawDataLabels.apply(r),o.forEach(t=>{(t.dataLabels||[]).forEach((e,n)=>{var i;let r=v[2]/2,o=e.options,s=g((null==o?void 0:o.distance)||0,r);0===n&&_[t.half].push(t),!d(null==(i=null==o?void 0:o.style)?void 0:i.width)&&e.getBBox().width>m&&(e.css({width:Math.round(.7*m)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,s),S=Math.max(S,s)})}),_.forEach((t,e)=>{let o,c,u,g=t.length,m=[],_=0;g&&(r.sortByAngle(t,e-.5),S>0&&(o=Math.max(0,b-y-S),c=Math.min(b+y+S,s.plotHeight),t.forEach(t=>{(t.dataLabels||[]).forEach(e=>{var n;let i=e.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,b-y-i.distance),i.bottom=Math.min(b+y+i.distance,s.plotHeight),_=e.getBBox().height||21,e.lineHeight=s.renderer.fontMetrics(e.text||e).h+2*e.padding,t.distributeBox={target:((null==(n=e.dataLabelPosition)?void 0:n.natural.y)||0)-i.top+e.lineHeight/2,size:_,rank:t.y},m.push(t.distributeBox))})}),l(m,u=c+_-o,u/5)),t.forEach(o=>{(o.dataLabels||[]).forEach(s=>{let l=s.options||{},c=o.distributeBox,u=s.dataLabelPosition,g=(null==u?void 0:u.natural.y)||0,b=l.connectorPadding||0,_=s.lineHeight||21,S=(_-s.getBBox().height)/2,k=0,C=g,O="inherit";if(u){if(m&&d(c)&&u.distance>0&&(void 0===c.pos?O="hidden":(i=c.size,C=w.radialDistributionY(o,s))),l.justify)k=w.justify(o,s,y,v);else switch(l.alignTo){case"connectors":k=w.alignToConnectors(t,e,a,f);break;case"plotEdges":k=w.alignToPlotEdges(s,e,a,f);break;default:k=w.radialDistributionX(r,o,C-S,g,s)}if(u.attribs={visibility:O,align:u.alignment},u.posAttribs={x:k+(l.x||0)+({left:b,right:-b}[u.alignment]||0),y:C+(l.y||0)-_/2},u.computed.x=k,u.computed.y=C-S,p(l.crop,!0)){let t;k-(n=s.getBBox().width)<b&&1===e?(t=Math.round(n-k+b),x[3]=Math.max(t,x[3])):k+n>a-b&&0===e&&(t=Math.round(k+n-a+b),x[1]=Math.max(t,x[1])),C-i/2<0?x[0]=Math.max(Math.round(i/2-C),x[0]):C+i/2>h&&(x[2]=Math.max(Math.round(C+i/2-h),x[2])),u.sideOverflow=t}}})}))}),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach(t=>{(t.dataLabels||[]).forEach(n=>{var i;let{connectorColor:o,connectorWidth:a=1}=n.options||{},l=n.dataLabelPosition;if(a){let c;e=n.connector,l&&l.distance>0?(c=!e,e||(n.connector=e=s.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(r.dataLabelsGroup)),s.styledMode||e.attr({"stroke-width":a,stroke:o||t.color||"#666666"}),e[c?"attr":"animate"]({d:t.getConnectorPath(n)}),e.attr({visibility:null==(i=l.attribs)?void 0:i.visibility})):e&&(n.connector=e.destroy())}})})))}function o(){this.points.forEach(t=>{(t.dataLabels||[]).forEach(t=>{var e;let n=t.dataLabelPosition;n?(n.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-n.sideOverflow,0)+"px",textOverflow:((null==(e=t.options)?void 0:e.style)||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(n.attribs),t[t.moved?"animate":"attr"](n.posAttribs),t.moved=!0):t&&t.attr({y:-9999})}),delete t.distributeBox},this)}function m(t){let e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=r,s=null!==n.size;return!s&&(null!==i[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),r):(o=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2),null!==i[1]?o=h(o,r,e[2]-Math.max(t[0],t[2])):(o=h(o,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,g(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),f(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=r,t.getDataLabelPosition=i,t.placeDataLabels=o,t.verifyDataLabelOverflow=m}}}(o||(o={})),o}),n(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,e;return(e=t||(t={})).getCenterOfPoints=function(t){let e=t.reduce((t,e)=>(t.x+=e.x,t.y+=e.y,t),{x:0,y:0});return{x:e.x/t.length,y:e.y/t.length}},e.getDistanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},e.getAngleBetweenPoints=function(t,e){return Math.atan2(e.x-t.x,e.y-t.y)},e.pointInPolygon=function({x:t,y:e},n){let i,r,o=n.length,s=!1;for(i=0,r=o-1;i<o;r=i++){let[o,a]=n[i],[l,c]=n[r];a>e!=c>e&&t<(l-o)*(e-a)/(c-a)+o&&(s=!s)}return s},t}),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,e){let{pointInPolygon:n}=t,{addEvent:i,fireEvent:r,objectEach:o,pick:s}=e;function a(t){let e,i,o,s,a,c=t.length,u=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),h=(t,e)=>{for(let i of t)if(n({x:i[0],y:i[1]},e))return!0;return!1},d=!1;for(let n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){var e,n;if(t&&(!t.alignAttr||t.placed)){let i=t.box?0:t.padding||0,r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},o=t.getBBox();return t.width=o.width,t.height=o.height,{x:r.x+((null==(e=t.parentGroup)?void 0:e.translateX)||0)+i,y:r.y+((null==(n=t.parentGroup)?void 0:n.translateY)||0)+i,width:(t.width||0)-2*i,height:(t.height||0)-2*i,polygon:null==o?void 0:o.polygon}}}(e));t.sort((t,e)=>(e.labelrank||0)-(t.labelrank||0));for(let e=0;e<c;++e){s=(i=t[e])&&i.absoluteBox;let n=null==s?void 0:s.polygon;for(let r=e+1;r<c;++r){a=(o=t[r])&&o.absoluteBox;let e=!1;if(s&&a&&i!==o&&0!==i.newOpacity&&0!==o.newOpacity&&"hidden"!==i.visibility&&"hidden"!==o.visibility){let t=a.polygon;if(n&&t&&n!==t?h(n,t)&&(e=!0):u(s,a)&&(e=!0),e){let t=i.labelrank<o.labelrank?i:o,e=t.text;t.newOpacity=0,null!=e&&e.element.querySelector("textPath")&&e.hide()}}}}for(let e of t)l(e,this)&&(d=!0);d&&r(this,"afterHideAllOverlappingLabels")}function l(t,e){let n,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,n),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function c(){var t;let e=this,n=[];for(let t of e.labelCollectors||[])n=n.concat(t());for(let t of e.yAxis||[])t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&o(t.stacking.stacks,t=>{o(t,t=>{t.label&&n.push(t.label)})});for(let i of e.series||[])if(i.visible&&null!=(t=i.hasDataLabels)&&t.call(i)){let t=t=>{for(let i of t)i.visible&&(i.dataLabels||[]).forEach(t=>{var r;let o=t.options||{};t.labelrank=s(o.labelrank,i.labelrank,null==(r=i.shapeArgs)?void 0:r.height),o.allowOverlap??Number(o.distance)>0?(t.oldOpacity=t.opacity,t.newOpacity=1,l(t,e)):n.push(t)})};t(i.nodes||[]),t(i.points)}this.hideOverlappingLabels(n)}return{compose:function(t){let e=t.prototype;e.hideOverlappingLabels||(e.hideOverlappingLabels=a,i(t,"render",c))}}}),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,n){let{defaultOptions:i}=t,{noop:r}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},h=r,d=r;function p(t,e,n,i,r={}){let o=h(t,e,n,i,r),{innerR:s=0,r:a=n,start:l=0,end:u=0}=r;if(r.open||!r.borderRadius)return o;let d=u-l,p=Math.sin(d/2),f=Math.max(Math.min(c(r.borderRadius||0,a-s),(a-s)/2,a*p/(1+p)),0),g=Math.min(f,d/Math.PI*2*s),m=o.length-1;for(;m--;)(function(t,e,n){let i,r,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(i=a,r=s):(i=s,r=a,o=!0),i&&r&&r.params){let s=r[1],a=r[5],l=r.params,{start:c,end:u,cx:h,cy:d}=l,p=a?s-n:s+n,f=p?Math.asin(n/p):0,g=a?f:-f,m=Math.cos(f)*p;o?(l.start=c+g,i[1]=h+m*Math.cos(c),i[2]=d+m*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,h+s*Math.cos(l.start),d+s*Math.sin(l.start)])):(l.end=u-g,r[6]=h+s*Math.cos(l.end),r[7]=d+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,h+m*Math.cos(u),d+m*Math.sin(u)])),r[4]=Math.abs(l.end-l.start)<Math.PI?0:1}})(o,m,m>1?g:f);return o}function f(){var t,e;if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:n,yAxis:r}=this,o="percent"===n.stacking,l=null==(e=null==(t=i.plotOptions)?void 0:t[this.type])?void 0:e.borderRadius,u=g(n.borderRadius,a(l)?l:{}),h=r.options.reversed;for(let t of this.points){let{shapeArgs:e}=t;if("roundedRect"===t.shapeType&&e){let{width:i=0,height:a=0,y:l=0}=e,d=l,p=a;if("stack"===u.scope&&t.stackTotal){let e=r.translate(o?100:t.stackTotal,!1,!0,!1,!0),i=r.translate(n.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(e,i),0,Math.abs(e-i));d=s.y,p=s.height}let f=(t.negative?-1:1)*(h?-1:1)==-1,g=u.where;!g&&this.is("waterfall")&&Math.abs((t.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(g="all"),g||(g="end");let m=Math.min(c(u.radius,i),i/2,"all"===g?a/2:1/0)||0;"end"===g&&(f&&(d-=m),p+=m),s(e,{brBoxHeight:p,brBoxY:d,r:m})}}}}function g(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function m(){let t=g(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,i,r={}){let o=d(t,e,n,i,r),{r:s=0,brBoxHeight:a=i,brBoxY:l=e}=r,c=e-l,u=l+a-(e+i),h=c-s>-.1?0:s,p=u-s>-.1?0:s,f=Math.max(h&&c,0),g=Math.max(p&&u,0),m=[t+h,e],v=[t+n-h,e],y=[t+n,e+h],b=[t+n,e+i-p],_=[t+n-p,e+i],x=[t+p,e+i],w=[t,e+i-p],S=[t,e+h],k=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(f){let t=k(h,h-f);m[0]-=t,v[0]+=t,y[1]=S[1]=e+h-f}if(i<h-f){let r=k(h,h-f-i);y[0]=b[0]=t+n-h+r,_[0]=Math.min(y[0],_[0]),x[0]=Math.max(b[0],x[0]),w[0]=S[0]=t+h-r,y[1]=S[1]=e+i}if(g){let t=k(p,p-g);_[0]+=t,x[0]-=t,b[1]=w[1]=e+i-p+g}if(i<p-g){let r=k(p,p-g-i);y[0]=b[0]=t+n-p+r,v[0]=Math.min(y[0],v[0]),m[0]=Math.max(b[0],m[0]),w[0]=S[0]=t+p-r,b[1]=w[1]=e}return o.length=0,o.push(["M",...m],["L",...v],["A",h,h,0,0,1,...y],["L",...b],["A",p,p,0,0,1,..._],["L",...x],["A",p,p,0,0,1,...w],["L",...S],["A",h,h,0,0,1,...m],["Z"]),o}return{compose:function(t,e,n){let i=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let r=n.prototype.symbols;o(t,"afterColumnTranslate",f,{order:9}),o(i,"afterTranslate",m),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),h=r.arc,d=r.roundedRect,r.arc=p,r.roundedRect=v}},optionsToObject:g}}),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var e;let{diffObjects:n,extend:i,find:r,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let i,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach(t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)},this);let u=o(...c.map(t=>r((s||{}).rules||[],e=>e._id===t)).map(t=>t&&t.chartOptions));u.isResponsiveOptions=!0,c=c.toString()||void 0;let h=l&&l.ruleIds;c===h||(l&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(l.undoOptions,t,!0),this.updatingResponsive=!1),c?((i=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:i},this.updatingResponsive||this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||i(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e}),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,b,_,x,w,S,k,C,O,A,T,P,E,M,L,$,j,D){return t.AST=o,t.Axis=d,t.Chart=w,t.Color=j,t.DataLabel=E,t.Fx=i,t.HTMLElement=h,t.Legend=_,t.LegendSymbol=x,t.OverlappingDataLabels=t.OverlappingDataLabels||M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b,t.RendererRegistry=a,t.Series=O,t.SeriesRegistry=A,t.StackItem=C,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=m,t.Time=D,t.Tooltip=v,t.animate=r.animate,t.animObject=r.animObject,t.chart=w.chart,t.color=j.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=r.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=A.seriesType,t.setAnimation=r.setAnimation,t.setOptions=n.setOptions,t.stop=r.stop,t.time=n.defaultTime,t.timers=i.timers,L.compose(t.Series,t.SVGElement,t.SVGRenderer),T.compose(t.Series.types.column),E.compose(t.Series),p.compose(t.Axis),h.compose(t.SVGRenderer),_.compose(t.Chart),f.compose(t.Axis),M.compose(t.Chart),P.compose(t.Series.types.pie),g.compose(t.Axis),b.compose(t.Chart),$.compose(t.Chart),S.compose(t.Axis,t.Chart,t.Series),k.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t}),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(n.default=n,t.exports=e&&e.document?n(e):n):(e.Highcharts&&e.Highcharts.error(16,!0),e.Highcharts=n(e))}(xu);function wu(t,e,n){var i,r,o,s,a;function l(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(l,e-c):(i=null,n||(a=t.apply(o,r),o=r=null))}null==e&&(e=100);var c=function(){o=this,r=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(l,e)),c&&(a=t.apply(o,r),o=r=null),a};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(a=t.apply(o,r),o=r=null,clearTimeout(i),i=null)},c}Boolean,wu.debounce=wu;var Su=wu;function ku(t,e){var n=t.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function Cu(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ou(t){var e=Cu(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Au(t){return t instanceof Cu(t).Element||t instanceof Element}function Tu(t){return t instanceof Cu(t).HTMLElement||t instanceof HTMLElement}function Pu(t){return!(typeof ShadowRoot>"u")&&(t instanceof Cu(t).ShadowRoot||t instanceof ShadowRoot)}function Eu(t){return t?(t.nodeName||"").toLowerCase():null}function Mu(t){return((Au(t)?t.ownerDocument:t.document)||window.document).documentElement}function Lu(t){return ku(Mu(t)).left+Ou(t).scrollLeft}function $u(t){return Cu(t).getComputedStyle(t)}function ju(t){var e=$u(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Du(t,e,n){void 0===n&&(n=!1);var i=Tu(e);Tu(e)&&function(t){var e=t.getBoundingClientRect();e.width,t.offsetWidth,e.height,t.offsetHeight}(e);var r=Mu(e),o=ku(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(i||!i&&!n)&&(("body"!==Eu(e)||ju(r))&&(s=function(t){return t!==Cu(t)&&Tu(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Ou(t)}(e)),Tu(e)?((a=ku(e)).x+=e.clientLeft,a.y+=e.clientTop):r&&(a.x=Lu(r))),{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function Iu(t){var e=ku(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Nu(t){return"html"===Eu(t)?t:t.assignedSlot||t.parentNode||(Pu(t)?t.host:null)||Mu(t)}function Ru(t){return["html","body","#document"].indexOf(Eu(t))>=0?t.ownerDocument.body:Tu(t)&&ju(t)?t:Ru(Nu(t))}function Bu(t,e){var n;void 0===e&&(e=[]);var i=Ru(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=Cu(i),s=r?[o].concat(o.visualViewport||[],ju(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(Bu(Nu(s)))}function Vu(t){return["table","td","th"].indexOf(Eu(t))>=0}function zu(t){return Tu(t)&&"fixed"!==$u(t).position?t.offsetParent:null}function Fu(t){for(var e=Cu(t),n=zu(t);n&&Vu(n)&&"static"===$u(n).position;)n=zu(n);return n&&("html"===Eu(n)||"body"===Eu(n)&&"static"===$u(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Tu(t)&&"fixed"===$u(t).position)return null;for(var n=Nu(t);Tu(n)&&["html","body"].indexOf(Eu(n))<0;){var i=$u(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var Wu="top",Hu="bottom",Uu="right",qu="left",Gu="auto",Xu=[Wu,Hu,Uu,qu],Yu="start",Ku="end",Zu="viewport",Qu="popper",Ju=Xu.reduce(function(t,e){return t.concat([e+"-"+Yu,e+"-"+Ku])},[]),th=[].concat(Xu,[Gu]).reduce(function(t,e){return t.concat([e,e+"-"+Yu,e+"-"+Ku])},[]),eh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function nh(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}}),i.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||r(t)}),i}function ih(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function rh(t){return t.split("-")[0]}var oh=Math.max,sh=Math.min,ah=Math.round;function lh(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Pu(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ch(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function uh(t,e){return e===Zu?ch(function(t){var e=Cu(t),n=Mu(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+Lu(t),y:a}}(t)):Tu(e)?function(t){var e=ku(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ch(function(t){var e,n=Mu(t),i=Ou(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=oh(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=oh(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Lu(t),l=-i.scrollTop;return"rtl"===$u(r||n).direction&&(a+=oh(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Mu(t)))}function hh(t){return t.split("-")[1]}function dh(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ph(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?rh(r):null,s=r?hh(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case Wu:e={x:a,y:n.y-i.height};break;case Hu:e={x:a,y:n.y+n.height};break;case Uu:e={x:n.x+n.width,y:l};break;case qu:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=o?dh(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Yu:e[c]=e[c]-(n[u]/2-i[u]/2);break;case Ku:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function fh(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function gh(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}function mh(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,l=void 0===a?Zu:a,c=n.elementContext,u=void 0===c?Qu:c,h=n.altBoundary,d=void 0!==h&&h,p=n.padding,f=void 0===p?0:p,g=fh("number"!=typeof f?f:gh(f,Xu)),m=u===Qu?"reference":Qu,v=t.rects.popper,y=t.elements[d?m:u],b=function(t,e,n){var i="clippingParents"===e?function(t){var e=Bu(Nu(t)),n=["absolute","fixed"].indexOf($u(t).position)>=0&&Tu(t)?Fu(t):t;return Au(n)?e.filter(function(t){return Au(t)&&lh(t,n)&&"body"!==Eu(t)}):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce(function(e,n){var i=uh(t,n);return e.top=oh(i.top,e.top),e.right=sh(i.right,e.right),e.bottom=sh(i.bottom,e.bottom),e.left=oh(i.left,e.left),e},uh(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Au(y)?y:y.contextElement||Mu(t.elements.popper),s,l),_=ku(t.elements.reference),x=ph({reference:_,element:v,strategy:"absolute",placement:r}),w=ch(Object.assign({},v,x)),S=u===Qu?w:_,k={top:b.top-S.top+g.top,bottom:S.bottom-b.bottom+g.bottom,left:b.left-S.left+g.left,right:S.right-b.right+g.right},C=t.modifiersData.offset;if(u===Qu&&C){var O=C[r];Object.keys(k).forEach(function(t){var e=[Uu,Hu].indexOf(t)>=0?1:-1,n=[Wu,Hu].indexOf(t)>=0?"y":"x";k[t]+=O[n]*e})}return k}var vh={placement:"bottom",modifiers:[],strategy:"absolute"};function yh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function bh(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?vh:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},vh,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,l={state:r,setOptions:function(n){var a="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},o,r.options,a),r.scrollParents={reference:Au(t)?Bu(t):t.contextElement?Bu(t.contextElement):[],popper:Bu(e)};var u=function(t){var e=nh(t);return eh.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}([].concat(i,r.options.modifiers)));return r.orderedModifiers=u.filter(function(t){return t.enabled}),r.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var a=o({state:r,name:e,instance:l,options:i});s.push(a||function(){})}}),l.update()},forceUpdate:function(){if(!a){var t=r.elements,e=t.reference,n=t.popper;if(yh(e,n)){r.rects={reference:Du(e,Fu(n),"fixed"===r.options.strategy),popper:Iu(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach(function(t){return r.modifiersData[t.name]=Object.assign({},t.data)});for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],s=o.fn,c=o.options,u=void 0===c?{}:c,h=o.name;"function"==typeof s&&(r=s({state:r,options:u,name:h,instance:l})||r)}else r.reset=!1,i=-1}}},update:ih(function(){return new Promise(function(t){l.forceUpdate(),t(r)})}),destroy:function(){c(),a=!0}};if(!yh(t,e))return l;function c(){s.forEach(function(t){return t()}),s=[]}return l.setOptions(n).then(function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)}),l}}var _h={passive:!0},xh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=Cu(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(t){t.addEventListener("scroll",n.update,_h)}),a&&l.addEventListener("resize",n.update,_h),function(){o&&c.forEach(function(t){t.removeEventListener("scroll",n.update,_h)}),a&&l.removeEventListener("resize",n.update,_h)}},data:{}},wh={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=ph({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Sh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kh(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=!0===u?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:ah(ah(e*i)/i)||0,y:ah(ah(n*i)/i)||0}}(s):"function"==typeof u?u(s):s,d=h.x,p=void 0===d?0:d,f=h.y,g=void 0===f?0:f,m=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=qu,b=Wu,_=window;if(c){var x=Fu(n),w="clientHeight",S="clientWidth";x===Cu(n)&&"static"!==$u(x=Mu(n)).position&&"absolute"===a&&(w="scrollHeight",S="scrollWidth"),(r===Wu||(r===qu||r===Uu)&&o===Ku)&&(b=Hu,g-=x[w]-i.height,g*=l?1:-1),(r===qu||(r===Wu||r===Hu)&&o===Ku)&&(y=Uu,p-=x[S]-i.width,p*=l?1:-1)}var k,C=Object.assign({position:a},c&&Sh);return l?Object.assign({},C,((k={})[b]=v?"0":"",k[y]=m?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},C,((e={})[b]=v?g+"px":"",e[y]=m?p+"px":"",e.transform="",e))}var Ch={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:rh(e.placement),variation:hh(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,kh(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,kh(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Oh={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Tu(r)||!Eu(r)||(Object.assign(r.style,n),Object.keys(i).forEach(function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});!Tu(i)||!Eu(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]},Ah=bh({defaultModifiers:[xh,wh,Ch,Oh]});function Th(t,e,n){return oh(t,sh(e,n))}var Ph={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,g=void 0===f?0:f,m=mh(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=rh(e.placement),y=hh(e.placement),b=!y,_=dh(v),x=function(t){return"x"===t?"y":"x"}(_),w=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O={x:0,y:0};if(w){if(o||a){var A="y"===_?Wu:qu,T="y"===_?Hu:Uu,P="y"===_?"height":"width",E=w[_],M=w[_]+m[A],L=w[_]-m[T],$=p?-k[P]/2:0,j=y===Yu?S[P]:k[P],D=y===Yu?-k[P]:-S[P],I=e.elements.arrow,N=p&&I?Iu(I):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=R[A],V=R[T],z=Th(0,S[P],N[P]),F=b?S[P]/2-$-z-B-C:j-z-B-C,W=b?-S[P]/2+$+z+V+C:D+z+V+C,H=e.elements.arrow&&Fu(e.elements.arrow),U=H?"y"===_?H.clientTop||0:H.clientLeft||0:0,q=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=w[_]+F-q-U,X=w[_]+W-q;if(o){var Y=Th(p?sh(M,G):M,E,p?oh(L,X):L);w[_]=Y,O[_]=Y-E}if(a){var K="x"===_?Wu:qu,Z="x"===_?Hu:Uu,Q=w[x],J=Q+m[K],tt=Q-m[Z],et=Th(p?sh(J,G):J,Q,p?oh(tt,X):tt);w[x]=et,O[x]=et-Q}}e.modifiersData[i]=O}},requiresIfExists:["offset"]},Eh={left:"right",right:"left",bottom:"top",top:"bottom"};function Mh(t){return t.replace(/left|right|bottom|top/g,function(t){return Eh[t]})}var Lh={start:"end",end:"start"};function $h(t){return t.replace(/start|end/g,function(t){return Lh[t]})}var jh={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=e.options.placement,v=rh(m),y=l||(v!==m&&f?function(t){if(rh(t)===Gu)return[];var e=Mh(t);return[$h(t),e,$h(e)]}(m):[Mh(m)]),b=[m].concat(y).reduce(function(t,n){return t.concat(rh(n)===Gu?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?th:l,u=hh(i),h=u?a?Ju:Ju.filter(function(t){return hh(t)===u}):Xu,d=h.filter(function(t){return c.indexOf(t)>=0});0===d.length&&(d=h);var p=d.reduce(function(e,n){return e[n]=mh(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[rh(n)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)},[]),_=e.rects.reference,x=e.rects.popper,w=new Map,S=!0,k=b[0],C=0;C<b.length;C++){var O=b[C],A=rh(O),T=hh(O)===Yu,P=[Wu,Hu].indexOf(A)>=0,E=P?"width":"height",M=mh(e,{placement:O,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),L=P?T?Uu:qu:T?Hu:Wu;_[E]>x[E]&&(L=Mh(L));var $=Mh(L),j=[];if(o&&j.push(M[A]<=0),a&&j.push(M[L]<=0,M[$]<=0),j.every(function(t){return t})){k=O,S=!1;break}w.set(O,j)}if(S)for(var D=function(t){var e=b.find(function(e){var n=w.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return k=e,"break"},I=f?3:1;I>0&&"break"!==D(I);I--);e.placement!==k&&(e.modifiersData[i]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Dh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,s=th.reduce(function(t,n){return t[n]=function(t,e,n){var i=rh(t),r=[qu,Wu].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[qu,Uu].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t},{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}},Ih={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=rh(n.placement),l=dh(a),c=[qu,Uu].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(t,e){return fh("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:gh(t,Xu))}(r.padding,n),h=Iu(o),d="y"===l?Wu:qu,p="y"===l?Hu:Uu,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Fu(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=f/2-g/2,b=u[d],_=v-h[c]-u[p],x=v/2-h[c]/2+y,w=Th(b,x,_),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||lh(e.elements.popper,i)&&(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};const Nh=t=>parseInt(t,10);const Rh={id:"arrow","data-popper-arrow":""};function Bh(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&!(typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Bh('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var Vh={render:function(t,e){return jr(),Rr("div",Rh)},__scopeId:"data-v-20b7fd4a"};const zh=["onKeyup"];var Fh={props:{placement:{type:String,default:"bottom",validator:function(t){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(t)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup(t,{emit:e}){const n=t;Zo(e=>({c81fc0a4:t.zIndex}));const i=$i(),r=ke(null),o=ke(null),s=ke(null),a=ke(!1);ci(()=>{const t=i.default();if(t&&t.length>1)return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${t.length} child nodes.`)});const{arrowPadding:l,closeDelay:c,content:u,disableClickAway:h,disabled:d,interactive:p,locked:f,offsetDistance:g,offsetSkid:m,openDelay:v,placement:y,show:b}=Me(n),{isOpen:_,open:x,close:w}=function({arrowPadding:t,emit:e,locked:n,offsetDistance:i,offsetSkid:r,placement:o,popperNode:s,triggerNode:a}){const l=he({isOpen:!1,popperInstance:null}),c=t=>{var e;null===(e=l.popperInstance)||void 0===e||e.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:t}]}))};On([()=>l.isOpen,o],async([t])=>{t?(await u(),c(!0)):c(!1)});const u=async()=>{await Ke(),l.popperInstance=Ah(a.value,s.value,{placement:o.value,modifiers:[Ph,jh,{name:"flip",enabled:!n.value},Ih,{name:"arrow",options:{padding:Nh(t.value)}},Dh,{name:"offset",options:{offset:[Nh(r.value),Nh(i.value)]}}]}),l.popperInstance.update()};return di(()=>{var t;null===(t=l.popperInstance)||void 0===t||t.destroy()}),{...Me(l),open:()=>{l.isOpen||(l.isOpen=!0,e("open:popper"))},close:()=>{l.isOpen&&(l.isOpen=!1,e("close:popper"))}}}({arrowPadding:l,emit:e,locked:f,offsetDistance:g,offsetSkid:m,placement:y,popperNode:o,triggerNode:s}),{hasContent:S}=function(t,e,n){let i=null;const r=ke(!1);ci(()=>{(void 0!==t.content||n.value)&&(r.value=!0),i=new MutationObserver(o),i.observe(e.value,{childList:!0,subtree:!0})}),di(()=>i.disconnect()),On(n,t=>{r.value=!!t});const o=()=>{t.content?r.value=!0:r.value=!1};return{hasContent:r}}(i,o,u),k=_o(()=>null!==b.value),C=_o(()=>d.value||!S.value),O=_o(()=>_.value&&!C.value),A=_o(()=>!h.value&&!k.value),T=_o(()=>p.value?`border: ${g.value}px solid transparent; margin: -${g.value}px;`:null),P=Su.debounce(x,v.value),E=Su.debounce(w,c.value),M=async()=>{C.value||k.value||(E.clear(),P())},L=async()=>{k.value||(P.clear(),E())},$=()=>{_.value?L():M()};return On([S,d],([t,e])=>{_.value&&(!t||e)&&w()}),On(_,t=>{t?a.value=!0:Su.debounce(()=>{a.value=!1},200)}),Cn(()=>{k.value&&(b.value?P():E())}),Cn(()=>{A.value&&function(t,e){typeof window>"u"||!window||function(t,e,n){Se(t)?On(t,(t,i)=>{null==i||i.removeEventListener(e,n),null==t||t.addEventListener(e,n)}):ci(()=>{t.addEventListener(e,n)}),di(()=>{var i;null===(i=Te(t))||void 0===i||i.removeEventListener(e,n)})}(window,"pointerdown",n=>{const i=Te(t);i&&(i===n.target||n.composedPath().includes(i)||e(n))})}(r,L)}),(e,n)=>(jr(),Rr("div",{class:"inline-block",style:z(Te(T)),onMouseleave:n[2]||(n[2]=e=>t.hover&&L()),ref:(t,e)=>{e.popperContainerNode=t,r.value=t}},[Hr("div",{ref:(t,e)=>{e.triggerNode=t,s.value=t},onMouseover:n[0]||(n[0]=e=>t.hover&&M()),onClick:$,onFocus:M,onKeyup:Es(L,["esc"])},[Oi(e.$slots,"default")],40,zh),Ur(jo,{name:"fade"},{default:bn(()=>[_n(Hr("div",{onClick:n[1]||(n[1]=t=>!Te(p)&&L()),class:"popper",ref:(t,e)=>{e.popperNode=t,o.value=t}},[Oi(e.$slots,"content",{close:Te(w),isOpen:a.value},()=>[Xr(J(Te(u)),1)]),t.arrow?(jr(),Br(Vh,{key:0})):Yr("",!0)],512),[[Xo,Te(O)]])]),_:3})],36))}};Bh("\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.popper[data-v-5784ed69] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--c81fc0a4);\n}\n.popper[data-v-5784ed69]:hover,\n .popper:hover > #arrow[data-v-5784ed69]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.fade-enter-active[data-v-5784ed69],\n .fade-leave-active[data-v-5784ed69] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-5784ed69],\n .fade-leave-to[data-v-5784ed69] {\n opacity: 0;\n}\n"),Fh.__scopeId="data-v-5784ed69";var Wh=(()=>{const t=Fh;return t.install=e=>{e.component("Popper",t)},t})();const Hh=Un({__name:"index",props:{arrow:{type:Boolean},hover:{type:Boolean},offsetDistance:{},offsetSkid:{},placement:{default:"bottom-end"}},emits:["open:popover","close:popover"],setup(t,{emit:e}){const n=$i();function i(){e("open:popover")}function r(){e("close:popover")}return(t,e)=>(jr(),Br(Te(Wh),Jr({...t.$attrs,...t.$props},{class:"popover","onOpen:popper":i,"onClose:popper":r}),Ci({default:bn(()=>[Oi(t.$slots,"default")]),_:2},[Te(n).tooltip?{name:"content",fn:bn(e=>[Oi(t.$slots,"tooltip",G(qr(e)))]),key:"0"}:void 0]),1040))}});Un({name:"DropdownMenu",components:{IconViewer:mu,Popover:Hh},props:{position:{type:String,default:"bottom-end"},hoverable:{type:Boolean,default:!1},icon:{type:String,required:!1},offsetDistance:{type:String,default:"12",required:!1}},emits:["close-dropdown"],data:()=>({showDropdown:!1}),mounted(){document&&document.addEventListener("click",this.clickHandler)},unmounted(){document&&document.removeEventListener("click",this.clickHandler)},methods:{clickHandler(t){t.target.getAttribute("disable-close")||this.$refs.popover&&!this.$refs.popover.$el.contains(t.target)&&this.close()},handleMouseEnter(){this.hoverable&&(this.showDropdown=!0)},handleMouseLeave(){this.hoverable&&this.close()},toggleOnClick(t){t.target.getAttribute("disable-close")||(this.showDropdown=!this.showDropdown)},close(){this.$emit("close-dropdown"),this.showDropdown=!1}}});function Uh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function qh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Uh(Object(n),!0).forEach(function(e){Xh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Uh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Gh(t){return(Gh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yh(){return Yh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Yh.apply(this,arguments)}function Kh(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Zh=Kh(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Qh=Kh(/Edge/i),Jh=Kh(/firefox/i),td=Kh(/safari/i)&&!Kh(/chrome/i)&&!Kh(/android/i),ed=Kh(/iP(ad|od|hone)/i),nd=Kh(/chrome/i)&&Kh(/android/i),id={capture:!1,passive:!1};function rd(t,e,n){t.addEventListener(e,n,!Zh&&id)}function od(t,e,n){t.removeEventListener(e,n,!Zh&&id)}function sd(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function ad(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function ld(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&sd(t,e):sd(t,e))||i&&t===n)return t;if(t===n)break}while(t=ad(t))}return null}var cd,ud=/\s+/g;function hd(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(ud," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(ud," ")}}function dd(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];!(e in i)&&-1===e.indexOf("webkit")&&(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function pd(t,e){var n="";if("string"==typeof t)n=t;else do{var i=dd(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function fd(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function gd(){return document.scrollingElement||document.documentElement}function md(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,l,c,u,h;if(t!==window&&t.parentNode&&t!==gd()?(s=(o=t.getBoundingClientRect()).top,a=o.left,l=o.bottom,c=o.right,u=o.height,h=o.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!Zh))do{if(r&&r.getBoundingClientRect&&("none"!==dd(r,"transform")||n&&"static"!==dd(r,"position"))){var d=r.getBoundingClientRect();s-=d.top+parseInt(dd(r,"border-top-width")),a-=d.left+parseInt(dd(r,"border-left-width")),l=s+o.height,c=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var p=pd(r||t),f=p&&p.a,g=p&&p.d;p&&(l=(s/=g)+(u/=g),c=(a/=f)+(h/=f))}return{top:s,left:a,bottom:l,right:c,width:h,height:u}}}function vd(t,e,n){for(var i=wd(t,!0),r=md(t)[e];i;){if(!(r>=md(i)[n]))return i;if(i===gd())break;i=wd(i,!1)}return!1}function yd(t,e,n,i){for(var r=0,o=0,s=t.children;o<s.length;){if("none"!==s[o].style.display&&s[o]!==kp.ghost&&(i||s[o]!==kp.dragged)&&ld(s[o],n.draggable,t,!1)){if(r===e)return s[o];r++}o++}return null}function bd(t,e){for(var n=t.lastElementChild;n&&(n===kp.ghost||"none"===dd(n,"display")||e&&!sd(n,e));)n=n.previousElementSibling;return n||null}function _d(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"!==t.nodeName.toUpperCase()&&t!==kp.clone&&(!e||sd(t,e))&&n++;return n}function xd(t){var e=0,n=0,i=gd();if(t)do{var r=pd(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function wd(t,e){if(!t||!t.getBoundingClientRect)return gd();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=dd(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 gd();if(i||e)return n;i=!0}}}while(n=n.parentNode);return gd()}function Sd(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function kd(t,e){return function(){if(!cd){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),cd=setTimeout(function(){cd=void 0},e)}}}function Cd(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function Od(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Ad="Sortable"+(new Date).getTime();var Td=[],Pd={initializeByDefault:!0},Ed={mount:function(t){for(var e in Pd)Pd.hasOwnProperty(e)&&!(e in t)&&(t[e]=Pd[e]);Td.forEach(function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Td.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";Td.forEach(function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](qh({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](qh({sortable:e},n)))})},initializePlugins:function(t,e,n,i){for(var r in Td.forEach(function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var o=new i(t,e,t.options);o.sortable=t,o.options=t.options,t[r]=o,Yh(n,o.defaults)}}),t.options)if(t.options.hasOwnProperty(r)){var o=this.modifyOption(t,r,t.options[r]);typeof o<"u"&&(t.options[r]=o)}},getEventProperties:function(t,e){var n={};return Td.forEach(function(i){"function"==typeof i.eventProperties&&Yh(n,i.eventProperties.call(e[i.pluginName],t))}),n},modifyOption:function(t,e,n){var i;return Td.forEach(function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))}),i}},Md=["evt"],Ld=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(n,Md);Ed.pluginEvent.bind(kp)(t,e,qh({dragEl:jd,parentEl:Dd,ghostEl:Id,rootEl:Nd,nextEl:Rd,lastDownEl:Bd,cloneEl:Vd,cloneHidden:zd,dragStarted:tp,putSortable:Gd,activeSortable:kp.active,originalEvent:i,oldIndex:Fd,oldDraggableIndex:Hd,newIndex:Wd,newDraggableIndex:Ud,hideGhostForTarget:_p,unhideGhostForTarget:xp,cloneNowHidden:function(){zd=!0},cloneNowShown:function(){zd=!1},dispatchSortableEvent:function(t){$d({sortable:e,name:t,originalEvent:i})}},r))};function $d(t){!function(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,a=t.fromEl,l=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,p=t.putSortable,f=t.extraEventProperties;if(e=e||n&&n[Ad]){var g,m=e.options,v="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||Zh||Qh?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=r||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=p?p.lastPutMode:void 0;var y=qh(qh({},f),Ed.getEventProperties(i,e));for(var b in y)g[b]=y[b];n&&n.dispatchEvent(g),m[v]&&m[v].call(e,g)}}(qh({putSortable:Gd,cloneEl:Vd,targetEl:jd,rootEl:Nd,oldIndex:Fd,oldDraggableIndex:Hd,newIndex:Wd,newDraggableIndex:Ud},t))}var jd,Dd,Id,Nd,Rd,Bd,Vd,zd,Fd,Wd,Hd,Ud,qd,Gd,Xd,Yd,Kd,Zd,Qd,Jd,tp,ep,np,ip,rp,op=!1,sp=!1,ap=[],lp=!1,cp=!1,up=[],hp=!1,dp=[],pp=typeof document<"u",fp=ed,gp=Qh||Zh?"cssFloat":"float",mp=pp&&!nd&&!ed&&"draggable"in document.createElement("div"),vp=function(){if(pp){if(Zh)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),yp=function(t,e){var n=dd(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=yd(t,0,e),o=yd(t,1,e),s=r&&dd(r),a=o&&dd(o),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+md(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+md(o).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&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===n[gp]||o&&"none"===n[gp]&&l+c>i)?"vertical":"horizontal"},bp=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var l=(n?i:r).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;(!i||"object"!=Gh(i))&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},_p=function(){!vp&&Id&&dd(Id,"display","none")},xp=function(){!vp&&Id&&dd(Id,"display","")};pp&&!nd&&document.addEventListener("click",function(t){if(sp)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),sp=!1,!1},!0);var wp=function(t){if(jd){var e=function(t,e){var n;return ap.some(function(i){var r=i[Ad].options.emptyInsertThreshold;if(r&&!bd(i)){var o=md(i),s=t>=o.left-r&&t<=o.right+r,a=e>=o.top-r&&e<=o.bottom+r;if(s&&a)return n=i}}),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[Ad]._onDragOver(n)}}},Sp=function(t){jd&&jd.parentNode[Ad]._isOutsideThisEl(t.target)};function kp(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=Yh({},e),t[Ad]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return yp(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.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!==kp.supportPointer&&"PointerEvent"in window&&!td,emptyInsertThreshold:5};for(var i in Ed.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in bp(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&mp,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?rd(t,"pointerdown",this._onTapStart):(rd(t,"mousedown",this._onTapStart),rd(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(rd(t,"dragover",this),rd(t,"dragenter",this)),ap.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Yh(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(t){if("none"!==dd(t,"display")&&t!==kp.ghost){e.push({target:t,rect:md(t)});var n=qh({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=pd(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}})},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var r=!1,o=0;e.forEach(function(t){var e=0,n=t.target,s=n.fromRect,a=md(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,h=pd(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&Sd(l,a)&&!Sd(s,a)&&(u.top-a.top)/(u.left-a.left)===(s.top-a.top)/(s.left-a.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),Sd(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},e),n.thisAnimationDuration=e)}),clearTimeout(t),r?t=setTimeout(function(){"function"==typeof n&&n()},o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){dd(t,"transition",""),dd(t,"transform","");var r=pd(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,dd(t,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),dd(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),dd(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout(function(){dd(t,"transition",""),dd(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1},i)}}}}())}function Cp(t,e,n,i,r,o,s,a){var l,c,u=t[Ad],h=u.options.onMove;return!window.CustomEvent||Zh||Qh?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||md(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),h&&(c=h.call(u,l,s)),c}function Op(t){t.draggable=!1}function Ap(){hp=!1}function Tp(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Pp(t){return setTimeout(t,0)}function Ep(t){return clearTimeout(t)}kp.prototype={constructor:kp,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(ep=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,jd):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(function(t){dp.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&dp.push(i)}}(n),!jd&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!td||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=ld(a,i.draggable,n,!1))&&a.animated||Bd===a)){if(Fd=_d(a),Hd=_d(a,i.draggable),"function"==typeof c){if(c.call(this,t,a,this))return $d({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),Ld("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some(function(i){if(i=ld(l,i.trim(),n,!1))return $d({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),Ld("filter",e,{evt:t}),!0})))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!ld(l,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!jd&&n.parentNode===o){var l=md(n);if(Nd=o,Dd=(jd=n).parentNode,Rd=jd.nextSibling,Bd=n,qd=s.group,kp.dragged=jd,Xd={target:jd,clientX:(e||t).clientX,clientY:(e||t).clientY},Qd=Xd.clientX-l.left,Jd=Xd.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,jd.style["will-change"]="all",i=function(){Ld("delayEnded",r,{evt:t}),kp.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!Jh&&r.nativeDraggable&&(jd.draggable=!0),r._triggerDragStart(t,e),$d({sortable:r,name:"choose",originalEvent:t}),hd(jd,s.chosenClass,!0))},s.ignore.split(",").forEach(function(t){fd(jd,t.trim(),Op)}),rd(a,"dragover",wp),rd(a,"mousemove",wp),rd(a,"touchmove",wp),rd(a,"mouseup",r._onDrop),rd(a,"touchend",r._onDrop),rd(a,"touchcancel",r._onDrop),Jh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,jd.draggable=!0),Ld("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(Qh||Zh))i();else{if(kp.eventCanceled)return void this._onDrop();rd(a,"mouseup",r._disableDelayedDrag),rd(a,"touchend",r._disableDelayedDrag),rd(a,"touchcancel",r._disableDelayedDrag),rd(a,"mousemove",r._delayedDragTouchMoveHandler),rd(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&rd(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){jd&&Op(jd),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;od(t,"mouseup",this._disableDelayedDrag),od(t,"touchend",this._disableDelayedDrag),od(t,"touchcancel",this._disableDelayedDrag),od(t,"mousemove",this._delayedDragTouchMoveHandler),od(t,"touchmove",this._delayedDragTouchMoveHandler),od(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?rd(document,"pointermove",this._onTouchMove):rd(document,e?"touchmove":"mousemove",this._onTouchMove):(rd(jd,"dragend",this),rd(Nd,"dragstart",this._onDragStart));try{document.selection?Pp(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(op=!1,Nd&&jd){Ld("dragStarted",this,{evt:e}),this.nativeDraggable&&rd(document,"dragover",Sp);var n=this.options;!t&&hd(jd,n.dragClass,!1),hd(jd,n.ghostClass,!0),kp.active=this,t&&this._appendGhost(),$d({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(Yd){this._lastX=Yd.clientX,this._lastY=Yd.clientY,_p();for(var t=document.elementFromPoint(Yd.clientX,Yd.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Yd.clientX,Yd.clientY))!==e;)e=t;if(jd.parentNode[Ad]._isOutsideThisEl(t),e)do{if(e[Ad]&&e[Ad]._onDragOver({clientX:Yd.clientX,clientY:Yd.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);xp()}},_onTouchMove:function(t){if(Xd){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=Id&&pd(Id,!0),s=Id&&o&&o.a,a=Id&&o&&o.d,l=fp&&rp&&xd(rp),c=(r.clientX-Xd.clientX+i.x)/(s||1)+(l?l[0]-up[0]:0)/(s||1),u=(r.clientY-Xd.clientY+i.y)/(a||1)+(l?l[1]-up[1]:0)/(a||1);if(!kp.active&&!op){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Id){o?(o.e+=c-(Kd||0),o.f+=u-(Zd||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");dd(Id,"webkitTransform",h),dd(Id,"mozTransform",h),dd(Id,"msTransform",h),dd(Id,"transform",h),Kd=c,Zd=u,Yd=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Id){var t=this.options.fallbackOnBody?document.body:Nd,e=md(jd,!0,fp,!0,t),n=this.options;if(fp){for(rp=t;"static"===dd(rp,"position")&&"none"===dd(rp,"transform")&&rp!==document;)rp=rp.parentNode;rp!==document.body&&rp!==document.documentElement?(rp===document&&(rp=gd()),e.top+=rp.scrollTop,e.left+=rp.scrollLeft):rp=gd(),up=xd(rp)}hd(Id=jd.cloneNode(!0),n.ghostClass,!1),hd(Id,n.fallbackClass,!0),hd(Id,n.dragClass,!0),dd(Id,"transition",""),dd(Id,"transform",""),dd(Id,"box-sizing","border-box"),dd(Id,"margin",0),dd(Id,"top",e.top),dd(Id,"left",e.left),dd(Id,"width",e.width),dd(Id,"height",e.height),dd(Id,"opacity","0.8"),dd(Id,"position",fp?"absolute":"fixed"),dd(Id,"zIndex","100000"),dd(Id,"pointerEvents","none"),kp.ghost=Id,t.appendChild(Id),dd(Id,"transform-origin",Qd/parseInt(Id.style.width)*100+"% "+Jd/parseInt(Id.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;Ld("dragStart",this,{evt:t}),kp.eventCanceled?this._onDrop():(Ld("setupClone",this),kp.eventCanceled||((Vd=Od(jd)).removeAttribute("id"),Vd.draggable=!1,Vd.style["will-change"]="",this._hideClone(),hd(Vd,this.options.chosenClass,!1),kp.clone=Vd),n.cloneId=Pp(function(){Ld("clone",n),!kp.eventCanceled&&(n.options.removeCloneOnHide||Nd.insertBefore(Vd,jd),n._hideClone(),$d({sortable:n,name:"clone"}))}),!e&&hd(jd,r.dragClass,!0),e?(sp=!0,n._loopId=setInterval(n._emulateDragOver,50)):(od(document,"mouseup",n._onDrop),od(document,"touchend",n._onDrop),od(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,jd)),rd(document,"drop",n),dd(jd,"transform","translateZ(0)")),op=!0,n._dragStartId=Pp(n._dragStarted.bind(n,e,t)),rd(document,"selectstart",n),tp=!0,td&&dd(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,s=t.target,a=this.options,l=a.group,c=kp.active,u=qd===l,h=a.sort,d=Gd||c,p=this,f=!1;if(!hp){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=ld(s,a.draggable,o,!0),P("dragOver"),kp.eventCanceled)return f;if(jd.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return M(!1);if(sp=!1,c&&!a.disabled&&(u?h||(i=Dd!==Nd):Gd===this||(this.lastPutMode=qd.checkPull(this,c,jd,t))&&l.checkPut(this,c,jd,t))){if(r="vertical"===this._getDirection(t,s),e=md(jd),P("dragOverValid"),kp.eventCanceled)return f;if(i)return Dd=Nd,E(),this._hideClone(),P("revert"),kp.eventCanceled||(Rd?Nd.insertBefore(jd,Rd):Nd.appendChild(jd)),M(!0);var g=bd(o,a.draggable);if(!g||function(t,e,n){var i=md(bd(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!g.animated){if(g===jd)return M(!1);if(g&&o===t.target&&(s=g),s&&(n=md(s)),!1!==Cp(Nd,o,jd,e,s,n,t,!!s))return E(),g&&g.nextSibling?o.insertBefore(jd,g.nextSibling):o.appendChild(jd),Dd=o,L(),M(!0)}else if(g&&function(t,e,n){var i=md(yd(n.el,0,n.options,!0));return e?t.clientX<i.left-10||t.clientY<i.top&&t.clientX<i.right:t.clientY<i.top-10||t.clientY<i.bottom&&t.clientX<i.left}(t,r,this)){var m=yd(o,0,a,!0);if(m===jd)return M(!1);if(n=md(s=m),!1!==Cp(Nd,o,jd,e,s,n,t,!1))return E(),o.insertBefore(jd,m),Dd=o,L(),M(!0)}else if(s.parentNode===o){n=md(s);var v,y,b,_=jd.parentNode!==o,x=!function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===s||r===a||i+o/2===s+l/2}(jd.animated&&jd.toRect||e,s.animated&&s.toRect||n,r),w=r?"top":"left",S=vd(s,"top","top")||vd(jd,"top","top"),k=S?S.scrollTop:void 0;if(ep!==s&&(y=n[w],lp=!1,cp=!x&&a.invertSwap||_),v=function(t,e,n,i,r,o,s,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&ip<c*r){if(!lp&&(1===np?l>u+c*o/2:l<h-c*o/2)&&(lp=!0),lp)d=!0;else if(1===np?l<u+ip:l>h-ip)return-np}else if(l>u+c*(1-r)/2&&l<h-c*(1-r)/2)return function(t){return _d(jd)<_d(t)?1:-1}(e);return(d=d||s)&&(l<u+c*o/2||l>h-c*o/2)?l>u+c/2?1:-1:0}(t,s,n,r,x?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,cp,ep===s),0!==v){var C=_d(jd);do{C-=v,b=Dd.children[C]}while(b&&("none"===dd(b,"display")||b===Id))}if(0===v||b===s)return M(!1);ep=s,np=v;var O=s.nextElementSibling,A=!1,T=Cp(Nd,o,jd,e,s,n,t,A=1===v);if(!1!==T)return(1===T||-1===T)&&(A=1===T),hp=!0,setTimeout(Ap,30),E(),A&&!O?o.appendChild(jd):s.parentNode.insertBefore(jd,A?O:s),S&&Cd(S,0,k-S.scrollTop),Dd=jd.parentNode,void 0!==y&&!cp&&(ip=Math.abs(y-md(s)[w])),L(),M(!0)}if(o.contains(jd))return M(!1)}return!1}function P(a,l){Ld(a,p,qh({evt:t,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:h,fromSortable:d,target:s,completed:M,onMove:function(n,i){return Cp(Nd,o,jd,e,n,md(n),t,i)},changed:L},l))}function E(){P("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function M(e){return P("dragOverCompleted",{insertion:e}),e&&(u?c._hideClone():c._showClone(p),p!==d&&(hd(jd,Gd?Gd.options.ghostClass:c.options.ghostClass,!1),hd(jd,a.ghostClass,!0)),Gd!==p&&p!==kp.active?Gd=p:p===kp.active&&Gd&&(Gd=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){P("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===jd&&!jd.animated||s===o&&!s.animated)&&(ep=null),!a.dragoverBubble&&!t.rootEl&&s!==document&&(jd.parentNode[Ad]._isOutsideThisEl(t.target),!e&&wp(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),f=!0}function L(){Wd=_d(jd),Ud=_d(jd,a.draggable),$d({sortable:p,name:"change",toEl:o,newIndex:Wd,newDraggableIndex:Ud,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){od(document,"mousemove",this._onTouchMove),od(document,"touchmove",this._onTouchMove),od(document,"pointermove",this._onTouchMove),od(document,"dragover",wp),od(document,"mousemove",wp),od(document,"touchmove",wp)},_offUpEvents:function(){var t=this.el.ownerDocument;od(t,"mouseup",this._onDrop),od(t,"touchend",this._onDrop),od(t,"pointerup",this._onDrop),od(t,"touchcancel",this._onDrop),od(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;Wd=_d(jd),Ud=_d(jd,n.draggable),Ld("drop",this,{evt:t}),Dd=jd&&jd.parentNode,Wd=_d(jd),Ud=_d(jd,n.draggable),kp.eventCanceled||(op=!1,cp=!1,lp=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ep(this.cloneId),Ep(this._dragStartId),this.nativeDraggable&&(od(document,"drop",this),od(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),td&&dd(document.body,"user-select",""),dd(jd,"transform",""),t&&(tp&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Id&&Id.parentNode&&Id.parentNode.removeChild(Id),(Nd===Dd||Gd&&"clone"!==Gd.lastPutMode)&&Vd&&Vd.parentNode&&Vd.parentNode.removeChild(Vd),jd&&(this.nativeDraggable&&od(jd,"dragend",this),Op(jd),jd.style["will-change"]="",tp&&!op&&hd(jd,Gd?Gd.options.ghostClass:this.options.ghostClass,!1),hd(jd,this.options.chosenClass,!1),$d({sortable:this,name:"unchoose",toEl:Dd,newIndex:null,newDraggableIndex:null,originalEvent:t}),Nd!==Dd?(Wd>=0&&($d({rootEl:Dd,name:"add",toEl:Dd,fromEl:Nd,originalEvent:t}),$d({sortable:this,name:"remove",toEl:Dd,originalEvent:t}),$d({rootEl:Dd,name:"sort",toEl:Dd,fromEl:Nd,originalEvent:t}),$d({sortable:this,name:"sort",toEl:Dd,originalEvent:t})),Gd&&Gd.save()):Wd!==Fd&&Wd>=0&&($d({sortable:this,name:"update",toEl:Dd,originalEvent:t}),$d({sortable:this,name:"sort",toEl:Dd,originalEvent:t})),kp.active&&((null==Wd||-1===Wd)&&(Wd=Fd,Ud=Hd),$d({sortable:this,name:"end",toEl:Dd,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Ld("nulling",this),Nd=jd=Dd=Id=Rd=Vd=Bd=zd=Xd=Yd=tp=Wd=Ud=Fd=Hd=ep=np=Gd=qd=kp.dragged=kp.ghost=kp.clone=kp.active=null,dp.forEach(function(t){t.checked=!0}),dp.length=Kd=Zd=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":jd&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)ld(t=n[i],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Tp(t));return e},sort:function(t,e){var n={},i=this.el;this.toArray().forEach(function(t,e){var r=i.children[e];ld(r,this.options.draggable,i,!1)&&(n[t]=r)},this),e&&this.captureAnimationState(),t.forEach(function(t){n[t]&&(i.removeChild(n[t]),i.appendChild(n[t]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return ld(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=Ed.modifyOption(this,t,e);n[t]=typeof i<"u"?i:e,"group"===t&&bp(n)},destroy:function(){Ld("destroy",this);var t=this.el;t[Ad]=null,od(t,"mousedown",this._onTapStart),od(t,"touchstart",this._onTapStart),od(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(od(t,"dragover",this),od(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ap.splice(ap.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!zd){if(Ld("hideClone",this),kp.eventCanceled)return;dd(Vd,"display","none"),this.options.removeCloneOnHide&&Vd.parentNode&&Vd.parentNode.removeChild(Vd),zd=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(zd){if(Ld("showClone",this),kp.eventCanceled)return;jd.parentNode!=Nd||this.options.group.revertClone?Rd?Nd.insertBefore(Vd,Rd):Nd.appendChild(Vd):Nd.insertBefore(Vd,jd),this.options.group.revertClone&&this.animate(jd,Vd),dd(Vd,"display",""),zd=!1}}else this._hideClone()}},pp&&rd(document,"touchmove",function(t){(kp.active||op)&&t.cancelable&&t.preventDefault()}),kp.utils={on:rd,off:od,css:dd,find:fd,is:function(t,e){return!!ld(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:kd,closest:ld,toggleClass:hd,clone:Od,index:_d,nextTick:Pp,cancelNextTick:Ep,detectDirection:yp,getChild:yd},kp.get=function(t){return t[Ad]},kp.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(kp.utils=qh(qh({},kp.utils),t.utils)),Ed.mount(t)})},kp.create=function(t,e){return new kp(t,e)},kp.version="1.15.0";var Mp,Lp,$p,jp,Dp,Ip,Np=[],Rp=!1;function Bp(){Np.forEach(function(t){clearInterval(t.pid)}),Np=[]}function Vp(){clearInterval(Ip)}var zp=kd(function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=gd(),u=!1;Lp!==n&&(Lp=n,Bp(),Mp=e.scroll,r=e.scrollFn,!0===Mp&&(Mp=wd(n,!0)));var h=0,d=Mp;do{var p=d,f=md(p),g=f.top,m=f.bottom,v=f.left,y=f.right,b=f.width,_=f.height,x=void 0,w=void 0,S=p.scrollWidth,k=p.scrollHeight,C=dd(p),O=p.scrollLeft,A=p.scrollTop;p===c?(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(x=b<S&&("auto"===C.overflowX||"scroll"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY));var T=x&&(Math.abs(y-o)<=a&&O+b<S)-(Math.abs(v-o)<=a&&!!O),P=w&&(Math.abs(m-s)<=a&&A+_<k)-(Math.abs(g-s)<=a&&!!A);if(!Np[h])for(var E=0;E<=h;E++)Np[E]||(Np[E]={});(Np[h].vx!=T||Np[h].vy!=P||Np[h].el!==p)&&(Np[h].el=p,Np[h].vx=T,Np[h].vy=P,clearInterval(Np[h].pid),(0!=T||0!=P)&&(u=!0,Np[h].pid=setInterval(function(){i&&0===this.layer&&kp.active._onTouchMove(Dp);var e=Np[this.layer].vy?Np[this.layer].vy*l:0,n=Np[this.layer].vx?Np[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(kp.dragged.parentNode[Ad],n,e,t,Dp,Np[this.layer].el)||Cd(Np[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==c&&(d=wd(d,!1)));Rp=u}},30),Fp=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function Wp(){}function Hp(){}Wp.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=yd(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Fp},Yh(Wp,{pluginName:"revertOnSpill"}),Hp.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:Fp},Yh(Hp,{pluginName:"removeOnSpill"}),kp.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?rd(document,"dragover",this._handleAutoScroll):this.options.supportPointer?rd(document,"pointermove",this._handleFallbackAutoScroll):e.touches?rd(document,"touchmove",this._handleFallbackAutoScroll):rd(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?od(document,"dragover",this._handleAutoScroll):(od(document,"pointermove",this._handleFallbackAutoScroll),od(document,"touchmove",this._handleFallbackAutoScroll),od(document,"mousemove",this._handleFallbackAutoScroll)),Vp(),Bp(),clearTimeout(cd),cd=void 0},nulling:function(){Dp=Lp=Mp=Rp=Ip=$p=jp=null,Np.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(Dp=t,e||this.options.forceAutoScrollFallback||Qh||Zh||td){zp(t,this.options,o,e);var s=wd(o,!0);Rp&&(!Ip||i!==$p||r!==jp)&&(Ip&&Vp(),Ip=setInterval(function(){var o=wd(document.elementFromPoint(i,r),!0);o!==s&&(s=o,Bp()),zp(t,n.options,o,e)},10),$p=i,jp=r)}else{if(!this.options.bubbleScroll||wd(o,!0)===gd())return void Bp();zp(t,this.options,wd(o,!1),!1)}}},Yh(t,{pluginName:"scroll",initializeByDefault:!0})}),kp.mount(Hp,Wp),Boolean,Boolean;const Up=(t,{slots:e})=>{var n;return xo(t.as,{class:ke(["heading",`heading-${t.size}`,{"heading-secondary":t.secondary},t.class]).value},null==(n=e.default)?void 0:n.call(e))};Up.props={as:{type:String,default:"h2"},size:{type:String,default:"lg"},secondary:{type:Boolean,default:!1}};const qp=Un({__name:"hr",props:{height:{default:"1"}},setup(t){const e=t,n=_o(()=>({"--hr-height":`${e.height}px`}));return(t,e)=>(jr(),Rr("hr",{class:q(t.$style.hr),style:z(n.value)},null,6))}}),Gp=pu(qp,[["__cssModules",{$style:{hr:"_hr_1alp8_1"}}]]);function Xp(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function Yp(t,e,n,i){return e?t.filter(t=>function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(i(t,n),e)).sort((t,e)=>i(t,n).length-i(e,n).length):t}function Kp(t){return t.filter(t=>!t.$isLabel)}function Zp(t,e){return n=>n.reduce((n,i)=>i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n,[])}Boolean,Boolean,Boolean,Boolean,Boolean,Boolean;const Qp=(...t)=>e=>t.reduce((t,e)=>e(t),e);var Jp={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:(t,e)=>Xp(t)?"":e?t[e]:t},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:()=>[]},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||0===this.modelValue?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):Yp(n,e,this.label,this.customLabel):this.groupValues?Zp(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(function(t){return(...e)=>!t(...e)}(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat(t,e,n){return Qp(function(t,e,n,i,r){return o=>o.map(o=>{if(!o[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const s=Yp(o[n],t,e,r);return s.length?{[i]:o[i],[n]:s}:[]})}(e,n,this.groupValues,this.groupLabel,this.customLabel),Zp(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return Qp(Zp(this.groupValues,this.groupLabel),Kp)(t)},updateSearch(t){this.search=t},isExistingOption(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:t=>!!t.$isDisabled,getOptionLabel(t){if(Xp(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Xp(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(e=>e[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const t=this.internalValue.filter(t=>-1===e[this.groupValues].indexOf(t));this.$emit("update:modelValue",t)}else{let t=e[this.groupValues].filter(t=>!(this.isOptionDisabled(t)||this.isSelected(t)));this.max&&t.splice(this.max-this.internalValue.length),this.$emit("select",t,this.id),this.$emit("update:modelValue",this.internalValue.concat(t))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();const n="object"==typeof t?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const t=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",t)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},tf={data:()=>({pointer:0,pointerDirty:!1}),props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(t=>t[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},ef={name:"vue-multiselect",mixins:[Jp,tf],props:{name:{type:String,default:""},modelValue:{type:null,default:()=>[]},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}};const nf={ref:"tags",class:"multiselect__tags"},rf={class:"multiselect__tags-wrap"},of={class:"multiselect__spinner"},sf={key:0},af={class:"multiselect__option"},lf={class:"multiselect__option"},cf=Xr("No elements found. Consider changing the search query."),uf={class:"multiselect__option"},hf=Xr("List is empty.");ef.render=function(t,e,n,i,r,o){return jr(),Br("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=e=>t.activate()),onBlur:e[15]||(e[15]=e=>!t.searchable&&t.deactivate()),onKeydown:[e[16]||(e[16]=Es(Ts(e=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=Es(Ts(e=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=Es(Ts(e=>t.addPointerElement(e),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=Es(e=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[Oi(t.$slots,"caret",{toggle:t.toggle},()=>[Ur("div",{onMousedown:e[1]||(e[1]=Ts(e=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),Oi(t.$slots,"clear",{search:t.search}),Ur("div",nf,[Oi(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:o.visibleValues,isOpen:t.isOpen},()=>[_n(Ur("div",rf,[(jr(!0),Br(Tr,null,ki(o.visibleValues,(e,n)=>Oi(t.$slots,"tag",{option:e,search:t.search,remove:t.removeElement},()=>[(jr(),Br("span",{class:"multiselect__tag",key:n},[Ur("span",{textContent:J(t.getOptionLabel(e))},null,8,["textContent"]),Ur("i",{tabindex:"1",onKeypress:Es(Ts(n=>t.removeElement(e),["prevent"]),["enter"]),onMousedown:Ts(n=>t.removeElement(e),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[Xo,o.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?Oi(t.$slots,"limit",{key:0},()=>[Ur("strong",{class:"multiselect__strong",textContent:J(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):Yr("v-if",!0)]),Ur(jo,{name:"multiselect__loading"},{default:bn(()=>[Oi(t.$slots,"loading",{},()=>[_n(Ur("div",of,null,512),[[Xo,n.loading]])])]),_:3}),t.searchable?(jr(),Br("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:t.placeholder,style:o.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=e=>t.updateSearch(e.target.value)),onFocus:e[3]||(e[3]=Ts(e=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=Ts(e=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=Es(e=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=Es(Ts(e=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=Es(Ts(e=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=Es(Ts(e=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=Es(Ts(e=>t.addPointerElement(e),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):Yr("v-if",!0),o.isSingleLabelVisible?(jr(),Br("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=Ts((...e)=>t.toggle&&t.toggle(...e),["prevent"]))},[Oi(t.$slots,"singleLabel",{option:o.singleValue},()=>[Xr(J(t.currentOptionLabel),1)])],32)):Yr("v-if",!0),o.isPlaceholderVisible?(jr(),Br("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=Ts((...e)=>t.toggle&&t.toggle(...e),["prevent"]))},[Oi(t.$slots,"placeholder",{},()=>[Xr(J(t.placeholder),1)])],32)):Yr("v-if",!0)],512),Ur(jo,{name:"multiselect"},{default:bn(()=>[_n(Ur("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...e)=>t.activate&&t.activate(...e)),tabindex:"-1",onMousedown:e[13]||(e[13]=Ts(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[Ur("ul",{class:"multiselect__content",style:o.contentStyle,role:"listbox",id:"listbox-"+t.id},[Oi(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(jr(),Br("li",sf,[Ur("span",af,[Oi(t.$slots,"maxElements",{},()=>[Xr("Maximum of "+J(t.max)+" options selected. First remove a selected option to select another.",1)])])])):Yr("v-if",!0),!t.max||t.internalValue.length<t.max?(jr(!0),Br(Tr,{key:1},ki(t.filteredOptions,(e,n)=>(jr(),Br("li",{class:"multiselect__element",key:n,id:t.id+"-"+n,role:e&&(e.$isLabel||e.$isDisabled)?null:"option"},[e&&(e.$isLabel||e.$isDisabled)?Yr("v-if",!0):(jr(),Br("span",{key:0,class:[t.optionHighlight(n,e),"multiselect__option"],onClick:Ts(n=>t.select(e),["stop"]),onMouseenter:Ts(e=>t.pointerSet(n),["self"]),"data-select":e&&e.isTag?t.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[Oi(t.$slots,"option",{option:e,search:t.search,index:n},()=>[Ur("span",null,J(t.getOptionLabel(e)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),e&&(e.$isLabel||e.$isDisabled)?(jr(),Br("span",{key:1,"data-select":t.groupSelect&&o.selectGroupLabelText,"data-deselect":t.groupSelect&&o.deselectGroupLabelText,class:[t.groupHighlight(n,e),"multiselect__option"],onMouseenter:Ts(e=>t.groupSelect&&t.pointerSet(n),["self"]),onMousedown:Ts(n=>t.selectGroup(e),["prevent"])},[Oi(t.$slots,"option",{option:e,search:t.search,index:n},()=>[Ur("span",null,J(t.getOptionLabel(e)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):Yr("v-if",!0)],8,["id","role"]))),128)):Yr("v-if",!0),_n(Ur("li",null,[Ur("span",lf,[Oi(t.$slots,"noResult",{search:t.search},()=>[cf])])],512),[[Xo,n.showNoResults&&0===t.filteredOptions.length&&t.search&&!n.loading]]),_n(Ur("li",null,[Ur("span",uf,[Oi(t.$slots,"noOptions",{},()=>[hf])])],512),[[Xo,n.showNoOptions&&(0===t.options.length||!0===o.hasOptionGroup&&0===t.filteredOptions.length)&&!t.search&&!n.loading]]),Oi(t.$slots,"afterList")],12,["id"])],36),[[Xo,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])};const df=["onClick"],pf=["onClick"],ff=Un({__name:"pagination",props:{modelValue:{},total:{},windowSize:{default:3}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;Cn(()=>{1!==n.modelValue&&n.modelValue>n.total&&e("update:modelValue",1)});const i=t=>{e("update:modelValue",t)},r=_o(()=>n.total<=n.windowSize+3),o=_o(()=>{const t=n.windowSize;if(r.value)return Array.from(Array(n.total).keys()).map(t=>t+1);let e;return e=n.modelValue>t&&n.modelValue<n.total-t+1?Array.from(Array(t).keys()).map(t=>n.modelValue+t-1):n.modelValue<=t?Array.from(Array(t+1).keys()).map(t=>t+2):Array.from(Array(t+1).keys()).map(t=>n.total-t-1).reverse(),e}),s=_o(()=>1!==n.modelValue),a=_o(()=>n.modelValue!==n.total),l=ms(),c=t=>({"aria-label":n.modelValue===t?`Current Page, Page ${t}`:`Goto Page ${t}`,class:[l.page,{[l.active]:n.modelValue===t}]});return(t,e)=>{const n=wi("directives","hidden");return _n((jr(),Rr("nav",{class:q(t.$style.root),role:"navigation","aria-label":"pagination"},[Hr("ul",{class:q(t.$style.nav)},[_n((jr(),Rr("li",{class:q(t.$style.navigationLeft),onClick:e[0]||(e[0]=e=>i(t.modelValue-1))},[Ur(Te(mu),{icon:"caret-left",class:q(t.$style.icon)},null,8,["class"])],2)),[[n,!s.value]]),r.value?(jr(!0),Rr(Tr,{key:0},ki(o.value,t=>(jr(),Rr("li",Jr({key:t},c(t),{onClick:e=>i(t)}),J(t),17,df))),128)):(jr(),Rr(Tr,{key:1},[Hr("li",Jr(c(1),{onClick:e[1]||(e[1]=t=>i(1))})," 1 ",16),t.modelValue>t.windowSize?(jr(),Rr("li",{key:0,class:q(Te(l).navItem)}," ... ",2)):Yr("",!0),(jr(!0),Rr(Tr,null,ki(o.value,t=>(jr(),Rr("li",Jr({key:t},c(t),{onClick:e=>i(t)}),J(t),17,pf))),128)),t.modelValue<=t.total-t.windowSize?(jr(),Rr("li",{key:1,class:q(Te(l).navItem)}," ... ",2)):Yr("",!0),Hr("li",Jr(c(t.total),{onClick:e[2]||(e[2]=e=>i(t.total))}),J(t.total),17)],64)),_n((jr(),Rr("li",{class:q(t.$style.navigationRight),onClick:e[3]||(e[3]=e=>i(t.modelValue+1))},[Ur(Te(mu),{icon:"caret-right",class:q(t.$style.icon)},null,8,["class"])],2)),[[n,!a.value]])],2)],2)),[[n,t.total<=1]])}}}),gf=pu(ff,[["__cssModules",{$style:{root:"_root_5yb23_1",nav:"_nav_5yb23_5",navItem:"_navItem_5yb23_12",page:"_page_5yb23_13",active:"_active_5yb23_22",navigation:"_navigation_5yb23_26",navigationLeft:"_navigationLeft_5yb23_27",navigationRight:"_navigationRight_5yb23_28",icon:"_icon_5yb23_40"}}]]),mf=Un({__name:"stack",props:{align:{},columnGap:{},direction:{default:"column"},gap:{default:"5"},justify:{},rowGap:{},wrap:{default:"wrap"}},setup(t){const e=t,n=ms(),i=_o(()=>{const t=[n.root,n[e.direction],n[e.wrap]];return e.align&&t.push(n[e.align]),e.justify&&t.push(n[e.justify]),t}),r=_o(()=>e.columnGap??(e.direction.includes("row")&&e.gap)),o=_o(()=>e.rowGap??(!e.direction.includes("row")&&e.gap)),s=_o(()=>({"--stack-row-gap":4*Number(o.value)+"px","--stack-column-gap":4*Number(r.value)+"px"}));return(t,e)=>(jr(),Rr("div",{class:q(i.value),style:z(s.value)},[Oi(t.$slots,"default")],6))}}),vf=pu(mf,[["__cssModules",{$style:{root:"_root_1janq_1","flex-start":"_flex-start_1janq_6","flex-end":"_flex-end_1janq_9",center:"_center_1janq_12","space-between":"_space-between_1janq_15","space-around":"_space-around_1janq_18",stretch:"_stretch_1janq_21","space-evenly":"_space-evenly_1janq_24",row:"_row_1janq_27","row-reverse":"_row-reverse_1janq_30",column:"_column_1janq_33","column-reverse":"_column-reverse_1janq_36",start:"_start_1janq_42",end:"_end_1janq_45",left:"_left_1janq_54",right:"_right_1janq_57",normal:"_normal_1janq_60","spacing-column-1":"_spacing-column-1_1janq_75","spacing-row-1":"_spacing-row-1_1janq_78","spacing-column-2":"_spacing-column-2_1janq_81","spacing-row-2":"_spacing-row-2_1janq_84","spacing-column-3":"_spacing-column-3_1janq_87","spacing-row-3":"_spacing-row-3_1janq_90","spacing-column-4":"_spacing-column-4_1janq_93","spacing-row-4":"_spacing-row-4_1janq_96","spacing-column-5":"_spacing-column-5_1janq_99","spacing-row-5":"_spacing-row-5_1janq_102","spacing-column-6":"_spacing-column-6_1janq_105","spacing-row-6":"_spacing-row-6_1janq_108","spacing-column-7":"_spacing-column-7_1janq_111","spacing-row-7":"_spacing-row-7_1janq_114","spacing-column-8":"_spacing-column-8_1janq_117","spacing-row-8":"_spacing-row-8_1janq_120",wrap:"_wrap_1janq_123","wrap-reverse":"_wrap-reverse_1janq_126",nowrap:"_nowrap_1janq_129"}}]]),yf=(Boolean,Symbol("active-tab"),Boolean,Un({__name:"title",setup:t=>(t,e)=>(jr(),Br(Te(Up),{as:"h2",size:"md"},{default:bn(()=>[Oi(t.$slots,"default")]),_:3}))})),bf=Un({__name:"label",props:{description:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0}},setup:t=>(e,n)=>(jr(),Rr("label",{class:q(e.$style.label)},[Hr("span",{class:q(e.$style.labelText)},[Oi(e.$slots,"label",{},()=>[Oi(e.$slots,"default")])],2),t.required?(jr(),Rr("span",{key:0,class:q(e.$style.labelRequired)},"(REQUIRED)",2)):Yr("",!0),t.description?(jr(),Br(Hh,{key:1,arrow:"",hover:"",placement:"top"},{tooltip:bn(()=>[Xr(J(t.description),1)]),default:bn(()=>[Ur(Te(mu),{icon:"circle-exclamation",class:q(e.$style.description)},null,8,["class"])]),_:1})):Yr("",!0)],2))}),_f=pu(bf,[["__cssModules",{$style:{description:"_description_14dok_1",label:"_label_14dok_6",labelText:"_labelText_14dok_14",labelRequired:"_labelRequired_14dok_21"}}]]),xf={message:"_message_1qafl_1",messages:"_messages_1qafl_5",help:"_help_1qafl_15",inputControl:"_inputControl_1qafl_18",focused:"_focused_1qafl_33",inputHide:"_inputHide_1qafl_65",inner:"_inner_1qafl_75",formSpan:"_formSpan_1qafl_79"};function wf(t,e){const n=t[e];return"string"==typeof n?{[n]:!0}:n}function Sf(t,e){const n={...e};return Object.keys(t).forEach(e=>{const i=wf(n,e),r=wf(t,e);n[e]={...i,...r}}),n}function kf(t){if(!t)return{};const e={};return"string"==typeof t?(e["--mobile-form-span"]="12",e["--form-span"]=e["--medium-form-span"]=e["--small-form-span"]=t):(e["--mobile-form-span"]=t.mobile||"12",e["--small-form-span"]=t.small||e["--mobile-form-span"],e["--medium-form-span"]=t.medium||e["--small-form-span"],e["--form-span"]=t.large||e["--medium-form-span"]),e}const Cf=Symbol("is_form"),Of=pu(Un({__name:"fieldset",props:{gap:{default:"5"},inline:{type:Boolean},label:{},legend:{},rowGap:{},span:{}},setup:t=>(wn(Cf,!0),(t,e)=>(jr(),Rr("fieldset",{class:q([t.$style.fieldset,Te(xf).formSpan]),style:z(Te(kf)(t.span))},[t.legend?(jr(),Rr("legend",{key:0,class:q(t.$style.legend)},J(t.legend),3)):Yr("",!0),t.label?(jr(),Br(_f,{key:1,class:q(t.$style.label)},{default:bn(()=>[Xr(J(t.label),1)]),_:1},8,["class"])):Yr("",!0),Ur(Te(vf),{gap:t.gap,direction:t.inline?"row":"column","row-gap":t.rowGap||(t.inline?"5":void 0)},{default:bn(()=>[Oi(t.$slots,"default")]),_:3},8,["gap","direction","row-gap"])],6)))}),[["__cssModules",{$style:{fieldset:"_fieldset_1fcft_1",legend:"_legend_1fcft_6",label:"_label_1fcft_10"}}]]),Af=pu(Un({__name:"form-actions",props:{variant:{default:"standard"}},setup:t=>(t,e)=>(jr(),Rr(Tr,null,["plain"!==t.variant?(jr(),Br(xi("standard"===t.variant?Te(Gp):"div"),{key:0,class:q(t.$style.hr)},null,8,["class"])):Yr("",!0),Ur(Te(vf),Jr(t.$attrs,{class:t.$style[t.variant],gap:"2",direction:"row",wrap:"nowrap"}),{default:bn(()=>[Hr("div",{class:q(t.$style.spacer)},null,2),Oi(t.$slots,"default",{},()=>[Ur(Te(yu),{type:"submit",severity:"primary"},{default:bn(()=>[Xr(" Save ")]),_:1})])]),_:3},16,["class"])],64))}),[["__cssModules",{$style:{hr:"_hr_10l8x_1",padding:"_padding_10l8x_4",standard:"_standard_10l8x_5",filled:"_filled_10l8x_6",spacer:"_spacer_10l8x_12"}}]]),Tf=Un({__name:"form",props:{actions:{type:[Boolean,String],default:!0},config:{},formRef:{},errors:{},inline:{type:Boolean},legend:{},modelValue:{},onSubmit:{},onSubmitInvalid:{},"onUpdate:modelValue":{}},setup(t){const e=t,n=async(t,n)=>{var i;const r=await(null==(i=e.onSubmit)?void 0:i.call(e,t,n));r&&(null!=r&&r.errors?null==n||n.setErrors(r.errors):null==n||n.reset(null==r?void 0:r.values))};return(t,i)=>{const r=bi("FormKit");return jr(),Br(r,Jr({ref:e=>{var n;return null==(n=t.formRef)?void 0:n.call(t,e)},type:"form",actions:!1,config:t.config,"incomplete-message":!1,errors:t.errors,"model-value":t.modelValue,novalidate:""},Ti({submit:n}),{onSubmitInvalid:t.onSubmitInvalid,"onUpdate:modelValue":e["onUpdate:modelValue"]}),{default:bn(e=>[Ur(Of,{legend:t.legend,inline:t.inline},{default:bn(()=>[Oi(t.$slots,"default",G(qr(e)))]),_:2},1032,["legend","inline"]),t.actions?(jr(),Br(Af,{key:0,variant:"string"==typeof t.actions?t.actions:"standard"},{default:bn(()=>[Oi(t.$slots,"actions",G(qr(e)))]),_:2},1032,["variant"])):Yr("",!0)]),_:3},16,["config","errors","model-value","onSubmitInvalid","onUpdate:modelValue"])}}}),Pf=(Boolean,Boolean,{classes:{type:Object,required:!1},description:{type:String,required:!1},disabled:{type:[Boolean,String],required:!1},errors:{type:Array,required:!1},help:{type:String,required:!1},ignore:{type:Boolean,required:!1},id:{type:String,required:!1,default:({name:t})=>t?`input_${t}`:void 0},label:{type:String,required:!1,default:({name:t})=>lu.startCase(t)},modelValue:{required:!1},name:{type:String,required:!1},onInput:{type:[Function,Array],required:!1},"onUpdate:modelValue":{type:[Function,Array],required:!1},prefix:{type:String,required:!1},preserve:{type:Boolean,required:!1,default:!1},prefixIcon:{type:String,required:!1},required:{type:Boolean,required:!1,default:void 0},span:{type:[String,Object],required:!1,default:()=>Sn(Cf,!1)?{mobile:"12",small:"6"}:void 0},suffix:{type:String,required:!1},suffixIcon:{type:String,required:!1},validation:{type:String,required:!1},validationLabel:{type:[String,Function],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1}}),Ef=(Boolean,Un({__name:"field",props:{...Pf,sectionsSchema:{type:Object,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=_o(()=>e.required?function(...t){return t.filter(Boolean).join("|")}("required",e.validation):e.validation),i=_e(_f),r=_o(()=>({outer:{attrs:{style:kf(e.span)}},label:{$el:"div",if:"$label || $description || $required",children:[{$cmp:i,children:"$label",props:{description:"$description",required:"$required",for:"$id"}}]},...e.sectionsSchema})),o=t=>{t.addProps(["description","required"])};return(i,s)=>{const a=bi("FormKit");return jr(),Br(a,Jr({id:i.id,classes:Te(Sf)({outer:i.$attrs.class},i.classes),description:i.description,disabled:i.disabled||void 0,errors:i.errors,help:i.help,ignore:i.ignore,label:i.label,"model-value":i.modelValue,name:i.name,"outer-class":i.span&&Te(xf).formSpan,preserve:i.preserve,plugins:[o],required:i.required,"sections-schema":r.value,type:t.type,validation:n.value,"validation-label":i.validationLabel,"validation-messages":i.validationMessages,"validation-rules":i.validationRules,"onUpdate:modelValue":e["onUpdate:modelValue"]},Ti({input:i.onInput})),Ci({_:2},[ki(i.$slots,(t,e)=>({name:e,fn:bn(t=>[Oi(i.$slots,e,G(qr(t)))])})),i.$slots.label?{name:"label",fn:bn(t=>[Ur(_f,{for:i.id,description:i.description,required:i.required},{default:bn(()=>[Oi(i.$slots,"label",G(qr(t)))]),_:2},1032,["for","description","required"])]),key:"0"}:void 0,i.$slots.help?{name:"help",fn:bn(t=>[Hr("div",{class:q(i.$style.help)},[Oi(i.$slots,"help",G(qr(t)))],2)]),key:"1"}:void 0]),1040,["id","classes","description","disabled","errors","help","ignore","label","model-value","name","outer-class","preserve","plugins","required","sections-schema","type","validation","validation-label","validation-messages","validation-rules","onUpdate:modelValue"])}}})),Mf=pu(Ef,[["__cssModules",{$style:{help:"_help_l44b4_1"}}]]),Lf=["for"],$f=["for"],jf=Un({__name:"input",props:{...Pf,placeholder:{type:String,required:!1},type:{type:[String,Object],required:!0}},setup(t){const e=t,n=ke(!1);return(t,i)=>(jr(),Br(Mf,Jr(e,{classes:Te(Sf)({inner:{[t.$style.input]:!0,[Te(xf).inputControl]:!0,[Te(xf).focused]:n.value},input:Te(xf).inputHide},t.classes),onFocus:i[0]||(i[0]=t=>n.value=!0),onBlur:i[1]||(i[1]=t=>n.value=!1)}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])})),t.$slots.prefix||t.prefix||t.prefixIcon?{name:"prefix",fn:bn(e=>[Hr("label",{for:t.id,class:q(t.$style.prefix)},[t.prefixIcon?(jr(),Br(Te(mu),{key:0,icon:t.prefixIcon},null,8,["icon"])):Yr("",!0),Oi(t.$slots,"prefix",G(qr(e)),()=>[Xr(J(t.prefix),1)])],10,Lf)]),key:"0"}:void 0,t.$slots.suffix||t.suffix||t.suffixIcon?{name:"suffix",fn:bn(e=>[Hr("label",{for:t.id,class:q(t.$style.suffix)},[t.suffixIcon?(jr(),Br(Te(mu),{key:0,icon:t.suffixIcon},null,8,["icon"])):Yr("",!0),Oi(t.$slots,"suffix",G(qr(e)),()=>[Xr(J(t.suffix),1)])],10,$f)]),key:"1"}:void 0]),1040,["classes"]))}}),Df=pu(jf,[["__cssModules",{$style:{input:"_input_1rnut_1",prefixSuffix:"_prefixSuffix_1rnut_4",prefix:"_prefix_1rnut_4",suffix:"_suffix_1rnut_6"}}]]);function If(){return Math.random().toString(36).substring(2,15)}function Nf(t,e){return[...t instanceof Set?t:new Set(t)]}function Rf(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Bf(t,e,n=!0,i=["__key"]){if(t===e)return!0;if("object"==typeof e&&"object"==typeof t){if(t instanceof Map||t instanceof Set||t instanceof Date||null===t||null===e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n of i)if((n in t||n in e)&&t[n]!==e[n])return!1;for(const r in t)if(!(r in e)||t[r]!==e[r]&&!n||n&&!Bf(t[r],e[r],n,i))return!1;return!0}return!1}function Vf(t){const e=typeof t;if("number"===e)return!1;if(void 0===t)return!0;if("string"===e)return""===t;if("object"===e){if(null===t)return!0;for(const e in t)return!1;return!(t instanceof RegExp||t instanceof Date)}return!1}function zf(t){return"[object Object]"===Object.prototype.toString.call(t)}function Ff(t){return zf(t)||Array.isArray(t)}function Wf(t){if(!1===zf(t)||t.__FKNode__||!1===t.__POJO__)return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!(!1===zf(n)||!1===n.hasOwnProperty("isPrototypeOf"))}function Hf(t,e,n=!1,i=!1){if(null===e)return null;const r={};if("string"==typeof e)return e;for(const o in t)if(!Rf(e,o)||void 0===e[o]&&i)r[o]=t[o];else{if(n&&Array.isArray(t[o])&&Array.isArray(e[o])){r[o]=t[o].concat(e[o]);continue}if(void 0===e[o])continue;Wf(t[o])&&Wf(e[o])?r[o]=Hf(t[o],e[o],n,i):r[o]=e[o]}for(const t in e)!Rf(r,t)&&void 0!==e[t]&&(r[t]=e[t]);return r}function Uf(...t){return t.reduce((t,e)=>{const{value:n,name:i,modelValue:r,config:o,plugins:s,...a}=e;return Object.assign(t,a)},{})}function qf(t,e){const n={},i=e.filter(t=>t instanceof RegExp),r=new Set(e);for(const e in t)!r.has(e)&&!i.some(t=>t.test(e))&&(n[e]=t[e]);return n}function Gf(t,e){const n={},i=e.filter(t=>t instanceof RegExp);return e.forEach(e=>{e instanceof RegExp||(n[e]=t[e])}),Object.keys(t).forEach(e=>{i.some(t=>t.test(e))&&(n[e]=t[e])}),n}function Xf(t){return t.replace(/-([a-z0-9])/gi,(t,e)=>e.toUpperCase())}function Yf(t){return t.replace(/([a-z0-9])([A-Z])/g,(t,e,n)=>e+"-"+n.toLowerCase()).replace(" ","-").toLowerCase()}function Kf(t,e=["__key","__init"]){if(null===t||t instanceof RegExp||t instanceof Date||t instanceof Map||t instanceof Set||"function"==typeof File&&t instanceof File)return t;let n;n=Array.isArray(t)?t.map(t=>"object"==typeof t?Kf(t,e):t):Object.keys(t).reduce((n,i)=>(n[i]="object"==typeof t[i]?Kf(t[i],e):t[i],n),{});for(const i of e)i in t&&Object.defineProperty(n,i,{enumerable:!1,value:t[i]});return n}function Zf(t){return"object"==typeof t?Kf(t):t}function Qf(t){return void 0!==t&&"false"!==t&&!1!==t||void 0}function Jf(t){return Object.isFrozen(t)?t:Object.defineProperty(t,"__init",{enumerable:!1,value:!0})}function tg(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]/g," ").trim().replace(/\s+/g,"-")}function eg(){const t=[];let e=0;const n=e=>t.push(e),i=n=>{const r=t[e];return"function"==typeof r?r(n,t=>(e++,i(void 0===t?n:t))):(e=0,n)};return n.dispatch=i,n.unshift=e=>t.unshift(e),n.remove=e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},n}function ng(){const t=new Map,e=new Map;let n;const i=(e,i)=>{n?n.set(i.name,[e,i]):(t.has(i.name)&&t.get(i.name).forEach(t=>{(i.origin===e||t.modifiers.includes("deep"))&&t.listener(i)}),i.bubble&&e.bubble(i))};return i.on=(n,i)=>{const[r,...o]=n.split("."),s=i.receipt||If(),a={modifiers:o,event:r,listener:i,receipt:s};return t.has(r)?t.get(r).push(a):t.set(r,[a]),e.has(s)?e.get(s).push(r):e.set(s,[r]),s},i.off=n=>{var i;e.has(n)&&(null===(i=e.get(n))||void 0===i||i.forEach(e=>{const i=t.get(e);Array.isArray(i)&&t.set(e,i.filter(t=>t.receipt!==n))}),e.delete(n))},i.pause=t=>{n||(n=new Map),t&&t.walk(t=>t._e.pause())},i.play=t=>{if(!n)return;const e=n;n=void 0,e.forEach(([t,e])=>i(t,e)),t&&t.walk(t=>t._e.play())},i}Boolean;const ig=eg();ig((t,e)=>(t.message||(t.message=`E${t.code}`),e(t)));const rg=eg();function og(t,e={}){rg.dispatch({code:t,data:e})}function sg(t,e={}){throw Error(ig.dispatch({code:t,data:e}).message)}function ag(t,e){return{blocking:!1,key:If(),meta:{},type:"state",visible:!0,...t}}rg((t,e)=>{t.message||(t.message=`W${t.code}`);const n=e(t);return console&&"function"==typeof console.warn&&console.warn(n.message),n});const lg={apply:function(t,e,n,i,r){if(Array.isArray(i)){if(e.buffer)return void e._b.push([i,r]);const t=new Set(i.map(t=>(e.set(t),t.key)));"string"==typeof r?e.filter(e=>e.type!==r||t.has(e.key)):"function"==typeof r&&e.filter(e=>!r(e)||t.has(e.key))}else for(const t in i){const o=n.at(t);o?o.store.apply(i[t],r):hg(n,e,t,i[t],r)}},set:function(t,e,n,i){if(e.buffer)return e._b.push([[i]]),e;if(t[i.key]!==i){if("string"==typeof i.value&&!1!==i.meta.localize){const t=i.value;i.value=n.t(i),i.value!==t&&(i.meta.locale=n.props.locale)}const e="message-"+(Rf(t,i.key)?"updated":"added");t[i.key]=Object.freeze(n.hook.message.dispatch(i)),n.emit(e,i)}return e},remove:ug,filter:function(t,e,n,i,r){for(const o in t){const s=t[o];(!r||s.type===r)&&!i(s)&&ug(t,e,n,o)}},reduce:function(t,e,n,i,r){for(const e in t)r=i(r,t[e]);return r},release:function(t,e){e.buffer=!1,e._b.forEach(([t,n])=>e.apply(t,n)),e._b=[]},touch:function(t,e){for(const n in t){const i={...t[n]};e.set(i)}}};function cg(t=!1){const e={};let n,i=t,r=[];const o=new Map;let s;const a=new Proxy(e,{get(...t){const[l,c]=t;return"buffer"===c?i:"_b"===c?r:"_m"===c?o:"_r"===c?s:Rf(lg,c)?lg[c].bind(null,e,a,n):Reflect.get(...t)},set:(t,e,o)=>"_n"===e?(n=o,"__n"===s&&dg(n,a),!0):"_b"===e?(r=o,!0):"buffer"===e?(i=o,!0):"_r"===e?(s=o,!0):(sg(101,n),!1)});return a}function ug(t,e,n,i){if(Rf(t,i)){const e=t[i];delete t[i],n.emit("message-removed",e)}return!0===e.buffer&&(e._b=e._b.filter(t=>(t[0]=t[0].filter(t=>t.key!==i),t[1]||t[0].length))),e}function hg(t,e,n,i,r){var o;const s=e._m;s.has(n)||s.set(n,[]),e._r||(e._r=dg(t,e)),null===(o=s.get(n))||void 0===o||o.push([i,r])}function dg(t,e){return t.on("child.deep",({payload:n})=>{e._m.forEach((i,r)=>{t.at(r)===n&&(i.forEach(([t,e])=>{n.store.apply(t,e)}),e._m.delete(r))}),0===e._m.size&&e._r&&(t.off(e._r),e._r=void 0)})}function pg(){const t={};let e;return{count:(...n)=>function(t,e,n,i,r=0){if(i=function(t){return"function"==typeof t?t:e=>e.type===t}(i||n),!Rf(e,n)){const o={condition:i,count:0,name:n,node:t,promise:Promise.resolve(),resolve:()=>{}};e[n]=o,r=t.store.reduce((t,e)=>t+1*o.condition(e),r),t.each(t=>{t.ledger.count(o.name,o.condition),r+=t.ledger.value(o.name)})}return fg(e[n],r).promise}(e,t,...n),init(n){e=n,n.on("message-added.deep",gg(t,1)),n.on("message-removed.deep",gg(t,-1))},merge:n=>mg(e,t,n),settled:e=>Rf(t,e)?t[e].promise:Promise.resolve(),unmerge:n=>mg(e,t,n,!0),value:e=>Rf(t,e)?t[e].count:0}}function fg(t,e){const n=t.count,i=t.count+e;return t.count=i,0===n&&0!==i?(t.node.emit(`unsettled:${t.name}`,t.count,!1),t.promise=new Promise(e=>t.resolve=e)):0!==n&&0===i&&(t.node.emit(`settled:${t.name}`,t.count,!1),t.resolve()),t.node.emit(`count:${t.name}`,t.count,!1),t}function gg(t,e){return n=>{for(const i in t){const r=t[i];r.condition(n.payload)&&fg(r,e)}}}function mg(t,e,n,i=!1){for(const r in e){const o=e[r].condition;i||n.ledger.count(r,o);const s=n.ledger.value(r)*(i?-1:1);if(t)do{t.ledger.count(r,o,s),t=t.parent}while(t)}}const vg=new Map,yg=new Map,bg=ng(),_g=[];function xg(t){return vg.get(t)}function wg(t,e,n){let i=!0;return e in t.config._t?i=!1:t.emit(`config:${e}`,n,!1),e in t.props||(t.emit("prop",{prop:e,value:n}),t.emit(`prop:${e}`,n)),i}function Sg(t){const e=document.getElementById(t);if(e instanceof HTMLFormElement){const t=new Event("submit",{cancelable:!0,bubbles:!0});return void e.dispatchEvent(t)}og(151,t)}function kg(t,e){const n="string"==typeof t?xg(t):t;if(n){const t=t=>Zf(t.props.initial)||("group"===t.type?{}:"list"===t.type?[]:void 0);n._e.pause(n),n.input(Zf(e)||t(n),!1),n.walk(e=>e.input(t(e),!1));const i=t(n);return n.input("object"==typeof i?Zf(e)||Jf(i):i,!1),n._e.play(n),function(t){const e=t=>{for(const e in t.store){const n=t.store[e];"error"===n.type||"ui"===n.type&&"incomplete"===e?t.store.remove(e):"state"===n.type&&t.store.set({...n,value:!1})}};e(t),t.walk(e)}(n),n.emit("reset",n),n}og(152,t)}const Cg={delimiter:".",delay:0,locale:"en",rootClasses:t=>({[`formkit-${Yf(t)}`]:!0})},Og=Symbol("index"),Ag=Symbol("removed"),Tg=Symbol("moved"),Pg=Symbol("inserted");function Eg(t){return t&&"object"==typeof t&&!0===t.__FKNode__}const Mg=(t,e,n)=>{sg(102,[t,n])},Lg={_c:$g(function(t,e){return e},Mg,!1),add:$g(function(t,e,n,i){if("input"===t.type&&sg(100,t),n.parent&&n.parent!==t&&n.parent.remove(n),e.children.includes(n)||(void 0!==i&&"list"===t.type?(e.children.splice(i,0,n),Array.isArray(t.value)&&t.value.length<e.children.length&&t.disturb().calm({name:i,value:n.value,from:Pg})):e.children.push(n),n.isSettled||t.disturb()),n.parent!==t){if(n.parent=t,n.parent!==t)return t.remove(n),n.parent.add(n),t}else n.use(t.plugins);return Vg(t,e,!1),t.ledger.merge(n),t.emit("child",n),t}),addProps:$g(function(t,e,n){var i;if(t.props.attrs){const r={...t.props.attrs};t.props._emit=!1;for(const e in r){const i=Xf(e);n.includes(i)&&(t.props[i]=r[e],delete r[e])}const o=Zf(e._value);t.props.initial="input"!==t.type?Jf(o):o,t.props._emit=!0,t.props.attrs=r,t.props.definition&&(t.props.definition.props=[...(null===(i=t.props.definition)||void 0===i?void 0:i.props)||[],...n])}return t.emit("added-props",n),t}),address:$g(function(t,e){return e.parent?e.parent.address.concat([t.name]):[t.name]},Mg,!1),at:$g(function(t,e,n){const i="string"==typeof n?n.split(t.config.delimiter):n;if(!i.length)return;const r=i[0];let o=t.parent;for(o||(String(i[0])===String(t.name)&&i.shift(),o=t),"$parent"===r&&i.shift();o&&i.length;){const e=i.shift();switch(e){case"$root":o=t.root;break;case"$parent":o=o.parent;break;case"$self":o=t;break;default:o=o.children.find(t=>String(t.name)===String(e))||Wg(o,e)}}return o||void 0}),bubble:$g(function(t,e,n){return Eg(t.parent)&&t.parent._e(t.parent,n),t}),clearErrors:$g(function(t,e,n=!0,i){return Ug(t,0,[]),n&&(i=i||`${t.name}-set`,t.walk(t=>{t.store.filter(t=>!("error"===t.type&&t.meta&&t.meta.source===i))})),t}),calm:$g(function(t,e,n){var i;if(void 0!==n&&"input"!==t.type)return zg(e,n),Vg(t,e,!0,!1);e._d>0&&e._d--,0===e._d&&(e.isSettled=!0,t.emit("settled",!0,!1),t.parent&&(null===(i=t.parent)||void 0===i||i.calm({name:t.name,value:e.value})),e._resolve&&e._resolve(e.value))}),config:$g(!1),define:$g(function(t,e,n){e.type=n.type,e.props.definition=Kf(n),e.value=e._value=Rg({type:t.type,value:e.value}),n.forceTypeProp&&(t.props.type&&(t.props.originalType=t.props.type),e.props.type=n.forceTypeProp),n.family&&(e.props.family=n.family),n.features&&n.features.forEach(e=>e(t)),n.props&&t.addProps(n.props),t.emit("defined",n)}),disturb:$g(function(t,e){var n;return e._d<=0&&(e.isSettled=!1,t.emit("settled",!1,!1),e.settled=new Promise(t=>{e._resolve=t}),t.parent&&(null===(n=t.parent)||void 0===n||n.disturb())),e._d++,t}),destroy:$g(function(t,e){t.emit("destroying",t),t.store.filter(()=>!1),t.parent&&t.parent.remove(t),function(t){if(yg.has(t)){const e=yg.get(t);yg.delete(t),vg.delete(e),bg(t,{payload:null,name:e,bubble:!1,origin:t})}}(t),e._value=e.value=void 0,t.emit("destroyed",t)}),hydrate:$g(function(t,e){const n=e._value;return e.children.forEach(i=>{if("object"==typeof n)if(i.name in n){const t="input"!==i.type||n[i.name]&&"object"==typeof n[i.name]?Jf(n[i.name]):n[i.name];i.input(t,!1)}else("list"!==t.type||"number"==typeof i.name)&&zg(e,{name:i.name,value:i.value}),n.__init||("group"===i.type?i.input({},!1):"list"===i.type?i.input([],!1):i.input(void 0,!1))}),t}),index:$g(function(t){if(t.parent){const e=[...t.parent.children].indexOf(t);return-1===e?t.parent.children.length:e}return-1},function(t,e,n,i){if(Eg(t.parent)){const e=t.parent.children,n=i>=e.length?e.length-1:i<0?0:i,r=e.indexOf(t);return-1!==r&&(e.splice(r,1),e.splice(n,0,t),t.parent.children=e,"list"===t.parent.type&&t.parent.disturb().calm({name:n,value:Tg,from:r}),!0)}return!1},!1),input:$g(Bg),each:$g(function(t,e,n){e.children.forEach(t=>n(t))}),emit:$g(function(t,e,n,i,r=!0){return e._e(t,{payload:i,name:n,bubble:r,origin:t}),t}),find:$g(function(t,e,n,i){return function(t,e,n="name"){const i="string"==typeof n?t=>t[n]==e:n,r=[t];for(;r.length;){const t=r.shift();if(i(t,e))return t;r.push(...t.children)}}(t,n,i)}),on:$g(function(t,e,n,i){return e._e.on(n,i)}),off:$g(function(t,e,n){return e._e.off(n),t}),parent:$g(!1,function(t,e,n,i){return Eg(i)?(t.parent&&t.parent!==i&&t.parent.remove(t),e.parent=i,t.resetConfig(),i.children.includes(t)?t.use(i.plugins):i.add(t),!0):null===i&&(e.parent=null,!0)}),plugins:$g(!1),remove:$g(function(t,e,n){const i=e.children.indexOf(n);if(-1!==i){n.isSettled&&t.disturb(),e.children.splice(i,1);let r=Qf(n.props.preserve),o=n.parent;for(;void 0===r&&o;)r=Qf(o.props.preserve),o=o.parent;r?t.calm():t.calm({name:"list"===t.type?i:n.name,value:Ag}),n.parent=null,n.config._rmn=n}return t.ledger.unmerge(n),t}),root:$g(function(t){let e=t;for(;e.parent;)e=e.parent;return e},Mg,!1),reset:$g(function(t,e,n){return kg(t,n)}),resetConfig:$g(function(t,e){const n=t.parent||void 0;e.config=Hg(t.config._t,n),t.walk(t=>t.resetConfig())}),setErrors:$g(Ug),submit:$g(function(t){const e=t.name;do{if(!0===t.props.isForm)break;t.parent||sg(106,e),t=t.parent}while(t);t.props.id&&Sg(t.props.id)}),t:$g(function(t,e,n,i="ui"){const r="string"==typeof n?{key:n,value:n,type:i}:n,o=t.hook.text.dispatch(r);return t.emit("text",o,!1),o.value}),use:$g(Fg),name:$g(function(t,e){var n;return"list"===(null===(n=t.parent)||void 0===n?void 0:n.type)?t.index:e.name!==Og?e.name:t.index},!1,!1),walk:$g(function(t,e,n,i=!1){e.children.forEach(t=>{(!1!==n(t)||!i)&&t.walk(n)})})};function $g(t,e,n=!0){return{get:!!t&&((e,i)=>n?(...n)=>t(e,i,...n):t(e,i)),set:void 0!==e?e:Mg.bind(null)}}function jg(){const t=new Map;return new Proxy(t,{get:(e,n)=>(t.has(n)||t.set(n,eg()),t.get(n))})}let Dg=0,Ig=0;function Ng(t){var e,n;return"list"===(null===(e=t.parent)||void 0===e?void 0:e.type)?Og:t.name||`${(null===(n=t.props)||void 0===n?void 0:n.type)||"input"}_${++Dg}`}function Rg(t){return"group"===t.type?Jf(t.value&&"object"==typeof t.value&&!Array.isArray(t.value)?t.value:{}):"list"===t.type?Jf(Array.isArray(t.value)?t.value:[]):null===t.value?"":t.value}function Bg(t,e,n,i=!0){return e._value=function(t,e){switch(t.type){case"input":break;case"group":(!e||"object"!=typeof e)&&sg(107,[t,e]);break;case"list":Array.isArray(e)||sg(108,[t,e])}return e}(t,t.hook.input.dispatch(n)),t.emit("input",e._value),e.isSettled&&t.disturb(),i?(e._tmo&&clearTimeout(e._tmo),e._tmo=setTimeout(Vg,t.props.delay,t,e)):Vg(t,e),e.settled}function Vg(t,e,n=!0,i=!0){e._value=e.value=t.hook.commit.dispatch(e._value),"input"!==t.type&&i&&t.hydrate(),t.emit("commit",e.value),n&&t.calm()}function zg(t,{name:e,value:n,from:i}){if(!Object.isFrozen(t._value)){if(function(t){return"list"===t.type&&Array.isArray(t._value)}(t)){const r=n===Ag?[]:n===Tg&&"number"==typeof i?t._value.splice(i,1):[n];return void t._value.splice(e,n===Tg||i===Pg?0:1,...r)}n!==Ag?t._value[e]=n:delete t._value[e]}}function Fg(t,e,n,i=!0,r=!0){return Array.isArray(n)||n instanceof Set?(n.forEach(n=>Fg(t,e,n)),t):(e.plugins.has(n)||(r&&"function"==typeof n.library&&n.library(t),i&&!1!==n(t)&&(e.plugins.add(n),t.children.forEach(t=>t.use(n)))),t)}function Wg(t,e){const n=String(e).match(/^(find)\((.*)\)$/);if(n){const[,e,i]=n,r=i.split(",").map(t=>t.trim());return"find"===e?t.find(r[0],r[1]):void 0}}function Hg(t={},e){let n;return new Proxy(t,{get(...i){const r=i[1];if("_t"===r)return t;const o=Reflect.get(...i);if(void 0!==o)return o;if(e){const t=e.config[r];if(void 0!==t)return t}if(t.rootConfig&&"string"==typeof r){const e=t.rootConfig[r];if(void 0!==e)return e}return"delay"===r&&"input"===(null==n?void 0:n.type)?20:Cg[r]},set(...e){const i=e[1],r=e[2];if("_n"===i)return n=r,t.rootConfig&&t.rootConfig._add(n),!0;if("_rmn"===i)return t.rootConfig&&t.rootConfig._rm(n),n=void 0,!0;if(!Bf(t[i],r,!1)){const t=Reflect.set(...e);return n&&(n.emit(`config:${i}`,r,!1),wg(n,i,r),n.walk(t=>wg(t,i,r),!0)),t}return!0}})}function Ug(t,e,n,i){const r=`${t.name}-set`,o=t.hook.setErrors.dispatch({localErrors:n,childErrors:i});return function(t,...e){const n=`${t.name}-set`,i=t=>ag({key:tg(t),type:"error",value:t,meta:{source:n,autoClear:!0}});return e.filter(t=>!!t).map(t=>{if("string"==typeof t&&(t=[t]),Array.isArray(t))return t.map(t=>i(t));{const e={};for(const n in t)Array.isArray(t[n])?e[n]=t[n].map(t=>i(t)):e[n]=[i(t[n])];return e}})}(t,o.localErrors,o.childErrors).forEach(e=>{t.store.apply(e,t=>t.meta.source===r)}),t}function qg(t){const e={initial:"object"==typeof t?Zf(t):t};let n,i=!0;return new Proxy(e,{get(...t){const[i,r]=t;return Rf(e,r)?Reflect.get(...t):n&&"string"==typeof r&&void 0!==n.config[r]?n.config[r]:void 0},set(t,r,o,s){if("_n"===r)return n=o,!0;if("_emit"===r)return i=o,!0;const{prop:a,value:l}=n.hook.prop.dispatch({prop:r,value:o});if(!Bf(e[a],l,!1)||"object"==typeof l){const e=Reflect.set(t,a,l,s);return i&&(n.emit("prop",{prop:a,value:l}),"string"==typeof a&&n.emit(`prop:${a}`,l)),e}return!0}})}function Gg(t){const e=t||{},n=function(t){const e=Rg(t),n=Hg(t.config||{},t.parent);return{_d:0,_e:ng(),_resolve:!1,_tmo:!1,_value:e,children:Nf(t.children||[]),config:n,hook:jg(),isCreated:!1,isSettled:!0,ledger:pg(),name:Ng(t),parent:t.parent||null,plugins:new Set,props:qg(e),settled:Promise.resolve(e),store:cg(!0),traps:new Map(Object.entries(Lg)),type:t.type||"input",value:e}}(e),i=new Proxy(n,{get(...t){const[,e]=t;if("__FKNode__"===e)return!0;const r=n.traps.get(e);return r&&r.get?r.get(i,n):Reflect.get(...t)},set(...t){const[,e,r]=t,o=n.traps.get(e);return o&&o.set?o.set(i,n,e,r):Reflect.set(...t)}});return function(t,e){var n;if(t.ledger.init(t.store._n=t.props._n=t.config._n=t),t.props._emit=!1,e.props&&Object.assign(t.props,e.props),t.props._emit=!0,function(t,e){if(t.props.definition)return t.define(t.props.definition);for(const n of e){if(t.props.definition)return;"function"==typeof n.library&&n.library(t)}}(t,new Set([...e.plugins||[],...t.parent?t.parent.plugins:[]])),e.plugins)for(const n of e.plugins)Fg(t,t._c,n,!0,!1);return function(t){Rf(t.props,"id")||(t.props.id="input_"+Ig++)}(t),t.each(e=>t.add(e)),t.parent&&t.parent.add(t,e.index),"input"===t.type&&t.children.length&&sg(100,t),Bg(t,t._c,t._value,!1),t.store.release(),!(null===(n=e.props)||void 0===n)&&n.id&&function(t){t.props.id&&(vg.set(t.props.id,t),yg.set(t,t.props.id),bg(t,{payload:t,name:t.props.id,bubble:!1,origin:t}))}(t),t.emit("created",t),t.isCreated=!0,t}(i,e)}function Xg(t){return"string"!=typeof t&&Rf(t,"$el")}function Yg(t){return"string"!=typeof t&&Rf(t,"$cmp")}function Kg(t){return!(!t||"string"==typeof t)&&Rf(t,"if")&&Rf(t,"then")}function Zg(t){let e;const n=new Set,i=function(t,e){return"function"==typeof t?t(e):t},r=[{"&&":(t,e,n)=>i(t,n)&&i(e,n),"||":(t,e,n)=>i(t,n)||i(e,n)},{"===":(t,e,n)=>i(t,n)===i(e,n),"!==":(t,e,n)=>i(t,n)!==i(e,n),"==":(t,e,n)=>i(t,n)==i(e,n),"!=":(t,e,n)=>i(t,n)!=i(e,n),">=":(t,e,n)=>i(t,n)>=i(e,n),"<=":(t,e,n)=>i(t,n)<=i(e,n),">":(t,e,n)=>i(t,n)>i(e,n),"<":(t,e,n)=>i(t,n)<i(e,n)},{"+":(t,e,n)=>i(t,n)+i(e,n),"-":(t,e,n)=>i(t,n)-i(e,n)},{"*":(t,e,n)=>i(t,n)*i(e,n),"/":(t,e,n)=>i(t,n)/i(e,n),"%":(t,e,n)=>i(t,n)%i(e,n)}],o=r.reduce((t,e)=>t.concat(Object.keys(e)),[]),s=new Set(o.map(t=>t.charAt(0)));function a(t,e,n,i){const r=t.filter(t=>t.startsWith(e));return!!r.length&&r.find(t=>i.length>=n+t.length&&i.substring(n,n+t.length)===t&&t)}function l(t,e,n=1){let i=n?e.substring(t+1).trim():e.substring(0,t).trim();if(!i.length)return-1;if(!n){const t=i.split("").reverse(),e=t.findIndex(t=>s.has(t));i=t.slice(e).join("")}const o=i[0];return r.findIndex(t=>!!a(Object.keys(t),o,0,i))}function c(t,e){let n="";const i=e.length;let r=0;for(let s=t;s<i;s++){const t=e.charAt(s);if("("===t)r++;else if(")"===t)r--;else if(0===r&&" "===t)continue;if(0===r&&a(o,t,s,e))return[n,s-1];n+=t}return[n,e.length-1]}function u(t,e=0){const n=r[e],i=t.length,o=Object.keys(n);let s,u=0,d=!1,p=null,f="",g=null,m="",v="",y="",b="",_=0;const x=(t,e)=>{t?y+=e:f+=e};for(let r=0;r<i;r++)if(m=v,v=t.charAt(r),"'"!==v&&'"'!==v||"\\"===m||!(0===u&&!d||u&&!b))if(d&&(v!==d||"\\"===m)||b&&(v!==b||"\\"===m))x(u,v);else if(d!==v)if(b!==v){if(" "!==v)if("("===v)0===u?_=r:y+=v,u++;else if(")"===v)if(u--,0===u){const n="string"==typeof f&&f.startsWith("$")?f:void 0,i=n&&"."===t.charAt(r+1);let o="";i&&([o,r]=c(r+2,t));const s=p?e:l(_,t,0),a=l(r,t);-1===s&&-1===a?f=h(y,-1,n,o):p&&(s>=a||-1===a)&&e===s?(g=p.bind(null,h(y,-1,n,o)),p=null,f=""):a>s&&e===a?f=h(y,-1,n,o):f+=`(${y})${i?`.${o}`:""}`,y=""}else y+=v;else{if(0===u&&(s=a(o,v,r,t))){0===r&&sg(103,[s,t]),r+=s.length-1,r===t.length-1&&sg(104,[s,t]),p?f&&(g=p.bind(null,h(f,e)),p=n[s].bind(null,g),f=""):g?(p=n[s].bind(null,h(g,e)),g=null):(p=n[s].bind(null,h(f,e)),f="");continue}x(u,v)}}else b=!1,x(u,v);else d=!1,x(u,v);else u?b=v:d=v,x(u,v);return f&&p&&(p=p.bind(null,h(f,e))),p=!p&&g?g:p,!p&&f&&(p=(t,e)=>"function"==typeof t?t(e):t,p=p.bind(null,h(f,e))),!p&&!f&&sg(105,t),p}function h(t,i,o,s){if(o){const n=h(o,r.length);let i,a=!!s&&Zg(`$${s}`);if("function"==typeof n){const r=function(t){const e=[];let n="",i=0,r="",o="";for(let s=0;s<t.length;s++){const a=t.charAt(s);a===r&&"\\"!==o?r="":"'"!==a&&'"'!==a||r||"\\"===o?"("!==a||r?")"===a&&!r&&i--:i++:r=a,","!==a||r||0!==i?(" "!==a||r)&&(n+=a):(e.push(n),n=""),o=a}return n&&e.push(n),e}(String(t)).map(t=>h(t,-1));return t=>{const l=n(t);return"function"!=typeof l?(og(150,o),l):(i=l(...r.map(e=>"function"==typeof e?e(t):e)),a&&(a=a.provide(t=>{const n=e(t);return t.reduce((t,e)=>{if(e===s||(null==s?void 0:s.startsWith(`${e}(`))){const n=function(t,e){if(!t||"object"!=typeof t)return null;const n=e.split(".");let i=t;for(const t in n){const e=n[t];if(Rf(i,e)&&(i=i[e]),+t===n.length-1)return i;if(!i||"object"!=typeof i)return null}return null}(i,e);t[e]=()=>n}else t[e]=n[e];return t},{})})),a?a():i)}}}else if("string"==typeof t){if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if(function(t){if('"'!==t[0]&&"'"!==t[0]||t[0]!==t[t.length-1])return!1;const e=t[0];for(let n=1;n<t.length;n++)if(t[n]===e&&(1===n||"\\"!==t[n-1])&&n!==t.length-1)return!1;return!0}(t))return function(t){if(!t.length)return"";let e="",n="";for(let i=0;i<t.length;i++){const r=t.charAt(i);("\\"!==r||"\\"===n)&&(e+=r),n=r}return e}(t.substring(1,t.length-1));if(!isNaN(+t))return Number(t);if(i<r.length-1)return u(t,i+1);if(t.startsWith("$")){const e=t.substring(1);return n.add(e),function(t){return e in t?t[e]():void 0}}return t}return t}const d=u(t.startsWith("$:")?t.substring(2):t),p=Array.from(n);return Object.assign(d,{provide:function t(n){return e=n,Object.assign(d.bind(null,n(p)),{provide:t})}})}function Qg(t,e,n){return n?"string"==typeof n?n.split(" ").reduce((t,e)=>Object.assign(t,{[e]:!0}),{}):"function"==typeof n?Qg(t,e,n(e,t)):n:{}}function Jg(t,e,n){const i=xg(t);i?i.setErrors(e,n):og(651,t)}function tm(t,e=!0){const n=xg(t);n?n.clearErrors(e):og(652,t)}const em="1.0.0-beta.10",nm=sv("outer",()=>({$el:"div",attrs:{key:"$id","data-family":"$family || undefined","data-type":"$type","data-multiple":'$attrs.multiple || ($type != "select" && $options != undefined) || undefined',"data-disabled":"$disabled || undefined","data-complete":"$state.complete || undefined","data-invalid":"$state.valid === false && $state.validationVisible || undefined","data-errors":"$state.errors || undefined","data-submitted":"$state.submitted || undefined","data-prefix-icon":"$_rawPrefixIcon !== undefined || undefined","data-suffix-icon":"$_rawSuffixIcon !== undefined || undefined","data-prefix-icon-click":"$onPrefixIconClick !== undefined || undefined","data-suffix-icon-click":"$onSuffixIconClick !== undefined || undefined"}}),!0),im=sv("inner","div"),rm=sv("wrapper","div"),om=sv("label",()=>({$el:"label",if:"$label",attrs:{for:"$id"}})),sm=sv("messages",()=>({$el:"ul",if:"$fns.length($messages)"})),am=sv("message",()=>({$el:"li",for:["message","$messages"],attrs:{key:"$message.key",id:"$id + '-' + $message.key","data-message-type":"$message.type"}})),lm=sv("prefix",null),cm=sv("suffix",null),um=sv("help",()=>({$el:"div",if:"$help",attrs:{id:'$: "help-" + $id'}})),hm=sv("fieldset",()=>({$el:"fieldset",attrs:{id:"$id","aria-describedby":{if:"$help",then:'$: "help-" + $id',else:void 0}}})),dm=sv("decorator",()=>({$el:"span",attrs:{"aria-hidden":"true"}})),pm=sv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",name:"$node.props.altName || $node.name",disabled:"$option.attrs.disabled || $disabled",onInput:"$handlers.toggleChecked",checked:"$fns.eq($_value, $onValue)",onBlur:"$handlers.blur",value:"$: true",id:"$id","aria-describedby":{if:"$options.length",then:{if:"$option.help",then:'$: "help-" + $option.attrs.id',else:void 0},else:{if:"$help",then:'$: "help-" + $id',else:void 0}}}})),fm=sv("legend",()=>({$el:"legend",if:"$label"})),gm=sv("option",()=>({$el:"li",for:["option","$options"],attrs:{"data-disabled":"$option.attrs.disabled || $disabled"}})),mm=sv("options","ul"),vm=sv("wrapper",()=>({$el:"label",attrs:{"data-disabled":{if:"$options.length",then:void 0,else:"$disabled || undefined"}}})),ym=sv("optionHelp",()=>({$el:"div",if:"$option.help",attrs:{id:'$: "help-" + $option.attrs.id'}})),bm=sv("label","span"),_m=sv("input",()=>({$el:"button",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",id:"$id"}})),xm=sv("default",null),wm=sv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"file",disabled:"$disabled",name:"$node.name",onChange:"$handlers.files",onBlur:"$handlers.blur",id:"$id","aria-describedby":"$describedBy"}})),Sm=sv("fileItem",()=>({$el:"li",for:["file","$value"]})),km=sv("fileList",()=>({$el:"ul",if:"$value.length",attrs:{"data-has-multiple":{if:"$value.length > 1",then:"true"}}})),Cm=sv("fileName",()=>({$el:"span",attrs:{class:"$classes.fileName"}})),Om=sv("fileRemove",()=>({$el:"button",attrs:{onClick:"$handlers.resetFiles"}})),Am=sv("noFiles",()=>({$el:"span",if:"$value.length == 0"})),Tm=sv("form",()=>({$el:"form",bind:"$attrs",attrs:{id:"$id",name:"$node.name",onSubmit:"$handlers.submit","data-loading":"$state.loading || undefined"}}),!0),Pm=sv("actions",()=>({$el:"div",if:"$actions"})),Em=sv("submit",()=>({$cmp:"FormKit",bind:"$submitAttrs",props:{ignore:!0,type:"submit",disabled:"$disabled",label:"$submitLabel"}})),Mm=sv("input",()=>({$el:"input",bind:"$attrs",attrs:{type:"$type",disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"}})),Lm=sv("wrapper",null,!0),$m=sv("input",()=>({$el:"select",bind:"$attrs",attrs:{id:"$id","data-placeholder":{if:"$placeholder",then:{if:"$value",then:void 0,else:"true"}},disabled:"$disabled",class:"$classes.input",name:"$node.name",onChange:"$handlers.onChange",onInput:"$handlers.selectInput",onBlur:"$handlers.blur","aria-describedby":"$describedBy"}})),jm=sv("option",()=>({$el:"option",for:["option","$options"],bind:"$option.attrs",attrs:{class:"$classes.option",value:"$option.value",selected:"$fns.isSelected($option.value)"}})),Dm=sv("input",()=>({$el:"textarea",bind:"$attrs",attrs:{disabled:"$disabled",name:"$node.name",onInput:"$handlers.DOMInput",onBlur:"$handlers.blur",value:"$_value",id:"$id","aria-describedby":"$describedBy"},children:"$initialValue"})),Im=(t,e)=>sv(`${t}Icon`,()=>{const n=`_raw${t.charAt(0).toUpperCase()}${t.slice(1)}Icon`;return{if:`$${t}Icon && $${n}`,$el:`${e||"span"}`,attrs:{class:`$classes.${t}Icon + " formkit-icon"`,innerHTML:`$${n}`,onClick:`$handlers.iconClick(${t})`,for:{if:`${"label"===e}`,then:"$id"}}}})();function Nm(t){return function(e,n){return"options"===e.prop&&Array.isArray(e.value)&&(e.value=e.value.map(e=>{var n;return null!==(n=e.attrs)&&void 0!==n&&n.id?e:Hf(e,{attrs:{id:`${t.name}-option-${Yf(String(e.value))}`}})}),"checkbox"===t.props.type&&!Array.isArray(t.value)&&(t.isCreated?t.input([],!1):t.on("created",()=>{Array.isArray(t.value)||t.input([],!1)}))),n(e)}}function Rm(t,e){if(Array.isArray(t))for(const n of t)if(e==n.value)return"__original"in n?n.__original:n.value;return e}function Bm(t,e){return t==e||!(!Wf(t)||!Wf(e))&&Bf(t,e)}function Vm(t){t.hook.prop((t,e)=>{if("options"===t.prop){const e=function(t){let e=1;return Array.isArray(t)?t.map(t=>"string"==typeof t||"number"==typeof t?{label:t,value:t}:("object"==typeof t&&"value"in t&&"string"!=typeof t.value&&Object.assign(t,{value:"__mask_"+e++,__original:t.value}),t)):Object.keys(t).map(e=>({label:t[e],value:e}))}(t.value);t.value=e}return e(t)})}function zm(t,e){const n=e.target;if(n instanceof HTMLInputElement){const e=Array.isArray(t.props.options)?Rm(t.props.options,n.value):n.value;Array.isArray(t.props.options)&&t.props.options.length?Array.isArray(t._value)?t._value.some(t=>Bm(e,t))?t.input(t._value.filter(t=>!Bm(e,t))):t.input([...t._value,e]):t.input([e]):n.checked?t.input(t.props.onValue):t.input(t.props.offValue)}}function Fm(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,!!Array.isArray(t._value)&&t._value.some(n=>Bm(Rm(t.props.options,e),n))}function Wm(t){t.on("created",()=>{t.props.disabled=Qf(t.props.disabled)}),t.hook.prop(({prop:t,value:e},n)=>n({prop:t,value:e="disabled"===t?Qf(e):e})),t.on("prop:disabled",({payload:e})=>{t.config.disabled=Qf(e)}),t.on("created",()=>{t.config.disabled=Qf(t.props.disabled)})}function Hm(t,e){return n=>{n.store.set(ag({key:t,type:"ui",value:e||t,meta:{localize:!0,i18nArgs:[n]}}))}}const Um=typeof window<"u";function qm(t){t.target instanceof HTMLElement&&t.target.hasAttribute("data-file-hover")&&t.target.removeAttribute("data-file-hover")}function Gm(t,e){e.target instanceof HTMLInputElement?"dragover"===t&&e.target.setAttribute("data-file-hover","true"):e.preventDefault(),"drop"===t&&qm(e)}async function Xm(t,e){if(e.preventDefault(),await t.settled,t.walk(t=>{t.store.set(ag({key:"submitted",value:!0,visible:!1}))}),"function"==typeof t.props.onSubmitRaw&&t.props.onSubmitRaw(e,t),t.ledger.value("blocking"))"function"==typeof t.props.onSubmitInvalid&&t.props.onSubmitInvalid(t),!1!==t.props.incompleteMessage&&t.store.set(ag({blocking:!1,key:"incomplete",meta:{localize:void 0===t.props.incompleteMessage,i18nArgs:[{node:t}],showAsMessage:!0},type:"ui",value:t.props.incompleteMessage||"Form incomplete."}));else if("function"==typeof t.props.onSubmit){const e=t.props.onSubmit(t.hook.submit.dispatch(Kf(t.value)),t);if(e instanceof Promise){const n=void 0===t.props.disabled&&"live"!==t.props.submitBehavior;n&&(t.props.disabled=!0),t.store.set(ag({key:"loading",value:!0,visible:!1})),await e,n&&(t.props.disabled=!1),t.store.remove("loading")}}else e.target instanceof HTMLFormElement&&e.target.submit()}function Ym(t,e){e.target instanceof HTMLInputElement&&t.input(Rm(t.props.options,e.target.value))}function Km(t,e){var n,i;return null===(n=t.context)||void 0===n||n.value,null===(i=t.context)||void 0===i||i._value,Bm(Rm(t.props.options,e),t._value)}function Zm(t){t.on("created",()=>{var e,n;Array.isArray(t.props.options)||og(350,t),!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=Ym.bind(null,t)),null!==(n=t.context)&&void 0!==n&&n.fns&&(t.context.fns.isChecked=Km.bind(null,t))}),t.hook.prop(Nm(t))}function Qm(t,e){t.context&&t.context.value;const n=Rm(t.props.options,e);return Array.isArray(t._value)?t._value.some(t=>Bm(t,n)):void 0===t.value&&!e||Bm(n,t._value)}async function Jm(t,e){var n;"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(await new Promise(t=>setTimeout(t,0)),await t.settled,t.props.attrs.onChange(e))}function tv(t,e){const n=e.target,i=n.hasAttribute("multiple")?Array.from(n.selectedOptions).map(e=>Rm(t.props.options,e.value)):Rm(t.props.options,n.value);t.input(i)}function ev(t,e){return t.some(t=>t.attrs&&t.attrs["data-is-placeholder"])?t:[{label:e,value:"",attrs:{hidden:!0,disabled:!0,"data-is-placeholder":"true"}},...t]}function nv(t,e){return n=>{void 0===n.props[`${t}Icon`]&&(n.props[`${t}Icon`]=`default:${e}`)}}function iv(t){return"object"==typeof t&&("$el"in t||"$cmp"in t||"$formkit"in t)}function rv(t){return!!(Kg(t)&&t.if&&t.if.startsWith("$slots.")&&"string"==typeof t.then&&t.then.startsWith("$slots.")&&"else"in t)}function ov(t,e={}){return"string"==typeof t?iv(e)||"string"==typeof e?e:t:Array.isArray(t)?iv(e)?e:t:Hf(t,e)}function sv(t,e,n=!1){return(...i)=>{const r=n=>{const r=e&&"string"!=typeof e?e():{$el:e};return(Xg(r)||Yg(r))&&(r.meta||(r.meta={section:t}),i.length&&!r.children&&(r.children=[...i.map(t=>"string"==typeof t?t:t(n))]),Xg(r)&&(r.attrs={class:`$classes.${t}`,...r.attrs||{}})),{if:`$slots.${t}`,then:`$slots.${t}`,else:t in n?ov(r,n[t]):r}};return n?av(r):r}}function av(t){return e=>[t(e)]}function lv(t,e,n){return i=>{const r=e(i);return n?{if:t,then:r,else:n(i)}:(rv(r)?Object.assign(r.else,{if:t}):iv(r)&&Object.assign(r,{if:t}),r)}}function cv(t,e){return n=>{const i=t({});return rv(i)?(Array.isArray(i.else)||(i.else=ov(ov(i.else,e),n)),i):ov(ov(i,e),n)}}const uv={schema:nm(sm(am("$message.value")),rm(_m(Im("prefix"),lm(),xm("$label || $ui.submit.value"),cm(),Im("suffix"))),um("$help")),type:"input",family:"button",props:[],features:[Hm("submit"),function(t){void 0===t.props.ignore&&(t.props.ignore=!0,t.parent=null)}]},hv={schema:nm(lv("$options == undefined",vm(im(lm(),pm(),dm(Im("decorator")),cm()),lv("$label",bm("$label"))),hm(fm("$label"),um("$help"),mm(gm(vm(im(lm(),cv(pm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),dm(Im("decorator")),cm()),lv("$option.label",bm("$option.label"))),ym("$option.help"))))),lv("$options == undefined && $help",um("$help")),sm(am("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Vm,function(t){t.on("created",()=>{var e,n;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.toggleChecked=zm.bind(null,t)),!(null===(n=t.context)||void 0===n)&&n.fns&&(t.context.fns.isChecked=Fm.bind(null,t)),Rf(t.props,"onValue")||(t.props.onValue=!0),Rf(t.props,"offValue")||(t.props.offValue=!1)}),t.hook.prop(Nm(t))},nv("decorator","checkboxDecorator")]},dv={schema:nm(rm(om("$label"),im(Im("prefix","label"),lm(),wm(),km(Sm(Im("fileItem"),Cm("$file.name"),lv("$value.length === 1",Om(Im("fileRemove"),"$ui.remove.value")))),lv("$value.length > 1",Om("$ui.removeAll.value")),Am(Im("noFiles"),"$ui.noFiles.value"),cm(),Im("suffix"))),um("$help"),sm(am("$message.value"))),type:"input",family:"text",props:[],features:[function(t){Hm("noFiles","Select file")(t),Hm("removeAll","Remove all")(t),Hm("remove")(t),Um&&(window._FormKit_File_Drop||(window.addEventListener("dragover",Gm.bind(null,"dragover")),window.addEventListener("drop",Gm.bind(null,"drop")),window.addEventListener("dragleave",qm),window._FormKit_File_Drop=!0)),t.hook.input((t,e)=>e(Array.isArray(t)?t:[])),t.on("created",()=>{Array.isArray(t.value)||t.input([],!1),t.context&&(t.context.handlers.resetFiles=e=>{if(e.preventDefault(),t.input([]),t.props.id&&Um){const e=document.getElementById(t.props.id);e&&(e.value="")}},t.context.handlers.files=e=>{var n,i;const r=[];if(e.target instanceof HTMLInputElement&&e.target.files){for(let t=0;t<e.target.files.length;t++){let n;(n=e.target.files.item(t))&&r.push({name:n.name,file:n})}t.input(r)}t.context&&(t.context.files=r),"function"==typeof(null===(n=t.props.attrs)||void 0===n?void 0:n.onChange)&&(null===(i=t.props.attrs)||void 0===i||i.onChange(e))})})},nv("fileItem","fileItem"),nv("fileRemove","fileRemove"),nv("noFiles","noFiles")]},pv={schema:Tm("$slots.default",sm(am("$message.value")),Pm(Em())),type:"group",props:["actions","submit","submitLabel","submitAttrs","submitBehavior","incompleteMessage"],features:[function(t){t.props.isForm=!0,t.on("created",()=>{var e;!(null===(e=t.context)||void 0===e)&&e.handlers&&(t.context.handlers.submit=Xm.bind(null,t)),Rf(t.props,"actions")||(t.props.actions=!0)}),t.on("settled:blocking",()=>t.store.remove("incomplete"))},Wm]},fv={schema:Lm("$slots.default"),type:"group",props:[],features:[Wm]},gv={schema:function(t){return av(t)}(Mm()),type:"input",props:[],features:[]},mv={schema:Lm("$slots.default"),type:"list",props:[],features:[Wm]},vv={schema:nm(lv("$options == undefined",vm(im(lm(),pm(),dm(Im("decorator")),cm()),lv("$label",bm("$label"))),hm(fm("$label"),um("$help"),mm(gm(vm(im(lm(),cv(pm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),dm(Im("decorator")),cm()),lv("$option.label",bm("$option.label"))),ym("$option.help"))))),lv("$options == undefined && $help",um("$help")),sm(am("$message.value"))),type:"input",family:"box",props:["options","onValue","offValue"],features:[Vm,Zm,nv("decorator","radioDecorator")]},yv={schema:nm(rm(om("$label"),im(Im("prefix"),lm(),$m(lv("$slots.default",()=>"$slots.default",lv("$slots.option",()=>({$el:null,if:"$options.length",for:["option","$options"],children:"$slots.option"}),jm("$option.label")))),lv("$attrs.multiple !== undefined",()=>"",Im("select")),cm(),Im("suffix"))),um("$help"),sm(am("$message.value"))),type:"input",props:["options","placeholder"],features:[Vm,function(t){t.on("created",()=>{var e,n,i;const r=Qf(null===(e=t.props.attrs)||void 0===e?void 0:e.multiple);!r&&t.props.placeholder&&Array.isArray(t.props.options)&&(t.hook.prop(({prop:e,value:n},i)=>("options"===e&&(n=ev(n,t.props.placeholder)),i({prop:e,value:n}))),t.props.options=ev(t.props.options,t.props.placeholder)),r?void 0===t.value&&t.input([],!1):t.context&&!t.context.options&&(t.props.attrs=Object.assign({},t.props.attrs,{value:t._value}),t.on("input",({payload:e})=>{t.props.attrs=Object.assign({},t.props.attrs,{value:e})})),!(null===(n=t.context)||void 0===n)&&n.handlers&&(t.context.handlers.selectInput=tv.bind(null,t),t.context.handlers.onChange=Jm.bind(null,t)),null!==(i=t.context)&&void 0!==i&&i.fns&&(t.context.fns.isSelected=Qm.bind(null,t))}),t.hook.input((e,n)=>{var i,r,o;return!t.props.placeholder&&void 0===e&&Array.isArray(null===(i=t.props)||void 0===i?void 0:i.options)&&t.props.options.length&&!Qf(null===(o=null===(r=t.props)||void 0===r?void 0:r.attrs)||void 0===o?void 0:o.multiple)&&(e="__original"in t.props.options[0]?t.props.options[0].__original:t.props.options[0].value),n(e)})},nv("select","select")]},bv={schema:nm(rm(om("$label"),im(Im("prefix","label"),lm(),Dm(),cm(),Im("suffix"))),um("$help"),sm(am("$message.value"))),type:"input",props:[],features:[function(t){t.on("created",()=>{t.context&&(t.context.initialValue=t.value||"")})}]},_v={schema:nm(rm(om("$label"),im(Im("prefix","label"),lm(),Mm(),cm(),Im("suffix"))),um("$help"),sm(am("$message.value"))),type:"input",family:"text",props:[],features:[]};var xv=Object.freeze({__proto__:null,button:uv,submit:uv,checkbox:hv,file:dv,form:pv,group:fv,hidden:gv,list:mv,radio:vv,select:yv,textarea:bv,text:_v,color:_v,date:_v,datetimeLocal:_v,email:_v,month:_v,number:_v,password:_v,search:_v,tel:_v,time:_v,url:_v,week:_v,range:_v});const wv=sv("labelWrapper","div"),{prefixIcon:Sv,...kv}=(nm(hm(fm("$label"),um("$help"),mm(gm(vm(im(lm(),cv(pm(),{bind:"$option.attrs",attrs:{id:"$option.attrs.id",value:"$option.value",checked:"$fns.isChecked($option.value)"}}),dm(Im("decorator")),cm()),wv(lv("$option.label",bm("$option.label")),ym("$option.help")))))),sm(am("$message.value"))),nv("decorator","radioDecorator"),Pf),Cv=pu(Un({components:{InputField:Df},props:{...kv,placeholder:{type:String,default:"Search..."}}}),[["render",function(t,e,n,i,r,o){const s=bi("InputField");return jr(),Br(s,Jr(t.$props,{"prefix-icon":"magnifying-glass","input-class":t.$style.input,type:"search"}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040,["input-class"])}],["__cssModules",{$style:{input:"_input_1ijgr_1"}}]]),Ov=/(_confirm(?:ed)?)$/,Av=function({value:t},e="default"){return"trim"===e&&"string"==typeof t?!Vf(t.trim()):!Vf(t)};Av.skipEmpty=!1;const Tv=Object.freeze(Object.defineProperty({__proto__:null,accepted:function({value:t}){return["yes","on","1",1,!0,"true"].includes(t)},alpha:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż]+$/,latin:/^[a-zA-Z]+$/};return n[Rf(n,e)?e:"default"].test(String(t))},alpha_spaces:function({value:t},e="default"){const n={default:/^[a-zA-ZÀ-ÖØ-öø-ÿĄąĆćČčĎďĘęĚ죳ŃńŇňŘřŚśŠšŤťŮůŹźŻŽžż ]+$/,latin:/^[a-zA-Z ]+$/};return n[Rf(n,e)?e:"default"].test(String(t))},alphanumeric:function({value:t},e="default"){const n={default:/^[a-zA-Z0-9À-ÖØ-öø-ÿĄąĆćĘꣳŃńŚśŹźŻż]+$/,latin:/^[a-zA-Z0-9]+$/};return n[Rf(n,e)?e:"default"].test(String(t))},between:function({value:t},e,n){if(!isNaN(t)&&!isNaN(e)&&!isNaN(n)){const i=1*t;e=Number(e),n=Number(n);const[r,o]=e<=n?[e,n]:[n,e];return i>=1*r&&i<=1*o}return!1},confirm:function(t,e,n="loose"){var i;e||(e=Ov.test(t.name)?t.name.replace(Ov,""):`${t.name}_confirm`);const r=null===(i=t.at(e))||void 0===i?void 0:i.value;return"strict"===n?t.value===r:t.value==r},date_after:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i>n},date_before:function({value:t},e=!1){const n=Date.parse(e||new Date),i=Date.parse(String(t));return!isNaN(i)&&i<n},date_between:function({value:t},e,n){e=e instanceof Date?e.getTime():Date.parse(e),n=n instanceof Date?n.getTime():Date.parse(n);const i=t instanceof Date?t.getTime():Date.parse(String(t));if(e&&!n)n=e,e=Date.now();else if(!e||!i)return!1;return i>=e&&i<=n},date_format:function({value:t},e){return e&&"string"==typeof e?function(t){const e=`^${function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t)}$`,n={MM:"(0[1-9]|1[012])",M:"([1-9]|1[012])",DD:"([012][0-9]|3[01])",D:"([012]?[0-9]|3[01])",YYYY:"\\d{4}",YY:"\\d{2}"},i=Object.keys(n);return new RegExp(i.reduce((t,e)=>t.replace(e,n[e]),e))}(e).test(String(t)):!isNaN(Date.parse(String(t)))},email:function({value:t}){return/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t))},ends_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some(e=>t.endsWith(e)):"string"==typeof t&&0===e.length},is:function({value:t},...e){return e.some(e=>"object"==typeof e?Bf(e,t):e==t)},length:function({value:t},e=0,n=1/0){const i=(e=parseInt(e))<=(n=isNaN(parseInt(n))?1/0:parseInt(n))?e:n,r=n>=e?n:e;if("string"==typeof t||Array.isArray(t))return t.length>=i&&t.length<=r;if(t&&"object"==typeof t){const e=Object.keys(t).length;return e>=i&&e<=r}return!1},matches:function({value:t},...e){return e.some(e=>("string"==typeof e&&"/"===e.substr(0,1)&&"/"===e.substr(-1)&&(e=new RegExp(e.substr(1,e.length-2))),e instanceof RegExp?e.test(String(t)):e===t))},max:function({value:t},e=10){return Array.isArray(t)?t.length<=e:Number(t)<=Number(e)},min:function({value:t},e=1){return Array.isArray(t)?t.length>=e:Number(t)>=Number(e)},not:function({value:t},...e){return!e.some(e=>"object"==typeof e?Bf(e,t):e===t)},number:function({value:t}){return!isNaN(t)},required:Av,starts_with:function({value:t},...e){return"string"==typeof t&&e.length?e.some(e=>t.startsWith(e)):"string"==typeof t&&0===e.length},url:function({value:t},...e){try{const n=e.length?e:["http:","https:"],i=new URL(String(t));return n.includes(i.protocol)}catch{return!1}}},Symbol.toStringTag,{value:"Module"})),Pv=new WeakSet;function Ev(t,e){const n=e||Object.assign(new Map,{active:!1}),i=new Map,r=function(e){var i;n.active&&(n.has(t)||n.set(t,new Set),null===(i=n.get(t))||void 0===i||i.add(e))},o=function(t,e){return Eg(t)?Ev(t,n):("value"===e&&r("commit"),"props"===e?function(t){return new Proxy(t,{get:(...t)=>("string"==typeof t[1]&&r(`prop:${t[1]}`),Reflect.get(...t))})}(t):"ledger"===e?function(t){return new Proxy(t,{get:(...e)=>"value"===e[1]?e=>(r(`count:${e}`),t.value(e)):Reflect.get(...e)})}(t):t)},{proxy:s,revoke:a}=Proxy.revocable(t,{get(...t){switch(t[1]){case"deps":return n;case"watch":return t=>$v(s,t);case"observe":return()=>{const t=new Map(n);return n.clear(),n.active=!0,t};case"stopObserve":return()=>{const t=new Map(n);return n.active=!1,t};case"receipts":return i;case"kill":return()=>{Lv(i),Pv.add(t[2]),a()}}const e=Reflect.get(...t);return"function"==typeof e?(...n)=>{const i=e(...n);return o(i,t[1])}:o(e,t[1])}});return s}function Mv(t,[e,n],i){e.forEach((e,n)=>{e.forEach(e=>{t.receipts.has(n)||t.receipts.set(n,{}),t.receipts.set(n,Object.assign(t.receipts.get(n),{[e]:n.on(e,i)}))})}),n.forEach((e,n)=>{e.forEach(e=>{if(t.receipts.has(n)){const i=t.receipts.get(n);i&&Rf(i,e)&&(n.off(i[e]),delete i[e],t.receipts.set(n,i))}})})}function Lv(t){t.forEach((t,e)=>{for(const n in t)e.off(t[n])})}async function $v(t,e){const n=new Map(t.deps);t.observe();const i=e(t);i instanceof Promise&&await i;const r=t.stopObserve();Mv(t,jv(n,r),()=>$v(t,e))}function jv(t,e){const n=new Map,i=new Map;return e.forEach((e,i)=>{if(t.has(i)){const r=new Set,o=t.get(i);e.forEach(t=>!(null!=o&&o.has(t))&&r.add(t)),n.set(i,r)}else n.set(i,e)}),t.forEach((t,n)=>{if(e.has(n)){const r=new Set,o=e.get(n);t.forEach(t=>!(null!=o&&o.has(t))&&r.add(t)),i.set(n,r)}else i.set(n,t)}),[n,i]}const Dv=ag({type:"state",blocking:!0,visible:!1,value:!0,key:"validating"});function Iv(t,e,n){(function(t){return Pv.has(t)})(t)||(n.input=If(),n.isPassing=!0,t.store.filter(t=>!t.meta.removeImmediately,"validation"),e.forEach(t=>t.debounce&&clearTimeout(t.timer)),e.length&&(t.store.set(Dv),Nv(0,e,t,n,!1,()=>{t.store.remove(Dv.key)})))}function Nv(t,e,n,i,r,o){const s=e[t];if(!s)return o();const a=i.input;function l(l,c){i.isPassing=i.isPassing&&!!c,s.queued=!1;const u=n.stopObserve();Mv(n,jv(s.deps,u),()=>{s.queued=!0,i.rerun&&clearTimeout(i.rerun),i.rerun=setTimeout(Iv,0,n,e,i)}),s.deps=u,i.input===a&&(s.state=c,!1===c?function(t,e,n){const i=function(t,e){return[{node:t,name:Rv(t),args:e.args}]}(t,e),r=function(t,e,n){const i=t.props.validationMessages&&Rf(t.props.validationMessages,e.name)?t.props.validationMessages[e.name]:void 0;return"function"==typeof i?i(...n):i}(t,e,i),o=ag({blocking:e.blocking,key:`rule_${e.name}`,meta:{messageKey:e.name,removeImmediately:n,localize:!r,i18nArgs:i},type:"validation",value:r||"This field is not valid."});t.store.set(o)}(n,s,r||l):function(t,e){const n=`rule_${e.name}`;Rf(t.store,n)&&t.store.remove(n)}(n,s),e.length>t+1?Nv(t+1,e,n,i,r||l,o):o())}s.state=null,Vf(n.value)&&s.skipEmpty||!i.isPassing&&!s.force?(Vf(n.value)&&s.skipEmpty&&i.isPassing&&(n.observe(),n.value),l(!1,null)):s.queued?function(t,e,n){t.debounce?t.timer=setTimeout(()=>{e.observe(),n(t.rule(e,...t.args))},t.debounce):(e.observe(),n(t.rule(e,...t.args)))}(s,n,t=>{t instanceof Promise?t.then(t=>l(!0,t)):l(!1,t)}):Nv(t+1,e,n,i,r,o)}function Rv(t){return"function"==typeof t.props.validationLabel?t.props.validationLabel(t):t.props.validationLabel||t.props.label||t.props.name||String(t.name)}const Bv="(?:[\\*+?()0-9]+)",Vv="[a-zA-Z][a-zA-Z0-9_]+",zv=new RegExp(`^(${Bv}?${Vv})(?:\\:(.*)+)?$`,"i"),Fv=new RegExp(`^(${Bv})(${Vv})$`,"i"),Wv=/([\*+?]+)?(\(\d+\))([\*+?]+)?/,Hv=/\(\d+\)/,Uv={blocking:!0,debounce:0,force:!1,skipEmpty:!0,name:""};function qv(t,e){return t?("string"==typeof t?function(t){return t.split("|").reduce((t,e)=>{const n=function(t){const e=t.trim();if(e){const t=e.match(zv);if(t&&"string"==typeof t[1])return[t[1].trim(),...t[2]&&"string"==typeof t[2]?t[2].split(",").map(t=>t.trim()):[]]}return!1}(e);return n&&t.push(n),t},[])}(t):Kf(t)).reduce((t,n)=>{let i=n.shift();const r={};if("string"==typeof i){const[t,n]=function(t){const e=t.match(Fv);if(!e)return[t,{name:t}];const n={"*":{force:!0},"+":{skipEmpty:!1},"?":{blocking:!1}},[,i,r]=e,o=Hv.test(i)?i.match(Wv)||[]:[,i];return[r,[o[1],o[2],o[3]].reduce((t,e)=>(e&&(Hv.test(e)?t.debounce=parseInt(e.substr(1,e.length-1)):e.split("").forEach(e=>Rf(n,e)&&Object.assign(t,n[e]))),t),{name:r})]}(i);Rf(e,t)&&(i=e[t],Object.assign(r,n))}return"function"==typeof i&&t.push({rule:i,args:n,timer:0,state:null,queued:!0,deps:new Map,...Uv,...Gv(r,i)}),t},[]):[]}function Gv(t,e){return t.name||(t.name=e.ruleName||e.name),["skipEmpty","force","debounce","blocking"].reduce((t,n)=>(Rf(e,n)&&!Rf(t,n)&&Object.assign(t,{[n]:e[n]}),t),t)}function Xv(t){return t[0].toUpperCase()+t.substr(1)}function Yv(t,e="or"){return t.reduce((n,i,r)=>(n+=i,r<=t.length-2&&t.length>2&&(n+=", "),r===t.length-2&&(n+=`${2===t.length?" ":""}${e} `),n),"")}function Kv(t){const e="string"==typeof t?new Date(Date.parse(t)):t;return e instanceof Date?new Intl.DateTimeFormat(void 0,{dateStyle:"medium"}).format(e):"(unknown)"}const Zv={accepted:({name:t})=>`Please accept the ${t}.`,date_after:({name:t,args:e})=>Array.isArray(e)&&e.length?`${Xv(t)} must be after ${Kv(e[0])}.`:`${Xv(t)} must be in the future.`,alpha:({name:t})=>`${Xv(t)} can only contain alphabetical characters.`,alphanumeric:({name:t})=>`${Xv(t)} can only contain letters and numbers.`,alpha_spaces:({name:t})=>`${Xv(t)} can only contain letters and spaces.`,date_before:({name:t,args:e})=>Array.isArray(e)&&e.length?`${Xv(t)} must be before ${Kv(e[0])}.`:`${Xv(t)} must be in the past.`,between({name:t,args:e}){if(isNaN(e[0])||isNaN(e[1]))return"This field was configured incorrectly and can’t be submitted.";const[n,i]=function(t,e){return Number(t)>=Number(e)?[e,t]:[t,e]}(e[0],e[1]);return`${Xv(t)} must be between ${n} and ${i}.`},confirm:({name:t})=>`${Xv(t)} does not match.`,date_format:({name:t,args:e})=>Array.isArray(e)&&e.length?`${Xv(t)} is not a valid date, please use the format ${e[0]}`:"This field was configured incorrectly and can’t be submitted",date_between:({name:t,args:e})=>`${Xv(t)} must be between ${Kv(e[0])} and ${Kv(e[1])}`,email:"Please enter a valid email address.",ends_with:({name:t,args:e})=>`${Xv(t)} doesn’t end with ${Yv(e)}.`,is:({name:t})=>`${Xv(t)} is not an allowed value.`,length({name:t,args:[e=0,n=1/0]}){const i=Number(e)<=Number(n)?e:n,r=Number(n)>=Number(e)?n:e;return 1==i&&r===1/0?`${Xv(t)} must be at least one character.`:0==i&&r?`${Xv(t)} must be less than or equal to ${r} characters.`:i&&r===1/0?`${Xv(t)} must be greater than or equal to ${i} characters.`:`${Xv(t)} must be between ${i} and ${r} characters.`},matches:({name:t})=>`${Xv(t)} is not an allowed value.`,max:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have more than ${n[0]} ${t}.`:`${Xv(t)} must be less than or equal to ${n[0]}.`,mime:({name:t,args:e})=>e[0]?`${Xv(t)} must be of the type: ${e[0]}`:"No file formats allowed.",min:({name:t,node:{value:e},args:n})=>Array.isArray(e)?`Cannot have less than ${n[0]} ${t}.`:`${Xv(t)} must be at least ${n[0]}.`,not:({name:t,node:{value:e}})=>`“${e}” is not an allowed ${t}.`,number:({name:t})=>`${Xv(t)} must be a number.`,required:({name:t})=>`${Xv(t)} is required.`,starts_with:({name:t,args:e})=>`${Xv(t)} doesn’t start with ${Yv(e)}.`,url:()=>"Please include a valid url."};var Qv=Object.freeze({__proto__:null,ui:{add:"Add",remove:"Remove",removeAll:"Remove all",incomplete:"Sorry, not all fields are filled out correctly.",submit:"Submit",noFiles:"No file chosen"},validation:Zv});function Jv(t,e){if(Rf(e,t))return t;const[n]=t.split("-");if(Rf(e,n))return n;for(const t in e)return t;return!1}let ty,ey,ny=null,iy=!1,ry=!1;const oy=new Promise(t=>{ey=()=>{iy=!0,t()}}),sy=typeof window<"u"&&typeof fetch<"u";ty=sy?getComputedStyle(document.documentElement):void 0;const ay={},ly={};function cy(t,e,n,i){e&&Object.assign(ay,e),sy&&!ry&&null!=ty&&ty.getPropertyValue("--formkit-theme")?(ey(),ry=!0):t&&!ry&&sy?function(t){if(t&&sy&&"function"==typeof getComputedStyle&&(ry=!0,ny=document.getElementById("formkit-theme"),t&&sy&&((null==ty||!ty.getPropertyValue("--formkit-theme"))&&!ny||null!=ny&&ny.getAttribute("data-theme")&&(null==ny?void 0:ny.getAttribute("data-theme"))!==t))){const e=`https://cdn.jsdelivr.net/npm/@formkit/themes@${em.startsWith("__")?"latest":em}/dist/${t}/theme.css`,n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.id="formkit-theme",n.setAttribute("data-theme",t),n.onload=()=>{ty=getComputedStyle(document.documentElement),ey()},document.head.appendChild(n),n.href=e,ny&&ny.remove()}}(t):!ry&&sy&&ey();const r=function(t){var e,r;t.addProps(["iconLoader","iconLoaderUrl"]),t.props.iconHandler=uy(null!==(e=t.props)&&void 0!==e&&e.iconLoader?t.props.iconLoader:i,null!==(r=t.props)&&void 0!==r&&r.iconLoaderUrl?t.props.iconLoaderUrl:n),function(t,e){const n=/^[a-zA-Z-]+(?:-icon|Icon)$/;Object.keys(t.props).filter(t=>n.test(t)).forEach(n=>function(t,e,n){const i=e(t.props[n]),r=`_raw${n.charAt(0).toUpperCase()}${n.slice(1)}`,o=`on${n.charAt(0).toUpperCase()}${n.slice(1)}Click`;if(t.addProps([r,o]),t.on(`prop:${n}`,dy),i instanceof Promise)return i.then(e=>{t.props[r]=e});t.props[r]=i}(t,e,n))}(t,t.props.iconHandler),t.on("created",()=>{var e;null!==(e=null==t?void 0:t.context)&&void 0!==e&&e.handlers&&(t.context.handlers.iconClick=e=>{const n=`on${e.charAt(0).toUpperCase()}${e.slice(1)}IconClick`,i=t.props[n];if(i&&"function"==typeof i)return e=>i(t,e)})})};return r.iconHandler=uy(i,n),r}function uy(t,e){return n=>{if("boolean"==typeof n)return;if(n.startsWith("<svg"))return n;if("string"!=typeof n)return;const i=ay[n],r=n.startsWith("default:");let o;if(n=r?n.split(":")[1]:n,i||n in ay)return i;if(!ly[n])if(o=function(t){if(sy)return iy?hy(t):oy.then(()=>hy(t))}(n),o=sy&&typeof o>"u"?Promise.resolve(o):o,o instanceof Promise)ly[n]=o.then(i=>i||"string"!=typeof n||r?i:o="function"==typeof t?t(n):function(t,e){const n=em.startsWith("__")?"latest":em,i="function"==typeof e?e(t):`https://cdn.jsdelivr.net/npm/@formkit/icons@${n}/dist/icons/${t}.svg`;if(sy)return fetch(`${i}`).then(async t=>{const e=await t.text();if(e.startsWith("<svg"))return e}).catch(t=>{console.error(t)})}(n,e)).then(t=>("string"==typeof n&&(ay[r?`default:${n}`:n]=t),t));else if("string"==typeof o)return ay[r?`default:${n}`:n]=o,o;return ly[n]}}function hy(t){const e=null==ty?void 0:ty.getPropertyValue(`--fk-icon-${t}`);if(e){const n=atob(e);if(n.startsWith("<svg"))return ay[t]=n,n}}function dy(t){var e;const n=t.origin,i=t.payload,r=null===(e=null==n?void 0:n.props)||void 0===e?void 0:e.iconHandler,o=t.name.split(":")[1],s=`_raw${o.charAt(0).toUpperCase()}${o.slice(1)}`;if(r&&"function"==typeof r){const t=r(i);if(t instanceof Promise)return t.then(t=>{n.props[s]=t});n.props[s]=t}}let py=!1;const fy={100:({data:t})=>`Only groups, lists, and forms can have children (${t.name}).`,101:({data:t})=>`You cannot directly modify the store (${t.name}). See: https://formkit.com/advanced/core#message-store`,102:({data:[t,e]})=>`You cannot directly assign node.${e} (${t.name})`,103:({data:[t]})=>`Schema expressions cannot start with an operator (${t})`,104:({data:[t,e]})=>`Schema expressions cannot end with an operator (${t} in "${e}")`,105:({data:t})=>`Invalid schema expression: ${t}`,106:({data:t})=>`Cannot submit because (${t}) is not in a form.`,107:({data:[t,e]})=>`Cannot set ${t.name} to non object value: ${e}`,108:({data:[t,e]})=>`Cannot set ${t.name} to non array value: ${e}`,600:({data:t})=>`Unknown input type${"string"==typeof t.props.type?' "'+t.props.type+'"':""} ("${t.name}")`,601:({data:t})=>`Input definition${"string"==typeof t.props.type?' "'+t.props.type+'"':""} is missing a schema or component property (${t.name}).`},gy={150:({data:t})=>`Schema function "${t}()" is not a valid function.`,151:({data:t})=>`No form element with id: ${t}`,152:({data:t})=>`No input element with id: ${t}`,350:({data:t})=>`Invalid options prop for radio input (${t.name}). See https://formkit.com/inputs/radio`,650:'Schema "$get()" must use the id of an input to access.',651:({data:t})=>`Cannot setErrors() on "${t}" because no such id exists.`,652:({data:t})=>`Cannot clearErrors() on "${t}" because no such id exists.`,800:({data:t})=>`${t} is deprecated.`};py||ig((t,e)=>{if(t.code in fy){const e=fy[t.code];t.message="function"==typeof e?e(t):e}return e(t)}),py||rg((t,e)=>{if(t.code in gy){const e=gy[t.code];t.message="function"==typeof e?e(t):e}return e(t)}),py=!0;const my={};let vy;const yy=new Map,by=/[a-zA-Z0-9\-][cC]lass$/;function _y(t,e){const n=ke(null);if("get"===t){const t={};return n.value=wy.bind(null,t),n}const i=t.split(".");return Cn(()=>n.value=xy(e,i)),n}function xy(t,e){if(Array.isArray(t)){for(const n of t){const t=!1!==n&&xy(n,e);if(void 0!==t)return t}return}let n;return e.reduce((t,i,r,o)=>{if("object"!=typeof t)return n=void 0,o.splice(1);const s=t[i];return r===e.length-1&&void 0!==s&&(n=s),t[i]},t),n}function wy(t,e){if("string"!=typeof e)return og(650);if(e in t||(t[e]=ke(void 0)),void 0===t[e].value){t[e].value=null;const n=xg(e);n&&(t[e].value=n.context),function(t,e){_g.push(bg.on(t,e))}(e,({payload:n})=>{t[e].value=Eg(n)?n.context:n})}return t[e].value}function Sy(t,e){function n(t,e){return[l(Zg(e.if),{if:!0}),s(t,e.then),e.else?s(t,e.else):null]}function i(t,e){var n,i;const o=l(Zg(t.if));let s=()=>e,a=()=>e;return a="object"==typeof t.then?r(t.then,void 0):"string"==typeof t.then&&null!==(n=t.then)&&void 0!==n&&n.startsWith("$")?l(Zg(t.then)):()=>t.then,Rf(t,"else")&&(s="object"==typeof t.else?r(t.else):"string"==typeof t.else&&null!==(i=t.else)&&void 0!==i&&i.startsWith("$")?l(Zg(t.else)):()=>t.else),()=>o()?a():s()}function r(t,e,n={}){const o=new Set(Object.keys(t||{})),s=e?l(Zg(e)):()=>({}),a=[t=>{const e=s();for(const n in e)o.has(n)||(t[n]=e[n])}];if(t){if(Kg(t))return i(t,n);for(let e in t){const n=t[e];let o;const s="string"==typeof n;e.startsWith("__raw__")?(e=e.substring(7),o=()=>n):o=!(s&&n.startsWith("$")&&n.length>1)||n.startsWith("$reset")&&by.test(e)?"object"==typeof n&&Kg(n)?i(n,void 0):"object"==typeof n&&Wf(n)?r(n):()=>n:l(Zg(n)),a.push(t=>{t[e]=o()})}}return()=>{const e=Array.isArray(t)?[]:{};return a.forEach(t=>t(e)),e}}function o(t,e){const[i,o,a,c,u,h,d]=function(t,e){let i=null,o=()=>null,a=!1,c=null,u=null,h=null,d=!1;const p=function(t){if("string"==typeof t)return{$el:"text",children:t};if(function(t){return"string"!=typeof t&&"$formkit"in t}(t)){const{$formkit:e,for:n,if:i,children:r,bind:o,...s}=t;return Object.assign({$cmp:"FormKit",props:{...s,type:e}},i?{if:i}:{},n?{for:n}:{},r?{children:r}:{},o?{bind:o}:{})}return t}(e);if(Xg(p)?(i=p.$el,o="text"!==p.$el?r(p.attrs,p.bind):()=>null):Yg(p)?("string"==typeof p.$cmp?Rf(t,p.$cmp)?i=t[p.$cmp]:(i=p.$cmp,d=!0):i=p.$cmp,o=r(p.props,p.bind)):Kg(p)&&([a,c,u]=n(t,p)),!Kg(p)&&"if"in p?a=l(Zg(p.if)):!Kg(p)&&null===i&&(a=()=>!0),"children"in p&&p.children)if("string"==typeof p.children)if(p.children.startsWith("$slots."))i="text"===i?"slot":i,c=l(Zg(p.children));else if(p.children.startsWith("$")&&p.children.length>1){const t=l(Zg(p.children));c=()=>String(t())}else c=()=>String(p.children);else if(Array.isArray(p.children))c=s(t,p.children);else{const[e,i,r]=n(t,p.children);c=t=>e&&e()?i&&i(t):r&&r(t)}if(Yg(p))if(c){const t=c;c=e=>({default(n,i){var r,o,s,a;const l=vy;i&&(vy=i),n&&(null===(r=yy.get(vy))||void 0===r||r.unshift(n)),e&&(null===(o=yy.get(vy))||void 0===o||o.unshift(e));const c=t(e);return n&&(null===(s=yy.get(vy))||void 0===s||s.shift()),e&&(null===(a=yy.get(vy))||void 0===a||a.shift()),vy=l,c}}),c.slot=!0}else c=()=>({});if("for"in p&&p.for){const t=3===p.for.length?p.for[2]:p.for[1];h=["string"==typeof t&&t.startsWith("$")?l(Zg(t)):()=>t,p.for[0],3===p.for.length?String(p.for[1]):null]}return[a,i,o,c,u,h,d]}(t,e);let p=t=>{if(i&&null===o&&c)return i()?c(t):u&&u(t);if(o&&(!i||i())){if("text"===o&&c)return Xr(String(c()));if("slot"===o&&c)return c(t);const e=d?bi(o):o,n=null!=c&&c.slot?function(t,e){const n=t(e),i=vy;return Object.keys(n).reduce((t,e)=>{const r=n&&n[e];return t[e]=t=>r&&r(t,i)||null,t},{})}(c,t):null;return xo(e,a(),n||(c?c(t):[]))}return"function"==typeof u?u(t):u};if(h){const t=p,[e,n,i]=h;p=()=>{const r=e(),o=isNaN(r)?r:Array(Number(r)).fill(0).map((t,e)=>e),s=[];if("object"!=typeof o)return null;const a=yy.get(vy)||[];for(const e in o){if(Array.isArray(o)&&"length"===e)continue;const r=Object.defineProperty({...a.reduce((t,e)=>t.__idata?{...t,...e}:e,{}),[n]:o[e],...null!==i?{[i]:e}:{}},"__idata",{enumerable:!1,value:!0});a.unshift(r),s.push(t.bind(null,r)()),a.shift()}return s}}return p}function s(t,e){if(Array.isArray(e)){const n=e.map(o.bind(null,t));return t=>n.map(e=>e(t))}const n=o(t,e);return t=>n(t)}const a=[];function l(t,e={}){const n={};return a.push((i,r)=>{n[r]=t.provide(t=>i(t,e))}),()=>n[vy]()}return function(n,i){const r=JSON.stringify(e),[o,l]=Rf(my,r)?my[r]:[s(t,e),a];return my[r]=[o,l],l.forEach(t=>{t(n,i)}),()=>(vy=i,o())}}function ky(t,e){const n=yy.get(vy)||[];let i;return n.length&&(i=xy(n,t.split("."))),void 0===i?e:i}function Cy(t,e,n){return t((t,i={})=>t.reduce((t,r)=>{if(r.startsWith("slots.")){const o=r.substring(6),s=e.slots&&Rf(e.slots,o);if(i.if)t[r]=()=>s;else if(e.slots&&s){const i=function(t,e){return new Proxy(t,{get(...t){let n;const i=t[1];if("string"==typeof i){const t=vy;vy=e,n=ky(i,void 0),vy=t}return void 0!==n?n:Reflect.get(...t)}})}(e,n);return t[r]=()=>e.slots[o](i),t}}const o=_y(r,e);return t[r]=()=>ky(r,o.value),t},{}),n)}let Oy=0;const Ay=Un({name:"FormKitSchema",props:{schema:{type:[Array,Object],required:!0},data:{type:Object,default:()=>({})},library:{type:Object,default:()=>({})}},setup(t,e){const n=ro();let i=Symbol(String(Oy++));yy.set(i,[]);let r,o,s=Sy(t.library,t.schema);return On(()=>t.schema,(e,a)=>{var l;i=Symbol(String(Oy++)),s=Sy(t.library,t.schema),r=Cy(s,o,i),e===a&&(null===(l=null==n?void 0:n.proxy)||void 0===l?void 0:l.$forceUpdate)()},{deep:!0}),Cn(()=>{o=Object.assign(he(t.data),{slots:e.slots}),r=Cy(s,o,i)}),()=>r()}}),Ty={config:{type:Object,default:{}},classes:{type:Object,required:!1},delay:{type:Number,required:!1},errors:{type:Array,default:[]},inputErrors:{type:Object,default:()=>({})},index:{type:Number,required:!1},id:{type:String,required:!1},modelValue:{required:!1},name:{type:String,required:!1},parent:{type:Object,required:!1},plugins:{type:Array,default:[]},sectionsSchema:{type:Object,default:{}},type:{type:[String,Object],default:"text"},validation:{type:[String,Array],required:!1},validationMessages:{type:Object,required:!1},validationRules:{type:Object,required:!1},validationLabel:{type:[String,Function],required:!1}},Py=Symbol("FormKitParent"),Ey=Un({props:Ty,emits:{input:(t,e)=>!0,inputRaw:(t,e)=>!0,"update:modelValue":t=>!0,node:t=>!!t,submit:(t,e)=>!0,submitRaw:(t,e)=>!0,submitInvalid:t=>!0},inheritAttrs:!1,setup(t,e){const n=function(t,e,n={}){const i=Object.assign({},Sn(My)||{},n),r=ro(),o=function(t){return t?["Submit","SubmitRaw","SubmitInvalid"].reduce((e,n)=>{const i=`on${n}`;return i in t&&"function"==typeof t[i]&&(e[i]=t[i]),e},{}):{}}(null==r?void 0:r.vnode.props),s=void 0!==t.modelValue,a=void 0!==t.modelValue?t.modelValue:Zf(e.attrs.value);const l=function(){const n={...Uf(t),...o},i=qf(Uf(e.attrs),By);n.attrs=i;const r=Gf(Uf(e.attrs),By);for(const t in r)n[Xf(t)]=r[t];const s={props:{}};return Vy(s,t),Object.assign(n,s.props),"string"!=typeof n.type&&(n.definition=n.type,delete n.type),n}(),c=l.ignore?null:t.parent||Sn(Py,null),u=Gg(Hf(i||{},{name:t.name||void 0,value:a,parent:c,plugins:(i.plugins||[]).concat(t.plugins),config:t.config,props:l,index:t.index},!1,!0));u.props.definition||sg(600,u);const h=ke(new Set(u.props.definition.props||[]));u.on("added-props",({payload:t})=>{Array.isArray(t)&&t.forEach(t=>h.value.add(t))});const d=_o(()=>By.concat([...h.value]).reduce((t,e)=>("string"==typeof e?(t.push(Xf(e)),t.push(Yf(e))):t.push(e),t),[]));Cn(()=>Vy(u,t));const p=Uf(t);for(const e in p)On(()=>t[e],()=>{void 0!==t[e]&&(u.props[e]=t[e])});const f=new Set,g=Uf(e.attrs);if(Cn(()=>{!function(t){f.forEach(t=>{t(),f.delete(t)});for(const n in t){const t=Xf(n);f.add(On(()=>e.attrs[n],()=>{u.props[t]=e.attrs[n]}))}}(Gf(g,d.value))}),Cn(()=>{const t=qf(Uf(e.attrs),d.value);u.props.attrs=Object.assign({},u.props.attrs||{},t)}),Cn(()=>{const e=t.errors.map(t=>ag({key:tg(t),type:"error",value:t,meta:{source:"prop"}}));u.store.apply(e,t=>"error"===t.type&&"prop"===t.meta.source)}),"input"!==u.type){const e=`${u.name}-prop`;Cn(()=>{const n=Object.keys(t.inputErrors);n.length||u.clearErrors(!0,e);const i=n.reduce((n,i)=>{let r=t.inputErrors[i];return"string"==typeof r&&(r=[r]),Array.isArray(r)&&(n[i]=r.map(t=>ag({key:t,type:"error",value:t,meta:{source:e}}))),n},{});u.store.apply(i,t=>"error"===t.type&&t.meta.source===e)})}let m;Cn(()=>Object.assign(u.config,t.config)),"input"!==u.type&&wn(Py,u);const v=new WeakSet;return u.on("modelUpdated",()=>{var n,i;if(e.emit("inputRaw",null===(n=u.context)||void 0===n?void 0:n.value,u),clearTimeout(m),m=setTimeout(e.emit,20,"input",null===(i=u.context)||void 0===i?void 0:i.value,u),s&&u.context){const n=Ry(u.context.value);Ff(n)&&Ry(t.modelValue)!==n&&v.add(n),e.emit("update:modelValue",n)}}),s&&function(t){const e={},n=n=>{for(const r of n)r.__str in e&&e[r.__str](),e[r.__str]=On(Dy.bind(null,t,r),i.bind(null,r),{deep:!1})},i=function(t,e,n,i){return r=>{const o=Iy(t,r);o!==jy&&(r.__deep&&i(r),"object"==typeof o&&n(Ny(o,[r],...r)),e(r,o,t))}}(t,(t,e)=>{var n;const i=Ry(e);if(Ff(i)&&v.has(i))return v.delete(i);t.length?null===(n=u.at(t))||void 0===n||n.input(e,!1):u.input(e,!1)},n,t=>{if(t.length)for(const n in e)`${n}`.startsWith(`${t.__str}.`)&&(e[n](),delete e[n])});n(Ny(t))}(function(t,e,n){return Se(t)?t:y(t)?new $e(t):x(t)&&arguments.length>1?je(t,e,n):ke(t)}(t,"modelValue")),pi(()=>u.destroy()),u}(t,e);if(n.props.definition||sg(600,n),n.props.definition.component)return()=>{var t;return xo(null===(t=n.props.definition)||void 0===t?void 0:t.component,{context:n.context},{...e.slots})};const i=ke([]),r=()=>{var e,r;const o=null===(r=null===(e=n.props)||void 0===e?void 0:e.definition)||void 0===r?void 0:r.schema;o||sg(601,n),i.value="function"==typeof o?o({...t.sectionsSchema}):o};r(),n.on("schema",r),e.emit("node",n);const o=n.props.definition.library;return e.expose({node:n}),()=>xo(Ay,{schema:i.value,data:n.context,library:o},{...e.slots})}}),My=Symbol.for("FormKitOptions"),Ly=Symbol.for("FormKitConfig"),$y={install(t,e){const n=Object.assign({alias:"FormKit",schemaAlias:"FormKitSchema"},"function"==typeof e?e():e),i=function(t={}){const e=new Set,n={...t,_add:t=>e.add(t),_rm:t=>t.remove(t)};return new Proxy(n,{set:(t,n,i,r)=>("string"==typeof n&&e.forEach(t=>wg(t,n,i)),Reflect.set(t,n,i,r))})}(n.config||{});n.config={rootConfig:i},t.config.globalProperties.$formkit=function(t,e){return t.component(e.alias||"FormKit",Ey).component(e.schemaAlias||"FormKitSchema",Ay),{get:xg,setLocale:t=>{var n;null!==(n=e.config)&&void 0!==n&&n.rootConfig&&(e.config.rootConfig.locale=t)},clearErrors:tm,setErrors:Jg,submit:Sg,reset:kg}}(t,n),t.provide(My,n),t.provide(Ly,i)}},jy=Symbol();function Dy(t,e){const n=Iy(t,e);return n&&"object"==typeof n?Object.keys(n):n}function Iy(t,e){if(Se(t)){if(0===e.length)return t.value;t=t.value}return e.reduce((t,e)=>t===jy?t:null===t||"object"!=typeof t?jy:t[e],t)}function Ny(t,e=[],...n){if(null===t)return e;if(!n.length){const n=Object.defineProperty([],"__str",{value:""});if(!(t=Se(t)?t.value:t)||"object"!=typeof t)return[n];Object.defineProperty(n,"__deep",{value:!0}),e.push(n)}if(null===t||"object"!=typeof t)return e;for(const i in t){const r=n.concat(i);Object.defineProperty(r,"__str",{value:r.join(".")});const o=t[i];Wf(o)||Array.isArray(o)?(e.push(Object.defineProperty(r,"__deep",{value:!0})),e=e.concat(Ny(o,[],...r))):e.push(r)}return e}function Ry(t){return null===t||"object"!=typeof t||(ge(t)?t=be(t):Se(t)&&(t=ge(t.value)?Ry(t.value):t.value)),t}const By=["help","label","ignore","disabled","preserve",/^preserve(-e|E)rrors/,/^[a-z]+(?:-visibility|Visibility)$/,/^[a-zA-Z-]+(?:-class|Class)$/,"prefixIcon","suffixIcon",/^[a-zA-Z-]+(?:-icon|Icon)$/];function Vy(t,e){e.classes&&Object.keys(e.classes).forEach(n=>{"string"==typeof n&&(t.props[`_${n}Class`]=e.classes[n],Ff(e.classes[n])&&"inner"===n&&Object.values(e.classes[n]))})}let zy=1;const Fy=function(t){t.ledger.count("blocking",t=>t.blocking);const e=ke(!t.ledger.value("blocking"));t.ledger.count("errors",t=>"error"===t.type);const n=ke(!!t.ledger.value("errors"));let i=!1;Ke(()=>{i=!0});const r=he(t.store.reduce((t,e)=>(e.visible&&(t[e.key]=e),t),{})),o=ke(t.props.validationVisibility||"blur");t.on("prop:validationVisibility",({payload:t})=>{o.value=t});const s=ke("live"===o.value),a=_o(()=>{if(v.state.submitted)return!0;if(!s.value&&!v.state.settled)return!1;switch(o.value){case"live":return!0;case"blur":return v.state.blurred;case"dirty":return v.state.dirty;default:return!1}}),l=_o(()=>c.value?e.value&&!n.value:v.state.dirty&&!Vf(v.value)),c=ke(Array.isArray(t.props.parsedRules)&&t.props.parsedRules.length>0);t.on("prop:parsedRules",({payload:t})=>{c.value=Array.isArray(t)&&t.length>0});const u=_o(()=>{const t={};for(const e in r){const n=r[e];("validation"!==n.type||a.value)&&(t[e]=n)}return t}),h=he(t.store.reduce((t,e)=>("ui"===e.type&&e.visible&&(t[e.key]=e),t),{})),d=he({}),p=new Proxy(d,{get(...e){const[n,i]=e;let r=Reflect.get(...e);return!r&&"string"==typeof i&&!Rf(n,i)&&!i.startsWith("__v")&&Ev(t).watch(t=>{const e="function"==typeof t.config.rootClasses?t.config.rootClasses(i,t):{},o=t.config.classes?Qg(i,t,t.config.classes[i]):{},s=Qg(i,t,t.props[`_${i}Class`]),a=Qg(i,t,t.props[`${i}Class`]);r=function(t,e,...n){const i=n.reduce((t,e)=>{if(!e)return t;const{$reset:n,...i}=e;return n?i:Object.assign(t,i)},{});return Object.keys(t.hook.classes.dispatch({property:e,classes:i}).classes).filter(t=>i[t]).join(" ")||null}(t,i,e,o,s,a),n[i]=r}),r}}),f=_o(()=>{const e=[];v.help&&e.push(`help-${t.props.id}`);for(const n in u.value)e.push(`${t.props.id}-${n}`);return e.length?e.join(" "):void 0}),g=ke(t.value),m=ke(t.value),v=he({_value:m,attrs:t.props.attrs,disabled:t.props.disabled,describedBy:f,fns:{length:t=>Object.keys(t).length,number:t=>Number(t),string:t=>String(t),json:t=>JSON.stringify(t),eq:Bf},handlers:{blur:e=>{t.store.set(ag({key:"blurred",visible:!1,value:!0})),"function"==typeof t.props.attrs.onBlur&&t.props.attrs.onBlur(e)},touch:()=>{t.store.set(ag({key:"dirty",visible:!1,value:!0}))},DOMInput:e=>{t.input(e.target.value),t.emit("dom-input-event",e)}},help:t.props.help,id:t.props.id,label:t.props.label,messages:u,node:_e(t),options:t.props.options,state:{blurred:!1,complete:l,dirty:!1,submitted:!1,settled:t.isSettled,valid:e,errors:n,rules:c,validationVisible:a},type:t.props.type,family:t.props.family,ui:h,value:g,classes:p});function y(e){e.forEach(e=>{e=Xf(e),!Rf(v,e)&&Rf(t.props,e)&&(v[e]=t.props[e]),t.on(`prop:${e}`,({payload:t})=>{v[e]=t})})}var b;t.on("created",()=>{Bf(v.value,t.value)||(m.value=t.value,g.value=t.value,Ae(g),Ae(m)),t.props._init=Zf(t.value)}),t.on("settled",({payload:t})=>{v.state.settled=t}),y((()=>{const e=/^[a-zA-Z-]+(?:-icon|Icon)$/,n=Object.keys(t.props).filter(t=>e.test(t));return["help","label","disabled","options","type","attrs","preserve","preserveErrors","id"].concat(n)})()),t.props.definition&&(b=t.props.definition).props&&y(b.props),t.on("added-props",({payload:t})=>y(t)),t.on("input",({payload:t})=>{m.value=t,Ae(m)}),t.on("commit",({payload:e})=>{g.value=m.value=e,Ae(g),t.emit("modelUpdated"),!v.state.dirty&&t.isCreated&&i&&!Bf(g.value,t.props._init)&&v.handlers.touch(),l&&"input"===t.type&&n.value&&!Qf(t.props.preserveErrors)&&t.store.filter(t=>{var e;return!("error"===t.type&&!0===(null===(e=t.meta)||void 0===e?void 0:e.autoClear))})});const _=async t=>{"ui"===t.type&&t.visible&&!t.meta.showAsMessage?h[t.key]=t:t.visible?r[t.key]=t:"state"===t.type&&(v.state[t.key]=!!t.value)};t.on("message-added",t=>_(t.payload)),t.on("message-updated",t=>_(t.payload)),t.on("message-removed",({payload:t})=>{delete h[t.key],delete r[t.key],delete v.state[t.key]}),t.on("settled:blocking",()=>{e.value=!0}),t.on("unsettled:blocking",()=>{e.value=!1}),t.on("settled:errors",()=>{n.value=!1}),t.on("unsettled:errors",()=>{n.value=!0}),On(a,t=>{t&&(s.value=!0)}),t.context=v,t.emit("context",t,!1)};Un({name:"FormKitIcon",props:{icon:{type:String,default:""},iconLoader:{type:Function,default:null},iconLoaderUrl:{type:Function,default:null}},setup(t){var e,n;const i=ke(void 0),r=Sn(My,{}),o=Sn(Py,null);let s;if(t.iconLoader&&"function"==typeof t.iconLoader)s=uy(t.iconLoader);else if(o&&null!==(e=o.props)&&void 0!==e&&e.iconLoader)s=uy(o.props.iconLoader);else if(t.iconLoaderUrl&&"function"==typeof t.iconLoaderUrl)s=uy(s,t.iconLoaderUrl);else{const t=null===(n=null==r?void 0:r.plugins)||void 0===n?void 0:n.find(t=>"function"==typeof t.iconHandler);t&&(s=t.iconHandler)}if(s&&"function"==typeof s){const e=s(t.icon);e instanceof Promise?e.then(t=>{i.value=t}):i.value=e}return()=>i.value?xo("span",{class:"formkit-icon",innerHTML:i.value}):null}});const Wy=Un({__name:"select-input",props:{context:{type:Object,required:!0}},setup(t){const e=t,n=t=>e.context.attrs.customValue?e.context.attrs.customValue(t):t,i=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value,i].flat().filter(Boolean)):e.context.node.input(i)},r=t=>{const i=n(t);e.context.attrs.multiple?e.context.node.input([e.context._value].flat().filter(t=>t!==i)):e.context.node.input(null)},o=_o(()=>e.context.attrs.options.find(t=>n(t)===e.context._value)||e.context._value),s=_o(()=>e.context.node.props),a=ke(!1),l=lu.debounce(async(t,n)=>{t&&e.context.attrs.onSearchChange&&(a.value=!0,await e.context.attrs.onSearchChange(t,n),a.value=!1)},e.context.attrs.searchDebounce),c=_o(()=>({...e.context.attrs,loading:a.value||e.context.attrs.loading,onSearchChange:l}));return pi(()=>{l.cancel()}),(n,a)=>(jr(),Rr("div",{class:q(["ap-select-input",{taggable:t.context.attrs.taggable}])},[Ur(Te(ef),Jr(c.value,{id:s.value.id,class:{error:t.context.state.errors||t.context.state.validationVisible&&!t.context.state.valid},disabled:s.value.disabled,"model-value":o.value,name:s.value.name,options:t.context.attrs.options,onBlur:t.context.handlers.blur,onRemove:r,onSelect:i,onTouch:t.context.handlers.touch}),Ci({_:2},[ki(e.context.slots,(t,e)=>({name:e,fn:bn(e=>[t?(jr(),Br(xi(t),G(Jr({key:0},e)),null,16)):Yr("",!0)])}))]),1040,["id","class","disabled","model-value","name","options","onBlur","onTouch"])],2))}}),Hy=pu(Wy,[["__scopeId","data-v-7460d5fa"]]),Uy={allowEmpty:{type:Boolean,required:!1,default:!0},blockKeys:{type:Array,required:!1,default:[]},clearOnSelect:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},customLabel:{type:Function,required:!1},customValue:{type:Function,required:!1},groupValues:{type:String,required:!1},groupLabel:{type:String,required:!1},groupSelect:{type:Boolean,required:!1,default:!1},hideSelected:{type:Boolean,required:!1,default:!1},id:{type:String,required:!1},internalSearch:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1},limitText:{type:Function,required:!1,default:t=>`and ${t} more`},loading:{type:Boolean,required:!1,default:!1},modelValue:{type:void 0,required:!1},multiple:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1},onSearchChange:{type:Function,required:!1},onTag:{type:Function,required:!1},openDirection:{type:String,required:!1},options:{type:Array,required:!1,default:()=>[]},optionsLimit:{type:Number,required:!1,default:1e3},preselectFirst:{type:Boolean,required:!1,default:!1},preserveSearch:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1},resetAfter:{type:Boolean,required:!1,default:!1},searchDebounce:{type:Number,required:!1,default:500},searchable:{type:Boolean,required:!1,default:!0},taggable:{type:Boolean,required:!1,default:!1},tagPlaceholder:{type:String,required:!1,default:"Press enter to create a tag"},tagPosition:{type:String,required:!1,default:"top"}},qy=Un({__name:"select-field",props:{...Uy,...Pf},setup(t){const e=t,n=function(t,e={}){const n={type:"input",...e};let i;if(function(t){return"function"==typeof t&&2===t.length||"object"==typeof t&&!Array.isArray(t)&&!("$el"in t)&&!("$cmp"in t)&&!("if"in t)}(t)){const e="SchemaComponent"+zy++;i=sv("input",()=>({$cmp:e,props:{context:"$node.context"}})),n.library={[e]:_e(t)}}else i="function"==typeof t?t:sv("input",()=>Zf(t));return n.schema=function(t){return nm(rm(om("$label"),im(lm(),t(),cm())),um("$help"),sm(am("$message.value")))}(i||"Schema undefined"),n}(Hy);return(t,i)=>(jr(),Br(Mf,Jr(e,{type:Te(n)}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040,["type"]))}}),Gy=Un({__name:"text-field",props:Pf,setup(t){const e=t;return(t,n)=>(jr(),Br(Df,Jr(e,{type:"text"}),Ci({_:2},[ki(t.$slots,(e,n)=>({name:n,fn:bn(e=>[Oi(t.$slots,n,G(qr(e)))])}))]),1040))}}),Xy=new Set,Yy=new WeakMap,Ky=new WeakMap,Zy=new WeakMap,Qy=new WeakMap,Jy=new WeakMap,tb=new WeakMap,eb=new WeakMap,nb=new WeakSet;let ib;const rb="__aa_tgt",ob="__aa_del";function sb(t){clearTimeout(eb.get(t));const e=gb(t),n="function"==typeof e?500:e.duration;eb.set(t,setTimeout(async()=>{const e=Zy.get(t);(!e||await e.finished)&&(Yy.set(t,pb(t)),function(t){const e=Qy.get(t);null==e||e.disconnect();let n=Yy.get(t),i=0;n||(n=pb(t),Yy.set(t,n));const{offsetWidth:r,offsetHeight:o}=ib,s=[n.top-5,r-(n.left+5+n.width),o-(n.top+5+n.height),n.left-5].map(t=>-1*Math.floor(t)+"px").join(" "),a=new IntersectionObserver(()=>{++i>1&&sb(t)},{root:ib,threshold:1,rootMargin:s});a.observe(t),Qy.set(t,a)}(t))},n))}function ab(t){setTimeout(()=>{Jy.set(t,setInterval(()=>lb(sb.bind(null,t)),2e3))},Math.round(2e3*Math.random()))}function lb(t){"function"==typeof requestIdleCallback?requestIdleCallback(()=>t()):requestAnimationFrame(()=>t())}let cb,ub;function hb(t,e){e||rb in t?e&&!(rb in e)&&Object.defineProperty(e,rb,{value:t}):Object.defineProperty(t,rb,{value:t})}function db(t){return Number(t.replace(/[^0-9.\-]/g,""))}function pb(t){const e=t.getBoundingClientRect();return{top:e.top+window.scrollY,left:e.left+window.scrollX,width:e.width,height:e.height}}function fb(t,e,n){let i=e.width,r=e.height,o=n.width,s=n.height;const a=getComputedStyle(t);if("content-box"===a.getPropertyValue("box-sizing")){const t=db(a.paddingTop)+db(a.paddingBottom)+db(a.borderTopWidth)+db(a.borderBottomWidth),e=db(a.paddingLeft)+db(a.paddingRight)+db(a.borderRightWidth)+db(a.borderLeftWidth);i-=e,o-=e,r-=t,s-=t}return[i,o,r,s].map(Math.round)}function gb(t){return rb in t&&tb.has(t[rb])?tb.get(t[rb]):{duration:250,easing:"ease-in-out"}}function mb(t){if(rb in t)return t[rb]}function vb(t){const e=mb(t);return!!e&&nb.has(e)}function yb(t,...e){e.forEach(e=>e(t,tb.has(t)));for(let n=0;n<t.children.length;n++){const i=t.children.item(n);i&&e.forEach(t=>t(i,tb.has(i)))}}typeof window<"u"&&(ib=document.documentElement,cb=new MutationObserver(t=>{const e=function(t){return t.reduce((t,e)=>{if(!1===t)return!1;if(e.target instanceof Element){if(hb(e.target),!t.has(e.target)){t.add(e.target);for(let n=0;n<e.target.children.length;n++){const i=e.target.children.item(n);if(i){if(ob in i)return!1;hb(e.target,i),t.add(i)}}}if(e.removedNodes.length)for(let n=0;n<e.removedNodes.length;n++){const i=e.removedNodes[n];if(ob in i)return!1;i instanceof Element&&(t.add(i),hb(e.target,i),Ky.set(i,[e.previousSibling,e.nextSibling]))}}return t},new Set)}(t);e&&e.forEach(t=>function(t){var e;const n=ib.contains(t),i=Yy.has(t);n&&Ky.has(t)&&Ky.delete(t),Zy.has(t)&&(null===(e=Zy.get(t))||void 0===e||e.cancel()),i&&n?function(t){const e=Yy.get(t),n=pb(t);if(!vb(t))return Yy.set(t,n);let i;if(!e)return;const r=gb(t);if("function"!=typeof r){const o=e.left-n.left,s=e.top-n.top,[a,l,c,u]=fb(t,e,n),h={transform:`translate(${o}px, ${s}px)`},d={transform:"translate(0, 0)"};a!==l&&(h.width=`${a}px`,d.width=`${l}px`),c!==u&&(h.height=`${c}px`,d.height=`${u}px`),i=t.animate([h,d],{duration:r.duration,easing:r.easing})}else i=new Animation(r(t,"remain",e,n)),i.play();Zy.set(t,i),Yy.set(t,n),i.addEventListener("finish",sb.bind(null,t))}(t):i&&!n?function(t){var e;if(!Ky.has(t)||!Yy.has(t))return;const[n,i]=Ky.get(t);function r(){var e;t.remove(),Yy.delete(t),Ky.delete(t),Zy.delete(t),null===(e=Qy.get(t))||void 0===e||e.disconnect()}if(Object.defineProperty(t,ob,{value:!0}),i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(t,i):n&&n.parentNode?n.parentNode.appendChild(t):null===(e=mb(t))||void 0===e||e.appendChild(t),!vb(t))return r();const[o,s,a,l]=function(t){const e=Yy.get(t),[n,,i]=fb(t,e,pb(t));let r=t.parentElement;for(;r&&("static"===getComputedStyle(r).position||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const o=getComputedStyle(r),s=Yy.get(r)||pb(r);return[Math.round(e.top-s.top)-db(o.borderTopWidth),Math.round(e.left-s.left)-db(o.borderLeftWidth),n,i]}(t),c=gb(t),u=Yy.get(t);let h;Object.assign(t.style,{position:"absolute",top:`${o}px`,left:`${s}px`,width:`${a}px`,height:`${l}px`,margin:0,pointerEvents:"none",transformOrigin:"center",zIndex:100}),"function"!=typeof c?h=t.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:c.duration,easing:"ease-out"}):(h=new Animation(c(t,"remove",u)),h.play()),Zy.set(t,h),h.addEventListener("finish",r)}(t):function(t){const e=pb(t);Yy.set(t,e);const n=gb(t);if(!vb(t))return;let i;"function"!=typeof n?i=t.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*n.duration,easing:"ease-in"}):(i=new Animation(n(t,"add",e)),i.play()),Zy.set(t,i),i.addEventListener("finish",sb.bind(null,t))}(t)}(t))}),ub=new ResizeObserver(t=>{t.forEach(t=>{t.target===ib&&(clearTimeout(eb.get(ib)),eb.set(ib,setTimeout(()=>{Xy.forEach(t=>yb(t,t=>lb(()=>sb(t))))},100))),Yy.has(t.target)&&sb(t.target)})}),ub.observe(ib));const bb=new Map;let _b=null;function xb(){bb.forEach((t,e)=>{const n=document.getElementById(e);n&&(bb.delete(e),function(t,e={}){cb&&ub&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&"function"!=typeof e&&!e.disrespectUserMotionPreference||(nb.add(t),"static"===getComputedStyle(t).position&&Object.assign(t.style,{position:"relative"}),yb(t,sb,ab,t=>null==ub?void 0:ub.observe(t)),"function"==typeof e?tb.set(t,e):tb.set(t,{duration:250,easing:"ease-in-out",...e}),cb.observe(t,{childList:!0}),Xy.add(t))),Object.freeze({parent:t,enable:()=>{nb.add(t)},disable:()=>{nb.delete(t)},isEnabled:()=>nb.has(t)})}(n,t||{}))})}const wb={install(t,e={}){var n;t.use($y,((t={})=>{const{rules:e={},locales:n={},inputs:i={},messages:r={},locale:o,theme:s,iconLoaderUrl:a,iconLoader:l,icons:c={},...u}=t,h=function(t={}){return function(e){const n=Object.assign({},t,e.props.validationRules);let i=Ev(e);const r={input:If(),rerun:null,isPassing:!0};let o=Zf(e.props.validation);e.on("prop:validation",({payload:t})=>{Bf(o,t)||(o=Zf(t),Lv(i.receipts),e.store.filter(()=>!1,"validation"),e.props.parsedRules=qv(t,n),i.kill(),i=Ev(e),Iv(i,e.props.parsedRules,r))}),e.props.parsedRules=qv(o,n),Iv(i,e.props.parsedRules,r)}}({...Tv,...e||{}}),d=function(t){return function(e){let n=Jv(e.config.locale,t),i=n?t[n]:{};e.on("prop:locale",({payload:r})=>{n=Jv(r,t),i=n?t[n]:{},e.store.touch()}),e.on("prop:label",()=>e.store.touch()),e.on("prop:validationLabel",()=>e.store.touch()),e.hook.text((t,e)=>{var n,r;const o=(null===(n=t.meta)||void 0===n?void 0:n.messageKey)||t.key;if(Rf(i,t.type)&&Rf(i[t.type],o)){const e=i[t.type][o];t.value="function"==typeof e?Array.isArray(null===(r=t.meta)||void 0===r?void 0:r.i18nArgs)?e(...t.meta.i18nArgs):e(t):e}return e(t)})}}(Hf({en:Qv,...n||{}},r)),p=function(...t){const e=t.reduce((t,e)=>Hf(t,e),{}),n=()=>{};return n.library=function(t){const n=Xf(t.props.type);Rf(e,n)&&t.define(e[n])},n}(xv,i);return Hf({plugins:[p,cy(s,c,a,l),Fy,d,h],...o?{config:{locale:o}}:{}},u||{},!0)})({...e,plugins:[t=>{t.on("created",()=>{var e;if("function"==typeof(null===(e=t.props.definition)||void 0===e?void 0:e.schema)){if(void 0===typeof window)return;const e=t.props.definition.schema;t.props.definition.schema=n=>{n.outer=Hf({attrs:{id:`outer-${t.props.id}`}},n.outer||{});const i=e(n),r=Kg(i[0])?Array.isArray(i[0].else)?i[0].else[0]:i[0].else:i[0];return r&&Xg(r)&&r.attrs&&"id"in r.attrs&&bb.set(String("$id"===r.attrs.id?t.props.id:r.attrs.id),void 0),i}}_b||(xb(),_b=new MutationObserver(()=>{xb(),!bb.size&&_b&&(_b.disconnect(),_b=null)}),_b.observe(document,{childList:!0,subtree:!0}))})},...e.plugins||[]],config:{...e.config,classes:{messages:xf.messages,message:xf.message,help:xf.help,optionHelp:xf.help,inner:xf.inner,...null==(n=e.config)?void 0:n.classes}}}))}},Sb=t=>(vn("data-v-69b1dd7f"),t=t(),yn(),t),kb={key:0},Cb=[Sb(()=>Hr("td",{colspan:"999"},[Hr("span",{class:"loading"})],-1))],Ob={key:1},Ab={colspan:"999"},Tb=Sb(()=>Hr("div",null,null,-1)),Pb=Un({__name:"table-core",props:{hideRowCount:{type:Boolean},loading:{type:Boolean},page:{},pageTotal:{},rows:{default:()=>[]},rowCount:{default:({rows:t})=>(null==t?void 0:t.length)||0},onSearch:{},searchProps:{default:()=>({debounce:0,placeholder:"Search..."})},titleDescription:{},title:{}},emits:["sort","update:page"],setup(t,{emit:e}){const n=t,i=ms();function r(t){return void 0!==t.page&&void 0!==t.pageTotal}const o=_o(()=>{const t=n.page||1,e=n.pageTotal,i=n.rowCount;if(!e||!i)return{start:0,end:0};let r;return r=t<e?n.rows.length*(t-1):i-n.rows.length,{start:r+1,end:r+n.rows.length}});return(t,s)=>(jr(),Rr("div",null,[r(n)||t.hideRowCount?Yr("",!0):(jr(),Rr("div",{key:0,class:q(t.$style.searchCountTop)},[Xr(" Showing "),Hr("strong",null,J(t.rows.length),1),Xr(" of "),Hr("strong",null,J(t.rowCount),1)],2)),t.$slots.title||t.title||t.$slots.titleDescription||t.titleDescription?(jr(),Rr("div",{key:1,class:q(t.$style.titleRow)},[Oi(t.$slots,"title",{},()=>[t.title?(jr(),Br(yf,{key:0},{default:bn(()=>[Xr(J(t.title),1)]),_:1})):Yr("",!0)],!0),t.$slots.titleDescription||t.titleDescription?(jr(),Rr("div",{key:0,class:q(t.$style.titleDescription)},[Oi(t.$slots,"titleDescription",{},()=>[Xr(J(t.titleDescription),1)],!0)],2)):Yr("",!0)],2)):Yr("",!0),t.$slots.search||t.onSearch?(jr(),Rr("div",{key:2,class:q(t.$style.searchInput)},[Oi(t.$slots,"search",{},()=>[Ur(Te(Cv),{config:{delay:t.searchProps.debounce},placeholder:t.searchProps.placeholder,onInput:t.onSearch},null,8,["config","placeholder","onInput"])],!0)],2)):Yr("",!0),Hr("table",{class:q(t.$style.table)},[Hr("thead",{onClick:s[0]||(s[0]=t=>function(t){var n;if(!t.target)return;const r=lu.get(t,"target.attributes.data-sort-by.value");if(!r)return;const o=t.target,s=o.classList.contains(i.active)?o.classList.contains(i.reverse)?"asc":"desc":"asc";null!=(n=o.parentElement)&&n.children&&Array.from(o.parentElement.children).forEach(t=>{t.classList&&(t.classList.remove(i.active),t.classList.remove(i.reverse))}),o.classList.add(i.active),o.classList["desc"===s?"add":"remove"](i.reverse),e("sort",r,s)}(t))},[Oi(t.$slots,"thead",{},void 0,!0)]),Hr("tbody",null,[(jr(!0),Rr(Tr,null,ki(t.rows,e=>Oi(t.$slots,"tbody",{row:e,rows:t.rows},void 0,!0)),256)),t.loading?(jr(),Rr("tr",kb,Cb)):Yr("",!0),t.rows.length||t.loading?Yr("",!0):(jr(),Rr("tr",Ob,[Hr("td",Ab,[Oi(t.$slots,"empty",{},()=>[Xr(" No items found ")],!0)])]))])],2),r(n)?(jr(),Rr("div",{key:3,class:q(t.$style.footer)},[Tb,Ur(Te(gf),{"model-value":n.page,total:n.pageTotal,class:q(t.$style.pagination),"onUpdate:modelValue":s[1]||(s[1]=e=>t.$emit("update:page",e))},null,8,["model-value","total","class"]),t.hideRowCount?Yr("",!0):(jr(),Rr("div",{key:0,class:q(t.$style.searchCountBottom)},[Xr(" Showing "),Hr("strong",null,J(o.value.start)+"-"+J(o.value.end),1),Xr(" of "),Hr("strong",null,J(t.rowCount),1)],2))],2)):Yr("",!0)]))}}),Eb=pu(Pb,[["__cssModules",{$style:{icon:"_icon_sahpl_1",titleRow:"_titleRow_sahpl_51",titleDescription:"_titleDescription_sahpl_54",searchCount:"_searchCount_sahpl_58",searchCountTop:"_searchCountTop_sahpl_59",searchCountBottom:"_searchCountBottom_sahpl_60",searchInput:"_searchInput_sahpl_75",table:"_table_sahpl_79",active:"_active_sahpl_111",reverse:"_reverse_sahpl_114",footer:"_footer_sahpl_121",pagination:"_pagination_sahpl_131",spin:"_spin_sahpl_1"}}],["__scopeId","data-v-69b1dd7f"]]),Mb=(Object.assign(Eb,{Title:yf}),Boolean,Boolean,he({id:1,active:[],add(t){Mb.active.push({id:this.id++,...t})},remove(t){const e=this.active.findIndex(e=>e.id===t);this.active.splice(e,1)},reset(){this.active=[],this.id=1}})),Lb="sidenav-lock",$b=(he({isMobileOpen:!1,isLocked:!!(typeof localStorage<"u"&&localStorage.getItem(Lb)),toggleMobile(){this.isMobileOpen=!this.isMobileOpen},toggleLock(){this.isLocked=!this.isLocked,typeof localStorage<"u"&&(this.isLocked?localStorage.setItem(Lb,"true"):localStorage.removeItem(Lb))}}),{install(t,e={}){t.use(wb,e.form),t.directive("hidden",function(t,e){t.style.visibility=e.value?"hidden":null})}});function jb(t,e,...n){if(t in e){let i=e[t];return"function"==typeof i?i(...n):i}let i=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(t=>`"${t}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,jb),i}var Db=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(Db||{}),Ib=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(Ib||{});function Nb({visible:t=!0,features:e=0,ourProps:n,theirProps:i,...r}){var o;let s=Vb(i,n),a=Object.assign(r,{props:s});return t||2&e&&s.static?Rb(a):1&e?jb(null==(o=s.unmount)||o?0:1,{0:()=>null,1:()=>Rb({...r,props:{...s,hidden:!0,style:{display:"none"}}})}):Rb(a)}function Rb({props:t,attrs:e,slots:n,slot:i,name:r}){var o,s;let{as:a,...l}=function(t,e=[]){let n=Object.assign({},t);for(let t of e)t in n&&delete n[t];return n}(t,["unmount","static"]),c=null==(o=n.default)?void 0:o.call(n,i),u={};if(i){let t=!1,e=[];for(let[n,r]of Object.entries(i))"boolean"==typeof r&&(t=!0),!0===r&&e.push(n);t&&(u["data-headlessui-state"]=e.join(" "))}if("template"===a){if(c=Bb(c??[]),Object.keys(l).length>0||Object.keys(e).length>0){let[t,...n]=c??[];if(!function(t){return null!=t&&("string"==typeof t.type||"object"==typeof t.type||"function"==typeof t.type)}(t)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${r} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(e)).map(t=>t.trim()).filter((t,e,n)=>n.indexOf(t)===e).sort((t,e)=>t.localeCompare(e)).map(t=>` - ${t}`).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(t=>` - ${t}`).join("\n")].join("\n"));let i=Vb(null!=(s=t.props)?s:{},l),o=Gr(t,i);for(let t in i)t.startsWith("on")&&(o.props||(o.props={}),o.props[t]=i[t]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return xo(a,Object.assign({},l,u),{default:()=>c})}function Bb(t){return t.flatMap(t=>t.type===Tr?Bb(t.children):[t])}function Vb(...t){if(0===t.length)return{};if(1===t.length)return t[0];let e={},n={};for(let i of t)for(let t in i)t.startsWith("on")&&"function"==typeof i[t]?(null!=n[t]||(n[t]=[]),n[t].push(i[t])):e[t]=i[t];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(n).map(t=>[t,void 0])));for(let t in n)Object.assign(e,{[t](e,...i){let r=n[t];for(let t of r){if(e instanceof Event&&e.defaultPrevented)return;t(e,...i)}}});return e}let zb=0;function Fb(){return++zb}var Wb=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(Wb||{});function Hb(t){var e;return null==t||null==t.value?null:null!=(e=t.value.$el)?e:t.value}let Ub=Symbol("Context");var qb=(t=>(t[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t))(qb||{});function Gb(t,e){if(t)return t;let n=e??"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}var Xb=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(Xb||{});let Yb=Symbol("DisclosureContext");function Kb(t){let e=Sn(Yb,null);if(null===e){let e=new Error(`<${t} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,Kb),e}return e}let Zb=Symbol("DisclosurePanelContext");Un({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(t,{slots:e,attrs:n}){let i=ke(t.defaultOpen?0:1),r=ke(null),o=ke(null),s={buttonId:ke(`headlessui-disclosure-button-${Fb()}`),panelId:ke(`headlessui-disclosure-panel-${Fb()}`),disclosureState:i,panel:r,button:o,toggleDisclosure(){i.value=jb(i.value,{0:1,1:0})},closeDisclosure(){1!==i.value&&(i.value=1)},close(t){s.closeDisclosure();let e=t?t instanceof HTMLElement?t:t.value instanceof HTMLElement?Hb(t):Hb(s.button):Hb(s.button);null==e||e.focus()}};return wn(Yb,s),function(t){wn(Ub,t)}(_o(()=>jb(i.value,{0:qb.Open,1:qb.Closed}))),()=>{let{defaultOpen:r,...o}=t;return Nb({theirProps:o,ourProps:{},slot:{open:0===i.value,close:s.close},slots:e,attrs:n,name:"Disclosure"})}}}),Un({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=Kb("DisclosureButton"),o=Sn(Zb,null),s=_o(()=>null!==o&&o.value===r.panelId.value);ci(()=>{s.value||null!==t.id&&(r.buttonId.value=t.id)}),pi(()=>{s.value||(r.buttonId.value=null)});let a=ke(null);i({el:a,$el:a}),s.value||Cn(()=>{r.button.value=a.value});let l=function(t,e){let n=ke(Gb(t.value.type,t.value.as));return ci(()=>{n.value=Gb(t.value.type,t.value.as)}),Cn(()=>{var t;n.value||Hb(e)&&Hb(e)instanceof HTMLButtonElement&&(null==(t=Hb(e))||!t.hasAttribute("type"))&&(n.value="button")}),n}(_o(()=>({as:t.as,type:e.type})),a);function c(){var e;t.disabled||(s.value?(r.toggleDisclosure(),null==(e=Hb(r.button))||e.focus()):r.toggleDisclosure())}function u(e){var n;if(!t.disabled)if(s.value)switch(e.key){case Wb.Space:case Wb.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure(),null==(n=Hb(r.button))||n.focus()}else switch(e.key){case Wb.Space:case Wb.Enter:e.preventDefault(),e.stopPropagation(),r.toggleDisclosure()}}function h(t){t.key===Wb.Space&&t.preventDefault()}return()=>{var i;let o={open:0===r.disclosureState.value},{id:d,...p}=t;return Nb({ourProps:s.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:null!=(i=r.buttonId.value)?i:d,ref:a,type:l.value,"aria-expanded":0===r.disclosureState.value,"aria-controls":0===r.disclosureState.value||Hb(r.panel)?r.panelId.value:void 0,disabled:!!t.disabled||void 0,onClick:c,onKeydown:u,onKeyup:h},theirProps:p,slot:o,attrs:e,slots:n,name:"DisclosureButton"})}}}),Un({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(t,{attrs:e,slots:n,expose:i}){let r=Kb("DisclosurePanel");ci(()=>{null!==t.id&&(r.panelId.value=t.id)}),pi(()=>{r.panelId.value=null}),i({el:r.panel,$el:r.panel}),wn(Zb,r.panelId);let o=Sn(Ub,null),s=_o(()=>null!==o?(o.value&qb.Open)===qb.Open:0===r.disclosureState.value);return()=>{var i;let o={open:0===r.disclosureState.value,close:r.close},{id:a,...l}=t;return Nb({ourProps:{id:null!=(i=r.panelId.value)?i:a,ref:r.panel},theirProps:l,slot:o,attrs:e,slots:n,features:Db.RenderStrategy|Db.Static,visible:s.value,name:"DisclosurePanel"})}}});Boolean,Boolean,Boolean,Boolean,Boolean;Boolean,Boolean;const Qb=pu(Un({__name:"nav-link-contents",props:{link:{},wrapperMaxWidth:{}},setup:t=>(t,e)=>(jr(),Rr("div",{class:"wrapper",style:z({maxWidth:t.wrapperMaxWidth})},[t.link.icon?(jr(),Rr(Tr,{key:0},["string"==typeof t.link.icon?(jr(),Br(Te(mu),{key:0,class:q([t.link.icon,"icon"]),icon:t.link.icon},null,8,["class","icon"])):(jr(),Br(xi(t.link.icon()),{key:1}))],64)):Yr("",!0),Oi(t.$slots,"default",{},void 0,!0)],4))}),[["__scopeId","data-v-418031f4"]]),Jb=["href","onClick"],t_={key:1};Boolean;Boolean;Boolean;function e_(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}function n_(t,e={}){if(e_(t)){const n=(e,i)=>{var r,o;const s=null!=(r=null==t?void 0:t.$attrs)&&r[e]?[null==(o=null==t?void 0:t.$attrs)?void 0:o[e]]:[];return[i].flat().reduce((t,i)=>{if(null!=i){const r=typeof i;if("string"===r||"number"===r)t.push(i);else if("object"===r){const r=Array.isArray(i)?n(e,i):Object.entries(i).map(([t,n])=>"style"!==e||!n&&0!==n?n?t:void 0:`${t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`);t=r.length?t.concat(r.filter(t=>!!t)):t}}return t},s)};Object.entries(e).forEach(([e,i])=>{if(null!=i){const r=e.match(/^on(.+)/);r?t.addEventListener(r[1].toLowerCase(),i):"p-bind"===e?n_(t,i):(i="class"===e?[...new Set(n("class",i))].join(" ").trim():"style"===e?n("style",i).join(";").trim():i,(t.$attrs=t.$attrs||{})&&(t.$attrs[e]=i),t.setAttribute(e,i))}})}}function i_(t,e){return e_(t)?Array.from(t.querySelectorAll(e)):[]}function r_(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}function o_(t){return!!(t&&t.constructor&&t.call&&t.apply)}function s_(t){return!r_(t)}function a_(t,e=!0){return t instanceof Object&&t.constructor===Object&&(e||0!==Object.keys(t).length)}function l_(t,...e){return o_(t)?t(...e):t}function c_(t,e=!0){return"string"==typeof t&&(e||""!==t)}function u_(t){return c_(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function h_(t,e="",n={}){const i=u_(e).split("."),r=i.shift();return r?a_(t)?h_(l_(t[Object.keys(t).find(t=>u_(t)===r)||""],n),i.join("."),n):void 0:l_(t,n)}function d_(t,e=!0){return Array.isArray(t)&&(e||0!==t.length)}function p_(t){return s_(t)&&!isNaN(t)}function f_(t,e){if(e){const n=e.test(t);return e.lastIndex=0,n}return!1}function g_(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function m_(t){return c_(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,e)=>0===e?t:"-"+t.toLowerCase()).toLowerCase():t}function v_(t){return c_(t)?t.replace(/[A-Z]/g,(t,e)=>0===e?t:"."+t.toLowerCase()).toLowerCase():t}Boolean;var y_={};function b_(){return function(t="pui_id_"){return y_.hasOwnProperty(t)||(y_[t]=0),y_[t]++,`${t}${y_[t]}`}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_")}var __=Object.defineProperty,x_=Object.defineProperties,w_=Object.getOwnPropertyDescriptors,S_=Object.getOwnPropertySymbols,k_=Object.prototype.hasOwnProperty,C_=Object.prototype.propertyIsEnumerable,O_=(t,e,n)=>e in t?__(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,A_=(t,e)=>{for(var n in e||(e={}))k_.call(e,n)&&O_(t,n,e[n]);if(S_)for(var n of S_(e))C_.call(e,n)&&O_(t,n,e[n]);return t},T_=(t,e)=>x_(t,w_(e)),P_=(t,e)=>{var n={};for(var i in t)k_.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&S_)for(var i of S_(t))e.indexOf(i)<0&&C_.call(t,i)&&(n[i]=t[i]);return n},E_=function(){const t=new Map;return{on(e,n){let i=t.get(e);return i?i.push(n):i=[n],t.set(e,i),this},off(e,n){let i=t.get(e);return i&&i.splice(i.indexOf(n)>>>0,1),this},emit(e,n){let i=t.get(e);i&&i.slice().map(t=>{t(n)})},clear(){t.clear()}}}(),M_=E_;function L_(t,e){d_(t)?t.push(...e||[]):a_(t)&&Object.assign(t,e)}function $_(t,e=""){return["opacity","z-index","line-height","font-weight","flex","flex-grow","flex-shrink","order"].some(t=>e.endsWith(t))?t:`${t}`.trim().split(" ").map(t=>p_(t)?`${t}px`:t).join(" ")}function j_(t="",e=""){return function(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}(`${c_(t,!1)&&c_(e,!1)?`${t}-`:t}${e}`)}function D_(t="",e=""){return`--${j_(t,e)}`}function I_(t,e="",n="",i=[],r){if(c_(t)){const o=/{([^}]*)}/g,s=t.trim();if(f_(s,o)){const t=s.replaceAll(o,t=>{const e=t.replace(/{|}/g,"").split(".").filter(t=>!i.some(e=>f_(t,e)));return`var(${D_(n,m_(e.join("-")))}${s_(r)?`, ${r}`:""})`}),e=/(\d+\s+[\+\-\*\/]\s+\d+)/g,a=/var\([^)]+\)/g;return f_(t.replace(a,"0"),e)?`calc(${t})`:t}return $_(s,e)}if(p_(t))return $_(t,e)}function N_(t,e){return t?`${t}{${e}}`:""}var R_=(...t)=>B_(z_.getTheme(),...t),B_=(t={},e,n,i="variable")=>{if(e){const{variable:r,options:o}=z_.defaults||{},{prefix:s,transform:a}=(null==t?void 0:t.options)||o||{},l=f_(e,/{([^}]*)}/g)?e:`{${e}}`;return"value"===i||"strict"===a?z_.getTokenValue(e):I_(l,void 0,s,[r.excludedKeyRegex],n)}return""};var V_={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:`${t}{:root{[CSS]}}`,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(t.trim())}}},custom:{resolve:t=>({type:"custom",selector:t,matched:!0})}},resolve(t){const e=Object.keys(this.rules).filter(t=>"custom"!==t).map(t=>this.rules[t]);return[t].flat().map(t=>{var n;return null!=(n=e.map(e=>e.resolve(t)).find(t=>t.matched))?n:this.rules.custom.resolve(t)})}},_toVariables:(t,e)=>function(t,e={}){const n=z_.defaults.variable,{prefix:i=n.prefix,selector:r=n.selector,excludedKeyRegex:o=n.excludedKeyRegex}=e,s=(t,e="")=>Object.entries(t).reduce((t,[n,r])=>{const a=f_(n,o)?j_(e):j_(e,m_(n)),l=function(t){return a_(t)&&t.hasOwnProperty("value")&&t.hasOwnProperty("type")?t.value:t}(r);if(a_(l)){const{variables:e,tokens:n}=s(l,a);L_(t.tokens,n),L_(t.variables,e)}else t.tokens.push((i?a.replace(`${i}-`,""):a).replaceAll("-",".")),function(t,e,n){c_(e,!1)&&t.push(`${e}:${n};`)}(t.variables,D_(a),I_(l,a,i,[o]));return t},{variables:[],tokens:[]}),{variables:a,tokens:l}=s(t,i);return{value:a,tokens:l,declarations:a.join(""),css:N_(r,a.join(""))}}(t,{prefix:null==e?void 0:e.prefix}),getCommon({name:t="",theme:e={},params:n,set:i,defaults:r}){var o,s,a,l;const{preset:c,options:u}=e;let h,d,p,f;if(s_(c)){const{primitive:e,semantic:n}=c,g=n||{},{colorScheme:m}=g,v=P_(g,["colorScheme"]),y=m||{},{dark:b}=y,_=P_(y,["dark"]),x=s_(e)?this._toVariables({primitive:e},u):{},w=s_(v)?this._toVariables({semantic:v},u):{},S=s_(_)?this._toVariables({light:_},u):{},k=s_(b)?this._toVariables({dark:b},u):{},[C,O]=[null!=(o=x.declarations)?o:"",x.tokens],[A,T]=[null!=(s=w.declarations)?s:"",w.tokens||[]],[P,E]=[null!=(a=S.declarations)?a:"",S.tokens||[]],[M,L]=[null!=(l=k.declarations)?l:"",k.tokens||[]];h=this.transformCSS(t,C,"light","variable",u,i,r),d=O,p=`${this.transformCSS(t,`${A}${P}color-scheme:light`,"light","variable",u,i,r)}${this.transformCSS(t,`${M}color-scheme:dark`,"dark","variable",u,i,r)}`,f=[...new Set([...T,...E,...L])]}return{primitive:{css:h,tokens:d},semantic:{css:p,tokens:f}}},getPreset({name:t="",preset:e={},options:n,params:i,set:r,defaults:o,selector:s}){var a,l,c;const u=t.replace("-directive",""),h=e,{colorScheme:d}=h,p=P_(h,["colorScheme"]),f=d||{},{dark:g}=f,m=P_(f,["dark"]),v=s_(p)?this._toVariables({[u]:p},n):{},y=s_(m)?this._toVariables({[u]:m},n):{},b=s_(g)?this._toVariables({[u]:g},n):{},[_,x]=[null!=(a=v.declarations)?a:"",v.tokens||[]],[w,S]=[null!=(l=y.declarations)?l:"",y.tokens||[]],[k,C]=[null!=(c=b.declarations)?c:"",b.tokens||[]],O=[...new Set([...x,...S,...C])];return{css:`${this.transformCSS(u,`${_}${w}`,"light","variable",n,r,o,s)}${this.transformCSS(u,k,"dark","variable",n,r,o,s)}`,tokens:O}},getPresetC({name:t="",theme:e={},params:n,set:i,defaults:r}){var o;const{preset:s,options:a}=e,l=null==(o=null==s?void 0:s.components)?void 0:o[t];return this.getPreset({name:t,preset:l,options:a,params:n,set:i,defaults:r})},getPresetD({name:t="",theme:e={},params:n,set:i,defaults:r}){var o;const s=t.replace("-directive",""),{preset:a,options:l}=e,c=null==(o=null==a?void 0:a.directives)?void 0:o[s];return this.getPreset({name:s,preset:c,options:l,params:n,set:i,defaults:r})},getColorSchemeOption(t,e){var n;return this.regex.resolve(null!=(n=t.darkModeSelector)?n:e.options.darkModeSelector)},getLayerOrder(t,e={},n,i){const{cssLayer:r}=e;return r?`@layer ${l_(r.order||"primeui",n)}`:""},getCommonStyleSheet({name:t="",theme:e={},params:n,props:i={},set:r,defaults:o}){const s=this.getCommon({name:t,theme:e,params:n,set:r,defaults:o}),a=Object.entries(i).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return Object.entries(s||{}).reduce((t,[e,n])=>{if(null!=n&&n.css){const i=g_(null==n?void 0:n.css),r=`${e}-variables`;t.push(`<style type="text/css" data-primevue-style-id="${r}" ${a}>${i}</style>`)}return t},[]).join("")},getStyleSheet({name:t="",theme:e={},params:n,props:i={},set:r,defaults:o}){var s;const a={name:t,theme:e,params:n,set:r,defaults:o},l=null==(s=t.includes("-directive")?this.getPresetD(a):this.getPresetC(a))?void 0:s.css,c=Object.entries(i).reduce((t,[e,n])=>t.push(`${e}="${n}"`)&&t,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${g_(l)}</style>`:""},createTokens(t={},e,n="",i="",r={}){return Object.entries(t).forEach(([t,o])=>{const s=f_(t,e.variable.excludedKeyRegex)?n:n?`${n}.${v_(t)}`:v_(t),a=i?`${i}.${t}`:t;a_(o)?this.createTokens(o,e,s,a,r):(r[s]||(r[s]={paths:[],computed(t,e={}){if(t){const n=this.paths.find(e=>e.scheme===t)||this.paths.find(t=>"none"===t.scheme);return null==n?void 0:n.computed(t,e.binding)}return this.paths.map(t=>t.computed(t.scheme,e[t.scheme]))}}),r[s].paths.push({path:a,value:o,scheme:a.includes("colorScheme.light")?"light":a.includes("colorScheme.dark")?"dark":"none",computed(t,e={}){const n=/{([^}]*)}/g;let i=o;if(e.name=this.path,e.binding||(e.binding={}),f_(o,n)){const s=o.trim().replaceAll(n,n=>{var i,o;const s=n.replace(/{|}/g,"");return null==(o=null==(i=r[s])?void 0:i.computed(t,e))?void 0:o.value}),a=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,l=/var\([^)]+\)/g;i=f_(s.replace(l,"0"),a)?`calc(${s})`:s}return r_(e.binding)&&delete e.binding,{colorScheme:t,path:this.path,paths:e,value:i.includes("undefined")?void 0:i}}}))}),r},getTokenValue(t,e,n){var i;const r=e.split(".").filter(t=>!f_(t.toLowerCase(),n.variable.excludedKeyRegex)).join("."),o=e.includes("colorScheme.light")?"light":e.includes("colorScheme.dark")?"dark":void 0,s=[null==(i=t[r])?void 0:i.computed(o)].flat().filter(t=>t);return 1===s.length?s[0].value:s.reduce((t={},e)=>{const n=e,{colorScheme:i}=n,r=P_(n,["colorScheme"]);return t[i]=r,t},void 0)},transformCSS(t,e,n,i,r={},o,s,a){if(s_(e)){const{cssLayer:l}=r;if("style"!==i){const t=this.getColorSchemeOption(r,s),i=a?N_(a,e):e;e="dark"===n?t.reduce((t,{selector:e})=>(s_(e)&&(t+=e.includes("[CSS]")?e.replace("[CSS]",i):N_(e,i)),t),""):N_(a??":root",e)}if(l){const n={name:"primeui",order:"primeui"};a_(l)&&(n.name=l_(l.name,{name:t,type:i})),s_(n.name)&&(e=N_(`@layer ${n.name}`,e),null==o||o.layerNames(n.name))}return e}return""}},z_={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){const{theme:e}=t;e&&(this._theme=T_(A_({},e),{options:A_(A_({},this.defaults.options),e.options)}),this._tokens=V_.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return(null==(t=this.theme)?void 0:t.preset)||{}},get options(){var t;return(null==(t=this.theme)?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),M_.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=T_(A_({},this.theme),{preset:t}),this._tokens=V_.createTokens(t,this.defaults),this.clearLoadedStyleNames(),M_.emit("preset:change",t),M_.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=T_(A_({},this.theme),{options:t}),this.clearLoadedStyleNames(),M_.emit("options:change",t),M_.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return V_.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",e){return V_.getCommon({name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",e){const n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return V_.getPresetC(n)},getDirective(t="",e){const n={name:t,theme:this.theme,params:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return V_.getPresetD(n)},getCustomPreset(t="",e,n,i){const r={name:t,preset:e,options:this.options,selector:n,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return V_.getPreset(r)},getLayerOrderCSS(t=""){return V_.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",e,n="style",i){return V_.transformCSS(t,e,i,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",e,n={}){return V_.getCommonStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,e,n={}){return V_.getStyleSheet({name:t,theme:this.theme,params:e,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:e}){this._loadingStyles.size&&(this._loadingStyles.delete(e),M_.emit(`theme:${e}:load`,t),!this._loadingStyles.size&&M_.emit("theme:load"))}},F_={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(t){return this._loadedStyleNames.has(t)},setLoadedStyleName:function(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName:function(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function W_(t){return(W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function H_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function U_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?H_(Object(n),!0).forEach(function(e){q_(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):H_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function q_(t,e,n){return(e=function(t){var e=function(t){if("object"!=W_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=W_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==W_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var G_=0;function X_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ke(!1),i=ke(t),r=ke(null),o=typeof window<"u"&&window.document&&window.document.createElement?window.document:void 0,s=e.document,a=void 0===s?o:s,l=e.immediate,c=void 0===l||l,u=e.manual,h=void 0!==u&&u,d=e.name,p=void 0===d?"style_".concat(++G_):d,f=e.id,g=void 0===f?void 0:f,m=e.media,v=void 0===m?void 0:m,y=e.nonce,b=void 0===y?void 0:y,_=e.first,x=void 0!==_&&_,w=e.onMounted,S=void 0===w?void 0:w,k=e.onUpdated,C=void 0===k?void 0:k,O=e.onLoad,A=void 0===O?void 0:O,T=e.props,P=void 0===T?{}:T,E=function(){},M=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(a){var s=U_(U_({},P),o),l=s.name||p,c=s.id||g,u=s.nonce||b;r.value=a.querySelector('style[data-primevue-style-id="'.concat(l,'"]'))||a.getElementById(c)||a.createElement("style"),r.value.isConnected||(i.value=e||t,n_(r.value,{type:"text/css",id:c,media:v,nonce:u}),x?a.head.prepend(r.value):a.head.appendChild(r.value),function(t,e="",n){e_(t)&&null!=n&&t.setAttribute(e,n)}(r.value,"data-primevue-style-id",l),n_(r.value,s),r.value.onload=function(t){return null==A?void 0:A(t,{name:l})},null==S||S(l)),!n.value&&(E=On(i,function(t){r.value.textContent=t,null==C||C(l)},{immediate:!0}),n.value=!0)}};return c&&!h&&function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ro()?ci(t):e?t():Ke(t)}(M),{id:g,name:p,el:r,css:i,unload:function(){!a||!n.value||(E(),function(t){return!!(null!==t&&typeof t<"u"&&t.nodeName&&function(t){if(t){let e=t.parentNode;return e&&e instanceof ShadowRoot&&e.host&&(e=e.host),e}return null}(t))}(r.value)&&a.head.removeChild(r.value),n.value=!1)},load:M,isLoaded:pe(n)}}function Y_(t){return(Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K_(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0!==e)for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Z_(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z_(t,e):void 0}}(t,e)||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 Z_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function Q_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function J_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Q_(Object(n),!0).forEach(function(e){tx(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function tx(t,e,n){return(e=function(t){var e=function(t){if("object"!=Y_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Y_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Y_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ex={name:"base",css:function(t){var e=t.dt;return"\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.p-hidden-accessible input,\n.p-hidden-accessible select {\n transform: scale(0);\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: ".concat(e("scrollbar.width"),";\n}\n")},theme:function(t){var e=t.dt;return"\n* {\n box-sizing: border-box;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity 0.1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity 0.1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n\n.p-disabled,\n.p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n}\n\n.p-disabled,\n.p-component:disabled {\n opacity: ".concat(e("disabled.opacity"),";\n}\n\n.pi {\n font-size: ").concat(e("icon.size"),";\n}\n\n.p-icon {\n width: ").concat(e("icon.size"),";\n height: ").concat(e("icon.size"),";\n}\n\n.p-overlay-mask {\n background: ").concat(e("mask.background"),";\n color: ").concat(e("mask.color"),";\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-mask-enter {\n animation: p-overlay-mask-enter-animation ").concat(e("mask.transition.duration")," forwards;\n}\n\n.p-overlay-mask-leave {\n animation: p-overlay-mask-leave-animation ").concat(e("mask.transition.duration")," forwards;\n}\n\n@keyframes p-overlay-mask-enter-animation {\n from {\n background: transparent;\n }\n to {\n background: ").concat(e("mask.background"),";\n }\n}\n@keyframes p-overlay-mask-leave-animation {\n from {\n background: ").concat(e("mask.background"),";\n }\n to {\n background: transparent;\n }\n}\n")},classes:{},inlineStyles:{},load:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return t})(l_(t,{dt:R_}));return n?X_(g_(n),J_({name:this.name},e)):{}},loadCSS:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.load(this.css,t)},loadTheme:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.load(this.theme,e,function(n){return z_.transformCSS(e.name||t.name,n)})},getCommonTheme:function(t){return z_.getCommon(this.name,t)},getComponentTheme:function(t){return z_.getComponent(this.name,t)},getDirectiveTheme:function(t){return z_.getDirective(this.name,t)},getPresetTheme:function(t,e,n){return z_.getCustomPreset(this.name,t,e,n)},getLayerOrderThemeCSS:function(){return z_.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.css){var n=l_(this.css,{dt:R_}),i=g_("".concat(n).concat(t)),r=Object.entries(e).reduce(function(t,e){var n=K_(e,2),i=n[0],r=n[1];return t.push("".concat(i,'="').concat(r,'"'))&&t},[]).join(" ");return'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(r,">").concat(i,"</style>")}return""},getCommonThemeStyleSheet:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return z_.getCommonStyleSheet(this.name,t,e)},getThemeStyleSheet:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[z_.getStyleSheet(this.name,t,e)];if(this.theme){var i="base"===this.name?"global-style":"".concat(this.name,"-style"),r=l_(this.theme,{dt:R_}),o=g_(z_.transformCSS(i,r)),s=Object.entries(e).reduce(function(t,e){var n=K_(e,2),i=n[0],r=n[1];return t.push("".concat(i,'="').concat(r,'"'))&&t},[]).join(" ");n.push('<style type="text/css" data-primevue-style-id="'.concat(i,'" ').concat(s,">").concat(o,"</style>"))}return n.join("")},extend:function(t){return J_(J_({},this),{},{css:void 0,theme:void 0},t)}},nx=ex.extend({name:"common"});function ix(t){return(ix="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rx(t,e){return lx(t)||function(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(t,e)||sx(t,e)||ox()}function ox(){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 sx(t,e){if(t){if("string"==typeof t)return ax(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ax(t,e):void 0}}function ax(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function lx(t){if(Array.isArray(t))return t}function cx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function ux(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cx(Object(n),!0).forEach(function(e){hx(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cx(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function hx(t,e,n){return(e=function(t){var e=function(t){if("object"!=ix(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ix(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ix(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dx={name:"BaseComponent",props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0},dt:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(t){t||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))}},dt:{immediate:!0,handler:function(t){var e=this;t?(this._loadScopedThemeStyles(t),this._themeChangeListener(function(){return e._loadScopedThemeStyles(t)})):this._unloadScopedThemeStyles()}}},scopedStyleEl:void 0,rootEl:void 0,beforeCreate:function(){var t,e,n,i,r,o,s,a,l,c,u,h=null===(t=this.pt)||void 0===t?void 0:t._usept,d=h?null===(e=this.pt)||void 0===e||null===(e=e.originalValue)||void 0===e?void 0:e[this.$.type.name]:void 0;null===(i=(h?null===(n=this.pt)||void 0===n||null===(n=n.value)||void 0===n?void 0:n[this.$.type.name]:this.pt)||d)||void 0===i||null===(i=i.hooks)||void 0===i||null===(r=i.onBeforeCreate)||void 0===r||r.call(i);var p=null===(o=this.$primevueConfig)||void 0===o||null===(o=o.pt)||void 0===o?void 0:o._usept,f=p?null===(s=this.$primevue)||void 0===s||null===(s=s.config)||void 0===s||null===(s=s.pt)||void 0===s?void 0:s.originalValue:void 0;null===(c=(p?null===(a=this.$primevue)||void 0===a||null===(a=a.config)||void 0===a||null===(a=a.pt)||void 0===a?void 0:a.value:null===(l=this.$primevue)||void 0===l||null===(l=l.config)||void 0===l?void 0:l.pt)||f)||void 0===c||null===(c=c[this.$.type.name])||void 0===c||null===(c=c.hooks)||void 0===c||null===(u=c.onBeforeCreate)||void 0===u||u.call(c)},created:function(){this._hook("onCreated")},beforeMount:function(){this._loadStyles(),this._hook("onBeforeMount")},mounted:function(){this.rootEl=function(t,e){return e_(t)?t.matches(e)?t:t.querySelector(e):null}(this.$el,'[data-pc-name="'.concat(u_(this.$.type.name),'"]')),this.rootEl&&(this.rootEl.setAttribute(this.$attrSelector,""),this.rootEl.$pc=ux({name:this.$.type.name},this.$params)),this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._unloadScopedThemeStyles(),this._hook("onUnmounted")},methods:{_hook:function(t){if(!this.$options.hostName){var e=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(t)),n=this._useDefaultPT(this._getOptionValue,"hooks.".concat(t));null==e||e(),null==n||n()}},_mergeProps:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o_(t)?t.apply(void 0,n):Jr.apply(void 0,n)},_loadStyles:function(){var t=this,e=function(){F_.isStyleNameLoaded("base")||(ex.loadCSS(t.$styleOptions),t._loadGlobalStyles(),F_.setLoadedStyleName("base")),t._loadThemeStyles()};e(),this._themeChangeListener(e)},_loadCoreStyles:function(){var t,e;!F_.isStyleNameLoaded(null===(t=this.$style)||void 0===t?void 0:t.name)&&null!==(e=this.$style)&&void 0!==e&&e.name&&(nx.loadCSS(this.$styleOptions),this.$options.style&&this.$style.loadCSS(this.$styleOptions),F_.setLoadedStyleName(this.$style.name))},_loadGlobalStyles:function(){var t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);s_(t)&&ex.load(t,ux({name:"global"},this.$styleOptions))},_loadThemeStyles:function(){var t,e;if(!this.isUnstyled){if(!z_.isStyleNameLoaded("common")){var n,i,r=(null===(n=this.$style)||void 0===n||null===(i=n.getCommonTheme)||void 0===i?void 0:i.call(n))||{},o=r.primitive,s=r.semantic;ex.load(null==o?void 0:o.css,ux({name:"primitive-variables"},this.$styleOptions)),ex.load(null==s?void 0:s.css,ux({name:"semantic-variables"},this.$styleOptions)),ex.loadTheme(ux({name:"global-style"},this.$styleOptions)),z_.setLoadedStyleName("common")}if(!z_.isStyleNameLoaded(null===(t=this.$style)||void 0===t?void 0:t.name)&&null!==(e=this.$style)&&void 0!==e&&e.name){var a,l,c,u,h=((null===(a=this.$style)||void 0===a||null===(l=a.getComponentTheme)||void 0===l?void 0:l.call(a))||{}).css;null===(c=this.$style)||void 0===c||c.load(h,ux({name:"".concat(this.$style.name,"-variables")},this.$styleOptions)),null===(u=this.$style)||void 0===u||u.loadTheme(ux({name:"".concat(this.$style.name,"-style")},this.$styleOptions)),z_.setLoadedStyleName(this.$style.name)}if(!z_.isStyleNameLoaded("layer-order")){var d,p,f=null===(d=this.$style)||void 0===d||null===(p=d.getLayerOrderThemeCSS)||void 0===p?void 0:p.call(d);ex.load(f,ux({name:"layer-order",first:!0},this.$styleOptions)),z_.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(t){var e,n,i,r=((null===(e=this.$style)||void 0===e||null===(n=e.getPresetTheme)||void 0===n?void 0:n.call(e,t,"[".concat(this.$attrSelector,"]")))||{}).css,o=null===(i=this.$style)||void 0===i?void 0:i.load(r,ux({name:"".concat(this.$attrSelector,"-").concat(this.$style.name)},this.$styleOptions));this.scopedStyleEl=o.el},_unloadScopedThemeStyles:function(){var t;null===(t=this.scopedStyleEl)||void 0===t||null===(t=t.value)||void 0===t||t.remove()},_themeChangeListener:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};F_.clearLoadedStyleNames(),M_.on("theme:change",t)},_getHostInstance:function(t){return t?this.$options.hostName?t.$.type.name===this.$options.hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0},_getPropValue:function(t){var e;return this[t]||(null===(e=this._getHostInstance(this))||void 0===e?void 0:e[t])},_getOptionValue:function(t){return h_(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})},_getPTValue:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=/./g.test(n)&&!!i[n.split(".")[0]],s=this._getPropValue("ptOptions")||(null===(t=this.$primevueConfig)||void 0===t?void 0:t.ptOptions)||{},a=s.mergeSections,l=void 0===a||a,c=s.mergeProps,u=void 0!==c&&c,h=r?o?this._useGlobalPT(this._getPTClassValue,n,i):this._useDefaultPT(this._getPTClassValue,n,i):void 0,d=o?void 0:this._getPTSelf(e,this._getPTClassValue,n,ux(ux({},i),{},{global:h||{}})),p=this._getPTDatasets(n);return l||!l&&d?u?this._mergeProps(u,h,d,p):ux(ux(ux({},h),d),p):ux(ux({},d),p)},_getPTSelf:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Jr(this._usePT.apply(this,[this._getPT(t,this.$name)].concat(n)),this._usePT.apply(this,[this.$_attrsPT].concat(n)))},_getPTDatasets:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i="data-pc-",r="root"===n&&s_(null===(t=this.pt)||void 0===t?void 0:t["data-pc-section"]);return"transition"!==n&&ux(ux({},"root"===n&&ux(hx({},"".concat(i,"name"),u_(r?null===(e=this.pt)||void 0===e?void 0:e["data-pc-section"]:this.$.type.name)),r&&hx({},"".concat(i,"extend"),u_(this.$.type.name)))),{},hx({},"".concat(i,"section"),u_(n)))},_getPTClassValue:function(){var t=this._getOptionValue.apply(this,arguments);return c_(t)||d_(t)?{class:t}:t},_getPT:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,r=function(t){var r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=i?i(t):t,a=u_(n),l=u_(e.$name);return null!==(r=o?a!==l?null==s?void 0:s[a]:void 0:null==s?void 0:s[a])&&void 0!==r?r:s};return null!=t&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:r(t.originalValue),value:r(t.value)}:r(t,!0)},_usePT:function(t,e,n,i){var r=function(t){return e(t,n,i)};if(null!=t&&t.hasOwnProperty("_usept")){var o,s=t._usept||(null===(o=this.$primevueConfig)||void 0===o?void 0:o.ptOptions)||{},a=s.mergeSections,l=void 0===a||a,c=s.mergeProps,u=void 0!==c&&c,h=r(t.originalValue),d=r(t.value);return void 0===h&&void 0===d?void 0:c_(d)?d:c_(h)?h:l||!l&&d?u?this._mergeProps(u,h,d):ux(ux({},h),d):d}return r(t)},_useGlobalPT:function(t,e,n){return this._usePT(this.globalPT,t,e,n)},_useDefaultPT:function(t,e,n){return this._usePT(this.defaultPT,t,e,n)},ptm:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._getPTValue(this.pt,t,ux(ux({},this.$params),e))},ptmi:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Jr(this.$_attrsWithoutPT,this.ptm(t,e))},ptmo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._getPTValue(t,e,ux({instance:this},n),!1)},cx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,t,ux(ux({},this.$params),e))},sx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=this._getOptionValue(this.$style.inlineStyles,t,ux(ux({},this.$params),e));return[this._getOptionValue(nx.inlineStyles,t,ux(ux({},this.$params),e)),n]}}},computed:{globalPT:function(){var t,e=this;return this._getPT(null===(t=this.$primevueConfig)||void 0===t?void 0:t.pt,void 0,function(t){return l_(t,{instance:e})})},defaultPT:function(){var t,e=this;return this._getPT(null===(t=this.$primevueConfig)||void 0===t?void 0:t.pt,void 0,function(t){return e._getOptionValue(t,e.$name,ux({},e.$params))||l_(t,ux({},e.$params))})},isUnstyled:function(){var t;return void 0!==this.unstyled?this.unstyled:null===(t=this.$primevueConfig)||void 0===t?void 0:t.unstyled},$theme:function(){var t;return null===(t=this.$primevueConfig)||void 0===t?void 0:t.theme},$style:function(){return ux(ux({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadTheme:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var t;return{nonce:null===(t=this.$primevueConfig)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}},$primevueConfig:function(){var t;return null===(t=this.$primevue)||void 0===t?void 0:t.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var t=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:t,props:null==t?void 0:t.$props,state:null==t?void 0:t.$data,attrs:null==t?void 0:t.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var e=rx(t,1)[0];return null==e?void 0:e.startsWith("pt:")}).reduce(function(t,e){var n=rx(e,2),i=n[0],r=n[1],o=function(t){return lx(t)||function(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||sx(t)||ox()}(i.split(":")).slice(1);return null==o||o.reduce(function(t,e,n,i){return!t[e]&&(t[e]=n===i.length-1?r:{}),t[e]},t),t},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var e=rx(t,1)[0];return!(null!=e&&e.startsWith("pt:"))}).reduce(function(t,e){var n=rx(e,2),i=n[0],r=n[1];return t[i]=r,t},{})},$attrSelector:function(){return b_("pc")}}},px=ex.extend({name:"stepper",theme:function(t){var e=t.dt;return"\n.p-steplist {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n padding: 0;\n list-style-type: none;\n overflow-x: auto;\n}\n\n.p-step {\n position: relative;\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: ".concat(e("stepper.step.gap"),";\n padding: ").concat(e("stepper.step.padding"),";\n}\n\n.p-step:last-of-type {\n flex: initial;\n}\n\n.p-step-header {\n border: 0 none;\n display: inline-flex;\n align-items: center;\n text-decoration: none;\n cursor: pointer;\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),";\n border-radius: ").concat(e("stepper.step.header.border.radius"),";\n outline-color: transparent;\n background: transparent;\n padding: ").concat(e("stepper.step.header.padding"),";\n gap: ").concat(e("stepper.step.header.gap"),";\n}\n\n.p-step-header:focus-visible {\n box-shadow: ").concat(e("stepper.step.header.focus.ring.shadow"),";\n outline: ").concat(e("stepper.step.header.focus.ring.width")," ").concat(e("stepper.step.header.focus.ring.style")," ").concat(e("stepper.step.header.focus.ring.color"),";\n outline-offset: ").concat(e("stepper.step.header.focus.ring.offset"),";\n}\n\n.p-stepper.p-stepper-readonly .p-step {\n cursor: auto;\n}\n\n.p-step-title {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n color: ").concat(e("stepper.step.title.color"),";\n font-weight: ").concat(e("stepper.step.title.font.weight"),";\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),";\n}\n\n.p-step-number {\n display: flex;\n align-items: center;\n justify-content: center;\n color: ").concat(e("stepper.step.number.color"),";\n border: 2px solid ").concat(e("stepper.step.number.border.color"),";\n background: ").concat(e("stepper.step.number.background"),";\n min-width: ").concat(e("stepper.step.number.size"),";\n height: ").concat(e("stepper.step.number.size"),";\n line-height: ").concat(e("stepper.step.number.size"),";\n font-size: ").concat(e("stepper.step.number.font.size"),";\n z-index: 1;\n border-radius: ").concat(e("stepper.step.number.border.radius"),";\n position: relative;\n font-weight: ").concat(e("stepper.step.number.font.weight"),';\n}\n\n.p-step-number::after {\n content: " ";\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: ').concat(e("stepper.step.number.border.radius"),";\n box-shadow: ").concat(e("stepper.step.number.shadow"),";\n}\n\n.p-step-active .p-step-header {\n cursor: default;\n}\n\n.p-step-active .p-step-number {\n background: ").concat(e("stepper.step.number.active.background"),";\n border-color: ").concat(e("stepper.step.number.active.border.color"),";\n color: ").concat(e("stepper.step.number.active.color"),";\n}\n\n.p-step-active .p-step-title {\n color: ").concat(e("stepper.step.title.active.color"),";\n}\n\n.p-step:not(.p-disabled):focus-visible {\n outline: ").concat(e("focus.ring.width")," ").concat(e("focus.ring.style")," ").concat(e("focus.ring.color"),";\n outline-offset: ").concat(e("focus.ring.offset"),";\n}\n\n.p-step:has(~ .p-step-active) .p-stepper-separator {\n background: ").concat(e("stepper.separator.active.background"),";\n}\n\n.p-stepper-separator {\n flex: 1 1 0;\n background: ").concat(e("stepper.separator.background"),";\n width: 100%;\n height: ").concat(e("stepper.separator.size"),";\n transition: background ").concat(e("stepper.transition.duration"),", color ").concat(e("stepper.transition.duration"),", border-color ").concat(e("stepper.transition.duration"),", box-shadow ").concat(e("stepper.transition.duration"),", outline-color ").concat(e("stepper.transition.duration"),";\n}\n\n.p-steppanels {\n padding: ").concat(e("stepper.steppanels.padding"),";\n}\n\n.p-steppanel {\n background: ").concat(e("stepper.steppanel.background"),";\n color: ").concat(e("stepper.steppanel.color"),";\n}\n\n.p-stepper:has(.p-stepitem) {\n display: flex;\n flex-direction: column;\n}\n\n.p-stepitem {\n display: flex;\n flex-direction: column;\n flex: initial;\n}\n\n.p-stepitem.p-stepitem-active {\n flex: 1 1 auto;\n}\n\n.p-stepitem .p-step {\n flex: initial;\n}\n\n.p-stepitem .p-steppanel-content {\n width: 100%;\n padding: ").concat(e("stepper.steppanel.padding"),";\n}\n\n.p-stepitem .p-steppanel {\n display: flex;\n flex: 1 1 auto;\n}\n\n.p-stepitem .p-stepper-separator {\n flex: 0 0 auto;\n width: ").concat(e("stepper.separator.size"),";\n height: auto;\n margin: ").concat(e("stepper.separator.margin"),";\n position: relative;\n left: calc(-1 * ").concat(e("stepper.separator.size"),");\n}\n\n.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {\n background: ").concat(e("stepper.separator.active.background"),";\n}\n\n.p-stepitem:last-of-type .p-steppanel {\n padding-inline-start: ").concat(e("stepper.step.number.size"),";\n}\n")},classes:{root:function(t){return["p-stepper p-component",{"p-readonly":t.props.linear}]},separator:"p-stepper-separator"}}),fx=(Boolean,ex.extend({name:"steplist",classes:{root:"p-steplist"}}),ex.extend({name:"step",classes:{root:function(t){var e=t.instance;return["p-step",{"p-step-active":e.active,"p-disabled":e.isStepDisabled}]},header:"p-step-header",number:"p-step-number",title:"p-step-title"}})),gx={name:"StepperSeparator",hostName:"Stepper",extends:dx,render:function(t,e,n,i,r,o){return jr(),Rr("span",Jr({class:t.cx("separator")},t.ptm("separator")),null,16)}},mx={name:"Step",extends:{name:"BaseStep",extends:dx,props:{value:{type:[String,Number],default:void 0},disabled:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"DIV"}},style:fx,provide:function(){return{$pcStep:this,$parentInstance:this}}},inheritAttrs:!1,inject:{$pcStepper:{default:null},$pcStepList:{default:null},$pcStepItem:{default:null}},data:function(){return{isSeparatorVisible:!1}},mounted:function(){if(this.$el&&this.$pcStepList){var t=function(t,e){let n=-1;if(e)for(let i=0;i<e.length;i++)if(e[i]===t){n=i;break}return n}(this.$el,i_(this.$pcStepper.$el,'[data-pc-name="step"]')),e=i_(this.$pcStepper.$el,'[data-pc-name="step"]').length;this.isSeparatorVisible=t!==e-1}},methods:{getPTOptions:function(t){return("root"===t?this.ptmi:this.ptm)(t,{context:{active:this.active,disabled:this.isStepDisabled}})},onStepClick:function(){this.$pcStepper.updateValue(this.activeValue)}},computed:{active:function(){return this.$pcStepper.isStepActive(this.activeValue)},activeValue:function(){var t;return this.$pcStepItem?null===(t=this.$pcStepItem)||void 0===t?void 0:t.value:this.value},isStepDisabled:function(){return!this.active&&(this.$pcStepper.isStepDisabled()||this.disabled)},id:function(){var t;return"".concat(null===(t=this.$pcStepper)||void 0===t?void 0:t.id,"_step_").concat(this.activeValue)},ariaControls:function(){var t;return"".concat(null===(t=this.$pcStepper)||void 0===t?void 0:t.id,"_steppanel_").concat(this.activeValue)},a11yAttrs:function(){return{root:{role:"presentation","aria-current":this.active?"step":void 0,"data-pc-name":"step","data-pc-section":"root","data-p-disabled":this.disabled,"data-p-active":this.active},header:{id:this.id,role:"tab",taindex:this.disabled?-1:void 0,"aria-controls":this.ariaControls,"data-pc-section":"header",disabled:this.disabled,onClick:this.onStepClick}}}},components:{StepperSeparator:gx}},vx=["id","tabindex","aria-controls","disabled"];mx.render=function(t,e,n,i,r,o){var s=bi("StepperSeparator");return t.asChild?Oi(t.$slots,"default",{key:1,class:q(t.cx("root")),active:o.active,value:t.value,a11yAttrs:o.a11yAttrs,activateCallback:o.onStepClick}):(jr(),Br(xi(t.as),Jr({key:0,class:t.cx("root"),"aria-current":o.active?"step":void 0,role:"presentation","data-p-active":o.active,"data-p-disabled":o.isStepDisabled},o.getPTOptions("root")),{default:bn(function(){return[Hr("button",Jr({id:o.id,class:t.cx("header"),role:"tab",type:"button",tabindex:o.isStepDisabled?-1:void 0,"aria-controls":o.ariaControls,disabled:o.isStepDisabled,onClick:e[0]||(e[0]=function(){return o.onStepClick&&o.onStepClick.apply(o,arguments)})},o.getPTOptions("header")),[Hr("span",Jr({class:t.cx("number")},o.getPTOptions("number")),J(o.activeValue),17),Hr("span",Jr({class:t.cx("title")},o.getPTOptions("title")),[Oi(t.$slots,"default")],16)],16,vx),r.isSeparatorVisible?(jr(),Br(s,{key:0})):Yr("",!0)]}),_:3},16,["class","aria-current","data-p-active","data-p-disabled"]))};const yx=(Boolean,{components:{Navigation:Ec,SelectField:qy,Form:Tf},data(){return{requiredTags:this.$store.state.requiredTags||[],requiredOptions:this.$store.state.requiredTags||[],forbiddenTags:this.$store.state.forbiddenTags||[],forbiddenOptions:this.$store.state.forbiddenTags||[],navHistory:this.$store.getters.getNavHistory}},methods:{handleRequiredTag(t){this.requiredTags.push(t),this.requiredOptions.push(t)},handleForbiddenTag(t){this.forbiddenTags.push(t),this.forbiddenOptions.push(t)},confirm(){this.$store.commit("setNavHistory","/6"),this.$store.commit("setPageScan",{required:this.requiredTags,forbidden:this.forbiddenTags}),this.$store.getters.getShouldConfigVerify?this.$router.push("/7"):this.$store.dispatch("confirm")}}});n(334);const bx=(0,js.A)(yx,[["render",function(t,e,n,i,r,o){const s=bi("SelectField"),a=bi("Form"),l=bi("Navigation");return jr(),Rr("div",null,[e[4]||(e[4]=Hr("header",null," Configure TrustedForm Insights ",-1)),Hr("section",null,[e[2]||(e[2]=Hr("h3",null,"Page Scan Forbidden/Required Text",-1)),e[3]||(e[3]=Hr("p",null,[Xr(" Please set your required and/or forbidden text for the TrustedForm set in LeadConduit; the step will fail if the required term is missing and if the forbidden term is present in the page. "),Hr("a",{href:"https://community.activeprospect.com/posts/4078890",target:"_blank"},"Learn More")],-1)),Ur(a,{actions:!1},{default:bn(()=>[Ur(s,{name:"PageScan Required",modelValue:r.requiredTags,"onUpdate:modelValue":e[0]||(e[0]=t=>r.requiredTags=t),options:r.requiredOptions,taggable:"",multiple:"",onTag:o.handleRequiredTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"]),Ur(s,{name:"PageScan Forbidden",modelValue:r.forbiddenTags,"onUpdate:modelValue":e[1]||(e[1]=t=>r.forbiddenTags=t),options:r.forbiddenOptions,taggable:"",multiple:"",onTag:o.handleForbiddenTag,openDirection:"bottom"},null,8,["modelValue","options","onTag"])]),_:1})]),Ur(l,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-7a5031b7"]]),_x={components:{Navigation:Ec,TextField:Gy,Form:Tf},data(){return{advertiserName:this.$store.state.advertiserName||"",navHistory:this.$store.getters.getNavHistory}},methods:{confirm(){this.$store.commit("setAdvertiserName",{advertiserName:this.advertiserName}),this.$store.dispatch("confirm")}}};n(680);const xx=(0,js.A)(_x,[["render",function(t,e,n,i,r,o){const s=bi("Form"),a=bi("Navigation");return jr(),Rr("div",null,[e[2]||(e[2]=Hr("header",null," Configure TrustedForm Verify ",-1)),Hr("section",null,[e[1]||(e[1]=Hr("p",null," Enter the name of the legal entity for an advertiser that will be used to determine if they were given consent in a one to one manner. ",-1)),Ur(s,{actions:!1},{default:bn(()=>[_n(Hr("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>r.advertiserName=t),type:"text",placeholder:"(optional) keep empty if you don't need to check one-to-one consent"},null,512),[[ws,r.advertiserName]])]),_:1})]),Ur(a,{onConfirm:o.confirm,disableConfirm:!1,navHistory:r.navHistory},null,8,["onConfirm","navHistory"])])}],["__scopeId","data-v-6d17c3cb"]]),wx=function(t){const e=function(t,e){const n=[],i=new Map;function r(t,n,i){const a=!i,l=mc(t);l.aliasOf=i&&i.record;const c=Va(e,t),u=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(mc(Ia({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let h,d;for(const e of u){const{path:u}=e;if(n&&"/"!==u[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&i+u)}if(h=fc(e,n,c),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),a&&t.name&&!yc(h)&&o(t.name)),_c(h)&&s(h),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],h,i&&i.children[e])}i=i||h}return d?()=>{o(d)}:Ra}function o(t){if(xl(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function s(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;hc(t,e[r])<0?i=r:n=r+1}const r=function(t){let e=t;for(;e=e.parent;)if(_c(e)&&0===hc(t,e))return e}(t);return r&&(i=e.lastIndexOf(r,i-1)),i}(t,n);n.splice(e,0,t),t.record.name&&!yc(t)&&i.set(t.record.name,t)}return e=Va(pc,e),t.forEach(t=>r(t)),{addRoute:r,resolve:function(t,e){let r,o,s,a={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw kl(wl.MATCHER_NOT_FOUND,{location:t});s=r.record.name,a=Ia(gc(e.params,r.keys.filter(t=>!t.optional).concat(r.parent?r.parent.keys.filter(t=>t.optional):[]).map(t=>t.name)),t.params&&gc(t.params,r.keys.map(t=>t.name))),o=r.stringify(a)}else if(null!=t.path)o=t.path,r=n.find(t=>t.re.test(o)),r&&(a=r.parse(o),s=r.record.name);else{if(r=e.name?i.get(e.name):n.find(t=>t.re.test(e.path)),!r)throw kl(wl.MATCHER_NOT_FOUND,{location:t,currentLocation:e});s=r.record.name,a=Ia({},e.params,t.params),o=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:a,matched:l,meta:bc(l)}},removeRoute:o,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}(t.routes,t),n=t.parseQuery||Ol,i=t.stringifyQuery||Al,r=t.history,o=jl(),s=jl(),a=jl(),l=Ce(dl,!0);let c=dl;ja&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Na.bind(null,t=>""+t),h=Na.bind(null,rl),d=Na.bind(null,ol);function p(t,o){if(o=Ia({},o||l.value),"string"==typeof t){const i=al(n,t,o.path),s=e.resolve({path:i.path},o),a=r.createHref(i.fullPath);return Ia(i,s,{params:d(s.params),hash:ol(i.hash),redirectedFrom:void 0,href:a})}let s;if(null!=t.path)s=Ia({},t,{path:al(n,t.path,o.path).path});else{const e=Ia({},t.params);for(const t in e)null==e[t]&&delete e[t];s=Ia({},t,{params:h(e)}),o.params=h(o.params)}const a=e.resolve(s,o),c=t.hash||"";a.params=u(d(a.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,Ia({},t,{hash:(g=c,el(g).replace(Za,"{").replace(Ja,"}").replace(Ya,"^")),path:a.path})),f=r.createHref(p);var g;return Ia({fullPath:p,hash:c,query:i===Al?Tl(t.query):t.query||{}},a,{redirectedFrom:void 0,href:f})}function f(t){return"string"==typeof t?al(n,t,l.value.path):Ia({},t)}function g(t,e){if(c!==t)return kl(wl.NAVIGATION_CANCELLED,{from:e,to:t})}function m(t){return y(t)}function v(t,e){const n=t.matched[t.matched.length-1];if(n&&n.redirect){const{redirect:i}=n;let r="function"==typeof i?i(t,e):i;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r},r.params={}),Ia({query:t.query,hash:t.hash,params:null!=r.path?{}:t.params},r)}}function y(t,e){const n=c=p(t),r=l.value,o=t.state,s=t.force,a=!0===t.replace,u=v(n,r);if(u)return y(Ia(f(u),{state:"object"==typeof u?Ia({},o,u.state):o,force:s,replace:a}),e||n);const h=n;let d;return h.redirectedFrom=e,!s&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&ll(e.matched[i],n.matched[r])&&cl(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(d=kl(wl.NAVIGATION_DUPLICATED,{to:h,from:r}),E(r,r,!0,!1)),(d?Promise.resolve(d):x(h,r)).catch(t=>Cl(t)?Cl(t,wl.NAVIGATION_GUARD_REDIRECT)?t:P(t):T(t,h,r)).then(t=>{if(t){if(Cl(t,wl.NAVIGATION_GUARD_REDIRECT))return y(Ia({replace:a},f(t.to),{state:"object"==typeof t.to?Ia({},o,t.to.state):o,force:s}),e||h)}else t=S(h,r,!0,a,o);return w(h,r,t),t})}function b(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function _(t){const e=$.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function x(t,e){let n;const[i,r,a]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.find(t=>ll(t,o))?i.push(o):n.push(o));const a=t.matched[s];a&&(e.matched.find(t=>ll(t,a))||r.push(a))}return[n,i,r]}(t,e);n=Il(i.reverse(),"beforeRouteLeave",t,e);for(const r of i)r.leaveGuards.forEach(i=>{n.push(Dl(i,t,e))});const l=b.bind(null,t,e);return n.push(l),D(n).then(()=>{n=[];for(const i of o.list())n.push(Dl(i,t,e));return n.push(l),D(n)}).then(()=>{n=Il(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach(i=>{n.push(Dl(i,t,e))});return n.push(l),D(n)}).then(()=>{n=[];for(const i of a)if(i.beforeEnter)if(Ba(i.beforeEnter))for(const r of i.beforeEnter)n.push(Dl(r,t,e));else n.push(Dl(i.beforeEnter,t,e));return n.push(l),D(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=Il(a,"beforeRouteEnter",t,e,_),n.push(l),D(n))).then(()=>{n=[];for(const i of s.list())n.push(Dl(i,t,e));return n.push(l),D(n)}).catch(t=>Cl(t,wl.NAVIGATION_CANCELLED)?t:Promise.reject(t))}function w(t,e,n){a.list().forEach(i=>_(()=>i(t,e,n)))}function S(t,e,n,i,o){const s=g(t,e);if(s)return s;const a=e===dl,c=ja?history.state:{};n&&(i||a?r.replace(t.fullPath,Ia({scroll:a&&c&&c.scroll},o)):r.push(t.fullPath,o)),l.value=t,E(t,e,n,a),P()}let k;let C,O=jl(),A=jl();function T(t,e,n){P(t);const i=A.list();return i.length?i.forEach(i=>i(t,e,n)):console.error(t),Promise.reject(t)}function P(t){return C||(C=!t,k||(k=r.listen((t,e,n)=>{if(!j.listening)return;const i=p(t),o=v(i,j.currentRoute.value);if(o)return void y(Ia(o,{replace:!0,force:!0}),i).catch(Ra);c=i;const s=l.value;var a,u;ja&&(a=yl(s.fullPath,n.delta),u={left:window.scrollX,top:window.scrollY},bl.set(a,u)),x(i,s).catch(t=>Cl(t,wl.NAVIGATION_ABORTED|wl.NAVIGATION_CANCELLED)?t:Cl(t,wl.NAVIGATION_GUARD_REDIRECT)?(y(Ia(f(t.to),{force:!0}),i).then(t=>{Cl(t,wl.NAVIGATION_ABORTED|wl.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===pl.pop&&r.go(-1,!1)}).catch(Ra),Promise.reject()):(n.delta&&r.go(-n.delta,!1),T(t,i,s))).then(t=>{(t=t||S(i,s,!1))&&(n.delta&&!Cl(t,wl.NAVIGATION_CANCELLED)?r.go(-n.delta,!1):n.type===pl.pop&&Cl(t,wl.NAVIGATION_ABORTED|wl.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),w(i,s,t)}).catch(Ra)})),O.list().forEach(([e,n])=>t?n(t):e()),O.reset()),t}function E(e,n,i,r){const{scrollBehavior:o}=t;if(!ja||!o)return Promise.resolve();const s=!i&&function(t){const e=bl.get(t);return bl.delete(t),e}(yl(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return Ke().then(()=>o(e,n,s)).then(t=>t&&function(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}(t)).catch(t=>T(t,e,n))}const M=t=>r.go(t);let L;const $=new Set,j={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return xl(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map(t=>t.record)},resolve:p,options:t,push:m,replace:function(t){return m(Ia(f(t),{replace:!0}))},go:M,back:()=>M(-1),forward:()=>M(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:A.add,isReady:function(){return C&&l.value!==dl?Promise.resolve():new Promise((t,e)=>{O.add([t,e])})},install(t){t.component("RouterLink",wc),t.component("RouterView",Ac),t.config.globalProperties.$router=j,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Te(l)}),ja&&!L&&l.value===dl&&(L=!0,m(r.location).catch(t=>{}));const n={};for(const t in dl)Object.defineProperty(n,t,{get:()=>l.value[t],enumerable:!0});t.provide(Ml,j),t.provide(Ll,de(n)),t.provide($l,l);const i=t.unmount;$.add(t),t.unmount=function(){$.delete(t),$.size<1&&(c=dl,k&&k(),k=null,l.value=dl,L=!1,C=!1),i()},__VUE_PROD_DEVTOOLS__&&ja&&Vl(t,j,e)}};function D(t){return t.reduce((t,e)=>t.then(()=>_(e)),Promise.resolve())}return j}({history:function(t=""){let e=[],n=[["",{}]],i=0;function r(t,e={}){i++,i!==n.length&&n.splice(i),n.push([t,e])}const o={location:"",state:{},base:t=gl(t),createHref:vl.bind(null,t),replace(t,e){n.splice(i--,1),r(t,e)},push(t,e){r(t,e)},listen:t=>(e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}),destroy(){e=[],n=[["",{}]],i=0},go(t,r=!0){const o=this.location,s=t<0?fl.back:fl.forward;i=Math.max(0,Math.min(i+t,n.length-1)),r&&function(t,n,{direction:i,delta:r}){const o={direction:i,delta:r,type:pl.pop};for(const i of e)i(t,n,o)}(this.location,o,{direction:s,delta:t})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[i][0]}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>n[i][1]}),o}(),routes:[{path:"/",name:"Default",component:Is,children:[{path:"",alias:"1",name:"PageOne",component:Dc},{path:"2",name:"PageTwo",component:Rc},{path:"3",name:"PageThree",component:Vc},{path:"4",name:"PageFour",component:Xc},{path:"5",name:"PageFive",component:eu},{path:"6",name:"PageSix",component:bx},{path:"7",name:"PageSeven",component:xx}]}]});e().init(function(t){const n=$s(Is);n.use($a(t,e())),n.use(wx),n.use($b),n.mount("#app")})})()})();
|