Content inside supertokenslib
(The raw file follows this syntax highlighted file.)
(()=>{function O(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function x(t){return function e(r){return arguments.length===0||O(r)?e:t.apply(this,arguments)}}function g(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return O(r)?e:x(function(o){return t(r,o)});default:return O(r)&&O(n)?e:O(r)?x(function(o){return t(o,n)}):O(n)?x(function(o){return t(r,o)}):t(r,n)}}}function ge(t,e){t=t||[],e=e||[];var r,n=t.length,o=e.length,a=[];for(r=0;r<n;)a[a.length]=t[r],r+=1;for(r=0;r<o;)a[a.length]=e[r],r+=1;return a}function X(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,o){return e.apply(this,arguments)};case 4:return function(r,n,o,a){return e.apply(this,arguments)};case 5:return function(r,n,o,a,u){return e.apply(this,arguments)};case 6:return function(r,n,o,a,u,s){return e.apply(this,arguments)};case 7:return function(r,n,o,a,u,s,i){return e.apply(this,arguments)};case 8:return function(r,n,o,a,u,s,i,c){return e.apply(this,arguments)};case 9:return function(r,n,o,a,u,s,i,c,f){return e.apply(this,arguments)};case 10:return function(r,n,o,a,u,s,i,c,f,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Te(t,e,r){return function(){for(var n=[],o=0,a=t,u=0,s=!1;u<e.length||o<arguments.length;){var i;u<e.length&&(!O(e[u])||o>=arguments.length)?i=e[u]:(i=arguments[o],o+=1),n[u]=i,O(i)?s=!0:a-=1,u+=1}return!s&&a<=0?r.apply(this,n):X(Math.max(0,a),Te(t,n,r))}}var Xr=g(function(e,r){return e===1?x(r):X(e,Te(e,[],r))}),z=Xr;function L(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return O(r)?e:g(function(a,u){return t(r,a,u)});case 2:return O(r)&&O(n)?e:O(r)?g(function(a,u){return t(a,n,u)}):O(n)?g(function(a,u){return t(r,a,u)}):x(function(a){return t(r,n,a)});default:return O(r)&&O(n)&&O(o)?e:O(r)&&O(n)?g(function(a,u){return t(a,u,o)}):O(r)&&O(o)?g(function(a,u){return t(a,n,u)}):O(n)&&O(o)?g(function(a,u){return t(r,a,u)}):O(r)?x(function(a){return t(a,n,o)}):O(n)?x(function(a){return t(r,a,o)}):O(o)?x(function(a){return t(r,n,a)}):t(r,n,o)}}}var E=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Je(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function ee(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!E(n)){for(var o=0;o<t.length;){if(typeof n[t[o]]=="function")return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(Je(n)){var a=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return a(n)}}return r.apply(this,arguments)}}var H={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Re(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ce(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function Ye(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function M(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function en(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var je=typeof Object.is=="function"?Object.is:en;var Vt=Object.prototype.toString,tn=function(){return Vt.call(arguments)==="[object Arguments]"?function(e){return Vt.call(e)==="[object Arguments]"}:function(e){return M("callee",e)}}(),Ee=tn;var rn=!{toString:null}.propertyIsEnumerable("toString"),zt=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ht=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),nn=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},on=typeof Object.keys=="function"&&!Ht?x(function(e){return Object(e)!==e?[]:Object.keys(e)}):x(function(e){if(Object(e)!==e)return[];var r,n,o=[],a=Ht&&Ee(e);for(r in e)M(r,e)&&(!a||r!=="length")&&(o[o.length]=r);if(rn)for(n=zt.length-1;n>=0;)r=zt[n],M(r,e)&&!nn(o,r)&&(o[o.length]=r),n-=1;return o}),N=on;var an=x(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}),Ge=an;function Qt(t,e,r,n){var o=Re(t),a=Re(e);function u(s,i){return ye(s,i,r.slice(),n.slice())}return!Ce(function(s,i){return!Ce(u,i,s)},a,o)}function ye(t,e,r,n){if(je(t,e))return!0;var o=Ge(t);if(o!==Ge(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&Ye(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&je(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!je(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size!==e.size?!1:Qt(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:Qt(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=N(t);if(u.length!==N(e).length)return!1;var s=r.concat([t]),i=n.concat([e]);for(a=u.length-1;a>=0;){var c=u[a];if(!(M(c,e)&&ye(e[c],t[c],s,i)))return!1;a-=1}return!0}var un=g(function(e,r){return ye(e,r,[],[])}),Q=un;function Xe(t,e,r){var n,o;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(n=1/e;r<t.length;){if(o=t[r],o===0&&1/o===n)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(o=t[r],typeof o=="number"&&o!==o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Q(t[r],e))return r;r+=1}return-1}function ve(t,e){return Xe(e,t,0)>=0}function te(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function xe(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var _e=function(e){return(e<10?"0":"")+e},sn=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+_e(e.getUTCMonth()+1)+"-"+_e(e.getUTCDate())+"T"+_e(e.getUTCHours())+":"+_e(e.getUTCMinutes())+":"+_e(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},Zt=sn;function et(t){return function(){return!t.apply(this,arguments)}}function q(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function tt(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}function we(t){return Object.prototype.toString.call(t)==="[object Object]"}var fn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function rt(t){return function(e){return new fn(t,e)}}var ln=g(ee(["fantasy-land/filter","filter"],rt,function(t,e){return we(e)?q(function(r,n){return t(e[n])&&(r[n]=e[n]),r},{},N(e)):tt(t,e)})),Kt=ln;var cn=g(function(e,r){return Kt(et(e),r)}),be=cn;function Me(t,e){var r=function(u){var s=e.concat([t]);return ve(u,s)?"<Circular>":Me(u,s)},n=function(a,u){return te(function(s){return xe(s)+": "+r(a[s])},u.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+te(r,t).join(", ")+"))";case"[object Array]":return"["+te(r,t).concat(n(t,be(function(a){return/^\d+$/.test(a)},N(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):xe(Zt(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":xe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var o=t.toString();if(o!=="[object Object]")return o}return"{"+n(t,N(t)).join(", ")+"}"}}var pn=x(function(e){return Me(e,[])}),nt=pn;var dn=g(function(e,r){if(e===r)return r;function n(i,c){if(i>c!=c>i)return c>i?c:i}var o=n(e,r);if(o!==void 0)return o;var a=n(typeof e,typeof r);if(a!==void 0)return a===typeof e?e:r;var u=nt(e),s=n(u,nt(r));return s!==void 0&&s===u?e:r}),Ne=dn;var mn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),hn=function(e){return function(r){return new mn(e,r)}},Jt=hn;var gn=g(ee(["fantasy-land/map","map"],Jt,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return z(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return q(function(n,o){return n[o]=e(r[o]),n},{},N(r));default:return te(e,r)}})),B=gn;var W=Number.isInteger||function(e){return e<<0===e};function re(t){return Object.prototype.toString.call(t)==="[object String]"}var yn=g(function(e,r){var n=e<0?r.length+e:e;return re(r)?r.charAt(n):r[n]}),Yt=yn;var vn=g(function(e,r){if(r!=null)return W(e)?Yt(e,r):r[e]}),Gt=vn;var xn=g(function(e,r){return B(Gt(e),r)}),Be=xn;var _n=x(function(e){return E(e)?!0:!e||typeof e!="object"||re(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Xt=_n;var er=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Ie(t,e,r){return function(o,a,u){if(Xt(u))return t(o,a,u);if(u==null)return a;if(typeof u["fantasy-land/reduce"]=="function")return e(o,a,u,"fantasy-land/reduce");if(u[er]!=null)return r(o,a,u[er]());if(typeof u.next=="function")return r(o,a,u);if(typeof u.reduce=="function")return e(o,a,u,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ot(t,e,r){for(var n=0,o=r.length;n<o;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var wn=g(function(e,r){return X(e.length,function(){return e.apply(r,arguments)})}),tr=wn;function bn(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function In(t,e,r,n){return t["@@transducer/result"](r[n](tr(t["@@transducer/step"],t),e))}var On=Ie(ot,In,bn),rr=On;var Sn=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function at(t){return new Sn(t)}var An=L(function(t,e,r){return rr(typeof t=="function"?at(t):t,e,r)}),De=An;var Pn=x(function(e){return z(De(Ne,0,Be("length",e)),function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0})}),it=Pn;var kn=x(function(e){return z(De(Ne,0,Be("length",e)),function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})}),ut=kn;function Tn(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function Rn(t,e,r,n){return r[n](t,e)}var Cn=Ie(q,Rn,Tn),nr=Cn;var jn=g(function(e,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(r):typeof e=="function"?function(n){return e(n)(r(n))}:nr(function(n,o){return ge(n,B(o,r))},[],e)}),or=jn;var En=g(function(e,r){return ge(r,[e])}),st=En;function ft(t,e,r){if(W(t)&&E(r)){var n=[].concat(r);return n[t]=e,n}var o={};for(var a in r)o[a]=r[a];return o[t]=e,o}var Mn=x(function(e){return e==null}),ne=Mn;var Nn=L(function t(e,r,n){if(e.length===0)return r;var o=e[0];if(e.length>1){var a=!ne(n)&&M(o,n)&&typeof n[o]=="object"?n[o]:W(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,a)}return ft(o,r,n)}),ar=Nn;var Bn=L(function(e,r,n){return ar([e],r,n)}),ir=Bn;var Dn=g(function(e,r){var n=z(e,r);return z(e,function(){return q(or,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),ur=Dn;var Ln=x(function(e){return ur(e.length,e)}),sr=Ln;var qn=x(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}),lt=qn;var Un=x(function(e){return!e}),fr=Un;var Wn=sr(fr),ct=Wn;function pt(t){return t}var $n=x(pt),oe=$n;var Fn=L(function(e,r,n){var o=Array.prototype.slice.call(n,0);return o.splice(e,r),o}),lr=Fn;function dt(t,e){if(e==null)return e;if(W(t)&&E(e))return lr(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}function Vn(t,e){if(W(t)&&E(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}var zn=g(function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return dt(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return r[n]==null?Vn(n,r):ir(n,t(o,r[n]),r)}}),cr=zn;var Hn=g(function(e,r){return cr([e],r)}),mt=Hn;function ht(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var Qn=x(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():E(e)?[]:re(e)?"":we(e)?{}:Ee(e)?function(){return arguments}():ht(e)?e.constructor.from(""):void 0}),pr=Qn;var Zn=g(ve),Le=Zn;function Kn(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(o!=null)for(var a in o)M(a,o)&&(e[a]=o[a]);r+=1}return e}var qe=typeof Object.assign=="function"?Object.assign:Kn;var Jn=g(function(e,r){return r instanceof e||r!=null&&(r.constructor===e||e.name==="Object"&&typeof r=="object")}),gt=Jn;var Yn=x(function(e){return e!=null&&Q(e,pr(e))}),Ue=Yn;var Gn=x(function(e){return!ne(e)}),yt=Gn;var Xn=g(function(e,r){return q(function(n,o){return n[o]=e(r[o],o,r),n},{},N(r))}),We=Xn;var eo=g(function(e,r){return qe({},r,e)}),$e=eo;var to=g(function(e,r){return qe({},e,r)}),se=to;var ro=L(function(e,r,n){return n.replace(e,r)}),vt=ro;var no=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r),this.xf["@@transducer/step"](e,r)},t}();function xt(t){return function(e){return new no(t,e)}}var oo=g(ee([],xt,function(e,r){return e(r),r})),fe=oo;var vr={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},It={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},io=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],Fe={CSS:{},springs:{}};function $(t,e,r){return Math.min(Math.max(t,e),r)}function Oe(t,e){return t.indexOf(e)>-1}function _t(t,e){return t.apply(null,e)}var p={arr:function(t){return Array.isArray(t)},obj:function(t){return Oe(Object.prototype.toString.call(t),"Object")},pth:function(t){return p.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||p.svg(t)},str:function(t){return typeof t=="string"},fnc:function(t){return typeof t=="function"},und:function(t){return typeof t>"u"},nil:function(t){return p.und(t)||t===null},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return p.hex(t)||p.rgb(t)||p.hsl(t)},key:function(t){return!vr.hasOwnProperty(t)&&!It.hasOwnProperty(t)&&t!=="targets"&&t!=="keyframes"}};function xr(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map(function(r){return parseFloat(r)}):[]}function _r(t,e){var r=xr(t),n=$(p.und(r[0])?1:r[0],.1,100),o=$(p.und(r[1])?100:r[1],.1,100),a=$(p.und(r[2])?10:r[2],.1,100),u=$(p.und(r[3])?0:r[3],.1,100),s=Math.sqrt(o/n),i=a/(2*Math.sqrt(o*n)),c=i<1?s*Math.sqrt(1-i*i):0,f=1,l=i<1?(i*s+-u)/c:-u+s;function m(_){var d=e?e*_/1e3:_;return i<1?d=Math.exp(-d*i*s)*(f*Math.cos(c*d)+l*Math.sin(c*d)):d=(f+l*d)*Math.exp(-d*s),_===0||_===1?_:1-d}function A(){var _=Fe.springs[t];if(_)return _;for(var d=1/6,y=0,S=0;;)if(y+=d,m(y)===1){if(S++,S>=16)break}else S=0;var R=y*d*1e3;return Fe.springs[t]=R,R}return e?m:A}function uo(t){return t===void 0&&(t=10),function(e){return Math.ceil($(e,1e-6,1)*t)*(1/t)}}var so=function(){var t=11,e=1/(t-1);function r(f,l){return 1-3*l+3*f}function n(f,l){return 3*l-6*f}function o(f){return 3*f}function a(f,l,m){return((r(l,m)*f+n(l,m))*f+o(l))*f}function u(f,l,m){return 3*r(l,m)*f*f+2*n(l,m)*f+o(l)}function s(f,l,m,A,_){var d,y,S=0;do y=l+(m-l)/2,d=a(y,A,_)-f,d>0?m=y:l=y;while(Math.abs(d)>1e-7&&++S<10);return y}function i(f,l,m,A){for(var _=0;_<4;++_){var d=u(l,m,A);if(d===0)return l;var y=a(l,m,A)-f;l-=y/d}return l}function c(f,l,m,A){if(!(0<=f&&f<=1&&0<=m&&m<=1))return;var _=new Float32Array(t);if(f!==l||m!==A)for(var d=0;d<t;++d)_[d]=a(d*e,f,m);function y(S){for(var R=0,h=1,v=t-1;h!==v&&_[h]<=S;++h)R+=e;--h;var C=(S-_[h])/(_[h+1]-_[h]),j=R+C*e,I=u(j,f,m);return I>=.001?i(S,j,f,m):I===0?j:s(S,R,R+e,f,m)}return function(S){return f===l&&m===A||S===0||S===1?S:a(y(S),l,A)}}return c}(),wr=function(){var t={linear:function(){return function(n){return n}}},e={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var o,a=4;n<((o=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((o*3-2)/22-n,2)}},Elastic:function(n,o){n===void 0&&(n=1),o===void 0&&(o=.5);var a=$(n,1,10),u=$(o,.1,2);return function(s){return s===0||s===1?s:-a*Math.pow(2,10*(s-1))*Math.sin((s-1-u/(Math.PI*2)*Math.asin(1/a))*(Math.PI*2)/u)}}},r=["Quad","Cubic","Quart","Quint","Expo"];return r.forEach(function(n,o){e[n]=function(){return function(a){return Math.pow(a,o+2)}}}),Object.keys(e).forEach(function(n){var o=e[n];t["easeIn"+n]=o,t["easeOut"+n]=function(a,u){return function(s){return 1-o(a,u)(1-s)}},t["easeInOut"+n]=function(a,u){return function(s){return s<.5?o(a,u)(s*2)/2:1-o(a,u)(s*-2+2)/2}},t["easeOutIn"+n]=function(a,u){return function(s){return s<.5?(1-o(a,u)(1-s*2))/2:(o(a,u)(s*2-1)+1)/2}}}),t}();function Ot(t,e){if(p.fnc(t))return t;var r=t.split("(")[0],n=wr[r],o=xr(t);switch(r){case"spring":return _r(t,e);case"cubicBezier":return _t(so,o);case"steps":return _t(uo,o);default:return _t(n,o)}}function br(t){try{var e=document.querySelectorAll(t);return e}catch{return}}function Ve(t,e){for(var r=t.length,n=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a<r;a++)if(a in t){var u=t[a];e.call(n,u,a,t)&&o.push(u)}return o}function ze(t){return t.reduce(function(e,r){return e.concat(p.arr(r)?ze(r):r)},[])}function dr(t){return p.arr(t)?t:(p.str(t)&&(t=br(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function St(t,e){return t.some(function(r){return r===e})}function At(t){var e={};for(var r in t)e[r]=t[r];return e}function wt(t,e){var r=At(t);for(var n in t)r[n]=e.hasOwnProperty(n)?e[n]:t[n];return r}function He(t,e){var r=At(t);for(var n in e)r[n]=p.und(t[n])?e[n]:t[n];return r}function fo(t){var e=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t);return e?"rgba("+e[1]+",1)":t}function lo(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=t.replace(e,function(s,i,c,f){return i+i+c+c+f+f}),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),o=parseInt(n[1],16),a=parseInt(n[2],16),u=parseInt(n[3],16);return"rgba("+o+","+a+","+u+",1)"}function co(t){var e=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),r=parseInt(e[1],10)/360,n=parseInt(e[2],10)/100,o=parseInt(e[3],10)/100,a=e[4]||1;function u(m,A,_){return _<0&&(_+=1),_>1&&(_-=1),_<1/6?m+(A-m)*6*_:_<1/2?A:_<2/3?m+(A-m)*(2/3-_)*6:m}var s,i,c;if(n==0)s=i=c=o;else{var f=o<.5?o*(1+n):o+n-o*n,l=2*o-f;s=u(l,f,r+1/3),i=u(l,f,r),c=u(l,f,r-1/3)}return"rgba("+s*255+","+i*255+","+c*255+","+a+")"}function po(t){if(p.rgb(t))return fo(t);if(p.hex(t))return lo(t);if(p.hsl(t))return co(t)}function Z(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function mo(t){if(Oe(t,"translate")||t==="perspective")return"px";if(Oe(t,"rotate")||Oe(t,"skew"))return"deg"}function bt(t,e){return p.fnc(t)?t(e.target,e.id,e.total):t}function F(t,e){return t.getAttribute(e)}function Pt(t,e,r){var n=Z(e);if(St([r,"deg","rad","turn"],n))return e;var o=Fe.CSS[e+r];if(!p.und(o))return o;var a=100,u=document.createElement(t.tagName),s=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;s.appendChild(u),u.style.position="absolute",u.style.width=a+r;var i=a/u.offsetWidth;s.removeChild(u);var c=i*parseFloat(e);return Fe.CSS[e+r]=c,c}function Ir(t,e,r){if(e in t.style){var n=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=t.style[e]||getComputedStyle(t).getPropertyValue(n)||"0";return r?Pt(t,o,r):o}}function kt(t,e){if(p.dom(t)&&!p.inp(t)&&(!p.nil(F(t,e))||p.svg(t)&&t[e]))return"attribute";if(p.dom(t)&&St(io,e))return"transform";if(p.dom(t)&&e!=="transform"&&Ir(t,e))return"css";if(t[e]!=null)return"object"}function Or(t){if(p.dom(t)){for(var e=t.style.transform||"",r=/(\w+)\(([^)]*)\)/g,n=new Map,o;o=r.exec(e);)n.set(o[1],o[2]);return n}}function ho(t,e,r,n){var o=Oe(e,"scale")?1:0+mo(e),a=Or(t).get(e)||o;return r&&(r.transforms.list.set(e,a),r.transforms.last=e),n?Pt(t,a,n):a}function Tt(t,e,r,n){switch(kt(t,e)){case"transform":return ho(t,e,n,r);case"css":return Ir(t,e,r);case"attribute":return F(t,e);default:return t[e]||0}}function Rt(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=Z(t)||0,o=parseFloat(e),a=parseFloat(t.replace(r[0],""));switch(r[0][0]){case"+":return o+a+n;case"-":return o-a+n;case"*":return o*a+n}}function Sr(t,e){if(p.col(t))return po(t);if(/\s/g.test(t))return t;var r=Z(t),n=r?t.substr(0,t.length-r.length):t;return e?n+e:n}function Ct(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function go(t){return Math.PI*2*F(t,"r")}function yo(t){return F(t,"width")*2+F(t,"height")*2}function vo(t){return Ct({x:F(t,"x1"),y:F(t,"y1")},{x:F(t,"x2"),y:F(t,"y2")})}function Ar(t){for(var e=t.points,r=0,n,o=0;o<e.numberOfItems;o++){var a=e.getItem(o);o>0&&(r+=Ct(n,a)),n=a}return r}function xo(t){var e=t.points;return Ar(t)+Ct(e.getItem(e.numberOfItems-1),e.getItem(0))}function Pr(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return go(t);case"rect":return yo(t);case"line":return vo(t);case"polyline":return Ar(t);case"polygon":return xo(t)}}function _o(t){var e=Pr(t);return t.setAttribute("stroke-dasharray",e),e}function wo(t){for(var e=t.parentNode;p.svg(e)&&p.svg(e.parentNode);)e=e.parentNode;return e}function kr(t,e){var r=e||{},n=r.el||wo(t),o=n.getBoundingClientRect(),a=F(n,"viewBox"),u=o.width,s=o.height,i=r.viewBox||(a?a.split(" "):[0,0,u,s]);return{el:n,viewBox:i,x:i[0]/1,y:i[1]/1,w:u,h:s,vW:i[2],vH:i[3]}}function bo(t,e){var r=p.str(t)?br(t)[0]:t,n=e||100;return function(o){return{property:o,el:r,svg:kr(r),totalLength:Pr(r)*(n/100)}}}function Io(t,e,r){function n(f){f===void 0&&(f=0);var l=e+f>=1?e+f:0;return t.el.getPointAtLength(l)}var o=kr(t.el,t.svg),a=n(),u=n(-1),s=n(1),i=r?1:o.w/o.vW,c=r?1:o.h/o.vH;switch(t.property){case"x":return(a.x-o.x)*i;case"y":return(a.y-o.y)*c;case"angle":return Math.atan2(s.y-u.y,s.x-u.x)*180/Math.PI}}function mr(t,e){var r=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=Sr(p.pth(t)?t.totalLength:t,e)+"";return{original:n,numbers:n.match(r)?n.match(r).map(Number):[0],strings:p.str(t)||e?n.split(r):[]}}function jt(t){var e=t?ze(p.arr(t)?t.map(dr):dr(t)):[];return Ve(e,function(r,n,o){return o.indexOf(r)===n})}function Tr(t){var e=jt(t);return e.map(function(r,n){return{target:r,id:n,total:e.length,transforms:{list:Or(r)}}})}function Oo(t,e){var r=At(e);if(/^spring/.test(r.easing)&&(r.duration=_r(r.easing)),p.arr(t)){var n=t.length,o=n===2&&!p.obj(t[0]);o?t={value:t}:p.fnc(e.duration)||(r.duration=e.duration/n)}var a=p.arr(t)?t:[t];return a.map(function(u,s){var i=p.obj(u)&&!p.pth(u)?u:{value:u};return p.und(i.delay)&&(i.delay=s?0:e.delay),p.und(i.endDelay)&&(i.endDelay=s===a.length-1?e.endDelay:0),i}).map(function(u){return He(u,r)})}function So(t){for(var e=Ve(ze(t.map(function(a){return Object.keys(a)})),function(a){return p.key(a)}).reduce(function(a,u){return a.indexOf(u)<0&&a.push(u),a},[]),r={},n=function(a){var u=e[a];r[u]=t.map(function(s){var i={};for(var c in s)p.key(c)?c==u&&(i.value=s[c]):i[c]=s[c];return i})},o=0;o<e.length;o++)n(o);return r}function Ao(t,e){var r=[],n=e.keyframes;n&&(e=He(So(n),e));for(var o in e)p.key(o)&&r.push({name:o,tweens:Oo(e[o],t)});return r}function Po(t,e){var r={};for(var n in t){var o=bt(t[n],e);p.arr(o)&&(o=o.map(function(a){return bt(a,e)}),o.length===1&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function ko(t,e){var r;return t.tweens.map(function(n){var o=Po(n,e),a=o.value,u=p.arr(a)?a[1]:a,s=Z(u),i=Tt(e.target,t.name,s,e),c=r?r.to.original:i,f=p.arr(a)?a[0]:c,l=Z(f)||Z(i),m=s||l;return p.und(u)&&(u=c),o.from=mr(f,m),o.to=mr(Rt(u,f),m),o.start=r?r.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=Ot(o.easing,o.duration),o.isPath=p.pth(a),o.isPathTargetInsideSVG=o.isPath&&p.svg(e.target),o.isColor=p.col(o.from.original),o.isColor&&(o.round=1),r=o,o})}var Rr={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){if(n.list.set(e,r),e===n.last||o){var a="";n.list.forEach(function(u,s){a+=s+"("+u+") "}),t.style.transform=a}}};function Cr(t,e){var r=Tr(t);r.forEach(function(n){for(var o in e){var a=bt(e[o],n),u=n.target,s=Z(a),i=Tt(u,o,s,n),c=s||Z(i),f=Rt(Sr(a,c),i),l=kt(u,o);Rr[l](u,o,f,n.transforms,!0)}})}function To(t,e){var r=kt(t.target,e.name);if(r){var n=ko(e,t),o=n[n.length-1];return{type:r,property:e.name,animatable:t,tweens:n,duration:o.end,delay:n[0].delay,endDelay:o.endDelay}}}function Ro(t,e){return Ve(ze(t.map(function(r){return e.map(function(n){return To(r,n)})})),function(r){return!p.und(r)})}function jr(t,e){var r=t.length,n=function(a){return a.timelineOffset?a.timelineOffset:0},o={};return o.duration=r?Math.max.apply(Math,t.map(function(a){return n(a)+a.duration})):e.duration,o.delay=r?Math.min.apply(Math,t.map(function(a){return n(a)+a.delay})):e.delay,o.endDelay=r?o.duration-Math.max.apply(Math,t.map(function(a){return n(a)+a.duration-a.endDelay})):e.endDelay,o}var hr=0;function Co(t){var e=wt(vr,t),r=wt(It,t),n=Ao(r,t),o=Tr(t.targets),a=Ro(o,n),u=jr(a,r),s=hr;return hr++,He(e,{id:s,children:[],animatables:o,animations:a,duration:u.duration,delay:u.delay,endDelay:u.endDelay})}var U=[],Er=function(){var t;function e(){!t&&(!gr()||!T.suspendWhenDocumentHidden)&&U.length>0&&(t=requestAnimationFrame(r))}function r(o){for(var a=U.length,u=0;u<a;){var s=U[u];s.paused?(U.splice(u,1),a--):(s.tick(o),u++)}t=u>0?requestAnimationFrame(r):void 0}function n(){T.suspendWhenDocumentHidden&&(gr()?t=cancelAnimationFrame(t):(U.forEach(function(o){return o._onDocumentVisibility()}),Er()))}return typeof document<"u"&&document.addEventListener("visibilitychange",n),e}();function gr(){return!!document&&document.hidden}function T(t){t===void 0&&(t={});var e=0,r=0,n=0,o,a=0,u=null;function s(h){var v=window.Promise&&new Promise(function(C){return u=C});return h.finished=v,v}var i=Co(t),c=s(i);function f(){var h=i.direction;h!=="alternate"&&(i.direction=h!=="normal"?"normal":"reverse"),i.reversed=!i.reversed,o.forEach(function(v){return v.reversed=i.reversed})}function l(h){return i.reversed?i.duration-h:h}function m(){e=0,r=l(i.currentTime)*(1/T.speed)}function A(h,v){v&&v.seek(h-v.timelineOffset)}function _(h){if(i.reversePlayback)for(var C=a;C--;)A(h,o[C]);else for(var v=0;v<a;v++)A(h,o[v])}function d(h){for(var v=0,C=i.animations,j=C.length;v<j;){var I=C[v],G=I.animatable,V=I.tweens,K=V.length-1,k=V[K];K&&(k=Ve(V,function(Gr){return h<Gr.end})[0]||k);for(var b=$(h-k.start-k.delay,0,k.duration)/k.duration,w=isNaN(b)?1:k.easing(b),J=k.to.strings,ae=k.round,ie=[],Yr=k.to.numbers.length,ue=void 0,de=0;de<Yr;de++){var me=void 0,Ut=k.to.numbers[de],Wt=k.from.numbers[de]||0;k.isPath?me=Io(k.value,w*Ut,k.isPathTargetInsideSVG):me=Wt+w*(Ut-Wt),ae&&(k.isColor&&de>2||(me=Math.round(me*ae)/ae)),ie.push(me)}var $t=J.length;if(!$t)ue=ie[0];else{ue=J[0];for(var he=0;he<$t;he++){var Yo=J[he],Ft=J[he+1],Ke=ie[he];isNaN(Ke)||(Ft?ue+=Ke+Ft:ue+=Ke+" ")}}Rr[I.type](G.target,I.property,ue,G.transforms),I.currentValue=ue,v++}}function y(h){i[h]&&!i.passThrough&&i[h](i)}function S(){i.remaining&&i.remaining!==!0&&i.remaining--}function R(h){var v=i.duration,C=i.delay,j=v-i.endDelay,I=l(h);i.progress=$(I/v*100,0,100),i.reversePlayback=I<i.currentTime,o&&_(I),!i.began&&i.currentTime>0&&(i.began=!0,y("begin")),!i.loopBegan&&i.currentTime>0&&(i.loopBegan=!0,y("loopBegin")),I<=C&&i.currentTime!==0&&d(0),(I>=j&&i.currentTime!==v||!v)&&d(v),I>C&&I<j?(i.changeBegan||(i.changeBegan=!0,i.changeCompleted=!1,y("changeBegin")),y("change"),d(I)):i.changeBegan&&(i.changeCompleted=!0,i.changeBegan=!1,y("changeComplete")),i.currentTime=$(I,0,v),i.began&&y("update"),h>=v&&(r=0,S(),i.remaining?(e=n,y("loopComplete"),i.loopBegan=!1,i.direction==="alternate"&&f()):(i.paused=!0,i.completed||(i.completed=!0,y("loopComplete"),y("complete"),!i.passThrough&&"Promise"in window&&(u(),c=s(i)))))}return i.reset=function(){var h=i.direction;i.passThrough=!1,i.currentTime=0,i.progress=0,i.paused=!0,i.began=!1,i.loopBegan=!1,i.changeBegan=!1,i.completed=!1,i.changeCompleted=!1,i.reversePlayback=!1,i.reversed=h==="reverse",i.remaining=i.loop,o=i.children,a=o.length;for(var v=a;v--;)i.children[v].reset();(i.reversed&&i.loop!==!0||h==="alternate"&&i.loop===1)&&i.remaining++,d(i.reversed?i.duration:0)},i._onDocumentVisibility=m,i.set=function(h,v){return Cr(h,v),i},i.tick=function(h){n=h,e||(e=n),R((n+(r-e))*T.speed)},i.seek=function(h){R(l(h))},i.pause=function(){i.paused=!0,m()},i.play=function(){i.paused&&(i.completed&&i.reset(),i.paused=!1,U.push(i),m(),Er())},i.reverse=function(){f(),i.completed=!i.reversed,m()},i.restart=function(){i.reset(),i.play()},i.remove=function(h){var v=jt(h);Mr(v,i)},i.reset(),i.autoplay&&i.play(),i}function yr(t,e){for(var r=e.length;r--;)St(t,e[r].animatable.target)&&e.splice(r,1)}function Mr(t,e){var r=e.animations,n=e.children;yr(t,r);for(var o=n.length;o--;){var a=n[o],u=a.animations;yr(t,u),!u.length&&!a.children.length&&n.splice(o,1)}!r.length&&!n.length&&e.pause()}function jo(t){for(var e=jt(t),r=U.length;r--;){var n=U[r];Mr(e,n)}}function Eo(t,e){e===void 0&&(e={});var r=e.direction||"normal",n=e.easing?Ot(e.easing):null,o=e.grid,a=e.axis,u=e.from||0,s=u==="first",i=u==="center",c=u==="last",f=p.arr(t),l=parseFloat(f?t[0]:t),m=f?parseFloat(t[1]):0,A=Z(f?t[1]:t)||0,_=e.start||0+(f?l:0),d=[],y=0;return function(S,R,h){if(s&&(u=0),i&&(u=(h-1)/2),c&&(u=h-1),!d.length){for(var v=0;v<h;v++){if(!o)d.push(Math.abs(u-v));else{var C=i?(o[0]-1)/2:u%o[0],j=i?(o[1]-1)/2:Math.floor(u/o[0]),I=v%o[0],G=Math.floor(v/o[0]),V=C-I,K=j-G,k=Math.sqrt(V*V+K*K);a==="x"&&(k=-V),a==="y"&&(k=-K),d.push(k)}y=Math.max.apply(Math,d)}n&&(d=d.map(function(w){return n(w/y)*y})),r==="reverse"&&(d=d.map(function(w){return a?w<0?w*-1:-w:Math.abs(y-w)}))}var b=f?(m-l)/y:l;return _+b*(Math.round(d[R]*100)/100)+A}}function Mo(t){t===void 0&&(t={});var e=T(t);return e.duration=0,e.add=function(r,n){var o=U.indexOf(e),a=e.children;o>-1&&U.splice(o,1);function u(m){m.passThrough=!0}for(var s=0;s<a.length;s++)u(a[s]);var i=He(r,wt(It,t));i.targets=i.targets||t.targets;var c=e.duration;i.autoplay=!1,i.direction=e.direction,i.timelineOffset=p.und(n)?c:Rt(n,c),u(e),e.seek(i.timelineOffset);var f=T(i);u(f),a.push(f);var l=jr(a,t);return e.delay=l.delay,e.endDelay=l.endDelay,e.duration=l.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e}T.version="3.2.1";T.speed=1;T.suspendWhenDocumentHidden=!0;T.running=U;T.remove=jo;T.get=Tt;T.set=Cr;T.convertPx=Pt;T.path=bo;T.setDashoffset=_o;T.stagger=Eo;T.timeline=Mo;T.easing=Ot;T.penner=wr;T.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};var le=T;var Dr=0,Lr=Object.create(null),No=["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","counter-increment","counter-reset","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","font-weight","grid-area","grid-column","grid-column-end","grid-column-span","grid-column-start","grid-row","grid-row-end","grid-row-span","grid-row-start","line-clamp","line-height","opacity","order","orphans","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"];for(let t of No)for(let e of["-webkit-","-ms-","-moz-","-o-",""])Lr[e+t]=!0;function Et(t,e){return t.replace(/&/g,e)}function Nr(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace(/^ms-/,"-ms-")}function Bo(t){let e=5381,r=t.length;for(;r--;)e=e*33^t.charCodeAt(r);return(e>>>0).toString(36)}function Do(t,e){return t.indexOf("&")===-1?`${e} ${t}`:Et(t,e)}function Br(t,e){return t[0]>e[0]?1:t[0]<e[0]?-1:t[2]-e[2]}function Lo([t,e]){return typeof e=="number"&&e&&!Lr[t]?`${t}:${e}px`:`${t}:${String(e)}`}function qr(t,e,r,n,o){let a=[],u=[];for(let d of Object.keys(n)){let y=n[d];if(d.charCodeAt(0)!==36&&y!=null)if(Array.isArray(y)){let S=Nr(d);for(let R=0;R<y.length;R++){let h=y[R];h!=null&&a.push([S,h,R])}}else typeof y=="object"?u.push([d,y,0]):a.push([Nr(d),y,0])}let s=!!n.$unique,i=n.$global?"":o,c=i?u:u.sort(Br),f=a.sort(Br).map(Lo).join(";"),l=f,m=i,A=t,_=e;r.charCodeAt(0)===64?(A=[],_=[],i&&f&&_.push({selector:m,style:f,isUnique:s}),t.push({selector:r,rules:A,styles:_,style:i?"":f})):(m=i?r?Do(r,i):i:r,f&&e.push({selector:m,style:f,isUnique:s}));for(let[d,y]of c)l+=`|${d}#${qr(A,_,d,y,m)}`;return l}function Ur(t,e,r,n,o){for(let{selector:a,style:u,isUnique:s}of r){let i=Et(a,o),c=new Nt(u,s?(++Dr).toString(36):n);c.add(new Mt(i)),t.add(c)}for(let{selector:a,style:u,rules:s,styles:i}of e){let c=Et(a,o),f=new Bt(c,u,n);Ur(f,s,i,n,o),t.add(f)}}function Wr(t){let e="";for(let r=0;r<t.length;r++)e+=t[r];return e}var Se=class t{constructor(e){this.changes=e,this.sheet=[],this.changeId=0,this._keys=[],this._children=Object.create(null),this._counters=Object.create(null)}add(e){let r=e.id,n=this._counters[r]||0,o=this._children[r]||e.clone();if(this._counters[r]=n+1,n===0)this._children[r]=o,this._keys.push(r),this.sheet.push(o.getStyles()),this.changeId++,this.changes&&this.changes.add(o,this._keys.length-1);else if(o instanceof t&&e instanceof t){let a=o.changeId;if(o.merge(e),o.changeId!==a){let u=this._keys.indexOf(r);this.sheet.splice(u,1,o.getStyles()),this.changeId++,this.changes&&this.changes.change(o,u,u)}}}remove(e){let r=e.id,n=this._counters[r];if(n){this._counters[r]=n-1;let o=this._children[r],a=this._keys.indexOf(r);if(n===1)delete this._counters[r],delete this._children[r],this._keys.splice(a,1),this.sheet.splice(a,1),this.changeId++,this.changes&&this.changes.remove(o,a);else if(o instanceof t&&e instanceof t){let u=o.changeId;o.unmerge(e),o.changeId!==u&&(this.sheet.splice(a,1,o.getStyles()),this.changeId++,this.changes&&this.changes.change(o,a,a))}}}values(){return this._keys.map(e=>this._children[e])}merge(e){for(let r of e.values())this.add(r);return this}unmerge(e){for(let r of e.values())this.remove(r);return this}clone(){return new t().merge(this)}},Mt=class{constructor(e){this.selector=e}get id(){return`k:${this.selector}`}getStyles(){return this.selector}clone(){return this}},Nt=class t extends Se{constructor(e,r){super(),this.style=e,this.pid=r}get id(){return`s:${this.pid}:${this.style}`}getStyles(){return`${this.sheet.join(",")}{${this.style}}`}clone(){return new t(this.style,this.pid).merge(this)}},Bt=class t extends Se{constructor(e,r,n){super(),this.rule=e,this.style=r,this.pid=n}get id(){return`r:${this.pid}:${this.rule}:${this.style}`}getStyles(){return`${this.rule}{${this.style}${Wr(this.sheet)}}`}clone(){return new t(this.rule,this.style,this.pid).merge(this)}},Dt=class t extends Se{constructor(e,r){super(r),this.id=e}registerStyle(e){let r=[],n=[],o=qr(r,n,"",e,".&"),a=`f${Bo(o)}`;return Ur(this,r,n,a,a),a}getStyles(){return Wr(this.sheet)}clone(){return new t(this.id,this.changes).merge(this)}};function $r(t){return new Dt(`f${(++Dr).toString(36)}`,t)}console.log("{{.Version}}");var ce=it([yt,ct(Ue)]),Lt=ut([ne,Ue]),qo=(t,...e)=>{let r=t,n=e;return{state:()=>r,setState:o=>{Q(r,o)||(r=o,B(lt,n))},subscribe:o=>n=st(o,n)}},Ae=document,qt=t=>Ae.createElement(t),Uo=t=>Ae.createTextNode(t),Wo=t=>Ae.head.appendChild(t),Zr=t=>Ae.body.appendChild(t),Y="st"+crypto.randomUUID(),$o=fe(t=>{Lt(t[Y].added)&&Lt(t[Y].removed)||new MutationObserver((e,r)=>B(n=>{Le(t,n.addedNodes)&&ce(t[Y].added)&&t[Y].added(t),Le(t,n.removedNodes)&&ce(t[Y].removed)&&(r.disconnect(),t[Y].removed(t))})(e)).observe(window.document,{childList:!0,subtree:!0})}),P=(t,e,...r)=>{let n=qt(t);return We((o,a)=>n[a]=o,mt("lifecycle",e)),n[Y]={},We((o,a)=>n[Y][a]=o,e.lifecycle),B(o=>{o&&n.appendChild(gt(String,o)?Uo(o):o)},r),$o(n)},pe=t=>Ae.getElementById(t),Fr=t=>pe(t).value,Qe=t=>pe(t).disabled=!0,Vr=t=>{ce(pe(t))&&pe(t).offsetParent!=null&&pe(t).focus()},Pe=t=>"{{.Cfg.SuperTokensWebLibBase}}"+t,ke=t=>{let e=qt("script");e.setAttribute("src",t),e.async=!1,Zr(e)};ke(Pe("/website.js"));ke(Pe("/supertokens.js"));ke(Pe("/session.js"));ke(Pe("/passwordless.js"));ke(Pe("/emailverification.js"));var D=t=>{let e=$r(),r=e.registerStyle(t),n=qt("style");return n.textContent=e.getStyles(),Wo(n),r},Fo=D({boxSizing:"border-box",position:"absolute",top:"12px",right:"12px",zIndex:999,display:"flex",alignItems:"flex-end",flexDirection:"column"}),Vo=D({backgroundColor:"white",minWidth:"10em",display:"flex",flexDirection:"column",border:"black solid 1px",paddingTop:"4px",div:{minHeight:"10px",marginBottom:"4px"}}),Kr={padding:"4px",cursor:"pointer",marginLeft:"12px",fontVariant:"small-caps"},Kf=D(Kr),Ze=D(se(Kr,{marginLeft:"0px",paddingLeft:"12px",display:"inline-block",width:"calc(100% - 16px)","&:hover":{backgroundColor:"#e6e6e6"}})),zo=D({width:"32px",height:"32px",padding:"4px",border:0,cursor:"pointer",borderRadius:"16px",marginLeft:"12px"}),Ho=D({width:"24px",height:"24px"}),zr=D({display:"flex",flexDirection:"column",padding:"4px",backgroundColor:"white",input:{marginBottom:"10px"}}),Hr=D({textAlign:"center"}),Qo=D({opacity:"0%"}),Qr=D({marginTop:"10px"}),Jr={display:"flex",alignItems:"center"},Jf=D(Jr),Zo=D(se(Jr,{width:"32px",height:"32px",justifyContent:"center"})),Ko=t=>()=>{le({targets:t,opacity:["0%","100%"],duration:1e3,easing:"easeInOutQuad",complete:()=>{le({targets:t,opacity:["100%","0%"],duration:1e3,delay:2e3,easing:"easeInOutQuad",complete:()=>{le.remove(t)}})}})},Jo=vt(/(.)[^@]*(.)@(.).*(.\.[^.]+)/,"$1-$2@$3-$4");window.onload=()=>{let t=Q("{{.Cfg.PlainUI}}","true"),e=b=>"{{.Cfg.APIBasePath}}"+b,r=()=>Q("{{.LoggedIn}}","true"),n=()=>"{{.UserEmail}}",o=()=>"{{.UserID}}",a="st"+crypto.randomUUID(),u=qo({init:!0,label:"...",stState:"init",showMenu:!1,menuItems:[]}),s=(b,w)=>b.setState(A(se(b.state(),w))),i=b=>w=>{(w.key==="Enter"||w.keyCode===13)&&b()},c=()=>{globalThis.stAuth.sendOTP(Fr(a+"email")),Qe(a+"email"),Qe(a+"emailButton")},f=()=>{globalThis.stAuth.verifyOTP(Fr(a+"otp")),Qe(a+"otp"),Qe(a+"otpButton")},l=()=>{u.setState(se(u.state(),{stState:"init",displayState:m.init()})),I.state("loggedOut")},m={init:()=>null,enterEmail:()=>P("div",{className:zr},P("input",{id:a+"email",type:"email",placeholder:"your.email@address.com",onkeyup:i(c),className:Hr}),P("button",{id:a+"emailButton",onclick:c},"Request one-time code"),P("button",{className:Qr,onclick:l},"Close")),enterOTP:()=>P("div",{className:zr},P("input",{id:a+"otp",type:"text",placeholder:"One-time code in email",onkeyup:i(f),className:Hr}),P("button",{id:a+"otpButton",onclick:f},"Verify code"),P("button",{className:Qr,onclick:l},"Close")),showEmail:()=>t?null:P("div",{className:Zo},P("div",{id:a+"userEmail",className:Qo},n()),P("button",{className:zo,onclick:Ko("#"+a+"userEmail")},P("img",{className:Ho,src:r()?e("/person_outline.svg"):null})))},A=b=>({init:oe,loggedOut:oe,checkEmail:$e({displayState:m.enterOTP()}),wrongOTP:oe,oldOTP:oe,failedOTP:oe,signUpSuccess:fe(()=>window.location.reload()),signInSuccess:fe(()=>window.location.reload()),loggedIn:$e({displayState:m.showEmail()}),logoutCompleted:fe(()=>window.location.reload())})[b.stState](b),_=()=>{r()||l(),s(u,{showMenu:!u.state().showMenu})},d=()=>s(u,{showMenu:!1}),y=()=>{d(),u.state().stState==="loggedOut"?s(u,{displayState:m.enterEmail()}):u.state().stState==="loggedIn"&&globalThis.stAuth.logout()},S=null,R=b=>{ce(S)&&!S.contains(b.target)&&d()},h=b=>{S=b,document.removeEventListener("click",R,!0)},v=b=>{S=b,h(b),document.addEventListener("click",R,!0)},C=b=>s(u,{menuItems:B(([w,J])=>P("div",{},P("a",{href:"#",className:Ze,onclick:()=>{d(),J()}},w)),be(Lt,b))}),j=()=>P("div",{id:a,className:Fo,style:"opacity:"+(u.state().stState=="init"?0:100)+"%;background:rgba(0,0,0,0)",onmouseleave:d,lifecycle:{added:v,removed:h}},P("button",{style:"width:32px;height:32px;padding:0;border:0;background-color:white;cursor:pointer",onclick:_},P("img",{style:"width:32px;height:32px",src:e("/menu.svg")})),u.state().displayState,u.state().showMenu?P("div",{className:Vo},r()?null:P("div",{},P("a",{href:"#",className:Ze,onclick:y},"login")),r()?P("div",{className:Ze,style:"cursor:default;font-variant:normal"},Jo(n())):null,...u.state().menuItems,r()?P("div",{},P("a",{href:"#",className:Ze,onclick:y},"logout")):null):null);u.subscribe(()=>{pe(a).replaceWith(j()),Vr(a+"email"),Vr(a+"otp")}),Zr(j());let I={catch:(b,w)=>showError(b,w),state:(b,w)=>s(u,{stState:b,stData:w})},G=(b,w)=>I.catch(b+(w.isSuperTokensGeneralError?" (some other failure)":""),w);supertokens.init({appInfo:{apiDomain:"{{.Cfg.APIDomain}}",apiBasePath:"{{.Cfg.APIBasePath}}",appName:"{{.Cfg.AppName}}"},recipeList:[supertokensEmailVerification.init(),supertokensSession.init(),supertokensPasswordless.init()]});let V=async b=>{try{(await supertokensPasswordless.createCode({email:b})).status!="SIGN_IN_UP_NOT_ALLOWED"&&I.state("checkEmail")}catch(w){G("sendOTP",w)}},K=async b=>{try{let w=await supertokensPasswordless.consumeCode({userInputCode:b});w.status==="OK"?w.createdNewRecipeUser&&w.user.loginMethods.length===1?I.state("signUpSuccess",w.user.id):I.state("signInSuccess",w.user.id):w.status==="INCORRECT_USER_INPUT_CODE_ERROR"?I.state("wrongOTP"):w.status==="EXPIRED_USER_INPUT_CODE_ERROR"?I.state("oldOTP"):I.state("failedOTP")}catch(w){G("handleOTP",w)}},k=async()=>{await supertokensSession.signOut(),I.state("logoutCompleted")};globalThis.stAuth={sendOTP:V,verifyOTP:K,logout:k,isLoggedIn:r,userEmail:n,userID:o,setMenuItems:C},ce(globalThis.authHooks)&&globalThis.authHooks.forEach(([b,w])=>{let J=I[b];I[b]=(ae,ie)=>{J(ae,ie),w(ae,ie)}}),ce(globalThis.menuItems)&&C(globalThis.menuItems),r()?I.state("loggedIn",n()):I.state("loggedOut"),le({targets:"#"+a,opacity:"100%",duration:1e3,easing:"easeInOutQuad",complete:()=>le.remove("#"+a)})};})();
(()=>{function O(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function x(t){return function e(r){return arguments.length===0||O(r)?e:t.apply(this,arguments)}}function g(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return O(r)?e:x(function(o){return t(r,o)});default:return O(r)&&O(n)?e:O(r)?x(function(o){return t(o,n)}):O(n)?x(function(o){return t(r,o)}):t(r,n)}}}function ge(t,e){t=t||[],e=e||[];var r,n=t.length,o=e.length,a=[];for(r=0;r<n;)a[a.length]=t[r],r+=1;for(r=0;r<o;)a[a.length]=e[r],r+=1;return a}function X(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,o){return e.apply(this,arguments)};case 4:return function(r,n,o,a){return e.apply(this,arguments)};case 5:return function(r,n,o,a,u){return e.apply(this,arguments)};case 6:return function(r,n,o,a,u,s){return e.apply(this,arguments)};case 7:return function(r,n,o,a,u,s,i){return e.apply(this,arguments)};case 8:return function(r,n,o,a,u,s,i,c){return e.apply(this,arguments)};case 9:return function(r,n,o,a,u,s,i,c,f){return e.apply(this,arguments)};case 10:return function(r,n,o,a,u,s,i,c,f,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Te(t,e,r){return function(){for(var n=[],o=0,a=t,u=0,s=!1;u<e.length||o<arguments.length;){var i;u<e.length&&(!O(e[u])||o>=arguments.length)?i=e[u]:(i=arguments[o],o+=1),n[u]=i,O(i)?s=!0:a-=1,u+=1}return!s&&a<=0?r.apply(this,n):X(Math.max(0,a),Te(t,n,r))}}var Xr=g(function(e,r){return e===1?x(r):X(e,Te(e,[],r))}),z=Xr;function L(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return O(r)?e:g(function(a,u){return t(r,a,u)});case 2:return O(r)&&O(n)?e:O(r)?g(function(a,u){return t(a,n,u)}):O(n)?g(function(a,u){return t(r,a,u)}):x(function(a){return t(r,n,a)});default:return O(r)&&O(n)&&O(o)?e:O(r)&&O(n)?g(function(a,u){return t(a,u,o)}):O(r)&&O(o)?g(function(a,u){return t(a,n,u)}):O(n)&&O(o)?g(function(a,u){return t(r,a,u)}):O(r)?x(function(a){return t(a,n,o)}):O(n)?x(function(a){return t(r,a,o)}):O(o)?x(function(a){return t(r,n,a)}):t(r,n,o)}}}var E=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Je(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function ee(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!E(n)){for(var o=0;o<t.length;){if(typeof n[t[o]]=="function")return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(Je(n)){var a=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return a(n)}}return r.apply(this,arguments)}}var H={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Re(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ce(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function Ye(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function M(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function en(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var je=typeof Object.is=="function"?Object.is:en;var Vt=Object.prototype.toString,tn=function(){return Vt.call(arguments)==="[object Arguments]"?function(e){return Vt.call(e)==="[object Arguments]"}:function(e){return M("callee",e)}}(),Ee=tn;var rn=!{toString:null}.propertyIsEnumerable("toString"),zt=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ht=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),nn=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},on=typeof Object.keys=="function"&&!Ht?x(function(e){return Object(e)!==e?[]:Object.keys(e)}):x(function(e){if(Object(e)!==e)return[];var r,n,o=[],a=Ht&&Ee(e);for(r in e)M(r,e)&&(!a||r!=="length")&&(o[o.length]=r);if(rn)for(n=zt.length-1;n>=0;)r=zt[n],M(r,e)&&!nn(o,r)&&(o[o.length]=r),n-=1;return o}),N=on;var an=x(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}),Ge=an;function Qt(t,e,r,n){var o=Re(t),a=Re(e);function u(s,i){return ye(s,i,r.slice(),n.slice())}return!Ce(function(s,i){return!Ce(u,i,s)},a,o)}function ye(t,e,r,n){if(je(t,e))return!0;var o=Ge(t);if(o!==Ge(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(o){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&Ye(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&je(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!je(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(o){case"Map":return t.size!==e.size?!1:Qt(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:Qt(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=N(t);if(u.length!==N(e).length)return!1;var s=r.concat([t]),i=n.concat([e]);for(a=u.length-1;a>=0;){var c=u[a];if(!(M(c,e)&&ye(e[c],t[c],s,i)))return!1;a-=1}return!0}var un=g(function(e,r){return ye(e,r,[],[])}),Q=un;function Xe(t,e,r){var n,o;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(n=1/e;r<t.length;){if(o=t[r],o===0&&1/o===n)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(o=t[r],typeof o=="number"&&o!==o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Q(t[r],e))return r;r+=1}return-1}function ve(t,e){return Xe(e,t,0)>=0}function te(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function xe(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var _e=function(e){return(e<10?"0":"")+e},sn=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+_e(e.getUTCMonth()+1)+"-"+_e(e.getUTCDate())+"T"+_e(e.getUTCHours())+":"+_e(e.getUTCMinutes())+":"+_e(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},Zt=sn;function et(t){return function(){return!t.apply(this,arguments)}}function q(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function tt(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}function we(t){return Object.prototype.toString.call(t)==="[object Object]"}var fn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function rt(t){return function(e){return new fn(t,e)}}var ln=g(ee(["fantasy-land/filter","filter"],rt,function(t,e){return we(e)?q(function(r,n){return t(e[n])&&(r[n]=e[n]),r},{},N(e)):tt(t,e)})),Kt=ln;var cn=g(function(e,r){return Kt(et(e),r)}),be=cn;function Me(t,e){var r=function(u){var s=e.concat([t]);return ve(u,s)?"<Circular>":Me(u,s)},n=function(a,u){return te(function(s){return xe(s)+": "+r(a[s])},u.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+te(r,t).join(", ")+"))";case"[object Array]":return"["+te(r,t).concat(n(t,be(function(a){return/^\d+$/.test(a)},N(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):xe(Zt(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":xe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var o=t.toString();if(o!=="[object Object]")return o}return"{"+n(t,N(t)).join(", ")+"}"}}var pn=x(function(e){return Me(e,[])}),nt=pn;var dn=g(function(e,r){if(e===r)return r;function n(i,c){if(i>c!=c>i)return c>i?c:i}var o=n(e,r);if(o!==void 0)return o;var a=n(typeof e,typeof r);if(a!==void 0)return a===typeof e?e:r;var u=nt(e),s=n(u,nt(r));return s!==void 0&&s===u?e:r}),Ne=dn;var mn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),hn=function(e){return function(r){return new mn(e,r)}},Jt=hn;var gn=g(ee(["fantasy-land/map","map"],Jt,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return z(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return q(function(n,o){return n[o]=e(r[o]),n},{},N(r));default:return te(e,r)}})),B=gn;var W=Number.isInteger||function(e){return e<<0===e};function re(t){return Object.prototype.toString.call(t)==="[object String]"}var yn=g(function(e,r){var n=e<0?r.length+e:e;return re(r)?r.charAt(n):r[n]}),Yt=yn;var vn=g(function(e,r){if(r!=null)return W(e)?Yt(e,r):r[e]}),Gt=vn;var xn=g(function(e,r){return B(Gt(e),r)}),Be=xn;var _n=x(function(e){return E(e)?!0:!e||typeof e!="object"||re(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Xt=_n;var er=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Ie(t,e,r){return function(o,a,u){if(Xt(u))return t(o,a,u);if(u==null)return a;if(typeof u["fantasy-land/reduce"]=="function")return e(o,a,u,"fantasy-land/reduce");if(u[er]!=null)return r(o,a,u[er]());if(typeof u.next=="function")return r(o,a,u);if(typeof u.reduce=="function")return e(o,a,u,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ot(t,e,r){for(var n=0,o=r.length;n<o;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var wn=g(function(e,r){return X(e.length,function(){return e.apply(r,arguments)})}),tr=wn;function bn(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function In(t,e,r,n){return t["@@transducer/result"](r[n](tr(t["@@transducer/step"],t),e))}var On=Ie(ot,In,bn),rr=On;var Sn=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function at(t){return new Sn(t)}var An=L(function(t,e,r){return rr(typeof t=="function"?at(t):t,e,r)}),De=An;var Pn=x(function(e){return z(De(Ne,0,Be("length",e)),function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0})}),it=Pn;var kn=x(function(e){return z(De(Ne,0,Be("length",e)),function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})}),ut=kn;function Tn(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function Rn(t,e,r,n){return r[n](t,e)}var Cn=Ie(q,Rn,Tn),nr=Cn;var jn=g(function(e,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(r):typeof e=="function"?function(n){return e(n)(r(n))}:nr(function(n,o){return ge(n,B(o,r))},[],e)}),or=jn;var En=g(function(e,r){return ge(r,[e])}),st=En;function ft(t,e,r){if(W(t)&&E(r)){var n=[].concat(r);return n[t]=e,n}var o={};for(var a in r)o[a]=r[a];return o[t]=e,o}var Mn=x(function(e){return e==null}),ne=Mn;var Nn=L(function t(e,r,n){if(e.length===0)return r;var o=e[0];if(e.length>1){var a=!ne(n)&&M(o,n)&&typeof n[o]=="object"?n[o]:W(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,a)}return ft(o,r,n)}),ar=Nn;var Bn=L(function(e,r,n){return ar([e],r,n)}),ir=Bn;var Dn=g(function(e,r){var n=z(e,r);return z(e,function(){return q(or,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),ur=Dn;var Ln=x(function(e){return ur(e.length,e)}),sr=Ln;var qn=x(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}),lt=qn;var Un=x(function(e){return!e}),fr=Un;var Wn=sr(fr),ct=Wn;function pt(t){return t}var $n=x(pt),oe=$n;var Fn=L(function(e,r,n){var o=Array.prototype.slice.call(n,0);return o.splice(e,r),o}),lr=Fn;function dt(t,e){if(e==null)return e;if(W(t)&&E(e))return lr(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}function Vn(t,e){if(W(t)&&E(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}var zn=g(function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return dt(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return r[n]==null?Vn(n,r):ir(n,t(o,r[n]),r)}}),cr=zn;var Hn=g(function(e,r){return cr([e],r)}),mt=Hn;function ht(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var Qn=x(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():E(e)?[]:re(e)?"":we(e)?{}:Ee(e)?function(){return arguments}():ht(e)?e.constructor.from(""):void 0}),pr=Qn;var Zn=g(ve),Le=Zn;function Kn(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(o!=null)for(var a in o)M(a,o)&&(e[a]=o[a]);r+=1}return e}var qe=typeof Object.assign=="function"?Object.assign:Kn;var Jn=g(function(e,r){return r instanceof e||r!=null&&(r.constructor===e||e.name==="Object"&&typeof r=="object")}),gt=Jn;var Yn=x(function(e){return e!=null&&Q(e,pr(e))}),Ue=Yn;var Gn=x(function(e){return!ne(e)}),yt=Gn;var Xn=g(function(e,r){return q(function(n,o){return n[o]=e(r[o],o,r),n},{},N(r))}),We=Xn;var eo=g(function(e,r){return qe({},r,e)}),$e=eo;var to=g(function(e,r){return qe({},e,r)}),se=to;var ro=L(function(e,r,n){return n.replace(e,r)}),vt=ro;var no=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=H.init,t.prototype["@@transducer/result"]=H.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r),this.xf["@@transducer/step"](e,r)},t}();function xt(t){return function(e){return new no(t,e)}}var oo=g(ee([],xt,function(e,r){return e(r),r})),fe=oo;var vr={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},It={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},io=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],Fe={CSS:{},springs:{}};function $(t,e,r){return Math.min(Math.max(t,e),r)}function Oe(t,e){return t.indexOf(e)>-1}function _t(t,e){return t.apply(null,e)}var p={arr:function(t){return Array.isArray(t)},obj:function(t){return Oe(Object.prototype.toString.call(t),"Object")},pth:function(t){return p.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||p.svg(t)},str:function(t){return typeof t=="string"},fnc:function(t){return typeof t=="function"},und:function(t){return typeof t>"u"},nil:function(t){return p.und(t)||t===null},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return p.hex(t)||p.rgb(t)||p.hsl(t)},key:function(t){return!vr.hasOwnProperty(t)&&!It.hasOwnProperty(t)&&t!=="targets"&&t!=="keyframes"}};function xr(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map(function(r){return parseFloat(r)}):[]}function _r(t,e){var r=xr(t),n=$(p.und(r[0])?1:r[0],.1,100),o=$(p.und(r[1])?100:r[1],.1,100),a=$(p.und(r[2])?10:r[2],.1,100),u=$(p.und(r[3])?0:r[3],.1,100),s=Math.sqrt(o/n),i=a/(2*Math.sqrt(o*n)),c=i<1?s*Math.sqrt(1-i*i):0,f=1,l=i<1?(i*s+-u)/c:-u+s;function m(_){var d=e?e*_/1e3:_;return i<1?d=Math.exp(-d*i*s)*(f*Math.cos(c*d)+l*Math.sin(c*d)):d=(f+l*d)*Math.exp(-d*s),_===0||_===1?_:1-d}function A(){var _=Fe.springs[t];if(_)return _;for(var d=1/6,y=0,S=0;;)if(y+=d,m(y)===1){if(S++,S>=16)break}else S=0;var R=y*d*1e3;return Fe.springs[t]=R,R}return e?m:A}function uo(t){return t===void 0&&(t=10),function(e){return Math.ceil($(e,1e-6,1)*t)*(1/t)}}var so=function(){var t=11,e=1/(t-1);function r(f,l){return 1-3*l+3*f}function n(f,l){return 3*l-6*f}function o(f){return 3*f}function a(f,l,m){return((r(l,m)*f+n(l,m))*f+o(l))*f}function u(f,l,m){return 3*r(l,m)*f*f+2*n(l,m)*f+o(l)}function s(f,l,m,A,_){var d,y,S=0;do y=l+(m-l)/2,d=a(y,A,_)-f,d>0?m=y:l=y;while(Math.abs(d)>1e-7&&++S<10);return y}function i(f,l,m,A){for(var _=0;_<4;++_){var d=u(l,m,A);if(d===0)return l;var y=a(l,m,A)-f;l-=y/d}return l}function c(f,l,m,A){if(!(0<=f&&f<=1&&0<=m&&m<=1))return;var _=new Float32Array(t);if(f!==l||m!==A)for(var d=0;d<t;++d)_[d]=a(d*e,f,m);function y(S){for(var R=0,h=1,v=t-1;h!==v&&_[h]<=S;++h)R+=e;--h;var C=(S-_[h])/(_[h+1]-_[h]),j=R+C*e,I=u(j,f,m);return I>=.001?i(S,j,f,m):I===0?j:s(S,R,R+e,f,m)}return function(S){return f===l&&m===A||S===0||S===1?S:a(y(S),l,A)}}return c}(),wr=function(){var t={linear:function(){return function(n){return n}}},e={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var o,a=4;n<((o=Math.pow(2,--a))-1)/11;);return 1/Math.pow(4,3-a)-7.5625*Math.pow((o*3-2)/22-n,2)}},Elastic:function(n,o){n===void 0&&(n=1),o===void 0&&(o=.5);var a=$(n,1,10),u=$(o,.1,2);return function(s){return s===0||s===1?s:-a*Math.pow(2,10*(s-1))*Math.sin((s-1-u/(Math.PI*2)*Math.asin(1/a))*(Math.PI*2)/u)}}},r=["Quad","Cubic","Quart","Quint","Expo"];return r.forEach(function(n,o){e[n]=function(){return function(a){return Math.pow(a,o+2)}}}),Object.keys(e).forEach(function(n){var o=e[n];t["easeIn"+n]=o,t["easeOut"+n]=function(a,u){return function(s){return 1-o(a,u)(1-s)}},t["easeInOut"+n]=function(a,u){return function(s){return s<.5?o(a,u)(s*2)/2:1-o(a,u)(s*-2+2)/2}},t["easeOutIn"+n]=function(a,u){return function(s){return s<.5?(1-o(a,u)(1-s*2))/2:(o(a,u)(s*2-1)+1)/2}}}),t}();function Ot(t,e){if(p.fnc(t))return t;var r=t.split("(")[0],n=wr[r],o=xr(t);switch(r){case"spring":return _r(t,e);case"cubicBezier":return _t(so,o);case"steps":return _t(uo,o);default:return _t(n,o)}}function br(t){try{var e=document.querySelectorAll(t);return e}catch{return}}function Ve(t,e){for(var r=t.length,n=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a<r;a++)if(a in t){var u=t[a];e.call(n,u,a,t)&&o.push(u)}return o}function ze(t){return t.reduce(function(e,r){return e.concat(p.arr(r)?ze(r):r)},[])}function dr(t){return p.arr(t)?t:(p.str(t)&&(t=br(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function St(t,e){return t.some(function(r){return r===e})}function At(t){var e={};for(var r in t)e[r]=t[r];return e}function wt(t,e){var r=At(t);for(var n in t)r[n]=e.hasOwnProperty(n)?e[n]:t[n];return r}function He(t,e){var r=At(t);for(var n in e)r[n]=p.und(t[n])?e[n]:t[n];return r}function fo(t){var e=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t);return e?"rgba("+e[1]+",1)":t}function lo(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=t.replace(e,function(s,i,c,f){return i+i+c+c+f+f}),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),o=parseInt(n[1],16),a=parseInt(n[2],16),u=parseInt(n[3],16);return"rgba("+o+","+a+","+u+",1)"}function co(t){var e=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),r=parseInt(e[1],10)/360,n=parseInt(e[2],10)/100,o=parseInt(e[3],10)/100,a=e[4]||1;function u(m,A,_){return _<0&&(_+=1),_>1&&(_-=1),_<1/6?m+(A-m)*6*_:_<1/2?A:_<2/3?m+(A-m)*(2/3-_)*6:m}var s,i,c;if(n==0)s=i=c=o;else{var f=o<.5?o*(1+n):o+n-o*n,l=2*o-f;s=u(l,f,r+1/3),i=u(l,f,r),c=u(l,f,r-1/3)}return"rgba("+s*255+","+i*255+","+c*255+","+a+")"}function po(t){if(p.rgb(t))return fo(t);if(p.hex(t))return lo(t);if(p.hsl(t))return co(t)}function Z(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function mo(t){if(Oe(t,"translate")||t==="perspective")return"px";if(Oe(t,"rotate")||Oe(t,"skew"))return"deg"}function bt(t,e){return p.fnc(t)?t(e.target,e.id,e.total):t}function F(t,e){return t.getAttribute(e)}function Pt(t,e,r){var n=Z(e);if(St([r,"deg","rad","turn"],n))return e;var o=Fe.CSS[e+r];if(!p.und(o))return o;var a=100,u=document.createElement(t.tagName),s=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;s.appendChild(u),u.style.position="absolute",u.style.width=a+r;var i=a/u.offsetWidth;s.removeChild(u);var c=i*parseFloat(e);return Fe.CSS[e+r]=c,c}function Ir(t,e,r){if(e in t.style){var n=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=t.style[e]||getComputedStyle(t).getPropertyValue(n)||"0";return r?Pt(t,o,r):o}}function kt(t,e){if(p.dom(t)&&!p.inp(t)&&(!p.nil(F(t,e))||p.svg(t)&&t[e]))return"attribute";if(p.dom(t)&&St(io,e))return"transform";if(p.dom(t)&&e!=="transform"&&Ir(t,e))return"css";if(t[e]!=null)return"object"}function Or(t){if(p.dom(t)){for(var e=t.style.transform||"",r=/(\w+)\(([^)]*)\)/g,n=new Map,o;o=r.exec(e);)n.set(o[1],o[2]);return n}}function ho(t,e,r,n){var o=Oe(e,"scale")?1:0+mo(e),a=Or(t).get(e)||o;return r&&(r.transforms.list.set(e,a),r.transforms.last=e),n?Pt(t,a,n):a}function Tt(t,e,r,n){switch(kt(t,e)){case"transform":return ho(t,e,n,r);case"css":return Ir(t,e,r);case"attribute":return F(t,e);default:return t[e]||0}}function Rt(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=Z(t)||0,o=parseFloat(e),a=parseFloat(t.replace(r[0],""));switch(r[0][0]){case"+":return o+a+n;case"-":return o-a+n;case"*":return o*a+n}}function Sr(t,e){if(p.col(t))return po(t);if(/\s/g.test(t))return t;var r=Z(t),n=r?t.substr(0,t.length-r.length):t;return e?n+e:n}function Ct(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function go(t){return Math.PI*2*F(t,"r")}function yo(t){return F(t,"width")*2+F(t,"height")*2}function vo(t){return Ct({x:F(t,"x1"),y:F(t,"y1")},{x:F(t,"x2"),y:F(t,"y2")})}function Ar(t){for(var e=t.points,r=0,n,o=0;o<e.numberOfItems;o++){var a=e.getItem(o);o>0&&(r+=Ct(n,a)),n=a}return r}function xo(t){var e=t.points;return Ar(t)+Ct(e.getItem(e.numberOfItems-1),e.getItem(0))}function Pr(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return go(t);case"rect":return yo(t);case"line":return vo(t);case"polyline":return Ar(t);case"polygon":return xo(t)}}function _o(t){var e=Pr(t);return t.setAttribute("stroke-dasharray",e),e}function wo(t){for(var e=t.parentNode;p.svg(e)&&p.svg(e.parentNode);)e=e.parentNode;return e}function kr(t,e){var r=e||{},n=r.el||wo(t),o=n.getBoundingClientRect(),a=F(n,"viewBox"),u=o.width,s=o.height,i=r.viewBox||(a?a.split(" "):[0,0,u,s]);return{el:n,viewBox:i,x:i[0]/1,y:i[1]/1,w:u,h:s,vW:i[2],vH:i[3]}}function bo(t,e){var r=p.str(t)?br(t)[0]:t,n=e||100;return function(o){return{property:o,el:r,svg:kr(r),totalLength:Pr(r)*(n/100)}}}function Io(t,e,r){function n(f){f===void 0&&(f=0);var l=e+f>=1?e+f:0;return t.el.getPointAtLength(l)}var o=kr(t.el,t.svg),a=n(),u=n(-1),s=n(1),i=r?1:o.w/o.vW,c=r?1:o.h/o.vH;switch(t.property){case"x":return(a.x-o.x)*i;case"y":return(a.y-o.y)*c;case"angle":return Math.atan2(s.y-u.y,s.x-u.x)*180/Math.PI}}function mr(t,e){var r=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=Sr(p.pth(t)?t.totalLength:t,e)+"";return{original:n,numbers:n.match(r)?n.match(r).map(Number):[0],strings:p.str(t)||e?n.split(r):[]}}function jt(t){var e=t?ze(p.arr(t)?t.map(dr):dr(t)):[];return Ve(e,function(r,n,o){return o.indexOf(r)===n})}function Tr(t){var e=jt(t);return e.map(function(r,n){return{target:r,id:n,total:e.length,transforms:{list:Or(r)}}})}function Oo(t,e){var r=At(e);if(/^spring/.test(r.easing)&&(r.duration=_r(r.easing)),p.arr(t)){var n=t.length,o=n===2&&!p.obj(t[0]);o?t={value:t}:p.fnc(e.duration)||(r.duration=e.duration/n)}var a=p.arr(t)?t:[t];return a.map(function(u,s){var i=p.obj(u)&&!p.pth(u)?u:{value:u};return p.und(i.delay)&&(i.delay=s?0:e.delay),p.und(i.endDelay)&&(i.endDelay=s===a.length-1?e.endDelay:0),i}).map(function(u){return He(u,r)})}function So(t){for(var e=Ve(ze(t.map(function(a){return Object.keys(a)})),function(a){return p.key(a)}).reduce(function(a,u){return a.indexOf(u)<0&&a.push(u),a},[]),r={},n=function(a){var u=e[a];r[u]=t.map(function(s){var i={};for(var c in s)p.key(c)?c==u&&(i.value=s[c]):i[c]=s[c];return i})},o=0;o<e.length;o++)n(o);return r}function Ao(t,e){var r=[],n=e.keyframes;n&&(e=He(So(n),e));for(var o in e)p.key(o)&&r.push({name:o,tweens:Oo(e[o],t)});return r}function Po(t,e){var r={};for(var n in t){var o=bt(t[n],e);p.arr(o)&&(o=o.map(function(a){return bt(a,e)}),o.length===1&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function ko(t,e){var r;return t.tweens.map(function(n){var o=Po(n,e),a=o.value,u=p.arr(a)?a[1]:a,s=Z(u),i=Tt(e.target,t.name,s,e),c=r?r.to.original:i,f=p.arr(a)?a[0]:c,l=Z(f)||Z(i),m=s||l;return p.und(u)&&(u=c),o.from=mr(f,m),o.to=mr(Rt(u,f),m),o.start=r?r.end:0,o.end=o.start+o.delay+o.duration+o.endDelay,o.easing=Ot(o.easing,o.duration),o.isPath=p.pth(a),o.isPathTargetInsideSVG=o.isPath&&p.svg(e.target),o.isColor=p.col(o.from.original),o.isColor&&(o.round=1),r=o,o})}var Rr={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){if(n.list.set(e,r),e===n.last||o){var a="";n.list.forEach(function(u,s){a+=s+"("+u+") "}),t.style.transform=a}}};function Cr(t,e){var r=Tr(t);r.forEach(function(n){for(var o in e){var a=bt(e[o],n),u=n.target,s=Z(a),i=Tt(u,o,s,n),c=s||Z(i),f=Rt(Sr(a,c),i),l=kt(u,o);Rr[l](u,o,f,n.transforms,!0)}})}function To(t,e){var r=kt(t.target,e.name);if(r){var n=ko(e,t),o=n[n.length-1];return{type:r,property:e.name,animatable:t,tweens:n,duration:o.end,delay:n[0].delay,endDelay:o.endDelay}}}function Ro(t,e){return Ve(ze(t.map(function(r){return e.map(function(n){return To(r,n)})})),function(r){return!p.und(r)})}function jr(t,e){var r=t.length,n=function(a){return a.timelineOffset?a.timelineOffset:0},o={};return o.duration=r?Math.max.apply(Math,t.map(function(a){return n(a)+a.duration})):e.duration,o.delay=r?Math.min.apply(Math,t.map(function(a){return n(a)+a.delay})):e.delay,o.endDelay=r?o.duration-Math.max.apply(Math,t.map(function(a){return n(a)+a.duration-a.endDelay})):e.endDelay,o}var hr=0;function Co(t){var e=wt(vr,t),r=wt(It,t),n=Ao(r,t),o=Tr(t.targets),a=Ro(o,n),u=jr(a,r),s=hr;return hr++,He(e,{id:s,children:[],animatables:o,animations:a,duration:u.duration,delay:u.delay,endDelay:u.endDelay})}var U=[],Er=function(){var t;function e(){!t&&(!gr()||!T.suspendWhenDocumentHidden)&&U.length>0&&(t=requestAnimationFrame(r))}function r(o){for(var a=U.length,u=0;u<a;){var s=U[u];s.paused?(U.splice(u,1),a--):(s.tick(o),u++)}t=u>0?requestAnimationFrame(r):void 0}function n(){T.suspendWhenDocumentHidden&&(gr()?t=cancelAnimationFrame(t):(U.forEach(function(o){return o._onDocumentVisibility()}),Er()))}return typeof document<"u"&&document.addEventListener("visibilitychange",n),e}();function gr(){return!!document&&document.hidden}function T(t){t===void 0&&(t={});var e=0,r=0,n=0,o,a=0,u=null;function s(h){var v=window.Promise&&new Promise(function(C){return u=C});return h.finished=v,v}var i=Co(t),c=s(i);function f(){var h=i.direction;h!=="alternate"&&(i.direction=h!=="normal"?"normal":"reverse"),i.reversed=!i.reversed,o.forEach(function(v){return v.reversed=i.reversed})}function l(h){return i.reversed?i.duration-h:h}function m(){e=0,r=l(i.currentTime)*(1/T.speed)}function A(h,v){v&&v.seek(h-v.timelineOffset)}function _(h){if(i.reversePlayback)for(var C=a;C--;)A(h,o[C]);else for(var v=0;v<a;v++)A(h,o[v])}function d(h){for(var v=0,C=i.animations,j=C.length;v<j;){var I=C[v],G=I.animatable,V=I.tweens,K=V.length-1,k=V[K];K&&(k=Ve(V,function(Gr){return h<Gr.end})[0]||k);for(var b=$(h-k.start-k.delay,0,k.duration)/k.duration,w=isNaN(b)?1:k.easing(b),J=k.to.strings,ae=k.round,ie=[],Yr=k.to.numbers.length,ue=void 0,de=0;de<Yr;de++){var me=void 0,Ut=k.to.numbers[de],Wt=k.from.numbers[de]||0;k.isPath?me=Io(k.value,w*Ut,k.isPathTargetInsideSVG):me=Wt+w*(Ut-Wt),ae&&(k.isColor&&de>2||(me=Math.round(me*ae)/ae)),ie.push(me)}var $t=J.length;if(!$t)ue=ie[0];else{ue=J[0];for(var he=0;he<$t;he++){var Yo=J[he],Ft=J[he+1],Ke=ie[he];isNaN(Ke)||(Ft?ue+=Ke+Ft:ue+=Ke+" ")}}Rr[I.type](G.target,I.property,ue,G.transforms),I.currentValue=ue,v++}}function y(h){i[h]&&!i.passThrough&&i[h](i)}function S(){i.remaining&&i.remaining!==!0&&i.remaining--}function R(h){var v=i.duration,C=i.delay,j=v-i.endDelay,I=l(h);i.progress=$(I/v*100,0,100),i.reversePlayback=I<i.currentTime,o&&_(I),!i.began&&i.currentTime>0&&(i.began=!0,y("begin")),!i.loopBegan&&i.currentTime>0&&(i.loopBegan=!0,y("loopBegin")),I<=C&&i.currentTime!==0&&d(0),(I>=j&&i.currentTime!==v||!v)&&d(v),I>C&&I<j?(i.changeBegan||(i.changeBegan=!0,i.changeCompleted=!1,y("changeBegin")),y("change"),d(I)):i.changeBegan&&(i.changeCompleted=!0,i.changeBegan=!1,y("changeComplete")),i.currentTime=$(I,0,v),i.began&&y("update"),h>=v&&(r=0,S(),i.remaining?(e=n,y("loopComplete"),i.loopBegan=!1,i.direction==="alternate"&&f()):(i.paused=!0,i.completed||(i.completed=!0,y("loopComplete"),y("complete"),!i.passThrough&&"Promise"in window&&(u(),c=s(i)))))}return i.reset=function(){var h=i.direction;i.passThrough=!1,i.currentTime=0,i.progress=0,i.paused=!0,i.began=!1,i.loopBegan=!1,i.changeBegan=!1,i.completed=!1,i.changeCompleted=!1,i.reversePlayback=!1,i.reversed=h==="reverse",i.remaining=i.loop,o=i.children,a=o.length;for(var v=a;v--;)i.children[v].reset();(i.reversed&&i.loop!==!0||h==="alternate"&&i.loop===1)&&i.remaining++,d(i.reversed?i.duration:0)},i._onDocumentVisibility=m,i.set=function(h,v){return Cr(h,v),i},i.tick=function(h){n=h,e||(e=n),R((n+(r-e))*T.speed)},i.seek=function(h){R(l(h))},i.pause=function(){i.paused=!0,m()},i.play=function(){i.paused&&(i.completed&&i.reset(),i.paused=!1,U.push(i),m(),Er())},i.reverse=function(){f(),i.completed=!i.reversed,m()},i.restart=function(){i.reset(),i.play()},i.remove=function(h){var v=jt(h);Mr(v,i)},i.reset(),i.autoplay&&i.play(),i}function yr(t,e){for(var r=e.length;r--;)St(t,e[r].animatable.target)&&e.splice(r,1)}function Mr(t,e){var r=e.animations,n=e.children;yr(t,r);for(var o=n.length;o--;){var a=n[o],u=a.animations;yr(t,u),!u.length&&!a.children.length&&n.splice(o,1)}!r.length&&!n.length&&e.pause()}function jo(t){for(var e=jt(t),r=U.length;r--;){var n=U[r];Mr(e,n)}}function Eo(t,e){e===void 0&&(e={});var r=e.direction||"normal",n=e.easing?Ot(e.easing):null,o=e.grid,a=e.axis,u=e.from||0,s=u==="first",i=u==="center",c=u==="last",f=p.arr(t),l=parseFloat(f?t[0]:t),m=f?parseFloat(t[1]):0,A=Z(f?t[1]:t)||0,_=e.start||0+(f?l:0),d=[],y=0;return function(S,R,h){if(s&&(u=0),i&&(u=(h-1)/2),c&&(u=h-1),!d.length){for(var v=0;v<h;v++){if(!o)d.push(Math.abs(u-v));else{var C=i?(o[0]-1)/2:u%o[0],j=i?(o[1]-1)/2:Math.floor(u/o[0]),I=v%o[0],G=Math.floor(v/o[0]),V=C-I,K=j-G,k=Math.sqrt(V*V+K*K);a==="x"&&(k=-V),a==="y"&&(k=-K),d.push(k)}y=Math.max.apply(Math,d)}n&&(d=d.map(function(w){return n(w/y)*y})),r==="reverse"&&(d=d.map(function(w){return a?w<0?w*-1:-w:Math.abs(y-w)}))}var b=f?(m-l)/y:l;return _+b*(Math.round(d[R]*100)/100)+A}}function Mo(t){t===void 0&&(t={});var e=T(t);return e.duration=0,e.add=function(r,n){var o=U.indexOf(e),a=e.children;o>-1&&U.splice(o,1);function u(m){m.passThrough=!0}for(var s=0;s<a.length;s++)u(a[s]);var i=He(r,wt(It,t));i.targets=i.targets||t.targets;var c=e.duration;i.autoplay=!1,i.direction=e.direction,i.timelineOffset=p.und(n)?c:Rt(n,c),u(e),e.seek(i.timelineOffset);var f=T(i);u(f),a.push(f);var l=jr(a,t);return e.delay=l.delay,e.endDelay=l.endDelay,e.duration=l.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e}T.version="3.2.1";T.speed=1;T.suspendWhenDocumentHidden=!0;T.running=U;T.remove=jo;T.get=Tt;T.set=Cr;T.convertPx=Pt;T.path=bo;T.setDashoffset=_o;T.stagger=Eo;T.timeline=Mo;T.easing=Ot;T.penner=wr;T.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};var le=T;var Dr=0,Lr=Object.create(null),No=["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","counter-increment","counter-reset","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","font-weight","grid-area","grid-column","grid-column-end","grid-column-span","grid-column-start","grid-row","grid-row-end","grid-row-span","grid-row-start","line-clamp","line-height","opacity","order","orphans","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"];for(let t of No)for(let e of["-webkit-","-ms-","-moz-","-o-",""])Lr[e+t]=!0;function Et(t,e){return t.replace(/&/g,e)}function Nr(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).replace(/^ms-/,"-ms-")}function Bo(t){let e=5381,r=t.length;for(;r--;)e=e*33^t.charCodeAt(r);return(e>>>0).toString(36)}function Do(t,e){return t.indexOf("&")===-1?`${e} ${t}`:Et(t,e)}function Br(t,e){return t[0]>e[0]?1:t[0]<e[0]?-1:t[2]-e[2]}function Lo([t,e]){return typeof e=="number"&&e&&!Lr[t]?`${t}:${e}px`:`${t}:${String(e)}`}function qr(t,e,r,n,o){let a=[],u=[];for(let d of Object.keys(n)){let y=n[d];if(d.charCodeAt(0)!==36&&y!=null)if(Array.isArray(y)){let S=Nr(d);for(let R=0;R<y.length;R++){let h=y[R];h!=null&&a.push([S,h,R])}}else typeof y=="object"?u.push([d,y,0]):a.push([Nr(d),y,0])}let s=!!n.$unique,i=n.$global?"":o,c=i?u:u.sort(Br),f=a.sort(Br).map(Lo).join(";"),l=f,m=i,A=t,_=e;r.charCodeAt(0)===64?(A=[],_=[],i&&f&&_.push({selector:m,style:f,isUnique:s}),t.push({selector:r,rules:A,styles:_,style:i?"":f})):(m=i?r?Do(r,i):i:r,f&&e.push({selector:m,style:f,isUnique:s}));for(let[d,y]of c)l+=`|${d}#${qr(A,_,d,y,m)}`;return l}function Ur(t,e,r,n,o){for(let{selector:a,style:u,isUnique:s}of r){let i=Et(a,o),c=new Nt(u,s?(++Dr).toString(36):n);c.add(new Mt(i)),t.add(c)}for(let{selector:a,style:u,rules:s,styles:i}of e){let c=Et(a,o),f=new Bt(c,u,n);Ur(f,s,i,n,o),t.add(f)}}function Wr(t){let e="";for(let r=0;r<t.length;r++)e+=t[r];return e}var Se=class t{constructor(e){this.changes=e,this.sheet=[],this.changeId=0,this._keys=[],this._children=Object.create(null),this._counters=Object.create(null)}add(e){let r=e.id,n=this._counters[r]||0,o=this._children[r]||e.clone();if(this._counters[r]=n+1,n===0)this._children[r]=o,this._keys.push(r),this.sheet.push(o.getStyles()),this.changeId++,this.changes&&this.changes.add(o,this._keys.length-1);else if(o instanceof t&&e instanceof t){let a=o.changeId;if(o.merge(e),o.changeId!==a){let u=this._keys.indexOf(r);this.sheet.splice(u,1,o.getStyles()),this.changeId++,this.changes&&this.changes.change(o,u,u)}}}remove(e){let r=e.id,n=this._counters[r];if(n){this._counters[r]=n-1;let o=this._children[r],a=this._keys.indexOf(r);if(n===1)delete this._counters[r],delete this._children[r],this._keys.splice(a,1),this.sheet.splice(a,1),this.changeId++,this.changes&&this.changes.remove(o,a);else if(o instanceof t&&e instanceof t){let u=o.changeId;o.unmerge(e),o.changeId!==u&&(this.sheet.splice(a,1,o.getStyles()),this.changeId++,this.changes&&this.changes.change(o,a,a))}}}values(){return this._keys.map(e=>this._children[e])}merge(e){for(let r of e.values())this.add(r);return this}unmerge(e){for(let r of e.values())this.remove(r);return this}clone(){return new t().merge(this)}},Mt=class{constructor(e){this.selector=e}get id(){return`k:${this.selector}`}getStyles(){return this.selector}clone(){return this}},Nt=class t extends Se{constructor(e,r){super(),this.style=e,this.pid=r}get id(){return`s:${this.pid}:${this.style}`}getStyles(){return`${this.sheet.join(",")}{${this.style}}`}clone(){return new t(this.style,this.pid).merge(this)}},Bt=class t extends Se{constructor(e,r,n){super(),this.rule=e,this.style=r,this.pid=n}get id(){return`r:${this.pid}:${this.rule}:${this.style}`}getStyles(){return`${this.rule}{${this.style}${Wr(this.sheet)}}`}clone(){return new t(this.rule,this.style,this.pid).merge(this)}},Dt=class t extends Se{constructor(e,r){super(r),this.id=e}registerStyle(e){let r=[],n=[],o=qr(r,n,"",e,".&"),a=`f${Bo(o)}`;return Ur(this,r,n,a,a),a}getStyles(){return Wr(this.sheet)}clone(){return new t(this.id,this.changes).merge(this)}};function $r(t){return new Dt(`f${(++Dr).toString(36)}`,t)}console.log("{{.Version}}");var ce=it([yt,ct(Ue)]),Lt=ut([ne,Ue]),qo=(t,...e)=>{let r=t,n=e;return{state:()=>r,setState:o=>{Q(r,o)||(r=o,B(lt,n))},subscribe:o=>n=st(o,n)}},Ae=document,qt=t=>Ae.createElement(t),Uo=t=>Ae.createTextNode(t),Wo=t=>Ae.head.appendChild(t),Zr=t=>Ae.body.appendChild(t),Y="st"+crypto.randomUUID(),$o=fe(t=>{Lt(t[Y].added)&&Lt(t[Y].removed)||new MutationObserver((e,r)=>B(n=>{Le(t,n.addedNodes)&&ce(t[Y].added)&&t[Y].added(t),Le(t,n.removedNodes)&&ce(t[Y].removed)&&(r.disconnect(),t[Y].removed(t))})(e)).observe(window.document,{childList:!0,subtree:!0})}),P=(t,e,...r)=>{let n=qt(t);return We((o,a)=>n[a]=o,mt("lifecycle",e)),n[Y]={},We((o,a)=>n[Y][a]=o,e.lifecycle),B(o=>{o&&n.appendChild(gt(String,o)?Uo(o):o)},r),$o(n)},pe=t=>Ae.getElementById(t),Fr=t=>pe(t).value,Qe=t=>pe(t).disabled=!0,Vr=t=>{ce(pe(t))&&pe(t).offsetParent!=null&&pe(t).focus()},Pe=t=>"{{.Cfg.SuperTokensWebLibBase}}"+t,ke=t=>{let e=qt("script");e.setAttribute("src",t),e.async=!1,Zr(e)};ke(Pe("/website.js"));ke(Pe("/supertokens.js"));ke(Pe("/session.js"));ke(Pe("/passwordless.js"));ke(Pe("/emailverification.js"));var D=t=>{let e=$r(),r=e.registerStyle(t),n=qt("style");return n.textContent=e.getStyles(),Wo(n),r},Fo=D({boxSizing:"border-box",position:"absolute",top:"12px",right:"12px",zIndex:999,display:"flex",alignItems:"flex-end",flexDirection:"column"}),Vo=D({backgroundColor:"white",minWidth:"10em",display:"flex",flexDirection:"column",border:"black solid 1px",paddingTop:"4px",div:{minHeight:"10px",marginBottom:"4px"}}),Kr={padding:"4px",cursor:"pointer",marginLeft:"12px",fontVariant:"small-caps"},Kf=D(Kr),Ze=D(se(Kr,{marginLeft:"0px",paddingLeft:"12px",display:"inline-block",width:"calc(100% - 16px)","&:hover":{backgroundColor:"#e6e6e6"}})),zo=D({width:"32px",height:"32px",padding:"4px",border:0,cursor:"pointer",borderRadius:"16px",marginLeft:"12px"}),Ho=D({width:"24px",height:"24px"}),zr=D({display:"flex",flexDirection:"column",padding:"4px",backgroundColor:"white",input:{marginBottom:"10px"}}),Hr=D({textAlign:"center"}),Qo=D({opacity:"0%"}),Qr=D({marginTop:"10px"}),Jr={display:"flex",alignItems:"center"},Jf=D(Jr),Zo=D(se(Jr,{width:"32px",height:"32px",justifyContent:"center"})),Ko=t=>()=>{le({targets:t,opacity:["0%","100%"],duration:1e3,easing:"easeInOutQuad",complete:()=>{le({targets:t,opacity:["100%","0%"],duration:1e3,delay:2e3,easing:"easeInOutQuad",complete:()=>{le.remove(t)}})}})},Jo=vt(/(.)[^@]*(.)@(.).*(.\.[^.]+)/,"$1-$2@$3-$4");window.onload=()=>{let t=Q("{{.Cfg.PlainUI}}","true"),e=b=>"{{.Cfg.APIBasePath}}"+b,r=()=>Q("{{.LoggedIn}}","true"),n=()=>"{{.UserEmail}}",o=()=>"{{.UserID}}",a="st"+crypto.randomUUID(),u=qo({init:!0,label:"...",stState:"init",showMenu:!1,menuItems:[]}),s=(b,w)=>b.setState(A(se(b.state(),w))),i=b=>w=>{(w.key==="Enter"||w.keyCode===13)&&b()},c=()=>{globalThis.stAuth.sendOTP(Fr(a+"email")),Qe(a+"email"),Qe(a+"emailButton")},f=()=>{globalThis.stAuth.verifyOTP(Fr(a+"otp")),Qe(a+"otp"),Qe(a+"otpButton")},l=()=>{u.setState(se(u.state(),{stState:"init",displayState:m.init()})),I.state("loggedOut")},m={init:()=>null,enterEmail:()=>P("div",{className:zr},P("input",{id:a+"email",type:"email",placeholder:"your.email@address.com",onkeyup:i(c),className:Hr}),P("button",{id:a+"emailButton",onclick:c},"Request one-time code"),P("button",{className:Qr,onclick:l},"Close")),enterOTP:()=>P("div",{className:zr},P("input",{id:a+"otp",type:"text",placeholder:"One-time code in email",onkeyup:i(f),className:Hr}),P("button",{id:a+"otpButton",onclick:f},"Verify code"),P("button",{className:Qr,onclick:l},"Close")),showEmail:()=>t?null:P("div",{className:Zo},P("div",{id:a+"userEmail",className:Qo},n()),P("button",{className:zo,onclick:Ko("#"+a+"userEmail")},P("img",{className:Ho,src:r()?e("/person_outline.svg"):null})))},A=b=>({init:oe,loggedOut:oe,checkEmail:$e({displayState:m.enterOTP()}),wrongOTP:oe,oldOTP:oe,failedOTP:oe,signUpSuccess:fe(()=>window.location.reload()),signInSuccess:fe(()=>window.location.reload()),loggedIn:$e({displayState:m.showEmail()}),logoutCompleted:fe(()=>window.location.reload())})[b.stState](b),_=()=>{r()||l(),s(u,{showMenu:!u.state().showMenu})},d=()=>s(u,{showMenu:!1}),y=()=>{d(),u.state().stState==="loggedOut"?s(u,{displayState:m.enterEmail()}):u.state().stState==="loggedIn"&&globalThis.stAuth.logout()},S=null,R=b=>{ce(S)&&!S.contains(b.target)&&d()},h=b=>{S=b,document.removeEventListener("click",R,!0)},v=b=>{S=b,h(b),document.addEventListener("click",R,!0)},C=b=>s(u,{menuItems:B(([w,J])=>P("div",{},P("a",{href:"#",className:Ze,onclick:()=>{d(),J()}},w)),be(Lt,b))}),j=()=>P("div",{id:a,className:Fo,style:"opacity:"+(u.state().stState=="init"?0:100)+"%;background:rgba(0,0,0,0)",onmouseleave:d,lifecycle:{added:v,removed:h}},P("button",{style:"width:32px;height:32px;padding:0;border:0;background-color:white;cursor:pointer",onclick:_},P("img",{style:"width:32px;height:32px",src:e("/menu.svg")})),u.state().displayState,u.state().showMenu?P("div",{className:Vo},r()?null:P("div",{},P("a",{href:"#",className:Ze,onclick:y},"login")),r()?P("div",{className:Ze,style:"cursor:default;font-variant:normal"},Jo(n())):null,...u.state().menuItems,r()?P("div",{},P("a",{href:"#",className:Ze,onclick:y},"logout")):null):null);u.subscribe(()=>{pe(a).replaceWith(j()),Vr(a+"email"),Vr(a+"otp")}),Zr(j());let I={catch:(b,w)=>showError(b,w),state:(b,w)=>s(u,{stState:b,stData:w})},G=(b,w)=>I.catch(b+(w.isSuperTokensGeneralError?" (some other failure)":""),w);supertokens.init({appInfo:{apiDomain:"{{.Cfg.APIDomain}}",apiBasePath:"{{.Cfg.APIBasePath}}",appName:"{{.Cfg.AppName}}"},recipeList:[supertokensEmailVerification.init(),supertokensSession.init(),supertokensPasswordless.init()]});let V=async b=>{try{(await supertokensPasswordless.createCode({email:b})).status!="SIGN_IN_UP_NOT_ALLOWED"&&I.state("checkEmail")}catch(w){G("sendOTP",w)}},K=async b=>{try{let w=await supertokensPasswordless.consumeCode({userInputCode:b});w.status==="OK"?w.createdNewRecipeUser&&w.user.loginMethods.length===1?I.state("signUpSuccess",w.user.id):I.state("signInSuccess",w.user.id):w.status==="INCORRECT_USER_INPUT_CODE_ERROR"?I.state("wrongOTP"):w.status==="EXPIRED_USER_INPUT_CODE_ERROR"?I.state("oldOTP"):I.state("failedOTP")}catch(w){G("handleOTP",w)}},k=async()=>{await supertokensSession.signOut(),I.state("logoutCompleted")};globalThis.stAuth={sendOTP:V,verifyOTP:K,logout:k,isLoggedIn:r,userEmail:n,userID:o,setMenuItems:C},ce(globalThis.authHooks)&&globalThis.authHooks.forEach(([b,w])=>{let J=I[b];I[b]=(ae,ie)=>{J(ae,ie),w(ae,ie)}}),ce(globalThis.menuItems)&&C(globalThis.menuItems),r()?I.state("loggedIn",n()):I.state("loggedOut"),le({targets:"#"+a,opacity:"100%",duration:1e3,easing:"easeInOutQuad",complete:()=>le.remove("#"+a)})};})();