diff --git a/docs-src/src/components/OptionPanel.vue b/docs-src/src/components/OptionPanel.vue index e44fe52..a04969e 100644 --- a/docs-src/src/components/OptionPanel.vue +++ b/docs-src/src/components/OptionPanel.vue @@ -5,6 +5,7 @@ import { useAppStore } from '@/stores/app'; import ToggleGroupOption from '@/components/ToggleGroupOption.vue'; import SelectOption from '@/components/SelectOption.vue'; import BooleanOption from '@/components/BooleanOption.vue'; +import StringOption from '@/components/StringOption.vue'; import NumberOption from '@/components/NumberOption.vue'; const appStore = useAppStore(); @@ -205,6 +206,18 @@ const appStore = useAppStore(); class="mt-1" :title="'Hue rotate'" /> +
diff --git a/docs-src/src/components/StringOption.vue b/docs-src/src/components/StringOption.vue index da429e2..047b0e5 100644 --- a/docs-src/src/components/StringOption.vue +++ b/docs-src/src/components/StringOption.vue @@ -8,6 +8,10 @@ defineProps({ type: String, required: true, }, + placeholder: { + type: String, + default: '', + }, }); defineEmits(['update:modelValue']); @@ -21,7 +25,7 @@ defineEmits(['update:modelValue']);
diff --git a/docs-src/src/views/UsageView.vue b/docs-src/src/views/UsageView.vue index 728fd1d..a990111 100644 --- a/docs-src/src/views/UsageView.vue +++ b/docs-src/src/views/UsageView.vue @@ -185,7 +185,7 @@ PowerGlitch.glitch( velocity: 10, minHeight: 0.02, maxHeight: 0.40, - hueRotate: true, + cssFilters: 'blur(5px) brightness(0.8)', }, } ) diff --git a/docs/api-docs/.nojekyll b/docs/api-docs/.nojekyll deleted file mode 100644 index e2ac661..0000000 --- a/docs/api-docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/api-docs/assets/highlight.css b/docs/api-docs/assets/highlight.css deleted file mode 100644 index 9f97e31..0000000 --- a/docs/api-docs/assets/highlight.css +++ /dev/null @@ -1,113 +0,0 @@ -:root { - --light-hl-0: #000000; - --dark-hl-0: #D4D4D4; - --light-hl-1: #A31515; - --dark-hl-1: #CE9178; - --light-hl-2: #008000; - --dark-hl-2: #6A9955; - --light-hl-3: #800000; - --dark-hl-3: #808080; - --light-hl-4: #800000; - --dark-hl-4: #569CD6; - --light-hl-5: #000000FF; - --dark-hl-5: #D4D4D4; - --light-hl-6: #E50000; - --dark-hl-6: #9CDCFE; - --light-hl-7: #0000FF; - --dark-hl-7: #CE9178; - --light-hl-8: #AF00DB; - --dark-hl-8: #C586C0; - --light-hl-9: #001080; - --dark-hl-9: #9CDCFE; - --light-hl-10: #0000FF; - --dark-hl-10: #569CD6; - --light-hl-11: #0070C1; - --dark-hl-11: #4FC1FF; - --light-hl-12: #795E26; - --dark-hl-12: #DCDCAA; - --light-code-background: #FFFFFF; - --dark-code-background: #1E1E1E; -} - -@media (prefers-color-scheme: light) { :root { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --code-background: var(--light-code-background); -} } - -@media (prefers-color-scheme: dark) { :root { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --code-background: var(--dark-code-background); -} } - -:root[data-theme='light'] { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --code-background: var(--light-code-background); -} - -:root[data-theme='dark'] { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --code-background: var(--dark-code-background); -} - -.hl-0 { color: var(--hl-0); } -.hl-1 { color: var(--hl-1); } -.hl-2 { color: var(--hl-2); } -.hl-3 { color: var(--hl-3); } -.hl-4 { color: var(--hl-4); } -.hl-5 { color: var(--hl-5); } -.hl-6 { color: var(--hl-6); } -.hl-7 { color: var(--hl-7); } -.hl-8 { color: var(--hl-8); } -.hl-9 { color: var(--hl-9); } -.hl-10 { color: var(--hl-10); } -.hl-11 { color: var(--hl-11); } -.hl-12 { color: var(--hl-12); } -pre, code { background: var(--code-background); } diff --git a/docs/api-docs/assets/main.js b/docs/api-docs/assets/main.js deleted file mode 100644 index d55df03..0000000 --- a/docs/api-docs/assets/main.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function B(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureFocusedElementVisible(){this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null);let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n.tagName!=="SECTION";)n=n.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}};var I=class{constructor(e){this.el=e.el,this.app=e.app}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends I{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{He(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?pe(e,-1):s.key==="ArrowDown"?pe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ae(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function He(t,e,n,r){if(Ae(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${fe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function pe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function fe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",j="mouseup",Z={x:0,y:0},ge=!1,se=!1,Be=!1,A=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",ye="touchmove",j="touchend");document.addEventListener(F,t=>{se=!0,A=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(se&&!A){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);A=Math.sqrt(n*n+r*r)>10}});document.addEventListener(j,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends I{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(j,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(j,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){A||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!A&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends I{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends I{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();B(X,".menu-highlight");B(K,"a[data-toggle]");B(te,".tsd-index-accordion");B(ee,".tsd-filter-item input[type=checkbox]");var we=document.getElementById("theme");we&&be(we);var je=new Y;Object.defineProperty(window,"app",{value:je});})(); -/*! Bundled license information: - -lunr/lunr.js: - (** - * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 - * Copyright (C) 2020 Oliver Nightingale - * @license MIT - *) - (*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Set - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.tokenizer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Vector - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.stemmer - * Copyright (C) 2020 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - *) - (*! - * lunr.stopWordFilter - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.trimmer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.TokenSet - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Builder - * Copyright (C) 2020 Oliver Nightingale - *) -*/ diff --git a/docs/api-docs/assets/search.js b/docs/api-docs/assets/search.js deleted file mode 100644 index d680aab..0000000 --- a/docs/api-docs/assets/search.js +++ /dev/null @@ -1 +0,0 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"1024\":\"Property\",\"65536\":\"Type literal\",\"4194304\":\"Type alias\"},\"rows\":[{\"kind\":4194304,\"name\":\"PlayModes\",\"url\":\"types/PlayModes.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"PowerGlitchOptions\",\"url\":\"types/PowerGlitchOptions.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PowerGlitchOptions.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"PowerGlitchOptions\"},{\"kind\":1024,\"name\":\"optimizeSeo\",\"url\":\"types/PowerGlitchOptions.html#__type.optimizeSeo\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"html\",\"url\":\"types/PowerGlitchOptions.html#__type.html\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"createContainers\",\"url\":\"types/PowerGlitchOptions.html#__type.createContainers\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"playMode\",\"url\":\"types/PowerGlitchOptions.html#__type.playMode\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"hideOverflow\",\"url\":\"types/PowerGlitchOptions.html#__type.hideOverflow\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"timing\",\"url\":\"types/PowerGlitchOptions.html#__type.timing\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PowerGlitchOptions.html#__type.timing.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"PowerGlitchOptions.__type.timing\"},{\"kind\":1024,\"name\":\"duration\",\"url\":\"types/PowerGlitchOptions.html#__type.timing.__type-1.duration\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.timing.__type\"},{\"kind\":1024,\"name\":\"iterations\",\"url\":\"types/PowerGlitchOptions.html#__type.timing.__type-1.iterations\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.timing.__type\"},{\"kind\":1024,\"name\":\"easing\",\"url\":\"types/PowerGlitchOptions.html#__type.timing.__type-1.easing\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.timing.__type\"},{\"kind\":1024,\"name\":\"glitchTimeSpan\",\"url\":\"types/PowerGlitchOptions.html#__type.glitchTimeSpan\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"shake\",\"url\":\"types/PowerGlitchOptions.html#__type.shake\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":1024,\"name\":\"slice\",\"url\":\"types/PowerGlitchOptions.html#__type.slice\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"PowerGlitchOptions.__type.slice\"},{\"kind\":1024,\"name\":\"count\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2.count\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.slice.__type\"},{\"kind\":1024,\"name\":\"velocity\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2.velocity\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.slice.__type\"},{\"kind\":1024,\"name\":\"minHeight\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2.minHeight\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.slice.__type\"},{\"kind\":1024,\"name\":\"maxHeight\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2.maxHeight\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.slice.__type\"},{\"kind\":1024,\"name\":\"hueRotate\",\"url\":\"types/PowerGlitchOptions.html#__type.slice.__type-2.hueRotate\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type.slice.__type\"},{\"kind\":1024,\"name\":\"pulse\",\"url\":\"types/PowerGlitchOptions.html#__type.pulse\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitchOptions.__type\"},{\"kind\":4194304,\"name\":\"LayerDefinition\",\"url\":\"types/LayerDefinition.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/LayerDefinition.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"LayerDefinition\"},{\"kind\":1024,\"name\":\"steps\",\"url\":\"types/LayerDefinition.html#__type.steps\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"LayerDefinition.__type\"},{\"kind\":1024,\"name\":\"timing\",\"url\":\"types/LayerDefinition.html#__type.timing\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"LayerDefinition.__type\"},{\"kind\":64,\"name\":\"mergeOptions\",\"url\":\"functions/mergeOptions.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"RecursivePartial\",\"url\":\"types/RecursivePartial.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"GlitchPartialOptions\",\"url\":\"types/GlitchPartialOptions.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"GlitchableElement\",\"url\":\"types/GlitchableElement.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"GlitchResult\",\"url\":\"types/GlitchResult.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/GlitchResult.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-type-alias\",\"parent\":\"GlitchResult\"},{\"kind\":1024,\"name\":\"containers\",\"url\":\"types/GlitchResult.html#__type.containers\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"GlitchResult.__type\"},{\"kind\":1024,\"name\":\"startGlitch\",\"url\":\"types/GlitchResult.html#__type.startGlitch\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"GlitchResult.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/GlitchResult.html#__type.startGlitch.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"GlitchResult.__type.startGlitch\"},{\"kind\":1024,\"name\":\"stopGlitch\",\"url\":\"types/GlitchResult.html#__type.stopGlitch\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"GlitchResult.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/GlitchResult.html#__type.stopGlitch.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"GlitchResult.__type.stopGlitch\"},{\"kind\":32,\"name\":\"PowerGlitch\",\"url\":\"variables/PowerGlitch.html\",\"classes\":\"tsd-kind-variable\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/PowerGlitch.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-variable\",\"parent\":\"PowerGlitch\"},{\"kind\":1024,\"name\":\"glitch\",\"url\":\"variables/PowerGlitch.html#__type.glitch\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitch.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/PowerGlitch.html#__type.glitch.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"PowerGlitch.__type.glitch\"},{\"kind\":1024,\"name\":\"generateLayers\",\"url\":\"variables/PowerGlitch.html#__type.generateLayers\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitch.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/PowerGlitch.html#__type.generateLayers.__type-3\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"PowerGlitch.__type.generateLayers\"},{\"kind\":1024,\"name\":\"getDefaultOptions\",\"url\":\"variables/PowerGlitch.html#__type.getDefaultOptions\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"PowerGlitch.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"variables/PowerGlitch.html#__type.getDefaultOptions.__type-5\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"PowerGlitch.__type.getDefaultOptions\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,34.447]],[\"comment/0\",[]],[\"name/1\",[1,34.447]],[\"comment/1\",[]],[\"name/2\",[2,14.078]],[\"comment/2\",[]],[\"name/3\",[3,34.447]],[\"comment/3\",[]],[\"name/4\",[4,34.447]],[\"comment/4\",[]],[\"name/5\",[5,34.447]],[\"comment/5\",[]],[\"name/6\",[6,34.447]],[\"comment/6\",[]],[\"name/7\",[7,34.447]],[\"comment/7\",[]],[\"name/8\",[8,29.339]],[\"comment/8\",[]],[\"name/9\",[2,14.078]],[\"comment/9\",[]],[\"name/10\",[9,34.447]],[\"comment/10\",[]],[\"name/11\",[10,34.447]],[\"comment/11\",[]],[\"name/12\",[11,34.447]],[\"comment/12\",[]],[\"name/13\",[12,34.447]],[\"comment/13\",[]],[\"name/14\",[13,34.447]],[\"comment/14\",[]],[\"name/15\",[14,34.447]],[\"comment/15\",[]],[\"name/16\",[2,14.078]],[\"comment/16\",[]],[\"name/17\",[15,34.447]],[\"comment/17\",[]],[\"name/18\",[16,34.447]],[\"comment/18\",[]],[\"name/19\",[17,34.447]],[\"comment/19\",[]],[\"name/20\",[18,34.447]],[\"comment/20\",[]],[\"name/21\",[19,34.447]],[\"comment/21\",[]],[\"name/22\",[20,34.447]],[\"comment/22\",[]],[\"name/23\",[21,34.447]],[\"comment/23\",[]],[\"name/24\",[2,14.078]],[\"comment/24\",[]],[\"name/25\",[22,34.447]],[\"comment/25\",[]],[\"name/26\",[8,29.339]],[\"comment/26\",[]],[\"name/27\",[23,34.447]],[\"comment/27\",[]],[\"name/28\",[24,34.447]],[\"comment/28\",[]],[\"name/29\",[25,34.447]],[\"comment/29\",[]],[\"name/30\",[26,34.447]],[\"comment/30\",[]],[\"name/31\",[27,34.447]],[\"comment/31\",[]],[\"name/32\",[2,14.078]],[\"comment/32\",[]],[\"name/33\",[28,34.447]],[\"comment/33\",[]],[\"name/34\",[29,34.447]],[\"comment/34\",[]],[\"name/35\",[2,14.078]],[\"comment/35\",[]],[\"name/36\",[30,34.447]],[\"comment/36\",[]],[\"name/37\",[2,14.078]],[\"comment/37\",[]],[\"name/38\",[31,34.447]],[\"comment/38\",[]],[\"name/39\",[2,14.078]],[\"comment/39\",[]],[\"name/40\",[32,34.447]],[\"comment/40\",[]],[\"name/41\",[2,14.078]],[\"comment/41\",[]],[\"name/42\",[33,34.447]],[\"comment/42\",[]],[\"name/43\",[2,14.078]],[\"comment/43\",[]],[\"name/44\",[34,34.447]],[\"comment/44\",[]],[\"name/45\",[2,14.078]],[\"comment/45\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":2,\"name\":{\"2\":{},\"9\":{},\"16\":{},\"24\":{},\"32\":{},\"35\":{},\"37\":{},\"39\":{},\"41\":{},\"43\":{},\"45\":{}},\"comment\":{}}],[\"containers\",{\"_index\":28,\"name\":{\"33\":{}},\"comment\":{}}],[\"count\",{\"_index\":15,\"name\":{\"17\":{}},\"comment\":{}}],[\"createcontainers\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"duration\",{\"_index\":9,\"name\":{\"10\":{}},\"comment\":{}}],[\"easing\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"generatelayers\",{\"_index\":33,\"name\":{\"42\":{}},\"comment\":{}}],[\"getdefaultoptions\",{\"_index\":34,\"name\":{\"44\":{}},\"comment\":{}}],[\"glitch\",{\"_index\":32,\"name\":{\"40\":{}},\"comment\":{}}],[\"glitchableelement\",{\"_index\":26,\"name\":{\"30\":{}},\"comment\":{}}],[\"glitchpartialoptions\",{\"_index\":25,\"name\":{\"29\":{}},\"comment\":{}}],[\"glitchresult\",{\"_index\":27,\"name\":{\"31\":{}},\"comment\":{}}],[\"glitchtimespan\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}],[\"hideoverflow\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"html\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"huerotate\",{\"_index\":19,\"name\":{\"21\":{}},\"comment\":{}}],[\"iterations\",{\"_index\":10,\"name\":{\"11\":{}},\"comment\":{}}],[\"layerdefinition\",{\"_index\":21,\"name\":{\"23\":{}},\"comment\":{}}],[\"maxheight\",{\"_index\":18,\"name\":{\"20\":{}},\"comment\":{}}],[\"mergeoptions\",{\"_index\":23,\"name\":{\"27\":{}},\"comment\":{}}],[\"minheight\",{\"_index\":17,\"name\":{\"19\":{}},\"comment\":{}}],[\"optimizeseo\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"playmode\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"playmodes\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"powerglitch\",{\"_index\":31,\"name\":{\"38\":{}},\"comment\":{}}],[\"powerglitchoptions\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"pulse\",{\"_index\":20,\"name\":{\"22\":{}},\"comment\":{}}],[\"recursivepartial\",{\"_index\":24,\"name\":{\"28\":{}},\"comment\":{}}],[\"shake\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"slice\",{\"_index\":14,\"name\":{\"15\":{}},\"comment\":{}}],[\"startglitch\",{\"_index\":29,\"name\":{\"34\":{}},\"comment\":{}}],[\"steps\",{\"_index\":22,\"name\":{\"25\":{}},\"comment\":{}}],[\"stopglitch\",{\"_index\":30,\"name\":{\"36\":{}},\"comment\":{}}],[\"timing\",{\"_index\":8,\"name\":{\"8\":{},\"26\":{}},\"comment\":{}}],[\"velocity\",{\"_index\":16,\"name\":{\"18\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/api-docs/assets/style.css b/docs/api-docs/assets/style.css deleted file mode 100644 index 2d02570..0000000 --- a/docs/api-docs/assets/style.css +++ /dev/null @@ -1,1280 +0,0 @@ -:root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - --light-color-warning-text: #222; - --light-color-background-warning: #e6e600; - --light-color-icon-background: var(--light-color-background); - --light-color-accent: #c5c7c9; - --light-color-text: #222; - --light-color-text-aside: #707070; - --light-color-link: #4da6ff; - --light-color-ts: #db1373; - --light-color-ts-interface: #139d2c; - --light-color-ts-enum: #9c891a; - --light-color-ts-class: #2484e5; - --light-color-ts-function: #572be7; - --light-color-ts-namespace: #b111c9; - --light-color-ts-private: #707070; - --light-color-ts-variable: #4d68ff; - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-accent: #9096a2; - --dark-color-text: #f5f5f5; - --dark-color-text-aside: #dddddd; - --dark-color-link: #00aff4; - --dark-color-ts: #ff6492; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-class: #61b0ff; - --dark-color-ts-function: #9772ff; - --dark-color-ts-namespace: #e14dff; - --dark-color-ts-private: #e2e2e2; - --dark-color-ts-variable: #4d68ff; - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; -} - -@media (prefers-color-scheme: light) { - :root { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - --color-ts: var(--light-color-ts); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-class: var(--light-color-ts-class); - --color-ts-function: var(--light-color-ts-function); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-private: var(--light-color-ts-private); - --color-ts-variable: var(--light-color-ts-variable); - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - --color-ts: var(--dark-color-ts); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-private: var(--dark-color-ts-private); - --color-ts-variable: var(--dark-color-ts-variable); - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } -} - -html { - color-scheme: var(--color-scheme); -} - -body { - margin: 0; -} - -:root[data-theme="light"] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - --color-ts: var(--light-color-ts); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-class: var(--light-color-ts-class); - --color-ts-function: var(--light-color-ts-function); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-private: var(--light-color-ts-private); - --color-ts-variable: var(--light-color-ts-variable); - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); -} - -:root[data-theme="dark"] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - --color-ts: var(--dark-color-ts); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-private: var(--dark-color-ts-private); - --color-ts-variable: var(--dark-color-ts-variable); - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); -} - -.always-visible, -.always-visible .tsd-signatures { - display: inherit !important; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1.2; -} - -h1 { - font-size: 1.875rem; - margin: 0.67rem 0; -} - -h2 { - font-size: 1.5rem; - margin: 0.83rem 0; -} - -h3 { - font-size: 1.25rem; - margin: 1rem 0; -} - -h4 { - font-size: 1.05rem; - margin: 1.33rem 0; -} - -h5 { - font-size: 1rem; - margin: 1.5rem 0; -} - -h6 { - font-size: 0.875rem; - margin: 2.33rem 0; -} - -.uppercase { - text-transform: uppercase; -} - -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -.container { - max-width: 1600px; - padding: 0 2rem; -} - -@media (min-width: 640px) { - .container { - padding: 0 4rem; - } -} -@media (min-width: 1200px) { - .container { - padding: 0 8rem; - } -} -@media (min-width: 1600px) { - .container { - padding: 0 12rem; - } -} - -/* Footer */ -.tsd-generator { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: 3.5rem; -} - -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; -} - -.container-main { - display: flex; - justify-content: space-between; - position: relative; - margin: 0 auto; -} - -.col-4, -.col-8 { - box-sizing: border-box; - float: left; - padding: 2rem 1rem; -} - -.col-4 { - flex: 0 0 25%; -} -.col-8 { - flex: 1 0; - flex-wrap: wrap; - padding-left: 0; -} - -@keyframes fade-in { - from { - opacity: 0; - } - to { - opacity: 1; - } -} -@keyframes fade-out { - from { - opacity: 1; - visibility: visible; - } - to { - opacity: 0; - } -} -@keyframes fade-in-delayed { - 0% { - opacity: 0; - } - 33% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes fade-out-delayed { - 0% { - opacity: 1; - visibility: visible; - } - 66% { - opacity: 0; - } - 100% { - opacity: 0; - } -} -@keyframes shift-to-left { - from { - transform: translate(0, 0); - } - to { - transform: translate(-25%, 0); - } -} -@keyframes unshift-to-left { - from { - transform: translate(-25%, 0); - } - to { - transform: translate(0, 0); - } -} -@keyframes pop-in-from-right { - from { - transform: translate(100%, 0); - } - to { - transform: translate(0, 0); - } -} -@keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; - } - to { - transform: translate(100%, 0); - } -} -body { - background: var(--color-background); - font-family: "Segoe UI", sans-serif; - font-size: 16px; - color: var(--color-text); -} - -a { - color: var(--color-link); - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -a.external[target="_blank"] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; -} - -code, -pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; -} - -pre { - padding: 10px; - border: 0.1em solid var(--color-accent); -} -pre code { - padding: 0; - font-size: 100%; -} - -blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; -} - -.tsd-typography { - line-height: 1.333em; -} -.tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-typography h4, -.tsd-typography .tsd-index-panel h3, -.tsd-index-panel .tsd-typography h3, -.tsd-typography h5, -.tsd-typography h6 { - font-size: 1em; - margin: 0; -} -.tsd-typography h5, -.tsd-typography h6 { - font-weight: normal; -} -.tsd-typography p, -.tsd-typography ul, -.tsd-typography ol { - margin: 1em 0; -} - -@media (max-width: 1024px) { - html .col-content { - float: none; - max-width: 100%; - width: 100%; - padding-top: 3rem; - } - html .col-menu { - position: fixed !important; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - max-width: 25rem; - visibility: hidden; - background-color: var(--color-background); - transform: translate(100%, 0); - } - html .col-menu > *:last-child { - padding-bottom: 20px; - } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu :is(header, footer, .col-content) { - animation: shift-to-left 0.4s; - } - - .to-has-menu .col-menu { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu :is(header, footer, .col-content) { - animation: unshift-to-left 0.4s; - } - - .from-has-menu .col-menu { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu :is(header, footer, .col-content) { - transform: translate(-25%, 0); - } - .has-menu .col-menu { - visibility: visible; - transform: translate(0, 0); - display: grid; - align-items: center; - grid-template-rows: auto 1fr; - grid-gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; - } - .has-menu .tsd-navigation { - max-height: 100%; - } -} - -.tsd-breadcrumb { - margin: 0; - padding: 0; - color: var(--color-text-aside); -} -.tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; -} -.tsd-breadcrumb a:hover { - text-decoration: underline; -} -.tsd-breadcrumb li { - display: inline; -} -.tsd-breadcrumb li:after { - content: " / "; -} - -.tsd-comment-tags { - display: flex; - flex-direction: column; -} -dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; -} -dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; -} -dl.tsd-comment-tag-group dd { - margin: 0; -} -code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; -} -h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; -} - -dl.tsd-comment-tag-group dd:before, -dl.tsd-comment-tag-group dd:after { - content: " "; -} -dl.tsd-comment-tag-group dd pre, -dl.tsd-comment-tag-group dd:after { - clear: both; -} -dl.tsd-comment-tag-group p { - margin: 0; -} - -.tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; -} -.tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; -} - -.tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; -} -.tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; -} -.tsd-filter-input { - display: flex; - width: fit-content; - width: -moz-fit-content; - align-items: center; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - cursor: pointer; -} -.tsd-filter-input input[type="checkbox"] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; -} -.tsd-filter-input input[type="checkbox"]:disabled { - pointer-events: none; -} -.tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; -} -.tsd-filter-input input[type="checkbox"]:focus + svg { - transform: scale(0.95); -} -.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { - transform: scale(1); -} -.tsd-checkbox-background { - fill: var(--color-accent); -} -input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); -} - -.tsd-theme-toggle { - padding-top: 0.75rem; -} -.tsd-theme-toggle > h4 { - display: inline; - vertical-align: middle; - margin-right: 0.75rem; -} - -.tsd-hierarchy { - list-style: square; - margin: 0; -} -.tsd-hierarchy .target { - font-weight: bold; -} - -.tsd-panel-group.tsd-index-group { - margin-bottom: 0; -} -.tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; -} -@media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); - } -} -@media (max-width: 768px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); - } -} -.tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; -} -.tsd-index-panel a, -.tsd-index-panel a.tsd-parent-kind-module { - color: var(--color-ts); -} -.tsd-index-panel a.tsd-parent-kind-interface { - color: var(--color-ts-interface); -} -.tsd-index-panel a.tsd-parent-kind-enum { - color: var(--color-ts-enum); -} -.tsd-index-panel a.tsd-parent-kind-class { - color: var(--color-ts-class); -} -.tsd-index-panel a.tsd-kind-module { - color: var(--color-ts-namespace); -} -.tsd-index-panel a.tsd-kind-interface { - color: var(--color-ts-interface); -} -.tsd-index-panel a.tsd-kind-enum { - color: var(--color-ts-enum); -} -.tsd-index-panel a.tsd-kind-class { - color: var(--color-ts-class); -} -.tsd-index-panel a.tsd-kind-function { - color: var(--color-ts-function); -} -.tsd-index-panel a.tsd-kind-namespace { - color: var(--color-ts-namespace); -} -.tsd-index-panel a.tsd-kind-variable { - color: var(--color-ts-variable); -} -.tsd-index-panel a.tsd-is-private { - color: var(--color-ts-private); -} - -.tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; -} - -.tsd-anchor { - position: absolute; - top: -100px; -} - -.tsd-member { - position: relative; -} -.tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; -} -.tsd-member [data-tsd-kind] { - color: var(--color-ts); -} -.tsd-member [data-tsd-kind="Interface"] { - color: var(--color-ts-interface); -} -.tsd-member [data-tsd-kind="Enum"] { - color: var(--color-ts-enum); -} -.tsd-member [data-tsd-kind="Class"] { - color: var(--color-ts-class); -} -.tsd-member [data-tsd-kind="Private"] { - color: var(--color-ts-private); -} - -.tsd-navigation a { - display: block; - margin: 0.4rem 0; - border-left: 2px solid transparent; - color: var(--color-text); - text-decoration: none; - transition: border-left-color 0.1s; -} -.tsd-navigation a:hover { - text-decoration: underline; -} -.tsd-navigation ul { - margin: 0; - padding: 0; - list-style: none; -} -.tsd-navigation li { - padding: 0; -} - -.tsd-navigation.primary .tsd-accordion-details > ul { - margin-top: 0.75rem; -} -.tsd-navigation.primary a { - padding: 0.75rem 0.5rem; - margin: 0; -} -.tsd-navigation.primary ul li a { - margin-left: 0.5rem; -} -.tsd-navigation.primary ul li li a { - margin-left: 1.5rem; -} -.tsd-navigation.primary ul li li li a { - margin-left: 2.5rem; -} -.tsd-navigation.primary ul li li li li a { - margin-left: 3.5rem; -} -.tsd-navigation.primary ul li li li li li a { - margin-left: 4.5rem; -} -.tsd-navigation.primary ul li li li li li li a { - margin-left: 5.5rem; -} -.tsd-navigation.primary li.current > a { - border-left: 0.15rem var(--color-text) solid; -} -.tsd-navigation.primary li.selected > a { - font-weight: bold; - border-left: 0.2rem var(--color-text) solid; -} -.tsd-navigation.primary ul li a:hover { - border-left: 0.2rem var(--color-text-aside) solid; -} -.tsd-navigation.primary li.globals + li > span, -.tsd-navigation.primary li.globals + li > a { - padding-top: 20px; -} - -.tsd-navigation.secondary.tsd-navigation--toolbar-hide { - max-height: calc(100vh - 1rem); - top: 0.5rem; -} -.tsd-navigation.secondary > ul { - display: inline; - padding-right: 0.5rem; - transition: opacity 0.2s; -} -.tsd-navigation.secondary ul li a { - padding-left: 0; -} -.tsd-navigation.secondary ul li li a { - padding-left: 1.1rem; -} -.tsd-navigation.secondary ul li li li a { - padding-left: 2.2rem; -} -.tsd-navigation.secondary ul li li li li a { - padding-left: 3.3rem; -} -.tsd-navigation.secondary ul li li li li li a { - padding-left: 4.4rem; -} -.tsd-navigation.secondary ul li li li li li li a { - padding-left: 5.5rem; -} - -#tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; -} -#tsd-sidebar-links a:last-of-type { - margin-bottom: 0; -} - -a.tsd-index-link { - margin: 0.25rem 0; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; -} -.tsd-accordion-summary > h1, -.tsd-accordion-summary > h2, -.tsd-accordion-summary > h3, -.tsd-accordion-summary > h4, -.tsd-accordion-summary > h5 { - display: inline-flex; - align-items: center; - vertical-align: middle; - margin-bottom: 0; - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; -} -.tsd-accordion-summary { - display: block; - cursor: pointer; -} -.tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; -} -.tsd-accordion-summary::-webkit-details-marker { - display: none; -} -.tsd-index-accordion .tsd-accordion-summary svg { - margin-right: 0.25rem; -} -.tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; -} -.tsd-index-heading { - margin-top: 1.5rem; - margin-bottom: 0.75rem; -} - -.tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; -} -.tsd-kind-icon path { - transform-origin: center; - transform: scale(1.1); -} -.tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; -} - -@media (min-width: 1024px) { - .col-content { - margin: 2rem auto; - } - - .menu-sticky-wrap { - position: sticky; - height: calc(100vh - 2rem); - top: 4rem; - right: 0; - padding: 0 1.5rem; - padding-top: 1rem; - margin-top: 3rem; - transition: 0.3s ease-in-out; - transition-property: top, padding-top, padding, height; - overflow-y: auto; - } - .col-menu { - border-left: 1px solid var(--color-accent); - } - .col-menu--hide { - top: 1rem; - } - .col-menu .tsd-navigation:not(:last-child) { - padding-bottom: 1.75rem; - } -} - -.tsd-panel { - margin-bottom: 2.5rem; -} -.tsd-panel.tsd-member { - margin-bottom: 4rem; -} -.tsd-panel:empty { - display: none; -} -.tsd-panel > h1, -.tsd-panel > h2, -.tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; -} -.tsd-panel > h1.tsd-before-signature, -.tsd-panel > h2.tsd-before-signature, -.tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; -} - -.tsd-panel-group { - margin: 4rem 0; -} -.tsd-panel-group.tsd-index-group { - margin: 2rem 0; -} -.tsd-panel-group.tsd-index-group details { - margin: 2rem 0; -} - -#tsd-search { - transition: background-color 0.2s; -} -#tsd-search .title { - position: relative; - z-index: 2; -} -#tsd-search .field { - position: absolute; - left: 0; - top: 0; - right: 2.5rem; - height: 100%; -} -#tsd-search .field input { - box-sizing: border-box; - position: relative; - top: -50px; - z-index: 1; - width: 100%; - padding: 0 10px; - opacity: 0; - outline: 0; - border: 0; - background: transparent; - color: var(--color-text); -} -#tsd-search .field label { - position: absolute; - overflow: hidden; - right: -40px; -} -#tsd-search .field input, -#tsd-search .title, -#tsd-toolbar-links a { - transition: opacity 0.2s; -} -#tsd-search .results { - position: absolute; - visibility: hidden; - top: 40px; - width: 100%; - margin: 0; - padding: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -#tsd-search .results li { - padding: 0 10px; - background-color: var(--color-background); -} -#tsd-search .results li:nth-child(even) { - background-color: var(--color-background-secondary); -} -#tsd-search .results li.state { - display: none; -} -#tsd-search .results li.current, -#tsd-search .results li:hover { - background-color: var(--color-accent); -} -#tsd-search .results a { - display: block; -} -#tsd-search .results a:before { - top: 10px; -} -#tsd-search .results span.parent { - color: var(--color-text-aside); - font-weight: normal; -} -#tsd-search.has-focus { - background-color: var(--color-accent); -} -#tsd-search.has-focus .field input { - top: 0; - opacity: 1; -} -#tsd-search.has-focus .title, -#tsd-search.has-focus #tsd-toolbar-links a { - z-index: 0; - opacity: 0; -} -#tsd-search.has-focus .results { - visibility: visible; -} -#tsd-search.loading .results li.state.loading { - display: block; -} -#tsd-search.failure .results li.state.failure { - display: block; -} - -#tsd-toolbar-links { - position: absolute; - top: 0; - right: 2rem; - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; -} -#tsd-toolbar-links a { - margin-left: 1.5rem; -} -#tsd-toolbar-links a:hover { - text-decoration: underline; -} - -.tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; -} - -.tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; -} - -.tsd-signature-type { - font-style: italic; - font-weight: normal; -} - -.tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; -} -.tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; -} -.tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; -} - -ul.tsd-parameter-list, -ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; -} -ul.tsd-parameter-list > li.tsd-parameter-signature, -ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; -} -ul.tsd-parameter-list h5, -ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} -.tsd-sources { - margin-top: 1rem; - font-size: 0.875em; -} -.tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; -} -.tsd-sources ul { - list-style: none; - padding: 0; -} - -.tsd-page-toolbar { - position: fixed; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: 1px var(--color-accent) solid; - transition: transform 0.3s ease-in-out; -} -.tsd-page-toolbar a { - color: var(--color-text); - text-decoration: none; -} -.tsd-page-toolbar a.title { - font-weight: bold; -} -.tsd-page-toolbar a.title:hover { - text-decoration: underline; -} -.tsd-page-toolbar .tsd-toolbar-contents { - display: flex; - justify-content: space-between; - height: 2.5rem; - margin: 0 auto; -} -.tsd-page-toolbar .table-cell { - position: relative; - white-space: nowrap; - line-height: 40px; -} -.tsd-page-toolbar .table-cell:first-child { - width: 100%; -} -.tsd-page-toolbar .tsd-toolbar-icon { - box-sizing: border-box; - line-height: 0; - padding: 12px 0; -} - -.tsd-page-toolbar--hide { - transform: translateY(-100%); -} - -.tsd-widget { - display: inline-block; - overflow: hidden; - opacity: 0.8; - height: 40px; - transition: opacity 0.1s, background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-widget:hover { - opacity: 0.9; -} -.tsd-widget.active { - opacity: 1; - background-color: var(--color-accent); -} -.tsd-widget.no-caption { - width: 40px; -} -.tsd-widget.no-caption:before { - margin: 0; -} - -.tsd-widget.options, -.tsd-widget.menu { - display: none; -} -@media (max-width: 1024px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; - } -} -input[type="checkbox"] + .tsd-widget:before { - background-position: -120px 0; -} -input[type="checkbox"]:checked + .tsd-widget:before { - background-position: -160px 0; -} - -img { - max-width: 100%; -} - -.tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - vertical-align: middle; - color: var(--color-text); -} - -.tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; -} - -.tsd-anchor-link:hover > .tsd-anchor-icon svg { - visibility: visible; -} - -.deprecated { - text-decoration: line-through; -} - -.warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); -} - -* { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); -} - -*::-webkit-scrollbar { - width: 0.75rem; -} - -*::-webkit-scrollbar-track { - background: var(--color-icon-background); -} - -*::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); -} diff --git a/docs/api-docs/functions/mergeOptions.html b/docs/api-docs/functions/mergeOptions.html deleted file mode 100644 index 8254058..0000000 --- a/docs/api-docs/functions/mergeOptions.html +++ /dev/null @@ -1,71 +0,0 @@ -mergeOptions | PowerGlitch
-
- -
-
-
-
- -

Function mergeOptions

-
-
    - -
  • -

    Performs a deep merge of option objects and returns new object. Does not modify -objects (immutable) and will ignore arrays.

    - -

    Returns

    New object with merged key/values

    -
    -
    -

    Parameters

    -
      -
    • -
      Rest ...objects: readonly any[]
      -

      Objects to merge

      -
    -

    Returns any

-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/index.html b/docs/api-docs/index.html deleted file mode 100644 index f5a3851..0000000 --- a/docs/api-docs/index.html +++ /dev/null @@ -1,112 +0,0 @@ -PowerGlitch
-
- -
-
-
-
-

PowerGlitch

-
- -

PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to glitch anything on the web, without using a canvas. It weights less than 2kb minified and gzipped.

-

Want to try it out? Check out the demo 😊

-

- Like this project? Give a star 🌟 -

- - - -

Getting started

-
-
    -
  1. Install PowerGlitch using a package manager

    -
    npm i --save powerglitch
    # or
    yarn add powerglitch -
    -

    or by importing the web bundle in a script tag (or save it locally)

    -
    <script src="https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"></script>
    -
    -
  2. -
  3. Find an element to glitch

    -
    <!-- Image -->
    <img src='https://.../image.png' class='glitch' />

    <!-- Button -->
    <button class='glitch'>
    click me 🤷‍♂️
    </button>

    <!-- Any DOM element -->
    <div class='glitch'>
    <p>Hello <b>World</b></p>
    </div> -
    -
  4. -
  5. Import PowerGlitch using ES6 import

    -
    import { PowerGlitch } from 'powerglitch'
    -
    -

    or using ES5 require

    -
    const PowerGlitch = require('powerglitch').PowerGlitch
    -
    -

    if you are importing PowerGlitch using a script tag, the PowerGlitch global variable is automatically available.

    -
  6. -
  7. Glitch the element

    -
    PowerGlitch.glitch('.glitch')
    -
    -
  8. -
  9. That's it, your element is glitched!

    -
  10. -
  11. Check-out the usage guide for optimization and usage tips.

    -
  12. -
- - -

Useful links

-
-

Documentation

- -

Integrations

- - - -

Contributing

-
-

Having trouble? Found a bug? Want to contribute? Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request.

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/modules.html b/docs/api-docs/modules.html deleted file mode 100644 index a1be9e9..0000000 --- a/docs/api-docs/modules.html +++ /dev/null @@ -1,70 +0,0 @@ -PowerGlitch
-
- -
-
-
-
-

PowerGlitch

-
-
-

Index

-
-

Type Aliases

-
-
-

Functions

-
-
-

Variables

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/GlitchPartialOptions.html b/docs/api-docs/types/GlitchPartialOptions.html deleted file mode 100644 index 8d872cc..0000000 --- a/docs/api-docs/types/GlitchPartialOptions.html +++ /dev/null @@ -1,57 +0,0 @@ -GlitchPartialOptions | PowerGlitch
-
- -
-
-
-
- -

Type alias GlitchPartialOptions

-
GlitchPartialOptions: RecursivePartial<PowerGlitchOptions>
-

Options given to the glitch method

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/GlitchResult.html b/docs/api-docs/types/GlitchResult.html deleted file mode 100644 index 9b58147..0000000 --- a/docs/api-docs/types/GlitchResult.html +++ /dev/null @@ -1,84 +0,0 @@ -GlitchResult | PowerGlitch
-
- -
-
-
-
- -

Type alias GlitchResult

-
GlitchResult: {
    containers: HTMLDivElement[];
    startGlitch: (() => void);
    stopGlitch: (() => void);
}
-

The result for glitching one or multiple elements.

-
-
-

Type declaration

-
    -
  • -
    containers: HTMLDivElement[]
    -

    Lists of containers for each glitched element.

    -
  • -
  • -
    startGlitch: (() => void)
    -
      -
    • -
        -
      • (): void
      • -
      • -

        Callback to force-start the glitch animation regardless of the selected play mode.

        -
        -

        Returns void

  • -
  • -
    stopGlitch: (() => void)
    -
      -
    • -
        -
      • (): void
      • -
      • -

        Callback to force-stop the glitch animation, regardless of the selected play mode.

        -
        -

        Returns void

-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/GlitchableElement.html b/docs/api-docs/types/GlitchableElement.html deleted file mode 100644 index 907a127..0000000 --- a/docs/api-docs/types/GlitchableElement.html +++ /dev/null @@ -1,57 +0,0 @@ -GlitchableElement | PowerGlitch
-
- -
-
-
-
- -

Type alias GlitchableElement

-
GlitchableElement: string | HTMLElement | NodeListOf<HTMLElement> | HTMLElement[]
-

Specifies what to glitch. Query selector, html element, list of html elements or NodeList.

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/LayerDefinition.html b/docs/api-docs/types/LayerDefinition.html deleted file mode 100644 index 4205d9a..0000000 --- a/docs/api-docs/types/LayerDefinition.html +++ /dev/null @@ -1,69 +0,0 @@ -LayerDefinition | PowerGlitch
-
- -
-
-
-
- -

Type alias LayerDefinition

-
LayerDefinition: {
    steps: {
        [cssPropertyName: string]: string;
    }[];
    timing: EffectTiming;
}
-

Definition for one layer, part of the glitch animation.

-
-
-

Type declaration

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/PlayModes.html b/docs/api-docs/types/PlayModes.html deleted file mode 100644 index 6ad4376..0000000 --- a/docs/api-docs/types/PlayModes.html +++ /dev/null @@ -1,64 +0,0 @@ -PlayModes | PowerGlitch
-
- -
-
-
-
- -

Type alias PlayModes

-
PlayModes: "always" | "hover" | "click" | "manual"
-

Available play modes

- -

Remarks

    -
  • always: Always glitch (default)
  • -
  • hover: Glitch on hover
  • -
  • click: Glitch will start on each click
  • -
  • manual: Glitch controlled with returned callbacks
  • -
-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/PowerGlitchOptions.html b/docs/api-docs/types/PowerGlitchOptions.html deleted file mode 100644 index 857dcfd..0000000 --- a/docs/api-docs/types/PowerGlitchOptions.html +++ /dev/null @@ -1,156 +0,0 @@ -PowerGlitchOptions | PowerGlitch
-
- -
-
-
-
- -

Type alias PowerGlitchOptions

-
PowerGlitchOptions: {
    optimizeSeo: boolean;
    html?: string;
    createContainers: boolean;
    playMode: PlayModes;
    hideOverflow: boolean;
    timing: {
        duration: number;
        iterations: number;
        easing?: string;
    };
    glitchTimeSpan: false | {
        start: number;
        end: number;
    };
    shake: false | {
        velocity: number;
        amplitudeX: number;
        amplitudeY: number;
    };
    slice: {
        count: number;
        velocity: number;
        minHeight: number;
        maxHeight: number;
        hueRotate: boolean;
    };
    pulse: false | {
        scale: number;
    };
}
-

Custom options for the glitch animations.

-
-
-

Type declaration

-
    -
  • -
    optimizeSeo: boolean
    -

    Whether to avoid running the glitch effect on crawlers for SEO optimization.

    -
  • -
  • -
    Optional html?: string
    -

    Html to glitch. If not provided, will use the elements themselves. If provided, all elements should have an innerHTML property.

    -
  • -
  • -
    createContainers: boolean
    -

    Whether to create the 2 containers (one containing the other) necessary to create the glitch animation (defaults to true).

    - -

    Remarks

    The glitch effect relies on cloning the glitched element, and stacking them on top of the others inside 2 containers (one containing the other). -The embedded container is called the layer container, it has grid display and stacks its children, which are the original element and its cloned versions. -The top-level container replaces the original element (and the element is moved inside the layer container) -This logic is necessary to ensure layout consistency before/after the glitch, and to create the actual glitch effect with CSS. -In short, this maximizes compatibility for gitching about anything, but has to rearrange the DOM for that purpose.

    -

    In some cases, it is better to handle this logic of two containers elsewhere than in PowerGlitch. -For that, this flag should be false, which will make PowerGlitch.giltch(..) assume:

    -
      -
    • That the first argument to glitch(..) is the layer container itself
    • -
    • That the first child of the layer container is the element to glitch -And will:
    • -
    • Clone the element to glitch the required amount of times, and add the clones at the same level than the element to glitch in the layer container
    • -
    -
  • -
  • -
    playMode: PlayModes
    -

    While you can control the glitch with the startGlitch/stopGlitch methods, -You can also set a default behavior for playing the glitch.

    -
  • -
  • -
    hideOverflow: boolean
    -

    Whether to hide the glitch animation when it goes out of the bounding rectangle.

    -
  • -
  • -
    timing: {
        duration: number;
        iterations: number;
        easing?: string;
    }
    -

    Timing of the animation.

    -
    -
      -
    • -
      duration: number
      -

      Duration of the animation loop in milliseconds.

      -
    • -
    • -
      iterations: number
      -

      Number of times the animation should repeat. Set to Infinity to repeat forever.

      -
    • -
    • -
      Optional easing?: string
      -

      Ease animation for all layers. Defauls to a sequential easing (no transition).

      -
  • -
  • -
    glitchTimeSpan: false | {
        start: number;
        end: number;
    }
    -

    Specify if the animation should always glitch uniformly (if false) or if it should glitch at a given time.

    - -

    Remarks

    If start and end are set, the animation will glitch between those two times, and the peak glitch will be at the middle. -glitchTimeSpan.end should be greater than glitchTimeSpan.start. Otherwise, the glitch will not happen.

    -
  • -
  • -
    shake: false | {
        velocity: number;
        amplitudeX: number;
        amplitudeY: number;
    }
    -

    Whether the base layer should shake. If not set to false, the base layer will shake in the given amplitude.

    - -

    Remarks

    The shake animation respects the glitch time span constraint, if set.

    -
  • -
  • -
    slice: {
        count: number;
        velocity: number;
        minHeight: number;
        maxHeight: number;
        hueRotate: boolean;
    }
    -

    Slice layers are the base animation to give the glitch effect. They clip a part of the element and move it somewhere else.

    - -

    Remarks

    The slice animation respects the glitch time span constraint, if set.

    -
    -
      -
    • -
      count: number
      -

      Number of layers to generate.

      -
    • -
    • -
      velocity: number
      -

      Number of steps to compute for each layer per second of animation.

      -
    • -
    • -
      minHeight: number
      -

      Minimum height in percent for a given slice, between 0 and 1.

      -
    • -
    • -
      maxHeight: number
      -

      Maximum height in percent for a given slice, between 0 and 1.

      -
    • -
    • -
      hueRotate: boolean
      -

      Whether the hue should rotate for the given slice.

      -
  • -
  • -
    pulse: false | {
        scale: number;
    }
    -

    Pulse layer adds a pulsing effect to the glitch.

    -
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/types/RecursivePartial.html b/docs/api-docs/types/RecursivePartial.html deleted file mode 100644 index e1bbfc3..0000000 --- a/docs/api-docs/types/RecursivePartial.html +++ /dev/null @@ -1,62 +0,0 @@ -RecursivePartial | PowerGlitch
-
- -
-
-
-
- -

Type alias RecursivePartial<T>

-
RecursivePartial<T>: { [ P in keyof T]?: RecursivePartial<T[P]> }
-

Utility class to have optional properties on a type recursively

-
-
-

Type Parameters

-
    -
  • -

    T

-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/api-docs/variables/PowerGlitch.html b/docs/api-docs/variables/PowerGlitch.html deleted file mode 100644 index d8af31c..0000000 --- a/docs/api-docs/variables/PowerGlitch.html +++ /dev/null @@ -1,109 +0,0 @@ -PowerGlitch
-
- -
-
-
-
- -

Variable PowerGlitchConst

-
PowerGlitch: {
    glitch: ((elOrSelector?: GlitchableElement, userOptions?: RecursivePartial<PowerGlitchOptions>) => GlitchResult);
    generateLayers: ((options: PowerGlitchOptions) => LayerDefinition[]);
    getDefaultOptions: ((playMode?: PlayModes) => PowerGlitchOptions);
} = ...
-
-

Type declaration

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file diff --git a/docs/assets/index-6aa122cd.css b/docs/assets/index-681aa8a9.css similarity index 81% rename from docs/assets/index-6aa122cd.css rename to docs/assets/index-681aa8a9.css index 518c3cf..987c935 100644 --- a/docs/assets/index-6aa122cd.css +++ b/docs/assets/index-681aa8a9.css @@ -5,4 +5,4 @@ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5p Author: (c) Henri Vandersleyen License: see project LICENSE Touched: 2022 -*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.right-0{right:0px}.top-0{top:0px}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.ml-4{margin-left:1rem}.mt-1{margin-top:.25rem}.mt-8{margin-top:2rem}.mt-2{margin-top:.5rem}.mb-8{margin-bottom:2rem}.mt-16{margin-top:4rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.w-20{width:5rem}.min-w-0{min-width:0px}.grow{flex-grow:1}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.gap-4{gap:1rem}.gap-2{gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-4{padding-left:1rem}.pl-2{padding-left:.5rem}.pt-7{padding-top:1.75rem}.pb-8{padding-bottom:2rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}body{overflow-y:auto;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));height:100vh;color:#000}#app{height:100%}input,select,button{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.25rem .75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mt-8{margin-top:2rem}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.app[data-v-a254a8f7]{max-width:600px}.example-logo[data-v-a254a8f7],.example-frog[data-v-a254a8f7]{width:80px;height:80px}.app[data-v-a72e4028]{max-width:600px}.example[data-v-a72e4028]{width:120px;height:120px}.option-panel[data-v-9ab48c40]{width:500px}@media screen and (max-width: 1060px){.app[data-v-9ab48c40]{flex-direction:column-reverse}.option-panel[data-v-9ab48c40]{width:100%;height:50%}} +*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.right-0{right:0px}.top-0{top:0px}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.ml-4{margin-left:1rem}.mt-1{margin-top:.25rem}.mt-8{margin-top:2rem}.mt-2{margin-top:.5rem}.mb-8{margin-bottom:2rem}.mt-16{margin-top:4rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.w-20{width:5rem}.min-w-0{min-width:0px}.grow{flex-grow:1}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.gap-4{gap:1rem}.gap-2{gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-4{padding-left:1rem}.pl-2{padding-left:.5rem}.pt-7{padding-top:1.75rem}.pb-8{padding-bottom:2rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}body{overflow-y:auto;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));height:100vh;color:#000}#app{height:100%}input,select,button{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.25rem .75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mt-8{margin-top:2rem}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.app[data-v-a254a8f7]{max-width:600px}.example-logo[data-v-a254a8f7],.example-frog[data-v-a254a8f7]{width:80px;height:80px}.app[data-v-1930b57b]{max-width:600px}.example[data-v-1930b57b]{width:120px;height:120px}.option-panel[data-v-9ab48c40]{width:500px}@media screen and (max-width: 1060px){.app[data-v-9ab48c40]{flex-direction:column-reverse}.option-panel[data-v-9ab48c40]{width:100%;height:50%}} diff --git a/docs/assets/index-509fdfbc.js b/docs/assets/index-f8740b30.js similarity index 51% rename from docs/assets/index-509fdfbc.js rename to docs/assets/index-f8740b30.js index e3bdc24..4ef5f8c 100644 --- a/docs/assets/index-509fdfbc.js +++ b/docs/assets/index-f8740b30.js @@ -1,10 +1,10 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function i(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerpolicy&&(l.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?l.credentials="include":s.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=i(s);fetch(s.href,l)}})();function Mu(e,n){const i=Object.create(null),a=e.split(",");for(let s=0;s!!i[s.toLowerCase()]:s=>!!i[s]}function Nu(e){if(Oe(e)){const n={};for(let i=0;i{if(i){const a=i.split(cx);a.length>1&&(n[a[0].trim()]=a[1].trim())}}),n}function ba(e){let n="";if(At(e))n=e;else if(Oe(e))for(let i=0;iAt(e)?e:e==null?"":Oe(e)||ot(e)&&(e.toString===Cp||!Te(e.toString))?JSON.stringify(e,Op,2):String(e),Op=(e,n)=>n&&n.__v_isRef?Op(e,n.value):Ai(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((i,[a,s])=>(i[`${a} =>`]=s,i),{})}:Sp(n)?{[`Set(${n.size})`]:[...n.values()]}:ot(n)&&!Oe(n)&&!kp(n)?String(n):n,at={},xi=[],En=()=>{},gx=()=>!1,mx=/^on[^a-z]/,us=e=>mx.test(e),Lu=e=>e.startsWith("onUpdate:"),Ft=Object.assign,Du=(e,n)=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)},vx=Object.prototype.hasOwnProperty,Fe=(e,n)=>vx.call(e,n),Oe=Array.isArray,Ai=e=>cs(e)==="[object Map]",Sp=e=>cs(e)==="[object Set]",Te=e=>typeof e=="function",At=e=>typeof e=="string",Bu=e=>typeof e=="symbol",ot=e=>e!==null&&typeof e=="object",Rp=e=>ot(e)&&Te(e.then)&&Te(e.catch),Cp=Object.prototype.toString,cs=e=>Cp.call(e),bx=e=>cs(e).slice(8,-1),kp=e=>cs(e)==="[object Object]",$u=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zo=Mu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},_x=/-(\w)/g,Dn=fs(e=>e.replace(_x,(n,i)=>i?i.toUpperCase():"")),yx=/\B([A-Z])/g,Li=fs(e=>e.replace(yx,"-$1").toLowerCase()),ds=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ul=fs(e=>e?`on${ds(e)}`:""),_a=(e,n)=>!Object.is(e,n),Gl=(e,n)=>{for(let i=0;i{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:i})},Ip=e=>{const n=parseFloat(e);return isNaN(n)?e:n};let Qd;const wx=()=>Qd||(Qd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let tn;class Tp{constructor(n=!1){this.detached=n,this.active=!0,this.effects=[],this.cleanups=[],this.parent=tn,!n&&tn&&(this.index=(tn.scopes||(tn.scopes=[])).push(this)-1)}run(n){if(this.active){const i=tn;try{return tn=this,n()}finally{tn=i}}}on(){tn=this}off(){tn=this.parent}stop(n){if(this.active){let i,a;for(i=0,a=this.effects.length;i{const n=new Set(e);return n.w=0,n.n=0,n},Mp=e=>(e.w&Er)>0,Np=e=>(e.n&Er)>0,Ox=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let i=0;for(let a=0;a{(p==="length"||p>=d)&&f.push(v)})}else switch(i!==void 0&&f.push(c.get(i)),n){case"add":Oe(e)?$u(i)&&f.push(c.get("length")):(f.push(c.get(Wr)),Ai(e)&&f.push(c.get(ru)));break;case"delete":Oe(e)||(f.push(c.get(Wr)),Ai(e)&&f.push(c.get(ru)));break;case"set":Ai(e)&&f.push(c.get(Wr));break}if(f.length===1)f[0]&&iu(f[0]);else{const d=[];for(const v of f)v&&d.push(...v);iu(Fu(d))}}function iu(e,n){const i=Oe(e)?e:[...e];for(const a of i)a.computed&&eh(a);for(const a of i)a.computed||eh(a)}function eh(e,n){(e!==yn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Rx=Mu("__proto__,__v_isRef,__isVue"),Bp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bu)),Cx=Gu(),kx=Gu(!1,!0),Ix=Gu(!0),th=Tx();function Tx(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...i){const a=Ge(this);for(let l=0,c=this.length;l{e[n]=function(...i){Di();const a=Ge(this)[n].apply(this,i);return Bi(),a}}),e}function Gu(e=!1,n=!1){return function(a,s,l){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return n;if(s==="__v_raw"&&l===(e?n?Vx:Hp:n?Gp:Up).get(a))return a;const c=Oe(a);if(!e&&c&&Fe(th,s))return Reflect.get(th,s,l);const f=Reflect.get(a,s,l);return(Bu(s)?Bp.has(s):Rx(s))||(e||nn(a,"get",s),n)?f:bt(f)?c&&$u(s)?f:f.value:ot(f)?e?zp(f):$i(f):f}}const Px=$p(),Mx=$p(!0);function $p(e=!1){return function(i,a,s,l){let c=i[a];if(Ri(c)&&bt(c)&&!bt(s))return!1;if(!e&&(!Zo(s)&&!Ri(s)&&(c=Ge(c),s=Ge(s)),!Oe(i)&&bt(c)&&!bt(s)))return c.value=s,!0;const f=Oe(i)&&$u(a)?Number(a)e,hs=e=>Reflect.getPrototypeOf(e);function So(e,n,i=!1,a=!1){e=e.__v_raw;const s=Ge(e),l=Ge(n);i||(n!==l&&nn(s,"get",n),nn(s,"get",l));const{has:c}=hs(s),f=a?Hu:i?Yu:ya;if(c.call(s,n))return f(e.get(n));if(c.call(s,l))return f(e.get(l));e!==s&&e.get(n)}function Ro(e,n=!1){const i=this.__v_raw,a=Ge(i),s=Ge(e);return n||(e!==s&&nn(a,"has",e),nn(a,"has",s)),e===s?i.has(e):i.has(e)||i.has(s)}function Co(e,n=!1){return e=e.__v_raw,!n&&nn(Ge(e),"iterate",Wr),Reflect.get(e,"size",e)}function nh(e){e=Ge(e);const n=Ge(this);return hs(n).has.call(n,e)||(n.add(e),qn(n,"add",e,e)),this}function rh(e,n){n=Ge(n);const i=Ge(this),{has:a,get:s}=hs(i);let l=a.call(i,e);l||(e=Ge(e),l=a.call(i,e));const c=s.call(i,e);return i.set(e,n),l?_a(n,c)&&qn(i,"set",e,n):qn(i,"add",e,n),this}function ih(e){const n=Ge(this),{has:i,get:a}=hs(n);let s=i.call(n,e);s||(e=Ge(e),s=i.call(n,e)),a&&a.call(n,e);const l=n.delete(e);return s&&qn(n,"delete",e,void 0),l}function ah(){const e=Ge(this),n=e.size!==0,i=e.clear();return n&&qn(e,"clear",void 0,void 0),i}function ko(e,n){return function(a,s){const l=this,c=l.__v_raw,f=Ge(c),d=n?Hu:e?Yu:ya;return!e&&nn(f,"iterate",Wr),c.forEach((v,p)=>a.call(s,d(v),d(p),l))}}function Io(e,n,i){return function(...a){const s=this.__v_raw,l=Ge(s),c=Ai(l),f=e==="entries"||e===Symbol.iterator&&c,d=e==="keys"&&c,v=s[e](...a),p=i?Hu:n?Yu:ya;return!n&&nn(l,"iterate",d?ru:Wr),{next(){const{value:_,done:A}=v.next();return A?{value:_,done:A}:{value:f?[p(_[0]),p(_[1])]:p(_),done:A}},[Symbol.iterator](){return this}}}}function fr(e){return function(...n){return e==="delete"?!1:this}}function Fx(){const e={get(l){return So(this,l)},get size(){return Co(this)},has:Ro,add:nh,set:rh,delete:ih,clear:ah,forEach:ko(!1,!1)},n={get(l){return So(this,l,!1,!0)},get size(){return Co(this)},has:Ro,add:nh,set:rh,delete:ih,clear:ah,forEach:ko(!1,!0)},i={get(l){return So(this,l,!0)},get size(){return Co(this,!0)},has(l){return Ro.call(this,l,!0)},add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear"),forEach:ko(!0,!1)},a={get(l){return So(this,l,!0,!0)},get size(){return Co(this,!0)},has(l){return Ro.call(this,l,!0)},add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear"),forEach:ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Io(l,!1,!1),i[l]=Io(l,!0,!1),n[l]=Io(l,!1,!0),a[l]=Io(l,!0,!0)}),[e,i,n,a]}const[Ux,Gx,Hx,zx]=Fx();function zu(e,n){const i=n?e?zx:Hx:e?Gx:Ux;return(a,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?a:Reflect.get(Fe(i,s)&&s in a?i:a,s,l)}const Wx={get:zu(!1,!1)},Yx={get:zu(!1,!0)},Kx={get:zu(!0,!1)},Up=new WeakMap,Gp=new WeakMap,Hp=new WeakMap,Vx=new WeakMap;function jx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qx(e){return e.__v_skip||!Object.isExtensible(e)?0:jx(bx(e))}function $i(e){return Ri(e)?e:Wu(e,!1,Fp,Wx,Up)}function Xx(e){return Wu(e,!1,$x,Yx,Gp)}function zp(e){return Wu(e,!0,Bx,Kx,Hp)}function Wu(e,n,i,a,s){if(!ot(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const l=s.get(e);if(l)return l;const c=qx(e);if(c===0)return e;const f=new Proxy(e,c===2?a:i);return s.set(e,f),f}function yr(e){return Ri(e)?yr(e.__v_raw):!!(e&&e.__v_isReactive)}function Ri(e){return!!(e&&e.__v_isReadonly)}function Zo(e){return!!(e&&e.__v_isShallow)}function Wp(e){return yr(e)||Ri(e)}function Ge(e){const n=e&&e.__v_raw;return n?Ge(n):e}function Ci(e){return Xo(e,"__v_skip",!0),e}const ya=e=>ot(e)?$i(e):e,Yu=e=>ot(e)?zp(e):e;function Yp(e){_r&&yn&&(e=Ge(e),Dp(e.dep||(e.dep=Fu())))}function Kp(e,n){e=Ge(e),e.dep&&iu(e.dep)}function bt(e){return!!(e&&e.__v_isRef===!0)}function mt(e){return Vp(e,!1)}function Zx(e){return Vp(e,!0)}function Vp(e,n){return bt(e)?e:new Qx(e,n)}class Qx{constructor(n,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?n:Ge(n),this._value=i?n:ya(n)}get value(){return Yp(this),this._value}set value(n){const i=this.__v_isShallow||Zo(n)||Ri(n);n=i?n:Ge(n),_a(n,this._rawValue)&&(this._rawValue=n,this._value=i?n:ya(n),Kp(this))}}function te(e){return bt(e)?e.value:e}const Jx={get:(e,n,i)=>te(Reflect.get(e,n,i)),set:(e,n,i,a)=>{const s=e[n];return bt(s)&&!bt(i)?(s.value=i,!0):Reflect.set(e,n,i,a)}};function jp(e){return yr(e)?e:new Proxy(e,Jx)}function eA(e){const n=Oe(e)?new Array(e.length):{};for(const i in e)n[i]=nA(e,i);return n}class tA{constructor(n,i,a){this._object=n,this._key=i,this._defaultValue=a,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}}function nA(e,n,i){const a=e[n];return bt(a)?a:new tA(e,n,i)}var qp;class rA{constructor(n,i,a,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[qp]=!1,this._dirty=!0,this.effect=new Uu(n,()=>{this._dirty||(this._dirty=!0,Kp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=a}get value(){const n=Ge(this);return Yp(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}qp="__v_isReadonly";function iA(e,n,i=!1){let a,s;const l=Te(e);return l?(a=e,s=En):(a=e.get,s=e.set),new rA(a,s,l||!s,i)}function wr(e,n,i,a){let s;try{s=a?e(...a):e()}catch(l){ps(l,n,i)}return s}function On(e,n,i,a){if(Te(e)){const l=wr(e,n,i,a);return l&&Rp(l)&&l.catch(c=>{ps(c,n,i)}),l}const s=[];for(let l=0;l>>1;xa(Nt[a])Pn&&Nt.splice(n,1)}function lA(e){Oe(e)?Ei.push(...e):(!jn||!jn.includes(e,e.allowRecurse?Ur+1:Ur))&&Ei.push(e),Zp()}function oh(e,n=wa?Pn+1:0){for(;nxa(i)-xa(a)),Ur=0;Ure.id==null?1/0:e.id,uA=(e,n)=>{const i=xa(e)-xa(n);if(i===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return i};function Jp(e){au=!1,wa=!0,Nt.sort(uA);const n=En;try{for(Pn=0;PnAt(R)?R.trim():R)),_&&(s=i.map(Ip))}let f,d=a[f=Ul(n)]||a[f=Ul(Dn(n))];!d&&l&&(d=a[f=Ul(Li(n))]),d&&On(d,e,6,s);const v=a[f+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,On(v,e,6,s)}}function eg(e,n,i=!1){const a=n.emitsCache,s=a.get(e);if(s!==void 0)return s;const l=e.emits;let c={},f=!1;if(!Te(e)){const d=v=>{const p=eg(v,n,!0);p&&(f=!0,Ft(c,p))};!i&&n.mixins.length&&n.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!l&&!f?(ot(e)&&a.set(e,null),null):(Oe(l)?l.forEach(d=>c[d]=null):Ft(c,l),ot(e)&&a.set(e,c),c)}function gs(e,n){return!e||!us(n)?!1:(n=n.slice(2).replace(/Once$/,""),Fe(e,n[0].toLowerCase()+n.slice(1))||Fe(e,Li(n))||Fe(e,n))}let gn=null,ms=null;function Qo(e){const n=gn;return gn=e,ms=e&&e.type.__scopeId||null,n}function tg(e){ms=e}function ng(){ms=null}function xr(e,n=gn,i){if(!n||e._n)return e;const a=(...s)=>{a._d&&gh(-1);const l=Qo(n);let c;try{c=e(...s)}finally{Qo(l),a._d&&gh(1)}return c};return a._n=!0,a._c=!0,a._d=!0,a}function Hl(e){const{type:n,vnode:i,proxy:a,withProxy:s,props:l,propsOptions:[c],slots:f,attrs:d,emit:v,render:p,renderCache:_,data:A,setupState:R,ctx:Y,inheritAttrs:q}=e;let ne,T;const z=Qo(e);try{if(i.shapeFlag&4){const ae=s||a;ne=Tn(p.call(ae,ae,_,l,R,A,Y)),T=d}else{const ae=n;ne=Tn(ae.length>1?ae(l,{attrs:d,slots:f,emit:v}):ae(l,null)),T=n.props?d:fA(d)}}catch(ae){ca.length=0,ps(ae,e,1),ne=de(jr)}let K=ne;if(T&&q!==!1){const ae=Object.keys(T),{shapeFlag:ue}=K;ae.length&&ue&7&&(c&&ae.some(Lu)&&(T=dA(T,c)),K=ki(K,T))}return i.dirs&&(K=ki(K),K.dirs=K.dirs?K.dirs.concat(i.dirs):i.dirs),i.transition&&(K.transition=i.transition),ne=K,Qo(z),ne}const fA=e=>{let n;for(const i in e)(i==="class"||i==="style"||us(i))&&((n||(n={}))[i]=e[i]);return n},dA=(e,n)=>{const i={};for(const a in e)(!Lu(a)||!(a.slice(9)in n))&&(i[a]=e[a]);return i};function hA(e,n,i){const{props:a,children:s,component:l}=e,{props:c,children:f,patchFlag:d}=n,v=l.emitsOptions;if(n.dirs||n.transition)return!0;if(i&&d>=0){if(d&1024)return!0;if(d&16)return a?sh(a,c,v):!!c;if(d&8){const p=n.dynamicProps;for(let _=0;_e.__isSuspense;function mA(e,n){n&&n.pendingBranch?Oe(e)?n.effects.push(...e):n.effects.push(e):lA(e)}function Wo(e,n){if(Rt){let i=Rt.provides;const a=Rt.parent&&Rt.parent.provides;a===i&&(i=Rt.provides=Object.create(a)),i[e]=n}}function Nn(e,n,i=!1){const a=Rt||gn;if(a){const s=a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return i&&Te(n)?n.call(a.proxy):n}}const To={};function Ar(e,n,i){return rg(e,n,i)}function rg(e,n,{immediate:i,deep:a,flush:s,onTrack:l,onTrigger:c}=at){const f=Rt;let d,v=!1,p=!1;if(bt(e)?(d=()=>e.value,v=Zo(e)):yr(e)?(d=()=>e,a=!0):Oe(e)?(p=!0,v=e.some(K=>yr(K)||Zo(K)),d=()=>e.map(K=>{if(bt(K))return K.value;if(yr(K))return _i(K);if(Te(K))return wr(K,f,2)})):Te(e)?n?d=()=>wr(e,f,2):d=()=>{if(!(f&&f.isUnmounted))return _&&_(),On(e,f,3,[A])}:d=En,n&&a){const K=d;d=()=>_i(K())}let _,A=K=>{_=T.onStop=()=>{wr(K,f,4)}},R;if(Ea)if(A=En,n?i&&On(n,f,3,[d(),p?[]:void 0,A]):d(),s==="sync"){const K=fE();R=K.__watcherHandles||(K.__watcherHandles=[])}else return En;let Y=p?new Array(e.length).fill(To):To;const q=()=>{if(T.active)if(n){const K=T.run();(a||v||(p?K.some((ae,ue)=>_a(ae,Y[ue])):_a(K,Y)))&&(_&&_(),On(n,f,3,[K,Y===To?void 0:p&&Y[0]===To?[]:Y,A]),Y=K)}else T.run()};q.allowRecurse=!!n;let ne;s==="sync"?ne=q:s==="post"?ne=()=>Vt(q,f&&f.suspense):(q.pre=!0,f&&(q.id=f.uid),ne=()=>ju(q));const T=new Uu(d,ne);n?i?q():Y=T.run():s==="post"?Vt(T.run.bind(T),f&&f.suspense):T.run();const z=()=>{T.stop(),f&&f.scope&&Du(f.scope.effects,T)};return R&&R.push(z),z}function vA(e,n,i){const a=this.proxy,s=At(e)?e.includes(".")?ig(a,e):()=>a[e]:e.bind(a,a);let l;Te(n)?l=n:(l=n.handler,i=n);const c=Rt;Ii(this);const f=rg(s,l.bind(a),i);return c?Ii(c):Yr(),f}function ig(e,n){const i=n.split(".");return()=>{let a=e;for(let s=0;s{_i(i,n)});else if(kp(e))for(const i in e)_i(e[i],n);return e}function Fi(e){return Te(e)?{setup:e,name:e.name}:e}const Yo=e=>!!e.type.__asyncLoader,ag=e=>e.type.__isKeepAlive;function bA(e,n){og(e,"a",n)}function _A(e,n){og(e,"da",n)}function og(e,n,i=Rt){const a=e.__wdc||(e.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(vs(n,a,i),i){let s=i.parent;for(;s&&s.parent;)ag(s.parent.vnode)&&yA(a,n,i,s),s=s.parent}}function yA(e,n,i,a){const s=vs(n,e,a,!0);sg(()=>{Du(a[n],s)},i)}function vs(e,n,i=Rt,a=!1){if(i){const s=i[e]||(i[e]=[]),l=n.__weh||(n.__weh=(...c)=>{if(i.isUnmounted)return;Di(),Ii(i);const f=On(n,i,e,c);return Yr(),Bi(),f});return a?s.unshift(l):s.push(l),l}}const Jn=e=>(n,i=Rt)=>(!Ea||e==="sp")&&vs(e,(...a)=>n(...a),i),wA=Jn("bm"),Ui=Jn("m"),xA=Jn("bu"),AA=Jn("u"),EA=Jn("bum"),sg=Jn("um"),OA=Jn("sp"),SA=Jn("rtg"),RA=Jn("rtc");function CA(e,n=Rt){vs("ec",e,n)}function Br(e,n,i,a){const s=e.dirs,l=n&&n.dirs;for(let c=0;cn(c,f,void 0,l&&l[f]));else{const c=Object.keys(e);s=new Array(c.length);for(let f=0,d=c.length;fe?_g(e)?Qu(e)||e.proxy:ou(e.parent):null,ua=Ft(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ou(e.parent),$root:e=>ou(e.root),$emit:e=>e.emit,$options:e=>qu(e),$forceUpdate:e=>e.f||(e.f=()=>ju(e.update)),$nextTick:e=>e.n||(e.n=Vu.bind(e.proxy)),$watch:e=>vA.bind(e)}),zl=(e,n)=>e!==at&&!e.__isScriptSetup&&Fe(e,n),PA={get({_:e},n){const{ctx:i,setupState:a,data:s,props:l,accessCache:c,type:f,appContext:d}=e;let v;if(n[0]!=="$"){const R=c[n];if(R!==void 0)switch(R){case 1:return a[n];case 2:return s[n];case 4:return i[n];case 3:return l[n]}else{if(zl(a,n))return c[n]=1,a[n];if(s!==at&&Fe(s,n))return c[n]=2,s[n];if((v=e.propsOptions[0])&&Fe(v,n))return c[n]=3,l[n];if(i!==at&&Fe(i,n))return c[n]=4,i[n];su&&(c[n]=0)}}const p=ua[n];let _,A;if(p)return n==="$attrs"&&nn(e,"get",n),p(e);if((_=f.__cssModules)&&(_=_[n]))return _;if(i!==at&&Fe(i,n))return c[n]=4,i[n];if(A=d.config.globalProperties,Fe(A,n))return A[n]},set({_:e},n,i){const{data:a,setupState:s,ctx:l}=e;return zl(s,n)?(s[n]=i,!0):a!==at&&Fe(a,n)?(a[n]=i,!0):Fe(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(l[n]=i,!0)},has({_:{data:e,setupState:n,accessCache:i,ctx:a,appContext:s,propsOptions:l}},c){let f;return!!i[c]||e!==at&&Fe(e,c)||zl(n,c)||(f=l[0])&&Fe(f,c)||Fe(a,c)||Fe(ua,c)||Fe(s.config.globalProperties,c)},defineProperty(e,n,i){return i.get!=null?e._.accessCache[n]=0:Fe(i,"value")&&this.set(e,n,i.value,null),Reflect.defineProperty(e,n,i)}};let su=!0;function MA(e){const n=qu(e),i=e.proxy,a=e.ctx;su=!1,n.beforeCreate&&uh(n.beforeCreate,e,"bc");const{data:s,computed:l,methods:c,watch:f,provide:d,inject:v,created:p,beforeMount:_,mounted:A,beforeUpdate:R,updated:Y,activated:q,deactivated:ne,beforeDestroy:T,beforeUnmount:z,destroyed:K,unmounted:ae,render:ue,renderTracked:Se,renderTriggered:ge,errorCaptured:ye,serverPrefetch:Pe,expose:Qe,inheritAttrs:ht,components:Ot,directives:Ut,filters:st}=n;if(v&&NA(v,a,null,e.appContext.config.unwrapInjectedRef),c)for(const V in c){const X=c[V];Te(X)&&(a[V]=X.bind(i))}if(s){const V=s.call(i,i);ot(V)&&(e.data=$i(V))}if(su=!0,l)for(const V in l){const X=l[V],we=Te(X)?X.bind(i,i):Te(X.get)?X.get.bind(i,i):En,Le=!Te(X)&&Te(X.set)?X.set.bind(i):En,Ne=Ye({get:we,set:Le});Object.defineProperty(a,V,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Ke=>Ne.value=Ke})}if(f)for(const V in f)ug(f[V],a,i,V);if(d){const V=Te(d)?d.call(i):d;Reflect.ownKeys(V).forEach(X=>{Wo(X,V[X])})}p&&uh(p,e,"c");function G(V,X){Oe(X)?X.forEach(we=>V(we.bind(i))):X&&V(X.bind(i))}if(G(wA,_),G(Ui,A),G(xA,R),G(AA,Y),G(bA,q),G(_A,ne),G(CA,ye),G(RA,Se),G(SA,ge),G(EA,z),G(sg,ae),G(OA,Pe),Oe(Qe))if(Qe.length){const V=e.exposed||(e.exposed={});Qe.forEach(X=>{Object.defineProperty(V,X,{get:()=>i[X],set:we=>i[X]=we})})}else e.exposed||(e.exposed={});ue&&e.render===En&&(e.render=ue),ht!=null&&(e.inheritAttrs=ht),Ot&&(e.components=Ot),Ut&&(e.directives=Ut)}function NA(e,n,i=En,a=!1){Oe(e)&&(e=lu(e));for(const s in e){const l=e[s];let c;ot(l)?"default"in l?c=Nn(l.from||s,l.default,!0):c=Nn(l.from||s):c=Nn(l),bt(c)&&a?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>c.value,set:f=>c.value=f}):n[s]=c}}function uh(e,n,i){On(Oe(e)?e.map(a=>a.bind(n.proxy)):e.bind(n.proxy),n,i)}function ug(e,n,i,a){const s=a.includes(".")?ig(i,a):()=>i[a];if(At(e)){const l=n[e];Te(l)&&Ar(s,l)}else if(Te(e))Ar(s,e.bind(i));else if(ot(e))if(Oe(e))e.forEach(l=>ug(l,n,i,a));else{const l=Te(e.handler)?e.handler.bind(i):n[e.handler];Te(l)&&Ar(s,l,e)}}function qu(e){const n=e.type,{mixins:i,extends:a}=n,{mixins:s,optionsCache:l,config:{optionMergeStrategies:c}}=e.appContext,f=l.get(n);let d;return f?d=f:!s.length&&!i&&!a?d=n:(d={},s.length&&s.forEach(v=>Jo(d,v,c,!0)),Jo(d,n,c)),ot(n)&&l.set(n,d),d}function Jo(e,n,i,a=!1){const{mixins:s,extends:l}=n;l&&Jo(e,l,i,!0),s&&s.forEach(c=>Jo(e,c,i,!0));for(const c in n)if(!(a&&c==="expose")){const f=LA[c]||i&&i[c];e[c]=f?f(e[c],n[c]):n[c]}return e}const LA={data:ch,props:Fr,emits:Fr,methods:Fr,computed:Fr,beforeCreate:$t,created:$t,beforeMount:$t,mounted:$t,beforeUpdate:$t,updated:$t,beforeDestroy:$t,beforeUnmount:$t,destroyed:$t,unmounted:$t,activated:$t,deactivated:$t,errorCaptured:$t,serverPrefetch:$t,components:Fr,directives:Fr,watch:BA,provide:ch,inject:DA};function ch(e,n){return n?e?function(){return Ft(Te(e)?e.call(this,this):e,Te(n)?n.call(this,this):n)}:n:e}function DA(e,n){return Fr(lu(e),lu(n))}function lu(e){if(Oe(e)){const n={};for(let i=0;i0)&&!(c&16)){if(c&8){const p=e.vnode.dynamicProps;for(let _=0;_{d=!0;const[A,R]=fg(_,n,!0);Ft(c,A),R&&f.push(...R)};!i&&n.mixins.length&&n.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!l&&!d)return ot(e)&&a.set(e,xi),xi;if(Oe(l))for(let p=0;p-1,R[1]=q<0||Y-1||Fe(R,"default"))&&f.push(_)}}}const v=[c,f];return ot(e)&&a.set(e,v),v}function fh(e){return e[0]!=="$"}function dh(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:e===null?"null":""}function hh(e,n){return dh(e)===dh(n)}function ph(e,n){return Oe(n)?n.findIndex(i=>hh(i,e)):Te(n)&&hh(n,e)?0:-1}const dg=e=>e[0]==="_"||e==="$stable",Xu=e=>Oe(e)?e.map(Tn):[Tn(e)],UA=(e,n,i)=>{if(n._n)return n;const a=xr((...s)=>Xu(n(...s)),i);return a._c=!1,a},hg=(e,n,i)=>{const a=e._ctx;for(const s in e){if(dg(s))continue;const l=e[s];if(Te(l))n[s]=UA(s,l,a);else if(l!=null){const c=Xu(l);n[s]=()=>c}}},pg=(e,n)=>{const i=Xu(n);e.slots.default=()=>i},GA=(e,n)=>{if(e.vnode.shapeFlag&32){const i=n._;i?(e.slots=Ge(n),Xo(n,"_",i)):hg(n,e.slots={})}else e.slots={},n&&pg(e,n);Xo(e.slots,_s,1)},HA=(e,n,i)=>{const{vnode:a,slots:s}=e;let l=!0,c=at;if(a.shapeFlag&32){const f=n._;f?i&&f===1?l=!1:(Ft(s,n),!i&&f===1&&delete s._):(l=!n.$stable,hg(n,s)),c=n}else n&&(pg(e,n),c={default:1});if(l)for(const f in s)!dg(f)&&!(f in c)&&delete s[f]};function gg(){return{app:null,config:{isNativeTag:gx,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 zA=0;function WA(e,n){return function(a,s=null){Te(a)||(a=Object.assign({},a)),s!=null&&!ot(s)&&(s=null);const l=gg(),c=new Set;let f=!1;const d=l.app={_uid:zA++,_component:a,_props:s,_container:null,_context:l,_instance:null,version:dE,get config(){return l.config},set config(v){},use(v,...p){return c.has(v)||(v&&Te(v.install)?(c.add(v),v.install(d,...p)):Te(v)&&(c.add(v),v(d,...p))),d},mixin(v){return l.mixins.includes(v)||l.mixins.push(v),d},component(v,p){return p?(l.components[v]=p,d):l.components[v]},directive(v,p){return p?(l.directives[v]=p,d):l.directives[v]},mount(v,p,_){if(!f){const A=de(a,s);return A.appContext=l,p&&n?n(A,v):e(A,v,_),f=!0,d._container=v,v.__vue_app__=d,Qu(A.component)||A.component.proxy}},unmount(){f&&(e(null,d._container),delete d._container.__vue_app__)},provide(v,p){return l.provides[v]=p,d}};return d}}function cu(e,n,i,a,s=!1){if(Oe(e)){e.forEach((A,R)=>cu(A,n&&(Oe(n)?n[R]:n),i,a,s));return}if(Yo(a)&&!s)return;const l=a.shapeFlag&4?Qu(a.component)||a.component.proxy:a.el,c=s?null:l,{i:f,r:d}=e,v=n&&n.r,p=f.refs===at?f.refs={}:f.refs,_=f.setupState;if(v!=null&&v!==d&&(At(v)?(p[v]=null,Fe(_,v)&&(_[v]=null)):bt(v)&&(v.value=null)),Te(d))wr(d,f,12,[c,p]);else{const A=At(d),R=bt(d);if(A||R){const Y=()=>{if(e.f){const q=A?Fe(_,d)?_[d]:p[d]:d.value;s?Oe(q)&&Du(q,l):Oe(q)?q.includes(l)||q.push(l):A?(p[d]=[l],Fe(_,d)&&(_[d]=p[d])):(d.value=[l],e.k&&(p[e.k]=d.value))}else A?(p[d]=c,Fe(_,d)&&(_[d]=c)):R&&(d.value=c,e.k&&(p[e.k]=c))};c?(Y.id=-1,Vt(Y,i)):Y()}}}const Vt=mA;function YA(e){return KA(e)}function KA(e,n){const i=wx();i.__VUE__=!0;const{insert:a,remove:s,patchProp:l,createElement:c,createText:f,createComment:d,setText:v,setElementText:p,parentNode:_,nextSibling:A,setScopeId:R=En,insertStaticContent:Y}=e,q=(b,x,S,M=null,U=null,k=null,Q=!1,H=null,F=!!x.dynamicChildren)=>{if(b===x)return;b&&!ra(b,x)&&(M=Z(b),Ke(b,U,k,!0),b=null),x.patchFlag===-2&&(F=!1,x.dynamicChildren=null);const{type:$,ref:oe,shapeFlag:ie}=x;switch($){case bs:ne(b,x,S,M);break;case jr:T(b,x,S,M);break;case Ko:b==null&&z(x,S,M,Q);break;case Mt:Ot(b,x,S,M,U,k,Q,H,F);break;default:ie&1?ue(b,x,S,M,U,k,Q,H,F):ie&6?Ut(b,x,S,M,U,k,Q,H,F):(ie&64||ie&128)&&$.process(b,x,S,M,U,k,Q,H,F,Re)}oe!=null&&U&&cu(oe,b&&b.ref,k,x||b,!x)},ne=(b,x,S,M)=>{if(b==null)a(x.el=f(x.children),S,M);else{const U=x.el=b.el;x.children!==b.children&&v(U,x.children)}},T=(b,x,S,M)=>{b==null?a(x.el=d(x.children||""),S,M):x.el=b.el},z=(b,x,S,M)=>{[b.el,b.anchor]=Y(b.children,x,S,M,b.el,b.anchor)},K=({el:b,anchor:x},S,M)=>{let U;for(;b&&b!==x;)U=A(b),a(b,S,M),b=U;a(x,S,M)},ae=({el:b,anchor:x})=>{let S;for(;b&&b!==x;)S=A(b),s(b),b=S;s(x)},ue=(b,x,S,M,U,k,Q,H,F)=>{Q=Q||x.type==="svg",b==null?Se(x,S,M,U,k,Q,H,F):Pe(b,x,U,k,Q,H,F)},Se=(b,x,S,M,U,k,Q,H)=>{let F,$;const{type:oe,props:ie,shapeFlag:me,transition:L,dirs:j}=b;if(F=b.el=c(b.type,k,ie&&ie.is,ie),me&8?p(F,b.children):me&16&&ye(b.children,F,null,M,U,k&&oe!=="foreignObject",Q,H),j&&Br(b,null,M,"created"),ie){for(const ce in ie)ce!=="value"&&!zo(ce)&&l(F,ce,null,ie[ce],k,b.children,M,U,J);"value"in ie&&l(F,"value",null,ie.value),($=ie.onVnodeBeforeMount)&&In($,M,b)}ge(F,b,b.scopeId,Q,M),j&&Br(b,null,M,"beforeMount");const re=(!U||U&&!U.pendingBranch)&&L&&!L.persisted;re&&L.beforeEnter(F),a(F,x,S),(($=ie&&ie.onVnodeMounted)||re||j)&&Vt(()=>{$&&In($,M,b),re&&L.enter(F),j&&Br(b,null,M,"mounted")},U)},ge=(b,x,S,M,U)=>{if(S&&R(b,S),M)for(let k=0;k{for(let $=F;${const H=x.el=b.el;let{patchFlag:F,dynamicChildren:$,dirs:oe}=x;F|=b.patchFlag&16;const ie=b.props||at,me=x.props||at;let L;S&&$r(S,!1),(L=me.onVnodeBeforeUpdate)&&In(L,S,x,b),oe&&Br(x,b,S,"beforeUpdate"),S&&$r(S,!0);const j=U&&x.type!=="foreignObject";if($?Qe(b.dynamicChildren,$,H,S,M,j,k):Q||X(b,x,H,null,S,M,j,k,!1),F>0){if(F&16)ht(H,x,ie,me,S,M,U);else if(F&2&&ie.class!==me.class&&l(H,"class",null,me.class,U),F&4&&l(H,"style",ie.style,me.style,U),F&8){const re=x.dynamicProps;for(let ce=0;ce{L&&In(L,S,x,b),oe&&Br(x,b,S,"updated")},M)},Qe=(b,x,S,M,U,k,Q)=>{for(let H=0;H{if(S!==M){if(S!==at)for(const H in S)!zo(H)&&!(H in M)&&l(b,H,S[H],null,Q,x.children,U,k,J);for(const H in M){if(zo(H))continue;const F=M[H],$=S[H];F!==$&&H!=="value"&&l(b,H,$,F,Q,x.children,U,k,J)}"value"in M&&l(b,"value",S.value,M.value)}},Ot=(b,x,S,M,U,k,Q,H,F)=>{const $=x.el=b?b.el:f(""),oe=x.anchor=b?b.anchor:f("");let{patchFlag:ie,dynamicChildren:me,slotScopeIds:L}=x;L&&(H=H?H.concat(L):L),b==null?(a($,S,M),a(oe,S,M),ye(x.children,S,oe,U,k,Q,H,F)):ie>0&&ie&64&&me&&b.dynamicChildren?(Qe(b.dynamicChildren,me,S,U,k,Q,H),(x.key!=null||U&&x===U.subTree)&&mg(b,x,!0)):X(b,x,S,oe,U,k,Q,H,F)},Ut=(b,x,S,M,U,k,Q,H,F)=>{x.slotScopeIds=H,b==null?x.shapeFlag&512?U.ctx.activate(x,S,M,Q,F):st(x,S,M,U,k,Q,F):Je(b,x,F)},st=(b,x,S,M,U,k,Q)=>{const H=b.component=nE(b,M,U);if(ag(b)&&(H.ctx.renderer=Re),iE(H),H.asyncDep){if(U&&U.registerDep(H,G),!b.el){const F=H.subTree=de(jr);T(null,F,x,S)}return}G(H,b,x,S,U,k,Q)},Je=(b,x,S)=>{const M=x.component=b.component;if(hA(b,x,S))if(M.asyncDep&&!M.asyncResolved){V(M,x,S);return}else M.next=x,sA(M.update),M.update();else x.el=b.el,M.vnode=x},G=(b,x,S,M,U,k,Q)=>{const H=()=>{if(b.isMounted){let{next:oe,bu:ie,u:me,parent:L,vnode:j}=b,re=oe,ce;$r(b,!1),oe?(oe.el=j.el,V(b,oe,Q)):oe=j,ie&&Gl(ie),(ce=oe.props&&oe.props.onVnodeBeforeUpdate)&&In(ce,L,oe,j),$r(b,!0);const Ce=Hl(b),et=b.subTree;b.subTree=Ce,q(et,Ce,_(et.el),Z(et),b,U,k),oe.el=Ce.el,re===null&&pA(b,Ce.el),me&&Vt(me,U),(ce=oe.props&&oe.props.onVnodeUpdated)&&Vt(()=>In(ce,L,oe,j),U)}else{let oe;const{el:ie,props:me}=x,{bm:L,m:j,parent:re}=b,ce=Yo(x);if($r(b,!1),L&&Gl(L),!ce&&(oe=me&&me.onVnodeBeforeMount)&&In(oe,re,x),$r(b,!0),ie&&xe){const Ce=()=>{b.subTree=Hl(b),xe(ie,b.subTree,b,U,null)};ce?x.type.__asyncLoader().then(()=>!b.isUnmounted&&Ce()):Ce()}else{const Ce=b.subTree=Hl(b);q(null,Ce,S,M,b,U,k),x.el=Ce.el}if(j&&Vt(j,U),!ce&&(oe=me&&me.onVnodeMounted)){const Ce=x;Vt(()=>In(oe,re,Ce),U)}(x.shapeFlag&256||re&&Yo(re.vnode)&&re.vnode.shapeFlag&256)&&b.a&&Vt(b.a,U),b.isMounted=!0,x=S=M=null}},F=b.effect=new Uu(H,()=>ju($),b.scope),$=b.update=()=>F.run();$.id=b.uid,$r(b,!0),$()},V=(b,x,S)=>{x.component=b;const M=b.vnode.props;b.vnode=x,b.next=null,FA(b,x.props,M,S),HA(b,x.children,S),Di(),oh(),Bi()},X=(b,x,S,M,U,k,Q,H,F=!1)=>{const $=b&&b.children,oe=b?b.shapeFlag:0,ie=x.children,{patchFlag:me,shapeFlag:L}=x;if(me>0){if(me&128){Le($,ie,S,M,U,k,Q,H,F);return}else if(me&256){we($,ie,S,M,U,k,Q,H,F);return}}L&8?(oe&16&&J($,U,k),ie!==$&&p(S,ie)):oe&16?L&16?Le($,ie,S,M,U,k,Q,H,F):J($,U,k,!0):(oe&8&&p(S,""),L&16&&ye(ie,S,M,U,k,Q,H,F))},we=(b,x,S,M,U,k,Q,H,F)=>{b=b||xi,x=x||xi;const $=b.length,oe=x.length,ie=Math.min($,oe);let me;for(me=0;meoe?J(b,U,k,!0,!1,ie):ye(x,S,M,U,k,Q,H,F,ie)},Le=(b,x,S,M,U,k,Q,H,F)=>{let $=0;const oe=x.length;let ie=b.length-1,me=oe-1;for(;$<=ie&&$<=me;){const L=b[$],j=x[$]=F?gr(x[$]):Tn(x[$]);if(ra(L,j))q(L,j,S,null,U,k,Q,H,F);else break;$++}for(;$<=ie&&$<=me;){const L=b[ie],j=x[me]=F?gr(x[me]):Tn(x[me]);if(ra(L,j))q(L,j,S,null,U,k,Q,H,F);else break;ie--,me--}if($>ie){if($<=me){const L=me+1,j=Lme)for(;$<=ie;)Ke(b[$],U,k,!0),$++;else{const L=$,j=$,re=new Map;for($=j;$<=me;$++){const Ct=x[$]=F?gr(x[$]):Tn(x[$]);Ct.key!=null&&re.set(Ct.key,$)}let ce,Ce=0;const et=me-j+1;let an=!1,tr=0;const Bn=new Array(et);for($=0;$=et){Ke(Ct,U,k,!0);continue}let Gt;if(Ct.key!=null)Gt=re.get(Ct.key);else for(ce=j;ce<=me;ce++)if(Bn[ce-j]===0&&ra(Ct,x[ce])){Gt=ce;break}Gt===void 0?Ke(Ct,U,k,!0):(Bn[Gt-j]=$+1,Gt>=tr?tr=Gt:an=!0,q(Ct,x[Gt],S,null,U,k,Q,H,F),Ce++)}const Qr=an?VA(Bn):xi;for(ce=Qr.length-1,$=et-1;$>=0;$--){const Ct=j+$,Gt=x[Ct],Jr=Ct+1{const{el:k,type:Q,transition:H,children:F,shapeFlag:$}=b;if($&6){Ne(b.component.subTree,x,S,M);return}if($&128){b.suspense.move(x,S,M);return}if($&64){Q.move(b,x,S,Re);return}if(Q===Mt){a(k,x,S);for(let ie=0;ieH.enter(k),U);else{const{leave:ie,delayLeave:me,afterLeave:L}=H,j=()=>a(k,x,S),re=()=>{ie(k,()=>{j(),L&&L()})};me?me(k,j,re):re()}else a(k,x,S)},Ke=(b,x,S,M=!1,U=!1)=>{const{type:k,props:Q,ref:H,children:F,dynamicChildren:$,shapeFlag:oe,patchFlag:ie,dirs:me}=b;if(H!=null&&cu(H,null,S,b,!0),oe&256){x.ctx.deactivate(b);return}const L=oe&1&&me,j=!Yo(b);let re;if(j&&(re=Q&&Q.onVnodeBeforeUnmount)&&In(re,x,b),oe&6)N(b.component,S,M);else{if(oe&128){b.suspense.unmount(S,M);return}L&&Br(b,null,x,"beforeUnmount"),oe&64?b.type.remove(b,x,S,U,Re,M):$&&(k!==Mt||ie>0&&ie&64)?J($,x,S,!1,!0):(k===Mt&&ie&384||!U&&oe&16)&&J(F,x,S),M&&jt(b)}(j&&(re=Q&&Q.onVnodeUnmounted)||L)&&Vt(()=>{re&&In(re,x,b),L&&Br(b,null,x,"unmounted")},S)},jt=b=>{const{type:x,el:S,anchor:M,transition:U}=b;if(x===Mt){_t(S,M);return}if(x===Ko){ae(b);return}const k=()=>{s(S),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(b.shapeFlag&1&&U&&!U.persisted){const{leave:Q,delayLeave:H}=U,F=()=>Q(S,k);H?H(b.el,k,F):F()}else k()},_t=(b,x)=>{let S;for(;b!==x;)S=A(b),s(b),b=S;s(x)},N=(b,x,S)=>{const{bum:M,scope:U,update:k,subTree:Q,um:H}=b;M&&Gl(M),U.stop(),k&&(k.active=!1,Ke(Q,b,x,S)),H&&Vt(H,x),Vt(()=>{b.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},J=(b,x,S,M=!1,U=!1,k=0)=>{for(let Q=k;Qb.shapeFlag&6?Z(b.component.subTree):b.shapeFlag&128?b.suspense.next():A(b.anchor||b.el),fe=(b,x,S)=>{b==null?x._vnode&&Ke(x._vnode,null,null,!0):q(x._vnode||null,b,x,null,null,null,S),oh(),Qp(),x._vnode=b},Re={p:q,um:Ke,m:Ne,r:jt,mt:st,mc:ye,pc:X,pbc:Qe,n:Z,o:e};let je,xe;return n&&([je,xe]=n(Re)),{render:fe,hydrate:je,createApp:WA(fe,je)}}function $r({effect:e,update:n},i){e.allowRecurse=n.allowRecurse=i}function mg(e,n,i=!1){const a=e.children,s=n.children;if(Oe(a)&&Oe(s))for(let l=0;l>1,e[i[f]]0&&(n[a]=i[l-1]),i[l]=a)}}for(l=i.length,c=i[l-1];l-- >0;)i[l]=c,c=n[c];return i}const jA=e=>e.__isTeleport,Mt=Symbol(void 0),bs=Symbol(void 0),jr=Symbol(void 0),Ko=Symbol(void 0),ca=[];let xn=null;function Xe(e=!1){ca.push(xn=e?null:[])}function qA(){ca.pop(),xn=ca[ca.length-1]||null}let Aa=1;function gh(e){Aa+=e}function vg(e){return e.dynamicChildren=Aa>0?xn||xi:null,qA(),Aa>0&&xn&&xn.push(e),e}function ft(e,n,i,a,s,l){return vg(I(e,n,i,a,s,l,!0))}function fa(e,n,i,a,s){return vg(de(e,n,i,a,s,!0))}function fu(e){return e?e.__v_isVNode===!0:!1}function ra(e,n){return e.type===n.type&&e.key===n.key}const _s="__vInternal",bg=({key:e})=>e??null,Vo=({ref:e,ref_key:n,ref_for:i})=>e!=null?At(e)||bt(e)||Te(e)?{i:gn,r:e,k:n,f:!!i}:e:null;function I(e,n=null,i=null,a=0,s=null,l=e===Mt?0:1,c=!1,f=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&bg(n),ref:n&&Vo(n),scopeId:ms,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gn};return f?(Zu(d,i),l&128&&e.normalize(d)):i&&(d.shapeFlag|=At(i)?8:16),Aa>0&&!c&&xn&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&xn.push(d),d}const de=XA;function XA(e,n=null,i=null,a=0,s=null,l=!1){if((!e||e===kA)&&(e=jr),fu(e)){const f=ki(e,n,!0);return i&&Zu(f,i),Aa>0&&!l&&xn&&(f.shapeFlag&6?xn[xn.indexOf(e)]=f:xn.push(f)),f.patchFlag|=-2,f}if(uE(e)&&(e=e.__vccOpts),n){n=ZA(n);let{class:f,style:d}=n;f&&!At(f)&&(n.class=ba(f)),ot(d)&&(Wp(d)&&!Oe(d)&&(d=Ft({},d)),n.style=Nu(d))}const c=At(e)?1:gA(e)?128:jA(e)?64:ot(e)?4:Te(e)?2:0;return I(e,n,i,a,s,c,l,!0)}function ZA(e){return e?Wp(e)||_s in e?Ft({},e):e:null}function ki(e,n,i=!1){const{props:a,ref:s,patchFlag:l,children:c}=e,f=n?JA(a||{},n):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&bg(f),ref:n&&n.ref?i&&s?Oe(s)?s.concat(Vo(n)):[s,Vo(n)]:Vo(n):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Mt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ki(e.ssContent),ssFallback:e.ssFallback&&ki(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Ve(e=" ",n=0){return de(bs,null,e,n)}function QA(e,n){const i=de(Ko,null,e);return i.staticCount=n,i}function pr(e="",n=!1){return n?(Xe(),fa(jr,null,e)):de(jr,null,e)}function Tn(e){return e==null||typeof e=="boolean"?de(jr):Oe(e)?de(Mt,null,e.slice()):typeof e=="object"?gr(e):de(bs,null,String(e))}function gr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ki(e)}function Zu(e,n){let i=0;const{shapeFlag:a}=e;if(n==null)n=null;else if(Oe(n))i=16;else if(typeof n=="object")if(a&65){const s=n.default;s&&(s._c&&(s._d=!1),Zu(e,s()),s._c&&(s._d=!0));return}else{i=32;const s=n._;!s&&!(_s in n)?n._ctx=gn:s===3&&gn&&(gn.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Te(n)?(n={default:n,_ctx:gn},i=32):(n=String(n),a&64?(i=16,n=[Ve(n)]):i=8);e.children=n,e.shapeFlag|=i}function JA(...e){const n={};for(let i=0;iRt||gn,Ii=e=>{Rt=e,e.scope.on()},Yr=()=>{Rt&&Rt.scope.off(),Rt=null};function _g(e){return e.vnode.shapeFlag&4}let Ea=!1;function iE(e,n=!1){Ea=n;const{props:i,children:a}=e.vnode,s=_g(e);$A(e,i,s,n),GA(e,a);const l=s?aE(e,n):void 0;return Ea=!1,l}function aE(e,n){const i=e.type;e.accessCache=Object.create(null),e.proxy=Ci(new Proxy(e.ctx,PA));const{setup:a}=i;if(a){const s=e.setupContext=a.length>1?sE(e):null;Ii(e),Di();const l=wr(a,e,0,[e.props,s]);if(Bi(),Yr(),Rp(l)){if(l.then(Yr,Yr),n)return l.then(c=>{mh(e,c,n)}).catch(c=>{ps(c,e,0)});e.asyncDep=l}else mh(e,l,n)}else yg(e,n)}function mh(e,n,i){Te(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:ot(n)&&(e.setupState=jp(n)),yg(e,i)}let vh;function yg(e,n,i){const a=e.type;if(!e.render){if(!n&&vh&&!a.render){const s=a.template||qu(e).template;if(s){const{isCustomElement:l,compilerOptions:c}=e.appContext.config,{delimiters:f,compilerOptions:d}=a,v=Ft(Ft({isCustomElement:l,delimiters:f},c),d);a.render=vh(s,v)}}e.render=a.render||En}Ii(e),Di(),MA(e),Bi(),Yr()}function oE(e){return new Proxy(e.attrs,{get(n,i){return nn(e,"get","$attrs"),n[i]}})}function sE(e){const n=a=>{e.exposed=a||{}};let i;return{get attrs(){return i||(i=oE(e))},slots:e.slots,emit:e.emit,expose:n}}function Qu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jp(Ci(e.exposed)),{get(n,i){if(i in n)return n[i];if(i in ua)return ua[i](e)},has(n,i){return i in n||i in ua}}))}function lE(e,n=!0){return Te(e)?e.displayName||e.name:e.name||n&&e.__name}function uE(e){return Te(e)&&"__vccOpts"in e}const Ye=(e,n)=>iA(e,n,Ea);function Ti(e,n,i){const a=arguments.length;return a===2?ot(n)&&!Oe(n)?fu(n)?de(e,null,[n]):de(e,n):de(e,null,n):(a>3?i=Array.prototype.slice.call(arguments,2):a===3&&fu(i)&&(i=[i]),de(e,n,i))}const cE=Symbol(""),fE=()=>Nn(cE),dE="3.2.45",hE="http://www.w3.org/2000/svg",Gr=typeof document<"u"?document:null,bh=Gr&&Gr.createElement("template"),pE={insert:(e,n,i)=>{n.insertBefore(e,i||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,i,a)=>{const s=n?Gr.createElementNS(hE,e):Gr.createElement(e,i?{is:i}:void 0);return e==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:e=>Gr.createTextNode(e),createComment:e=>Gr.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gr.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,i,a,s,l){const c=i?i.previousSibling:n.lastChild;if(s&&(s===l||s.nextSibling))for(;n.insertBefore(s.cloneNode(!0),i),!(s===l||!(s=s.nextSibling)););else{bh.innerHTML=a?`${e}`:e;const f=bh.content;if(a){const d=f.firstChild;for(;d.firstChild;)f.appendChild(d.firstChild);f.removeChild(d)}n.insertBefore(f,i)}return[c?c.nextSibling:n.firstChild,i?i.previousSibling:n.lastChild]}};function gE(e,n,i){const a=e._vtc;a&&(n=(n?[n,...a]:[...a]).join(" ")),n==null?e.removeAttribute("class"):i?e.setAttribute("class",n):e.className=n}function mE(e,n,i){const a=e.style,s=At(i);if(i&&!s){for(const l in i)du(a,l,i[l]);if(n&&!At(n))for(const l in n)i[l]==null&&du(a,l,"")}else{const l=a.display;s?n!==i&&(a.cssText=i):n&&e.removeAttribute("style"),"_vod"in e&&(a.display=l)}}const _h=/\s*!important$/;function du(e,n,i){if(Oe(i))i.forEach(a=>du(e,n,a));else if(i==null&&(i=""),n.startsWith("--"))e.setProperty(n,i);else{const a=vE(e,n);_h.test(i)?e.setProperty(Li(a),i.replace(_h,""),"important"):e[a]=i}}const yh=["Webkit","Moz","ms"],Wl={};function vE(e,n){const i=Wl[n];if(i)return i;let a=Dn(n);if(a!=="filter"&&a in e)return Wl[n]=a;a=ds(a);for(let s=0;sYl||(EE.then(()=>Yl=0),Yl=Date.now());function SE(e,n){const i=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=i.attached)return;On(RE(a,i.value),n,5,[a])};return i.value=e,i.attached=OE(),i}function RE(e,n){if(Oe(n)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},n.map(a=>s=>!s._stopped&&a&&a(s))}else return n}const Ah=/^on[a-z]/,CE=(e,n,i,a,s=!1,l,c,f,d)=>{n==="class"?gE(e,a,s):n==="style"?mE(e,i,a):us(n)?Lu(n)||xE(e,n,i,a,c):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):kE(e,n,a,s))?_E(e,n,a,l,c,f,d):(n==="true-value"?e._trueValue=a:n==="false-value"&&(e._falseValue=a),bE(e,n,a,s))};function kE(e,n,i,a){return a?!!(n==="innerHTML"||n==="textContent"||n in e&&Ah.test(n)&&Te(i)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||Ah.test(n)&&At(i)?!1:n in e}const IE=Ft({patchProp:CE},pE);let Eh;function TE(){return Eh||(Eh=YA(IE))}const PE=(...e)=>{const n=TE().createApp(...e),{mount:i}=n;return n.mount=a=>{const s=ME(a);if(!s)return;const l=n._component;!Te(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.innerHTML="";const c=i(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},n};function ME(e){return At(e)?document.querySelector(e):e}var NE=!1;/*! +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function i(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerpolicy&&(l.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?l.credentials="include":s.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=i(s);fetch(s.href,l)}})();function Mu(e,n){const i=Object.create(null),a=e.split(",");for(let s=0;s!!i[s.toLowerCase()]:s=>!!i[s]}function Nu(e){if(Oe(e)){const n={};for(let i=0;i{if(i){const a=i.split(cx);a.length>1&&(n[a[0].trim()]=a[1].trim())}}),n}function ba(e){let n="";if(At(e))n=e;else if(Oe(e))for(let i=0;iAt(e)?e:e==null?"":Oe(e)||ot(e)&&(e.toString===Cp||!Te(e.toString))?JSON.stringify(e,Op,2):String(e),Op=(e,n)=>n&&n.__v_isRef?Op(e,n.value):Ai(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((i,[a,s])=>(i[`${a} =>`]=s,i),{})}:Sp(n)?{[`Set(${n.size})`]:[...n.values()]}:ot(n)&&!Oe(n)&&!kp(n)?String(n):n,at={},xi=[],En=()=>{},gx=()=>!1,mx=/^on[^a-z]/,us=e=>mx.test(e),Lu=e=>e.startsWith("onUpdate:"),Ft=Object.assign,Du=(e,n)=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)},vx=Object.prototype.hasOwnProperty,Fe=(e,n)=>vx.call(e,n),Oe=Array.isArray,Ai=e=>cs(e)==="[object Map]",Sp=e=>cs(e)==="[object Set]",Te=e=>typeof e=="function",At=e=>typeof e=="string",Bu=e=>typeof e=="symbol",ot=e=>e!==null&&typeof e=="object",Rp=e=>ot(e)&&Te(e.then)&&Te(e.catch),Cp=Object.prototype.toString,cs=e=>Cp.call(e),bx=e=>cs(e).slice(8,-1),kp=e=>cs(e)==="[object Object]",$u=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zo=Mu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const n=Object.create(null);return i=>n[i]||(n[i]=e(i))},_x=/-(\w)/g,Dn=fs(e=>e.replace(_x,(n,i)=>i?i.toUpperCase():"")),yx=/\B([A-Z])/g,Li=fs(e=>e.replace(yx,"-$1").toLowerCase()),ds=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ul=fs(e=>e?`on${ds(e)}`:""),_a=(e,n)=>!Object.is(e,n),Gl=(e,n)=>{for(let i=0;i{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:i})},Ip=e=>{const n=parseFloat(e);return isNaN(n)?e:n};let Qd;const wx=()=>Qd||(Qd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let tn;class Tp{constructor(n=!1){this.detached=n,this.active=!0,this.effects=[],this.cleanups=[],this.parent=tn,!n&&tn&&(this.index=(tn.scopes||(tn.scopes=[])).push(this)-1)}run(n){if(this.active){const i=tn;try{return tn=this,n()}finally{tn=i}}}on(){tn=this}off(){tn=this.parent}stop(n){if(this.active){let i,a;for(i=0,a=this.effects.length;i{const n=new Set(e);return n.w=0,n.n=0,n},Mp=e=>(e.w&Or)>0,Np=e=>(e.n&Or)>0,Ox=({deps:e})=>{if(e.length)for(let n=0;n{const{deps:n}=e;if(n.length){let i=0;for(let a=0;a{(p==="length"||p>=d)&&f.push(v)})}else switch(i!==void 0&&f.push(c.get(i)),n){case"add":Oe(e)?$u(i)&&f.push(c.get("length")):(f.push(c.get(Yr)),Ai(e)&&f.push(c.get(ru)));break;case"delete":Oe(e)||(f.push(c.get(Yr)),Ai(e)&&f.push(c.get(ru)));break;case"set":Ai(e)&&f.push(c.get(Yr));break}if(f.length===1)f[0]&&iu(f[0]);else{const d=[];for(const v of f)v&&d.push(...v);iu(Fu(d))}}function iu(e,n){const i=Oe(e)?e:[...e];for(const a of i)a.computed&&eh(a);for(const a of i)a.computed||eh(a)}function eh(e,n){(e!==yn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Rx=Mu("__proto__,__v_isRef,__isVue"),Bp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bu)),Cx=Gu(),kx=Gu(!1,!0),Ix=Gu(!0),th=Tx();function Tx(){const e={};return["includes","indexOf","lastIndexOf"].forEach(n=>{e[n]=function(...i){const a=Ge(this);for(let l=0,c=this.length;l{e[n]=function(...i){Di();const a=Ge(this)[n].apply(this,i);return Bi(),a}}),e}function Gu(e=!1,n=!1){return function(a,s,l){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return n;if(s==="__v_raw"&&l===(e?n?Kx:Hp:n?Gp:Up).get(a))return a;const c=Oe(a);if(!e&&c&&Fe(th,s))return Reflect.get(th,s,l);const f=Reflect.get(a,s,l);return(Bu(s)?Bp.has(s):Rx(s))||(e||nn(a,"get",s),n)?f:bt(f)?c&&$u(s)?f:f.value:ot(f)?e?zp(f):$i(f):f}}const Px=$p(),Mx=$p(!0);function $p(e=!1){return function(i,a,s,l){let c=i[a];if(Ri(c)&&bt(c)&&!bt(s))return!1;if(!e&&(!Zo(s)&&!Ri(s)&&(c=Ge(c),s=Ge(s)),!Oe(i)&&bt(c)&&!bt(s)))return c.value=s,!0;const f=Oe(i)&&$u(a)?Number(a)e,hs=e=>Reflect.getPrototypeOf(e);function So(e,n,i=!1,a=!1){e=e.__v_raw;const s=Ge(e),l=Ge(n);i||(n!==l&&nn(s,"get",n),nn(s,"get",l));const{has:c}=hs(s),f=a?Hu:i?Yu:ya;if(c.call(s,n))return f(e.get(n));if(c.call(s,l))return f(e.get(l));e!==s&&e.get(n)}function Ro(e,n=!1){const i=this.__v_raw,a=Ge(i),s=Ge(e);return n||(e!==s&&nn(a,"has",e),nn(a,"has",s)),e===s?i.has(e):i.has(e)||i.has(s)}function Co(e,n=!1){return e=e.__v_raw,!n&&nn(Ge(e),"iterate",Yr),Reflect.get(e,"size",e)}function nh(e){e=Ge(e);const n=Ge(this);return hs(n).has.call(n,e)||(n.add(e),qn(n,"add",e,e)),this}function rh(e,n){n=Ge(n);const i=Ge(this),{has:a,get:s}=hs(i);let l=a.call(i,e);l||(e=Ge(e),l=a.call(i,e));const c=s.call(i,e);return i.set(e,n),l?_a(n,c)&&qn(i,"set",e,n):qn(i,"add",e,n),this}function ih(e){const n=Ge(this),{has:i,get:a}=hs(n);let s=i.call(n,e);s||(e=Ge(e),s=i.call(n,e)),a&&a.call(n,e);const l=n.delete(e);return s&&qn(n,"delete",e,void 0),l}function ah(){const e=Ge(this),n=e.size!==0,i=e.clear();return n&&qn(e,"clear",void 0,void 0),i}function ko(e,n){return function(a,s){const l=this,c=l.__v_raw,f=Ge(c),d=n?Hu:e?Yu:ya;return!e&&nn(f,"iterate",Yr),c.forEach((v,p)=>a.call(s,d(v),d(p),l))}}function Io(e,n,i){return function(...a){const s=this.__v_raw,l=Ge(s),c=Ai(l),f=e==="entries"||e===Symbol.iterator&&c,d=e==="keys"&&c,v=s[e](...a),p=i?Hu:n?Yu:ya;return!n&&nn(l,"iterate",d?ru:Yr),{next(){const{value:_,done:A}=v.next();return A?{value:_,done:A}:{value:f?[p(_[0]),p(_[1])]:p(_),done:A}},[Symbol.iterator](){return this}}}}function fr(e){return function(...n){return e==="delete"?!1:this}}function Fx(){const e={get(l){return So(this,l)},get size(){return Co(this)},has:Ro,add:nh,set:rh,delete:ih,clear:ah,forEach:ko(!1,!1)},n={get(l){return So(this,l,!1,!0)},get size(){return Co(this)},has:Ro,add:nh,set:rh,delete:ih,clear:ah,forEach:ko(!1,!0)},i={get(l){return So(this,l,!0)},get size(){return Co(this,!0)},has(l){return Ro.call(this,l,!0)},add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear"),forEach:ko(!0,!1)},a={get(l){return So(this,l,!0,!0)},get size(){return Co(this,!0)},has(l){return Ro.call(this,l,!0)},add:fr("add"),set:fr("set"),delete:fr("delete"),clear:fr("clear"),forEach:ko(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Io(l,!1,!1),i[l]=Io(l,!0,!1),n[l]=Io(l,!1,!0),a[l]=Io(l,!0,!0)}),[e,i,n,a]}const[Ux,Gx,Hx,zx]=Fx();function zu(e,n){const i=n?e?zx:Hx:e?Gx:Ux;return(a,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?a:Reflect.get(Fe(i,s)&&s in a?i:a,s,l)}const Wx={get:zu(!1,!1)},Yx={get:zu(!1,!0)},Vx={get:zu(!0,!1)},Up=new WeakMap,Gp=new WeakMap,Hp=new WeakMap,Kx=new WeakMap;function jx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qx(e){return e.__v_skip||!Object.isExtensible(e)?0:jx(bx(e))}function $i(e){return Ri(e)?e:Wu(e,!1,Fp,Wx,Up)}function Xx(e){return Wu(e,!1,$x,Yx,Gp)}function zp(e){return Wu(e,!0,Bx,Vx,Hp)}function Wu(e,n,i,a,s){if(!ot(e)||e.__v_raw&&!(n&&e.__v_isReactive))return e;const l=s.get(e);if(l)return l;const c=qx(e);if(c===0)return e;const f=new Proxy(e,c===2?a:i);return s.set(e,f),f}function yr(e){return Ri(e)?yr(e.__v_raw):!!(e&&e.__v_isReactive)}function Ri(e){return!!(e&&e.__v_isReadonly)}function Zo(e){return!!(e&&e.__v_isShallow)}function Wp(e){return yr(e)||Ri(e)}function Ge(e){const n=e&&e.__v_raw;return n?Ge(n):e}function Ci(e){return Xo(e,"__v_skip",!0),e}const ya=e=>ot(e)?$i(e):e,Yu=e=>ot(e)?zp(e):e;function Yp(e){_r&&yn&&(e=Ge(e),Dp(e.dep||(e.dep=Fu())))}function Vp(e,n){e=Ge(e),e.dep&&iu(e.dep)}function bt(e){return!!(e&&e.__v_isRef===!0)}function mt(e){return Kp(e,!1)}function Zx(e){return Kp(e,!0)}function Kp(e,n){return bt(e)?e:new Qx(e,n)}class Qx{constructor(n,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?n:Ge(n),this._value=i?n:ya(n)}get value(){return Yp(this),this._value}set value(n){const i=this.__v_isShallow||Zo(n)||Ri(n);n=i?n:Ge(n),_a(n,this._rawValue)&&(this._rawValue=n,this._value=i?n:ya(n),Vp(this))}}function Z(e){return bt(e)?e.value:e}const Jx={get:(e,n,i)=>Z(Reflect.get(e,n,i)),set:(e,n,i,a)=>{const s=e[n];return bt(s)&&!bt(i)?(s.value=i,!0):Reflect.set(e,n,i,a)}};function jp(e){return yr(e)?e:new Proxy(e,Jx)}function eA(e){const n=Oe(e)?new Array(e.length):{};for(const i in e)n[i]=nA(e,i);return n}class tA{constructor(n,i,a){this._object=n,this._key=i,this._defaultValue=a,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}}function nA(e,n,i){const a=e[n];return bt(a)?a:new tA(e,n,i)}var qp;class rA{constructor(n,i,a,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[qp]=!1,this._dirty=!0,this.effect=new Uu(n,()=>{this._dirty||(this._dirty=!0,Vp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=a}get value(){const n=Ge(this);return Yp(n),(n._dirty||!n._cacheable)&&(n._dirty=!1,n._value=n.effect.run()),n._value}set value(n){this._setter(n)}}qp="__v_isReadonly";function iA(e,n,i=!1){let a,s;const l=Te(e);return l?(a=e,s=En):(a=e.get,s=e.set),new rA(a,s,l||!s,i)}function wr(e,n,i,a){let s;try{s=a?e(...a):e()}catch(l){ps(l,n,i)}return s}function On(e,n,i,a){if(Te(e)){const l=wr(e,n,i,a);return l&&Rp(l)&&l.catch(c=>{ps(c,n,i)}),l}const s=[];for(let l=0;l>>1;xa(Nt[a])Pn&&Nt.splice(n,1)}function lA(e){Oe(e)?Ei.push(...e):(!jn||!jn.includes(e,e.allowRecurse?Gr+1:Gr))&&Ei.push(e),Zp()}function oh(e,n=wa?Pn+1:0){for(;nxa(i)-xa(a)),Gr=0;Gre.id==null?1/0:e.id,uA=(e,n)=>{const i=xa(e)-xa(n);if(i===0){if(e.pre&&!n.pre)return-1;if(n.pre&&!e.pre)return 1}return i};function Jp(e){au=!1,wa=!0,Nt.sort(uA);const n=En;try{for(Pn=0;PnAt(R)?R.trim():R)),_&&(s=i.map(Ip))}let f,d=a[f=Ul(n)]||a[f=Ul(Dn(n))];!d&&l&&(d=a[f=Ul(Li(n))]),d&&On(d,e,6,s);const v=a[f+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,On(v,e,6,s)}}function eg(e,n,i=!1){const a=n.emitsCache,s=a.get(e);if(s!==void 0)return s;const l=e.emits;let c={},f=!1;if(!Te(e)){const d=v=>{const p=eg(v,n,!0);p&&(f=!0,Ft(c,p))};!i&&n.mixins.length&&n.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!l&&!f?(ot(e)&&a.set(e,null),null):(Oe(l)?l.forEach(d=>c[d]=null):Ft(c,l),ot(e)&&a.set(e,c),c)}function gs(e,n){return!e||!us(n)?!1:(n=n.slice(2).replace(/Once$/,""),Fe(e,n[0].toLowerCase()+n.slice(1))||Fe(e,Li(n))||Fe(e,n))}let gn=null,ms=null;function Qo(e){const n=gn;return gn=e,ms=e&&e.type.__scopeId||null,n}function tg(e){ms=e}function ng(){ms=null}function xr(e,n=gn,i){if(!n||e._n)return e;const a=(...s)=>{a._d&&gh(-1);const l=Qo(n);let c;try{c=e(...s)}finally{Qo(l),a._d&&gh(1)}return c};return a._n=!0,a._c=!0,a._d=!0,a}function Hl(e){const{type:n,vnode:i,proxy:a,withProxy:s,props:l,propsOptions:[c],slots:f,attrs:d,emit:v,render:p,renderCache:_,data:A,setupState:R,ctx:Y,inheritAttrs:q}=e;let ne,T;const z=Qo(e);try{if(i.shapeFlag&4){const ae=s||a;ne=Tn(p.call(ae,ae,_,l,R,A,Y)),T=d}else{const ae=n;ne=Tn(ae.length>1?ae(l,{attrs:d,slots:f,emit:v}):ae(l,null)),T=n.props?d:fA(d)}}catch(ae){ca.length=0,ps(ae,e,1),ne=fe(jr)}let V=ne;if(T&&q!==!1){const ae=Object.keys(T),{shapeFlag:ue}=V;ae.length&&ue&7&&(c&&ae.some(Lu)&&(T=dA(T,c)),V=ki(V,T))}return i.dirs&&(V=ki(V),V.dirs=V.dirs?V.dirs.concat(i.dirs):i.dirs),i.transition&&(V.transition=i.transition),ne=V,Qo(z),ne}const fA=e=>{let n;for(const i in e)(i==="class"||i==="style"||us(i))&&((n||(n={}))[i]=e[i]);return n},dA=(e,n)=>{const i={};for(const a in e)(!Lu(a)||!(a.slice(9)in n))&&(i[a]=e[a]);return i};function hA(e,n,i){const{props:a,children:s,component:l}=e,{props:c,children:f,patchFlag:d}=n,v=l.emitsOptions;if(n.dirs||n.transition)return!0;if(i&&d>=0){if(d&1024)return!0;if(d&16)return a?sh(a,c,v):!!c;if(d&8){const p=n.dynamicProps;for(let _=0;_e.__isSuspense;function mA(e,n){n&&n.pendingBranch?Oe(e)?n.effects.push(...e):n.effects.push(e):lA(e)}function Wo(e,n){if(Rt){let i=Rt.provides;const a=Rt.parent&&Rt.parent.provides;a===i&&(i=Rt.provides=Object.create(a)),i[e]=n}}function Nn(e,n,i=!1){const a=Rt||gn;if(a){const s=a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return i&&Te(n)?n.call(a.proxy):n}}const To={};function Ar(e,n,i){return rg(e,n,i)}function rg(e,n,{immediate:i,deep:a,flush:s,onTrack:l,onTrigger:c}=at){const f=Rt;let d,v=!1,p=!1;if(bt(e)?(d=()=>e.value,v=Zo(e)):yr(e)?(d=()=>e,a=!0):Oe(e)?(p=!0,v=e.some(V=>yr(V)||Zo(V)),d=()=>e.map(V=>{if(bt(V))return V.value;if(yr(V))return _i(V);if(Te(V))return wr(V,f,2)})):Te(e)?n?d=()=>wr(e,f,2):d=()=>{if(!(f&&f.isUnmounted))return _&&_(),On(e,f,3,[A])}:d=En,n&&a){const V=d;d=()=>_i(V())}let _,A=V=>{_=T.onStop=()=>{wr(V,f,4)}},R;if(Ea)if(A=En,n?i&&On(n,f,3,[d(),p?[]:void 0,A]):d(),s==="sync"){const V=fE();R=V.__watcherHandles||(V.__watcherHandles=[])}else return En;let Y=p?new Array(e.length).fill(To):To;const q=()=>{if(T.active)if(n){const V=T.run();(a||v||(p?V.some((ae,ue)=>_a(ae,Y[ue])):_a(V,Y)))&&(_&&_(),On(n,f,3,[V,Y===To?void 0:p&&Y[0]===To?[]:Y,A]),Y=V)}else T.run()};q.allowRecurse=!!n;let ne;s==="sync"?ne=q:s==="post"?ne=()=>Kt(q,f&&f.suspense):(q.pre=!0,f&&(q.id=f.uid),ne=()=>ju(q));const T=new Uu(d,ne);n?i?q():Y=T.run():s==="post"?Kt(T.run.bind(T),f&&f.suspense):T.run();const z=()=>{T.stop(),f&&f.scope&&Du(f.scope.effects,T)};return R&&R.push(z),z}function vA(e,n,i){const a=this.proxy,s=At(e)?e.includes(".")?ig(a,e):()=>a[e]:e.bind(a,a);let l;Te(n)?l=n:(l=n.handler,i=n);const c=Rt;Ii(this);const f=rg(s,l.bind(a),i);return c?Ii(c):Vr(),f}function ig(e,n){const i=n.split(".");return()=>{let a=e;for(let s=0;s{_i(i,n)});else if(kp(e))for(const i in e)_i(e[i],n);return e}function Fi(e){return Te(e)?{setup:e,name:e.name}:e}const Yo=e=>!!e.type.__asyncLoader,ag=e=>e.type.__isKeepAlive;function bA(e,n){og(e,"a",n)}function _A(e,n){og(e,"da",n)}function og(e,n,i=Rt){const a=e.__wdc||(e.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(vs(n,a,i),i){let s=i.parent;for(;s&&s.parent;)ag(s.parent.vnode)&&yA(a,n,i,s),s=s.parent}}function yA(e,n,i,a){const s=vs(n,e,a,!0);sg(()=>{Du(a[n],s)},i)}function vs(e,n,i=Rt,a=!1){if(i){const s=i[e]||(i[e]=[]),l=n.__weh||(n.__weh=(...c)=>{if(i.isUnmounted)return;Di(),Ii(i);const f=On(n,i,e,c);return Vr(),Bi(),f});return a?s.unshift(l):s.push(l),l}}const Jn=e=>(n,i=Rt)=>(!Ea||e==="sp")&&vs(e,(...a)=>n(...a),i),wA=Jn("bm"),Ui=Jn("m"),xA=Jn("bu"),AA=Jn("u"),EA=Jn("bum"),sg=Jn("um"),OA=Jn("sp"),SA=Jn("rtg"),RA=Jn("rtc");function CA(e,n=Rt){vs("ec",e,n)}function $r(e,n,i,a){const s=e.dirs,l=n&&n.dirs;for(let c=0;cn(c,f,void 0,l&&l[f]));else{const c=Object.keys(e);s=new Array(c.length);for(let f=0,d=c.length;fe?_g(e)?Qu(e)||e.proxy:ou(e.parent):null,ua=Ft(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ou(e.parent),$root:e=>ou(e.root),$emit:e=>e.emit,$options:e=>qu(e),$forceUpdate:e=>e.f||(e.f=()=>ju(e.update)),$nextTick:e=>e.n||(e.n=Ku.bind(e.proxy)),$watch:e=>vA.bind(e)}),zl=(e,n)=>e!==at&&!e.__isScriptSetup&&Fe(e,n),PA={get({_:e},n){const{ctx:i,setupState:a,data:s,props:l,accessCache:c,type:f,appContext:d}=e;let v;if(n[0]!=="$"){const R=c[n];if(R!==void 0)switch(R){case 1:return a[n];case 2:return s[n];case 4:return i[n];case 3:return l[n]}else{if(zl(a,n))return c[n]=1,a[n];if(s!==at&&Fe(s,n))return c[n]=2,s[n];if((v=e.propsOptions[0])&&Fe(v,n))return c[n]=3,l[n];if(i!==at&&Fe(i,n))return c[n]=4,i[n];su&&(c[n]=0)}}const p=ua[n];let _,A;if(p)return n==="$attrs"&&nn(e,"get",n),p(e);if((_=f.__cssModules)&&(_=_[n]))return _;if(i!==at&&Fe(i,n))return c[n]=4,i[n];if(A=d.config.globalProperties,Fe(A,n))return A[n]},set({_:e},n,i){const{data:a,setupState:s,ctx:l}=e;return zl(s,n)?(s[n]=i,!0):a!==at&&Fe(a,n)?(a[n]=i,!0):Fe(e.props,n)||n[0]==="$"&&n.slice(1)in e?!1:(l[n]=i,!0)},has({_:{data:e,setupState:n,accessCache:i,ctx:a,appContext:s,propsOptions:l}},c){let f;return!!i[c]||e!==at&&Fe(e,c)||zl(n,c)||(f=l[0])&&Fe(f,c)||Fe(a,c)||Fe(ua,c)||Fe(s.config.globalProperties,c)},defineProperty(e,n,i){return i.get!=null?e._.accessCache[n]=0:Fe(i,"value")&&this.set(e,n,i.value,null),Reflect.defineProperty(e,n,i)}};let su=!0;function MA(e){const n=qu(e),i=e.proxy,a=e.ctx;su=!1,n.beforeCreate&&uh(n.beforeCreate,e,"bc");const{data:s,computed:l,methods:c,watch:f,provide:d,inject:v,created:p,beforeMount:_,mounted:A,beforeUpdate:R,updated:Y,activated:q,deactivated:ne,beforeDestroy:T,beforeUnmount:z,destroyed:V,unmounted:ae,render:ue,renderTracked:Se,renderTriggered:ge,errorCaptured:ye,serverPrefetch:Pe,expose:Qe,inheritAttrs:ht,components:Ot,directives:Ut,filters:st}=n;if(v&&NA(v,a,null,e.appContext.config.unwrapInjectedRef),c)for(const K in c){const X=c[K];Te(X)&&(a[K]=X.bind(i))}if(s){const K=s.call(i,i);ot(K)&&(e.data=$i(K))}if(su=!0,l)for(const K in l){const X=l[K],we=Te(X)?X.bind(i,i):Te(X.get)?X.get.bind(i,i):En,Le=!Te(X)&&Te(X.set)?X.set.bind(i):En,Ne=Ye({get:we,set:Le});Object.defineProperty(a,K,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Ve=>Ne.value=Ve})}if(f)for(const K in f)ug(f[K],a,i,K);if(d){const K=Te(d)?d.call(i):d;Reflect.ownKeys(K).forEach(X=>{Wo(X,K[X])})}p&&uh(p,e,"c");function G(K,X){Oe(X)?X.forEach(we=>K(we.bind(i))):X&&K(X.bind(i))}if(G(wA,_),G(Ui,A),G(xA,R),G(AA,Y),G(bA,q),G(_A,ne),G(CA,ye),G(RA,Se),G(SA,ge),G(EA,z),G(sg,ae),G(OA,Pe),Oe(Qe))if(Qe.length){const K=e.exposed||(e.exposed={});Qe.forEach(X=>{Object.defineProperty(K,X,{get:()=>i[X],set:we=>i[X]=we})})}else e.exposed||(e.exposed={});ue&&e.render===En&&(e.render=ue),ht!=null&&(e.inheritAttrs=ht),Ot&&(e.components=Ot),Ut&&(e.directives=Ut)}function NA(e,n,i=En,a=!1){Oe(e)&&(e=lu(e));for(const s in e){const l=e[s];let c;ot(l)?"default"in l?c=Nn(l.from||s,l.default,!0):c=Nn(l.from||s):c=Nn(l),bt(c)&&a?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>c.value,set:f=>c.value=f}):n[s]=c}}function uh(e,n,i){On(Oe(e)?e.map(a=>a.bind(n.proxy)):e.bind(n.proxy),n,i)}function ug(e,n,i,a){const s=a.includes(".")?ig(i,a):()=>i[a];if(At(e)){const l=n[e];Te(l)&&Ar(s,l)}else if(Te(e))Ar(s,e.bind(i));else if(ot(e))if(Oe(e))e.forEach(l=>ug(l,n,i,a));else{const l=Te(e.handler)?e.handler.bind(i):n[e.handler];Te(l)&&Ar(s,l,e)}}function qu(e){const n=e.type,{mixins:i,extends:a}=n,{mixins:s,optionsCache:l,config:{optionMergeStrategies:c}}=e.appContext,f=l.get(n);let d;return f?d=f:!s.length&&!i&&!a?d=n:(d={},s.length&&s.forEach(v=>Jo(d,v,c,!0)),Jo(d,n,c)),ot(n)&&l.set(n,d),d}function Jo(e,n,i,a=!1){const{mixins:s,extends:l}=n;l&&Jo(e,l,i,!0),s&&s.forEach(c=>Jo(e,c,i,!0));for(const c in n)if(!(a&&c==="expose")){const f=LA[c]||i&&i[c];e[c]=f?f(e[c],n[c]):n[c]}return e}const LA={data:ch,props:Ur,emits:Ur,methods:Ur,computed:Ur,beforeCreate:$t,created:$t,beforeMount:$t,mounted:$t,beforeUpdate:$t,updated:$t,beforeDestroy:$t,beforeUnmount:$t,destroyed:$t,unmounted:$t,activated:$t,deactivated:$t,errorCaptured:$t,serverPrefetch:$t,components:Ur,directives:Ur,watch:BA,provide:ch,inject:DA};function ch(e,n){return n?e?function(){return Ft(Te(e)?e.call(this,this):e,Te(n)?n.call(this,this):n)}:n:e}function DA(e,n){return Ur(lu(e),lu(n))}function lu(e){if(Oe(e)){const n={};for(let i=0;i0)&&!(c&16)){if(c&8){const p=e.vnode.dynamicProps;for(let _=0;_{d=!0;const[A,R]=fg(_,n,!0);Ft(c,A),R&&f.push(...R)};!i&&n.mixins.length&&n.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!l&&!d)return ot(e)&&a.set(e,xi),xi;if(Oe(l))for(let p=0;p-1,R[1]=q<0||Y-1||Fe(R,"default"))&&f.push(_)}}}const v=[c,f];return ot(e)&&a.set(e,v),v}function fh(e){return e[0]!=="$"}function dh(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:e===null?"null":""}function hh(e,n){return dh(e)===dh(n)}function ph(e,n){return Oe(n)?n.findIndex(i=>hh(i,e)):Te(n)&&hh(n,e)?0:-1}const dg=e=>e[0]==="_"||e==="$stable",Xu=e=>Oe(e)?e.map(Tn):[Tn(e)],UA=(e,n,i)=>{if(n._n)return n;const a=xr((...s)=>Xu(n(...s)),i);return a._c=!1,a},hg=(e,n,i)=>{const a=e._ctx;for(const s in e){if(dg(s))continue;const l=e[s];if(Te(l))n[s]=UA(s,l,a);else if(l!=null){const c=Xu(l);n[s]=()=>c}}},pg=(e,n)=>{const i=Xu(n);e.slots.default=()=>i},GA=(e,n)=>{if(e.vnode.shapeFlag&32){const i=n._;i?(e.slots=Ge(n),Xo(n,"_",i)):hg(n,e.slots={})}else e.slots={},n&&pg(e,n);Xo(e.slots,_s,1)},HA=(e,n,i)=>{const{vnode:a,slots:s}=e;let l=!0,c=at;if(a.shapeFlag&32){const f=n._;f?i&&f===1?l=!1:(Ft(s,n),!i&&f===1&&delete s._):(l=!n.$stable,hg(n,s)),c=n}else n&&(pg(e,n),c={default:1});if(l)for(const f in s)!dg(f)&&!(f in c)&&delete s[f]};function gg(){return{app:null,config:{isNativeTag:gx,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 zA=0;function WA(e,n){return function(a,s=null){Te(a)||(a=Object.assign({},a)),s!=null&&!ot(s)&&(s=null);const l=gg(),c=new Set;let f=!1;const d=l.app={_uid:zA++,_component:a,_props:s,_container:null,_context:l,_instance:null,version:dE,get config(){return l.config},set config(v){},use(v,...p){return c.has(v)||(v&&Te(v.install)?(c.add(v),v.install(d,...p)):Te(v)&&(c.add(v),v(d,...p))),d},mixin(v){return l.mixins.includes(v)||l.mixins.push(v),d},component(v,p){return p?(l.components[v]=p,d):l.components[v]},directive(v,p){return p?(l.directives[v]=p,d):l.directives[v]},mount(v,p,_){if(!f){const A=fe(a,s);return A.appContext=l,p&&n?n(A,v):e(A,v,_),f=!0,d._container=v,v.__vue_app__=d,Qu(A.component)||A.component.proxy}},unmount(){f&&(e(null,d._container),delete d._container.__vue_app__)},provide(v,p){return l.provides[v]=p,d}};return d}}function cu(e,n,i,a,s=!1){if(Oe(e)){e.forEach((A,R)=>cu(A,n&&(Oe(n)?n[R]:n),i,a,s));return}if(Yo(a)&&!s)return;const l=a.shapeFlag&4?Qu(a.component)||a.component.proxy:a.el,c=s?null:l,{i:f,r:d}=e,v=n&&n.r,p=f.refs===at?f.refs={}:f.refs,_=f.setupState;if(v!=null&&v!==d&&(At(v)?(p[v]=null,Fe(_,v)&&(_[v]=null)):bt(v)&&(v.value=null)),Te(d))wr(d,f,12,[c,p]);else{const A=At(d),R=bt(d);if(A||R){const Y=()=>{if(e.f){const q=A?Fe(_,d)?_[d]:p[d]:d.value;s?Oe(q)&&Du(q,l):Oe(q)?q.includes(l)||q.push(l):A?(p[d]=[l],Fe(_,d)&&(_[d]=p[d])):(d.value=[l],e.k&&(p[e.k]=d.value))}else A?(p[d]=c,Fe(_,d)&&(_[d]=c)):R&&(d.value=c,e.k&&(p[e.k]=c))};c?(Y.id=-1,Kt(Y,i)):Y()}}}const Kt=mA;function YA(e){return VA(e)}function VA(e,n){const i=wx();i.__VUE__=!0;const{insert:a,remove:s,patchProp:l,createElement:c,createText:f,createComment:d,setText:v,setElementText:p,parentNode:_,nextSibling:A,setScopeId:R=En,insertStaticContent:Y}=e,q=(b,x,S,M=null,U=null,k=null,J=!1,H=null,F=!!x.dynamicChildren)=>{if(b===x)return;b&&!ra(b,x)&&(M=Q(b),Ve(b,U,k,!0),b=null),x.patchFlag===-2&&(F=!1,x.dynamicChildren=null);const{type:$,ref:oe,shapeFlag:ie}=x;switch($){case bs:ne(b,x,S,M);break;case jr:T(b,x,S,M);break;case Vo:b==null&&z(x,S,M,J);break;case Mt:Ot(b,x,S,M,U,k,J,H,F);break;default:ie&1?ue(b,x,S,M,U,k,J,H,F):ie&6?Ut(b,x,S,M,U,k,J,H,F):(ie&64||ie&128)&&$.process(b,x,S,M,U,k,J,H,F,Re)}oe!=null&&U&&cu(oe,b&&b.ref,k,x||b,!x)},ne=(b,x,S,M)=>{if(b==null)a(x.el=f(x.children),S,M);else{const U=x.el=b.el;x.children!==b.children&&v(U,x.children)}},T=(b,x,S,M)=>{b==null?a(x.el=d(x.children||""),S,M):x.el=b.el},z=(b,x,S,M)=>{[b.el,b.anchor]=Y(b.children,x,S,M,b.el,b.anchor)},V=({el:b,anchor:x},S,M)=>{let U;for(;b&&b!==x;)U=A(b),a(b,S,M),b=U;a(x,S,M)},ae=({el:b,anchor:x})=>{let S;for(;b&&b!==x;)S=A(b),s(b),b=S;s(x)},ue=(b,x,S,M,U,k,J,H,F)=>{J=J||x.type==="svg",b==null?Se(x,S,M,U,k,J,H,F):Pe(b,x,U,k,J,H,F)},Se=(b,x,S,M,U,k,J,H)=>{let F,$;const{type:oe,props:ie,shapeFlag:me,transition:L,dirs:j}=b;if(F=b.el=c(b.type,k,ie&&ie.is,ie),me&8?p(F,b.children):me&16&&ye(b.children,F,null,M,U,k&&oe!=="foreignObject",J,H),j&&$r(b,null,M,"created"),ie){for(const ce in ie)ce!=="value"&&!zo(ce)&&l(F,ce,null,ie[ce],k,b.children,M,U,ee);"value"in ie&&l(F,"value",null,ie.value),($=ie.onVnodeBeforeMount)&&In($,M,b)}ge(F,b,b.scopeId,J,M),j&&$r(b,null,M,"beforeMount");const re=(!U||U&&!U.pendingBranch)&&L&&!L.persisted;re&&L.beforeEnter(F),a(F,x,S),(($=ie&&ie.onVnodeMounted)||re||j)&&Kt(()=>{$&&In($,M,b),re&&L.enter(F),j&&$r(b,null,M,"mounted")},U)},ge=(b,x,S,M,U)=>{if(S&&R(b,S),M)for(let k=0;k{for(let $=F;${const H=x.el=b.el;let{patchFlag:F,dynamicChildren:$,dirs:oe}=x;F|=b.patchFlag&16;const ie=b.props||at,me=x.props||at;let L;S&&Fr(S,!1),(L=me.onVnodeBeforeUpdate)&&In(L,S,x,b),oe&&$r(x,b,S,"beforeUpdate"),S&&Fr(S,!0);const j=U&&x.type!=="foreignObject";if($?Qe(b.dynamicChildren,$,H,S,M,j,k):J||X(b,x,H,null,S,M,j,k,!1),F>0){if(F&16)ht(H,x,ie,me,S,M,U);else if(F&2&&ie.class!==me.class&&l(H,"class",null,me.class,U),F&4&&l(H,"style",ie.style,me.style,U),F&8){const re=x.dynamicProps;for(let ce=0;ce{L&&In(L,S,x,b),oe&&$r(x,b,S,"updated")},M)},Qe=(b,x,S,M,U,k,J)=>{for(let H=0;H{if(S!==M){if(S!==at)for(const H in S)!zo(H)&&!(H in M)&&l(b,H,S[H],null,J,x.children,U,k,ee);for(const H in M){if(zo(H))continue;const F=M[H],$=S[H];F!==$&&H!=="value"&&l(b,H,$,F,J,x.children,U,k,ee)}"value"in M&&l(b,"value",S.value,M.value)}},Ot=(b,x,S,M,U,k,J,H,F)=>{const $=x.el=b?b.el:f(""),oe=x.anchor=b?b.anchor:f("");let{patchFlag:ie,dynamicChildren:me,slotScopeIds:L}=x;L&&(H=H?H.concat(L):L),b==null?(a($,S,M),a(oe,S,M),ye(x.children,S,oe,U,k,J,H,F)):ie>0&&ie&64&&me&&b.dynamicChildren?(Qe(b.dynamicChildren,me,S,U,k,J,H),(x.key!=null||U&&x===U.subTree)&&mg(b,x,!0)):X(b,x,S,oe,U,k,J,H,F)},Ut=(b,x,S,M,U,k,J,H,F)=>{x.slotScopeIds=H,b==null?x.shapeFlag&512?U.ctx.activate(x,S,M,J,F):st(x,S,M,U,k,J,F):Je(b,x,F)},st=(b,x,S,M,U,k,J)=>{const H=b.component=nE(b,M,U);if(ag(b)&&(H.ctx.renderer=Re),iE(H),H.asyncDep){if(U&&U.registerDep(H,G),!b.el){const F=H.subTree=fe(jr);T(null,F,x,S)}return}G(H,b,x,S,U,k,J)},Je=(b,x,S)=>{const M=x.component=b.component;if(hA(b,x,S))if(M.asyncDep&&!M.asyncResolved){K(M,x,S);return}else M.next=x,sA(M.update),M.update();else x.el=b.el,M.vnode=x},G=(b,x,S,M,U,k,J)=>{const H=()=>{if(b.isMounted){let{next:oe,bu:ie,u:me,parent:L,vnode:j}=b,re=oe,ce;Fr(b,!1),oe?(oe.el=j.el,K(b,oe,J)):oe=j,ie&&Gl(ie),(ce=oe.props&&oe.props.onVnodeBeforeUpdate)&&In(ce,L,oe,j),Fr(b,!0);const Ce=Hl(b),et=b.subTree;b.subTree=Ce,q(et,Ce,_(et.el),Q(et),b,U,k),oe.el=Ce.el,re===null&&pA(b,Ce.el),me&&Kt(me,U),(ce=oe.props&&oe.props.onVnodeUpdated)&&Kt(()=>In(ce,L,oe,j),U)}else{let oe;const{el:ie,props:me}=x,{bm:L,m:j,parent:re}=b,ce=Yo(x);if(Fr(b,!1),L&&Gl(L),!ce&&(oe=me&&me.onVnodeBeforeMount)&&In(oe,re,x),Fr(b,!0),ie&&xe){const Ce=()=>{b.subTree=Hl(b),xe(ie,b.subTree,b,U,null)};ce?x.type.__asyncLoader().then(()=>!b.isUnmounted&&Ce()):Ce()}else{const Ce=b.subTree=Hl(b);q(null,Ce,S,M,b,U,k),x.el=Ce.el}if(j&&Kt(j,U),!ce&&(oe=me&&me.onVnodeMounted)){const Ce=x;Kt(()=>In(oe,re,Ce),U)}(x.shapeFlag&256||re&&Yo(re.vnode)&&re.vnode.shapeFlag&256)&&b.a&&Kt(b.a,U),b.isMounted=!0,x=S=M=null}},F=b.effect=new Uu(H,()=>ju($),b.scope),$=b.update=()=>F.run();$.id=b.uid,Fr(b,!0),$()},K=(b,x,S)=>{x.component=b;const M=b.vnode.props;b.vnode=x,b.next=null,FA(b,x.props,M,S),HA(b,x.children,S),Di(),oh(),Bi()},X=(b,x,S,M,U,k,J,H,F=!1)=>{const $=b&&b.children,oe=b?b.shapeFlag:0,ie=x.children,{patchFlag:me,shapeFlag:L}=x;if(me>0){if(me&128){Le($,ie,S,M,U,k,J,H,F);return}else if(me&256){we($,ie,S,M,U,k,J,H,F);return}}L&8?(oe&16&&ee($,U,k),ie!==$&&p(S,ie)):oe&16?L&16?Le($,ie,S,M,U,k,J,H,F):ee($,U,k,!0):(oe&8&&p(S,""),L&16&&ye(ie,S,M,U,k,J,H,F))},we=(b,x,S,M,U,k,J,H,F)=>{b=b||xi,x=x||xi;const $=b.length,oe=x.length,ie=Math.min($,oe);let me;for(me=0;meoe?ee(b,U,k,!0,!1,ie):ye(x,S,M,U,k,J,H,F,ie)},Le=(b,x,S,M,U,k,J,H,F)=>{let $=0;const oe=x.length;let ie=b.length-1,me=oe-1;for(;$<=ie&&$<=me;){const L=b[$],j=x[$]=F?gr(x[$]):Tn(x[$]);if(ra(L,j))q(L,j,S,null,U,k,J,H,F);else break;$++}for(;$<=ie&&$<=me;){const L=b[ie],j=x[me]=F?gr(x[me]):Tn(x[me]);if(ra(L,j))q(L,j,S,null,U,k,J,H,F);else break;ie--,me--}if($>ie){if($<=me){const L=me+1,j=Lme)for(;$<=ie;)Ve(b[$],U,k,!0),$++;else{const L=$,j=$,re=new Map;for($=j;$<=me;$++){const Ct=x[$]=F?gr(x[$]):Tn(x[$]);Ct.key!=null&&re.set(Ct.key,$)}let ce,Ce=0;const et=me-j+1;let an=!1,tr=0;const Bn=new Array(et);for($=0;$=et){Ve(Ct,U,k,!0);continue}let Gt;if(Ct.key!=null)Gt=re.get(Ct.key);else for(ce=j;ce<=me;ce++)if(Bn[ce-j]===0&&ra(Ct,x[ce])){Gt=ce;break}Gt===void 0?Ve(Ct,U,k,!0):(Bn[Gt-j]=$+1,Gt>=tr?tr=Gt:an=!0,q(Ct,x[Gt],S,null,U,k,J,H,F),Ce++)}const Qr=an?KA(Bn):xi;for(ce=Qr.length-1,$=et-1;$>=0;$--){const Ct=j+$,Gt=x[Ct],Jr=Ct+1{const{el:k,type:J,transition:H,children:F,shapeFlag:$}=b;if($&6){Ne(b.component.subTree,x,S,M);return}if($&128){b.suspense.move(x,S,M);return}if($&64){J.move(b,x,S,Re);return}if(J===Mt){a(k,x,S);for(let ie=0;ieH.enter(k),U);else{const{leave:ie,delayLeave:me,afterLeave:L}=H,j=()=>a(k,x,S),re=()=>{ie(k,()=>{j(),L&&L()})};me?me(k,j,re):re()}else a(k,x,S)},Ve=(b,x,S,M=!1,U=!1)=>{const{type:k,props:J,ref:H,children:F,dynamicChildren:$,shapeFlag:oe,patchFlag:ie,dirs:me}=b;if(H!=null&&cu(H,null,S,b,!0),oe&256){x.ctx.deactivate(b);return}const L=oe&1&&me,j=!Yo(b);let re;if(j&&(re=J&&J.onVnodeBeforeUnmount)&&In(re,x,b),oe&6)N(b.component,S,M);else{if(oe&128){b.suspense.unmount(S,M);return}L&&$r(b,null,x,"beforeUnmount"),oe&64?b.type.remove(b,x,S,U,Re,M):$&&(k!==Mt||ie>0&&ie&64)?ee($,x,S,!1,!0):(k===Mt&&ie&384||!U&&oe&16)&&ee(F,x,S),M&&jt(b)}(j&&(re=J&&J.onVnodeUnmounted)||L)&&Kt(()=>{re&&In(re,x,b),L&&$r(b,null,x,"unmounted")},S)},jt=b=>{const{type:x,el:S,anchor:M,transition:U}=b;if(x===Mt){_t(S,M);return}if(x===Vo){ae(b);return}const k=()=>{s(S),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(b.shapeFlag&1&&U&&!U.persisted){const{leave:J,delayLeave:H}=U,F=()=>J(S,k);H?H(b.el,k,F):F()}else k()},_t=(b,x)=>{let S;for(;b!==x;)S=A(b),s(b),b=S;s(x)},N=(b,x,S)=>{const{bum:M,scope:U,update:k,subTree:J,um:H}=b;M&&Gl(M),U.stop(),k&&(k.active=!1,Ve(J,b,x,S)),H&&Kt(H,x),Kt(()=>{b.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},ee=(b,x,S,M=!1,U=!1,k=0)=>{for(let J=k;Jb.shapeFlag&6?Q(b.component.subTree):b.shapeFlag&128?b.suspense.next():A(b.anchor||b.el),de=(b,x,S)=>{b==null?x._vnode&&Ve(x._vnode,null,null,!0):q(x._vnode||null,b,x,null,null,null,S),oh(),Qp(),x._vnode=b},Re={p:q,um:Ve,m:Ne,r:jt,mt:st,mc:ye,pc:X,pbc:Qe,n:Q,o:e};let qe,xe;return n&&([qe,xe]=n(Re)),{render:de,hydrate:qe,createApp:WA(de,qe)}}function Fr({effect:e,update:n},i){e.allowRecurse=n.allowRecurse=i}function mg(e,n,i=!1){const a=e.children,s=n.children;if(Oe(a)&&Oe(s))for(let l=0;l>1,e[i[f]]0&&(n[a]=i[l-1]),i[l]=a)}}for(l=i.length,c=i[l-1];l-- >0;)i[l]=c,c=n[c];return i}const jA=e=>e.__isTeleport,Mt=Symbol(void 0),bs=Symbol(void 0),jr=Symbol(void 0),Vo=Symbol(void 0),ca=[];let xn=null;function Ke(e=!1){ca.push(xn=e?null:[])}function qA(){ca.pop(),xn=ca[ca.length-1]||null}let Aa=1;function gh(e){Aa+=e}function vg(e){return e.dynamicChildren=Aa>0?xn||xi:null,qA(),Aa>0&&xn&&xn.push(e),e}function ut(e,n,i,a,s,l){return vg(I(e,n,i,a,s,l,!0))}function fa(e,n,i,a,s){return vg(fe(e,n,i,a,s,!0))}function fu(e){return e?e.__v_isVNode===!0:!1}function ra(e,n){return e.type===n.type&&e.key===n.key}const _s="__vInternal",bg=({key:e})=>e??null,Ko=({ref:e,ref_key:n,ref_for:i})=>e!=null?At(e)||bt(e)||Te(e)?{i:gn,r:e,k:n,f:!!i}:e:null;function I(e,n=null,i=null,a=0,s=null,l=e===Mt?0:1,c=!1,f=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&bg(n),ref:n&&Ko(n),scopeId:ms,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gn};return f?(Zu(d,i),l&128&&e.normalize(d)):i&&(d.shapeFlag|=At(i)?8:16),Aa>0&&!c&&xn&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&xn.push(d),d}const fe=XA;function XA(e,n=null,i=null,a=0,s=null,l=!1){if((!e||e===kA)&&(e=jr),fu(e)){const f=ki(e,n,!0);return i&&Zu(f,i),Aa>0&&!l&&xn&&(f.shapeFlag&6?xn[xn.indexOf(e)]=f:xn.push(f)),f.patchFlag|=-2,f}if(uE(e)&&(e=e.__vccOpts),n){n=ZA(n);let{class:f,style:d}=n;f&&!At(f)&&(n.class=ba(f)),ot(d)&&(Wp(d)&&!Oe(d)&&(d=Ft({},d)),n.style=Nu(d))}const c=At(e)?1:gA(e)?128:jA(e)?64:ot(e)?4:Te(e)?2:0;return I(e,n,i,a,s,c,l,!0)}function ZA(e){return e?Wp(e)||_s in e?Ft({},e):e:null}function ki(e,n,i=!1){const{props:a,ref:s,patchFlag:l,children:c}=e,f=n?JA(a||{},n):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&bg(f),ref:n&&n.ref?i&&s?Oe(s)?s.concat(Ko(n)):[s,Ko(n)]:Ko(n):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Mt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ki(e.ssContent),ssFallback:e.ssFallback&&ki(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function je(e=" ",n=0){return fe(bs,null,e,n)}function QA(e,n){const i=fe(Vo,null,e);return i.staticCount=n,i}function pr(e="",n=!1){return n?(Ke(),fa(jr,null,e)):fe(jr,null,e)}function Tn(e){return e==null||typeof e=="boolean"?fe(jr):Oe(e)?fe(Mt,null,e.slice()):typeof e=="object"?gr(e):fe(bs,null,String(e))}function gr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ki(e)}function Zu(e,n){let i=0;const{shapeFlag:a}=e;if(n==null)n=null;else if(Oe(n))i=16;else if(typeof n=="object")if(a&65){const s=n.default;s&&(s._c&&(s._d=!1),Zu(e,s()),s._c&&(s._d=!0));return}else{i=32;const s=n._;!s&&!(_s in n)?n._ctx=gn:s===3&&gn&&(gn.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else Te(n)?(n={default:n,_ctx:gn},i=32):(n=String(n),a&64?(i=16,n=[je(n)]):i=8);e.children=n,e.shapeFlag|=i}function JA(...e){const n={};for(let i=0;iRt||gn,Ii=e=>{Rt=e,e.scope.on()},Vr=()=>{Rt&&Rt.scope.off(),Rt=null};function _g(e){return e.vnode.shapeFlag&4}let Ea=!1;function iE(e,n=!1){Ea=n;const{props:i,children:a}=e.vnode,s=_g(e);$A(e,i,s,n),GA(e,a);const l=s?aE(e,n):void 0;return Ea=!1,l}function aE(e,n){const i=e.type;e.accessCache=Object.create(null),e.proxy=Ci(new Proxy(e.ctx,PA));const{setup:a}=i;if(a){const s=e.setupContext=a.length>1?sE(e):null;Ii(e),Di();const l=wr(a,e,0,[e.props,s]);if(Bi(),Vr(),Rp(l)){if(l.then(Vr,Vr),n)return l.then(c=>{mh(e,c,n)}).catch(c=>{ps(c,e,0)});e.asyncDep=l}else mh(e,l,n)}else yg(e,n)}function mh(e,n,i){Te(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:ot(n)&&(e.setupState=jp(n)),yg(e,i)}let vh;function yg(e,n,i){const a=e.type;if(!e.render){if(!n&&vh&&!a.render){const s=a.template||qu(e).template;if(s){const{isCustomElement:l,compilerOptions:c}=e.appContext.config,{delimiters:f,compilerOptions:d}=a,v=Ft(Ft({isCustomElement:l,delimiters:f},c),d);a.render=vh(s,v)}}e.render=a.render||En}Ii(e),Di(),MA(e),Bi(),Vr()}function oE(e){return new Proxy(e.attrs,{get(n,i){return nn(e,"get","$attrs"),n[i]}})}function sE(e){const n=a=>{e.exposed=a||{}};let i;return{get attrs(){return i||(i=oE(e))},slots:e.slots,emit:e.emit,expose:n}}function Qu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(jp(Ci(e.exposed)),{get(n,i){if(i in n)return n[i];if(i in ua)return ua[i](e)},has(n,i){return i in n||i in ua}}))}function lE(e,n=!0){return Te(e)?e.displayName||e.name:e.name||n&&e.__name}function uE(e){return Te(e)&&"__vccOpts"in e}const Ye=(e,n)=>iA(e,n,Ea);function Ti(e,n,i){const a=arguments.length;return a===2?ot(n)&&!Oe(n)?fu(n)?fe(e,null,[n]):fe(e,n):fe(e,null,n):(a>3?i=Array.prototype.slice.call(arguments,2):a===3&&fu(i)&&(i=[i]),fe(e,n,i))}const cE=Symbol(""),fE=()=>Nn(cE),dE="3.2.45",hE="http://www.w3.org/2000/svg",Hr=typeof document<"u"?document:null,bh=Hr&&Hr.createElement("template"),pE={insert:(e,n,i)=>{n.insertBefore(e,i||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,i,a)=>{const s=n?Hr.createElementNS(hE,e):Hr.createElement(e,i?{is:i}:void 0);return e==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:e=>Hr.createTextNode(e),createComment:e=>Hr.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hr.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,i,a,s,l){const c=i?i.previousSibling:n.lastChild;if(s&&(s===l||s.nextSibling))for(;n.insertBefore(s.cloneNode(!0),i),!(s===l||!(s=s.nextSibling)););else{bh.innerHTML=a?`${e}`:e;const f=bh.content;if(a){const d=f.firstChild;for(;d.firstChild;)f.appendChild(d.firstChild);f.removeChild(d)}n.insertBefore(f,i)}return[c?c.nextSibling:n.firstChild,i?i.previousSibling:n.lastChild]}};function gE(e,n,i){const a=e._vtc;a&&(n=(n?[n,...a]:[...a]).join(" ")),n==null?e.removeAttribute("class"):i?e.setAttribute("class",n):e.className=n}function mE(e,n,i){const a=e.style,s=At(i);if(i&&!s){for(const l in i)du(a,l,i[l]);if(n&&!At(n))for(const l in n)i[l]==null&&du(a,l,"")}else{const l=a.display;s?n!==i&&(a.cssText=i):n&&e.removeAttribute("style"),"_vod"in e&&(a.display=l)}}const _h=/\s*!important$/;function du(e,n,i){if(Oe(i))i.forEach(a=>du(e,n,a));else if(i==null&&(i=""),n.startsWith("--"))e.setProperty(n,i);else{const a=vE(e,n);_h.test(i)?e.setProperty(Li(a),i.replace(_h,""),"important"):e[a]=i}}const yh=["Webkit","Moz","ms"],Wl={};function vE(e,n){const i=Wl[n];if(i)return i;let a=Dn(n);if(a!=="filter"&&a in e)return Wl[n]=a;a=ds(a);for(let s=0;sYl||(EE.then(()=>Yl=0),Yl=Date.now());function SE(e,n){const i=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=i.attached)return;On(RE(a,i.value),n,5,[a])};return i.value=e,i.attached=OE(),i}function RE(e,n){if(Oe(n)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},n.map(a=>s=>!s._stopped&&a&&a(s))}else return n}const Ah=/^on[a-z]/,CE=(e,n,i,a,s=!1,l,c,f,d)=>{n==="class"?gE(e,a,s):n==="style"?mE(e,i,a):us(n)?Lu(n)||xE(e,n,i,a,c):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):kE(e,n,a,s))?_E(e,n,a,l,c,f,d):(n==="true-value"?e._trueValue=a:n==="false-value"&&(e._falseValue=a),bE(e,n,a,s))};function kE(e,n,i,a){return a?!!(n==="innerHTML"||n==="textContent"||n in e&&Ah.test(n)&&Te(i)):n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA"||Ah.test(n)&&At(i)?!1:n in e}const IE=Ft({patchProp:CE},pE);let Eh;function TE(){return Eh||(Eh=YA(IE))}const PE=(...e)=>{const n=TE().createApp(...e),{mount:i}=n;return n.mount=a=>{const s=ME(a);if(!s)return;const l=n._component;!Te(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.innerHTML="";const c=i(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},n};function ME(e){return At(e)?document.querySelector(e):e}var NE=!1;/*! * pinia v2.0.29 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let wg;const ys=e=>wg=e,xg=Symbol();function hu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var da;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(da||(da={}));function LE(){const e=Pp(!0),n=e.run(()=>mt({}));let i=[],a=[];const s=Ci({install(l){ys(s),s._a=l,l.provide(xg,s),l.config.globalProperties.$pinia=s,a.forEach(c=>i.push(c)),a=[]},use(l){return!this._a&&!NE?a.push(l):i.push(l),this},_p:i,_a:null,_e:e,_s:new Map,state:n});return s}const Ag=()=>{};function Oh(e,n,i,a=Ag){e.push(n);const s=()=>{const l=e.indexOf(n);l>-1&&(e.splice(l,1),a())};return!i&&Ax()&&Ex(s),s}function pi(e,...n){e.slice().forEach(i=>{i(...n)})}function pu(e,n){e instanceof Map&&n instanceof Map&&n.forEach((i,a)=>e.set(a,i)),e instanceof Set&&n instanceof Set&&n.forEach(e.add,e);for(const i in n){if(!n.hasOwnProperty(i))continue;const a=n[i],s=e[i];hu(s)&&hu(a)&&e.hasOwnProperty(i)&&!bt(a)&&!yr(a)?e[i]=pu(s,a):e[i]=a}return e}const DE=Symbol();function BE(e){return!hu(e)||!e.hasOwnProperty(DE)}const{assign:mr}=Object;function $E(e){return!!(bt(e)&&e.effect)}function FE(e,n,i,a){const{state:s,actions:l,getters:c}=n,f=i.state.value[e];let d;function v(){f||(i.state.value[e]=s?s():{});const p=eA(i.state.value[e]);return mr(p,l,Object.keys(c||{}).reduce((_,A)=>(_[A]=Ci(Ye(()=>{ys(i);const R=i._s.get(e);return c[A].call(R,R)})),_),{}))}return d=Eg(e,v,n,i,a,!0),d.$reset=function(){const _=s?s():{};this.$patch(A=>{mr(A,_)})},d}function Eg(e,n,i={},a,s,l){let c;const f=mr({actions:{}},i),d={deep:!0};let v,p,_=Ci([]),A=Ci([]),R;const Y=a.state.value[e];!l&&!Y&&(a.state.value[e]={}),mt({});let q;function ne(ge){let ye;v=p=!1,typeof ge=="function"?(ge(a.state.value[e]),ye={type:da.patchFunction,storeId:e,events:R}):(pu(a.state.value[e],ge),ye={type:da.patchObject,payload:ge,storeId:e,events:R});const Pe=q=Symbol();Vu().then(()=>{q===Pe&&(v=!0)}),p=!0,pi(_,ye,a.state.value[e])}const T=Ag;function z(){c.stop(),_=[],A=[],a._s.delete(e)}function K(ge,ye){return function(){ys(a);const Pe=Array.from(arguments),Qe=[],ht=[];function Ot(Je){Qe.push(Je)}function Ut(Je){ht.push(Je)}pi(A,{args:Pe,name:ge,store:ue,after:Ot,onError:Ut});let st;try{st=ye.apply(this&&this.$id===e?this:ue,Pe)}catch(Je){throw pi(ht,Je),Je}return st instanceof Promise?st.then(Je=>(pi(Qe,Je),Je)).catch(Je=>(pi(ht,Je),Promise.reject(Je))):(pi(Qe,st),st)}}const ae={_p:a,$id:e,$onAction:Oh.bind(null,A),$patch:ne,$reset:T,$subscribe(ge,ye={}){const Pe=Oh(_,ge,ye.detached,()=>Qe()),Qe=c.run(()=>Ar(()=>a.state.value[e],ht=>{(ye.flush==="sync"?p:v)&&ge({storeId:e,type:da.direct,events:R},ht)},mr({},d,ye)));return Pe},$dispose:z},ue=$i(ae);a._s.set(e,ue);const Se=a._e.run(()=>(c=Pp(),c.run(()=>n())));for(const ge in Se){const ye=Se[ge];if(bt(ye)&&!$E(ye)||yr(ye))l||(Y&&BE(ye)&&(bt(ye)?ye.value=Y[ge]:pu(ye,Y[ge])),a.state.value[e][ge]=ye);else if(typeof ye=="function"){const Pe=K(ge,ye);Se[ge]=Pe,f.actions[ge]=ye}}return mr(ue,Se),mr(Ge(ue),Se),Object.defineProperty(ue,"$state",{get:()=>a.state.value[e],set:ge=>{ne(ye=>{mr(ye,ge)})}}),a._p.forEach(ge=>{mr(ue,c.run(()=>ge({store:ue,app:a._a,pinia:a,options:f})))}),Y&&l&&i.hydrate&&i.hydrate(ue.$state,Y),v=!0,p=!0,ue}function UE(e,n,i){let a,s;const l=typeof n=="function";typeof e=="string"?(a=e,s=l?i:n):(s=e,a=e.id);function c(f,d){const v=rE();return f=f||v&&Nn(xg,null),f&&ys(f),f=wg,f._s.has(a)||(l?Eg(a,n,s,f):FE(a,s,f)),f._s.get(a)}return c.$id=a,c}function Sh(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,a)}return i}function le(e){for(var n=1;ne.length)&&(n=e.length);for(var i=0,a=new Array(n);iwg=e,xg=Symbol();function hu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var da;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(da||(da={}));function LE(){const e=Pp(!0),n=e.run(()=>mt({}));let i=[],a=[];const s=Ci({install(l){ys(s),s._a=l,l.provide(xg,s),l.config.globalProperties.$pinia=s,a.forEach(c=>i.push(c)),a=[]},use(l){return!this._a&&!NE?a.push(l):i.push(l),this},_p:i,_a:null,_e:e,_s:new Map,state:n});return s}const Ag=()=>{};function Oh(e,n,i,a=Ag){e.push(n);const s=()=>{const l=e.indexOf(n);l>-1&&(e.splice(l,1),a())};return!i&&Ax()&&Ex(s),s}function pi(e,...n){e.slice().forEach(i=>{i(...n)})}function pu(e,n){e instanceof Map&&n instanceof Map&&n.forEach((i,a)=>e.set(a,i)),e instanceof Set&&n instanceof Set&&n.forEach(e.add,e);for(const i in n){if(!n.hasOwnProperty(i))continue;const a=n[i],s=e[i];hu(s)&&hu(a)&&e.hasOwnProperty(i)&&!bt(a)&&!yr(a)?e[i]=pu(s,a):e[i]=a}return e}const DE=Symbol();function BE(e){return!hu(e)||!e.hasOwnProperty(DE)}const{assign:mr}=Object;function $E(e){return!!(bt(e)&&e.effect)}function FE(e,n,i,a){const{state:s,actions:l,getters:c}=n,f=i.state.value[e];let d;function v(){f||(i.state.value[e]=s?s():{});const p=eA(i.state.value[e]);return mr(p,l,Object.keys(c||{}).reduce((_,A)=>(_[A]=Ci(Ye(()=>{ys(i);const R=i._s.get(e);return c[A].call(R,R)})),_),{}))}return d=Eg(e,v,n,i,a,!0),d.$reset=function(){const _=s?s():{};this.$patch(A=>{mr(A,_)})},d}function Eg(e,n,i={},a,s,l){let c;const f=mr({actions:{}},i),d={deep:!0};let v,p,_=Ci([]),A=Ci([]),R;const Y=a.state.value[e];!l&&!Y&&(a.state.value[e]={}),mt({});let q;function ne(ge){let ye;v=p=!1,typeof ge=="function"?(ge(a.state.value[e]),ye={type:da.patchFunction,storeId:e,events:R}):(pu(a.state.value[e],ge),ye={type:da.patchObject,payload:ge,storeId:e,events:R});const Pe=q=Symbol();Ku().then(()=>{q===Pe&&(v=!0)}),p=!0,pi(_,ye,a.state.value[e])}const T=Ag;function z(){c.stop(),_=[],A=[],a._s.delete(e)}function V(ge,ye){return function(){ys(a);const Pe=Array.from(arguments),Qe=[],ht=[];function Ot(Je){Qe.push(Je)}function Ut(Je){ht.push(Je)}pi(A,{args:Pe,name:ge,store:ue,after:Ot,onError:Ut});let st;try{st=ye.apply(this&&this.$id===e?this:ue,Pe)}catch(Je){throw pi(ht,Je),Je}return st instanceof Promise?st.then(Je=>(pi(Qe,Je),Je)).catch(Je=>(pi(ht,Je),Promise.reject(Je))):(pi(Qe,st),st)}}const ae={_p:a,$id:e,$onAction:Oh.bind(null,A),$patch:ne,$reset:T,$subscribe(ge,ye={}){const Pe=Oh(_,ge,ye.detached,()=>Qe()),Qe=c.run(()=>Ar(()=>a.state.value[e],ht=>{(ye.flush==="sync"?p:v)&&ge({storeId:e,type:da.direct,events:R},ht)},mr({},d,ye)));return Pe},$dispose:z},ue=$i(ae);a._s.set(e,ue);const Se=a._e.run(()=>(c=Pp(),c.run(()=>n())));for(const ge in Se){const ye=Se[ge];if(bt(ye)&&!$E(ye)||yr(ye))l||(Y&&BE(ye)&&(bt(ye)?ye.value=Y[ge]:pu(ye,Y[ge])),a.state.value[e][ge]=ye);else if(typeof ye=="function"){const Pe=V(ge,ye);Se[ge]=Pe,f.actions[ge]=ye}}return mr(ue,Se),mr(Ge(ue),Se),Object.defineProperty(ue,"$state",{get:()=>a.state.value[e],set:ge=>{ne(ye=>{mr(ye,ge)})}}),a._p.forEach(ge=>{mr(ue,c.run(()=>ge({store:ue,app:a._a,pinia:a,options:f})))}),Y&&l&&i.hydrate&&i.hydrate(ue.$state,Y),v=!0,p=!0,ue}function UE(e,n,i){let a,s;const l=typeof n=="function";typeof e=="string"?(a=e,s=l?i:n):(s=e,a=e.id);function c(f,d){const v=rE();return f=f||v&&Nn(xg,null),f&&ys(f),f=wg,f._s.has(a)||(l?Eg(a,n,s,f):FE(a,s,f)),f._s.get(a)}return c.$id=a,c}function Sh(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,a)}return i}function le(e){for(var n=1;ne.length)&&(n=e.length);for(var i=0,a=new Array(n);i-1;s--){var l=i[s],c=(l.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(a=l)}return rt.head.insertBefore(n,a),e}}var f2="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ka(){for(var e=12,n="";e-- >0;)n+=f2[Math.random()*62|0];return n}function Gi(e){for(var n=[],i=(e||[]).length>>>0;i--;)n[i]=e[i];return n}function ic(e){return e.classList?Gi(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(n){return n})}function Dg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function d2(e){return Object.keys(e||{}).reduce(function(n,i){return n+"".concat(i,'="').concat(Dg(e[i]),'" ')},"").trim()}function ws(e){return Object.keys(e||{}).reduce(function(n,i){return n+"".concat(i,": ").concat(e[i].trim(),";")},"")}function ac(e){return e.size!==Mn.size||e.x!==Mn.x||e.y!==Mn.y||e.rotate!==Mn.rotate||e.flipX||e.flipY}function h2(e){var n=e.transform,i=e.containerWidth,a=e.iconWidth,s={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(n.x*32,", ").concat(n.y*32,") "),c="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),f="rotate(".concat(n.rotate," 0 0)"),d={transform:"".concat(l," ").concat(c," ").concat(f)},v={transform:"translate(".concat(a/2*-1," -256)")};return{outer:s,inner:d,path:v}}function p2(e){var n=e.transform,i=e.width,a=i===void 0?mu:i,s=e.height,l=s===void 0?mu:s,c=e.startCentered,f=c===void 0?!1:c,d="";return f&&kg?d+="translate(".concat(n.x/dr-a/2,"em, ").concat(n.y/dr-l/2,"em) "):f?d+="translate(calc(-50% + ".concat(n.x/dr,"em), calc(-50% + ").concat(n.y/dr,"em)) "):d+="translate(".concat(n.x/dr,"em, ").concat(n.y/dr,"em) "),d+="scale(".concat(n.size/dr*(n.flipX?-1:1),", ").concat(n.size/dr*(n.flipY?-1:1),") "),d+="rotate(".concat(n.rotate,"deg) "),d}var g2=`:root, :host { +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ch=function(){},ec={},Sg={},Rg=null,Cg={mark:Ch,measure:Ch};try{typeof window<"u"&&(ec=window),typeof document<"u"&&(Sg=document),typeof MutationObserver<"u"&&(Rg=MutationObserver),typeof performance<"u"&&(Cg=performance)}catch{}var qE=ec.navigator||{},kh=qE.userAgent,Ih=kh===void 0?"":kh,Sr=ec,rt=Sg,Th=Rg,Po=Cg;Sr.document;var er=!!rt.documentElement&&!!rt.head&&typeof rt.addEventListener=="function"&&typeof rt.createElement=="function",kg=~Ih.indexOf("MSIE")||~Ih.indexOf("Trident/"),Mo,No,Lo,Do,Bo,Xn="___FONT_AWESOME___",mu=16,Ig="fa",Tg="svg-inline--fa",qr="data-fa-i2svg",vu="data-fa-pseudo-element",XE="data-fa-pseudo-element-pending",tc="data-prefix",nc="data-icon",Ph="fontawesome-i2svg",ZE="async",QE=["HTML","HEAD","STYLE","SCRIPT"],Pg=function(){try{return!0}catch{return!1}}(),nt="classic",ft="sharp",rc=[nt,ft];function La(e){return new Proxy(e,{get:function(i,a){return a in i?i[a]:i[nt]}})}var Oa=La((Mo={},Et(Mo,nt,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),Et(Mo,ft,{fa:"solid",fass:"solid","fa-solid":"solid"}),Mo)),Sa=La((No={},Et(No,nt,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Et(No,ft,{solid:"fass"}),No)),Ra=La((Lo={},Et(Lo,nt,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Et(Lo,ft,{fass:"fa-solid"}),Lo)),JE=La((Do={},Et(Do,nt,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Et(Do,ft,{"fa-solid":"fass"}),Do)),e2=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,Mg="fa-layers-text",t2=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,n2=La((Bo={},Et(Bo,nt,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Et(Bo,ft,{900:"fass"}),Bo)),Ng=[1,2,3,4,5,6,7,8,9,10],r2=Ng.concat([11,12,13,14,15,16,17,18,19,20]),i2=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],zr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ca=new Set;Object.keys(Sa[nt]).map(Ca.add.bind(Ca));Object.keys(Sa[ft]).map(Ca.add.bind(Ca));var a2=[].concat(rc,Na(Ca),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",zr.GROUP,zr.SWAP_OPACITY,zr.PRIMARY,zr.SECONDARY]).concat(Ng.map(function(e){return"".concat(e,"x")})).concat(r2.map(function(e){return"w-".concat(e)})),ha=Sr.FontAwesomeConfig||{};function o2(e){var n=rt.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}function s2(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(rt&&typeof rt.querySelector=="function"){var l2=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];l2.forEach(function(e){var n=Ju(e,2),i=n[0],a=n[1],s=s2(o2(i));s!=null&&(ha[a]=s)})}var Lg={styleDefault:"solid",familyDefault:"classic",cssPrefix:Ig,replacementClass:Tg,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ha.familyPrefix&&(ha.cssPrefix=ha.familyPrefix);var Pi=le(le({},Lg),ha);Pi.autoReplaceSvg||(Pi.observeMutations=!1);var pe={};Object.keys(Lg).forEach(function(e){Object.defineProperty(pe,e,{enumerable:!0,set:function(i){Pi[e]=i,pa.forEach(function(a){return a(pe)})},get:function(){return Pi[e]}})});Object.defineProperty(pe,"familyPrefix",{enumerable:!0,set:function(n){Pi.cssPrefix=n,pa.forEach(function(i){return i(pe)})},get:function(){return Pi.cssPrefix}});Sr.FontAwesomeConfig=pe;var pa=[];function u2(e){return pa.push(e),function(){pa.splice(pa.indexOf(e),1)}}var dr=mu,Mn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function c2(e){if(!(!e||!er)){var n=rt.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var i=rt.head.childNodes,a=null,s=i.length-1;s>-1;s--){var l=i[s],c=(l.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(a=l)}return rt.head.insertBefore(n,a),e}}var f2="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ka(){for(var e=12,n="";e-- >0;)n+=f2[Math.random()*62|0];return n}function Gi(e){for(var n=[],i=(e||[]).length>>>0;i--;)n[i]=e[i];return n}function ic(e){return e.classList?Gi(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(n){return n})}function Dg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function d2(e){return Object.keys(e||{}).reduce(function(n,i){return n+"".concat(i,'="').concat(Dg(e[i]),'" ')},"").trim()}function ws(e){return Object.keys(e||{}).reduce(function(n,i){return n+"".concat(i,": ").concat(e[i].trim(),";")},"")}function ac(e){return e.size!==Mn.size||e.x!==Mn.x||e.y!==Mn.y||e.rotate!==Mn.rotate||e.flipX||e.flipY}function h2(e){var n=e.transform,i=e.containerWidth,a=e.iconWidth,s={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(n.x*32,", ").concat(n.y*32,") "),c="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),f="rotate(".concat(n.rotate," 0 0)"),d={transform:"".concat(l," ").concat(c," ").concat(f)},v={transform:"translate(".concat(a/2*-1," -256)")};return{outer:s,inner:d,path:v}}function p2(e){var n=e.transform,i=e.width,a=i===void 0?mu:i,s=e.height,l=s===void 0?mu:s,c=e.startCentered,f=c===void 0?!1:c,d="";return f&&kg?d+="translate(".concat(n.x/dr-a/2,"em, ").concat(n.y/dr-l/2,"em) "):f?d+="translate(calc(-50% + ".concat(n.x/dr,"em), calc(-50% + ").concat(n.y/dr,"em)) "):d+="translate(".concat(n.x/dr,"em, ").concat(n.y/dr,"em) "),d+="scale(".concat(n.size/dr*(n.flipX?-1:1),", ").concat(n.size/dr*(n.flipY?-1:1),") "),d+="rotate(".concat(n.rotate,"deg) "),d}var g2=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; @@ -756,15 +756,15 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); -}`;function Bg(){var e=Ig,n=Tg,i=pe.cssPrefix,a=pe.replacementClass,s=g2;if(i!==e||a!==n){var l=new RegExp("\\.".concat(e,"\\-"),"g"),c=new RegExp("\\--".concat(e,"\\-"),"g"),f=new RegExp("\\.".concat(n),"g");s=s.replace(l,".".concat(i,"-")).replace(c,"--".concat(i,"-")).replace(f,".".concat(a))}return s}var Mh=!1;function Kl(){pe.autoAddCss&&!Mh&&(c2(Bg()),Mh=!0)}var m2={mixout:function(){return{dom:{css:Bg,insertCss:Kl}}},hooks:function(){return{beforeDOMElementCreation:function(){Kl()},beforeI2svg:function(){Kl()}}}},Zn=Or||{};Zn[Xn]||(Zn[Xn]={});Zn[Xn].styles||(Zn[Xn].styles={});Zn[Xn].hooks||(Zn[Xn].hooks={});Zn[Xn].shims||(Zn[Xn].shims=[]);var An=Zn[Xn],$g=[],v2=function e(){rt.removeEventListener("DOMContentLoaded",e),ts=1,$g.map(function(n){return n()})},ts=!1;er&&(ts=(rt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(rt.readyState),ts||rt.addEventListener("DOMContentLoaded",v2));function b2(e){er&&(ts?setTimeout(e,0):$g.push(e))}function Da(e){var n=e.tag,i=e.attributes,a=i===void 0?{}:i,s=e.children,l=s===void 0?[]:s;return typeof e=="string"?Dg(e):"<".concat(n," ").concat(d2(a),">").concat(l.map(Da).join(""),"")}function Nh(e,n,i){if(e&&e[n]&&e[n][i])return{prefix:n,iconName:i,icon:e[n][i]}}var _2=function(n,i){return function(a,s,l,c){return n.call(i,a,s,l,c)}},Vl=function(n,i,a,s){var l=Object.keys(n),c=l.length,f=s!==void 0?_2(i,s):i,d,v,p;for(a===void 0?(d=1,p=n[l[0]]):(d=0,p=a);d=55296&&s<=56319&&i=55296&&a<=56319&&i>n+1&&(s=e.charCodeAt(n+1),s>=56320&&s<=57343)?(a-55296)*1024+s-56320+65536:a}function Lh(e){return Object.keys(e).reduce(function(n,i){var a=e[i],s=!!a.icon;return s?n[a.iconName]=a.icon:n[i]=a,n},{})}function _u(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=i.skipHooks,s=a===void 0?!1:a,l=Lh(n);typeof An.hooks.addPack=="function"&&!s?An.hooks.addPack(e,Lh(n)):An.styles[e]=le(le({},An.styles[e]||{}),l),e==="fas"&&_u("fa",n)}var $o,Fo,Uo,yi=An.styles,x2=An.shims,A2=($o={},Et($o,nt,Object.values(Ra[nt])),Et($o,ct,Object.values(Ra[ct])),$o),oc=null,Fg={},Ug={},Gg={},Hg={},zg={},E2=(Fo={},Et(Fo,nt,Object.keys(Oa[nt])),Et(Fo,ct,Object.keys(Oa[ct])),Fo);function O2(e){return~a2.indexOf(e)}function S2(e,n){var i=n.split("-"),a=i[0],s=i.slice(1).join("-");return a===e&&s!==""&&!O2(s)?s:null}var Wg=function(){var n=function(l){return Vl(yi,function(c,f,d){return c[d]=Vl(f,l,{}),c},{})};Fg=n(function(s,l,c){if(l[3]&&(s[l[3]]=c),l[2]){var f=l[2].filter(function(d){return typeof d=="number"});f.forEach(function(d){s[d.toString(16)]=c})}return s}),Ug=n(function(s,l,c){if(s[c]=c,l[2]){var f=l[2].filter(function(d){return typeof d=="string"});f.forEach(function(d){s[d]=c})}return s}),zg=n(function(s,l,c){var f=l[2];return s[c]=c,f.forEach(function(d){s[d]=c}),s});var i="far"in yi||pe.autoFetchSvg,a=Vl(x2,function(s,l){var c=l[0],f=l[1],d=l[2];return f==="far"&&!i&&(f="fas"),typeof c=="string"&&(s.names[c]={prefix:f,iconName:d}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:f,iconName:d}),s},{names:{},unicodes:{}});Gg=a.names,Hg=a.unicodes,oc=xs(pe.styleDefault,{family:pe.familyDefault})};u2(function(e){oc=xs(e.styleDefault,{family:pe.familyDefault})});Wg();function sc(e,n){return(Fg[e]||{})[n]}function R2(e,n){return(Ug[e]||{})[n]}function zr(e,n){return(zg[e]||{})[n]}function Yg(e){return Gg[e]||{prefix:null,iconName:null}}function C2(e){var n=Hg[e],i=sc("fas",e);return n||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function Sr(){return oc}var lc=function(){return{prefix:null,iconName:null,rest:[]}};function xs(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.family,a=i===void 0?nt:i,s=Oa[a][e],l=Sa[a][e]||Sa[a][s],c=e in An.styles?e:null;return l||c||null}var Dh=(Uo={},Et(Uo,nt,Object.keys(Ra[nt])),Et(Uo,ct,Object.keys(Ra[ct])),Uo);function As(e){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.skipLookups,s=a===void 0?!1:a,l=(n={},Et(n,nt,"".concat(pe.cssPrefix,"-").concat(nt)),Et(n,ct,"".concat(pe.cssPrefix,"-").concat(ct)),n),c=null,f=nt;(e.includes(l[nt])||e.some(function(v){return Dh[nt].includes(v)}))&&(f=nt),(e.includes(l[ct])||e.some(function(v){return Dh[ct].includes(v)}))&&(f=ct);var d=e.reduce(function(v,p){var _=S2(pe.cssPrefix,p);if(yi[p]?(p=A2[f].includes(p)?JE[f][p]:p,c=p,v.prefix=p):E2[f].indexOf(p)>-1?(c=p,v.prefix=xs(p,{family:f})):_?v.iconName=_:p!==pe.replacementClass&&p!==l[nt]&&p!==l[ct]&&v.rest.push(p),!s&&v.prefix&&v.iconName){var A=c==="fa"?Yg(v.iconName):{},R=zr(v.prefix,v.iconName);A.prefix&&(c=null),v.iconName=A.iconName||R||v.iconName,v.prefix=A.prefix||v.prefix,v.prefix==="far"&&!yi.far&&yi.fas&&!pe.autoFetchSvg&&(v.prefix="fas")}return v},lc());return(e.includes("fa-brands")||e.includes("fab"))&&(d.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(d.prefix="fad"),!d.prefix&&f===ct&&(yi.fass||pe.autoFetchSvg)&&(d.prefix="fass",d.iconName=zr(d.prefix,d.iconName)||d.iconName),(d.prefix==="fa"||c==="fa")&&(d.prefix=Sr()||"fas"),d}var k2=function(){function e(){GE(this,e),this.definitions={}}return HE(e,[{key:"add",value:function(){for(var i=this,a=arguments.length,s=new Array(a),l=0;l0&&p.forEach(function(_){typeof _=="string"&&(i[f][_]=v)}),i[f][d]=v}),i}}]),e}(),Bh=[],wi={},Oi={},I2=Object.keys(Oi);function T2(e,n){var i=n.mixoutsTo;return Bh=e,wi={},Object.keys(Oi).forEach(function(a){I2.indexOf(a)===-1&&delete Oi[a]}),Bh.forEach(function(a){var s=a.mixout?a.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(i[c]=s[c]),es(s[c])==="object"&&Object.keys(s[c]).forEach(function(f){i[c]||(i[c]={}),i[c][f]=s[c][f]})}),a.hooks){var l=a.hooks();Object.keys(l).forEach(function(c){wi[c]||(wi[c]=[]),wi[c].push(l[c])})}a.provides&&a.provides(Oi)}),i}function yu(e,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s1?n-1:0),a=1;a0&&arguments[0]!==void 0?arguments[0]:{};return er?(Xr("beforeI2svg",n),Qn("pseudoElements2svg",n),Qn("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.autoReplaceSvgRoot;pe.autoReplaceSvg===!1&&(pe.autoReplaceSvg=!0),pe.observeMutations=!0,b2(function(){L2({autoReplaceSvgRoot:i}),Xr("watch",n)})}},N2={icon:function(n){if(n===null)return null;if(es(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:zr(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var i=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],a=xs(n[0]);return{prefix:a,iconName:zr(a,i)||i}}if(typeof n=="string"&&(n.indexOf("".concat(pe.cssPrefix,"-"))>-1||n.match(e2))){var s=As(n.split(" "),{skipLookups:!0});return{prefix:s.prefix||Sr(),iconName:zr(s.prefix,s.iconName)||s.iconName}}if(typeof n=="string"){var l=Sr();return{prefix:l,iconName:zr(l,n)||n}}}},rn={noAuto:P2,config:pe,dom:M2,parse:N2,library:Kg,findIconDefinition:wu,toHtml:Da},L2=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.autoReplaceSvgRoot,a=i===void 0?rt:i;(Object.keys(An.styles).length>0||pe.autoFetchSvg)&&er&&pe.autoReplaceSvg&&rn.dom.i2svg({node:a})};function Es(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(a){return Da(a)})}}),Object.defineProperty(e,"node",{get:function(){if(er){var a=rt.createElement("div");return a.innerHTML=e.html,a.children}}}),e}function D2(e){var n=e.children,i=e.main,a=e.mask,s=e.attributes,l=e.styles,c=e.transform;if(ac(c)&&i.found&&!a.found){var f=i.width,d=i.height,v={x:f/d/2,y:.5};s.style=ws(le(le({},l),{},{"transform-origin":"".concat(v.x+c.x/16,"em ").concat(v.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:n}]}function B2(e){var n=e.prefix,i=e.iconName,a=e.children,s=e.attributes,l=e.symbol,c=l===!0?"".concat(n,"-").concat(pe.cssPrefix,"-").concat(i):l;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:le(le({},s),{},{id:c}),children:a}]}]}function uc(e){var n=e.icons,i=n.main,a=n.mask,s=e.prefix,l=e.iconName,c=e.transform,f=e.symbol,d=e.title,v=e.maskId,p=e.titleId,_=e.extra,A=e.watchable,R=A===void 0?!1:A,Y=a.found?a:i,q=Y.width,ne=Y.height,T=s==="fak",z=[pe.replacementClass,l?"".concat(pe.cssPrefix,"-").concat(l):""].filter(function(Pe){return _.classes.indexOf(Pe)===-1}).filter(function(Pe){return Pe!==""||!!Pe}).concat(_.classes).join(" "),K={children:[],attributes:le(le({},_.attributes),{},{"data-prefix":s,"data-icon":l,class:z,role:_.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(q," ").concat(ne)})},ae=T&&!~_.classes.indexOf("fa-fw")?{width:"".concat(q/ne*16*.0625,"em")}:{};R&&(K.attributes[qr]=""),d&&(K.children.push({tag:"title",attributes:{id:K.attributes["aria-labelledby"]||"title-".concat(p||ka())},children:[d]}),delete K.attributes.title);var ue=le(le({},K),{},{prefix:s,iconName:l,main:i,mask:a,maskId:v,transform:c,symbol:f,styles:le(le({},ae),_.styles)}),Se=a.found&&i.found?Qn("generateAbstractMask",ue)||{children:[],attributes:{}}:Qn("generateAbstractIcon",ue)||{children:[],attributes:{}},ge=Se.children,ye=Se.attributes;return ue.children=ge,ue.attributes=ye,f?B2(ue):D2(ue)}function $h(e){var n=e.content,i=e.width,a=e.height,s=e.transform,l=e.title,c=e.extra,f=e.watchable,d=f===void 0?!1:f,v=le(le(le({},c.attributes),l?{title:l}:{}),{},{class:c.classes.join(" ")});d&&(v[qr]="");var p=le({},c.styles);ac(s)&&(p.transform=p2({transform:s,startCentered:!0,width:i,height:a}),p["-webkit-transform"]=p.transform);var _=ws(p);_.length>0&&(v.style=_);var A=[];return A.push({tag:"span",attributes:v,children:[n]}),l&&A.push({tag:"span",attributes:{class:"sr-only"},children:[l]}),A}function $2(e){var n=e.content,i=e.title,a=e.extra,s=le(le(le({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")}),l=ws(a.styles);l.length>0&&(s.style=l);var c=[];return c.push({tag:"span",attributes:s,children:[n]}),i&&c.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),c}var jl=An.styles;function xu(e){var n=e[0],i=e[1],a=e.slice(4),s=Ju(a,1),l=s[0],c=null;return Array.isArray(l)?c={tag:"g",attributes:{class:"".concat(pe.cssPrefix,"-").concat(Hr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(Hr.SECONDARY),fill:"currentColor",d:l[0]}},{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(Hr.PRIMARY),fill:"currentColor",d:l[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:l}},{found:!0,width:n,height:i,icon:c}}var F2={found:!1,width:512,height:512};function U2(e,n){!Pg&&!pe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}function Au(e,n){var i=n;return n==="fa"&&pe.styleDefault!==null&&(n=Sr()),new Promise(function(a,s){if(Qn("missingIconAbstract"),i==="fa"){var l=Yg(e)||{};e=l.iconName||e,n=l.prefix||n}if(e&&n&&jl[n]&&jl[n][e]){var c=jl[n][e];return a(xu(c))}U2(e,n),a(le(le({},F2),{},{icon:pe.showMissingIcons&&e?Qn("missingIconAbstract")||{}:{}}))})}var Fh=function(){},Eu=pe.measurePerformance&&Po&&Po.mark&&Po.measure?Po:{mark:Fh,measure:Fh},sa='FA "6.2.1"',G2=function(n){return Eu.mark("".concat(sa," ").concat(n," begins")),function(){return Vg(n)}},Vg=function(n){Eu.mark("".concat(sa," ").concat(n," ends")),Eu.measure("".concat(sa," ").concat(n),"".concat(sa," ").concat(n," begins"),"".concat(sa," ").concat(n," ends"))},cc={begin:G2,end:Vg},jo=function(){};function Uh(e){var n=e.getAttribute?e.getAttribute(qr):null;return typeof n=="string"}function H2(e){var n=e.getAttribute?e.getAttribute(tc):null,i=e.getAttribute?e.getAttribute(nc):null;return n&&i}function z2(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(pe.replacementClass)}function W2(){if(pe.autoReplaceSvg===!0)return qo.replace;var e=qo[pe.autoReplaceSvg];return e||qo.replace}function Y2(e){return rt.createElementNS("http://www.w3.org/2000/svg",e)}function K2(e){return rt.createElement(e)}function jg(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.ceFn,a=i===void 0?e.tag==="svg"?Y2:K2:i;if(typeof e=="string")return rt.createTextNode(e);var s=a(e.tag);Object.keys(e.attributes||[]).forEach(function(c){s.setAttribute(c,e.attributes[c])});var l=e.children||[];return l.forEach(function(c){s.appendChild(jg(c,{ceFn:a}))}),s}function V2(e){var n=" ".concat(e.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var qo={replace:function(n){var i=n[0];if(i.parentNode)if(n[1].forEach(function(s){i.parentNode.insertBefore(jg(s),i)}),i.getAttribute(qr)===null&&pe.keepOriginalSource){var a=rt.createComment(V2(i));i.parentNode.replaceChild(a,i)}else i.remove()},nest:function(n){var i=n[0],a=n[1];if(~ic(i).indexOf(pe.replacementClass))return qo.replace(n);var s=new RegExp("".concat(pe.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var l=a[0].attributes.class.split(" ").reduce(function(f,d){return d===pe.replacementClass||d.match(s)?f.toSvg.push(d):f.toNode.push(d),f},{toNode:[],toSvg:[]});a[0].attributes.class=l.toSvg.join(" "),l.toNode.length===0?i.removeAttribute("class"):i.setAttribute("class",l.toNode.join(" "))}var c=a.map(function(f){return Da(f)}).join(` -`);i.setAttribute(qr,""),i.innerHTML=c}};function Gh(e){e()}function qg(e,n){var i=typeof n=="function"?n:jo;if(e.length===0)i();else{var a=Gh;pe.mutateApproach===ZE&&(a=Or.requestAnimationFrame||Gh),a(function(){var s=W2(),l=cc.begin("mutate");e.map(s),l(),i()})}}var fc=!1;function Xg(){fc=!0}function Ou(){fc=!1}var ns=null;function Hh(e){if(Th&&pe.observeMutations){var n=e.treeCallback,i=n===void 0?jo:n,a=e.nodeCallback,s=a===void 0?jo:a,l=e.pseudoElementsCallback,c=l===void 0?jo:l,f=e.observeMutationsRoot,d=f===void 0?rt:f;ns=new Th(function(v){if(!fc){var p=Sr();Gi(v).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!Uh(_.addedNodes[0])&&(pe.searchPseudoElements&&c(_.target),i(_.target)),_.type==="attributes"&&_.target.parentNode&&pe.searchPseudoElements&&c(_.target.parentNode),_.type==="attributes"&&Uh(_.target)&&~i2.indexOf(_.attributeName))if(_.attributeName==="class"&&H2(_.target)){var A=As(ic(_.target)),R=A.prefix,Y=A.iconName;_.target.setAttribute(tc,R||p),Y&&_.target.setAttribute(nc,Y)}else z2(_.target)&&s(_.target)})}}),er&&ns.observe(d,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function j2(){ns&&ns.disconnect()}function q2(e){var n=e.getAttribute("style"),i=[];return n&&(i=n.split(";").reduce(function(a,s){var l=s.split(":"),c=l[0],f=l.slice(1);return c&&f.length>0&&(a[c]=f.join(":").trim()),a},{})),i}function X2(e){var n=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"",s=As(ic(e));return s.prefix||(s.prefix=Sr()),n&&i&&(s.prefix=n,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&a.length>0&&(s.iconName=R2(s.prefix,e.innerText)||sc(s.prefix,bu(e.innerText))),!s.iconName&&pe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function Z2(e){var n=Gi(e.attributes).reduce(function(s,l){return s.name!=="class"&&s.name!=="style"&&(s[l.name]=l.value),s},{}),i=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return pe.autoA11y&&(i?n["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(a||ka()):(n["aria-hidden"]="true",n.focusable="false")),n}function Q2(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Mn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function zh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},i=X2(e),a=i.iconName,s=i.prefix,l=i.rest,c=Z2(e),f=yu("parseNodeAttributes",{},e),d=n.styleParser?q2(e):[];return le({iconName:a,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:Mn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:l,styles:d,attributes:c}},f)}var J2=An.styles;function Zg(e){var n=pe.autoReplaceSvg==="nest"?zh(e,{styleParser:!1}):zh(e);return~n.extra.classes.indexOf(Mg)?Qn("generateLayersText",e,n):Qn("generateSvgReplacementMutation",e,n)}var Rr=new Set;rc.map(function(e){Rr.add("fa-".concat(e))});Object.keys(Oa[nt]).map(Rr.add.bind(Rr));Object.keys(Oa[ct]).map(Rr.add.bind(Rr));Rr=Na(Rr);function Wh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!er)return Promise.resolve();var i=rt.documentElement.classList,a=function(_){return i.add("".concat(Ph,"-").concat(_))},s=function(_){return i.remove("".concat(Ph,"-").concat(_))},l=pe.autoFetchSvg?Rr:rc.map(function(p){return"fa-".concat(p)}).concat(Object.keys(J2));l.includes("fa")||l.push("fa");var c=[".".concat(Mg,":not([").concat(qr,"])")].concat(l.map(function(p){return".".concat(p,":not([").concat(qr,"])")})).join(", ");if(c.length===0)return Promise.resolve();var f=[];try{f=Gi(e.querySelectorAll(c))}catch{}if(f.length>0)a("pending"),s("complete");else return Promise.resolve();var d=cc.begin("onTree"),v=f.reduce(function(p,_){try{var A=Zg(_);A&&p.push(A)}catch(R){Pg||R.name==="MissingIcon"&&console.error(R)}return p},[]);return new Promise(function(p,_){Promise.all(v).then(function(A){qg(A,function(){a("active"),a("complete"),s("pending"),typeof n=="function"&&n(),d(),p()})}).catch(function(A){d(),_(A)})})}function eO(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Zg(e).then(function(i){i&&qg([i],n)})}function tO(e){return function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=(n||{}).icon?n:wu(n||{}),s=i.mask;return s&&(s=(s||{}).icon?s:wu(s||{})),e(a,le(le({},i),{},{mask:s}))}}var nO=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.transform,s=a===void 0?Mn:a,l=i.symbol,c=l===void 0?!1:l,f=i.mask,d=f===void 0?null:f,v=i.maskId,p=v===void 0?null:v,_=i.title,A=_===void 0?null:_,R=i.titleId,Y=R===void 0?null:R,q=i.classes,ne=q===void 0?[]:q,T=i.attributes,z=T===void 0?{}:T,K=i.styles,ae=K===void 0?{}:K;if(n){var ue=n.prefix,Se=n.iconName,ge=n.icon;return Es(le({type:"icon"},n),function(){return Xr("beforeDOMElementCreation",{iconDefinition:n,params:i}),pe.autoA11y&&(A?z["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(Y||ka()):(z["aria-hidden"]="true",z.focusable="false")),uc({icons:{main:xu(ge),mask:d?xu(d.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ue,iconName:Se,transform:le(le({},Mn),s),symbol:c,title:A,maskId:p,titleId:Y,extra:{attributes:z,styles:ae,classes:ne}})})}},rO={mixout:function(){return{icon:tO(nO)}},hooks:function(){return{mutationObserverCallbacks:function(i){return i.treeCallback=Wh,i.nodeCallback=eO,i}}},provides:function(n){n.i2svg=function(i){var a=i.node,s=a===void 0?rt:a,l=i.callback,c=l===void 0?function(){}:l;return Wh(s,c)},n.generateSvgReplacementMutation=function(i,a){var s=a.iconName,l=a.title,c=a.titleId,f=a.prefix,d=a.transform,v=a.symbol,p=a.mask,_=a.maskId,A=a.extra;return new Promise(function(R,Y){Promise.all([Au(s,f),p.iconName?Au(p.iconName,p.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(q){var ne=Ju(q,2),T=ne[0],z=ne[1];R([i,uc({icons:{main:T,mask:z},prefix:f,iconName:s,transform:d,symbol:v,maskId:_,title:l,titleId:c,extra:A,watchable:!0})])}).catch(Y)})},n.generateAbstractIcon=function(i){var a=i.children,s=i.attributes,l=i.main,c=i.transform,f=i.styles,d=ws(f);d.length>0&&(s.style=d);var v;return ac(c)&&(v=Qn("generateAbstractTransformGrouping",{main:l,transform:c,containerWidth:l.width,iconWidth:l.width})),a.push(v||l.icon),{children:a,attributes:s}}}},iO={mixout:function(){return{layer:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.classes,l=s===void 0?[]:s;return Es({type:"layer"},function(){Xr("beforeDOMElementCreation",{assembler:i,params:a});var c=[];return i(function(f){Array.isArray(f)?f.map(function(d){c=c.concat(d.abstract)}):c=c.concat(f.abstract)}),[{tag:"span",attributes:{class:["".concat(pe.cssPrefix,"-layers")].concat(Na(l)).join(" ")},children:c}]})}}}},aO={mixout:function(){return{counter:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.title,l=s===void 0?null:s,c=a.classes,f=c===void 0?[]:c,d=a.attributes,v=d===void 0?{}:d,p=a.styles,_=p===void 0?{}:p;return Es({type:"counter",content:i},function(){return Xr("beforeDOMElementCreation",{content:i,params:a}),$2({content:i.toString(),title:l,extra:{attributes:v,styles:_,classes:["".concat(pe.cssPrefix,"-layers-counter")].concat(Na(f))}})})}}}},oO={mixout:function(){return{text:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.transform,l=s===void 0?Mn:s,c=a.title,f=c===void 0?null:c,d=a.classes,v=d===void 0?[]:d,p=a.attributes,_=p===void 0?{}:p,A=a.styles,R=A===void 0?{}:A;return Es({type:"text",content:i},function(){return Xr("beforeDOMElementCreation",{content:i,params:a}),$h({content:i,transform:le(le({},Mn),l),title:f,extra:{attributes:_,styles:R,classes:["".concat(pe.cssPrefix,"-layers-text")].concat(Na(v))}})})}}},provides:function(n){n.generateLayersText=function(i,a){var s=a.title,l=a.transform,c=a.extra,f=null,d=null;if(kg){var v=parseInt(getComputedStyle(i).fontSize,10),p=i.getBoundingClientRect();f=p.width/v,d=p.height/v}return pe.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([i,$h({content:i.innerHTML,width:f,height:d,transform:l,title:s,extra:c,watchable:!0})])}}},sO=new RegExp('"',"ug"),Yh=[1105920,1112319];function lO(e){var n=e.replace(sO,""),i=w2(n,0),a=i>=Yh[0]&&i<=Yh[1],s=n.length===2?n[0]===n[1]:!1;return{value:bu(s?n[0]:n),isSecondary:a||s}}function Kh(e,n){var i="".concat(XE).concat(n.replace(":","-"));return new Promise(function(a,s){if(e.getAttribute(i)!==null)return a();var l=Gi(e.children),c=l.filter(function(ge){return ge.getAttribute(vu)===n})[0],f=Or.getComputedStyle(e,n),d=f.getPropertyValue("font-family").match(t2),v=f.getPropertyValue("font-weight"),p=f.getPropertyValue("content");if(c&&!d)return e.removeChild(c),a();if(d&&p!=="none"&&p!==""){var _=f.getPropertyValue("content"),A=~["Sharp"].indexOf(d[2])?ct:nt,R=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(d[2])?Sa[A][d[2].toLowerCase()]:n2[A][v],Y=lO(_),q=Y.value,ne=Y.isSecondary,T=d[0].startsWith("FontAwesome"),z=sc(R,q),K=z;if(T){var ae=C2(q);ae.iconName&&ae.prefix&&(z=ae.iconName,R=ae.prefix)}if(z&&!ne&&(!c||c.getAttribute(tc)!==R||c.getAttribute(nc)!==K)){e.setAttribute(i,K),c&&e.removeChild(c);var ue=Q2(),Se=ue.extra;Se.attributes[vu]=n,Au(z,R).then(function(ge){var ye=uc(le(le({},ue),{},{icons:{main:ge,mask:lc()},prefix:R,iconName:K,extra:Se,watchable:!0})),Pe=rt.createElement("svg");n==="::before"?e.insertBefore(Pe,e.firstChild):e.appendChild(Pe),Pe.outerHTML=ye.map(function(Qe){return Da(Qe)}).join(` -`),e.removeAttribute(i),a()}).catch(s)}else a()}else a()})}function uO(e){return Promise.all([Kh(e,"::before"),Kh(e,"::after")])}function cO(e){return e.parentNode!==document.head&&!~QE.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Vh(e){if(er)return new Promise(function(n,i){var a=Gi(e.querySelectorAll("*")).filter(cO).map(uO),s=cc.begin("searchPseudoElements");Xg(),Promise.all(a).then(function(){s(),Ou(),n()}).catch(function(){s(),Ou(),i()})})}var fO={hooks:function(){return{mutationObserverCallbacks:function(i){return i.pseudoElementsCallback=Vh,i}}},provides:function(n){n.pseudoElements2svg=function(i){var a=i.node,s=a===void 0?rt:a;pe.searchPseudoElements&&Vh(s)}}},jh=!1,dO={mixout:function(){return{dom:{unwatch:function(){Xg(),jh=!0}}}},hooks:function(){return{bootstrap:function(){Hh(yu("mutationObserverCallbacks",{}))},noAuto:function(){j2()},watch:function(i){var a=i.observeMutationsRoot;jh?Ou():Hh(yu("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},qh=function(n){var i={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(a,s){var l=s.toLowerCase().split("-"),c=l[0],f=l.slice(1).join("-");if(c&&f==="h")return a.flipX=!0,a;if(c&&f==="v")return a.flipY=!0,a;if(f=parseFloat(f),isNaN(f))return a;switch(c){case"grow":a.size=a.size+f;break;case"shrink":a.size=a.size-f;break;case"left":a.x=a.x-f;break;case"right":a.x=a.x+f;break;case"up":a.y=a.y-f;break;case"down":a.y=a.y+f;break;case"rotate":a.rotate=a.rotate+f;break}return a},i)},hO={mixout:function(){return{parse:{transform:function(i){return qh(i)}}}},hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-transform");return s&&(i.transform=qh(s)),i}}},provides:function(n){n.generateAbstractTransformGrouping=function(i){var a=i.main,s=i.transform,l=i.containerWidth,c=i.iconWidth,f={transform:"translate(".concat(l/2," 256)")},d="translate(".concat(s.x*32,", ").concat(s.y*32,") "),v="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),p="rotate(".concat(s.rotate," 0 0)"),_={transform:"".concat(d," ").concat(v," ").concat(p)},A={transform:"translate(".concat(c/2*-1," -256)")},R={outer:f,inner:_,path:A};return{tag:"g",attributes:le({},R.outer),children:[{tag:"g",attributes:le({},R.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:le(le({},a.icon.attributes),R.path)}]}]}}}},ql={x:0,y:0,width:"100%",height:"100%"};function Xh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}function pO(e){return e.tag==="g"?e.children:[e]}var gO={hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-mask"),l=s?As(s.split(" ").map(function(c){return c.trim()})):lc();return l.prefix||(l.prefix=Sr()),i.mask=l,i.maskId=a.getAttribute("data-fa-mask-id"),i}}},provides:function(n){n.generateAbstractMask=function(i){var a=i.children,s=i.attributes,l=i.main,c=i.mask,f=i.maskId,d=i.transform,v=l.width,p=l.icon,_=c.width,A=c.icon,R=h2({transform:d,containerWidth:_,iconWidth:v}),Y={tag:"rect",attributes:le(le({},ql),{},{fill:"white"})},q=p.children?{children:p.children.map(Xh)}:{},ne={tag:"g",attributes:le({},R.inner),children:[Xh(le({tag:p.tag,attributes:le(le({},p.attributes),R.path)},q))]},T={tag:"g",attributes:le({},R.outer),children:[ne]},z="mask-".concat(f||ka()),K="clip-".concat(f||ka()),ae={tag:"mask",attributes:le(le({},ql),{},{id:z,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Y,T]},ue={tag:"defs",children:[{tag:"clipPath",attributes:{id:K},children:pO(A)},ae]};return a.push(ue,{tag:"rect",attributes:le({fill:"currentColor","clip-path":"url(#".concat(K,")"),mask:"url(#".concat(z,")")},ql)}),{children:a,attributes:s}}}},mO={provides:function(n){var i=!1;Or.matchMedia&&(i=Or.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var a=[],s={fill:"currentColor"},l={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:le(le({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=le(le({},l),{},{attributeName:"opacity"}),f={tag:"circle",attributes:le(le({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return i||f.children.push({tag:"animate",attributes:le(le({},l),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:le(le({},c),{},{values:"1;0;1;1;0;1;"})}),a.push(f),a.push({tag:"path",attributes:le(le({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:i?[]:[{tag:"animate",attributes:le(le({},c),{},{values:"1;0;0;0;0;1;"})}]}),i||a.push({tag:"path",attributes:le(le({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:le(le({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},vO={hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-symbol"),l=s===null?!1:s===""?!0:s;return i.symbol=l,i}}}},bO=[m2,rO,iO,aO,oO,fO,dO,hO,gO,mO,vO];T2(bO,{mixoutsTo:rn});rn.noAuto;var Qg=rn.config,_O=rn.library;rn.dom;var rs=rn.parse;rn.findIconDefinition;rn.toHtml;var yO=rn.icon;rn.layer;var wO=rn.text;rn.counter;function Zh(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,a)}return i}function wn(e){for(var n=1;n=0)&&(i[s]=e[s]);return i}function AO(e,n){if(e==null)return{};var i=xO(e,n),a,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}function Su(e){return EO(e)||OO(e)||SO(e)||RO()}function EO(e){if(Array.isArray(e))return Ru(e)}function OO(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SO(e,n){if(e){if(typeof e=="string")return Ru(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ru(e,n)}}function Ru(e,n){(n==null||n>e.length)&&(n=e.length);for(var i=0,a=new Array(n);i1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var a=(e.children||[]).map(function(d){return dc(d)}),s=Object.keys(e.attributes||{}).reduce(function(d,v){var p=e.attributes[v];switch(v){case"class":d.class=PO(p);break;case"style":d.style=TO(p);break;default:d.attrs[v]=p}return d},{attrs:{},class:{},style:{}});i.class;var l=i.style,c=l===void 0?{}:l,f=AO(i,IO);return Ti(e.tag,wn(wn(wn({},n),{},{class:s.class,style:wn(wn({},s.style),c)},s.attrs),f),a)}var em=!1;try{em=!0}catch{}function MO(){if(!em&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ga(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?Kt({},e,n):{}}function NO(e){var n,i=(n={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Kt(n,"fa-".concat(e.size),e.size!==null),Kt(n,"fa-rotate-".concat(e.rotation),e.rotation!==null),Kt(n,"fa-pull-".concat(e.pull),e.pull!==null),Kt(n,"fa-swap-opacity",e.swapOpacity),Kt(n,"fa-bounce",e.bounce),Kt(n,"fa-shake",e.shake),Kt(n,"fa-beat",e.beat),Kt(n,"fa-fade",e.fade),Kt(n,"fa-beat-fade",e.beatFade),Kt(n,"fa-flash",e.flash),Kt(n,"fa-spin-pulse",e.spinPulse),Kt(n,"fa-spin-reverse",e.spinReverse),n);return Object.keys(i).map(function(a){return i[a]?a:null}).filter(function(a){return a})}function Qh(e){if(e&&is(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(rs.icon)return rs.icon(e);if(e===null)return null;if(is(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var LO=Fi({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(n){return[!0,!1,"horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(n){return[90,180,270].indexOf(Number.parseInt(n,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(n){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(n,i){var a=i.attrs,s=Ye(function(){return Qh(n.icon)}),l=Ye(function(){return ga("classes",NO(n))}),c=Ye(function(){return ga("transform",typeof n.transform=="string"?rs.transform(n.transform):n.transform)}),f=Ye(function(){return ga("mask",Qh(n.mask))}),d=Ye(function(){return yO(s.value,wn(wn(wn(wn({},l.value),c.value),f.value),{},{symbol:n.symbol,title:n.title}))});Ar(d,function(p){if(!p)return MO("Could not find one or more icon(s)",s.value,f.value)},{immediate:!0});var v=Ye(function(){return d.value?dc(d.value.abstract[0],{},a):null});return function(){return v.value}}});Fi({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(n,i){var a=i.slots,s=Qg.familyPrefix,l=Ye(function(){return["".concat(s,"-layers")].concat(Su(n.fixedWidth?["".concat(s,"-fw")]:[]))});return function(){return Ti("div",{class:l.value},a.default?a.default():[])}}});Fi({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(n){return["bottom-left","bottom-right","top-left","top-right"].indexOf(n)>-1}}},setup:function(n,i){var a=i.attrs,s=Qg.familyPrefix,l=Ye(function(){return ga("classes",[].concat(Su(n.counter?["".concat(s,"-layers-counter")]:[]),Su(n.position?["".concat(s,"-layers-").concat(n.position)]:[])))}),c=Ye(function(){return ga("transform",typeof n.transform=="string"?rs.transform(n.transform):n.transform)}),f=Ye(function(){var v=wO(n.value.toString(),wn(wn({},c.value),l.value)),p=v.abstract;return n.counter&&(p[0].attributes.class=p[0].attributes.class.replace("fa-layers-text","")),p[0]}),d=Ye(function(){return dc(f.value,{},a)});return function(){return d.value}}});var ia=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hc={exports:{}};function pc(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(n){var i=e[n];typeof i=="object"&&!Object.isFrozen(i)&&pc(i)}),e}hc.exports=pc;hc.exports.default=pc;class Jh{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function tm(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function br(e,...n){const i=Object.create(null);for(const a in e)i[a]=e[a];return n.forEach(function(a){for(const s in a)i[s]=a[s]}),i}const DO="",ep=e=>!!e.scope||e.sublanguage&&e.language,BO=(e,{prefix:n})=>{if(e.includes(".")){const i=e.split(".");return[`${n}${i.shift()}`,...i.map((a,s)=>`${a}${"_".repeat(s+1)}`)].join(" ")}return`${n}${e}`};class $O{constructor(n,i){this.buffer="",this.classPrefix=i.classPrefix,n.walk(this)}addText(n){this.buffer+=tm(n)}openNode(n){if(!ep(n))return;let i="";n.sublanguage?i=`language-${n.language}`:i=BO(n.scope,{prefix:this.classPrefix}),this.span(i)}closeNode(n){ep(n)&&(this.buffer+=DO)}value(){return this.buffer}span(n){this.buffer+=``}}const tp=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class gc{constructor(){this.rootNode=tp(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const i=tp({scope:n});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,i){return typeof i=="string"?n.addText(i):i.children&&(n.openNode(i),i.children.forEach(a=>this._walk(n,a)),n.closeNode(i)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(i=>typeof i=="string")?n.children=[n.children.join("")]:n.children.forEach(i=>{gc._collapse(i)}))}}class FO extends gc{constructor(n){super(),this.options=n}addKeyword(n,i){n!==""&&(this.openNode(i),this.addText(n),this.closeNode())}addText(n){n!==""&&this.add(n)}addSublanguage(n,i){const a=n.root;a.sublanguage=!0,a.language=i,this.add(a)}toHTML(){return new $O(this,this.options).value()}finalize(){return!0}}function Ia(e){return e?typeof e=="string"?e:e.source:null}function nm(e){return Zr("(?=",e,")")}function UO(e){return Zr("(?:",e,")*")}function GO(e){return Zr("(?:",e,")?")}function Zr(...e){return e.map(i=>Ia(i)).join("")}function HO(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function mc(...e){return"("+(HO(e).capture?"":"?:")+e.map(a=>Ia(a)).join("|")+")"}function rm(e){return new RegExp(e.toString()+"|").exec("").length-1}function zO(e,n){const i=e&&e.exec(n);return i&&i.index===0}const WO=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function vc(e,{joinWith:n}){let i=0;return e.map(a=>{i+=1;const s=i;let l=Ia(a),c="";for(;l.length>0;){const f=WO.exec(l);if(!f){c+=l;break}c+=l.substring(0,f.index),l=l.substring(f.index+f[0].length),f[0][0]==="\\"&&f[1]?c+="\\"+String(Number(f[1])+s):(c+=f[0],f[0]==="("&&i++)}return c}).map(a=>`(${a})`).join(n)}const YO=/\b\B/,im="[a-zA-Z]\\w*",bc="[a-zA-Z_]\\w*",am="\\b\\d+(\\.\\d+)?",om="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",sm="\\b(0b[01]+)",KO="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",VO=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=Zr(n,/.*\b/,e.binary,/\b.*/)),br({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(i,a)=>{i.index!==0&&a.ignoreMatch()}},e)},Ta={begin:"\\\\[\\s\\S]",relevance:0},jO={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ta]},qO={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ta]},XO={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Os=function(e,n,i={}){const a=br({scope:"comment",begin:e,end:n,contains:[]},i);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=mc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:Zr(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},ZO=Os("//","$"),QO=Os("/\\*","\\*/"),JO=Os("#","$"),eS={scope:"number",begin:am,relevance:0},tS={scope:"number",begin:om,relevance:0},nS={scope:"number",begin:sm,relevance:0},rS={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Ta,{begin:/\[/,end:/\]/,relevance:0,contains:[Ta]}]}]},iS={scope:"title",begin:im,relevance:0},aS={scope:"title",begin:bc,relevance:0},oS={begin:"\\.\\s*"+bc,relevance:0},sS=function(e){return Object.assign(e,{"on:begin":(n,i)=>{i.data._beginMatch=n[1]},"on:end":(n,i)=>{i.data._beginMatch!==n[1]&&i.ignoreMatch()}})};var Go=Object.freeze({__proto__:null,MATCH_NOTHING_RE:YO,IDENT_RE:im,UNDERSCORE_IDENT_RE:bc,NUMBER_RE:am,C_NUMBER_RE:om,BINARY_NUMBER_RE:sm,RE_STARTERS_RE:KO,SHEBANG:VO,BACKSLASH_ESCAPE:Ta,APOS_STRING_MODE:jO,QUOTE_STRING_MODE:qO,PHRASAL_WORDS_MODE:XO,COMMENT:Os,C_LINE_COMMENT_MODE:ZO,C_BLOCK_COMMENT_MODE:QO,HASH_COMMENT_MODE:JO,NUMBER_MODE:eS,C_NUMBER_MODE:tS,BINARY_NUMBER_MODE:nS,REGEXP_MODE:rS,TITLE_MODE:iS,UNDERSCORE_TITLE_MODE:aS,METHOD_GUARD:oS,END_SAME_AS_BEGIN:sS});function lS(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function uS(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function cS(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=lS,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function fS(e,n){Array.isArray(e.illegal)&&(e.illegal=mc(...e.illegal))}function dS(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function hS(e,n){e.relevance===void 0&&(e.relevance=1)}const pS=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(a=>{delete e[a]}),e.keywords=i.keywords,e.begin=Zr(i.beforeMatch,nm(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},gS=["of","and","for","in","not","or","if","then","parent","list","value"],mS="keyword";function lm(e,n,i=mS){const a=Object.create(null);return typeof e=="string"?s(i,e.split(" ")):Array.isArray(e)?s(i,e):Object.keys(e).forEach(function(l){Object.assign(a,lm(e[l],n,l))}),a;function s(l,c){n&&(c=c.map(f=>f.toLowerCase())),c.forEach(function(f){const d=f.split("|");a[d[0]]=[l,vS(d[0],d[1])]})}}function vS(e,n){return n?Number(n):bS(e)?0:1}function bS(e){return gS.includes(e.toLowerCase())}const np={},Kr=e=>{console.error(e)},rp=(e,...n)=>{console.log(`WARN: ${e}`,...n)},gi=(e,n)=>{np[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),np[`${e}/${n}`]=!0)},as=new Error;function um(e,n,{key:i}){let a=0;const s=e[i],l={},c={};for(let f=1;f<=n.length;f++)c[f+a]=s[f],l[f+a]=!0,a+=rm(n[f-1]);e[i]=c,e[i]._emit=l,e[i]._multi=!0}function _S(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Kr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),as;if(typeof e.beginScope!="object"||e.beginScope===null)throw Kr("beginScope must be object"),as;um(e,e.begin,{key:"beginScope"}),e.begin=vc(e.begin,{joinWith:""})}}function yS(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Kr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),as;if(typeof e.endScope!="object"||e.endScope===null)throw Kr("endScope must be object"),as;um(e,e.end,{key:"endScope"}),e.end=vc(e.end,{joinWith:""})}}function wS(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xS(e){wS(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),_S(e),yS(e)}function AS(e){function n(c,f){return new RegExp(Ia(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(f?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(f,d){d.position=this.position++,this.matchIndexes[this.matchAt]=d,this.regexes.push([d,f]),this.matchAt+=rm(f)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const f=this.regexes.map(d=>d[1]);this.matcherRe=n(vc(f,{joinWith:"|"}),!0),this.lastIndex=0}exec(f){this.matcherRe.lastIndex=this.lastIndex;const d=this.matcherRe.exec(f);if(!d)return null;const v=d.findIndex((_,A)=>A>0&&_!==void 0),p=this.matchIndexes[v];return d.splice(0,v),Object.assign(d,p)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(f){if(this.multiRegexes[f])return this.multiRegexes[f];const d=new i;return this.rules.slice(f).forEach(([v,p])=>d.addRule(v,p)),d.compile(),this.multiRegexes[f]=d,d}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(f,d){this.rules.push([f,d]),d.type==="begin"&&this.count++}exec(f){const d=this.getMatcher(this.regexIndex);d.lastIndex=this.lastIndex;let v=d.exec(f);if(this.resumingScanAtSamePosition()&&!(v&&v.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,v=p.exec(f)}return v&&(this.regexIndex+=v.position+1,this.regexIndex===this.count&&this.considerAll()),v}}function s(c){const f=new a;return c.contains.forEach(d=>f.addRule(d.begin,{rule:d,type:"begin"})),c.terminatorEnd&&f.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&f.addRule(c.illegal,{type:"illegal"}),f}function l(c,f){const d=c;if(c.isCompiled)return d;[uS,dS,xS,pS].forEach(p=>p(c,f)),e.compilerExtensions.forEach(p=>p(c,f)),c.__beforeBegin=null,[cS,fS,hS].forEach(p=>p(c,f)),c.isCompiled=!0;let v=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),v=c.keywords.$pattern,delete c.keywords.$pattern),v=v||/\w+/,c.keywords&&(c.keywords=lm(c.keywords,e.case_insensitive)),d.keywordPatternRe=n(v,!0),f&&(c.begin||(c.begin=/\B|\b/),d.beginRe=n(d.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(d.endRe=n(d.end)),d.terminatorEnd=Ia(d.end)||"",c.endsWithParent&&f.terminatorEnd&&(d.terminatorEnd+=(c.end?"|":"")+f.terminatorEnd)),c.illegal&&(d.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(p){return ES(p==="self"?c:p)})),c.contains.forEach(function(p){l(p,d)}),c.starts&&l(c.starts,f),d.matcher=s(d),d}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=br(e.classNameAliases||{}),l(e)}function cm(e){return e?e.endsWithParent||cm(e.starts):!1}function ES(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return br(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:cm(e)?br(e,{starts:e.starts?br(e.starts):null}):Object.isFrozen(e)?br(e):e}var OS="11.7.0";class SS extends Error{constructor(n,i){super(n),this.name="HTMLInjectionError",this.html=i}}const Xl=tm,ip=br,ap=Symbol("nomatch"),RS=7,CS=function(e){const n=Object.create(null),i=Object.create(null),a=[];let s=!0;const l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let f={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:FO};function d(G){return f.noHighlightRe.test(G)}function v(G){let V=G.className+" ";V+=G.parentNode?G.parentNode.className:"";const X=f.languageDetectRe.exec(V);if(X){const we=Pe(X[1]);return we||(rp(l.replace("{}",X[1])),rp("Falling back to no-highlight mode for this block.",G)),we?X[1]:"no-highlight"}return V.split(/\s+/).find(we=>d(we)||Pe(we))}function p(G,V,X){let we="",Le="";typeof V=="object"?(we=G,X=V.ignoreIllegals,Le=V.language):(gi("10.7.0","highlight(lang, code, ...args) has been deprecated."),gi("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),Le=G,we=V),X===void 0&&(X=!0);const Ne={code:we,language:Le};st("before:highlight",Ne);const Ke=Ne.result?Ne.result:_(Ne.language,Ne.code,X);return Ke.code=Ne.code,st("after:highlight",Ke),Ke}function _(G,V,X,we){const Le=Object.create(null);function Ne(L,j){return L.keywords[j]}function Ke(){if(!k.keywords){H.addText(F);return}let L=0;k.keywordPatternRe.lastIndex=0;let j=k.keywordPatternRe.exec(F),re="";for(;j;){re+=F.substring(L,j.index);const ce=S.case_insensitive?j[0].toLowerCase():j[0],Ce=Ne(k,ce);if(Ce){const[et,an]=Ce;if(H.addText(re),re="",Le[ce]=(Le[ce]||0)+1,Le[ce]<=RS&&($+=an),et.startsWith("_"))re+=j[0];else{const tr=S.classNameAliases[et]||et;H.addKeyword(j[0],tr)}}else re+=j[0];L=k.keywordPatternRe.lastIndex,j=k.keywordPatternRe.exec(F)}re+=F.substring(L),H.addText(re)}function jt(){if(F==="")return;let L=null;if(typeof k.subLanguage=="string"){if(!n[k.subLanguage]){H.addText(F);return}L=_(k.subLanguage,F,!0,Q[k.subLanguage]),Q[k.subLanguage]=L._top}else L=R(F,k.subLanguage.length?k.subLanguage:null);k.relevance>0&&($+=L.relevance),H.addSublanguage(L._emitter,L.language)}function _t(){k.subLanguage!=null?jt():Ke(),F=""}function N(L,j){let re=1;const ce=j.length-1;for(;re<=ce;){if(!L._emit[re]){re++;continue}const Ce=S.classNameAliases[L[re]]||L[re],et=j[re];Ce?H.addKeyword(et,Ce):(F=et,Ke(),F=""),re++}}function J(L,j){return L.scope&&typeof L.scope=="string"&&H.openNode(S.classNameAliases[L.scope]||L.scope),L.beginScope&&(L.beginScope._wrap?(H.addKeyword(F,S.classNameAliases[L.beginScope._wrap]||L.beginScope._wrap),F=""):L.beginScope._multi&&(N(L.beginScope,j),F="")),k=Object.create(L,{parent:{value:k}}),k}function Z(L,j,re){let ce=zO(L.endRe,re);if(ce){if(L["on:end"]){const Ce=new Jh(L);L["on:end"](j,Ce),Ce.isMatchIgnored&&(ce=!1)}if(ce){for(;L.endsParent&&L.parent;)L=L.parent;return L}}if(L.endsWithParent)return Z(L.parent,j,re)}function fe(L){return k.matcher.regexIndex===0?(F+=L[0],1):(me=!0,0)}function Re(L){const j=L[0],re=L.rule,ce=new Jh(re),Ce=[re.__beforeBegin,re["on:begin"]];for(const et of Ce)if(et&&(et(L,ce),ce.isMatchIgnored))return fe(j);return re.skip?F+=j:(re.excludeBegin&&(F+=j),_t(),!re.returnBegin&&!re.excludeBegin&&(F=j)),J(re,L),re.returnBegin?0:j.length}function je(L){const j=L[0],re=V.substring(L.index),ce=Z(k,L,re);if(!ce)return ap;const Ce=k;k.endScope&&k.endScope._wrap?(_t(),H.addKeyword(j,k.endScope._wrap)):k.endScope&&k.endScope._multi?(_t(),N(k.endScope,L)):Ce.skip?F+=j:(Ce.returnEnd||Ce.excludeEnd||(F+=j),_t(),Ce.excludeEnd&&(F=j));do k.scope&&H.closeNode(),!k.skip&&!k.subLanguage&&($+=k.relevance),k=k.parent;while(k!==ce.parent);return ce.starts&&J(ce.starts,L),Ce.returnEnd?0:j.length}function xe(){const L=[];for(let j=k;j!==S;j=j.parent)j.scope&&L.unshift(j.scope);L.forEach(j=>H.openNode(j))}let b={};function x(L,j){const re=j&&j[0];if(F+=L,re==null)return _t(),0;if(b.type==="begin"&&j.type==="end"&&b.index===j.index&&re===""){if(F+=V.slice(j.index,j.index+1),!s){const ce=new Error(`0 width match regex (${G})`);throw ce.languageName=G,ce.badRule=b.rule,ce}return 1}if(b=j,j.type==="begin")return Re(j);if(j.type==="illegal"&&!X){const ce=new Error('Illegal lexeme "'+re+'" for mode "'+(k.scope||"")+'"');throw ce.mode=k,ce}else if(j.type==="end"){const ce=je(j);if(ce!==ap)return ce}if(j.type==="illegal"&&re==="")return 1;if(ie>1e5&&ie>j.index*3)throw new Error("potential infinite loop, way more iterations than matches");return F+=re,re.length}const S=Pe(G);if(!S)throw Kr(l.replace("{}",G)),new Error('Unknown language: "'+G+'"');const M=AS(S);let U="",k=we||M;const Q={},H=new f.__emitter(f);xe();let F="",$=0,oe=0,ie=0,me=!1;try{for(k.matcher.considerAll();;){ie++,me?me=!1:k.matcher.considerAll(),k.matcher.lastIndex=oe;const L=k.matcher.exec(V);if(!L)break;const j=V.substring(oe,L.index),re=x(j,L);oe=L.index+re}return x(V.substring(oe)),H.closeAllNodes(),H.finalize(),U=H.toHTML(),{language:G,value:U,relevance:$,illegal:!1,_emitter:H,_top:k}}catch(L){if(L.message&&L.message.includes("Illegal"))return{language:G,value:Xl(V),illegal:!0,relevance:0,_illegalBy:{message:L.message,index:oe,context:V.slice(oe-100,oe+100),mode:L.mode,resultSoFar:U},_emitter:H};if(s)return{language:G,value:Xl(V),illegal:!1,relevance:0,errorRaised:L,_emitter:H,_top:k};throw L}}function A(G){const V={value:Xl(G),illegal:!1,relevance:0,_top:c,_emitter:new f.__emitter(f)};return V._emitter.addText(G),V}function R(G,V){V=V||f.languages||Object.keys(n);const X=A(G),we=V.filter(Pe).filter(ht).map(_t=>_(_t,G,!1));we.unshift(X);const Le=we.sort((_t,N)=>{if(_t.relevance!==N.relevance)return N.relevance-_t.relevance;if(_t.language&&N.language){if(Pe(_t.language).supersetOf===N.language)return 1;if(Pe(N.language).supersetOf===_t.language)return-1}return 0}),[Ne,Ke]=Le,jt=Ne;return jt.secondBest=Ke,jt}function Y(G,V,X){const we=V&&i[V]||X;G.classList.add("hljs"),G.classList.add(`language-${we}`)}function q(G){let V=null;const X=v(G);if(d(X))return;if(st("before:highlightElement",{el:G,language:X}),G.children.length>0&&(f.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(G)),f.throwUnescapedHTML))throw new SS("One of your code blocks includes unescaped HTML.",G.innerHTML);V=G;const we=V.textContent,Le=X?p(we,{language:X,ignoreIllegals:!0}):R(we);G.innerHTML=Le.value,Y(G,X,Le.language),G.result={language:Le.language,re:Le.relevance,relevance:Le.relevance},Le.secondBest&&(G.secondBest={language:Le.secondBest.language,relevance:Le.secondBest.relevance}),st("after:highlightElement",{el:G,result:Le,text:we})}function ne(G){f=ip(f,G)}const T=()=>{ae(),gi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function z(){ae(),gi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let K=!1;function ae(){if(document.readyState==="loading"){K=!0;return}document.querySelectorAll(f.cssSelector).forEach(q)}function ue(){K&&ae()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",ue,!1);function Se(G,V){let X=null;try{X=V(e)}catch(we){if(Kr("Language definition for '{}' could not be registered.".replace("{}",G)),s)Kr(we);else throw we;X=c}X.name||(X.name=G),n[G]=X,X.rawDefinition=V.bind(null,e),X.aliases&&Qe(X.aliases,{languageName:G})}function ge(G){delete n[G];for(const V of Object.keys(i))i[V]===G&&delete i[V]}function ye(){return Object.keys(n)}function Pe(G){return G=(G||"").toLowerCase(),n[G]||n[i[G]]}function Qe(G,{languageName:V}){typeof G=="string"&&(G=[G]),G.forEach(X=>{i[X.toLowerCase()]=V})}function ht(G){const V=Pe(G);return V&&!V.disableAutodetect}function Ot(G){G["before:highlightBlock"]&&!G["before:highlightElement"]&&(G["before:highlightElement"]=V=>{G["before:highlightBlock"](Object.assign({block:V.el},V))}),G["after:highlightBlock"]&&!G["after:highlightElement"]&&(G["after:highlightElement"]=V=>{G["after:highlightBlock"](Object.assign({block:V.el},V))})}function Ut(G){Ot(G),a.push(G)}function st(G,V){const X=G;a.forEach(function(we){we[X]&&we[X](V)})}function Je(G){return gi("10.7.0","highlightBlock will be removed entirely in v12.0"),gi("10.7.0","Please use highlightElement now."),q(G)}Object.assign(e,{highlight:p,highlightAuto:R,highlightAll:ae,highlightElement:q,highlightBlock:Je,configure:ne,initHighlighting:T,initHighlightingOnLoad:z,registerLanguage:Se,unregisterLanguage:ge,listLanguages:ye,getLanguage:Pe,registerAliases:Qe,autoDetection:ht,inherit:ip,addPlugin:Ut}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=OS,e.regex={concat:Zr,lookahead:nm,either:mc,optional:GO,anyNumberOfTimes:UO};for(const G in Go)typeof Go[G]=="object"&&hc.exports(Go[G]);return Object.assign(e,Go),e};var Pa=CS({}),kS=Pa;Pa.HighlightJS=Pa;Pa.default=Pa;const Si=kS,op="[A-Za-z$_][0-9A-Za-z$_]*",IS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],TS=["true","false","null","undefined","NaN","Infinity"],fm=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],dm=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hm=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],PS=["arguments","this","super","console","window","document","localStorage","module","global"],MS=[].concat(hm,fm,dm);function NS(e){const n=e.regex,i=(V,{after:X})=>{const we="",end:""},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,X)=>{const we=V[0].length+V.index,Le=V.input[we];if(Le==="<"||Le===","){X.ignoreMatch();return}Le===">"&&(i(V,{after:we})||X.ignoreMatch());let Ne;const Ke=V.input.substring(we);if(Ne=Ke.match(/^\s*=/)){X.ignoreMatch();return}if((Ne=Ke.match(/^\s+extends\s+/))&&Ne.index===0){X.ignoreMatch();return}}},f={$pattern:op,keyword:IS,literal:TS,built_in:MS,"variable.language":PS},d="[0-9](_?[0-9])*",v=`\\.(${d})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",_={className:"number",variants:[{begin:`(\\b(${p})((${v})|\\.)?|(${v}))[eE][+-]?(${d})\\b`},{begin:`\\b(${p})\\b((${v})\\b|\\.)?|(${v})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:f,contains:[]},R={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},Y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,A],subLanguage:"css"}},q={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,A]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},z=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,R,Y,q,{match:/\$\d+/},_];A.contains=z.concat({begin:/\{/,end:/\}/,keywords:f,contains:["self"].concat(z)});const K=[].concat(T,A.contains),ae=K.concat([{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(K)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:ae},Se={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,n.concat(a,"(",n.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},ge={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...fm,...dm]}},ye={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Pe={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ue],illegal:/%/},Qe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ht(V){return n.concat("(?!",V.join("|"),")")}const Ot={match:n.concat(/\b/,ht([...hm,"super","import"]),a,n.lookahead(/\(/)),className:"title.function",relevance:0},Ut={begin:n.concat(/\./,n.lookahead(n.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},st={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},Je="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",G={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(Je)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ue]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:f,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:ge},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ye,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,R,Y,q,T,{match:/\$\d+/},_,ge,{className:"attr",begin:a+n.lookahead(":"),relevance:0},G,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:Je,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},Pe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ue,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ut,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ue]},Ot,Qe,Se,st,{match:/\$[(.]/}]}}const LS=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),DS=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],BS=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],$S=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],FS=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],US=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function GS(e){const n=e.regex,i=LS(e),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",l=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",f=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[i.BLOCK_COMMENT,a,i.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+$S.join("|")+")"},{begin:":(:)?("+FS.join("|")+")"}]},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+US.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[i.BLOCK_COMMENT,i.HEXCOLOR,i.IMPORTANT,i.CSS_NUMBER_MODE,...f,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...f,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},i.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:l},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:BS.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...f,i.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+DS.join("|")+")\\b"}]}}function HS(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var sp=Fi({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var n=mt(e.language);Ar(function(){return e.language},function(s){n.value=s});var i=Ye(function(){return e.autodetect||!n.value}),a=Ye(function(){return!i.value&&!Si.getLanguage(n.value)});return{className:Ye(function(){return a.value?"":"hljs "+n.value}),highlightedCode:Ye(function(){var s;if(a.value)return console.warn('The language "'+n.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(i.value){var l=Si.highlightAuto(e.code);return n.value=(s=l.language)!==null&&s!==void 0?s:"",l.value}return(l=Si.highlight(e.code,{language:n.value,ignoreIllegals:e.ignoreIllegals})).value})}},render:function(){return Ti("pre",{},[Ti("code",{class:this.className,innerHTML:this.highlightedCode,tabindex:"0"})])}}),zS={install:function(e){e.component("highlightjs",sp)},component:sp};var WS={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]};const YS=()=>{_O.add(WS)},Ss=(e,n)=>{const i=e.__vccOpts||e;for(const[a,s]of n)i[a]=s;return i},KS={};function VS(e,n){const i=Ln("RouterView");return Xe(),fa(i,{class:"h-full w-full"})}const jS=Ss(KS,[["render",VS]]);/*! +}`;function Bg(){var e=Ig,n=Tg,i=pe.cssPrefix,a=pe.replacementClass,s=g2;if(i!==e||a!==n){var l=new RegExp("\\.".concat(e,"\\-"),"g"),c=new RegExp("\\--".concat(e,"\\-"),"g"),f=new RegExp("\\.".concat(n),"g");s=s.replace(l,".".concat(i,"-")).replace(c,"--".concat(i,"-")).replace(f,".".concat(a))}return s}var Mh=!1;function Vl(){pe.autoAddCss&&!Mh&&(c2(Bg()),Mh=!0)}var m2={mixout:function(){return{dom:{css:Bg,insertCss:Vl}}},hooks:function(){return{beforeDOMElementCreation:function(){Vl()},beforeI2svg:function(){Vl()}}}},Zn=Sr||{};Zn[Xn]||(Zn[Xn]={});Zn[Xn].styles||(Zn[Xn].styles={});Zn[Xn].hooks||(Zn[Xn].hooks={});Zn[Xn].shims||(Zn[Xn].shims=[]);var An=Zn[Xn],$g=[],v2=function e(){rt.removeEventListener("DOMContentLoaded",e),ts=1,$g.map(function(n){return n()})},ts=!1;er&&(ts=(rt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(rt.readyState),ts||rt.addEventListener("DOMContentLoaded",v2));function b2(e){er&&(ts?setTimeout(e,0):$g.push(e))}function Da(e){var n=e.tag,i=e.attributes,a=i===void 0?{}:i,s=e.children,l=s===void 0?[]:s;return typeof e=="string"?Dg(e):"<".concat(n," ").concat(d2(a),">").concat(l.map(Da).join(""),"")}function Nh(e,n,i){if(e&&e[n]&&e[n][i])return{prefix:n,iconName:i,icon:e[n][i]}}var _2=function(n,i){return function(a,s,l,c){return n.call(i,a,s,l,c)}},Kl=function(n,i,a,s){var l=Object.keys(n),c=l.length,f=s!==void 0?_2(i,s):i,d,v,p;for(a===void 0?(d=1,p=n[l[0]]):(d=0,p=a);d=55296&&s<=56319&&i=55296&&a<=56319&&i>n+1&&(s=e.charCodeAt(n+1),s>=56320&&s<=57343)?(a-55296)*1024+s-56320+65536:a}function Lh(e){return Object.keys(e).reduce(function(n,i){var a=e[i],s=!!a.icon;return s?n[a.iconName]=a.icon:n[i]=a,n},{})}function _u(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=i.skipHooks,s=a===void 0?!1:a,l=Lh(n);typeof An.hooks.addPack=="function"&&!s?An.hooks.addPack(e,Lh(n)):An.styles[e]=le(le({},An.styles[e]||{}),l),e==="fas"&&_u("fa",n)}var $o,Fo,Uo,yi=An.styles,x2=An.shims,A2=($o={},Et($o,nt,Object.values(Ra[nt])),Et($o,ft,Object.values(Ra[ft])),$o),oc=null,Fg={},Ug={},Gg={},Hg={},zg={},E2=(Fo={},Et(Fo,nt,Object.keys(Oa[nt])),Et(Fo,ft,Object.keys(Oa[ft])),Fo);function O2(e){return~a2.indexOf(e)}function S2(e,n){var i=n.split("-"),a=i[0],s=i.slice(1).join("-");return a===e&&s!==""&&!O2(s)?s:null}var Wg=function(){var n=function(l){return Kl(yi,function(c,f,d){return c[d]=Kl(f,l,{}),c},{})};Fg=n(function(s,l,c){if(l[3]&&(s[l[3]]=c),l[2]){var f=l[2].filter(function(d){return typeof d=="number"});f.forEach(function(d){s[d.toString(16)]=c})}return s}),Ug=n(function(s,l,c){if(s[c]=c,l[2]){var f=l[2].filter(function(d){return typeof d=="string"});f.forEach(function(d){s[d]=c})}return s}),zg=n(function(s,l,c){var f=l[2];return s[c]=c,f.forEach(function(d){s[d]=c}),s});var i="far"in yi||pe.autoFetchSvg,a=Kl(x2,function(s,l){var c=l[0],f=l[1],d=l[2];return f==="far"&&!i&&(f="fas"),typeof c=="string"&&(s.names[c]={prefix:f,iconName:d}),typeof c=="number"&&(s.unicodes[c.toString(16)]={prefix:f,iconName:d}),s},{names:{},unicodes:{}});Gg=a.names,Hg=a.unicodes,oc=xs(pe.styleDefault,{family:pe.familyDefault})};u2(function(e){oc=xs(e.styleDefault,{family:pe.familyDefault})});Wg();function sc(e,n){return(Fg[e]||{})[n]}function R2(e,n){return(Ug[e]||{})[n]}function Wr(e,n){return(zg[e]||{})[n]}function Yg(e){return Gg[e]||{prefix:null,iconName:null}}function C2(e){var n=Hg[e],i=sc("fas",e);return n||(i?{prefix:"fas",iconName:i}:null)||{prefix:null,iconName:null}}function Rr(){return oc}var lc=function(){return{prefix:null,iconName:null,rest:[]}};function xs(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.family,a=i===void 0?nt:i,s=Oa[a][e],l=Sa[a][e]||Sa[a][s],c=e in An.styles?e:null;return l||c||null}var Dh=(Uo={},Et(Uo,nt,Object.keys(Ra[nt])),Et(Uo,ft,Object.keys(Ra[ft])),Uo);function As(e){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.skipLookups,s=a===void 0?!1:a,l=(n={},Et(n,nt,"".concat(pe.cssPrefix,"-").concat(nt)),Et(n,ft,"".concat(pe.cssPrefix,"-").concat(ft)),n),c=null,f=nt;(e.includes(l[nt])||e.some(function(v){return Dh[nt].includes(v)}))&&(f=nt),(e.includes(l[ft])||e.some(function(v){return Dh[ft].includes(v)}))&&(f=ft);var d=e.reduce(function(v,p){var _=S2(pe.cssPrefix,p);if(yi[p]?(p=A2[f].includes(p)?JE[f][p]:p,c=p,v.prefix=p):E2[f].indexOf(p)>-1?(c=p,v.prefix=xs(p,{family:f})):_?v.iconName=_:p!==pe.replacementClass&&p!==l[nt]&&p!==l[ft]&&v.rest.push(p),!s&&v.prefix&&v.iconName){var A=c==="fa"?Yg(v.iconName):{},R=Wr(v.prefix,v.iconName);A.prefix&&(c=null),v.iconName=A.iconName||R||v.iconName,v.prefix=A.prefix||v.prefix,v.prefix==="far"&&!yi.far&&yi.fas&&!pe.autoFetchSvg&&(v.prefix="fas")}return v},lc());return(e.includes("fa-brands")||e.includes("fab"))&&(d.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(d.prefix="fad"),!d.prefix&&f===ft&&(yi.fass||pe.autoFetchSvg)&&(d.prefix="fass",d.iconName=Wr(d.prefix,d.iconName)||d.iconName),(d.prefix==="fa"||c==="fa")&&(d.prefix=Rr()||"fas"),d}var k2=function(){function e(){GE(this,e),this.definitions={}}return HE(e,[{key:"add",value:function(){for(var i=this,a=arguments.length,s=new Array(a),l=0;l0&&p.forEach(function(_){typeof _=="string"&&(i[f][_]=v)}),i[f][d]=v}),i}}]),e}(),Bh=[],wi={},Oi={},I2=Object.keys(Oi);function T2(e,n){var i=n.mixoutsTo;return Bh=e,wi={},Object.keys(Oi).forEach(function(a){I2.indexOf(a)===-1&&delete Oi[a]}),Bh.forEach(function(a){var s=a.mixout?a.mixout():{};if(Object.keys(s).forEach(function(c){typeof s[c]=="function"&&(i[c]=s[c]),es(s[c])==="object"&&Object.keys(s[c]).forEach(function(f){i[c]||(i[c]={}),i[c][f]=s[c][f]})}),a.hooks){var l=a.hooks();Object.keys(l).forEach(function(c){wi[c]||(wi[c]=[]),wi[c].push(l[c])})}a.provides&&a.provides(Oi)}),i}function yu(e,n){for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s1?n-1:0),a=1;a0&&arguments[0]!==void 0?arguments[0]:{};return er?(Xr("beforeI2svg",n),Qn("pseudoElements2svg",n),Qn("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.autoReplaceSvgRoot;pe.autoReplaceSvg===!1&&(pe.autoReplaceSvg=!0),pe.observeMutations=!0,b2(function(){L2({autoReplaceSvgRoot:i}),Xr("watch",n)})}},N2={icon:function(n){if(n===null)return null;if(es(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:Wr(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var i=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],a=xs(n[0]);return{prefix:a,iconName:Wr(a,i)||i}}if(typeof n=="string"&&(n.indexOf("".concat(pe.cssPrefix,"-"))>-1||n.match(e2))){var s=As(n.split(" "),{skipLookups:!0});return{prefix:s.prefix||Rr(),iconName:Wr(s.prefix,s.iconName)||s.iconName}}if(typeof n=="string"){var l=Rr();return{prefix:l,iconName:Wr(l,n)||n}}}},rn={noAuto:P2,config:pe,dom:M2,parse:N2,library:Vg,findIconDefinition:wu,toHtml:Da},L2=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.autoReplaceSvgRoot,a=i===void 0?rt:i;(Object.keys(An.styles).length>0||pe.autoFetchSvg)&&er&&pe.autoReplaceSvg&&rn.dom.i2svg({node:a})};function Es(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(a){return Da(a)})}}),Object.defineProperty(e,"node",{get:function(){if(er){var a=rt.createElement("div");return a.innerHTML=e.html,a.children}}}),e}function D2(e){var n=e.children,i=e.main,a=e.mask,s=e.attributes,l=e.styles,c=e.transform;if(ac(c)&&i.found&&!a.found){var f=i.width,d=i.height,v={x:f/d/2,y:.5};s.style=ws(le(le({},l),{},{"transform-origin":"".concat(v.x+c.x/16,"em ").concat(v.y+c.y/16,"em")}))}return[{tag:"svg",attributes:s,children:n}]}function B2(e){var n=e.prefix,i=e.iconName,a=e.children,s=e.attributes,l=e.symbol,c=l===!0?"".concat(n,"-").concat(pe.cssPrefix,"-").concat(i):l;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:le(le({},s),{},{id:c}),children:a}]}]}function uc(e){var n=e.icons,i=n.main,a=n.mask,s=e.prefix,l=e.iconName,c=e.transform,f=e.symbol,d=e.title,v=e.maskId,p=e.titleId,_=e.extra,A=e.watchable,R=A===void 0?!1:A,Y=a.found?a:i,q=Y.width,ne=Y.height,T=s==="fak",z=[pe.replacementClass,l?"".concat(pe.cssPrefix,"-").concat(l):""].filter(function(Pe){return _.classes.indexOf(Pe)===-1}).filter(function(Pe){return Pe!==""||!!Pe}).concat(_.classes).join(" "),V={children:[],attributes:le(le({},_.attributes),{},{"data-prefix":s,"data-icon":l,class:z,role:_.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(q," ").concat(ne)})},ae=T&&!~_.classes.indexOf("fa-fw")?{width:"".concat(q/ne*16*.0625,"em")}:{};R&&(V.attributes[qr]=""),d&&(V.children.push({tag:"title",attributes:{id:V.attributes["aria-labelledby"]||"title-".concat(p||ka())},children:[d]}),delete V.attributes.title);var ue=le(le({},V),{},{prefix:s,iconName:l,main:i,mask:a,maskId:v,transform:c,symbol:f,styles:le(le({},ae),_.styles)}),Se=a.found&&i.found?Qn("generateAbstractMask",ue)||{children:[],attributes:{}}:Qn("generateAbstractIcon",ue)||{children:[],attributes:{}},ge=Se.children,ye=Se.attributes;return ue.children=ge,ue.attributes=ye,f?B2(ue):D2(ue)}function $h(e){var n=e.content,i=e.width,a=e.height,s=e.transform,l=e.title,c=e.extra,f=e.watchable,d=f===void 0?!1:f,v=le(le(le({},c.attributes),l?{title:l}:{}),{},{class:c.classes.join(" ")});d&&(v[qr]="");var p=le({},c.styles);ac(s)&&(p.transform=p2({transform:s,startCentered:!0,width:i,height:a}),p["-webkit-transform"]=p.transform);var _=ws(p);_.length>0&&(v.style=_);var A=[];return A.push({tag:"span",attributes:v,children:[n]}),l&&A.push({tag:"span",attributes:{class:"sr-only"},children:[l]}),A}function $2(e){var n=e.content,i=e.title,a=e.extra,s=le(le(le({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")}),l=ws(a.styles);l.length>0&&(s.style=l);var c=[];return c.push({tag:"span",attributes:s,children:[n]}),i&&c.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),c}var jl=An.styles;function xu(e){var n=e[0],i=e[1],a=e.slice(4),s=Ju(a,1),l=s[0],c=null;return Array.isArray(l)?c={tag:"g",attributes:{class:"".concat(pe.cssPrefix,"-").concat(zr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(zr.SECONDARY),fill:"currentColor",d:l[0]}},{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(zr.PRIMARY),fill:"currentColor",d:l[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:l}},{found:!0,width:n,height:i,icon:c}}var F2={found:!1,width:512,height:512};function U2(e,n){!Pg&&!pe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}function Au(e,n){var i=n;return n==="fa"&&pe.styleDefault!==null&&(n=Rr()),new Promise(function(a,s){if(Qn("missingIconAbstract"),i==="fa"){var l=Yg(e)||{};e=l.iconName||e,n=l.prefix||n}if(e&&n&&jl[n]&&jl[n][e]){var c=jl[n][e];return a(xu(c))}U2(e,n),a(le(le({},F2),{},{icon:pe.showMissingIcons&&e?Qn("missingIconAbstract")||{}:{}}))})}var Fh=function(){},Eu=pe.measurePerformance&&Po&&Po.mark&&Po.measure?Po:{mark:Fh,measure:Fh},sa='FA "6.2.1"',G2=function(n){return Eu.mark("".concat(sa," ").concat(n," begins")),function(){return Kg(n)}},Kg=function(n){Eu.mark("".concat(sa," ").concat(n," ends")),Eu.measure("".concat(sa," ").concat(n),"".concat(sa," ").concat(n," begins"),"".concat(sa," ").concat(n," ends"))},cc={begin:G2,end:Kg},jo=function(){};function Uh(e){var n=e.getAttribute?e.getAttribute(qr):null;return typeof n=="string"}function H2(e){var n=e.getAttribute?e.getAttribute(tc):null,i=e.getAttribute?e.getAttribute(nc):null;return n&&i}function z2(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(pe.replacementClass)}function W2(){if(pe.autoReplaceSvg===!0)return qo.replace;var e=qo[pe.autoReplaceSvg];return e||qo.replace}function Y2(e){return rt.createElementNS("http://www.w3.org/2000/svg",e)}function V2(e){return rt.createElement(e)}function jg(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.ceFn,a=i===void 0?e.tag==="svg"?Y2:V2:i;if(typeof e=="string")return rt.createTextNode(e);var s=a(e.tag);Object.keys(e.attributes||[]).forEach(function(c){s.setAttribute(c,e.attributes[c])});var l=e.children||[];return l.forEach(function(c){s.appendChild(jg(c,{ceFn:a}))}),s}function K2(e){var n=" ".concat(e.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var qo={replace:function(n){var i=n[0];if(i.parentNode)if(n[1].forEach(function(s){i.parentNode.insertBefore(jg(s),i)}),i.getAttribute(qr)===null&&pe.keepOriginalSource){var a=rt.createComment(K2(i));i.parentNode.replaceChild(a,i)}else i.remove()},nest:function(n){var i=n[0],a=n[1];if(~ic(i).indexOf(pe.replacementClass))return qo.replace(n);var s=new RegExp("".concat(pe.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var l=a[0].attributes.class.split(" ").reduce(function(f,d){return d===pe.replacementClass||d.match(s)?f.toSvg.push(d):f.toNode.push(d),f},{toNode:[],toSvg:[]});a[0].attributes.class=l.toSvg.join(" "),l.toNode.length===0?i.removeAttribute("class"):i.setAttribute("class",l.toNode.join(" "))}var c=a.map(function(f){return Da(f)}).join(` +`);i.setAttribute(qr,""),i.innerHTML=c}};function Gh(e){e()}function qg(e,n){var i=typeof n=="function"?n:jo;if(e.length===0)i();else{var a=Gh;pe.mutateApproach===ZE&&(a=Sr.requestAnimationFrame||Gh),a(function(){var s=W2(),l=cc.begin("mutate");e.map(s),l(),i()})}}var fc=!1;function Xg(){fc=!0}function Ou(){fc=!1}var ns=null;function Hh(e){if(Th&&pe.observeMutations){var n=e.treeCallback,i=n===void 0?jo:n,a=e.nodeCallback,s=a===void 0?jo:a,l=e.pseudoElementsCallback,c=l===void 0?jo:l,f=e.observeMutationsRoot,d=f===void 0?rt:f;ns=new Th(function(v){if(!fc){var p=Rr();Gi(v).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!Uh(_.addedNodes[0])&&(pe.searchPseudoElements&&c(_.target),i(_.target)),_.type==="attributes"&&_.target.parentNode&&pe.searchPseudoElements&&c(_.target.parentNode),_.type==="attributes"&&Uh(_.target)&&~i2.indexOf(_.attributeName))if(_.attributeName==="class"&&H2(_.target)){var A=As(ic(_.target)),R=A.prefix,Y=A.iconName;_.target.setAttribute(tc,R||p),Y&&_.target.setAttribute(nc,Y)}else z2(_.target)&&s(_.target)})}}),er&&ns.observe(d,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function j2(){ns&&ns.disconnect()}function q2(e){var n=e.getAttribute("style"),i=[];return n&&(i=n.split(";").reduce(function(a,s){var l=s.split(":"),c=l[0],f=l.slice(1);return c&&f.length>0&&(a[c]=f.join(":").trim()),a},{})),i}function X2(e){var n=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"",s=As(ic(e));return s.prefix||(s.prefix=Rr()),n&&i&&(s.prefix=n,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&a.length>0&&(s.iconName=R2(s.prefix,e.innerText)||sc(s.prefix,bu(e.innerText))),!s.iconName&&pe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function Z2(e){var n=Gi(e.attributes).reduce(function(s,l){return s.name!=="class"&&s.name!=="style"&&(s[l.name]=l.value),s},{}),i=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return pe.autoA11y&&(i?n["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(a||ka()):(n["aria-hidden"]="true",n.focusable="false")),n}function Q2(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Mn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function zh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},i=X2(e),a=i.iconName,s=i.prefix,l=i.rest,c=Z2(e),f=yu("parseNodeAttributes",{},e),d=n.styleParser?q2(e):[];return le({iconName:a,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:Mn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:l,styles:d,attributes:c}},f)}var J2=An.styles;function Zg(e){var n=pe.autoReplaceSvg==="nest"?zh(e,{styleParser:!1}):zh(e);return~n.extra.classes.indexOf(Mg)?Qn("generateLayersText",e,n):Qn("generateSvgReplacementMutation",e,n)}var Cr=new Set;rc.map(function(e){Cr.add("fa-".concat(e))});Object.keys(Oa[nt]).map(Cr.add.bind(Cr));Object.keys(Oa[ft]).map(Cr.add.bind(Cr));Cr=Na(Cr);function Wh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!er)return Promise.resolve();var i=rt.documentElement.classList,a=function(_){return i.add("".concat(Ph,"-").concat(_))},s=function(_){return i.remove("".concat(Ph,"-").concat(_))},l=pe.autoFetchSvg?Cr:rc.map(function(p){return"fa-".concat(p)}).concat(Object.keys(J2));l.includes("fa")||l.push("fa");var c=[".".concat(Mg,":not([").concat(qr,"])")].concat(l.map(function(p){return".".concat(p,":not([").concat(qr,"])")})).join(", ");if(c.length===0)return Promise.resolve();var f=[];try{f=Gi(e.querySelectorAll(c))}catch{}if(f.length>0)a("pending"),s("complete");else return Promise.resolve();var d=cc.begin("onTree"),v=f.reduce(function(p,_){try{var A=Zg(_);A&&p.push(A)}catch(R){Pg||R.name==="MissingIcon"&&console.error(R)}return p},[]);return new Promise(function(p,_){Promise.all(v).then(function(A){qg(A,function(){a("active"),a("complete"),s("pending"),typeof n=="function"&&n(),d(),p()})}).catch(function(A){d(),_(A)})})}function eO(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Zg(e).then(function(i){i&&qg([i],n)})}function tO(e){return function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=(n||{}).icon?n:wu(n||{}),s=i.mask;return s&&(s=(s||{}).icon?s:wu(s||{})),e(a,le(le({},i),{},{mask:s}))}}var nO=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.transform,s=a===void 0?Mn:a,l=i.symbol,c=l===void 0?!1:l,f=i.mask,d=f===void 0?null:f,v=i.maskId,p=v===void 0?null:v,_=i.title,A=_===void 0?null:_,R=i.titleId,Y=R===void 0?null:R,q=i.classes,ne=q===void 0?[]:q,T=i.attributes,z=T===void 0?{}:T,V=i.styles,ae=V===void 0?{}:V;if(n){var ue=n.prefix,Se=n.iconName,ge=n.icon;return Es(le({type:"icon"},n),function(){return Xr("beforeDOMElementCreation",{iconDefinition:n,params:i}),pe.autoA11y&&(A?z["aria-labelledby"]="".concat(pe.replacementClass,"-title-").concat(Y||ka()):(z["aria-hidden"]="true",z.focusable="false")),uc({icons:{main:xu(ge),mask:d?xu(d.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ue,iconName:Se,transform:le(le({},Mn),s),symbol:c,title:A,maskId:p,titleId:Y,extra:{attributes:z,styles:ae,classes:ne}})})}},rO={mixout:function(){return{icon:tO(nO)}},hooks:function(){return{mutationObserverCallbacks:function(i){return i.treeCallback=Wh,i.nodeCallback=eO,i}}},provides:function(n){n.i2svg=function(i){var a=i.node,s=a===void 0?rt:a,l=i.callback,c=l===void 0?function(){}:l;return Wh(s,c)},n.generateSvgReplacementMutation=function(i,a){var s=a.iconName,l=a.title,c=a.titleId,f=a.prefix,d=a.transform,v=a.symbol,p=a.mask,_=a.maskId,A=a.extra;return new Promise(function(R,Y){Promise.all([Au(s,f),p.iconName?Au(p.iconName,p.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(q){var ne=Ju(q,2),T=ne[0],z=ne[1];R([i,uc({icons:{main:T,mask:z},prefix:f,iconName:s,transform:d,symbol:v,maskId:_,title:l,titleId:c,extra:A,watchable:!0})])}).catch(Y)})},n.generateAbstractIcon=function(i){var a=i.children,s=i.attributes,l=i.main,c=i.transform,f=i.styles,d=ws(f);d.length>0&&(s.style=d);var v;return ac(c)&&(v=Qn("generateAbstractTransformGrouping",{main:l,transform:c,containerWidth:l.width,iconWidth:l.width})),a.push(v||l.icon),{children:a,attributes:s}}}},iO={mixout:function(){return{layer:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.classes,l=s===void 0?[]:s;return Es({type:"layer"},function(){Xr("beforeDOMElementCreation",{assembler:i,params:a});var c=[];return i(function(f){Array.isArray(f)?f.map(function(d){c=c.concat(d.abstract)}):c=c.concat(f.abstract)}),[{tag:"span",attributes:{class:["".concat(pe.cssPrefix,"-layers")].concat(Na(l)).join(" ")},children:c}]})}}}},aO={mixout:function(){return{counter:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.title,l=s===void 0?null:s,c=a.classes,f=c===void 0?[]:c,d=a.attributes,v=d===void 0?{}:d,p=a.styles,_=p===void 0?{}:p;return Es({type:"counter",content:i},function(){return Xr("beforeDOMElementCreation",{content:i,params:a}),$2({content:i.toString(),title:l,extra:{attributes:v,styles:_,classes:["".concat(pe.cssPrefix,"-layers-counter")].concat(Na(f))}})})}}}},oO={mixout:function(){return{text:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.transform,l=s===void 0?Mn:s,c=a.title,f=c===void 0?null:c,d=a.classes,v=d===void 0?[]:d,p=a.attributes,_=p===void 0?{}:p,A=a.styles,R=A===void 0?{}:A;return Es({type:"text",content:i},function(){return Xr("beforeDOMElementCreation",{content:i,params:a}),$h({content:i,transform:le(le({},Mn),l),title:f,extra:{attributes:_,styles:R,classes:["".concat(pe.cssPrefix,"-layers-text")].concat(Na(v))}})})}}},provides:function(n){n.generateLayersText=function(i,a){var s=a.title,l=a.transform,c=a.extra,f=null,d=null;if(kg){var v=parseInt(getComputedStyle(i).fontSize,10),p=i.getBoundingClientRect();f=p.width/v,d=p.height/v}return pe.autoA11y&&!s&&(c.attributes["aria-hidden"]="true"),Promise.resolve([i,$h({content:i.innerHTML,width:f,height:d,transform:l,title:s,extra:c,watchable:!0})])}}},sO=new RegExp('"',"ug"),Yh=[1105920,1112319];function lO(e){var n=e.replace(sO,""),i=w2(n,0),a=i>=Yh[0]&&i<=Yh[1],s=n.length===2?n[0]===n[1]:!1;return{value:bu(s?n[0]:n),isSecondary:a||s}}function Vh(e,n){var i="".concat(XE).concat(n.replace(":","-"));return new Promise(function(a,s){if(e.getAttribute(i)!==null)return a();var l=Gi(e.children),c=l.filter(function(ge){return ge.getAttribute(vu)===n})[0],f=Sr.getComputedStyle(e,n),d=f.getPropertyValue("font-family").match(t2),v=f.getPropertyValue("font-weight"),p=f.getPropertyValue("content");if(c&&!d)return e.removeChild(c),a();if(d&&p!=="none"&&p!==""){var _=f.getPropertyValue("content"),A=~["Sharp"].indexOf(d[2])?ft:nt,R=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(d[2])?Sa[A][d[2].toLowerCase()]:n2[A][v],Y=lO(_),q=Y.value,ne=Y.isSecondary,T=d[0].startsWith("FontAwesome"),z=sc(R,q),V=z;if(T){var ae=C2(q);ae.iconName&&ae.prefix&&(z=ae.iconName,R=ae.prefix)}if(z&&!ne&&(!c||c.getAttribute(tc)!==R||c.getAttribute(nc)!==V)){e.setAttribute(i,V),c&&e.removeChild(c);var ue=Q2(),Se=ue.extra;Se.attributes[vu]=n,Au(z,R).then(function(ge){var ye=uc(le(le({},ue),{},{icons:{main:ge,mask:lc()},prefix:R,iconName:V,extra:Se,watchable:!0})),Pe=rt.createElement("svg");n==="::before"?e.insertBefore(Pe,e.firstChild):e.appendChild(Pe),Pe.outerHTML=ye.map(function(Qe){return Da(Qe)}).join(` +`),e.removeAttribute(i),a()}).catch(s)}else a()}else a()})}function uO(e){return Promise.all([Vh(e,"::before"),Vh(e,"::after")])}function cO(e){return e.parentNode!==document.head&&!~QE.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Kh(e){if(er)return new Promise(function(n,i){var a=Gi(e.querySelectorAll("*")).filter(cO).map(uO),s=cc.begin("searchPseudoElements");Xg(),Promise.all(a).then(function(){s(),Ou(),n()}).catch(function(){s(),Ou(),i()})})}var fO={hooks:function(){return{mutationObserverCallbacks:function(i){return i.pseudoElementsCallback=Kh,i}}},provides:function(n){n.pseudoElements2svg=function(i){var a=i.node,s=a===void 0?rt:a;pe.searchPseudoElements&&Kh(s)}}},jh=!1,dO={mixout:function(){return{dom:{unwatch:function(){Xg(),jh=!0}}}},hooks:function(){return{bootstrap:function(){Hh(yu("mutationObserverCallbacks",{}))},noAuto:function(){j2()},watch:function(i){var a=i.observeMutationsRoot;jh?Ou():Hh(yu("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},qh=function(n){var i={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(a,s){var l=s.toLowerCase().split("-"),c=l[0],f=l.slice(1).join("-");if(c&&f==="h")return a.flipX=!0,a;if(c&&f==="v")return a.flipY=!0,a;if(f=parseFloat(f),isNaN(f))return a;switch(c){case"grow":a.size=a.size+f;break;case"shrink":a.size=a.size-f;break;case"left":a.x=a.x-f;break;case"right":a.x=a.x+f;break;case"up":a.y=a.y-f;break;case"down":a.y=a.y+f;break;case"rotate":a.rotate=a.rotate+f;break}return a},i)},hO={mixout:function(){return{parse:{transform:function(i){return qh(i)}}}},hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-transform");return s&&(i.transform=qh(s)),i}}},provides:function(n){n.generateAbstractTransformGrouping=function(i){var a=i.main,s=i.transform,l=i.containerWidth,c=i.iconWidth,f={transform:"translate(".concat(l/2," 256)")},d="translate(".concat(s.x*32,", ").concat(s.y*32,") "),v="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),p="rotate(".concat(s.rotate," 0 0)"),_={transform:"".concat(d," ").concat(v," ").concat(p)},A={transform:"translate(".concat(c/2*-1," -256)")},R={outer:f,inner:_,path:A};return{tag:"g",attributes:le({},R.outer),children:[{tag:"g",attributes:le({},R.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:le(le({},a.icon.attributes),R.path)}]}]}}}},ql={x:0,y:0,width:"100%",height:"100%"};function Xh(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}function pO(e){return e.tag==="g"?e.children:[e]}var gO={hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-mask"),l=s?As(s.split(" ").map(function(c){return c.trim()})):lc();return l.prefix||(l.prefix=Rr()),i.mask=l,i.maskId=a.getAttribute("data-fa-mask-id"),i}}},provides:function(n){n.generateAbstractMask=function(i){var a=i.children,s=i.attributes,l=i.main,c=i.mask,f=i.maskId,d=i.transform,v=l.width,p=l.icon,_=c.width,A=c.icon,R=h2({transform:d,containerWidth:_,iconWidth:v}),Y={tag:"rect",attributes:le(le({},ql),{},{fill:"white"})},q=p.children?{children:p.children.map(Xh)}:{},ne={tag:"g",attributes:le({},R.inner),children:[Xh(le({tag:p.tag,attributes:le(le({},p.attributes),R.path)},q))]},T={tag:"g",attributes:le({},R.outer),children:[ne]},z="mask-".concat(f||ka()),V="clip-".concat(f||ka()),ae={tag:"mask",attributes:le(le({},ql),{},{id:z,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Y,T]},ue={tag:"defs",children:[{tag:"clipPath",attributes:{id:V},children:pO(A)},ae]};return a.push(ue,{tag:"rect",attributes:le({fill:"currentColor","clip-path":"url(#".concat(V,")"),mask:"url(#".concat(z,")")},ql)}),{children:a,attributes:s}}}},mO={provides:function(n){var i=!1;Sr.matchMedia&&(i=Sr.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var a=[],s={fill:"currentColor"},l={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:le(le({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=le(le({},l),{},{attributeName:"opacity"}),f={tag:"circle",attributes:le(le({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return i||f.children.push({tag:"animate",attributes:le(le({},l),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:le(le({},c),{},{values:"1;0;1;1;0;1;"})}),a.push(f),a.push({tag:"path",attributes:le(le({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:i?[]:[{tag:"animate",attributes:le(le({},c),{},{values:"1;0;0;0;0;1;"})}]}),i||a.push({tag:"path",attributes:le(le({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:le(le({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},vO={hooks:function(){return{parseNodeAttributes:function(i,a){var s=a.getAttribute("data-fa-symbol"),l=s===null?!1:s===""?!0:s;return i.symbol=l,i}}}},bO=[m2,rO,iO,aO,oO,fO,dO,hO,gO,mO,vO];T2(bO,{mixoutsTo:rn});rn.noAuto;var Qg=rn.config,_O=rn.library;rn.dom;var rs=rn.parse;rn.findIconDefinition;rn.toHtml;var yO=rn.icon;rn.layer;var wO=rn.text;rn.counter;function Zh(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,a)}return i}function wn(e){for(var n=1;n=0)&&(i[s]=e[s]);return i}function AO(e,n){if(e==null)return{};var i=xO(e,n),a,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}function Su(e){return EO(e)||OO(e)||SO(e)||RO()}function EO(e){if(Array.isArray(e))return Ru(e)}function OO(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SO(e,n){if(e){if(typeof e=="string")return Ru(e,n);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ru(e,n)}}function Ru(e,n){(n==null||n>e.length)&&(n=e.length);for(var i=0,a=new Array(n);i1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var a=(e.children||[]).map(function(d){return dc(d)}),s=Object.keys(e.attributes||{}).reduce(function(d,v){var p=e.attributes[v];switch(v){case"class":d.class=PO(p);break;case"style":d.style=TO(p);break;default:d.attrs[v]=p}return d},{attrs:{},class:{},style:{}});i.class;var l=i.style,c=l===void 0?{}:l,f=AO(i,IO);return Ti(e.tag,wn(wn(wn({},n),{},{class:s.class,style:wn(wn({},s.style),c)},s.attrs),f),a)}var em=!1;try{em=!0}catch{}function MO(){if(!em&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ga(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?Vt({},e,n):{}}function NO(e){var n,i=(n={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Vt(n,"fa-".concat(e.size),e.size!==null),Vt(n,"fa-rotate-".concat(e.rotation),e.rotation!==null),Vt(n,"fa-pull-".concat(e.pull),e.pull!==null),Vt(n,"fa-swap-opacity",e.swapOpacity),Vt(n,"fa-bounce",e.bounce),Vt(n,"fa-shake",e.shake),Vt(n,"fa-beat",e.beat),Vt(n,"fa-fade",e.fade),Vt(n,"fa-beat-fade",e.beatFade),Vt(n,"fa-flash",e.flash),Vt(n,"fa-spin-pulse",e.spinPulse),Vt(n,"fa-spin-reverse",e.spinReverse),n);return Object.keys(i).map(function(a){return i[a]?a:null}).filter(function(a){return a})}function Qh(e){if(e&&is(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(rs.icon)return rs.icon(e);if(e===null)return null;if(is(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var LO=Fi({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(n){return[!0,!1,"horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(n){return[90,180,270].indexOf(Number.parseInt(n,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(n){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(n,i){var a=i.attrs,s=Ye(function(){return Qh(n.icon)}),l=Ye(function(){return ga("classes",NO(n))}),c=Ye(function(){return ga("transform",typeof n.transform=="string"?rs.transform(n.transform):n.transform)}),f=Ye(function(){return ga("mask",Qh(n.mask))}),d=Ye(function(){return yO(s.value,wn(wn(wn(wn({},l.value),c.value),f.value),{},{symbol:n.symbol,title:n.title}))});Ar(d,function(p){if(!p)return MO("Could not find one or more icon(s)",s.value,f.value)},{immediate:!0});var v=Ye(function(){return d.value?dc(d.value.abstract[0],{},a):null});return function(){return v.value}}});Fi({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(n,i){var a=i.slots,s=Qg.familyPrefix,l=Ye(function(){return["".concat(s,"-layers")].concat(Su(n.fixedWidth?["".concat(s,"-fw")]:[]))});return function(){return Ti("div",{class:l.value},a.default?a.default():[])}}});Fi({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(n){return["bottom-left","bottom-right","top-left","top-right"].indexOf(n)>-1}}},setup:function(n,i){var a=i.attrs,s=Qg.familyPrefix,l=Ye(function(){return ga("classes",[].concat(Su(n.counter?["".concat(s,"-layers-counter")]:[]),Su(n.position?["".concat(s,"-layers-").concat(n.position)]:[])))}),c=Ye(function(){return ga("transform",typeof n.transform=="string"?rs.transform(n.transform):n.transform)}),f=Ye(function(){var v=wO(n.value.toString(),wn(wn({},c.value),l.value)),p=v.abstract;return n.counter&&(p[0].attributes.class=p[0].attributes.class.replace("fa-layers-text","")),p[0]}),d=Ye(function(){return dc(f.value,{},a)});return function(){return d.value}}});var ia=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hc={exports:{}};function pc(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(n){var i=e[n];typeof i=="object"&&!Object.isFrozen(i)&&pc(i)}),e}hc.exports=pc;hc.exports.default=pc;class Jh{constructor(n){n.data===void 0&&(n.data={}),this.data=n.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function tm(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function br(e,...n){const i=Object.create(null);for(const a in e)i[a]=e[a];return n.forEach(function(a){for(const s in a)i[s]=a[s]}),i}const DO="",ep=e=>!!e.scope||e.sublanguage&&e.language,BO=(e,{prefix:n})=>{if(e.includes(".")){const i=e.split(".");return[`${n}${i.shift()}`,...i.map((a,s)=>`${a}${"_".repeat(s+1)}`)].join(" ")}return`${n}${e}`};class $O{constructor(n,i){this.buffer="",this.classPrefix=i.classPrefix,n.walk(this)}addText(n){this.buffer+=tm(n)}openNode(n){if(!ep(n))return;let i="";n.sublanguage?i=`language-${n.language}`:i=BO(n.scope,{prefix:this.classPrefix}),this.span(i)}closeNode(n){ep(n)&&(this.buffer+=DO)}value(){return this.buffer}span(n){this.buffer+=``}}const tp=(e={})=>{const n={children:[]};return Object.assign(n,e),n};class gc{constructor(){this.rootNode=tp(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(n){this.top.children.push(n)}openNode(n){const i=tp({scope:n});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(n){return this.constructor._walk(n,this.rootNode)}static _walk(n,i){return typeof i=="string"?n.addText(i):i.children&&(n.openNode(i),i.children.forEach(a=>this._walk(n,a)),n.closeNode(i)),n}static _collapse(n){typeof n!="string"&&n.children&&(n.children.every(i=>typeof i=="string")?n.children=[n.children.join("")]:n.children.forEach(i=>{gc._collapse(i)}))}}class FO extends gc{constructor(n){super(),this.options=n}addKeyword(n,i){n!==""&&(this.openNode(i),this.addText(n),this.closeNode())}addText(n){n!==""&&this.add(n)}addSublanguage(n,i){const a=n.root;a.sublanguage=!0,a.language=i,this.add(a)}toHTML(){return new $O(this,this.options).value()}finalize(){return!0}}function Ia(e){return e?typeof e=="string"?e:e.source:null}function nm(e){return Zr("(?=",e,")")}function UO(e){return Zr("(?:",e,")*")}function GO(e){return Zr("(?:",e,")?")}function Zr(...e){return e.map(i=>Ia(i)).join("")}function HO(e){const n=e[e.length-1];return typeof n=="object"&&n.constructor===Object?(e.splice(e.length-1,1),n):{}}function mc(...e){return"("+(HO(e).capture?"":"?:")+e.map(a=>Ia(a)).join("|")+")"}function rm(e){return new RegExp(e.toString()+"|").exec("").length-1}function zO(e,n){const i=e&&e.exec(n);return i&&i.index===0}const WO=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function vc(e,{joinWith:n}){let i=0;return e.map(a=>{i+=1;const s=i;let l=Ia(a),c="";for(;l.length>0;){const f=WO.exec(l);if(!f){c+=l;break}c+=l.substring(0,f.index),l=l.substring(f.index+f[0].length),f[0][0]==="\\"&&f[1]?c+="\\"+String(Number(f[1])+s):(c+=f[0],f[0]==="("&&i++)}return c}).map(a=>`(${a})`).join(n)}const YO=/\b\B/,im="[a-zA-Z]\\w*",bc="[a-zA-Z_]\\w*",am="\\b\\d+(\\.\\d+)?",om="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",sm="\\b(0b[01]+)",VO="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",KO=(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=Zr(n,/.*\b/,e.binary,/\b.*/)),br({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(i,a)=>{i.index!==0&&a.ignoreMatch()}},e)},Ta={begin:"\\\\[\\s\\S]",relevance:0},jO={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ta]},qO={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ta]},XO={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Os=function(e,n,i={}){const a=br({scope:"comment",begin:e,end:n,contains:[]},i);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=mc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:Zr(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},ZO=Os("//","$"),QO=Os("/\\*","\\*/"),JO=Os("#","$"),eS={scope:"number",begin:am,relevance:0},tS={scope:"number",begin:om,relevance:0},nS={scope:"number",begin:sm,relevance:0},rS={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Ta,{begin:/\[/,end:/\]/,relevance:0,contains:[Ta]}]}]},iS={scope:"title",begin:im,relevance:0},aS={scope:"title",begin:bc,relevance:0},oS={begin:"\\.\\s*"+bc,relevance:0},sS=function(e){return Object.assign(e,{"on:begin":(n,i)=>{i.data._beginMatch=n[1]},"on:end":(n,i)=>{i.data._beginMatch!==n[1]&&i.ignoreMatch()}})};var Go=Object.freeze({__proto__:null,MATCH_NOTHING_RE:YO,IDENT_RE:im,UNDERSCORE_IDENT_RE:bc,NUMBER_RE:am,C_NUMBER_RE:om,BINARY_NUMBER_RE:sm,RE_STARTERS_RE:VO,SHEBANG:KO,BACKSLASH_ESCAPE:Ta,APOS_STRING_MODE:jO,QUOTE_STRING_MODE:qO,PHRASAL_WORDS_MODE:XO,COMMENT:Os,C_LINE_COMMENT_MODE:ZO,C_BLOCK_COMMENT_MODE:QO,HASH_COMMENT_MODE:JO,NUMBER_MODE:eS,C_NUMBER_MODE:tS,BINARY_NUMBER_MODE:nS,REGEXP_MODE:rS,TITLE_MODE:iS,UNDERSCORE_TITLE_MODE:aS,METHOD_GUARD:oS,END_SAME_AS_BEGIN:sS});function lS(e,n){e.input[e.index-1]==="."&&n.ignoreMatch()}function uS(e,n){e.className!==void 0&&(e.scope=e.className,delete e.className)}function cS(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=lS,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function fS(e,n){Array.isArray(e.illegal)&&(e.illegal=mc(...e.illegal))}function dS(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function hS(e,n){e.relevance===void 0&&(e.relevance=1)}const pS=(e,n)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(a=>{delete e[a]}),e.keywords=i.keywords,e.begin=Zr(i.beforeMatch,nm(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},gS=["of","and","for","in","not","or","if","then","parent","list","value"],mS="keyword";function lm(e,n,i=mS){const a=Object.create(null);return typeof e=="string"?s(i,e.split(" ")):Array.isArray(e)?s(i,e):Object.keys(e).forEach(function(l){Object.assign(a,lm(e[l],n,l))}),a;function s(l,c){n&&(c=c.map(f=>f.toLowerCase())),c.forEach(function(f){const d=f.split("|");a[d[0]]=[l,vS(d[0],d[1])]})}}function vS(e,n){return n?Number(n):bS(e)?0:1}function bS(e){return gS.includes(e.toLowerCase())}const np={},Kr=e=>{console.error(e)},rp=(e,...n)=>{console.log(`WARN: ${e}`,...n)},gi=(e,n)=>{np[`${e}/${n}`]||(console.log(`Deprecated as of ${e}. ${n}`),np[`${e}/${n}`]=!0)},as=new Error;function um(e,n,{key:i}){let a=0;const s=e[i],l={},c={};for(let f=1;f<=n.length;f++)c[f+a]=s[f],l[f+a]=!0,a+=rm(n[f-1]);e[i]=c,e[i]._emit=l,e[i]._multi=!0}function _S(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Kr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),as;if(typeof e.beginScope!="object"||e.beginScope===null)throw Kr("beginScope must be object"),as;um(e,e.begin,{key:"beginScope"}),e.begin=vc(e.begin,{joinWith:""})}}function yS(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Kr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),as;if(typeof e.endScope!="object"||e.endScope===null)throw Kr("endScope must be object"),as;um(e,e.end,{key:"endScope"}),e.end=vc(e.end,{joinWith:""})}}function wS(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xS(e){wS(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),_S(e),yS(e)}function AS(e){function n(c,f){return new RegExp(Ia(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(f?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(f,d){d.position=this.position++,this.matchIndexes[this.matchAt]=d,this.regexes.push([d,f]),this.matchAt+=rm(f)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const f=this.regexes.map(d=>d[1]);this.matcherRe=n(vc(f,{joinWith:"|"}),!0),this.lastIndex=0}exec(f){this.matcherRe.lastIndex=this.lastIndex;const d=this.matcherRe.exec(f);if(!d)return null;const v=d.findIndex((_,A)=>A>0&&_!==void 0),p=this.matchIndexes[v];return d.splice(0,v),Object.assign(d,p)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(f){if(this.multiRegexes[f])return this.multiRegexes[f];const d=new i;return this.rules.slice(f).forEach(([v,p])=>d.addRule(v,p)),d.compile(),this.multiRegexes[f]=d,d}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(f,d){this.rules.push([f,d]),d.type==="begin"&&this.count++}exec(f){const d=this.getMatcher(this.regexIndex);d.lastIndex=this.lastIndex;let v=d.exec(f);if(this.resumingScanAtSamePosition()&&!(v&&v.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,v=p.exec(f)}return v&&(this.regexIndex+=v.position+1,this.regexIndex===this.count&&this.considerAll()),v}}function s(c){const f=new a;return c.contains.forEach(d=>f.addRule(d.begin,{rule:d,type:"begin"})),c.terminatorEnd&&f.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&f.addRule(c.illegal,{type:"illegal"}),f}function l(c,f){const d=c;if(c.isCompiled)return d;[uS,dS,xS,pS].forEach(p=>p(c,f)),e.compilerExtensions.forEach(p=>p(c,f)),c.__beforeBegin=null,[cS,fS,hS].forEach(p=>p(c,f)),c.isCompiled=!0;let v=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),v=c.keywords.$pattern,delete c.keywords.$pattern),v=v||/\w+/,c.keywords&&(c.keywords=lm(c.keywords,e.case_insensitive)),d.keywordPatternRe=n(v,!0),f&&(c.begin||(c.begin=/\B|\b/),d.beginRe=n(d.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(d.endRe=n(d.end)),d.terminatorEnd=Ia(d.end)||"",c.endsWithParent&&f.terminatorEnd&&(d.terminatorEnd+=(c.end?"|":"")+f.terminatorEnd)),c.illegal&&(d.illegalRe=n(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(p){return ES(p==="self"?c:p)})),c.contains.forEach(function(p){l(p,d)}),c.starts&&l(c.starts,f),d.matcher=s(d),d}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=br(e.classNameAliases||{}),l(e)}function cm(e){return e?e.endsWithParent||cm(e.starts):!1}function ES(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return br(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:cm(e)?br(e,{starts:e.starts?br(e.starts):null}):Object.isFrozen(e)?br(e):e}var OS="11.7.0";class SS extends Error{constructor(n,i){super(n),this.name="HTMLInjectionError",this.html=i}}const Xl=tm,ip=br,ap=Symbol("nomatch"),RS=7,CS=function(e){const n=Object.create(null),i=Object.create(null),a=[];let s=!0;const l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let f={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:FO};function d(G){return f.noHighlightRe.test(G)}function v(G){let K=G.className+" ";K+=G.parentNode?G.parentNode.className:"";const X=f.languageDetectRe.exec(K);if(X){const we=Pe(X[1]);return we||(rp(l.replace("{}",X[1])),rp("Falling back to no-highlight mode for this block.",G)),we?X[1]:"no-highlight"}return K.split(/\s+/).find(we=>d(we)||Pe(we))}function p(G,K,X){let we="",Le="";typeof K=="object"?(we=G,X=K.ignoreIllegals,Le=K.language):(gi("10.7.0","highlight(lang, code, ...args) has been deprecated."),gi("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Le=G,we=K),X===void 0&&(X=!0);const Ne={code:we,language:Le};st("before:highlight",Ne);const Ve=Ne.result?Ne.result:_(Ne.language,Ne.code,X);return Ve.code=Ne.code,st("after:highlight",Ve),Ve}function _(G,K,X,we){const Le=Object.create(null);function Ne(L,j){return L.keywords[j]}function Ve(){if(!k.keywords){H.addText(F);return}let L=0;k.keywordPatternRe.lastIndex=0;let j=k.keywordPatternRe.exec(F),re="";for(;j;){re+=F.substring(L,j.index);const ce=S.case_insensitive?j[0].toLowerCase():j[0],Ce=Ne(k,ce);if(Ce){const[et,an]=Ce;if(H.addText(re),re="",Le[ce]=(Le[ce]||0)+1,Le[ce]<=RS&&($+=an),et.startsWith("_"))re+=j[0];else{const tr=S.classNameAliases[et]||et;H.addKeyword(j[0],tr)}}else re+=j[0];L=k.keywordPatternRe.lastIndex,j=k.keywordPatternRe.exec(F)}re+=F.substring(L),H.addText(re)}function jt(){if(F==="")return;let L=null;if(typeof k.subLanguage=="string"){if(!n[k.subLanguage]){H.addText(F);return}L=_(k.subLanguage,F,!0,J[k.subLanguage]),J[k.subLanguage]=L._top}else L=R(F,k.subLanguage.length?k.subLanguage:null);k.relevance>0&&($+=L.relevance),H.addSublanguage(L._emitter,L.language)}function _t(){k.subLanguage!=null?jt():Ve(),F=""}function N(L,j){let re=1;const ce=j.length-1;for(;re<=ce;){if(!L._emit[re]){re++;continue}const Ce=S.classNameAliases[L[re]]||L[re],et=j[re];Ce?H.addKeyword(et,Ce):(F=et,Ve(),F=""),re++}}function ee(L,j){return L.scope&&typeof L.scope=="string"&&H.openNode(S.classNameAliases[L.scope]||L.scope),L.beginScope&&(L.beginScope._wrap?(H.addKeyword(F,S.classNameAliases[L.beginScope._wrap]||L.beginScope._wrap),F=""):L.beginScope._multi&&(N(L.beginScope,j),F="")),k=Object.create(L,{parent:{value:k}}),k}function Q(L,j,re){let ce=zO(L.endRe,re);if(ce){if(L["on:end"]){const Ce=new Jh(L);L["on:end"](j,Ce),Ce.isMatchIgnored&&(ce=!1)}if(ce){for(;L.endsParent&&L.parent;)L=L.parent;return L}}if(L.endsWithParent)return Q(L.parent,j,re)}function de(L){return k.matcher.regexIndex===0?(F+=L[0],1):(me=!0,0)}function Re(L){const j=L[0],re=L.rule,ce=new Jh(re),Ce=[re.__beforeBegin,re["on:begin"]];for(const et of Ce)if(et&&(et(L,ce),ce.isMatchIgnored))return de(j);return re.skip?F+=j:(re.excludeBegin&&(F+=j),_t(),!re.returnBegin&&!re.excludeBegin&&(F=j)),ee(re,L),re.returnBegin?0:j.length}function qe(L){const j=L[0],re=K.substring(L.index),ce=Q(k,L,re);if(!ce)return ap;const Ce=k;k.endScope&&k.endScope._wrap?(_t(),H.addKeyword(j,k.endScope._wrap)):k.endScope&&k.endScope._multi?(_t(),N(k.endScope,L)):Ce.skip?F+=j:(Ce.returnEnd||Ce.excludeEnd||(F+=j),_t(),Ce.excludeEnd&&(F=j));do k.scope&&H.closeNode(),!k.skip&&!k.subLanguage&&($+=k.relevance),k=k.parent;while(k!==ce.parent);return ce.starts&&ee(ce.starts,L),Ce.returnEnd?0:j.length}function xe(){const L=[];for(let j=k;j!==S;j=j.parent)j.scope&&L.unshift(j.scope);L.forEach(j=>H.openNode(j))}let b={};function x(L,j){const re=j&&j[0];if(F+=L,re==null)return _t(),0;if(b.type==="begin"&&j.type==="end"&&b.index===j.index&&re===""){if(F+=K.slice(j.index,j.index+1),!s){const ce=new Error(`0 width match regex (${G})`);throw ce.languageName=G,ce.badRule=b.rule,ce}return 1}if(b=j,j.type==="begin")return Re(j);if(j.type==="illegal"&&!X){const ce=new Error('Illegal lexeme "'+re+'" for mode "'+(k.scope||"")+'"');throw ce.mode=k,ce}else if(j.type==="end"){const ce=qe(j);if(ce!==ap)return ce}if(j.type==="illegal"&&re==="")return 1;if(ie>1e5&&ie>j.index*3)throw new Error("potential infinite loop, way more iterations than matches");return F+=re,re.length}const S=Pe(G);if(!S)throw Kr(l.replace("{}",G)),new Error('Unknown language: "'+G+'"');const M=AS(S);let U="",k=we||M;const J={},H=new f.__emitter(f);xe();let F="",$=0,oe=0,ie=0,me=!1;try{for(k.matcher.considerAll();;){ie++,me?me=!1:k.matcher.considerAll(),k.matcher.lastIndex=oe;const L=k.matcher.exec(K);if(!L)break;const j=K.substring(oe,L.index),re=x(j,L);oe=L.index+re}return x(K.substring(oe)),H.closeAllNodes(),H.finalize(),U=H.toHTML(),{language:G,value:U,relevance:$,illegal:!1,_emitter:H,_top:k}}catch(L){if(L.message&&L.message.includes("Illegal"))return{language:G,value:Xl(K),illegal:!0,relevance:0,_illegalBy:{message:L.message,index:oe,context:K.slice(oe-100,oe+100),mode:L.mode,resultSoFar:U},_emitter:H};if(s)return{language:G,value:Xl(K),illegal:!1,relevance:0,errorRaised:L,_emitter:H,_top:k};throw L}}function A(G){const K={value:Xl(G),illegal:!1,relevance:0,_top:c,_emitter:new f.__emitter(f)};return K._emitter.addText(G),K}function R(G,K){K=K||f.languages||Object.keys(n);const X=A(G),we=K.filter(Pe).filter(ht).map(_t=>_(_t,G,!1));we.unshift(X);const Le=we.sort((_t,N)=>{if(_t.relevance!==N.relevance)return N.relevance-_t.relevance;if(_t.language&&N.language){if(Pe(_t.language).supersetOf===N.language)return 1;if(Pe(N.language).supersetOf===_t.language)return-1}return 0}),[Ne,Ve]=Le,jt=Ne;return jt.secondBest=Ve,jt}function Y(G,K,X){const we=K&&i[K]||X;G.classList.add("hljs"),G.classList.add(`language-${we}`)}function q(G){let K=null;const X=v(G);if(d(X))return;if(st("before:highlightElement",{el:G,language:X}),G.children.length>0&&(f.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(G)),f.throwUnescapedHTML))throw new SS("One of your code blocks includes unescaped HTML.",G.innerHTML);K=G;const we=K.textContent,Le=X?p(we,{language:X,ignoreIllegals:!0}):R(we);G.innerHTML=Le.value,Y(G,X,Le.language),G.result={language:Le.language,re:Le.relevance,relevance:Le.relevance},Le.secondBest&&(G.secondBest={language:Le.secondBest.language,relevance:Le.secondBest.relevance}),st("after:highlightElement",{el:G,result:Le,text:we})}function ne(G){f=ip(f,G)}const T=()=>{ae(),gi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function z(){ae(),gi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let V=!1;function ae(){if(document.readyState==="loading"){V=!0;return}document.querySelectorAll(f.cssSelector).forEach(q)}function ue(){V&&ae()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",ue,!1);function Se(G,K){let X=null;try{X=K(e)}catch(we){if(Kr("Language definition for '{}' could not be registered.".replace("{}",G)),s)Kr(we);else throw we;X=c}X.name||(X.name=G),n[G]=X,X.rawDefinition=K.bind(null,e),X.aliases&&Qe(X.aliases,{languageName:G})}function ge(G){delete n[G];for(const K of Object.keys(i))i[K]===G&&delete i[K]}function ye(){return Object.keys(n)}function Pe(G){return G=(G||"").toLowerCase(),n[G]||n[i[G]]}function Qe(G,{languageName:K}){typeof G=="string"&&(G=[G]),G.forEach(X=>{i[X.toLowerCase()]=K})}function ht(G){const K=Pe(G);return K&&!K.disableAutodetect}function Ot(G){G["before:highlightBlock"]&&!G["before:highlightElement"]&&(G["before:highlightElement"]=K=>{G["before:highlightBlock"](Object.assign({block:K.el},K))}),G["after:highlightBlock"]&&!G["after:highlightElement"]&&(G["after:highlightElement"]=K=>{G["after:highlightBlock"](Object.assign({block:K.el},K))})}function Ut(G){Ot(G),a.push(G)}function st(G,K){const X=G;a.forEach(function(we){we[X]&&we[X](K)})}function Je(G){return gi("10.7.0","highlightBlock will be removed entirely in v12.0"),gi("10.7.0","Please use highlightElement now."),q(G)}Object.assign(e,{highlight:p,highlightAuto:R,highlightAll:ae,highlightElement:q,highlightBlock:Je,configure:ne,initHighlighting:T,initHighlightingOnLoad:z,registerLanguage:Se,unregisterLanguage:ge,listLanguages:ye,getLanguage:Pe,registerAliases:Qe,autoDetection:ht,inherit:ip,addPlugin:Ut}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=OS,e.regex={concat:Zr,lookahead:nm,either:mc,optional:GO,anyNumberOfTimes:UO};for(const G in Go)typeof Go[G]=="object"&&hc.exports(Go[G]);return Object.assign(e,Go),e};var Pa=CS({}),kS=Pa;Pa.HighlightJS=Pa;Pa.default=Pa;const Si=kS,op="[A-Za-z$_][0-9A-Za-z$_]*",IS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],TS=["true","false","null","undefined","NaN","Infinity"],fm=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],dm=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hm=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],PS=["arguments","this","super","console","window","document","localStorage","module","global"],MS=[].concat(hm,fm,dm);function NS(e){const n=e.regex,i=(K,{after:X})=>{const we="",end:""},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(K,X)=>{const we=K[0].length+K.index,Le=K.input[we];if(Le==="<"||Le===","){X.ignoreMatch();return}Le===">"&&(i(K,{after:we})||X.ignoreMatch());let Ne;const Ve=K.input.substring(we);if(Ne=Ve.match(/^\s*=/)){X.ignoreMatch();return}if((Ne=Ve.match(/^\s+extends\s+/))&&Ne.index===0){X.ignoreMatch();return}}},f={$pattern:op,keyword:IS,literal:TS,built_in:MS,"variable.language":PS},d="[0-9](_?[0-9])*",v=`\\.(${d})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",_={className:"number",variants:[{begin:`(\\b(${p})((${v})|\\.)?|(${v}))[eE][+-]?(${d})\\b`},{begin:`\\b(${p})\\b((${v})\\b|\\.)?|(${v})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:f,contains:[]},R={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},Y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,A],subLanguage:"css"}},q={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,A]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},z=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,R,Y,q,{match:/\$\d+/},_];A.contains=z.concat({begin:/\{/,end:/\}/,keywords:f,contains:["self"].concat(z)});const V=[].concat(T,A.contains),ae=V.concat([{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(V)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:ae},Se={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,n.concat(a,"(",n.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},ge={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...fm,...dm]}},ye={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Pe={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ue],illegal:/%/},Qe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ht(K){return n.concat("(?!",K.join("|"),")")}const Ot={match:n.concat(/\b/,ht([...hm,"super","import"]),a,n.lookahead(/\(/)),className:"title.function",relevance:0},Ut={begin:n.concat(/\./,n.lookahead(n.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},st={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},Je="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",G={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(Je)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ue]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:f,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:ge},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ye,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,R,Y,q,T,{match:/\$\d+/},_,ge,{className:"attr",begin:a+n.lookahead(":"),relevance:0},G,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:Je,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},Pe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ue,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ut,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ue]},Ot,Qe,Se,st,{match:/\$[(.]/}]}}const LS=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),DS=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],BS=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],$S=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],FS=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],US=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function GS(e){const n=e.regex,i=LS(e),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",l=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",f=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[i.BLOCK_COMMENT,a,i.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},i.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+$S.join("|")+")"},{begin:":(:)?("+FS.join("|")+")"}]},i.CSS_VARIABLE,{className:"attribute",begin:"\\b("+US.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[i.BLOCK_COMMENT,i.HEXCOLOR,i.IMPORTANT,i.CSS_NUMBER_MODE,...f,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...f,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},i.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:l},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:BS.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...f,i.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+DS.join("|")+")\\b"}]}}function HS(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var sp=Fi({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var n=mt(e.language);Ar(function(){return e.language},function(s){n.value=s});var i=Ye(function(){return e.autodetect||!n.value}),a=Ye(function(){return!i.value&&!Si.getLanguage(n.value)});return{className:Ye(function(){return a.value?"":"hljs "+n.value}),highlightedCode:Ye(function(){var s;if(a.value)return console.warn('The language "'+n.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(i.value){var l=Si.highlightAuto(e.code);return n.value=(s=l.language)!==null&&s!==void 0?s:"",l.value}return(l=Si.highlight(e.code,{language:n.value,ignoreIllegals:e.ignoreIllegals})).value})}},render:function(){return Ti("pre",{},[Ti("code",{class:this.className,innerHTML:this.highlightedCode,tabindex:"0"})])}}),zS={install:function(e){e.component("highlightjs",sp)},component:sp};var WS={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]};const YS=()=>{_O.add(WS)},Ss=(e,n)=>{const i=e.__vccOpts||e;for(const[a,s]of n)i[a]=s;return i},VS={};function KS(e,n){const i=Ln("RouterView");return Ke(),fa(i,{class:"h-full w-full"})}const jS=Ss(VS,[["render",KS]]);/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const bi=typeof window<"u";function qS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const We=Object.assign;function Zl(e,n){const i={};for(const a in n){const s=n[a];i[a]=Sn(s)?s.map(e):e(s)}return i}const ma=()=>{},Sn=Array.isArray,XS=/\/$/,ZS=e=>e.replace(XS,"");function Ql(e,n,i="/"){let a,s={},l="",c="";const f=n.indexOf("#");let d=n.indexOf("?");return f=0&&(d=-1),d>-1&&(a=n.slice(0,d),l=n.slice(d+1,f>-1?f:n.length),s=e(l)),f>-1&&(a=a||n.slice(0,f),c=n.slice(f,n.length)),a=tR(a??n,i),{fullPath:a+(l&&"?")+l+c,path:a,query:s,hash:c}}function QS(e,n){const i=n.query?e(n.query):"";return n.path+(i&&"?")+i+(n.hash||"")}function lp(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function JS(e,n,i){const a=n.matched.length-1,s=i.matched.length-1;return a>-1&&a===s&&Mi(n.matched[a],i.matched[s])&&pm(n.params,i.params)&&e(n.query)===e(i.query)&&n.hash===i.hash}function Mi(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function pm(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const i in e)if(!eR(e[i],n[i]))return!1;return!0}function eR(e,n){return Sn(e)?up(e,n):Sn(n)?up(n,e):e===n}function up(e,n){return Sn(n)?e.length===n.length&&e.every((i,a)=>i===n[a]):e.length===1&&e[0]===n}function tR(e,n){if(e.startsWith("/"))return e;if(!e)return n;const i=n.split("/"),a=e.split("/");let s=i.length-1,l,c;for(l=0;l1&&s--;else break;return i.slice(0,s).join("/")+"/"+a.slice(l-(l===a.length?1:0)).join("/")}var Ma;(function(e){e.pop="pop",e.push="push"})(Ma||(Ma={}));var va;(function(e){e.back="back",e.forward="forward",e.unknown=""})(va||(va={}));function nR(e){if(!e)if(bi){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ZS(e)}const rR=/^[^#]+#/;function iR(e,n){return e.replace(rR,"#")+n}function aR(e,n){const i=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:n.behavior,left:a.left-i.left-(n.left||0),top:a.top-i.top-(n.top||0)}}const Rs=()=>({left:window.pageXOffset,top:window.pageYOffset});function oR(e){let n;if("el"in e){const i=e.el,a=typeof i=="string"&&i.startsWith("#"),s=typeof i=="string"?a?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!s)return;n=aR(s,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function cp(e,n){return(history.state?history.state.position-n:-1)+e}const Cu=new Map;function sR(e,n){Cu.set(e,n)}function lR(e){const n=Cu.get(e);return Cu.delete(e),n}let uR=()=>location.protocol+"//"+location.host;function gm(e,n){const{pathname:i,search:a,hash:s}=n,l=e.indexOf("#");if(l>-1){let f=s.includes(e.slice(l))?e.slice(l).length:1,d=s.slice(f);return d[0]!=="/"&&(d="/"+d),lp(d,"")}return lp(i,e)+a+s}function cR(e,n,i,a){let s=[],l=[],c=null;const f=({state:A})=>{const R=gm(e,location),Y=i.value,q=n.value;let ne=0;if(A){if(i.value=R,n.value=A,c&&c===Y){c=null;return}ne=q?A.position-q.position:0}else a(R);s.forEach(T=>{T(i.value,Y,{delta:ne,type:Ma.pop,direction:ne?ne>0?va.forward:va.back:va.unknown})})};function d(){c=i.value}function v(A){s.push(A);const R=()=>{const Y=s.indexOf(A);Y>-1&&s.splice(Y,1)};return l.push(R),R}function p(){const{history:A}=window;A.state&&A.replaceState(We({},A.state,{scroll:Rs()}),"")}function _(){for(const A of l)A();l=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",p)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",p),{pauseListeners:d,listen:v,destroy:_}}function fp(e,n,i,a=!1,s=!1){return{back:e,current:n,forward:i,replaced:a,position:window.history.length,scroll:s?Rs():null}}function fR(e){const{history:n,location:i}=window,a={value:gm(e,i)},s={value:n.state};s.value||l(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(d,v,p){const _=e.indexOf("#"),A=_>-1?(i.host&&document.querySelector("base")?e:e.slice(_))+d:uR()+e+d;try{n[p?"replaceState":"pushState"](v,"",A),s.value=v}catch(R){console.error(R),i[p?"replace":"assign"](A)}}function c(d,v){const p=We({},n.state,fp(s.value.back,d,s.value.forward,!0),v,{position:s.value.position});l(d,p,!0),a.value=d}function f(d,v){const p=We({},s.value,n.state,{forward:d,scroll:Rs()});l(p.current,p,!0);const _=We({},fp(a.value,d,null),{position:p.position+1},v);l(d,_,!1),a.value=d}return{location:a,state:s,push:f,replace:c}}function dR(e){e=nR(e);const n=fR(e),i=cR(e,n.state,n.location,n.replace);function a(l,c=!0){c||i.pauseListeners(),history.go(l)}const s=We({location:"",base:e,go:a,createHref:iR.bind(null,e)},n,i);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n.state.value}),s}function hR(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),dR(e)}function pR(e){return typeof e=="string"||e&&typeof e=="object"}function mm(e){return typeof e=="string"||typeof e=="symbol"}const hr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vm=Symbol("");var dp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dp||(dp={}));function Ni(e,n){return We(new Error,{type:e,[vm]:!0},n)}function Vn(e,n){return e instanceof Error&&vm in e&&(n==null||!!(e.type&n))}const hp="[^/]+?",gR={sensitive:!1,strict:!1,start:!0,end:!0},mR=/[.+*?^${}()[\]/\\]/g;function vR(e,n){const i=We({},gR,n),a=[];let s=i.start?"^":"";const l=[];for(const v of e){const p=v.length?[]:[90];i.strict&&!v.length&&(s+="/");for(let _=0;_n.length?n.length===1&&n[0]===40+40?1:-1:0}function _R(e,n){let i=0;const a=e.score,s=n.score;for(;i0&&n[n.length-1]<0}const yR={type:0,value:""},wR=/[a-zA-Z0-9_]/;function xR(e){if(!e)return[[]];if(e==="/")return[[yR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(R){throw new Error(`ERR (${i})/"${v}": ${R}`)}let i=0,a=i;const s=[];let l;function c(){l&&s.push(l),l=[]}let f=0,d,v="",p="";function _(){v&&(i===0?l.push({type:0,value:v}):i===1||i===2||i===3?(l.length>1&&(d==="*"||d==="+")&&n(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:v,regexp:p,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):n("Invalid state to consume buffer"),v="")}function A(){v+=d}for(;f{c(z)}:ma}function c(p){if(mm(p)){const _=a.get(p);_&&(a.delete(p),i.splice(i.indexOf(_),1),_.children.forEach(c),_.alias.forEach(c))}else{const _=i.indexOf(p);_>-1&&(i.splice(_,1),p.record.name&&a.delete(p.record.name),p.children.forEach(c),p.alias.forEach(c))}}function f(){return i}function d(p){let _=0;for(;_=0&&(p.record.path!==i[_].record.path||!bm(p,i[_]));)_++;i.splice(_,0,p),p.record.name&&!mp(p)&&a.set(p.record.name,p)}function v(p,_){let A,R={},Y,q;if("name"in p&&p.name){if(A=a.get(p.name),!A)throw Ni(1,{location:p});q=A.record.name,R=We(gp(_.params,A.keys.filter(z=>!z.optional).map(z=>z.name)),p.params&&gp(p.params,A.keys.map(z=>z.name))),Y=A.stringify(R)}else if("path"in p)Y=p.path,A=i.find(z=>z.re.test(Y)),A&&(R=A.parse(Y),q=A.record.name);else{if(A=_.name?a.get(_.name):i.find(z=>z.re.test(_.path)),!A)throw Ni(1,{location:p,currentLocation:_});q=A.record.name,R=We({},_.params,p.params),Y=A.stringify(R)}const ne=[];let T=A;for(;T;)ne.unshift(T.record),T=T.parent;return{name:q,path:Y,params:R,matched:ne,meta:RR(ne)}}return e.forEach(p=>l(p)),{addRoute:l,resolve:v,removeRoute:c,getRoutes:f,getRecordMatcher:s}}function gp(e,n){const i={};for(const a of n)a in e&&(i[a]=e[a]);return i}function OR(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:SR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function SR(e){const n={},i=e.props||!1;if("component"in e)n.default=i;else for(const a in e.components)n[a]=typeof i=="boolean"?i:i[a];return n}function mp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function RR(e){return e.reduce((n,i)=>We(n,i.meta),{})}function vp(e,n){const i={};for(const a in e)i[a]=a in n?n[a]:e[a];return i}function bm(e,n){return n.children.some(i=>i===e||bm(e,i))}const _m=/#/g,CR=/&/g,kR=/\//g,IR=/=/g,TR=/\?/g,ym=/\+/g,PR=/%5B/g,MR=/%5D/g,wm=/%5E/g,NR=/%60/g,xm=/%7B/g,LR=/%7C/g,Am=/%7D/g,DR=/%20/g;function _c(e){return encodeURI(""+e).replace(LR,"|").replace(PR,"[").replace(MR,"]")}function BR(e){return _c(e).replace(xm,"{").replace(Am,"}").replace(wm,"^")}function ku(e){return _c(e).replace(ym,"%2B").replace(DR,"+").replace(_m,"%23").replace(CR,"%26").replace(NR,"`").replace(xm,"{").replace(Am,"}").replace(wm,"^")}function $R(e){return ku(e).replace(IR,"%3D")}function FR(e){return _c(e).replace(_m,"%23").replace(TR,"%3F")}function UR(e){return e==null?"":FR(e).replace(kR,"%2F")}function os(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function GR(e){const n={};if(e===""||e==="?")return n;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sl&&ku(l)):[a&&ku(a)]).forEach(l=>{l!==void 0&&(n+=(n.length?"&":"")+i,l!=null&&(n+="="+l))})}return n}function HR(e){const n={};for(const i in e){const a=e[i];a!==void 0&&(n[i]=Sn(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return n}const zR=Symbol(""),_p=Symbol(""),yc=Symbol(""),Em=Symbol(""),Iu=Symbol("");function aa(){let e=[];function n(a){return e.push(a),()=>{const s=e.indexOf(a);s>-1&&e.splice(s,1)}}function i(){e=[]}return{add:n,list:()=>e,reset:i}}function vr(e,n,i,a,s){const l=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((c,f)=>{const d=_=>{_===!1?f(Ni(4,{from:i,to:n})):_ instanceof Error?f(_):pR(_)?f(Ni(2,{from:n,to:_})):(l&&a.enterCallbacks[s]===l&&typeof _=="function"&&l.push(_),c())},v=e.call(a&&a.instances[s],n,i,d);let p=Promise.resolve(v);e.length<3&&(p=p.then(d)),p.catch(_=>f(_))})}function Jl(e,n,i,a){const s=[];for(const l of e)for(const c in l.components){let f=l.components[c];if(!(n!=="beforeRouteEnter"&&!l.instances[c]))if(WR(f)){const v=(f.__vccOpts||f)[n];v&&s.push(vr(v,i,a,l,c))}else{let d=f();s.push(()=>d.then(v=>{if(!v)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${l.path}"`));const p=qS(v)?v.default:v;l.components[c]=p;const A=(p.__vccOpts||p)[n];return A&&vr(A,i,a,l,c)()}))}}return s}function WR(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yp(e){const n=Nn(yc),i=Nn(Em),a=Ye(()=>n.resolve(te(e.to))),s=Ye(()=>{const{matched:d}=a.value,{length:v}=d,p=d[v-1],_=i.matched;if(!p||!_.length)return-1;const A=_.findIndex(Mi.bind(null,p));if(A>-1)return A;const R=wp(d[v-2]);return v>1&&wp(p)===R&&_[_.length-1].path!==R?_.findIndex(Mi.bind(null,d[v-2])):A}),l=Ye(()=>s.value>-1&&jR(i.params,a.value.params)),c=Ye(()=>s.value>-1&&s.value===i.matched.length-1&&pm(i.params,a.value.params));function f(d={}){return VR(d)?n[te(e.replace)?"replace":"push"](te(e.to)).catch(ma):Promise.resolve()}return{route:a,href:Ye(()=>a.value.href),isActive:l,isExactActive:c,navigate:f}}const YR=Fi({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"}},useLink:yp,setup(e,{slots:n}){const i=$i(yp(e)),{options:a}=Nn(yc),s=Ye(()=>({[xp(e.activeClass,a.linkActiveClass,"router-link-active")]:i.isActive,[xp(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const l=n.default&&n.default(i);return e.custom?l:Ti("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:s.value},l)}}}),KR=YR;function VR(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function jR(e,n){for(const i in n){const a=n[i],s=e[i];if(typeof a=="string"){if(a!==s)return!1}else if(!Sn(s)||s.length!==a.length||a.some((l,c)=>l!==s[c]))return!1}return!0}function wp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xp=(e,n,i)=>e??n??i,qR=Fi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:i}){const a=Nn(Iu),s=Ye(()=>e.route||a.value),l=Nn(_p,0),c=Ye(()=>{let v=te(l);const{matched:p}=s.value;let _;for(;(_=p[v])&&!_.components;)v++;return v}),f=Ye(()=>s.value.matched[c.value]);Wo(_p,Ye(()=>c.value+1)),Wo(zR,f),Wo(Iu,s);const d=mt();return Ar(()=>[d.value,f.value,e.name],([v,p,_],[A,R,Y])=>{p&&(p.instances[_]=v,R&&R!==p&&v&&v===A&&(p.leaveGuards.size||(p.leaveGuards=R.leaveGuards),p.updateGuards.size||(p.updateGuards=R.updateGuards))),v&&p&&(!R||!Mi(p,R)||!A)&&(p.enterCallbacks[_]||[]).forEach(q=>q(v))},{flush:"post"}),()=>{const v=s.value,p=e.name,_=f.value,A=_&&_.components[p];if(!A)return Ap(i.default,{Component:A,route:v});const R=_.props[p],Y=R?R===!0?v.params:typeof R=="function"?R(v):R:null,ne=Ti(A,We({},Y,n,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(_.instances[p]=null)},ref:d}));return Ap(i.default,{Component:ne,route:v})||ne}}});function Ap(e,n){if(!e)return null;const i=e(n);return i.length===1?i[0]:i}const XR=qR;function ZR(e){const n=ER(e.routes,e),i=e.parseQuery||GR,a=e.stringifyQuery||bp,s=e.history,l=aa(),c=aa(),f=aa(),d=Zx(hr);let v=hr;bi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Zl.bind(null,N=>""+N),_=Zl.bind(null,UR),A=Zl.bind(null,os);function R(N,J){let Z,fe;return mm(N)?(Z=n.getRecordMatcher(N),fe=J):fe=N,n.addRoute(fe,Z)}function Y(N){const J=n.getRecordMatcher(N);J&&n.removeRoute(J)}function q(){return n.getRoutes().map(N=>N.record)}function ne(N){return!!n.getRecordMatcher(N)}function T(N,J){if(J=We({},J||d.value),typeof N=="string"){const b=Ql(i,N,J.path),x=n.resolve({path:b.path},J),S=s.createHref(b.fullPath);return We(b,x,{params:A(x.params),hash:os(b.hash),redirectedFrom:void 0,href:S})}let Z;if("path"in N)Z=We({},N,{path:Ql(i,N.path,J.path).path});else{const b=We({},N.params);for(const x in b)b[x]==null&&delete b[x];Z=We({},N,{params:_(N.params)}),J.params=_(J.params)}const fe=n.resolve(Z,J),Re=N.hash||"";fe.params=p(A(fe.params));const je=QS(a,We({},N,{hash:BR(Re),path:fe.path})),xe=s.createHref(je);return We({fullPath:je,hash:Re,query:a===bp?HR(N.query):N.query||{}},fe,{redirectedFrom:void 0,href:xe})}function z(N){return typeof N=="string"?Ql(i,N,d.value.path):We({},N)}function K(N,J){if(v!==N)return Ni(8,{from:J,to:N})}function ae(N){return ge(N)}function ue(N){return ae(We(z(N),{replace:!0}))}function Se(N){const J=N.matched[N.matched.length-1];if(J&&J.redirect){const{redirect:Z}=J;let fe=typeof Z=="function"?Z(N):Z;return typeof fe=="string"&&(fe=fe.includes("?")||fe.includes("#")?fe=z(fe):{path:fe},fe.params={}),We({query:N.query,hash:N.hash,params:"path"in fe?{}:N.params},fe)}}function ge(N,J){const Z=v=T(N),fe=d.value,Re=N.state,je=N.force,xe=N.replace===!0,b=Se(Z);if(b)return ge(We(z(b),{state:typeof b=="object"?We({},Re,b.state):Re,force:je,replace:xe}),J||Z);const x=Z;x.redirectedFrom=J;let S;return!je&&JS(a,fe,Z)&&(S=Ni(16,{to:x,from:fe}),Le(fe,fe,!0,!1)),(S?Promise.resolve(S):Pe(x,fe)).catch(M=>Vn(M)?Vn(M,2)?M:we(M):V(M,x,fe)).then(M=>{if(M){if(Vn(M,2))return ge(We({replace:xe},z(M.to),{state:typeof M.to=="object"?We({},Re,M.to.state):Re,force:je}),J||x)}else M=ht(x,fe,!0,xe,Re);return Qe(x,fe,M),M})}function ye(N,J){const Z=K(N,J);return Z?Promise.reject(Z):Promise.resolve()}function Pe(N,J){let Z;const[fe,Re,je]=QR(N,J);Z=Jl(fe.reverse(),"beforeRouteLeave",N,J);for(const b of fe)b.leaveGuards.forEach(x=>{Z.push(vr(x,N,J))});const xe=ye.bind(null,N,J);return Z.push(xe),mi(Z).then(()=>{Z=[];for(const b of l.list())Z.push(vr(b,N,J));return Z.push(xe),mi(Z)}).then(()=>{Z=Jl(Re,"beforeRouteUpdate",N,J);for(const b of Re)b.updateGuards.forEach(x=>{Z.push(vr(x,N,J))});return Z.push(xe),mi(Z)}).then(()=>{Z=[];for(const b of N.matched)if(b.beforeEnter&&!J.matched.includes(b))if(Sn(b.beforeEnter))for(const x of b.beforeEnter)Z.push(vr(x,N,J));else Z.push(vr(b.beforeEnter,N,J));return Z.push(xe),mi(Z)}).then(()=>(N.matched.forEach(b=>b.enterCallbacks={}),Z=Jl(je,"beforeRouteEnter",N,J),Z.push(xe),mi(Z))).then(()=>{Z=[];for(const b of c.list())Z.push(vr(b,N,J));return Z.push(xe),mi(Z)}).catch(b=>Vn(b,8)?b:Promise.reject(b))}function Qe(N,J,Z){for(const fe of f.list())fe(N,J,Z)}function ht(N,J,Z,fe,Re){const je=K(N,J);if(je)return je;const xe=J===hr,b=bi?history.state:{};Z&&(fe||xe?s.replace(N.fullPath,We({scroll:xe&&b&&b.scroll},Re)):s.push(N.fullPath,Re)),d.value=N,Le(N,J,Z,xe),we()}let Ot;function Ut(){Ot||(Ot=s.listen((N,J,Z)=>{if(!_t.listening)return;const fe=T(N),Re=Se(fe);if(Re){ge(We(Re,{replace:!0}),fe).catch(ma);return}v=fe;const je=d.value;bi&&sR(cp(je.fullPath,Z.delta),Rs()),Pe(fe,je).catch(xe=>Vn(xe,12)?xe:Vn(xe,2)?(ge(xe.to,fe).then(b=>{Vn(b,20)&&!Z.delta&&Z.type===Ma.pop&&s.go(-1,!1)}).catch(ma),Promise.reject()):(Z.delta&&s.go(-Z.delta,!1),V(xe,fe,je))).then(xe=>{xe=xe||ht(fe,je,!1),xe&&(Z.delta&&!Vn(xe,8)?s.go(-Z.delta,!1):Z.type===Ma.pop&&Vn(xe,20)&&s.go(-1,!1)),Qe(fe,je,xe)}).catch(ma)}))}let st=aa(),Je=aa(),G;function V(N,J,Z){we(N);const fe=Je.list();return fe.length?fe.forEach(Re=>Re(N,J,Z)):console.error(N),Promise.reject(N)}function X(){return G&&d.value!==hr?Promise.resolve():new Promise((N,J)=>{st.add([N,J])})}function we(N){return G||(G=!N,Ut(),st.list().forEach(([J,Z])=>N?Z(N):J()),st.reset()),N}function Le(N,J,Z,fe){const{scrollBehavior:Re}=e;if(!bi||!Re)return Promise.resolve();const je=!Z&&lR(cp(N.fullPath,0))||(fe||!Z)&&history.state&&history.state.scroll||null;return Vu().then(()=>Re(N,J,je)).then(xe=>xe&&oR(xe)).catch(xe=>V(xe,N,J))}const Ne=N=>s.go(N);let Ke;const jt=new Set,_t={currentRoute:d,listening:!0,addRoute:R,removeRoute:Y,hasRoute:ne,getRoutes:q,resolve:T,options:e,push:ae,replace:ue,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:l.add,beforeResolve:c.add,afterEach:f.add,onError:Je.add,isReady:X,install(N){const J=this;N.component("RouterLink",KR),N.component("RouterView",XR),N.config.globalProperties.$router=J,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>te(d)}),bi&&!Ke&&d.value===hr&&(Ke=!0,ae(s.location).catch(Re=>{}));const Z={};for(const Re in hr)Z[Re]=Ye(()=>d.value[Re]);N.provide(yc,J),N.provide(Em,$i(Z)),N.provide(Iu,d);const fe=N.unmount;jt.add(N),N.unmount=function(){jt.delete(N),jt.size<1&&(v=hr,Ot&&Ot(),Ot=null,d.value=hr,Ke=!1,G=!1),fe()}}};return _t}function mi(e){return e.reduce((n,i)=>n.then(()=>i()),Promise.resolve())}function QR(e,n){const i=[],a=[],s=[],l=Math.max(n.matched.length,e.matched.length);for(let c=0;cMi(v,f))?a.push(f):i.push(f));const d=e.matched[c];d&&(n.matched.find(v=>Mi(v,d))||s.push(d))}return[i,a,s]}const la="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAFiAAABYgFfJ9BTAAAGlUlEQVR4nO2dwWsdRRzHf5VgFkJsQsWLh9YKuVVz9GbAPXiS+BeY7EGPvl4XwXrJtQneX1Pwoqf01kPQRBQED83Tg7pC0h4spLRsH/IgBSEydV66bnbe7O6b2Znfb34fCA9C3u6+/L7z+83v+3ZmL5yengITLi9x7MOGBRA4LIDAYQFYIk7yZQzXyQKwQJzkawDQw3CtLADDyJF/CwD2MFwvC8AgMvjjwKMQAPsAhoiTfAEA7gPARQB4sNtfvILhujkDGEAGf08GH7CMfmABGEME/O3CwVgAoRAn+XYp+IIdLB+fBTAFMvgflY4w2O0vPsXyGVgALZG9fjn4gCn9AwugHTL4txRvZgFQJk7ylQnBBxYAYaTRM2mCh6r+AwugPnGSXyn1+lWgGv3AAqiHNHp2NMEHFgBBCi5fudevggVAkM2awUdX/4EFMBmF0aMC3egHFoCaOMl7DYIPLABCSKPnZsNPxAKgQA2jp4p9jPUfWAD/p4bRowLl6AcWwAtqGj0q0AqAbwlr3uufY7e/eMHuFdoj+AwwbfBF/Td8SZ0SvAAaGD0q0KZ/CF0ADY0eFagFEOwcIE7yGwDw+bTHwVz/IdQMII2eqYOPvf5DiAKIk3y1hdGjAnX6h9AEII2ebYOHRC+AYOYAhXV7bYyeSrDXfwglA8hef9tk8AHgjsFjOYO8AAwYPSrQp38IJANULd0yAQkBkJ4DGDJ6qhju9hcXLBy3c8hmAGn02Ag+UBn9QFUABo0eFSwAXzFs9KggIwBScwAbvX4FZOo/UMoAHQUfKI1+oCKABku3TMAC8ImC0XO5o8tiAXjGjiWjpwpR/w+w/qOqQC0AafS82+EpSY1+wCyAOMk3LRo9KtDs/lUXlAKQRs+nDk7NGcA1mg2abCK2f72P7f+lA5UAZK+/6ej05EY/YBJAh0aPChaAKzo2elSwAFzgwOipgmT9ByQZoEujRwXJ0Q++C8CB0aOCBdA1Fm/nagNZAXh5P4DDXv8crz37G/o/fwVyGZjYBuZA/jyNspQXhpjGp+AL3nv0B1zPvp30Jw/ks4IOCq8HUZai2DPIKwHIXv+eB5dyRu/P7yA+/r3t2/elKM4EEmWpV98meiMAD4yeSr7+qQ9z/zwzfdhx1tgblxVX5WTGxUnLVDx1ywveGD2xEXyQnsblQocjMsWKi8/svAvwNfiCa8O/ujjNAABWuzhRFT60gTbW7RnhreFD26cQpWDF5YTRaQmQe/PtyHq44Inpc8Y1uwIYipHvulvwsQ0UohA/y6XXTr8LEPX/y3vf2Dr8UI585x0BqoUhch/fBSmOsTCslI8PHv4CHx/+aOPQgvUoS03uVNIaEiuDClmjLJDWE8vPfrsL7zw5Mnuh/+FN8CGELWK23v++9+bo8c1Hs/NwOHcJjqNX4GjukvZ9lvr/rShLe6YPOg1e+AA2+eTwh8p1fIdzr8Jo5mX49eLrcBzNw/HsPBzJ31nq/2/7FnwIQQAqg+Xq6PHz1/JMfzQz+1wMhtmPsnStg8/aGNICOFnaaNxaipF/1ezod2r06KC+R5ATe7XAwLXRo4MFYA/R66/5/rUwC8AO3hg9Osi2gbL+545O/2GUpSjWEVLOAK5G/zqW4AMLwDhf+OTy1YEFYA5h9Nzo+JxTQ3IO4KD+34my1NtefxJUM0CXo1/0+l66fHVgAUyH90aPDhZAe1AYPTrIzQE6qv9ojB4dFDNAF5OxNQrBB6ICsJ3+URk9OlgAzbiOzejRQWoOcLK0Ie4LtHIjnzR60LZ7KqhlAFujn2TwgQVQC9Hre3cvnylYAJNBb/ToIDMHsFD/Ra+/HGUpyd3BxlDKACZH/9joIR18YAEoWaVi9OhgAZxnncLmT3UhIQBZ/02sHiZn9OigkgFM+P+i13e1E7kzqAhg2vRP1ujRwQIgbvToQC+Ak6WNafYBIG/06KCQAdqO/nGvH2zwIWABcPAloQqAxO1cJkAtgJb1f52D/wLsGaDp6PdqgyYfCEkAtzn45wlFAMEaPTrQ3g8g63+dZwsMoixd7uCSUII5A9Tx/wce7BPkNZgFoAss9/o1wCyASdu/cfBrglIAJ0sbutHPRk9NsGaASQJgo6cB1ATARk9DsAqgqv5vcfCbg04Aivrv5U7cGMCYAcoC8HYnbgxgF4DXO3FjAKMAxvXf+SPXKIBKAIX678Uj1yiALQOsUtqgyQewCUBkgB4H3xzYBLDJvb5ZyD82jpkM9SeGMBpYACEDAP8C3L5Jh8oh8iIAAAAASUVORK5CYII=",Ho="/powerglitch/assets/example-frog-2422ffbd.gif",Om=(e="always")=>({playMode:e,optimizeSeo:!0,createContainers:!0,hideOverflow:!1,timing:e==="always"?{duration:2*1e3,iterations:1/0}:{duration:250,iterations:1},glitchTimeSpan:e==="always"?{start:.5,end:.7}:{start:0,end:1},shake:{velocity:15,amplitudeX:.2,amplitudeY:.2},slice:e==="click"?{count:15,velocity:20,minHeight:.02,maxHeight:.15,hueRotate:!0}:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0},pulse:!1}),Sm=(e,n)=>{if(!e.glitchTimeSpan)return 1;const i=e.glitchTimeSpan.start,a=e.glitchTimeSpan.end;if(na)return 0;const s=i+(a-i)/2;return n(Math.random()-.5)*2*Sm(e,n),JR=({minHeight:e,maxHeight:n,minWidth:i,maxWidth:a})=>{const s=Math.floor(Math.random()*((n-e)*100+1))+e*100,l=Math.floor(Math.random()*((a-i)*100+1))+i*100,c=Math.floor(Math.random()*(100-s)),f=Math.floor(Math.random()*(100-l)),d=`${f+l}% ${c}%`,v=`${f+l}% ${c+s}%`,p=`${f}% ${c+s}%`,_=`${f}% ${c}%`;return`polygon(${d},${v},${p},${_})`},eC=e=>{const n=Math.floor(e.slice.velocity*e.timing.duration/1e3)+1,i=[];for(let a=0;ae.pulse?{steps:[{transform:"scale(1)",opacity:"1"},{transform:`scale(${e.pulse.scale})`,opacity:"0"}],timing:{...e.timing,delay:(e.glitchTimeSpan?e.glitchTimeSpan.start:0)*e.timing.duration,easing:"ease-in-out"}}:null,nC=e=>{if(!e.shake)return{steps:[],timing:{}};const n=Math.floor(e.shake.velocity*e.timing.duration/1e3)+1,i=[];for(let a=0;a[nC(e),tC(e),...Array.from({length:e.slice.count}).map(()=>eC(e))].filter(n=>n!==null),Cm=(...e)=>{const n=i=>i&&typeof i=="object";return e.reduce((i,a)=>(Object.keys(a).forEach(s=>{n(i[s])&&n(a[s])?i[s]=Cm(i[s],a[s]):a[s]!==void 0&&(i[s]=a[s])}),i),{})},rC=(e,n)=>{var s,l;if(!n.createContainers)return{container:e,layersContainer:e,glitched:e.firstElementChild};if(!e.dataset.glitched){const c=document.createElement("div"),f=document.createElement("div");return getComputedStyle(e).getPropertyValue("display").match(/^inline/)&&(f.style.display="inline-block"),f.appendChild(c),(s=e.parentElement)==null||s.insertBefore(f,e),c.prepend(e),{container:f,layersContainer:c,glitched:e}}const i=e.parentElement,a=(l=e.parentElement)==null?void 0:l.parentElement;for(;i.children.length>1;)i.removeChild(i.children[1]);return i.firstElementChild.getAnimations().forEach(c=>c.cancel()),{container:a,layersContainer:i,glitched:e}},iC=(e,n,i)=>{const{glitched:a,container:s,layersContainer:l}=rC(e,i);l.style.display="grid",i.hideOverflow&&(s.style.overflow="hidden"),i.html&&(a.innerHTML=i.html),a.style.gridArea="1/1/-1/-1";const c=a.cloneNode(!0);c.dataset.islayer="true",c.style.gridArea="1/1/-1/-1",c.style.userSelect="none",c.style.pointerEvents="none",c.style.opacity="0";for(let v=0;v{n.forEach((v,p)=>{l.children[p].animate(v.steps,v.timing)})},d=()=>{n.forEach((v,p)=>{l.children[p].getAnimations().forEach(_=>{_.cancel()})})};switch(s.onmouseenter=null,s.onmouseleave=null,s.onclick=null,i.playMode){case"always":f();break;case"hover":s.onmouseenter=f,s.onmouseleave=d;break;case"click":s.onclick=()=>{d(),f()};break}return e.dataset.glitched="1",{container:s,startGlitch:f,stopGlitch:d}},aC=(e=".powerglitch",n={})=>{const i=Cm(Om(n.playMode),n);if(i.optimizeSeo&&/google|bing|baidu|yandex|slurp|bot/i.exec(navigator.userAgent))return{containers:[],startGlitch:()=>{console.warn("PowerGlitch disabled")},stopGlitch:()=>{console.warn("PowerGlitch disabled")}};let a=[];typeof e=="string"?a=Array.from(document.querySelectorAll(e)):e instanceof NodeList?a=Array.from(e):Array.isArray(e)?a=e:e instanceof HTMLElement&&(a=[e]);const s=Rm(i),l=a.filter(c=>!c.dataset.islayer).map(c=>iC(c,s,i));return{containers:l.map(c=>c.container),startGlitch:()=>l.forEach(c=>c.startGlitch()),stopGlitch:()=>l.forEach(c=>c.stopGlitch())}},vt={glitch:aC,generateLayers:Rm,getDefaultOptions:Om},oC={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},sC={href:"https://github.com/7ph/powerglitch",target:"_blank"},lC={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},uC=["src"],cC=I("div",{class:"mt-1"}," PowerGlitch ",-1),fC=I("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch anything on the web. ",-1),dC={class:"mt-2 flex justify-center gap-4"},hC=I("a",{target:"_blank",href:"./api-docs/variables/PowerGlitch.html",class:"underline"}," documentation ",-1),pC=I("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1),km={__name:"AppHeader",setup(e){const n=mt(null);return Ui(()=>vt.glitch(n.value)),(i,a)=>{const s=Ln("fa"),l=Ln("RouterLink");return Xe(),ft("div",null,[I("p",oC,[I("a",sC,[de(s,{icon:"fa-brands fa-github"})])]),I("div",lC,[I("img",{ref_key:"logoRef",ref:n,src:te(la),class:"powerglitch",alt:"logo",style:{width:"60px",height:"60px"}},null,8,uC),cC]),fC,I("div",dC,[de(l,{to:"/",class:ba(["",{underline:te(Pu).currentRoute.value.name!=="home"}])},{default:xr(()=>[Ve(" home ")]),_:1},8,["class"]),de(l,{to:"/usage",class:ba({underline:te(Pu).currentRoute.value.name!=="usage"})},{default:xr(()=>[Ve(" usage ")]),_:1},8,["class"]),hC,de(l,{to:"/playground",class:"underline"},{default:xr(()=>[Ve(" playground ")]),_:1}),pC])])}}};const dt=e=>(tg("data-v-a254a8f7"),e=e(),ng(),e),gC={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},mC=dt(()=>I("h1",{class:"font-bold mt-8"}," ❓ Introduction ",-1)),vC={class:"mt-4"},bC=dt(()=>I("b",null,"2kb",-1)),_C=dt(()=>I("br",null,null,-1)),yC=dt(()=>I("br",null,null,-1)),wC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Fixed animation ",-1)),xC={class:"justify-center grid grid-cols-2 md:grid-cols-4 gap-4 text-center"},AC={class:"mx-auto flex flex-col"},EC=dt(()=>I("p",{class:"font-thin"}," None ",-1)),OC={class:"mx-auto flex flex-col"},SC=dt(()=>I("p",{class:"font-thin"}," Light ",-1)),RC={class:"mx-auto flex flex-col"},CC=dt(()=>I("p",{class:"font-thin"}," Medium ",-1)),kC={class:"mx-auto flex flex-col"},IC=dt(()=>I("p",{class:"font-thin"}," Heavy ",-1)),TC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Glitch on hover ",-1)),PC={class:"justify-center grid grid-cols-2 md:grid-cols-4 gap-4 text-center"},MC={class:"mx-auto flex flex-col"},NC=dt(()=>I("p",{class:"font-thin"}," Quick ",-1)),LC={class:"mx-auto flex flex-col"},DC=dt(()=>I("p",{class:"font-thin"}," Long ",-1)),BC={class:"mx-auto flex flex-col"},$C=dt(()=>I("p",{class:"font-thin"}," Smooth ",-1)),FC={class:"mx-auto flex flex-col"},UC=dt(()=>I("p",{class:"font-thin"}," Laggy ",-1)),GC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Glitch on click ",-1)),HC={class:"justify-center grid grid-cols-2 gap-4 text-center"},zC={class:"mx-auto flex flex-col pt-7"},WC=dt(()=>I("p",{class:"font-thin mt-6"}," Button glitch on click ",-1)),YC={class:"mx-auto flex flex-col"},KC=dt(()=>I("p",{class:"font-thin mt-2"}," Glitching complex element ",-1)),VC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🔽 Install ",-1)),jC=dt(()=>I("p",{class:"mt-4"},[Ve(" Alternatively, you can "),I("a",{class:"underline",target:"_blank",href:"https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"}," download minified web bundle "),Ve(" and use it directly in your project. ")],-1)),qC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🔨 Usage ",-1)),XC={class:"mt-4"},ZC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🤝 Support and bugs ",-1)),QC=dt(()=>I("p",{class:"mt-4 pb-8"},[Ve(" Having trouble? Found a bug? Want to contribute?"),I("br"),Ve(" Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request "),I("a",{href:"https://github.com/7ph/powerglitch",target:"_blank",class:"underline"}," on GitHub "),Ve("."),I("br")],-1)),JC={__name:"HomeView",setup(e){const n=mt(null),i=mt(null),a=mt(null),s=mt(null),l=mt(null),c=mt(null),f=mt(null),d=mt(null),v=mt(null),p=mt(null);return Ui(()=>{vt.glitch(n.value,{html:``,shake:!1,slice:{count:0}}),vt.glitch(i.value,{html:``,shake:!1,glitchTimeSpan:{start:.2,end:.6},slice:{count:3,velocity:4}}),vt.glitch(a.value,{html:``}),vt.glitch(s.value,{html:``,glitchTimeSpan:{start:.2,end:.8}}),vt.glitch(l.value,{html:``,playMode:"hover"}),vt.glitch(c.value,{html:``,playMode:"hover",timing:{duration:2500},glitchTimeSpan:{start:0,end:.5}}),vt.glitch(f.value,{html:``,playMode:"hover",timing:{duration:400,easing:"ease-in-out"}}),vt.glitch(d.value,{html:``,playMode:"hover",timing:{duration:1e3},shake:{velocity:10,amplitudeX:.2,amplitudeY:.2},slice:{count:6,velocity:5}}),vt.glitch(v.value,{html:"",playMode:"click",hideOverflow:!0,timing:{duration:250,iterations:1,easing:"ease-in-out"},slice:{count:15,velocity:20}}),vt.glitch(p.value,{html:` + */const bi=typeof window<"u";function qS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const We=Object.assign;function Zl(e,n){const i={};for(const a in n){const s=n[a];i[a]=Sn(s)?s.map(e):e(s)}return i}const ma=()=>{},Sn=Array.isArray,XS=/\/$/,ZS=e=>e.replace(XS,"");function Ql(e,n,i="/"){let a,s={},l="",c="";const f=n.indexOf("#");let d=n.indexOf("?");return f=0&&(d=-1),d>-1&&(a=n.slice(0,d),l=n.slice(d+1,f>-1?f:n.length),s=e(l)),f>-1&&(a=a||n.slice(0,f),c=n.slice(f,n.length)),a=tR(a??n,i),{fullPath:a+(l&&"?")+l+c,path:a,query:s,hash:c}}function QS(e,n){const i=n.query?e(n.query):"";return n.path+(i&&"?")+i+(n.hash||"")}function lp(e,n){return!n||!e.toLowerCase().startsWith(n.toLowerCase())?e:e.slice(n.length)||"/"}function JS(e,n,i){const a=n.matched.length-1,s=i.matched.length-1;return a>-1&&a===s&&Mi(n.matched[a],i.matched[s])&&pm(n.params,i.params)&&e(n.query)===e(i.query)&&n.hash===i.hash}function Mi(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function pm(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const i in e)if(!eR(e[i],n[i]))return!1;return!0}function eR(e,n){return Sn(e)?up(e,n):Sn(n)?up(n,e):e===n}function up(e,n){return Sn(n)?e.length===n.length&&e.every((i,a)=>i===n[a]):e.length===1&&e[0]===n}function tR(e,n){if(e.startsWith("/"))return e;if(!e)return n;const i=n.split("/"),a=e.split("/");let s=i.length-1,l,c;for(l=0;l1&&s--;else break;return i.slice(0,s).join("/")+"/"+a.slice(l-(l===a.length?1:0)).join("/")}var Ma;(function(e){e.pop="pop",e.push="push"})(Ma||(Ma={}));var va;(function(e){e.back="back",e.forward="forward",e.unknown=""})(va||(va={}));function nR(e){if(!e)if(bi){const n=document.querySelector("base");e=n&&n.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ZS(e)}const rR=/^[^#]+#/;function iR(e,n){return e.replace(rR,"#")+n}function aR(e,n){const i=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:n.behavior,left:a.left-i.left-(n.left||0),top:a.top-i.top-(n.top||0)}}const Rs=()=>({left:window.pageXOffset,top:window.pageYOffset});function oR(e){let n;if("el"in e){const i=e.el,a=typeof i=="string"&&i.startsWith("#"),s=typeof i=="string"?a?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!s)return;n=aR(s,e)}else n=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function cp(e,n){return(history.state?history.state.position-n:-1)+e}const Cu=new Map;function sR(e,n){Cu.set(e,n)}function lR(e){const n=Cu.get(e);return Cu.delete(e),n}let uR=()=>location.protocol+"//"+location.host;function gm(e,n){const{pathname:i,search:a,hash:s}=n,l=e.indexOf("#");if(l>-1){let f=s.includes(e.slice(l))?e.slice(l).length:1,d=s.slice(f);return d[0]!=="/"&&(d="/"+d),lp(d,"")}return lp(i,e)+a+s}function cR(e,n,i,a){let s=[],l=[],c=null;const f=({state:A})=>{const R=gm(e,location),Y=i.value,q=n.value;let ne=0;if(A){if(i.value=R,n.value=A,c&&c===Y){c=null;return}ne=q?A.position-q.position:0}else a(R);s.forEach(T=>{T(i.value,Y,{delta:ne,type:Ma.pop,direction:ne?ne>0?va.forward:va.back:va.unknown})})};function d(){c=i.value}function v(A){s.push(A);const R=()=>{const Y=s.indexOf(A);Y>-1&&s.splice(Y,1)};return l.push(R),R}function p(){const{history:A}=window;A.state&&A.replaceState(We({},A.state,{scroll:Rs()}),"")}function _(){for(const A of l)A();l=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",p)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",p),{pauseListeners:d,listen:v,destroy:_}}function fp(e,n,i,a=!1,s=!1){return{back:e,current:n,forward:i,replaced:a,position:window.history.length,scroll:s?Rs():null}}function fR(e){const{history:n,location:i}=window,a={value:gm(e,i)},s={value:n.state};s.value||l(a.value,{back:null,current:a.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function l(d,v,p){const _=e.indexOf("#"),A=_>-1?(i.host&&document.querySelector("base")?e:e.slice(_))+d:uR()+e+d;try{n[p?"replaceState":"pushState"](v,"",A),s.value=v}catch(R){console.error(R),i[p?"replace":"assign"](A)}}function c(d,v){const p=We({},n.state,fp(s.value.back,d,s.value.forward,!0),v,{position:s.value.position});l(d,p,!0),a.value=d}function f(d,v){const p=We({},s.value,n.state,{forward:d,scroll:Rs()});l(p.current,p,!0);const _=We({},fp(a.value,d,null),{position:p.position+1},v);l(d,_,!1),a.value=d}return{location:a,state:s,push:f,replace:c}}function dR(e){e=nR(e);const n=fR(e),i=cR(e,n.state,n.location,n.replace);function a(l,c=!0){c||i.pauseListeners(),history.go(l)}const s=We({location:"",base:e,go:a,createHref:iR.bind(null,e)},n,i);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n.state.value}),s}function hR(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),dR(e)}function pR(e){return typeof e=="string"||e&&typeof e=="object"}function mm(e){return typeof e=="string"||typeof e=="symbol"}const hr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vm=Symbol("");var dp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dp||(dp={}));function Ni(e,n){return We(new Error,{type:e,[vm]:!0},n)}function Kn(e,n){return e instanceof Error&&vm in e&&(n==null||!!(e.type&n))}const hp="[^/]+?",gR={sensitive:!1,strict:!1,start:!0,end:!0},mR=/[.+*?^${}()[\]/\\]/g;function vR(e,n){const i=We({},gR,n),a=[];let s=i.start?"^":"";const l=[];for(const v of e){const p=v.length?[]:[90];i.strict&&!v.length&&(s+="/");for(let _=0;_n.length?n.length===1&&n[0]===40+40?1:-1:0}function _R(e,n){let i=0;const a=e.score,s=n.score;for(;i0&&n[n.length-1]<0}const yR={type:0,value:""},wR=/[a-zA-Z0-9_]/;function xR(e){if(!e)return[[]];if(e==="/")return[[yR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function n(R){throw new Error(`ERR (${i})/"${v}": ${R}`)}let i=0,a=i;const s=[];let l;function c(){l&&s.push(l),l=[]}let f=0,d,v="",p="";function _(){v&&(i===0?l.push({type:0,value:v}):i===1||i===2||i===3?(l.length>1&&(d==="*"||d==="+")&&n(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:v,regexp:p,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):n("Invalid state to consume buffer"),v="")}function A(){v+=d}for(;f{c(z)}:ma}function c(p){if(mm(p)){const _=a.get(p);_&&(a.delete(p),i.splice(i.indexOf(_),1),_.children.forEach(c),_.alias.forEach(c))}else{const _=i.indexOf(p);_>-1&&(i.splice(_,1),p.record.name&&a.delete(p.record.name),p.children.forEach(c),p.alias.forEach(c))}}function f(){return i}function d(p){let _=0;for(;_=0&&(p.record.path!==i[_].record.path||!bm(p,i[_]));)_++;i.splice(_,0,p),p.record.name&&!mp(p)&&a.set(p.record.name,p)}function v(p,_){let A,R={},Y,q;if("name"in p&&p.name){if(A=a.get(p.name),!A)throw Ni(1,{location:p});q=A.record.name,R=We(gp(_.params,A.keys.filter(z=>!z.optional).map(z=>z.name)),p.params&&gp(p.params,A.keys.map(z=>z.name))),Y=A.stringify(R)}else if("path"in p)Y=p.path,A=i.find(z=>z.re.test(Y)),A&&(R=A.parse(Y),q=A.record.name);else{if(A=_.name?a.get(_.name):i.find(z=>z.re.test(_.path)),!A)throw Ni(1,{location:p,currentLocation:_});q=A.record.name,R=We({},_.params,p.params),Y=A.stringify(R)}const ne=[];let T=A;for(;T;)ne.unshift(T.record),T=T.parent;return{name:q,path:Y,params:R,matched:ne,meta:RR(ne)}}return e.forEach(p=>l(p)),{addRoute:l,resolve:v,removeRoute:c,getRoutes:f,getRecordMatcher:s}}function gp(e,n){const i={};for(const a of n)a in e&&(i[a]=e[a]);return i}function OR(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:SR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function SR(e){const n={},i=e.props||!1;if("component"in e)n.default=i;else for(const a in e.components)n[a]=typeof i=="boolean"?i:i[a];return n}function mp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function RR(e){return e.reduce((n,i)=>We(n,i.meta),{})}function vp(e,n){const i={};for(const a in e)i[a]=a in n?n[a]:e[a];return i}function bm(e,n){return n.children.some(i=>i===e||bm(e,i))}const _m=/#/g,CR=/&/g,kR=/\//g,IR=/=/g,TR=/\?/g,ym=/\+/g,PR=/%5B/g,MR=/%5D/g,wm=/%5E/g,NR=/%60/g,xm=/%7B/g,LR=/%7C/g,Am=/%7D/g,DR=/%20/g;function _c(e){return encodeURI(""+e).replace(LR,"|").replace(PR,"[").replace(MR,"]")}function BR(e){return _c(e).replace(xm,"{").replace(Am,"}").replace(wm,"^")}function ku(e){return _c(e).replace(ym,"%2B").replace(DR,"+").replace(_m,"%23").replace(CR,"%26").replace(NR,"`").replace(xm,"{").replace(Am,"}").replace(wm,"^")}function $R(e){return ku(e).replace(IR,"%3D")}function FR(e){return _c(e).replace(_m,"%23").replace(TR,"%3F")}function UR(e){return e==null?"":FR(e).replace(kR,"%2F")}function os(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function GR(e){const n={};if(e===""||e==="?")return n;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sl&&ku(l)):[a&&ku(a)]).forEach(l=>{l!==void 0&&(n+=(n.length?"&":"")+i,l!=null&&(n+="="+l))})}return n}function HR(e){const n={};for(const i in e){const a=e[i];a!==void 0&&(n[i]=Sn(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return n}const zR=Symbol(""),_p=Symbol(""),yc=Symbol(""),Em=Symbol(""),Iu=Symbol("");function aa(){let e=[];function n(a){return e.push(a),()=>{const s=e.indexOf(a);s>-1&&e.splice(s,1)}}function i(){e=[]}return{add:n,list:()=>e,reset:i}}function vr(e,n,i,a,s){const l=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((c,f)=>{const d=_=>{_===!1?f(Ni(4,{from:i,to:n})):_ instanceof Error?f(_):pR(_)?f(Ni(2,{from:n,to:_})):(l&&a.enterCallbacks[s]===l&&typeof _=="function"&&l.push(_),c())},v=e.call(a&&a.instances[s],n,i,d);let p=Promise.resolve(v);e.length<3&&(p=p.then(d)),p.catch(_=>f(_))})}function Jl(e,n,i,a){const s=[];for(const l of e)for(const c in l.components){let f=l.components[c];if(!(n!=="beforeRouteEnter"&&!l.instances[c]))if(WR(f)){const v=(f.__vccOpts||f)[n];v&&s.push(vr(v,i,a,l,c))}else{let d=f();s.push(()=>d.then(v=>{if(!v)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${l.path}"`));const p=qS(v)?v.default:v;l.components[c]=p;const A=(p.__vccOpts||p)[n];return A&&vr(A,i,a,l,c)()}))}}return s}function WR(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yp(e){const n=Nn(yc),i=Nn(Em),a=Ye(()=>n.resolve(Z(e.to))),s=Ye(()=>{const{matched:d}=a.value,{length:v}=d,p=d[v-1],_=i.matched;if(!p||!_.length)return-1;const A=_.findIndex(Mi.bind(null,p));if(A>-1)return A;const R=wp(d[v-2]);return v>1&&wp(p)===R&&_[_.length-1].path!==R?_.findIndex(Mi.bind(null,d[v-2])):A}),l=Ye(()=>s.value>-1&&jR(i.params,a.value.params)),c=Ye(()=>s.value>-1&&s.value===i.matched.length-1&&pm(i.params,a.value.params));function f(d={}){return KR(d)?n[Z(e.replace)?"replace":"push"](Z(e.to)).catch(ma):Promise.resolve()}return{route:a,href:Ye(()=>a.value.href),isActive:l,isExactActive:c,navigate:f}}const YR=Fi({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"}},useLink:yp,setup(e,{slots:n}){const i=$i(yp(e)),{options:a}=Nn(yc),s=Ye(()=>({[xp(e.activeClass,a.linkActiveClass,"router-link-active")]:i.isActive,[xp(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const l=n.default&&n.default(i);return e.custom?l:Ti("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:s.value},l)}}}),VR=YR;function KR(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const n=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return e.preventDefault&&e.preventDefault(),!0}}function jR(e,n){for(const i in n){const a=n[i],s=e[i];if(typeof a=="string"){if(a!==s)return!1}else if(!Sn(s)||s.length!==a.length||a.some((l,c)=>l!==s[c]))return!1}return!0}function wp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xp=(e,n,i)=>e??n??i,qR=Fi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:i}){const a=Nn(Iu),s=Ye(()=>e.route||a.value),l=Nn(_p,0),c=Ye(()=>{let v=Z(l);const{matched:p}=s.value;let _;for(;(_=p[v])&&!_.components;)v++;return v}),f=Ye(()=>s.value.matched[c.value]);Wo(_p,Ye(()=>c.value+1)),Wo(zR,f),Wo(Iu,s);const d=mt();return Ar(()=>[d.value,f.value,e.name],([v,p,_],[A,R,Y])=>{p&&(p.instances[_]=v,R&&R!==p&&v&&v===A&&(p.leaveGuards.size||(p.leaveGuards=R.leaveGuards),p.updateGuards.size||(p.updateGuards=R.updateGuards))),v&&p&&(!R||!Mi(p,R)||!A)&&(p.enterCallbacks[_]||[]).forEach(q=>q(v))},{flush:"post"}),()=>{const v=s.value,p=e.name,_=f.value,A=_&&_.components[p];if(!A)return Ap(i.default,{Component:A,route:v});const R=_.props[p],Y=R?R===!0?v.params:typeof R=="function"?R(v):R:null,ne=Ti(A,We({},Y,n,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(_.instances[p]=null)},ref:d}));return Ap(i.default,{Component:ne,route:v})||ne}}});function Ap(e,n){if(!e)return null;const i=e(n);return i.length===1?i[0]:i}const XR=qR;function ZR(e){const n=ER(e.routes,e),i=e.parseQuery||GR,a=e.stringifyQuery||bp,s=e.history,l=aa(),c=aa(),f=aa(),d=Zx(hr);let v=hr;bi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Zl.bind(null,N=>""+N),_=Zl.bind(null,UR),A=Zl.bind(null,os);function R(N,ee){let Q,de;return mm(N)?(Q=n.getRecordMatcher(N),de=ee):de=N,n.addRoute(de,Q)}function Y(N){const ee=n.getRecordMatcher(N);ee&&n.removeRoute(ee)}function q(){return n.getRoutes().map(N=>N.record)}function ne(N){return!!n.getRecordMatcher(N)}function T(N,ee){if(ee=We({},ee||d.value),typeof N=="string"){const b=Ql(i,N,ee.path),x=n.resolve({path:b.path},ee),S=s.createHref(b.fullPath);return We(b,x,{params:A(x.params),hash:os(b.hash),redirectedFrom:void 0,href:S})}let Q;if("path"in N)Q=We({},N,{path:Ql(i,N.path,ee.path).path});else{const b=We({},N.params);for(const x in b)b[x]==null&&delete b[x];Q=We({},N,{params:_(N.params)}),ee.params=_(ee.params)}const de=n.resolve(Q,ee),Re=N.hash||"";de.params=p(A(de.params));const qe=QS(a,We({},N,{hash:BR(Re),path:de.path})),xe=s.createHref(qe);return We({fullPath:qe,hash:Re,query:a===bp?HR(N.query):N.query||{}},de,{redirectedFrom:void 0,href:xe})}function z(N){return typeof N=="string"?Ql(i,N,d.value.path):We({},N)}function V(N,ee){if(v!==N)return Ni(8,{from:ee,to:N})}function ae(N){return ge(N)}function ue(N){return ae(We(z(N),{replace:!0}))}function Se(N){const ee=N.matched[N.matched.length-1];if(ee&&ee.redirect){const{redirect:Q}=ee;let de=typeof Q=="function"?Q(N):Q;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=z(de):{path:de},de.params={}),We({query:N.query,hash:N.hash,params:"path"in de?{}:N.params},de)}}function ge(N,ee){const Q=v=T(N),de=d.value,Re=N.state,qe=N.force,xe=N.replace===!0,b=Se(Q);if(b)return ge(We(z(b),{state:typeof b=="object"?We({},Re,b.state):Re,force:qe,replace:xe}),ee||Q);const x=Q;x.redirectedFrom=ee;let S;return!qe&&JS(a,de,Q)&&(S=Ni(16,{to:x,from:de}),Le(de,de,!0,!1)),(S?Promise.resolve(S):Pe(x,de)).catch(M=>Kn(M)?Kn(M,2)?M:we(M):K(M,x,de)).then(M=>{if(M){if(Kn(M,2))return ge(We({replace:xe},z(M.to),{state:typeof M.to=="object"?We({},Re,M.to.state):Re,force:qe}),ee||x)}else M=ht(x,de,!0,xe,Re);return Qe(x,de,M),M})}function ye(N,ee){const Q=V(N,ee);return Q?Promise.reject(Q):Promise.resolve()}function Pe(N,ee){let Q;const[de,Re,qe]=QR(N,ee);Q=Jl(de.reverse(),"beforeRouteLeave",N,ee);for(const b of de)b.leaveGuards.forEach(x=>{Q.push(vr(x,N,ee))});const xe=ye.bind(null,N,ee);return Q.push(xe),mi(Q).then(()=>{Q=[];for(const b of l.list())Q.push(vr(b,N,ee));return Q.push(xe),mi(Q)}).then(()=>{Q=Jl(Re,"beforeRouteUpdate",N,ee);for(const b of Re)b.updateGuards.forEach(x=>{Q.push(vr(x,N,ee))});return Q.push(xe),mi(Q)}).then(()=>{Q=[];for(const b of N.matched)if(b.beforeEnter&&!ee.matched.includes(b))if(Sn(b.beforeEnter))for(const x of b.beforeEnter)Q.push(vr(x,N,ee));else Q.push(vr(b.beforeEnter,N,ee));return Q.push(xe),mi(Q)}).then(()=>(N.matched.forEach(b=>b.enterCallbacks={}),Q=Jl(qe,"beforeRouteEnter",N,ee),Q.push(xe),mi(Q))).then(()=>{Q=[];for(const b of c.list())Q.push(vr(b,N,ee));return Q.push(xe),mi(Q)}).catch(b=>Kn(b,8)?b:Promise.reject(b))}function Qe(N,ee,Q){for(const de of f.list())de(N,ee,Q)}function ht(N,ee,Q,de,Re){const qe=V(N,ee);if(qe)return qe;const xe=ee===hr,b=bi?history.state:{};Q&&(de||xe?s.replace(N.fullPath,We({scroll:xe&&b&&b.scroll},Re)):s.push(N.fullPath,Re)),d.value=N,Le(N,ee,Q,xe),we()}let Ot;function Ut(){Ot||(Ot=s.listen((N,ee,Q)=>{if(!_t.listening)return;const de=T(N),Re=Se(de);if(Re){ge(We(Re,{replace:!0}),de).catch(ma);return}v=de;const qe=d.value;bi&&sR(cp(qe.fullPath,Q.delta),Rs()),Pe(de,qe).catch(xe=>Kn(xe,12)?xe:Kn(xe,2)?(ge(xe.to,de).then(b=>{Kn(b,20)&&!Q.delta&&Q.type===Ma.pop&&s.go(-1,!1)}).catch(ma),Promise.reject()):(Q.delta&&s.go(-Q.delta,!1),K(xe,de,qe))).then(xe=>{xe=xe||ht(de,qe,!1),xe&&(Q.delta&&!Kn(xe,8)?s.go(-Q.delta,!1):Q.type===Ma.pop&&Kn(xe,20)&&s.go(-1,!1)),Qe(de,qe,xe)}).catch(ma)}))}let st=aa(),Je=aa(),G;function K(N,ee,Q){we(N);const de=Je.list();return de.length?de.forEach(Re=>Re(N,ee,Q)):console.error(N),Promise.reject(N)}function X(){return G&&d.value!==hr?Promise.resolve():new Promise((N,ee)=>{st.add([N,ee])})}function we(N){return G||(G=!N,Ut(),st.list().forEach(([ee,Q])=>N?Q(N):ee()),st.reset()),N}function Le(N,ee,Q,de){const{scrollBehavior:Re}=e;if(!bi||!Re)return Promise.resolve();const qe=!Q&&lR(cp(N.fullPath,0))||(de||!Q)&&history.state&&history.state.scroll||null;return Ku().then(()=>Re(N,ee,qe)).then(xe=>xe&&oR(xe)).catch(xe=>K(xe,N,ee))}const Ne=N=>s.go(N);let Ve;const jt=new Set,_t={currentRoute:d,listening:!0,addRoute:R,removeRoute:Y,hasRoute:ne,getRoutes:q,resolve:T,options:e,push:ae,replace:ue,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:l.add,beforeResolve:c.add,afterEach:f.add,onError:Je.add,isReady:X,install(N){const ee=this;N.component("RouterLink",VR),N.component("RouterView",XR),N.config.globalProperties.$router=ee,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>Z(d)}),bi&&!Ve&&d.value===hr&&(Ve=!0,ae(s.location).catch(Re=>{}));const Q={};for(const Re in hr)Q[Re]=Ye(()=>d.value[Re]);N.provide(yc,ee),N.provide(Em,$i(Q)),N.provide(Iu,d);const de=N.unmount;jt.add(N),N.unmount=function(){jt.delete(N),jt.size<1&&(v=hr,Ot&&Ot(),Ot=null,d.value=hr,Ve=!1,G=!1),de()}}};return _t}function mi(e){return e.reduce((n,i)=>n.then(()=>i()),Promise.resolve())}function QR(e,n){const i=[],a=[],s=[],l=Math.max(n.matched.length,e.matched.length);for(let c=0;cMi(v,f))?a.push(f):i.push(f));const d=e.matched[c];d&&(n.matched.find(v=>Mi(v,d))||s.push(d))}return[i,a,s]}const la="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAFiAAABYgFfJ9BTAAAGlUlEQVR4nO2dwWsdRRzHf5VgFkJsQsWLh9YKuVVz9GbAPXiS+BeY7EGPvl4XwXrJtQneX1Pwoqf01kPQRBQED83Tg7pC0h4spLRsH/IgBSEydV66bnbe7O6b2Znfb34fCA9C3u6+/L7z+83v+3ZmL5yengITLi9x7MOGBRA4LIDAYQFYIk7yZQzXyQKwQJzkawDQw3CtLADDyJF/CwD2MFwvC8AgMvjjwKMQAPsAhoiTfAEA7gPARQB4sNtfvILhujkDGEAGf08GH7CMfmABGEME/O3CwVgAoRAn+XYp+IIdLB+fBTAFMvgflY4w2O0vPsXyGVgALZG9fjn4gCn9AwugHTL4txRvZgFQJk7ylQnBBxYAYaTRM2mCh6r+AwugPnGSXyn1+lWgGv3AAqiHNHp2NMEHFgBBCi5fudevggVAkM2awUdX/4EFMBmF0aMC3egHFoCaOMl7DYIPLABCSKPnZsNPxAKgQA2jp4p9jPUfWAD/p4bRowLl6AcWwAtqGj0q0AqAbwlr3uufY7e/eMHuFdoj+AwwbfBF/Td8SZ0SvAAaGD0q0KZ/CF0ADY0eFagFEOwcIE7yGwDw+bTHwVz/IdQMII2eqYOPvf5DiAKIk3y1hdGjAnX6h9AEII2ebYOHRC+AYOYAhXV7bYyeSrDXfwglA8hef9tk8AHgjsFjOYO8AAwYPSrQp38IJANULd0yAQkBkJ4DGDJ6qhju9hcXLBy3c8hmAGn02Ag+UBn9QFUABo0eFSwAXzFs9KggIwBScwAbvX4FZOo/UMoAHQUfKI1+oCKABku3TMAC8ImC0XO5o8tiAXjGjiWjpwpR/w+w/qOqQC0AafS82+EpSY1+wCyAOMk3LRo9KtDs/lUXlAKQRs+nDk7NGcA1mg2abCK2f72P7f+lA5UAZK+/6ej05EY/YBJAh0aPChaAKzo2elSwAFzgwOipgmT9ByQZoEujRwXJ0Q++C8CB0aOCBdA1Fm/nagNZAXh5P4DDXv8crz37G/o/fwVyGZjYBuZA/jyNspQXhpjGp+AL3nv0B1zPvp30Jw/ks4IOCq8HUZai2DPIKwHIXv+eB5dyRu/P7yA+/r3t2/elKM4EEmWpV98meiMAD4yeSr7+qQ9z/zwzfdhx1tgblxVX5WTGxUnLVDx1ywveGD2xEXyQnsblQocjMsWKi8/svAvwNfiCa8O/ujjNAABWuzhRFT60gTbW7RnhreFD26cQpWDF5YTRaQmQe/PtyHq44Inpc8Y1uwIYipHvulvwsQ0UohA/y6XXTr8LEPX/y3vf2Dr8UI585x0BqoUhch/fBSmOsTCslI8PHv4CHx/+aOPQgvUoS03uVNIaEiuDClmjLJDWE8vPfrsL7zw5Mnuh/+FN8CGELWK23v++9+bo8c1Hs/NwOHcJjqNX4GjukvZ9lvr/rShLe6YPOg1e+AA2+eTwh8p1fIdzr8Jo5mX49eLrcBzNw/HsPBzJ31nq/2/7FnwIQQAqg+Xq6PHz1/JMfzQz+1wMhtmPsnStg8/aGNICOFnaaNxaipF/1ezod2r06KC+R5ATe7XAwLXRo4MFYA/R66/5/rUwC8AO3hg9Osi2gbL+545O/2GUpSjWEVLOAK5G/zqW4AMLwDhf+OTy1YEFYA5h9Nzo+JxTQ3IO4KD+34my1NtefxJUM0CXo1/0+l66fHVgAUyH90aPDhZAe1AYPTrIzQE6qv9ojB4dFDNAF5OxNQrBB6ICsJ3+URk9OlgAzbiOzejRQWoOcLK0Ie4LtHIjnzR60LZ7KqhlAFujn2TwgQVQC9Hre3cvnylYAJNBb/ToIDMHsFD/Ra+/HGUpyd3BxlDKACZH/9joIR18YAEoWaVi9OhgAZxnncLmT3UhIQBZ/02sHiZn9OigkgFM+P+i13e1E7kzqAhg2vRP1ujRwQIgbvToQC+Ak6WNafYBIG/06KCQAdqO/nGvH2zwIWABcPAloQqAxO1cJkAtgJb1f52D/wLsGaDp6PdqgyYfCEkAtzn45wlFAMEaPTrQ3g8g63+dZwsMoixd7uCSUII5A9Tx/wce7BPkNZgFoAss9/o1wCyASdu/cfBrglIAJ0sbutHPRk9NsGaASQJgo6cB1ATARk9DsAqgqv5vcfCbg04Aivrv5U7cGMCYAcoC8HYnbgxgF4DXO3FjAKMAxvXf+SPXKIBKAIX678Uj1yiALQOsUtqgyQewCUBkgB4H3xzYBLDJvb5ZyD82jpkM9SeGMBpYACEDAP8C3L5Jh8oh8iIAAAAASUVORK5CYII=",Ho="/powerglitch/assets/example-frog-2422ffbd.gif",Om=(e="always")=>({playMode:e,optimizeSeo:!0,createContainers:!0,hideOverflow:!1,timing:e==="always"?{duration:2*1e3,iterations:1/0}:{duration:250,iterations:1},glitchTimeSpan:e==="always"?{start:.5,end:.7}:{start:0,end:1},shake:{velocity:15,amplitudeX:.2,amplitudeY:.2},slice:e==="click"?{count:15,velocity:20,minHeight:.02,maxHeight:.15,hueRotate:!0,cssFilters:""}:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0,cssFilters:""},pulse:!1}),Sm=(e,n)=>{if(!e.glitchTimeSpan)return 1;const i=e.glitchTimeSpan.start,a=e.glitchTimeSpan.end;if(na)return 0;const s=i+(a-i)/2;return n(Math.random()-.5)*2*Sm(e,n),JR=({minHeight:e,maxHeight:n,minWidth:i,maxWidth:a})=>{const s=Math.floor(Math.random()*((n-e)*100+1))+e*100,l=Math.floor(Math.random()*((a-i)*100+1))+i*100,c=Math.floor(Math.random()*(100-s)),f=Math.floor(Math.random()*(100-l)),d=`${f+l}% ${c}%`,v=`${f+l}% ${c+s}%`,p=`${f}% ${c+s}%`,_=`${f}% ${c}%`;return`polygon(${d},${v},${p},${_})`},eC=e=>{const n=Math.floor(e.slice.velocity*e.timing.duration/1e3)+1,i=[];for(let a=0;ae.pulse?{steps:[{transform:"scale(1)",opacity:"1"},{transform:`scale(${e.pulse.scale})`,opacity:"0"}],timing:{...e.timing,delay:(e.glitchTimeSpan?e.glitchTimeSpan.start:0)*e.timing.duration,easing:"ease-in-out"}}:null,nC=e=>{if(!e.shake)return{steps:[],timing:{}};const n=Math.floor(e.shake.velocity*e.timing.duration/1e3)+1,i=[];for(let a=0;a[nC(e),tC(e),...Array.from({length:e.slice.count}).map(()=>eC(e))].filter(n=>n!==null),Cm=(...e)=>{const n=i=>i&&typeof i=="object";return e.reduce((i,a)=>(Object.keys(a).forEach(s=>{n(i[s])&&n(a[s])?i[s]=Cm(i[s],a[s]):a[s]!==void 0&&(i[s]=a[s])}),i),{})},rC=(e,n)=>{var s,l;if(!n.createContainers)return{container:e,layersContainer:e,glitched:e.firstElementChild};if(!e.dataset.glitched){const c=document.createElement("div"),f=document.createElement("div");return getComputedStyle(e).getPropertyValue("display").match(/^inline/)&&(f.style.display="inline-block"),f.appendChild(c),(s=e.parentElement)==null||s.insertBefore(f,e),c.prepend(e),{container:f,layersContainer:c,glitched:e}}const i=e.parentElement,a=(l=e.parentElement)==null?void 0:l.parentElement;for(;i.children.length>1;)i.removeChild(i.children[1]);return i.firstElementChild.getAnimations().forEach(c=>c.cancel()),{container:a,layersContainer:i,glitched:e}},iC=(e,n,i)=>{const{glitched:a,container:s,layersContainer:l}=rC(e,i);l.style.display="grid",i.hideOverflow&&(s.style.overflow="hidden"),i.html&&(a.innerHTML=i.html),a.style.gridArea="1/1/-1/-1";const c=a.cloneNode(!0);c.dataset.islayer="true",c.style.gridArea="1/1/-1/-1",c.style.userSelect="none",c.style.pointerEvents="none",c.style.opacity="0";for(let v=0;v{n.forEach((v,p)=>{l.children[p].animate(v.steps,v.timing)})},d=()=>{n.forEach((v,p)=>{l.children[p].getAnimations().forEach(_=>{_.cancel()})})};switch(s.onmouseenter=null,s.onmouseleave=null,s.onclick=null,i.playMode){case"always":f();break;case"hover":s.onmouseenter=f,s.onmouseleave=d;break;case"click":s.onclick=()=>{d(),f()};break}return e.dataset.glitched="1",{container:s,startGlitch:f,stopGlitch:d}},aC=(e=".powerglitch",n={})=>{const i=Cm(Om(n.playMode),n);if(i.optimizeSeo&&/google|bing|baidu|yandex|slurp|bot/i.exec(navigator.userAgent))return{containers:[],startGlitch:()=>{console.warn("PowerGlitch disabled")},stopGlitch:()=>{console.warn("PowerGlitch disabled")}};let a=[];typeof e=="string"?a=Array.from(document.querySelectorAll(e)):e instanceof NodeList?a=Array.from(e):Array.isArray(e)?a=e:e instanceof HTMLElement&&(a=[e]);const s=Rm(i),l=a.filter(c=>!c.dataset.islayer).map(c=>iC(c,s,i));return{containers:l.map(c=>c.container),startGlitch:()=>l.forEach(c=>c.startGlitch()),stopGlitch:()=>l.forEach(c=>c.stopGlitch())}},vt={glitch:aC,generateLayers:Rm,getDefaultOptions:Om},oC={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},sC={href:"https://github.com/7ph/powerglitch",target:"_blank"},lC={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},uC=["src"],cC=I("div",{class:"mt-1"}," PowerGlitch ",-1),fC=I("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch anything on the web. ",-1),dC={class:"mt-2 flex justify-center gap-4"},hC=I("a",{target:"_blank",href:"./api-docs/variables/PowerGlitch.html",class:"underline"}," documentation ",-1),pC=I("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1),km={__name:"AppHeader",setup(e){const n=mt(null);return Ui(()=>vt.glitch(n.value)),(i,a)=>{const s=Ln("fa"),l=Ln("RouterLink");return Ke(),ut("div",null,[I("p",oC,[I("a",sC,[fe(s,{icon:"fa-brands fa-github"})])]),I("div",lC,[I("img",{ref_key:"logoRef",ref:n,src:Z(la),class:"powerglitch",alt:"logo",style:{width:"60px",height:"60px"}},null,8,uC),cC]),fC,I("div",dC,[fe(l,{to:"/",class:ba(["",{underline:Z(Pu).currentRoute.value.name!=="home"}])},{default:xr(()=>[je(" home ")]),_:1},8,["class"]),fe(l,{to:"/usage",class:ba({underline:Z(Pu).currentRoute.value.name!=="usage"})},{default:xr(()=>[je(" usage ")]),_:1},8,["class"]),hC,fe(l,{to:"/playground",class:"underline"},{default:xr(()=>[je(" playground ")]),_:1}),pC])])}}};const dt=e=>(tg("data-v-a254a8f7"),e=e(),ng(),e),gC={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},mC=dt(()=>I("h1",{class:"font-bold mt-8"}," ❓ Introduction ",-1)),vC={class:"mt-4"},bC=dt(()=>I("b",null,"2kb",-1)),_C=dt(()=>I("br",null,null,-1)),yC=dt(()=>I("br",null,null,-1)),wC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Fixed animation ",-1)),xC={class:"justify-center grid grid-cols-2 md:grid-cols-4 gap-4 text-center"},AC={class:"mx-auto flex flex-col"},EC=dt(()=>I("p",{class:"font-thin"}," None ",-1)),OC={class:"mx-auto flex flex-col"},SC=dt(()=>I("p",{class:"font-thin"}," Light ",-1)),RC={class:"mx-auto flex flex-col"},CC=dt(()=>I("p",{class:"font-thin"}," Medium ",-1)),kC={class:"mx-auto flex flex-col"},IC=dt(()=>I("p",{class:"font-thin"}," Heavy ",-1)),TC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Glitch on hover ",-1)),PC={class:"justify-center grid grid-cols-2 md:grid-cols-4 gap-4 text-center"},MC={class:"mx-auto flex flex-col"},NC=dt(()=>I("p",{class:"font-thin"}," Quick ",-1)),LC={class:"mx-auto flex flex-col"},DC=dt(()=>I("p",{class:"font-thin"}," Long ",-1)),BC={class:"mx-auto flex flex-col"},$C=dt(()=>I("p",{class:"font-thin"}," Smooth ",-1)),FC={class:"mx-auto flex flex-col"},UC=dt(()=>I("p",{class:"font-thin"}," Laggy ",-1)),GC=dt(()=>I("h1",{class:"font-bold mt-8 mb-2"}," ▶ Glitch on click ",-1)),HC={class:"justify-center grid grid-cols-2 gap-4 text-center"},zC={class:"mx-auto flex flex-col pt-7"},WC=dt(()=>I("p",{class:"font-thin mt-6"}," Button glitch on click ",-1)),YC={class:"mx-auto flex flex-col"},VC=dt(()=>I("p",{class:"font-thin mt-2"}," Glitching complex element ",-1)),KC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🔽 Install ",-1)),jC=dt(()=>I("p",{class:"mt-4"},[je(" Alternatively, you can "),I("a",{class:"underline",target:"_blank",href:"https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"}," download minified web bundle "),je(" and use it directly in your project. ")],-1)),qC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🔨 Usage ",-1)),XC={class:"mt-4"},ZC=dt(()=>I("h1",{class:"font-bold mt-8"}," 🤝 Support and bugs ",-1)),QC=dt(()=>I("p",{class:"mt-4 pb-8"},[je(" Having trouble? Found a bug? Want to contribute?"),I("br"),je(" Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request "),I("a",{href:"https://github.com/7ph/powerglitch",target:"_blank",class:"underline"}," on GitHub "),je("."),I("br")],-1)),JC={__name:"HomeView",setup(e){const n=mt(null),i=mt(null),a=mt(null),s=mt(null),l=mt(null),c=mt(null),f=mt(null),d=mt(null),v=mt(null),p=mt(null);return Ui(()=>{vt.glitch(n.value,{html:``,shake:!1,slice:{count:0}}),vt.glitch(i.value,{html:``,shake:!1,glitchTimeSpan:{start:.2,end:.6},slice:{count:3,velocity:4}}),vt.glitch(a.value,{html:``}),vt.glitch(s.value,{html:``,glitchTimeSpan:{start:.2,end:.8}}),vt.glitch(l.value,{html:``,playMode:"hover"}),vt.glitch(c.value,{html:``,playMode:"hover",timing:{duration:2500},glitchTimeSpan:{start:0,end:.5}}),vt.glitch(f.value,{html:``,playMode:"hover",timing:{duration:400,easing:"ease-in-out"}}),vt.glitch(d.value,{html:``,playMode:"hover",timing:{duration:1e3},shake:{velocity:10,amplitudeX:.2,amplitudeY:.2},slice:{count:6,velocity:5}}),vt.glitch(v.value,{html:"",playMode:"click",hideOverflow:!0,timing:{duration:250,iterations:1,easing:"ease-in-out"},slice:{count:15,velocity:20}}),vt.glitch(p.value,{html:`

Power Glitch 🌎 @@ -773,28 +773,28 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Le=G,we=V),X===void 0& ✋ Click somwehere

- `,playMode:"click",timing:{duration:1e3,easing:"ease-in-out"}})}),(_,A)=>{const R=Ln("RouterLink"),Y=Ln("highlightjs"),q=Ln("router-link");return Xe(),ft("div",gC,[de(km),mC,I("p",vC,[Ve(" PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to glitch anything on the web, without using a canvas. It weights less than "),bC,Ve(" minified and gzipped."),_C,yC,Ve(" What are you waiting for? "),de(R,{to:"playground",class:"underline"},{default:xr(()=>[Ve(" Try glitching stuff now ⚡! ")]),_:1})]),wC,I("div",xC,[I("div",AC,[I("div",{ref_key:"glitchExample1",ref:n,class:"example-frog"},null,512),EC]),I("div",OC,[I("div",{ref_key:"glitchExample2",ref:i,class:"example-frog"},null,512),SC]),I("div",RC,[I("div",{ref_key:"glitchExample3",ref:a,class:"example-frog"},null,512),CC]),I("div",kC,[I("div",{ref_key:"glitchExample4",ref:s,class:"example-frog"},null,512),IC])]),TC,I("div",PC,[I("div",MC,[I("div",{ref_key:"glitchExample5",ref:l,class:"example-logo"},null,512),NC]),I("div",LC,[I("div",{ref_key:"glitchExample6",ref:c,class:"example-logo"},null,512),DC]),I("div",BC,[I("div",{ref_key:"glitchExample7",ref:f,class:"example-logo"},null,512),$C]),I("div",FC,[I("div",{ref_key:"glitchExample8",ref:d,class:"example-logo"},null,512),UC])]),GC,I("div",HC,[I("div",zC,[I("div",{ref_key:"glitchExample9",ref:v,class:"example-button"},null,512),WC]),I("div",YC,[I("div",{ref_key:"glitchExample10",ref:p,class:"example-complex"},null,512),KC])]),VC,de(Y,{class:"rounded-xl overflow-hidden mt-4",language:"shell",code:` + `,playMode:"click",timing:{duration:1e3,easing:"ease-in-out"}})}),(_,A)=>{const R=Ln("RouterLink"),Y=Ln("highlightjs"),q=Ln("router-link");return Ke(),ut("div",gC,[fe(km),mC,I("p",vC,[je(" PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to glitch anything on the web, without using a canvas. It weights less than "),bC,je(" minified and gzipped."),_C,yC,je(" What are you waiting for? "),fe(R,{to:"playground",class:"underline"},{default:xr(()=>[je(" Try glitching stuff now ⚡! ")]),_:1})]),wC,I("div",xC,[I("div",AC,[I("div",{ref_key:"glitchExample1",ref:n,class:"example-frog"},null,512),EC]),I("div",OC,[I("div",{ref_key:"glitchExample2",ref:i,class:"example-frog"},null,512),SC]),I("div",RC,[I("div",{ref_key:"glitchExample3",ref:a,class:"example-frog"},null,512),CC]),I("div",kC,[I("div",{ref_key:"glitchExample4",ref:s,class:"example-frog"},null,512),IC])]),TC,I("div",PC,[I("div",MC,[I("div",{ref_key:"glitchExample5",ref:l,class:"example-logo"},null,512),NC]),I("div",LC,[I("div",{ref_key:"glitchExample6",ref:c,class:"example-logo"},null,512),DC]),I("div",BC,[I("div",{ref_key:"glitchExample7",ref:f,class:"example-logo"},null,512),$C]),I("div",FC,[I("div",{ref_key:"glitchExample8",ref:d,class:"example-logo"},null,512),UC])]),GC,I("div",HC,[I("div",zC,[I("div",{ref_key:"glitchExample9",ref:v,class:"example-button"},null,512),WC]),I("div",YC,[I("div",{ref_key:"glitchExample10",ref:p,class:"example-complex"},null,512),VC])]),KC,fe(Y,{class:"rounded-xl overflow-hidden mt-4",language:"shell",code:` $ npm i --save powerglitch or $ yarn add powerglitch -`.trim()},null,8,["code"]),jC,qC,de(Y,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),jC,qC,fe(Y,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` import { PowerGlitch } from 'powerglitch' // Glitch elements with class 'some-element' PowerGlitch.glitch('.some-element') -`.trim()},null,8,["code"]),I("p",XC,[Ve(" Check the "),de(q,{to:"/usage",class:"underline"},{default:xr(()=>[Ve(" full usage guide ")]),_:1}),Ve(". ")]),ZC,QC])}}},ek=Ss(JC,[["__scopeId","data-v-a254a8f7"]]);const yt=e=>(tg("data-v-a72e4028"),e=e(),ng(),e),tk={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},nk=yt(()=>I("h1",{class:"font-bold mt-8"}," ⚪ Intro ",-1)),rk=yt(()=>I("p",{class:"mt-2"}," This simple guide will walk you through the basic usage of the library. ",-1)),ik=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟣 Glitch ",-1)),ak=yt(()=>I("p",{class:"mt-2"}," First, create an element to glitch. This can be an image ",-1)),ok=yt(()=>I("p",{class:"mt-2"}," or a button ",-1)),sk=yt(()=>I("p",{class:"mt-2"}," or any DOM element ",-1)),lk=yt(()=>I("p",{class:"mt-2"},[Ve(" then, use "),I("span",{class:"font-bold"},"PowerGlitch.glitch()"),Ve(" to glitch the element ")],-1)),uk=yt(()=>I("p",{class:"mt-2"}," that's it, your element is glitched! ",-1)),ck=yt(()=>I("p",{class:"mt-2"}," Alternatively, you can also create an empty container ",-1)),fk=yt(()=>I("p",{class:"mt-2"},[Ve(" and specify the "),I("span",{class:"font-bold"},"html"),Ve(" option to populate its innerHTML property ")],-1)),dk=yt(()=>I("h1",{class:"font-bold mt-8"}," ⚫ Reference ",-1)),hk=yt(()=>I("p",{class:"mt-2"}," If you already have a reference to the element to glitch, you can directly pass it as the first argument ",-1)),pk=QA('

giving a list of elements or a NodeList resulting from querySelectorAll is allowed.

🟠 Controls

Control the animation using the startGlitch and stopGlitch methods returned by PowerGlitch.glitch()

',3),gk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟤 Play modes ",-1)),mk=yt(()=>I("p",{class:"mt-2"}," You can choose between 4 play modes: always, hover, click and manual ",-1)),vk=yt(()=>I("p",{class:"mt-2"}," in playMode manual, the glitch never starts until you call startGlitch(). ",-1)),bk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟢 Customize ",-1)),_k=yt(()=>I("p",{class:"mt-2"},[Ve(" By default, PowerGlitch glitch elements using default options that look good for most cases. To customize the glitch, pass a custom options object as the second argument to "),I("span",{class:"font-bold"},"PowerGlitch.glitch()"),Ve(". ")],-1)),yk=yt(()=>I("p",{class:"mt-2"}," options are merged with the defaults, so you can override only values you want ",-1)),wk={class:"mt-2"},xk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟡 API reference ",-1)),Ak=yt(()=>I("p",{class:"mt-2 pb-8"},[Ve(" Check-out the "),I("a",{class:"underline",target:"_blank",href:"./api-docs/variables/PowerGlitch.html"}," API documentation ")],-1)),Ek={__name:"UsageView",setup(e){const n=mt(null);return Ui(()=>{vt.glitch(n.value)}),(i,a)=>{const s=Ln("highlightjs"),l=Ln("router-link");return Xe(),ft("div",tk,[de(km),nk,rk,ik,ak,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"".trim()},null,8,["code"]),ok,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"".trim()},null,8,["code"]),sk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:` +`.trim()},null,8,["code"]),I("p",XC,[je(" Check the "),fe(q,{to:"/usage",class:"underline"},{default:xr(()=>[je(" full usage guide ")]),_:1}),je(". ")]),ZC,QC])}}},ek=Ss(JC,[["__scopeId","data-v-a254a8f7"]]);const yt=e=>(tg("data-v-1930b57b"),e=e(),ng(),e),tk={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},nk=yt(()=>I("h1",{class:"font-bold mt-8"}," ⚪ Intro ",-1)),rk=yt(()=>I("p",{class:"mt-2"}," This simple guide will walk you through the basic usage of the library. ",-1)),ik=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟣 Glitch ",-1)),ak=yt(()=>I("p",{class:"mt-2"}," First, create an element to glitch. This can be an image ",-1)),ok=yt(()=>I("p",{class:"mt-2"}," or a button ",-1)),sk=yt(()=>I("p",{class:"mt-2"}," or any DOM element ",-1)),lk=yt(()=>I("p",{class:"mt-2"},[je(" then, use "),I("span",{class:"font-bold"},"PowerGlitch.glitch()"),je(" to glitch the element ")],-1)),uk=yt(()=>I("p",{class:"mt-2"}," that's it, your element is glitched! ",-1)),ck=yt(()=>I("p",{class:"mt-2"}," Alternatively, you can also create an empty container ",-1)),fk=yt(()=>I("p",{class:"mt-2"},[je(" and specify the "),I("span",{class:"font-bold"},"html"),je(" option to populate its innerHTML property ")],-1)),dk=yt(()=>I("h1",{class:"font-bold mt-8"}," ⚫ Reference ",-1)),hk=yt(()=>I("p",{class:"mt-2"}," If you already have a reference to the element to glitch, you can directly pass it as the first argument ",-1)),pk=QA('

giving a list of elements or a NodeList resulting from querySelectorAll is allowed.

🟠 Controls

Control the animation using the startGlitch and stopGlitch methods returned by PowerGlitch.glitch()

',3),gk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟤 Play modes ",-1)),mk=yt(()=>I("p",{class:"mt-2"}," You can choose between 4 play modes: always, hover, click and manual ",-1)),vk=yt(()=>I("p",{class:"mt-2"}," in playMode manual, the glitch never starts until you call startGlitch(). ",-1)),bk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟢 Customize ",-1)),_k=yt(()=>I("p",{class:"mt-2"},[je(" By default, PowerGlitch glitch elements using default options that look good for most cases. To customize the glitch, pass a custom options object as the second argument to "),I("span",{class:"font-bold"},"PowerGlitch.glitch()"),je(". ")],-1)),yk=yt(()=>I("p",{class:"mt-2"}," options are merged with the defaults, so you can override only values you want ",-1)),wk={class:"mt-2"},xk=yt(()=>I("h1",{class:"font-bold mt-8"}," 🟡 API reference ",-1)),Ak=yt(()=>I("p",{class:"mt-2 pb-8"},[je(" Check-out the "),I("a",{class:"underline",target:"_blank",href:"./api-docs/variables/PowerGlitch.html"}," API documentation ")],-1)),Ek={__name:"UsageView",setup(e){const n=mt(null);return Ui(()=>{vt.glitch(n.value)}),(i,a)=>{const s=Ln("highlightjs"),l=Ln("router-link");return Ke(),ut("div",tk,[fe(km),nk,rk,ik,ak,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"".trim()},null,8,["code"]),ok,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"".trim()},null,8,["code"]),sk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:`

Glitch me

-
`.trim()},null,8,["code"]),lk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +
`.trim()},null,8,["code"]),lk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch('.glitch') -`.trim()},null,8,["code"]),uk,ck,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"
"}),fk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),uk,ck,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"
"}),fk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch('.glitch', { html: '

Hello

' }) -`.trim()},null,8,["code"]),dk,hk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),dk,hk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` const element = document.querySelector('.glitch') PowerGlitch.glitch(element) -`.trim()},null,8,["code"]),pk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),pk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` const { startGlitch, stopGlitch @@ -805,10 +805,10 @@ stopGlitch() // Re-start the glitch startGlitch() - `.trim()},null,8,["code"]),gk,mk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` + `.trim()},null,8,["code"]),gk,mk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` // Start glitch on click only PowerGlitch.glitch('.glitch', { playMode: 'click' }) - `.trim()},null,8,["code"]),vk,bk,_k,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` + `.trim()},null,8,["code"]),vk,bk,_k,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch( '.glitch', { @@ -833,11 +833,11 @@ PowerGlitch.glitch( velocity: 10, minHeight: 0.02, maxHeight: 0.40, - hueRotate: true, + cssFilters: 'blur(5px) brightness(0.8)', }, } ) -`.trim()},null,8,["code"]),yk,de(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),yk,fe(s,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch( '.glitch', { @@ -845,17 +845,17 @@ PowerGlitch.glitch( shake: false, } ) -`.trim()},null,8,["code"]),I("p",wk,[Ve(" to find the perfect set of options for your use-case, "),de(l,{to:"/playground",class:"underline"},{default:xr(()=>[Ve(" use the playground ")]),_:1})]),xk,Ak])}}},Ok=Ss(Ek,[["__scopeId","data-v-a72e4028"]]),Sk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAABYAAAAWAF42ktiAAABv0lEQVRYhcWWv0vDQBTHvxXRQymmk6MgVNzM4OBmh/wB+hfY5j9wEoKDDnUW/4AaZ5e6OXSof0HtJGTxx9ZijaVIiwiRgwuEI8ndJZf2wUEuubvv5+7dey+lIAiwSFvSrW3ZvmHZ/rXseO0AANoAvhcCYNm+C+AQQFd2jrY7wMRP6HOnVSnJztNyApbt10NxAE8qc3MDMPHbyKv23AAs2zc5caj4n1rmO8DEqdhG5PW406oYKutkOgEa6zHiUN19JoAU8fkAMJG9lG/FAbBYTxKn/n8uDCCaaBJMeffSAFyiibV9/2M027kyVQGEYRiTaGLtpneP7Z/P8NM7gDd2Kl3iOYmnsywQpze+LhJf//uNilPbYs0UZUbpRMRgTNaM3cng7GtljQxXyzgYveL85ZGfMgZQI56TejEzZULm617YH5AyNmcTftgx8RxhXchaC2rRTox4Q0ZcGwBnl8RzXNmFdAPcEc+5UFlIGYD5P64OPBDPEUZMboCE3fdlwrUogD4LN+k/YZ0ANNbrWcWVATj/SyUarQDc7o/yiucBaKQVmKIBTlUSjdBoLZBp02rTnFabrux42aYCYOgWD4IA/9YKT2ODwKOHAAAAAElFTkSuQmCC",Rk="/powerglitch/default.png",wc=UE("main",{state:()=>{const e={image:``,button:"",paragraph:"

Power Glitch 🌎

"};return{powerGlitchOptions:{...vt.getDefaultOptions("always"),html:e.image},htmlElements:e}},actions:{setOptions(e){this.powerGlitchOptions={...this.powerGlitchOptions,...e}},setPlayModeDefaults(e){const n=vt.getDefaultOptions(e);this.powerGlitchOptions.playMode=e,this.powerGlitchOptions.timing=n.timing,this.powerGlitchOptions.glitchTimeSpan=n.glitchTimeSpan,this.powerGlitchOptions.shake=n.shake,this.powerGlitchOptions.slice=n.slice;const i={always:"image",hover:"paragraph",click:"button"}[e];this.powerGlitchOptions.html=this.htmlElements[i]}}}),Ck={class:"pl-4 text-sm grid grid-cols-12"},kk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Ik={class:"col-span-8 flex gap-4 overflow-x-hidden"},Tk=["value"],Pk=I("option",{value:"true"}," Yes ",-1),Mk=I("option",{value:"false"}," No ",-1),Nk=[Pk,Mk],vi={__name:"ToggleGroupOption",props:{modelValue:{type:[String,Number,Boolean,Object],required:!0},title:{type:String,required:!0},getDefaultValue:{type:Function,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Xe(),ft("div",Ck,[I("div",kk,Vr(e.title),1),I("div",Ik,[I("select",{class:"w-20",value:!!e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",e.getDefaultValue(a.target.value==="true")))},Nk,40,Tk)])]))}},Lk={class:"pl-4 text-sm grid grid-cols-12"},Dk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Bk={class:"col-span-8 flex gap-4 overflow-x-hidden"},$k=["value"],Fk=["value"],eu={__name:"SelectOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},values:{type:Array,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Xe(),ft("div",Lk,[I("div",Dk,Vr(e.title),1),I("div",Bk,[I("select",{class:"w-full",value:e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",a.target.value))},[(Xe(!0),ft(Mt,null,TA(e.values,a=>(Xe(),ft("option",{key:a,value:a},Vr(a),9,Fk))),128))],40,$k)])]))}},Uk={class:"pl-4 text-sm grid grid-cols-12"},Gk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Hk={class:"col-span-8 flex gap-4 overflow-x-hidden"},zk=["value"],Wk=I("option",{value:"true"}," Yes ",-1),Yk=I("option",{value:"false"}," No ",-1),Kk=[Wk,Yk],Tu={__name:"BooleanOption",props:{modelValue:{type:Boolean,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Xe(),ft("div",Uk,[I("div",Gk,Vr(e.title),1),I("div",Hk,[I("select",{class:"w-20",value:e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",a.target.value==="true"))},Kk,40,zk)])]))}},Vk={class:"pl-4 text-sm grid grid-cols-12"},jk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},qk={class:"col-span-8 flex gap-4 overflow-x-hidden"},Xk=["value","min","max"],Zk=["value","min","max","step"],pn={__name:"NumberOption",props:{modelValue:{type:Number,required:!0},title:{type:String,required:!0},min:{type:Number,required:!0},max:{type:Number,required:!0},step:{type:Number,required:!0},factor:{type:Number,default:1}},emits:["update:modelValue"],setup(e){return(n,i)=>(Xe(),ft("div",Vk,[I("div",jk,Vr(e.title),1),I("div",qk,[I("input",{class:"w-20",type:"number",value:e.modelValue*e.factor,min:e.min*e.factor,max:e.max*e.factor,onChange:i[0]||(i[0]=a=>n.$emit("update:modelValue",parseInt(a.target.value)/e.factor))},null,40,Xk),I("input",{value:e.modelValue*e.factor,type:"range",min:e.min*e.factor,max:e.max*e.factor,step:e.step*e.factor,onInput:i[1]||(i[1]=a=>n.$emit("update:modelValue",parseInt(a.target.value)/e.factor))},null,40,Zk)])]))}},Qk={class:"px-4"},Jk=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Recommended defaults ",-1),eI={class:"ml-4 flex flex-wrap justify-center gap-2"},tI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," General ",-1),nI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Timing ",-1),rI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Restrict glitch time span ",-1),iI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Shake ",-1),aI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Slice ",-1),oI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Pulse ",-1),sI={__name:"OptionPanel",setup(e){const n=wc();return(i,a)=>(Xe(),ft("div",Qk,[Jk,I("div",eI,[I("button",{onClick:a[0]||(a[0]=s=>te(n).setPlayModeDefaults("always"))}," Infinite "),I("button",{onClick:a[1]||(a[1]=s=>te(n).setPlayModeDefaults("hover"))}," On hover "),I("button",{onClick:a[2]||(a[2]=s=>te(n).setPlayModeDefaults("click"))}," On click ")]),tI,de(eu,{modelValue:te(n).powerGlitchOptions.html,"onUpdate:modelValue":a[3]||(a[3]=s=>te(n).powerGlitchOptions.html=s),class:"mt-1",title:"HTML",values:Object.values(te(n).htmlElements)},null,8,["modelValue","values"]),de(eu,{modelValue:te(n).powerGlitchOptions.playMode,"onUpdate:modelValue":a[4]||(a[4]=s=>te(n).powerGlitchOptions.playMode=s),class:"mt-1",title:"Play mode",values:["always","hover","click"]},null,8,["modelValue"]),de(Tu,{modelValue:te(n).powerGlitchOptions.hideOverflow,"onUpdate:modelValue":a[5]||(a[5]=s=>te(n).powerGlitchOptions.hideOverflow=s),class:"mt-1",title:"Hide overflow"},null,8,["modelValue"]),nI,de(pn,{modelValue:te(n).powerGlitchOptions.timing.duration,"onUpdate:modelValue":a[6]||(a[6]=s=>te(n).powerGlitchOptions.timing.duration=s),class:"mt-1",title:"Loop duration (ms)",min:150,max:4e3,step:100},null,8,["modelValue","title"]),de(vi,{class:"mt-1",modelValue:te(n).powerGlitchOptions.timing.iterations===1/0,title:"Repeat indefinitely",getDefaultValue:s=>s?1/0:1,"onUpdate:modelValue":a[7]||(a[7]=s=>te(n).powerGlitchOptions.timing.iterations=s)},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.timing.iterations<1/0?(Xe(),fa(pn,{key:0,modelValue:te(n).powerGlitchOptions.timing.iterations,"onUpdate:modelValue":a[8]||(a[8]=s=>te(n).powerGlitchOptions.timing.iterations=s),class:"mt-1",title:"Repeat count",min:1,max:60,step:1},null,8,["modelValue"])):pr("",!0),de(vi,{class:"mt-1",modelValue:!!te(n).powerGlitchOptions.timing.easing,title:"Smooth transition",getDefaultValue:s=>s?"ease-in-out":void 0,"onUpdate:modelValue":a[9]||(a[9]=s=>te(n).powerGlitchOptions.timing.easing=s)},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.timing.easing?(Xe(),fa(eu,{key:1,modelValue:te(n).powerGlitchOptions.timing.easing,"onUpdate:modelValue":a[10]||(a[10]=s=>te(n).powerGlitchOptions.timing.easing=s),class:"mt-1",title:"Easing",values:["ease-in-out","ease-in","ease-out","linear"]},null,8,["modelValue"])):pr("",!0),rI,de(vi,{modelValue:te(n).powerGlitchOptions.glitchTimeSpan,"onUpdate:modelValue":a[11]||(a[11]=s=>te(n).powerGlitchOptions.glitchTimeSpan=s),title:"Enabled",getDefaultValue:s=>s?te(vt).getDefaultOptions(te(n).powerGlitchOptions.playMode).glitchTimeSpan:!1},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.glitchTimeSpan?(Xe(),ft(Mt,{key:2},[de(pn,{modelValue:te(n).powerGlitchOptions.glitchTimeSpan.start,"onUpdate:modelValue":a[12]||(a[12]=s=>te(n).powerGlitchOptions.glitchTimeSpan.start=s),class:"mt-1",title:"Start time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),de(pn,{modelValue:te(n).powerGlitchOptions.glitchTimeSpan.end,"onUpdate:modelValue":a[13]||(a[13]=s=>te(n).powerGlitchOptions.glitchTimeSpan.end=s),class:"mt-1",title:"End time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):pr("",!0),iI,de(vi,{modelValue:te(n).powerGlitchOptions.shake,"onUpdate:modelValue":a[14]||(a[14]=s=>te(n).powerGlitchOptions.shake=s),title:"Enabled",getDefaultValue:s=>s?te(vt).getDefaultOptions(te(n).powerGlitchOptions.playMode).shake:!1},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.shake?(Xe(),ft(Mt,{key:3},[de(pn,{modelValue:te(n).powerGlitchOptions.shake.velocity,"onUpdate:modelValue":a[15]||(a[15]=s=>te(n).powerGlitchOptions.shake.velocity=s),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),de(pn,{modelValue:te(n).powerGlitchOptions.shake.amplitudeX,"onUpdate:modelValue":a[16]||(a[16]=s=>te(n).powerGlitchOptions.shake.amplitudeX=s),class:"mt-1",title:"X amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),de(pn,{modelValue:te(n).powerGlitchOptions.shake.amplitudeY,"onUpdate:modelValue":a[17]||(a[17]=s=>te(n).powerGlitchOptions.shake.amplitudeY=s),class:"mt-1",title:"Y amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):pr("",!0),aI,de(vi,{modelValue:te(n).powerGlitchOptions.slice,"onUpdate:modelValue":a[18]||(a[18]=s=>te(n).powerGlitchOptions.slice=s),title:"Enabled",getDefaultValue:s=>s?te(vt).getDefaultOptions(te(n).powerGlitchOptions.playMode).slice:!1},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.slice?(Xe(),ft(Mt,{key:4},[de(pn,{modelValue:te(n).powerGlitchOptions.slice.count,"onUpdate:modelValue":a[19]||(a[19]=s=>te(n).powerGlitchOptions.slice.count=s),class:"mt-1",title:"Count (slice/step)",min:1,max:60,step:1},null,8,["modelValue","title"]),de(pn,{modelValue:te(n).powerGlitchOptions.slice.velocity,"onUpdate:modelValue":a[20]||(a[20]=s=>te(n).powerGlitchOptions.slice.velocity=s),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),de(pn,{modelValue:te(n).powerGlitchOptions.slice.minHeight,"onUpdate:modelValue":a[21]||(a[21]=s=>te(n).powerGlitchOptions.slice.minHeight=s),class:"mt-1",title:"Min slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),de(pn,{modelValue:te(n).powerGlitchOptions.slice.maxHeight,"onUpdate:modelValue":a[22]||(a[22]=s=>te(n).powerGlitchOptions.slice.maxHeight=s),class:"mt-1",title:"Max slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),de(Tu,{modelValue:te(n).powerGlitchOptions.slice.hueRotate,"onUpdate:modelValue":a[23]||(a[23]=s=>te(n).powerGlitchOptions.slice.hueRotate=s),class:"mt-1",title:"Hue rotate"},null,8,["modelValue"])],64)):pr("",!0),oI,de(vi,{modelValue:te(n).powerGlitchOptions.pulse,"onUpdate:modelValue":a[24]||(a[24]=s=>te(n).powerGlitchOptions.pulse=s),title:"Enabled",getDefaultValue:s=>s?{scale:2}:!1},null,8,["modelValue","getDefaultValue"]),te(n).powerGlitchOptions.pulse?(Xe(),fa(pn,{key:5,modelValue:te(n).powerGlitchOptions.pulse.scale,"onUpdate:modelValue":a[25]||(a[25]=s=>te(n).powerGlitchOptions.pulse.scale=s),class:"mt-1",title:"Scale",min:1.1,max:6,step:.1},null,8,["modelValue","min","step"])):pr("",!0)]))}};var ls={},lI={get exports(){return ls},set exports(e){ls=e}};/** +`.trim()},null,8,["code"]),I("p",wk,[je(" to find the perfect set of options for your use-case, "),fe(l,{to:"/playground",class:"underline"},{default:xr(()=>[je(" use the playground ")]),_:1})]),xk,Ak])}}},Ok=Ss(Ek,[["__scopeId","data-v-1930b57b"]]),Sk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAABYAAAAWAF42ktiAAABv0lEQVRYhcWWv0vDQBTHvxXRQymmk6MgVNzM4OBmh/wB+hfY5j9wEoKDDnUW/4AaZ5e6OXSof0HtJGTxx9ZijaVIiwiRgwuEI8ndJZf2wUEuubvv5+7dey+lIAiwSFvSrW3ZvmHZ/rXseO0AANoAvhcCYNm+C+AQQFd2jrY7wMRP6HOnVSnJztNyApbt10NxAE8qc3MDMPHbyKv23AAs2zc5caj4n1rmO8DEqdhG5PW406oYKutkOgEa6zHiUN19JoAU8fkAMJG9lG/FAbBYTxKn/n8uDCCaaBJMeffSAFyiibV9/2M027kyVQGEYRiTaGLtpneP7Z/P8NM7gDd2Kl3iOYmnsywQpze+LhJf//uNilPbYs0UZUbpRMRgTNaM3cng7GtljQxXyzgYveL85ZGfMgZQI56TejEzZULm617YH5AyNmcTftgx8RxhXchaC2rRTox4Q0ZcGwBnl8RzXNmFdAPcEc+5UFlIGYD5P64OPBDPEUZMboCE3fdlwrUogD4LN+k/YZ0ANNbrWcWVATj/SyUarQDc7o/yiucBaKQVmKIBTlUSjdBoLZBp02rTnFabrux42aYCYOgWD4IA/9YKT2ODwKOHAAAAAElFTkSuQmCC",Rk="/powerglitch/default.png",wc=UE("main",{state:()=>{const e={image:``,button:"",paragraph:"

Power Glitch 🌎

"};return{powerGlitchOptions:{...vt.getDefaultOptions("always"),html:e.image},htmlElements:e}},actions:{setOptions(e){this.powerGlitchOptions={...this.powerGlitchOptions,...e}},setPlayModeDefaults(e){const n=vt.getDefaultOptions(e);this.powerGlitchOptions.playMode=e,this.powerGlitchOptions.timing=n.timing,this.powerGlitchOptions.glitchTimeSpan=n.glitchTimeSpan,this.powerGlitchOptions.shake=n.shake,this.powerGlitchOptions.slice=n.slice;const i={always:"image",hover:"paragraph",click:"button"}[e];this.powerGlitchOptions.html=this.htmlElements[i]}}}),Ck={class:"pl-4 text-sm grid grid-cols-12"},kk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Ik={class:"col-span-8 flex gap-4 overflow-x-hidden"},Tk=["value"],Pk=I("option",{value:"true"}," Yes ",-1),Mk=I("option",{value:"false"}," No ",-1),Nk=[Pk,Mk],vi={__name:"ToggleGroupOption",props:{modelValue:{type:[String,Number,Boolean,Object],required:!0},title:{type:String,required:!0},getDefaultValue:{type:Function,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Ke(),ut("div",Ck,[I("div",kk,Er(e.title),1),I("div",Ik,[I("select",{class:"w-20",value:!!e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",e.getDefaultValue(a.target.value==="true")))},Nk,40,Tk)])]))}},Lk={class:"pl-4 text-sm grid grid-cols-12"},Dk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Bk={class:"col-span-8 flex gap-4 overflow-x-hidden"},$k=["value"],Fk=["value"],eu={__name:"SelectOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},values:{type:Array,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Ke(),ut("div",Lk,[I("div",Dk,Er(e.title),1),I("div",Bk,[I("select",{class:"w-full",value:e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",a.target.value))},[(Ke(!0),ut(Mt,null,TA(e.values,a=>(Ke(),ut("option",{key:a,value:a},Er(a),9,Fk))),128))],40,$k)])]))}},Uk={class:"pl-4 text-sm grid grid-cols-12"},Gk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Hk={class:"col-span-8 flex gap-4 overflow-x-hidden"},zk=["value"],Wk=I("option",{value:"true"}," Yes ",-1),Yk=I("option",{value:"false"}," No ",-1),Vk=[Wk,Yk],Tu={__name:"BooleanOption",props:{modelValue:{type:Boolean,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(n,i)=>(Ke(),ut("div",Uk,[I("div",Gk,Er(e.title),1),I("div",Hk,[I("select",{class:"w-20",value:e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",a.target.value==="true"))},Vk,40,zk)])]))}},Kk={class:"pl-4 text-sm grid grid-cols-12"},jk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},qk={class:"col-span-8 flex gap-4 overflow-x-hidden"},Xk=["placeholder","value"],Zk={__name:"StringOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},placeholder:{type:String,default:""}},emits:["update:modelValue"],setup(e){return(n,i)=>(Ke(),ut("div",Kk,[I("div",jk,Er(e.title),1),I("div",qk,[I("input",{class:"w-full",placeholder:e.placeholder??e.title,value:e.modelValue,onInput:i[0]||(i[0]=a=>n.$emit("update:modelValue",a.target.value))},null,40,Xk)])]))}},Qk={class:"pl-4 text-sm grid grid-cols-12"},Jk={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},eI={class:"col-span-8 flex gap-4 overflow-x-hidden"},tI=["value","min","max"],nI=["value","min","max","step"],pn={__name:"NumberOption",props:{modelValue:{type:Number,required:!0},title:{type:String,required:!0},min:{type:Number,required:!0},max:{type:Number,required:!0},step:{type:Number,required:!0},factor:{type:Number,default:1}},emits:["update:modelValue"],setup(e){return(n,i)=>(Ke(),ut("div",Qk,[I("div",Jk,Er(e.title),1),I("div",eI,[I("input",{class:"w-20",type:"number",value:e.modelValue*e.factor,min:e.min*e.factor,max:e.max*e.factor,onChange:i[0]||(i[0]=a=>n.$emit("update:modelValue",parseInt(a.target.value)/e.factor))},null,40,tI),I("input",{value:e.modelValue*e.factor,type:"range",min:e.min*e.factor,max:e.max*e.factor,step:e.step*e.factor,onInput:i[1]||(i[1]=a=>n.$emit("update:modelValue",parseInt(a.target.value)/e.factor))},null,40,nI)])]))}},rI={class:"px-4"},iI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Recommended defaults ",-1),aI={class:"ml-4 flex flex-wrap justify-center gap-2"},oI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," General ",-1),sI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Timing ",-1),lI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Restrict glitch time span ",-1),uI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Shake ",-1),cI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Slice ",-1),fI=I("div",{class:"font-bold mt-6 mb-2 pl-2"}," Pulse ",-1),dI={__name:"OptionPanel",setup(e){const n=wc();return(i,a)=>(Ke(),ut("div",rI,[iI,I("div",aI,[I("button",{onClick:a[0]||(a[0]=s=>Z(n).setPlayModeDefaults("always"))}," Infinite "),I("button",{onClick:a[1]||(a[1]=s=>Z(n).setPlayModeDefaults("hover"))}," On hover "),I("button",{onClick:a[2]||(a[2]=s=>Z(n).setPlayModeDefaults("click"))}," On click ")]),oI,fe(eu,{modelValue:Z(n).powerGlitchOptions.html,"onUpdate:modelValue":a[3]||(a[3]=s=>Z(n).powerGlitchOptions.html=s),class:"mt-1",title:"HTML",values:Object.values(Z(n).htmlElements)},null,8,["modelValue","values"]),fe(eu,{modelValue:Z(n).powerGlitchOptions.playMode,"onUpdate:modelValue":a[4]||(a[4]=s=>Z(n).powerGlitchOptions.playMode=s),class:"mt-1",title:"Play mode",values:["always","hover","click"]},null,8,["modelValue"]),fe(Tu,{modelValue:Z(n).powerGlitchOptions.hideOverflow,"onUpdate:modelValue":a[5]||(a[5]=s=>Z(n).powerGlitchOptions.hideOverflow=s),class:"mt-1",title:"Hide overflow"},null,8,["modelValue"]),sI,fe(pn,{modelValue:Z(n).powerGlitchOptions.timing.duration,"onUpdate:modelValue":a[6]||(a[6]=s=>Z(n).powerGlitchOptions.timing.duration=s),class:"mt-1",title:"Loop duration (ms)",min:150,max:4e3,step:100},null,8,["modelValue","title"]),fe(vi,{class:"mt-1",modelValue:Z(n).powerGlitchOptions.timing.iterations===1/0,title:"Repeat indefinitely",getDefaultValue:s=>s?1/0:1,"onUpdate:modelValue":a[7]||(a[7]=s=>Z(n).powerGlitchOptions.timing.iterations=s)},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.timing.iterations<1/0?(Ke(),fa(pn,{key:0,modelValue:Z(n).powerGlitchOptions.timing.iterations,"onUpdate:modelValue":a[8]||(a[8]=s=>Z(n).powerGlitchOptions.timing.iterations=s),class:"mt-1",title:"Repeat count",min:1,max:60,step:1},null,8,["modelValue"])):pr("",!0),fe(vi,{class:"mt-1",modelValue:!!Z(n).powerGlitchOptions.timing.easing,title:"Smooth transition",getDefaultValue:s=>s?"ease-in-out":void 0,"onUpdate:modelValue":a[9]||(a[9]=s=>Z(n).powerGlitchOptions.timing.easing=s)},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.timing.easing?(Ke(),fa(eu,{key:1,modelValue:Z(n).powerGlitchOptions.timing.easing,"onUpdate:modelValue":a[10]||(a[10]=s=>Z(n).powerGlitchOptions.timing.easing=s),class:"mt-1",title:"Easing",values:["ease-in-out","ease-in","ease-out","linear"]},null,8,["modelValue"])):pr("",!0),lI,fe(vi,{modelValue:Z(n).powerGlitchOptions.glitchTimeSpan,"onUpdate:modelValue":a[11]||(a[11]=s=>Z(n).powerGlitchOptions.glitchTimeSpan=s),title:"Enabled",getDefaultValue:s=>s?Z(vt).getDefaultOptions(Z(n).powerGlitchOptions.playMode).glitchTimeSpan:!1},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.glitchTimeSpan?(Ke(),ut(Mt,{key:2},[fe(pn,{modelValue:Z(n).powerGlitchOptions.glitchTimeSpan.start,"onUpdate:modelValue":a[12]||(a[12]=s=>Z(n).powerGlitchOptions.glitchTimeSpan.start=s),class:"mt-1",title:"Start time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.glitchTimeSpan.end,"onUpdate:modelValue":a[13]||(a[13]=s=>Z(n).powerGlitchOptions.glitchTimeSpan.end=s),class:"mt-1",title:"End time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):pr("",!0),uI,fe(vi,{modelValue:Z(n).powerGlitchOptions.shake,"onUpdate:modelValue":a[14]||(a[14]=s=>Z(n).powerGlitchOptions.shake=s),title:"Enabled",getDefaultValue:s=>s?Z(vt).getDefaultOptions(Z(n).powerGlitchOptions.playMode).shake:!1},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.shake?(Ke(),ut(Mt,{key:3},[fe(pn,{modelValue:Z(n).powerGlitchOptions.shake.velocity,"onUpdate:modelValue":a[15]||(a[15]=s=>Z(n).powerGlitchOptions.shake.velocity=s),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.shake.amplitudeX,"onUpdate:modelValue":a[16]||(a[16]=s=>Z(n).powerGlitchOptions.shake.amplitudeX=s),class:"mt-1",title:"X amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.shake.amplitudeY,"onUpdate:modelValue":a[17]||(a[17]=s=>Z(n).powerGlitchOptions.shake.amplitudeY=s),class:"mt-1",title:"Y amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):pr("",!0),cI,fe(vi,{modelValue:Z(n).powerGlitchOptions.slice,"onUpdate:modelValue":a[18]||(a[18]=s=>Z(n).powerGlitchOptions.slice=s),title:"Enabled",getDefaultValue:s=>s?Z(vt).getDefaultOptions(Z(n).powerGlitchOptions.playMode).slice:!1},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.slice?(Ke(),ut(Mt,{key:4},[fe(pn,{modelValue:Z(n).powerGlitchOptions.slice.count,"onUpdate:modelValue":a[19]||(a[19]=s=>Z(n).powerGlitchOptions.slice.count=s),class:"mt-1",title:"Count (slice/step)",min:1,max:60,step:1},null,8,["modelValue","title"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.slice.velocity,"onUpdate:modelValue":a[20]||(a[20]=s=>Z(n).powerGlitchOptions.slice.velocity=s),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.slice.minHeight,"onUpdate:modelValue":a[21]||(a[21]=s=>Z(n).powerGlitchOptions.slice.minHeight=s),class:"mt-1",title:"Min slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),fe(pn,{modelValue:Z(n).powerGlitchOptions.slice.maxHeight,"onUpdate:modelValue":a[22]||(a[22]=s=>Z(n).powerGlitchOptions.slice.maxHeight=s),class:"mt-1",title:"Max slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),fe(Tu,{modelValue:Z(n).powerGlitchOptions.slice.hueRotate,"onUpdate:modelValue":a[23]||(a[23]=s=>Z(n).powerGlitchOptions.slice.hueRotate=s),class:"mt-1",title:"Hue rotate"},null,8,["modelValue"]),fe(Zk,{"model-value":Z(n).powerGlitchOptions.slice.cssFilters,class:"mt-1",title:"CSS filters",placeholder:"CSS filters eg `blur(5px) brightness(0.8)`","onUpdate:modelValue":a[24]||(a[24]=s=>{Z(n).powerGlitchOptions.slice.cssFilters=s,s&&(Z(n).powerGlitchOptions.slice.hueRotate=!1)})},null,8,["model-value"])],64)):pr("",!0),fI,fe(vi,{modelValue:Z(n).powerGlitchOptions.pulse,"onUpdate:modelValue":a[25]||(a[25]=s=>Z(n).powerGlitchOptions.pulse=s),title:"Enabled",getDefaultValue:s=>s?{scale:2}:!1},null,8,["modelValue","getDefaultValue"]),Z(n).powerGlitchOptions.pulse?(Ke(),fa(pn,{key:5,modelValue:Z(n).powerGlitchOptions.pulse.scale,"onUpdate:modelValue":a[26]||(a[26]=s=>Z(n).powerGlitchOptions.pulse.scale=s),class:"mt-1",title:"Scale",min:1.1,max:6,step:.1},null,8,["modelValue","min","step"])):pr("",!0)]))}};var ls={},hI={get exports(){return ls},set exports(e){ls=e}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(e,n){(function(){var i,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",v=500,p="__lodash_placeholder__",_=1,A=2,R=4,Y=1,q=2,ne=1,T=2,z=4,K=8,ae=16,ue=32,Se=64,ge=128,ye=256,Pe=512,Qe=30,ht="...",Ot=800,Ut=16,st=1,Je=2,G=3,V=1/0,X=9007199254740991,we=17976931348623157e292,Le=0/0,Ne=4294967295,Ke=Ne-1,jt=Ne>>>1,_t=[["ary",ge],["bind",ne],["bindKey",T],["curry",K],["curryRight",ae],["flip",Pe],["partial",ue],["partialRight",Se],["rearg",ye]],N="[object Arguments]",J="[object Array]",Z="[object AsyncFunction]",fe="[object Boolean]",Re="[object Date]",je="[object DOMException]",xe="[object Error]",b="[object Function]",x="[object GeneratorFunction]",S="[object Map]",M="[object Number]",U="[object Null]",k="[object Object]",Q="[object Promise]",H="[object Proxy]",F="[object RegExp]",$="[object Set]",oe="[object String]",ie="[object Symbol]",me="[object Undefined]",L="[object WeakMap]",j="[object WeakSet]",re="[object ArrayBuffer]",ce="[object DataView]",Ce="[object Float32Array]",et="[object Float64Array]",an="[object Int8Array]",tr="[object Int16Array]",Bn="[object Int32Array]",Qr="[object Uint8Array]",Ct="[object Uint8ClampedArray]",Gt="[object Uint16Array]",Jr="[object Uint32Array]",Im=/\b__p \+= '';/g,Tm=/\b(__p \+=) '' \+/g,Pm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xc=/&(?:amp|lt|gt|quot|#39);/g,Ac=/[&<>"']/g,Mm=RegExp(xc.source),Nm=RegExp(Ac.source),Lm=/<%-([\s\S]+?)%>/g,Dm=/<%([\s\S]+?)%>/g,Ec=/<%=([\s\S]+?)%>/g,Bm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$m=/^\w*$/,Fm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cs=/[\\^$.*+?()[\]{}|]/g,Um=RegExp(Cs.source),ks=/^\s+/,Gm=/\s/,Hm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zm=/\{\n\/\* \[wrapped with (.+)\] \*/,Wm=/,? & /,Ym=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Km=/[()=,{}\[\]\/\s]/,Vm=/\\(\\)?/g,jm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oc=/\w*$/,qm=/^[-+]0x[0-9a-f]+$/i,Xm=/^0b[01]+$/i,Zm=/^\[object .+?Constructor\]$/,Qm=/^0o[0-7]+$/i,Jm=/^(?:0|[1-9]\d*)$/,ev=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ba=/($^)/,tv=/['\n\r\u2028\u2029\\]/g,$a="\\ud800-\\udfff",nv="\\u0300-\\u036f",rv="\\ufe20-\\ufe2f",iv="\\u20d0-\\u20ff",Sc=nv+rv+iv,Rc="\\u2700-\\u27bf",Cc="a-z\\xdf-\\xf6\\xf8-\\xff",av="\\xac\\xb1\\xd7\\xf7",ov="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sv="\\u2000-\\u206f",lv=" \\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",kc="A-Z\\xc0-\\xd6\\xd8-\\xde",Ic="\\ufe0e\\ufe0f",Tc=av+ov+sv+lv,Is="['’]",uv="["+$a+"]",Pc="["+Tc+"]",Fa="["+Sc+"]",Mc="\\d+",cv="["+Rc+"]",Nc="["+Cc+"]",Lc="[^"+$a+Tc+Mc+Rc+Cc+kc+"]",Ts="\\ud83c[\\udffb-\\udfff]",fv="(?:"+Fa+"|"+Ts+")",Dc="[^"+$a+"]",Ps="(?:\\ud83c[\\udde6-\\uddff]){2}",Ms="[\\ud800-\\udbff][\\udc00-\\udfff]",ei="["+kc+"]",Bc="\\u200d",$c="(?:"+Nc+"|"+Lc+")",dv="(?:"+ei+"|"+Lc+")",Fc="(?:"+Is+"(?:d|ll|m|re|s|t|ve))?",Uc="(?:"+Is+"(?:D|LL|M|RE|S|T|VE))?",Gc=fv+"?",Hc="["+Ic+"]?",hv="(?:"+Bc+"(?:"+[Dc,Ps,Ms].join("|")+")"+Hc+Gc+")*",pv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",zc=Hc+Gc+hv,mv="(?:"+[cv,Ps,Ms].join("|")+")"+zc,vv="(?:"+[Dc+Fa+"?",Fa,Ps,Ms,uv].join("|")+")",bv=RegExp(Is,"g"),_v=RegExp(Fa,"g"),Ns=RegExp(Ts+"(?="+Ts+")|"+vv+zc,"g"),yv=RegExp([ei+"?"+Nc+"+"+Fc+"(?="+[Pc,ei,"$"].join("|")+")",dv+"+"+Uc+"(?="+[Pc,ei+$c,"$"].join("|")+")",ei+"?"+$c+"+"+Fc,ei+"+"+Uc,gv,pv,Mc,mv].join("|"),"g"),wv=RegExp("["+Bc+$a+Sc+Ic+"]"),xv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Av=["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"],Ev=-1,tt={};tt[Ce]=tt[et]=tt[an]=tt[tr]=tt[Bn]=tt[Qr]=tt[Ct]=tt[Gt]=tt[Jr]=!0,tt[N]=tt[J]=tt[re]=tt[fe]=tt[ce]=tt[Re]=tt[xe]=tt[b]=tt[S]=tt[M]=tt[k]=tt[F]=tt[$]=tt[oe]=tt[L]=!1;var Ze={};Ze[N]=Ze[J]=Ze[re]=Ze[ce]=Ze[fe]=Ze[Re]=Ze[Ce]=Ze[et]=Ze[an]=Ze[tr]=Ze[Bn]=Ze[S]=Ze[M]=Ze[k]=Ze[F]=Ze[$]=Ze[oe]=Ze[ie]=Ze[Qr]=Ze[Ct]=Ze[Gt]=Ze[Jr]=!0,Ze[xe]=Ze[b]=Ze[L]=!1;var Ov={À:"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"},Sv={"&":"&","<":"<",">":">",'"':""","'":"'"},Rv={"&":"&","<":"<",">":">",""":'"',"'":"'"},Cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kv=parseFloat,Iv=parseInt,Wc=typeof ia=="object"&&ia&&ia.Object===Object&&ia,Tv=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wc||Tv||Function("return this")(),Ls=n&&!n.nodeType&&n,Cr=Ls&&!0&&e&&!e.nodeType&&e,Yc=Cr&&Cr.exports===Ls,Ds=Yc&&Wc.process,on=function(){try{var E=Cr&&Cr.require&&Cr.require("util").types;return E||Ds&&Ds.binding&&Ds.binding("util")}catch{}}(),Kc=on&&on.isArrayBuffer,Vc=on&&on.isDate,jc=on&&on.isMap,qc=on&&on.isRegExp,Xc=on&&on.isSet,Zc=on&&on.isTypedArray;function qt(E,P,C){switch(C.length){case 0:return E.call(P);case 1:return E.call(P,C[0]);case 2:return E.call(P,C[0],C[1]);case 3:return E.call(P,C[0],C[1],C[2])}return E.apply(P,C)}function Pv(E,P,C,se){for(var Ae=-1,Ue=E==null?0:E.length;++Ae-1}function Bs(E,P,C){for(var se=-1,Ae=E==null?0:E.length;++se-1;);return C}function of(E,P){for(var C=E.length;C--&&ti(P,E[C],0)>-1;);return C}function Gv(E,P){for(var C=E.length,se=0;C--;)E[C]===P&&++se;return se}var Hv=Gs(Ov),zv=Gs(Sv);function Wv(E){return"\\"+Cv[E]}function Yv(E,P){return E==null?i:E[P]}function ni(E){return wv.test(E)}function Kv(E){return xv.test(E)}function Vv(E){for(var P,C=[];!(P=E.next()).done;)C.push(P.value);return C}function Ys(E){var P=-1,C=Array(E.size);return E.forEach(function(se,Ae){C[++P]=[Ae,se]}),C}function sf(E,P){return function(C){return E(P(C))}}function ir(E,P){for(var C=-1,se=E.length,Ae=0,Ue=[];++C-1}function Nb(t,r){var o=this.__data__,u=ro(o,t);return u<0?(++this.size,o.push([t,r])):o[u][1]=r,this}$n.prototype.clear=Ib,$n.prototype.delete=Tb,$n.prototype.get=Pb,$n.prototype.has=Mb,$n.prototype.set=Nb;function Fn(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r=r?t:r)),t}function cn(t,r,o,u,h,m){var y,w=r&_,O=r&A,D=r&R;if(o&&(y=h?o(t,u,h,m):o(t)),y!==i)return y;if(!lt(t))return t;var B=Ee(t);if(B){if(y=$0(t),!w)return Ht(t,y)}else{var W=Pt(t),ee=W==b||W==x;if(cr(t))return zf(t,w);if(W==k||W==N||ee&&!h){if(y=O||ee?{}:ld(t),!w)return O?R0(t,Xb(y,t)):S0(t,_f(y,t))}else{if(!Ze[W])return h?t:{};y=F0(t,W,w)}}m||(m=new vn);var he=m.get(t);if(he)return he;m.set(t,y),Bd(t)?t.forEach(function(_e){y.add(cn(_e,r,o,_e,t,m))}):Ld(t)&&t.forEach(function(_e,De){y.set(De,cn(_e,r,o,De,t,m))});var be=D?O?vl:ml:O?Wt:St,Ie=B?i:be(t);return sn(Ie||t,function(_e,De){Ie&&(De=_e,_e=t[De]),ji(y,De,cn(_e,r,o,De,t,m))}),y}function Zb(t){var r=St(t);return function(o){return yf(o,t,r)}}function yf(t,r,o){var u=o.length;if(t==null)return!u;for(t=qe(t);u--;){var h=o[u],m=r[h],y=t[h];if(y===i&&!(h in t)||!m(y))return!1}return!0}function wf(t,r,o){if(typeof t!="function")throw new ln(c);return ta(function(){t.apply(i,o)},r)}function qi(t,r,o,u){var h=-1,m=Ua,y=!0,w=t.length,O=[],D=r.length;if(!w)return O;o&&(r=it(r,Xt(o))),u?(m=Bs,y=!1):r.length>=s&&(m=Hi,y=!1,r=new Tr(r));e:for(;++hh?0:h+o),u=u===i||u>h?h:ke(u),u<0&&(u+=h),u=o>u?0:Fd(u);o0&&o(w)?r>1?It(w,r-1,o,u,h):rr(h,w):u||(h[h.length]=w)}return h}var Qs=qf(),Ef=qf(!0);function Rn(t,r){return t&&Qs(t,r,St)}function Js(t,r){return t&&Ef(t,r,St)}function ao(t,r){return nr(r,function(o){return Wn(t[o])})}function Mr(t,r){r=lr(r,t);for(var o=0,u=r.length;t!=null&&or}function e0(t,r){return t!=null&&ze.call(t,r)}function t0(t,r){return t!=null&&r in qe(t)}function n0(t,r,o){return t>=Tt(r,o)&&t=120&&B.length>=120)?new Tr(y&&B):i}B=t[0];var W=-1,ee=w[0];e:for(;++W-1;)w!==t&&Xa.call(w,O,1),Xa.call(t,O,1);return t}function Lf(t,r){for(var o=t?r.length:0,u=o-1;o--;){var h=r[o];if(o==u||h!==m){var m=h;zn(h)?Xa.call(t,h,1):ul(t,h)}}return t}function ol(t,r){return t+Ja(gf()*(r-t+1))}function g0(t,r,o,u){for(var h=-1,m=xt(Qa((r-t)/(o||1)),0),y=C(m);m--;)y[u?m:++h]=t,t+=o;return y}function sl(t,r){var o="";if(!t||r<1||r>X)return o;do r%2&&(o+=t),r=Ja(r/2),r&&(t+=t);while(r);return o}function Me(t,r){return El(fd(t,r,Yt),t+"")}function m0(t){return bf(hi(t))}function v0(t,r){var o=hi(t);return vo(o,Pr(r,0,o.length))}function Qi(t,r,o,u){if(!lt(t))return t;r=lr(r,t);for(var h=-1,m=r.length,y=m-1,w=t;w!=null&&++hh?0:h+r),o=o>h?h:o,o<0&&(o+=h),h=r>o?0:o-r>>>0,r>>>=0;for(var m=C(h);++u>>1,y=t[m];y!==null&&!Qt(y)&&(o?y<=r:y=s){var D=r?null:T0(t);if(D)return Ha(D);y=!1,h=Hi,O=new Tr}else O=r?[]:w;e:for(;++u=u?t:fn(t,r,o)}var Hf=lb||function(t){return kt.clearTimeout(t)};function zf(t,r){if(r)return t.slice();var o=t.length,u=cf?cf(o):new t.constructor(o);return t.copy(u),u}function hl(t){var r=new t.constructor(t.byteLength);return new ja(r).set(new ja(t)),r}function x0(t,r){var o=r?hl(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}function A0(t){var r=new t.constructor(t.source,Oc.exec(t));return r.lastIndex=t.lastIndex,r}function E0(t){return Vi?qe(Vi.call(t)):{}}function Wf(t,r){var o=r?hl(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}function Yf(t,r){if(t!==r){var o=t!==i,u=t===null,h=t===t,m=Qt(t),y=r!==i,w=r===null,O=r===r,D=Qt(r);if(!w&&!D&&!m&&t>r||m&&y&&O&&!w&&!D||u&&y&&O||!o&&O||!h)return 1;if(!u&&!m&&!D&&t=w)return O;var D=o[u];return O*(D=="desc"?-1:1)}}return t.index-r.index}function Kf(t,r,o,u){for(var h=-1,m=t.length,y=o.length,w=-1,O=r.length,D=xt(m-y,0),B=C(O+D),W=!u;++w1?o[h-1]:i,y=h>2?o[2]:i;for(m=t.length>3&&typeof m=="function"?(h--,m):i,y&&Dt(o[0],o[1],y)&&(m=h<3?i:m,h=1),r=qe(r);++u-1?h[m?r[y]:y]:i}}function Qf(t){return Hn(function(r){var o=r.length,u=o,h=un.prototype.thru;for(t&&r.reverse();u--;){var m=r[u];if(typeof m!="function")throw new ln(c);if(h&&!y&&go(m)=="wrapper")var y=new un([],!0)}for(u=y?u:o;++u1&&$e.reverse(),B&&Ow))return!1;var D=m.get(t),B=m.get(r);if(D&&B)return D==r&&B==t;var W=-1,ee=!0,he=o&q?new Tr:i;for(m.set(t,r),m.set(r,t);++W1?"& ":"")+r[u],r=r.join(o>2?", ":" "),t.replace(Hm,`{ + */(function(e,n){(function(){var i,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",v=500,p="__lodash_placeholder__",_=1,A=2,R=4,Y=1,q=2,ne=1,T=2,z=4,V=8,ae=16,ue=32,Se=64,ge=128,ye=256,Pe=512,Qe=30,ht="...",Ot=800,Ut=16,st=1,Je=2,G=3,K=1/0,X=9007199254740991,we=17976931348623157e292,Le=0/0,Ne=4294967295,Ve=Ne-1,jt=Ne>>>1,_t=[["ary",ge],["bind",ne],["bindKey",T],["curry",V],["curryRight",ae],["flip",Pe],["partial",ue],["partialRight",Se],["rearg",ye]],N="[object Arguments]",ee="[object Array]",Q="[object AsyncFunction]",de="[object Boolean]",Re="[object Date]",qe="[object DOMException]",xe="[object Error]",b="[object Function]",x="[object GeneratorFunction]",S="[object Map]",M="[object Number]",U="[object Null]",k="[object Object]",J="[object Promise]",H="[object Proxy]",F="[object RegExp]",$="[object Set]",oe="[object String]",ie="[object Symbol]",me="[object Undefined]",L="[object WeakMap]",j="[object WeakSet]",re="[object ArrayBuffer]",ce="[object DataView]",Ce="[object Float32Array]",et="[object Float64Array]",an="[object Int8Array]",tr="[object Int16Array]",Bn="[object Int32Array]",Qr="[object Uint8Array]",Ct="[object Uint8ClampedArray]",Gt="[object Uint16Array]",Jr="[object Uint32Array]",Im=/\b__p \+= '';/g,Tm=/\b(__p \+=) '' \+/g,Pm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xc=/&(?:amp|lt|gt|quot|#39);/g,Ac=/[&<>"']/g,Mm=RegExp(xc.source),Nm=RegExp(Ac.source),Lm=/<%-([\s\S]+?)%>/g,Dm=/<%([\s\S]+?)%>/g,Ec=/<%=([\s\S]+?)%>/g,Bm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$m=/^\w*$/,Fm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cs=/[\\^$.*+?()[\]{}|]/g,Um=RegExp(Cs.source),ks=/^\s+/,Gm=/\s/,Hm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zm=/\{\n\/\* \[wrapped with (.+)\] \*/,Wm=/,? & /,Ym=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vm=/[()=,{}\[\]\/\s]/,Km=/\\(\\)?/g,jm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oc=/\w*$/,qm=/^[-+]0x[0-9a-f]+$/i,Xm=/^0b[01]+$/i,Zm=/^\[object .+?Constructor\]$/,Qm=/^0o[0-7]+$/i,Jm=/^(?:0|[1-9]\d*)$/,ev=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ba=/($^)/,tv=/['\n\r\u2028\u2029\\]/g,$a="\\ud800-\\udfff",nv="\\u0300-\\u036f",rv="\\ufe20-\\ufe2f",iv="\\u20d0-\\u20ff",Sc=nv+rv+iv,Rc="\\u2700-\\u27bf",Cc="a-z\\xdf-\\xf6\\xf8-\\xff",av="\\xac\\xb1\\xd7\\xf7",ov="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sv="\\u2000-\\u206f",lv=" \\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",kc="A-Z\\xc0-\\xd6\\xd8-\\xde",Ic="\\ufe0e\\ufe0f",Tc=av+ov+sv+lv,Is="['’]",uv="["+$a+"]",Pc="["+Tc+"]",Fa="["+Sc+"]",Mc="\\d+",cv="["+Rc+"]",Nc="["+Cc+"]",Lc="[^"+$a+Tc+Mc+Rc+Cc+kc+"]",Ts="\\ud83c[\\udffb-\\udfff]",fv="(?:"+Fa+"|"+Ts+")",Dc="[^"+$a+"]",Ps="(?:\\ud83c[\\udde6-\\uddff]){2}",Ms="[\\ud800-\\udbff][\\udc00-\\udfff]",ei="["+kc+"]",Bc="\\u200d",$c="(?:"+Nc+"|"+Lc+")",dv="(?:"+ei+"|"+Lc+")",Fc="(?:"+Is+"(?:d|ll|m|re|s|t|ve))?",Uc="(?:"+Is+"(?:D|LL|M|RE|S|T|VE))?",Gc=fv+"?",Hc="["+Ic+"]?",hv="(?:"+Bc+"(?:"+[Dc,Ps,Ms].join("|")+")"+Hc+Gc+")*",pv="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",zc=Hc+Gc+hv,mv="(?:"+[cv,Ps,Ms].join("|")+")"+zc,vv="(?:"+[Dc+Fa+"?",Fa,Ps,Ms,uv].join("|")+")",bv=RegExp(Is,"g"),_v=RegExp(Fa,"g"),Ns=RegExp(Ts+"(?="+Ts+")|"+vv+zc,"g"),yv=RegExp([ei+"?"+Nc+"+"+Fc+"(?="+[Pc,ei,"$"].join("|")+")",dv+"+"+Uc+"(?="+[Pc,ei+$c,"$"].join("|")+")",ei+"?"+$c+"+"+Fc,ei+"+"+Uc,gv,pv,Mc,mv].join("|"),"g"),wv=RegExp("["+Bc+$a+Sc+Ic+"]"),xv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Av=["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"],Ev=-1,tt={};tt[Ce]=tt[et]=tt[an]=tt[tr]=tt[Bn]=tt[Qr]=tt[Ct]=tt[Gt]=tt[Jr]=!0,tt[N]=tt[ee]=tt[re]=tt[de]=tt[ce]=tt[Re]=tt[xe]=tt[b]=tt[S]=tt[M]=tt[k]=tt[F]=tt[$]=tt[oe]=tt[L]=!1;var Ze={};Ze[N]=Ze[ee]=Ze[re]=Ze[ce]=Ze[de]=Ze[Re]=Ze[Ce]=Ze[et]=Ze[an]=Ze[tr]=Ze[Bn]=Ze[S]=Ze[M]=Ze[k]=Ze[F]=Ze[$]=Ze[oe]=Ze[ie]=Ze[Qr]=Ze[Ct]=Ze[Gt]=Ze[Jr]=!0,Ze[xe]=Ze[b]=Ze[L]=!1;var Ov={À:"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"},Sv={"&":"&","<":"<",">":">",'"':""","'":"'"},Rv={"&":"&","<":"<",">":">",""":'"',"'":"'"},Cv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kv=parseFloat,Iv=parseInt,Wc=typeof ia=="object"&&ia&&ia.Object===Object&&ia,Tv=typeof self=="object"&&self&&self.Object===Object&&self,kt=Wc||Tv||Function("return this")(),Ls=n&&!n.nodeType&&n,kr=Ls&&!0&&e&&!e.nodeType&&e,Yc=kr&&kr.exports===Ls,Ds=Yc&&Wc.process,on=function(){try{var E=kr&&kr.require&&kr.require("util").types;return E||Ds&&Ds.binding&&Ds.binding("util")}catch{}}(),Vc=on&&on.isArrayBuffer,Kc=on&&on.isDate,jc=on&&on.isMap,qc=on&&on.isRegExp,Xc=on&&on.isSet,Zc=on&&on.isTypedArray;function qt(E,P,C){switch(C.length){case 0:return E.call(P);case 1:return E.call(P,C[0]);case 2:return E.call(P,C[0],C[1]);case 3:return E.call(P,C[0],C[1],C[2])}return E.apply(P,C)}function Pv(E,P,C,se){for(var Ae=-1,Ue=E==null?0:E.length;++Ae-1}function Bs(E,P,C){for(var se=-1,Ae=E==null?0:E.length;++se-1;);return C}function of(E,P){for(var C=E.length;C--&&ti(P,E[C],0)>-1;);return C}function Gv(E,P){for(var C=E.length,se=0;C--;)E[C]===P&&++se;return se}var Hv=Gs(Ov),zv=Gs(Sv);function Wv(E){return"\\"+Cv[E]}function Yv(E,P){return E==null?i:E[P]}function ni(E){return wv.test(E)}function Vv(E){return xv.test(E)}function Kv(E){for(var P,C=[];!(P=E.next()).done;)C.push(P.value);return C}function Ys(E){var P=-1,C=Array(E.size);return E.forEach(function(se,Ae){C[++P]=[Ae,se]}),C}function sf(E,P){return function(C){return E(P(C))}}function ir(E,P){for(var C=-1,se=E.length,Ae=0,Ue=[];++C-1}function Nb(t,r){var o=this.__data__,u=ro(o,t);return u<0?(++this.size,o.push([t,r])):o[u][1]=r,this}$n.prototype.clear=Ib,$n.prototype.delete=Tb,$n.prototype.get=Pb,$n.prototype.has=Mb,$n.prototype.set=Nb;function Fn(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r=r?t:r)),t}function cn(t,r,o,u,h,m){var y,w=r&_,O=r&A,D=r&R;if(o&&(y=h?o(t,u,h,m):o(t)),y!==i)return y;if(!lt(t))return t;var B=Ee(t);if(B){if(y=$0(t),!w)return Ht(t,y)}else{var W=Pt(t),te=W==b||W==x;if(cr(t))return zf(t,w);if(W==k||W==N||te&&!h){if(y=O||te?{}:ld(t),!w)return O?R0(t,Xb(y,t)):S0(t,_f(y,t))}else{if(!Ze[W])return h?t:{};y=F0(t,W,w)}}m||(m=new vn);var he=m.get(t);if(he)return he;m.set(t,y),Bd(t)?t.forEach(function(_e){y.add(cn(_e,r,o,_e,t,m))}):Ld(t)&&t.forEach(function(_e,De){y.set(De,cn(_e,r,o,De,t,m))});var be=D?O?vl:ml:O?Wt:St,Ie=B?i:be(t);return sn(Ie||t,function(_e,De){Ie&&(De=_e,_e=t[De]),ji(y,De,cn(_e,r,o,De,t,m))}),y}function Zb(t){var r=St(t);return function(o){return yf(o,t,r)}}function yf(t,r,o){var u=o.length;if(t==null)return!u;for(t=Xe(t);u--;){var h=o[u],m=r[h],y=t[h];if(y===i&&!(h in t)||!m(y))return!1}return!0}function wf(t,r,o){if(typeof t!="function")throw new ln(c);return ta(function(){t.apply(i,o)},r)}function qi(t,r,o,u){var h=-1,m=Ua,y=!0,w=t.length,O=[],D=r.length;if(!w)return O;o&&(r=it(r,Xt(o))),u?(m=Bs,y=!1):r.length>=s&&(m=Hi,y=!1,r=new Pr(r));e:for(;++hh?0:h+o),u=u===i||u>h?h:ke(u),u<0&&(u+=h),u=o>u?0:Fd(u);o0&&o(w)?r>1?It(w,r-1,o,u,h):rr(h,w):u||(h[h.length]=w)}return h}var Qs=qf(),Ef=qf(!0);function Rn(t,r){return t&&Qs(t,r,St)}function Js(t,r){return t&&Ef(t,r,St)}function ao(t,r){return nr(r,function(o){return Wn(t[o])})}function Nr(t,r){r=lr(r,t);for(var o=0,u=r.length;t!=null&&or}function e0(t,r){return t!=null&&ze.call(t,r)}function t0(t,r){return t!=null&&r in Xe(t)}function n0(t,r,o){return t>=Tt(r,o)&&t=120&&B.length>=120)?new Pr(y&&B):i}B=t[0];var W=-1,te=w[0];e:for(;++W-1;)w!==t&&Xa.call(w,O,1),Xa.call(t,O,1);return t}function Lf(t,r){for(var o=t?r.length:0,u=o-1;o--;){var h=r[o];if(o==u||h!==m){var m=h;zn(h)?Xa.call(t,h,1):ul(t,h)}}return t}function ol(t,r){return t+Ja(gf()*(r-t+1))}function g0(t,r,o,u){for(var h=-1,m=xt(Qa((r-t)/(o||1)),0),y=C(m);m--;)y[u?m:++h]=t,t+=o;return y}function sl(t,r){var o="";if(!t||r<1||r>X)return o;do r%2&&(o+=t),r=Ja(r/2),r&&(t+=t);while(r);return o}function Me(t,r){return El(fd(t,r,Yt),t+"")}function m0(t){return bf(hi(t))}function v0(t,r){var o=hi(t);return vo(o,Mr(r,0,o.length))}function Qi(t,r,o,u){if(!lt(t))return t;r=lr(r,t);for(var h=-1,m=r.length,y=m-1,w=t;w!=null&&++hh?0:h+r),o=o>h?h:o,o<0&&(o+=h),h=r>o?0:o-r>>>0,r>>>=0;for(var m=C(h);++u>>1,y=t[m];y!==null&&!Qt(y)&&(o?y<=r:y=s){var D=r?null:T0(t);if(D)return Ha(D);y=!1,h=Hi,O=new Pr}else O=r?[]:w;e:for(;++u=u?t:fn(t,r,o)}var Hf=lb||function(t){return kt.clearTimeout(t)};function zf(t,r){if(r)return t.slice();var o=t.length,u=cf?cf(o):new t.constructor(o);return t.copy(u),u}function hl(t){var r=new t.constructor(t.byteLength);return new ja(r).set(new ja(t)),r}function x0(t,r){var o=r?hl(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}function A0(t){var r=new t.constructor(t.source,Oc.exec(t));return r.lastIndex=t.lastIndex,r}function E0(t){return Ki?Xe(Ki.call(t)):{}}function Wf(t,r){var o=r?hl(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}function Yf(t,r){if(t!==r){var o=t!==i,u=t===null,h=t===t,m=Qt(t),y=r!==i,w=r===null,O=r===r,D=Qt(r);if(!w&&!D&&!m&&t>r||m&&y&&O&&!w&&!D||u&&y&&O||!o&&O||!h)return 1;if(!u&&!m&&!D&&t=w)return O;var D=o[u];return O*(D=="desc"?-1:1)}}return t.index-r.index}function Vf(t,r,o,u){for(var h=-1,m=t.length,y=o.length,w=-1,O=r.length,D=xt(m-y,0),B=C(O+D),W=!u;++w1?o[h-1]:i,y=h>2?o[2]:i;for(m=t.length>3&&typeof m=="function"?(h--,m):i,y&&Dt(o[0],o[1],y)&&(m=h<3?i:m,h=1),r=Xe(r);++u-1?h[m?r[y]:y]:i}}function Qf(t){return Hn(function(r){var o=r.length,u=o,h=un.prototype.thru;for(t&&r.reverse();u--;){var m=r[u];if(typeof m!="function")throw new ln(c);if(h&&!y&&go(m)=="wrapper")var y=new un([],!0)}for(u=y?u:o;++u1&&$e.reverse(),B&&Ow))return!1;var D=m.get(t),B=m.get(r);if(D&&B)return D==r&&B==t;var W=-1,te=!0,he=o&q?new Pr:i;for(m.set(t,r),m.set(r,t);++W1?"& ":"")+r[u],r=r.join(o>2?", ":" "),t.replace(Hm,`{ /* [wrapped with `+r+`] */ -`)}function G0(t){return Ee(t)||Dr(t)||!!(hf&&t&&t[hf])}function zn(t,r){var o=typeof t;return r=r??X,!!r&&(o=="number"||o!="symbol"&&Jm.test(t))&&t>-1&&t%1==0&&t0){if(++r>=Ot)return arguments[0]}else r=0;return t.apply(i,arguments)}}function vo(t,r){var o=-1,u=t.length,h=u-1;for(r=r===i?u:r;++o1?t[r-1]:i;return o=typeof o=="function"?(t.pop(),o):i,Ad(t,o)});function Ed(t){var r=g(t);return r.__chain__=!0,r}function Q1(t,r){return r(t),t}function bo(t,r){return r(t)}var J1=Hn(function(t){var r=t.length,o=r?t[0]:0,u=this.__wrapped__,h=function(m){return Zs(m,t)};return r>1||this.__actions__.length||!(u instanceof Be)||!zn(o)?this.thru(h):(u=u.slice(o,+o+(r?1:0)),u.__actions__.push({func:bo,args:[h],thisArg:i}),new un(u,this.__chain__).thru(function(m){return r&&!m.length&&m.push(i),m}))});function e_(){return Ed(this)}function t_(){return new un(this.value(),this.__chain__)}function n_(){this.__values__===i&&(this.__values__=$d(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}}function r_(){return this}function i_(t){for(var r,o=this;o instanceof no;){var u=vd(o);u.__index__=0,u.__values__=i,r?h.__wrapped__=u:r=u;var h=u;o=o.__wrapped__}return h.__wrapped__=t,r}function a_(){var t=this.__wrapped__;if(t instanceof Be){var r=t;return this.__actions__.length&&(r=new Be(this)),r=r.reverse(),r.__actions__.push({func:bo,args:[Ol],thisArg:i}),new un(r,this.__chain__)}return this.thru(Ol)}function o_(){return Uf(this.__wrapped__,this.__actions__)}var s_=uo(function(t,r,o){ze.call(t,o)?++t[o]:Un(t,o,1)});function l_(t,r,o){var u=Ee(t)?Qc:Qb;return o&&Dt(t,r,o)&&(r=i),u(t,ve(r,3))}function u_(t,r){var o=Ee(t)?nr:Af;return o(t,ve(r,3))}var c_=Zf(bd),f_=Zf(_d);function d_(t,r){return It(_o(t,r),1)}function h_(t,r){return It(_o(t,r),V)}function p_(t,r,o){return o=o===i?1:ke(o),It(_o(t,r),o)}function Od(t,r){var o=Ee(t)?sn:or;return o(t,ve(r,3))}function Sd(t,r){var o=Ee(t)?Mv:xf;return o(t,ve(r,3))}var g_=uo(function(t,r,o){ze.call(t,o)?t[o].push(r):Un(t,o,[r])});function m_(t,r,o,u){t=zt(t)?t:hi(t),o=o&&!u?ke(o):0;var h=t.length;return o<0&&(o=xt(h+o,0)),Eo(t)?o<=h&&t.indexOf(r,o)>-1:!!h&&ti(t,r,o)>-1}var v_=Me(function(t,r,o){var u=-1,h=typeof r=="function",m=zt(t)?C(t.length):[];return or(t,function(y){m[++u]=h?qt(r,y,o):Xi(y,r,o)}),m}),b_=uo(function(t,r,o){Un(t,o,r)});function _o(t,r){var o=Ee(t)?it:kf;return o(t,ve(r,3))}function __(t,r,o,u){return t==null?[]:(Ee(r)||(r=r==null?[]:[r]),o=u?i:o,Ee(o)||(o=o==null?[]:[o]),Mf(t,r,o))}var y_=uo(function(t,r,o){t[o?0:1].push(r)},function(){return[[],[]]});function w_(t,r,o){var u=Ee(t)?$s:nf,h=arguments.length<3;return u(t,ve(r,4),o,h,or)}function x_(t,r,o){var u=Ee(t)?Nv:nf,h=arguments.length<3;return u(t,ve(r,4),o,h,xf)}function A_(t,r){var o=Ee(t)?nr:Af;return o(t,xo(ve(r,3)))}function E_(t){var r=Ee(t)?bf:m0;return r(t)}function O_(t,r,o){(o?Dt(t,r,o):r===i)?r=1:r=ke(r);var u=Ee(t)?Vb:v0;return u(t,r)}function S_(t){var r=Ee(t)?jb:_0;return r(t)}function R_(t){if(t==null)return 0;if(zt(t))return Eo(t)?ri(t):t.length;var r=Pt(t);return r==S||r==$?t.size:rl(t).length}function C_(t,r,o){var u=Ee(t)?Fs:y0;return o&&Dt(t,r,o)&&(r=i),u(t,ve(r,3))}var k_=Me(function(t,r){if(t==null)return[];var o=r.length;return o>1&&Dt(t,r[0],r[1])?r=[]:o>2&&Dt(r[0],r[1],r[2])&&(r=[r[0]]),Mf(t,It(r,1),[])}),yo=ub||function(){return kt.Date.now()};function I_(t,r){if(typeof r!="function")throw new ln(c);return t=ke(t),function(){if(--t<1)return r.apply(this,arguments)}}function Rd(t,r,o){return r=o?i:r,r=t&&r==null?t.length:r,Gn(t,ge,i,i,i,i,r)}function Cd(t,r){var o;if(typeof r!="function")throw new ln(c);return t=ke(t),function(){return--t>0&&(o=r.apply(this,arguments)),t<=1&&(r=i),o}}var Rl=Me(function(t,r,o){var u=ne;if(o.length){var h=ir(o,fi(Rl));u|=ue}return Gn(t,u,r,o,h)}),kd=Me(function(t,r,o){var u=ne|T;if(o.length){var h=ir(o,fi(kd));u|=ue}return Gn(r,u,t,o,h)});function Id(t,r,o){r=o?i:r;var u=Gn(t,K,i,i,i,i,i,r);return u.placeholder=Id.placeholder,u}function Td(t,r,o){r=o?i:r;var u=Gn(t,ae,i,i,i,i,i,r);return u.placeholder=Td.placeholder,u}function Pd(t,r,o){var u,h,m,y,w,O,D=0,B=!1,W=!1,ee=!0;if(typeof t!="function")throw new ln(c);r=hn(r)||0,lt(o)&&(B=!!o.leading,W="maxWait"in o,m=W?xt(hn(o.maxWait)||0,r):m,ee="trailing"in o?!!o.trailing:ee);function he(gt){var _n=u,Kn=h;return u=h=i,D=gt,y=t.apply(Kn,_n),y}function be(gt){return D=gt,w=ta(De,r),B?he(gt):y}function Ie(gt){var _n=gt-O,Kn=gt-D,Zd=r-_n;return W?Tt(Zd,m-Kn):Zd}function _e(gt){var _n=gt-O,Kn=gt-D;return O===i||_n>=r||_n<0||W&&Kn>=m}function De(){var gt=yo();if(_e(gt))return $e(gt);w=ta(De,Ie(gt))}function $e(gt){return w=i,ee&&u?he(gt):(u=h=i,y)}function Jt(){w!==i&&Hf(w),D=0,u=O=h=w=i}function Bt(){return w===i?y:$e(yo())}function en(){var gt=yo(),_n=_e(gt);if(u=arguments,h=this,O=gt,_n){if(w===i)return be(O);if(W)return Hf(w),w=ta(De,r),he(O)}return w===i&&(w=ta(De,r)),y}return en.cancel=Jt,en.flush=Bt,en}var T_=Me(function(t,r){return wf(t,1,r)}),P_=Me(function(t,r,o){return wf(t,hn(r)||0,o)});function M_(t){return Gn(t,Pe)}function wo(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new ln(c);var o=function(){var u=arguments,h=r?r.apply(this,u):u[0],m=o.cache;if(m.has(h))return m.get(h);var y=t.apply(this,u);return o.cache=m.set(h,y)||m,y};return o.cache=new(wo.Cache||Fn),o}wo.Cache=Fn;function xo(t){if(typeof t!="function")throw new ln(c);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}function N_(t){return Cd(2,t)}var L_=w0(function(t,r){r=r.length==1&&Ee(r[0])?it(r[0],Xt(ve())):it(It(r,1),Xt(ve()));var o=r.length;return Me(function(u){for(var h=-1,m=Tt(u.length,o);++h=r}),Dr=Sf(function(){return arguments}())?Sf:function(t){return ut(t)&&ze.call(t,"callee")&&!df.call(t,"callee")},Ee=C.isArray,X_=Kc?Xt(Kc):i0;function zt(t){return t!=null&&Ao(t.length)&&!Wn(t)}function pt(t){return ut(t)&&zt(t)}function Z_(t){return t===!0||t===!1||ut(t)&&Lt(t)==fe}var cr=fb||Fl,Q_=Vc?Xt(Vc):a0;function J_(t){return ut(t)&&t.nodeType===1&&!na(t)}function ey(t){if(t==null)return!0;if(zt(t)&&(Ee(t)||typeof t=="string"||typeof t.splice=="function"||cr(t)||di(t)||Dr(t)))return!t.length;var r=Pt(t);if(r==S||r==$)return!t.size;if(ea(t))return!rl(t).length;for(var o in t)if(ze.call(t,o))return!1;return!0}function ty(t,r){return Zi(t,r)}function ny(t,r,o){o=typeof o=="function"?o:i;var u=o?o(t,r):i;return u===i?Zi(t,r,i,o):!!u}function kl(t){if(!ut(t))return!1;var r=Lt(t);return r==xe||r==je||typeof t.message=="string"&&typeof t.name=="string"&&!na(t)}function ry(t){return typeof t=="number"&&pf(t)}function Wn(t){if(!lt(t))return!1;var r=Lt(t);return r==b||r==x||r==Z||r==H}function Nd(t){return typeof t=="number"&&t==ke(t)}function Ao(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=X}function lt(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function ut(t){return t!=null&&typeof t=="object"}var Ld=jc?Xt(jc):s0;function iy(t,r){return t===r||nl(t,r,_l(r))}function ay(t,r,o){return o=typeof o=="function"?o:i,nl(t,r,_l(r),o)}function oy(t){return Dd(t)&&t!=+t}function sy(t){if(W0(t))throw new Ae(l);return Rf(t)}function ly(t){return t===null}function uy(t){return t==null}function Dd(t){return typeof t=="number"||ut(t)&&Lt(t)==M}function na(t){if(!ut(t)||Lt(t)!=k)return!1;var r=qa(t);if(r===null)return!0;var o=ze.call(r,"constructor")&&r.constructor;return typeof o=="function"&&o instanceof o&&Ya.call(o)==ab}var Il=qc?Xt(qc):l0;function cy(t){return Nd(t)&&t>=-X&&t<=X}var Bd=Xc?Xt(Xc):u0;function Eo(t){return typeof t=="string"||!Ee(t)&&ut(t)&&Lt(t)==oe}function Qt(t){return typeof t=="symbol"||ut(t)&&Lt(t)==ie}var di=Zc?Xt(Zc):c0;function fy(t){return t===i}function dy(t){return ut(t)&&Pt(t)==L}function hy(t){return ut(t)&&Lt(t)==j}var py=po(il),gy=po(function(t,r){return t<=r});function $d(t){if(!t)return[];if(zt(t))return Eo(t)?mn(t):Ht(t);if(zi&&t[zi])return Vv(t[zi]());var r=Pt(t),o=r==S?Ys:r==$?Ha:hi;return o(t)}function Yn(t){if(!t)return t===0?t:0;if(t=hn(t),t===V||t===-V){var r=t<0?-1:1;return r*we}return t===t?t:0}function ke(t){var r=Yn(t),o=r%1;return r===r?o?r-o:r:0}function Fd(t){return t?Pr(ke(t),0,Ne):0}function hn(t){if(typeof t=="number")return t;if(Qt(t))return Le;if(lt(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=lt(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=rf(t);var o=Xm.test(t);return o||Qm.test(t)?Iv(t.slice(2),o?2:8):qm.test(t)?Le:+t}function Ud(t){return Cn(t,Wt(t))}function my(t){return t?Pr(ke(t),-X,X):t===0?t:0}function He(t){return t==null?"":Zt(t)}var vy=ui(function(t,r){if(ea(r)||zt(r)){Cn(r,St(r),t);return}for(var o in r)ze.call(r,o)&&ji(t,o,r[o])}),Gd=ui(function(t,r){Cn(r,Wt(r),t)}),Oo=ui(function(t,r,o,u){Cn(r,Wt(r),t,u)}),by=ui(function(t,r,o,u){Cn(r,St(r),t,u)}),_y=Hn(Zs);function yy(t,r){var o=li(t);return r==null?o:_f(o,r)}var wy=Me(function(t,r){t=qe(t);var o=-1,u=r.length,h=u>2?r[2]:i;for(h&&Dt(r[0],r[1],h)&&(u=1);++o1),m}),Cn(t,vl(t),o),u&&(o=cn(o,_|A|R,P0));for(var h=r.length;h--;)ul(o,r[h]);return o});function Fy(t,r){return zd(t,xo(ve(r)))}var Uy=Hn(function(t,r){return t==null?{}:h0(t,r)});function zd(t,r){if(t==null)return{};var o=it(vl(t),function(u){return[u]});return r=ve(r),Nf(t,o,function(u,h){return r(u,h[0])})}function Gy(t,r,o){r=lr(r,t);var u=-1,h=r.length;for(h||(h=1,t=i);++ur){var u=t;t=r,r=u}if(o||t%1||r%1){var h=gf();return Tt(t+h*(r-t+kv("1e-"+((h+"").length-1))),r)}return ol(t,r)}var Qy=ci(function(t,r,o){return r=r.toLowerCase(),t+(o?Kd(r):r)});function Kd(t){return Ml(He(t).toLowerCase())}function Vd(t){return t=He(t),t&&t.replace(ev,Hv).replace(_v,"")}function Jy(t,r,o){t=He(t),r=Zt(r);var u=t.length;o=o===i?u:Pr(ke(o),0,u);var h=o;return o-=r.length,o>=0&&t.slice(o,h)==r}function ew(t){return t=He(t),t&&Nm.test(t)?t.replace(Ac,zv):t}function tw(t){return t=He(t),t&&Um.test(t)?t.replace(Cs,"\\$&"):t}var nw=ci(function(t,r,o){return t+(o?"-":"")+r.toLowerCase()}),rw=ci(function(t,r,o){return t+(o?" ":"")+r.toLowerCase()}),iw=Xf("toLowerCase");function aw(t,r,o){t=He(t),r=ke(r);var u=r?ri(t):0;if(!r||u>=r)return t;var h=(r-u)/2;return ho(Ja(h),o)+t+ho(Qa(h),o)}function ow(t,r,o){t=He(t),r=ke(r);var u=r?ri(t):0;return r&&u>>0,o?(t=He(t),t&&(typeof r=="string"||r!=null&&!Il(r))&&(r=Zt(r),!r&&ni(t))?ur(mn(t),0,o):t.split(r,o)):[]}var hw=ci(function(t,r,o){return t+(o?" ":"")+Ml(r)});function pw(t,r,o){return t=He(t),o=o==null?0:Pr(ke(o),0,t.length),r=Zt(r),t.slice(o,o+r.length)==r}function gw(t,r,o){var u=g.templateSettings;o&&Dt(t,r,o)&&(r=i),t=He(t),r=Oo({},r,u,rd);var h=Oo({},r.imports,u.imports,rd),m=St(h),y=Ws(h,m),w,O,D=0,B=r.interpolate||Ba,W="__p += '",ee=Ks((r.escape||Ba).source+"|"+B.source+"|"+(B===Ec?jm:Ba).source+"|"+(r.evaluate||Ba).source+"|$","g"),he="//# sourceURL="+(ze.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ev+"]")+` -`;t.replace(ee,function(_e,De,$e,Jt,Bt,en){return $e||($e=Jt),W+=t.slice(D,en).replace(tv,Wv),De&&(w=!0,W+=`' + +`)}function G0(t){return Ee(t)||Br(t)||!!(hf&&t&&t[hf])}function zn(t,r){var o=typeof t;return r=r??X,!!r&&(o=="number"||o!="symbol"&&Jm.test(t))&&t>-1&&t%1==0&&t0){if(++r>=Ot)return arguments[0]}else r=0;return t.apply(i,arguments)}}function vo(t,r){var o=-1,u=t.length,h=u-1;for(r=r===i?u:r;++o1?t[r-1]:i;return o=typeof o=="function"?(t.pop(),o):i,Ad(t,o)});function Ed(t){var r=g(t);return r.__chain__=!0,r}function Q1(t,r){return r(t),t}function bo(t,r){return r(t)}var J1=Hn(function(t){var r=t.length,o=r?t[0]:0,u=this.__wrapped__,h=function(m){return Zs(m,t)};return r>1||this.__actions__.length||!(u instanceof Be)||!zn(o)?this.thru(h):(u=u.slice(o,+o+(r?1:0)),u.__actions__.push({func:bo,args:[h],thisArg:i}),new un(u,this.__chain__).thru(function(m){return r&&!m.length&&m.push(i),m}))});function e_(){return Ed(this)}function t_(){return new un(this.value(),this.__chain__)}function n_(){this.__values__===i&&(this.__values__=$d(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}}function r_(){return this}function i_(t){for(var r,o=this;o instanceof no;){var u=vd(o);u.__index__=0,u.__values__=i,r?h.__wrapped__=u:r=u;var h=u;o=o.__wrapped__}return h.__wrapped__=t,r}function a_(){var t=this.__wrapped__;if(t instanceof Be){var r=t;return this.__actions__.length&&(r=new Be(this)),r=r.reverse(),r.__actions__.push({func:bo,args:[Ol],thisArg:i}),new un(r,this.__chain__)}return this.thru(Ol)}function o_(){return Uf(this.__wrapped__,this.__actions__)}var s_=uo(function(t,r,o){ze.call(t,o)?++t[o]:Un(t,o,1)});function l_(t,r,o){var u=Ee(t)?Qc:Qb;return o&&Dt(t,r,o)&&(r=i),u(t,ve(r,3))}function u_(t,r){var o=Ee(t)?nr:Af;return o(t,ve(r,3))}var c_=Zf(bd),f_=Zf(_d);function d_(t,r){return It(_o(t,r),1)}function h_(t,r){return It(_o(t,r),K)}function p_(t,r,o){return o=o===i?1:ke(o),It(_o(t,r),o)}function Od(t,r){var o=Ee(t)?sn:or;return o(t,ve(r,3))}function Sd(t,r){var o=Ee(t)?Mv:xf;return o(t,ve(r,3))}var g_=uo(function(t,r,o){ze.call(t,o)?t[o].push(r):Un(t,o,[r])});function m_(t,r,o,u){t=zt(t)?t:hi(t),o=o&&!u?ke(o):0;var h=t.length;return o<0&&(o=xt(h+o,0)),Eo(t)?o<=h&&t.indexOf(r,o)>-1:!!h&&ti(t,r,o)>-1}var v_=Me(function(t,r,o){var u=-1,h=typeof r=="function",m=zt(t)?C(t.length):[];return or(t,function(y){m[++u]=h?qt(r,y,o):Xi(y,r,o)}),m}),b_=uo(function(t,r,o){Un(t,o,r)});function _o(t,r){var o=Ee(t)?it:kf;return o(t,ve(r,3))}function __(t,r,o,u){return t==null?[]:(Ee(r)||(r=r==null?[]:[r]),o=u?i:o,Ee(o)||(o=o==null?[]:[o]),Mf(t,r,o))}var y_=uo(function(t,r,o){t[o?0:1].push(r)},function(){return[[],[]]});function w_(t,r,o){var u=Ee(t)?$s:nf,h=arguments.length<3;return u(t,ve(r,4),o,h,or)}function x_(t,r,o){var u=Ee(t)?Nv:nf,h=arguments.length<3;return u(t,ve(r,4),o,h,xf)}function A_(t,r){var o=Ee(t)?nr:Af;return o(t,xo(ve(r,3)))}function E_(t){var r=Ee(t)?bf:m0;return r(t)}function O_(t,r,o){(o?Dt(t,r,o):r===i)?r=1:r=ke(r);var u=Ee(t)?Kb:v0;return u(t,r)}function S_(t){var r=Ee(t)?jb:_0;return r(t)}function R_(t){if(t==null)return 0;if(zt(t))return Eo(t)?ri(t):t.length;var r=Pt(t);return r==S||r==$?t.size:rl(t).length}function C_(t,r,o){var u=Ee(t)?Fs:y0;return o&&Dt(t,r,o)&&(r=i),u(t,ve(r,3))}var k_=Me(function(t,r){if(t==null)return[];var o=r.length;return o>1&&Dt(t,r[0],r[1])?r=[]:o>2&&Dt(r[0],r[1],r[2])&&(r=[r[0]]),Mf(t,It(r,1),[])}),yo=ub||function(){return kt.Date.now()};function I_(t,r){if(typeof r!="function")throw new ln(c);return t=ke(t),function(){if(--t<1)return r.apply(this,arguments)}}function Rd(t,r,o){return r=o?i:r,r=t&&r==null?t.length:r,Gn(t,ge,i,i,i,i,r)}function Cd(t,r){var o;if(typeof r!="function")throw new ln(c);return t=ke(t),function(){return--t>0&&(o=r.apply(this,arguments)),t<=1&&(r=i),o}}var Rl=Me(function(t,r,o){var u=ne;if(o.length){var h=ir(o,fi(Rl));u|=ue}return Gn(t,u,r,o,h)}),kd=Me(function(t,r,o){var u=ne|T;if(o.length){var h=ir(o,fi(kd));u|=ue}return Gn(r,u,t,o,h)});function Id(t,r,o){r=o?i:r;var u=Gn(t,V,i,i,i,i,i,r);return u.placeholder=Id.placeholder,u}function Td(t,r,o){r=o?i:r;var u=Gn(t,ae,i,i,i,i,i,r);return u.placeholder=Td.placeholder,u}function Pd(t,r,o){var u,h,m,y,w,O,D=0,B=!1,W=!1,te=!0;if(typeof t!="function")throw new ln(c);r=hn(r)||0,lt(o)&&(B=!!o.leading,W="maxWait"in o,m=W?xt(hn(o.maxWait)||0,r):m,te="trailing"in o?!!o.trailing:te);function he(gt){var _n=u,Vn=h;return u=h=i,D=gt,y=t.apply(Vn,_n),y}function be(gt){return D=gt,w=ta(De,r),B?he(gt):y}function Ie(gt){var _n=gt-O,Vn=gt-D,Zd=r-_n;return W?Tt(Zd,m-Vn):Zd}function _e(gt){var _n=gt-O,Vn=gt-D;return O===i||_n>=r||_n<0||W&&Vn>=m}function De(){var gt=yo();if(_e(gt))return $e(gt);w=ta(De,Ie(gt))}function $e(gt){return w=i,te&&u?he(gt):(u=h=i,y)}function Jt(){w!==i&&Hf(w),D=0,u=O=h=w=i}function Bt(){return w===i?y:$e(yo())}function en(){var gt=yo(),_n=_e(gt);if(u=arguments,h=this,O=gt,_n){if(w===i)return be(O);if(W)return Hf(w),w=ta(De,r),he(O)}return w===i&&(w=ta(De,r)),y}return en.cancel=Jt,en.flush=Bt,en}var T_=Me(function(t,r){return wf(t,1,r)}),P_=Me(function(t,r,o){return wf(t,hn(r)||0,o)});function M_(t){return Gn(t,Pe)}function wo(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new ln(c);var o=function(){var u=arguments,h=r?r.apply(this,u):u[0],m=o.cache;if(m.has(h))return m.get(h);var y=t.apply(this,u);return o.cache=m.set(h,y)||m,y};return o.cache=new(wo.Cache||Fn),o}wo.Cache=Fn;function xo(t){if(typeof t!="function")throw new ln(c);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}function N_(t){return Cd(2,t)}var L_=w0(function(t,r){r=r.length==1&&Ee(r[0])?it(r[0],Xt(ve())):it(It(r,1),Xt(ve()));var o=r.length;return Me(function(u){for(var h=-1,m=Tt(u.length,o);++h=r}),Br=Sf(function(){return arguments}())?Sf:function(t){return ct(t)&&ze.call(t,"callee")&&!df.call(t,"callee")},Ee=C.isArray,X_=Vc?Xt(Vc):i0;function zt(t){return t!=null&&Ao(t.length)&&!Wn(t)}function pt(t){return ct(t)&&zt(t)}function Z_(t){return t===!0||t===!1||ct(t)&&Lt(t)==de}var cr=fb||Fl,Q_=Kc?Xt(Kc):a0;function J_(t){return ct(t)&&t.nodeType===1&&!na(t)}function ey(t){if(t==null)return!0;if(zt(t)&&(Ee(t)||typeof t=="string"||typeof t.splice=="function"||cr(t)||di(t)||Br(t)))return!t.length;var r=Pt(t);if(r==S||r==$)return!t.size;if(ea(t))return!rl(t).length;for(var o in t)if(ze.call(t,o))return!1;return!0}function ty(t,r){return Zi(t,r)}function ny(t,r,o){o=typeof o=="function"?o:i;var u=o?o(t,r):i;return u===i?Zi(t,r,i,o):!!u}function kl(t){if(!ct(t))return!1;var r=Lt(t);return r==xe||r==qe||typeof t.message=="string"&&typeof t.name=="string"&&!na(t)}function ry(t){return typeof t=="number"&&pf(t)}function Wn(t){if(!lt(t))return!1;var r=Lt(t);return r==b||r==x||r==Q||r==H}function Nd(t){return typeof t=="number"&&t==ke(t)}function Ao(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=X}function lt(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function ct(t){return t!=null&&typeof t=="object"}var Ld=jc?Xt(jc):s0;function iy(t,r){return t===r||nl(t,r,_l(r))}function ay(t,r,o){return o=typeof o=="function"?o:i,nl(t,r,_l(r),o)}function oy(t){return Dd(t)&&t!=+t}function sy(t){if(W0(t))throw new Ae(l);return Rf(t)}function ly(t){return t===null}function uy(t){return t==null}function Dd(t){return typeof t=="number"||ct(t)&&Lt(t)==M}function na(t){if(!ct(t)||Lt(t)!=k)return!1;var r=qa(t);if(r===null)return!0;var o=ze.call(r,"constructor")&&r.constructor;return typeof o=="function"&&o instanceof o&&Ya.call(o)==ab}var Il=qc?Xt(qc):l0;function cy(t){return Nd(t)&&t>=-X&&t<=X}var Bd=Xc?Xt(Xc):u0;function Eo(t){return typeof t=="string"||!Ee(t)&&ct(t)&&Lt(t)==oe}function Qt(t){return typeof t=="symbol"||ct(t)&&Lt(t)==ie}var di=Zc?Xt(Zc):c0;function fy(t){return t===i}function dy(t){return ct(t)&&Pt(t)==L}function hy(t){return ct(t)&&Lt(t)==j}var py=po(il),gy=po(function(t,r){return t<=r});function $d(t){if(!t)return[];if(zt(t))return Eo(t)?mn(t):Ht(t);if(zi&&t[zi])return Kv(t[zi]());var r=Pt(t),o=r==S?Ys:r==$?Ha:hi;return o(t)}function Yn(t){if(!t)return t===0?t:0;if(t=hn(t),t===K||t===-K){var r=t<0?-1:1;return r*we}return t===t?t:0}function ke(t){var r=Yn(t),o=r%1;return r===r?o?r-o:r:0}function Fd(t){return t?Mr(ke(t),0,Ne):0}function hn(t){if(typeof t=="number")return t;if(Qt(t))return Le;if(lt(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=lt(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=rf(t);var o=Xm.test(t);return o||Qm.test(t)?Iv(t.slice(2),o?2:8):qm.test(t)?Le:+t}function Ud(t){return Cn(t,Wt(t))}function my(t){return t?Mr(ke(t),-X,X):t===0?t:0}function He(t){return t==null?"":Zt(t)}var vy=ui(function(t,r){if(ea(r)||zt(r)){Cn(r,St(r),t);return}for(var o in r)ze.call(r,o)&&ji(t,o,r[o])}),Gd=ui(function(t,r){Cn(r,Wt(r),t)}),Oo=ui(function(t,r,o,u){Cn(r,Wt(r),t,u)}),by=ui(function(t,r,o,u){Cn(r,St(r),t,u)}),_y=Hn(Zs);function yy(t,r){var o=li(t);return r==null?o:_f(o,r)}var wy=Me(function(t,r){t=Xe(t);var o=-1,u=r.length,h=u>2?r[2]:i;for(h&&Dt(r[0],r[1],h)&&(u=1);++o1),m}),Cn(t,vl(t),o),u&&(o=cn(o,_|A|R,P0));for(var h=r.length;h--;)ul(o,r[h]);return o});function Fy(t,r){return zd(t,xo(ve(r)))}var Uy=Hn(function(t,r){return t==null?{}:h0(t,r)});function zd(t,r){if(t==null)return{};var o=it(vl(t),function(u){return[u]});return r=ve(r),Nf(t,o,function(u,h){return r(u,h[0])})}function Gy(t,r,o){r=lr(r,t);var u=-1,h=r.length;for(h||(h=1,t=i);++ur){var u=t;t=r,r=u}if(o||t%1||r%1){var h=gf();return Tt(t+h*(r-t+kv("1e-"+((h+"").length-1))),r)}return ol(t,r)}var Qy=ci(function(t,r,o){return r=r.toLowerCase(),t+(o?Vd(r):r)});function Vd(t){return Ml(He(t).toLowerCase())}function Kd(t){return t=He(t),t&&t.replace(ev,Hv).replace(_v,"")}function Jy(t,r,o){t=He(t),r=Zt(r);var u=t.length;o=o===i?u:Mr(ke(o),0,u);var h=o;return o-=r.length,o>=0&&t.slice(o,h)==r}function ew(t){return t=He(t),t&&Nm.test(t)?t.replace(Ac,zv):t}function tw(t){return t=He(t),t&&Um.test(t)?t.replace(Cs,"\\$&"):t}var nw=ci(function(t,r,o){return t+(o?"-":"")+r.toLowerCase()}),rw=ci(function(t,r,o){return t+(o?" ":"")+r.toLowerCase()}),iw=Xf("toLowerCase");function aw(t,r,o){t=He(t),r=ke(r);var u=r?ri(t):0;if(!r||u>=r)return t;var h=(r-u)/2;return ho(Ja(h),o)+t+ho(Qa(h),o)}function ow(t,r,o){t=He(t),r=ke(r);var u=r?ri(t):0;return r&&u>>0,o?(t=He(t),t&&(typeof r=="string"||r!=null&&!Il(r))&&(r=Zt(r),!r&&ni(t))?ur(mn(t),0,o):t.split(r,o)):[]}var hw=ci(function(t,r,o){return t+(o?" ":"")+Ml(r)});function pw(t,r,o){return t=He(t),o=o==null?0:Mr(ke(o),0,t.length),r=Zt(r),t.slice(o,o+r.length)==r}function gw(t,r,o){var u=g.templateSettings;o&&Dt(t,r,o)&&(r=i),t=He(t),r=Oo({},r,u,rd);var h=Oo({},r.imports,u.imports,rd),m=St(h),y=Ws(h,m),w,O,D=0,B=r.interpolate||Ba,W="__p += '",te=Vs((r.escape||Ba).source+"|"+B.source+"|"+(B===Ec?jm:Ba).source+"|"+(r.evaluate||Ba).source+"|$","g"),he="//# sourceURL="+(ze.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ev+"]")+` +`;t.replace(te,function(_e,De,$e,Jt,Bt,en){return $e||($e=Jt),W+=t.slice(D,en).replace(tv,Wv),De&&(w=!0,W+=`' + __e(`+De+`) + '`),Bt&&(O=!0,W+=`'; `+Bt+`; @@ -865,11 +865,11 @@ __p += '`),$e&&(W+=`' + `;var be=ze.call(r,"variable")&&r.variable;if(!be)W=`with (obj) { `+W+` } -`;else if(Km.test(be))throw new Ae(f);W=(O?W.replace(Im,""):W).replace(Tm,"$1").replace(Pm,"$1;"),W="function("+(be||"obj")+`) { +`;else if(Vm.test(be))throw new Ae(f);W=(O?W.replace(Im,""):W).replace(Tm,"$1").replace(Pm,"$1;"),W="function("+(be||"obj")+`) { `+(be?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(w?", __e = _.escape":"")+(O?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+W+`return __p -}`;var Ie=qd(function(){return Ue(m,he+"return "+W).apply(i,y)});if(Ie.source=W,kl(Ie))throw Ie;return Ie}function mw(t){return He(t).toLowerCase()}function vw(t){return He(t).toUpperCase()}function bw(t,r,o){if(t=He(t),t&&(o||r===i))return rf(t);if(!t||!(r=Zt(r)))return t;var u=mn(t),h=mn(r),m=af(u,h),y=of(u,h)+1;return ur(u,m,y).join("")}function _w(t,r,o){if(t=He(t),t&&(o||r===i))return t.slice(0,lf(t)+1);if(!t||!(r=Zt(r)))return t;var u=mn(t),h=of(u,mn(r))+1;return ur(u,0,h).join("")}function yw(t,r,o){if(t=He(t),t&&(o||r===i))return t.replace(ks,"");if(!t||!(r=Zt(r)))return t;var u=mn(t),h=af(u,mn(r));return ur(u,h).join("")}function ww(t,r){var o=Qe,u=ht;if(lt(r)){var h="separator"in r?r.separator:h;o="length"in r?ke(r.length):o,u="omission"in r?Zt(r.omission):u}t=He(t);var m=t.length;if(ni(t)){var y=mn(t);m=y.length}if(o>=m)return t;var w=o-ri(u);if(w<1)return u;var O=y?ur(y,0,w).join(""):t.slice(0,w);if(h===i)return O+u;if(y&&(w+=O.length-w),Il(h)){if(t.slice(w).search(h)){var D,B=O;for(h.global||(h=Ks(h.source,He(Oc.exec(h))+"g")),h.lastIndex=0;D=h.exec(B);)var W=D.index;O=O.slice(0,W===i?w:W)}}else if(t.indexOf(Zt(h),w)!=w){var ee=O.lastIndexOf(h);ee>-1&&(O=O.slice(0,ee))}return O+u}function xw(t){return t=He(t),t&&Mm.test(t)?t.replace(xc,Zv):t}var Aw=ci(function(t,r,o){return t+(o?" ":"")+r.toUpperCase()}),Ml=Xf("toUpperCase");function jd(t,r,o){return t=He(t),r=o?i:r,r===i?Kv(t)?eb(t):Bv(t):t.match(r)||[]}var qd=Me(function(t,r){try{return qt(t,i,r)}catch(o){return kl(o)?o:new Ae(o)}}),Ew=Hn(function(t,r){return sn(r,function(o){o=kn(o),Un(t,o,Rl(t[o],t))}),t});function Ow(t){var r=t==null?0:t.length,o=ve();return t=r?it(t,function(u){if(typeof u[1]!="function")throw new ln(c);return[o(u[0]),u[1]]}):[],Me(function(u){for(var h=-1;++hX)return[];var o=Ne,u=Tt(t,Ne);r=ve(r),t-=Ne;for(var h=zs(u,r);++o0||r<0)?new Be(o):(t<0?o=o.takeRight(-t):t&&(o=o.drop(t)),r!==i&&(r=ke(r),o=r<0?o.dropRight(-r):o.take(r-t)),o)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(Ne)},Rn(Be.prototype,function(t,r){var o=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),h=g[u?"take"+(r=="last"?"Right":""):r],m=u||/^find/.test(r);h&&(g.prototype[r]=function(){var y=this.__wrapped__,w=u?[1]:arguments,O=y instanceof Be,D=w[0],B=O||Ee(y),W=function(De){var $e=h.apply(g,rr([De],w));return u&&ee?$e[0]:$e};B&&o&&typeof D=="function"&&D.length!=1&&(O=B=!1);var ee=this.__chain__,he=!!this.__actions__.length,be=m&&!ee,Ie=O&&!he;if(!m&&B){y=Ie?y:new Be(this);var _e=t.apply(y,w);return _e.__actions__.push({func:bo,args:[W],thisArg:i}),new un(_e,ee)}return be&&Ie?t.apply(this,w):(_e=this.thru(W),be?u?_e.value()[0]:_e.value():_e)})}),sn(["pop","push","shift","sort","splice","unshift"],function(t){var r=za[t],o=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);g.prototype[t]=function(){var h=arguments;if(u&&!this.__chain__){var m=this.value();return r.apply(Ee(m)?m:[],h)}return this[o](function(y){return r.apply(Ee(y)?y:[],h)})}}),Rn(Be.prototype,function(t,r){var o=g[r];if(o){var u=o.name+"";ze.call(si,u)||(si[u]=[]),si[u].push({name:r,func:o})}}),si[co(i,T).name]=[{name:"wrapper",func:i}],Be.prototype.clone=xb,Be.prototype.reverse=Ab,Be.prototype.value=Eb,g.prototype.at=J1,g.prototype.chain=e_,g.prototype.commit=t_,g.prototype.next=n_,g.prototype.plant=i_,g.prototype.reverse=a_,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=o_,g.prototype.first=g.prototype.head,zi&&(g.prototype[zi]=r_),g},ii=tb();Cr?((Cr.exports=ii)._=ii,Ls._=ii):kt._=ii}).call(ia)})(lI,ls);const uI={class:"px-4"},cI=I("p",{class:"mb-2"}," Copy the options object below in your app ",-1),fI=["textContent"],dI={key:0,class:"bg-white p-4 rounded shadow overflow-auto"},hI=["textContent"],pI={class:"flex mt-4"},gI={__name:"ExportPanel",setup(e){const n=wc(),i=mt(null),a=()=>{let d=new Range;d.setStart(i.value,0),d.setEnd(i.value,1),document.getSelection().removeAllRanges(),document.getSelection().addRange(d)},s=mt(!1);function l(d,v){for(const p in d)typeof d[p]=="object"?(l(d[p],v[p]),Object.keys(d[p]).length===0&&delete d[p]):d[p]===v[p]&&delete d[p]}const c=Ye(()=>{const d=ls.cloneDeep(n.powerGlitchOptions),{playMode:v}=d,p=vt.getDefaultOptions(v);return l(d,p),Object.keys(d).length<=1?null:d}),f=(d,v)=>{if(!(d==="iterations"&&v===1/0)&&d!=="html")return v};return(d,v)=>(Xe(),ft("div",uI,[cI,s.value?(Xe(),ft("pre",{key:0,ref_key:"preRef",ref:i,class:"bg-white p-4 rounded shadow overflow-auto",onClick:a,textContent:Vr(JSON.stringify(te(n).powerGlitchOptions,f,2))},null,8,fI)):(Xe(),ft(Mt,{key:1},[te(c)===null?(Xe(),ft("pre",dI,`You are using the default options -You do not need to pass any options`)):(Xe(),ft("pre",{key:1,ref_key:"preRef",ref:i,class:"bg-white p-4 rounded shadow overflow-auto",onClick:a,textContent:Vr(JSON.stringify(te(c),f,2))},null,8,hI))],64)),I("div",pI,[Ve(" Show all options "),de(Tu,{modelValue:s.value,"onUpdate:modelValue":v[0]||(v[0]=p=>s.value=p)},null,8,["modelValue"])])]))}},mI={__name:"ImagePreview",setup(e){const n=wc(),i=mt(null),a=()=>{i.value&&vt.glitch(i.value,n.powerGlitchOptions)};return Ui(a),Ar(n.powerGlitchOptions,a),(s,l)=>(Xe(),ft("div",null,[I("div",{ref_key:"container",ref:i},null,512)]))}};const vI={class:"app h-full flex flex-row w-full"},bI={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},_I={class:"option-panel border p-4 overflow-y-auto"},yI={class:"font-bold text-xl mb-4 flex"},wI={class:"grow flex gap-2"},xI=["src"],AI={title:"Github",target:"_blank",href:"https://github.com/7PH/powerglitch"},EI={class:"grow flex flex-col bg-white"},OI={class:"grow flex flex-col justify-center"},SI={__name:"PlaygroundView",setup(e){const n=mt(null);Ui(()=>{vt.glitch(n.value,vt.getDefaultOptions("always"))});const i=mt("options");return(a,s)=>{const l=Ln("RouterLink"),c=Ln("fa");return Xe(),ft("div",vI,[I("p",bI,[de(l,{to:"/"},{default:xr(()=>[Ve(" 🔙 ")]),_:1})]),I("div",_I,[I("div",yI,[I("div",wI,[I("img",{ref_key:"logoGlitch",ref:n,src:te(Sk),alt:"logo",style:{width:"30px",height:"30px"}},null,8,xI),Ve(" PowerGlitch ")]),I("div",null,[I("a",AI,[de(c,{icon:"fa-brands fa-github"})])])]),i.value==="options"?(Xe(),ft(Mt,{key:0},[de(sI),I("button",{class:"mt-6 w-full",onClick:s[0]||(s[0]=f=>i.value="export")}," Show code ")],64)):pr("",!0),i.value==="export"?(Xe(),ft(Mt,{key:1},[de(gI),I("button",{class:"mt-6 w-full",onClick:s[1]||(s[1]=f=>i.value="options")}," Back to options ")],64)):pr("",!0)]),I("div",EI,[I("div",OI,[de(mI,{class:"mx-auto"})])])])}}},RI=Ss(SI,[["__scopeId","data-v-9ab48c40"]]),Pu=ZR({history:hR(),routes:[{name:"home",path:"/",component:ek},{name:"usage",path:"/usage",component:Ok},{name:"playground",path:"/playground",component:RI}]});Si.registerLanguage("javascript",NS);Si.registerLanguage("css",GS);Si.registerLanguage("shell",HS);YS();const CI=LE();PE(jS).use(Pu).use(CI).component("fa",LO).use(zS).mount("#app"); +}`;var Ie=qd(function(){return Ue(m,he+"return "+W).apply(i,y)});if(Ie.source=W,kl(Ie))throw Ie;return Ie}function mw(t){return He(t).toLowerCase()}function vw(t){return He(t).toUpperCase()}function bw(t,r,o){if(t=He(t),t&&(o||r===i))return rf(t);if(!t||!(r=Zt(r)))return t;var u=mn(t),h=mn(r),m=af(u,h),y=of(u,h)+1;return ur(u,m,y).join("")}function _w(t,r,o){if(t=He(t),t&&(o||r===i))return t.slice(0,lf(t)+1);if(!t||!(r=Zt(r)))return t;var u=mn(t),h=of(u,mn(r))+1;return ur(u,0,h).join("")}function yw(t,r,o){if(t=He(t),t&&(o||r===i))return t.replace(ks,"");if(!t||!(r=Zt(r)))return t;var u=mn(t),h=af(u,mn(r));return ur(u,h).join("")}function ww(t,r){var o=Qe,u=ht;if(lt(r)){var h="separator"in r?r.separator:h;o="length"in r?ke(r.length):o,u="omission"in r?Zt(r.omission):u}t=He(t);var m=t.length;if(ni(t)){var y=mn(t);m=y.length}if(o>=m)return t;var w=o-ri(u);if(w<1)return u;var O=y?ur(y,0,w).join(""):t.slice(0,w);if(h===i)return O+u;if(y&&(w+=O.length-w),Il(h)){if(t.slice(w).search(h)){var D,B=O;for(h.global||(h=Vs(h.source,He(Oc.exec(h))+"g")),h.lastIndex=0;D=h.exec(B);)var W=D.index;O=O.slice(0,W===i?w:W)}}else if(t.indexOf(Zt(h),w)!=w){var te=O.lastIndexOf(h);te>-1&&(O=O.slice(0,te))}return O+u}function xw(t){return t=He(t),t&&Mm.test(t)?t.replace(xc,Zv):t}var Aw=ci(function(t,r,o){return t+(o?" ":"")+r.toUpperCase()}),Ml=Xf("toUpperCase");function jd(t,r,o){return t=He(t),r=o?i:r,r===i?Vv(t)?eb(t):Bv(t):t.match(r)||[]}var qd=Me(function(t,r){try{return qt(t,i,r)}catch(o){return kl(o)?o:new Ae(o)}}),Ew=Hn(function(t,r){return sn(r,function(o){o=kn(o),Un(t,o,Rl(t[o],t))}),t});function Ow(t){var r=t==null?0:t.length,o=ve();return t=r?it(t,function(u){if(typeof u[1]!="function")throw new ln(c);return[o(u[0]),u[1]]}):[],Me(function(u){for(var h=-1;++hX)return[];var o=Ne,u=Tt(t,Ne);r=ve(r),t-=Ne;for(var h=zs(u,r);++o0||r<0)?new Be(o):(t<0?o=o.takeRight(-t):t&&(o=o.drop(t)),r!==i&&(r=ke(r),o=r<0?o.dropRight(-r):o.take(r-t)),o)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(Ne)},Rn(Be.prototype,function(t,r){var o=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),h=g[u?"take"+(r=="last"?"Right":""):r],m=u||/^find/.test(r);h&&(g.prototype[r]=function(){var y=this.__wrapped__,w=u?[1]:arguments,O=y instanceof Be,D=w[0],B=O||Ee(y),W=function(De){var $e=h.apply(g,rr([De],w));return u&&te?$e[0]:$e};B&&o&&typeof D=="function"&&D.length!=1&&(O=B=!1);var te=this.__chain__,he=!!this.__actions__.length,be=m&&!te,Ie=O&&!he;if(!m&&B){y=Ie?y:new Be(this);var _e=t.apply(y,w);return _e.__actions__.push({func:bo,args:[W],thisArg:i}),new un(_e,te)}return be&&Ie?t.apply(this,w):(_e=this.thru(W),be?u?_e.value()[0]:_e.value():_e)})}),sn(["pop","push","shift","sort","splice","unshift"],function(t){var r=za[t],o=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);g.prototype[t]=function(){var h=arguments;if(u&&!this.__chain__){var m=this.value();return r.apply(Ee(m)?m:[],h)}return this[o](function(y){return r.apply(Ee(y)?y:[],h)})}}),Rn(Be.prototype,function(t,r){var o=g[r];if(o){var u=o.name+"";ze.call(si,u)||(si[u]=[]),si[u].push({name:r,func:o})}}),si[co(i,T).name]=[{name:"wrapper",func:i}],Be.prototype.clone=xb,Be.prototype.reverse=Ab,Be.prototype.value=Eb,g.prototype.at=J1,g.prototype.chain=e_,g.prototype.commit=t_,g.prototype.next=n_,g.prototype.plant=i_,g.prototype.reverse=a_,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=o_,g.prototype.first=g.prototype.head,zi&&(g.prototype[zi]=r_),g},ii=tb();kr?((kr.exports=ii)._=ii,Ls._=ii):kt._=ii}).call(ia)})(hI,ls);const pI={class:"px-4"},gI=I("p",{class:"mb-2"}," Copy the options object below in your app ",-1),mI=["textContent"],vI={key:0,class:"bg-white p-4 rounded shadow overflow-auto"},bI=["textContent"],_I={class:"flex mt-4"},yI={__name:"ExportPanel",setup(e){const n=wc(),i=mt(null),a=()=>{let d=new Range;d.setStart(i.value,0),d.setEnd(i.value,1),document.getSelection().removeAllRanges(),document.getSelection().addRange(d)},s=mt(!1);function l(d,v){for(const p in d)typeof d[p]=="object"?(l(d[p],v[p]),Object.keys(d[p]).length===0&&delete d[p]):d[p]===v[p]&&delete d[p]}const c=Ye(()=>{const d=ls.cloneDeep(n.powerGlitchOptions),{playMode:v}=d,p=vt.getDefaultOptions(v);return l(d,p),Object.keys(d).length<=1?null:d}),f=(d,v)=>{if(!(d==="iterations"&&v===1/0)&&d!=="html")return v};return(d,v)=>(Ke(),ut("div",pI,[gI,s.value?(Ke(),ut("pre",{key:0,ref_key:"preRef",ref:i,class:"bg-white p-4 rounded shadow overflow-auto",onClick:a,textContent:Er(JSON.stringify(Z(n).powerGlitchOptions,f,2))},null,8,mI)):(Ke(),ut(Mt,{key:1},[Z(c)===null?(Ke(),ut("pre",vI,`You are using the default options +You do not need to pass any options`)):(Ke(),ut("pre",{key:1,ref_key:"preRef",ref:i,class:"bg-white p-4 rounded shadow overflow-auto",onClick:a,textContent:Er(JSON.stringify(Z(c),f,2))},null,8,bI))],64)),I("div",_I,[je(" Show all options "),fe(Tu,{modelValue:s.value,"onUpdate:modelValue":v[0]||(v[0]=p=>s.value=p)},null,8,["modelValue"])])]))}},wI={__name:"ImagePreview",setup(e){const n=wc(),i=mt(null),a=()=>{i.value&&vt.glitch(i.value,n.powerGlitchOptions)};return Ui(a),Ar(n.powerGlitchOptions,a),(s,l)=>(Ke(),ut("div",null,[I("div",{ref_key:"container",ref:i},null,512)]))}};const xI={class:"app h-full flex flex-row w-full"},AI={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},EI={class:"option-panel border p-4 overflow-y-auto"},OI={class:"font-bold text-xl mb-4 flex"},SI={class:"grow flex gap-2"},RI=["src"],CI={title:"Github",target:"_blank",href:"https://github.com/7PH/powerglitch"},kI={class:"grow flex flex-col bg-white"},II={class:"grow flex flex-col justify-center"},TI={__name:"PlaygroundView",setup(e){const n=mt(null);Ui(()=>{vt.glitch(n.value,vt.getDefaultOptions("always"))});const i=mt("options");return(a,s)=>{const l=Ln("RouterLink"),c=Ln("fa");return Ke(),ut("div",xI,[I("p",AI,[fe(l,{to:"/"},{default:xr(()=>[je(" 🔙 ")]),_:1})]),I("div",EI,[I("div",OI,[I("div",SI,[I("img",{ref_key:"logoGlitch",ref:n,src:Z(Sk),alt:"logo",style:{width:"30px",height:"30px"}},null,8,RI),je(" PowerGlitch ")]),I("div",null,[I("a",CI,[fe(c,{icon:"fa-brands fa-github"})])])]),i.value==="options"?(Ke(),ut(Mt,{key:0},[fe(dI),I("button",{class:"mt-6 w-full",onClick:s[0]||(s[0]=f=>i.value="export")}," Show code ")],64)):pr("",!0),i.value==="export"?(Ke(),ut(Mt,{key:1},[fe(yI),I("button",{class:"mt-6 w-full",onClick:s[1]||(s[1]=f=>i.value="options")}," Back to options ")],64)):pr("",!0)]),I("div",kI,[I("div",II,[fe(wI,{class:"mx-auto"})])])])}}},PI=Ss(TI,[["__scopeId","data-v-9ab48c40"]]),Pu=ZR({history:hR(),routes:[{name:"home",path:"/",component:ek},{name:"usage",path:"/usage",component:Ok},{name:"playground",path:"/playground",component:PI}]});Si.registerLanguage("javascript",NS);Si.registerLanguage("css",GS);Si.registerLanguage("shell",HS);YS();const MI=LE();PE(jS).use(Pu).use(MI).component("fa",LO).use(zS).mount("#app"); diff --git a/docs/index.html b/docs/index.html index 4cb85e7..09c94a0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,8 +5,8 @@ PowerGlitch - Glitch anything on the web - - + +
diff --git a/package-lock.json b/package-lock.json index 7836301..34585dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "powerglitch", - "version": "2.4.0", + "version": "2.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "powerglitch", - "version": "2.4.0", + "version": "2.5.0", "devDependencies": { "@babel/core": "^7.20.12", "@babel/preset-env": "^7.20.2", diff --git a/package.json b/package.json index 7167476..c7f0bdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "powerglitch", - "version": "2.4.0", + "version": "2.5.0", "type": "module", "module": "./lib/index.esm.js", "main": "./lib/index.cjs", diff --git a/src/index.ts b/src/index.ts index 9427532..892effe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -141,6 +141,11 @@ export type PowerGlitchOptions = { * Whether the hue should rotate for the given slice. */ hueRotate: boolean, + + /** + * Apply custom CSS filters to glitch layers. Setting this will automatically disable hueRotate. + */ + cssFilters: string, }, /** @@ -191,12 +196,14 @@ const getDefaultOptions = (playMode: PlayModes = 'always'): PowerGlitchOptions = minHeight: 0.02, maxHeight: 0.15, hueRotate: true, + cssFilters: '', } : { count: 6, velocity: 15, minHeight: 0.02, maxHeight: 0.15, hueRotate: true, + cssFilters: '', }, pulse: false, }; @@ -273,7 +280,10 @@ const generateGlitchSliceLayer = (options: PowerGlitchOptions) => { transform: `translate3d(${translateX}%,0,0)`, clipPath: getRandomRectanglePolygonCss({ minHeight: options.slice.minHeight, maxHeight: options.slice.maxHeight, minWidth: 1, maxWidth: 1 }), }; - if (options.slice.hueRotate) { + + if (options.slice.cssFilters) { + styles.filter = options.slice.cssFilters; + } else if (options.slice.hueRotate) { styles.filter = `hue-rotate(${Math.floor(getGlitchRandom(options, index / stepCount) * 360)}deg)`; } steps.push(styles); diff --git a/test/powerglitch.test.ts b/test/powerglitch.test.ts index 657d4cb..a173aaf 100644 --- a/test/powerglitch.test.ts +++ b/test/powerglitch.test.ts @@ -1,6 +1,5 @@ import { mockAnimationsApi } from 'jsdom-testing-mocks'; -import { PowerGlitch, PowerGlitchOptions, RecursivePartial } from '../src/index'; -import { mergeOptions } from '../src/index'; +import { mergeOptions, PowerGlitch, PowerGlitchOptions, RecursivePartial } from '../src/index'; const ELEMENTS: {[elementType: string]: string} = { @@ -261,6 +260,28 @@ describe('Given slice option', () => { } } }); + + test('custom css filters should be applied and auto-disable hueRotate', () => { + // Generate layers + const layers = PowerGlitch.generateLayers(mergeOptions( + PowerGlitch.getDefaultOptions(baseOptions.playMode), + { + ...baseOptions, + slice: { + hueRotate: true, + cssFilters: 'blur(10px) brightness(0.8)', + } + }, + )); + + for (const layer of layers.slice(1)) { + // Some steps don't have the filter applied (when the element isn't glitching) + const filteredSteps = layer.steps.filter(step => step.filter !== undefined); + for (const step of filteredSteps) { + expect(step.filter).toBe('blur(10px) brightness(0.8)'); + } + } + }); }); describe('Given pulse option', () => {