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

1 line
No EOL
38 KiB
JavaScript

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