You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

53 lines
242 KiB

<html lang="en">
<head>
<link rel="icon" href="data:,">
<title>&lrm;</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module">
var pw=Object.create,zm=Object.defineProperty,dw=Object.getOwnPropertyDescriptor,gw=Object.getOwnPropertyNames,mw=Object.getPrototypeOf,vw=Object.prototype.hasOwnProperty,_w=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),yw=(e,n,i,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of gw(n))!vw.call(e,l)&&l!==i&&zm(e,l,{get:()=>n[l],enumerable:!(o=dw(n,l))||o.enumerable});return e},bw=(e,n,i)=>(i=e!=null?pw(mw(e)):{},yw(n||!e||!e.__esModule?zm(i,"default",{value:e,enumerable:!0}):i,e)),$w=_w((e,n)=>{var i=typeof Reflect=="object"?Reflect:null,o=i&&typeof i.apply=="function"?i.apply:function(E,O,P){return Function.prototype.apply.call(E,O,P)},l;i&&typeof i.ownKeys=="function"?l=i.ownKeys:Object.getOwnPropertySymbols?l=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:l=function(E){return Object.getOwnPropertyNames(E)};function a(E){console&&console.warn&&console.warn(E)}var h=Number.isNaN||function(E){return E!==E};function d(){d.init.call(this)}n.exports=d,n.exports.once=B,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var m=10;function b(E){if(typeof E!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof E)}Object.defineProperty(d,"defaultMaxListeners",{enumerable:!0,get:function(){return m},set:function(E){if(typeof E!="number"||E<0||h(E))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+E+".");m=E}}),d.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},d.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||h(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this};function v(E){return E._maxListeners===void 0?d.defaultMaxListeners:E._maxListeners}d.prototype.getMaxListeners=function(){return v(this)},d.prototype.emit=function(E){for(var O=[],P=1;P<arguments.length;P++)O.push(arguments[P]);var q=E==="error",U=this._events;if(U!==void 0)q=q&&U.error===void 0;else if(!q)return!1;if(q){var H;if(O.length>0&&(H=O[0]),H instanceof Error)throw H;var K=new Error("Unhandled error."+(H?" ("+H.message+")":""));throw K.context=H,K}var tt=U[E];if(tt===void 0)return!1;if(typeof tt=="function")o(tt,this,O);else for(var ut=tt.length,pt=D(tt,ut),P=0;P<ut;++P)o(pt[P],this,O);return!0};function S(E,O,P,q){var U,H,K;if(b(P),H=E._events,H===void 0?(H=E._events=Object.create(null),E._eventsCount=0):(H.newListener!==void 0&&(E.emit("newListener",O,P.listener?P.listener:P),H=E._events),K=H[O]),K===void 0)K=H[O]=P,++E._eventsCount;else if(typeof K=="function"?K=H[O]=q?[P,K]:[K,P]:q?K.unshift(P):K.push(P),U=v(E),U>0&&K.length>U&&!K.warned){K.warned=!0;var tt=new Error("Possible EventEmitter memory leak detected. "+K.length+" "+String(O)+" listeners added. Use emitter.setMaxListeners() to increase limit");tt.name="MaxListenersExceededWarning",tt.emitter=E,tt.type=O,tt.count=K.length,a(tt)}return E}d.prototype.addListener=function(E,O){return S(this,E,O,!1)},d.prototype.on=d.prototype.addListener,d.prototype.prependListener=function(E,O){return S(this,E,O,!0)};function R(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function I(E,O,P){var q={fired:!1,wrapFn:void 0,target:E,type:O,listener:P},U=R.bind(q);return U.listener=P,q.wrapFn=U,U}d.prototype.once=function(E,O){return b(O),this.on(E,I(this,E,O)),this},d.prototype.prependOnceListener=function(E,O){return b(O),this.prependListener(E,I(this,E,O)),this},d.prototype.removeListener=function(E,O){var P,q,U,H,K;if(b(O),q=this._events,q===void 0)return this;if(P=q[E],P===void 0)return this;if(P===O||P.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete q[E],q.removeListener&&this.emit("removeListener",E,P.listener||O));else if(typeof P!="function"){for(U=-1,H=P.length-1;H>=0;H--)if(P[H]===O||P[H].listener===O){K=P[H].listener,U=H;break}if(U<0)return this;U===0?P.shift():k(P,U),P.length===1&&(q[E]=P[0]),q.removeListener!==void 0&&this.emit("removeListener",E,K||O)}return this},d.prototype.off=d.prototype.removeListener,d.prototype.removeAllListeners=function(E){var O,P,q;if(P=this._events,P===void 0)return this;if(P.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):P[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete P[E]),this;if(arguments.length===0){var U=Object.keys(P),H;for(q=0;q<U.length;++q)H=U[q],H!=="removeListener"&&this.removeAllListeners(H);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=P[E],typeof O=="function")this.removeListener(E,O);else if(O!==void 0)for(q=O.length-1;q>=0;q--)this.removeListener(E,O[q]);return this};function x(E,O,P){var q=E._events;if(q===void 0)return[];var U=q[O];return U===void 0?[]:typeof U=="function"?P?[U.listener||U]:[U]:P?F(U):D(U,U.length)}d.prototype.listeners=function(E){return x(this,E,!0)},d.prototype.rawListeners=function(E){return x(this,E,!1)},d.listenerCount=function(E,O){return typeof E.listenerCount=="function"?E.listenerCount(O):C.call(E,O)},d.prototype.listenerCount=C;function C(E){var O=this._events;if(O!==void 0){var P=O[E];if(typeof P=="function")return 1;if(P!==void 0)return P.length}return 0}d.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function D(E,O){for(var P=new Array(O),q=0;q<O;++q)P[q]=E[q];return P}function k(E,O){for(;O+1<E.length;O++)E[O]=E[O+1];E.pop()}function F(E){for(var O=new Array(E.length),P=0;P<O.length;++P)O[P]=E[P].listener||E[P];return O}function B(E,O){return new Promise(function(P,q){function U(){H!==void 0&&E.removeListener("error",H),P([].slice.call(arguments))}var H;O!=="error"&&(H=function(K){E.removeListener(O,U),q(K)},E.once("error",H)),E.once(O,U)})}}),Ys=Symbol.for("#__listeners__"),Sw=class{static for(e){return new Proxy({},new this(e))}constructor(e){this.getter=e}get target(){return this.getter()}get(e,n){return this.target[n]}set(e,n,i){return this.target[n]=i,!0}};function ww(e,n={}){return new Proxy(n,new Sw(e))}function ys(e){let n=typeof e;if(n=="number")return e;if(n=="string"){if(/^\d+fps$/.test(e))return 1e3/parseFloat(e);if(/^([-+]?[\d\.]+)s$/.test(e))return parseFloat(e)*1e3;if(/^([-+]?[\d\.]+)ms$/.test(e))return parseFloat(e)}return null}function Gu(e,n,i){if(!e)return;let o=Object.getOwnPropertyDescriptor(e,n);return o||e==i?o||void 0:Gu(Reflect.getPrototypeOf(e),n,i)}var Jf=function(e,n,i){let o,l;for(;(o=i)&&(i=i.next);)(l=i.listener)&&(i.path&&l[i.path]?n?l[i.path].apply(l,n):l[i.path]():n?l.apply(i,n):l.call(i)),i.times&&--i.times<=0&&(o.next=i.next,i.listener=null)};function wr(e,n,i,o){let l,a,h;return l=e[Ys]||(e[Ys]={}),a=l[n]||(l[n]={}),h=a.tail||(a.tail=a.next={}),h.listener=i,h.path=o,a.tail=h.next={},h}function Ae(e,n,i){let o=wr(e,n,i);return o.times=1,o}function ao(e,n,i,o){let l,a,h=e[Ys];if(!!h&&(l=h[n])){for(;(a=l)&&(l=l.next);)if(l==i||l.listener==i){a.next=l.next,l.listener=null;break}}}function Cn(e,n,i){let o;(o=e[Ys])&&(o[n]&&Jf(n,i,o[n]),o.all&&Jf(n,[n,i],o.all))}var qm=class{emit(e,...n){return Cn(this,e,n)}on(e,...n){return wr(this,e,...n)}once(e,...n){return Ae(this,e,...n)}un(e,...n){return ao(this,e,...n)}};function xw(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var Qf=Symbol.for("#__init__"),tc=Symbol.for("#schedule"),bu=Symbol.for("#frames"),bs=Symbol.for("#interval"),lr=Symbol.for("#stage"),ur=Symbol.for("#scheduled"),$s=Symbol.for("#version"),Ew=Symbol.for("#fps"),ec=Symbol.for("#ticker"),Ow=globalThis.requestAnimationFrame||function(e){return globalThis.setTimeout(e,1e3/60)},Tw=class{constructor(e=null){this[Qf](e)}[Qf](e=null){var n;this.owner=e&&(n=e.owner)!==void 0?n:null,this.target=e&&(n=e.target)!==void 0?n:null,this.active=e&&(n=e.active)!==void 0?n:!1,this.value=e&&(n=e.value)!==void 0?n:void 0,this.skip=e&&(n=e.skip)!==void 0?n:0,this.last=e&&(n=e.last)!==void 0?n:0}tick(e,n){return this.last=this.owner[bu],this.target.tick(this,n),1}update(e,n){let i=this.active,o=e.value;return this.value!=o&&(this.deactivate(),this.value=o),(this.value||i||n)&&this.activate(),this}queue(){this.owner.add(this)}activate(){return this.value===!0?this.owner.on("commit",this):this.value===!1||typeof this.value=="number"&&(this.value/16.666666666666668<=2?this.owner.on("raf",this):this[bs]=globalThis.setInterval(this.queue.bind(this),this.value)),this.active=!0,this}deactivate(){return this.value===!0&&this.owner.un("commit",this),this.owner.un("raf",this),this[bs]&&(globalThis.clearInterval(this[bs]),this[bs]=null),this.active=!1,this}},kw=class{constructor(){var e=this;this.id=Symbol(),this.queue=[],this.stage=-1,this[lr]=-1,this[bu]=0,this[ur]=!1,this[$s]=0,this.listeners={},this.intervals={},e.commit=function(){return e.add("commit"),e},this[Ew]=0,e.$promise=null,e.$resolve=null,this[ec]=function(n){return e[ur]=!1,e.tick(n)}}touch(){return this[$s]++}get version(){return this[$s]}add(e,n){return(n||this.queue.indexOf(e)==-1)&&this.queue.push(e),this[ur]||this[tc](),this}get committing\u03A6(){return this.queue.indexOf("commit")>=0}get syncing\u03A6(){return this[lr]==1}listen(e,n){let i=this.listeners[e],o=!i;return i||(i=this.listeners[e]=new Set),i.add(n),e=="raf"&&o&&this.add("raf"),this}unlisten(e,n){let i=this.listeners[e];return i&&i.delete(n),e=="raf"&&i&&i.size==0&&(this.listeners.raf,delete this.listeners.raf),this}on(e,n){return this.listen(e,n)}un(e,n){return this.unlisten(e,n)}get promise(){var e=this;return e.$promise||(e.$promise=new Promise(function(n){return e.$resolve=n}))}tick(e){var n=this;let i=this.queue;if(this[bu]++,this.ts||(this.ts=e),this.dt=e-this.ts,this.ts=e,this.queue=[],this[lr]=1,this[$s]++,i.length)for(let o=0,l=xw(i),a=l.length;o<a;o++){let h=l[o];typeof h=="string"&&this.listeners[h]?n.listeners[h].forEach(function(d){if(d.tick instanceof Function)return d.tick(n,h);if(d instanceof Function)return d(n,h)}):h instanceof Function?h(n.dt,n):h.tick&&h.tick(n.dt,n)}return this[lr]=this[ur]?0:-1,n.$promise&&(n.$resolve(n),n.$promise=n.$resolve=null),n.listeners.raf&&n.add("raf"),n}[tc](){return this[ur]||(this[ur]=!0,this[lr]==-1&&(this[lr]=0),Ow(this[ec])),this}schedule(e,n){var i,o;return n||(n=e[i=this.id]||(e[i]={value:!0})),(n[o=this.id]||(n[o]=new Tw({owner:this,target:e}))).update(n,!0)}unschedule(e,n={}){n||(n=e[this.id]);let i=n&&n[this.id];return i&&i.active&&i.deactivate(),this}},be=new kw;function Gt(){return be.add("commit").promise}function Cw(e,n){return globalThis.setTimeout(function(){e(),Gt()},n)}function Aw(e,n){return globalThis.setInterval(function(){e(),Gt()},n)}var Rw=globalThis.clearInterval,Iw=globalThis.clearTimeout,Oi=globalThis.imba||(globalThis.imba={});Oi.commit=Gt;Oi.setTimeout=Cw;Oi.setInterval=Aw;Oi.clearInterval=Rw;Oi.clearTimeout=Iw;var Nw={on:function(e,n){return wr(this,e,n)},inited:function(e){return Cn(this,"inited",[e])}},nc=Symbol.for("#toStringDeopt"),rc=Symbol.for("#symbols"),ic=Symbol.for("#batches"),sc=Symbol.for("#extras"),oc=Symbol.for("#stacks"),Um=class{constructor(e){this.dom=e,this.string=""}contains(e){return this.dom.classList.contains(e)}add(e){return this.contains(e)?this:(this.string+=(this.string?" ":"")+e,this.dom.classList.add(e),this)}remove(e){if(!this.contains(e))return this;let n=new RegExp("(^|\\s)"+e+"(?=\\s|$)","g");return this.string=this.string.replace(n,""),this.dom.classList.remove(e),this}toggle(e,n){return n===void 0&&(n=!this.contains(e)),n?this.add(e):this.remove(e)}incr(e,n=0){var i=this;let o=this.stacks,l=o[e]||0;return l<1&&this.add(e),n>0&&setTimeout(function(){return i.decr(e)},n),o[e]=Math.max(l,0)+1}decr(e){let n=this.stacks,i=n[e]||0;return i==1&&this.remove(e),n[e]=Math.max(i,1)-1}reconcile(e,n){let i=this[rc],o=this[ic],l=!0;if(!i)i=this[rc]=[e],o=this[ic]=[n||""],this.toString=this.valueOf=this[nc];else{let a=i.indexOf(e),h=n||"";a==-1?(i.push(e),o.push(h)):o[a]!=h?o[a]=h:l=!1}l&&(this[sc]=" "+o.join(" "),this.sync())}valueOf(){return this.string}toString(){return this.string}[nc](){return this.string+(this[sc]||"")}sync(){return this.dom.flagSync$()}get stacks(){return this[oc]||(this[oc]={})}},Xs=Symbol.for("#__init__"),lc=Symbol.for("#__initor__"),uc=Symbol.for("#__inited__"),Il=Symbol.for("#getRenderContext"),Pw=Symbol.for("#getDynamicContext"),ac=Symbol(),ue={context:null},Lw=class{constructor(e=null){this[Xs](e)}[Xs](e=null){var n;this.stack=e&&(n=e.stack)!==void 0?n:[]}push(e){return this.stack.push(e)}pop(e){return this.stack.pop()}},Zs=new Lw,xr=class extends Map{static[Xs](){return this.prototype[lc]=ac,this}constructor(e,n=null){super(),this._=e,this.sym=n,this[lc]===ac&&this[uc]&&this[uc]()}pop(){return ue.context=null}[Il](e){let n=this.get(e);return n||this.set(e,n=new xr(this._,e)),ue.context=n}[Pw](e,n){return this[Il](e)[Il](n)}run(e){return this.value=e,ue.context==this&&(ue.context=null),this.get(e)}cache(e){return this.set(this.value,e),e}};xr[Xs]();function Mw(e,n=Symbol(),i=e){return ue.context=e[n]||(e[n]=new xr(i,n))}function Dw(){let e=ue.context,n=e||new xr(null);return globalThis.DEBUG_IMBA&&!e&&Zs.stack.length>0&&console.warn("detected unmemoized nodes in",Zs.stack.slice(0),"see https://imba.io",n),e&&(ue.context=null),n}function Ti(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}function Fw(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var li=Symbol.for("#parent"),hc=Symbol.for("#closestNode"),zw=Symbol.for("#parentNode"),qw=Symbol.for("#context"),Bm=Symbol.for("#__init__"),Wm=Symbol.for("##inited"),Nl=Symbol.for("#getRenderContext"),Uw=Symbol.for("#getDynamicContext"),fc=Symbol.for("#insertChild"),mi=Symbol.for("#appendChild"),Pl=Symbol.for("#replaceChild"),cc=Symbol.for("#removeChild"),Qe=Symbol.for("#insertInto"),pc=Symbol.for("#insertIntoDeopt"),Kr=Symbol.for("#removeFrom"),dc=Symbol.for("#removeFromDeopt"),ar=Symbol.for("#replaceWith"),gc=Symbol.for("#replaceWithDeopt"),Ll=Symbol.for("#placeholderNode"),Bw=Symbol.for("#attachToParent"),Ww=Symbol.for("#detachFromParent"),Hw=Symbol.for("#placeChild"),jw=Symbol.for("#beforeReconcile"),Gw=Symbol.for("#afterReconcile"),Kw=Symbol.for("#afterVisit"),Vw=Symbol.for("#visitContext"),Hm=Symbol.for("##parent"),Ml=Symbol.for("##up"),mc=Symbol.for("##context"),Bn=Symbol.for("#domNode"),Ss=Symbol.for("##placeholderNode"),vc=Symbol.for("#domDeopt"),ws=Symbol.for("##visitContext"),Yw=Symbol.for("#isRichElement"),_c=Symbol.for("#src"),js=Symbol.for("#htmlNodeName"),Xw=Symbol.for("#getSlot"),yc=Symbol.for("#cssns"),Zw=Symbol.for("#cssid"),{Event:En,UIEvent:gT,MouseEvent:Jw,PointerEvent:Qw,KeyboardEvent:t2,CustomEvent:Se,Node:br,Comment:$u,Text:jm,Element:yt,HTMLElement:Gm,HTMLHtmlElement:mT,HTMLSelectElement:e2,HTMLInputElement:n2,HTMLTextAreaElement:r2,HTMLButtonElement:i2,HTMLOptionElement:s2,HTMLScriptElement:vT,SVGElement:Km,DocumentFragment:_T,ShadowRoot:yT,Document:Ku,Window:bT,customElements:$T}=globalThis.window,bc={};function Vm(e,n,i){if(!e)return i[n]=null;if(i[n]!==void 0)return i[n];let o=Object.getOwnPropertyDescriptor(e,n);return o!==void 0||e==Km?i[n]=o||null:Vm(Reflect.getPrototypeOf(e),n,i)}var Su={},wu={},xu={};function Dl(){return globalThis.document}var o2={get(e,n){let i=e,o;for(;i&&o==null;)(i=i[li])&&(o=i[n]);return o},set(e,n,i){let o=e,l;for(;o&&l==null;){if(Gu(o,n,yt))return o[n]=i,!0;o=o[li]}return!0}},l2=class{get flags(){return this.documentElement.flags}};Ti(Ku.prototype,l2.prototype);var u2=class{get[li](){return this[Hm]||this.parentNode||this[Ml]}get[hc](){return this}get[zw](){return this[li][hc]}get[qw](){return this[mc]||(this[mc]=new Proxy(this,o2))}[Bm](){return this}[Wm](){return this}[Nl](e){return Mw(this,e)}[Uw](e,n){return this[Nl](e)[Nl](n)}[fc](e,n){return e[Qe](this,n)}[mi](e){return e[Qe](this,null)}[Pl](e,n){let i=this[fc](e,n);return this[cc](n),i}[cc](e){return e[Kr](this)}[Qe](e,n=null){return n?e.insertBefore(this,n):e.appendChild(this),this}[pc](e,n){return n?e.insertBefore(this[Bn]||this,n):e.appendChild(this[Bn]||this),this}[Kr](e){return e.removeChild(this)}[dc](e){return e.removeChild(this[Bn]||this)}[ar](e,n){return n[Pl](e,this)}[gc](e,n){return n[Pl](e,this[Bn]||this)}get[Ll](){return this[Ss]||(this[Ss]=globalThis.document.createComment("placeholder"))}set[Ll](e){let n=this[Ss];this[Ss]=e,n&&n!=e&&n.parentNode&&n[ar](e)}[Bw](){let e=this[Bn],n=e&&e.parentNode;return e&&n&&e!=this&&(this[Bn]=null,this[Qe](n,e),e[Kr](n)),this}[Ww](){this[vc]!=!0&&(this[vc]=!0,!0)&&(this[ar]=this[gc],this[Kr]=this[dc],this[Qe]=this[pc],this[Ml]||(this[Ml]=this[li]));let e=this[Ll];return this.parentNode&&e!=this&&(e[Qe](this.parentNode,this),this[Kr](this.parentNode)),this[Bn]=e,this}[Hw](e,n,i){let o=typeof e;if(o==="undefined"||e===null){if(i&&i instanceof $u)return i;let l=globalThis.document.createComment("");return i?i[ar](l,this):l[Qe](this,null)}if(e===i)return e;if(o!=="object"){let l,a=e;return i?i instanceof jm?(i.textContent=a,i):(l=globalThis.document.createTextNode(a),i[ar](l,this),l):(this.appendChild(l=globalThis.document.createTextNode(a)),l)}else{if(globalThis.DEBUG_IMBA&&!e[Qe])throw console.warn("Tried to insert",e,"into",this),new TypeError("Only DOM Nodes can be inserted into DOM");return i?i[ar](e,this):e[Qe](this,null)}}};Ti(br.prototype,u2.prototype);var a2=class{log(...e){return console.log(...e)}emit(e,n,i={bubbles:!0,cancelable:!0}){n!=null&&(i.detail=n);let o=new Se(e,i);return this.dispatchEvent(o),o}text$(e){return this.textContent=e,this}[jw](){return this}[Gw](){return this}[Kw](){this.render&&this.render(),this[ws]&&(this[ws]=null)}get[Vw](){return this[ws]||(this[ws]={})}get flags(){return this.$flags||(this.$flags=new Um(this),this.flag$==yt.prototype.flag$&&(this.flags$ext=this.className),this.flagDeopt$()),this.$flags}flag$(e){let n=this.flags$ns;this.className=n?n+(this.flags$ext=e):this.flags$ext=e}flagDeopt$(){var e=this;this.flag$=this.flagExt$,e.flagSelf$=function(n){return e.flagSync$(e.flags$own=n)}}flagExt$(e){return this.flagSync$(this.flags$ext=e)}flagSelf$(e){return this.flagDeopt$(),this.flagSelf$(e)}flagSync$(){return this.className=(this.flags$ns||"")+(this.flags$ext||"")+" "+(this.flags$own||"")+" "+(this.$flags||"")}set$(e,n){let i=Gu(this,e,yt);!i||!i.set?this.setAttribute(e,n):this[e]=n}get richValue(){return this.value}set richValue(e){this.value=e}};Ti(yt.prototype,a2.prototype);yt.prototype.setns$=yt.prototype.setAttributeNS;yt.prototype[Yw]=!0;function Z(e,n,i,o){let l=globalThis.document.createElement(e);return i&&(l.className=i),o!==null&&l.text$(o),n&&n[mi]&&n[mi](l),l}var h2=class{set$(e,n){var i;let o=bc[i=this.nodeName]||(bc[i]={}),l=Vm(this,e,o);!l||!l.set?this.setAttribute(e,n):this[e]=n}flag$(e){let n=this.flags$ns;this.setAttribute("class",n?n+(this.flags$ext=e):this.flags$ext=e)}flagSelf$(e){var n=this;return n.flag$=function(i){return n.flagSync$(n.flags$ext=i)},n.flagSelf$=function(i){return n.flagSync$(n.flags$own=i)},n.flagSelf$(e)}flagSync$(){return this.setAttribute("class",(this.flags$ns||"")+(this.flags$ext||"")+" "+(this.flags$own||"")+" "+(this.$flags||""))}};Ti(Km.prototype,h2.prototype);var f2=class{set src(e){if(this[_c]!=e&&(this[_c]=e,!0)){if(e&&e.adoptNode)e.adoptNode(this);else if(e&&e.type=="svg"){if(e.attributes)for(let n=e.attributes,i=0,o=Object.keys(n),l=o.length,a,h;i<l;i++)a=o[i],h=n[a],this.setAttribute(a,h);this.innerHTML=e.content}}}};Ti(SVGSVGElement.prototype,f2.prototype);function Vu(e,n,i,o,l){let a=globalThis.document.createElementNS("http://www.w3.org/2000/svg",e);return i&&(a.className.baseVal=i),n&&n[mi]&&n[mi](a),o&&(a.textContent=o),a}function Js(e){return globalThis.document.createComment(e)}function $c(e){return globalThis.document.createTextNode(e)}var Qs=globalThis.navigator,c2=Qs&&Qs.vendor||"",Sc=Qs&&Qs.userAgent||"",p2=c2.indexOf("Apple")>-1||Sc.indexOf("CriOS")>=0||Sc.indexOf("FxiOS")>=0,to=!p2,wc=new Map,d2=class extends Gm{connectedCallback(){return to?this.parentNode.removeChild(this):this.parentNode.connectedCallback()}disconnectedCallback(){if(!to)return this.parentNode.disconnectedCallback()}};window.customElements.define("i-hook",d2);function g2(e,n){let i=wc.get(n);if(!i){i={};let o=n.prototype,l=[o];for(;(o=o&&Object.getPrototypeOf(o))&&o.constructor!=e.constructor;)l.unshift(o);for(let a=0,h=Fw(l),d=h.length;a<d;a++){let m=h[a],b=Object.getOwnPropertyDescriptors(m);Object.assign(i,b)}wc.set(n,i)}return i}function qe(e,n,i,o,l){let a;typeof e!="string"&&e&&e.nodeName&&(e=e.nodeName);let h=wu[e]||e;if(Su[e]){let d=Su[e],m=d.prototype[js];if(m&&to)a=globalThis.document.createElement(m,{is:e});else if(d.create$&&m){a=globalThis.document.createElement(m),a.setAttribute("is",h);let b=g2(a,d);Object.defineProperties(a,b),a.__slots={},a.appendChild(globalThis.document.createElement("i-hook"))}else d.create$?(a=d.create$(a),a.__slots={}):console.warn("could not create tag "+e)}else a=globalThis.document.createElement(wu[e]||e);return a[Hm]=n,a[Bm](),a[Wm](),o!==null&&a[Xw]("__").text$(o),(i||a.flags$ns)&&a.flag$(i||""),a}function m2(e,n){if(xu[e])return xu[e];if(window[n])return window[n];if(window[e])return window[e]}function In(e,n,i={}){xu[e]=n,n.nodeName=e;let o=e,l=n.prototype;if(e.indexOf("-")==-1&&(o=""+e+"-tag",wu[e]=o),i.cssns){let a=(l._ns_||l[yc]||"")+" "+(i.cssns||"");l._ns_=a.trim()+" ",l[yc]=i.cssns}if(i.cssid){let a=(l.flags$ns||"")+" "+i.cssid;l[Zw]=i.cssid,l.flags$ns=a.trim()+" "}return l[js]&&!i.extends&&(i.extends=l[js]),i.extends?(l[js]=i.extends,Su[e]=n,to&&window.customElements.define(o,n,{extends:i.extends})):window.customElements.define(o,n),n}var v2=globalThis.imba||(globalThis.imba={});v2.document=globalThis.document;function Fl(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function _2(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Gs=Symbol.for("#parent"),xc=Symbol.for("#closestNode"),y2=Symbol.for("#isRichElement"),b2=Symbol.for("#afterVisit"),Ec=Symbol.for("#__initor__"),Oc=Symbol.for("#__inited__"),Tc=Symbol.for("#appendChild"),kc=Symbol.for("#removeChild"),Cc=Symbol.for("#replaceChild"),tn=Symbol.for("#insertInto"),xs=Symbol.for("#replaceWith"),Ac=Symbol.for("#insertChild"),Es=Symbol.for("#removeFrom"),Rc=Symbol.for("#placeChild"),Ym=Symbol.for("#__init__"),$2=Symbol.for("#registerFunctionalSlot"),S2=Symbol.for("#getFunctionalSlot"),Ic=Symbol.for("#getSlot"),Eu=Symbol.for("##parent"),Sn=Symbol.for("##up"),Nc=Symbol.for("##flags"),w2=Symbol.for("#domFlags"),_e=Symbol.for("#end"),Pc=Symbol.for("#textContent"),Os=Symbol.for("#textNode"),zl=Symbol.for("#functionalSlots"),Lc=Symbol(),eo=class{constructor(){this.childNodes=[]}log(...e){}hasChildNodes(){return!1}set[Gs](e){this[Eu]=e}get[Gs](){return this[Eu]||this[Sn]}get[xc](){return this[Gs][xc]}get[y2](){return!0}get flags(){return this[Nc]||(this[Nc]=new Um(this))}flagSync$(){return this}[b2](){return this}},x2=0,Xm=class extends eo{static[Ym](){return this.prototype[Ec]=Lc,this}constructor(e,n){super(...arguments),this[Sn]=n,this.parentNode=null,this[w2]=e,this.childNodes=[],this[_e]=Js("slot"+x2++),n&&n[Tc](this),this[Ec]===Lc&&this[Oc]&&this[Oc]()}get[Gs](){return this[Eu]||this.parentNode||this[Sn]}set textContent(e){this[Pc]=e}get textContent(){return this[Pc]}hasChildNodes(){for(let e=0,n=Fl(this.childNodes),i=n.length;e<i;e++){let o=n[e];if(o instanceof eo&&o.hasChildNodes()||!(o instanceof $u)&&o instanceof br)return!0}return!1}text$(e){return this[Os]?this[Os].textContent=e:this[Os]=this[Rc](e),this[Os]}appendChild(e){return this.parentNode&&e[tn](this.parentNode,this[_e]),this.childNodes.push(e)}[Tc](e){return this.parentNode?e[tn](this.parentNode,this[_e]):e[Sn]==null?e[Sn]=this[Sn]||this:e[Sn],this.childNodes.push(e)}insertBefore(e,n){this.parentNode&&this.parentNode[Ac](e,n);let i=this.childNodes.indexOf(n);return i>=0&&this.childNodes.splice(i,0,e),e}[kc](e){this.parentNode&&this.parentNode[kc](e);let n=this.childNodes.indexOf(e);n>=0&&this.childNodes.splice(n,1)}[Cc](e,n){this.parentNode&&this.parentNode[Cc](e,n);let i=this.childNodes.indexOf(n);return this.childNodes[i]=e,e}[tn](e,n){if(this.parentNode,this.parentNode!=e&&(this.parentNode=e,!0)){this[_e]&&(n=this[_e][tn](e,n));for(let i=0,o=Fl(this.childNodes),l=o.length;i<l;i++)o[i][tn](e,n)}return this}[xs](e,n){let i=e[tn](n,this[_e]);return this[Es](n),i}[Ac](e,n){if(this.parentNode&&this.insertBefore(e,n||this[_e]),n){let i=this.childNodes.indexOf(n);i>=0&&this.childNodes.splice(i,0,e)}else this.childNodes.push(e);return e}[Es](e){for(let n=0,i=Fl(this.childNodes),o=i.length;n<o;n++)i[n][Es](e);return this[_e]&&this[_e][Es](e),this.parentNode=null,this}[Rc](e,n,i){let o=this.parentNode,l=typeof e;if(l==="undefined"||e===null){if(i&&i instanceof $u)return i;let a=Js("");if(i){let h=this.childNodes.indexOf(i);return this.childNodes.splice(h,1,a),o&&i[xs](a,o),a}return this.childNodes.push(a),o&&a[tn](o,this[_e]),a}if(e===i)return e;if(l!=="object"){let a,h=e;if(i){if(i instanceof jm)return i.textContent=h,i;{a=$c(h);let d=this.childNodes.indexOf(i);return this.childNodes.splice(d,1,a),o&&i[xs](a,o),a}}else return this.childNodes.push(a=$c(h)),o&&a[tn](o,this[_e]),a}else if(i){let a=this.childNodes.indexOf(i);return this.childNodes.splice(a,1,e),o&&i[xs](e,o),e}else return this.childNodes.push(e),o&&e[tn](o,this[_e]),e}};Xm[Ym]();function Ou(e,n){let i=new Xm(e,null);return i[Sn]=n,i}var E2=class{[$2](e){let n=this[zl]||(this[zl]={});return n[e]||(n[e]=Ou(0,this))}[S2](e,n){let i=this[zl];return i&&i[e]||this[Ic](e,n)}[Ic](e,n){var i;return e=="__"&&!this.render?this:(i=this.__slots)[e]||(i[e]=Ou(0,this))}};_2(br.prototype,E2.prototype);function O2(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var T2=Symbol.for("#afterVisit"),Ts=Symbol.for("#insertInto"),Mc=Symbol.for("#appendChild"),k2=Symbol.for("#replaceWith"),ql=Symbol.for("#removeFrom"),Dc=Symbol.for("#__initor__"),Fc=Symbol.for("#__inited__"),Zm=Symbol.for("#__init__"),C2=Symbol.for("#domFlags"),A2=Symbol.for("##parent"),mn=Symbol.for("#end"),R2=Symbol.for("#removeChild"),I2=Symbol.for("#insertChild"),zc=Symbol(),Jm=class extends eo{static[Zm](){return this.prototype[Dc]=zc,this}constructor(e,n){super(...arguments),this[C2]=e,this[A2]=n,e&256||(this[mn]=Js("list")),this.$=this.childNodes,this.length=0,n&&n[Mc](this),this[Dc]===zc&&this[Fc]&&this[Fc]()}hasChildNodes(){return this.length!=0}[T2](e){let n=this.length;if(this.length=e,n==e)return;let i=this.parentNode;if(!i)return;let o=this.childNodes,l=this[mn];if(n>e)for(;n>e;)i[R2](o[--n]);else if(e>n)for(;e>n;)i[I2](o[n++],l);this.length=e}[Ts](e,n){this.parentNode=e,this[mn]&&this[mn][Ts](e,n),n=this[mn];for(let i=0,o=O2(this.childNodes),l=o.length;i<l;i++){let a=o[i];if(i==this.length)break;a[Ts](e,n)}return this}[Mc](e){}[k2](e,n){let i=e[Ts](n,this[mn]);return this[ql](n),i}[ql](e){let n=this.length;for(;n>0;)this.childNodes[--n][ql](e);this[mn]&&e.removeChild(this[mn]),this.parentNode=null}};Jm[Zm]();function Ks(e,n){return new Jm(e,n)}function qc(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var Ul=Symbol.for("#appendChild"),ks=Symbol.for("#insertChild"),N2=Symbol.for("#replaceWith"),Cs=Symbol.for("#insertInto"),Bl=Symbol.for("#removeFrom"),P2=Symbol.for("#afterVisit"),Uc=Symbol.for("#__initor__"),Bc=Symbol.for("#__inited__"),Qm=Symbol.for("#__init__"),As=Symbol.for("#domFlags"),Wc=Symbol.for("##parent"),vn=Symbol.for("#end"),Hc=Symbol.for("#removeChild"),jc=Symbol(),L2=class extends eo{static[Qm](){return this.prototype[Uc]=jc,this}constructor(e,n){super(...arguments),this[As]=e,this[Wc]=n,this.changes=new Map,this.dirty=!1,this.array=this.childNodes,this.$=new xr(this,Symbol()),e&256||(this[vn]=Js("map")),n&&n[Ul](this),this[Uc]===jc&&this[Bc]&&this[Bc]()}[Ul](e){if(this.parentNode)return this.parentNode[ks](e,this[vn])}hasChildNodes(){return this.childNodes.length!=0}push(e,n){if(!(this[As]&1)){this.array.push(e),this[Ul](e);return}let i=this.array[n];if(i!==e){this.dirty=!0;let o=this.array.indexOf(e),l=this.changes.get(e);o===-1?(this.array.splice(n,0,e),this.insertChild(e,n,o)):o===n+1?(i&&this.changes.set(i,-1),this.array.splice(n,1)):(o>=0&&this.array.splice(o,1),this.array.splice(n,0,e),this.moveChild(e,n,o)),l==-1&&this.changes.delete(e)}}insertChild(e,n,i){let o=this.parentNode;if(o)if(n>0){let l=this.array[n-1];o[ks](e,l.nextSibling)}else o[ks](e,this.childNodes[n+1]||this[vn])}moveChild(e,n,i){return this.insertChild(e,n,i)}removeChild(e,n){e.parentNode&&e[Bl](e.parentNode)}[ks](e,n){}[N2](e,n){let i=e[Cs](n,this[vn]);return this[Bl](n),i}[Cs](e,n){this[Wc]=e;let i=this.parentNode;if(e!=i){this.parentNode=e;for(let o=0,l=qc(this.array),a=l.length;o<a;o++)l[o][Cs](e,n);this[vn]&&this[vn][Cs](e,n)}return this}[Bl](e){for(let n=0,i=qc(this.array),o=i.length;n<o;n++){let l=i[n];e[Hc](l)}return this[vn]&&e[Hc](this[vn]),this.parentNode=null}[P2](e){var n=this;if(!(this[As]&1)){this[As]|=1;return}if(this.dirty&&(n.changes.forEach(function(i,o){if(i==-1)return n.removeChild(o)}),n.changes.clear(),n.dirty=!1),n.array.length>e)for(;n.array.length>e;){let i=n.array.pop();n.removeChild(i)}}};L2[Qm]();var _r=Symbol.for("#__init__"),Gc=Symbol.for("#__initor__"),Kc=Symbol.for("#__inited__"),M2=Symbol.for("##inited"),D2=Symbol.for("#afterVisit"),F2=Symbol.for("#beforeReconcile"),z2=Symbol.for("#afterReconcile"),Vc=Symbol.for("#__hooks__"),hr=Symbol.for("#autorender"),Rs=Symbol.for("##visitContext"),Yc=Symbol(),q2=new class{constructor(e=null){this[_r](e)}[_r](e=null){var n;this.items=e&&(n=e.items)!==void 0?n:[],this.current=e&&(n=e.current)!==void 0?n:null,this.lastQueued=e&&(n=e.lastQueued)!==void 0?n:null,this.tests=e&&(n=e.tests)!==void 0?n:0}flush(){let e=null;for(;e=this.items.shift();){if(!e.parentNode||e.hydrated\u03A6)continue;let n=this.current;this.current=e,e.__F|=1024,e.connectedCallback(),this.current=n}}queue(e){var n=this;let i=this.items.length,o=this.lastQueued;this.lastQueued=e;let l=br.DOCUMENT_POSITION_PRECEDING,a=br.DOCUMENT_POSITION_FOLLOWING;if(i){let h=this.items.indexOf(o),d=h,m=function(v,S){return n.tests++,v.compareDocumentPosition(S)};(h==-1||o.nodeName!=e.nodeName)&&(d=h=0);let b=n.items[d];for(;b&&m(b,e)&a;)b=n.items[++d];if(d!=h)b?n.items.splice(d,0,e):n.items.push(e);else{for(;b&&m(b,e)&l;)b=n.items[--d];d!=h&&(b?n.items.splice(d+1,0,e):n.items.unshift(e))}}else n.items.push(e),n.current||globalThis.queueMicrotask(n.flush.bind(n))}},Ue=class extends Gm{static[_r](){return this.prototype[Gc]=Yc,this}constructor(){super(),this.flags$ns&&(this.flag$=this.flagExt$),this.setup$(),this.build(),this[Gc]===Yc&&this[Kc]&&this[Kc]()}setup$(){return this.__slots={},this.__F=0}[_r](){return this.__F|=3,this}[M2](){if(this[Vc])return this[Vc].inited(this)}flag$(e){this.className=this.flags$ext=e}build(){return this}awaken(){return this}mount(){return this}unmount(){return this}rendered(){return this}dehydrate(){return this}hydrate(){return this.autoschedule=!0,this}tick(){return this.commit()}visit(){return this.commit()}commit(){return this.render\u03A6?(this.__F|=256,this.render&&this.render(),this.rendered(),this.__F=(this.__F|512)&-257&-8193):(this.__F|=8192,this)}get autoschedule(){return(this.__F&64)!=0}set autoschedule(e){e?this.__F|=64:this.__F&=-65}set autorender(e){let n=this[hr]||(this[hr]={});n.value=e,this.mounted\u03A6&&be.schedule(this,n)}get render\u03A6(){return!this.suspended\u03A6}get mounting\u03A6(){return(this.__F&16)!=0}get mounted\u03A6(){return(this.__F&32)!=0}get awakened\u03A6(){return(this.__F&8)!=0}get rendered\u03A6(){return(this.__F&512)!=0}get suspended\u03A6(){return(this.__F&4096)!=0}get rendering\u03A6(){return(this.__F&256)!=0}get scheduled\u03A6(){return(this.__F&128)!=0}get hydrated\u03A6(){return(this.__F&2)!=0}get ssr\u03A6(){return(this.__F&1024)!=0}schedule(){return be.on("commit",this),this.__F|=128,this}unschedule(){return be.un("commit",this),this.__F&=-129,this}async suspend(e=null){return this.flags.incr("@suspended"),this.__F|=4096,e instanceof Function&&(await e(),this.unsuspend()),this}unsuspend(){return this.flags.decr("@suspended")==0&&(this.__F&=-4097,this.commit()),this}[D2](){if(this.visit(),this[Rs])return this[Rs]=null}[F2](){return this.__F&1024&&(this.__F=this.__F&-1025,this.classList.remove("_ssr_"),this.flags$ext&&this.flags$ext.indexOf("_ssr_")==0&&(this.flags$ext=this.flags$ext.slice(5)),this.__F&512||(this.innerHTML="")),globalThis.DEBUG_IMBA&&Zs.push(this),this[Rs]&&(this[Rs]=null),this}[z2](){return globalThis.DEBUG_IMBA&&Zs.pop(this),this}connectedCallback(){let e=this.__F,n=e&1,i=e&8;if(!n&&!(e&1024)){q2.queue(this);return}if(e&48)return;this.__F|=16,n||this[_r](),e&2||(this.flags$ext=this.className,this.__F|=2,this.hydrate(),this.commit()),i||(this.awaken(),this.__F|=8),Cn(this,"mount");let o=this.mount();return o&&o.then instanceof Function&&o.then(be.commit),e=this.__F=(this.__F|32)&-17,e&64&&this.schedule(),this[hr]&&be.schedule(this,this[hr]),this}disconnectedCallback(){if(this.__F=this.__F&-49,this.__F&128&&this.unschedule(),Cn(this,"unmount"),this.unmount(),this[hr])return be.unschedule(this,this[hr])}};Ue[_r]();function U2(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Xc=Symbol.for("#__init__"),B2={cm:1,mm:1,Q:1,pc:1,pt:1,px:1,em:1,ex:1,ch:1,rem:1,vw:1,vh:1,vmin:1,vmax:1,s:1,ms:1,fr:1,"%":1,in:1,turn:1,grad:1,rad:1,deg:1,Hz:1,kHz:1},Zc={prefix:1,suffix:1,content:1},t0={rose:[[356,100,97],[356,100,95],[353,96,90],[353,96,82],[351,95,71],[350,89,60],[347,77,50],[345,83,41],[343,80,35],[342,75,30]],pink:[[327,73,97],[326,78,95],[326,85,90],[327,87,82],[329,86,70],[330,81,60],[333,71,51],[335,78,42],[336,74,35],[336,69,30]],fuchsia:[[289,100,98],[287,100,95],[288,96,91],[291,93,83],[292,91,73],[292,84,61],[293,69,49],[295,72,40],[295,70,33],[297,64,28]],purple:[[270,100,98],[269,100,95],[269,100,92],[269,97,85],[270,95,75],[271,91,65],[271,81,56],[272,72,47],[273,67,39],[274,66,32]],violet:[[250,100,98],[251,91,95],[251,95,92],[252,95,85],[255,92,76],[258,90,66],[262,83,58],[263,70,50],[263,69,42],[264,67,35]],indigo:[[226,100,97],[226,100,94],[228,96,89],[230,94,82],[234,89,74],[239,84,67],[243,75,59],[245,58,51],[244,55,41],[242,47,34]],blue:[[214,100,97],[214,95,93],[213,97,87],[212,96,78],[213,94,68],[217,91,60],[221,83,53],[224,76,48],[226,71,40],[224,64,33]],sky:[[204,100,97],[204,94,94],[201,94,86],[199,95,74],[198,93,60],[199,89,48],[200,98,39],[201,96,32],[201,90,27],[202,80,24]],cyan:[[183,100,96],[185,96,90],[186,94,82],[187,92,69],[188,86,53],[189,94,43],[192,91,36],[193,82,31],[194,70,27],[196,64,24]],teal:[[166,76,97],[167,85,89],[168,84,78],[171,77,64],[172,66,50],[173,80,40],[175,84,32],[175,77,26],[176,69,22],[176,61,19]],emerald:[[152,81,96],[149,80,90],[152,76,80],[156,72,67],[158,64,52],[160,84,39],[161,94,30],[163,94,24],[163,88,20],[164,86,16]],green:[[138,76,97],[141,84,93],[141,79,85],[142,77,73],[142,69,58],[142,71,45],[142,76,36],[142,72,29],[143,64,24],[144,61,20]],lime:[[78,92,95],[80,89,89],[81,88,80],[82,85,67],[83,78,55],[84,81,44],[85,85,35],[86,78,27],[86,69,23],[88,61,20]],yellow:[[55,92,95],[55,97,88],[53,98,77],[50,98,64],[48,96,53],[45,93,47],[41,96,40],[35,92,33],[32,81,29],[28,73,26]],amber:[[48,100,96],[48,96,89],[48,97,77],[46,97,65],[43,96,56],[38,92,50],[32,95,44],[26,90,37],[23,83,31],[22,78,26]],orange:[[33,100,96],[34,100,92],[32,98,83],[31,97,72],[27,96,61],[25,95,53],[21,90,48],[17,88,40],[15,79,34],[15,75,28]],red:[[0,86,97],[0,93,94],[0,96,89],[0,94,82],[0,91,71],[0,84,60],[0,72,51],[0,74,42],[0,70,35],[0,63,31]],warmer:[[60,9,98],[60,5,96],[20,6,90],[24,6,83],[24,5,64],[25,5,45],[33,5,32],[30,6,25],[12,6,15],[24,10,10]],warm:[[0,0,98],[0,0,96],[0,0,90],[0,0,83],[0,0,64],[0,0,45],[0,0,32],[0,0,25],[0,0,15],[0,0,9]],gray:[[0,0,98],[240,5,96],[240,6,90],[240,5,84],[240,5,65],[240,4,46],[240,5,34],[240,5,26],[240,4,16],[240,6,10]],cool:[[210,20,98],[220,14,96],[220,13,91],[216,12,84],[218,11,65],[220,9,46],[215,14,34],[217,19,27],[215,28,17],[221,39,11]],cooler:[[210,40,98],[210,40,96],[214,32,91],[213,27,84],[215,20,65],[215,16,47],[215,19,35],[215,25,27],[217,33,17],[222,47,11]]},W2=new RegExp("^("+Object.keys(t0).join("|")+")(\\d+(?:\\.\\d+)?)$"),H2=/^([xyz])$/,j2=/^([tlbr]|size|[whtlbr]|[mps][tlbrxy]?|[rcxy]?[gs])$/,G2=`*,::before,::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: currentColor;
}`,K2=class{constructor(e=null){this[Xc](e)}[Xc](e=null){var n;this.entries=e&&(n=e.entries)!==void 0?n:{}}register(e,n){let i=this.entries[e];i?i&&(i.css=n,i.node&&(i.node.textContent=n)):(i=this.entries[e]={sourceId:e,css:n},this.entries.resets||this.register("resets",G2),i.node=globalThis.document.createElement("style"),i.node.setAttribute("data-id",e),i.node.textContent=i.css,globalThis.document.head.appendChild(i.node))}toString(){return Object.values(this.entries).map(function(e){return e.css}).join(`
`)}toValue(e,n,i,o=null){let l;Zc[i]&&(e=String(e));let a=typeof e;if(a=="number"){if(n||(H2.test(i)?n="px":j2.test(i)?n="u":i=="rotate"&&(n="turn",e=(e%1).toFixed(4))),n)return B2[n]?e+n:n=="u"?e*4+"px":"calc(var(--u_"+n+",1px) * "+e+")"}else if(a=="string"){if(i&&Zc[i]&&e[0]!='"'&&e[0]!="'"&&(e.indexOf('"')>=0?e.indexOf("'")==-1&&(e="'"+e+"'"):e='"'+e+'"'),l=e.match(W2)){let h=t0[l[1]][parseInt(l[2])],d="100%";if(typeof o=="number"?d=o+"%":typeof o=="string"&&(d=o),h)return"hsla("+h[0]+","+h[1]+"%,"+h[2]+"%,"+d+")"}}else if(e&&e.toStyleString instanceof Function)return e.toStyleString();return e}parseDimension(e){if(typeof e=="string"){let[n,i,o]=e.match(/^([-+]?[\d\.]+)(%|\w+)$/);return[parseFloat(i),o]}else if(typeof e=="number")return[e]}},V2=new K2,Y2=class{css$(e,n,i){return this.style[e]=n}css$var(e,n,i,o,l=null){let a=V2.toValue(n,i,o,l);this.style.setProperty(e,a)}};U2(yt.prototype,Y2.prototype);var X2=Symbol.for("#insertInto"),Jc=Symbol.for("#removeFrom");function e0(e,n){let i=n||globalThis.document.body,o=e;if(e instanceof Function){let l=new xr(i,null),a=function(){let h=ue.context;ue.context=l;let d=e(l);return ue.context==l&&(ue.context=h),d};o=a(),be.listen("commit",a)}else o.__F|=64;return o[X2](i),o}function Z2(e){return e&&e[Jc]&&e[Jc](e.parentNode),e}var n0=globalThis.imba||(globalThis.imba={});n0.mount=e0;n0.unmount=Z2;function Er(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}function Vr(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var ui=Symbol.for("##onchange"),vi=Symbol.for("#afterVisit"),ai=Symbol.for("##oninput"),Vs=Symbol.for("##onclick"),_i=Symbol.for("##bound"),An=Symbol.for("##visitContext"),J2={INPUT:!0,SELECT:!0,TEXTAREA:!0,BUTTON:!0},Tu=function(e){return e instanceof Array||e&&e.has instanceof Function},Yu=function(e,n){return e==n?!0:e instanceof Array?e.indexOf(n)>=0:e&&e.has instanceof Function?e.has(n):e&&e.contains instanceof Function?e.contains(n):!1},Xu=function(e,n){if(e instanceof Array)return e.push(n);if(e&&e.add instanceof Function)return e.add(n)},Zu=function(e,n){if(e instanceof Array){let i=e.indexOf(n);if(i>=0)return e.splice(i,1)}else if(e&&e.delete instanceof Function)return e.delete(n)};function Q2(e){function n(){return e[0]?e[0][e[1]]:void 0}function i(o){return e[0]?e[0][e[1]]=o:null}return{get:n,set:i}}var tx=class{getRichValue(){return this.value}setRichValue(e){return this.value=e}bind$(e,n){let i=n||[];return e=="data"&&!this[_i]&&J2[this.nodeName]&&(this[_i]=!0,this[ui]&&this.addEventListener("change",this[ui]=this[ui].bind(this)),this[ai]&&this.addEventListener("input",this[ai]=this[ai].bind(this),{capture:!0}),this[Vs]&&this.addEventListener("click",this[Vs]=this[Vs].bind(this),{capture:!0})),Object.defineProperty(this,e,i instanceof Array?Q2(i):i),i}};Er(yt.prototype,tx.prototype);Object.defineProperty(yt.prototype,"richValue",{get:function(){return this.getRichValue()},set:function(e){return this.setRichValue(e)}});var ex=class{[ui](e){let n=this.data,i=this.$$value;this.$$value=void 0;let o=this.getRichValue();if(this.multiple){if(i)for(let l=0,a=Vr(i),h=a.length;l<h;l++){let d=a[l];o.indexOf(d)==-1&&Zu(n,d)}for(let l=0,a=Vr(o),h=a.length;l<h;l++){let d=a[l];(!i||i.indexOf(d)==-1)&&Xu(n,d)}}else this.data=o[0];return Gt(),this}getRichValue(){var e;if(this.$$value)return this.$$value;e=[];for(let n=0,i=Vr(this.selectedOptions),o=i.length;n<o;n++){let l=i[n];e.push(l.richValue)}return this.$$value=e}syncValue(){let e=this.data;if(this.multiple){let n=[];for(let i=0,o=Vr(this.options),l=o.length;i<l;i++){let a=o[i],h=a.richValue,d=Yu(e,h);a.selected=d,d&&n.push(h)}this.$$value=n}else for(let n=0,i=Vr(this.options),o=i.length;n<o;n++){let l=i[n].richValue;if(l==e){this.$$value=[l],this.selectedIndex=n;break}}}[vi](){if(this.syncValue(),this[An])return this[An]=null}};Er(e2.prototype,ex.prototype);var nx=class{setRichValue(e){return this.$$value=e,this.value=e}getRichValue(){return this.$$value!==void 0?this.$$value:this.value}};Er(s2.prototype,nx.prototype);var rx=class{setRichValue(e){return this.$$value=e,this.value=e}getRichValue(){return this.$$value!==void 0?this.$$value:this.value}[ai](e){return this.data=this.value,Gt()}[vi](){let e=this.data;if(e==null&&(e=""),this[_i]&&this.value!=e&&(this.value=e),this[An])return this[An]=null}};Er(r2.prototype,rx.prototype);var ix=class{[ai](e){let n=this.type;if(!(n=="checkbox"||n=="radio")&&!(n=="number"&&Number.isNaN(this.valueAsNumber)))return this.$$value=void 0,this.data=this.richValue,Gt()}[ui](e){let n=this.data,i=this.richValue;if(this.type=="checkbox"||this.type=="radio"){let o=this.checked;Tu(n)?o?Xu(n,i):Zu(n,i):this.data=o?i:!1}return Gt()}setRichValue(e){this.$$value!==e&&(this.$$value=e,this.value!==e&&(this.value=e))}getRichValue(){if(this.$$value!==void 0)return this.$$value;let e=this.value,n=this.type;if(n=="range"||n=="number"){let i=this.valueAsNumber;Number.isNaN(i)&&(i=Number(e.replace(/\,/,".")+0)),Number.isNaN(i)&&(i=null),e=i}else n=="checkbox"&&(e==null||e==="on")&&(e=!0);return e}[vi](){if(this[_i]){let e=this.type;if(e=="checkbox"||e=="radio"){let n=this.data;n===!0||n===!1||n==null?this.checked=!!n:this.checked=Yu(n,this.richValue)}else this.richValue=this.data}this[An]&&(this[An]=null)}};Er(n2.prototype,ix.prototype);var sx=class{get checked(){return this.$checked}set checked(e){e!=this.$checked&&(this.$checked=e,this.flags.toggle("checked",!!e))}setRichValue(e){return this.$$value=e,this.value=e}getRichValue(){return this.$$value!==void 0?this.$$value:this.value}[Vs](e){let n=this.data,i=this.checked,o=this.richValue;return Tu(n)?i?Zu(n,o):Xu(n,o):this.$$value==null?this.data=!i:this.data=i?null:o,this[vi](),Gt()}[vi](){if(this[_i]){let e=this.data,n=this.$$value==null?!0:this.$$value;Tu(e)?this.checked=Yu(e,n):this.checked=e==n}this[An]&&(this[An]=null)}};Er(i2.prototype,sx.prototype);function Qc(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var ox=Symbol.for("#getSlot"),lx=Symbol.for("#container"),ux=Symbol.for("#afterVisit"),Wn=Symbol.for("#__init__"),tp=Symbol.for("#__initor__"),ep=Symbol.for("#__inited__"),Is=Symbol.for("#listeners"),Le=Symbol.for("#slot"),ax=Symbol.for("#parent"),oe=Symbol.for("##container"),Wl=Symbol.for("#domTarget"),np=Symbol.for("#insertInto"),hx=Symbol.for("#removeFrom"),fx=Symbol.for("#teleport"),cx=Symbol.for("#self"),px=Symbol.for("#target"),rp=Symbol(),Ju=class extends Ue{static[Wn](){return this.prototype[tp]=rp,this}constructor(){super(...arguments),super[Wn]||this[Wn](),this[tp]===rp&&this[ep]&&this[ep]()}[Wn](e=null){super[Wn]&&super[Wn](...arguments),this.to=e?e.to:void 0}build(){return this[Is]=[],this.win=globalThis,this.doc=globalThis.document}setup(){return this.setAttribute("style","display:none !important;")}[ox](e,n){return this[Le]||(this[Le]=Ou(0,this[ax])),this[Le]}get[lx](){if(!this[oe]){let e=this.className;this[oe]=this.doc.createElement("div"),this[oe].className=e,this[oe].style.cssText="display:contents !important;"}return this[oe]}get domTarget(){return this[Wl]||(this[Wl]=this.to instanceof yt?this.to:this.closest(this.to)||this.doc.querySelector(this.to))}get eventTarget(){return this.domTarget}get style(){return this[oe]?this[oe].style:super.style}get classList(){return this[oe]?this[oe].classList:super.classList}get className(){return this[oe]?this[oe].className:super.className}set className(e){this[oe]?this[oe].className=e:super.className=e}[ux](){if(this.mounted\u03A6&&this[Le]&&!this[Le].parentNode)return this[Le][np](this.target)}mount(){for(let n=0,i=Qc(this[Is]),o=i.length;n<o;n++){let[l,a,h]=i[n];this.eventTarget.addEventListener(l,a,h)}let e=this.domTarget;return this[Le]&&this[Le][np](e),this}unmount(){for(let e=0,n=Qc(this[Is]),i=n.length;e<i;e++){let[o,l,a]=n[e];this.eventTarget.removeEventListener(o,l,a)}return this[Le]&&this[Le][hx](this.domTarget),this[Wl]=null,this}addEventListener(e,n,i={}){var o;if(n[fx]=this,n[cx]=this,this[Is].push([e,n,i]),this.mounted\u03A6&&((o=this.eventTarget)==null?void 0:o.addEventListener))return this.eventTarget.addEventListener(e,n,i)}};Ju[Wn]();var dx=class extends Ju{get domTarget(){return this.doc.body}get eventTarget(){return this.win}addEventListener(e,n,i={}){return n[px]=this.domTarget.parentNode,super.addEventListener(...arguments)}on$resize(e,n,i,o){return this.addEventListener("resize",i,o),i}};globalThis.customElements&&(globalThis.customElements.define("i-teleport",Ju),globalThis.customElements.define("i-global",dx));function wn(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function gx(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var rn=Symbol.for("#__init__"),no=Symbol.for("#__initor__"),ro=Symbol.for("#__inited__"),Hl=Symbol.for("#insertInto"),jl=Symbol.for("#removeFrom"),mx=Symbol.for("#all"),Yr=Symbol.for("#phase"),en=Symbol.for("#nodes"),vx=Symbol.for("#sizes"),ip=Symbol.for("#mode"),sp=Symbol.for("#enabled"),_x=Symbol.for("#easer"),op=Symbol.for("#anims"),Gl=Symbol.for("#_easer_"),lp=Symbol(),up=Symbol(),r0=class extends qm{static[rn](){return this.prototype[no]=lp,this}constructor(){super(...arguments),super[rn]||this[rn](),this[no]===lp&&this[ro]&&this[ro]()}[rn](e=null){var n;super[rn]&&super[rn](...arguments),this.selectors=e&&(n=e.selectors)!==void 0?n:{}}addSelectors(e,n){var i;return((i=this.selectors)[n]||(i[n]=[])).push(...e),!0}getSelectors(...e){let n=[];for(let i=0,o=wn(e),l=o.length;i<l;i++){let a=o[i];this.selectors[a]&&n.push(...this.selectors[a])}return n&&n.length?n.join(","):null}nodesForBase(e,n="transition"){let i=[e],o=(this.selectors[n]||[]).join(",");if(o=="")return i;let l=e.querySelectorAll(o);for(let a=0,h=wn(l),d=h.length;a<d;a++){let m=h[a];m.closest("._ease_")==e&&i.push(m)}return i[mx]=l,i}nodesWithSize(e,n="in"){let i=this.getSelectors("_off_sized","_"+n+"_sized");return i?e.filter(function(o){return o.matches(i)}):[]}};r0[rn]();var yi=new r0,yx=globalThis.imba||(globalThis.imba={});yx.transitions=yi;var i0=class extends qm{static[rn](){return this.prototype[no]=up,this}constructor(e){super(),this.dom=e,this[Yr]=null,this[en]=[],this[vx]=new Map,this[no]===up&&this[ro]&&this[ro]()}log(...e){}get flags(){return this.dom.flags}flag(e){for(let n=0,i=wn(this[en]),o=i.length;n<o;n++)i[n].flags.add(e);return this}unflag(e){for(let n=0,i=wn(this[en]),o=i.length;n<o;n++)i[n].flags.remove(e);return this}commit(){return this.dom.offsetWidth}enable(e){return e&&(this[ip]=e),this[sp]!=!0&&(this[sp]=!0,!0)?(this.dom[Hl]=this[Hl].bind(this),this.dom[jl]=this[jl].bind(this),this.flags.add("_ease_")):this}disable(){return this.flags.remove("_ease_"),!0}set phase(e){var n,i,o,l,a,h,d,m,b,v,S,R;let I=this[Yr];this[Yr]!=e&&(this[Yr]=e,!0)&&(I&&this.unflag("@"+I),e&&this.flag("@"+e),e||(this.unflag("@out"),this.unflag("@in"),this.unflag("@off"),this[en]=null),e=="enter"&&I=="leave"&&((i=(n=this.dom)==null?void 0:n.transition\u039Eout\u039Ecancel)==null||i.call(n,this)),e=="leave"&&I=="enter"&&((l=(o=this.dom)==null?void 0:o.transition\u039Ein\u039Ecancel)==null||l.call(o,this)),e=="enter"&&((h=(a=this.dom)==null?void 0:a.transition\u039Ein)==null||h.call(a,this)),e=="leave"&&((m=(d=this.dom)==null?void 0:d.transition\u039Eout)==null||m.call(d,this)),I=="leave"&&!e&&((v=(b=this.dom)==null?void 0:b.transition\u039Eout\u039Eend)==null||v.call(b,this)),I=="enter"&&!e&&((R=(S=this.dom)==null?void 0:S.transition\u039Ein\u039Eend)==null||R.call(S,this)))}get phase(){return this[Yr]}get leaving\u03A6(){return this.phase=="leave"}get entering\u03A6(){return this.phase=="enter"}get idle\u03A6(){return this.phase==null}track(e){var n=this;let i={before:Dl().getAnimations()};return this.commit(),e(),this.commit(),i.after=Dl().getAnimations(),i.fresh=i.after.filter(function(o){return i.before.indexOf(o)==-1}),i.deep=i.fresh.filter(function(o){let l;return!!((l=o.effect.target)&&l.closest("._ease_")!=n.dom)}),i.own=i.fresh.filter(function(o){return i.deep.indexOf(o)==-1}),i.own.length?i.finished=new Promise(function(o){let l=new Set(i.own),a=function(){if(l.delete(this),l.size==0)return o()};for(let h=0,d=wn(i.own),m=d.length;h<m;h++){let b=d[h];b[_x]=n,b.addEventListener("finish",a,{once:!0}),b.addEventListener("cancel",a,{once:!0})}}):i.finished=Promise.resolve(!0),i}getAnimatedNodes(){return yi.nodesForBase(this.dom)}getNodeSizes(e="in",n=this[en]){let i=yi.nodesWithSize(n,e),o=new Map;for(let l=0,a=wn(i),h=a.length;l<h;l++){let d=a[l],m=window.getComputedStyle(d);o.set(d,{width:m.width,height:m.height})}return o}applyNodeSizes(e){for(let[n,i]of wn(e))n.style.width=i.width,n.style.height=i.height;return e}clearNodeSizes(e){if(e){for(let[n,i]of wn(e))n.style.removeProperty("width"),n.style.removeProperty("height");return e}}[Hl](e,n){var i,o,l=this;let a;if(this.entering\u03A6)return this.dom;let h=function(){if(a&&l.clearNodeSizes(a),l.entering\u03A6)return l.phase=null};return l.leaving\u03A6?(l.track(function(){return l.phase="enter",l.unflag("@off"),l.unflag("@out")}).finished.then(h,function(d){return l.log("error cancel leave",d)}),l.dom):(Dl().contains(e),n?e.insertBefore(l.dom,n):e.appendChild(l.dom),this[en]=l.getAnimatedNodes(),l.flag("_instant_"),l.unflag("@out"),l.commit(),a=this[en].sized=l.getNodeSizes("in"),(o=(i=l.dom)==null?void 0:i.transition\u039Ein\u039Einit)==null||o.call(i,l),l.flag("@off"),l.flag("@in"),l.flag("@enter"),l.commit(),l.unflag("_instant_"),(this[op]=l.track(function(){return l.phase="enter",l.applyNodeSizes(a),l.unflag("@off"),l.unflag("@in")})).finished.then(h,function(d){return l.clearNodeSizes(a),l.log("cancelled insert into",d)}),l.dom)}[jl](e){var n=this;if(this.leaving\u03A6)return;let i,o=function(){if(n.phase=="leave")return n.dom.emit("easeoutend",{}),e.removeChild(n.dom),n.phase=null};if(n.entering\u03A6&&this[ip]!="forward"){let a=n.track(function(){return n.flag("@off"),n.flag("@in"),n.unflag("@out"),n.phase="leave",n.clearNodeSizes(n[en].sized)});n.log("cancel enter anims own",a.own,a),a.finished.then(o,function(h){return n.log("error cancel entering",h)});return}this[en]=n.getAnimatedNodes(),i=n.getNodeSizes("out"),n.applyNodeSizes(i),n.flag("@leave");let l=this[op]=n.track(function(){return n.phase="leave",n.flag("@off"),n.flag("@out"),n.clearNodeSizes(i)});if(!l.own.length){o();return}l.finished.then(o,function(){return!0})}};i0[rn]();var bx=class{transition\u039Ein\u039Einit(e){return!0}transition\u039Ein(e){return!0}transition\u039Ein\u039Eend(e){return!0}transition\u039Ein\u039Ecancel(e){return!0}transition\u039Eout(e){return!0}transition\u039Eout\u039Eend(e){return!0}transition\u039Eout\u039Ecancel(e){return!0}get ease(){return this[Gl]||(this[Gl]=new i0(this))}set ease(e){var n,i;if(e==!1){(i=(n=this[Gl])==null?void 0:n.disable)==null||i.call(n);return}this.ease.enable(e)}};gx(yt.prototype,bx.prototype);function $x(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Sx=class{\u03B1esc(){return this.keyCode==27}\u03B1tab(){return this.keyCode==9}\u03B1enter(){return this.keyCode==13}\u03B1space(){return this.keyCode==32}\u03B1up(){return this.keyCode==38}\u03B1down(){return this.keyCode==40}\u03B1left(){return this.keyCode==37}\u03B1right(){return this.keyCode==39}\u03B1del(){return this.keyCode==8||this.keyCode==46}\u03B1key(e){if(typeof e=="string")return this.key==e;if(typeof e=="number")return this.keyCode==e}};$x(t2.prototype,Sx.prototype);function wx(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var xx=class{\u03B1left(){return this.button==0}\u03B1middle(){return this.button==1}\u03B1right(){return this.button==2}\u03B1shift(){return!!this.shiftKey}\u03B1alt(){return!!this.altKey}\u03B1ctrl(){return!!this.ctrlKey}\u03B1meta(){return!!this.metaKey}\u03B1mod(){let e=globalThis.navigator.platform;return/^(Mac|iPhone|iPad|iPod)/.test(e||"")?!!this.metaKey:!!this.ctrlKey}};wx(Jw.prototype,xx.prototype);function Qu(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}function ap(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var Ex=Symbol.for("#extendType"),Ox=Symbol.for("#modifierState"),Ns=Symbol.for("#sharedModifierState"),hp=Symbol.for("#onceHandlerEnd"),fp=Symbol.for("#extendDescriptors"),le=Symbol.for("#context"),cp=Symbol.for("#self"),Tx=Symbol.for("#target"),pp=Symbol.for("#stopPropagation"),dp=Symbol.for("#defaultPrevented"),kx=Symbol.for("#teleport"),Cx=class{[Ex](e){var n;let i=e[fp]||(e[fp]=(n=Object.getOwnPropertyDescriptors(e.prototype),n.constructor,delete n.constructor,n));return Object.defineProperties(this,i)}};Qu(Se.prototype,Cx.prototype);var Ax=class{get[Ox](){var e,n;return(e=this[le])[n=this[le].step]||(e[n]={})}get[Ns](){var e,n;return(e=this[le].handler)[n=this[le].step]||(e[n]={})}[hp](e){return Ae(this[le],"end",e)}\u03B1sel(e){return!!this.target.matches(String(e))}\u03B1closest(e){return!!this.target.closest(String(e))}\u03B1log(...e){return console.info(...e),!0}\u03B1trusted(){return!!this.isTrusted}\u03B1if(e){return!!e}\u03B1wait(e=250){return new Promise(function(n){return setTimeout(n,ys(e))})}\u03B1self(){return this.target==this[le].element}\u03B1cooldown(e=250){let n=this[Ns];return n.active?!1:(n.active=!0,n.target=this[le].element,n.target.flags.incr("cooldown"),this[hp](function(){return setTimeout(function(){return n.target.flags.decr("cooldown"),n.active=!1},ys(e))}),!0)}\u03B1throttle(e=250){let n=this[Ns];return n.active?(n.next&&n.next(!1),new Promise(function(i){return n.next=function(o){return n.next=null,i(o)}})):(n.active=!0,n.el||(n.el=this[le].element),n.el.flags.incr("throttled"),Ae(this[le],"end",function(){let i=ys(e);return n.interval=setInterval(function(){n.next?n.next(!0):(clearInterval(n.interval),n.el.flags.decr("throttled"),n.active=!1)},i)}),!0)}\u03B1debounce(e=250){let n=this[Ns],i=this;return n.queue||(n.queue=[]),n.queue.push(n.last=i),new Promise(function(o){return setTimeout(function(){return n.last==i?(i.debounced=n.queue,n.last=null,n.queue=[],o(!0)):o(!1)},ys(e))})}\u03B1flag(e,n){let{element:i,step:o,state:l,id:a,current:h}=this[le],d=n instanceof yt?n:n?i.closest(n):i;if(!d)return!0;this[le].commit=!0,l[o]=a,d.flags.incr(e);let m=Date.now();return Ae(h,"end",function(){let b=Date.now()-m,v=Math.max(250-b,0);return setTimeout(function(){return d.flags.decr(e)},v)}),!0}\u03B1busy(e){return this.\u03B1flag("busy",e)}\u03B1outside(){let{handler:e}=this[le];if(e&&e[cp])return!e[cp].parentNode.contains(this.target)}};Qu(En.prototype,Ax.prototype);var Rx=class{constructor(e,n){this.params=e,this.closure=n}getHandlerForMethod(e,n){return e?e[n]?e:this.getHandlerForMethod(e.parentNode,n):null}emit(e,...n){return Cn(this,e,n)}on(e,...n){return wr(this,e,...n)}once(e,...n){return Ae(this,e,...n)}un(e,...n){return ao(this,e,...n)}get passive\u03A6(){return this.params.passive}get capture\u03A6(){return this.params.capture}get silent\u03A6(){return this.params.silent}get global\u03A6(){return this.params.global}async handleEvent(e){let n=this[Tx]||e.currentTarget,i=this.params,o=null,l=i.silence||i.silent;this.count||(this.count=0),this.state||(this.state={});let a={element:n,event:e,modifiers:i,handler:this,id:++this.count,step:-1,state:this.state,commit:null,current:null};if(a.current=a,e.handle$mod&&e.handle$mod.apply(a,i.options||[])==!1)return;let h=En[this.type+"$handle"]||En[e.type+"$handle"]||e.handle$mod||this.guard;if(!(h&&h.apply(a,i.options||[])==!1)){this.currentEvents||(this.currentEvents=new Set),this.currentEvents.add(e);for(let d=0,m=Object.keys(i),b=m.length,v,S;d<b;d++){if(v=m[d],S=i[v],a.step++,v[0]=="_")continue;v.indexOf("~")>0&&(v=v.split("~")[0]);let R=null,I=[e,a],x,C=null,D,k=!1;if(v[0]=="$"&&v[1]=="_"&&S[0]instanceof Function)v=S[0],v.passive||(a.commit=!0),I=[e,a].concat(S.slice(1)),C=n;else if(S instanceof Array){I=S.slice(),R=I;for(let F=0,B=ap(I),E=B.length;F<E;F++){let O=B[F];if(typeof O=="string"&&O[0]=="~"&&O[1]=="$"){let P=O.slice(2).split("."),q=a[P.shift()]||e;for(let U=0,H=ap(P),K=H.length;U<K;U++){let tt=H[U];q=q?q[tt]:void 0}I[F]=q}}}if(typeof v=="string"&&(D=v.match(/^(emit|flag|mod|moved|pin|fit|refit|map|remap|css)-(.+)$/))&&(R||(R=I=[]),I.unshift(D[2]),v=D[1]),v=="trap")e[pp]=!0,e.stopImmediatePropagation(),e[dp]=!0,e.preventDefault();else if(v=="stop")e[pp]=!0,e.stopImmediatePropagation();else if(v=="prevent")e[dp]=!0,e.preventDefault();else if(v=="commit")a.commit=!0;else if(v=="once")n.removeEventListener(e.type,this);else{if(v=="options"||v=="silence"||v=="silent")continue;if(v=="emit"){let F=I[0],B=I[1],E=new Se(F,{bubbles:!0,detail:B});E.originalEvent=e,(this[kx]||n).dispatchEvent(E)}else if(typeof v=="string"){v[0]=="!"&&(k=!0,v=v.slice(1));let F="\u03B1"+v,B=e[F];B||(B=this.type&&En[this.type+"$"+v+"$mod"]),B||(B=e[v+"$mod"]||En[e.type+"$"+v]||En[v+"$mod"]),B instanceof Function?(v=B,C=a,I=R||[],e[F]&&(C=e,e[le]=a)):v[0]=="_"?(v=v.slice(1),C=this.closure):C=this.getHandlerForMethod(n,v)}}try{v instanceof Function?x=v.apply(C||n,I):C&&(x=C[v].apply(C,I)),x&&x.then instanceof Function&&x!=be.$promise&&(a.commit&&!l&&be.commit(),x=await x)}catch(F){o=F;break}if(k&&x===!0||!k&&x===!1)break;a.value=x}if(Cn(a,"end",a),a.commit&&!l&&be.commit(),this.currentEvents.delete(e),this.currentEvents.size==0&&this.emit("idle"),o!=null){if(this.type!="error"){let d=o instanceof Error?o.message:o,m=new Se("error",{detail:d,bubbles:!0,cancelable:!0});if(m.error=o,m.originalEvent=e,n.dispatchEvent(m),m.defaultPrevented)return}throw o}}}},Ix=class{on$(e,n,i){let o="on$"+e,l;l=new Rx(n,i);let a=n.capture||!1,h=n.passive,d=a;return h&&(d={passive:h,capture:a}),this[o]instanceof Function?l=this[o](n,i,l,d):this.addEventListener(e,l,d),l}on$error(e,n,i,o){var l;return(l=e.options)!=null&&l.length&&(i.guard=function(...a){let h=this.event.error;return!!a.find(function(d){return h instanceof d})}),this.addEventListener("error",i,o),i}};Qu(yt.prototype,Ix.prototype);var ta=new class{get ios\u03A6(){let e=globalThis.navigator.platform||"";return!!(e.match(/iPhone|iPod|iPad/)||e=="MacIntel"&&globalThis.navigator.maxTouchPoints>2)}};function ea(e,n){let i=n;return e instanceof Element?e:typeof e=="string"?e=="this"||e==""?i:e=="up"?i.parentNode:e=="op"?i.offsetParent:i.closest(e)||i.querySelector(e)||globalThis.document.querySelector(e):null}function yr(e){if(typeof e=="string"){let[n,i,o]=e.match(/^([-+]?[\d\.]+)(%|\w+)$/);return[parseFloat(i),o]}else if(typeof e=="number")return[e]}function ku(e,n=1){let i=1/n;return Math.round(e*i)/i}function Nx(e,n,i){return n>i?Math.max(i,Math.min(n,e)):Math.min(i,Math.max(n,e))}function gp(e,n,i,o,l=.1){let[a,h]=yr(i),[d,m]=yr(o),[b,v]=yr(l);return h=="%"&&(a=(n-e)*(a/100)),m=="%"&&(d=(n-e)*(d/100)),v=="%"&&(b=(d-a)*(b/100)),function(S,R){let I=(S-e)/(n-e),x=a+(d-a)*I;return l&&(x=ku(x,b)),R&&(x=Nx(x,a,d)),x}}function Px(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Lx=class{\u03B1primary(){return!!this.isPrimary}\u03B1mouse(){return this.pointerType=="mouse"}\u03B1pen(){return this.pointerType=="pen"}\u03B1touch(){return this.pointerType=="touch"}\u03B1pressure(e=.5){return this.pressure>=e}\u03B1lock(){return!0}};Px(Qw.prototype,Lx.prototype);function Mx(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var mp=Symbol.for("#capture"),Me=Symbol.for("#step"),Dx=Symbol.for("#cancel"),Kl=Symbol.for("#reframe"),vp=Symbol.for("#mods"),Vl=Symbol.for("#dx"),Yl=Symbol.for("#dy"),_n=Symbol.for("#context"),io=Symbol.for("#locked"),s0=Symbol.for("#teardown"),_p=Symbol.for("#x"),yp=Symbol.for("#y"),Fx=Symbol.for("#pinTarget"),bp=null,zx=class{constructor(e,n,i){this.phase="init",this.events=[],this.originalEvent=e,this.handler=n,this.target=this.currentTarget=i,this[vp]={}}set event(e){this.events.push(e)}get ctrlKey(){return this.originalEvent.ctrlKey}get altKey(){return this.originalEvent.altKey}get shiftKey(){return this.originalEvent.shiftKey}get metaKey(){return this.originalEvent.metaKey}get isPrimary(){return this.originalEvent.isPrimary}get pointerType(){return this.originalEvent.pointerType}get start(){return this.originalEvent}get originalTarget(){return this.originalEvent.target}get event(){return this.events[this.events.length-1]}get elapsed(){return this.event.timeStamp-this.events[0].timeStamp}get type(){return this.event.type}get pointerId(){return this.originalEvent.pointerId}get pressure(){return this.event.pressure}get clientX(){return this.event.clientX}get clientY(){return this.event.clientY}get offsetX(){return this.event.offsetX}get offsetY(){return this.event.offsetY}get active\u03A6(){return this.phase!="ended"}get ended\u03A6(){return this.phase=="ended"}get dx(){return this[Vl]==null?this.event.x-this.start.x:this[Vl]}get dy(){return this[Yl]==null?this.event.y-this.start.y:this[Yl]}stopImmediatePropagation(){return this.cancelBubble=!0,this.event.stopImmediatePropagation(),this}stopPropagation(){return this.cancelBubble=!0,this.event.stopPropagation(),this}preventDefault(){return this.defaultPrevented=!0,this.event.preventDefault()}emit(e,...n){return Cn(this,e,n)}on(e,...n){return wr(this,e,...n)}once(e,...n){return Ae(this,e,...n)}un(e,...n){return ao(this,e,...n)}\u03B1flag(e,n){let{element:i}=this[_n],o=n instanceof yt?n:n?i.closest(n):i;return this[Me].setup!=!0&&(this[Me].setup=!0,!0)&&(o.flags.incr(e),Ae(this,"end",function(){return o.flags.decr(e)})),!0}\u03B1lock(){return this[mp](),!0}[mp](){if(this[io]!=!0&&(this[io]=!0,!0))return this[_n].element.setPointerCapture(this.pointerId)}get[Me](){var e,n;return(e=this[vp])[n=this[_n].step]||(e[n]={})}[Dx](){return this[s0]()}\u03B1moved(e,n){let i=this[Me],{element:o,state:l,event:a}=this[_n];if(!i.setup){let v=e||4;typeof e=="string"&&e.match(/^(up|down|left|right|x|y)$/)&&(i.dir=e,v=n||4),typeof n=="string"&&n.match(/^(up|down|left|right|x|y)$/)&&(i.dir=n),i.setup=!0;let[S,R]=yr(v);i.threshold=S,i.sy=S,i.x0=this.x,i.y0=this.y,i.dir||(i.dir="dist"),i.x=i.left=i.right=i.y=i.up=i.down=i.dist=0,R&&R!="px"&&console.warn("only px threshold allowed in @touch.moved")}if(i.active)return!0;if(i.cancelled)return!1;let h=i.threshold,d=this.x-i.x0,m=this.y-i.y0;i.x=Math.max(i.x,Math.abs(d)),i.y=Math.max(i.y,Math.abs(m)),i.left=Math.max(i.left,-d),i.right=Math.max(i.right,d),i.up=Math.max(i.up,-m),i.down=Math.max(i.down,m),i.dist=Math.max(i.dist,Math.sqrt(d*d+m*m));let b=i[i.dir];if(b>h&&b>=i.x&&b>=i.y){i.active=!0;let v=l.pinTarget;return o.flags.incr("@move"),v&&v.flags.incr("@move"),this.preventDefault(),Ae(this,"end",function(){return v&&v.flags.decr("@move"),o.flags.decr("@move")}),!0}else if(i.x>h||i.y>h)return i.cancelled=!0,!1;return!1}\u03B1hold(e=250){var n=this;let i=this[Me],o=this[_n].element;if(i.cancelled)return!1;if(i.setup&&!i.active){let l=this.clientX,a=this.clientY,h=l-i.x,d=a-i.y;Math.sqrt(h*h+d*d)>5&&!i.cancelled&&(clearTimeout(i.timeout),i.cancelled=!0)}if(i.setup!=!0&&(i.setup=!0,!0)){i.active=!1,i.x=this.clientX,i.y=this.clientY;let l;return i.timeout=setTimeout(function(){return i.active=!0,n.preventDefault(),o.flags.incr("@hold"),l&&l(!0),l=null},e),Ae(n,"end",function(){return i.active&&o.flags.decr("@hold"),clearTimeout(i.timeout),l&&l(!1),l=null}),new Promise(function(a){return l=a})}return i.active}\u03B1sync(e,n="x",i="y"){let o=this[Me];return o.setup!=!0&&(o.setup=!0,!0)?(o.x=e[n]||0,o.y=e[i]||0,o.tx=this.x,o.ty=this.y):(n&&(e[n]=o.x+(this.x-o.tx)),i&&(e[i]=o.y+(this.y-o.ty))),this[_n].commit=!0,!0}\u03B1apply(e,n="x",i="y"){return n&&(e[n]=this.x),i&&(e[i]=this.y),this[_n].commit=!0,!0}\u03B1css(e="x",n="y"){let i=this[Me];if(i.setup!=!0&&(i.setup=!0,!0))i.el=this[_n].element,i.x=i.el[_p]||0,i.y=i.el[yp]||0,i.tx=this.x,i.ty=this.y;else{let o=i.el[_p]=i.x+(this.x-i.tx),l=i.el[yp]=i.y+(this.y-i.ty);e&&i.el.style.setProperty("--x",o+"px"),n&&i.el.style.setProperty("--y",l+"px")}return!0}\u03B1end(){return this.phase=="ended"}\u03B1shift(){return!!this.shiftKey}\u03B1alt(){return!!this.altKey}\u03B1ctrl(){return!!this.ctrlKey}\u03B1meta(){return!!this.metaKey}\u03B1primary(){return!!this.isPrimary}\u03B1mouse(){return this.pointerType=="mouse"}\u03B1pen(){return this.pointerType=="pen"}\u03B1touch(){return this.pointerType=="touch"}\u03B1pressure(e=.5){return this.pressure>=e}\u03B1log(...e){return console.info(...e),!0}\u03B1left(){return this.originalEvent.button==0}\u03B1middle(){return this.originalEvent.button==1}\u03B1right(){return this.originalEvent.button==2}\u03B1round(e=1,n=e){return this.x=ku(this.x,e),this.y=ku(this.y,n),!0}[Kl](...e){let n=this[Me];if(n.setup!=!0&&(n.setup=!0,!0)){let i=this.target,o=e.length,l=e[0],a=0,h="100%",d=0,m=typeof l;m=="number"||m=="string"&&/^([-+]?\d[\d\.]*)(%|\w+)$/.test(l)||l instanceof Array?l=null:m=="string"&&(l=="this"||l==""?l=i:l=="up"?l=i.parentNode:l=="op"?l=i.offsetParent:l=i.closest(l)||i.querySelector(l)),l==null&&(o++,e.unshift(l=i)),o==2?d=e[1]:o>2&&([a,h,d=0]=e.slice(1));let b=l.getBoundingClientRect();a instanceof Array||(a=[a,a]),h instanceof Array||(h=[h,h]),d instanceof Array||(d=[d,d]),n.rect=b,n.x=gp(b.left,b.right,a[0],h[0],d[0]),n.y=gp(b.top,b.bottom,a[1],h[1],d[1]),this.x0=this.x=n.x(this.x,n.clamp),this.y0=this.y=n.y(this.y,n.clamp)}else{let i=this.x=n.x(this.x,n.clamp),o=this.y=n.y(this.y,n.clamp);this[Vl]=i-this.x0,this[Yl]=o-this.y0}return!0}\u03B1fit(...e){return this[Me].clamp=!0,this[Kl](...e)}\u03B1reframe(...e){return this[Kl](...e)}\u03B1pin(...e){let n=this[Me];if(n.setup!=!0&&(n.setup=!0,!0)){let i=ea(e[0],this.target);i instanceof yt||e.unshift(i=this.target);let o=e[1]||0,l=e[2]==null?e[2]=o:e[2],a=i.getBoundingClientRect();n.x=this.clientX-(a.left+a.width*o),n.y=this.clientY-(a.top+a.height*l),i&&(this[Fx]=i,i.flags.incr("_touch_"),Ae(this,"end",function(){return i.flags.decr("_touch_")}))}return this.x-=n.x,this.y-=n.y,!0}},qx=class{on$touch(e,n,i,o){return i.type="touch",this.addEventListener("pointerdown",i,{passive:!1}),ta.ios\u03A6&&globalThis.parent!=globalThis&&bp!=!0&&(bp=!0,!0)&&globalThis.parent.postMessage("setupTouchFix"),i}};Mx(yt.prototype,qx.prototype);if(globalThis.parent==globalThis&&ta.ios\u03A6){let e=function(n){if(n.data=="setupTouchFix")return globalThis.addEventListener("touchmove",function(){return!1},{passive:!1}),globalThis.removeEventListener("message",e)};globalThis.addEventListener("message",e)}En.touch$handle=function(){let e=this.event,n=this.element,i=this.state.pointerId,o=this.modifiers,l=this.handler,a=ta.ios\u03A6;if(this.current=this.state,i!=null)return i==e.pointerId;if(o.ctrl&&!e.ctrlKey||o.alt&&!e.altKey||o.meta&&!e.metaKey||o.shift&&!e.shiftKey||o.if&&!o.if[0]||o.self&&e.target!=n||o.primary&&!e.isPrimary||o.pen&&e.pointerType!="pen"||o.mouse&&e.pointerType!="mouse"||o.touch&&e.pointerType!="touch"||o.sel&&!e.target.matches(String(o.sel[0])))return;let h=this.state=l.state=this.current=new zx(e,l,n);i=h.pointerId;let d=function(x){return x.preventDefault(),!1},m=null,b=Symbol(),v=function(x){let C=h.clientX,D=h.clientY,k=x.clientX,F=x.clientY;(h[io]||h.defaultPrevented)&&(x.pointerId==h.pointerId||C==k&&D==F)&&(x.preventDefault(),x.stopPropagation()),v&&(globalThis.removeEventListener("click",v,{capture:!0}),v=null)},S=function(x){if(!(h.type=="touchmove"&&x.changedTouches[0].identifier!=i)&&(h.defaultPrevented||h[io]))return x.preventDefault()},R=function(x){let C=x.type,D=h.phase;if(x.pointerId&&h.pointerId!=x.pointerId||x[b])return;x[b]=!0;let k=C=="pointerup"||C=="pointercancel";if(x.pressure==0&&x.pointerType=="mouse"&&C=="pointermove"&&h.originalEvent.pressure>0)return m(x);C=="pointercancel"?(h.x=h.clientX,h.y=h.clientY):(h.x=x.clientX,h.y=x.clientY),h.event=x,k&&(h.phase="ended");try{l.handleEvent(h)}catch{}if(D=="init"&&!k&&(h.phase="active"),k&&m)return m(x)},I=!1;return m=function(x){if(!I&&(I=!0,n.flags.decr("_touch_"),h.phase!="ended"&&(h.phase="ended",h.x=h.clientX,h.y=h.clientY,l.handleEvent(h)),h.emit("end"),o.passive||--l.prevents==0&&n.style.removeProperty("touch-action"),l.state={},globalThis.removeEventListener("pointermove",R,{passive:!!o.passive}),globalThis.removeEventListener("pointerup",R),globalThis.removeEventListener("pointercancel",R),setTimeout(function(){if(v&&(globalThis.removeEventListener("click",v,{capture:!0}),v=null),a&&S)return globalThis.removeEventListener("touchend",S),globalThis.removeEventListener("touchmove",S,{passive:!1}),S=null},100),!o.passive))return globalThis.document.removeEventListener("selectstart",d,{capture:!0})},h[s0]=m,o.passive||(l.prevents||(l.prevents=0),l.prevents++,n.style.setProperty("touch-action","none"),n.offsetWidth),n.flags.incr("_touch_"),globalThis.addEventListener("pointermove",R,{passive:!!o.passive}),globalThis.addEventListener("pointerup",R),globalThis.addEventListener("pointercancel",R),globalThis.addEventListener("click",v,{capture:!0}),a&&!o.passive&&(globalThis.addEventListener("touchend",S),globalThis.addEventListener("touchmove",S,{passive:!1})),o.passive||globalThis.document.addEventListener("selectstart",d,{capture:!0}),R(e),!1};function o0(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function Ux(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Bx=Symbol.for("#context"),Wx=Symbol.for("#extendType"),$p=new(globalThis.WeakMap||Map),Xl={threshold:[0]},Hx={};En.intersect$handle=function(){let e=this.event.detail.observer;return this.modifiers._observer==e};var jx=class extends Se{\u03B1in(){return this.delta>=0&&this.entry.isIntersecting}\u03B1out(){return this.delta<0}\u03B1css(e="ratio"){return this.target.style.setProperty("--ratio",this.ratio),!0}\u03B1flag(e,n){let{state:i,step:o}=this[Bx],l=ea(n||"",this.target);return this.isIntersecting&&!i[o]?(l.flags.incr(e),i[o]=!0):i[o]&&!this.isIntersecting&&(l.flags.decr(e),i[o]=!1),!0}};function Gx(e,n){return function(i,o){let l=o.prevRatios||(o.prevRatios=new WeakMap);for(let a=0,h=o0(i),d=h.length;a<d;a++){let m=h[a],b=l.get(m.target)||0,v=m.intersectionRatio,S={entry:m,ratio:v,from:b,delta:v-b,observer:o},R=new Se(e,{bubbles:!1,detail:S});R[Wx](jx),R.entry=m,R.isIntersecting=m.isIntersecting,R.delta=S.delta,R.ratio=S.ratio,l.set(m.target,v),m.target.dispatchEvent(R)}}}function Sp(e=Xl){let n=e.threshold.join("-")+e.rootMargin;!e.root&&Xl.root&&(e.root||(e.root=Xl.root));let i=e.root||Hx,o=$p.get(i);return o||$p.set(i,o={}),o[n]||(o[n]=new IntersectionObserver(Gx("intersect"),e))}var Kx=class{on$intersect(e,n,i,o){let l;if(e.options){let a=[],h={threshold:a};for(let d=0,m=o0(e.options),b=m.length;d<b;d++){let v=m[d];v instanceof yt||v instanceof Ku?h.root=v:typeof v=="number"?a.push(v):typeof v=="string"?h.rootMargin=v:typeof v=="object"&&Object.assign(h,v)}if(a.length==1){let d=a[0];if(d>1)for(a[0]=0;a.length<d;)a.push(a.length/(d-1))}a.length==0&&a.push(0),l=Sp(h)}else l=Sp();return e._observer=l,l.observe(this),this.addEventListener("intersect",i,o),i}};Ux(yt.prototype,Kx.prototype);function Vx(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function Yx(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Zl=Symbol.for("#width"),Jl=Symbol.for("#height"),Xx=Symbol.for("#extendType"),Ps=null,Zx=class extends Se{\u03B1css(e="1elw",n="1elh",i=""){let o=this.target;if(o.offsetParent){let l=yr(e),a=yr(n),h=ea(i,o),d=l?"--u_"+l[1]:"--"+e,m=a?"--u_"+a[1]:"--"+n,b=l?this.width/l[0]:this.width,v=a?this.height/a[0]:this.height;h.style.setProperty(d,b),h.style.setProperty(m,v)}return!0}get width(){return this[Zl]==null?this[Zl]=this.entry.target.offsetWidth:this[Zl]}get height(){return this[Jl]==null?this[Jl]=this.entry.target.offsetHeight:this[Jl]}};function Jx(){return globalThis.ResizeObserver||Ps||(console.warn(":resize not supported in this browser"),Ps={observe:function(){return!0}}),Ps||(Ps=new ResizeObserver(function(e){for(let n=0,i=Vx(e),o=i.length;n<o;n++){let l=i[n],a=new Se("resize",{bubbles:!1,detail:l});a.entry=l,a.rect=l.contentRect,a[Xx](Zx),l.target.dispatchEvent(a);let h=new Se("resized",{bubbles:!0,detail:l});l.target.dispatchEvent(h)}}))}var Qx=class{on$resize(e,n,i,o){return Jx().observe(this),this.addEventListener("resize",i,o),i}};Yx(yt.prototype,Qx.prototype);function tE(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Ql,wp=Symbol();function eE(){if(!Ql)return Ql=function(e){if(e[wp])return;e[wp]=!0;let n=globalThis.document.activeElement;if(n&&n.matches("input,textarea")){let i=new Se("selection",{detail:{start:n.selectionStart,end:n.selectionEnd}});return n.dispatchEvent(i)}},globalThis.document.addEventListener("selectionchange",Ql)}var nE=class{on$selection(e,n,i,o){return eE(),this.addEventListener("selection",i,o),i}};tE(yt.prototype,nE.prototype);var xp=Symbol.for("#string"),Ep=Symbol.for("#html"),Rn={win:{sep:"+",name:"win",order:["meta","ctrl","mod","alt","option","shift"].reverse(),labels:{option:"alt",mod:"ctrl",meta:"win"}},mac:{sep:"",name:"mac",order:["ctrl","alt","option","shift","mod","command"].reverse(),labels:{left:"\u2192",up:"\u2191",down:"\u2193",right:"\u2190",plus:"+",tab:"\u21E5",meta:"\u2318",mod:"\u2318",ctrl:"\u2303",option:"\u2325",alt:"\u2325",del:"\u2326",shift:"\u21E7",enter:"\u21A9",esc:"\u238B",backspace:"\u232B"}}};Rn.auto=Rn.win;(globalThis.navigator.platform||"").match(/iPhone|iPod|iPad|Mac/)&&(Rn.auto=Rn.mac);var tu={};function l0(e,n="auto"){let i=""+e+":"+n;if(tu[i])return tu[i];let o=Rn[n]||Rn.win,l=e.split(" ").map(function(a){return a.split("+").sort(function(h,d){return o.order.indexOf(d)-o.order.indexOf(h)}).map(function(h){let d=o.labels[h]||h;return d=d[0].toUpperCase()+(d.slice(1)||"")})});return tu[i]=l}function rE(e,n){let i=l0(e,n),o=Rn[n]||Rn.win;return i[xp]||(i[xp]=i.map(function(l){return l.join(o.sep)}).join(" "))}function iE(e,n){let i=l0(e,n);return i[Ep]||(i[Ep]=i.map(function(o){return"<kbd>"+o.map(function(l){return"<kbd>"+l+"</kbd>"}).join("")+"</kbd>"}).join(" "))}var On={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},Op={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Tp={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},kp={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},si;for(ze=1;ze<20;++ze)On[111+ze]="f"+ze;var ze;for(ze=0;ze<=9;++ze)On[ze+96]=ze.toString();function eu(e,n,i){if(e.addEventListener){e.addEventListener(n,i,!1);return}e.attachEvent("on"+n,i)}function nu(e,n,i){if(e.removeEventListener){e.removeEventListener(n,i,!1);return}e.detachEvent("on"+n,i)}function Cp(e){if(e.type=="keypress"){var n=String.fromCharCode(e.which);return e.shiftKey||(n=n.toLowerCase()),n}return On[e.which]?On[e.which]:Op[e.which]?Op[e.which]:String.fromCharCode(e.which).toLowerCase()}function sE(e,n){return e.sort().join(",")===n.sort().join(",")}function oE(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}function lE(e){if(e.preventDefault){e.preventDefault();return}e.returnValue=!1}function uE(e){if(e.stopPropagation){e.stopPropagation();return}e.cancelBubble=!0}function Cu(e){return e=="shift"||e=="ctrl"||e=="alt"||e=="meta"}function aE(){if(!si){si={};for(var e in On)e>95&&e<112||On.hasOwnProperty(e)&&(si[On[e]]=e)}return si}function hE(e,n,i){return i||(i=aE()[e]?"keydown":"keypress"),i=="keypress"&&n.length&&(i="keydown"),i}function fE(e){return e==="+"?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function Ap(e,n){var i,o,l,a=[];for(i=fE(e),l=0;l<i.length;++l)o=i[l],kp[o]&&(o=kp[o]),n&&n!="keypress"&&Tp[o]&&(o=Tp[o],a.push("shift")),Cu(o)&&a.push(o);return n=hE(o,a,n),{key:o,modifiers:a,action:n}}function u0(e,n){return e===null||e===document?!1:e===n?!0:u0(e.parentNode,n)}function Jt(e){var n=this;if(e=e||document,!(n instanceof Jt))return new Jt(e);n.target=e,n._callbacks={},n._directMap={};var i={},o,l=!1,a=!1,h=!1;function d(x){x=x||{};var C=!1,D;for(D in i){if(x[D]){C=!0;continue}i[D]=0}C||(h=!1)}function m(x,C,D,k,F,B){var E,O,P=[],q=D.type;if(!n._callbacks[x])return[];for(q=="keyup"&&Cu(x)&&(C=[x]),E=0;E<n._callbacks[x].length;++E)if(O=n._callbacks[x][E],!(!k&&O.seq&&i[O.seq]!=O.level)&&q==O.action&&(q=="keypress"&&!D.metaKey&&!D.ctrlKey||sE(C,O.modifiers))){var U=!k&&O.combo==F,H=k&&O.seq==k&&O.level==B;(U||H)&&n._callbacks[x].splice(E,1),P.push(O)}return P}function b(x,C,D,k){n.stopCallback(C,C.target||C.srcElement,D,k)||x(C,D)===!1&&(lE(C),uE(C))}n._handleKey=function(x,C,D){var k=m(x,C,D),F,B={},E=0,O=!1;for(F=0;F<k.length;++F)k[F].seq&&(E=Math.max(E,k[F].level));for(F=0;F<k.length;++F){if(k[F].seq){if(k[F].level!=E)continue;O=!0,B[k[F].seq]=1,b(k[F].callback,D,k[F].combo,k[F].seq);continue}O||b(k[F].callback,D,k[F].combo)}var P=D.type=="keypress"&&a;D.type==h&&!Cu(x)&&!P&&d(B),a=O&&D.type=="keydown"};function v(x){typeof x.which!="number"&&(x.which=x.keyCode);var C=Cp(x);if(C){if(x.type=="keyup"&&l===C){l=!1;return}n.handleKey(C,oE(x),x)}}function S(){clearTimeout(o),o=setTimeout(d,1e3)}function R(x,C,D,k){i[x]=0;function F(q){return function(){h=q,++i[x],S()}}function B(q){b(D,q,x),k!=="keyup"&&(l=Cp(q)),setTimeout(d,10)}for(var E=0;E<C.length;++E){var O=E+1===C.length,P=O?B:F(k||Ap(C[E+1]).action);I(C[E],P,k,x,E)}}function I(x,C,D,k,F){n._directMap[x+":"+D]=C,x=x.replace(/\s+/g," ");var B=x.split(" "),E;if(B.length>1){R(x,B,C,D);return}E=Ap(x,D),n._callbacks[E.key]=n._callbacks[E.key]||[],m(E.key,E.modifiers,{type:E.action},k,x,F),n._callbacks[E.key][k?"unshift":"push"]({callback:C,modifiers:E.modifiers,action:E.action,seq:k,level:F,combo:x})}n._bindMultiple=function(x,C,D){for(var k=0;k<x.length;++k)I(x[k],C,D)},n.enable=function(){eu(e,"keypress",v),eu(e,"keydown",v),eu(e,"keyup",v)},n.disable=function(){nu(e,"keypress",v),nu(e,"keydown",v),nu(e,"keyup",v)},n.enable()}Jt.prototype.bind=function(e,n,i){var o=this;return e=e instanceof Array?e:[e],o._bindMultiple.call(o,e,n,i),o};Jt.prototype.unbind=function(e,n){var i=this;return i.bind.call(i,e,function(){},n)};Jt.prototype.trigger=function(e,n){var i=this;return i._directMap[e+":"+n]&&i._directMap[e+":"+n]({},e),i};Jt.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e};Jt.prototype.stopCallback=function(e,n){var i=this;return(" "+n.className+" ").indexOf(" mousetrap ")>-1||u0(n,i.target)?!1:n.tagName=="INPUT"||n.tagName=="SELECT"||n.tagName=="TEXTAREA"||n.isContentEditable};Jt.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)};Jt.addKeycodes=function(e){for(var n in e)e.hasOwnProperty(n)&&(On[n]=e[n]);si=null};Jt.init=function(){var e=Jt(document);for(var n in e)n.charAt(0)!=="_"&&(Jt[n]=function(i){return function(){return e[i].apply(e,arguments)}}(n))};function hi(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function cE(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var ru=Symbol.for("#updateHotKeys"),pE=Symbol.for("#inInput"),Au=Symbol.for("#inEditable"),dE=Symbol.for("#hotkeyTarget"),a0=Symbol.for("#hotkeyCombos"),gE=Symbol.for("#extendType"),fi=Symbol.for("#combos"),Ru=Symbol.for("#target"),oi=Symbol.for("#hotkeyHandlers"),mE=Symbol.for("#defaultPrevented"),vE=Symbol.for("#visit"),Rp=Symbol.for("#key"),_E;try{_E=(globalThis.navigator.platform||"").match(/iPhone|iPod|iPad|Mac/)}catch{}var Iu={esc:!0},yE=class extends Se{\u03B1focus(e){let n=this.target,i=n.ownerDocument;return e&&(n=n.querySelector(e)||n.closest(e)||i.querySelector(e)),n==i.body?i.activeElement!=i.body&&i.activeElement.blur():n.focus(),!0}\u03B1local(){return!0}\u03B1repeat(){return!0}},bE=function(e,n,i){return n.tagName=="INPUT"&&(i=="down"||i=="up")?!1:n.tagName=="INPUT"||n.tagName=="SELECT"||n.tagName=="TEXTAREA"?Iu[i]?(e[pE]=!0,e[Au]=!0,!1):!0:n.contentEditable&&(n.contentEditable=="true"||n.contentEditable=="plaintext-only")?Iu[i]?(e[Au]=!0,!1):!0:!1},$E=new class{constructor(){this.combos={"*":{}},this.identifiers={},this.labels={},this.handler=this.handle.bind(this),this.mousetrap=null,this.hothandler=this.handle.bind(this)}addKeycodes(e){return Jt.addKeycodes(e)}trigger(e){var n,i;return(i=(n=this.mousetrap)==null?void 0:n.trigger)==null?void 0:i.call(n,e)}register(e,n={}){return this.mousetrap||(this.mousetrap=Jt(globalThis.document),this.mousetrap.stopCallback=bE),this.combos[e]||(this.combos[e]=!0,this.mousetrap.bind(e,this.handler)),(n.capture||n.force)&&(Iu[e]=!0),this}comboIdentifier(e){var n;return(n=this.identifiers)[e]||(n[e]=e.replace(/\+/g,"_").replace(/\ /g,"-").replace(/\*/g,"all").replace(/\|/g," "))}humanize(e,n="auto"){return rE(e,n)}htmlify(e,n="auto"){return iE(e,n)}matchCombo(e){return!0}handle(e,n){var i;let o=e.target&&e.target[dE]||e.target||globalThis.document.body,l=Array.from(globalThis.document.querySelectorAll("[data-hotkey]")),a=o.ownerDocument,h=o;for(;h&&h!=a&&h.hotkeys!==!0;)h=h.parentNode;if(l=l.reverse().filter(function(v){let S=v[a0];if(!(S&&(S[n]||S["*"])))return!1;let R=v;for(;R&&R!=a;){if(R.hotkeys===!1)return!1;R=R.parentNode}return!0}),!l.length)return;let d={combo:n,originalEvent:e,targets:l},m=new Se("hotkey",{bubbles:!0,detail:d});m[gE](yE),m.originalEvent=e,m.hotkey=n,o.dispatchEvent(m);let b=[];for(let v=0,S=hi(l),R=S.length;v<R;v++){let I=S[v];for(let x=0,C=hi(I[oi]),D=C.length;x<D;x++){let k=C[x];if(k[fi][n]||k[fi]["*"]){if(k.params.local&&!k[Ru].contains(o))continue;if(!e[Au]||k.capture\u03A6||k.params.force){let F=k[Ru];(h.contains(F)||F.contains(h)||k.global\u03A6)&&b.push(k)}}}}for(let v=0,S=hi(b),R=S.length;v<R;v++){let I=S[v];if((!e.repeat||I.params.repeat)&&I.handleEvent(m),(!I.passive\u03A6||m[mE])&&((i=e==null?void 0:e.preventDefault)==null||i.call(e)),!I.passive\u03A6)break}return this}},h0=function(e,n){let i=n.element;i instanceof yt&&(i.matches("input,textarea,select,option")?i.focus():i.click())};h0.passive=!0;var SE=class{on$hotkey(e,n,i,o){var l=this;return this[oi]||(this[oi]=[]),this[oi].push(i),i[Ru]=this,e.$_||(e.$_=[h0]),e[vE]=function(){return l[ru]()},this[ru](),i}[ru](){let e={};for(let n=0,i=hi(this[oi]),o=i.length;n<o;n++){let l=i[n],a=l.params,h=a.options[0];if(l[Rp]!=h&&(l[Rp]=h,!0)){l[fi]={};for(let d=0,m=hi(h.split("|")),b=m.length;d<b;d++){let v=m[d];$E.register(v,a),l[fi][v]=!0}}Object.assign(e,l[fi])}return this[a0]=e,this.dataset.hotkey=Object.keys(e).join(" "),this}};cE(yt.prototype,SE.prototype);var wE=bw($w()),iu=Symbol.for("#getQueryParam"),Ip=Symbol.for("#setQueryParam"),Np=Symbol.for("#query"),jn=class{static parse(e,n){return e instanceof jn?e:new jn(e,n)}constructor(e,n){this.router=n,this.parse(e)}parse(e){var n;let i;return e instanceof URL||(e=new URL(e,this.router.origin)),(i=(n=this.router)==null?void 0:n.aliases[e.pathname])&&(e.pathname=i),this.url=e,this}get active\u03A6(){return this.router.location==this}reparse(){return this.parse(this.url)}get searchParams(){return this.url.searchParams}search(){let e=this.searchParams?this.searchParams.toString():"";return e?"?"+e:""}update(e){if(e instanceof Object)for(let n=0,i=Object.keys(e),o=i.length,l,a;n<o;n++)l=i[n],a=e[l],this.searchParams.set(l,a);else typeof e=="string"&&this.parse(e);return this}clone(){return new jn(this.url.href,this.router)}equals(e){return this.toString()==String(e)}get href(){return this.url.href}get path(){return this.url.href.slice(this.url.origin.length)}get pathname(){return this.url.pathname}get query(){return this[Np]||(this[Np]=new Proxy({},{get:this[iu].bind(this),set:this[Ip].bind(this)}))}toString(){return this.href}[iu](e,n){return this.searchParams.get(n)}[Ip](e,n,i){return this[iu](e,n)!=i&&(i==null||i==""?this.searchParams.delete(n):this.searchParams.set(n,i),this.active\u03A6&&(this.router.history.replaceState({},null,this.url.toString()),this.router.touch())),!0}},na=function(){return!0},ci=class{constructor(e,n=""){this.store=e||{},this.cache={raw:{},rich:{}},this.ns=n,this.local=e==globalThis.sessionStorage,this.children=new Map}serialize(e,n){return JSON.stringify(e)}deserialize(e,n){return JSON.parse(e)}getItem(e){let n=String(this.ns)+":"+e;if(this.store instanceof ci)return this.store.getItem(n);if(this.local&&this.cache.rich[n]!=null)return this.cache.rich[n];let i=this.store.getItem(n);if(i!=null)return this.cache.raw[n]==i?this.cache.rich[n]:(this.cache.raw[n]=i,this.cache.rich[n]=this.deserialize(i,n))}setItem(e,n){let i=String(this.ns)+":"+e;if(this.store instanceof ci)return this.store.setItem(i,n);let o=this.cache.rich[i],l=typeof n;if(this.local&&(this.cache.rich[i]=n),o!==n||l=="object"){let a=this.store.getItem(i);if(n==null)return this.store.removeItem(i),this.cache.rich[i],delete this.cache.rich[i],this.cache.raw[i],delete this.cache.raw[i],Gt();{let h=this.serialize(n,i);if(this.cache.rich[i]=n,this.cache.raw[i]=h,a!=h)return this.store.setItem(i,h),Gt()}}}get(e,n,i){return this.getItem(n)}set(e,n,i,o){return this.setItem(n,i),!0}apply(e,n,[i]){let o=this.children.get(i);return o||this.children.set(i,o=new Proxy(na,new ci(this,i))),o}deleteProperty(e,n){let i=this.ns+n;return this.cache[i],delete this.cache[i],this.store.removeItem(i)}};new Proxy(na,new ci(globalThis.localStorage));var xE=new Proxy(na,new ci(globalThis.sessionStorage)),Xr=Symbol.for("#states"),Pp=new WeakMap,su=class{static from(e,n){return n?new this(e,n):null}constructor(e,n,i=!1){Pp.set(this,e),this.path=n.path,this.data=n.data||{},this.index=n.index,this.type=n.type,this.local=i}get history(){return Pp.get(this)}get next(){return this.history.at(this.index+1)}get prev(){return this.history.at(this.index-1)}toJSON(){return{path:this.path,data:this.data,index:this.index,type:this.type}}save(){return this.history.cache[this.index]=this,this}toString(){return""+this.history.id+"|"+this.index}},EE=class{constructor(e){this.router=e,this.store=xE("router"),this[Xr]=[],this.cache={},this.index=-1;let n=globalThis.history.state;if(typeof n=="string"){let i=n.split("|");this.id=parseInt(i[0]),this.index=parseInt(i[1]),this.cache=this.store(this.id)}else this.id=this.store.id=(this.store.id||0)+1,this.cache=this.store(this.id);this.index==-1&&this.replaceState({initial:!0},null,e.path)}get length(){return this.cache.length}get state(){return this.at(this.index)}get states(){let e=this.length,n=0;for(;n<e;)this.at(n++);return this[Xr]}get currentStates(){return this.states.slice(0,this.length)}get next(){return this.state.next}get prev(){return this.state.prev}slice(e,n=this.length){let i=[];for(;e<n;)i.push(this.at(e++));return i}at(e){var n;if(!(e>=this.length))return(n=this[Xr])[e]||(n[e]=su.from(this,this.cache[e]))}buildState(e,n,i=!0){let o={data:e,index:this.index+1,path:n||this.router.path,type:i?"push":"replace"};return new su(this,o,!0)}pushState(e,n,i,o=!0){return e instanceof su||(e=this.buildState(e,i,o)),this.index=e.index,this.cache[this.index]=e,this[Xr][this.index]=e,this[Xr].length=this.cache.length=Math.max(e.index+1,0),globalThis.history[o?"pushState":"replaceState"](String(e),n||null,e.path),this}replaceState(e,n,i){return this.pushState(e,n,i,!1)}},Lp=class{constructor(e,n,i,o){this.params=o,this.router=e,n&&(this.location=jn.parse(n),this.original=this.location.clone()),this.referrer=i}get apply(){return this.params.apply||[]}get revert(){return this.params.revert||[]}get state(){return this.params.state}get mode(){return this.params.mode}redirect(e){var n,i;return(i=(n=this.location)==null?void 0:n.update)==null||i.call(n,e),this}get path(){var e;return(e=this.location)==null?void 0:e.path}get url(){var e,n;return(n=(e=this.location)==null?void 0:e.toString)==null?void 0:n.call(e)}set path(e){this.location.path=e}abort(e=!1){return this.aborted=!0,e&&(this.forceAbort=e),this}match(e){return this.location?this.router.route(e).match(this.path):null}};function Mp(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}var so=Symbol.for("#routes"),ou=Symbol.for("#match"),OE=Symbol.for("#symbol"),Dp=Symbol.for("#matches"),lu=new Map,uu={},Fp={},TE=/.*/;function kE(e){if(!lu.has(e)){let n=new Map;return lu.set(e,n),n}return lu.get(e)}function CE(e,n){let i=kE(e);if(!i.has(n)){let o=Object.create(e);return Object.assign(o,n),i.set(n,o),o}return i.get(n)}var AE=class{};function RE(e){if(uu[e])return uu[e];let n=uu[e]={url:e},i=e.indexOf("?"),o=e.indexOf("#");if(o>=0&&(n.hash=e.slice(o+1),e=n.url=e.slice(0,o)),i>=0){let l=n.query=e.slice(i+1);e=e.slice(0,i),n.query=Fp[l]||(Fp[l]=new URLSearchParams(l))}return n.path=e,n}var IE=class{constructor(e){this.router=e,this.fullPath="",this[so]={},this[ou]=new AE,this[ou].path=""}route(e){var n;return(n=this[so])[e]||(n[e]=new f0(this.router,e,this))}match(){return this[ou]}resolve(e){return"/"}},f0=class{constructor(e,n,i){this.parent=i||e.rootRoute,this.router=e,this.status=200,this.path=n,this[OE]=Symbol(),this[Dp]={},this[so]={}}route(e){var n;return(n=this[so])[e]||(n[e]=new f0(this.router,e,this))}get fullPath(){return""+this.parent.fullPath+"/"+this.$path}load(e){return this.router.queue.add(e)}set path(e){var n=this;if(this.$path==e)return;if(this.raw=e,this.$path=e,this.groups=[],this.cache={},this.dynamic=!1,e.indexOf("?")>=0){let o=e.split("?");e=o.shift(),this.query={};for(let l=0,a=Mp(o.join("?").split("&")),h=a.length;l<h;l++){let d=a[l];if(!d)continue;let[m,b]=d.split("=");m[0]=="!"&&(this.dynamic=!0,m=m.slice(1),b=!1),b===""&&(b=!1),b&&b[0]==":"&&(this.dynamic=!0),this.query[m]=b||b!==!1}}if(e=e.replace(/\:(\w+|\*)(\.)?/g,function(o,l,a){n.dynamic=!0,l!="*"&&n.groups.push(l);let h=n.router.matchers[l]||(a?"([^/#.?]+)":"([^/#?]+)");return a?""+h+".":h}),e==""&&n.query)return;if(e=="*")return n.regex=TE,n;e="^"+e;let i=e[e.length-1];(i=="$"||i=="/")&&(e=e.slice(0,-1)+"(?=/?[#?]|/?$)"),i!="/"&&i!="$"&&e!="^/"&&(e=e+"(?=[/#?]|$)"),n.regex=new RegExp(e)}match(e=this.router.path){var n,i,o,l;let a=this.parent.match(e);if(!a)return null;let h=RE(e),d=h.url,m="";if(a.path&&h.path.indexOf(a.path)==0&&(m=a.path+"/",d=d.slice(m.length)),o=this.regex?d.match(this.regex):[""]){let b=m+o[0],v=[this.$path],S={};if(this.groups.length)for(let x=0,C=Mp(o),D=C.length,k;x<D;x++){let F=C[x];(k=this.groups[x-1])&&(S[k]=F,v.push(F))}if(this.query)for(let x=this.query,C=0,D=Object.keys(x),k=D.length,F,B;C<k;C++){F=D[C],B=x[F];let E=F,O=(i=(n=h.query)==null?void 0:n.get)==null?void 0:i.call(n,F);if(B===!1){if(O)return null;v.push("1");continue}if(B[0]==":"&&(E=B.slice(1),B=!0),B==!0&&O||B==O)S[E]=O,v.push(O);else return null}let R=v.join("*");S=(l=this[Dp])[R]||(l[R]=S);let I=CE(a,S);return I.path=b,I}return null}resolve(e=this.router.path){if(this.raw[0]=="/"&&!this.dynamic)return this.raw.replace(/\$/g,"");this.parent.match(e);let n=this.parent.resolve(e),i;if(this.dynamic){let o=this.match(e);return o?o.path:null}return this.raw[0]=="?"?i=(n||"/")+this.raw:i=n+"/"+this.raw,i.replace(/\$/g,"").replace(/\/\/+/g,"/")}},zp=Symbol.for("#__initor__"),qp=Symbol.for("#__inited__"),c0=Symbol.for("#__init__"),Ls=Symbol.for("#idler"),Zr=Symbol.for("#resolve"),Up=Symbol(),p0=class extends Set{static[c0](){return this.prototype[zp]=Up,this}constructor(){super(),this[Ls]=Promise.resolve(this),this[zp]===Up&&this[qp]&&this[qp]()}emit(e,...n){return Cn(this,e,n)}on(e,...n){return wr(this,e,...n)}once(e,...n){return Ae(this,e,...n)}un(e,...n){return ao(this,e,...n)}add(e){var n=this;if(e instanceof Function&&(e=e()),!this.has(e)){e.then(function(){return n.delete(e)});let i=n.size==0;super.add(e),i&&(this[Ls]=this[Zr]=null,n.emit("busy",n))}return e}delete(e){return super.delete(e)?(this.size==0&&(this[Zr]&&(this[Zr](this),this[Zr]=null),this.emit("idle",this)),!0):!1}get idle(){var e=this;return this[Ls]||(this[Ls]=new Promise(function(n){return e[Zr]=n}))}};p0[c0]();function ra(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Bp=Symbol.for("#__initor__"),Wp=Symbol.for("#__inited__"),d0=Symbol.for("#__init__"),Nu=Symbol.for("#enter"),Pu=Symbol.for("#resolved"),oo=Symbol.for("#leave"),Hp=Symbol.for("#afterVisitRouted"),jp=Symbol.for("#afterVisitRouteTo"),Gp=Symbol.for("#router"),fr=Symbol.for("#doc"),sn=Symbol.for("#version"),NE=Symbol.for("#routes"),Kp=Symbol.for("#origin"),au=Symbol.for("#request"),Jr=Symbol.for("#hash"),ye=Symbol.for("#routeTo"),Qr=Symbol.for("#path"),Fe=Symbol.for("#match"),pi=Symbol.for("#options"),PE=Symbol.for("#cache"),Vp=Symbol.for("#unmatched"),xn=Symbol.for("#active"),LE=Symbol.for("#resolvedPath"),ME=Symbol.for("#dataKey"),DE=Symbol.for("#activeKey"),di=Symbol.for("#urlKey"),cr=Symbol.for("#dataMap"),Ms=Symbol.for("#href"),Zt=Symbol.for("#route"),Yp=Symbol.for("#context"),Xp=Symbol.for("#afterVisit"),Zp=Symbol.for("#routeHandler"),FE=Symbol.for("#parentNode"),zE=Symbol.for("#visitContext"),Jp=Symbol.for("##visitContext"),qE=Symbol.for("#attachToParent"),UE=Symbol.for("#detachFromParent"),Qp=Symbol(),BE=class{get router(){return this[Gp]||(this[Gp]=new g0(this))}};ra(Ku.prototype,BE.prototype);ww(function(){return globalThis.document.router});var g0=class extends wE.EventEmitter{static[d0](){return this.prototype[Bp]=Qp,this}constructor(e,n={}){super(),this[fr]=e,this[sn]=0,this[NE]={},this.aliases={},this.redirects={},this.rules={},this.matchers={},this.options=n,this.busy=[],this.queue=new p0,this.root=new IE(this),this.location=new jn(n.url||e.location.href,this),this.history=new EE(this),this.mode=n.mode||"history",this.queue.on("busy",function(){return globalThis.document.flags.incr("_routing_")}),this.queue.on("idle",function(){return globalThis.document.flags.decr("_routing_"),Gt()}),this.setup(),this[Bp]===Qp&&this[Wp]&&this[Wp]()}get origin(){return this[Kp]||(this[Kp]=this[fr].location.origin)}get query(){return this.location.query}init(){return this.refresh({mode:"replace"}),this}alias(e,n){return this.aliases[e]=n,this.location.reparse(),this}touch(){return this[sn]++}option(e,n){return n==null?this.options[e]:(this.options[e]=n,this)}get realpath(){let e=this[fr].location;return e.href.slice(e.origin.length)}get state(){return this.history.state}get states(){return this.history.currentStates}set state(e){this.state.data=e,this.state.save()}get ctx(){return this[au]}pushState(e,n,i){return this.history.pushState(e,n||null,String(i))}replaceState(e,n,i){return this.history.replaceState(e,n||null,String(i))}refresh(e={}){var n=this;if(this.refreshing)return;this.refreshing=!0;let i=this.location,o=jn.parse(e.location||this.realpath,this),l=e.mode,a=this[au];if(!o.equals(i)||!a||e.state){let h=new Lp(this,o,i,e);this[au]=h,this.emit("beforechange",h),h.aborted&&(!h.forceAbort&&globalThis.window.confirm("Are you sure you want to leave? You might have unsaved changes")?h.aborted=!1:l=="pop"?this.pushState(this.state,null,String(i)):l=="replace"&&this.replaceState(this.state,null,String(i))),h.aborted||(this.location=h.location,l=="push"?this.pushState(h.state,null,String(this.location)):l=="replace"?this.replaceState(h.state,null,String(this.location)):l=="pop"&&(this.history.index=e.index),this.emit("change",h),this.touch(),Gt())}return be.add(function(){let h=n[fr].location.hash;if(h!=n[Jr])return n.emit("hashchange",n[Jr]=h)}),n.refreshing=!1,n}onpopstate(e){let n=this.history.index,i=n,o={pop:!0,index:0,from:n,mode:"pop"};try{if(typeof e.state=="string"){let[l,a]=e.state.split("|");i=o.index=parseInt(a),i<n?o.revert=this.history.slice(i+1,n+1).reverse():i>n&&(o.apply=this.history.slice(n+1,i+1))}}catch{}return this.refresh(o),this}onbeforeunload(e){let n=new Lp(this,null,this.location,{mode:"unload"});if(this.emit("beforechange",n),n.aborted)return!0}onhashchange(e){return this.emit("hashchange",this[Jr]=this[fr].location.hash),Gt()}setup(){this.onclick=this.onclick.bind(this),this.onhashchange=this.onhashchange.bind(this);let e=globalThis.window;return this[Jr]=this[fr].location.hash,this.location=jn.parse(this.realpath,this),e.onpopstate=this.onpopstate.bind(this),e.onbeforeunload=this.onbeforeunload.bind(this),e.addEventListener("hashchange",this.onhashchange),e.addEventListener("click",this.onclick,{capture:!0}),e.document.documentElement.emit("routerinit",this),this.refresh,this}onclick(e){if(e.metaKey||e.altKey)return;let n=null,i=null,o=e.target;for(;o&&(!n||!i);)!n&&o.nodeName=="A"&&(n=o),!i&&o[ye]&&(i=o),o=o.parentNode;if(n&&i!=n&&(!i||i.contains(n))){let l=n.getAttribute("href");l&&!l.match(/\:\/\//)&&(!n.getAttribute("target")||n.getAttribute("target")=="_self")&&!n.classList.contains("external")&&n.addEventListener("click",this.onclicklink.bind(this),{once:!0})}return!0}onclicklink(e){let n=e.currentTarget||e.target;n[ye]&&n[ye].resolve(),n.getAttribute("href");let i=new URL(n.href),o=i.href.slice(i.origin.length),l=this.realpath.split("#")[0],a=o.split("#")[0];return l==a?globalThis.document.location.hash=i.hash:n[ye]?n[ye].go():this.go(o),e.stopPropagation(),e.preventDefault()}get url(){return this.location.url}get path(){let e=this.location.path;return this.aliases[e]||e}get pathname(){return this.location.pathname}serializeParams(e){var n;if(e instanceof Object){n=[];for(let i=0,o=Object.keys(e),l=o.length,a,h;i<l;i++)a=o[i],h=e[a],n.push([a,globalThis.encodeURI(h)].join("="));return n.join("&")}return e||""}get hash(){return this[Jr]}set hash(e){this.history.replaceState(this.state,null,"#"+this.serializeParams(e))}match(e){return this.route(e).match(this.path)}route(e){return this.root.route(e)}go(e,n=null){if(typeof e=="object"&&n===null&&(n=e,e=this.path),typeof e=="number")return globalThis.history.go(e),this;let i=this.location.clone().update(e),o=this.history.buildState(n,i.path,!0);return this.refresh({push:!0,mode:"push",location:i,state:o,apply:[o]}),this}replace(e,n=null){typeof e=="object"&&n===null&&(n=e,e=this.path);let i=this.location.clone().update(e),o=this.history.buildState(n,i.path,!1);return this.refresh({replace:!0,mode:"replace",location:i,state:o,apply:[o]})}};g0[d0]();var m0=class{constructor(e,n,i,o={}){this.parent=i,this.node=e,this[Qr]=n,this[Fe]=null,this[pi]=o,this[PE]={},this[Vp]={},this[xn]=null,this[LE]=null,this[ME]=Symbol(),this[DE]=Symbol(),this[di]=Symbol()}get router(){return this.node.ownerDocument.router}get route(){return(this.parent?this.parent.route:this.router).route(this[Qr])}get match(){return this[Fe]}get params(){return this[Fe]||this[Vp]}get state(){this[cr]||(this[cr]=new Map);let e=this.params,n=this[cr].get(e);return n||this[cr].set(e,n={}),n}set state(e){(this[cr]||(this[cr]=new Map)).set(this.params,e)}set path(e){this[Qr]!=e&&(this[Qr]=e,!0)&&this.router.touch()}get path(){return this[Qr]}get isActive(){return!!this[xn]}get active\u03A6(){return!!this[xn]}resolve(){let e=this.router[sn];if(!(this[sn]!=e&&(this[sn]=e,!0)))return;let n=this.route;this[pi];let i=this.router.path,o=n.match(i),l=this[xn],a=this[Fe],h=o!=a,d=o&&o[this[di]];return o&&(this[xn]=!0,this[Fe]=o,o[this[di]]=i),o&&(h||d!=i||!l)&&this[Pu](o,a,d),!l&&o&&this[Nu](),!o&&(l||l===null)&&(this[xn]=!1,this[oo]()),this[Fe]}[Nu](){var e,n;return this.node.flags.remove("not-routed"),this.node.flags.add("routed"),(n=(e=this.node)==null?void 0:e.routeDidEnter)==null?void 0:n.call(e,this)}[Pu](e,n,i=""){var o,l;return(l=(o=this.node)==null?void 0:o.routeDidResolve)==null?void 0:l.call(o,this,e,n,i)}[oo](){var e,n;return this.node.flags.add("not-routed"),this.node.flags.remove("routed"),(n=(e=this.node)==null?void 0:e.routeDidLeave)==null?void 0:n.call(e,this)}},WE=class extends m0{[Nu](){return this}[Pu](){return this}[oo](){return this}resolve(){let e=this.router[sn];if(!(this[sn]!=e&&(this[sn]=e,!0)))return;let n=this[pi];this.route;let i=this.router.path,o=this.route.resolve(i),l=this.route.match(i);l&&(this[Fe]=l,this[Fe][this[di]]=i),n.sticky&&this[Fe]&&(o=this[Fe][this[di]]),this[Ms]!=o&&(this[Ms]=o,!0)&&this.node.nodeName=="A"&&this.node.setAttribute("href",o),this.node.flags.toggle("active",!!l)}go(){return this.resolve(),this[pi]&&this[pi].replace?this.router.replace(this[Ms]):this.router.go(this[Ms])}},HE=class{get router(){return this.ownerDocument.router}};ra(br.prototype,HE.prototype);var jE=class{set route(e){if(this[Zt]){this[Zt].path=e;return}let n=e[0]!="/"?this[Yp].route:null;this[Zt]=new m0(this,e,n,this.route__),this[Xp]=this[Hp]}get route(){return this[Zt]}set route\u039Eto(e){var n=this;if(this[ye]){this[ye].path=e;return}let i=e[0]!="/"?this[Yp].route:null;this[Zt]=this[ye]=new WE(this,e,i,this.routeTo__),this[Xp]=this[jp],n.onclick=function(o){if(!o.altKey&&!o.metaKey&&!o[Zp])return o.preventDefault(),o[Zp]=n[ye],n[ye].go()}}[Hp](){if(this[Zt]){let e=this[FE],n=e&&e[zE];if(n&&n.matchedRoute&&n.matchedRoute!=this[Zt]){this[Zt][xn]!=!1&&(this[Zt][xn]=!1,!0)&&(this[Zt][oo](),this[Zt][sn]=-1);return}if(this[Zt].resolve(),this[Zt].active\u03A6)n.matchedRoute=this[Zt];else return}if(this.visit&&this.visit(),this[Jp])return this[Jp]=null}[jp](){if(this[ye]&&this[ye].resolve(),this.visit)return this.visit()}routeDidEnter(e){return this[qE]()}routeDidLeave(e){return this[UE]()}routeDidResolve(e,n,i){var o=this;this.routed instanceof Function&&n!=i&&o.router.queue.add(async function(){return o.suspend(),await o.routed(n,e.state,i),o.unsuspend()})}};ra(yt.prototype,jE.prototype);function bi(e){let n;return e?(n=e.toIterable)?n.call(e):e:[]}function ia(e,n){let i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var sa=Symbol.for("##reactive"),Hn=Symbol.for("##referenced"),$i=Symbol.for("##dereferenced"),Ds=Symbol.for("#child"),ti=Symbol.for("#reactions"),$n={TOUCHING:1<<1,STALE:1<<2,OBJECT:1<<3,RUNNING:1<<4,INVALIDATING:1<<5,POSSIBLY_STALE:1<<6,AUTORUN:1<<7},Tn=0,GE=1,oa={META:new Map,VALUE:new Map,REF:new Map},$r=Symbol.for("~"),la=function(e,n){return n.has(e)||n.set(e,Symbol()),n.get(e)},ua=function(e){return typeof e=="symbol"?la(e,oa.VALUE):Symbol.for(e)},v0=function(e){return typeof e=="symbol"?la(e,oa.META):Symbol.for("#"+e+"__")},_0=function(e){return typeof e=="symbol"?la(e,oa.REF):Symbol.for("~"+e)},It=function(e,n){return Tn&&zt.add(e[$r]),n},$e=function(e,n){return e[$r].invalidated(0),n},Sr=function(e,n,i){let o=e[$r];return o||(o=e[$r]=new b0($n.OBJECT),Object.defineProperties(e,i)),n&&o.addSubscriber(n),e},aa=function(e,n){let i=e[$r];return i&&i.removeSubscriber(n),e},KE=class{constructor(e){this.changes=new Map,this.cleanup(),e&&this.reset(e)}reset(e=[]){return this.array=e,this.initialLength=e.length}cleanup(){return this.idx=0,this.array=null,this.changes.clear(),this.dirty=!1}push(e){if(this.initialLength==0){this.array.indexOf(e)<0&&(this.changes.set(e,1),this.array.push(e),this.idx++);return}let n=this.array[this.idx];if(n===e)return++this.idx;{let i=this.array.indexOf(e),o=this.changes.get(e);if(i===-1)this.array.splice(this.idx,0,e),this.changes.set(e,1),this.idx++;else if(i===this.idx+1)n&&this.changes.set(n,-1),this.array.splice(this.idx,1),++this.idx;else{if(i<this.idx)return;i>this.idx&&this.array.splice(i,1),this.array.splice(this.idx,0,e)}if(o==-1)return this.changes.delete(e)}}end(){if(this.array.length>=this.idx)for(;this.array.length>this.idx;)this.changes.set(this.array.pop(),-1);return this.array}patch(){return this.end()}};function ha(e){let n=Object.getOwnPropertyDescriptors(e.prototype);return n.name,delete n.name,n.constructor,delete n.constructor,n}var y0=class{constructor(e,n=0){this.depth=n,this.parent=e,this.target=null,this.patcher=new KE}get active\u03A6(){return zt==this}get root\u03A6(){return this==mr}get snapshot(){let e=[],n=this[Ds];for(;n&&n.target;)e.push({depth:n.depth,target:n.target,beacon:n.beacon}),n=n[Ds];return e}reset(e){return this.tracking=!0,this.target=e,this.beacon=e.beacon,this.patcher.reset(e.observing||(e.observing=[])),this}add(e){if(this.tracking&&e)return this.patcher.push(e)}react(e){return mr.reactions.add(e)}push(e){return zt=this.child.reset(e)}pop(){let e=null;if(this.beacon){e=this.patcher.end();let n=this.patcher.changes;if(n.size)for(let[i,o]of bi(n))o===1?i.addSubscriber(this.beacon):i.removeSubscriber(this.beacon)}return this.patcher.cleanup(),this.target=this.beacon=null,zt=this.parent,zt==mr&&mr.flush(),e}get child(){return this[Ds]||(this[Ds]=new y0(this,this.depth+1))}get reactions(){return this[ti]||(this[ti]=new Set)}flush(){if(!this[ti])return;let e=this[ti];this[ti]=null;for(let n of bi(e))n.call()}},VE=class extends y0{add(){return!0}},zt=new VE(null,0),mr=zt,YE=function(e,n,i,o,l){let a=e[i],h=e[l];return h||(h=e[l]=new b0(0,o,a,n)),zt.add(h,e),a},XE=function(e,n,i,o,l,a){let h=e[i];if(o!=h){e[i]=o;let d=e[a];d&&d.changed(0,o,h)}},b0=class{constructor(e,n,i,o){return this.id=GE++,this.observer=null,this.observers=null,i&&i[Hn]&&i[Hn](this),this}changed(e,n,i){if(i&&i[$i]&&i[$i](this,n),n&&n[Hn]&&n[Hn](this,i),this.observer&&this.observer.invalidated(e+1,this,n,i),this.observers)for(let o=0,l=bi(this.observers),a=l.length;o<a;o++)l[o].invalidated(e+1,this,n,i);zt==mr&&zt.flush()}invalidated(e,n){if(this.observer&&this.observer.invalidated(e+1,this),this.observers)for(let i=0,o=bi(this.observers),l=o.length;i<l;i++)o[i].invalidated(e+1,this);return e==0&&zt==mr&&zt.flush(),!0}addSubscriber(e){this.observer?(this.observers||(this.observers=[]),this.observers.push(e)):this.observer=e}removeSubscriber(e){if(this.observer==e)return this.observer=null;let n=this.observers,i=n.indexOf(e);i>=0&&n.splice(i,1)}reportChanged(){return this.changed(0)}reportObserved(){return zt.add(this)}},ZE=class extends Array{push(){return $e(this,super.push(...arguments))}pop(){return $e(this,super.pop(...arguments))}unshift(){return $e(this,super.unshift(...arguments))}shift(){return $e(this,super.shift(...arguments))}splice(){return $e(this,super.splice(...arguments))}at(){return It(this,super.at(...arguments))}map(){return It(this,super.map(...arguments))}flatMap(){return It(this,super.flatMap(...arguments))}flat(){return It(this,super.flat(...arguments))}filter(){return It(this,super.filter(...arguments))}find(){return It(this,super.find(...arguments))}slice(){return It(this,super.slice(...arguments))}sort(){return It(this,super.sort(...arguments))}get len(){return It(this,this.length)}set len(e){this.length=e,$e(this)}toIterable(){return Tn&&zt.add(this[$r]),this}[Symbol.iterator](){return It(this,super[Symbol.iterator](...arguments))}},td=ha(ZE),JE=class{get len(){return this.length}set len(e){this.length=e}get[sa](){return Sr(this,null,td)}[Hn](e){return Sr(this,e,td)}[$i](e){return aa(this,e)}};ia(Array.prototype,JE.prototype);var QE=class extends Set{has(){return It(this,super.has(...arguments))}keys(){return It(this,super.keys(...arguments))}values(){return It(this,super.values(...arguments))}entries(){return It(this,super.entries(...arguments))}add(){return $e(this,super.add(...arguments))}clear(){return $e(this,super.clear(...arguments))}delete(){return $e(this,super.delete(...arguments))}},ed=ha(QE),tO=class{get[sa](){return Sr(this,null,ed)}[Hn](e){return Sr(this,e,ed)}[$i](e){return aa(this,e)}};ia(Set.prototype,tO.prototype);var eO=class extends Map{get(){return It(this,super.get(...arguments))}has(){return It(this,super.has(...arguments))}keys(){return It(this,super.keys(...arguments))}values(){return It(this,super.values(...arguments))}entries(){return It(this,super.entries(...arguments))}set(){return $e(this,super.set(...arguments))}clear(){return $e(this,super.clear(...arguments))}delete(){return $e(this,super.delete(...arguments))}},nd=ha(eO),nO=class{get[sa](){return Sr(this,null,nd)}[Hn](e){return Sr(this,e,nd)}[$i](e){return aa(this,e)}};ia(Map.prototype,nO.prototype);var rO=class{constructor(e,n={}){var i=this,o;this.name=e,this.options=n;let l=this.key=ua(e),a=_0(e),h=i.descriptor={enumerable:(o=n.enumerable)!=null?o:!0,configurable:!1,get:function(){return Tn?YE(this,e,l,i,a):this[l]},set:function(d){return Tn||!!this[a]?XE(this,e,l,d,i,a):this[l]=d}};i.lazyDescriptor={enumerable:!1,configurable:!0,get:function(){return Tn?(Object.defineProperty(this,e,h),this[e]):this[l]},set:function(d){return this[l]=d,this[a]=null,Object.defineProperty(this,e,h)}}}},iO=class{constructor(e,n,i){this.observing=null,this.observers=null,this.flags=68,this.target=e,this.func=n,this.vkey=i,this.version=0}get beacon(){return this}addSubscriber(e){this.observer?(this.observers||(this.observers=[]),this.observers.push(e)):this.observer=e}removeSubscriber(e){if(this.observer==e)return this.observer=null;let n=this.observers,i=n.indexOf(this);i>=0&&n.splice(i,1)}invalidated(e,n){if(this.flags|=$n.STALE|$n.POSSIBLY_STALE,this.observer&&this.observer.invalidated(e,this),!!this.observers){for(let i=0,o=bi(this.observers),l=o.length;i<l;i++)o[i].invalidated(e,this);return this}}value(){if(Tn&&zt.add(this),(this.flags&$n.POSSIBLY_STALE)==0)return this.target[this.vkey];Tn++,this.flags|=$n.RUNNING,zt.push(this);let e=this.func.call(this.target);zt.pop(this);let n=this.target[this.vkey];return this.target[this.vkey]=e,this.flags&=~($n.STALE|$n.POSSIBLY_STALE|$n.RUNNING),e!==n&&this.version++,Tn--,e}},sO=class{constructor(e,n){this.name=e;let i=_0(e),o=ua(e),l=this.descriptor={enumerable:!1,configurable:!1,get:function(){return this[i].value()}};this.lazyDescriptor={enumerable:!1,get:function(){let a=this[i]=new iO(this,n,o);return Object.defineProperty(this,e,l),a.value()}}}};function oO(e,n,i){let o=v0(n);return(e[o]=new sO(n,i.get)).lazyDescriptor}function lO(e,n,i){let o=v0(n),l=ua(n),a=this[0]||{},h=e[o]=new rO(n,a);return i?(Object.defineProperty(e,l,Object.assign({},i)),h.lazyDescriptor):(Object.defineProperty(e,n,h.lazyDescriptor),null)}const uO="fuzzyhome",aO="2.2.0",hO="A lightweight new-tab page that lets you very quickly fuzzy find links and navigate to a result.",fO="https://fuzzyho.me/",cO="Mikey Oz (https://github.com/familyfriendlymikey)",pO={dev:"vite",build:"vite build"},dO={fzi:"^1.5.0",imba:"^2.0.0-alpha.226",lodash:"^4.17.21","math-expression-evaluator":"^2.0.0",vite:"^3.2.5","vite-plugin-imba":"^0.10.1"},gO={"vite-plugin-singlefile":"^0.13.2"},mO={name:uO,version:aO,description:hO,homepage:fO,author:cO,scripts:pO,dependencies:dO,devDependencies:gO},kn={set:function(e,n){return globalThis.localStorage.setItem(e,JSON.stringify(n))},get:function(e){return JSON.parse(globalThis.localStorage.getItem(e))}},gt={view:"home",query:"",links:[],sorted_links:[],loading:!1,link_selection_index:0,active_bang:!1,loaded:!1};function vO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}var wi;const Si=new(wi=class{save(){return kn.set("fuzzyhome_config",this.data)}constructor(){var n,i,o,l,a,h,d,m,b,v,S,R,I,x,C,D,k,F;this.data={};try{this.data=kn.get("fuzzyhome_config")||{}}catch{}(i=(n=this.data).focus)!=null||(n.focus=!0),(l=(o=this.data).theme)!=null||(o.theme="timed"),(h=(a=this.data).timed_theme_start)!=null||(a.timed_theme_start=8),(m=(d=this.data).timed_theme_end)!=null||(d.timed_theme_end=18),(v=(b=this.data).default_bang)!=null||(b.default_bang={}),(R=(S=this.data.default_bang).name)!=null||(S.name=""),(x=(I=this.data.default_bang).url)!=null||(I.url="https://www.google.com/search?q="),(D=(C=this.data.default_bang).frequency)!=null||(C.frequency=0),(F=(k=this.data.default_bang).is_bang)!=null||(k.is_bang=!0),this.save()}cycle_theme(){return this.data.theme==="dark"?this.data.theme="light":this.data.theme==="light"?this.data.theme="timed":this.data.theme="dark",this.save()}set_default_bang(){var i,o;let n=(o=(i=window.prompt(`Insert a new search URL. For example:
https://search.brave.com/search?q=`))==null?void 0:i.trim)==null?void 0:o.call(i);if(!!n)return this.data.default_bang.url=n,this.save()}toggle_focus(){return this.data.focus=!this.data.focus,this.save()}set_timed_theme_end(){let n=parseInt(window.prompt());if(!!n&&!(n<=0)&&!(n>=24))return this.data.timed_theme_end=n,this.save()}set_timed_theme_start(){let n=parseInt(window.prompt());if(!!n&&!(n<=0)&&!(n>=24))return this.data.timed_theme_start=n,this.save()}get theme(){if(this.data.theme==="light")return"light";if(this.data.theme==="timed"){let n=new Date().getHours();return n>this.data.timed_theme_end||n<this.data.timed_theme_start?"dark":"light"}else return"dark"}},(()=>{vO(wi,"config")})(),wi);var dr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},lo={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(e,n){(function(){var i,o="4.17.21",l=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",d="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",b=500,v="__lodash_placeholder__",S=1,R=2,I=4,x=1,C=2,D=1,k=2,F=4,B=8,E=16,O=32,P=64,q=128,U=256,H=512,K=30,tt="...",ut=800,pt=16,ht=1,kt=2,Pt=3,xt=1/0,it=9007199254740991,Et=17976931348623157e292,Ct=0/0,Ot=4294967295,Re=Ot-1,Be=Ot>>>1,on=[["ary",q],["bind",D],["bindKey",k],["curry",B],["curryRight",E],["flip",H],["partial",O],["partialRight",P],["rearg",U]],Qt="[object Arguments]",Tt="[object Array]",ae="[object AsyncFunction]",qt="[object Boolean]",Or="[object Date]",C0="[object DOMException]",ki="[object Error]",Ci="[object Function]",ba="[object GeneratorFunction]",we="[object Map]",Tr="[object Number]",A0="[object Null]",We="[object Object]",$a="[object Promise]",R0="[object Proxy]",kr="[object RegExp]",xe="[object Set]",Cr="[object String]",Ai="[object Symbol]",I0="[object Undefined]",Ar="[object WeakMap]",N0="[object WeakSet]",Rr="[object ArrayBuffer]",Gn="[object DataView]",ho="[object Float32Array]",fo="[object Float64Array]",co="[object Int8Array]",po="[object Int16Array]",go="[object Int32Array]",mo="[object Uint8Array]",vo="[object Uint8ClampedArray]",_o="[object Uint16Array]",yo="[object Uint32Array]",P0=/\b__p \+= '';/g,L0=/\b(__p \+=) '' \+/g,M0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sa=/&(?:amp|lt|gt|quot|#39);/g,wa=/[&<>"']/g,D0=RegExp(Sa.source),F0=RegExp(wa.source),z0=/<%-([\s\S]+?)%>/g,q0=/<%([\s\S]+?)%>/g,xa=/<%=([\s\S]+?)%>/g,U0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B0=/^\w*$/,W0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bo=/[\\^$.*+?()[\]{}|]/g,H0=RegExp(bo.source),$o=/^\s+/,j0=/\s/,G0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K0=/\{\n\/\* \[wrapped with (.+)\] \*/,V0=/,? & /,Y0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,X0=/[()=,{}\[\]\/\s]/,Z0=/\\(\\)?/g,J0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ea=/\w*$/,Q0=/^[-+]0x[0-9a-f]+$/i,tv=/^0b[01]+$/i,ev=/^\[object .+?Constructor\]$/,nv=/^0o[0-7]+$/i,rv=/^(?:0|[1-9]\d*)$/,iv=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ri=/($^)/,sv=/['\n\r\u2028\u2029\\]/g,Ii="\\ud800-\\udfff",ov="\\u0300-\\u036f",lv="\\ufe20-\\ufe2f",uv="\\u20d0-\\u20ff",Oa=ov+lv+uv,Ta="\\u2700-\\u27bf",ka="a-z\\xdf-\\xf6\\xf8-\\xff",av="\\xac\\xb1\\xd7\\xf7",hv="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fv="\\u2000-\\u206f",cv=" \\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",Ca="A-Z\\xc0-\\xd6\\xd8-\\xde",Aa="\\ufe0e\\ufe0f",Ra=av+hv+fv+cv,So="['\u2019]",pv="["+Ii+"]",Ia="["+Ra+"]",Ni="["+Oa+"]",Na="\\d+",dv="["+Ta+"]",Pa="["+ka+"]",La="[^"+Ii+Ra+Na+Ta+ka+Ca+"]",wo="\\ud83c[\\udffb-\\udfff]",gv="(?:"+Ni+"|"+wo+")",Ma="[^"+Ii+"]",xo="(?:\\ud83c[\\udde6-\\uddff]){2}",Eo="[\\ud800-\\udbff][\\udc00-\\udfff]",Kn="["+Ca+"]",Da="\\u200d",Fa="(?:"+Pa+"|"+La+")",mv="(?:"+Kn+"|"+La+")",za="(?:"+So+"(?:d|ll|m|re|s|t|ve))?",qa="(?:"+So+"(?:D|LL|M|RE|S|T|VE))?",Ua=gv+"?",Ba="["+Aa+"]?",vv="(?:"+Da+"(?:"+[Ma,xo,Eo].join("|")+")"+Ba+Ua+")*",_v="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yv="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Wa=Ba+Ua+vv,bv="(?:"+[dv,xo,Eo].join("|")+")"+Wa,$v="(?:"+[Ma+Ni+"?",Ni,xo,Eo,pv].join("|")+")",Sv=RegExp(So,"g"),wv=RegExp(Ni,"g"),Oo=RegExp(wo+"(?="+wo+")|"+$v+Wa,"g"),xv=RegExp([Kn+"?"+Pa+"+"+za+"(?="+[Ia,Kn,"$"].join("|")+")",mv+"+"+qa+"(?="+[Ia,Kn+Fa,"$"].join("|")+")",Kn+"?"+Fa+"+"+za,Kn+"+"+qa,yv,_v,Na,bv].join("|"),"g"),Ev=RegExp("["+Da+Ii+Oa+Aa+"]"),Ov=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Tv=["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"],kv=-1,vt={};vt[ho]=vt[fo]=vt[co]=vt[po]=vt[go]=vt[mo]=vt[vo]=vt[_o]=vt[yo]=!0,vt[Qt]=vt[Tt]=vt[Rr]=vt[qt]=vt[Gn]=vt[Or]=vt[ki]=vt[Ci]=vt[we]=vt[Tr]=vt[We]=vt[kr]=vt[xe]=vt[Cr]=vt[Ar]=!1;var mt={};mt[Qt]=mt[Tt]=mt[Rr]=mt[Gn]=mt[qt]=mt[Or]=mt[ho]=mt[fo]=mt[co]=mt[po]=mt[go]=mt[we]=mt[Tr]=mt[We]=mt[kr]=mt[xe]=mt[Cr]=mt[Ai]=mt[mo]=mt[vo]=mt[_o]=mt[yo]=!0,mt[ki]=mt[Ci]=mt[Ar]=!1;var Cv={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Av={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Rv={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Iv={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nv=parseFloat,Pv=parseInt,Ha=typeof dr=="object"&&dr&&dr.Object===Object&&dr,Lv=typeof self=="object"&&self&&self.Object===Object&&self,Lt=Ha||Lv||Function("return this")(),To=n&&!n.nodeType&&n,Nn=To&&!0&&e&&!e.nodeType&&e,ja=Nn&&Nn.exports===To,ko=ja&&Ha.process,he=function(){try{var $=Nn&&Nn.require&&Nn.require("util").types;return $||ko&&ko.binding&&ko.binding("util")}catch{}}(),Ga=he&&he.isArrayBuffer,Ka=he&&he.isDate,Va=he&&he.isMap,Ya=he&&he.isRegExp,Xa=he&&he.isSet,Za=he&&he.isTypedArray;function te($,A,T){switch(T.length){case 0:return $.call(A);case 1:return $.call(A,T[0]);case 2:return $.call(A,T[0],T[1]);case 3:return $.call(A,T[0],T[1],T[2])}return $.apply(A,T)}function Mv($,A,T,j){for(var J=-1,at=$==null?0:$.length;++J<at;){var At=$[J];A(j,At,T(At),$)}return j}function fe($,A){for(var T=-1,j=$==null?0:$.length;++T<j&&A($[T],T,$)!==!1;);return $}function Dv($,A){for(var T=$==null?0:$.length;T--&&A($[T],T,$)!==!1;);return $}function Ja($,A){for(var T=-1,j=$==null?0:$.length;++T<j;)if(!A($[T],T,$))return!1;return!0}function ln($,A){for(var T=-1,j=$==null?0:$.length,J=0,at=[];++T<j;){var At=$[T];A(At,T,$)&&(at[J++]=At)}return at}function Pi($,A){var T=$==null?0:$.length;return!!T&&Vn($,A,0)>-1}function Co($,A,T){for(var j=-1,J=$==null?0:$.length;++j<J;)if(T(A,$[j]))return!0;return!1}function _t($,A){for(var T=-1,j=$==null?0:$.length,J=Array(j);++T<j;)J[T]=A($[T],T,$);return J}function un($,A){for(var T=-1,j=A.length,J=$.length;++T<j;)$[J+T]=A[T];return $}function Ao($,A,T,j){var J=-1,at=$==null?0:$.length;for(j&&at&&(T=$[++J]);++J<at;)T=A(T,$[J],J,$);return T}function Fv($,A,T,j){var J=$==null?0:$.length;for(j&&J&&(T=$[--J]);J--;)T=A(T,$[J],J,$);return T}function Ro($,A){for(var T=-1,j=$==null?0:$.length;++T<j;)if(A($[T],T,$))return!0;return!1}var zv=Io("length");function qv($){return $.split("")}function Uv($){return $.match(Y0)||[]}function Qa($,A,T){var j;return T($,function(J,at,At){if(A(J,at,At))return j=at,!1}),j}function Li($,A,T,j){for(var J=$.length,at=T+(j?1:-1);j?at--:++at<J;)if(A($[at],at,$))return at;return-1}function Vn($,A,T){return A===A?Qv($,A,T):Li($,th,T)}function Bv($,A,T,j){for(var J=T-1,at=$.length;++J<at;)if(j($[J],A))return J;return-1}function th($){return $!==$}function eh($,A){var T=$==null?0:$.length;return T?Po($,A)/T:Ct}function Io($){return function(A){return A==null?i:A[$]}}function No($){return function(A){return $==null?i:$[A]}}function nh($,A,T,j,J){return J($,function(at,At,dt){T=j?(j=!1,at):A(T,at,At,dt)}),T}function Wv($,A){var T=$.length;for($.sort(A);T--;)$[T]=$[T].value;return $}function Po($,A){for(var T,j=-1,J=$.length;++j<J;){var at=A($[j]);at!==i&&(T=T===i?at:T+at)}return T}function Lo($,A){for(var T=-1,j=Array($);++T<$;)j[T]=A(T);return j}function Hv($,A){return _t(A,function(T){return[T,$[T]]})}function rh($){return $&&$.slice(0,lh($)+1).replace($o,"")}function ee($){return function(A){return $(A)}}function Mo($,A){return _t(A,function(T){return $[T]})}function Ir($,A){return $.has(A)}function ih($,A){for(var T=-1,j=$.length;++T<j&&Vn(A,$[T],0)>-1;);return T}function sh($,A){for(var T=$.length;T--&&Vn(A,$[T],0)>-1;);return T}function jv($,A){for(var T=$.length,j=0;T--;)$[T]===A&&++j;return j}var Gv=No(Cv),Kv=No(Av);function Vv($){return"\\"+Iv[$]}function Yv($,A){return $==null?i:$[A]}function Yn($){return Ev.test($)}function Xv($){return Ov.test($)}function Zv($){for(var A,T=[];!(A=$.next()).done;)T.push(A.value);return T}function Do($){var A=-1,T=Array($.size);return $.forEach(function(j,J){T[++A]=[J,j]}),T}function oh($,A){return function(T){return $(A(T))}}function an($,A){for(var T=-1,j=$.length,J=0,at=[];++T<j;){var At=$[T];(At===A||At===v)&&($[T]=v,at[J++]=T)}return at}function Mi($){var A=-1,T=Array($.size);return $.forEach(function(j){T[++A]=j}),T}function Jv($){var A=-1,T=Array($.size);return $.forEach(function(j){T[++A]=[j,j]}),T}function Qv($,A,T){for(var j=T-1,J=$.length;++j<J;)if($[j]===A)return j;return-1}function t_($,A,T){for(var j=T+1;j--;)if($[j]===A)return j;return j}function Xn($){return Yn($)?n_($):zv($)}function Ee($){return Yn($)?r_($):qv($)}function lh($){for(var A=$.length;A--&&j0.test($.charAt(A)););return A}var e_=No(Rv);function n_($){for(var A=Oo.lastIndex=0;Oo.test($);)++A;return A}function r_($){return $.match(Oo)||[]}function i_($){return $.match(xv)||[]}var s_=function $(A){A=A==null?Lt:Zn.defaults(Lt.Object(),A,Zn.pick(Lt,Tv));var T=A.Array,j=A.Date,J=A.Error,at=A.Function,At=A.Math,dt=A.Object,Fo=A.RegExp,o_=A.String,ce=A.TypeError,Di=T.prototype,l_=at.prototype,Jn=dt.prototype,Fi=A["__core-js_shared__"],zi=l_.toString,ct=Jn.hasOwnProperty,u_=0,uh=function(){var t=/[^.]+$/.exec(Fi&&Fi.keys&&Fi.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),qi=Jn.toString,a_=zi.call(dt),h_=Lt._,f_=Fo("^"+zi.call(ct).replace(bo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ui=ja?A.Buffer:i,hn=A.Symbol,Bi=A.Uint8Array,ah=Ui?Ui.allocUnsafe:i,Wi=oh(dt.getPrototypeOf,dt),hh=dt.create,fh=Jn.propertyIsEnumerable,Hi=Di.splice,ch=hn?hn.isConcatSpreadable:i,Nr=hn?hn.iterator:i,Pn=hn?hn.toStringTag:i,ji=function(){try{var t=zn(dt,"defineProperty");return t({},"",{}),t}catch{}}(),c_=A.clearTimeout!==Lt.clearTimeout&&A.clearTimeout,p_=j&&j.now!==Lt.Date.now&&j.now,d_=A.setTimeout!==Lt.setTimeout&&A.setTimeout,Gi=At.ceil,Ki=At.floor,zo=dt.getOwnPropertySymbols,g_=Ui?Ui.isBuffer:i,ph=A.isFinite,m_=Di.join,v_=oh(dt.keys,dt),Rt=At.max,Dt=At.min,__=j.now,y_=A.parseInt,dh=At.random,b_=Di.reverse,qo=zn(A,"DataView"),Pr=zn(A,"Map"),Uo=zn(A,"Promise"),Qn=zn(A,"Set"),Lr=zn(A,"WeakMap"),Mr=zn(dt,"create"),Vi=Lr&&new Lr,tr={},$_=qn(qo),S_=qn(Pr),w_=qn(Uo),x_=qn(Qn),E_=qn(Lr),Yi=hn?hn.prototype:i,Dr=Yi?Yi.valueOf:i,gh=Yi?Yi.toString:i;function c(t){if($t(t)&&!Q(t)&&!(t instanceof ot)){if(t instanceof pe)return t;if(ct.call(t,"__wrapped__"))return vf(t)}return new pe(t)}var er=function(){function t(){}return function(r){if(!bt(r))return{};if(hh)return hh(r);t.prototype=r;var s=new t;return t.prototype=i,s}}();function Xi(){}function pe(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=i}c.templateSettings={escape:z0,evaluate:q0,interpolate:xa,variable:"",imports:{_:c}},c.prototype=Xi.prototype,c.prototype.constructor=c,pe.prototype=er(Xi.prototype),pe.prototype.constructor=pe;function ot(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ot,this.__views__=[]}function O_(){var t=new ot(this.__wrapped__);return t.__actions__=Kt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Kt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Kt(this.__views__),t}function T_(){if(this.__filtered__){var t=new ot(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function k_(){var t=this.__wrapped__.value(),r=this.__dir__,s=Q(t),u=r<0,f=s?t.length:0,p=qy(0,f,this.__views__),g=p.start,y=p.end,w=y-g,N=u?y:g-1,M=this.__iteratees__,z=M.length,W=0,G=Dt(w,this.__takeCount__);if(!s||!u&&f==w&&G==w)return zh(t,this.__actions__);var Y=[];t:for(;w--&&W<G;){N+=r;for(var nt=-1,X=t[N];++nt<z;){var st=M[nt],lt=st.iteratee,ie=st.type,Wt=lt(X);if(ie==kt)X=Wt;else if(!Wt){if(ie==ht)continue t;break t}}Y[W++]=X}return Y}ot.prototype=er(Xi.prototype),ot.prototype.constructor=ot;function Ln(t){var r=-1,s=t==null?0:t.length;for(this.clear();++r<s;){var u=t[r];this.set(u[0],u[1])}}function C_(){this.__data__=Mr?Mr(null):{},this.size=0}function A_(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}function R_(t){var r=this.__data__;if(Mr){var s=r[t];return s===m?i:s}return ct.call(r,t)?r[t]:i}function I_(t){var r=this.__data__;return Mr?r[t]!==i:ct.call(r,t)}function N_(t,r){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=Mr&&r===i?m:r,this}Ln.prototype.clear=C_,Ln.prototype.delete=A_,Ln.prototype.get=R_,Ln.prototype.has=I_,Ln.prototype.set=N_;function He(t){var r=-1,s=t==null?0:t.length;for(this.clear();++r<s;){var u=t[r];this.set(u[0],u[1])}}function P_(){this.__data__=[],this.size=0}function L_(t){var r=this.__data__,s=Zi(r,t);if(s<0)return!1;var u=r.length-1;return s==u?r.pop():Hi.call(r,s,1),--this.size,!0}function M_(t){var r=this.__data__,s=Zi(r,t);return s<0?i:r[s][1]}function D_(t){return Zi(this.__data__,t)>-1}function F_(t,r){var s=this.__data__,u=Zi(s,t);return u<0?(++this.size,s.push([t,r])):s[u][1]=r,this}He.prototype.clear=P_,He.prototype.delete=L_,He.prototype.get=M_,He.prototype.has=D_,He.prototype.set=F_;function je(t){var r=-1,s=t==null?0:t.length;for(this.clear();++r<s;){var u=t[r];this.set(u[0],u[1])}}function z_(){this.size=0,this.__data__={hash:new Ln,map:new(Pr||He),string:new Ln}}function q_(t){var r=as(this,t).delete(t);return this.size-=r?1:0,r}function U_(t){return as(this,t).get(t)}function B_(t){return as(this,t).has(t)}function W_(t,r){var s=as(this,t),u=s.size;return s.set(t,r),this.size+=s.size==u?0:1,this}je.prototype.clear=z_,je.prototype.delete=q_,je.prototype.get=U_,je.prototype.has=B_,je.prototype.set=W_;function Mn(t){var r=-1,s=t==null?0:t.length;for(this.__data__=new je;++r<s;)this.add(t[r])}function H_(t){return this.__data__.set(t,m),this}function j_(t){return this.__data__.has(t)}Mn.prototype.add=Mn.prototype.push=H_,Mn.prototype.has=j_;function Oe(t){var r=this.__data__=new He(t);this.size=r.size}function G_(){this.__data__=new He,this.size=0}function K_(t){var r=this.__data__,s=r.delete(t);return this.size=r.size,s}function V_(t){return this.__data__.get(t)}function Y_(t){return this.__data__.has(t)}function X_(t,r){var s=this.__data__;if(s instanceof He){var u=s.__data__;if(!Pr||u.length<l-1)return u.push([t,r]),this.size=++s.size,this;s=this.__data__=new je(u)}return s.set(t,r),this.size=s.size,this}Oe.prototype.clear=G_,Oe.prototype.delete=K_,Oe.prototype.get=V_,Oe.prototype.has=Y_,Oe.prototype.set=X_;function mh(t,r){var s=Q(t),u=!s&&Un(t),f=!s&&!u&&gn(t),p=!s&&!u&&!f&&sr(t),g=s||u||f||p,y=g?Lo(t.length,o_):[],w=y.length;for(var N in t)(r||ct.call(t,N))&&!(g&&(N=="length"||f&&(N=="offset"||N=="parent")||p&&(N=="buffer"||N=="byteLength"||N=="byteOffset")||Ye(N,w)))&&y.push(N);return y}function vh(t){var r=t.length;return r?t[Jo(0,r-1)]:i}function Z_(t,r){return hs(Kt(t),Dn(r,0,t.length))}function J_(t){return hs(Kt(t))}function Bo(t,r,s){(s!==i&&!Te(t[r],s)||s===i&&!(r in t))&&Ge(t,r,s)}function Fr(t,r,s){var u=t[r];(!(ct.call(t,r)&&Te(u,s))||s===i&&!(r in t))&&Ge(t,r,s)}function Zi(t,r){for(var s=t.length;s--;)if(Te(t[s][0],r))return s;return-1}function Q_(t,r,s,u){return fn(t,function(f,p,g){r(u,f,s(f),g)}),u}function _h(t,r){return t&&Ne(r,Nt(r),t)}function ty(t,r){return t&&Ne(r,Yt(r),t)}function Ge(t,r,s){r=="__proto__"&&ji?ji(t,r,{configurable:!0,enumerable:!0,value:s,writable:!0}):t[r]=s}function Wo(t,r){for(var s=-1,u=r.length,f=T(u),p=t==null;++s<u;)f[s]=p?i:wl(t,r[s]);return f}function Dn(t,r,s){return t===t&&(s!==i&&(t=t<=s?t:s),r!==i&&(t=t>=r?t:r)),t}function de(t,r,s,u,f,p){var g,y=r&S,w=r&R,N=r&I;if(s&&(g=f?s(t,u,f,p):s(t)),g!==i)return g;if(!bt(t))return t;var M=Q(t);if(M){if(g=By(t),!y)return Kt(t,g)}else{var z=Ft(t),W=z==Ci||z==ba;if(gn(t))return Bh(t,y);if(z==We||z==Qt||W&&!f){if(g=w||W?{}:uf(t),!y)return w?Ry(t,ty(g,t)):Ay(t,_h(g,t))}else{if(!mt[z])return f?t:{};g=Wy(t,z,y)}}p||(p=new Oe);var G=p.get(t);if(G)return G;p.set(t,g),Df(t)?t.forEach(function(X){g.add(de(X,r,s,X,t,p))}):Lf(t)&&t.forEach(function(X,st){g.set(st,de(X,r,s,st,t,p))});var Y=N?w?al:ul:w?Yt:Nt,nt=M?i:Y(t);return fe(nt||t,function(X,st){nt&&(st=X,X=t[st]),Fr(g,st,de(X,r,s,st,t,p))}),g}function ey(t){var r=Nt(t);return function(s){return yh(s,t,r)}}function yh(t,r,s){var u=s.length;if(t==null)return!u;for(t=dt(t);u--;){var f=s[u],p=r[f],g=t[f];if(g===i&&!(f in t)||!p(g))return!1}return!0}function bh(t,r,s){if(typeof t!="function")throw new ce(h);return jr(function(){t.apply(i,s)},r)}function zr(t,r,s,u){var f=-1,p=Pi,g=!0,y=t.length,w=[],N=r.length;if(!y)return w;s&&(r=_t(r,ee(s))),u?(p=Co,g=!1):r.length>=l&&(p=Ir,g=!1,r=new Mn(r));t:for(;++f<y;){var M=t[f],z=s==null?M:s(M);if(M=u||M!==0?M:0,g&&z===z){for(var W=N;W--;)if(r[W]===z)continue t;w.push(M)}else p(r,z,u)||w.push(M)}return w}var fn=Kh(Ie),$h=Kh(jo,!0);function ny(t,r){var s=!0;return fn(t,function(u,f,p){return s=!!r(u,f,p),s}),s}function Ji(t,r,s){for(var u=-1,f=t.length;++u<f;){var p=t[u],g=r(p);if(g!=null&&(y===i?g===g&&!re(g):s(g,y)))var y=g,w=p}return w}function ry(t,r,s,u){var f=t.length;for(s=et(s),s<0&&(s=-s>f?0:f+s),u=u===i||u>f?f:et(u),u<0&&(u+=f),u=s>u?0:zf(u);s<u;)t[s++]=r;return t}function Sh(t,r){var s=[];return fn(t,function(u,f,p){r(u,f,p)&&s.push(u)}),s}function Mt(t,r,s,u,f){var p=-1,g=t.length;for(s||(s=jy),f||(f=[]);++p<g;){var y=t[p];r>0&&s(y)?r>1?Mt(y,r-1,s,u,f):un(f,y):u||(f[f.length]=y)}return f}var Ho=Vh(),wh=Vh(!0);function Ie(t,r){return t&&Ho(t,r,Nt)}function jo(t,r){return t&&wh(t,r,Nt)}function Qi(t,r){return ln(r,function(s){return Xe(t[s])})}function Fn(t,r){r=pn(r,t);for(var s=0,u=r.length;t!=null&&s<u;)t=t[Pe(r[s++])];return s&&s==u?t:i}function xh(t,r,s){var u=r(t);return Q(t)?u:un(u,s(t))}function Ut(t){return t==null?t===i?I0:A0:Pn&&Pn in dt(t)?zy(t):Jy(t)}function Go(t,r){return t>r}function iy(t,r){return t!=null&&ct.call(t,r)}function sy(t,r){return t!=null&&r in dt(t)}function oy(t,r,s){return t>=Dt(r,s)&&t<Rt(r,s)}function Ko(t,r,s){for(var u=s?Co:Pi,f=t[0].length,p=t.length,g=p,y=T(p),w=1/0,N=[];g--;){var M=t[g];g&&r&&(M=_t(M,ee(r))),w=Dt(M.length,w),y[g]=!s&&(r||f>=120&&M.length>=120)?new Mn(g&&M):i}M=t[0];var z=-1,W=y[0];t:for(;++z<f&&N.length<w;){var G=M[z],Y=r?r(G):G;if(G=s||G!==0?G:0,!(W?Ir(W,Y):u(N,Y,s))){for(g=p;--g;){var nt=y[g];if(!(nt?Ir(nt,Y):u(t[g],Y,s)))continue t}W&&W.push(Y),N.push(G)}}return N}function ly(t,r,s,u){return Ie(t,function(f,p,g){r(u,s(f),p,g)}),u}function qr(t,r,s){r=pn(r,t),t=cf(t,r);var u=t==null?t:t[Pe(me(r))];return u==null?i:te(u,t,s)}function Eh(t){return $t(t)&&Ut(t)==Qt}function uy(t){return $t(t)&&Ut(t)==Rr}function ay(t){return $t(t)&&Ut(t)==Or}function Ur(t,r,s,u,f){return t===r?!0:t==null||r==null||!$t(t)&&!$t(r)?t!==t&&r!==r:hy(t,r,s,u,Ur,f)}function hy(t,r,s,u,f,p){var g=Q(t),y=Q(r),w=g?Tt:Ft(t),N=y?Tt:Ft(r);w=w==Qt?We:w,N=N==Qt?We:N;var M=w==We,z=N==We,W=w==N;if(W&&gn(t)){if(!gn(r))return!1;g=!0,M=!1}if(W&&!M)return p||(p=new Oe),g||sr(t)?sf(t,r,s,u,f,p):Dy(t,r,w,s,u,f,p);if(!(s&x)){var G=M&&ct.call(t,"__wrapped__"),Y=z&&ct.call(r,"__wrapped__");if(G||Y){var nt=G?t.value():t,X=Y?r.value():r;return p||(p=new Oe),f(nt,X,s,u,p)}}return W?(p||(p=new Oe),Fy(t,r,s,u,f,p)):!1}function fy(t){return $t(t)&&Ft(t)==we}function Vo(t,r,s,u){var f=s.length,p=f,g=!u;if(t==null)return!p;for(t=dt(t);f--;){var y=s[f];if(g&&y[2]?y[1]!==t[y[0]]:!(y[0]in t))return!1}for(;++f<p;){y=s[f];var w=y[0],N=t[w],M=y[1];if(g&&y[2]){if(N===i&&!(w in t))return!1}else{var z=new Oe;if(u)var W=u(N,M,w,t,r,z);if(!(W===i?Ur(M,N,x|C,u,z):W))return!1}}return!0}function Oh(t){if(!bt(t)||Ky(t))return!1;var r=Xe(t)?f_:ev;return r.test(qn(t))}function cy(t){return $t(t)&&Ut(t)==kr}function py(t){return $t(t)&&Ft(t)==xe}function dy(t){return $t(t)&&ms(t.length)&&!!vt[Ut(t)]}function Th(t){return typeof t=="function"?t:t==null?Xt:typeof t=="object"?Q(t)?Ah(t[0],t[1]):Ch(t):Xf(t)}function Yo(t){if(!Hr(t))return v_(t);var r=[];for(var s in dt(t))ct.call(t,s)&&s!="constructor"&&r.push(s);return r}function gy(t){if(!bt(t))return Zy(t);var r=Hr(t),s=[];for(var u in t)u=="constructor"&&(r||!ct.call(t,u))||s.push(u);return s}function Xo(t,r){return t<r}function kh(t,r){var s=-1,u=Vt(t)?T(t.length):[];return fn(t,function(f,p,g){u[++s]=r(f,p,g)}),u}function Ch(t){var r=fl(t);return r.length==1&&r[0][2]?hf(r[0][0],r[0][1]):function(s){return s===t||Vo(s,t,r)}}function Ah(t,r){return pl(t)&&af(r)?hf(Pe(t),r):function(s){var u=wl(s,t);return u===i&&u===r?xl(s,t):Ur(r,u,x|C)}}function ts(t,r,s,u,f){t!==r&&Ho(r,function(p,g){if(f||(f=new Oe),bt(p))my(t,r,g,s,ts,u,f);else{var y=u?u(gl(t,g),p,g+"",t,r,f):i;y===i&&(y=p),Bo(t,g,y)}},Yt)}function my(t,r,s,u,f,p,g){var y=gl(t,s),w=gl(r,s),N=g.get(w);if(N){Bo(t,s,N);return}var M=p?p(y,w,s+"",t,r,g):i,z=M===i;if(z){var W=Q(w),G=!W&&gn(w),Y=!W&&!G&&sr(w);M=w,W||G||Y?Q(y)?M=y:St(y)?M=Kt(y):G?(z=!1,M=Bh(w,!0)):Y?(z=!1,M=Wh(w,!0)):M=[]:Gr(w)||Un(w)?(M=y,Un(y)?M=qf(y):(!bt(y)||Xe(y))&&(M=uf(w))):z=!1}z&&(g.set(w,M),f(M,w,u,p,g),g.delete(w)),Bo(t,s,M)}function Rh(t,r){var s=t.length;if(!!s)return r+=r<0?s:0,Ye(r,s)?t[r]:i}function Ih(t,r,s){r.length?r=_t(r,function(p){return Q(p)?function(g){return Fn(g,p.length===1?p[0]:p)}:p}):r=[Xt];var u=-1;r=_t(r,ee(V()));var f=kh(t,function(p,g,y){var w=_t(r,function(N){return N(p)});return{criteria:w,index:++u,value:p}});return Wv(f,function(p,g){return Cy(p,g,s)})}function vy(t,r){return Nh(t,r,function(s,u){return xl(t,u)})}function Nh(t,r,s){for(var u=-1,f=r.length,p={};++u<f;){var g=r[u],y=Fn(t,g);s(y,g)&&Br(p,pn(g,t),y)}return p}function _y(t){return function(r){return Fn(r,t)}}function Zo(t,r,s,u){var f=u?Bv:Vn,p=-1,g=r.length,y=t;for(t===r&&(r=Kt(r)),s&&(y=_t(t,ee(s)));++p<g;)for(var w=0,N=r[p],M=s?s(N):N;(w=f(y,M,w,u))>-1;)y!==t&&Hi.call(y,w,1),Hi.call(t,w,1);return t}function Ph(t,r){for(var s=t?r.length:0,u=s-1;s--;){var f=r[s];if(s==u||f!==p){var p=f;Ye(f)?Hi.call(t,f,1):el(t,f)}}return t}function Jo(t,r){return t+Ki(dh()*(r-t+1))}function yy(t,r,s,u){for(var f=-1,p=Rt(Gi((r-t)/(s||1)),0),g=T(p);p--;)g[u?p:++f]=t,t+=s;return g}function Qo(t,r){var s="";if(!t||r<1||r>it)return s;do r%2&&(s+=t),r=Ki(r/2),r&&(t+=t);while(r);return s}function rt(t,r){return ml(ff(t,r,Xt),t+"")}function by(t){return vh(or(t))}function $y(t,r){var s=or(t);return hs(s,Dn(r,0,s.length))}function Br(t,r,s,u){if(!bt(t))return t;r=pn(r,t);for(var f=-1,p=r.length,g=p-1,y=t;y!=null&&++f<p;){var w=Pe(r[f]),N=s;if(w==="__proto__"||w==="constructor"||w==="prototype")return t;if(f!=g){var M=y[w];N=u?u(M,w,y):i,N===i&&(N=bt(M)?M:Ye(r[f+1])?[]:{})}Fr(y,w,N),y=y[w]}return t}var Lh=Vi?function(t,r){return Vi.set(t,r),t}:Xt,Sy=ji?function(t,r){return ji(t,"toString",{configurable:!0,enumerable:!1,value:Ol(r),writable:!0})}:Xt;function wy(t){return hs(or(t))}function ge(t,r,s){var u=-1,f=t.length;r<0&&(r=-r>f?0:f+r),s=s>f?f:s,s<0&&(s+=f),f=r>s?0:s-r>>>0,r>>>=0;for(var p=T(f);++u<f;)p[u]=t[u+r];return p}function xy(t,r){var s;return fn(t,function(u,f,p){return s=r(u,f,p),!s}),!!s}function es(t,r,s){var u=0,f=t==null?u:t.length;if(typeof r=="number"&&r===r&&f<=Be){for(;u<f;){var p=u+f>>>1,g=t[p];g!==null&&!re(g)&&(s?g<=r:g<r)?u=p+1:f=p}return f}return tl(t,r,Xt,s)}function tl(t,r,s,u){var f=0,p=t==null?0:t.length;if(p===0)return 0;r=s(r);for(var g=r!==r,y=r===null,w=re(r),N=r===i;f<p;){var M=Ki((f+p)/2),z=s(t[M]),W=z!==i,G=z===null,Y=z===z,nt=re(z);if(g)var X=u||Y;else N?X=Y&&(u||W):y?X=Y&&W&&(u||!G):w?X=Y&&W&&!G&&(u||!nt):G||nt?X=!1:X=u?z<=r:z<r;X?f=M+1:p=M}return Dt(p,Re)}function Mh(t,r){for(var s=-1,u=t.length,f=0,p=[];++s<u;){var g=t[s],y=r?r(g):g;if(!s||!Te(y,w)){var w=y;p[f++]=g===0?0:g}}return p}function Dh(t){return typeof t=="number"?t:re(t)?Ct:+t}function ne(t){if(typeof t=="string")return t;if(Q(t))return _t(t,ne)+"";if(re(t))return gh?gh.call(t):"";var r=t+"";return r=="0"&&1/t==-xt?"-0":r}function cn(t,r,s){var u=-1,f=Pi,p=t.length,g=!0,y=[],w=y;if(s)g=!1,f=Co;else if(p>=l){var N=r?null:Ly(t);if(N)return Mi(N);g=!1,f=Ir,w=new Mn}else w=r?[]:y;t:for(;++u<p;){var M=t[u],z=r?r(M):M;if(M=s||M!==0?M:0,g&&z===z){for(var W=w.length;W--;)if(w[W]===z)continue t;r&&w.push(z),y.push(M)}else f(w,z,s)||(w!==y&&w.push(z),y.push(M))}return y}function el(t,r){return r=pn(r,t),t=cf(t,r),t==null||delete t[Pe(me(r))]}function Fh(t,r,s,u){return Br(t,r,s(Fn(t,r)),u)}function ns(t,r,s,u){for(var f=t.length,p=u?f:-1;(u?p--:++p<f)&&r(t[p],p,t););return s?ge(t,u?0:p,u?p+1:f):ge(t,u?p+1:0,u?f:p)}function zh(t,r){var s=t;return s instanceof ot&&(s=s.value()),Ao(r,function(u,f){return f.func.apply(f.thisArg,un([u],f.args))},s)}function nl(t,r,s){var u=t.length;if(u<2)return u?cn(t[0]):[];for(var f=-1,p=T(u);++f<u;)for(var g=t[f],y=-1;++y<u;)y!=f&&(p[f]=zr(p[f]||g,t[y],r,s));return cn(Mt(p,1),r,s)}function qh(t,r,s){for(var u=-1,f=t.length,p=r.length,g={};++u<f;){var y=u<p?r[u]:i;s(g,t[u],y)}return g}function rl(t){return St(t)?t:[]}function il(t){return typeof t=="function"?t:Xt}function pn(t,r){return Q(t)?t:pl(t,r)?[t]:mf(ft(t))}var Ey=rt;function dn(t,r,s){var u=t.length;return s=s===i?u:s,!r&&s>=u?t:ge(t,r,s)}var Uh=c_||function(t){return Lt.clearTimeout(t)};function Bh(t,r){if(r)return t.slice();var s=t.length,u=ah?ah(s):new t.constructor(s);return t.copy(u),u}function sl(t){var r=new t.constructor(t.byteLength);return new Bi(r).set(new Bi(t)),r}function Oy(t,r){var s=r?sl(t.buffer):t.buffer;return new t.constructor(s,t.byteOffset,t.byteLength)}function Ty(t){var r=new t.constructor(t.source,Ea.exec(t));return r.lastIndex=t.lastIndex,r}function ky(t){return Dr?dt(Dr.call(t)):{}}function Wh(t,r){var s=r?sl(t.buffer):t.buffer;return new t.constructor(s,t.byteOffset,t.length)}function Hh(t,r){if(t!==r){var s=t!==i,u=t===null,f=t===t,p=re(t),g=r!==i,y=r===null,w=r===r,N=re(r);if(!y&&!N&&!p&&t>r||p&&g&&w&&!y&&!N||u&&g&&w||!s&&w||!f)return 1;if(!u&&!p&&!N&&t<r||N&&s&&f&&!u&&!p||y&&s&&f||!g&&f||!w)return-1}return 0}function Cy(t,r,s){for(var u=-1,f=t.criteria,p=r.criteria,g=f.length,y=s.length;++u<g;){var w=Hh(f[u],p[u]);if(w){if(u>=y)return w;var N=s[u];return w*(N=="desc"?-1:1)}}return t.index-r.index}function jh(t,r,s,u){for(var f=-1,p=t.length,g=s.length,y=-1,w=r.length,N=Rt(p-g,0),M=T(w+N),z=!u;++y<w;)M[y]=r[y];for(;++f<g;)(z||f<p)&&(M[s[f]]=t[f]);for(;N--;)M[y++]=t[f++];return M}function Gh(t,r,s,u){for(var f=-1,p=t.length,g=-1,y=s.length,w=-1,N=r.length,M=Rt(p-y,0),z=T(M+N),W=!u;++f<M;)z[f]=t[f];for(var G=f;++w<N;)z[G+w]=r[w];for(;++g<y;)(W||f<p)&&(z[G+s[g]]=t[f++]);return z}function Kt(t,r){var s=-1,u=t.length;for(r||(r=T(u));++s<u;)r[s]=t[s];return r}function Ne(t,r,s,u){var f=!s;s||(s={});for(var p=-1,g=r.length;++p<g;){var y=r[p],w=u?u(s[y],t[y],y,s,t):i;w===i&&(w=t[y]),f?Ge(s,y,w):Fr(s,y,w)}return s}function Ay(t,r){return Ne(t,cl(t),r)}function Ry(t,r){return Ne(t,of(t),r)}function rs(t,r){return function(s,u){var f=Q(s)?Mv:Q_,p=r?r():{};return f(s,t,V(u,2),p)}}function nr(t){return rt(function(r,s){var u=-1,f=s.length,p=f>1?s[f-1]:i,g=f>2?s[2]:i;for(p=t.length>3&&typeof p=="function"?(f--,p):i,g&&Bt(s[0],s[1],g)&&(p=f<3?i:p,f=1),r=dt(r);++u<f;){var y=s[u];y&&t(r,y,u,p)}return r})}function Kh(t,r){return function(s,u){if(s==null)return s;if(!Vt(s))return t(s,u);for(var f=s.length,p=r?f:-1,g=dt(s);(r?p--:++p<f)&&u(g[p],p,g)!==!1;);return s}}function Vh(t){return function(r,s,u){for(var f=-1,p=dt(r),g=u(r),y=g.length;y--;){var w=g[t?y:++f];if(s(p[w],w,p)===!1)break}return r}}function Iy(t,r,s){var u=r&D,f=Wr(t);function p(){var g=this&&this!==Lt&&this instanceof p?f:t;return g.apply(u?s:this,arguments)}return p}function Yh(t){return function(r){r=ft(r);var s=Yn(r)?Ee(r):i,u=s?s[0]:r.charAt(0),f=s?dn(s,1).join(""):r.slice(1);return u[t]()+f}}function rr(t){return function(r){return Ao(Vf(Kf(r).replace(Sv,"")),t,"")}}function Wr(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var s=er(t.prototype),u=t.apply(s,r);return bt(u)?u:s}}function Ny(t,r,s){var u=Wr(t);function f(){for(var p=arguments.length,g=T(p),y=p,w=ir(f);y--;)g[y]=arguments[y];var N=p<3&&g[0]!==w&&g[p-1]!==w?[]:an(g,w);if(p-=N.length,p<s)return tf(t,r,is,f.placeholder,i,g,N,i,i,s-p);var M=this&&this!==Lt&&this instanceof f?u:t;return te(M,this,g)}return f}function Xh(t){return function(r,s,u){var f=dt(r);if(!Vt(r)){var p=V(s,3);r=Nt(r),s=function(y){return p(f[y],y,f)}}var g=t(r,s,u);return g>-1?f[p?r[g]:g]:i}}function Zh(t){return Ve(function(r){var s=r.length,u=s,f=pe.prototype.thru;for(t&&r.reverse();u--;){var p=r[u];if(typeof p!="function")throw new ce(h);if(f&&!g&&us(p)=="wrapper")var g=new pe([],!0)}for(u=g?u:s;++u<s;){p=r[u];var y=us(p),w=y=="wrapper"?hl(p):i;w&&dl(w[0])&&w[1]==(q|B|O|U)&&!w[4].length&&w[9]==1?g=g[us(w[0])].apply(g,w[3]):g=p.length==1&&dl(p)?g[y]():g.thru(p)}return function(){var N=arguments,M=N[0];if(g&&N.length==1&&Q(M))return g.plant(M).value();for(var z=0,W=s?r[z].apply(this,N):M;++z<s;)W=r[z].call(this,W);return W}})}function is(t,r,s,u,f,p,g,y,w,N){var M=r&q,z=r&D,W=r&k,G=r&(B|E),Y=r&H,nt=W?i:Wr(t);function X(){for(var st=arguments.length,lt=T(st),ie=st;ie--;)lt[ie]=arguments[ie];if(G)var Wt=ir(X),se=jv(lt,Wt);if(u&&(lt=jh(lt,u,f,G)),p&&(lt=Gh(lt,p,g,G)),st-=se,G&&st<N){var wt=an(lt,Wt);return tf(t,r,is,X.placeholder,s,lt,wt,y,w,N-st)}var ke=z?s:this,Je=W?ke[t]:t;return st=lt.length,y?lt=Qy(lt,y):Y&&st>1&&lt.reverse(),M&&w<st&&(lt.length=w),this&&this!==Lt&&this instanceof X&&(Je=nt||Wr(Je)),Je.apply(ke,lt)}return X}function Jh(t,r){return function(s,u){return ly(s,t,r(u),{})}}function ss(t,r){return function(s,u){var f;if(s===i&&u===i)return r;if(s!==i&&(f=s),u!==i){if(f===i)return u;typeof s=="string"||typeof u=="string"?(s=ne(s),u=ne(u)):(s=Dh(s),u=Dh(u)),f=t(s,u)}return f}}function ol(t){return Ve(function(r){return r=_t(r,ee(V())),rt(function(s){var u=this;return t(r,function(f){return te(f,u,s)})})})}function os(t,r){r=r===i?" ":ne(r);var s=r.length;if(s<2)return s?Qo(r,t):r;var u=Qo(r,Gi(t/Xn(r)));return Yn(r)?dn(Ee(u),0,t).join(""):u.slice(0,t)}function Py(t,r,s,u){var f=r&D,p=Wr(t);function g(){for(var y=-1,w=arguments.length,N=-1,M=u.length,z=T(M+w),W=this&&this!==Lt&&this instanceof g?p:t;++N<M;)z[N]=u[N];for(;w--;)z[N++]=arguments[++y];return te(W,f?s:this,z)}return g}function Qh(t){return function(r,s,u){return u&&typeof u!="number"&&Bt(r,s,u)&&(s=u=i),r=Ze(r),s===i?(s=r,r=0):s=Ze(s),u=u===i?r<s?1:-1:Ze(u),yy(r,s,u,t)}}function ls(t){return function(r,s){return typeof r=="string"&&typeof s=="string"||(r=ve(r),s=ve(s)),t(r,s)}}function tf(t,r,s,u,f,p,g,y,w,N){var M=r&B,z=M?g:i,W=M?i:g,G=M?p:i,Y=M?i:p;r|=M?O:P,r&=~(M?P:O),r&F||(r&=~(D|k));var nt=[t,r,f,G,z,Y,W,y,w,N],X=s.apply(i,nt);return dl(t)&&pf(X,nt),X.placeholder=u,df(X,t,r)}function ll(t){var r=At[t];return function(s,u){if(s=ve(s),u=u==null?0:Dt(et(u),292),u&&ph(s)){var f=(ft(s)+"e").split("e"),p=r(f[0]+"e"+(+f[1]+u));return f=(ft(p)+"e").split("e"),+(f[0]+"e"+(+f[1]-u))}return r(s)}}var Ly=Qn&&1/Mi(new Qn([,-0]))[1]==xt?function(t){return new Qn(t)}:Cl;function ef(t){return function(r){var s=Ft(r);return s==we?Do(r):s==xe?Jv(r):Hv(r,t(r))}}function Ke(t,r,s,u,f,p,g,y){var w=r&k;if(!w&&typeof t!="function")throw new ce(h);var N=u?u.length:0;if(N||(r&=~(O|P),u=f=i),g=g===i?g:Rt(et(g),0),y=y===i?y:et(y),N-=f?f.length:0,r&P){var M=u,z=f;u=f=i}var W=w?i:hl(t),G=[t,r,s,u,f,M,z,p,g,y];if(W&&Xy(G,W),t=G[0],r=G[1],s=G[2],u=G[3],f=G[4],y=G[9]=G[9]===i?w?0:t.length:Rt(G[9]-N,0),!y&&r&(B|E)&&(r&=~(B|E)),!r||r==D)var Y=Iy(t,r,s);else r==B||r==E?Y=Ny(t,r,y):(r==O||r==(D|O))&&!f.length?Y=Py(t,r,s,u):Y=is.apply(i,G);var nt=W?Lh:pf;return df(nt(Y,G),t,r)}function nf(t,r,s,u){return t===i||Te(t,Jn[s])&&!ct.call(u,s)?r:t}function rf(t,r,s,u,f,p){return bt(t)&&bt(r)&&(p.set(r,t),ts(t,r,i,rf,p),p.delete(r)),t}function My(t){return Gr(t)?i:t}function sf(t,r,s,u,f,p){var g=s&x,y=t.length,w=r.length;if(y!=w&&!(g&&w>y))return!1;var N=p.get(t),M=p.get(r);if(N&&M)return N==r&&M==t;var z=-1,W=!0,G=s&C?new Mn:i;for(p.set(t,r),p.set(r,t);++z<y;){var Y=t[z],nt=r[z];if(u)var X=g?u(nt,Y,z,r,t,p):u(Y,nt,z,t,r,p);if(X!==i){if(X)continue;W=!1;break}if(G){if(!Ro(r,function(st,lt){if(!Ir(G,lt)&&(Y===st||f(Y,st,s,u,p)))return G.push(lt)})){W=!1;break}}else if(!(Y===nt||f(Y,nt,s,u,p))){W=!1;break}}return p.delete(t),p.delete(r),W}function Dy(t,r,s,u,f,p,g){switch(s){case Gn:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case Rr:return!(t.byteLength!=r.byteLength||!p(new Bi(t),new Bi(r)));case qt:case Or:case Tr:return Te(+t,+r);case ki:return t.name==r.name&&t.message==r.message;case kr:case Cr:return t==r+"";case we:var y=Do;case xe:var w=u&x;if(y||(y=Mi),t.size!=r.size&&!w)return!1;var N=g.get(t);if(N)return N==r;u|=C,g.set(t,r);var M=sf(y(t),y(r),u,f,p,g);return g.delete(t),M;case Ai:if(Dr)return Dr.call(t)==Dr.call(r)}return!1}function Fy(t,r,s,u,f,p){var g=s&x,y=ul(t),w=y.length,N=ul(r),M=N.length;if(w!=M&&!g)return!1;for(var z=w;z--;){var W=y[z];if(!(g?W in r:ct.call(r,W)))return!1}var G=p.get(t),Y=p.get(r);if(G&&Y)return G==r&&Y==t;var nt=!0;p.set(t,r),p.set(r,t);for(var X=g;++z<w;){W=y[z];var st=t[W],lt=r[W];if(u)var ie=g?u(lt,st,W,r,t,p):u(st,lt,W,t,r,p);if(!(ie===i?st===lt||f(st,lt,s,u,p):ie)){nt=!1;break}X||(X=W=="constructor")}if(nt&&!X){var Wt=t.constructor,se=r.constructor;Wt!=se&&"constructor"in t&&"constructor"in r&&!(typeof Wt=="function"&&Wt instanceof Wt&&typeof se=="function"&&se instanceof se)&&(nt=!1)}return p.delete(t),p.delete(r),nt}function Ve(t){return ml(ff(t,i,bf),t+"")}function ul(t){return xh(t,Nt,cl)}function al(t){return xh(t,Yt,of)}var hl=Vi?function(t){return Vi.get(t)}:Cl;function us(t){for(var r=t.name+"",s=tr[r],u=ct.call(tr,r)?s.length:0;u--;){var f=s[u],p=f.func;if(p==null||p==t)return f.name}return r}function ir(t){var r=ct.call(c,"placeholder")?c:t;return r.placeholder}function V(){var t=c.iteratee||Tl;return t=t===Tl?Th:t,arguments.length?t(arguments[0],arguments[1]):t}function as(t,r){var s=t.__data__;return Gy(r)?s[typeof r=="string"?"string":"hash"]:s.map}function fl(t){for(var r=Nt(t),s=r.length;s--;){var u=r[s],f=t[u];r[s]=[u,f,af(f)]}return r}function zn(t,r){var s=Yv(t,r);return Oh(s)?s:i}function zy(t){var r=ct.call(t,Pn),s=t[Pn];try{t[Pn]=i;var u=!0}catch{}var f=qi.call(t);return u&&(r?t[Pn]=s:delete t[Pn]),f}var cl=zo?function(t){return t==null?[]:(t=dt(t),ln(zo(t),function(r){return fh.call(t,r)}))}:Al,of=zo?function(t){for(var r=[];t;)un(r,cl(t)),t=Wi(t);return r}:Al,Ft=Ut;(qo&&Ft(new qo(new ArrayBuffer(1)))!=Gn||Pr&&Ft(new Pr)!=we||Uo&&Ft(Uo.resolve())!=$a||Qn&&Ft(new Qn)!=xe||Lr&&Ft(new Lr)!=Ar)&&(Ft=function(t){var r=Ut(t),s=r==We?t.constructor:i,u=s?qn(s):"";if(u)switch(u){case $_:return Gn;case S_:return we;case w_:return $a;case x_:return xe;case E_:return Ar}return r});function qy(t,r,s){for(var u=-1,f=s.length;++u<f;){var p=s[u],g=p.size;switch(p.type){case"drop":t+=g;break;case"dropRight":r-=g;break;case"take":r=Dt(r,t+g);break;case"takeRight":t=Rt(t,r-g);break}}return{start:t,end:r}}function Uy(t){var r=t.match(K0);return r?r[1].split(V0):[]}function lf(t,r,s){r=pn(r,t);for(var u=-1,f=r.length,p=!1;++u<f;){var g=Pe(r[u]);if(!(p=t!=null&&s(t,g)))break;t=t[g]}return p||++u!=f?p:(f=t==null?0:t.length,!!f&&ms(f)&&Ye(g,f)&&(Q(t)||Un(t)))}function By(t){var r=t.length,s=new t.constructor(r);return r&&typeof t[0]=="string"&&ct.call(t,"index")&&(s.index=t.index,s.input=t.input),s}function uf(t){return typeof t.constructor=="function"&&!Hr(t)?er(Wi(t)):{}}function Wy(t,r,s){var u=t.constructor;switch(r){case Rr:return sl(t);case qt:case Or:return new u(+t);case Gn:return Oy(t,s);case ho:case fo:case co:case po:case go:case mo:case vo:case _o:case yo:return Wh(t,s);case we:return new u;case Tr:case Cr:return new u(t);case kr:return Ty(t);case xe:return new u;case Ai:return ky(t)}}function Hy(t,r){var s=r.length;if(!s)return t;var u=s-1;return r[u]=(s>1?"& ":"")+r[u],r=r.join(s>2?", ":" "),t.replace(G0,`{
/* [wrapped with `+r+`] */
`)}function jy(t){return Q(t)||Un(t)||!!(ch&&t&&t[ch])}function Ye(t,r){var s=typeof t;return r=r==null?it:r,!!r&&(s=="number"||s!="symbol"&&rv.test(t))&&t>-1&&t%1==0&&t<r}function Bt(t,r,s){if(!bt(s))return!1;var u=typeof r;return(u=="number"?Vt(s)&&Ye(r,s.length):u=="string"&&r in s)?Te(s[r],t):!1}function pl(t,r){if(Q(t))return!1;var s=typeof t;return s=="number"||s=="symbol"||s=="boolean"||t==null||re(t)?!0:B0.test(t)||!U0.test(t)||r!=null&&t in dt(r)}function Gy(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function dl(t){var r=us(t),s=c[r];if(typeof s!="function"||!(r in ot.prototype))return!1;if(t===s)return!0;var u=hl(s);return!!u&&t===u[0]}function Ky(t){return!!uh&&uh in t}var Vy=Fi?Xe:Rl;function Hr(t){var r=t&&t.constructor,s=typeof r=="function"&&r.prototype||Jn;return t===s}function af(t){return t===t&&!bt(t)}function hf(t,r){return function(s){return s==null?!1:s[t]===r&&(r!==i||t in dt(s))}}function Yy(t){var r=ds(t,function(u){return s.size===b&&s.clear(),u}),s=r.cache;return r}function Xy(t,r){var s=t[1],u=r[1],f=s|u,p=f<(D|k|q),g=u==q&&s==B||u==q&&s==U&&t[7].length<=r[8]||u==(q|U)&&r[7].length<=r[8]&&s==B;if(!(p||g))return t;u&D&&(t[2]=r[2],f|=s&D?0:F);var y=r[3];if(y){var w=t[3];t[3]=w?jh(w,y,r[4]):y,t[4]=w?an(t[3],v):r[4]}return y=r[5],y&&(w=t[5],t[5]=w?Gh(w,y,r[6]):y,t[6]=w?an(t[5],v):r[6]),y=r[7],y&&(t[7]=y),u&q&&(t[8]=t[8]==null?r[8]:Dt(t[8],r[8])),t[9]==null&&(t[9]=r[9]),t[0]=r[0],t[1]=f,t}function Zy(t){var r=[];if(t!=null)for(var s in dt(t))r.push(s);return r}function Jy(t){return qi.call(t)}function ff(t,r,s){return r=Rt(r===i?t.length-1:r,0),function(){for(var u=arguments,f=-1,p=Rt(u.length-r,0),g=T(p);++f<p;)g[f]=u[r+f];f=-1;for(var y=T(r+1);++f<r;)y[f]=u[f];return y[r]=s(g),te(t,this,y)}}function cf(t,r){return r.length<2?t:Fn(t,ge(r,0,-1))}function Qy(t,r){for(var s=t.length,u=Dt(r.length,s),f=Kt(t);u--;){var p=r[u];t[u]=Ye(p,s)?f[p]:i}return t}function gl(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}var pf=gf(Lh),jr=d_||function(t,r){return Lt.setTimeout(t,r)},ml=gf(Sy);function df(t,r,s){var u=r+"";return ml(t,Hy(u,t1(Uy(u),s)))}function gf(t){var r=0,s=0;return function(){var u=__(),f=pt-(u-s);if(s=u,f>0){if(++r>=ut)return arguments[0]}else r=0;return t.apply(i,arguments)}}function hs(t,r){var s=-1,u=t.length,f=u-1;for(r=r===i?u:r;++s<r;){var p=Jo(s,f),g=t[p];t[p]=t[s],t[s]=g}return t.length=r,t}var mf=Yy(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(W0,function(s,u,f,p){r.push(f?p.replace(Z0,"$1"):u||s)}),r});function Pe(t){if(typeof t=="string"||re(t))return t;var r=t+"";return r=="0"&&1/t==-xt?"-0":r}function qn(t){if(t!=null){try{return zi.call(t)}catch{}try{return t+""}catch{}}return""}function t1(t,r){return fe(on,function(s){var u="_."+s[0];r&s[1]&&!Pi(t,u)&&t.push(u)}),t.sort()}function vf(t){if(t instanceof ot)return t.clone();var r=new pe(t.__wrapped__,t.__chain__);return r.__actions__=Kt(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r}function e1(t,r,s){(s?Bt(t,r,s):r===i)?r=1:r=Rt(et(r),0);var u=t==null?0:t.length;if(!u||r<1)return[];for(var f=0,p=0,g=T(Gi(u/r));f<u;)g[p++]=ge(t,f,f+=r);return g}function n1(t){for(var r=-1,s=t==null?0:t.length,u=0,f=[];++r<s;){var p=t[r];p&&(f[u++]=p)}return f}function r1(){var t=arguments.length;if(!t)return[];for(var r=T(t-1),s=arguments[0],u=t;u--;)r[u-1]=arguments[u];return un(Q(s)?Kt(s):[s],Mt(r,1))}var i1=rt(function(t,r){return St(t)?zr(t,Mt(r,1,St,!0)):[]}),s1=rt(function(t,r){var s=me(r);return St(s)&&(s=i),St(t)?zr(t,Mt(r,1,St,!0),V(s,2)):[]}),o1=rt(function(t,r){var s=me(r);return St(s)&&(s=i),St(t)?zr(t,Mt(r,1,St,!0),i,s):[]});function l1(t,r,s){var u=t==null?0:t.length;return u?(r=s||r===i?1:et(r),ge(t,r<0?0:r,u)):[]}function u1(t,r,s){var u=t==null?0:t.length;return u?(r=s||r===i?1:et(r),r=u-r,ge(t,0,r<0?0:r)):[]}function a1(t,r){return t&&t.length?ns(t,V(r,3),!0,!0):[]}function h1(t,r){return t&&t.length?ns(t,V(r,3),!0):[]}function f1(t,r,s,u){var f=t==null?0:t.length;return f?(s&&typeof s!="number"&&Bt(t,r,s)&&(s=0,u=f),ry(t,r,s,u)):[]}function _f(t,r,s){var u=t==null?0:t.length;if(!u)return-1;var f=s==null?0:et(s);return f<0&&(f=Rt(u+f,0)),Li(t,V(r,3),f)}function yf(t,r,s){var u=t==null?0:t.length;if(!u)return-1;var f=u-1;return s!==i&&(f=et(s),f=s<0?Rt(u+f,0):Dt(f,u-1)),Li(t,V(r,3),f,!0)}function bf(t){var r=t==null?0:t.length;return r?Mt(t,1):[]}function c1(t){var r=t==null?0:t.length;return r?Mt(t,xt):[]}function p1(t,r){var s=t==null?0:t.length;return s?(r=r===i?1:et(r),Mt(t,r)):[]}function d1(t){for(var r=-1,s=t==null?0:t.length,u={};++r<s;){var f=t[r];u[f[0]]=f[1]}return u}function $f(t){return t&&t.length?t[0]:i}function g1(t,r,s){var u=t==null?0:t.length;if(!u)return-1;var f=s==null?0:et(s);return f<0&&(f=Rt(u+f,0)),Vn(t,r,f)}function m1(t){var r=t==null?0:t.length;return r?ge(t,0,-1):[]}var v1=rt(function(t){var r=_t(t,rl);return r.length&&r[0]===t[0]?Ko(r):[]}),_1=rt(function(t){var r=me(t),s=_t(t,rl);return r===me(s)?r=i:s.pop(),s.length&&s[0]===t[0]?Ko(s,V(r,2)):[]}),y1=rt(function(t){var r=me(t),s=_t(t,rl);return r=typeof r=="function"?r:i,r&&s.pop(),s.length&&s[0]===t[0]?Ko(s,i,r):[]});function b1(t,r){return t==null?"":m_.call(t,r)}function me(t){var r=t==null?0:t.length;return r?t[r-1]:i}function $1(t,r,s){var u=t==null?0:t.length;if(!u)return-1;var f=u;return s!==i&&(f=et(s),f=f<0?Rt(u+f,0):Dt(f,u-1)),r===r?t_(t,r,f):Li(t,th,f,!0)}function S1(t,r){return t&&t.length?Rh(t,et(r)):i}var w1=rt(Sf);function Sf(t,r){return t&&t.length&&r&&r.length?Zo(t,r):t}function x1(t,r,s){return t&&t.length&&r&&r.length?Zo(t,r,V(s,2)):t}function E1(t,r,s){return t&&t.length&&r&&r.length?Zo(t,r,i,s):t}var O1=Ve(function(t,r){var s=t==null?0:t.length,u=Wo(t,r);return Ph(t,_t(r,function(f){return Ye(f,s)?+f:f}).sort(Hh)),u});function T1(t,r){var s=[];if(!(t&&t.length))return s;var u=-1,f=[],p=t.length;for(r=V(r,3);++u<p;){var g=t[u];r(g,u,t)&&(s.push(g),f.push(u))}return Ph(t,f),s}function vl(t){return t==null?t:b_.call(t)}function k1(t,r,s){var u=t==null?0:t.length;return u?(s&&typeof s!="number"&&Bt(t,r,s)?(r=0,s=u):(r=r==null?0:et(r),s=s===i?u:et(s)),ge(t,r,s)):[]}function C1(t,r){return es(t,r)}function A1(t,r,s){return tl(t,r,V(s,2))}function R1(t,r){var s=t==null?0:t.length;if(s){var u=es(t,r);if(u<s&&Te(t[u],r))return u}return-1}function I1(t,r){return es(t,r,!0)}function N1(t,r,s){return tl(t,r,V(s,2),!0)}function P1(t,r){var s=t==null?0:t.length;if(s){var u=es(t,r,!0)-1;if(Te(t[u],r))return u}return-1}function L1(t){return t&&t.length?Mh(t):[]}function M1(t,r){return t&&t.length?Mh(t,V(r,2)):[]}function D1(t){var r=t==null?0:t.length;return r?ge(t,1,r):[]}function F1(t,r,s){return t&&t.length?(r=s||r===i?1:et(r),ge(t,0,r<0?0:r)):[]}function z1(t,r,s){var u=t==null?0:t.length;return u?(r=s||r===i?1:et(r),r=u-r,ge(t,r<0?0:r,u)):[]}function q1(t,r){return t&&t.length?ns(t,V(r,3),!1,!0):[]}function U1(t,r){return t&&t.length?ns(t,V(r,3)):[]}var B1=rt(function(t){return cn(Mt(t,1,St,!0))}),W1=rt(function(t){var r=me(t);return St(r)&&(r=i),cn(Mt(t,1,St,!0),V(r,2))}),H1=rt(function(t){var r=me(t);return r=typeof r=="function"?r:i,cn(Mt(t,1,St,!0),i,r)});function j1(t){return t&&t.length?cn(t):[]}function G1(t,r){return t&&t.length?cn(t,V(r,2)):[]}function K1(t,r){return r=typeof r=="function"?r:i,t&&t.length?cn(t,i,r):[]}function _l(t){if(!(t&&t.length))return[];var r=0;return t=ln(t,function(s){if(St(s))return r=Rt(s.length,r),!0}),Lo(r,function(s){return _t(t,Io(s))})}function wf(t,r){if(!(t&&t.length))return[];var s=_l(t);return r==null?s:_t(s,function(u){return te(r,i,u)})}var V1=rt(function(t,r){return St(t)?zr(t,r):[]}),Y1=rt(function(t){return nl(ln(t,St))}),X1=rt(function(t){var r=me(t);return St(r)&&(r=i),nl(ln(t,St),V(r,2))}),Z1=rt(function(t){var r=me(t);return r=typeof r=="function"?r:i,nl(ln(t,St),i,r)}),J1=rt(_l);function Q1(t,r){return qh(t||[],r||[],Fr)}function tb(t,r){return qh(t||[],r||[],Br)}var eb=rt(function(t){var r=t.length,s=r>1?t[r-1]:i;return s=typeof s=="function"?(t.pop(),s):i,wf(t,s)});function xf(t){var r=c(t);return r.__chain__=!0,r}function nb(t,r){return r(t),t}function fs(t,r){return r(t)}var rb=Ve(function(t){var r=t.length,s=r?t[0]:0,u=this.__wrapped__,f=function(p){return Wo(p,t)};return r>1||this.__actions__.length||!(u instanceof ot)||!Ye(s)?this.thru(f):(u=u.slice(s,+s+(r?1:0)),u.__actions__.push({func:fs,args:[f],thisArg:i}),new pe(u,this.__chain__).thru(function(p){return r&&!p.length&&p.push(i),p}))});function ib(){return xf(this)}function sb(){return new pe(this.value(),this.__chain__)}function ob(){this.__values__===i&&(this.__values__=Ff(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}}function lb(){return this}function ub(t){for(var r,s=this;s instanceof Xi;){var u=vf(s);u.__index__=0,u.__values__=i,r?f.__wrapped__=u:r=u;var f=u;s=s.__wrapped__}return f.__wrapped__=t,r}function ab(){var t=this.__wrapped__;if(t instanceof ot){var r=t;return this.__actions__.length&&(r=new ot(this)),r=r.reverse(),r.__actions__.push({func:fs,args:[vl],thisArg:i}),new pe(r,this.__chain__)}return this.thru(vl)}function hb(){return zh(this.__wrapped__,this.__actions__)}var fb=rs(function(t,r,s){ct.call(t,s)?++t[s]:Ge(t,s,1)});function cb(t,r,s){var u=Q(t)?Ja:ny;return s&&Bt(t,r,s)&&(r=i),u(t,V(r,3))}function pb(t,r){var s=Q(t)?ln:Sh;return s(t,V(r,3))}var db=Xh(_f),gb=Xh(yf);function mb(t,r){return Mt(cs(t,r),1)}function vb(t,r){return Mt(cs(t,r),xt)}function _b(t,r,s){return s=s===i?1:et(s),Mt(cs(t,r),s)}function Ef(t,r){var s=Q(t)?fe:fn;return s(t,V(r,3))}function Of(t,r){var s=Q(t)?Dv:$h;return s(t,V(r,3))}var yb=rs(function(t,r,s){ct.call(t,s)?t[s].push(r):Ge(t,s,[r])});function bb(t,r,s,u){t=Vt(t)?t:or(t),s=s&&!u?et(s):0;var f=t.length;return s<0&&(s=Rt(f+s,0)),vs(t)?s<=f&&t.indexOf(r,s)>-1:!!f&&Vn(t,r,s)>-1}var $b=rt(function(t,r,s){var u=-1,f=typeof r=="function",p=Vt(t)?T(t.length):[];return fn(t,function(g){p[++u]=f?te(r,g,s):qr(g,r,s)}),p}),Sb=rs(function(t,r,s){Ge(t,s,r)});function cs(t,r){var s=Q(t)?_t:kh;return s(t,V(r,3))}function wb(t,r,s,u){return t==null?[]:(Q(r)||(r=r==null?[]:[r]),s=u?i:s,Q(s)||(s=s==null?[]:[s]),Ih(t,r,s))}var xb=rs(function(t,r,s){t[s?0:1].push(r)},function(){return[[],[]]});function Eb(t,r,s){var u=Q(t)?Ao:nh,f=arguments.length<3;return u(t,V(r,4),s,f,fn)}function Ob(t,r,s){var u=Q(t)?Fv:nh,f=arguments.length<3;return u(t,V(r,4),s,f,$h)}function Tb(t,r){var s=Q(t)?ln:Sh;return s(t,gs(V(r,3)))}function kb(t){var r=Q(t)?vh:by;return r(t)}function Cb(t,r,s){(s?Bt(t,r,s):r===i)?r=1:r=et(r);var u=Q(t)?Z_:$y;return u(t,r)}function Ab(t){var r=Q(t)?J_:wy;return r(t)}function Rb(t){if(t==null)return 0;if(Vt(t))return vs(t)?Xn(t):t.length;var r=Ft(t);return r==we||r==xe?t.size:Yo(t).length}function Ib(t,r,s){var u=Q(t)?Ro:xy;return s&&Bt(t,r,s)&&(r=i),u(t,V(r,3))}var Nb=rt(function(t,r){if(t==null)return[];var s=r.length;return s>1&&Bt(t,r[0],r[1])?r=[]:s>2&&Bt(r[0],r[1],r[2])&&(r=[r[0]]),Ih(t,Mt(r,1),[])}),ps=p_||function(){return Lt.Date.now()};function Pb(t,r){if(typeof r!="function")throw new ce(h);return t=et(t),function(){if(--t<1)return r.apply(this,arguments)}}function Tf(t,r,s){return r=s?i:r,r=t&&r==null?t.length:r,Ke(t,q,i,i,i,i,r)}function kf(t,r){var s;if(typeof r!="function")throw new ce(h);return t=et(t),function(){return--t>0&&(s=r.apply(this,arguments)),t<=1&&(r=i),s}}var yl=rt(function(t,r,s){var u=D;if(s.length){var f=an(s,ir(yl));u|=O}return Ke(t,u,r,s,f)}),Cf=rt(function(t,r,s){var u=D|k;if(s.length){var f=an(s,ir(Cf));u|=O}return Ke(r,u,t,s,f)});function Af(t,r,s){r=s?i:r;var u=Ke(t,B,i,i,i,i,i,r);return u.placeholder=Af.placeholder,u}function Rf(t,r,s){r=s?i:r;var u=Ke(t,E,i,i,i,i,i,r);return u.placeholder=Rf.placeholder,u}function If(t,r,s){var u,f,p,g,y,w,N=0,M=!1,z=!1,W=!0;if(typeof t!="function")throw new ce(h);r=ve(r)||0,bt(s)&&(M=!!s.leading,z="maxWait"in s,p=z?Rt(ve(s.maxWait)||0,r):p,W="trailing"in s?!!s.trailing:W);function G(wt){var ke=u,Je=f;return u=f=i,N=wt,g=t.apply(Je,ke),g}function Y(wt){return N=wt,y=jr(st,r),M?G(wt):g}function nt(wt){var ke=wt-w,Je=wt-N,Zf=r-ke;return z?Dt(Zf,p-Je):Zf}function X(wt){var ke=wt-w,Je=wt-N;return w===i||ke>=r||ke<0||z&&Je>=p}function st(){var wt=ps();if(X(wt))return lt(wt);y=jr(st,nt(wt))}function lt(wt){return y=i,W&&u?G(wt):(u=f=i,g)}function ie(){y!==i&&Uh(y),N=0,u=w=f=y=i}function Wt(){return y===i?g:lt(ps())}function se(){var wt=ps(),ke=X(wt);if(u=arguments,f=this,w=wt,ke){if(y===i)return Y(w);if(z)return Uh(y),y=jr(st,r),G(w)}return y===i&&(y=jr(st,r)),g}return se.cancel=ie,se.flush=Wt,se}var Lb=rt(function(t,r){return bh(t,1,r)}),Mb=rt(function(t,r,s){return bh(t,ve(r)||0,s)});function Db(t){return Ke(t,H)}function ds(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new ce(h);var s=function(){var u=arguments,f=r?r.apply(this,u):u[0],p=s.cache;if(p.has(f))return p.get(f);var g=t.apply(this,u);return s.cache=p.set(f,g)||p,g};return s.cache=new(ds.Cache||je),s}ds.Cache=je;function gs(t){if(typeof t!="function")throw new ce(h);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 Fb(t){return kf(2,t)}var zb=Ey(function(t,r){r=r.length==1&&Q(r[0])?_t(r[0],ee(V())):_t(Mt(r,1),ee(V()));var s=r.length;return rt(function(u){for(var f=-1,p=Dt(u.length,s);++f<p;)u[f]=r[f].call(this,u[f]);return te(t,this,u)})}),bl=rt(function(t,r){var s=an(r,ir(bl));return Ke(t,O,i,r,s)}),Nf=rt(function(t,r){var s=an(r,ir(Nf));return Ke(t,P,i,r,s)}),qb=Ve(function(t,r){return Ke(t,U,i,i,i,r)});function Ub(t,r){if(typeof t!="function")throw new ce(h);return r=r===i?r:et(r),rt(t,r)}function Bb(t,r){if(typeof t!="function")throw new ce(h);return r=r==null?0:Rt(et(r),0),rt(function(s){var u=s[r],f=dn(s,0,r);return u&&un(f,u),te(t,this,f)})}function Wb(t,r,s){var u=!0,f=!0;if(typeof t!="function")throw new ce(h);return bt(s)&&(u="leading"in s?!!s.leading:u,f="trailing"in s?!!s.trailing:f),If(t,r,{leading:u,maxWait:r,trailing:f})}function Hb(t){return Tf(t,1)}function jb(t,r){return bl(il(r),t)}function Gb(){if(!arguments.length)return[];var t=arguments[0];return Q(t)?t:[t]}function Kb(t){return de(t,I)}function Vb(t,r){return r=typeof r=="function"?r:i,de(t,I,r)}function Yb(t){return de(t,S|I)}function Xb(t,r){return r=typeof r=="function"?r:i,de(t,S|I,r)}function Zb(t,r){return r==null||yh(t,r,Nt(r))}function Te(t,r){return t===r||t!==t&&r!==r}var Jb=ls(Go),Qb=ls(function(t,r){return t>=r}),Un=Eh(function(){return arguments}())?Eh:function(t){return $t(t)&&ct.call(t,"callee")&&!fh.call(t,"callee")},Q=T.isArray,t$=Ga?ee(Ga):uy;function Vt(t){return t!=null&&ms(t.length)&&!Xe(t)}function St(t){return $t(t)&&Vt(t)}function e$(t){return t===!0||t===!1||$t(t)&&Ut(t)==qt}var gn=g_||Rl,n$=Ka?ee(Ka):ay;function r$(t){return $t(t)&&t.nodeType===1&&!Gr(t)}function i$(t){if(t==null)return!0;if(Vt(t)&&(Q(t)||typeof t=="string"||typeof t.splice=="function"||gn(t)||sr(t)||Un(t)))return!t.length;var r=Ft(t);if(r==we||r==xe)return!t.size;if(Hr(t))return!Yo(t).length;for(var s in t)if(ct.call(t,s))return!1;return!0}function s$(t,r){return Ur(t,r)}function o$(t,r,s){s=typeof s=="function"?s:i;var u=s?s(t,r):i;return u===i?Ur(t,r,i,s):!!u}function $l(t){if(!$t(t))return!1;var r=Ut(t);return r==ki||r==C0||typeof t.message=="string"&&typeof t.name=="string"&&!Gr(t)}function l$(t){return typeof t=="number"&&ph(t)}function Xe(t){if(!bt(t))return!1;var r=Ut(t);return r==Ci||r==ba||r==ae||r==R0}function Pf(t){return typeof t=="number"&&t==et(t)}function ms(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=it}function bt(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function $t(t){return t!=null&&typeof t=="object"}var Lf=Va?ee(Va):fy;function u$(t,r){return t===r||Vo(t,r,fl(r))}function a$(t,r,s){return s=typeof s=="function"?s:i,Vo(t,r,fl(r),s)}function h$(t){return Mf(t)&&t!=+t}function f$(t){if(Vy(t))throw new J(a);return Oh(t)}function c$(t){return t===null}function p$(t){return t==null}function Mf(t){return typeof t=="number"||$t(t)&&Ut(t)==Tr}function Gr(t){if(!$t(t)||Ut(t)!=We)return!1;var r=Wi(t);if(r===null)return!0;var s=ct.call(r,"constructor")&&r.constructor;return typeof s=="function"&&s instanceof s&&zi.call(s)==a_}var Sl=Ya?ee(Ya):cy;function d$(t){return Pf(t)&&t>=-it&&t<=it}var Df=Xa?ee(Xa):py;function vs(t){return typeof t=="string"||!Q(t)&&$t(t)&&Ut(t)==Cr}function re(t){return typeof t=="symbol"||$t(t)&&Ut(t)==Ai}var sr=Za?ee(Za):dy;function g$(t){return t===i}function m$(t){return $t(t)&&Ft(t)==Ar}function v$(t){return $t(t)&&Ut(t)==N0}var _$=ls(Xo),y$=ls(function(t,r){return t<=r});function Ff(t){if(!t)return[];if(Vt(t))return vs(t)?Ee(t):Kt(t);if(Nr&&t[Nr])return Zv(t[Nr]());var r=Ft(t),s=r==we?Do:r==xe?Mi:or;return s(t)}function Ze(t){if(!t)return t===0?t:0;if(t=ve(t),t===xt||t===-xt){var r=t<0?-1:1;return r*Et}return t===t?t:0}function et(t){var r=Ze(t),s=r%1;return r===r?s?r-s:r:0}function zf(t){return t?Dn(et(t),0,Ot):0}function ve(t){if(typeof t=="number")return t;if(re(t))return Ct;if(bt(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=bt(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=rh(t);var s=tv.test(t);return s||nv.test(t)?Pv(t.slice(2),s?2:8):Q0.test(t)?Ct:+t}function qf(t){return Ne(t,Yt(t))}function b$(t){return t?Dn(et(t),-it,it):t===0?t:0}function ft(t){return t==null?"":ne(t)}var $$=nr(function(t,r){if(Hr(r)||Vt(r)){Ne(r,Nt(r),t);return}for(var s in r)ct.call(r,s)&&Fr(t,s,r[s])}),Uf=nr(function(t,r){Ne(r,Yt(r),t)}),_s=nr(function(t,r,s,u){Ne(r,Yt(r),t,u)}),S$=nr(function(t,r,s,u){Ne(r,Nt(r),t,u)}),w$=Ve(Wo);function x$(t,r){var s=er(t);return r==null?s:_h(s,r)}var E$=rt(function(t,r){t=dt(t);var s=-1,u=r.length,f=u>2?r[2]:i;for(f&&Bt(r[0],r[1],f)&&(u=1);++s<u;)for(var p=r[s],g=Yt(p),y=-1,w=g.length;++y<w;){var N=g[y],M=t[N];(M===i||Te(M,Jn[N])&&!ct.call(t,N))&&(t[N]=p[N])}return t}),O$=rt(function(t){return t.push(i,rf),te(Bf,i,t)});function T$(t,r){return Qa(t,V(r,3),Ie)}function k$(t,r){return Qa(t,V(r,3),jo)}function C$(t,r){return t==null?t:Ho(t,V(r,3),Yt)}function A$(t,r){return t==null?t:wh(t,V(r,3),Yt)}function R$(t,r){return t&&Ie(t,V(r,3))}function I$(t,r){return t&&jo(t,V(r,3))}function N$(t){return t==null?[]:Qi(t,Nt(t))}function P$(t){return t==null?[]:Qi(t,Yt(t))}function wl(t,r,s){var u=t==null?i:Fn(t,r);return u===i?s:u}function L$(t,r){return t!=null&&lf(t,r,iy)}function xl(t,r){return t!=null&&lf(t,r,sy)}var M$=Jh(function(t,r,s){r!=null&&typeof r.toString!="function"&&(r=qi.call(r)),t[r]=s},Ol(Xt)),D$=Jh(function(t,r,s){r!=null&&typeof r.toString!="function"&&(r=qi.call(r)),ct.call(t,r)?t[r].push(s):t[r]=[s]},V),F$=rt(qr);function Nt(t){return Vt(t)?mh(t):Yo(t)}function Yt(t){return Vt(t)?mh(t,!0):gy(t)}function z$(t,r){var s={};return r=V(r,3),Ie(t,function(u,f,p){Ge(s,r(u,f,p),u)}),s}function q$(t,r){var s={};return r=V(r,3),Ie(t,function(u,f,p){Ge(s,f,r(u,f,p))}),s}var U$=nr(function(t,r,s){ts(t,r,s)}),Bf=nr(function(t,r,s,u){ts(t,r,s,u)}),B$=Ve(function(t,r){var s={};if(t==null)return s;var u=!1;r=_t(r,function(p){return p=pn(p,t),u||(u=p.length>1),p}),Ne(t,al(t),s),u&&(s=de(s,S|R|I,My));for(var f=r.length;f--;)el(s,r[f]);return s});function W$(t,r){return Wf(t,gs(V(r)))}var H$=Ve(function(t,r){return t==null?{}:vy(t,r)});function Wf(t,r){if(t==null)return{};var s=_t(al(t),function(u){return[u]});return r=V(r),Nh(t,s,function(u,f){return r(u,f[0])})}function j$(t,r,s){r=pn(r,t);var u=-1,f=r.length;for(f||(f=1,t=i);++u<f;){var p=t==null?i:t[Pe(r[u])];p===i&&(u=f,p=s),t=Xe(p)?p.call(t):p}return t}function G$(t,r,s){return t==null?t:Br(t,r,s)}function K$(t,r,s,u){return u=typeof u=="function"?u:i,t==null?t:Br(t,r,s,u)}var Hf=ef(Nt),jf=ef(Yt);function V$(t,r,s){var u=Q(t),f=u||gn(t)||sr(t);if(r=V(r,4),s==null){var p=t&&t.constructor;f?s=u?new p:[]:bt(t)?s=Xe(p)?er(Wi(t)):{}:s={}}return(f?fe:Ie)(t,function(g,y,w){return r(s,g,y,w)}),s}function Y$(t,r){return t==null?!0:el(t,r)}function X$(t,r,s){return t==null?t:Fh(t,r,il(s))}function Z$(t,r,s,u){return u=typeof u=="function"?u:i,t==null?t:Fh(t,r,il(s),u)}function or(t){return t==null?[]:Mo(t,Nt(t))}function J$(t){return t==null?[]:Mo(t,Yt(t))}function Q$(t,r,s){return s===i&&(s=r,r=i),s!==i&&(s=ve(s),s=s===s?s:0),r!==i&&(r=ve(r),r=r===r?r:0),Dn(ve(t),r,s)}function tS(t,r,s){return r=Ze(r),s===i?(s=r,r=0):s=Ze(s),t=ve(t),oy(t,r,s)}function eS(t,r,s){if(s&&typeof s!="boolean"&&Bt(t,r,s)&&(r=s=i),s===i&&(typeof r=="boolean"?(s=r,r=i):typeof t=="boolean"&&(s=t,t=i)),t===i&&r===i?(t=0,r=1):(t=Ze(t),r===i?(r=t,t=0):r=Ze(r)),t>r){var u=t;t=r,r=u}if(s||t%1||r%1){var f=dh();return Dt(t+f*(r-t+Nv("1e-"+((f+"").length-1))),r)}return Jo(t,r)}var nS=rr(function(t,r,s){return r=r.toLowerCase(),t+(s?Gf(r):r)});function Gf(t){return El(ft(t).toLowerCase())}function Kf(t){return t=ft(t),t&&t.replace(iv,Gv).replace(wv,"")}function rS(t,r,s){t=ft(t),r=ne(r);var u=t.length;s=s===i?u:Dn(et(s),0,u);var f=s;return s-=r.length,s>=0&&t.slice(s,f)==r}function iS(t){return t=ft(t),t&&F0.test(t)?t.replace(wa,Kv):t}function sS(t){return t=ft(t),t&&H0.test(t)?t.replace(bo,"\\$&"):t}var oS=rr(function(t,r,s){return t+(s?"-":"")+r.toLowerCase()}),lS=rr(function(t,r,s){return t+(s?" ":"")+r.toLowerCase()}),uS=Yh("toLowerCase");function aS(t,r,s){t=ft(t),r=et(r);var u=r?Xn(t):0;if(!r||u>=r)return t;var f=(r-u)/2;return os(Ki(f),s)+t+os(Gi(f),s)}function hS(t,r,s){t=ft(t),r=et(r);var u=r?Xn(t):0;return r&&u<r?t+os(r-u,s):t}function fS(t,r,s){t=ft(t),r=et(r);var u=r?Xn(t):0;return r&&u<r?os(r-u,s)+t:t}function cS(t,r,s){return s||r==null?r=0:r&&(r=+r),y_(ft(t).replace($o,""),r||0)}function pS(t,r,s){return(s?Bt(t,r,s):r===i)?r=1:r=et(r),Qo(ft(t),r)}function dS(){var t=arguments,r=ft(t[0]);return t.length<3?r:r.replace(t[1],t[2])}var gS=rr(function(t,r,s){return t+(s?"_":"")+r.toLowerCase()});function mS(t,r,s){return s&&typeof s!="number"&&Bt(t,r,s)&&(r=s=i),s=s===i?Ot:s>>>0,s?(t=ft(t),t&&(typeof r=="string"||r!=null&&!Sl(r))&&(r=ne(r),!r&&Yn(t))?dn(Ee(t),0,s):t.split(r,s)):[]}var vS=rr(function(t,r,s){return t+(s?" ":"")+El(r)});function _S(t,r,s){return t=ft(t),s=s==null?0:Dn(et(s),0,t.length),r=ne(r),t.slice(s,s+r.length)==r}function yS(t,r,s){var u=c.templateSettings;s&&Bt(t,r,s)&&(r=i),t=ft(t),r=_s({},r,u,nf);var f=_s({},r.imports,u.imports,nf),p=Nt(f),g=Mo(f,p),y,w,N=0,M=r.interpolate||Ri,z="__p += '",W=Fo((r.escape||Ri).source+"|"+M.source+"|"+(M===xa?J0:Ri).source+"|"+(r.evaluate||Ri).source+"|$","g"),G="//# sourceURL="+(ct.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kv+"]")+`
`;t.replace(W,function(X,st,lt,ie,Wt,se){return lt||(lt=ie),z+=t.slice(N,se).replace(sv,Vv),st&&(y=!0,z+=`' +
__e(`+st+`) +
'`),Wt&&(w=!0,z+=`';
`+Wt+`;
__p += '`),lt&&(z+=`' +
((__t = (`+lt+`)) == null ? '' : __t) +
'`),N=se+X.length,X}),z+=`';
`;var Y=ct.call(r,"variable")&&r.variable;if(!Y)z=`with (obj) {
`+z+`
}
`;else if(X0.test(Y))throw new J(d);z=(w?z.replace(P0,""):z).replace(L0,"$1").replace(M0,"$1;"),z="function("+(Y||"obj")+`) {
`+(Y?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(y?", __e = _.escape":"")+(w?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+z+`return __p
}`;var nt=Yf(function(){return at(p,G+"return "+z).apply(i,g)});if(nt.source=z,$l(nt))throw nt;return nt}function bS(t){return ft(t).toLowerCase()}function $S(t){return ft(t).toUpperCase()}function SS(t,r,s){if(t=ft(t),t&&(s||r===i))return rh(t);if(!t||!(r=ne(r)))return t;var u=Ee(t),f=Ee(r),p=ih(u,f),g=sh(u,f)+1;return dn(u,p,g).join("")}function wS(t,r,s){if(t=ft(t),t&&(s||r===i))return t.slice(0,lh(t)+1);if(!t||!(r=ne(r)))return t;var u=Ee(t),f=sh(u,Ee(r))+1;return dn(u,0,f).join("")}function xS(t,r,s){if(t=ft(t),t&&(s||r===i))return t.replace($o,"");if(!t||!(r=ne(r)))return t;var u=Ee(t),f=ih(u,Ee(r));return dn(u,f).join("")}function ES(t,r){var s=K,u=tt;if(bt(r)){var f="separator"in r?r.separator:f;s="length"in r?et(r.length):s,u="omission"in r?ne(r.omission):u}t=ft(t);var p=t.length;if(Yn(t)){var g=Ee(t);p=g.length}if(s>=p)return t;var y=s-Xn(u);if(y<1)return u;var w=g?dn(g,0,y).join(""):t.slice(0,y);if(f===i)return w+u;if(g&&(y+=w.length-y),Sl(f)){if(t.slice(y).search(f)){var N,M=w;for(f.global||(f=Fo(f.source,ft(Ea.exec(f))+"g")),f.lastIndex=0;N=f.exec(M);)var z=N.index;w=w.slice(0,z===i?y:z)}}else if(t.indexOf(ne(f),y)!=y){var W=w.lastIndexOf(f);W>-1&&(w=w.slice(0,W))}return w+u}function OS(t){return t=ft(t),t&&D0.test(t)?t.replace(Sa,e_):t}var TS=rr(function(t,r,s){return t+(s?" ":"")+r.toUpperCase()}),El=Yh("toUpperCase");function Vf(t,r,s){return t=ft(t),r=s?i:r,r===i?Xv(t)?i_(t):Uv(t):t.match(r)||[]}var Yf=rt(function(t,r){try{return te(t,i,r)}catch(s){return $l(s)?s:new J(s)}}),kS=Ve(function(t,r){return fe(r,function(s){s=Pe(s),Ge(t,s,yl(t[s],t))}),t});function CS(t){var r=t==null?0:t.length,s=V();return t=r?_t(t,function(u){if(typeof u[1]!="function")throw new ce(h);return[s(u[0]),u[1]]}):[],rt(function(u){for(var f=-1;++f<r;){var p=t[f];if(te(p[0],this,u))return te(p[1],this,u)}})}function AS(t){return ey(de(t,S))}function Ol(t){return function(){return t}}function RS(t,r){return t==null||t!==t?r:t}var IS=Zh(),NS=Zh(!0);function Xt(t){return t}function Tl(t){return Th(typeof t=="function"?t:de(t,S))}function PS(t){return Ch(de(t,S))}function LS(t,r){return Ah(t,de(r,S))}var MS=rt(function(t,r){return function(s){return qr(s,t,r)}}),DS=rt(function(t,r){return function(s){return qr(t,s,r)}});function kl(t,r,s){var u=Nt(r),f=Qi(r,u);s==null&&!(bt(r)&&(f.length||!u.length))&&(s=r,r=t,t=this,f=Qi(r,Nt(r)));var p=!(bt(s)&&"chain"in s)||!!s.chain,g=Xe(t);return fe(f,function(y){var w=r[y];t[y]=w,g&&(t.prototype[y]=function(){var N=this.__chain__;if(p||N){var M=t(this.__wrapped__),z=M.__actions__=Kt(this.__actions__);return z.push({func:w,args:arguments,thisArg:t}),M.__chain__=N,M}return w.apply(t,un([this.value()],arguments))})}),t}function FS(){return Lt._===this&&(Lt._=h_),this}function Cl(){}function zS(t){return t=et(t),rt(function(r){return Rh(r,t)})}var qS=ol(_t),US=ol(Ja),BS=ol(Ro);function Xf(t){return pl(t)?Io(Pe(t)):_y(t)}function WS(t){return function(r){return t==null?i:Fn(t,r)}}var HS=Qh(),jS=Qh(!0);function Al(){return[]}function Rl(){return!1}function GS(){return{}}function KS(){return""}function VS(){return!0}function YS(t,r){if(t=et(t),t<1||t>it)return[];var s=Ot,u=Dt(t,Ot);r=V(r),t-=Ot;for(var f=Lo(u,r);++s<t;)r(s);return f}function XS(t){return Q(t)?_t(t,Pe):re(t)?[t]:Kt(mf(ft(t)))}function ZS(t){var r=++u_;return ft(t)+r}var JS=ss(function(t,r){return t+r},0),QS=ll("ceil"),tw=ss(function(t,r){return t/r},1),ew=ll("floor");function nw(t){return t&&t.length?Ji(t,Xt,Go):i}function rw(t,r){return t&&t.length?Ji(t,V(r,2),Go):i}function iw(t){return eh(t,Xt)}function sw(t,r){return eh(t,V(r,2))}function ow(t){return t&&t.length?Ji(t,Xt,Xo):i}function lw(t,r){return t&&t.length?Ji(t,V(r,2),Xo):i}var uw=ss(function(t,r){return t*r},1),aw=ll("round"),hw=ss(function(t,r){return t-r},0);function fw(t){return t&&t.length?Po(t,Xt):0}function cw(t,r){return t&&t.length?Po(t,V(r,2)):0}return c.after=Pb,c.ary=Tf,c.assign=$$,c.assignIn=Uf,c.assignInWith=_s,c.assignWith=S$,c.at=w$,c.before=kf,c.bind=yl,c.bindAll=kS,c.bindKey=Cf,c.castArray=Gb,c.chain=xf,c.chunk=e1,c.compact=n1,c.concat=r1,c.cond=CS,c.conforms=AS,c.constant=Ol,c.countBy=fb,c.create=x$,c.curry=Af,c.curryRight=Rf,c.debounce=If,c.defaults=E$,c.defaultsDeep=O$,c.defer=Lb,c.delay=Mb,c.difference=i1,c.differenceBy=s1,c.differenceWith=o1,c.drop=l1,c.dropRight=u1,c.dropRightWhile=a1,c.dropWhile=h1,c.fill=f1,c.filter=pb,c.flatMap=mb,c.flatMapDeep=vb,c.flatMapDepth=_b,c.flatten=bf,c.flattenDeep=c1,c.flattenDepth=p1,c.flip=Db,c.flow=IS,c.flowRight=NS,c.fromPairs=d1,c.functions=N$,c.functionsIn=P$,c.groupBy=yb,c.initial=m1,c.intersection=v1,c.intersectionBy=_1,c.intersectionWith=y1,c.invert=M$,c.invertBy=D$,c.invokeMap=$b,c.iteratee=Tl,c.keyBy=Sb,c.keys=Nt,c.keysIn=Yt,c.map=cs,c.mapKeys=z$,c.mapValues=q$,c.matches=PS,c.matchesProperty=LS,c.memoize=ds,c.merge=U$,c.mergeWith=Bf,c.method=MS,c.methodOf=DS,c.mixin=kl,c.negate=gs,c.nthArg=zS,c.omit=B$,c.omitBy=W$,c.once=Fb,c.orderBy=wb,c.over=qS,c.overArgs=zb,c.overEvery=US,c.overSome=BS,c.partial=bl,c.partialRight=Nf,c.partition=xb,c.pick=H$,c.pickBy=Wf,c.property=Xf,c.propertyOf=WS,c.pull=w1,c.pullAll=Sf,c.pullAllBy=x1,c.pullAllWith=E1,c.pullAt=O1,c.range=HS,c.rangeRight=jS,c.rearg=qb,c.reject=Tb,c.remove=T1,c.rest=Ub,c.reverse=vl,c.sampleSize=Cb,c.set=G$,c.setWith=K$,c.shuffle=Ab,c.slice=k1,c.sortBy=Nb,c.sortedUniq=L1,c.sortedUniqBy=M1,c.split=mS,c.spread=Bb,c.tail=D1,c.take=F1,c.takeRight=z1,c.takeRightWhile=q1,c.takeWhile=U1,c.tap=nb,c.throttle=Wb,c.thru=fs,c.toArray=Ff,c.toPairs=Hf,c.toPairsIn=jf,c.toPath=XS,c.toPlainObject=qf,c.transform=V$,c.unary=Hb,c.union=B1,c.unionBy=W1,c.unionWith=H1,c.uniq=j1,c.uniqBy=G1,c.uniqWith=K1,c.unset=Y$,c.unzip=_l,c.unzipWith=wf,c.update=X$,c.updateWith=Z$,c.values=or,c.valuesIn=J$,c.without=V1,c.words=Vf,c.wrap=jb,c.xor=Y1,c.xorBy=X1,c.xorWith=Z1,c.zip=J1,c.zipObject=Q1,c.zipObjectDeep=tb,c.zipWith=eb,c.entries=Hf,c.entriesIn=jf,c.extend=Uf,c.extendWith=_s,kl(c,c),c.add=JS,c.attempt=Yf,c.camelCase=nS,c.capitalize=Gf,c.ceil=QS,c.clamp=Q$,c.clone=Kb,c.cloneDeep=Yb,c.cloneDeepWith=Xb,c.cloneWith=Vb,c.conformsTo=Zb,c.deburr=Kf,c.defaultTo=RS,c.divide=tw,c.endsWith=rS,c.eq=Te,c.escape=iS,c.escapeRegExp=sS,c.every=cb,c.find=db,c.findIndex=_f,c.findKey=T$,c.findLast=gb,c.findLastIndex=yf,c.findLastKey=k$,c.floor=ew,c.forEach=Ef,c.forEachRight=Of,c.forIn=C$,c.forInRight=A$,c.forOwn=R$,c.forOwnRight=I$,c.get=wl,c.gt=Jb,c.gte=Qb,c.has=L$,c.hasIn=xl,c.head=$f,c.identity=Xt,c.includes=bb,c.indexOf=g1,c.inRange=tS,c.invoke=F$,c.isArguments=Un,c.isArray=Q,c.isArrayBuffer=t$,c.isArrayLike=Vt,c.isArrayLikeObject=St,c.isBoolean=e$,c.isBuffer=gn,c.isDate=n$,c.isElement=r$,c.isEmpty=i$,c.isEqual=s$,c.isEqualWith=o$,c.isError=$l,c.isFinite=l$,c.isFunction=Xe,c.isInteger=Pf,c.isLength=ms,c.isMap=Lf,c.isMatch=u$,c.isMatchWith=a$,c.isNaN=h$,c.isNative=f$,c.isNil=p$,c.isNull=c$,c.isNumber=Mf,c.isObject=bt,c.isObjectLike=$t,c.isPlainObject=Gr,c.isRegExp=Sl,c.isSafeInteger=d$,c.isSet=Df,c.isString=vs,c.isSymbol=re,c.isTypedArray=sr,c.isUndefined=g$,c.isWeakMap=m$,c.isWeakSet=v$,c.join=b1,c.kebabCase=oS,c.last=me,c.lastIndexOf=$1,c.lowerCase=lS,c.lowerFirst=uS,c.lt=_$,c.lte=y$,c.max=nw,c.maxBy=rw,c.mean=iw,c.meanBy=sw,c.min=ow,c.minBy=lw,c.stubArray=Al,c.stubFalse=Rl,c.stubObject=GS,c.stubString=KS,c.stubTrue=VS,c.multiply=uw,c.nth=S1,c.noConflict=FS,c.noop=Cl,c.now=ps,c.pad=aS,c.padEnd=hS,c.padStart=fS,c.parseInt=cS,c.random=eS,c.reduce=Eb,c.reduceRight=Ob,c.repeat=pS,c.replace=dS,c.result=j$,c.round=aw,c.runInContext=$,c.sample=kb,c.size=Rb,c.snakeCase=gS,c.some=Ib,c.sortedIndex=C1,c.sortedIndexBy=A1,c.sortedIndexOf=R1,c.sortedLastIndex=I1,c.sortedLastIndexBy=N1,c.sortedLastIndexOf=P1,c.startCase=vS,c.startsWith=_S,c.subtract=hw,c.sum=fw,c.sumBy=cw,c.template=yS,c.times=YS,c.toFinite=Ze,c.toInteger=et,c.toLength=zf,c.toLower=bS,c.toNumber=ve,c.toSafeInteger=b$,c.toString=ft,c.toUpper=$S,c.trim=SS,c.trimEnd=wS,c.trimStart=xS,c.truncate=ES,c.unescape=OS,c.uniqueId=ZS,c.upperCase=TS,c.upperFirst=El,c.each=Ef,c.eachRight=Of,c.first=$f,kl(c,function(){var t={};return Ie(c,function(r,s){ct.call(c.prototype,s)||(t[s]=r)}),t}(),{chain:!1}),c.VERSION=o,fe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){c[t].placeholder=c}),fe(["drop","take"],function(t,r){ot.prototype[t]=function(s){s=s===i?1:Rt(et(s),0);var u=this.__filtered__&&!r?new ot(this):this.clone();return u.__filtered__?u.__takeCount__=Dt(s,u.__takeCount__):u.__views__.push({size:Dt(s,Ot),type:t+(u.__dir__<0?"Right":"")}),u},ot.prototype[t+"Right"]=function(s){return this.reverse()[t](s).reverse()}}),fe(["filter","map","takeWhile"],function(t,r){var s=r+1,u=s==ht||s==Pt;ot.prototype[t]=function(f){var p=this.clone();return p.__iteratees__.push({iteratee:V(f,3),type:s}),p.__filtered__=p.__filtered__||u,p}}),fe(["head","last"],function(t,r){var s="take"+(r?"Right":"");ot.prototype[t]=function(){return this[s](1).value()[0]}}),fe(["initial","tail"],function(t,r){var s="drop"+(r?"":"Right");ot.prototype[t]=function(){return this.__filtered__?new ot(this):this[s](1)}}),ot.prototype.compact=function(){return this.filter(Xt)},ot.prototype.find=function(t){return this.filter(t).head()},ot.prototype.findLast=function(t){return this.reverse().find(t)},ot.prototype.invokeMap=rt(function(t,r){return typeof t=="function"?new ot(this):this.map(function(s){return qr(s,t,r)})}),ot.prototype.reject=function(t){return this.filter(gs(V(t)))},ot.prototype.slice=function(t,r){t=et(t);var s=this;return s.__filtered__&&(t>0||r<0)?new ot(s):(t<0?s=s.takeRight(-t):t&&(s=s.drop(t)),r!==i&&(r=et(r),s=r<0?s.dropRight(-r):s.take(r-t)),s)},ot.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},ot.prototype.toArray=function(){return this.take(Ot)},Ie(ot.prototype,function(t,r){var s=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),f=c[u?"take"+(r=="last"?"Right":""):r],p=u||/^find/.test(r);!f||(c.prototype[r]=function(){var g=this.__wrapped__,y=u?[1]:arguments,w=g instanceof ot,N=y[0],M=w||Q(g),z=function(st){var lt=f.apply(c,un([st],y));return u&&W?lt[0]:lt};M&&s&&typeof N=="function"&&N.length!=1&&(w=M=!1);var W=this.__chain__,G=!!this.__actions__.length,Y=p&&!W,nt=w&&!G;if(!p&&M){g=nt?g:new ot(this);var X=t.apply(g,y);return X.__actions__.push({func:fs,args:[z],thisArg:i}),new pe(X,W)}return Y&&nt?t.apply(this,y):(X=this.thru(z),Y?u?X.value()[0]:X.value():X)})}),fe(["pop","push","shift","sort","splice","unshift"],function(t){var r=Di[t],s=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);c.prototype[t]=function(){var f=arguments;if(u&&!this.__chain__){var p=this.value();return r.apply(Q(p)?p:[],f)}return this[s](function(g){return r.apply(Q(g)?g:[],f)})}}),Ie(ot.prototype,function(t,r){var s=c[r];if(s){var u=s.name+"";ct.call(tr,u)||(tr[u]=[]),tr[u].push({name:r,func:s})}}),tr[is(i,k).name]=[{name:"wrapper",func:i}],ot.prototype.clone=O_,ot.prototype.reverse=T_,ot.prototype.value=k_,c.prototype.at=rb,c.prototype.chain=ib,c.prototype.commit=sb,c.prototype.next=ob,c.prototype.plant=ub,c.prototype.reverse=ab,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=hb,c.prototype.first=c.prototype.head,Nr&&(c.prototype[Nr]=lb),c},Zn=s_();Nn?((Nn.exports=Zn)._=Zn,To._=Zn):Lt._=Zn}).call(dr)})(lo,lo.exports);function Fs(e){let n;return e&&((n=e.toIterable)?n.call(e):e)}function _O(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const rd=Symbol.for("#__init__"),yO=Symbol.for("#__patch__");var Fm,bO=new(Fm=class{[yO](n={}){var i;(i=n.SCORE_MIN)!==void 0&&(this.SCORE_MIN=i),(i=n.SCORE_MAX)!==void 0&&(this.SCORE_MAX=i),(i=n.SCORE_GAP_LEADING)!==void 0&&(this.SCORE_GAP_LEADING=i),(i=n.SCORE_GAP_TRAILING)!==void 0&&(this.SCORE_GAP_TRAILING=i),(i=n.SCORE_GAP_INNER)!==void 0&&(this.SCORE_GAP_INNER=i),(i=n.SCORE_MATCH_CONSECUTIVE)!==void 0&&(this.SCORE_MATCH_CONSECUTIVE=i),(i=n.SCORE_MATCH_SLASH)!==void 0&&(this.SCORE_MATCH_SLASH=i),(i=n.SCORE_MATCH_WORD)!==void 0&&(this.SCORE_MATCH_WORD=i),(i=n.SCORE_MATCH_CAPITAL)!==void 0&&(this.SCORE_MATCH_CAPITAL=i),(i=n.SCORE_MATCH_DOT)!==void 0&&(this.SCORE_MATCH_DOT=i),(i=n.M)!==void 0&&(this.M=i),(i=n.D)!==void 0&&(this.D=i),(i=n.B)!==void 0&&(this.B=i)}constructor(n=null){this[rd](n)}[rd](n=null,i=!0){var o;this.SCORE_MIN=n&&(o=n.SCORE_MIN)!==void 0?o:-1/0,this.SCORE_MAX=n&&(o=n.SCORE_MAX)!==void 0?o:1/0,this.SCORE_GAP_LEADING=n&&(o=n.SCORE_GAP_LEADING)!==void 0?o:-.005,this.SCORE_GAP_TRAILING=n&&(o=n.SCORE_GAP_TRAILING)!==void 0?o:-.005,this.SCORE_GAP_INNER=n&&(o=n.SCORE_GAP_INNER)!==void 0?o:-.01,this.SCORE_MATCH_CONSECUTIVE=n&&(o=n.SCORE_MATCH_CONSECUTIVE)!==void 0?o:1,this.SCORE_MATCH_SLASH=n&&(o=n.SCORE_MATCH_SLASH)!==void 0?o:.9,this.SCORE_MATCH_WORD=n&&(o=n.SCORE_MATCH_WORD)!==void 0?o:.8,this.SCORE_MATCH_CAPITAL=n&&(o=n.SCORE_MATCH_CAPITAL)!==void 0?o:.7,this.SCORE_MATCH_DOT=n&&(o=n.SCORE_MATCH_DOT)!==void 0?o:.6,this.M=n&&(o=n.M)!==void 0?o:new Array(1e5),this.D=n&&(o=n.D)!==void 0?o:new Array(1e5),this.B=n&&(o=n.B)!==void 0?o:new Array(1e5)}search(n,i,o,l){let a=n.toLowerCase(),h;if(i.length<=0)return[];let d=[];if(l){for(let m=0,b=Fs(i),v=b.length;m<v;m++){let S=b[m],R=o(S),I=l(S);typeof I=="string"&&(I=[I]);let x=null;if(typeof R=="string"&&this.has_match(a,h=R.toLowerCase())&&(x=this.score(n,R,a,h)),I)for(let C=0,D=Fs(I),k=D.length;C<k;C++){let F=D[C];typeof F=="string"&&(h=F.toLowerCase(),this.has_match(a,h)&&(x=Math.max(x,this.score(n,F,a,h))))}x&&d.push({haystack:R,score:x,obj:S})}return d.sort(this.cmp).map(function(m){return m.obj})}else if(o){for(let m=0,b=Fs(i),v=b.length;m<v;m++){let S=b[m],R=o(S);if(typeof R!="string"||(h=R.toLowerCase(),!this.has_match(a,h)))continue;let I=this.score(n,R,a,h);d.push({haystack:R,score:I,obj:S})}return d.sort(this.cmp).map(function(m){return m.obj})}else{for(let m=0,b=Fs(i),v=b.length;m<v;m++){let S=b[m];if(typeof S!="string"||(h=S.toLowerCase(),!this.has_match(a,h)))continue;let R=this.score(n,S,a,h);d.push({haystack:S,score:R})}return d.sort(this.cmp).map(function(m){return m.haystack})}}cmp(n,i){return n.score<i.score&&1||n.score>i.score&&-1||0}score(n,i,o=n.toLowerCase(),l=i.toLowerCase()){let a=n.length,h=i.length;return a<1||h<1?this.SCORE_MIN:a===h?this.SCORE_MAX:h>1024?this.SCORE_MIN:(this.compute(n,i,o,l),this.M[(a-1)*h+(h-1)])}idx(n,i,o){return i*n+o}positions(n,i){let o=n.length,l=i.length,a=new Array(o);if(o<1||l<1)return a;if(o===l){for(let b=o,v=0,S=b-v;S>0?v<b:v>b;S>0?v++:v--)a[v]=v;return a}if(l>1024)return a;this.compute(n,i);let h=!1,d=o-1,m=l-1;for(;d>=0;){for(;m>=0;){let b=this.idx(l,d,m),v=this.idx(l,d-1,m-1);if(this.D[b]!==this.SCORE_MIN&&(h||this.D[b]===this.M[b])){h=d&&m&&this.M[b]===this.D[v]+this.SCORE_MATCH_CONSECUTIVE,a[d]=m--;break}m--}d--}return a}replaceMatchedRanges(n,i,o){let l=n.length,a=i.length,h=new Array;if(l<1||a<1)return i;if(l===a)return o(i);if(a>1024)return i;this.compute(n,i);let d=!1,m,b=l-1,v=a-1;for(;b>=0;){for(;v>=0;){let S=this.idx(a,b,v),R=this.idx(a,b-1,v-1);if(this.D[S]!==this.SCORE_MIN&&(d||this.D[S]===this.M[S])){d=b&&v&&this.M[S]===this.D[R]+this.SCORE_MATCH_CONSECUTIVE,m!=null||(m=v),v--;break}else m&&(h.push(o(i.substring(v+1,m+1))),m=null),h.push(i[v]);v--}b--}for(m!==null&&v>=0?h.push(o(i.substring(v+1,m+1))):m!==null&&h.push(o(i.substring(0,m+1)));v>=0;)h.push(i[v]),v--;return h.reverse().join("")}replaceMatches(n,i,o){let l=n.length,a=i.length,h=new Array(a);if(l<1||a<1)return i;if(l===a){for(let v=l,S=0,R=v-S;R>0?S<v:S>v;R>0?S++:S--)h[S]=o(i[S]);return h.join("")}if(a>1024)return i;this.compute(n,i);let d=!1,m=l-1,b=a-1;for(;m>=0;){for(;b>=0;){let v=this.idx(a,m,b),S=this.idx(a,m-1,b-1);if(this.D[v]!==this.SCORE_MIN&&(d||this.D[v]===this.M[v])){d=m&&b&&this.M[v]===this.D[S]+this.SCORE_MATCH_CONSECUTIVE,h[b]=o(i[b]),b--;break}else h[b]=i[b];b--}m--}for(;b>=0;)h[b]=i[b],b--;return h.join("")}has_match(n,i){let o=0,l=-1,a;for(;a=n[o++];)if((l=i.indexOf(a,l+1))===-1)return!1;return!0}compute(n,i,o=n.toLowerCase(),l=i.toLowerCase()){var a,h;let d=n.length,m=i.length;this.precompute_bonus(i),h=[];for(let b=d,v=0,S=b-v;S>0?v<b:v>b;S>0?v++:v--){let R=this.SCORE_MIN,I=v===d-1?this.SCORE_GAP_TRAILING:this.SCORE_GAP_INNER;a=[];for(let x=m,C=0,D=x-C,k;D>0?C<x:C>x;D>0?C++:C--){let F=this.idx(m,v,C),B=this.idx(m,v-1,C-1);a.push(o[v]===l[C]?(k=this.SCORE_MIN,v===0?k=C*this.SCORE_GAP_LEADING+this.B[C]:C>0&&(k=Math.max(this.M[B]+this.B[C],this.D[B]+this.SCORE_MATCH_CONSECUTIVE)),this.D[F]=k,this.M[F]=R=Math.max(k,R+I)):(this.D[F]=this.SCORE_MIN,this.M[F]=R=R+I))}h.push(a)}return h}precompute_bonus(n){var i;let o=n.length,l="/";i=[];for(let a=o,h=0,d=a-h;d>0?h<a:h>a;d>0?h++:h--){let m=n[h];l==="/"?this.B[h]=this.SCORE_MATCH_SLASH:l==="-"||l==="_"||l===" "?this.B[h]=this.SCORE_MATCH_WORD:l==="."?this.B[h]=this.SCORE_MATCH_DOT:this.islower(l)&&this.isupper(m)?this.B[h]=this.SCORE_MATCH_CAPITAL:this.B[h]=0,i.push(l=m)}return i}islower(n){return n.toLowerCase()===n}isupper(n){return n.toUpperCase()===n}},(()=>{_O(dr,"fzi")})(),Fm),$0={exports:{}},uo={},fa={};(function(e){function n(){return n=Object.assign?Object.assign.bind():function(l){for(var a=1;a<arguments.length;a++){var h=arguments[a];for(var d in h)Object.prototype.hasOwnProperty.call(h,d)&&(l[d]=h[d])}return l},n.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0});var i,o={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1};e.tokenTypes=void 0,(i=e.tokenTypes||(e.tokenTypes={}))[i.FUNCTION_WITH_ONE_ARG=0]="FUNCTION_WITH_ONE_ARG",i[i.NUMBER=1]="NUMBER",i[i.BINARY_OPERATOR_HIGH_PRECENDENCE=2]="BINARY_OPERATOR_HIGH_PRECENDENCE",i[i.CONSTANT=3]="CONSTANT",i[i.OPENING_PARENTHESIS=4]="OPENING_PARENTHESIS",i[i.CLOSING_PARENTHESIS=5]="CLOSING_PARENTHESIS",i[i.DECIMAL=6]="DECIMAL",i[i.POSTFIX_FUNCTION_WITH_ONE_ARG=7]="POSTFIX_FUNCTION_WITH_ONE_ARG",i[i.FUNCTION_WITH_N_ARGS=8]="FUNCTION_WITH_N_ARGS",i[i.BINARY_OPERATOR_LOW_PRECENDENCE=9]="BINARY_OPERATOR_LOW_PRECENDENCE",i[i.BINARY_OPERATOR_PERMUTATION=10]="BINARY_OPERATOR_PERMUTATION",i[i.COMMA=11]="COMMA",i[i.EVALUATED_FUNCTION=12]="EVALUATED_FUNCTION",i[i.EVALUATED_FUNCTION_PARAMETER=13]="EVALUATED_FUNCTION_PARAMETER",i[i.SPACE=14]="SPACE",e.createTokens=function(l){return[{token:"sin",show:"sin",type:0,value:l.math.sin},{token:"cos",show:"cos",type:0,value:l.math.cos},{token:"tan",show:"tan",type:0,value:l.math.tan},{token:"pi",show:"&pi;",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:l.math.P},{token:"C",show:"C",type:10,value:l.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:l.math.asin},{token:"acos",show:"acos",type:0,value:l.math.acos},{token:"atan",show:"atan",type:0,value:l.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:l.math.cosh},{token:"acosh",show:"acosh",type:0,value:l.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"&divide;",type:2,value:l.math.div},{token:"!",show:"!",type:7,value:l.math.fact},{token:"tanh",show:"tanh",type:0,value:l.math.tanh},{token:"atanh",show:"atanh",type:0,value:l.math.atanh},{token:"Mod",show:" Mod ",type:2,value:l.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"&times;",type:2,value:l.math.mul},{token:"sinh",show:"sinh",type:0,value:l.math.sinh},{token:"asinh",show:"asinh",type:0,value:l.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:l.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:l.math.add},{token:"-",show:"-",type:9,value:l.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"&Sigma;",type:12,value:l.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"&Pi;",type:12,value:l.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:l.math.and}].map(function(a){return n({},a,{precedence:o[a.type]})})},e.preced=o})(fa);Object.defineProperty(uo,"__esModule",{value:!0});var hu=fa;function Ht(e,n){for(var i=0;i<e.length;i++)e[i]+=n;return e}var De={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},pr={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},$O={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},Ce={},ei={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},SO={1:!0},jt=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function wO(e,n,i,o){for(var l=0;l<o;l++)if(e[i+l]!==n[l])return!1;return!0}function id(e,n){for(var i=0;i<n.length;i++)if(n[i].token===e)return i;return-1}uo.addToken=function(e){for(var n=0;n<e.length;n++){var i=e[n].token.length,o=-1;e[n].type===hu.tokenTypes.FUNCTION_WITH_N_ARGS&&e[n].numberOfArguments===void 0&&(e[n].numberOfArguments=2),jt[i]=jt[i]||[];for(var l=0;l<jt[i].length;l++)if(e[n].token===jt[i][l]){o=id(jt[i][l],this.tokens);break}o===-1?(this.tokens.push(e[n]),e[n].precedence=hu.preced[e[n].type],jt.length<=e[n].token.length&&(jt[e[n].token.length]=[]),jt[e[n].token.length].push(e[n].token)):(this.tokens[o]=e[n],e[n].precedence=hu.preced[e[n].type])}},uo.lex=function(e,n){var i,o={value:this.math.changeSign,type:0,precedence:21,show:"-"},l={value:")",show:")",type:5,precedence:0},a={value:"(",type:4,precedence:0,show:"("},h=[a],d=[],m=e,b=De,v=0,S=Ce,R="";n!==void 0&&this.addToken(n);var I=function(q,U){for(var H,K,tt,ut=[],pt=U.length,ht=0;ht<pt;ht++)if(!(ht<pt-1&&U[ht]===" "&&U[ht+1]===" ")){for(H="",K=U.length-ht>jt.length-2?jt.length-1:U.length-ht;K>0;K--)if(jt[K]!==void 0)for(tt=0;tt<jt[K].length;tt++)wO(U,jt[K][tt],ht,K)&&(H=jt[K][tt],tt=jt[K].length,K=0);if(ht+=H.length-1,H==="")throw new Error("Can't understand after "+U.slice(ht));ut.push(q.tokens[id(H,q.tokens)])}return ut}(this,m);for(i=0;i<I.length;i++){var x=I[i];if(x.type!==14){var C,D=x.token,k=x.type,F=x.value,B=x.precedence,E=x.show,O=h[h.length-1];for(C=d.length;C--&&d[C]===0;)if([0,2,3,4,5,9,11,12,13].indexOf(k)!==-1){if(b[k]!==!0)throw new Error(D+" is not allowed after "+R);h.push(l),b=pr,S=ei,d.pop()}if(b[k]!==!0)throw new Error(D+" is not allowed after "+R);S[k]===!0&&(k=2,F=this.math.mul,E="&times;",B=3,i-=1);var P={value:F,type:k,precedence:B,show:E,numberOfArguments:x.numberOfArguments};if(k===0)b=De,S=Ce,Ht(d,2),h.push(P),I[i+1].type!==4&&(h.push(a),d.push(2));else if(k===1)O.type===1?(O.value+=F,Ht(d,1)):h.push(P),b=pr,S=$O;else if(k===2)b=De,S=Ce,Ht(d,2),h.push(P);else if(k===3)h.push(P),b=pr,S=ei;else if(k===4)Ht(d,1),v++,b=De,S=Ce,h.push(P);else if(k===5){if(!v)throw new Error("Closing parenthesis are more than opening one, wait What!!!");v--,b=pr,S=ei,h.push(P),Ht(d,1)}else if(k===6){if(O.hasDec)throw new Error("Two decimals are not allowed in one number");O.type!==1&&(O={show:"0",value:0,type:1,precedence:0},h.push(O)),b=SO,Ht(d,1),S=Ce,O.value+=F,O.hasDec=!0}else k===7&&(b=pr,S=ei,Ht(d,1),h.push(P));k===8?(b=De,S=Ce,Ht(d,x.numberOfArguments+2),h.push(P),I[i+1].type!==4&&(h.push(a),d.push(x.numberOfArguments+2))):k===9?(O.type===9?O.value===this.math.add?(O.value=F,O.show=E,Ht(d,1)):O.value===this.math.sub&&E==="-"&&(O.value=this.math.add,O.show="+",Ht(d,1)):O.type!==5&&O.type!==7&&O.type!==1&&O.type!==3&&O.type!==13?D==="-"&&(b=De,S=Ce,Ht(d,2).push(2),h.push(o),h.push(a)):(h.push(P),Ht(d,2)),b=De,S=Ce):k===10?(b=De,S=Ce,Ht(d,2),h.push(P)):k===11?(b=De,S=Ce,h.push(P)):k===12?(b=De,S=Ce,Ht(d,6),h.push(P),I[i+1].type!==4&&(h.push(a),d.push(6))):k===13&&(b=pr,S=ei,h.push(P)),Ht(d,-1),R=D}else if(i>0&&i<I.length-1&&I[i+1].type===1&&(I[i-1].type===1||I[i-1].type===6))throw new Error("Unexpected Space")}for(C=d.length;C--;)h.push(l);if(b[5]!==!0)throw new Error("complete the expression");for(;v--;)h.push(l);return h.push(l),h};var S0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.toPostfix=function(n){for(var i,o,l,a=[],h=-1,d=-1,m=[{value:"(",type:4,precedence:0,show:"("}],b=1;b<n.length;b++)if(n[b].type===1||n[b].type===3||n[b].type===13)n[b].type===1&&(n[b].value=Number(n[b].value)),a.push(n[b]);else if(n[b].type===4)m.push(n[b]);else if(n[b].type===5)for(;((v=o=m.pop())==null?void 0:v.type)!==4;){var v;o&&a.push(o)}else if(n[b].type===11){for(;((S=o=m.pop())==null?void 0:S.type)!==4;){var S;o&&a.push(o)}m.push(o)}else{d=(i=n[b]).precedence,h=(l=m[m.length-1]).precedence;var R=l.value=="Math.pow"&&i.value=="Math.pow";if(d>h)m.push(i);else{for(;h>=d&&!R||R&&d<h;)o=m.pop(),l=m[m.length-1],o&&a.push(o),h=l.precedence,R=i.value=="Math.pow"&&l.value=="Math.pow";m.push(i)}}return a}})(S0);var w0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.postfixEval=function(n,i){(i=i||{}).PI=Math.PI,i.E=Math.E;for(var o,l,a,h=[],d=i.n!==void 0,m=0;m<n.length;m++)if(n[m].type===1)h.push({value:n[m].value,type:1});else if(n[m].type===3)h.push({value:i[n[m].value],type:1});else if(n[m].type===0){var b=h[h.length-1];Array.isArray(b)?b.push(n[m]):b.value=n[m].value(b.value)}else if(n[m].type===7){var v=h[h.length-1];Array.isArray(v)?v.push(n[m]):v.value=n[m].value(v.value)}else if(n[m].type===8){for(var S=[],R=0;R<n[m].numberOfArguments;R++){var I=h.pop();I&&S.push(I.value)}h.push({type:1,value:n[m].value.apply(n[m],S.reverse())})}else if(n[m].type===10)o=h.pop(),l=h.pop(),Array.isArray(l)?((l=l.concat(o)).push(n[m]),h.push(l)):Array.isArray(o)?(o.unshift(l),o.push(n[m]),h.push(o)):h.push({type:1,value:n[m].value(l.value,o.value)});else if(n[m].type===2||n[m].type===9)o=h.pop(),l=h.pop(),Array.isArray(l)?((l=l.concat(o)).push(n[m]),h.push(l)):Array.isArray(o)?(o.unshift(l),o.push(n[m]),h.push(o)):h.push({type:1,value:n[m].value(l.value,o.value)});else if(n[m].type===12){o=h.pop();var x=void 0;x=!Array.isArray(o)&&o?[o]:o||[],l=h.pop(),a=h.pop(),h.push({type:1,value:n[m].value(a.value,l.value,x)})}else n[m].type===13&&(d?h.push({value:i[n[m].value],type:3}):h.push([n[m]]));if(h.length>1)throw new Error("Uncaught Syntax error");return parseFloat(h[0].value.toFixed(15))}})(w0);var ca={};Object.defineProperty(ca,"__esModule",{value:!0});ca.createMathFunctions=function(e){return{isDegree:!0,acos:function(n){return e.math.isDegree?180/Math.PI*Math.acos(n):Math.acos(n)},add:function(n,i){return n+i},asin:function(n){return e.math.isDegree?180/Math.PI*Math.asin(n):Math.asin(n)},atan:function(n){return e.math.isDegree?180/Math.PI*Math.atan(n):Math.atan(n)},acosh:function(n){return Math.log(n+Math.sqrt(n*n-1))},asinh:function(n){return Math.log(n+Math.sqrt(n*n+1))},atanh:function(n){return Math.log((1+n)/(1-n))},C:function(n,i){var o=1,l=n-i,a=i;a<l&&(a=l,l=i);for(var h=a+1;h<=n;h++)o*=h;var d=e.math.fact(l);return d==="NaN"?"NaN":o/d},changeSign:function(n){return-n},cos:function(n){return e.math.isDegree&&(n=e.math.toRadian(n)),Math.cos(n)},cosh:function(n){return(Math.pow(Math.E,n)+Math.pow(Math.E,-1*n))/2},div:function(n,i){return n/i},fact:function(n){if(n%1!=0)return"NaN";for(var i=1,o=2;o<=n;o++)i*=o;return i},inverse:function(n){return 1/n},log:function(n){return Math.log(n)/Math.log(10)},mod:function(n,i){return n%i},mul:function(n,i){return n*i},P:function(n,i){for(var o=1,l=Math.floor(n)-Math.floor(i)+1;l<=Math.floor(n);l++)o*=l;return o},Pi:function(n,i,o){for(var l=1,a=n;a<=i;a++)l*=Number(e.postfixEval(o,{n:a}));return l},pow10x:function(n){for(var i=1;n--;)i*=10;return i},sigma:function(n,i,o){for(var l=0,a=n;a<=i;a++)l+=Number(e.postfixEval(o,{n:a}));return l},sin:function(n){return e.math.isDegree&&(n=e.math.toRadian(n)),Math.sin(n)},sinh:function(n){return(Math.pow(Math.E,n)-Math.pow(Math.E,-1*n))/2},sub:function(n,i){return n-i},tan:function(n){return e.math.isDegree&&(n=e.math.toRadian(n)),Math.tan(n)},tanh:function(n){return e.math.sinh(n)/e.math.cosh(n)},toRadian:function(n){return n*Math.PI/180},and:function(n,i){return n&i}}};var sd=uo,Lu=fa,xO=S0,EO=w0,OO=ca,fu=function(){function e(){this.toPostfix=xO.toPostfix,this.addToken=sd.addToken,this.lex=sd.lex,this.postfixEval=EO.postfixEval,this.math=OO.createMathFunctions(this),this.tokens=Lu.createTokens(this)}return e.prototype.eval=function(n,i,o){return this.postfixEval(this.toPostfix(this.lex(n,i)),o)},e}();fu.TOKEN_TYPES=Lu.tokenTypes,fu.tokenTypes=Lu.tokenTypes,$0.exports=fu;function TO(e,n){return e[e.length+n]}function kO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const ni=Symbol.for("#home_input"),od=Symbol.for("#__init__"),CO=Symbol.for("#__patch__"),ld=Symbol.for("#link_input");let AO=new $0.exports;var xi;const x0=new(xi=class{[CO](n={}){var i;(i=n[ni])!==void 0&&(this[ni]=i)}constructor(n=null){this[od](n)}[od](n=null,i=!0){var o;this[ni]=n&&(o=n[ni])!==void 0?o:this[ld]=null}pin_link(n){return Pins[n.url]^=1,this.sort_links(),kn.set("pins",Pins),Gt()}increment_link_frequency(n){var i,o;return(o=Frequencies[i=n.url])!=null||(Frequencies[i]=0),Frequencies[n.url]+=1,kn.set("frequencies",Frequencies)}refresh_links(){let n=[];for(let i=Links,o=0,l=Object.keys(i),a=l.length,h,d;o<a;o++)h=l[o],d=i[h],n.push({title:h,url:d});return gt.links=this.traverse(n),this.sort_links()}get\u039Elink\u039Efrom\u039Enode(n){let i;if(!(i=n==null?void 0:n.url))return;let o=n.title.split(/\s+/),l,a=TO(o,-1);a.startsWith("(")&&a.endsWith(")")&&(l=o.pop().slice(1,-1));let h=o.join(" "),d=!1;return h.startsWith("!")&&(d=!0,h=h.slice(1)),{name:h,alias:l,is_bang:d,url:i}}traverse(n){var o,l;const i=[];for(;n.length>0;){const a=n.pop(),h=this.get\u039Elink\u039Efrom\u039Enode(a);h&&i.push(h),(l=(o=a==null?void 0:a.children)==null?void 0:o.forEach)==null||l.call(o,function(d){return n.push(d)})}return i}bfs(n,i){for(var o=[];i.length>0;){const l=i.shift();if(l.title.toLowerCase()===n.toLowerCase())return l.children;o.push(l.children&&(i=i.concat(l.children)))}return o}sort_links(){if(gt.query.trim().length<=0){const n=function(o){return Pins[o.url]||!1},i=function(o){return Frequencies[o.url]||0};return gt.sorted_links=lo.exports.orderBy(gt.links,[n,i],["desc","desc"])}else return gt.sorted_links=bO.search(gt.query,gt.links,function(n){return n.name},function(n){return n.alias})}parse_url(n){if(n===null)throw"invalid url";let i=function(o){let l=new URL(o);if(!(l.host&&l.href))throw _;return l};try{return i(n)}catch{}try{return i("https://"+n)}catch{}throw"invalid url"}get_pretty_date(){return Date().toString().split(" ").slice(0,4).join(" ")}get selected_link(){return gt.sorted_links[gt.link_selection_index]||{name:"",alias:"",is_bang:!1,url:""}}select_name(n){this.set_link_selection_index(0);for(var i=[];this.selected_link.name!=n;)i.push(this.increment_link_selection_index());return i}set_link_selection_index(n){return gt.link_selection_index=n}increment_link_selection_index(){return this.set_link_selection_index(Math.min(gt.sorted_links.length-1,gt.link_selection_index+1)),this[ni].focus()}decrement_link_selection_index(){if(this.set_link_selection_index(Math.max(-1,gt.link_selection_index-1))==-1)return this[ld].focus()}async navigate(n){return await this.increment_link_frequency(n),window.location.href=n.url}get math_result(){try{return AO.eval(gt.query)}catch{return!1}}async handle_cut(n){if(n.target.selectionStart!=n.target.selectionEnd)return;let i=this.math_result;return i||(i=gt.query),await window.navigator.clipboard.writeText(i),gt.query="",this.sort_links()}handle_click_link(){let n=this.selected_link;return n.is_bang?(gt.query="",gt.active_bang=n):this.navigate(n)}get bang(){return gt.active_bang||Si.data.default_bang}get encoded_bang_query(){return""+this.bang.url+window.encodeURIComponent(gt.query)}get encoded_bang_query_nourl(){return""+window.encodeURIComponent(gt.query)}async handle_bang(){if(!gt.loading)return await this.increment_link_frequency(this.bang),window.location.href=this.encoded_bang_query}unset_active_bang(){return gt.active_bang=!1,this.sort_links()}get\u039Eicon(n){let{host:i}=this.parse_url(n);return"https://icon.horse/icon/"+i}help(){let n="https://github.com/familyfriendlymikey/fuzzyhome";return window.open(n,"_blank")}},(()=>{kO(xi,"api")})(),xi),RO=Object.assign({type:"svg"},{attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},flags:["feather","feather-settings"],content:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>'});function IO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const NO=Symbol.for("#home_input"),PO=Symbol.for("#link_input"),LO=Symbol.for("#beforeReconcile"),yn=Symbol.for("##up"),zs=Symbol.for("#appendChild"),cu=Symbol.for("#afterVisit"),qs=Symbol.for("#placeChild"),MO=Symbol.for("#afterReconcile");var ud=Symbol(),ad=Symbol(),hd=Symbol(),fd=Symbol(),cd=Symbol(),pd=Symbol(),dd=Symbol(),gd=Symbol(),md=Symbol(),vd=Symbol(),_d=Symbol(),yd=Symbol(),bd=Symbol(),$d=Symbol(),Sd=Symbol(),wd=Symbol(),xd=Symbol(),Ed=Symbol(),Od=Symbol(),Td=Symbol(),kd=Symbol(),Cd=Symbol(),Ad=Symbol(),Rd=Symbol(),Id=Symbol(),Nd=Symbol(),Pd=Symbol(),Ld=Symbol(),Md=Symbol(),Dd=Symbol(),Fd=Symbol(),zd=Symbol(),qd=Symbol(),Ud=Symbol(),Bd=Symbol(),Wd=Symbol();yi.addSelectors([".mqc0em-as"],"transition");const pa=class extends Ue{get $link\u039Einput\u039Etitle(){let n=Z("input",null,`mqc0em-ai mqc0em_ag ${this._ns_||""} $link-input-title`,null);return Object.defineProperty(this,"$link\u039Einput\u039Etitle",{value:n}),n}get $link\u039Einput\u039Eurl(){let n=Z("input",null,`mqc0em-aj mqc0em_ag ${this._ns_||""} $link-input-url`,null);return Object.defineProperty(this,"$link\u039Einput\u039Eurl",{value:n}),n}get $home\u039Einput(){let n=Z("input",null,`mqc0em-an mqc0em_ak ${this._ns_||""} $home-input`,null);return Object.defineProperty(this,"$home\u039Einput",{value:n}),n}get $math(){let n=Z("div",null,`mqc0em-ap mqc0em_ak ${this._ns_||""} $math`,null);return Object.defineProperty(this,"$math",{value:n}),n}mount(){return this.$home\u039Einput.focus(),this.api[NO]=this.$home\u039Einput,this.api[PO]=this.$link\u039Einput\u039Eurl}blur(){var n=this;return setTimeout(function(){if(globalThis.document.activeElement!=n.$link\u039Einput\u039Eurl&&globalThis.document.activeElement!=n.$link\u039Einput\u039Etitle)return n.$home\u039Einput.focus()},100)}edd_link(){let n=this.$link\u039Einput\u039Etitle.value,i=this.$link\u039Einput\u039Eurl.value;return n?i?(this.api.selected_link.name!=n&&(Links[this.api.selected_link.name],delete Links[this.api.selected_link.name]),Links[n]!=i&&(Links[n]=i),this.storage.set("links",Links),this.api.refresh_links(),this.api.select_name(n),this.$home\u039Einput.focus()):this.$link\u039Einput\u039Eurl.focus():this.$link\u039Einput\u039Etitle.focus()}delete_link(){return Links[this.$link\u039Einput\u039Etitle.value],delete Links[this.$link\u039Einput\u039Etitle.value],this.storage.set("links",Links),this.$link\u039Einput\u039Etitle.value="",this.$link\u039Einput\u039Eurl.value="",this.api.refresh_links(),this.$home\u039Einput.focus()}async handle_click_copy(n){try{return await window.navigator.clipboard.writeText(n),this.state.query="",this.api.sort_links()}catch{}}handle_input(){return this.api.set_link_selection_index(0),this.api.sort_links()}render(){var n=this,i,o,l,a,h,d,m=this._ns_||"",b,v,S,R,I,x,C,D,k,F,B,E,O,P,q,U,H,K,tt,ut,pt,ht,kt,Pt,xt,it,Et,Ct,Ot,Re,Be,on,Qt;return a=this,a[LO](),h=d=1,a[ud]===1||(h=d=0,a[ud]=1),(!h||d&2)&&a.flagSelf$("mqc0em-af"),(b=a[ad])||(a[ad]=b=Z("div",a,`mqc0em-ag header ${m}`,null)),h||(v=Z("div",b,`mqc0em-ah mqc0em_ag ${m}`,"\u2A2F")),h||v.on$("click",{$_:[function(Tt,ae){return n.delete_link()}]},this),R=1,(S=a[hd])||(R=0,a[hd]=(S=this.$link\u039Einput\u039Etitle,S[yn]=b,S)),I=this.state.loading,I===a[fd]||(S.disabled=a[fd]=I),x=a[cd]||(a[cd]={$_:[function(Tt,ae,qt){return n.blur(Tt)},null]}),x.$_[1]=n,R||S.on$("blur",x,this),R||(S.placeholder="title"),x=a[pd]||(a[pd]={enter:!0,stop:!0,$_:[function(Tt,ae,qt){return n.edd_link()},null]}),x.$_[1]=n,R||S.on$("keydown",x,this),I=this.api.selected_link.name,I===a[dd]||(S.richValue=a[dd]=I),R||b[zs](S),D=1,(C=a[gd])||(D=0,a[gd]=(C=this.$link\u039Einput\u039Eurl,C[yn]=b,C)),k=this.state.loading,k===a[md]||(C.disabled=a[md]=k),F=a[vd]||(a[vd]={$_:[function(Tt,ae,qt){return n.blur(Tt)},null]}),F.$_[1]=n,D||C.on$("blur",F,this),D||(C.placeholder="url"),F=a[_d]||(a[_d]={enter:!0,stop:!0,$_:[function(Tt,ae,qt){return n.edd_link()},null]}),F.$_[1]=n,D||C.on$("keydown",F,this),k=this.api.selected_link.url,k===a[yd]||(C.richValue=a[yd]=k),D||b[zs](C),(B=a[bd])||(a[bd]=B=Z("div",a,`mqc0em-ak header ${m}`,null)),O=1,(E=a[$d])||(O=0,a[$d]=E=Z("div",B,`side left mqc0em_ak ${m}`,null)),P=a[Sd]||(a[Sd]={$_:[function(Tt,ae,qt){return n.state.view="settings"},null]}),P.$_[1]=n,O||E.on$("click",P,this),O||(q=Vu("svg",E,`mqc0em_ak ${m}`,null)),O||q.set$("src",RO),H=K=1,(U=a[wd])||(H=K=0,a[wd]=(U=this.$home\u039Einput,U[yn]=B,U)),H||U.set$("autofocus","autofocus"),tt=a[xd]||(a[xd]=U.bind$("data",[null,"query"])),tt[0]=this.state,ut=a[Ed]||(a[Ed]={$_:[function(Tt,ae,qt){return n.handle_input(Tt)},null]}),ut.$_[1]=n,H||U.on$("input",ut,this),ut=a[Od]||(a[Od]={$_:[function(Tt,ae,qt){return n.api.handle_cut(Tt)},null]}),ut.$_[1]=n,H||U.on$("cut",ut,this),tt=this.state.loading,tt===a[Td]||(U.disabled=a[Td]=tt),ut=a[kd]||(a[kd]={$_:[function(Tt,ae,qt){return n.blur(Tt)},null]}),ut.$_[1]=n,H||U.on$("blur",ut,this),H||!U.setup||U.setup(K),U[cu](K),H||B[zs](U),ht=1,(pt=a[Cd])||(ht=0,a[Cd]=pt=Z("div",B,`mqc0em-ao side right mqc0em_ak ${m}`,null)),kt=a[Ad]||(a[Ad]={$_:[function(Tt,ae,qt){return n.handle_click_copy(n.api.math_result||0)},null]}),kt.$_[1]=n,ht||pt.on$("click",kt,this),(Pt=a[Rd])||(a[Rd]=(Pt=this.$math,Pt[yn]=pt,Pt)),xt=Math.round(this.api.math_result*100)/100,xt===a[Nd]&&ht||(a[Id]=Pt[qs](String(a[Nd]=xt),256,a[Id])),ht||pt[zs](Pt),it=this.$math.offsetWidth||30,it===a[Pd]||pt.css$var("--mqc0em_aq",a[Pd]=it,"px","maw"),it=this.$math.offsetWidth,it===a[Ld]||pt.css$var("--mqc0em_ar",a[Ld]=it,"px","miw"),l=null,this.state.loaded&&(Et=1,(l=a[Md])||(Et=0,a[Md]=l=Z("div",null,`mqc0em-as ${m}`,null)),Et||(l[yn]=a),Et||(l.ease="ease"),i=null,this.state.active_bang||this.state.sorted_links.length<1&&this.state.links.length?(Ct=Ot=1,(i=l[Dd])||(Ct=Ot=0,l[Dd]=i=qe("app-bang",null,`${m}`,null)),Ct||(i[yn]=l),Ct||!i.setup||i.setup(Ot),i[cu](Ot)):(Re=Be=1,(i=l[Fd])||(Re=Be=0,l[Fd]=i=qe("app-links",null,`${m}`,null)),Re||(i[yn]=l),Re||!i.setup||i.setup(Be),i[cu](Be)),l[zd]=l[qs](i,0,l[zd]),o=null,this.state.links.length||(on=1,(o=l[qd])||(on=0,l[qd]=o=Z("h3",null,`mqc0em-av ${m}`,"Add first link")),on||(o[yn]=l),Qt=o[Ud]||(o[Ud]={$_:[function(Tt,ae,qt){return n.$link\u039Einput\u039Eurl.focus()},null]}),Qt.$_[1]=n,on||o.on$("click",Qt,this)),l[Bd]=l[qs](o,0,l[Bd])),a[Wd]=a[qs](l,0,a[Wd]),a[MO](d),a}};let Mu=pa;(()=>{IO(pa,"app-home")})();In("app-home",Mu,{});function DO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const FO=Symbol.for("#beforeReconcile"),nn=Symbol.for("#placeChild"),zO=Symbol.for("##up"),qO=Symbol.for("#afterReconcile");var Hd=Symbol(),jd=Symbol(),Gd=Symbol(),Kd=Symbol(),Vd=Symbol(),Yd=Symbol(),Xd=Symbol(),Zd=Symbol(),Jd=Symbol(),Qd=Symbol(),tg=Symbol(),eg=Symbol(),ng=Symbol(),rg=Symbol(),ig=Symbol(),sg=Symbol(),og=Symbol(),lg=Symbol(),ug=Symbol(),ag=Symbol(),hg=Symbol(),fg=Symbol(),cg=Symbol(),pg=Symbol();const da=class extends Ue{render(){var n=this,i,o,l,a,h=this._ns_||"",d,m,b,v,S,R,I,x,C,D,k,F,B,E,O,P,q,U,H,K,tt,ut,pt,ht,kt,Pt,xt;return o=this,o[FO](),l=a=1,o[Hd]===1||(l=a=0,o[Hd]=1),(!l||a&2)&&o.flagSelf$("z1j3kifw-af"),l||(d=Z("div",o,`settings-container z1j3kifw_af ${h}`,null)),l||(m=Z("div",d,`settings-button z1j3kifw_af ${h}`,"BACK")),l||m.on$("click",{$_:[function(it,Et){return n.state.view="home"}]},this),l||m.on$("hotkey",{options:["esc"]},this),l||(b=Z("div",o,`settings-container z1j3kifw_af ${h}`,null)),S=1,(v=o[jd])||(S=0,o[jd]=v=Z("div",b,`settings-button z1j3kifw_af ${h}`,"HELP")),R=o[Gd]||(o[Gd]={$_:[function(it,Et,Ct){return n.api.help(it)},null]}),R.$_[1]=n,S||v.on$("click",R,this),x=1,(I=o[Kd])||(x=0,o[Kd]=I=Z("div",b,`settings-button z1j3kifw_af ${h}`,null)),C=o[Vd]||(o[Vd]={$_:[function(it,Et,Ct){return n.config.cycle_theme(it)},null]}),C.$_[1]=n,x||I.on$("click",C,this),x||I[nn]("THEME: "),ue.context=o[Xd]||(o[Xd]={_:I}),D=this.config.data.theme.toUpperCase(),ue.context=null,D===o[Zd]&&x||(o[Yd]=I[nn](o[Zd]=D,256,o[Yd])),i=null,this.config.data.theme==="timed"&&(k=1,(i=o[Jd])||(k=0,o[Jd]=i=Z("div",null,`settings-container z1j3kifw_af ${h}`,null)),k||(i[zO]=o),B=1,(F=i[Qd])||(B=0,i[Qd]=F=Z("div",i,`settings-button z1j3kifw_af ${h}`,null)),E=i[tg]||(i[tg]={$_:[function(it,Et,Ct){return n.config.set_timed_theme_start(it)},null]}),E.$_[1]=n,B||F.on$("click",E,this),B||F[nn]("light theme start: "),O=this.config.data.timed_theme_start,O===i[ng]&&B||(i[eg]=F[nn](i[ng]=O,256,i[eg])),q=1,(P=i[rg])||(q=0,i[rg]=P=Z("div",i,`settings-button z1j3kifw_af ${h}`,null)),U=i[ig]||(i[ig]={$_:[function(it,Et,Ct){return n.config.set_timed_theme_end(it)},null]}),U.$_[1]=n,q||P.on$("click",U,this),q||P[nn]("light theme end: "),H=this.config.data.timed_theme_end,H===i[og]&&q||(i[sg]=P[nn](i[og]=H,256,i[sg]))),o[lg]=o[nn](i,0,o[lg]),l||(K=Z("div",o,`settings-container z1j3kifw_af ${h}`,null)),ut=1,(tt=o[ug])||(ut=0,o[ug]=tt=Z("div",K,`settings-button z1j3kifw_af ${h}`,null)),pt=o[ag]||(o[ag]={$_:[function(it,Et,Ct){return n.config.toggle_focus(it)},null]}),pt.$_[1]=n,ut||tt.on$("click",pt,this),ut||tt[nn]("FOCUS ON OPEN: "),ht=this.config.data.focus,ht===o[fg]&&ut||(o[hg]=tt[nn](o[fg]=ht,256,o[hg])),Pt=1,(kt=o[cg])||(Pt=0,o[cg]=kt=Z("div",K,`settings-button z1j3kifw_af ${h}`,"change default bang")),xt=o[pg]||(o[pg]={$_:[function(it,Et,Ct){return n.config.set_default_bang(it)},null]}),xt.$_[1]=n,Pt||kt.on$("click",xt,this),o[qO](a),o}};let Du=da;(()=>{DO(da,"app-settings")})();In("app-settings",Du,{});function UO(e){let n;return e&&((n=e.toIterable)?n.call(e):e)}function BO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const WO=Symbol.for("#link_input"),HO=Symbol.for("#beforeReconcile"),dg=Symbol.for("##up"),pu=Symbol.for("#afterVisit"),jO=Symbol.for("#appendChild"),GO=Symbol.for("#afterReconcile");var gg=Symbol(),mg=Symbol(),vg=Symbol(),_g=Symbol(),yg=Symbol(),bg=Symbol(),$g=Symbol();const ga=class extends Ue{get $tips(){let n=qe("app-tips",null,`${this._ns_||""} $tips`,null);return Object.defineProperty(this,"$tips",{value:n}),n}get tips(){var n=this;let i=[],o;return o={click_handler:this.api.handle_click_link.bind(this.api),hotkey_handler:this.api.handle_click_link.bind(this.api),hotkey:"return",hotkey_display_name:"Return"},o.content=this.api.selected_link.is_bang?"Use Bang":"Navigate To Link",i.push(o),o={click_handler:this.api.handle_cut.bind(this.api)},this.api.math_result?(o.hotkey_display_name="Cut Math",o.content="Cut Math Result"):(o.hotkey_display_name="Cut",o.content="Cut All Text"),i.push(o),o={click_handler:this.api.increment_link_selection_index.bind(this.api),hotkey_handler:this.api.increment_link_selection_index.bind(this.api),hotkey:"down",hotkey_display_name:"Down Arrow",content:"Move Selection Down"},i.push(o),o={click_handler:this.api.decrement_link_selection_index.bind(this.api),hotkey_handler:this.api.decrement_link_selection_index.bind(this.api),hotkey:"up",hotkey_display_name:"Up Arrow",content:this.state.link_selection_index>0?"Move Selection Up":"Add New Link"},i.push(o),o={click_handler:function(){return n.api[WO].focus()},hotkey_display_name:"Shift+Tab",content:"Edit Link"},i.push(o),i}render(){var n,i,o,l,a,h,d,m=this._ns_||"",b,v,S,R,I,x,C;n=this,n[HO](),i=o=1,n[gg]===1||(i=o=0,n[gg]=1),(!i||o&2)&&n.flagSelf$("z1ad0d3s-af"),a=h=1,(l=n[mg])||(a=h=0,n[mg]=(l=this.$tips,l[dg]=n,l)),d=this.tips,d===n[vg]||(l.tips=n[vg]=d),a||!l.setup||l.setup(h),l[pu](h),a||n[jO](l),(b=n[_g])||(n[_g]=b=Z("div",n,`z1ad0d3s-ah links ${m}`,null)),(v=n[yg])||(n[yg]=v=Ks(256,b)),S=0,R=v.$;for(let D=0,k=UO(this.state.sorted_links),F=k.length;D<F;D++){let B=k[D];x=C=1,(I=R[S])||(x=C=0,R[S]=I=qe("app-link",v,`${m}`,null)),x||(I[dg]=v),B===I[bg]||(I.link=I[bg]=B),D===I[$g]||(I.index=I[$g]=D),x||!I.setup||I.setup(C),I[pu](C),S++}return v[pu](S),n[GO](o),n}};let Fu=ga;(()=>{BO(ga,"app-links")})();In("app-links",Fu,{});const KO=Object.assign({type:"svg"},{attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},flags:["feather","feather-star"],content:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>'});function VO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const Sg=Symbol.for("#__init__"),YO=Symbol.for("#__patch__"),XO=Symbol.for("#beforeReconcile"),Us=Symbol.for("#placeChild"),ZO=Symbol.for("##up"),JO=Symbol.for("#afterReconcile");var wg=Symbol(),xg=Symbol(),Eg=Symbol(),du=Symbol(),Og=Symbol(),Tg=Symbol(),kg=Symbol(),Cg=Symbol(),Ag=Symbol(),Rg=Symbol(),Ig=Symbol(),Ng=Symbol(),Pg=Symbol(),Lg=Symbol(),Mg=Symbol(),Dg=Symbol(),Fg=Symbol(),zg=Symbol(),qg=Symbol(),Ug=Symbol(),Bg=Symbol(),Wg=Symbol();const ma=class extends Ue{[YO](n={}){var i;(i=n.frequency)!==void 0&&(this.frequency=i)}[Sg](n=null,i=!0){var o;super[Sg](...arguments),this.frequency=n&&(o=n.frequency)!==void 0?o:0}render(){var n=this,i,o,l,a,h,d,m,b,v,S=this._ns_||"",R,I,x,C,D,k,F,B,E,O,P,q,U,H,K,tt;return h=this,h[XO](),d=m=1,h[wg]===1||(d=m=0,h[wg]=1),b=h[xg]||(h[xg]={$_:[function(ut,pt,ht){return n.api.set_link_selection_index(n.index)},null]}),b.$_[1]=n,d||h.on$("pointerover",b,this),b=h[Eg]||(h[Eg]={$_:[function(ut,pt,ht){return n.api.handle_click_link(ut)},null]}),b.$_[1]=n,d||h.on$("click",b,this),v=this.index===this.state.link_selection_index||void 0,v===h[du]||(m|=2,h[du]=v),(!d||m&2)&&h.flagSelf$("z13njjb7-af "+(h[du]?"selected":"")),i=null,this.link.is_bang&&(i="z13njjb7-ag"),h.flags.toggle("z13njjb7-ag",!!i),(R=h[Og])||(h[Og]=R=Z("div",h,`z13njjb7-ah link-left ${S}`,null)),(I=h[Tg])||(h[Tg]=I=Z("img",R,`z13njjb7-ai link-icon ${S}`,null)),x=this.api.get\u039Eicon(this.link.url),x===h[kg]||(I.src=h[kg]=x),(C=h[Cg])||(h[Cg]=C=Z("div",R,`z13njjb7-aj name ${S}`,null)),D=this.link.name,D===h[Rg]&&d||(h[Ag]=C[Us](h[Rg]=D,128,h[Ag])),o=null,this.link.alias&&(k=1,(o=h[Ig])||(k=0,h[Ig]=o=Z("div",null,`z13njjb7-ak name ${S}`,null)),k||(o[ZO]=R),k||Z("span",o,`parens z13njjb7_ak ${S}`,"("),(F=o[Ng])||(o[Ng]=F=Z("span",o,`z13njjb7_ak ${S}`,null)),B=this.link.alias,B===o[Lg]&&k||(o[Pg]=F[Us](o[Lg]=B,384,o[Pg])),k||Z("span",o,`parens z13njjb7_ak ${S}`,")")),h[Mg]=R[Us](o,0,h[Mg]),(E=h[Dg])||(h[Dg]=E=Z("div",h,`z13njjb7-ao link-right ${S}`,null)),(O=h[Fg])||(h[Fg]=O=Z("div",E,`z13njjb7-ap link-buttons z13njjb7_ao ${S}`,null)),l=null,this.index===this.state.link_selection_index&&(l="z13njjb7-aq"),O.flags.toggle("z13njjb7-aq",!!l),q=1,(P=h[zg])||(q=0,h[zg]=P=Z("div",O,`link-button z13njjb7_ap z13njjb7_ao ${S}`,null)),U=h[qg]||(h[qg]={prevent:!0,stop:!0,$_:[function(ut,pt,ht){return n.api.pin_link(n.link)},null]}),U.$_[1]=n,q||P.on$("click",U,this),a=null,Pins[this.link.url]&&(a="z13njjb7-as"),P.flags.toggle("z13njjb7-as",!!a),q||(H=Vu("svg",P,`z13njjb7_ap z13njjb7_ao ${S}`,null)),q||H.set$("src",KO),(K=h[Ug])||(h[Ug]=K=Z("div",E,`z13njjb7-au frequency z13njjb7_ao ${S}`,null)),tt=Frequencies[this.link.url]||0,tt===h[Wg]&&d||(h[Bg]=K[Us](h[Wg]=tt,128,h[Bg])),h[JO](m),h}};let zu=ma;(()=>{VO(ma,"app-link")})();In("app-link",zu,{});function QO(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}const tT=Symbol.for("#beforeReconcile"),Hg=Symbol.for("##up"),eT=Symbol.for("#afterVisit"),nT=Symbol.for("#appendChild"),Bs=Symbol.for("#placeChild"),rT=Symbol.for("#afterReconcile");var jg=Symbol(),Gg=Symbol(),Kg=Symbol(),Vg=Symbol(),Yg=Symbol(),Xg=Symbol(),Zg=Symbol(),Jg=Symbol(),Qg=Symbol(),tm=Symbol(),em=Symbol(),nm=Symbol(),rm=Symbol(),im=Symbol(),sm=Symbol();const va=class extends Ue{get $tips(){let n=qe("app-tips",null,`${this._ns_||""} $tips`,null);return Object.defineProperty(this,"$tips",{value:n}),n}get tips(){let n=[],i;return i={click_handler:this.api.handle_bang.bind(this.api),hotkey_handler:this.api.handle_bang.bind(this.api),hotkey:"return",hotkey_display_name:"Return",content:"Search"},n.push(i),i={click_handler:this.api.handle_cut.bind(this.api)},this.api.math_result?(i.hotkey_display_name="Cut Math",i.content="Cut Math Result"):(i.hotkey_display_name="Cut",i.content="Cut All Text"),n.push(i),this.state.active_bang&&(i={click_handler:this.api.unset_active_bang.bind(this.api),hotkey_handler:this.api.unset_active_bang.bind(this.api),hotkey:"esc",hotkey_display_name:"Esc",content:"Back"},n.push(i)),n}render(){var n=this,i,o,l,a,h,d,m,b,v=this._ns_||"",S,R,I,x,C,D,k,F,B;return o=this,o[tT](),l=a=1,o[jg]===1||(l=a=0,o[jg]=1),(!l||a&2)&&o.flagSelf$("vkf5hp-af"),d=m=1,(h=o[Gg])||(d=m=0,o[Gg]=(h=this.$tips,h[Hg]=o,h)),b=this.tips,b===o[Kg]||(h.tips=o[Kg]=b),d||!h.setup||h.setup(m),h[eT](m),d||o[nT](h),i=null,this.$tips.show_more||(S=1,(i=o[Vg])||(S=0,o[Vg]=i=Z("div",null,`vkf5hp-ah bang selected ${v}`,null)),S||(i[Hg]=o),S||i.on$("click",{$_:[function(E,O){return n.api.handle_bang(E)}]},this),(R=i[Yg])||(i[Yg]=R=Z("div",i,`vkf5hp-ai link-left ${v}`,null)),(I=i[Xg])||(i[Xg]=I=Z("img",R,`vkf5hp-aj link-icon ${v}`,null)),x=this.api.get\u039Eicon(this.api.bang.url),x===i[Zg]||(I.src=i[Zg]=x),(C=i[Jg])||(i[Jg]=C=Z("div",R,`vkf5hp-ak display-name ${v}`,null)),S||C[Bs]("..."),D=this.api.encoded_bang_query_nourl,D===i[tm]&&S||(i[Qg]=C[Bs](i[tm]=D,0,i[Qg])),(k=i[em])||(i[em]=k=Z("div",i,`vkf5hp-al link-right ${v}`,null)),(F=i[nm])||(i[nm]=F=Z("div",k,`vkf5hp-am frequency ${v}`,null)),B=this.api.bang.frequency,B===i[im]&&S||(i[rm]=F[Bs](i[im]=B,128,i[rm]))),o[sm]=o[Bs](i,0,o[sm]),o[rT](a),o}};let qu=va;(()=>{QO(va,"app-bang")})();In("app-bang",qu,{});const iT=Object.assign({type:"svg"},{attributes:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},flags:["feather","feather-chevron-down"],content:'<polyline points="6 9 12 15 18 9"></polyline>'});function E0(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}function sT(e,n){return e[e.length+n]}function gu(e){let n;return e&&((n=e.toIterable)?n.call(e):e)}function om(e,n,i,o){var l=arguments.length,a=l<3?n:o===null?o=Object.getOwnPropertyDescriptor(n,i):o,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,n,i,o);else for(var d=e.length-1;d>=0;d--)(h=e[d])&&(a=(l<3?h(a):l>3?h(n,i,a):h(n,i))||a);return l>3&&a&&Object.defineProperty(n,i,a),a}const lm=Symbol.for("#__init__"),oT=Symbol.for("#__patch__"),lT=Symbol.for("#__hooks__"),O0=Symbol.for("#beforeReconcile"),gr=Symbol.for("##up"),uT=Symbol.for("#visit"),gi=Symbol.for("#placeChild"),T0=Symbol.for("#afterReconcile"),ri=Symbol.for("#afterVisit");var um=Symbol(),am=Symbol(),hm=Symbol(),fm=Symbol(),cm=Symbol(),pm=Symbol(),dm=Symbol(),gm=Symbol(),mm=Symbol(),vm=Symbol(),_m=Symbol(),ym=Symbol(),bm=Symbol(),$m=Symbol(),Sm=Symbol(),wm=Symbol(),xm=Symbol(),Em=Symbol(),mu=Symbol(),Om=Symbol(),Tm=Symbol(),km=Symbol(),Cm=Symbol(),Am=Symbol();const _a=class extends Ue{render(){var k;var n=this,i,o,l,a,h,d,m=this._ns_||"",b,v,S,R,I,x,C,D;return l=this,l[O0](),a=h=1,l[um]===1||(a=h=0,l[um]=1),d=l[am]||(l[am]={if:[null],$_:[function(F,B){return n.tip.click_handler(F)}]}),d.if[0]=this.tip.click_handler,a||l.on$("click",d,this),(!a||h&2)&&l.flagSelf$("z6p9vo5-af"),i=null,(this.tip.placeholder||!this.tip.click_handler)&&(i="z6p9vo5-ag"),l.flags.toggle("z6p9vo5-ag",!!i),o=null,this.tip.hotkey_handler&&this.tip.hotkey&&(b=v=1,(o=l[hm])||(b=v=0,l[hm]=o=Z("div",null,`z6p9vo5-ah ${m}`,null)),b||(o[gr]=l),S=o[fm]||(o[fm]={options:[null],force:!0,$_:[function(F,B,E){return n.tip.hotkey_handler(F)},null]}),R=this.tip.hotkey,R===S.options[0]||(S.options[0]=R,v|=48),S.$_[1]=n,b||o.on$("hotkey",S,this),v&32&&(v^=32,(k=S[uT])==null||k.call(S))),l[cm]=l[gi](o,0,l[cm]),(I=l[pm])||(l[pm]=I=Z("div",l,`z6p9vo5-ai tip-hotkey ${m}`,null)),x=this.tip.hotkey_display_name,x===l[gm]&&a||(l[dm]=I[gi](l[gm]=x,128,l[dm])),(C=l[mm])||(l[mm]=C=Z("div",l,`z6p9vo5-aj tip-content ${m}`,null)),D=this.tip.content,D===l[_m]&&a||(l[vm]=C[gi](l[_m]=D,128,l[vm])),l[T0](h),l}};let Uu=_a;(()=>{E0(_a,"app-tip")})();In("app-tip",Uu,{});const vr=class extends Ue{[oT](n={}){var i;(i=n.tips)!==void 0&&(this.tips=i)}[lm](n=null,i=!0){super[lm](...arguments),this.tips=n?n.tips:void 0}unmount(){return this.show_more=!1}toggle(){return this.show_more=!this.show_more}pad(n){let i=n.length;for(var o=[];i<3;)n.push({placeholder:!0}),o.push(i+=1);return o}get chunks(){let n=lo.exports.chunk(this.tips,3);return this.pad(sT(n,-1)),n}render(){var n=this,i,o,l,a,h,d,m,b=this._ns_||"",v,S,R,I,x,C,D,k,F,B,E,O,P,q,U,H,K,tt,ut,pt,ht,kt,Pt,xt;h=this,h[O0](),d=m=1,h[ym]===1||(d=m=0,h[ym]=1),(!d||m&2)&&h.flagSelf$("z6p9vo5-ak"),(v=h[bm])||(h[bm]=v=Z("div",h,`tip-row z6p9vo5_ak ${b}`,null)),(S=h[$m])||(h[$m]=S=Ks(384,v)),R=0,I=S.$;for(let it=0,Et=gu(this.chunks[0]),Ct=Et.length;it<Ct;it++){let Ot=Et[it];C=D=1,(x=I[R])||(C=D=0,I[R]=x=qe("app-tip",S,`z6p9vo5_ak ${b}`,null)),C||(x[gr]=S),Ot===x[Sm]||(x.tip=x[Sm]=Ot),C||!x.setup||x.setup(D),x[ri](D),R++}if(S[ri](R),l=a=null,this.chunks.length>1){k=1,(l=h[wm])||(k=0,h[wm]=l=Z("div",null,`z6p9vo5-an z6p9vo5_ak ${b}`,null)),k||(l[gr]=h),k||l.on$("click",{$_:[function(it,Et){return n.toggle(it)}]},this),i=null,this.show_more&&(i="z6p9vo5-ao"),l.flags.toggle("z6p9vo5-ao",!!i),B=1,(F=l[xm])||(B=0,l[xm]=F=Vu("svg",l,`z6p9vo5-ap z6p9vo5_ak ${b}`,null)),B||F.set$("src",iT),o=null,this.show_more&&(o="z6p9vo5-aq"),F.flags.toggle("z6p9vo5-aq",!!o),E=O=1,(a=h[Em])||(E=O=0,h[Em]=a=Z("div",null,`z6p9vo5-as more z6p9vo5_ak ${b}`,null)),E||(a[gr]=h),P=!this.show_more||void 0,P===a[mu]||(O|=2,a[mu]=P),O&2&&a.flag$(`z6p9vo5-as more z6p9vo5_ak ${b} `+(a[mu]?"z6p9vo5-ar":"")),(q=a[Om])||(a[Om]=q=Ks(256,a)),U=0,H=q.$;for(let it=0,Et=gu(this.chunks.slice(1)),Ct=Et.length;it<Ct;it++){let Ot=Et[it];tt=1,(K=H[U])||(tt=0,H[U]=K=Z("div",q,`tip-row z6p9vo5_ak ${b}`,null)),tt||(K[gr]=q),(ut=K[Tm])||(K[Tm]=ut=Ks(384,K)),pt=0,ht=ut.$;for(let Re=0,Be=gu(Ot),on=Be.length;Re<on;Re++){let Qt=Be[Re];Pt=xt=1,(kt=ht[pt])||(Pt=xt=0,ht[pt]=kt=qe("app-tip",ut,`z6p9vo5_ak ${b}`,null)),Pt||(kt[gr]=ut),Qt===kt[km]||(kt.tip=kt[km]=Qt),Pt||!kt.setup||kt.setup(xt),kt[ri](xt),pt++}ut[ri](pt),U++}q[ri](U)}return h[Cm]=h[gi](l,0,h[Cm]),h[Am]=h[gi](a,0,h[Am]),h[T0](m),h}};let Bu=vr;(()=>{vr.prototype[lT]=Nw,E0(vr,"app-tips"),om([lO.bind([])],vr.prototype,"tips",null),om([oO.bind([])],vr.prototype,"chunks",null)})();In("app-tips",Bu,{});function k0(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}function aT(e,n){const i=Object.getOwnPropertyDescriptors(n);return delete i.constructor,Object.defineProperties(e,i),e}var Rm,Im=Symbol(),vu=Symbol(),_u=Symbol(),yu=Symbol(),Nm=Symbol(),Pm=Symbol(),Lm=Symbol(),Mm=Symbol(),bn,ii=Dw(),Dm=Symbol(),Ws,Hs;const hT=Symbol.for("#beforeReconcile"),Wu=Symbol.for("##up"),Hu=Symbol.for("#afterVisit"),fT=Symbol.for("#placeChild"),cT=Symbol.for("#afterReconcile");yi.addSelectors([".z135ytdf-af"],"transition");globalThis.L=console.log;let pT=mO.version;L("fuzzyhome version "+pT);var Ei;aT(m2("element","Element").prototype,(Ei=class{get state(){return gt}get api(){return x0}get config(){return Si}get storage(){return kn}},(()=>{k0(Ei,"element")})(),Ei).prototype);if(Si.data.focus&&location.search!=(Rm="?x")&&(location.search=Rm,!0))throw new Error;globalThis.Pins={};globalThis.Frequencies={};globalThis.Links={};function dT(){return Pins=kn.get("pins")||{},Frequencies=kn.get("frequencies")||{},Links=kn.get("links")||{},x0.refresh_links(),gt.loaded=!0,Gt()}dT();const ya=class extends Ue{render(){var n,i,o,l,a,h=this._ns_||"",d,m,b,v,S;return i=this,i[hT](),o=l=1,i[Im]===1||(o=l=0,i[Im]=1),a=Si.theme==="light"||void 0,a===i[vu]||(l|=2,i[vu]=a),a=Si.theme==="dark"||void 0,a===i[_u]||(l|=2,i[_u]=a),a=gt.loading||void 0,a===i[yu]||(l|=2,i[yu]=a),o||(i.ease="ease"),(!o||l&2)&&i.flagSelf$("z135ytdf-af "+(i[vu]?"light":"")+" "+(i[_u]?"dark":"")+" "+(i[yu]?"disabled":"")),(d=i[Nm])||(i[Nm]=d=Z("div",i,`z135ytdf-ag main ${h}`,null)),n=null,gt.view==="settings"?(m=b=1,(n=i[Pm])||(m=b=0,i[Pm]=n=qe("app-settings",null,`${h}`,null)),m||(n[Wu]=d),m||!n.setup||n.setup(b),n[Hu](b)):(v=S=1,(n=i[Lm])||(v=S=0,i[Lm]=n=qe("app-home",null,`${h}`,null)),v||(n[Wu]=d),v||!n.setup||n.setup(S),n[Hu](S)),i[Mm]=d[fT](n,0,i[Mm]),i[cT](l),i}};let ju=ya;(()=>{k0(ya,"app")})();In("app",ju,{});e0((Ws=Hs=1,(bn=ii[Dm])||(Ws=Hs=0,bn=ii[Dm]=bn=qe("app",null,null,null)),Ws||(bn[Wu]=ii._),Ws||ii.sym||!bn.setup||bn.setup(Hs),ii.sym||bn[Hu](Hs),bn));
</script>
<style>
.mqc0em-ao,.mqc0em-as,.side.mqc0em_ak{--e_ad:0ms;--e_af:cubic-bezier(.23, 1, .32, 1);--e_aw:0ms;--e_od:var(--e_ad);--e_of:var(--e_af);--e_ow:var(--e_aw);--e_cd:var(--e_ad);--e_cf:var(--e_af);--e_cw:var(--e_aw);--e_bd:var(--e_ad);--e_bf:var(--e_af);--e_bw:var(--e_aw);--e_td:var(--e_bd);--e_tf:var(--e_bf);--e_tw:var(--e_bw);--e_b:var(--e_bd) var(--e_bf) var(--e_bw);--e_c:var(--e_cd) var(--e_cf) var(--e_cw);--e_rest:any;transition:all var(--e_ad) var(--e_af) var(--e_aw),opacity var(--e_od) var(--e_of) var(--e_ow),transform var(--e_td) var(--e_tf) var(--e_tw),color var(--e_c),background-color var(--e_c),border-color var(--e_c),fill var(--e_c),stroke var(--e_c),outline-color var(--e_c),box-shadow var(--e_c),inset var(--e_b),width var(--e_b),height var(--e_b),max-width var(--e_b),max-height var(--e_b),min-width var(--e_b),min-height var(--e_b),border-width var(--e_b),outline-width var(--e_b),stroke-width var(--e_b),margin var(--e_b),padding var(--e_b),var(--e_rest)}.mqc0em-an,.mqc0em-ag>input.mqc0em_ag{--ol_s:solid;--ol_w:1px;--ol_o:0px;--ol_c:transparent;outline:var(--ol_w) var(--ol_s) var(--ol_c);outline:1px solid transparent;outline-offset:var(--ol_o)}.mqc0em-af:not(#_):not(#_){width:100%;display:flex;flex-direction:column;overflow-y:hidden;gap:20px;--u_rg: 20px;--u_cg: 20px}.mqc0em-ag:not(#_):not(#_){display:flex;flex-direction:row;justify-content:flex-start;align-items:center;align-content:center;filter:grayscale(80%)}.mqc0em-ag>input.mqc0em_ag:not(#_){height:34px;padding-left:20px;padding-right:20px;font-size:14px;border:1px solid var(--input-bc);--ol_w: 1px;border-radius:5px;background:var(--input-bg);color:var(--text-c);caret-color:var(--input-caret-c)}.mqc0em-ah:not(#_):not(#_):not(#_){color:var(--button-c)}.mqc0em-ai:not(#_):not(#_):not(#_){margin-left:17px;border-right-style:solid;border-right-width:0;border-top-right-radius:0;border-bottom-right-radius:0}.mqc0em-aj:not(#_):not(#_):not(#_){border-left-style:solid;border-left-width:0;border-top-left-radius:0;border-bottom-left-radius:0;width:380px}.mqc0em-ak:not(#_):not(#_){display:flex;flex-direction:row}.side.mqc0em_ak:not(#_){color:var(--button-c);font-size:15px;display:flex;align-items:center;justify-content:center;--e_ad: .3s !important}.side.mqc0em_ak>*:not(#_){width:15px;display:flex}.left.mqc0em_ak:not(#_){padding-right:15px;justify-content:left}.right.mqc0em_ak:not(#_){padding-left:15px;justify-content:right}.mqc0em-an:not(#_):not(#_){height:50px;padding-left:20px;padding-right:20px;flex:1;font-size:20px;text-align:center;border:1px solid var(--input-bc);--ol_w: 1px;border-radius:5px;background:var(--input-bg);color:var(--text-c);caret-color:var(--input-caret-c)}.mqc0em-ap:not(#_):not(#_){display:flex;align-items:center;justify-content:center;font-size:17px;min-width:min-content}.mqc0em-ao:not(#_):not(#_){--e_ad: .2s !important;--e_af: cubic-bezier(.075, .82, .165, 1) !important;max-width:var(--mqc0em_aq);min-width:var(--mqc0em_ar)}.mqc0em-as:not(#_):not(#_){--e_ad: .4s !important;overflow:hidden}.\@off.mqc0em-as:not(#_):not(#_):not(#_):not(#_){opacity:0}.mqc0em-av:not(#_):not(#_):not(#_){text-align:center;color:var(--button-c)}app-home{display:block}.settings-button.z1j3kifw_af{--e_ad:0ms;--e_af:cubic-bezier(.23, 1, .32, 1);--e_aw:0ms;--e_od:var(--e_ad);--e_of:var(--e_af);--e_ow:var(--e_aw);--e_cd:var(--e_ad);--e_cf:var(--e_af);--e_cw:var(--e_aw);--e_bd:var(--e_ad);--e_bf:var(--e_af);--e_bw:var(--e_aw);--e_td:var(--e_bd);--e_tf:var(--e_bf);--e_tw:var(--e_bw);--e_b:var(--e_bd) var(--e_bf) var(--e_bw);--e_c:var(--e_cd) var(--e_cf) var(--e_cw);--e_rest:any;transition:all var(--e_ad) var(--e_af) var(--e_aw),opacity var(--e_od) var(--e_of) var(--e_ow),transform var(--e_td) var(--e_tf) var(--e_tw),color var(--e_c),background-color var(--e_c),border-color var(--e_c),fill var(--e_c),stroke var(--e_c),outline-color var(--e_c),box-shadow var(--e_c),inset var(--e_b),width var(--e_b),height var(--e_b),max-width var(--e_b),max-height var(--e_b),min-width var(--e_b),min-height var(--e_b),border-width var(--e_b),outline-width var(--e_b),stroke-width var(--e_b),margin var(--e_b),padding var(--e_b),var(--e_rest)}.z1j3kifw-af:not(#_):not(#_){width:100%}.settings-container.z1j3kifw_af:not(#_){display:flex;flex-direction:row;justify-content:space-around;align-items:center;width:100%;height:50px;margin-top:10px;gap:10px;--u_rg: 10px;--u_cg: 10px}.settings-button.z1j3kifw_af:not(#_){border-style:none;font-size:14px;display:flex;align-items:center;justify-content:center;flex:1;border-radius:5px;text-transform:uppercase;--e_rest: background .1s !important;height:100%;padding-left:5px;padding-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--button-bg);color:var(--button-c)}.settings-button:hover.z1j3kifw_af:not(#_){background:var(--button-hover-bg)}app-settings{display:block}.z1ad0d3s-af:not(#_):not(#_){width:100%;display:flex;flex-direction:column;gap:15px;--u_rg: 15px;--u_cg: 15px;overflow-y:hidden;max-height:100%}.z1ad0d3s-ah:not(#_):not(#_){overflow-y:auto}app-links{display:block}.z13njjb7-af:not(#_):not(#_){display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:11px 16px;border-radius:5px;color:var(--text-c)}.z13njjb7-ag:not(#_):not(#_){color:var(--bang-c)}.z13njjb7-ah:not(#_):not(#_){display:flex;width:100%}.z13njjb7-ai:not(#_):not(#_){width:20px;height:20px;margin-right:10px;border-radius:3px}.z13njjb7-aj:not(#_):not(#_){text-transform:capitalize;font-size:20px;overflow-wrap:anywhere}.z13njjb7-ak:not(#_):not(#_){display:flex;place-content:center;place-items:center;color:var(--effective-name-c);margin-left:10px;font-size:14px}.parens.z13njjb7_ak:not(#_){font-size:10px;color:var(--effective-name-parens-c)}.z13njjb7-ao:not(#_):not(#_){display:flex;flex-direction:row;justify-content:space-between;width:70px;align-items:center}.selected.z13njjb7_ao .link-button.z13njjb7_ao:not(#_){visibility:visible}.z13njjb7-ap:not(#_):not(#_){display:flex;flex-direction:row;justify-content:start;align-items:center;gap:5px;--u_rg: 5px;--u_cg: 5px}.link-button.z13njjb7_ap:not(#_){visibility:hidden;border-radius:3px;color:var(--button-c);font-size:15px;padding-left:3px;padding-right:3px}.z13njjb7-aq .link-button.z13njjb7_ap:not(#_){visibility:visible}.link-button.z13njjb7_ap svg.z13njjb7_ap:not(#_){width:15px}.z13njjb7-as:not(#_):not(#_){visibility:visible;color:var(--button-dim-c)}.z13njjb7-au:not(#_):not(#_){font-size:15px;margin-left:7px}app-link{display:block}.vkf5hp-af:not(#_):not(#_){width:100%;display:flex;flex-direction:column;gap:15px;--u_rg: 15px;--u_cg: 15px;overflow-y:hidden}.vkf5hp-ah:not(#_):not(#_):not(#_){color:var(--bang-c)}.vkf5hp-ah:not(#_):not(#_){display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:11px 16px;border-radius:5px;color:var(--text-c)}.vkf5hp-ai:not(#_):not(#_){display:flex;flex:1;overflow-y:hidden}.vkf5hp-aj:not(#_):not(#_){width:20px;height:20px;margin-right:10px;border-radius:3px}.vkf5hp-ak:not(#_):not(#_){font-size:20px;overflow:hidden;text-overflow:ellipsis}.vkf5hp-al:not(#_):not(#_){display:flex;flex-direction:row;justify-content:space-between;align-items:center}.vkf5hp-am:not(#_):not(#_){font-size:15px;margin-left:7px}app-bang{display:block}.z6p9vo5-af,.z6p9vo5-an,.z6p9vo5-ap,.z6p9vo5-as{--e_ad:0ms;--e_af:cubic-bezier(.23, 1, .32, 1);--e_aw:0ms;--e_od:var(--e_ad);--e_of:var(--e_af);--e_ow:var(--e_aw);--e_cd:var(--e_ad);--e_cf:var(--e_af);--e_cw:var(--e_aw);--e_bd:var(--e_ad);--e_bf:var(--e_af);--e_bw:var(--e_aw);--e_td:var(--e_bd);--e_tf:var(--e_bf);--e_tw:var(--e_bw);--e_b:var(--e_bd) var(--e_bf) var(--e_bw);--e_c:var(--e_cd) var(--e_cf) var(--e_cw);--e_rest:any;transition:all var(--e_ad) var(--e_af) var(--e_aw),opacity var(--e_od) var(--e_of) var(--e_ow),transform var(--e_td) var(--e_tf) var(--e_tw),color var(--e_c),background-color var(--e_c),border-color var(--e_c),fill var(--e_c),stroke var(--e_c),outline-color var(--e_c),box-shadow var(--e_c),inset var(--e_b),width var(--e_b),height var(--e_b),max-width var(--e_b),max-height var(--e_b),min-width var(--e_b),min-height var(--e_b),border-width var(--e_b),outline-width var(--e_b),stroke-width var(--e_b),margin var(--e_b),padding var(--e_b),var(--e_rest)}.z6p9vo5-af:not(#_):not(#_){display:flex;flex-direction:column;justify-content:start;flex:1;border-right-style:solid;border-right-width:1px;border-color:var(--tip-bc);min-width:0rem;text-align:center;padding:10px;--e_rest: background .1s !important}:first-child.z6p9vo5-af:not(#_):not(#_){text-align:left;border-top-left-radius:3px;border-bottom-left-radius:3px}:last-child.z6p9vo5-af:not(#_):not(#_){text-align:right;border-style:none;border-top-right-radius:3px;border-bottom-right-radius:3px}:hover.z6p9vo5-af:not(#_):not(#_){background:var(--tip-hover-c)}:hover.z6p9vo5-ag:not(#_):not(#_):not(#_){background:none!important}.z6p9vo5-ah:not(#_):not(#_){display:none}.z6p9vo5-ai:not(#_):not(#_){font-size:12px;color:var(--tip-hotkey-c)}.z6p9vo5-aj:not(#_):not(#_){padding-top:2px;font-size:14px;color:var(--tip-content-c)}app-tip{display:block}.z6p9vo5-ak:not(#_):not(#_){display:flex;flex-direction:column;gap:15px;--u_rg: 15px;--u_cg: 15px;max-height:75%}.tip-row.z6p9vo5_ak:not(#_){display:flex;flex-direction:row;width:100%;flex:1;font-size:14px;justify-content:end;text-align:center}.z6p9vo5-an:not(#_):not(#_){width:100%;display:flex;place-content:center;place-items:center;color:var(--button-c);border-bottom-left-radius:4px;border-bottom-right-radius:4px;--e_rest: background .1s !important}:hover.z6p9vo5-an:not(#_):not(#_){background:var(--tip-hover-c)}.z6p9vo5-ao:not(#_):not(#_){border-radius:0}.z6p9vo5-ap:not(#_):not(#_){width:15px;--e_rest: transform .15s !important}.z6p9vo5-aq:not(#_):not(#_){transform:rotate(180deg)}.z6p9vo5-ar:not(#_):not(#_):not(#_){display:none}.z6p9vo5-as:not(#_):not(#_){display:flex;flex-direction:column;gap:15px;--u_rg: 15px;--u_cg: 15px;overflow-y:auto;--e_ad: .3s !important}app-tips{display:block}html{--effective-name-c: hsla(240,5.03%,64.9%,100%);--effective-name-parens-c: hsla(240,5.03%,64.9%,80%);background:hsla(232,19%,15%,1)}body{margin:0rem;border-style:solid;border-width:0;padding:0rem;background:hsla(232,19%,15%,1)}.dark:not(._0){--appbg: hsla(232,19%,15%,1);--bodybg: hsla(232,19%,15%,1);--selected-c: hsla(211.7,96.36%,78.43%,5%);--bang-c: hsla(31,89%,83%,1);--text-c: hsla(211.7,96.36%,78.43%,100%);--input-bg: hsla(270,95.24%,75.29%,10%);--input-c: hsla(211.7,96.36%,78.43%,100%);--input-caret-c: hsla(211.7,96.36%,78.43%,100%);--input-bc: hsla(270,95.24%,75.29%,100%);--tip-hotkey-c: hsla(269.19,97.37%,85.1%,50%);--tip-content-c: hsla(269.19,97.37%,85.1%,100%);--tip-hover-c: hsla(269.19,97.37%,85.1%,3%);--tip-bc: hsla(211.7,96.36%,78.43%,10%);--button-c: hsla(269.19,97.37%,85.1%,90%);--button-dim-c: hsla(269.19,97.37%,85.1%,50%);--button-bg: hsla(270,95.24%,75.29%,10%);--button-hover-bg: hsla(270,95.24%,75.29%,20%)}.light:not(._0){--bodybg: hsla(0,0%,93%,1);--appbg: hsla(var(--c_fff),1);--selected-c: hsla(217.22,91.22%,59.8%,7%);--bang-c: hsla(0,100%,72%,1);--text-c: hsla(0,0%,24%,1);--input-bg: hsla(213.12,93.9%,67.84%,10%);--input-c: hsla(211.7,96.36%,78.43%,100%);--input-caret-c: hsla(0,0%,24%,1);--input-bc: hsla(213.12,93.9%,67.84%,100%);--tip-hotkey-c: hsla(213.12,93.9%,67.84%,80%);--tip-content-c: hsla(217.22,91.22%,59.8%,100%);--tip-hover-c: hsla(0,0%,0%,3%);--tip-bc: hsla(0,0%,0%,10%);--button-c: hsla(217.22,91.22%,59.8%,90%);--button-dim-c: hsla(217.22,91.22%,59.8%,50%);--button-bg: hsla(213.12,93.9%,67.84%,10%);--button-hover-bg: hsla(213.12,93.9%,67.84%,20%)}a{text-decoration:none}.disabled *:not(#_):not(._0){color:#a1a1aa!important;user-select:none!important;-webkit-user-select:none!important;pointer-events:none!important}.disabled .\$main-input:not(#_):not(._0){background:hsla(240,5.03%,64.9%,10%)!important;border-color:#a1a1aa!important}.selected:not(._0){background:var(--selected-c)}.ellipsis:not(._0){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._instant_:not(#_):not(#_):not(#_):not(#_){transition-duration:0ms!important}.\@enter:not(#_),.\@leave:not(#_){--e_ad:.3s}.z135ytdf-af{--e_ad:0ms;--e_af:cubic-bezier(.23, 1, .32, 1);--e_aw:0ms;--e_od:var(--e_ad);--e_of:var(--e_af);--e_ow:var(--e_aw);--e_cd:var(--e_ad);--e_cf:var(--e_af);--e_cw:var(--e_aw);--e_bd:var(--e_ad);--e_bf:var(--e_af);--e_bw:var(--e_aw);--e_td:var(--e_bd);--e_tf:var(--e_bf);--e_tw:var(--e_bw);--e_b:var(--e_bd) var(--e_bf) var(--e_bw);--e_c:var(--e_cd) var(--e_cf) var(--e_cw);--e_rest:any;transition:all var(--e_ad) var(--e_af) var(--e_aw),opacity var(--e_od) var(--e_of) var(--e_ow),transform var(--e_td) var(--e_tf) var(--e_tw),color var(--e_c),background-color var(--e_c),border-color var(--e_c),fill var(--e_c),stroke var(--e_c),outline-color var(--e_c),box-shadow var(--e_c),inset var(--e_b),width var(--e_b),height var(--e_b),max-width var(--e_b),max-height var(--e_b),min-width var(--e_b),min-height var(--e_b),border-width var(--e_b),outline-width var(--e_b),stroke-width var(--e_b),margin var(--e_b),padding var(--e_b),var(--e_rest)}.z135ytdf-af:not(#_):not(#_){display:flex;flex-direction:column;justify-content:start;align-items:center;margin:0rem;width:100%;height:100%;background:var(--bodybg);font-family:var(--font-sans-serif,sans-serif);font-weight:1;user-select:none;-webkit-user-select:none;--e_ad: .1s !important}.\@off.z135ytdf-af:not(#_):not(#_):not(#_):not(#_){opacity:0}.z135ytdf-ag:not(#_):not(#_){display:flex;flex-direction:column;justify-content:start;align-items:center;background:var(--appbg);width:80vw;max-width:700px;max-height:80vh;box-shadow:0 0 10px #00000059;box-sizing:border-box;padding:30px;border-radius:10px;margin-top:7vh}app-tag{display:block}
</style>
</head>
<body style="background:#20222f">
</body>
</html>