1
0
Fork 0
forked from mCaptcha/website
mcaptcha-website/main.min.993b2b4c58b07e7a4bb3423cf18ccd78a85d0063680c0fc9bf6d9cc02be98e08793034d984dd8f7c60ad5b70f3186cc8bc280b1077b7e37c2d64f36f118099bb.js

1 line
No EOL
38 KiB
JavaScript

(()=>{var b=Object.create,a=Object.defineProperty,c=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,e=Object.getOwnPropertyNames,f=Object.getOwnPropertyDescriptor,g=b=>a(b,"__esModule",{value:!0}),h=(b,a)=>()=>{return a||(a={exports:{}},b(a.exports,a)),a.exports},i=(c,b,g)=>{if(b&&typeof b=="object"||typeof b=="function")for(let h of e(b))!d.call(c,h)&&h!=="default"&&a(c,h,{get:()=>b[h],enumerable:!(g=f(b,h))||g.enumerable});return c},j=d=>{return d&&d.__esModule?d:i(g(a(d!=null?b(c(d)):{},"default",{value:d,enumerable:!0})),d)},k=h((b,a)=>{(function(b,d){var c=d(b,b.document,Date);b.lazySizes=c,typeof a=="object"&&a.exports&&(a.exports=c)})(typeof window!="undefined"?window:{},function(d,b,j){"use strict";var f,a,h,E,i,c,g,e,A,s,x,F,q,C,k,l,u,v,o,w,n,z,m,p,D,y,B,t,r;return function(){var c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125},b;a=d.lazySizesConfig||d.lazysizesConfig||{};for(b in c)b in a||(a[b]=c[b])}(),!b||!b.getElementsByClassName?{init:function(){},cfg:a,noSupport:!0}:(h=b.documentElement,E=d.HTMLPictureElement,i="addEventListener",c="getAttribute",g=d[i].bind(d),e=d.setTimeout,A=d.requestAnimationFrame||e,s=d.requestIdleCallback,x=/^picture$/i,F=["load","error","lazyincluded","_lazyloaded"],q={},C=Array.prototype.forEach,k=function(b,a){return q[a]||(q[a]=new RegExp("(\\s|^)"+a+"(\\s|$)")),q[a].test(b[c]("class")||"")&&q[a]},l=function(a,b){k(a,b)||a.setAttribute("class",(a[c]("class")||"").trim()+" "+b)},u=function(a,d){var b;(b=k(a,d))&&a.setAttribute("class",(a[c]("class")||"").replace(b," "))},v=function(a,b,c){var d=c?i:"removeEventListener";c&&v(a,b),F.forEach(function(c){a[d](c,b)})},o=function(d,e,a,g,h){var c=b.createEvent("Event");return a||(a={}),a.instance=f,c.initEvent(e,!g,!h),c.detail=a,d.dispatchEvent(c),c},w=function(e,b){var f;!E&&(f=d.picturefill||a.pf)?(b&&b.src&&!e[c]("srcset")&&e.setAttribute("srcset",b.src),f({reevaluate:!0,elements:[e]})):b&&b.src&&(e.src=b.src)},n=function(a,b){return(getComputedStyle(a,null)||{})[b]},z=function(d,c,b){for(b=b||d.offsetWidth;b<a.minSize&&c&&!d._lazysizesWidth;)b=c.offsetWidth,c=c.parentNode;return b},m=function(){var d=[],i=[],f=d,g=function(){var b=f;for(f=d.length?i:d,a=!0,c=!1;b.length;)b.shift()();a=!1},h=function(d,h){a&&!h?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?e:A)(g)))},c,a;return h._lsFlush=g,h}(),p=function(a,b){return b?function(){m(a)}:function(){var b=this,c=arguments;m(function(){a.apply(b,c)})}},D=function(i){var f=0,h=a.throttleDelay,b=a.ricTimeout,g=function(){c=!1,f=j.now(),i()},d=s&&b>49?function(){s(g,{timeout:b}),b!==a.ricTimeout&&(b=a.ricTimeout)}:p(function(){e(g)},!0),c;return function(g){var a;if((g=g===!0)&&(b=33),c)return;c=!0,a=h-(j.now()-f),a<0&&(a=0),g||a<9?d():e(d,a)}},y=function(g){var b=99,d=function(){a=null,g()},f=function(){var a=j.now()-c;a<b?e(f,b-a):(s||d)(d)},c,a;return function(){c=j.now(),a||(a=e(f,b))}},B=function(){var Z=/^img$/i,ae=/^iframe$/i,ad="onscroll"in d&&!/(gle|ing)bot/.test(navigator.userAgent),ab=0,F=0,r=0,s=-1,S=function(a){r--,(!a||r<0||!a.target)&&(r=0)},T=function(a){return K==null&&(K=n(b.body,"visibility")=="hidden"),K||!(n(a.parentNode,"visibility")=="hidden"&&n(a,"visibility")=="hidden")},X=function(f,e){var a=f,d=T(f),c;for(G-=e,J+=e,H-=e,I+=e;d&&(a=a.offsetParent)&&a!=b.body&&a!=h;)d=(n(a,"opacity")||1)>0,d&&n(a,"overflow")!="visible"&&(c=a.getBoundingClientRect(),d=I>c.left&&H<c.right&&J>c.top-1&&G<c.bottom+1);return d},V=function(){var e=f.elements,d,i,k,o,g,m,l,q,j,p,n,t;if((E=a.loadMode)&&r<8&&(t=e.length)){for(d=0,s++;d<t;d++){if(!e[d]||e[d]._lazyRace)continue;if(!ad||f.prematureUnveil&&f.prematureUnveil(e[d])){B(e[d]);continue}if((!(l=e[d][c]("data-expand"))||!(g=l*1))&&(g=F),j||(j=!a.expand||a.expand<1?h.clientHeight>500&&h.clientWidth>500?500:370:a.expand,f._defEx=j,p=j*a.expFactor,n=a.hFac,K=null,F<p&&r<1&&s>2&&E>2&&!b.hidden?(F=p,s=0):E>1&&s>1&&r<6?F=j:F=ab),q!==g&&(R=innerWidth+g*n,Q=innerHeight+g,m=g*-1,q=g),i=e[d].getBoundingClientRect(),(J=i.bottom)>=m&&(G=i.top)<=Q&&(I=i.right)>=m*n&&(H=i.left)<=R&&(J||I||H||G)&&(a.loadHidden||T(e[d]))&&(z&&r<3&&!l&&(E<3||s<4)||X(e[d],g))){if(B(e[d]),o=!0,r>9)break}else!o&&z&&!k&&r<4&&s<4&&E>2&&(L[0]||a.preloadAfterLoad)&&(L[0]||!l&&(J||I||H||G||e[d][c](a.sizesAttr)!="auto"))&&(k=L[0]||e[d])}k&&!o&&B(k)}},q=D(V),U=function(c){var b=c.target;if(b._lazyCache){delete b._lazyCache;return}S(c),l(b,a.loadedClass),u(b,a.loadingClass),v(b,P),o(b,"lazyloaded")},Y=p(U),P=function(a){Y({target:a.target})},_=function(b,c){var d=b.getAttribute("data-load-mode")||a.iframeLoadMode;d==0?b.contentWindow.location.replace(c):d==1&&(b.src=c)},$=function(b){var e=b[c](a.srcsetAttr),d;(d=a.customMedia[b[c]("data-media")||b[c]("media")])&&b.setAttribute("media",d),e&&b.setAttribute("srcset",e)},aa=p(function(b,k,q,n,p){var d,g,h,f,i,j;(i=o(b,"lazybeforeunveil",k)).defaultPrevented||(n&&(q?l(b,a.autosizesClass):b.setAttribute("sizes",n)),g=b[c](a.srcsetAttr),d=b[c](a.srcAttr),p&&(h=b.parentNode,f=h&&x.test(h.nodeName||"")),j=k.firesLoad||"src"in b&&(g||d||f),i={target:b},l(b,a.loadingClass),j&&(clearTimeout(O),O=e(S,2500),v(b,P,!0)),f&&C.call(h.getElementsByTagName("source"),$),g?b.setAttribute("srcset",g):d&&!f&&(ae.test(b.nodeName)?_(b,d):b.src=d),p&&(g||f)&&w(b,{src:d})),b._lazyRace&&delete b._lazyRace,u(b,a.lazyClass),m(function(){var c=b.complete&&b.naturalWidth>1;(!j||c)&&(c&&l(b,a.fastLoadedClass),U(i),b._lazyCache=!0,e(function(){"_lazyCache"in b&&delete b._lazyCache},9)),b.loading=="lazy"&&r--},!0)}),B=function(b){var f,d,g,e;if(b._lazyRace)return;if(d=Z.test(b.nodeName),g=d&&(b[c](a.sizesAttr)||b[c]("sizes")),e=g=="auto",(e||!z)&&d&&(b[c]("src")||b.srcset)&&!b.complete&&!k(b,a.errorClass)&&k(b,a.lazyClass))return;f=o(b,"lazyunveilread").detail,e&&t.updateElem(b,!0,b.offsetWidth),b._lazyRace=!0,r++,aa(b,f,e,g,d)},ac=y(function(){a.loadMode=3,q()}),N=function(){a.loadMode==3&&(a.loadMode=2),ac()},M=function(){if(z)return;if(j.now()-W<999){e(M,999);return}z=!0,a.loadMode=3,q(),g("scroll",N,!0)},J,K,L,z,O,E,W,R,Q,G,H,I;return{_:function(){W=j.now(),f.elements=b.getElementsByClassName(a.lazyClass),L=b.getElementsByClassName(a.lazyClass+" "+a.preloadClass),g("scroll",q,!0),g("resize",q,!0),g("pageshow",function(d){if(d.persisted){var c=b.querySelectorAll("."+a.loadingClass);c.length&&c.forEach&&A(function(){c.forEach(function(a){a.complete&&B(a)})})}}),d.MutationObserver?new MutationObserver(q).observe(h,{childList:!0,subtree:!0,attributes:!0}):(h[i]("DOMNodeInserted",q,!0),h[i]("DOMAttrModified",q,!0),setInterval(q,999)),g("hashchange",q,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(a){b[i](a,q,!0)}),/d$|^c/.test(b.readyState)?M():(g("load",M),b[i]("DOMContentLoaded",q),e(M,2e4)),f.elements.length?(V(),m._lsFlush()):q()},checkElems:q,unveil:B,_aLSL:N}}(),t=function(){var f=p(function(c,e,f,a){var d,b,g;if(c._lazysizesWidth=a,a+="px",c.setAttribute("sizes",a),x.test(e.nodeName||"")){d=e.getElementsByTagName("source");for(b=0,g=d.length;b<g;b++)d[b].setAttribute("sizes",a)}f.detail.dataAttr||w(c,f.detail)}),d=function(b,e,a){var d=b.parentNode,c;d&&(a=z(b,d,a),c=o(b,"lazybeforesizes",{width:a,dataAttr:!!e}),c.defaultPrevented||(a=c.detail.width,a&&a!==b._lazysizesWidth&&f(b,d,c,a)))},h=function(){var b=c.length,a;if(b)for(a=0;a<b;a++)d(c[a])},e=y(h),c;return{_:function(){c=b.getElementsByClassName(a.autosizesClass),g("resize",e)},checkElems:e,updateElem:d}}(),r=function(){!r.i&&b.getElementsByClassName&&(r.i=!0,t._(),B._())},e(function(){a.init&&r()}),f={cfg:a,autoSizer:t,loader:B,init:r,uP:w,aC:l,rC:u,hC:k,fire:o,gW:z,rAF:m},f)})}),l=j(k())})(),(()=>{var m=Object.create,a=Object.defineProperty,g=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,e=Object.getOwnPropertyNames,f=Object.getOwnPropertyDescriptor,c=b=>a(b,"__esModule",{value:!0}),h=(b,a)=>()=>{return a||(a={exports:{}},b(a.exports,a)),a.exports},i=(c,b,g)=>{if(b&&typeof b=="object"||typeof b=="function")for(let h of e(b))!d.call(c,h)&&h!=="default"&&a(c,h,{get:()=>b[h],enumerable:!(g=f(b,h))||g.enumerable});return c},j=b=>{return b&&b.__esModule?b:i(c(a(b!=null?m(g(b)):{},"default",{value:b,enumerable:!0})),b)},k=h((a,b)=>{(function(d,c){typeof a=="object"&&typeof b=="object"?b.exports=c():typeof define=="function"&&define.amd?define([],c):typeof a=="object"?a.ClipboardJS=c():d.ClipboardJS=c()})(a,function(){return function(){var c={686:function(G,F,a){"use strict";var t,q,p,n,m,f,l,g,h,o,e,r,s,u,w;a.d(F,{default:function(){return w}}),t=a(279),q=a.n(t),p=a(370),n=a.n(p),m=a(817),f=a.n(m);function j(a){try{return document.execCommand(a)}catch(a){return!1}}l=function(a){var b=f()(a);return j("cut"),b},g=l;function E(b){var c=document.documentElement.getAttribute("dir")==="rtl",a=document.createElement("textarea"),d;return a.style.fontSize="12pt",a.style.border="0",a.style.padding="0",a.style.margin="0",a.style.position="absolute",a.style[c?"right":"left"]="-9999px",d=window.pageYOffset||document.documentElement.scrollTop,a.style.top="".concat(d,"px"),a.setAttribute("readonly",""),a.value=b,a}h=function(b,c){var a=E(b),d;return c.container.appendChild(a),d=f()(a),j("copy"),a.remove(),d},o=function(a){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},b="";return typeof a=="string"?b=h(a,c):a instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(a===null||a===void 0?void 0:a.type)?b=h(a.value,c):(b=f()(a),j("copy")),b},e=o;function d(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(a){return typeof a}:d=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},d(a)}r=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=c.action,b=h===void 0?"copy":h,i=c.container,a=c.target,f=c.text;if(b!=="copy"&&b!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(a!==void 0)if(a&&d(a)==="object"&&a.nodeType===1){{if(b==="copy"&&a.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(b==="cut"&&(a.hasAttribute("readonly")||a.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}}else throw new Error('Invalid "target" value, use a valid Element');if(f)return e(f,{container:i});if(a)return b==="cut"?g(a):e(a,{container:i})},s=r;function b(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(a){return typeof a}:b=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b(a)}function D(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function v(d,c){for(var b=0,a;b<c.length;b++)a=c[b],a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(d,a.key,a)}function y(a,b,c){return b&&v(a.prototype,b),c&&v(a,c),a}function x(b,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),a&&k(b,a)}function k(a,b){return k=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a},k(a,b)}function z(a){var b=C();return function(){var e=c(a),d,f;return b?(f=c(this).constructor,d=Reflect.construct(e,arguments,f)):d=e.apply(this,arguments),A(this,d)}}function A(c,a){return a&&(b(a)==="object"||typeof a=="function")?a:B(c)}function B(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(a){return!1}}function c(a){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},c(a)}function i(c,a){var b="data-clipboard-".concat(c);if(!a.hasAttribute(b))return;return a.getAttribute(b)}u=function(c){x(a,c);var d=z(a);function a(c,e){var b;return D(this,a),b=d.call(this),b.resolveOptions(e),b.listenClick(c),b}return y(a,[{key:"resolveOptions",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof a.action=="function"?a.action:this.defaultAction,this.target=typeof a.target=="function"?a.target:this.defaultTarget,this.text=typeof a.text=="function"?a.text:this.defaultText,this.container=b(a.container)==="object"?a.container:document.body}},{key:"listenClick",value:function(a){var b=this;this.listener=n()(a,"click",function(a){return b.onClick(a)})}},{key:"onClick",value:function(b){var a=b.delegateTarget||b.currentTarget,c=this.action(a)||"copy",d=s({action:c,container:this.container,target:this.target(a),text:this.text(a)});this.emit(d?"success":"error",{action:c,text:d,trigger:a,clearSelection:function(){a&&a.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(a){return i("action",a)}},{key:"defaultTarget",value:function(b){var a=i("target",b);if(a)return document.querySelector(a)}},{key:"defaultText",value:function(a){return i("text",a)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(a){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return e(a,b)}},{key:"cut",value:function(a){return g(a)}},{key:"isSupported",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],c=typeof a=="string"?[a]:a,b=!!document.queryCommandSupported;return c.forEach(function(a){b=b&&!!document.queryCommandSupported(a)}),b}}]),a}(q()),w=u},828:function(b){var c=9,a;typeof Element!="undefined"&&!Element.prototype.matches&&(a=Element.prototype,a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector);function d(a,b){while(a&&a.nodeType!==c){if(typeof a.matches=="function"&&a.matches(b))return a;a=a.parentNode}}b.exports=d},438:function(b,g,c){var d=c(828);function a(a,e,b,g,c){var d=f.apply(this,arguments);return a.addEventListener(b,d,c),{destroy:function(){a.removeEventListener(b,d,c)}}}function e(b,d,c,e,f){return typeof b.addEventListener=="function"?a.apply(null,arguments):typeof c=="function"?a.bind(null,document).apply(null,arguments):(typeof b=="string"&&(b=document.querySelectorAll(b)),Array.prototype.map.call(b,function(b){return a(b,d,c,e,f)}))}function f(a,b,e,c){return function(e){e.delegateTarget=d(e.target,b),e.delegateTarget&&c.call(a,e)}}b.exports=e},879:function(b,a){a.node=function(a){return a!==void 0&&a instanceof HTMLElement&&a.nodeType===1},a.nodeList=function(b){var c=Object.prototype.toString.call(b);return b!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in b&&(b.length===0||a.node(b[0]))},a.string=function(a){return typeof a=="string"||a instanceof String},a.fn=function(a){var b=Object.prototype.toString.call(a);return b==="[object Function]"}},370:function(c,i,b){var a=b(879),e=b(438);function f(b,c,e){if(!b&&!c&&!e)throw new Error("Missing required arguments");if(!a.string(c))throw new TypeError("Second argument must be a String");if(!a.fn(e))throw new TypeError("Third argument must be a Function");if(a.node(b))return g(b,c,e);if(a.nodeList(b))return d(b,c,e);if(a.string(b))return h(b,c,e);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function g(a,b,c){return a.addEventListener(b,c),{destroy:function(){a.removeEventListener(b,c)}}}function d(a,b,c){return Array.prototype.forEach.call(a,function(a){a.addEventListener(b,c)}),{destroy:function(){Array.prototype.forEach.call(a,function(a){a.removeEventListener(b,c)})}}}function h(a,b,c){return e(document.body,a,b,c)}c.exports=f},817:function(a){function b(a){var b,d,c,e;return a.nodeName==="SELECT"?(a.focus(),b=a.value):a.nodeName==="INPUT"||a.nodeName==="TEXTAREA"?(d=a.hasAttribute("readonly"),d||a.setAttribute("readonly",""),a.select(),a.setSelectionRange(0,a.value.length),d||a.removeAttribute("readonly"),b=a.value):(a.hasAttribute("contenteditable")&&a.focus(),c=window.getSelection(),e=document.createRange(),e.selectNodeContents(a),c.removeAllRanges(),c.addRange(e),b=c.toString()),b}a.exports=b},279:function(b){function a(){}a.prototype={on:function(a,c,d){var b=this.e||(this.e={});return(b[a]||(b[a]=[])).push({fn:c,ctx:d}),this},once:function(b,c,d){var e=this;function a(){e.off(b,a),c.apply(d,arguments)}return a._=c,this.on(b,a,d)},emit:function(c){var d=[].slice.call(arguments,1),b=((this.e||(this.e={}))[c]||[]).slice(),a=0,e=b.length;for(a;a<e;a++)b[a].fn.apply(b[a].ctx,d);return this},off:function(c,d){var e=this.e||(this.e={}),a=e[c],f=[],b,g;if(a&&d)for(b=0,g=a.length;b<g;b++)a[b].fn!==d&&a[b].fn._!==d&&f.push(a[b]);return f.length?e[c]=f:delete e[c],this}},b.exports=a,b.exports.TinyEmitter=a}},b={};function a(d){if(b[d])return b[d].exports;var e=b[d]={exports:{}};return c[d](e,e.exports,a),e.exports}return!function(){a.n=function(b){var c=b&&b.__esModule?function(){return b.default}:function(){return b};return a.d(c,{a:c}),c}}(),!function(){a.d=function(d,c){for(var b in c)a.o(c,b)&&!a.o(d,b)&&Object.defineProperty(d,b,{enumerable:!0,get:c[b]})}}(),!function(){a.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}}(),a(686)}().default})}),l=j(k()),b=new l.default(".btn-clipboard");b.on("success",function(a){a.clearSelection()}),b.on("error",function(a){console.error("Action:",a.action),console.error("Trigger:",a.trigger)})})(),(()=>{var g=new Set,f=document.createElement("link"),t=f.relList&&f.relList.supports&&f.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype,o="instantAllowQueryString"in document.body.dataset,n="instantAllowExternalLinks"in document.body.dataset,m="instantWhitelist"in document.body.dataset,i="instantMousedownShortcut"in document.body.dataset,j=1111,l=65,h=!1,k=!1,e=!1,a,d;if("instantIntensity"in document.body.dataset){const a=document.body.dataset.instantIntensity;if(a.substr(0,"mousedown".length)=="mousedown")h=!0,a=="mousedown-only"&&(k=!0);else if(a.substr(0,"viewport".length)=="viewport")navigator.connection&&(navigator.connection.saveData||navigator.connection.effectiveType&&navigator.connection.effectiveType.includes("2g"))||(a=="viewport"?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(e=!0):a=="viewport-all"&&(e=!0));else{const b=parseInt(a);isNaN(b)||(l=b)}}if(t){const a={capture:!0,passive:!0};if(k||document.addEventListener("touchstart",u,a),h?i||document.addEventListener("mousedown",q,a):document.addEventListener("mouseover",p,a),i&&document.addEventListener("mousedown",s,a),e){let a;window.requestIdleCallback?a=a=>{requestIdleCallback(a,{timeout:1500})}:a=a=>{a()},a(()=>{const a=new IntersectionObserver(b=>{b.forEach(b=>{if(b.isIntersecting){const d=b.target;a.unobserve(d),c(d.href)}})});document.querySelectorAll("a").forEach(c=>{b(c)&&a.observe(c)})})}}function u(e){d=performance.now();const a=e.target.closest("a");if(!b(a))return;c(a.href)}function p(f){if(performance.now()-d<j)return;if(!("closest"in f.target))return;const e=f.target.closest("a");if(!b(e))return;e.addEventListener("mouseout",r,{passive:!0}),a=setTimeout(()=>{c(e.href),a=void 0},l)}function q(d){const a=d.target.closest("a");if(!b(a))return;c(a.href)}function r(b){if(b.relatedTarget&&b.target.closest("a")==b.relatedTarget.closest("a"))return;a&&(clearTimeout(a),a=void 0)}function s(a){if(performance.now()-d<j)return;const b=a.target.closest("a");if(a.which>1||a.metaKey||a.ctrlKey)return;if(!b)return;b.addEventListener("click",function(a){if(a.detail==1337)return;a.preventDefault()},{capture:!0,passive:!1,once:!0});const c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1,detail:1337});b.dispatchEvent(c)}function b(a){if(!a||!a.href)return;if(m&&!("instant"in a.dataset))return;if(!n&&a.origin!=location.origin&&!("instant"in a.dataset))return;if(!["http:","https:"].includes(a.protocol))return;if(a.protocol=="http:"&&location.protocol=="https:")return;if(!o&&a.search&&!("instant"in a.dataset))return;if(a.hash&&a.pathname+a.search==location.pathname+location.search)return;if("noInstant"in a.dataset)return;return!0}function c(a){if(g.has(a))return;const b=document.createElement("link");b.rel="prefetch",b.href=a,document.head.appendChild(b),g.add(a)}})(),'use strict',function(d,b,c){let a;(a=c.define)&&a.amd?a([],function(){return b}):(a=c.modules)?a[d.toLowerCase()]=b:"object"==typeof exports?module.exports=b:c[d]=b}("FlexSearch",function A(J){function b(a,b){const c=b?b.id:a&&a.id;this.id=c||0===c?c:E++,this.init(a,b),v(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),v(this,"length",function(){return this.index.length})}function H(d,b,c,a){return this.u!==this.g&&(this.o=this.o.concat(c),this.u++,a&&this.o.length>=a&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(b,this.o),this.F&&this.F(this.o))),this}function y(b){const a=c();for(const c in b)if(b.hasOwnProperty(c)){const d=b[c];e(d)?a[c]=d.slice(0):g(d)?a[c]=y(d):a[c]=d}return a}function w(b,a){const e=b.length,c=j(a),d=[];for(let f=0,h=0;f<e;f++){const g=b[f];(c&&a(g)||!c&&!a[g])&&(d[h++]=g)}return d}function q(k,c,a,d,e,f,b,g,m,n){a=t(a,b?0:e,g,f,c,m,n);let h;if(g&&(g=a.page,h=a.next,a=a.result),b)c=this.where(b,null,e,a);else{c=a,a=this.l,e=c.length,f=Array(e);for(b=0;b<e;b++)f[b]=a[c[b]];c=f}return a=c,d&&(j(d)||(i=d.split(":"),1<i.length?d=D:(i=i[0],d=F)),a.sort(d)),a=l(g,h,a),this.cache&&this.j.set(k,a),a}function v(a,b,c){Object.defineProperty(a,b,{get:c})}function a(a){return new RegExp(a,"g")}function k(a,b){for(let c=0;c<b.length;c+=2)a=a.replace(b[c],b[c+1]);return a}function n(a,f,c,h,b,g,e,d){return f[c]?f[c]:(b=b?(d-(e||d/1.5))*g+(e||d/1.5)*b:g,f[c]=b,b>=e&&(a=a[d-(b+.5>>0)],a=a[c]||(a[c]=[]),a[a.length]=h),b)}function r(a,b){if(a){const c=Object.keys(a);for(let e=0,h=c.length;e<h;e++){const f=c[e],d=a[f];if(d)for(let c=0,e=d.length;c<e;c++){if(d[c]===b){1===e?delete a[f]:d.splice(c,1);break}g(d[c])&&r(d[c],b)}}}}function p(c){let d="",a="";var b="";for(let e=0;e<c.length;e++){const f=c[e];f!==a&&(e&&"h"===f?(b="a"===b||"e"===b||"i"===b||"o"===b||"u"===b||"y"===b,("a"===a||"e"===a||"i"===a||"o"===a||"u"===a||"y"===a)&&b||" "===a)&&(d+=f):d+=f),b=e===c.length-1?"":c[e+1],a=f}return d}function G(a,b){return a=a.length-b.length,0>a?1:a?-1:0}function F(a,b){return a=a[i],b=b[i],a<b?-1:a>b?1:0}function D(a,b){const c=i.length;for(let d=0;d<c;d++)a=a[i[d]],b=b[i[d]];return a<b?-1:a>b?1:0}function l(a,b,c){return a?{page:a,next:b?""+b:null,result:c}:c}function t(o,r,g,j,p,u,k){var b,e,a,q,i,s,m;let n,f=[];!0===g?(g="0",b=""):b=g&&g.split(":");const t=o.length;if(1<t){{const B=c(),A=[];let y,x;e=0;let z;q=!0;let w,v=0,E,F,C,G;if(b&&(2===b.length?(C=b,b=!1):b=G=parseInt(b[0],10)),k){for(y=c();e<t;e++)if("not"===p[e])for(x=o[e],z=x.length,a=0;a<z;a++)y["@"+x[a]]=1;else F=e+1;if(d(F))return l(g,n,f);e=0}else E=h(p)&&p;let D;for(;e<t;e++){const c=e===(F||t)-1;if(!E||!e)if((a=E||p&&p[e])&&"and"!==a)if("or"===a)D=!1;else continue;else D=u=!0;if(x=o[e],z=x.length){{if(q)if(w){i=w.length;for(a=0;a<i;a++)q=w[a],s="@"+q,k&&y[s]||(B[s]=1,u||(f[v++]=q));w=null,q=!1}else{w=x;continue}s=!1;for(a=0;a<z;a++){i=x[a],m="@"+i;const d=u?B[m]||0:e;if(!(!d&&!j||k&&y[m]||!u&&B[m]))if(d===e){if(c){if(!G||--G<v)if(f[v++]=i,r&&v===r)return l(g,v+(b||0),f)}else B[m]=e+1;s=!0}else j&&(m=A[d]||(A[d]=[]),m[m.length]=i)}if(D&&!s&&!j)break}}else if(D&&!j)return l(g,n,x)}if(w)if(e=w.length,k)for(a=b?parseInt(b,10):0;a<e;a++)o=w[a],y["@"+o]||(f[v++]=o);else f=w;if(j)for(v=f.length,C?(e=parseInt(C[0],10)+1,a=parseInt(C[1],10)+1):(e=A.length,a=0);e--;)if(i=A[e]){for(z=i.length;a<z;a++)if(j=i[a],!k||!y["@"+j])if(f[v++]=j,r&&v===r)return l(g,e+":"+a,f);a=0}}}else!t||p&&"not"===p[0]||(f=o[0],b&&(b=parseInt(b[0],10)));return r&&(k=f.length,b&&b>k&&(b=0),b=b||0,n=b+r,n<k?f=f.slice(b,n):(n=0,b&&(f=f.slice(b)))),l(g,n,f)}function h(a){return"string"==typeof a}function e(a){return a.constructor===Array}function j(a){return"function"==typeof a}function g(a){return"object"==typeof a}function d(a){return"undefined"==typeof a}function x(a){const b=Array(a);for(let d=0;d<a;d++)b[d]=c();return b}function c(){return Object.create(null)}function C(){let b,a;self.onmessage=function(c){if(c=c.data)if(c.search){const d=a.search(c.content,c.threshold?{limit:c.limit,threshold:c.threshold,where:c.where}:c.limit);self.postMessage({id:b,content:c.content,limit:c.limit,result:d})}else c.add?a.add(c.id,c.content):c.update?a.update(c.id,c.content):c.remove?a.remove(c.id):c.clear?a.clear():c.info?(c=a.info(),c.worker=b,console.log(c)):c.register&&(b=c.id,c.options.cache=!1,c.options.async=!1,c.options.worker=!1,a=new Function(c.register.substring(c.register.indexOf("{")+1,c.register.lastIndexOf("}")))(),a=new a(c.options))}}function B(a,b,c,d){a=J("flexsearch","id"+a,C,function(a){(a=a.data)&&a.result&&d(a.id,a.content,a.result,a.limit,a.where,a.cursor,a.suggest)},b);const e=A.toString();return c.id=b,a.postMessage({register:e,options:c,id:b}),a}const f={encode:"icase",f:"forward",split:/\W+/,cache:!1,async:!1,g:!1,D:!1,a:!1,b:9,threshold:0,depth:0},z={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},o=[];let E=0;const u={},s={};b.create=function(a,c){return new b(a,c)},b.registerMatcher=function(b){for(const c in b)b.hasOwnProperty(c)&&o.push(a(c),b[c]);return this},b.registerEncoder=function(a,b){return m[a]=b.bind(m),this},b.registerLanguage=function(a,b){return u[a]=b.filter,s[a]=b.stemmer,this},b.encode=function(a,b){return m[a](b)},b.prototype.init=function(l,p){var i,k,n,o,q,r,t;if(this.v=[],p?(i=p.preset,l=p):(l||(l=f),i=l.preset),p={},h(l)?(p=z[l],l={}):i&&(p=z[i]),i=l.worker)if("undefined"==typeof Worker)l.worker=!1,this.m=null;else{k=parseInt(i,10)||4,this.C=-1,this.u=0,this.o=[],this.F=null,this.m=Array(k);for(n=0;n<k;n++)this.m[n]=B(this.id,n,l,H.bind(this))}if(this.f=l.tokenize||p.f||this.f||f.f,this.split=d(i=l.split)?this.split||f.split:h(i)?a(i):i,this.D=l.rtl||this.D||f.D,this.async="undefined"==typeof Promise||d(i=l.async)?this.async||f.async:i,this.g=d(i=l.worker)?this.g||f.g:i,this.threshold=d(i=l.threshold)?p.threshold||this.threshold||f.threshold:i,this.b=d(i=l.resolution)?i=p.b||this.b||f.b:i,i<=this.threshold&&(this.b=this.threshold+1),this.depth="strict"!==this.f||d(i=l.depth)?p.depth||this.depth||f.depth:i,this.w=(i=d(i=l.encode)?p.encode||f.encode:i)&&m[i]&&m[i].bind(m)||(j(i)?i:this.w||!1),(i=l.matcher)&&this.addMatcher(i),i=(p=l.lang)||l.filter){if(h(i)&&(i=u[i]),e(i)){k=this.w,n=c();for(o=0;o<i.length;o++)q=k?k(i[o]):i[o],n[q]=1;i=n}this.filter=i}if(i=p||l.stemmer){p=h(i)?s[i]:i,k=this.w,n=[];for(r in p)p.hasOwnProperty(r)&&(o=k?k(r):r,n.push(a(o+"($|\\W)"),k?k(p[r]):p[r]));this.stemmer=r=n}if(this.a=n=(i=l.doc)?y(i):this.a||f.a,this.i=x(this.b-(this.threshold||0)),this.h=c(),this.c=c(),n){if(this.l=c(),l.doc=null,r=n.index={},p=n.keys=[],k=n.field,o=n.tag,q=n.store,e(n.id)||(n.id=n.id.split(":")),q){if(t=c(),h(q))t[q]=1;else if(e(q))for(let a=0;a<q.length;a++)t[q[a]]=1;else g(q)&&(t=q);n.store=t}if(o){if(this.G=c(),q=c(),k)if(h(k))q[k]=l;else if(e(k))for(t=0;t<k.length;t++)q[k[t]]=l;else g(k)&&(q=k);e(o)||(n.tag=o=[o]);for(k=0;k<o.length;k++)this.G[o[k]]=c();this.I=o,k=q}if(k){let a;e(k)||(g(k)?(a=k,n.field=k=Object.keys(k)):n.field=k=[k]);for(n=0;n<k.length;n++)o=k[n],e(o)||(a&&(l=a[o]),p[n]=o,k[n]=o.split(":")),r[o]=new b(l)}l.doc=i}return this.B=!0,this.j=!!(this.cache=i=d(i=l.cache)?this.cache||f.cache:i)&&new K(i),this},b.prototype.encode=function(a){return a&&(o.length&&(a=k(a,o)),this.v.length&&(a=k(a,this.v)),this.w&&(a=this.w(a)),this.stemmer&&(a=k(a,this.stemmer))),a},b.prototype.addMatcher=function(b){const c=this.v;for(const d in b)b.hasOwnProperty(d)&&c.push(a(d),b[d]);return this},b.prototype.add=function(d,k,l,p,o){var m,i,e,b,f,a;if(this.a&&g(d))return this.A("add",d,k);if(k&&h(k)&&(d||0===d)){if(m="@"+d,this.c[m]&&!p)return this.update(d,k);if(this.g)return++this.C>=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:d,content:k}),this.c[m]=""+this.C,l&&l(),this;if(!o){if(this.async&&"function"!=typeof importScripts){let a=this;if(m=new Promise(function(b){setTimeout(function(){a.add(d,k,null,p,!0),a=null,b()})}),l)m.then(l);else return m;return this}if(l)return this.add(d,k,null,p,!0),l(),this}if(k=this.encode(k),!k.length)return this;l=this.f,o=j(l)?l(k):k.split(this.split),this.filter&&(o=w(o,this.filter));const g=c();g._ctx=c();const r=o.length,h=this.threshold,u=this.depth,q=this.b,s=this.i,t=this.D;for(let j=0;j<r;j++)if(i=o[j],i)switch(e=i.length,b=(t?j+1:r-j)/r,f="",l){case"reverse":case"both":for(a=e;--a;)f=i[a]+f,n(s,g,f,d,t?1:(e-a)/e,b,h,q-1);f="";case"forward":for(a=0;a<e;a++)f+=i[a],n(s,g,f,d,t?(a+1)/e:1,b,h,q-1);break;case"full":for(a=0;a<e;a++){const c=(t?a+1:e-a)/e;for(let j=e;j>a;j--)f=i.substring(a,j),n(s,g,f,d,c,b,h,q-1)}break;default:if(e=n(s,g,i,d,1,b,h,q-1),u&&1<r&&e>=h)for(e=g._ctx[i]||(g._ctx[i]=c()),i=this.h[i]||(this.h[i]=x(q-(h||0))),b=j-u,f=j+u+1,0>b&&(b=0),f>r&&(f=r);b<f;b++)b!==j&&n(i,e,o[b],d,0,q-(b<j?j-b:b-j),h,q-1)}this.c[m]=1,this.B=!1}return this},b.prototype.A=function(n,b,o){var f,l,k,j,h,g,a,m,i,d;if(e(b)){if(f=b.length,f--){for(l=0;l<f;l++)this.A(n,b[l]);return this.A(n,b[f],o)}}else{k=this.a.index,j=this.a.keys,h=this.a.tag,l=this.a.store,a=this.a.id,f=b;for(m=0;m<a.length;m++)f=f[a[m]];if("remove"===n&&(delete this.l[f],a=j.length,a--)){for(b=0;b<a;b++)k[j[b]].remove(f);return k[j[a]].remove(f,o)}if(h){for(g=0;g<h.length;g++){i=h[g],d=b,a=i.split(":");for(m=0;m<a.length;m++)d=d[a[m]];d="@"+d}g=this.G[i],g=g[d]||(g[d]=[])}a=this.a.field;for(let c=0,e=a.length;c<e;c++){i=a[c],h=b;for(d=0;d<i.length;d++)h=h[i[d]];i=k[j[c]],d="add"===n?i.add:i.update,c===e-1?d.call(i,f,h,o):d.call(i,f,h)}if(l){o=Object.keys(l),n=c();for(k=0;k<o.length;k++)if(j=o[k],l[j]){j=j.split(":");let c,d;for(a=0;a<j.length;a++)h=j[a],c=(c||b)[h],d=(d||n)[h]=c}b=n}g&&(g[g.length]=b),this.l[f]=b}return this},b.prototype.update=function(a,b,c){return this.a&&g(a)?this.A("update",a,b):(this.c["@"+a]&&h(b)&&(this.remove(a),this.add(a,b,c,!0)),this)},b.prototype.remove=function(b,a,d){if(this.a&&g(b))return this.A("remove",b,a);var c="@"+b;if(this.c[c]){if(this.g)return this.m[this.c[c]].postMessage({remove:!0,id:b}),delete this.c[c],a&&a(),this;if(!d){if(this.async&&"function"!=typeof importScripts){let d=this;if(c=new Promise(function(a){setTimeout(function(){d.remove(b,null,!0),d=null,a()})}),a)c.then(a);else return c;return this}if(a)return this.remove(b,null,!0),a(),this}for(a=0;a<this.b-(this.threshold||0);a++)r(this.i[a],b);this.depth&&r(this.h,b),delete this.c[c],this.B=!1}return this};let i;b.prototype.search=function(a,d,f,r){var m,l,n,b,y,u,p,o,i,s,k,x,v;if(g(d)){if(e(d))for(m=0;m<d.length;m++)d[m].query=a;else d.query=a;a=d,d=1e3}else d&&j(d)?(f=d,d=1e3):d||0===d||(d=1e3);if(this.g){this.F=f,this.u=0,this.o=[];for(l=0;l<this.g;l++)this.m[l].postMessage({search:!0,limit:d,content:a})}else{if(n=[],b=a,g(a)&&!e(a)&&(f||(f=a.callback)&&(b.callback=null),y=a.sort,u=a.page,d=a.limit,l=a.threshold,p=a.suggest,a=a.query),this.a){l=this.a.index;const t=b.where;o=b.bool||"or",i=b.field;let c=o,g,j;if(i)e(i)||(i=[i]);else if(e(b)){s=b,i=[],c=[];for(k=0;k<b.length;k++)r=b[k],m=r.bool||o,i[k]=r.field,c[k]=m,"not"===m?g=!0:"and"===m&&(j=!0)}else i=this.a.keys;o=i.length;for(k=0;k<o;k++)s&&(b=s[k]),u&&!h(b)&&(b.page=null,b.limit=0),n[k]=l[i[k]].search(b,0);if(f)return f(q.call(this,a,c,n,y,d,p,t,u,j,g));if(this.async){const b=this;return new Promise(function(e){Promise.all(n).then(function(f){e(q.call(b,a,c,f,y,d,p,t,u,j,g))})})}return q.call(this,a,c,n,y,d,p,t,u,j,g)}if(l||(l=this.threshold||0),!r){if(this.async&&"function"!=typeof importScripts){let a=this;if(l=new Promise(function(c){setTimeout(function(){c(a.search(b,d,null,!0)),a=null})}),f)l.then(f);else return l;return this}if(f)return f(this.search(b,d,null,!0)),this}if(!a||!h(a))return n;if(b=a,this.cache)if(this.B){if(f=this.j.get(a))return f}else this.j.clear(),this.B=!0;if(b=this.encode(b),!b.length)return n;if(f=this.f,f=j(f)?f(b):b.split(this.split),this.filter&&(f=w(f,this.filter)),s=f.length,r=!0,m=[],x=c(),v=0,1<s&&(this.depth&&"strict"===this.f?o=!0:f.sort(G)),!o||(k=this.h)){{const a=this.b;for(;v<s;v++){let b=f[v];if(b){if(o){if(!i)if(k[b])i=b,x[b]=1;else if(!p)return n;if(p&&v===s-1&&!m.length)o=!1,b=i||b,x[b]=0;else if(!i)continue}if(!x[b]){const c=[];let e=!1,f=0;const d=o?k[i]:this.i;if(d){let g;for(let h=0;h<a-l;h++)(g=d[h]&&d[h][b])&&(c[f++]=g,e=!0)}if(e)i=b,m[m.length]=1<f?c.concat.apply([],c):c[0];else if(!p){r=!1;break}x[b]=1}}}}}else r=!1;return r&&(n=t(m,d,u,p)),this.cache&&this.j.set(a,n),n}},b.prototype.find=function(a,b){return this.where(a,b,1)[0]||null},b.prototype.where=function(a,h,n,k){var i,b,f,c,e,m;const l=this.l,p=[];let q=0,r,o;if(g(a)){if(n||(n=h),b=Object.keys(a),f=b.length,r=!1,1===f&&"id"===b[0])return[l[a.id]];if((i=this.I)&&!k)for(c=0;c<i.length;c++)if(e=i[c],m=a[e],!d(m)){if(o=this.G[e]["@"+m],0===--f)return o;b.splice(b.indexOf(e),1),delete a[e];break}i=Array(f);for(c=0;c<f;c++)i[c]=b[c].split(":")}else{if(j(a)){h=k||Object.keys(l),n=h.length;for(b=0;b<n;b++)f=l[h[b]],a(f)&&(p[q++]=f);return p}if(d(h))return[l[a]];if("id"===a)return[l[h]];b=[a],f=1,i=[a.split(":")],r=!0}k=o||k||Object.keys(l),c=k.length;for(e=0;e<c;e++){m=o?k[e]:l[k[e]];let d=!0;for(let e=0;e<f;e++){r||(h=a[b[e]]);const g=i[e],j=g.length;let c=m;if(1<j)for(let a=0;a<j;a++)c=c[g[a]];else c=c[g[0]];if(c!==h){d=!1;break}}if(d&&(p[q++]=m,n&&q===n))break}return p},b.prototype.info=function(){if(this.g)for(let a=0;a<this.g;a++)this.m[a].postMessage({info:!0,id:this.id});else return{id:this.id,items:this.length,cache:!!(this.cache&&this.cache.s)&&this.cache.s.length,matcher:o.length+(this.v?this.v.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&"strict"===this.f}},b.prototype.clear=function(){return this.destroy().init()},b.prototype.destroy=function(){if(this.cache&&(this.j.clear(),this.j=null),this.i=this.h=this.c=null,this.a){const a=this.a.keys;for(let b=0;b<a.length;b++)this.a.index[a[b]].destroy();this.a=this.l=null}return this},b.prototype.export=function(a){const c=!a||d(a.serialize)||a.serialize;if(this.a){const e=!a||d(a.doc)||a.doc;var b=!a||d(a.index)||a.index;a=[];let c=0;if(b)for(b=this.a.keys;c<b.length;c++){const d=this.a.index[b[c]];a[c]=[d.i,d.h,Object.keys(d.c)]}e&&(a[c]=this.l)}else a=[this.i,this.h,Object.keys(this.c)];return c&&(a=JSON.stringify(a)),a},b.prototype.import=function(e,b){var f,a,h;(!b||d(b.serialize)||b.serialize)&&(e=JSON.parse(e));const i=c();if(this.a){if(f=!b||d(b.doc)||b.doc,a=0,!b||d(b.index)||b.index){b=this.a.keys;const c=b.length;for(h=e[0][2];a<h.length;a++)i[h[a]]=1;for(a=0;a<c;a++){h=this.a.index[b[a]];const d=e[a];d&&(h.i=d[0],h.h=d[1],h.c=i)}}f&&(this.l=g(f)?f:e[a])}else{f=e[2];for(a=0;a<f.length;a++)i[f[a]]=1;this.i=e[0],this.h=e[1],this.c=i}};const I=function(){const b=a("\\s+"),c=a("[^a-z0-9 ]"),d=[a("[-/]")," ",c,"",b," "];return function(a){return p(k(a.toLowerCase(),d))}}(),m={icase:function(a){return a.toLowerCase()},simple:function(){const b=a("\\s+"),c=a("[^a-z0-9 ]"),d=a("[-/]"),e=a("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),f=a("[\u00e8\u00e9\u00ea\u00eb]"),g=a("[\u00ec\u00ed\u00ee\u00ef]"),h=a("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),i=a("[\u00f9\u00fa\u00fb\u00fc\u0171]"),j=a("[\u00fd\u0177\u00ff]"),l=a("\u00f1"),m=a("[\u00e7c]"),n=a("\u00df"),o=a(" & "),p=[e,"a",f,"e",g,"i",h,"o",i,"u",j,"y",l,"n",m,"k",n,"s",o," and ",d," ",c,"",b," "];return function(a){return a=k(a.toLowerCase(),p)," "===a?"":a}}(),advanced:function(){const b=a("ae"),c=a("ai"),d=a("ay"),e=a("ey"),f=a("oe"),g=a("ue"),h=a("ie"),i=a("sz"),j=a("zs"),l=a("ck"),m=a("cc"),n=a("sh"),o=a("th"),q=a("dt"),r=a("ph"),s=a("pf"),t=a("ou"),u=a("uo"),v=[b,"a",c,"ei",d,"ei",e,"ei",f,"o",g,"u",h,"i",i,"s",j,"s",n,"s",l,"k",m,"k",o,"t",q,"t",r,"f",s,"f",t,"o",u,"u"];return function(a,b){return a&&(a=this.simple(a),2<a.length&&(a=k(a,v)),b||1<a.length&&(a=p(a)),a)}}(),extra:function(){const b=a("p"),c=a("z"),d=a("[cgq]"),e=a("n"),f=a("d"),g=a("[vw]"),h=a("[aeiouy]"),i=[b,"b",c,"s",d,"k",e,"m",f,"t",g,"f",h,""];return function(a){if(!a)return a;if(a=this.advanced(a,!0),1<a.length){a=a.split(" ");for(let b=0;b<a.length;b++){const c=a[b];1<c.length&&(a[b]=c[0]+k(c.substring(1),i))}a=a.join(" "),a=p(a)}return a}}(),balance:I},K=function(){function a(a){this.clear(),this.H=!0!==a&&a}return a.prototype.clear=function(){this.cache=c(),this.count=c(),this.index=c(),this.s=[]},a.prototype.set=function(a,b){if(this.H&&d(this.cache[a])){let c=this.s.length;if(c===this.H){c--;const a=this.s[c];delete this.cache[a],delete this.count[a],delete this.index[a]}this.index[a]=c,this.s[c]=a,this.count[a]=-1,this.cache[a]=b,this.get(a)}else this.cache[a]=b},a.prototype.get=function(c){var a,b;const d=this.cache[c];if(this.H&&d){a=++this.count[c];const e=this.index;let d=e[c];if(0<d){const f=this.s;for(b=d;this.count[f[--d]]<=a&&-1!==d;);if(d++,d!==b){for(a=b;a>d;a--)b=f[a-1],f[a]=b,e[b]=a;f[d]=c,e[c]=d}}}return d},a}();return b}(function(){const a={},b="undefined"!=typeof Blob&&"undefined"!=typeof URL&&URL.createObjectURL;return function(c,f,d,g,e){return d=b?URL.createObjectURL(new Blob(["("+d.toString()+")()"],{type:"text/javascript"})):c+".min.js",c+="-"+f,a[c]||(a[c]=[]),a[c][e]=new Worker(d),a[c][e].onmessage=g,a[c][e]}}()),this),(()=>{document.getElementById("mode").addEventListener("click",()=>{document.body.classList.toggle("dark"),localStorage.setItem("theme",document.body.classList.contains("dark")?"dark":"light")}),localStorage.getItem("theme")==="dark"&&document.body.classList.add("dark")})()