vendor: 4,889 bytes, lines 1-8
1var _self=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** 2 * Prism: Lightweight, robust, elegant syntax highlighting 3 * 4 * @license MIT <https://opensource.org/licenses/MIT> 5 * @author Lea Verou <https://lea.verou.me> 6 * @namespace 7 * @public 8 */var Prism=(function(et){var ht=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,We=0,ft={},fe={manual:et.Prism&&et.Prism.manual,disableWorkerMessageHandler:et.Prism&&et.Prism.disableWorkerMessageHandler,util:{encode:function E(S){return S instanceof Y?new Y(S.type,E(S.content),S.alias):Array.isArray(S)?S.map(E):S.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(E){return Object.prototype.toString.call(E).slice(8,-1)},objId:function(E){return E.__id||Object.defineProperty(E,"__id",{value:++We}),E.__id},clone:function E(S,b){b=b||{};var A,j;switch(fe.util.type(S)){case"Object":if(j=fe.util.objId(S),b[j])return b[j];A={},b[j]=A;for(var V in S)S.hasOwnProperty(V)&&(A[V]=E(S[V],b));return A;case"Array":return j=fe.util.objId(S),b[j]?b[j]:(A=[],b[j]=A,S.forEach(function(he,me){A[me]=E(he,b)}),A);default:return S}},getLanguage:function(E){for(;E;){var S=ht.exec(E.className);if(S)return S[1].toLowerCase();E=E.parentElement}return"none"},setLanguage:function(E,S){E.className=E.className.replace(RegExp(ht,"gi"),""),E.classList.add("language-"+S)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT")return document.currentScript;try{throw new Error}catch(A){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(A.stack)||[])[1];if(E){var S=document.getElementsByTagName("script");for(var b in S)if(S[b].src==E)return S[b]}return null}},isActive:function(E,S,b){for(var A="no-"+S;E;){var j=E.classList;if(j.contains(S))return!0;if(j.contains(A))return!1;E=E.parentElement}return!!b}},languages:{plain:ft,plaintext:ft,text:ft,txt:ft,extend:function(E,S){var b=fe.util.clone(fe.languages[E]);for(var A in S)b[A]=S[A];return b},insertBefore:function(E,S,b,A){A=A||fe.languages;var j=A[E],V={};for(var he in j)if(j.hasOwnProperty(he)){if(he==S)for(var me in b)b.hasOwnProperty(me)&&(V[me]=b[me]);b.hasOwnProperty(he)||(V[he]=j[he])}var Se=A[E];return A[E]=V,fe.languages.DFS(fe.languages,function(ve,C){C===Se&&ve!=E&&(this[ve]=V)}),V},DFS:function E(S,b,A,j){j=j||{};var V=fe.util.objId;for(var he in S)if(S.hasOwnProperty(he)){b.call(S,he,S[he],A||he);var me=S[he],Se=fe.util.type(me);Se==="Object"&&!j[V(me)]?(j[V(me)]=!0,E(me,b,null,j)):Se==="Array"&&!j[V(me)]&&(j[V(me)]=!0,E(me,b,he,j))}}},plugins:{},highlightAll:function(E,S){fe.highlightAllUnder(document,E,S)},highlightAllUnder:function(E,S,b){var A={callback:b,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};fe.hooks.run("before-highlightall",A),A.elements=Array.prototype.slice.apply(A.container.querySelectorAll(A.selector)),fe.hooks.run("before-all-elements-highlight",A);for(var j=0,V;V=A.elements[j++];)fe.highlightElement(V,S===!0,A.callback)},highlightElement:function(E,S,b){var A=fe.util.getLanguage(E),j=fe.languages[A];fe.util.setLanguage(E,A);var V=E.parentElement;V&&V.nodeName.toLowerCase()==="pre"&&fe.util.setLanguage(V,A);var he=E.textContent,me={element:E,language:A,grammar:j,code:he};function Se(C){me.highlightedCode=C,fe.hooks.run("before-insert",me),me.element.innerHTML=me.highlightedCode,fe.hooks.run("after-highlight",me),fe.hooks.run("complete",me),b&&b.call(me.element)}if(fe.hooks.run("before-sanity-check",me),V=me.element.parentElement,V&&V.nodeName.toLowerCase()==="pre"&&!V.hasAttribute("tabindex")&&V.setAttribute("tabindex","0"),!me.code){fe.hooks.run("complete",me),b&&b.call(me.element);return}if(fe.hooks.run("before-highlight",me),!me.grammar){Se(fe.util.encode(me.code));return}if(S&&et.Worker){var ve=new Worker(fe.filename);ve.onmessage=function(C){Se(C.data)},ve.postMessage(JSON.stringify({language:me.language,code:me.code,immediateClose:!0}))}else Se(fe.highlight(me.code,me.grammar,me.language))},highlight:function(E,S,b){var A={code:E,grammar:S,language:b};if(fe.hooks.run("before-tokenize",A),!A.grammar)throw new Error('The language "'+A.language+'" has no grammar.');return A.tokens=fe.tokenize(A.code,A.grammar),fe.hooks.run("after-tokenize",A),Y.stringify(fe.util.encode(A.tokens),A.language)},tokenize:function(E,S){var b=S.rest;if(b){for(var A in b)S[A]=b[A];delete S.rest}var j=new B;return J(j,j.head,E),O(E,j,S,j.head,0),ne(j)},hooks:{all:{},add:function(E,S){var b=fe.hooks.all;b[E]=b[E]||[],b[E].push(S)},run:function(E,S){var b=fe.hooks.all[E];if(!(!b||!b.length))for(var A=0,j;j=b[A++];)j(S)}},Token:Y};et.Prism=fe;function Y(E,S,b,A){this.type=E,this.content=S,this.alias=b,this.length=(A||"").length|0}Y.stringify=function E(S,b){if(typeof S=="string")return S;if(Array.isArray(S)){var A="";
vendor: 5,261 bytes, line 8
8return S.forEach(function(Se){A+=E(Se,b)}),A}var j={type:S.type,content:E(S.content,b),tag:"span",classes:["token",S.type],attributes:{},language:b},V=S.alias;V&&(Array.isArray(V)?Array.prototype.push.apply(j.classes,V):j.classes.push(V)),fe.hooks.run("wrap",j);var he="";for(var me in j.attributes)he+=" "+me+'="'+(j.attributes[me]||"").replace(/"/g,""")+'"';return"<"+j.tag+' class="'+j.classes.join(" ")+'"'+he+">"+j.content+"</"+j.tag+">"};function d(E,S,b,A){E.lastIndex=S;var j=E.exec(b);if(j&&A&&j[1]){var V=j[1].length;j.index+=V,j[0]=j[0].slice(V)}return j}function O(E,S,b,A,j,V){for(var he in b)if(!(!b.hasOwnProperty(he)||!b[he])){var me=b[he];me=Array.isArray(me)?me:[me];for(var Se=0;Se<me.length;++Se){if(V&&V.cause==he+","+Se)return;var ve=me[Se],C=ve.inside,le=!!ve.lookbehind,be=!!ve.greedy,ue=ve.alias;if(be&&!ve.pattern.global){var Ae=ve.pattern.toString().match(/[imsuy]*$/)[0];ve.pattern=RegExp(ve.pattern.source,Ae+"g")}for(var Me=ve.pattern||ve,ke=A.next,je=j;ke!==S.tail&&!(V&&je>=V.reach);je+=ke.value.length,ke=ke.next){var De=ke.value;if(S.length>E.length)return;if(!(De instanceof Y)){var Te=1,xe;if(be){if(xe=d(Me,je,E,le),!xe||xe.index>=E.length)break;var f=xe.index,qe=xe.index+xe[0].length,$=je;for($+=ke.value.length;f>=$;)ke=ke.next,$+=ke.value.length;if($-=ke.value.length,je=$,ke.value instanceof Y)continue;for(var h=ke;h!==S.tail&&($<qe||typeof h.value=="string");h=h.next)Te++,$+=h.value.length;Te--,De=E.slice(je,$),xe.index-=je}else if(xe=d(Me,0,De,le),!xe)continue;var f=xe.index,p=xe[0],ee=De.slice(0,f),M=De.slice(f+p.length),R=je+De.length;V&&R>V.reach&&(V.reach=R);var K=ke.prev;ee&&(K=J(S,K,ee),je+=ee.length),U(S,K,Te);var Q=new Y(he,C?fe.tokenize(p,C):p,ue,p);if(ke=J(S,K,Q),M&&J(S,ke,M),Te>1){var z={cause:he+","+Se,reach:R};O(E,S,b,ke.prev,je,z),V&&z.reach>V.reach&&(V.reach=z.reach)}}}}}}function B(){var E={value:null,prev:null,next:null},S={value:null,prev:E,next:null};E.next=S,this.head=E,this.tail=S,this.length=0}function J(E,S,b){var A=S.next,j={value:b,prev:S,next:A};return S.next=j,A.prev=j,E.length++,j}function U(E,S,b){for(var A=S.next,j=0;j<b&&A!==E.tail;j++)A=A.next;S.next=A,A.prev=S,E.length-=j}function ne(E){for(var S=[],b=E.head.next;b!==E.tail;)S.push(b.value),b=b.next;return S}if(!et.document)return et.addEventListener&&(fe.disableWorkerMessageHandler||et.addEventListener("message",function(E){var S=JSON.parse(E.data),b=S.language,A=S.code,j=S.immediateClose;et.postMessage(fe.highlight(A,fe.languages[b],b)),j&&et.close()},!1)),fe;var k=fe.util.currentScript();k&&(fe.filename=k.src,k.hasAttribute("data-manual")&&(fe.manual=!0));function D(){fe.manual||fe.highlightAll()}if(!fe.manual){var L=document.readyState;L==="loading"||L==="interactive"&&k&&k.defer?document.addEventListener("DOMContentLoaded",D):window.requestAnimationFrame?window.requestAnimationFrame(D):window.setTimeout(D,16)}return fe})(_self);typeof module<"u"&&module.exports&&(module.exports=Prism),typeof global<"u"&&(global.Prism=Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(et){et.type==="entity"&&(et.attributes.title=et.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(ht,We){var ft={};ft["language-"+We]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[We]},ft.cdata=/^<!\[CDATA\[|\]\]>$/i;var fe={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:ft}};fe["language-"+We]={pattern:/[\s\S]+/,inside:Prism.languages[We]};var Y={};Y[ht]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return ht}),"i"),lookbehind:!0,greedy:!0,inside:fe},Prism.languages.insertBefore("markup","cdata",Y)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(et,ht){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+et+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\
8s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[ht,"language-"+ht],inside:Prism.languages[ht]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,(function(et){var ht=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;et.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+ht.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+ht.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+ht.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+ht.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:ht,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},et.languages.css.atrule.inside.rest=et.languages.css;var We=et.languages.markup;We&&(We.tag.addInlined("style","css"),We.tag.addAttribute("style","css"))})(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}
8/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,(function(){if(typeof Prism>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var et="Loading\u2026",ht=function(k,D){return"\u2716 Error "+k+" while fetching file: "+D},We="\u2716 Error: File does not exist or is empty",ft={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},fe="data-src-status",Y="loading",d="loaded",O="failed",B="pre[data-src]:not(["+fe+'="'+d+'"]):not(['+fe+'="'+Y+'"])';function J(k,D,L){var E=new XMLHttpRequest;E.open("GET",k,!0),E.onreadystatechange=function(){E.readyState==4&&(E.status<400&&E.responseText?D(E.responseText):E.status>=400?L(ht(E.status,E.statusText)):L(We))},E.send(null)}function U(k){var D=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(k||"");if(D){var L=Number(D[1]),E=D[2],S=D[3];return E?S?[L,Number(S)]:[L,void 0]:[L,L]}}Prism.hooks.add("before-highlightall",function(k){k.selector+=", "+B}),Prism.hooks.add("before-sanity-check",function(k){var D=k.element;if(D.matches(B)){k.code="",D.setAttribute(fe,Y);var L=D.appendChild(document.createElement("CODE"));L.textContent=et;var E=D.getAttribute("data-src"),S=k.language;if(S==="none"){var b=(/\.(\w+)$/.exec(E)||[,"none"])[1];S=ft[b]||b}Prism.util.setLanguage(L,S),Prism.util.setLanguage(D,S);var A=Prism.plugins.autoloader;A&&A.loadLanguages(S),J(E,function(j){D.setAttribute(fe,d);var V=U(D.getAttribute("data-range"));if(V){var he=j.split(/\r\n?|\n/g),me=V[0],Se=V[1]==null?he.length:V[1];me<0&&(me+=he.length),me=Math.max(0,Math.min(me-1,he.length)),Se<0&&(Se+=he.length),Se=Math.max(0,Math.min(Se,he.length)),j=he.slice(me,Se).join(` 9`),D.hasAttribute("data-start")||D.setAttribute("data-start",String(me+1))}L.textContent=j,Prism.highlightElement(L)},function(j){D.setAttribute(fe,O),L.textContent=j})}}),Prism.plugins.fileHighlight={highlight:function(D){for(var L=(D||document).querySelectorAll(B),E=0,S;S=L[E++];)Prism.highlightElement(S)}};var ne=!1;Prism.fileHighlight=function(){ne||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),ne=!0),Prism.plugins.fileHighlight.highlight.apply(this,arguments)}})(),(function(et){et.languages.typescript=et.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),et.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete et.languages.typescript.parameter,delete et.languages.typescript["literal-property"];var ht=et.languages.extend("typescript",{});delete ht["class-name"],et.languages.typescript["class-name"].inside=ht,et.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:ht}}}}),et.languages.ts=et.languages.typescript})(Prism);/*! For license information please see quill.js.LICENSE.txt */(function(et,ht){typeof exports=="object"&&typeof module=="object"?module.exports=ht():typeof define=="function"&&define.amd?define([],ht):typeof exports=="object"?exports.Quill=ht():et.Quill=ht()})(self,(function(){return(function(){var et={9698:function(fe,Y,d){"use strict";d.d(Y,{Ay:function(){return D},Ji:function(){return S},mG:function(){return E},zo:function(){return L}});var O=d(6003),B=d(5232),J=d.n(B),U=d(3036),ne=d(4850),k=d(5508);class D extends O.BlockBlot{cache={};delta(){return this.cache.delta==null&&(this.cache.delta=E(this)),this.cache.delta}deleteAt(A,j){super.deleteAt(A,j),this.cache={}}formatAt(A,j,V,he){j<=0||(this.scroll.query(V,O.Scope.BLOCK)?A+j===this.length()&&this.format(V,he):super.formatAt(A,Math.min(j,this.length()-A-1),V,he),this.cache={})}insertAt(A,j,V){if(V!=null)return super.insertAt(A,j,V),void(this.cache={});if(j.length===0)return;const he=j.split(` 10`),me=he.shift();me.length>0&&(A<this.length()-1||this.children.tail==null?super.insertAt(Math.min(A,this.length()-1),me):this.children.tail.insertAt(this.children.tail.length(),me),this.cache={});let Se=this;he.reduce(((ve,C)=>(Se=Se.split(ve,!0),Se.insertAt(0,C),C.length)),A+me.length)}insertBefore(A,j){const{head:V}=this.children;super.insertBefore(A,j),V instanceof U.A&&V.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(A,j){super.moveChildren(A,j),this.cache={}}optimize(A){super.optimize(A),this.cache={}}path(A){return super.path(A,!0)}removeChild(A){super.removeChild(A),this.cache={}}split(A){let j=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(j&&(A===0||A>=this.length()-1)){const he=this.clone();return A===0?(this.parent.insertBefore(he,this),this):(this.parent.insertBefore(he,this.next),he)}const V=super.split(A,j);return this.cache={},V}}D.blotName="block",D.tagName="P",D.defaultChild=U.A,D.allowedChildren=[U.A,ne.A,O.EmbedBlot,k.A];class L extends O.EmbedBlot{attach(){super.attach(),this.attributes=new O.AttributorStore(this.domNode)}delta(){return new(J())().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(A,j){const V=this.scroll.query(A,O.Scope.BLOCK_ATTRIBUTE);V!=null&&this.attributes.attribute(V,j)}formatAt(A,j,V,he){this.format(V,he)}insertAt(A,j,V){if(V!=null)return void super.insertAt(A,j,V);const he=j.split(` 11`),me=he.pop(),Se=he.map((C=>{const le=this.scroll.create(D.blotName);return le.insertAt(0,C),le})),ve=this.split(A);Se.forEach((C=>{this.parent.insertBefore(C,ve)})),me&&this.parent.insertBefore(this.scroll.create("text",me),ve)}}function E(b){let A=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];
11return b.descendants(O.LeafBlot).reduce(((j,V)=>V.length()===0?j:j.insert(V.value(),S(V,{},A))),new(J())).insert(` 12`,S(b))}function S(b){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return b==null?A:("formats"in b&&typeof b.formats=="function"&&(A={...A,...b.formats()},j&&delete A["code-token"]),b.parent==null||b.parent.statics.blotName==="scroll"||b.parent.statics.scope!==b.statics.scope?A:S(b.parent,A,j))}L.scope=O.Scope.BLOCK_BLOT},3036:function(fe,Y,d){"use strict";var O=d(6003);class B extends O.EmbedBlot{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}B.blotName="break",B.tagName="BR",Y.A=B},580:function(fe,Y,d){"use strict";var O=d(6003);class B extends O.ContainerBlot{}Y.A=B},4541:function(fe,Y,d){"use strict";var O=d(6003),B=d(5508);class J extends O.EmbedBlot{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\uFEFF";static value(){}constructor(ne,k,D){super(ne,k),this.selection=D,this.textNode=document.createTextNode(J.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){this.parent!=null&&this.parent.removeChild(this)}format(ne,k){if(this.savedLength!==0)return void super.format(ne,k);let D=this,L=0;for(;D!=null&&D.statics.scope!==O.Scope.BLOCK_BLOT;)L+=D.offset(D.parent),D=D.parent;D!=null&&(this.savedLength=J.CONTENTS.length,D.optimize(),D.formatAt(L,J.CONTENTS.length,ne,k),this.savedLength=0)}index(ne,k){return ne===this.textNode?0:super.index(ne,k)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||this.parent==null)return null;const ne=this.selection.getNativeRange();for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const k=this.prev instanceof B.A?this.prev:null,D=k?k.length():0,L=this.next instanceof B.A?this.next:null,E=L?L.text:"",{textNode:S}=this,b=S.data.split(J.CONTENTS).join("");let A;if(S.data=J.CONTENTS,k)A=k,(b||L)&&(k.insertAt(k.length(),b+E),L&&L.remove());else if(L)A=L,L.insertAt(0,b);else{const j=document.createTextNode(b);A=this.scroll.create(j),this.parent.insertBefore(A,this)}if(this.remove(),ne){const j=(me,Se)=>k&&me===k.domNode?Se:me===S?D+Se-1:L&&me===L.domNode?D+b.length+Se:null,V=j(ne.start.node,ne.start.offset),he=j(ne.end.node,ne.end.offset);if(V!==null&&he!==null)return{startNode:A.domNode,startOffset:V,endNode:A.domNode,endOffset:he}}return null}update(ne,k){if(ne.some((D=>D.type==="characterData"&&D.target===this.textNode))){const D=this.restore();D&&(k.range=D)}}optimize(ne){super.optimize(ne);let{parent:k}=this;for(;k;){if(k.domNode.tagName==="A"){this.savedLength=J.CONTENTS.length,k.isolate(this.offset(k),this.length()).unwrap(),this.savedLength=0;break}k=k.parent}}value(){return""}}Y.A=J},746:function(fe,Y,d){"use strict";var O=d(6003),B=d(5508);const J="\uFEFF";class U extends O.EmbedBlot{constructor(k,D){super(k,D),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach((L=>{this.contentNode.appendChild(L)})),this.leftGuard=document.createTextNode(J),this.rightGuard=document.createTextNode(J),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(k,D){return k===this.leftGuard?0:k===this.rightGuard?1:super.index(k,D)}restore(k){let D,L=null;const E=k.data.split(J).join("");if(k===this.leftGuard)if(this.prev instanceof B.A){const S=this.prev.length();this.prev.insertAt(S,E),L={startNode:this.prev.domNode,startOffset:S+E.length}}else D=document.createTextNode(E),this.parent.insertBefore(this.scroll.create(D),this),L={startNode:D,startOffset:E.length};else k===this.rightGuard&&(this.next instanceof B.A?(this.next.insertAt(0,E),L={startNode:this.next.domNode,startOffset:E.length}):(D=document.createTextNode(E),this.parent.insertBefore(this.scroll.create(D),this.next),L={startNode:D,startOffset:E.length}));return k.data=J,L}
12update(k,D){k.forEach((L=>{if(L.type==="characterData"&&(L.target===this.leftGuard||L.target===this.rightGuard)){const E=this.restore(L.target);E&&(D.range=E)}}))}}Y.A=U},4850:function(fe,Y,d){"use strict";var O=d(6003),B=d(3036),J=d(5508);class U extends O.InlineBlot{static allowedChildren=[U,B.A,O.EmbedBlot,J.A];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(k,D){const L=U.order.indexOf(k),E=U.order.indexOf(D);return L>=0||E>=0?L-E:k===D?0:k<D?-1:1}formatAt(k,D,L,E){if(U.compare(this.statics.blotName,L)<0&&this.scroll.query(L,O.Scope.BLOT)){const S=this.isolate(k,D);E&&S.wrap(L,E)}else super.formatAt(k,D,L,E)}optimize(k){if(super.optimize(k),this.parent instanceof U&&U.compare(this.statics.blotName,this.parent.statics.blotName)>0){const D=this.parent.isolate(this.offset(),this.length());this.moveChildren(D),D.wrap(this)}}}Y.A=U},5508:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return B},X:function(){return J}});var O=d(6003);class B extends O.TextBlot{}function J(U){return U.replace(/[&<>"']/g,(ne=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[ne]))}},3729:function(fe,Y,d){"use strict";d.d(Y,{default:function(){return h}});var O=d(6142),B=d(9698),J=d(3036),U=d(580),ne=d(4541),k=d(746),D=d(4850),L=d(6003),E=d(5232),S=d.n(E),b=d(5374);function A(f){return f instanceof B.Ay||f instanceof B.zo}function j(f){return typeof f.updateContent=="function"}class V extends L.ScrollBlot{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=B.Ay;static allowedChildren=[B.Ay,B.zo,U.A];constructor(p,ee,M){let{emitter:R}=M;super(p,ee),this.emitter=R,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",(K=>this.handleDragStart(K)))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;const p=this.batch;this.batch=!1,this.update(p)}emitMount(p){this.emitter.emit(b.A.events.SCROLL_BLOT_MOUNT,p)}emitUnmount(p){this.emitter.emit(b.A.events.SCROLL_BLOT_UNMOUNT,p)}emitEmbedUpdate(p,ee){this.emitter.emit(b.A.events.SCROLL_EMBED_UPDATE,p,ee)}deleteAt(p,ee){const[M,R]=this.line(p),[K]=this.line(p+ee);if(super.deleteAt(p,ee),K!=null&&M!==K&&R>0){if(M instanceof B.zo||K instanceof B.zo)return void this.optimize();const Q=K.children.head instanceof J.A?null:K.children.head;M.moveChildren(K,Q),M.remove()}this.optimize()}enable(){let p=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];this.domNode.setAttribute("contenteditable",p?"true":"false")}formatAt(p,ee,M,R){super.formatAt(p,ee,M,R),this.optimize()}insertAt(p,ee,M){if(p>=this.length())if(M==null||this.scroll.query(ee,L.Scope.BLOCK)==null){const R=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(R),M==null&&ee.endsWith(` 13`)?R.insertAt(0,ee.slice(0,-1),M):R.insertAt(0,ee,M)}else{const R=this.scroll.create(ee,M);this.appendChild(R)}else super.insertAt(p,ee,M);this.optimize()}insertBefore(p,ee){if(p.statics.scope===L.Scope.INLINE_BLOT){const M=this.scroll.create(this.statics.defaultChild.blotName);M.appendChild(p),super.insertBefore(M,ee)}else super.insertBefore(p,ee)}insertContents(p,ee){const M=this.deltaToRenderBlocks(ee.concat(new(S())().insert(` 14`))),R=M.pop();if(R==null)return;this.batchStart();const K=M.shift();if(K){const v=K.type==="block"&&(K.delta.length()===0||!this.descendant(B.zo,p)[0]&&p<this.length()),N=K.type==="block"?K.delta:new(S())().insert({[K.key]:K.value});he(this,p,N);const q=K.type==="block"?1:0,X=p+N.length()+q;v&&this.insertAt(X-1,` 15`);const te=(0,B.Ji)(this.line(p)[0]),pe=E.AttributeMap.diff(te,K.attributes)||{};Object.keys(pe).forEach((we=>{this.formatAt(X-1,1,we,pe[we])})),p=X}let[Q,z]=this.children.find(p);M.length&&(Q&&(Q=Q.split(z),z=0),M.forEach((v=>{if(v.type==="block")he(this.createBlock(v.attributes,Q||void 0),0,v.delta);else{const N=this.create(v.key,v.value);this.insertBefore(N,Q||void 0),Object.keys(v.attributes).forEach((q=>{N.format(q,v.attributes[q])}))}}))),R.type==="block"&&R.delta.length()&&he(this,Q?Q.offset(Q.scroll)+z:this.length(),R.delta),this.batchEnd(),this.optimize()}isEnabled(){return this.domNode.getAttribute("contenteditable")==="true"}leaf(p){const ee=this.path(p).pop();if(!ee)return[null,-1];const[M,R]=ee;return M instanceof L.LeafBlot?[M,R]:[null,-1]}line(p){return p===this.length()?this.line(p-1):this.descendant(A,p)}lines(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;const M=(R,K,Q)=>{let z=[],v=Q;
15return R.children.forEachAt(K,Q,((N,q,X)=>{A(N)?z.push(N):N instanceof L.ContainerBlot&&(z=z.concat(M(N,q,v))),v-=X})),z};return M(this,p,ee)}optimize(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch||(super.optimize(p,ee),p.length>0&&this.emitter.emit(b.A.events.SCROLL_OPTIMIZE,p,ee))}path(p){return super.path(p).slice(1)}remove(){}update(p){if(this.batch)return void(Array.isArray(p)&&(this.batch=this.batch.concat(p)));let ee=b.A.sources.USER;typeof p=="string"&&(ee=p),Array.isArray(p)||(p=this.observer.takeRecords()),(p=p.filter((M=>{let{target:R}=M;const K=this.find(R,!0);return K&&!j(K)}))).length>0&&this.emitter.emit(b.A.events.SCROLL_BEFORE_UPDATE,ee,p),super.update(p.concat([])),p.length>0&&this.emitter.emit(b.A.events.SCROLL_UPDATE,ee,p)}updateEmbedAt(p,ee,M){const[R]=this.descendant((K=>K instanceof B.zo),p);R&&R.statics.blotName===ee&&j(R)&&R.updateContent(M)}handleDragStart(p){p.preventDefault()}deltaToRenderBlocks(p){const ee=[];let M=new(S());return p.forEach((R=>{const K=R?.insert;if(K)if(typeof K=="string"){const Q=K.split(` 16`);Q.slice(0,-1).forEach((v=>{M.insert(v,R.attributes),ee.push({type:"block",delta:M,attributes:R.attributes??{}}),M=new(S())}));const z=Q[Q.length-1];z&&M.insert(z,R.attributes)}else{const Q=Object.keys(K)[0];if(!Q)return;this.query(Q,L.Scope.INLINE)?M.push(R):(M.length()&&ee.push({type:"block",delta:M,attributes:{}}),M=new(S()),ee.push({type:"blockEmbed",key:Q,value:K[Q],attributes:R.attributes??{}}))}})),M.length()&&ee.push({type:"block",delta:M,attributes:{}}),ee}createBlock(p,ee){let M;const R={};Object.entries(p).forEach((z=>{let[v,N]=z;this.query(v,L.Scope.BLOCK&L.Scope.BLOT)!=null?M=v:R[v]=N}));const K=this.create(M||this.statics.defaultChild.blotName,M?p[M]:void 0);this.insertBefore(K,ee||void 0);const Q=K.length();return Object.entries(R).forEach((z=>{let[v,N]=z;K.formatAt(0,Q,v,N)})),K}}function he(f,p,ee){ee.reduce(((M,R)=>{const K=E.Op.length(R);let Q=R.attributes||{};if(R.insert!=null){if(typeof R.insert=="string"){const z=R.insert;f.insertAt(M,z);const[v]=f.descendant(L.LeafBlot,M),N=(0,B.Ji)(v);Q=E.AttributeMap.diff(N,Q)||{}}else if(typeof R.insert=="object"){const z=Object.keys(R.insert)[0];if(z==null)return M;if(f.insertAt(M,z,R.insert[z]),f.scroll.query(z,L.Scope.INLINE)!=null){const[v]=f.descendant(L.LeafBlot,M),N=(0,B.Ji)(v);Q=E.AttributeMap.diff(N,Q)||{}}}}return Object.keys(Q).forEach((z=>{f.formatAt(M,K,z,Q[z])})),M+K}),p)}var me=V,Se=d(5508),ve=d(584),C=d(4266);class le extends C.A{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(p,ee){super(p,ee),this.quill.on(O.Ay.events.EDITOR_CHANGE,((M,R,K,Q)=>{M===O.Ay.events.SELECTION_CHANGE?R&&Q!==O.Ay.sources.SILENT&&(this.currentRange=R):M===O.Ay.events.TEXT_CHANGE&&(this.ignoreChange||(this.options.userOnly&&Q!==O.Ay.sources.USER?this.transform(R):this.record(R,K)),this.currentRange=ue(this.currentRange,R))})),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",(M=>{M.inputType==="historyUndo"?(this.undo(),M.preventDefault()):M.inputType==="historyRedo"&&(this.redo(),M.preventDefault())}))}change(p,ee){if(this.stack[p].length===0)return;const M=this.stack[p].pop();if(!M)return;const R=this.quill.getContents(),K=M.delta.invert(R);this.stack[ee].push({delta:K,range:ue(M.range,K)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(M.delta,O.Ay.sources.USER),this.ignoreChange=!1,this.restoreSelection(M)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(p,ee){if(p.ops.length===0)return;this.stack.redo=[];let M=p.invert(ee),R=this.currentRange;const K=Date.now();if(this.lastRecorded+this.options.delay>K&&this.stack.undo.length>0){const Q=this.stack.undo.pop();Q&&(M=M.compose(Q.delta),R=Q.range)}else this.lastRecorded=K;M.length()!==0&&(this.stack.undo.push({delta:M,range:R}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(p){be(this.stack.undo,p),be(this.stack.redo,p)}undo(){this.change("undo","redo")}restoreSelection(p){if(p.range)this.quill.setSelection(p.range,O.Ay.sources.USER);else{const ee=(function(M,R){const K=R.reduce(((z,v)=>z+(v.delete||0)),0);let Q=R.length()-K;return(function(z,v){const N=v.ops[v.ops.length-1];return N!=null&&(N.insert!=null?typeof N.insert=="string"&&N.insert.endsWith(` 17`):N.attributes!=null&&Object.keys(N.attributes).some((q=>z.query(q,L.Scope.BLOCK)!=null)))})(M,R)&&(Q-=1),Q})(this.quill.scroll,p.delta);this.quill.setSelection(ee,O.Ay.sources.USER)}}}function be(f,p){let ee=p;for(let M=f.length-1;M>=0;M-=1){const R=f[M];f[M]={delta:ee.transform(R.delta,!0),range:R.range&&ue(R.range,ee)},ee=R.delta.transform(ee),f[M].delta.length()===0&&f.splice(M,1)}}function ue(f,p){if(!f)return f;const ee=p.transformPosition(f.index);return{index:ee,length:p.transformPosition(f.index+f.length)-ee}}var Ae=d(8123);class Me extends C.A{constructor(p,ee){super(p,ee),p.root.addEventListener("drop",(M=>{M.preventDefault();let R=null;if(document.caretRangeFromPoint)R=document.caretRangeFromPoint(M.clientX,M.clientY);else if(document.caretPositionFromPoint){const Q=document.caretPositionFromPoint(M.clientX,M.clientY);R=document.createRange(),R.setStart(Q.offsetNode,Q.offset),R.setEnd(Q.offsetNode,Q.offset)}const K=R&&p.selection.normalizeNative(R);if(K){const Q=p.selection.normalizedToRange(K);M.dataTransfer?.files&&this.upload(Q,M.dataTransfer.files)}}))}upload(p,ee){const M=[];Array.from(ee).forEach((R=>{R&&this.options.mimetypes?.includes(R.type)&&M.push(R)})),M.length>0&&this.options.handler.call(this,p,M)}}Me.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(f,p){if(!this.quill.scroll.query("image"))return;const ee=p.map((M=>new Promise((R=>{const K=new FileReader;K.onload=()=>{R(K.result)},K.readAsDataURL(M)}))));Promise.all(ee).then((M=>{const R=M.reduce(((K,Q)=>K.insert({image:Q})),new(S())().retain(f.index).delete(f.length));this.quill.updateContents(R,b.A.sources.USER),this.quill.setSelection(f.index+M.length,b.A.
17sources.SILENT)}))}};var ke=Me;const je=["insertText","insertReplacementText"];class De extends C.A{constructor(p,ee){super(p,ee),p.root.addEventListener("beforeinput",(M=>{this.handleBeforeInput(M)})),/Android/i.test(navigator.userAgent)||p.on(O.Ay.events.COMPOSITION_BEFORE_START,(()=>{this.handleCompositionStart()}))}deleteRange(p){(0,Ae.Xo)({range:p,quill:this.quill})}replaceText(p){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(p.length===0)return!1;if(ee){const M=this.quill.getFormat(p.index,1);this.deleteRange(p),this.quill.updateContents(new(S())().retain(p.index).insert(ee,M),O.Ay.sources.USER)}else this.deleteRange(p);return this.quill.setSelection(p.index+ee.length,0,O.Ay.sources.SILENT),!0}handleBeforeInput(p){if(this.quill.composition.isComposing||p.defaultPrevented||!je.includes(p.inputType))return;const ee=p.getTargetRanges?p.getTargetRanges()[0]:null;if(!ee||ee.collapsed===!0)return;const M=(function(Q){return typeof Q.data=="string"?Q.data:Q.dataTransfer?.types.includes("text/plain")?Q.dataTransfer.getData("text/plain"):null})(p);if(M==null)return;const R=this.quill.selection.normalizeNative(ee),K=R?this.quill.selection.normalizedToRange(R):null;K&&this.replaceText(K,M)&&p.preventDefault()}handleCompositionStart(){const p=this.quill.getSelection();p&&this.replaceText(p)}}var Te=De;const xe=/Mac/i.test(navigator.platform);class qe extends C.A{isListening=!1;selectionChangeDeadline=0;constructor(p,ee){super(p,ee),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(p,ee){let{line:M,event:R}=ee;if(!(M instanceof L.ParentBlot&&M.uiNode))return!0;const K=getComputedStyle(M.domNode).direction==="rtl";return!!(K&&R.key!=="ArrowRight"||!K&&R.key!=="ArrowLeft")||(this.quill.setSelection(p.index-1,p.length+(R.shiftKey?1:0),O.Ay.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",(p=>{!p.defaultPrevented&&(ee=>ee.key==="ArrowLeft"||ee.key==="ArrowRight"||ee.key==="ArrowUp"||ee.key==="ArrowDown"||ee.key==="Home"||!(!xe||ee.key!=="a"||ee.ctrlKey!==!0))(p)&&this.ensureListeningToSelectionChange()}))}ensureListeningToSelectionChange(){this.selectionChangeDeadline=Date.now()+100,this.isListening||(this.isListening=!0,document.addEventListener("selectionchange",(()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()}),{once:!0}))}handleSelectionChange(){const p=document.getSelection();if(!p)return;const ee=p.getRangeAt(0);if(ee.collapsed!==!0||ee.startOffset!==0)return;const M=this.quill.scroll.find(ee.startContainer);if(!(M instanceof L.ParentBlot&&M.uiNode))return;const R=document.createRange();R.setStartAfter(M.uiNode),R.setEndAfter(M.uiNode),p.removeAllRanges(),p.addRange(R)}}var $=qe;O.Ay.register({"blots/block":B.Ay,"blots/block/embed":B.zo,"blots/break":J.A,"blots/container":U.A,"blots/cursor":ne.A,"blots/embed":k.A,"blots/inline":D.A,"blots/scroll":me,"blots/text":Se.A,"modules/clipboard":ve.Ay,"modules/history":le,"modules/keyboard":Ae.Ay,"modules/uploader":ke,"modules/input":Te,"modules/uiNode":$});var h=O.Ay},5374:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return U}});var O=d(8920),B=d(7356);const J=(0,d(6078).A)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((ne=>{document.addEventListener(ne,(function(){for(var k=arguments.length,D=new Array(k),L=0;L<k;L++)D[L]=arguments[L];Array.from(document.querySelectorAll(".ql-container")).forEach((E=>{const S=B.A.get(E);S&&S.emitter&&S.emitter.handleDOM(...D)}))}))}));var U=class extends O{static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",J.error)}emit(){for(var ne=arguments.length,k=new Array(ne),D=0;D<ne;D++)k[D]=arguments[D];return J.log.call(J,...k),super.emit(...k)}handleDOM(ne){for(var k=arguments.length,D=new Array(k>1?k-1:0),L=1;L<k;L++)D[L-1]=arguments[L];
17(this.domListeners[ne.type]||[]).forEach((E=>{let{node:S,handler:b}=E;(ne.target===S||S.contains(ne.target))&&b(ne,...D)}))}listenDOM(ne,k,D){this.domListeners[ne]||(this.domListeners[ne]=[]),this.domListeners[ne].push({node:k,handler:D})}}},7356:function(fe,Y){"use strict";Y.A=new WeakMap},6078:function(fe,Y){"use strict";const d=["error","warn","log","info"];let O="warn";function B(U){if(O&&d.indexOf(U)<=d.indexOf(O)){for(var ne=arguments.length,k=new Array(ne>1?ne-1:0),D=1;D<ne;D++)k[D-1]=arguments[D];console[U](...k)}}function J(U){return d.reduce(((ne,k)=>(ne[k]=B.bind(console,k,U),ne)),{})}J.level=U=>{O=U},B.level=J.level,Y.A=J},4266:function(fe,Y){"use strict";Y.A=class{static DEFAULTS={};constructor(d){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.quill=d,this.options=O}}},6142:function(fe,Y,d){"use strict";d.d(Y,{Ay:function(){return f}});var O=d(8347),B=d(6003),J=d(5232),U=d.n(J),ne=d(3707),k=d(5123),D=d(9698),L=d(3036),E=d(4541),S=d(5508),b=d(8298);const A=/^[ -~]*$/;function j(z,v,N){if(z.length===0){const[He]=me(N.pop());return v<=0?`</li></${He}>`:`</li></${He}>${j([],v-1,N)}`}const[{child:q,offset:X,length:te,indent:pe,type:we},...ye]=z,[Ee,Oe]=me(we);if(pe>v)return N.push(we),pe===v+1?`<${Ee}><li${Oe}>${V(q,X,te)}${j(ye,pe,N)}`:`<${Ee}><li>${j(z,v+1,N)}`;const Pe=N[N.length-1];if(pe===v&&we===Pe)return`</li><li${Oe}>${V(q,X,te)}${j(ye,pe,N)}`;const[Ie]=me(N.pop());return`</li></${Ie}>${j(z,v-1,N)}`}function V(z,v,N){let q=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if("html"in z&&typeof z.html=="function")return z.html(v,N);if(z instanceof S.A)return(0,S.X)(z.value().slice(v,v+N));if(z instanceof B.ParentBlot){if(z.statics.blotName==="list-container"){const Ee=[];return z.children.forEachAt(v,N,((Oe,Pe,Ie)=>{const He="formats"in Oe&&typeof Oe.formats=="function"?Oe.formats():{};Ee.push({child:Oe,offset:Pe,length:Ie,indent:He.indent||0,type:He.list})})),j(Ee,-1,[])}const X=[];if(z.children.forEachAt(v,N,((Ee,Oe,Pe)=>{X.push(V(Ee,Oe,Pe))})),q||z.statics.blotName==="list")return X.join("");const{outerHTML:te,innerHTML:pe}=z.domNode,[we,ye]=te.split(`>${pe}<`);return we==="<table"?`<table style="border: 1px solid #000;">${X.join("")}<${ye}`:`${we}>${X.join("")}<${ye}`}return z.domNode instanceof Element?z.domNode.outerHTML:""}function he(z,v){return Object.keys(v).reduce(((N,q)=>{if(z[q]==null)return N;const X=v[q];return X===z[q]?N[q]=X:Array.isArray(X)?X.indexOf(z[q])<0?N[q]=X.concat([z[q]]):N[q]=X:N[q]=[X,z[q]],N}),{})}function me(z){const v=z==="ordered"?"ol":"ul";switch(z){case"checked":return[v,' data-list="checked"'];case"unchecked":return[v,' data-list="unchecked"'];default:return[v,""]}}function Se(z){return z.reduce(((v,N)=>{if(typeof N.insert=="string"){const q=N.insert.replace(/\r\n/g,` 18`).replace(/\r/g,` 19`);return v.insert(q,N.attributes)}return v.push(N)}),new(U()))}function ve(z,v){let{index:N,length:q}=z;return new b.Q(N+v,q)}var C=class{constructor(z){this.scroll=z,this.delta=this.getDelta()}applyDelta(z){this.scroll.update();let v=this.scroll.length();this.scroll.batchStart();const N=Se(z),q=new(U());return(function(X){const te=[];return X.forEach((pe=>{typeof pe.insert=="string"?pe.insert.split(` 20`).forEach(((we,ye)=>{ye&&te.push({insert:` 21`,attributes:pe.attributes}),we&&te.push({insert:we,attributes:pe.attributes})})):te.push(pe)})),te})(N.ops.slice()).reduce(((X,te)=>{const pe=J.Op.length(te);let we=te.attributes||{},ye=!1,Ee=!1;if(te.insert!=null){if(q.retain(pe),typeof te.insert=="string"){const Ie=te.insert;Ee=!Ie.endsWith(` 22`)&&(v<=X||!!this.scroll.descendant(D.zo,X)[0]),this.scroll.insertAt(X,Ie);const[He,Re]=this.scroll.line(X);let Fe=(0,O.A)({},(0,D.Ji)(He));if(He instanceof D.Ay){const[Qe]=He.descendant(B.LeafBlot,Re);Qe&&(Fe=(0,O.A)(Fe,(0,D.Ji)(Qe)))}we=J.AttributeMap.diff(Fe,we)||{}}else if(typeof te.insert=="object"){const Ie=Object.keys(te.insert)[0];if(Ie==null)return X;const He=this.scroll.query(Ie,B.Scope.INLINE)!=null;if(He)(v<=X||this.scroll.descendant(D.zo,X)[0])&&(Ee=!0);else if(X>0){const[Re,Fe]=this.scroll.descendant(B.LeafBlot,X-1);Re instanceof S.A?Re.value()[Fe]!==` 23`&&(ye=!0):Re instanceof B.EmbedBlot&&Re.statics.scope===B.Scope.INLINE_BLOT&&(ye=!0)}if(this.scroll.insertAt(X,Ie,te.insert[Ie]),He){const[Re]=this.scroll.descendant(B.LeafBlot,X);if(Re){const Fe=(0,O.A)({},(0,D.Ji)(Re));we=J.AttributeMap.diff(Fe,we)||{}}}}v+=pe}else if(q.push(te),te.retain!==null&&typeof te.retain=="object"){const Ie=Object.keys(te.retain)[0];if(Ie==null)return X;this.scroll.updateEmbedAt(X,Ie,te.retain[Ie])}Object.keys(we).forEach((Ie=>{this.scroll.formatAt(X,pe,Ie,we[Ie])}));const Oe=ye?1:0,Pe=Ee?1:0;return v+=Oe+Pe,q.retain(Oe),q.delete(Pe),X+pe+Oe+Pe}),0),q.reduce(((X,te)=>typeof te.delete=="number"?(this.scroll.deleteAt(X,te.delete),X):X+J.Op.length(te)),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(N)}deleteText(z,v){return this.scroll.deleteAt(z,v),this.update(new(U())().retain(z).delete(v))}formatLine(z,v){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
23this.scroll.update(),Object.keys(N).forEach((X=>{this.scroll.lines(z,Math.max(v,1)).forEach((te=>{te.format(X,N[X])}))})),this.scroll.optimize();const q=new(U())().retain(z).retain(v,(0,ne.A)(N));return this.update(q)}formatText(z,v){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Object.keys(N).forEach((X=>{this.scroll.formatAt(z,v,X,N[X])}));const q=new(U())().retain(z).retain(v,(0,ne.A)(N));return this.update(q)}getContents(z,v){return this.delta.slice(z,z+v)}getDelta(){return this.scroll.lines().reduce(((z,v)=>z.concat(v.delta())),new(U()))}getFormat(z){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,N=[],q=[];v===0?this.scroll.path(z).forEach((pe=>{const[we]=pe;we instanceof D.Ay?N.push(we):we instanceof B.LeafBlot&&q.push(we)})):(N=this.scroll.lines(z,v),q=this.scroll.descendants(B.LeafBlot,z,v));const[X,te]=[N,q].map((pe=>{const we=pe.shift();if(we==null)return{};let ye=(0,D.Ji)(we);for(;Object.keys(ye).length>0;){const Ee=pe.shift();if(Ee==null)return ye;ye=he((0,D.Ji)(Ee),ye)}return ye}));return{...X,...te}}getHTML(z,v){const[N,q]=this.scroll.line(z);if(N){const X=N.length();return N.length()>=q+v&&(q!==0||v!==X)?V(N,q,v,!0):V(this.scroll,z,v,!0)}return""}getText(z,v){return this.getContents(z,v).filter((N=>typeof N.insert=="string")).map((N=>N.insert)).join("")}insertContents(z,v){const N=Se(v),q=new(U())().retain(z).concat(N);return this.scroll.insertContents(z,N),this.update(q)}insertEmbed(z,v,N){return this.scroll.insertAt(z,v,N),this.update(new(U())().retain(z).insert({[v]:N}))}insertText(z,v){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v=v.replace(/\r\n/g,` 24`).replace(/\r/g,` 25`),this.scroll.insertAt(z,v),Object.keys(N).forEach((q=>{this.scroll.formatAt(z,v.length,q,N[q])})),this.update(new(U())().retain(z).insert(v,(0,ne.A)(N)))}isBlank(){if(this.scroll.children.length===0)return!0;if(this.scroll.children.length>1)return!1;const z=this.scroll.children.head;if(z?.statics.blotName!==D.Ay.blotName)return!1;const v=z;return!(v.children.length>1)&&v.children.head instanceof L.A}removeFormat(z,v){const N=this.getText(z,v),[q,X]=this.scroll.line(z+v);let te=0,pe=new(U());q!=null&&(te=q.length()-X,pe=q.delta().slice(X,X+te-1).insert(` 26`));
26const we=this.getContents(z,v+te).diff(new(U())().insert(N).concat(pe)),ye=new(U())().retain(z).concat(we);return this.applyDelta(ye)}update(z){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;const q=this.delta;if(v.length===1&&v[0].type==="characterData"&&v[0].target.data.match(A)&&this.scroll.find(v[0].target)){const X=this.scroll.find(v[0].target),te=(0,D.Ji)(X),pe=X.offset(this.scroll),we=v[0].oldValue.replace(E.A.CONTENTS,""),ye=new(U())().insert(we),Ee=new(U())().insert(X.value()),Oe=N&&{oldRange:ve(N.oldRange,-pe),newRange:ve(N.newRange,-pe)};z=new(U())().retain(pe).concat(ye.diff(Ee,Oe)).reduce(((Pe,Ie)=>Ie.insert?Pe.insert(Ie.insert,te):Pe.push(Ie)),new(U())),this.delta=q.compose(z)}else this.delta=this.getDelta(),z&&(0,k.A)(q.compose(z),this.delta)||(z=q.diff(this.delta,N));return z}},le=d(5374),be=d(7356),ue=d(6078),Ae=d(4266),Me=d(746),ke=class{isComposing=!1;constructor(z,v){this.scroll=z,this.emitter=v,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",(z=>{this.isComposing||this.handleCompositionStart(z)})),this.scroll.domNode.addEventListener("compositionend",(z=>{this.isComposing&&queueMicrotask((()=>{this.handleCompositionEnd(z)}))}))}handleCompositionStart(z){const v=z.target instanceof Node?this.scroll.find(z.target,!0):null;!v||v instanceof Me.A||(this.emitter.emit(le.A.events.COMPOSITION_BEFORE_START,z),this.scroll.batchStart(),this.emitter.emit(le.A.events.COMPOSITION_START,z),this.isComposing=!0)}handleCompositionEnd(z){this.emitter.emit(le.A.events.COMPOSITION_BEFORE_END,z),this.scroll.batchEnd(),this.emitter.emit(le.A.events.COMPOSITION_END,z),this.isComposing=!1}},je=d(9609);const De=z=>{const v=z.getBoundingClientRect(),N="offsetWidth"in z&&Math.abs(v.width)/z.offsetWidth||1,q="offsetHeight"in z&&Math.abs(v.height)/z.offsetHeight||1;return{top:v.top,right:v.left+z.clientWidth*N,bottom:v.top+z.clientHeight*q,left:v.left}},Te=z=>{const v=parseInt(z,10);return Number.isNaN(v)?0:v},xe=(z,v,N,q,X,te)=>z<N&&v>q?0:z<N?-(N-z+X):v>q?v-z>q-N?z+X-N:v-q+te:0,qe=["block","break","cursor","inline","scroll","text"],$=(0,ue.A)("quill"),h=new B.Registry;B.ParentBlot.uiClass="ql-ui";class f{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:h,theme:"default"};static events=le.A.events;static sources=le.A.sources;static version="2.0.2";static imports={delta:U(),parchment:B,"core/module":Ae.A,"core/theme":je.A};static debug(v){v===!0&&(v="log"),ue.A.level(v)}static find(v){let N=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return be.A.get(v)||h.find(v,N)}static import(v){return this.imports[v]==null&&$.error(`Cannot import ${v}. Are you sure it was registered?`),this.imports[v]}static register(){if(typeof(arguments.length<=0?void 0:arguments[0])!="string"){const v=arguments.length<=0?void 0:arguments[0],N=!!(!(arguments.length<=1)&&arguments[1]),q="attrName"in v?v.attrName:v.blotName;typeof q=="string"?this.register(`formats/${q}`,v,N):Object.keys(v).forEach((X=>{this.register(X,v[X],N)}))}else{const v=arguments.length<=0?void 0:arguments[0],N=arguments.length<=1?void 0:arguments[1],q=!!(!(arguments.length<=2)&&arguments[2]);this.imports[v]==null||q||$.warn(`Overwriting ${v} with`,N),this.imports[v]=N,(v.startsWith("blots/")||v.startsWith("formats/"))&&N&&typeof N!="boolean"&&N.blotName!=="abstract"&&h.register(N),typeof N.register=="function"&&N.register(h)}}constructor(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.options=(function(pe,we){const ye=p(pe);if(!ye)throw new Error("Invalid Quill container");const Ee=!we.theme||we.theme===f.DEFAULTS.theme?je.A:f.import(`themes/${we.theme}`);if(!Ee)throw new Error(`Invalid theme ${we.theme}. Did you register it?`);const{modules:Oe,...Pe}=f.DEFAULTS,{modules:Ie,...He}=Ee.DEFAULTS;let Re=ee(we.modules);Re!=null&&Re.toolbar&&Re.toolbar.constructor!==Object&&(Re={...Re,toolbar:{container:Re.toolbar}});const Fe=(0,O.A)({},ee(Oe),ee(Ie),Re),Qe={...Pe,...M(He),...M(we)};let Je=we.registry;return Je?we.formats&&$.warn('Ignoring "formats" option because "registry" is specified'):Je=we.formats?((tt,$e,Ue)=>{const Ze=new B.Registry;return qe.forEach((st=>{const Xe=$e.query(st);Xe&&Ze.register(Xe)})),tt.forEach((st=>{let Xe=$e.query(st);Xe||Ue.error(`Cannot register "${st}" specified in "formats" config. Are you sure it was registered?`);let rt=0;for(;Xe;)if(Ze.register(Xe),Xe="blotName"in Xe?Xe.requiredContainer??null:null,rt+=1,rt>100){Ue.error(`Cycle detected in registering blot requiredContainer: "${st}"`);break}}
26)),Ze})(we.formats,Qe.registry,$):Qe.registry,{...Qe,registry:Je,container:ye,theme:Ee,modules:Object.entries(Fe).reduce(((tt,$e)=>{let[Ue,Ze]=$e;if(!Ze)return tt;const st=f.import(`modules/${Ue}`);return st==null?($.error(`Cannot load ${Ue} module. Are you sure you registered it?`),tt):{...tt,[Ue]:(0,O.A)({},st.DEFAULTS||{},Ze)}}),{}),bounds:p(Qe.bounds)}})(v,N),this.container=this.options.container,this.container==null)return void $.error("Invalid Quill container",v);this.options.debug&&f.debug(this.options.debug);const q=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",be.A.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new le.A;const X=B.ScrollBlot.blotName,te=this.options.registry.query(X);if(!te||!("blotName"in te))throw new Error(`Cannot initialize Quill without "${X}" blot`);if(this.scroll=new te(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new C(this.scroll),this.selection=new b.A(this.scroll,this.emitter),this.composition=new ke(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(le.A.events.EDITOR_CHANGE,(pe=>{pe===le.A.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())})),this.emitter.on(le.A.events.SCROLL_UPDATE,((pe,we)=>{const ye=this.selection.lastRange,[Ee]=this.selection.getRange(),Oe=ye&&Ee?{oldRange:ye,newRange:Ee}:void 0;R.call(this,(()=>this.editor.update(null,we,Oe)),pe)})),this.emitter.on(le.A.events.SCROLL_EMBED_UPDATE,((pe,we)=>{const ye=this.selection.lastRange,[Ee]=this.selection.getRange(),Oe=ye&&Ee?{oldRange:ye,newRange:Ee}:void 0;R.call(this,(()=>{const Pe=new(U())().retain(pe.offset(this)).retain({[pe.statics.blotName]:we});return this.editor.update(Pe,[],Oe)}),f.sources.USER)})),q){const pe=this.clipboard.convert({html:`${q}<p><br></p>`,text:` 27`});this.setContents(pe)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof v=="string"){const q=v;(v=document.createElement("div")).classList.add(q)}return this.container.insertBefore(v,N),v}blur(){this.selection.setRange(null)}deleteText(v,N,q){return[v,N,,q]=K(v,N,q),R.call(this,(()=>this.editor.deleteText(v,N)),q,v,-1*N)}disable(){this.enable(!1)}editReadOnly(v){this.allowReadOnlyEdits=!0;const N=v();return this.allowReadOnlyEdits=!1,N}enable(){let v=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];this.scroll.enable(v),this.container.classList.toggle("ql-disabled",!v)}focus(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.selection.focus(),v.preventScroll||this.scrollSelectionIntoView()}format(v,N){let q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:le.A.sources.API;return R.call(this,(()=>{const X=this.getSelection(!0);let te=new(U());if(X==null)return te;if(this.scroll.query(v,B.Scope.BLOCK))te=this.editor.formatLine(X.index,X.length,{[v]:N});else{if(X.length===0)return this.selection.format(v,N),te;te=this.editor.formatText(X.index,X.length,{[v]:N})}return this.setSelection(X,le.A.sources.SILENT),te}),q)}formatLine(v,N,q,X,te){let pe;return[v,N,pe,te]=K(v,N,q,X,te),R.call(this,(()=>this.editor.formatLine(v,N,pe)),te,v,0)}formatText(v,N,q,X,te){let pe;return[v,N,pe,te]=K(v,N,q,X,te),R.call(this,(()=>this.editor.formatText(v,N,pe)),te,v,0)}getBounds(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,q=null;if(q=typeof v=="number"?this.selection.getBounds(v,N):this.selection.getBounds(v.index,v.length),!q)return null;const X=this.container.getBoundingClientRect();
27return{bottom:q.bottom-X.top,height:q.height,left:q.left-X.left,right:q.right-X.left,top:q.top-X.top,width:q.width}}getContents(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-v;return[v,N]=K(v,N),this.editor.getContents(v,N)}getFormat(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof v=="number"?this.editor.getFormat(v,N):this.editor.getFormat(v.index,v.length)}getIndex(v){return v.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(v){return this.scroll.leaf(v)}getLine(v){return this.scroll.line(v)}getLines(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof v!="number"?this.scroll.lines(v.index,v.length):this.scroll.lines(v,N)}getModule(v){return this.theme.modules[v]}getSelection(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1?arguments[1]:void 0;return typeof v=="number"&&(N=N??this.getLength()-v),[v,N]=K(v,N),this.editor.getHTML(v,N)}getText(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1?arguments[1]:void 0;return typeof v=="number"&&(N=N??this.getLength()-v),[v,N]=K(v,N),this.editor.getText(v,N)}hasFocus(){return this.selection.hasFocus()}insertEmbed(v,N,q){let X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f.sources.API;return R.call(this,(()=>this.editor.insertEmbed(v,N,q)),X,v)}insertText(v,N,q,X,te){let pe;return[v,,pe,te]=K(v,0,q,X,te),R.call(this,(()=>this.editor.insertText(v,N,pe)),te,v,N.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(v,N,q){return[v,N,,q]=K(v,N,q),R.call(this,(()=>this.editor.removeFormat(v,N)),q,v)}scrollRectIntoView(v){((N,q)=>{const X=N.ownerDocument;let te=q,pe=N;for(;pe;){const ye=pe===X.body,Ee=ye?{top:0,right:window.visualViewport?.width??X.documentElement.clientWidth,bottom:window.visualViewport?.height??X.documentElement.clientHeight,left:0}:De(pe),Oe=getComputedStyle(pe),Pe=xe(te.left,te.right,Ee.left,Ee.right,Te(Oe.scrollPaddingLeft),Te(Oe.scrollPaddingRight)),Ie=xe(te.top,te.bottom,Ee.top,Ee.bottom,Te(Oe.scrollPaddingTop),Te(Oe.scrollPaddingBottom));if(Pe||Ie)if(ye)X.defaultView?.scrollBy(Pe,Ie);else{const{scrollLeft:He,scrollTop:Re}=pe;Ie&&(pe.scrollTop+=Ie),Pe&&(pe.scrollLeft+=Pe);const Fe=pe.scrollLeft-He,Qe=pe.scrollTop-Re;te={left:te.left-Fe,top:te.top-Qe,right:te.right-Fe,bottom:te.bottom-Qe}}
27pe=ye||Oe.position==="fixed"?null:(we=pe).parentElement||we.getRootNode().host||null}var we})(this.root,v)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){const v=this.selection.lastRange,N=v&&this.selection.getBounds(v.index,v.length);N&&this.scrollRectIntoView(N)}setContents(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.A.sources.API;return R.call(this,(()=>{v=new(U())(v);const q=this.getLength(),X=this.editor.deleteText(0,q),te=this.editor.insertContents(0,v),pe=this.editor.deleteText(this.getLength()-1,1);return X.compose(te).compose(pe)}),N)}setSelection(v,N,q){v==null?this.selection.setRange(null,N||f.sources.API):([v,N,,q]=K(v,N,q),this.selection.setRange(new b.Q(Math.max(0,v),N),q),q!==le.A.sources.SILENT&&this.scrollSelectionIntoView())}setText(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.A.sources.API;const q=new(U())().insert(v);return this.setContents(q,N)}update(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le.A.sources.USER;const N=this.scroll.update(v);return this.selection.update(v),N}updateContents(v){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.A.sources.API;return R.call(this,(()=>(v=new(U())(v),this.editor.applyDelta(v))),N,!0)}}function p(z){return typeof z=="string"?document.querySelector(z):z}function ee(z){return Object.entries(z??{}).reduce(((v,N)=>{let[q,X]=N;return{...v,[q]:X===!0?{}:X}}),{})}function M(z){return Object.fromEntries(Object.entries(z).filter((v=>v[1]!==void 0)))}function R(z,v,N,q){if(!this.isEnabled()&&v===le.A.sources.USER&&!this.allowReadOnlyEdits)return new(U());let X=N==null?null:this.getSelection();const te=this.editor.delta,pe=z();if(X!=null&&(N===!0&&(N=X.index),q==null?X=Q(X,pe,v):q!==0&&(X=Q(X,N,q,v)),this.setSelection(X,le.A.sources.SILENT)),pe.length()>0){const we=[le.A.events.TEXT_CHANGE,pe,te,v];this.emitter.emit(le.A.events.EDITOR_CHANGE,...we),v!==le.A.sources.SILENT&&this.emitter.emit(...we)}return pe}function K(z,v,N,q,X){let te={};return typeof z.index=="number"&&typeof z.length=="number"?typeof v!="number"?(X=q,q=N,N=v,v=z.length,z=z.index):(v=z.length,z=z.index):typeof v!="number"&&(X=q,q=N,N=v,v=0),typeof N=="object"?(te=N,X=q):typeof N=="string"&&(q!=null?te[N]=q:X=N),[z,v,te,X=X||le.A.sources.API]}function Q(z,v,N,q){const X=typeof N=="number"?N:0;if(z==null)return null;let te,pe;return v&&typeof v.transformPosition=="function"?[te,pe]=[z.index,z.index+z.length].map((we=>v.transformPosition(we,q!==le.A.sources.USER))):[te,pe]=[z.index,z.index+z.length].map((we=>we<v||we===v&&q===le.A.sources.USER?we:X>=0?we+X:Math.max(v,we+X))),new b.Q(te,pe-te)}},8298:function(fe,Y,d){"use strict";d.d(Y,{Q:function(){return k}});var O=d(6003),B=d(5123),J=d(3707),U=d(5374);const ne=(0,d(6078).A)("quill:selection");class k{constructor(E){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.index=E,this.length=S}}function D(L,E){try{E.parentNode}catch{return!1}return L.contains(E)}Y.A=class{constructor(L,E){this.emitter=E,this.scroll=L,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new k(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(()=>{this.mouseDown||this.composing||setTimeout(this.update.bind(this,U.A.sources.USER),1)})),this.emitter.on(U.A.events.SCROLL_BEFORE_UPDATE,(()=>{if(!this.hasFocus())return;const S=this.getNativeRange();S!=null&&S.start.node!==this.cursor.textNode&&this.emitter.once(U.A.events.SCROLL_UPDATE,((b,A)=>{try{this.root.contains(S.start.node)&&this.root.contains(S.end.node)&&this.setNativeRange(S.start.node,S.start.offset,S.end.node,S.end.offset);const j=A.some((V=>V.type==="characterData"||V.type==="childList"||V.type==="attributes"&&V.target===this.root));this.update(j?U.A.sources.SILENT:b)}catch{}}))})),this.emitter.on(U.A.events.SCROLL_OPTIMIZE,((S,b)=>{if(b.range){const{startNode:A,startOffset:j,endNode:V,endOffset:he}=b.range;this.setNativeRange(A,j,V,he),this.update(U.A.sources.SILENT)}})),this.update(U.A.sources.SILENT)}handleComposition(){this.emitter.on(U.A.events.COMPOSITION_BEFORE_START,(()=>{this.composing=!0})),this.emitter.on(U.A.events.COMPOSITION_END,(()=>{if(this.composing=!1,this.cursor.parent){const L=this.cursor.restore(
27);if(!L)return;setTimeout((()=>{this.setNativeRange(L.startNode,L.startOffset,L.endNode,L.endOffset)}),1)}}))}handleDragging(){this.emitter.listenDOM("mousedown",document.body,(()=>{this.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(()=>{this.mouseDown=!1,this.update(U.A.sources.USER)}))}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(L,E){this.scroll.update();const S=this.getNativeRange();if(S!=null&&S.native.collapsed&&!this.scroll.query(L,O.Scope.BLOCK)){if(S.start.node!==this.cursor.textNode){const b=this.scroll.find(S.start.node,!1);if(b==null)return;if(b instanceof O.LeafBlot){const A=b.split(S.start.offset);b.parent.insertBefore(this.cursor,A)}else b.insertBefore(this.cursor,S.start.node);this.cursor.attach()}this.cursor.format(L,E),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(L){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const S=this.scroll.length();let b;L=Math.min(L,S-1),E=Math.min(L+E,S-1)-L;let[A,j]=this.scroll.leaf(L);if(A==null)return null;if(E>0&&j===A.length()){const[Se]=this.scroll.leaf(L+1);if(Se){const[ve]=this.scroll.line(L),[C]=this.scroll.line(L+1);ve===C&&(A=Se,j=0)}}[b,j]=A.position(j,!0);const V=document.createRange();if(E>0)return V.setStart(b,j),[A,j]=this.scroll.leaf(L+E),A==null?null:([b,j]=A.position(j,!0),V.setEnd(b,j),V.getBoundingClientRect());let he,me="left";if(b instanceof Text){if(!b.data.length)return null;j<b.data.length?(V.setStart(b,j),V.setEnd(b,j+1)):(V.setStart(b,j-1),V.setEnd(b,j),me="right"),he=V.getBoundingClientRect()}else{if(!(A.domNode instanceof Element))return null;he=A.domNode.getBoundingClientRect(),j>0&&(me="right")}return{bottom:he.top+he.height,height:he.height,left:he[me],right:he[me],top:he.top,width:0}}getNativeRange(){const L=document.getSelection();if(L==null||L.rangeCount<=0)return null;const E=L.getRangeAt(0);if(E==null)return null;const S=this.normalizeNative(E);return ne.info("getNativeRange",S),S}getRange(){const L=this.scroll.domNode;if("isConnected"in L&&!L.isConnected)return[null,null];const E=this.getNativeRange();return E==null?[null,null]:[this.normalizedToRange(E),E]}hasFocus(){return document.activeElement===this.root||document.activeElement!=null&&D(this.root,document.activeElement)}normalizedToRange(L){const E=[[L.start.node,L.start.offset]];L.native.collapsed||E.push([L.end.node,L.end.offset]);const S=E.map((j=>{const[V,he]=j,me=this.scroll.find(V,!0),Se=me.offset(this.scroll);return he===0?Se:me instanceof O.LeafBlot?Se+me.index(V,he):Se+me.length()})),b=Math.min(Math.max(...S),this.scroll.length()-1),A=Math.min(b,...S);return new k(A,b-A)}normalizeNative(L){if(!D(this.root,L.startContainer)||!L.collapsed&&!D(this.root,L.endContainer))return null;const E={start:{node:L.startContainer,offset:L.startOffset},end:{node:L.endContainer,offset:L.endOffset},native:L};return[E.start,E.end].forEach((S=>{let{node:b,offset:A}=S;for(;!(b instanceof Text)&&b.childNodes.length>0;)if(b.childNodes.length>A)b=b.childNodes[A],A=0;else{if(b.childNodes.length!==A)break;b=b.lastChild,A=b instanceof Text?b.data.length:b.childNodes.length>0?b.childNodes.length:b.childNodes.length+1}S.node=b,S.offset=A})),E}rangeToNative(L){const E=this.scroll.length(),S=(b,A)=>{b=Math.min(E-1,b);const[j,V]=this.scroll.leaf(b);return j?j.position(V,A):[null,-1]};return[...S(L.index,!1),...S(L.index+L.length,!0)]}setNativeRange(L,E){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E,A=arguments.length>4&&arguments[4]!==void 0&&arguments[4];if(ne.info("setNativeRange",L,E,S,b),L!=null&&(this.root.parentNode==null||L.parentNode==null||S.parentNode==null))return;const j=document.getSelection();if(j!=null)if(L!=null){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:V}=this.getNativeRange()||{};if(V==null||A||L!==V.startContainer||E!==V.startOffset||S!==V.endContainer||b!==V.endOffset){L instanceof Element&&L.tagName==="BR"&&(E=Array.from(L.parentNode.childNodes).indexOf(L),L=L.parentNode),S instanceof Element&&S.tagName==="BR"&&(b=Array.from(S.parentNode.childNodes).indexOf(S),S=S.parentNode);const he=document.createRange();he.setStart(L,E),he.setEnd(S,b),j.removeAllRanges(),j.addRange(he)}}else j.removeAllRanges(),this.root.blur()}setRange(L){let E=arguments.length>1&&arguments[1]!==void 0&&arguments[1],S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:U.A.sources.API;if(typeof E=="string"&&(S=E,E=!1),ne.info("setRange",L),L!=null){const b=this.rangeToNative(L);this.setNativeRange(...b,E)}else this.setNativeRange(null);this.update(S)}update(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:U.A.sources.USER;const E=this.lastRange,[S,b]=this.getRange();if(this.lastRange=S,this.lastNative=b,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,B.A)(E,this.lastRange)){if(!this.composing&&b!=null&&b.native.collapsed&&b.start.node!==this.cursor.textNode){const j=this.cursor.restore(
vendor: 4,126 bytes, lines 27-30
27);j&&this.setNativeRange(j.startNode,j.startOffset,j.endNode,j.endOffset)}const A=[U.A.events.SELECTION_CHANGE,(0,J.A)(this.lastRange),(0,J.A)(E),L];this.emitter.emit(U.A.events.EDITOR_CHANGE,...A),L!==U.A.sources.SILENT&&this.emitter.emit(...A)}}}},9609:function(fe,Y){"use strict";class d{static DEFAULTS={modules:{}};static themes={default:d};modules={};constructor(B,J){this.quill=B,this.options=J}init(){Object.keys(this.options.modules).forEach((B=>{this.modules[B]==null&&this.addModule(B)}))}addModule(B){const J=this.quill.constructor.import(`modules/${B}`);return this.modules[B]=new J(this.quill,this.options.modules[B]||{}),this.modules[B]}}Y.A=d},8276:function(fe,Y,d){"use strict";d.d(Y,{Hu:function(){return ne},gS:function(){return J},qh:function(){return U}});var O=d(6003);const B={scope:O.Scope.BLOCK,whitelist:["right","center","justify"]},J=new O.Attributor("align","align",B),U=new O.ClassAttributor("align","ql-align",B),ne=new O.StyleAttributor("align","text-align",B)},9541:function(fe,Y,d){"use strict";d.d(Y,{l:function(){return J},s:function(){return U}});var O=d(6003),B=d(8638);const J=new O.ClassAttributor("background","ql-bg",{scope:O.Scope.INLINE}),U=new B.a2("background","background-color",{scope:O.Scope.INLINE})},9404:function(fe,Y,d){"use strict";d.d(Y,{Ay:function(){return E},Cy:function(){return S},EJ:function(){return L}});var O=d(9698),B=d(3036),J=d(4541),U=d(4850),ne=d(5508),k=d(580),D=d(6142);class L extends k.A{static create(A){const j=super.create(A);return j.setAttribute("spellcheck","false"),j}code(A,j){return this.children.map((V=>V.length()<=1?"":V.domNode.innerText)).join(` 28`).slice(A,A+j)}html(A,j){return`<pre> 29${(0,ne.X)(this.code(A,j))} 30</pre>`}}class E extends O.Ay{static TAB=" ";static register(){D.Ay.register(L)}}class S extends U.A{}S.blotName="code",S.tagName="CODE",E.blotName="code-block",E.className="ql-code-block",E.tagName="DIV",L.blotName="code-block-container",L.className="ql-code-block-container",L.tagName="DIV",L.allowedChildren=[E],E.allowedChildren=[ne.A,B.A,J.A],E.requiredContainer=L},8638:function(fe,Y,d){"use strict";d.d(Y,{JM:function(){return U},a2:function(){return B},g3:function(){return J}});var O=d(6003);class B extends O.StyleAttributor{value(k){let D=super.value(k);return D.startsWith("rgb(")?(D=D.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),`#${D.split(",").map((L=>`00${parseInt(L,10).toString(16)}`.slice(-2))).join("")}`):D}}const J=new O.ClassAttributor("color","ql-color",{scope:O.Scope.INLINE}),U=new B("color","color",{scope:O.Scope.INLINE})},7912:function(fe,Y,d){"use strict";d.d(Y,{Mc:function(){return J},VL:function(){return ne},sY:function(){return U}});var O=d(6003);const B={scope:O.Scope.BLOCK,whitelist:["rtl"]},J=new O.Attributor("direction","dir",B),U=new O.ClassAttributor("direction","ql-direction",B),ne=new O.StyleAttributor("direction","direction",B)},6772:function(fe,Y,d){"use strict";d.d(Y,{q:function(){return J},z:function(){return ne}});var O=d(6003);const B={scope:O.Scope.INLINE,whitelist:["serif","monospace"]},J=new O.ClassAttributor("font","ql-font",B);class U extends O.StyleAttributor{value(D){return super.value(D).replace(/["']/g,"")}}const ne=new U("font","font-family",B)},664:function(fe,Y,d){"use strict";d.d(Y,{U:function(){return B},r:function(){return J}});var O=d(6003);const B=new O.ClassAttributor("size","ql-size",{scope:O.Scope.INLINE,whitelist:["small","large","huge"]}),J=new O.StyleAttributor("size","font-size",{scope:O.Scope.INLINE,whitelist:["10px","18px","32px"]})},584:function(fe,Y,d){"use strict";d.d(Y,{Ay:function(){return De},hV:function(){return f}});var O=d(6003),B=d(5232),J=d.n(B),U=d(9698),ne=d(6078),k=d(4266),D=d(6142),L=d(8276),E=d(9541),S=d(9404),b=d(8638),A=d(7912),j=d(6772),V=d(664),he=d(8123);const me=/font-weight:\s*normal/,Se=["P","OL","UL"],ve=M=>M&&Se.includes(M.tagName),C=/\bmso-list:[^;]*ignore/i,le=/\bmso-list:[^;]*\bl(\d+)/i,be=/\bmso-list:[^;]*\blevel(\d+)/i,ue=[function(M){M.documentElement.getAttribute("xmlns:w")==="urn:schemas-microsoft-com:office:word"&&(R=>{const K=Array.from(R.querySelectorAll("[style*=mso-list]")),Q=[],z=[];
30K.forEach((q=>{(q.getAttribute("style")||"").match(C)?Q.push(q):z.push(q)})),Q.forEach((q=>q.parentNode?.removeChild(q)));const v=R.documentElement.innerHTML,N=z.map((q=>((X,te)=>{const pe=X.getAttribute("style"),we=pe?.match(le);if(!we)return null;const ye=Number(we[1]),Ee=pe?.match(be),Oe=Ee?Number(Ee[1]):1,Pe=new RegExp(`@list l${ye}:level${Oe}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),Ie=te.match(Pe);return{id:ye,indent:Oe,type:Ie&&Ie[1]==="bullet"?"bullet":"ordered",element:X}})(q,v))).filter((q=>q));for(;N.length;){const q=[];let X=N.shift();for(;X;)q.push(X),X=N.length&&N[0]?.element===X.element.nextElementSibling&&N[0].id===X.id?N.shift():null;const te=document.createElement("ul");q.forEach((ye=>{const Ee=document.createElement("li");Ee.setAttribute("data-list",ye.type),ye.indent>1&&Ee.setAttribute("class","ql-indent-"+(ye.indent-1)),Ee.innerHTML=ye.element.innerHTML,te.appendChild(Ee)}));const pe=q[0]?.element,{parentNode:we}=pe??{};pe&&we?.replaceChild(te,pe),q.slice(1).forEach((ye=>{let{element:Ee}=ye;we?.removeChild(Ee)}))}})(M)},function(M){M.querySelector('[id^="docs-internal-guid-"]')&&((R=>{Array.from(R.querySelectorAll('b[style*="font-weight"]')).filter((K=>K.getAttribute("style")?.match(me))).forEach((K=>{const Q=R.createDocumentFragment();Q.append(...K.childNodes),K.parentNode?.replaceChild(Q,K)}))})(M),(R=>{Array.from(R.querySelectorAll("br")).filter((K=>ve(K.previousElementSibling)&&ve(K.nextElementSibling))).forEach((K=>{K.parentNode?.removeChild(K)}))})(M))}],Ae=(0,ne.A)("quill:clipboard"),Me=[[Node.TEXT_NODE,function(M,R,K){let Q=M.data;if(M.parentElement?.tagName==="O:P")return R.insert(Q.trim());if(!h(M)){if(Q.trim().length===0&&Q.includes(` 31`)&&!(function(v,N){return v.previousElementSibling&&v.nextElementSibling&&!qe(v.previousElementSibling,N)&&!qe(v.nextElementSibling,N)})(M,K))return R;const z=(v,N)=>
31{const q=N.replace(/[^\u00a0]/g,"");return q.length<1&&v?" ":q};Q=Q.replace(/\r\n/g," ").replace(/\n/g," "),Q=Q.replace(/\s\s+/g,z.bind(z,!0)),(M.previousSibling==null&&M.parentElement!=null&&qe(M.parentElement,K)||M.previousSibling instanceof Element&&qe(M.previousSibling,K))&&(Q=Q.replace(/^\s+/,z.bind(z,!1))),(M.nextSibling==null&&M.parentElement!=null&&qe(M.parentElement,K)||M.nextSibling instanceof Element&&qe(M.nextSibling,K))&&(Q=Q.replace(/\s+$/,z.bind(z,!1)))}return R.insert(Q)}],[Node.TEXT_NODE,ee],["br",function(M,R){return xe(R,` 32`)||R.insert(` 33`),R}],[Node.ELEMENT_NODE,ee],[Node.ELEMENT_NODE,function(M,R,K){const Q=K.query(M);if(Q==null)return R;if(Q.prototype instanceof O.EmbedBlot){const z={},v=Q.value(M);if(v!=null)return z[Q.blotName]=v,new(J())().insert(z,Q.formats(M,K))}else if(Q.prototype instanceof O.BlockBlot&&!xe(R,` 34`)&&R.insert(` 35`),"blotName"in Q&&"formats"in Q&&typeof Q.formats=="function")return Te(R,Q.blotName,Q.formats(M,K),K);return R}],[Node.ELEMENT_NODE,function(M,R,K){const Q=O.Attributor.keys(M),z=O.ClassAttributor.keys(M),v=O.StyleAttributor.keys(M),N={};return Q.concat(z).concat(v).forEach((q=>{let X=K.query(q,O.Scope.ATTRIBUTE);X!=null&&(N[X.attrName]=X.value(M),N[X.attrName])||(X=ke[q],X==null||X.attrName!==q&&X.keyName!==q||(N[X.attrName]=X.value(M)||void 0),X=je[q],X==null||X.attrName!==q&&X.keyName!==q||(X=je[q],N[X.attrName]=X.value(M)||void 0))})),Object.entries(N).reduce(((q,X)=>{let[te,pe]=X;return Te(q,te,pe,K)}),R)}],[Node.ELEMENT_NODE,function(M,R,K){const Q={},z=M.style||{};return z.fontStyle==="italic"&&(Q.italic=!0),z.textDecoration==="underline"&&(Q.underline=!0),z.textDecoration==="line-through"&&(Q.strike=!0),(z.fontWeight?.startsWith("bold")||parseInt(z.fontWeight,10)>=700)&&(Q.bold=!0),R=Object.entries(Q).reduce(((v,N)=>{let[q,X]=N;return Te(v,q,X,K)}),R),parseFloat(z.textIndent||0)>0?new(J())().insert(" ").concat(R):R}],["li",function(M,R,K){const Q=K.query(M);if(Q==null||Q.blotName!=="list"||!xe(R,` 36`))return R;let z=-1,v=M.parentNode;for(;v!=null;)["OL","UL"].includes(v.tagName)&&(z+=1),v=v.parentNode;return z<=0?R:R.reduce(((N,q)=>q.insert?q.attributes&&typeof q.attributes.indent=="number"?N.push(q):N.insert(q.insert,{indent:z,...q.attributes||{}}):N),new(J()))}],["ol, ul",function(M,R,K){const Q=M;let z=Q.tagName==="OL"?"ordered":"bullet";const v=Q.getAttribute("data-checked");return v&&(z=v==="true"?"checked":"unchecked"),Te(R,"list",z,K)}],["pre",function(M,R,K){const Q=K.query("code-block");return Te(R,"code-block",!Q||!("formats"in Q)||typeof Q.formats!="function"||Q.formats(M,K),K)}],["tr",function(M,R,K){const Q=M.parentElement?.tagName==="TABLE"?M.parentElement:M.parentElement?.parentElement;return Q!=null?Te(R,"table",Array.from(Q.querySelectorAll("tr")).indexOf(M)+1,K):R}],["b",p("bold")],["i",p("italic")],["strike",p("strike")],["style",function(){return new(J())}]],ke=[L.gS,A.Mc].reduce(((M,R)=>(M[R.keyName]=R,M)),{}),je=[L.Hu,E.s,b.JM,A.VL,j.z,V.r].reduce(((M,R)=>(M[R.keyName]=R,M)),{});class De extends k.A{static DEFAULTS={matchers:[]};constructor(R,K){super(R,K),this.quill.root.addEventListener("copy",(Q=>this.onCaptureCopy(Q,!1))),this.quill.root.addEventListener("cut",(Q=>this.onCaptureCopy(Q,!0))),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],Me.concat(this.options.matchers??[]).forEach((Q=>{let[z,v]=Q;this.addMatcher(z,v)}))}addMatcher(R,K){this.matchers.push([R,K])}convert(R){let{html:K,text:Q}=R,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(z[S.Ay.blotName])return new(J())().insert(Q||"",{[S.Ay.blotName]:z[S.Ay.blotName]});if(!K)return new(J())().insert(Q||"",z);const v=this.convertHTML(K);return xe(v,` 37`)&&(v.ops[v.ops.length-1].attributes==null||z.table)?v.compose(new(J())().retain(v.length()-1).delete(1)):v}normalizeHTML(R){(K=>{K.documentElement&&ue.forEach((Q=>{Q(K)}))})(R)}convertHTML(R){const K=new DOMParser().parseFromString(R,"text/html");this.normalizeHTML(K);const Q=K.body,z=new WeakMap,[v,N]=this.prepareMatching(Q,z);return f(this.quill.scroll,Q,v,N,z)}dangerouslyPasteHTML(R,K){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D.Ay.sources.API;
37if(typeof R=="string"){const z=this.convert({html:R,text:""});this.quill.setContents(z,K),this.quill.setSelection(0,D.Ay.sources.SILENT)}else{const z=this.convert({html:K,text:""});this.quill.updateContents(new(J())().retain(R).concat(z),Q),this.quill.setSelection(R+z.length(),D.Ay.sources.SILENT)}}onCaptureCopy(R){let K=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(R.defaultPrevented)return;R.preventDefault();const[Q]=this.quill.selection.getRange();if(Q==null)return;const{html:z,text:v}=this.onCopy(Q,K);R.clipboardData?.setData("text/plain",v),R.clipboardData?.setData("text/html",z),K&&(0,he.Xo)({range:Q,quill:this.quill})}normalizeURIList(R){return R.split(/\r?\n/).filter((K=>K[0]!=="#")).join(` 38`)}onCapturePaste(R){if(R.defaultPrevented||!this.quill.isEnabled())return;R.preventDefault();const K=this.quill.getSelection(!0);if(K==null)return;const Q=R.clipboardData?.getData("text/html");let z=R.clipboardData?.getData("text/plain");if(!Q&&!z){const N=R.clipboardData?.getData("text/uri-list");N&&(z=this.normalizeURIList(N))}const v=Array.from(R.clipboardData?.files||[]);if(!Q&&v.length>0)this.quill.uploader.upload(K,v);else{if(Q&&v.length>0){const N=new DOMParser().parseFromString(Q,"text/html");if(N.body.childElementCount===1&&N.body.firstElementChild?.tagName==="IMG")return void this.quill.uploader.upload(K,v)}this.onPaste(K,{html:Q,text:z})}}onCopy(R){const K=this.quill.getText(R);return{html:this.quill.getSemanticHTML(R),text:K}}onPaste(R,K){let{text:Q,html:z}=K;const v=this.quill.getFormat(R.index),N=this.convert({text:Q,html:z},v);Ae.log("onPaste",N,{text:Q,html:z});const q=new(J())().retain(R.index).delete(R.length).concat(N);this.quill.updateContents(q,D.Ay.sources.USER),this.quill.setSelection(q.length()-R.length,D.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(R,K){const Q=[],z=[];return this.matchers.forEach((v=>{const[N,q]=v;switch(N){case Node.TEXT_NODE:z.push(q);break;case Node.ELEMENT_NODE:Q.push(q);break;default:Array.from(R.querySelectorAll(N)).forEach((X=>{K.has(X)?K.get(X)?.push(q):K.set(X,[q])}))}})),[Q,z]}}function Te(M,R,K,Q){return Q.query(R)?M.reduce(((z,v)=>{if(!v.insert)return z;if(v.attributes&&v.attributes[R])return z.push(v);const N=K?{[R]:K}:{};return z.insert(v.insert,{...N,...v.attributes})}),new(J())):M}function xe(M,R){let K="";for(let Q=M.ops.length-1;Q>=0&&K.length<R.length;--Q){const z=M.ops[Q];if(typeof z.insert!="string")break;K=z.insert+K}return K.slice(-1*R.length)===R}function qe(M,R){if(!(M instanceof Element))return!1;const K=R.query(M);return!(K&&K.prototype instanceof O.EmbedBlot)&&["address","article","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","iframe","li","main","nav","ol","output","p","pre","section","table","td","tr","ul","video"].includes(M.tagName.toLowerCase())}const $=new WeakMap;function h(M){return M!=null&&($.has(M)||(M.tagName==="PRE"?$.set(M,!0):$.set(M,h(M.parentNode))),$.get(M))}function f(M,R,K,Q,z){return R.nodeType===R.TEXT_NODE?Q.reduce(((v,N)=>N(R,v,M)),new(J())):R.nodeType===R.ELEMENT_NODE?Array.from(R.childNodes||[]).reduce(((v,N)=>{let q=f(M,N,K,Q,z);return N.nodeType===R.ELEMENT_NODE&&(q=K.reduce(((X,te)=>te(N,X,M)),q),q=(z.get(N)||[]).reduce(((X,te)=>te(N,X,M)),q)),v.concat(q)}),new(J())):new(J())}function p(M){return(R,K,Q)=>Te(K,M,!0,Q)}function ee(M,R,K){if(!xe(R,` 39`)){if(qe(M,K)&&(M.childNodes.length>0||M instanceof HTMLParagraphElement))return R.insert(` 40`);if(R.length()>0&&M.nextSibling){let Q=M.nextSibling;for(;Q!=null;){if(qe(Q,K))return R.insert(` 41`);const z=K.query(Q);if(z&&z.prototype instanceof U.zo)return R.insert(` 42`);Q=Q.firstChild}}}return R}},8123:function(fe,Y,d){"use strict";d.d(Y,{Ay:function(){return b},Xo:function(){return Se}});var O=d(5123),B=d(3707),J=d(5232),U=d.n(J),ne=d(6003),k=d(6142),D=d(6078),L=d(4266);const E=(0,D.A)("quill:keyboard"),S=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class b extends L.A{static match(C,le){return!["altKey","ctrlKey","metaKey","shiftKey"].some((be=>!!le[be]!==C[be]&&le[be]!==null))&&(le.key===C.key||le.key===C.which)}constructor(C,le){super(C,le),this.bindings={}
42,Object.keys(this.options.bindings).forEach((be=>{this.options.bindings[be]&&this.addBinding(this.options.bindings[be])})),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},(()=>{})),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(C){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const ue=(function(Ae){if(typeof Ae=="string"||typeof Ae=="number")Ae={key:Ae};else{if(typeof Ae!="object")return null;Ae=(0,B.A)(Ae)}return Ae.shortKey&&(Ae[S]=Ae.shortKey,delete Ae.shortKey),Ae})(C);ue!=null?(typeof le=="function"&&(le={handler:le}),typeof be=="function"&&(be={handler:be}),(Array.isArray(ue.key)?ue.key:[ue.key]).forEach((Ae=>{const Me={...ue,key:Ae,...le,...be};this.bindings[Me.key]=this.bindings[Me.key]||[],this.bindings[Me.key].push(Me)}))):E.warn("Attempted to add invalid keyboard binding",ue)}listen(){this.quill.root.addEventListener("keydown",(C=>{if(C.defaultPrevented||C.isComposing||C.keyCode===229&&(C.key==="Enter"||C.key==="Backspace"))return;const le=(this.bindings[C.key]||[]).concat(this.bindings[C.which]||[]).filter((h=>b.match(C,h)));if(le.length===0)return;const be=k.Ay.find(C.target,!0);if(be&&be.scroll!==this.quill.scroll)return;const ue=this.quill.getSelection();if(ue==null||!this.quill.hasFocus())return;const[Ae,Me]=this.quill.getLine(ue.index),[ke,je]=this.quill.getLeaf(ue.index),[De,Te]=ue.length===0?[ke,je]:this.quill.getLeaf(ue.index+ue.length),xe=ke instanceof ne.TextBlot?ke.value().slice(0,je):"",qe=De instanceof ne.TextBlot?De.value().slice(Te):"",$={collapsed:ue.length===0,empty:ue.length===0&&Ae.length()<=1,format:this.quill.getFormat(ue),line:Ae,offset:Me,prefix:xe,suffix:qe,event:C};le.some((h=>{if(h.collapsed!=null&&h.collapsed!==$.collapsed||h.empty!=null&&h.empty!==$.empty||h.offset!=null&&h.offset!==$.offset)return!1;if(Array.isArray(h.format)){if(h.format.every((f=>$.format[f]==null)))return!1}else if(typeof h.format=="object"&&!Object.keys(h.format).every((f=>h.format[f]===!0?$.format[f]!=null:h.format[f]===!1?$.format[f]==null:(0,O.A)(h.format[f],$.format[f]))))return!1;return!(h.prefix!=null&&!h.prefix.test($.prefix)||h.suffix!=null&&!h.suffix.test($.suffix)||h.handler.call(this,ue,$,h)===!0)}))&&C.preventDefault()}))}handleBackspace(C,le){const be=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(le.prefix)?2:1;if(C.index===0||this.quill.getLength()<=1)return;let ue={};const[Ae]=this.quill.getLine(C.index);let Me=new(U())().retain(C.index-be).delete(be);if(le.offset===0){const[ke]=this.quill.getLine(C.index-1);if(ke&&!(ke.statics.blotName==="block"&&ke.length()<=1)){const je=Ae.formats(),De=this.quill.getFormat(C.index-1,1);if(ue=J.AttributeMap.diff(je,De)||{},Object.keys(ue).length>0){const Te=new(U())().retain(C.index+Ae.length()-2).retain(1,ue);Me=Me.compose(Te)}}}this.quill.updateContents(Me,k.Ay.sources.USER),this.quill.focus()}handleDelete(C,le){const be=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(le.suffix)?2:1;if(C.index>=this.quill.getLength()-be)return;let ue={};const[Ae]=this.quill.getLine(C.index);let Me=new(U())().retain(C.index).delete(be);if(le.offset>=Ae.length()-1){const[ke]=this.quill.getLine(C.index+1);if(ke){const je=Ae.formats(),De=this.quill.getFormat(C.index,1);ue=J.AttributeMap.diff(je,De)||{},Object.keys(ue).length>0&&(Me=Me.retain(ke.length()-1).retain(1,ue))}}this.quill.updateContents(Me,k.Ay.sources.USER),this.quill.focus()}handleDeleteRange(C){Se({range:C,quill:this.quill}),this.quill.focus()}handleEnter(C,le){const be=Object.keys(le.format).reduce(((Ae,Me)=>
42(this.quill.scroll.query(Me,ne.Scope.BLOCK)&&!Array.isArray(le.format[Me])&&(Ae[Me]=le.format[Me]),Ae)),{}),ue=new(U())().retain(C.index).delete(C.length).insert(` 43`,be);this.quill.updateContents(ue,k.Ay.sources.USER),this.quill.setSelection(C.index+1,k.Ay.sources.SILENT),this.quill.focus()}}const A={bindings:{bold:he("bold"),italic:he("italic"),underline:he("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(ve,C){return!(!C.collapsed||C.offset===0)||(this.quill.format("indent","+1",k.Ay.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(ve,C){return!(!C.collapsed||C.offset===0)||(this.quill.format("indent","-1",k.Ay.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(ve,C){C.format.indent!=null?this.quill.format("indent","-1",k.Ay.sources.USER):C.format.list!=null&&this.quill.format("list",!1,k.Ay.sources.USER)}},"indent code-block":j(!0),"outdent code-block":j(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(ve){this.quill.deleteText(ve.index-1,1,k.Ay.sources.USER)}},tab:{key:"Tab",handler(ve,C){if(C.format.table)return!0;this.quill.history.cutoff();const le=new(U())().retain(ve.index).delete(ve.length).insert(" ");return this.quill.updateContents(le,k.Ay.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(ve.index+1,k.Ay.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,k.Ay.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(ve,C){const le={list:!1};C.format.indent&&(le.indent=!1),this.quill.formatLine(ve.index,ve.length,le,k.Ay.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(ve){const[C,le]=this.quill.getLine(ve.index),be={...C.formats(),list:"checked"},ue=new(U())().retain(ve.index).insert(` 44`,be).retain(C.length()-le-1).retain(1,{list:"unchecked"});this.quill.updateContents(ue,k.Ay.sources.USER),this.quill.setSelection(ve.index+1,k.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(ve,C){const[le,be]=this.quill.getLine(ve.index),ue=new(U())().retain(ve.index).insert(` 45`,C.format).retain(le.length()-be-1).retain(1,{header:null});this.quill.updateContents(ue,k.Ay.sources.USER),this.quill.setSelection(ve.index+1,k.Ay.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(ve){const C=this.quill.getModule("table");if(C){const[le,be,ue,Ae]=C.getTable(ve),Me=(function(je,De,Te,xe){return De.prev==null&&De.next==null?Te.prev==null&&Te.next==null?xe===0?-1:1:Te.prev==null?-1:1:De.prev==null?-1:De.next==null?1:null})(0,be,ue,Ae);if(Me==null)return;let ke=le.offset();if(Me<0){const je=new(U())().retain(ke).insert(` 46`);this.quill.updateContents(je,k.Ay.sources.USER),this.quill.setSelection(ve.index+1,ve.length,k.Ay.sources.SILENT)}else if(Me>0){ke+=le.length();const je=new(U())().retain(ke).insert(` 47`);this.quill.updateContents(je,k.Ay.sources.USER),this.quill.setSelection(ke,k.Ay.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(ve,C){const{event:le,line:be}=C,ue=be.offset(this.quill.scroll);le.shiftKey?this.quill.setSelection(ue-1,k.Ay.sources.USER):this.quill.setSelection(ue+be.length(),k.Ay.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(ve,C){if(this.quill.scroll.query("list")==null)return!0;const{length:le}=C.prefix,[be,ue]=this.quill.getLine(ve.index);if(ue>le)return!0;let Ae;switch(C.prefix.trim()){case"[]":case"[ ]":Ae="unchecked";break;case"[x]":Ae="checked";break;case"-":case"*":Ae="bullet";break;default:Ae="ordered"}this.quill.insertText(ve.index," ",k.Ay.sources.USER),this.quill.history.cutoff();const Me=new(U())().retain(ve.index-ue).delete(le+1).retain(be.length()-2-ue).retain(1,{list:Ae});return this.quill.updateContents(Me,k.Ay.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(ve.index-le,k.Ay.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(ve){const[C,le]=this.quill.getLine(ve.index);let be=2,ue=C;for(;ue!=null&&ue.length()<=1&&ue.formats()["code-block"];)if(ue=ue.prev,be-=1,be<=0){const Ae=new(U())().retain(ve.index+C.length()-le-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(Ae,k.Ay.sources.USER),this.quill.setSelection(ve.index-1,k.Ay.sources.SILENT),!1}return!0}},"embed left":V("ArrowLeft",!1),"embed left shift":V("ArrowLeft",!0),"embed right":V("ArrowRight",!1),"embed right shift":V("ArrowRight",!0),"table down":me(!1),"table up":me(!0)}};function j(ve){return{key:"Tab",shiftKey:!ve,format:{"code-block":!0},handler(C,le){let{event:be}=le;const ue=this.quill.scroll.query("code-block"),{TAB:Ae}=ue;if(C.length===0&&!be.shiftKey)return this.quill.insertText(C.index,Ae,k.Ay.sources.USER),void this.quill.setSelection(C.index+Ae.length,k.Ay.sources.SILENT);const Me=C.length===0?this.quill.getLines(C.index,1):this.quill.getLines(C);let{index:ke,length:je}=C;Me.forEach(((De,Te)=>{ve?(De.insertAt(0,Ae),Te===0?ke+=Ae.length:je+=Ae.length):De.domNode.textContent.startsWith(Ae)&&(De.deleteAt(0,Ae.length),Te===0?ke-=Ae.length:je-=Ae.length)})),this.quill.update(k.Ay.sources.USER),this.quill.setSelection(ke,je,k.Ay.sources.SILENT)}}}function V(ve,C){return{key:ve,shiftKey:C,altKey:null,[ve==="ArrowLeft"?"prefix":"suffix"]:/^$/,handler(le){let{index:be}=le;ve==="ArrowRight"&&(be+=le.length+1);const[ue]=this.quill.getLeaf(be);return!(ue instanceof ne.EmbedBlot&&(ve==="ArrowLeft"?C?this.quill.setSelection(le.index-1,le.length+1,k.Ay.sources.USER):this.quill.setSelection(le.index-1,k.Ay.sources.USER):C?this.quill.setSelection(le.index,le.length+1,k.Ay.sources.USER):this.quill.setSelection(le.index+le.length+1,k.Ay.sources.USER),1))}}}function he(ve){return{key:ve[0],shortKey:!0,handler(C,le){this.quill.format(ve,!le.format[ve],k.Ay.sources.USER)}}}function me(ve){return{key:ve?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(C,le){const be=ve?"prev":"next",ue=le.line,Ae=ue.parent[be];
47if(Ae!=null){if(Ae.statics.blotName==="table-row"){let Me=Ae.children.head,ke=ue;for(;ke.prev!=null;)ke=ke.prev,Me=Me.next;const je=Me.offset(this.quill.scroll)+Math.min(le.offset,Me.length()-1);this.quill.setSelection(je,0,k.Ay.sources.USER)}}else{const Me=ue.table()[be];Me!=null&&(ve?this.quill.setSelection(Me.offset(this.quill.scroll)+Me.length()-1,0,k.Ay.sources.USER):this.quill.setSelection(Me.offset(this.quill.scroll),0,k.Ay.sources.USER))}return!1}}}function Se(ve){let{quill:C,range:le}=ve;const be=C.getLines(le);let ue={};if(be.length>1){const Ae=be[0].formats(),Me=be[be.length-1].formats();ue=J.AttributeMap.diff(Me,Ae)||{}}C.deleteText(le,k.Ay.sources.USER),Object.keys(ue).length>0&&C.formatLine(le.index,1,ue,k.Ay.sources.USER),C.setSelection(le.index,k.Ay.sources.SILENT)}b.DEFAULTS=A},8920:function(fe){"use strict";var Y=Object.prototype.hasOwnProperty,d="~";function O(){}function B(k,D,L){this.fn=k,this.context=D,this.once=L||!1}function J(k,D,L,E,S){if(typeof L!="function")throw new TypeError("The listener must be a function");var b=new B(L,E||k,S),A=d?d+D:D;return k._events[A]?k._events[A].fn?k._events[A]=[k._events[A],b]:k._events[A].push(b):(k._events[A]=b,k._eventsCount++),k}function U(k,D){--k._eventsCount==0?k._events=new O:delete k._events[D]}function ne(){this._events=new O,this._eventsCount=0}Object.create&&(O.prototype=Object.create(null),new O().__proto__||(d=!1)),ne.prototype.eventNames=function(){var k,D,L=[];if(this._eventsCount===0)return L;for(D in k=this._events)Y.call(k,D)&&L.push(d?D.slice(1):D);return Object.getOwnPropertySymbols?L.concat(Object.getOwnPropertySymbols(k)):L},ne.prototype.listeners=function(k){var D=d?d+k:k,L=this._events[D];if(!L)return[];if(L.fn)return[L.fn];for(var E=0,S=L.length,b=new Array(S);E<S;E++)b[E]=L[E].fn;return b},ne.prototype.listenerCount=function(k){var D=d?d+k:k,L=this._events[D];return L?L.fn?1:L.length:0},ne.prototype.emit=function(k,D,L,E,S,b){var A=d?d+k:k;if(!this._events[A])return!1;var j,V,he=this._events[A],me=arguments.length;if(he.fn){switch(he.once&&this.removeListener(k,he.fn,void 0,!0),me){case 1:return he.fn.call(he.context),!0;case 2:return he.fn.call(he.context,D),!0;case 3:return he.fn.call(he.context,D,L),!0;case 4:return he.fn.call(he.context,D,L,E),!0;case 5:return he.fn.call(he.context,D,L,E,S),!0;case 6:return he.fn.call(he.context,D,L,E,S,b),!0}for(V=1,j=new Array(me-1);V<me;V++)j[V-1]=arguments[V];he.fn.apply(he.context,j)}else{var Se,ve=he.length;for(V=0;V<ve;V++)switch(he[V].once&&this.removeListener(k,he[V].fn,void 0,!0),me){case 1:he[V].fn.call(he[V].context);break;case 2:he[V].fn.call(he[V].context,D);break;case 3:he[V].fn.call(he[V].context,D,L);break;case 4:he[V].fn.call(he[V].context,D,L,E);break;default:if(!j)for(Se=1,j=new Array(me-1);Se<me;Se++)j[Se-1]=arguments[Se];he[V].fn.apply(he[V].context,j)}}return!0},ne.prototype.on=function(k,D,L){return J(this,k,D,L,!1)},ne.prototype.once=function(k,D,L){return J(this,k,D,L,!0)},ne.prototype.removeListener=function(k,D,L,E){var S=d?d+k:k;if(!this._events[S])return this;if(!D)return U(this,S),this;var b=this._events[S];if(b.fn)b.fn!==D||E&&!b.once||L&&b.context!==L||U(this,S);else{for(var A=0,j=[],V=b.length;A<V;A++)(b[A].fn!==D||E&&!b[A].once||L&&b[A].context!==L)&&j.push(b[A]);j.length?this._events[S]=j.length===1?j[0]:j:U(this,S)}return this},ne.prototype.removeAllListeners=function(k){var D;return k?(D=d?d+k:k,this._events[D]&&U(this,D)):(this._events=new O,this._eventsCount=0),this},ne.prototype.off=ne.prototype.removeListener,ne.prototype.addListener=ne.prototype.on,ne.prefixed=d,ne.EventEmitter=ne,fe.exports=ne},5090:function(fe){var Y=-1,d=1,O=0;function B(C,le,be,ue,Ae){if(C===le)return C?[[O,C]]:[];if(be!=null){var Me=(function(xe,qe,$){var h=typeof $=="number"?{index:$,length:0}:$.oldRange,f=typeof $=="number"?null:$.newRange,p=xe.length,ee=qe.length;if(h.length===0&&(f===null||f.length===0)){var M=h.index,R=xe.slice(0,M),K=xe.slice(M),Q=f?f.index:null,z=M+ee-p;if((Q===null||Q===z)&&!(z<0||z>ee)){var v=qe.slice(0,z);if((X=qe.slice(z))===K){var N=Math.min(M,z);
47if((pe=R.slice(0,N))===(ye=v.slice(0,N)))return Se(pe,R.slice(N),v.slice(N),K)}}if(Q===null||Q===M){var q=M,X=(v=qe.slice(0,q),qe.slice(q));if(v===R){var te=Math.min(p-q,ee-q);if((we=K.slice(K.length-te))===(Ee=X.slice(X.length-te)))return Se(R,K.slice(0,K.length-te),X.slice(0,X.length-te),we)}}}if(h.length>0&&f&&f.length===0){var pe=xe.slice(0,h.index),we=xe.slice(h.index+h.length);if(!(ee<(N=pe.length)+(te=we.length))){var ye=qe.slice(0,N),Ee=qe.slice(ee-te);if(pe===ye&&we===Ee)return Se(pe,xe.slice(N,p-te),qe.slice(N,ee-te),we)}}return null})(C,le,be);if(Me)return Me}var ke=U(C,le),je=C.substring(0,ke);ke=k(C=C.substring(ke),le=le.substring(ke));var De=C.substring(C.length-ke),Te=(function(xe,qe){var $;if(!xe)return[[d,qe]];if(!qe)return[[Y,xe]];var h=xe.length>qe.length?xe:qe,f=xe.length>qe.length?qe:xe,p=h.indexOf(f);if(p!==-1)return $=[[d,h.substring(0,p)],[O,f],[d,h.substring(p+f.length)]],xe.length>qe.length&&($[0][0]=$[2][0]=Y),$;if(f.length===1)return[[Y,xe],[d,qe]];var ee=(function(q,X){var te=q.length>X.length?q:X,pe=q.length>X.length?X:q;if(te.length<4||2*pe.length<te.length)return null;function we(Fe,Qe,Je){for(var tt,$e,Ue,Ze,st=Fe.substring(Je,Je+Math.floor(Fe.length/4)),Xe=-1,rt="";(Xe=Qe.indexOf(st,Xe+1))!==-1;){var pt=U(Fe.substring(Je),Qe.substring(Xe)),mt=k(Fe.substring(0,Je),Qe.substring(0,Xe));rt.length<mt+pt&&(rt=Qe.substring(Xe-mt,Xe)+Qe.substring(Xe,Xe+pt),tt=Fe.substring(0,Je-mt),$e=Fe.substring(Je+pt),Ue=Qe.substring(0,Xe-mt),Ze=Qe.substring(Xe+pt))}return 2*rt.length>=Fe.length?[tt,$e,Ue,Ze,rt]:null}var ye,Ee,Oe,Pe,Ie,He=we(te,pe,Math.ceil(te.length/4)),Re=we(te,pe,Math.ceil(te.length/2));return He||Re?(ye=Re?He&&He[4].length>Re[4].length?He:Re:He,q.length>X.length?(Ee=ye[0],Oe=ye[1],Pe=ye[2],Ie=ye[3]):(Pe=ye[0],Ie=ye[1],Ee=ye[2],Oe=ye[3]),[Ee,Oe,Pe,Ie,ye[4]]):null})(xe,qe);if(ee){var M=ee[0],R=ee[1],K=ee[2],Q=ee[3],z=ee[4],v=B(M,K),N=B(R,Q);return v.concat([[O,z]],N)}return(function(q,X){for(var te=q.length,pe=X.length,we=Math.ceil((te+pe)/2),ye=we,Ee=2*we,Oe=new Array(Ee),Pe=new Array(Ee),Ie=0;Ie<Ee;Ie++)Oe[Ie]=-1,Pe[Ie]=-1;Oe[ye+1]=0,Pe[ye+1]=0;for(var He=te-pe,Re=He%2!=0,Fe=0,Qe=0,Je=0,tt=0,$e=0;$e<we;$e++){for(var Ue=-$e+Fe;Ue<=$e-Qe;Ue+=2){for(var Ze=ye+Ue,st=(at=Ue===-$e||Ue!==$e&&Oe[Ze-1]<Oe[Ze+1]?Oe[Ze+1]:Oe[Ze-1]+1)-Ue;at<te&&st<pe&&q.charAt(at)===X.charAt(st);)at++,st++;if(Oe[Ze]=at,at>te)Qe+=2;else if(st>pe)Fe+=2;else if(Re&&(pt=ye+He-Ue)>=0&&pt<Ee&&Pe[pt]!==-1&&at>=(rt=te-Pe[pt]))return J(q,X,at,st)}for(var Xe=-$e+Je;Xe<=$e-tt;
47Xe+=2){for(var rt,pt=ye+Xe,mt=(rt=Xe===-$e||Xe!==$e&&Pe[pt-1]<Pe[pt+1]?Pe[pt+1]:Pe[pt-1]+1)-Xe;rt<te&&mt<pe&&q.charAt(te-rt-1)===X.charAt(pe-mt-1);)rt++,mt++;if(Pe[pt]=rt,rt>te)tt+=2;else if(mt>pe)Je+=2;else if(!Re){var at;if((Ze=ye+He-Xe)>=0&&Ze<Ee&&Oe[Ze]!==-1&&(st=ye+(at=Oe[Ze])-Ze,at>=(rt=te-rt)))return J(q,X,at,st)}}}return[[Y,q],[d,X]]})(xe,qe)})(C=C.substring(0,C.length-ke),le=le.substring(0,le.length-ke));return je&&Te.unshift([O,je]),De&&Te.push([O,De]),A(Te,Ae),ue&&(function(xe){for(var qe=!1,$=[],h=0,f=null,p=0,ee=0,M=0,R=0,K=0;p<xe.length;)xe[p][0]==O?($[h++]=p,ee=R,M=K,R=0,K=0,f=xe[p][1]):(xe[p][0]==d?R+=xe[p][1].length:K+=xe[p][1].length,f&&f.length<=Math.max(ee,M)&&f.length<=Math.max(R,K)&&(xe.splice($[h-1],0,[Y,f]),xe[$[h-1]+1][0]=d,h--,p=--h>0?$[h-1]:-1,ee=0,M=0,R=0,K=0,f=null,qe=!0)),p++;for(qe&&A(xe),(function(q){function X(Qe,Je){if(!Qe||!Je)return 6;var tt=Qe.charAt(Qe.length-1),$e=Je.charAt(0),Ue=tt.match(D),Ze=$e.match(D),st=Ue&&tt.match(L),Xe=Ze&&$e.match(L),rt=st&&tt.match(E),pt=Xe&&$e.match(E),mt=rt&&Qe.match(S),at=pt&&Je.match(b);return mt||at?5:rt||pt?4:Ue&&!st&&Xe?3:st||Xe?2:Ue||Ze?1:0}for(var te=1;te<q.length-1;){if(q[te-1][0]==O&&q[te+1][0]==O){var pe=q[te-1][1],we=q[te][1],ye=q[te+1][1],Ee=k(pe,we);if(Ee){var Oe=we.substring(we.length-Ee);pe=pe.substring(0,pe.length-Ee),we=Oe+we.substring(0,we.length-Ee),ye=Oe+ye}for(var Pe=pe,Ie=we,He=ye,Re=X(pe,we)+X(we,ye);we.charAt(0)===ye.charAt(0);){pe+=we.charAt(0),we=we.substring(1)+ye.charAt(0),ye=ye.substring(1);var Fe=X(pe,we)+X(we,ye);Fe>=Re&&(Re=Fe,Pe=pe,Ie=we,He=ye)}q[te-1][1]!=Pe&&(Pe?q[te-1][1]=Pe:(q.splice(te-1,1),te--),q[te][1]=Ie,He?q[te+1][1]=He:(q.splice(te+1,1),te--))}te++}})(xe),p=1;p<xe.length;){if(xe[p-1][0]==Y&&xe[p][0]==d){var Q=xe[p-1][1],z=xe[p][1],v=ne(Q,z),N=ne(z,Q);v>=N?(v>=Q.length/2||v>=z.length/2)&&(xe.splice(p,0,[O,z.substring(0,v)]),xe[p-1][1]=Q.substring(0,Q.length-v),xe[p+1][1]=z.substring(v),p++):(N>=Q.length/2||N>=z.length/2)&&(xe.splice(p,0,[O,Q.substring(0,N)]),xe[p-1][0]=d,xe[p-1][1]=z.substring(0,z.length-N),xe[p+1][0]=Y,xe[p+1][1]=Q.substring(N),p++),p++}p++}})(Te),Te}function J(C,le,be,ue){var Ae=C.substring(0,be),Me=le.substring(0,ue),ke=C.substring(be),je=le.substring(ue),De=B(Ae,Me),Te=B(ke,je);return De.concat(Te)}function U(C,le){if(!C||!le||C.charAt(0)!==le.charAt(0))return 0;for(var be=0,ue=Math.min(C.length,le.length),Ae=ue,Me=0;be<Ae;)C.substring(Me,Ae)==le.substring(Me,Ae)?Me=be=Ae:ue=Ae,Ae=Math.floor((ue-be)/2+be);return j(C.charCodeAt(Ae-1))&&Ae--,Ae}function ne(C,le){var be=C.length,ue=le.length;if(be==0||ue==0)return 0;be>ue?C=C.substring(be-ue):be<ue&&(le=le.substring(0,be));var Ae=Math.min(be,ue);if(C==le)return Ae;for(var Me=0,ke=1;;){var je=C.substring(Ae-ke),De=le.indexOf(je);if(De==-1)return Me;ke+=De,De!=0&&C.substring(Ae-ke)!=le.substring(0,ke)||(Me=ke,ke++)}}function k(C,le){if(!C||!le||C.slice(-1)!==le.slice(-1))return 0;for(var be=0,ue=Math.min(C.length,le.length),Ae=ue,Me=0;be<Ae;)C.substring(C.length-Ae,C.length-Me)==le.substring(le.length-Ae,le.length-Me)?Me=be=Ae:ue=Ae,Ae=Math.floor((ue-be)/2+be);return V(C.charCodeAt(C.length-Ae))&&Ae--,Ae}var D=/[^a-zA-Z0-9]/,L=/\s/,E=/[\r\n]/,S=/\n\r?\n$/,b=/^\r?\n\r?\n/;function A(C,le){C.push([O,""]);for(var be,ue=0,Ae=0,Me=0,ke="",je="";ue<C.length;)if(ue<C.length-1&&!C[ue][1])C.splice(ue,1);else switch(C[ue][0]){case d:Me++,je+=C[ue][1],ue++;break;case Y:Ae++,ke+=C[ue][1],ue++;break;case O:var De=ue-Me-Ae-1;if(le){if(De>=0&&me(C[De][1])){var Te=C[De][1].slice(-1);if(C[De][1]=C[De][1].slice(0,-1),ke=Te+ke,je=Te+je,!C[De][1]){C.splice(De,1),ue--;var xe=De-1;C[xe]&&C[xe][0]===d&&(Me++,je=C[xe][1]+je,xe--),C[xe]&&C[xe][0]===Y&&(Ae++,ke=C[xe][1]+ke,xe--),De=xe}}he(C[ue][1])&&(Te=C[ue][1].charAt(0),C[ue][1]=C[ue][1].slice(1),ke+=Te,je+=Te)}if(ue<C.length-1&&!C[ue][1]){C.splice(ue,1);break}if(ke.length>0||je.length>0){ke.length>0&&je.length>0&&((be=U(je,ke))!==0&&(De>=0?C[De][1]+=je.substring(0,be):(C.splice(0,0,[O,je.substring(0,be)]),ue++),je=je.substring(be),ke=ke.substring(be)),(be=k(je,ke))!==0&&(C[ue][1]=je.substring(je.length-be)+C[ue][1],je=je.substring(0,je.length-be),ke=ke.substring(0,ke.length-be)));var qe=Me+Ae;ke.length===0&&je.length===0?(C.splice(ue-qe,qe),ue-=qe):ke.length===0?(C.splice(ue-qe,qe,[d,je]),ue=ue-qe+1):je.length===0?(C.splice(ue-qe,qe,[Y,ke]),ue=ue-qe+1):(C.splice(ue-qe,qe,[Y,ke],[d,je]),ue=ue-qe+2)}ue!==0&&C[ue-1][0]===O?(C[ue-1][1]+=C[ue][1],C.splice(ue,1)):ue++,Me=0,Ae=0,ke="",je=""}C[C.length-1][1]===""&&C.pop();var $=!1;for(ue=1;ue<C.length-1;)C[ue-1][0]===O&&C[ue+1][0]===O&&(C[ue][1].substring(C[ue][1].length-C[ue-1][1].length)===C[ue-1][1]?(C[ue][1]=C[ue-1][1]+C[ue][1].substring(0,C[ue][1].length-C[ue-1][1].length),C[ue+1][1]=C[ue-1][1]+C[ue+1][1],C.splice(ue-1,1),$=!0):C[ue][1].substring(0,C[ue+1][1].length)==C[ue+1][1]&&(C[ue-1][1]+=C[ue+1][1],C[ue][1]=C[ue][1].substring(C[ue+1][1].length)+C[ue+1][1],C.splice(ue+1,1),$=!0)),ue++;$&&A(C,le)}function j(C){return C>=55296&&C<=56319}function V(C){return C>=56320&&C<=57343}function he(C){return V(C.charCodeAt(0))}function me(C){return j(C.charCodeAt(C.length-1))}function Se(C,le,be,ue){return me(C)||he(ue)?null:(function(Ae){for(var Me=[],ke=0;ke<Ae.length;ke++)Ae[ke][1].length>0&&Me.push(Ae[ke]);return Me})([[O,C],[Y,le],[d,be],[O,ue]])}function ve(C,le,be,ue){return B(C,le,be,ue,!0)}ve.INSERT=d,ve.DELETE=Y,ve.EQUAL=O,fe.exports=ve},9629:function(fe,Y,d){fe=d.nmd(fe);var O="__lodash_hash_undefined__",B=9007199254740991,J="[object Arguments]",U="[object Boolean]",ne="[object Date]",k="[object Function]",D="[object GeneratorFunction]",L="[object Map]",E="[object Number]",S="[object Object]",b="[object Promise]",A="[object RegExp]",j="[object Set]",V="[object String]",he="[object Symbol]",me="[object WeakMap]",Se="[object ArrayBuffer]",ve="[object DataView]",C="[object Float32Array]",le="[object Float64Array
47]",be="[object Int8Array]",ue="[object Int16Array]",Ae="[object Int32Array]",Me="[object Uint8Array]",ke="[object Uint8ClampedArray]",je="[object Uint16Array]",De="[object Uint32Array]",Te=/\w*$/,xe=/^\[object .+?Constructor\]$/,qe=/^(?:0|[1-9]\d*)$/,$={};$[J]=$["[object Array]"]=$[Se]=$[ve]=$[U]=$[ne]=$[C]=$[le]=$[be]=$[ue]=$[Ae]=$[L]=$[E]=$[S]=$[A]=$[j]=$[V]=$[he]=$[Me]=$[ke]=$[je]=$[De]=!0,$["[object Error]"]=$[k]=$[me]=!1;var h=typeof d.g=="object"&&d.g&&d.g.Object===Object&&d.g,f=typeof self=="object"&&self&&self.Object===Object&&self,p=h||f||Function("return this")(),ee=Y&&!Y.nodeType&&Y,M=ee&&fe&&!fe.nodeType&&fe,R=M&&M.exports===ee;function K(oe,g){return oe.set(g[0],g[1]),oe}function Q(oe,g){return oe.add(g),oe}function z(oe,g,H,se){var Le=-1,Be=oe?oe.length:0;for(se&&Be&&(H=oe[++Le]);++Le<Be;)H=g(H,oe[Le],Le,oe);return H}function v(oe){var g=!1;if(oe!=null&&typeof oe.toString!="function")try{g=!!(oe+"")}catch{}return g}function N(oe){var g=-1,H=Array(oe.size);return oe.forEach((function(se,Le){H[++g]=[Le,se]})),H}function q(oe,g){return function(H){return oe(g(H))}}function X(oe){var g=-1,H=Array(oe.size);return oe.forEach((function(se){H[++g]=se})),H}var te,pe=Array.prototype,we=Function.prototype,ye=Object.prototype,Ee=p["__core-js_shared__"],Oe=(te=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||""))?"Symbol(src)_1."+te:"",Pe=we.toString,Ie=ye.hasOwnProperty,He=ye.toString,Re=RegExp("^"+Pe.call(Ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=R?p.Buffer:void 0,Qe=p.Symbol,Je=p.Uint8Array,tt=q(Object.getPrototypeOf,Object),$e=Object.create,Ue=ye.propertyIsEnumerable,Ze=pe.splice,st=Object.getOwnPropertySymbols,Xe=Fe?Fe.isBuffer:void 0,rt=q(Object.keys,Object),pt=o(p,"DataView"),mt=o(p,"Map"),at=o(p,"Promise"),e=o(p,"Set"),s=o(p,"WeakMap"),t=o(Object,"create"),r=ie(pt),n=ie(mt),i=ie(at),w=ie(e),y=ie(s),l=Qe?Qe.prototype:void 0,m=l?l.valueOf:void 0;function T(oe){var g=-1,H=oe?oe.length:0;for(this.clear();++g<H;){var se=oe[g];this.set(se[0],se[1])}}function x(oe){var g=-1,H=oe?oe.length:0;for(this.clear();++g<H;){var se=oe[g];this.set(se[0],se[1])}}function u(oe){var g=-1,H=oe?oe.length:0;for(this.clear();++g<H;){var se=oe[g];this.set(se[0],se[1])}}function c(oe){this.__data__=new x(oe)}function F(oe,g,H){var se=oe[g];Ie.call(oe,g)&&G(se,H)&&(H!==void 0||g in oe)||(oe[g]=H)}function P(oe,g){for(var H=oe.length;H--;)if(G(oe[H][0],g))return H;return-1}function W(oe,g,H,se,Le,Be,Ne){var ze;if(se&&(ze=Be?se(oe,Le,Be,Ne):se(oe)),ze!==void 0)return ze;if(!Ge(oe))return oe;var it=ce(oe);if(it){if(ze=(function(Ve){var Ke=Ve.length,nt=Ve.constructor(Ke);return Ke&&typeof Ve[0]=="string"&&Ie.call(Ve,"index")&&(nt.index=Ve.index,nt.input=Ve.input),nt})(oe),!g)return(function(Ve,Ke){var nt=-1,bt=Ve.length;for(Ke||(Ke=Array(bt));++nt<bt;)Ke[nt]=Ve[nt];return Ke})(oe,ze)}else{var ot=Z(oe),ut=ot==k||ot==D;if(Ce(oe))return(function(Ve,Ke){if(Ke)return Ve.slice();var nt=new Ve.constructor(Ve.length);return Ve.copy(nt),nt})(oe,g);if(ot==S||ot==J||ut&&!Be){if(v(oe))return Be?oe:{};if(ze=(function(Ve){return typeof Ve.constructor!="function"||de(Ve)?{}:Ge(Ke=tt(Ve))?$e(Ke):{};var Ke})(ut?{}:oe),!g)return(function(Ve,Ke){return I(Ve,_(Ve),Ke)})(oe,(function(Ve,Ke){return Ve&&I(Ke,Ye(Ke),Ve)})(ze,oe))}else{if(!$[ot])return Be?oe:{};ze=(function(Ve,Ke,nt,bt){var xt,wt=Ve.constructor;switch(Ke){case Se:return ae(Ve);case U:case ne:return new wt(+Ve);case ve:return(function(lt,yt){var At=yt?ae(lt.buffer):lt.buffer;return new lt.constructor(At,lt.byteOffset,lt.byteLength)})(Ve,bt);case C:case le:case be:case ue:case Ae:case Me:case ke:case je:case De:return(function(lt,yt){var At=yt?ae(lt.buffer):lt.buffer;return new lt.constructor(At,lt.byteOffset,lt.length)})(Ve,bt);case L:return(function(lt,yt,At){return z(yt?At(N(lt),!0):N(lt),K,new lt.constructor)})(Ve,bt,nt);case E:case V:return new wt(Ve);case A:return(function(lt){var yt=new lt.constructor(lt.source,Te.exec(lt));return yt.lastIndex=lt.lastIndex,yt})(Ve);case j:return(function(lt,yt,At){return z(yt?At(X(lt),!0):X(lt),Q,new lt.constructor)})(Ve,bt,nt);case he:return xt=Ve,m?Object(m.call(xt)):{}}})(oe,ot,W,g)}}Ne||(Ne=new c);var ct=Ne.get(oe);if(ct)return ct;if(Ne.set(oe,ze),!it)var vt=H?(function(Ve){return(function(Ke,nt,bt){var xt=nt(Ke);return ce(Ke)?xt:(function(wt,lt){for(var yt=-1,At=lt.length,Mt=wt.length;++yt<At;)wt[Mt+yt]=lt[yt];return wt})(xt,bt(Ke))})(Ve,Ye,_)})(oe):Ye(oe);return(function(Ve,Ke){for(var nt=-1,bt=Ve?Ve.length:0;++nt<bt&&Ke(Ve[nt],nt)!==!1;);})(vt||oe,(function(Ve,Ke){vt&&(Ve=oe[Ke=Ve]),F(ze,Ke,W(Ve,g,H,se,Ke,oe,Ne))})),ze}function ae(oe){var g=new oe.constructor(oe.byteLength);return new Je(g).set(new Je(oe)),g}function I(oe,g,H,se){H||(H={});for(var Le=-1,Be=g.length;++Le<Be;){var Ne=g[Le],ze=se?se(H[Ne],oe[Ne],Ne,H,oe):void 0;F(H,Ne,ze===void 0?oe[Ne]:ze)}return H}function a(oe,g){var H,se,Le=oe.__data__;return((se=typeof(H=g))=="string"||se=="number"||se=="symbol"||se=="boolean"?H!=="__proto__":H===null)?Le[typeof g=="string"?"string":"hash"]:Le.map}function o(oe,g){var H=(function(se,Le){return se?.[Le]})(oe,g);return(function(se){return!(!Ge(se)||(Le=se,Oe&&Oe in Le))&&(_e(se)||v(se)?Re:xe).test(ie(se));var Le})(H)?H:void 0}T.prototype.clear=function(){this.__data__=t?t(null):{}},T.prototype.delete=function(oe){return this.has(oe)&&delete this.__data__[oe]},T.prototype.get=function(oe){var g=this.__data__;if(t){var H=g[oe];return H===O?void 0:H}return Ie.call(g,oe)?g[oe]:void 0},T.prototype.has=function(oe){var g=this.__data__;return t?g[oe]!==void 0:Ie.call(g,oe)},T.prototype.set=function(oe,g){return this.__data__[oe]=t&&g===void 0?O:g,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(oe){var g=this.__data__,H=P(g,oe);return!(H<0||(H==g.length-1?g.pop():Ze.call(g,H,1),0))},x.prototype.get=function(oe){var g=this.__data__,H=P(g,oe);return H<0?void 0:g[H][1]},x.prototype.has=function(oe){return P(this.__data__,oe)>-1},x.prototype.set=function(oe,g){var H=this.__data__,se=P(H,oe);return se<0?H.push([oe,g]):H[se][1]=g,this},u.prototype.clear=function(){this.__data__={hash:new T,map:new(mt||x),str
47ing:new T}},u.prototype.delete=function(oe){return a(this,oe).delete(oe)},u.prototype.get=function(oe){return a(this,oe).get(oe)},u.prototype.has=function(oe){return a(this,oe).has(oe)},u.prototype.set=function(oe,g){return a(this,oe).set(oe,g),this},c.prototype.clear=function(){this.__data__=new x},c.prototype.delete=function(oe){return this.__data__.delete(oe)},c.prototype.get=function(oe){return this.__data__.get(oe)},c.prototype.has=function(oe){return this.__data__.has(oe)},c.prototype.set=function(oe,g){var H=this.__data__;if(H instanceof x){var se=H.__data__;if(!mt||se.length<199)return se.push([oe,g]),this;H=this.__data__=new u(se)}return H.set(oe,g),this};var _=st?q(st,Object):function(){return[]},Z=function(oe){return He.call(oe)};function re(oe,g){return!!(g=g??B)&&(typeof oe=="number"||qe.test(oe))&&oe>-1&&oe%1==0&&oe<g}function de(oe){var g=oe&&oe.constructor;return oe===(typeof g=="function"&&g.prototype||ye)}function ie(oe){if(oe!=null){try{return Pe.call(oe)}catch{}try{return oe+""}catch{}}return""}function G(oe,g){return oe===g||oe!=oe&&g!=g}(pt&&Z(new pt(new ArrayBuffer(1)))!=ve||mt&&Z(new mt)!=L||at&&Z(at.resolve())!=b||e&&Z(new e)!=j||s&&Z(new s)!=me)&&(Z=function(oe){var g=He.call(oe),H=g==S?oe.constructor:void 0,se=H?ie(H):void 0;if(se)switch(se){case r:return ve;case n:return L;case i:return b;case w:return j;case y:return me}return g});var ce=Array.isArray;function ge(oe){return oe!=null&&(function(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=B})(oe.length)&&!_e(oe)}var Ce=Xe||function(){return!1};function _e(oe){var g=Ge(oe)?He.call(oe):"";return g==k||g==D}function Ge(oe){var g=typeof oe;return!!oe&&(g=="object"||g=="function")}function Ye(oe){return ge(oe)?(function(g,H){var se=ce(g)||(function(ze){return(function(it){return(function(ot){return!!ot&&typeof ot=="object"})(it)&&ge(it)})(ze)&&Ie.call(ze,"callee")&&(!Ue.call(ze,"callee")||He.call(ze)==J)})(g)?(function(ze,it){for(var ot=-1,ut=Array(ze);++ot<ze;)ut[ot]=it(ot);return ut})(g.length,String):[],Le=se.length,Be=!!Le;for(var Ne in g)!H&&!Ie.call(g,Ne)||Be&&(Ne=="length"||re(Ne,Le))||se.push(Ne);return se})(oe):(function(g){if(!de(g))return rt(g);var H=[];for(var se in Object(g))Ie.call(g,se)&&se!="constructor"&&H.push(se);return H})(oe)}fe.exports=function(oe){return W(oe,!0,!0)}},4162:function(fe,Y,d){fe=d.nmd(fe);var O="__lodash_hash_undefined__",B=1,J=2,U=9007199254740991,ne="[object Arguments]",k="[object Array]",D="[object AsyncFunction]",L="[object Boolean]",E="[object Date]",S="[object Error]",b="[object Function]",A="[object GeneratorFunction]",j="[object Map]",V="[object Number]",he="[object Null]",me="[object Object]",Se="[object Promise]",ve="[object Proxy]",C="[object RegExp]",le="[object Set]",be="[object String]",ue="[object Undefined]",Ae="[object WeakMap]",Me="[object ArrayBuffer]",ke="[object DataView]",je=/^\[object .+?Constructor\]$/,De=/^(?:0|[1-9]\d*)$/,Te={};Te["[object Float32Array]"]=Te["[object Float64Array]"]=Te["[object Int8Array]"]=Te["[object Int16Array]"]=Te["[object Int32Array]"]=Te["[object Uint8Array]"]=Te["[object Uint8ClampedArray]"]=Te["[object Uint16Array]"]=Te["[object Uint32Array]"]=!0,Te[ne]=Te[k]=Te[Me]=Te[L]=Te[ke]=Te[E]=Te[S]=Te[b]=Te[j]=Te[V]=Te[me]=Te[C]=Te[le]=Te[be]=Te[Ae]=!1;var xe=typeof d.g=="object"&&d.g&&d.g.Object===Object&&d.g,qe=typeof self=="object"&&self&&self.Object===Object&&self,$=xe||qe||Function("return this")(),h=Y&&!Y.nodeType&&Y,f=h&&fe&&!fe.nodeType&&fe,p=f&&f.exports===h,ee=p&&xe.process,M=(function(){try{return ee&&ee.binding&&ee.binding("util")}catch{}})(),R=M&&M.isTypedArray;function K(g,H){for(var se=-1,Le=g==null?0:g.length;++se<Le;)if(H(g[se],se,g))return!0;return!1}function Q(g){var H=-1,se=Array(g.size);return g.forEach((function(Le,Be){se[++H]=[Be,Le]})),se}function z(g){var H=-1,se=Array(g.size);return g.forEach((function(Le){se[++H]=Le})),se}var v,N,q,X=Array.prototype,te=Function.prototype,pe=Object.prototype,we=$["__core-js_shared__"],ye=te.toString,Ee=pe.hasOwnProperty,Oe=(v=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+v:"",Pe=pe.toString,Ie=RegExp("^"+ye.call(Ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=p?$.Buffer:void 0,Re=$.Symbol,Fe=$.Uint8Array,Qe=pe.propertyIsEnumerable,Je=X.splice,tt=Re?Re.toStringTag:void 0,$e=Object.getOwnPropertySymbols,Ue=He?He.isBuffer:void 0,Ze=(N=Object.keys,q=Object,function(g){return N(q(g))}),st=a($,"DataView"),Xe=a($,"Map"),rt=a($,"Promise"),pt=a($,"Set"),mt=a($,"WeakMap"),at=a(Object,"create"),e=re(st),s=re(Xe),t=re(rt),r=re(pt),n=re(mt),i=Re?Re.prototype:void 0,w=i?i.valueOf
47:void 0;function y(g){var H=-1,se=g==null?0:g.length;for(this.clear();++H<se;){var Le=g[H];this.set(Le[0],Le[1])}}function l(g){var H=-1,se=g==null?0:g.length;for(this.clear();++H<se;){var Le=g[H];this.set(Le[0],Le[1])}}function m(g){var H=-1,se=g==null?0:g.length;for(this.clear();++H<se;){var Le=g[H];this.set(Le[0],Le[1])}}function T(g){var H=-1,se=g==null?0:g.length;for(this.__data__=new m;++H<se;)this.add(g[H])}function x(g){var H=this.__data__=new l(g);this.size=H.size}function u(g,H){for(var se=g.length;se--;)if(de(g[se][0],H))return se;return-1}function c(g){return g==null?g===void 0?ue:he:tt&&tt in Object(g)?(function(H){var se=Ee.call(H,tt),Le=H[tt];try{H[tt]=void 0;var Be=!0}catch{}var Ne=Pe.call(H);return Be&&(se?H[tt]=Le:delete H[tt]),Ne})(g):(function(H){return Pe.call(H)})(g)}function F(g){return Ge(g)&&c(g)==ne}function P(g,H,se,Le,Be){return g===H||(g==null||H==null||!Ge(g)&&!Ge(H)?g!=g&&H!=H:(function(Ne,ze,it,ot,ut,ct){var vt=G(Ne),Ve=G(ze),Ke=vt?k:_(Ne),nt=Ve?k:_(ze),bt=(Ke=Ke==ne?me:Ke)==me,xt=(nt=nt==ne?me:nt)==me,wt=Ke==nt;if(wt&&ce(Ne)){if(!ce(ze))return!1;vt=!0,bt=!1}if(wt&&!bt)return ct||(ct=new x),vt||Ye(Ne)?W(Ne,ze,it,ot,ut,ct):(function(dt,gt,St,Lt,$t,Et,Tt){switch(St){case ke:if(dt.byteLength!=gt.byteLength||dt.byteOffset!=gt.byteOffset)return!1;dt=dt.buffer,gt=gt.buffer;case Me:return!(dt.byteLength!=gt.byteLength||!Et(new Fe(dt),new Fe(gt)));case L:case E:case V:return de(+dt,+gt);case S:return dt.name==gt.name&&dt.message==gt.message;case C:case be:return dt==gt+"";case j:var Ct=Q;case le:var _t=Lt&B;if(Ct||(Ct=z),dt.size!=gt.size&&!_t)return!1;var Ot=Tt.get(dt);if(Ot)return Ot==gt;Lt|=J,Tt.set(dt,gt);var kt=W(Ct(dt),Ct(gt),Lt,$t,Et,Tt);return Tt.delete(dt),kt;case"[object Symbol]":if(w)return w.call(dt)==w.call(gt)}return!1})(Ne,ze,Ke,it,ot,ut,ct);if(!(it&B)){var lt=bt&&Ee.call(Ne,"__wrapped__"),yt=xt&&Ee.call(ze,"__wrapped__");
47if(lt||yt){var At=lt?Ne.value():Ne,Mt=yt?ze.value():ze;return ct||(ct=new x),ut(At,Mt,it,ot,ct)}}return!!wt&&(ct||(ct=new x),(function(dt,gt,St,Lt,$t,Et){var Tt=St&B,Ct=ae(dt),_t=Ct.length;if(_t!=ae(gt).length&&!Tt)return!1;for(var Ot=_t;Ot--;){var kt=Ct[Ot];if(!(Tt?kt in gt:Ee.call(gt,kt)))return!1}var Ht=Et.get(dt);if(Ht&&Et.get(gt))return Ht==gt;var It=!0;Et.set(dt,gt),Et.set(gt,dt);for(var Dt=Tt;++Ot<_t;){var Pt=dt[kt=Ct[Ot]],jt=gt[kt];if(Lt)var Ut=Tt?Lt(jt,Pt,kt,gt,dt,Et):Lt(Pt,jt,kt,dt,gt,Et);if(!(Ut===void 0?Pt===jt||$t(Pt,jt,St,Lt,Et):Ut)){It=!1;break}Dt||(Dt=kt=="constructor")}if(It&&!Dt){var Rt=dt.constructor,zt=gt.constructor;Rt==zt||!("constructor"in dt)||!("constructor"in gt)||typeof Rt=="function"&&Rt instanceof Rt&&typeof zt=="function"&&zt instanceof zt||(It=!1)}return Et.delete(dt),Et.delete(gt),It})(Ne,ze,it,ot,ut,ct))})(g,H,se,Le,P,Be))}function W(g,H,se,Le,Be,Ne){var ze=se&B,it=g.length,ot=H.length;if(it!=ot&&!(ze&&ot>it))return!1;var ut=Ne.get(g);if(ut&&Ne.get(H))return ut==H;var ct=-1,vt=!0,Ve=se&J?new T:void 0;for(Ne.set(g,H),Ne.set(H,g);++ct<it;){var Ke=g[ct],nt=H[ct];if(Le)var bt=ze?Le(nt,Ke,ct,H,g,Ne):Le(Ke,nt,ct,g,H,Ne);if(bt!==void 0){if(bt)continue;vt=!1;break}if(Ve){if(!K(H,(function(xt,wt){if(lt=wt,!Ve.has(lt)&&(Ke===xt||Be(Ke,xt,se,Le,Ne)))return Ve.push(wt);var lt}))){vt=!1;break}}else if(Ke!==nt&&!Be(Ke,nt,se,Le,Ne)){vt=!1;break}}return Ne.delete(g),Ne.delete(H),vt}function ae(g){return(function(H,se,Le){var Be=se(H);return G(H)?Be:(function(Ne,ze){for(var it=-1,ot=ze.length,ut=Ne.length;++it<ot;)Ne[ut+it]=ze[it];return Ne})(Be,Le(H))})(g,oe,o)}function I(g,H){var se,Le,Be=g.__data__;return((Le=typeof(se=H))=="string"||Le=="number"||Le=="symbol"||Le=="boolean"?se!=="__proto__":se===null)?Be[typeof H=="string"?"string":"hash"]:Be.map}function a(g,H){var se=(function(Le,Be){return Le?.[Be]})(g,H);return(function(Le){return!(!_e(Le)||(function(Be){return!!Oe&&Oe in Be})(Le))&&(ge(Le)?Ie:je).test(re(Le))})(se)?se:void 0}y.prototype.clear=function(){this.__data__=at?at(null):{},this.size=0},y.prototype.delete=function(g){var H=this.has(g)&&delete this.__data__[g];return this.size-=H?1:0,H},y.prototype.get=function(g){var H=this.__data__;if(at){var se=H[g];return se===O?void 0:se}return Ee.call(H,g)?H[g]:void 0},y.prototype.has=function(g){var H=this.__data__;return at?H[g]!==void 0:Ee.call(H,g)},y.prototype.set=function(g,H){var se=this.__data__;return this.size+=this.has(g)?0:1,se[g]=at&&H===void 0?O:H,this},l.prototype.clear=function(){this.__data__=[],this.size=0},l.prototype.delete=function(g){var H=this.__data__,se=u(H,g);return!(se<0||(se==H.length-1?H.pop():Je.call(H,se,1),--this.size,0))},l.prototype.get=function(g){var H=this.__data__,se=u(H,g);return se<0?void 0:H[se][1]},l.prototype.has=function(g){return u(this.__data__,g)>-1},l.prototype.set=function(g,H){var se=this.__data__,Le=u(se,g);return Le<0?(++this.size,se.push([g,H])):se[Le][1]=H,this},m.prototype.clear=function(){this.size=0,this.__data__={hash:new y,map:new(Xe||l),string:new y}},m.prototype.delete=function(g){var H=I(this,g).delete(g);return this.size-=H?1:0,H},m.prototype.get=function(g){return I(this,g).get(g)},m.prototype.has=function(g){return I(this,g).has(g)},m.prototype.set=function(g,H){var se=I(this,g),Le=se.size;return se.set(g,H),this.size+=se.size==Le?0:1,this},T.prototype.add=T.prototype.push=function(g){return this.__data__.set(g,O),this},T.prototype.has=function(g){return this.__data__.has(g)},x.prototype.clear=function(){this.__data__=new l,this.size=0},x.prototype.delete=function(g){var H=this.__data__,se=H.delete(g);return this.size=H.size,se},x.prototype.get=function(g){return this.__data__.get(g)},x.prototype.has=function(g){return this.__data__.has(g)},x.prototype.set=function(g,H){var se=this.__data__;if(se instanceof l){var Le=se.__data__;if(!Xe||Le.length<199)return Le.push([g,H]),this.size=++se.size,this;se=this.__data__=new m(Le)}return se.set(g,H),this.size=se.size,this};var o=$e?function(g){return g==null?[]:(g=Object(g),(function(H,se){for(var Le=-1,Be=H==null?0:H.length,Ne=0,ze=[];++Le<Be;){var it=H[Le];ot=it,Qe.call(g,ot)&&(ze[Ne++]=it)}var ot;return ze})($e(g)))}:function(){return[]},_=c;function Z(g,H){return!!(H=H??U)&&(typeof g=="number"||De.test(g))&&g>-1&&g%1==0&&g<H}function re(g){if(g!=null){try{return ye.call(g)}catch{}try{return g+""}catch{}}return""}function de(g,H){return g===H||g!=g&&H!=H}(st&&_(new st(new ArrayBuffer(1)))!=ke||Xe&&_(new Xe)!=j||rt&&_(rt.resolve())!=Se||pt&&_(new pt)!=le||mt&&_(new mt)!=Ae)&&(_=function(g){var H=c(g),se=H==me?g.constructor:void 0,Le=se?re(se):"";if(Le)switch(Le){case e:return ke;case s:return j;case t:return Se;case r:return le;case n:return Ae}return H});var ie=F((function(){return arguments})())?F:function(g){return Ge(g)&&Ee.call(g,"callee")&&!Qe.call(g,"callee")},G=Array.isArray,ce=Ue||function(){return!1};function ge(g){if(!_e(g))return!1;var H=c(g);return H==b||H==A||H==D||H==ve}function Ce(g){return typeof g=="number"&&g>-1&&g%1==0&&g<=U}function _e(g){var H=typeof g;return g!=null&&(H=="object"||H=="function")}function Ge(g){return g!=null&&typeof g=="object"}var Ye=R?(function(g){return function(H){return g(H)}})(R):function(g){return Ge(g)&&Ce(g.length)&&!!Te[c(g)]};function oe(g){return(H=g)!=null&&Ce(H.length)&&!ge(H)?(function(se,Le){var Be=G(se),Ne=!Be&&ie(se),ze=!Be&&!Ne&&ce(se),it=!Be&&!Ne&&!ze&&Ye(se),ot=Be||Ne||ze||it,ut=ot?(function(Ve,Ke){for(var nt=-1,bt=Array(Ve);++nt<Ve;)bt[nt]=Ke(nt);return bt})(se.length,String):[],ct=ut.length;for(var vt in se)!Le&&!Ee.call(se,vt)||ot&&(vt=="length"||ze&&(vt=="offset"||vt=="parent")||it&&(vt=="buffer"||vt=="byteLength"||vt=="byteOffset")||Z(vt,ct))||ut.push(vt);return ut})(g):(function(se){if(Be=(Le=se)&&Le.constructor,Le!==(typeof Be=="function"&&Be.prototype||pe))return Ze(se);var Le,Be,Ne=[];for(var ze in Object(se))Ee.call(se,ze)&&ze!="constructor"&&Ne.push(ze);return Ne})(g);var H}fe.exports=function(g,H){return P(g,H)}},1270:function(fe,Y,d){"use strict";
47Object.defineProperty(Y,"__esModule",{value:!0});const O=d(9629),B=d(4162);var J;(function(U){U.compose=function(ne={},k={},D=!1){typeof ne!="object"&&(ne={}),typeof k!="object"&&(k={});let L=O(k);D||(L=Object.keys(L).reduce(((E,S)=>(L[S]!=null&&(E[S]=L[S]),E)),{}));for(const E in ne)ne[E]!==void 0&&k[E]===void 0&&(L[E]=ne[E]);return Object.keys(L).length>0?L:void 0},U.diff=function(ne={},k={}){typeof ne!="object"&&(ne={}),typeof k!="object"&&(k={});const D=Object.keys(ne).concat(Object.keys(k)).reduce(((L,E)=>(B(ne[E],k[E])||(L[E]=k[E]===void 0?null:k[E]),L)),{});return Object.keys(D).length>0?D:void 0},U.invert=function(ne={},k={}){ne=ne||{};const D=Object.keys(k).reduce(((L,E)=>(k[E]!==ne[E]&&ne[E]!==void 0&&(L[E]=k[E]),L)),{});return Object.keys(ne).reduce(((L,E)=>(ne[E]!==k[E]&&k[E]===void 0&&(L[E]=null),L)),D)},U.transform=function(ne,k,D=!1){if(typeof ne!="object")return k;if(typeof k!="object")return;if(!D)return k;const L=Object.keys(k).reduce(((E,S)=>(ne[S]===void 0&&(E[S]=k[S]),E)),{});return Object.keys(L).length>0?L:void 0}})(J||(J={})),Y.default=J},5232:function(fe,Y,d){"use strict";Object.defineProperty(Y,"__esModule",{value:!0}),Y.AttributeMap=Y.OpIterator=Y.Op=void 0;const O=d(5090),B=d(9629),J=d(4162),U=d(1270);Y.AttributeMap=U.default;const ne=d(4123);Y.Op=ne.default;const k=d(7033);Y.OpIterator=k.default;const D="\0",L=(S,b)=>{if(typeof S!="object"||S===null)throw new Error("cannot retain a "+typeof S);if(typeof b!="object"||b===null)throw new Error("cannot retain a "+typeof b);const A=Object.keys(S)[0];if(!A||A!==Object.keys(b)[0])throw new Error(`embed types not matched: ${A} != ${Object.keys(b)[0]}`);return[A,S[A],b[A]]};class E{constructor(b){Array.isArray(b)?this.ops=b:b!=null&&Array.isArray(b.ops)?this.ops=b.ops:this.ops=[]}static registerEmbed(b,A){this.handlers[b]=A}static unregisterEmbed(b){delete this.handlers[b]}static getHandler(b){const A=this.handlers[b];if(!A)throw new Error(`no handlers for embed type "${b}"`);return A}insert(b,A){const j={};return typeof b=="string"&&b.length===0?this:(j.insert=b,A!=null&&typeof A=="object"&&Object.keys(A).length>0&&(j.attributes=A),this.push(j))}delete(b){return b<=0?this:this.push({delete:b})}retain(b,A){if(typeof b=="number"&&b<=0)return this;const j={retain:b};return A!=null&&typeof A=="object"&&Object.keys(A).length>0&&(j.attributes=A),this.push(j)}push(b){let A=this.ops.length,j=this.ops[A-1];if(b=B(b),typeof j=="object"){if(typeof b.delete=="number"&&typeof j.delete=="number")return this.ops[A-1]={delete:j.delete+b.delete},this;if(typeof j.delete=="number"&&b.insert!=null&&(A-=1,j=this.ops[A-1],typeof j!="object"))return this.ops.unshift(b),this;if(J(b.attributes,j.attributes)){if(typeof b.insert=="string"&&typeof j.insert=="string")return this.ops[A-1]={insert:j.insert+b.insert},typeof b.attributes=="object"&&(this.ops[A-1].attributes=b.attributes),this;if(typeof b.retain=="number"&&typeof j.retain=="number")return this.ops[A-1]={retain:j.retain+b.retain},typeof b.attributes=="object"&&(this.ops[A-1].attributes=b.attributes),this}}return A===this.ops.length?this.ops.push(b):this.ops.splice(A,0,b),this}chop(){const b=this.ops[this.ops.length-1];return b&&typeof b.retain=="number"&&!b.attributes&&this.ops.pop(),this}filter(b){return this.ops.filter(b)}forEach(b){this.ops.forEach(b)}map(b){return this.ops.map(b)}partition(b){const A=[],j=[];return this.forEach((V=>{(b(V)?A:j).push(V)})),[A,j]}reduce(b,A){return this.ops.reduce(b,A)}changeLength(){return this.reduce(((b,A)=>A.insert?b+ne.default.length(A):A.delete?b-A.delete:b),0)}length(){return this.reduce(((b,A)=>b+ne.default.length(A)),0)}slice(b=0,A=1/0){const j=[],V=new k.default(this.ops);let he=0;for(;he<A&&V.hasNext();){let me;he<b?me=V.next(b-he):(me=V.next(A-he),j.push(me)),he+=ne.default.length(me)}return new E(j)}compose(b){const A=new k.default(this.ops),j=new k.default(b.ops),V=[],he=j.peek();if(he!=null&&typeof he.retain=="number"&&he.attributes==null){let Se=he.retain;for(;A.peekType()==="insert"&&A.peekLength()<=Se;)Se-=A.peekLength(),V.push(A.next());he.retain-Se>0&&j.next(he.retain-Se)}const me=new E(V);for(;A.hasNext()||j.hasNext();)if(j.peekType()==="insert")me.push(j.next());
47else if(A.peekType()==="delete")me.push(A.next());else{const Se=Math.min(A.peekLength(),j.peekLength()),ve=A.next(Se),C=j.next(Se);if(C.retain){const le={};if(typeof ve.retain=="number")le.retain=typeof C.retain=="number"?Se:C.retain;else if(typeof C.retain=="number")ve.retain==null?le.insert=ve.insert:le.retain=ve.retain;else{const ue=ve.retain==null?"insert":"retain",[Ae,Me,ke]=L(ve[ue],C.retain),je=E.getHandler(Ae);le[ue]={[Ae]:je.compose(Me,ke,ue==="retain")}}const be=U.default.compose(ve.attributes,C.attributes,typeof ve.retain=="number");if(be&&(le.attributes=be),me.push(le),!j.hasNext()&&J(me.ops[me.ops.length-1],le)){const ue=new E(A.rest());return me.concat(ue).chop()}}else typeof C.delete=="number"&&(typeof ve.retain=="number"||typeof ve.retain=="object"&&ve.retain!==null)&&me.push(C)}return me.chop()}concat(b){const A=new E(this.ops.slice());return b.ops.length>0&&(A.push(b.ops[0]),A.ops=A.ops.concat(b.ops.slice(1))),A}diff(b,A){if(this.ops===b.ops)return new E;const j=[this,b].map((ve=>ve.map((C=>{if(C.insert!=null)return typeof C.insert=="string"?C.insert:D;throw new Error("diff() called "+(ve===b?"on":"with")+" non-document")})).join(""))),V=new E,he=O(j[0],j[1],A,!0),me=new k.default(this.ops),Se=new k.default(b.ops);return he.forEach((ve=>{let C=ve[1].length;for(;C>0;){let le=0;switch(ve[0]){case O.INSERT:le=Math.min(Se.peekLength(),C),V.push(Se.next(le));break;case O.DELETE:le=Math.min(C,me.peekLength()),me.next(le),V.delete(le);break;case O.EQUAL:le=Math.min(me.peekLength(),Se.peekLength(),C);const be=me.next(le),ue=Se.next(le);J(be.insert,ue.insert)?V.retain(le,U.default.diff(be.attributes,ue.attributes)):V.push(ue).delete(le)}C-=le}})),V.chop()}eachLine(b,A=` 48`){const j=new k.default(this.ops);let V=new E,he=0;for(;j.hasNext();){if(j.peekType()!=="insert")return;const me=j.peek(),Se=ne.default.length(me)-j.peekLength(),ve=typeof me.insert=="string"?me.insert.indexOf(A,Se)-Se:-1;if(ve<0)V.push(j.next());else if(ve>0)V.push(j.next(ve));else{if(b(V,j.next(1).attributes||{},he)===!1)return;he+=1,V=new E}}V.length()>0&&b(V,{},he)}invert(b){const A=new E;return this.reduce(((j,V)=>{if(V.insert)A.delete(ne.default.length(V));else{if(typeof V.retain=="number"&&V.attributes==null)return A.retain(V.retain),j+V.retain;if(V.delete||typeof V.retain=="number"){const he=V.delete||V.retain;return b.slice(j,j+he).forEach((me=>{V.delete?A.push(me):V.retain&&V.attributes&&A.retain(ne.default.length(me),U.default.invert(V.attributes,me.attributes))})),j+he}if(typeof V.retain=="object"&&V.retain!==null){const he=b.slice(j,j+1),me=new k.default(he.ops).next(),[Se,ve,C]=L(V.retain,me.insert),le=E.getHandler(Se);return A.retain({[Se]:le.invert(ve,C)},U.default.invert(V.attributes,me.attributes)),j+1}}return j}),0),A.chop()}transform(b,A=!1){if(A=!!A,typeof b=="number")return this.transformPosition(b,A);const j=b,V=new k.default(this.ops),he=new k.default(j.ops),me=new E;for(;V.hasNext()||he.hasNext();)if(V.peekType()!=="insert"||!A&&he.peekType()==="insert")if(he.peekType()==="insert")me.push(he.next());else{const Se=Math.min(V.peekLength(),he.peekLength()),ve=V.next(Se),C=he.next(Se);if(ve.delete)continue;if(C.delete)me.push(C);else{const le=ve.retain,be=C.retain;let ue=typeof be=="object"&&be!==null?be:Se;if(typeof le=="object"&&le!==null&&typeof be=="object"&&be!==null){const Ae=Object.keys(le)[0];if(Ae===Object.keys(be)[0]){const Me=E.getHandler(Ae);Me&&(ue={[Ae]:Me.transform(le[Ae],be[Ae],A)})}}me.retain(ue,U.default.transform(ve.attributes,C.attributes,A))}}else me.retain(ne.default.length(V.next()));return me.chop()}transformPosition(b,A=!1){A=!!A;const j=new k.default(this.ops);let V=0;for(;j.hasNext()&&V<=b;){const he=j.peekLength(),me=j.peekType();j.next(),me!=="delete"?(me==="insert"&&(V<b||!A)&&(b+=he),V+=he):b-=Math.min(he,b-V)}return b}}E.Op=ne.default,E.OpIterator=k.default,E.AttributeMap=U.default,E.handlers={},Y.default=E,fe.exports=E,fe.exports.default=E},4123:function(fe,Y){"use strict";var d;Object.defineProperty(Y,"__esModule",{value:!0}),(function(O){O.length=function(B){return typeof B.delete=="number"?B.delete:typeof B.retain=="number"?B.retain:typeof B.retain=="object"&&B.retain!==null?1:typeof B.insert=="string"?B.insert.length:1}})(d||(d={})),Y.default=d},7033:function(fe,Y,d){"use strict";
48Object.defineProperty(Y,"__esModule",{value:!0});const O=d(4123);Y.default=class{constructor(B){this.ops=B,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(B){B||(B=1/0);const J=this.ops[this.index];if(J){const U=this.offset,ne=O.default.length(J);if(B>=ne-U?(B=ne-U,this.index+=1,this.offset=0):this.offset+=B,typeof J.delete=="number")return{delete:B};{const k={};return J.attributes&&(k.attributes=J.attributes),typeof J.retain=="number"?k.retain=B:typeof J.retain=="object"&&J.retain!==null?k.retain=J.retain:typeof J.insert=="string"?k.insert=J.insert.substr(U,B):k.insert=J.insert,k}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?O.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const B=this.ops[this.index];return B?typeof B.delete=="number"?"delete":typeof B.retain=="number"||typeof B.retain=="object"&&B.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const B=this.offset,J=this.index,U=this.next(),ne=this.ops.slice(this.index);return this.offset=B,this.index=J,[U].concat(ne)}}return[]}}},8820:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return ne}});var O=d(8138),B=function(k,D){for(var L=k.length;L--;)if((0,O.A)(k[L][0],D))return L;return-1},J=Array.prototype.splice;function U(k){var D=-1,L=k==null?0:k.length;for(this.clear();++D<L;){var E=k[D];this.set(E[0],E[1])}}U.prototype.clear=function(){this.__data__=[],this.size=0},U.prototype.delete=function(k){var D=this.__data__,L=B(D,k);return!(L<0||(L==D.length-1?D.pop():J.call(D,L,1),--this.size,0))},U.prototype.get=function(k){var D=this.__data__,L=B(D,k);return L<0?void 0:D[L][1]},U.prototype.has=function(k){return B(this.__data__,k)>-1},U.prototype.set=function(k,D){var L=this.__data__,E=B(L,k);return E<0?(++this.size,L.push([k,D])):L[E][1]=D,this};var ne=U},2461:function(fe,Y,d){"use strict";var O=d(2281),B=d(5507),J=(0,O.A)(B.A,"Map");Y.A=J},3558:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return S}});var O=(0,d(2281).A)(Object,"create"),B=Object.prototype.hasOwnProperty,J=Object.prototype.hasOwnProperty;function U(b){var A=-1,j=b==null?0:b.length;for(this.clear();++A<j;){var V=b[A];this.set(V[0],V[1])}}U.prototype.clear=function(){this.__data__=O?O(null):{},this.size=0},U.prototype.delete=function(b){var A=this.has(b)&&delete this.__data__[b];return this.size-=A?1:0,A},U.prototype.get=function(b){var A=this.__data__;if(O){var j=A[b];return j==="__lodash_hash_undefined__"?void 0:j}return B.call(A,b)?A[b]:void 0},U.prototype.has=function(b){var A=this.__data__;return O?A[b]!==void 0:J.call(A,b)},U.prototype.set=function(b,A){var j=this.__data__;return this.size+=this.has(b)?0:1,j[b]=O&&A===void 0?"__lodash_hash_undefined__":A,this};var ne=U,k=d(8820),D=d(2461),L=function(b,A){var j,V,he=b.__data__;return((V=typeof(j=A))=="string"||V=="number"||V=="symbol"||V=="boolean"?j!=="__proto__":j===null)?he[typeof A=="string"?"string":"hash"]:he.map};function E(b){var A=-1,j=b==null?0:b.length;for(this.clear();++A<j;){var V=b[A];this.set(V[0],V[1])}}E.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(D.A||k.A),string:new ne}},E.prototype.delete=function(b){var A=L(this,b).delete(b);return this.size-=A?1:0,A},E.prototype.get=function(b){return L(this,b).get(b)},E.prototype.has=function(b){return L(this,b).has(b)},E.prototype.set=function(b,A){var j=L(this,b),V=j.size;return j.set(b,A),this.size+=j.size==V?0:1,this};var S=E},2673:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return ne}});var O=d(8820),B=d(2461),J=d(3558);function U(k){var D=this.__data__=new O.A(k);this.size=D.size}U.prototype.clear=function(){this.__data__=new O.A,this.size=0},U.prototype.delete=function(k){var D=this.__data__,L=D.delete(k);return this.size=D.size,L},U.prototype.get=function(k){return this.__data__.get(k)},U.prototype.has=function(k){return this.__data__.has(k)},U.prototype.set=function(k,D){var L=this.__data__;if(L instanceof O.A){var E=L.__data__;if(!B.A||E.length<199)return E.push([k,D]),this.size=++L.size,this;L=this.__data__=new J.A(E)}return L.set(k,D),this.size=L.size,this};var ne=U},439:function(fe,Y,d){"use strict";var O=d(5507).A.Symbol;Y.A=O},7218:function(fe,Y,d){"use strict";var O=d(5507).A.Uint8Array;Y.A=O},6753:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return D}});var O=d(8412),B=d(723),J=d(776),U=d(3767),ne=d(5755),k=Object.prototype.hasOwnProperty,D=function(L,E){var S=(0,B.A)(L),b=!S&&(0,O.A)(L),A=!S&&!b&&(0,J.A)(L),j=!S&&!b&&!A&&(0,ne.A)(L),V=S||b||A||j,he=V?(function(ve,C){for(var le=-1,be=Array(ve);++le<ve;)be[le]=C(le);return be})(L.length,String):[],me=he.length;
48for(var Se in L)!E&&!k.call(L,Se)||V&&(Se=="length"||A&&(Se=="offset"||Se=="parent")||j&&(Se=="buffer"||Se=="byteLength"||Se=="byteOffset")||(0,U.A)(Se,me))||he.push(Se);return he}},802:function(fe,Y){"use strict";Y.A=function(d,O){for(var B=-1,J=O.length,U=d.length;++B<J;)d[U+B]=O[B];return d}},6437:function(fe,Y,d){"use strict";var O=d(6770),B=d(8138),J=Object.prototype.hasOwnProperty;Y.A=function(U,ne,k){var D=U[ne];J.call(U,ne)&&(0,B.A)(D,k)&&(k!==void 0||ne in U)||(0,O.A)(U,ne,k)}},6770:function(fe,Y,d){"use strict";var O=d(7889);Y.A=function(B,J,U){J=="__proto__"&&O.A?(0,O.A)(B,J,{configurable:!0,enumerable:!0,value:U,writable:!0}):B[J]=U}},1381:function(fe,Y,d){"use strict";var O=d(802),B=d(723);Y.A=function(J,U,ne){var k=U(J);return(0,B.A)(J)?k:(0,O.A)(k,ne(J))}},2159:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return L}});var O=d(439),B=Object.prototype,J=B.hasOwnProperty,U=B.toString,ne=O.A?O.A.toStringTag:void 0,k=Object.prototype.toString,D=O.A?O.A.toStringTag:void 0,L=function(E){return E==null?E===void 0?"[object Undefined]":"[object Null]":D&&D in Object(E)?(function(S){var b=J.call(S,ne),A=S[ne];try{S[ne]=void 0;var j=!0}catch{}var V=U.call(S);return j&&(b?S[ne]=A:delete S[ne]),V})(E):(function(S){return k.call(S)})(E)}},5771:function(fe,Y){"use strict";Y.A=function(d){return function(O){return d(O)}}},2899:function(fe,Y,d){"use strict";var O=d(7218);Y.A=function(B){var J=new B.constructor(B.byteLength);return new O.A(J).set(new O.A(B)),J}},3812:function(fe,Y,d){"use strict";var O=d(5507),B=typeof exports=="object"&&exports&&!exports.nodeType&&exports,J=B&&typeof module=="object"&&module&&!module.nodeType&&module,U=J&&J.exports===B?O.A.Buffer:void 0,ne=U?U.allocUnsafe:void 0;Y.A=function(k,D){if(D)return k.slice();var L=k.length,E=ne?ne(L):new k.constructor(L);return k.copy(E),E}},1827:function(fe,Y,d){"use strict";var O=d(2899);Y.A=function(B,J){var U=J?(0,O.A)(B.buffer):B.buffer;return new B.constructor(U,B.byteOffset,B.length)}},4405:function(fe,Y){"use strict";Y.A=function(d,O){var B=-1,J=d.length;for(O||(O=Array(J));++B<J;)O[B]=d[B];return O}},9601:function(fe,Y,d){"use strict";var O=d(6437),B=d(6770);Y.A=function(J,U,ne,k){var D=!ne;ne||(ne={});for(var L=-1,E=U.length;++L<E;){var S=U[L],b=k?k(ne[S],J[S],S,ne,J):void 0;b===void 0&&(b=J[S]),D?(0,B.A)(ne,S,b):(0,O.A)(ne,S,b)}return ne}},7889:function(fe,Y,d){"use strict";var O=d(2281),B=(function(){try{var J=(0,O.A)(Object,"defineProperty");return J({},"",{}),J}catch{}})();Y.A=B},9646:function(fe,Y){"use strict";var d=typeof global=="object"&&global&&global.Object===Object&&global;Y.A=d},2816:function(fe,Y,d){"use strict";var O=d(1381),B=d(9844),J=d(3169);Y.A=function(U){return(0,O.A)(U,J.A,B.A)}},2281:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return V}});var O,B=d(7572),J=d(5507).A["__core-js_shared__"],U=(O=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",ne=d(659),k=d(1543),D=/^\[object .+?Constructor\]$/,L=Function.prototype,E=Object.prototype,S=L.toString,b=E.hasOwnProperty,A=RegExp("^"+S.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=function(he){return!(!(0,ne.A)(he)||(me=he,U&&U in me))&&((0,B.A)(he)?A:D).test((0,k.A)(he));var me},V=function(he,me){var Se=(function(ve,C){return ve?.[C]})(he,me);return j(Se)?Se:void 0}},8769:function(fe,Y,d){"use strict";var O=(0,d(2217).A)(Object.getPrototypeOf,Object);Y.A=O},9844:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return U}});var O=d(6935),B=Object.prototype.propertyIsEnumerable,J=Object.getOwnPropertySymbols,U=J?function(ne){return ne==null?[]:(ne=Object(ne),(function(k,D){for(var L=-1,E=k==null?0:k.length,S=0,b=[];++L<E;){var A=k[L];D(A,L,k)&&(b[S++]=A)}return b})(J(ne),(function(k){return B.call(ne,k)})))}:O.A},7995:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return be}});var O=d(2281),B=d(5507),J=(0,O.A)(B.A,"DataView"),U=d(2461),ne=(0,O.A)(B.A,"Promise"),k=(0,O.A)(B.A,"Set"),D=(0,O.A)(B.A,"WeakMap"),L=d(2159),E=d(1543),S="[object Map]",b="[object Promise]",A="[object Set]",j="[object WeakMap]",V="[object DataView]",he=(0,E.A)(J),me=(0,E.A)(U.A),Se=(0,E.A)(ne),ve=(0,E.A)(k),C=(0,E.A)(D),le=L.A;(J&&le(new J(new ArrayBuffer(1)))!=V||U.A&&le(new U.A)!=S||ne&&le(ne.resolve())!=b||k&&le(new k)!=A||D&&le(new D)!=j)&&(le=function(ue){var Ae=(0,L.A)(ue),Me=Ae=="[object Object]"?ue.constructor:void 0,ke=Me?(0,E.A)(Me):"";if(ke)switch(ke){case he:return V;case me:return S;case Se:return b;case ve:return A;case C:return j}return Ae});var be=le},1683:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return k}});var O=d(659),B=Object.create,J=(function(){function D(){}return function(L){if(!(0,O.A)(L))return{};if(B)return B(L);D.prototype=L;var E=new D;return D.prototype=void 0,E}})(),U=d(8769),ne=d(501),k=function(D){return typeof D.constructor!="function"||(0,ne.A)(D)?{}:J((0,U.A)(D))}},3767:function(fe,Y){"use strict";var d=/^(?:0|[1-9]\d*)$/;Y.A=function(O,B){var J=typeof O;return!!(B=B??9007199254740991)&&(J=="number"||J!="symbol"&&d.test(O))&&O>-1&&O%1==0&&O<B}},501:function(fe,Y){"use strict";var d=Object.prototype;Y.A=function(O){var B=O&&O.constructor;return O===(typeof B=="function"&&B.prototype||d)}},8795:function(fe,Y,d){"use strict";var O=d(9646),B=typeof exports=="object"&&exports&&!exports.nodeType&&exports,J=B&&typeof module=="object"&&module&&!module.nodeType&&module,U=J&&J.exports===B&&O.A.process,ne=(function(){try{return J&&J.require&&J.require("util").t
48ypes||U&&U.binding&&U.binding("util")}catch{}})();Y.A=ne},2217:function(fe,Y){"use strict";Y.A=function(d,O){return function(B){return d(O(B))}}},5507:function(fe,Y,d){"use strict";var O=d(9646),B=typeof self=="object"&&self&&self.Object===Object&&self,J=O.A||B||Function("return this")();Y.A=J},1543:function(fe,Y){"use strict";var d=Function.prototype.toString;Y.A=function(O){if(O!=null){try{return d.call(O)}catch{}try{return O+""}catch{}}return""}},3707:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return v}});var O=d(2673),B=d(6437),J=d(9601),U=d(3169),ne=d(2624),k=d(3812),D=d(4405),L=d(9844),E=d(802),S=d(8769),b=d(6935),A=Object.getOwnPropertySymbols?function(N){for(var q=[];N;)(0,E.A)(q,(0,L.A)(N)),N=(0,S.A)(N);return q}:b.A,j=d(2816),V=d(1381),he=function(N){return(0,V.A)(N,ne.A,A)},me=d(7995),Se=Object.prototype.hasOwnProperty,ve=d(2899),C=/\w*$/,le=d(439),be=le.A?le.A.prototype:void 0,ue=be?be.valueOf:void 0,Ae=d(1827),Me=function(N,q,X){var te,pe,we,ye=N.constructor;switch(q){case"[object ArrayBuffer]":return(0,ve.A)(N);case"[object Boolean]":case"[object Date]":return new ye(+N);case"[object DataView]":return(function(Ee,Oe){var Pe=Oe?(0,ve.A)(Ee.buffer):Ee.buffer;return new Ee.constructor(Pe,Ee.byteOffset,Ee.byteLength)})(N,X);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,Ae.A)(N,X);case"[object Map]":case"[object Set]":return new ye;case"[object Number]":case"[object String]":return new ye(N);case"[object RegExp]":return(we=new(pe=N).constructor(pe.source,C.exec(pe))).lastIndex=pe.lastIndex,we;case"[object Symbol]":return te=N,ue?Object(ue.call(te)):{}}},ke=d(1683),je=d(723),De=d(776),Te=d(7948),xe=d(5771),qe=d(8795),$=qe.A&&qe.A.isMap,h=$?(0,xe.A)($):function(N){return(0,Te.A)(N)&&(0,me.A)(N)=="[object Map]"},f=d(659),p=qe.A&&qe.A.isSet,ee=p?(0,xe.A)(p):function(N){return(0,Te.A)(N)&&(0,me.A)(N)=="[object Set]"},M="[object Arguments]",R="[object Function]",K="[object Object]",Q={};Q[M]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object DataView]"]=Q["[object Boolean]"]=Q["[object Date]"]=Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Map]"]=Q["[object Number]"]=Q[K]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object Symbol]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Error]"]=Q[R]=Q["[object WeakMap]"]=!1;var z=function N(q,X,te,pe,we,ye){var Ee,Oe=1&X,Pe=2&X,Ie=4&X;if(te&&(Ee=we?te(q,pe,we,ye):te(q)),Ee!==void 0)return Ee;if(!(0,f.A)(q))return q;var He=(0,je.A)(q);
48if(He){if(Ee=(function($e){var Ue=$e.length,Ze=new $e.constructor(Ue);return Ue&&typeof $e[0]=="string"&&Se.call($e,"index")&&(Ze.index=$e.index,Ze.input=$e.input),Ze})(q),!Oe)return(0,D.A)(q,Ee)}else{var Re=(0,me.A)(q),Fe=Re==R||Re=="[object GeneratorFunction]";if((0,De.A)(q))return(0,k.A)(q,Oe);if(Re==K||Re==M||Fe&&!we){if(Ee=Pe||Fe?{}:(0,ke.A)(q),!Oe)return Pe?(function($e,Ue){return(0,J.A)($e,A($e),Ue)})(q,(function($e,Ue){return $e&&(0,J.A)(Ue,(0,ne.A)(Ue),$e)})(Ee,q)):(function($e,Ue){return(0,J.A)($e,(0,L.A)($e),Ue)})(q,(function($e,Ue){return $e&&(0,J.A)(Ue,(0,U.A)(Ue),$e)})(Ee,q))}else{if(!Q[Re])return we?q:{};Ee=Me(q,Re,Oe)}}ye||(ye=new O.A);var Qe=ye.get(q);if(Qe)return Qe;ye.set(q,Ee),ee(q)?q.forEach((function($e){Ee.add(N($e,X,te,$e,q,ye))})):h(q)&&q.forEach((function($e,Ue){Ee.set(Ue,N($e,X,te,Ue,q,ye))}));var Je=Ie?Pe?he:j.A:Pe?ne.A:U.A,tt=He?void 0:Je(q);return(function($e,Ue){for(var Ze=-1,st=$e==null?0:$e.length;++Ze<st&&Ue($e[Ze],Ze,$e)!==!1;);})(tt||q,(function($e,Ue){tt&&($e=q[Ue=$e]),(0,B.A)(Ee,Ue,N($e,X,te,Ue,q,ye))})),Ee},v=function(N){return z(N,5)}},8138:function(fe,Y){"use strict";Y.A=function(d,O){return d===O||d!=d&&O!=O}},8412:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return L}});var O=d(2159),B=d(7948),J=function(E){return(0,B.A)(E)&&(0,O.A)(E)=="[object Arguments]"},U=Object.prototype,ne=U.hasOwnProperty,k=U.propertyIsEnumerable,D=J((function(){return arguments})())?J:function(E){return(0,B.A)(E)&&ne.call(E,"callee")&&!k.call(E,"callee")},L=D},723:function(fe,Y){"use strict";var d=Array.isArray;Y.A=d},3628:function(fe,Y,d){"use strict";var O=d(7572),B=d(1628);Y.A=function(J){return J!=null&&(0,B.A)(J.length)&&!(0,O.A)(J)}},776:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return ne}});var O=d(5507),B=typeof exports=="object"&&exports&&!exports.nodeType&&exports,J=B&&typeof module=="object"&&module&&!module.nodeType&&module,U=J&&J.exports===B?O.A.Buffer:void 0,ne=(U?U.isBuffer:void 0)||function(){return!1}},5123:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return De}});var O=d(2673),B=d(3558);function J(Te){var xe=-1,qe=Te==null?0:Te.length;for(this.__data__=new B.A;++xe<qe;)this.add(Te[xe])}J.prototype.add=J.prototype.push=function(Te){return this.__data__.set(Te,"__lodash_hash_undefined__"),this},J.prototype.has=function(Te){return this.__data__.has(Te)};var U=J,ne=function(Te,xe){for(var qe=-1,$=Te==null?0:Te.length;++qe<$;)if(xe(Te[qe],qe,Te))return!0;return!1},k=function(Te,xe,qe,$,h,f){var p=1&qe,ee=Te.length,M=xe.length;if(ee!=M&&!(p&&M>ee))return!1;var R=f.get(Te),K=f.get(xe);if(R&&K)return R==xe&&K==Te;var Q=-1,z=!0,v=2&qe?new U:void 0;for(f.set(Te,xe),f.set(xe,Te);++Q<ee;){var N=Te[Q],q=xe[Q];if($)var X=p?$(q,N,Q,xe,Te,f):$(N,q,Q,Te,xe,f);if(X!==void 0){if(X)continue;z=!1;break}if(v){if(!ne(xe,(function(te,pe){if(we=pe,!v.has(we)&&(N===te||h(N,te,qe,$,f)))return v.push(pe);var we}))){z=!1;break}}else if(N!==q&&!h(N,q,qe,$,f)){z=!1;break}}return f.delete(Te),f.delete(xe),z},D=d(439),L=d(7218),E=d(8138),S=function(Te){var xe=-1,qe=Array(Te.size);return Te.forEach((function($,h){qe[++xe]=[h,$]})),qe},b=function(Te){var xe=-1,qe=Array(Te.size);return Te.forEach((function($){qe[++xe]=$})),qe},A=D.A?D.A.prototype:void 0,j=A?A.valueOf:void 0,V=d(2816),he=Object.prototype.hasOwnProperty,me=d(7995),Se=d(723),ve=d(776),C=d(5755),le="[object Arguments]",be="[object Array]",ue="[object Object]",Ae=Object.prototype.hasOwnProperty,Me=function(Te,xe,qe,$,h,f){var p=(0,Se.A)(Te),ee=(0,Se.A)(xe),M=p?be:(0,me.A)(Te),R=ee?be:(0,me.A)(xe),K=(M=M==le?ue:M)==ue,Q=(R=R==le?ue:R)==ue,z=M==R;if(z&&(0,ve.A)(Te)){if(!(0,ve.A)(xe))return!1;p=!0,K=!1}if(z&&!K)return f||(f=new O.A),p||(0,C.A)(Te)?k(Te,xe,qe,$,h,f):(function(te,pe,we,ye,Ee,Oe,Pe){switch(we){case"[object DataView]":if(te.byteLength!=pe.byteLength||te.byteOffset!=pe.byteOffset)return!1;te=te.buffer,pe=pe.buffer;case"[object ArrayBuffer]":return!(te.byteLength!=pe.byteLength||!Oe(new L.A(te),new L.A(pe)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,E.A)(+te,+pe);case"[object Error]":return te.name==pe.name&&te.message==pe.message;case"[object RegExp]":case"[object String]":return te==pe+"";case"[object Map]":var Ie=S;
48case"[object Set]":var He=1&ye;if(Ie||(Ie=b),te.size!=pe.size&&!He)return!1;var Re=Pe.get(te);if(Re)return Re==pe;ye|=2,Pe.set(te,pe);var Fe=k(Ie(te),Ie(pe),ye,Ee,Oe,Pe);return Pe.delete(te),Fe;case"[object Symbol]":if(j)return j.call(te)==j.call(pe)}return!1})(Te,xe,M,qe,$,h,f);if(!(1&qe)){var v=K&&Ae.call(Te,"__wrapped__"),N=Q&&Ae.call(xe,"__wrapped__");if(v||N){var q=v?Te.value():Te,X=N?xe.value():xe;return f||(f=new O.A),h(q,X,qe,$,f)}}return!!z&&(f||(f=new O.A),(function(te,pe,we,ye,Ee,Oe){var Pe=1&we,Ie=(0,V.A)(te),He=Ie.length;if(He!=(0,V.A)(pe).length&&!Pe)return!1;for(var Re=He;Re--;){var Fe=Ie[Re];if(!(Pe?Fe in pe:he.call(pe,Fe)))return!1}var Qe=Oe.get(te),Je=Oe.get(pe);if(Qe&&Je)return Qe==pe&&Je==te;var tt=!0;Oe.set(te,pe),Oe.set(pe,te);for(var $e=Pe;++Re<He;){var Ue=te[Fe=Ie[Re]],Ze=pe[Fe];if(ye)var st=Pe?ye(Ze,Ue,Fe,pe,te,Oe):ye(Ue,Ze,Fe,te,pe,Oe);if(!(st===void 0?Ue===Ze||Ee(Ue,Ze,we,ye,Oe):st)){tt=!1;break}$e||($e=Fe=="constructor")}if(tt&&!$e){var Xe=te.constructor,rt=pe.constructor;Xe==rt||!("constructor"in te)||!("constructor"in pe)||typeof Xe=="function"&&Xe instanceof Xe&&typeof rt=="function"&&rt instanceof rt||(tt=!1)}return Oe.delete(te),Oe.delete(pe),tt})(Te,xe,qe,$,h,f))},ke=d(7948),je=function Te(xe,qe,$,h,f){return xe===qe||(xe==null||qe==null||!(0,ke.A)(xe)&&!(0,ke.A)(qe)?xe!=xe&&qe!=qe:Me(xe,qe,$,h,Te,f))},De=function(Te,xe){return je(Te,xe)}},7572:function(fe,Y,d){"use strict";var O=d(2159),B=d(659);Y.A=function(J){if(!(0,B.A)(J))return!1;var U=(0,O.A)(J);return U=="[object Function]"||U=="[object GeneratorFunction]"||U=="[object AsyncFunction]"||U=="[object Proxy]"}},1628:function(fe,Y){"use strict";Y.A=function(d){return typeof d=="number"&&d>-1&&d%1==0&&d<=9007199254740991}},659:function(fe,Y){"use strict";Y.A=function(d){var O=typeof d;return d!=null&&(O=="object"||O=="function")}},7948:function(fe,Y){"use strict";Y.A=function(d){return d!=null&&typeof d=="object"}},5755:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return L}});var O=d(2159),B=d(1628),J=d(7948),U={};U["[object Float32Array]"]=U["[object Float64Array]"]=U["[object Int8Array]"]=U["[object Int16Array]"]=U["[object Int32Array]"]=U["[object Uint8Array]"]=U["[object Uint8ClampedArray]"]=U["[object Uint16Array]"]=U["[object Uint32Array]"]=!0,U["[object Arguments]"]=U["[object Array]"]=U["[object ArrayBuffer]"]=U["[object Boolean]"]=U["[object DataView]"]=U["[object Date]"]=U["[object Error]"]=U["[object Function]"]=U["[object Map]"]=U["[object Number]"]=U["[object Object]"]=U["[object RegExp]"]=U["[object Set]"]=U["[object String]"]=U["[object WeakMap]"]=!1;var ne=d(5771),k=d(8795),D=k.A&&k.A.isTypedArray,L=D?(0,ne.A)(D):function(E){return(0,J.A)(E)&&(0,B.A)(E.length)&&!!U[(0,O.A)(E)]}},3169:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return k}});var O=d(6753),B=d(501),J=(0,d(2217).A)(Object.keys,Object),U=Object.prototype.hasOwnProperty,ne=d(3628),k=function(D){return(0,ne.A)(D)?(0,O.A)(D):(function(L){if(!(0,B.A)(L))return J(L);var E=[];for(var S in Object(L))U.call(L,S)&&S!="constructor"&&E.push(S);return E})(D)}},2624:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return D}});var O=d(6753),B=d(659),J=d(501),U=Object.prototype.hasOwnProperty,ne=function(L){if(!(0,B.A)(L))return(function(A){var j=[];if(A!=null)for(var V in Object(A))j.push(V);return j})(L);var E=(0,J.A)(L),S=[];for(var b in L)(b!="constructor"||!E&&U.call(L,b))&&S.push(b);return S},k=d(3628),D=function(L){return(0,k.A)(L)?(0,O.A)(L,!0):ne(L)}},8347:function(fe,Y,d){"use strict";d.d(Y,{A:function(){return N}});var O,B,J,U,ne=d(2673),k=d(6770),D=d(8138),L=function(q,X,te){(te!==void 0&&!(0,D.A)(q[X],te)||te===void 0&&!(X in q))&&(0,k.A)(q,X,te)},E=function(q,X,te){for(var pe=-1,we=Object(q),ye=te(q),Ee=ye.length;Ee--;){var Oe=ye[++pe];if(X(we[Oe],Oe,we)===!1)break}return q},S=d(3812),b=d(1827),A=d(4405),j=d(1683),V=d(8412),he=d(723),me=d(3628),Se=d(7948),ve=d(776),C=d(7572),le=d(659),be=d(2159),ue=d(8769),Ae=Function.prototype,Me=Object.prototype,ke=Ae.toString,je=Me.hasOwnProperty,De=ke.call(Object),Te=d(5755),xe=function(q,X){if((X!=="constructor"||typeof q[X]!="function")&&X!="__proto__")return q[X]},qe=d(9601),$=d(2624),h=function(q,X,te,pe,we,ye,Ee){var Oe,Pe=xe(q,te),Ie=xe(X,te),He=Ee.get(Ie);
48if(He)L(q,te,He);else{var Re=ye?ye(Pe,Ie,te+"",q,X,Ee):void 0,Fe=Re===void 0;if(Fe){var Qe=(0,he.A)(Ie),Je=!Qe&&(0,ve.A)(Ie),tt=!Qe&&!Je&&(0,Te.A)(Ie);Re=Ie,Qe||Je||tt?(0,he.A)(Pe)?Re=Pe:(Oe=Pe,(0,Se.A)(Oe)&&(0,me.A)(Oe)?Re=(0,A.A)(Pe):Je?(Fe=!1,Re=(0,S.A)(Ie,!0)):tt?(Fe=!1,Re=(0,b.A)(Ie,!0)):Re=[]):(function($e){if(!(0,Se.A)($e)||(0,be.A)($e)!="[object Object]")return!1;var Ue=(0,ue.A)($e);if(Ue===null)return!0;var Ze=je.call(Ue,"constructor")&&Ue.constructor;return typeof Ze=="function"&&Ze instanceof Ze&&ke.call(Ze)==De})(Ie)||(0,V.A)(Ie)?(Re=Pe,(0,V.A)(Pe)?Re=(function($e){return(0,qe.A)($e,(0,$.A)($e))})(Pe):(0,le.A)(Pe)&&!(0,C.A)(Pe)||(Re=(0,j.A)(Ie))):Fe=!1}Fe&&(Ee.set(Ie,Re),we(Re,Ie,pe,ye,Ee),Ee.delete(Ie)),L(q,te,Re)}},f=function q(X,te,pe,we,ye){X!==te&&E(te,(function(Ee,Oe){if(ye||(ye=new ne.A),(0,le.A)(Ee))h(X,te,Oe,pe,q,we,ye);else{var Pe=we?we(xe(X,Oe),Ee,Oe+"",X,te,ye):void 0;Pe===void 0&&(Pe=Ee),L(X,Oe,Pe)}}),$.A)},p=function(q){return q},ee=Math.max,M=d(7889),R=M.A?function(q,X){return(0,M.A)(q,"toString",{configurable:!0,enumerable:!1,value:(te=X,function(){return te}),writable:!0});var te}:p,K=Date.now,Q=(O=R,B=0,J=0,function(){var q=K(),X=16-(q-J);if(J=q,X>0){if(++B>=800)return arguments[0]}else B=0;return O.apply(void 0,arguments)}),z=function(q,X){return Q((function(te,pe,we){return pe=ee(pe===void 0?te.length-1:pe,0),function(){for(var ye=arguments,Ee=-1,Oe=ee(ye.length-pe,0),Pe=Array(Oe);++Ee<Oe;)Pe[Ee]=ye[pe+Ee];Ee=-1;for(var Ie=Array(pe+1);++Ee<pe;)Ie[Ee]=ye[Ee];return Ie[pe]=we(Pe),(function(He,Re,Fe){switch(Fe.length){case 0:return He.call(Re);case 1:return He.call(Re,Fe[0]);case 2:return He.call(Re,Fe[0],Fe[1]);case 3:return He.call(Re,Fe[0],Fe[1],Fe[2])}return He.apply(Re,Fe)})(te,this,Ie)}})(q,X,p),q+"")},v=d(3767),N=(U=function(q,X,te){f(q,X,te)},z((function(q,X){var te=-1,pe=X.length,we=pe>1?X[pe-1]:void 0,ye=pe>2?X[2]:void 0;for(we=U.length>3&&typeof we=="function"?(pe--,we):void 0,ye&&(function(Oe,Pe,Ie){if(!(0,le.A)(Ie))return!1;var He=typeof Pe;return!!(He=="number"?(0,me.A)(Ie)&&(0,v.A)(Pe,Ie.length):He=="string"&&Pe in Ie)&&(0,D.A)(Ie[Pe],Oe)})(X[0],X[1],ye)&&(we=pe<3?void 0:we,pe=1),q=Object(q);++te<pe;){var Ee=X[te];Ee&&U(q,Ee,te)}return q})))},6935:function(fe,Y){"use strict";Y.A=function(){return[]}},6003:function(fe,Y,d){"use strict";d.r(Y),d.d(Y,{Attributor:function(){return B},AttributorStore:function(){return S},BlockBlot:function(){return ue},ClassAttributor:function(){return D},ContainerBlot:function(){return Me},EmbedBlot:function(){return ke},InlineBlot:function(){return le},LeafBlot:function(){return V},ParentBlot:function(){return ve},Registry:function(){return ne},Scope:function(){return O},ScrollBlot:function(){return Te},StyleAttributor:function(){return E},TextBlot:function(){return qe}});var O=($=>($[$.TYPE=3]="TYPE",$[$.LEVEL=12]="LEVEL",$[$.ATTRIBUTE=13]="ATTRIBUTE",$[$.BLOT=14]="BLOT",$[$.INLINE=7]="INLINE",$[$.BLOCK=11]="BLOCK",$[$.BLOCK_BLOT=10]="BLOCK_BLOT",$[$.INLINE_BLOT=6]="INLINE_BLOT",$[$.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",$[$.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",$[$.ANY=15]="ANY",$))(O||{});class B{constructor(h,f,p={}){this.attrName=h,this.keyName=f;const ee=O.TYPE&O.ATTRIBUTE;this.scope=p.scope!=null?p.scope&O.LEVEL|ee:O.ATTRIBUTE,p.whitelist!=null&&(this.whitelist=p.whitelist)}static keys(h){return Array.from(h.attributes).map((f=>f.name))}add(h,f){return!!this.canAdd(h,f)&&(h.setAttribute(this.keyName,f),!0)}canAdd(h,f){return this.whitelist==null||(typeof f=="string"?this.whitelist.indexOf(f.replace(/["']/g,""))>-1:this.whitelist.indexOf(f)>-1)}remove(h){h.removeAttribute(this.keyName)}value(h){const f=h.getAttribute(this.keyName);return this.canAdd(h,f)&&f?f:""}}class J extends Error{constructor(h){super(h="[Parchment] "+h),this.message=h,this.name=this.constructor.name}}const U=class Bt{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(h,f=!1){if(h==null)return null;if(this.blots.has(h))return this.blots.get(h)||null;if(f){let p=null;try{p=h.parentNode}catch{return null}return this.find(p,f)}return null}create(h,f,p){const ee=this.query(f);if(ee==null)throw new J(`Unable to create ${f} blot`);const M=ee,R=f instanceof Node||f.nodeType===Node.TEXT_NODE?f:M.create(p),K=new M(h,R,p);return Bt.blots.set(K.domNode,K),K}find(h,f=!1){return Bt.find(h,f)}query(h,f=O.ANY){let p;return typeof h=="string"?p=this.types[h]||this.attributes[h]:h instanceof Text||h.nodeType===Node.TEXT_NODE?p=this.types.text:typeof h=="number"?h&O.LEVEL&O.BLOCK?p=this.types.block:h&O.LEVEL&O.INLINE&&(p=this.types.inline):h instanceof Element&&((h.getAttribute("class")||"").split(/\s+/).some((ee=>
48(p=this.classes[ee],!!p))),p=p||this.tags[h.tagName]),p==null?null:"scope"in p&&f&O.LEVEL&p.scope&&f&O.TYPE&p.scope?p:null}register(...h){return h.map((f=>{const p="blotName"in f,ee="attrName"in f;if(!p&&!ee)throw new J("Invalid definition");if(p&&f.blotName==="abstract")throw new J("Cannot register abstract class");const M=p?f.blotName:ee?f.attrName:void 0;return this.types[M]=f,ee?typeof f.keyName=="string"&&(this.attributes[f.keyName]=f):p&&(f.className&&(this.classes[f.className]=f),f.tagName&&(Array.isArray(f.tagName)?f.tagName=f.tagName.map((R=>R.toUpperCase())):f.tagName=f.tagName.toUpperCase(),(Array.isArray(f.tagName)?f.tagName:[f.tagName]).forEach((R=>{(this.tags[R]==null||f.className==null)&&(this.tags[R]=f)})))),f}))}};U.blots=new WeakMap;let ne=U;function k($,h){return($.getAttribute("class")||"").split(/\s+/).filter((f=>f.indexOf(`${h}-`)===0))}const D=class extends B{static keys($){return($.getAttribute("class")||"").split(/\s+/).map((h=>h.split("-").slice(0,-1).join("-")))}add($,h){return!!this.canAdd($,h)&&(this.remove($),$.classList.add(`${this.keyName}-${h}`),!0)}remove($){k($,this.keyName).forEach((h=>{$.classList.remove(h)})),$.classList.length===0&&$.removeAttribute("class")}value($){const h=(k($,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd($,h)?h:""}};function L($){const h=$.split("-"),f=h.slice(1).map((p=>p[0].toUpperCase()+p.slice(1))).join("");return h[0]+f}const E=class extends B{static keys($){return($.getAttribute("style")||"").split(";").map((h=>h.split(":")[0].trim()))}add($,h){return!!this.canAdd($,h)&&($.style[L(this.keyName)]=h,!0)}remove($){$.style[L(this.keyName)]="",$.getAttribute("style")||$.removeAttribute("style")}value($){const h=$.style[L(this.keyName)];return this.canAdd($,h)?h:""}},S=class{constructor($){this.attributes={},this.domNode=$,this.build()}attribute($,h){h?$.add(this.domNode,h)&&($.value(this.domNode)!=null?this.attributes[$.attrName]=$:delete this.attributes[$.attrName]):($.remove(this.domNode),delete this.attributes[$.attrName])}build(){this.attributes={};const $=ne.find(this.domNode);if($==null)return;const h=B.keys(this.domNode),f=D.keys(this.domNode),p=E.keys(this.domNode);h.concat(f).concat(p).forEach((ee=>{const M=$.scroll.query(ee,O.ATTRIBUTE);M instanceof B&&(this.attributes[M.attrName]=M)}))}copy($){Object.keys(this.attributes).forEach((h=>{const f=this.attributes[h].value(this.domNode);$.format(h,f)}))}move($){this.copy($),Object.keys(this.attributes).forEach((h=>{this.attributes[h].remove(this.domNode)})),this.attributes={}}values(){return Object.keys(this.attributes).reduce((($,h)=>($[h]=this.attributes[h].value(this.domNode),$)),{})}},b=class{constructor($,h){this.scroll=$,this.domNode=h,ne.blots.set(h,this),this.prev=null,this.next=null}static create($){if(this.tagName==null)throw new J("Blot definition missing tagName");let h,f;return Array.isArray(this.tagName)?(typeof $=="string"?(f=$.toUpperCase(),parseInt(f,10).toString()===f&&(f=parseInt(f,10))):typeof $=="number"&&(f=$),h=typeof f=="number"?document.createElement(this.tagName[f-1]):f&&this.tagName.indexOf(f)>-1?document.createElement(f):document.createElement(this.tagName[0])):h=document.createElement(this.tagName),this.className&&h.classList.add(this.className),h}get statics(){return this.constructor}attach(){}clone(){const $=this.domNode.cloneNode(!1);return this.scroll.create($)}detach(){this.parent!=null&&this.parent.removeChild(this),ne.blots.delete(this.domNode)}deleteAt($,h){this.isolate($,h).remove()}formatAt($,h,f,p){const ee=this.isolate($,h);if(this.scroll.query(f,O.BLOT)!=null&&p)ee.wrap(f,p);else if(this.scroll.query(f,O.ATTRIBUTE)!=null){const M=this.scroll.create(this.statics.scope);ee.wrap(M),M.format(f,p)}}insertAt($,h,f){const p=f==null?this.scroll.create("text",h):this.scroll.create(h,f),ee=this.split($);this.parent.insertBefore(p,ee||void 0)}isolate($,h){const f=this.split($);if(f==null)throw new Error("Attempt to isolate at end");return f.split(h),f}length(){return 1}offset($=this.parent){return this.parent==null||this===$?0:this.parent.children.offset(this)+this.parent.offset($)}optimize($){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith($,h){const f=typeof $=="string"?this.scroll.create($,h):$;return this.parent!=null&&(this.parent.insertBefore(f,this.next||void 0),this.remove()),f}split($,h){return $===0?this:this.next}update($,h){}wrap($,h){const f=typeof $=="string"?this.scroll.create($,h):$;if(this.parent!=null&&this.parent.insertBefore(f,this.next||void 0),typeof f.appendChild!="function")throw new J(`Cannot wrap ${$}`);return f.appendChild(this),f}};b.blotName="abstract";let A=b;const j=class extends A{static value($){return!0}index($,h){return this.domNode===$||this.domNode.compareDocumentPosition($)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(h,1):-1}position($,h){let f=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return $>0&&(f+=1),[this.parent.domNode,f]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};j.scope=O.INLINE_BLOT;const V=j;class he{constructor(){this.head=null,this.tail=null,this.length=0}append(...h){if(this.insertBefore(h[0],null),h.length>1){const f=h.slice(1);this.append(...f)}}at(h){const f=this.iterator();let p=f();for(;p&&h>0;)h-=1,p=f();return p}contains(h){const f=this.iterator();let p=f();for(;p;){if(p===h)return!0;p=f()}return!1}indexOf(h){const f=this.iterator();let p=f(),ee=0;for(;p;){if(p===h)return ee;ee+=1,p=f()}return-1}insertBefore(h,f){h!=null&&(this.remove(h),h.next=f,f!=null?(h.prev=f.prev,f.prev!=null&&(f.prev.next=h),f.prev=h,f===this.head&&(this.head=h)):this.tail!=null?(this.tail.next=h,h.prev=this.tail,this.tail=h):(h.prev=null,this.head=this.tail=h),this.length+=1)}offset(h){let f=0,p=this.head;for(;p!=null;){if(p===h)return f;f+=p.length(),p=p.next}return-1}remove(h){this.contains(h)&&(h.prev!=null&&(h.prev.next=h.next),h.next!=null&&(h.next.prev=h.prev),h===this.head&&(this.head=h.next),h===this.tail&&(this.tail=h.prev),this.length-=1)}iterator(h=this.head){return()=>{const f=h;return h!=null&&(h=h.next),f}}find(h,f=!1){const p=this.iterator();let ee=p();for(;ee;){const M=ee.length();if(h<M||f&&h===M&&(ee.next==null||ee.next.length()!==0))return[ee,h];h-=M,ee=p()}return[null,0]}forEach(h){const f=this.iterator();let p=f();for(;p;)h(p),p=f()}forEachAt(h,f,p){if(f<=0)return;const[ee,M]=this.find(h);let R=h-M;const K=this.iterator(ee);let Q=K();for(;Q&&R<h+f;){const z=Q.length();h>R?p(Q,h-R,Math.min(f,R+z-h)):p(Q,0,Math.min(z,h+f-R)),R+=z,Q=K()}}map(h){return this.reduce(((f,p)=>(f.push(h(p)),f)),[])}reduce(h,f){const p=this.iterator();let ee=p();for(;ee;)f=h(f,ee),ee=p();return f}}function me($,h){const f=h.find($);if(f)return f;try{return h.create($)}catch{const p=h.create(O.INLINE);
48return Array.from($.childNodes).forEach((ee=>{p.domNode.appendChild(ee)})),$.parentNode&&$.parentNode.replaceChild(p.domNode,$),p.attach(),p}}const Se=class Nt extends A{constructor(h,f){super(h,f),this.uiNode=null,this.build()}appendChild(h){this.insertBefore(h)}attach(){super.attach(),this.children.forEach((h=>{h.attach()}))}attachUI(h){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=h,Nt.uiClass&&this.uiNode.classList.add(Nt.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new he,Array.from(this.domNode.childNodes).filter((h=>h!==this.uiNode)).reverse().forEach((h=>{try{const f=me(h,this.scroll);this.insertBefore(f,this.children.head||void 0)}catch(f){if(f instanceof J)return;throw f}}))}deleteAt(h,f){if(h===0&&f===this.length())return this.remove();this.children.forEachAt(h,f,((p,ee,M)=>{p.deleteAt(ee,M)}))}descendant(h,f=0){const[p,ee]=this.children.find(f);return h.blotName==null&&h(p)||h.blotName!=null&&p instanceof h?[p,ee]:p instanceof Nt?p.descendant(h,ee):[null,-1]}descendants(h,f=0,p=Number.MAX_VALUE){let ee=[],M=p;return this.children.forEachAt(f,p,((R,K,Q)=>{(h.blotName==null&&h(R)||h.blotName!=null&&R instanceof h)&&ee.push(R),R instanceof Nt&&(ee=ee.concat(R.descendants(h,K,M))),M-=Q})),ee}detach(){this.children.forEach((h=>{h.detach()})),super.detach()}enforceAllowedChildren(){let h=!1;this.children.forEach((f=>{h||this.statics.allowedChildren.some((p=>f instanceof p))||(f.statics.scope===O.BLOCK_BLOT?(f.next!=null&&this.splitAfter(f),f.prev!=null&&this.splitAfter(f.prev),f.parent.unwrap(),h=!0):f instanceof Nt?f.unwrap():f.remove())}))}formatAt(h,f,p,ee){this.children.forEachAt(h,f,((M,R,K)=>{M.formatAt(R,K,p,ee)}))}insertAt(h,f,p){const[ee,M]=this.children.find(h);if(ee)ee.insertAt(M,f,p);else{const R=p==null?this.scroll.create("text",f):this.scroll.create(f,p);this.appendChild(R)}}insertBefore(h,f){h.parent!=null&&h.parent.children.remove(h);let p=null;this.children.insertBefore(h,f||null),h.parent=this,f!=null&&(p=f.domNode),(this.domNode.parentNode!==h.domNode||this.domNode.nextSibling!==p)&&this.domNode.insertBefore(h.domNode,p),h.attach()}length(){return this.children.reduce(((h,f)=>h+f.length()),0)}moveChildren(h,f){this.children.forEach((p=>{h.insertBefore(p,f)}))}optimize(h){if(super.optimize(h),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const f=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(f)}else this.remove()}path(h,f=!1){const[p,ee]=this.children.find(h,f),M=[[this,h]];return p instanceof Nt?M.concat(p.path(ee,f)):(p!=null&&M.push([p,ee]),M)}removeChild(h){this.children.remove(h)}replaceWith(h,f){const p=typeof h=="string"?this.scroll.create(h,f):h;return p instanceof Nt&&this.moveChildren(p),super.replaceWith(p)}split(h,f=!1){if(!f){if(h===0)return this;if(h===this.length())return this.next}const p=this.clone();return this.parent&&this.parent.insertBefore(p,this.next||void 0),this.children.forEachAt(h,this.length(),((ee,M,R)=>{const K=ee.split(M,f);K!=null&&p.appendChild(K)})),p}splitAfter(h){const f=this.clone();for(;h.next!=null;)f.appendChild(h.next);return this.parent&&this.parent.insertBefore(f,this.next||void 0),f}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(h,f){const p=[],ee=[];h.forEach((M=>{M.target===this.domNode&&M.type==="childList"&&(p.push(...M.addedNodes),ee.push(...M.removedNodes))})),ee.forEach((M=>{if(M.parentNode!=null&&M.tagName!=="IFRAME"&&document.body.compareDocumentPosition(M)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const R=this.scroll.find(M);R!=null&&(R.domNode.parentNode==null||R.domNode.parentNode===this.domNode)&&R.detach()})),p.filter((M=>M.parentNode===this.domNode&&M!==this.uiNode)).sort(((M,R)=>M===R?0:M.compareDocumentPosition(R)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1)).forEach((M=>{let R=null;M.nextSibling!=null&&(R=this.scroll.find(M.nextSibling));const K=me(M,this.scroll);(K.next!==R||K.next==null)&&(K.parent!=null&&K.parent.removeChild(this),this.insertBefore(K,R||void 0))})),this.enforceAllowedChildren()}};Se.uiClass="";const ve=Se,C=class qt extends ve{static create(h){return super.create(h)}static formats(h,f){const p=f.query(qt.blotName);if(p==null||h.tagName!==p.tagName){if(typeof this.tagName=="string")return!0;
48if(Array.isArray(this.tagName))return h.tagName.toLowerCase()}}constructor(h,f){super(h,f),this.attributes=new S(this.domNode)}format(h,f){if(h!==this.statics.blotName||f){const p=this.scroll.query(h,O.INLINE);if(p==null)return;p instanceof B?this.attributes.attribute(p,f):f&&(h!==this.statics.blotName||this.formats()[h]!==f)&&this.replaceWith(h,f)}else this.children.forEach((p=>{p instanceof qt||(p=p.wrap(qt.blotName,!0)),this.attributes.copy(p)})),this.unwrap()}formats(){const h=this.attributes.values(),f=this.statics.formats(this.domNode,this.scroll);return f!=null&&(h[this.statics.blotName]=f),h}formatAt(h,f,p,ee){this.formats()[p]!=null||this.scroll.query(p,O.ATTRIBUTE)?this.isolate(h,f).format(p,ee):super.formatAt(h,f,p,ee)}optimize(h){super.optimize(h);const f=this.formats();if(Object.keys(f).length===0)return this.unwrap();const p=this.next;p instanceof qt&&p.prev===this&&(function(ee,M){if(Object.keys(ee).length!==Object.keys(M).length)return!1;for(const R in ee)if(ee[R]!==M[R])return!1;return!0})(f,p.formats())&&(p.moveChildren(this),p.remove())}replaceWith(h,f){const p=super.replaceWith(h,f);return this.attributes.copy(p),p}update(h,f){super.update(h,f),h.some((p=>p.target===this.domNode&&p.type==="attributes"))&&this.attributes.build()}wrap(h,f){const p=super.wrap(h,f);return p instanceof qt&&this.attributes.move(p),p}};C.allowedChildren=[C,V],C.blotName="inline",C.scope=O.INLINE_BLOT,C.tagName="SPAN";const le=C,be=class Ft extends ve{static create(h){return super.create(h)}static formats(h,f){const p=f.query(Ft.blotName);if(p==null||h.tagName!==p.tagName){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return h.tagName.toLowerCase()}}constructor(h,f){super(h,f),this.attributes=new S(this.domNode)}format(h,f){const p=this.scroll.query(h,O.BLOCK);p!=null&&(p instanceof B?this.attributes.attribute(p,f):h!==this.statics.blotName||f?f&&(h!==this.statics.blotName||this.formats()[h]!==f)&&this.replaceWith(h,f):this.replaceWith(Ft.blotName))}formats(){const h=this.attributes.values(),f=this.statics.formats(this.domNode,this.scroll);return f!=null&&(h[this.statics.blotName]=f),h}formatAt(h,f,p,ee){this.scroll.query(p,O.BLOCK)!=null?this.format(p,ee):super.formatAt(h,f,p,ee)}insertAt(h,f,p){if(p==null||this.scroll.query(f,O.INLINE)!=null)super.insertAt(h,f,p);else{const ee=this.split(h);if(ee==null)throw new Error("Attempt to insertAt after block boundaries");{const M=this.scroll.create(f,p);ee.parent.insertBefore(M,ee)}}}replaceWith(h,f){const p=super.replaceWith(h,f);return this.attributes.copy(p),p}update(h,f){super.update(h,f),h.some((p=>p.target===this.domNode&&p.type==="attributes"))&&this.attributes.build()}};be.blotName="block",be.scope=O.BLOCK_BLOT,be.tagName="P",be.allowedChildren=[le,be,V];const ue=be,Ae=class extends ve{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt($,h){super.deleteAt($,h),this.enforceAllowedChildren()}formatAt($,h,f,p){super.formatAt($,h,f,p),this.enforceAllowedChildren()}insertAt($,h,f){super.insertAt($,h,f),this.enforceAllowedChildren()}optimize($){super.optimize($),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};Ae.blotName="container",Ae.scope=O.BLOCK_BLOT;const Me=Ae,ke=class extends V{static formats($,h){}format($,h){super.formatAt(0,this.length(),$,h)}formatAt($,h,f,p){$===0&&h===this.length()?this.format(f,p):super.formatAt($,h,f,p)}formats(){return this.statics.formats(this.domNode,this.scroll)}},je={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},De=class extends ve{constructor($,h){super(null,h),this.registry=$,this.scroll=this,this.build(),this.observer=new MutationObserver((f=>{this.update(f)})),this.observer.observe(this.domNode,je),this.attach()}create($,h){return this.registry.create(this,$,h)}find($,h=!1){const f=this.registry.find($,h);return f?f.scroll===this?f:h?this.find(f.scroll.domNode.parentNode,!0):null:null}query($,h=O.ANY){return this.registry.query($,h)}register(...$){return this.registry.register(...$)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt($,h){this.update(),$===0&&h===this.length()?this.children.forEac
48h((f=>{f.remove()})):super.deleteAt($,h)}formatAt($,h,f,p){this.update(),super.formatAt($,h,f,p)}insertAt($,h,f){this.update(),super.insertAt($,h,f)}optimize($=[],h={}){super.optimize(h);const f=h.mutationsMap||new WeakMap;let p=Array.from(this.observer.takeRecords());for(;p.length>0;)$.push(p.pop());const ee=(K,Q=!0)=>{K==null||K===this||K.domNode.parentNode!=null&&(f.has(K.domNode)||f.set(K.domNode,[]),Q&&ee(K.parent))},M=K=>{f.has(K.domNode)&&(K instanceof ve&&K.children.forEach(M),f.delete(K.domNode),K.optimize(h))};let R=$;for(let K=0;R.length>0;K+=1){if(K>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(R.forEach((Q=>{const z=this.find(Q.target,!0);z!=null&&(z.domNode===Q.target&&(Q.type==="childList"?(ee(this.find(Q.previousSibling,!1)),Array.from(Q.addedNodes).forEach((v=>{const N=this.find(v,!1);ee(N,!1),N instanceof ve&&N.children.forEach((q=>{ee(q,!1)}))}))):Q.type==="attributes"&&ee(z.prev)),ee(z))})),this.children.forEach(M),R=Array.from(this.observer.takeRecords()),p=R.slice();p.length>0;)$.push(p.pop())}}update($,h={}){$=$||this.observer.takeRecords();const f=new WeakMap;$.map((p=>{const ee=this.find(p.target,!0);return ee==null?null:f.has(ee.domNode)?(f.get(ee.domNode).push(p),null):(f.set(ee.domNode,[p]),ee)})).forEach((p=>{p!=null&&p!==this&&f.has(p.domNode)&&p.update(f.get(p.domNode)||[],h)})),h.mutationsMap=f,f.has(this.domNode)&&super.update(f.get(this.domNode),h),this.optimize($,h)}};De.blotName="scroll",De.defaultChild=ue,De.allowedChildren=[ue,Me],De.scope=O.BLOCK_BLOT,De.tagName="DIV";const Te=De,xe=class Vt extends V{static create(h){return document.createTextNode(h)}static value(h){return h.data}constructor(h,f){super(h,f),this.text=this.statics.value(this.domNode)}deleteAt(h,f){this.domNode.data=this.text=this.text.slice(0,h)+this.text.slice(h+f)}index(h,f){return this.domNode===h?f:-1}insertAt(h,f,p){p==null?(this.text=this.text.slice(0,h)+f+this.text.slice(h),this.domNode.data=this.text):super.insertAt(h,f,p)}length(){return this.text.length}optimize(h){super.optimize(h),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof Vt&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(h,f=!1){return[this.domNode,h]}split(h,f=!1){if(!f){if(h===0)return this;if(h===this.length())return this.next}const p=this.scroll.create(this.domNode.splitText(h));return this.parent.insertBefore(p,this.next||void 0),this.text=this.statics.value(this.domNode),p}update(h,f){h.some((p=>p.type==="characterData"&&p.target===this.domNode))&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};xe.blotName="text",xe.scope=O.INLINE_BLOT;const qe=xe}},ht={};function We(fe){var Y=ht[fe];if(Y!==void 0)return Y.exports;var d=ht[fe]={id:fe,loaded:!1,exports:{}};return et[fe](d,d.exports,We),d.loaded=!0,d.exports}We.n=function(fe){var Y=fe&&fe.__esModule?function(){return fe.default}:function(){return fe};return We.d(Y,{a:Y}),Y},We.d=function(fe,Y){for(var d in Y)We.o(Y,d)&&!We.o(fe,d)&&Object.defineProperty(fe,d,{enumerable:!0,get:Y[d]})},We.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),We.o=function(fe,Y){return Object.prototype.hasOwnProperty.call(fe,Y)},We.r=function(fe){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(fe,"__esModule",{value:!0})},We.nmd=function(fe){return fe.paths=[],fe.children||(fe.children=[]),fe};var ft={};return(function(){"use strict";We.d(ft,{default:function(){return ae}});var fe=We(3729),Y=We(8276),d=We(7912),O=We(6003);class B extends O.ClassAttributor{add(a,o){let _=0;if(o==="+1"||o==="-1"){const Z=this.value(a)||0;_=o==="+1"?Z+1:Z-1}else typeof o=="number"&&(_=o);return _===0?(this.remove(a),!0):super.add(a,_.toString())}canAdd(a,o){return super.canAdd(a,o)||super.canAdd(a,parseInt(o,10))}value(a){return parseInt(super.value(a),10)||void 0}}var J=new B("indent","ql-indent",{scope:O.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]}),U=We(9698);class ne extends U.Ay{static blotName="blockquote";static tagName="blockquote"}var k=ne;class D extends U.Ay{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(a){return this.tagName.indexOf(a.tagName)+1}}var L=D,E=We(580),S=We(6142);
48class b extends E.A{}b.blotName="list-container",b.tagName="OL";class A extends U.Ay{static create(a){const o=super.create();return o.setAttribute("data-list",a),o}static formats(a){return a.getAttribute("data-list")||void 0}static register(){S.Ay.register(b)}constructor(a,o){super(a,o);const _=o.ownerDocument.createElement("span"),Z=re=>{if(!a.isEnabled())return;const de=this.statics.formats(o,a);de==="checked"?(this.format("list","unchecked"),re.preventDefault()):de==="unchecked"&&(this.format("list","checked"),re.preventDefault())};_.addEventListener("mousedown",Z),_.addEventListener("touchstart",Z),this.attachUI(_)}format(a,o){a===this.statics.blotName&&o?this.domNode.setAttribute("data-list",o):super.format(a,o)}}A.blotName="list",A.tagName="LI",b.allowedChildren=[A],A.requiredContainer=b;var j=We(9541),V=We(8638),he=We(6772),me=We(664),Se=We(4850);class ve extends Se.A{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(a){super.optimize(a),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}var C=ve;class le extends Se.A{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(a){const o=super.create(a);return o.setAttribute("href",this.sanitize(a)),o.setAttribute("rel","noopener noreferrer"),o.setAttribute("target","_blank"),o}static formats(a){return a.getAttribute("href")}static sanitize(a){return be(a,this.PROTOCOL_WHITELIST)?a:this.SANITIZED_URL}format(a,o){a===this.statics.blotName&&o?this.domNode.setAttribute("href",this.constructor.sanitize(o)):super.format(a,o)}}function be(I,a){const o=document.createElement("a");o.href=I;const _=o.href.slice(0,o.href.indexOf(":"));return a.indexOf(_)>-1}class ue extends Se.A{static blotName="script";static tagName=["SUB","SUP"];static create(a){return a==="super"?document.createElement("sup"):a==="sub"?document.createElement("sub"):super.create(a)}static formats(a){return a.tagName==="SUB"?"sub":a.tagName==="SUP"?"super":void 0}}var Ae=ue;class Me extends Se.A{static blotName="underline";static tagName="U"}var ke=Me,je=We(746);class De extends je.A{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(a){if(window.katex==null)throw new Error("Formula module requires KaTeX.");const o=super.create(a);return typeof a=="string"&&(window.katex.render(a,o,{throwOnError:!1,errorColor:"#f00"}),o.setAttribute("data-value",a)),o}static value(a){return a.getAttribute("data-value")}html(){const{formula:a}=this.value();return`<span>${a}</span>`}}var Te=De;const xe=["alt","height","width"];class qe extends O.EmbedBlot{static blotName="image";static tagName="IMG";static create(a){const o=super.create(a);return typeof a=="string"&&o.setAttribute("src",this.sanitize(a)),o}static formats(a){return xe.reduce(((o,_)=>(a.hasAttribute(_)&&(o[_]=a.getAttribute(_)),o)),{})}static match(a){return/\.(jpe?g|gif|png)$/.test(a)||/^data:image\/.+;base64/.test(a)}static sanitize(a){return be(a,["http","https","data"])?a:"//:0"}static value(a){return a.getAttribute("src")}format(a,o){xe.indexOf(a)>-1?o?this.domNode.setAttribute(a,o):this.domNode.removeAttribute(a):super.format(a,o)}}var $=qe;const h=["height","width"];class f extends U.zo{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(a){const o=super.create(a);return o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","true"),o.setAttribute("src",this.sanitize(a)),o}static formats(a){return h.reduce(((o,_)=>(a.hasAttribute(_)&&(o[_]=a.getAttribute(_)),o)),{})}static sanitize(a){return le.sanitize(a)}static value(a){return a.getAttribute("src")}format(a,o){h.indexOf(a)>-1?o?this.domNode.setAttribute(a,o):this.domNode.removeAttribute(a):super.format(a,o)}html(){const{video:a}=this.value();return`<a href="${a}">${a}</a>`}}var p=f,ee=We(9404),M=We(5232),R=We.n(M),K=We(4266),Q=We(3036),z=We(4541),v=We(5508),N=We(584);const q=new O.ClassAttributor("code-token","hljs",{scope:O.Scope.INLINE});class X extends Se.A{static formats(a,o){for(;
48a!=null&&a!==o.domNode;){if(a.classList&&a.classList.contains(ee.Ay.className))return super.formats(a,o);a=a.parentNode}}constructor(a,o,_){super(a,o,_),q.add(this.domNode,_)}format(a,o){a!==X.blotName?super.format(a,o):o?q.add(this.domNode,o):(q.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),q.value(this.domNode)||this.unwrap()}}X.blotName="code-token",X.className="ql-token";class te extends ee.Ay{static create(a){const o=super.create(a);return typeof a=="string"&&o.setAttribute("data-language",a),o}static formats(a){return a.getAttribute("data-language")||"plain"}static register(){}format(a,o){a===this.statics.blotName&&o?this.domNode.setAttribute("data-language",o):super.format(a,o)}replaceWith(a,o){return this.formatAt(0,this.length(),X.blotName,!1),super.replaceWith(a,o)}}class pe extends ee.EJ{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(a,o){a===te.blotName&&(this.forceNext=!0,this.children.forEach((_=>{_.format(a,o)})))}formatAt(a,o,_,Z){_===te.blotName&&(this.forceNext=!0),super.formatAt(a,o,_,Z)}highlight(a){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.children.head==null)return;const _=`${Array.from(this.domNode.childNodes).filter((re=>re!==this.uiNode)).map((re=>re.textContent)).join(` 49`)} 50`,Z=te.formats(this.children.head.domNode);if(o||this.forceNext||this.cachedText!==_){if(_.trim().length>0||this.cachedText==null){const re=this.children.reduce(((ie,G)=>ie.concat((0,U.mG)(G,!1))),new(R())),de=a(_,Z);re.diff(de).reduce(((ie,G)=>{let{retain:ce,attributes:ge}=G;return ce?(ge&&Object.keys(ge).forEach((Ce=>{[te.blotName,X.blotName].includes(Ce)&&this.formatAt(ie,ce,Ce,ge[Ce])})),ie+ce):ie}),0)}this.cachedText=_,this.forceNext=!1}}html(a,o){const[_]=this.children.find(a);return`<pre data-language="${_?te.formats(_.domNode):"plain"}"> 51${(0,v.X)(this.code(a,o))} 52</pre>`}optimize(a){if(super.optimize(a),this.parent!=null&&this.children.head!=null&&this.uiNode!=null){const o=te.formats(this.children.head.domNode);o!==this.uiNode.value&&(this.uiNode.value=o)}}}pe.allowedChildren=[te],te.requiredContainer=pe,te.allowedChildren=[X,z.A,v.A,Q.A];class we extends K.A{static register(){S.Ay.register(X,!0),S.Ay.register(te,!0),S.Ay.register(pe,!0)}constructor(a,o){if(super(a,o),this.options.hljs==null)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce(((_,Z)=>{let{key:re}=Z;return _[re]=!0,_}),{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(S.Ay.events.SCROLL_BLOT_MOUNT,(a=>{if(!(a instanceof pe))return;const o=this.quill.root.ownerDocument.createElement("select");
52this.options.languages.forEach((_=>{let{key:Z,label:re}=_;const de=o.ownerDocument.createElement("option");de.textContent=re,de.setAttribute("value",Z),o.appendChild(de)})),o.addEventListener("change",(()=>{a.format(te.blotName,o.value),this.quill.root.focus(),this.highlight(a,!0)})),a.uiNode==null&&(a.attachUI(o),a.children.head&&(o.value=te.formats(a.children.head.domNode)))}))}initTimer(){let a=null;this.quill.on(S.Ay.events.SCROLL_OPTIMIZE,(()=>{a&&clearTimeout(a),a=setTimeout((()=>{this.highlight(),a=null}),this.options.interval)}))}highlight(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(S.Ay.sources.USER);const _=this.quill.getSelection();(a==null?this.quill.scroll.descendants(pe):[a]).forEach((Z=>{Z.highlight(this.highlightBlot,o)})),this.quill.update(S.Ay.sources.SILENT),_!=null&&this.quill.setSelection(_,S.Ay.sources.SILENT)}highlightBlot(a){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"plain";if(o=this.languages[o]?o:"plain",o==="plain")return(0,v.X)(a).split(` 53`).reduce(((Z,re,de)=>(de!==0&&Z.insert(` 54`,{[ee.Ay.blotName]:o}),Z.insert(re))),new(R()));const _=this.quill.root.ownerDocument.createElement("div");return _.classList.add(ee.Ay.className),_.innerHTML=((Z,re,de)=>{if(typeof Z.versionString=="string"){const ie=Z.versionString.split(".")[0];if(parseInt(ie,10)>=11)return Z.highlight(de,{language:re}).value}return Z.highlight(re,de).value})(this.options.hljs,o,a),(0,N.hV)(this.quill.scroll,_,[(Z,re)=>{const de=q.value(Z);return de?re.compose(new(R())().retain(re.length(),{[X.blotName]:de})):re}],[(Z,re)=>Z.data.split(` 55`).reduce(((de,ie,G)=>(G!==0&&de.insert(` 56`,{[ee.Ay.blotName]:o}),de.insert(ie))),re)],new WeakMap)}}we.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class ye extends U.Ay{static blotName="table";static tagName="TD";static create(a){const o=super.create();return a?o.setAttribute("data-row",a):o.setAttribute("data-row",Ie()),o}static formats(a){if(a.hasAttribute("data-row"))return a.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(a,o){a===ye.blotName&&o?this.domNode.setAttribute("data-row",o):super.format(a,o)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class Ee extends E.A{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&this.next.children.head!=null){const a=this.children.head.formats(),o=this.children.tail.formats(),_=this.next.children.head.formats(),Z=this.next.children.tail.formats();return a.table===o.table&&a.table===_.table&&a.table===Z.table}return!1}optimize(a){super.optimize(a),this.children.forEach((o=>{if(o.next==null)return;const _=o.formats(),Z=o.next.formats();if(_.table!==Z.table){const re=this.splitAfter(o);re&&re.optimize(),this.prev&&this.prev.optimize()}}))}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class Oe extends E.A{static blotName="table-body";static tagName="TBODY"}class Pe extends E.A{static blotName="table-container";static tagName="TABLE";balanceCells(){const a=this.descendants(Ee),o=a.reduce(((_,Z)=>Math.max(Z.children.length,_)),0);a.forEach((_=>{new Array(o-_.children.length).fill(0).forEach((()=>{let Z;_.children.head!=null&&(Z=ye.formats(_.children.head.domNode));const re=this.scroll.create(ye.blotName,Z);_.appendChild(re),re.optimize()}))}))}cells(a){return this.rows().map((o=>o.children.at(a)))}deleteColumn(a){const[o]=this.descendant(Oe);
56o!=null&&o.children.head!=null&&o.children.forEach((_=>{const Z=_.children.at(a);Z?.remove()}))}insertColumn(a){const[o]=this.descendant(Oe);o!=null&&o.children.head!=null&&o.children.forEach((_=>{const Z=_.children.at(a),re=ye.formats(_.children.head.domNode),de=this.scroll.create(ye.blotName,re);_.insertBefore(de,Z)}))}insertRow(a){const[o]=this.descendant(Oe);if(o==null||o.children.head==null)return;const _=Ie(),Z=this.scroll.create(Ee.blotName);o.children.head.children.forEach((()=>{const de=this.scroll.create(ye.blotName,_);Z.appendChild(de)}));const re=o.children.at(a);o.insertBefore(Z,re)}rows(){const a=this.children.head;return a==null?[]:a.children.map((o=>o))}}function Ie(){return`row-${Math.random().toString(36).slice(2,6)}`}Pe.allowedChildren=[Oe],Oe.requiredContainer=Pe,Oe.allowedChildren=[Ee],Ee.requiredContainer=Oe,Ee.allowedChildren=[ye],ye.requiredContainer=Ee;class He extends K.A{static register(){S.Ay.register(ye),S.Ay.register(Ee),S.Ay.register(Oe),S.Ay.register(Pe)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(Pe).forEach((a=>{a.balanceCells()}))}deleteColumn(){const[a,,o]=this.getTable();o!=null&&(a.deleteColumn(o.cellOffset()),this.quill.update(S.Ay.sources.USER))}deleteRow(){const[,a]=this.getTable();a!=null&&(a.remove(),this.quill.update(S.Ay.sources.USER))}deleteTable(){const[a]=this.getTable();if(a==null)return;const o=a.offset();a.remove(),this.quill.update(S.Ay.sources.USER),this.quill.setSelection(o,S.Ay.sources.SILENT)}getTable(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.quill.getSelection();if(a==null)return[null,null,null,-1];const[o,_]=this.quill.getLine(a.index);if(o==null||o.statics.blotName!==ye.blotName)return[null,null,null,-1];const Z=o.parent;return[Z.parent.parent,Z,o,_]}insertColumn(a){const o=this.quill.getSelection();if(!o)return;const[_,Z,re]=this.getTable(o);if(re==null)return;const de=re.cellOffset();_.insertColumn(de+a),this.quill.update(S.Ay.sources.USER);let ie=Z.rowOffset();a===0&&(ie+=1),this.quill.setSelection(o.index+ie,o.length,S.Ay.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(a){const o=this.quill.getSelection();if(!o)return;const[_,Z,re]=this.getTable(o);if(re==null)return;const de=Z.rowOffset();_.insertRow(de+a),this.quill.update(S.Ay.sources.USER),a>0?this.quill.setSelection(o,S.Ay.sources.SILENT):this.quill.setSelection(o.index+Z.children.length,o.length,S.Ay.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(a,o){const _=this.quill.getSelection();if(_==null)return;const Z=new Array(a).fill(0).reduce((re=>{const de=new Array(o).fill(` 57`).join("");return re.insert(de,{table:Ie()})}),new(R())().retain(_.index));this.quill.updateContents(Z,S.Ay.sources.USER),this.quill.setSelection(_.index,S.Ay.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(S.Ay.events.SCROLL_OPTIMIZE,(a=>{a.some((o=>!!["TD","TR","TBODY","TABLE"].includes(o.target.tagName)&&(this.quill.once(S.Ay.events.TEXT_CHANGE,((_,Z,re)=>{re===S.Ay.sources.USER&&this.balanceTables()})),!0)))}))}}var Re=He;const Fe=(0,We(6078).A)("quill:toolbar");class Qe extends K.A{constructor(a,o){if(super(a,o),Array.isArray(this.options.container)){const _=document.createElement("div");_.setAttribute("role","toolbar"),(function(Z,re){Array.isArray(re[0])||(re=[re]),re.forEach((de=>{const ie=document.createElement("span");ie.classList.add("ql-formats"),de.forEach((G=>{if(typeof G=="string")Je(ie,G);else{const ce=Object.keys(G)[0],ge=G[ce];Array.isArray(ge)?(function(Ce,_e,Ge){const Ye=document.createElement("select");Ye.classList.add(`ql-${_e}`),Ge.forEach((oe=>{const g=document.createElement("option");oe!==!1?g.setAttribute("value",String(oe)):g.setAttribute("selected","selected"),Ye.appendChild(g)})),Ce.appendChild(Ye)})(ie,ce,ge):Je(ie,ce,ge)}})),Z.appendChild(ie)}))})(_,this.options.container),a.container?.parentNode?.insertBefore(_,a.container),this.container=_}else typeof this.options.container=="string"?this.container=document.querySelector(this.options.container):this.container=this.options.container;this.container instanceof HTMLElement?(this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEac
57h((_=>{const Z=this.options.handlers?.[_];Z&&this.addHandler(_,Z)})),Array.from(this.container.querySelectorAll("button, select")).forEach((_=>{this.attach(_)})),this.quill.on(S.Ay.events.EDITOR_CHANGE,(()=>{const[_]=this.quill.selection.getRange();this.update(_)}))):Fe.error("Container required for toolbar",this.options)}addHandler(a,o){this.handlers[a]=o}attach(a){let o=Array.from(a.classList).find((Z=>Z.indexOf("ql-")===0));if(!o)return;if(o=o.slice(3),a.tagName==="BUTTON"&&a.setAttribute("type","button"),this.handlers[o]==null&&this.quill.scroll.query(o)==null)return void Fe.warn("ignoring attaching to nonexistent format",o,a);const _=a.tagName==="SELECT"?"change":"click";a.addEventListener(_,(Z=>{let re;if(a.tagName==="SELECT"){if(a.selectedIndex<0)return;const ie=a.options[a.selectedIndex];re=!ie.hasAttribute("selected")&&(ie.value||!1)}else re=!a.classList.contains("ql-active")&&(a.value||!a.hasAttribute("value")),Z.preventDefault();this.quill.focus();const[de]=this.quill.selection.getRange();if(this.handlers[o]!=null)this.handlers[o].call(this,re);else if(this.quill.scroll.query(o).prototype instanceof O.EmbedBlot){if(re=prompt(`Enter ${o}`),!re)return;this.quill.updateContents(new(R())().retain(de.index).delete(de.length).insert({[o]:re}),S.Ay.sources.USER)}else this.quill.format(o,re,S.Ay.sources.USER);this.update(de)})),this.controls.push([o,a])}update(a){const o=a==null?{}:this.quill.getFormat(a);this.controls.forEach((_=>{const[Z,re]=_;if(re.tagName==="SELECT"){let de=null;if(a==null)de=null;else if(o[Z]==null)de=re.querySelector("option[selected]");else if(!Array.isArray(o[Z])){let ie=o[Z];typeof ie=="string"&&(ie=ie.replace(/"/g,'\\"')),de=re.querySelector(`option[value="${ie}"]`)}de==null?(re.value="",re.selectedIndex=-1):de.selected=!0}else if(a==null)re.classList.remove("ql-active"),re.setAttribute("aria-pressed","false");else if(re.hasAttribute("value")){const de=o[Z],ie=de===re.getAttribute("value")||de!=null&&de.toString()===re.getAttribute("value")||de==null&&!re.getAttribute("value");re.classList.toggle("ql-active",ie),re.setAttribute("aria-pressed",ie.toString())}else{const de=o[Z]!=null;re.classList.toggle("ql-active",de),re.setAttribute("aria-pressed",de.toString())}}))}}function Je(I,a,o){const _=document.createElement("button");_.setAttribute("type","button"),_.classList.add(`ql-${a}`),_.setAttribute("aria-pressed","false"),o!=null?(_.value=o,_.setAttribute("aria-label",`${a}: ${o}`)):_.setAttribute("aria-label",a),I.appendChild(_)}Qe.DEFAULTS={},Qe.DEFAULTS={container:null,handlers:{clean(){const I=this.quill.getSelection();if(I!=null)if(I.length===0){const a=this.quill.getFormat();Object.keys(a).forEach((o=>{this.quill.scroll.query(o,O.Scope.INLINE)!=null&&this.quill.format(o,!1,S.Ay.sources.USER)}))}else this.quill.removeFormat(I.index,I.length,S.Ay.sources.USER)},direction(I){const{align:a}=this.quill.getFormat();I==="rtl"&&a==null?this.quill.format("align","right",S.Ay.sources.USER):I||a!=="right"||this.quill.format("align",!1,S.Ay.sources.USER),this.quill.format("direction",I,S.Ay.sources.USER)},indent(I){const a=this.quill.getSelection(),o=this.quill.getFormat(a),_=parseInt(o.indent||0,10);if(I==="+1"||I==="-1"){let Z=I==="+1"?1:-1;o.direction==="rtl"&&(Z*=-1),this.quill.format("indent",_+Z,S.Ay.sources.USER)}},link(I){I===!0&&(I=prompt("Enter link URL:")),this.quill.format("link",I,S.Ay.sources.USER)},list(I){const a=this.quill.getSelection(),o=this.quill.getFormat(a);I==="check"?o.list==="checked"||o.list==="unchecked"?this.quill.format("list",!1,S.Ay.sources.USER):this.quill.format("list","unchecked",S.Ay.sources.USER):this.quill.format("list",I,S.Ay.sources.USER)}}};const tt='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>';var $e={align:{"":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',center:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',right:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',justify:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>'},background:'<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/>
57<path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',blockquote:'<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',bold:'<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',clean:'<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',code:tt,"code-block":tt
vendor: 12,565 bytes, line 57
57,color:'<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',direction:{"":'<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',rtl:'<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>'},formula:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',header:{1:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',2:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',3:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',4:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',5:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',6:'<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>'},italic:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',image:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',indent:{"+1":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',"-1":'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>'},link:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',list:{bullet:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',check:'<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',ordered:'<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>'},script:{sub:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',super:'<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>'},strike:'<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',table:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',underline:'<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',video:'<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>'};let
vendor: 1,491 bytes, line 57
57Ue=0;function Ze(I,a){I.setAttribute(a,`${I.getAttribute(a)!=="true"}`)}var st=class{constructor(I){this.select=I,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(()=>{this.togglePicker()})),this.label.addEventListener("keydown",(a=>{switch(a.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),a.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),Ze(this.label,"aria-expanded"),Ze(this.options,"aria-hidden")}buildItem(I){const a=document.createElement("span");a.tabIndex="0",a.setAttribute("role","button"),a.classList.add("ql-picker-item");const o=I.getAttribute("value");return o&&a.setAttribute("data-value",o),I.textContent&&a.setAttribute("data-label",I.textContent),a.addEventListener("click",(()=>{this.selectItem(a,!0)})),a.addEventListener("keydown",(_=>{switch(_.key){case"Enter":this.selectItem(a,!0),_.preventDefault();break;case"Escape":this.escape(),_.preventDefault()}})),a}buildLabel(){const I=document.createElement("span");return I.classList.add("ql-picker-label"),I.innerHTML='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>',I.tabIndex="0",I.setAttribute("role","button"),I.setAttribute("aria-expanded","fal
57se"),this.container.appendChild(I),I}buildOptions(){const I=document.createElement("span");I.classList.add("ql-picker-options"),I.setAttribute("aria-hidden","true"),I.tabIndex="-1",I.id=`ql-picker-options-${Ue}`,Ue+=1,this.label.setAttribute("aria-controls",I.id),this.options=I,Array.from(this.select.options).forEach((a=>{const o=this.buildItem(a);I.appendChild(o),a.selected===!0&&this.selectItem(o)})),this.container.appendChild(I)}buildPicker(){Array.from(this.select.attributes).forEach((I=>{this.container.setAttribute(I.name,I.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout((()=>this.label.focus()),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(I){let a=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const o=this.container.querySelector(".ql-selected");I!==o&&(o?.classList.remove("ql-selected"),I!=null&&(I.classList.add("ql-selected"),this.select.selectedIndex=Array.from(I.parentNode.children).indexOf(I),I.hasAttribute("data-value")?this.label.setAttribute("data-value",I.getAttribute("data-value")):this.label.removeAttribute("data-value"),I.hasAttribute("data-label")?this.label.setAttribute("data-label",I.getAttribute("data-label")):this.label.removeAttribute("data-label"),a&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let I;if(this.select.selectedIndex>-1){const o=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];I=this.select.options[this.select.selectedIndex],this.selectItem(o)}else this.selectItem(null);const a=I!=null&&I!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",a)}},Xe=class extends st{constructor(I,a){super(I),this.label.innerHTML=a,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach((o=>{o.classList.add("ql-primary")}))}buildItem(I){const a=super.buildItem(I);return a.style.backgroundColor=I.getAttribute("value")||"",a}selectItem(I,a){super.selectItem(I,a);const o=this.label.querySelector(".ql-color-label"),_=I&&I.getAttribute("data-value")||"";o&&(o.tagName==="line"?o.style.stroke=_:o.style.fill=_)}},rt=class extends st{constructor(I,a){super(I),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach((o=>{o.innerHTML=a[o.getAttribute("data-value")||""]})),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(I,a){super.selectItem(I,a);const o=I||this.defaultItem;if(o!=null){if(this.label.innerHTML===o.innerHTML)return;this.label.innerHTML=o.innerHTML}}},pt=class{constructor(I,a){this.quill=I,this.boundsContainer=a||document.body,this.root=I.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,(o=>{const{overflowY:_}=getComputedStyle(o,null);return _!=="visible"&&_!=="clip"})(this.quill.root)&&this.quill.root.addEventListener("scroll",(()=>{this.root.style.marginTop=-1*this.quill.root.scrollTop+"px"})),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(I){const a=I.left+I.width/2-this.root.offsetWidth/2,o=I.bottom+this.quill.root.scrollTop;this.root.style.left=`${a}px`,this.root.style.top=`${o}px`,this.root.classList.remove("ql-flip");const _=this.boundsContainer.getBoundingClientRect(),Z=this.root.getBoundingClientRect();let re=0;if(Z.right>_.right&&(re=_.right-Z.right,this.root.style.left=`${a+re}px`),Z.left<_.left&&(re=_.left-Z.left,this.root.style.left=`${a+re}px`),Z.bottom>_.bottom){const de=Z.bottom-Z.top,ie=I.bottom-I.top+de;this.root.style.top=o-ie+"px",this.root.classList.add("ql-flip")}return re}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}},mt=We(8347),at=We(5374),e=We(9609);const s=[!1,"center","right","justify"],t=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],r=[!1,"serif","monospace"],n=["1","2","3",!1],i=["small",!1,"large","huge"];class w extends e.A{constructor(a,o){super(a,o);const _=Z=>{document.body.contains(a.root)?(this.tooltip==null||this.tooltip.root.contains(Z.target)||document.activeElement===this.tooltip.textbox||this.quill.hasFocus()||this.tooltip.hide(),this.pickers!=null&&this.pickers.forEac
57h((re=>{re.container.contains(Z.target)||re.close()}))):document.body.removeEventListener("click",_)};a.emitter.listenDOM("click",document.body,_)}addModule(a){const o=super.addModule(a);return a==="toolbar"&&this.extendToolbar(o),o}buildButtons(a,o){Array.from(a).forEach((_=>{(_.getAttribute("class")||"").split(/\s+/).forEach((Z=>{if(Z.startsWith("ql-")&&(Z=Z.slice(3),o[Z]!=null))if(Z==="direction")_.innerHTML=o[Z][""]+o[Z].rtl;else if(typeof o[Z]=="string")_.innerHTML=o[Z];else{const re=_.value||"";re!=null&&o[Z][re]&&(_.innerHTML=o[Z][re])}}))}))}buildPickers(a,o){this.pickers=Array.from(a).map((_=>{if(_.classList.contains("ql-align")&&(_.querySelector("option")==null&&l(_,s),typeof o.align=="object"))return new rt(_,o.align);if(_.classList.contains("ql-background")||_.classList.contains("ql-color")){const Z=_.classList.contains("ql-background")?"background":"color";return _.querySelector("option")==null&&l(_,t,Z==="background"?"#ffffff":"#000000"),new Xe(_,o[Z])}return _.querySelector("option")==null&&(_.classList.contains("ql-font")?l(_,r):_.classList.contains("ql-header")?l(_,n):_.classList.contains("ql-size")&&l(_,i)),new st(_)})),this.quill.on(at.A.events.EDITOR_CHANGE,(()=>{this.pickers.forEach((_=>{_.update()}))}))}}w.DEFAULTS=(0,mt.A)({},e.A.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let I=this.container.querySelector("input.ql-image[type=file]");I==null&&(I=document.createElement("input"),I.setAttribute("type","file"),I.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),I.classList.add("ql-image"),I.addEventListener("change",(()=>{const a=this.quill.getSelection(!0);this.quill.uploader.upload(a,I.files),I.value=""}
57)),this.container.appendChild(I)),I.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class y extends pt{constructor(a,o){super(a,o),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",(a=>{a.key==="Enter"?(this.save(),a.preventDefault()):a.key==="Escape"&&(this.cancel(),a.preventDefault())}))}cancel(){this.hide(),this.restoreFocus()}edit(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),this.textbox==null)return;o!=null?this.textbox.value=o:a!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const _=this.quill.getBounds(this.quill.selection.savedRange);_!=null&&this.position(_),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${a}`)||""),this.root.setAttribute("data-mode",a)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:a}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:o}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",a,at.A.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",a,at.A.sources.USER)),this.quill.root.scrollTop=o;break}case"video":a=(function(o){let _=o.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||o.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return _?`${_[1]||"https"}://www.youtube.com/embed/${_[2]}?showinfo=0`:(_=o.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${_[1]||"https"}://player.vimeo.com/video/${_[2]}/`:o})(a);case"formula":{if(!a)break;const o=this.quill.getSelection(!0);if(o!=null){const _=o.index+o.length;this.quill.insertEmbed(_,this.root.getAttribute("data-mode"),a,at.A.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(_+1," ",at.A.sources.USER),this.quill.setSelection(_+2,at.A.sources.USER)}break}}this.textbox.value="",this.hide()}}function l(I,a){let o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];a.forEach((_=>{const Z=document.createElement("option");_===o?Z.setAttribute("selected","selected"):Z.setAttribute("value",String(_)),I.appendChild(Z)}))}var m=We(8298);const T=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class x extends y{static TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join("");constructor(a,o){super(a,o),this.quill.on(at.A.events.EDITOR_CHANGE,((_,Z,re,de)=>{if(_===at.A.events.SELECTION_CHANGE)if(Z!=null&&Z.length>0&&de===at.A.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;const ie=this.quill.getLines(Z.index,Z.length);if(ie.length===1){const G=this.quill.getBounds(Z);G!=null&&this.position(G)}else{const G=ie[ie.length-1],ce=this.quill.getIndex(G),ge=Math.min(G.length()-1,Z.index+Z.length-ce),Ce=this.quill.getBounds(new m.Q(ce,ge));Ce!=null&&this.position(Ce)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()}))}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",(()=>{this.root.classList.remove("ql-editing")})),this.quill.on(at.A.events.SCROLL_OPTIMIZE,(()=>{setTimeout((()=>{if(this.root.classList.contains("ql-hidden"))return;const a=this.quill.getSelection();if(a!=null){const o=this.quill.getBounds(a);o!=null&&this.position(o)}}),1)}))}cancel(){this.show()}position(a){const o=super.position(a),_=this.root.querySelector(".ql-tooltip-arrow");return _.style.marginLeft="",o!==0&&(_.style.marginLeft=-1*o-_.offsetWidth/2+"px"),o}}class u extends w{constructor(a,o){o.modules.toolbar!=null&&o.modules.toolbar.container==null&&(o.modules.toolbar.container=T),super(a,o),this.quill.container.classList.add("ql-bubble")}extendToolbar(a){this.tooltip=new x(this.quill,this.options.bounds),a.container!=null&&(this.tooltip.root.appendChild(a.container),this.buildButtons(a.container.querySelectorAll("button"),$e),this.buildPickers(a.container.querySelectorAll("select"),$e))}}u.DEFAULTS=(0,mt.A)({},w.DEFAULTS,{modules:{toolbar:{handlers:{link(I){I?this.quill.theme.tooltip.edit():this.quill.format("link",!1,S.Ay.sources.USER)}}}}});const c=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class F extends y{static TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join("");preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",(a=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),a.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(a=>{if(this.linkRange!=null){const o=this.linkRange;this.restoreFocus(),this.quill.formatText(o,"link",!1,at.A.sources.USER),delete this.linkRange}a.preventDefault(),this.hide()})),this.quill.on(at.A.events.SELECTION_CHANGE,((a,o,_)=>{if(a!=null){if(a.length===0&&_===at.A.sources.USER){const[Z,re]=this.quill.scroll.descendant(le,a.index);if(Z!=null){this.linkRange=new m.Q(a.index-re,Z.length());const de=le.formats(Z.domNode);this.preview.textContent=de,this.preview.setAttribute("href",de),this.show();const ie=this.quill.getBounds(this.linkRange);return void(ie!=null&&this.position(ie))}}else delete this.linkRange;this.hide()}}))}show(){super.show(),this.root.removeAttribute("data-mode")}}class P extends w{constructor(a,o){o.modules.toolbar!=null&&o.modules.toolbar.container==null&&(o.modules.toolbar.container=c),super(a,o),this.quill.container.classList.add("ql-snow")}extendToolbar(a){a.container!=null&&(a.container.classList.add("ql-snow"),this.buildButtons(a.container.querySelectorAll("button"),$e),this.buildPickers(a.container.querySelectorAll("select"),$e),this.tooltip=new F(this.quill,this.options.bounds),a.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},((o,_)=>{a.handlers.link.call(a,!_.format.link)})))}}P.DEFAULTS=(0,mt.A)({},w.DEFAULTS,{modules:{toolbar:{handlers:{link(I){if(I){const a=this.quill.getSelection();if(a==null||a.length===0)return;let o=this.quill.getText(a);/^\S+@\S+\.\S+$/.test(o)&&o.indexOf("mailto:")!==0&&(o=`mailto:${o}`);const{tooltip:_}=this.quill.theme;_.edit("link",o)}else this.quill.format("link",!1,S.Ay.sources.USER)}}}}});var W=P;fe.default.register({"attributors/attribute/direction":d.Mc,"attributors/class/align":Y.qh,"attributors/class/background":j.l,"attributors/class/color":V.g3,"attributors/class/direction":d.sY,"attributors/class/font":he.q,"attributors/class/size":me.U,"attributors/style/align":Y.Hu,"attributors/style/background":j.s,"attributors/style/color":V.JM,"attributors/style/direction":d.VL,"attributors/style/font":he.z,"attributors/style/size":me.r},!0),fe.default.register({"formats/align":Y.qh,"formats/direction":d.sY,"formats/indent":J,"formats/background":j.s,"formats/color":V.JM,"formats/font":he.q,"formats/size":me.U,"formats/blockquote":k,"formats/code-block":ee.Ay,"formats/header":L,"formats/list":A,"formats/bold":C,"formats/code":ee.Cy,"formats/ital
57ic":class extends C{static blotName="italic";static tagName=["EM","I"]},"formats/link":le,"formats/script":Ae,"formats/strike":class extends C{static blotName="strike";static tagName=["S","STRIKE"]},"formats/underline":ke,"formats/formula":Te,"formats/image":$,"formats/video":p,"modules/syntax":we,"modules/table":Re,"modules/toolbar":Qe,"themes/bubble":u,"themes/snow":W,"ui/icons":$e,"ui/picker":st,"ui/icon-picker":rt,"ui/color-picker":Xe,"ui/tooltip":pt},!0);var ae=fe.default})(),ft.default})()}));var Swiper=(function(){"use strict";function et(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function ht(e={},s={}){const t=["__proto__","constructor","prototype"];Object.keys(s).filter(r=>t.indexOf(r)<0).forEach(r=>{e[r]===void 0?e[r]=s[r]:et(s[r])&&et(e[r])&&Object.keys(s[r]).length>0&&ht(e[r],s[r])})}const We={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ft(){const e=typeof document<"u"?document:{};return ht(e,We),e}const fe={document:We,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>typeof setTimeout>"u"?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){typeof setTimeout<"u"&&clearTimeout(e)}};function Y(){const e=typeof window<"u"?window:{};return ht(e,fe),e}function d(e=""){return e.trim().split(" ").filter(s=>!!s.trim())}function O(e,s=0){return setTimeout(e,s)}function B(){return Date.now()}function J(e,s="x"){const t=Y();let r,n,i;const w=(function(y){const l=Y();let m;return l.getComputedStyle&&(m=l.getComputedStyle(y,null)),!m&&y.currentStyle&&(m=y.currentStyle),m||(m=y.style),m})(e);return t.WebKitCSSMatrix?(n=w.transform||w.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(y=>y.replace(",",".")).join(", ")),i=new t.WebKitCSSMatrix(n==="none"?"":n)):(i=w.MozTransform||w.OTransform||w.MsTransform||w.msTransform||w.transform||w.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),s==="x"&&(n=t.WebKitCSSMatrix?i.m41:r.length===16?parseFloat(r[12]):parseFloat(r[4])),s==="y"&&(n=t.WebKitCSSMatrix?i.m42:r.length===16?parseFloat(r[13]):parseFloat(r[5])),n||0}function U(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function ne(e){return typeof window<"u"&&window.HTMLElement!==void 0?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function k(...e){const s=Object(e[0]);for(let t=1;t<e.length;t+=1){const r=e[t];if(r!=null&&!ne(r)){const n=Object.keys(Object(r)).filter(i=>i!=="__proto__"&&i!=="constructor"&&i!=="prototype");for(let i=0,w=n.length;i<w;i+=1){const y=n[i],l=Object.getOwnPropertyDescriptor(r,y);l!==void 0&&l.enumerable&&(U(s[y])&&U(r[y])?r[y].__swiper__?s[y]=r[y]:k(s[y],r[y]):!U(s[y])&&U(r[y])?(s[y]={},r[y].__swiper__?s[y]=r[y]:k(s[y],r[y])):s[y]=r[y])}}}return s}function D(e,s,t){e.style.setProperty(s,t)}function L({swiper:e,targetPosition:s,side:t}){const r=Y(),n=-e.translate;let i,w=null;const y=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const l=s>n?"next":"prev",m=(x,u)=>l==="next"&&x>=u||l==="prev"&&x<=u,T=()=>{i=new Date().getTime(),w===null&&(w=i);const x=Math.max(Math.min((i-w)/y,1),0),u=.5-Math.cos(x*Math.PI)/2;let c=n+u*(s-n);if(m(c,s)&&(c=s),e.wrapperEl.scrollTo({[t]:c}),m(c,s))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:c})}),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(T)};T()}function E(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function S(e,s=""){const t=Y(),r=[...e.children];return t.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),s?r.filter(n=>n.matches(s)):r}function b(e){try{return void console.warn(e)}catch{}}function A(e,s=[]){const t=document.createElement(e);return t.classList.add(...Array.isArray(s)?s:d(s)),t}
57function j(e){const s=Y(),t=ft(),r=e.getBoundingClientRect(),n=t.body,i=e.clientTop||n.clientTop||0,w=e.clientLeft||n.clientLeft||0,y=e===s?s.scrollY:e.scrollTop,l=e===s?s.scrollX:e.scrollLeft;return{top:r.top+y-i,left:r.left+l-w}}function V(e,s){return Y().getComputedStyle(e,null).getPropertyValue(s)}function he(e){let s,t=e;if(t){for(s=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(s+=1);return s}}function me(e,s){const t=[];let r=e.parentElement;for(;r;)s?r.matches(s)&&t.push(r):t.push(r),r=r.parentElement;return t}function Se(e,s){s&&e.addEventListener("transitionend",function t(r){r.target===e&&(s.call(e,r),e.removeEventListener("transitionend",t))})}function ve(e,s,t){const r=Y();return t?e[s==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(s==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(s==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function C(e){return(Array.isArray(e)?e:[e]).filter(s=>!!s)}function le(e){return s=>Math.abs(s)>0&&e.browser&&e.browser.need3dFix&&Math.abs(s)%90==0?s+.001:s}function be(e,s=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(s):e.innerHTML=s}let ue,Ae,Me;function ke(){return ue||(ue=(function(){const e=Y(),s=ft();return{smoothScroll:s.documentElement&&s.documentElement.style&&"scrollBehavior"in s.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&s instanceof e.DocumentTouch)}})()),ue}function je(e={}){return Ae||(Ae=(function({userAgent:s}={}){const t=ke(),r=Y(),n=r.navigator.platform,i=s||r.navigator.userAgent,w={ios:!1,android:!1},y=r.screen.width,l=r.screen.height,m=i.match(/(Android);?[\s\/]+([\d.]+)?/);let T=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const x=i.match(/(iPod)(.*OS\s([\d_]+))?/),u=!T&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),c=n==="Win32";let F=n==="MacIntel";return!T&&F&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${y}x${l}`)>=0&&(T=i.match(/(Version)\/([\d.]+)/),T||(T=[0,1,"13_0_0"]),F=!1),m&&!c&&(w.os="android",w.android=!0),(T||u||x)&&(w.os="ios",w.ios=!0),w})(e)),Ae}function De(){return Me||(Me=(function(){const e=Y(),s=je();let t=!1;function r(){const w=e.navigator.userAgent.toLowerCase();return w.indexOf("safari")>=0&&w.indexOf("chrome")<0&&w.indexOf("android")<0}if(r()){const w=String(e.navigator.userAgent);if(w.includes("Version/")){const[y,l]=w.split("Version/")[1].split(" ")[0].split(".").map(m=>Number(m));t=y<16||y===16&&l<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r();return{isSafari:t||i,needPerspectiveFix:t,need3dFix:i||n&&s.ios,isWebView:n}})()),Me}var Te={on(e,s,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof s!="function")return r;const n=t?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][n](s)}),r},once(e,s,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof s!="function")return r;function n(...i){r.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,s.apply(r,i)}return n.__emitterProxy=s,r.on(e,n,t)},onAny(e,s){const t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;const r=s?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[r](e),t},offAny(e){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsAnyListeners)return s;const t=s.eventsAnyListeners.indexOf(e);return t>=0&&s.eventsAnyListeners.splice(t,1),s},off(e,s){const t=this;return!t.eventsListeners||t.destroyed||t.eventsListeners&&e.split(" ").forEach(r=>{s===void 0?t.eventsListeners[r]=[]:t.eventsListeners[r]&&t.eventsListeners[r].forEach((n,i)=>{(n===s||n.__emitterProxy&&n.__emitterProxy===s)&&t.eventsListeners[r].splice(i,1)})}),t},emit(...e){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let t,r,n;return typeof e[0]=="string"||Array.isArray(e[0])?(t=e[0],r=e.slice(1,e.length),n=s):(t=e[0].events,r=e[0].data,n=e[0].context||s),r.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEac
57h(i=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(w=>{w.apply(n,[i,...r])}),s.eventsListeners&&s.eventsListeners[i]&&s.eventsListeners[i].forEach(w=>{w.apply(n,r)})}),s}};const xe=(e,s,t)=>{s&&!e.classList.contains(t)?e.classList.add(t):!s&&e.classList.contains(t)&&e.classList.remove(t)},qe=(e,s,t)=>{s&&!e.classList.contains(t)?e.classList.add(t):!s&&e.classList.contains(t)&&e.classList.remove(t)},$=(e,s)=>{if(!e||e.destroyed||!e.params)return;const t=s.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(t){let r=t.querySelector(`.${e.params.lazyPreloaderClass}`);!r&&e.isElement&&(t.shadowRoot?r=t.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{t.shadowRoot&&(r=t.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),r&&!r.lazyPreloaderManaged&&r.remove())})),r&&!r.lazyPreloaderManaged&&r.remove()}},h=(e,s)=>{if(!e.slides[s])return;const t=e.slides[s].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},f=e=>{if(!e||e.destroyed||!e.params)return;let s=e.params.lazyPreloadPrevNext;const t=e.slides.length;if(!t||!s||s<0)return;s=Math.min(s,t);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),n=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const w=n,y=[w-s];return y.push(...Array.from({length:s}).map((l,m)=>w+r+m)),void e.slides.forEach((l,m)=>{y.includes(l.column)&&h(e,m)})}const i=n+r-1;if(e.params.rewind||e.params.loop)for(let w=n-s;w<=i+s;w+=1){const y=(w%t+t)%t;(y<n||y>i)&&h(e,y)}else for(let w=Math.max(n-s,0);w<=Math.min(i+s,t-1);w+=1)w!==n&&(w>i||w<n)&&h(e,w)};var p={updateSize:function(){const e=this;let s,t;const r=e.el;s=e.params.width!==void 0&&e.params.width!==null?e.params.width:r.clientWidth,t=e.params.height!==void 0&&e.params.height!==null?e.params.height:r.clientHeight,s===0&&e.isHorizontal()||t===0&&e.isVertical()||(s=s-parseInt(V(r,"padding-left")||0,10)-parseInt(V(r,"padding-right")||0,10),t=t-parseInt(V(r,"padding-top")||0,10)-parseInt(V(r,"padding-bottom")||0,10),Number.isNaN(s)&&(s=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:s,height:t,size:e.isHorizontal()?s:t}))},updateSlides:function(){const e=this;function s(G,ce){return parseFloat(G.getPropertyValue(e.getDirectionLabel(ce))||0)}const t=e.params,{wrapperEl:r,slidesEl:n,rtlTranslate:i,wrongRTL:w}=e,y=e.virtual&&t.virtual.enabled,l=y?e.virtual.slides.length:e.slides.length,m=S(n,`.${e.params.slideClass}, swiper-slide`),T=y?e.virtual.slides.length:m.length;let x=[];const u=[],c=[];let F=t.slidesOffsetBefore;typeof F=="function"&&(F=t.slidesOffsetBefore.call(e));let P=t.slidesOffsetAfter;typeof P=="function"&&(P=t.slidesOffsetAfter.call(e));const W=e.snapGrid.length,ae=e.slidesGrid.length,I=e.size-F-P;let a=t.spaceBetween,o=-F,_=0,Z=0;if(I===void 0)return;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*I:typeof a=="string"&&(a=parseFloat(a)),e.virtualSize=-a-F-P,m.forEach(G=>{i?G.style.marginLeft="":G.style.marginRight="",G.style.marginBottom="",G.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(D(r,"--swiper-centered-offset-before",""),D(r,"--swiper-centered-offset-after","")),t.cssMode&&(D(r,"--swiper-slides-offset-before",`${F}px`),D(r,"--swiper-slides-offset-after",`${P}px`));const re=t.grid&&t.grid.rows>1&&e.grid;let de;re?e.grid.initSlides(m):e.grid&&e.grid.unsetSlides();const ie=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(G=>t.breakpoints[G].slidesPerView!==void 0).length>0;for(let G=0;G<T;G+=1){de=0;const ce=m[G];if(!ce||(re&&e.grid.updateSlide(G,ce,m),V(ce,"display")!=="none")){if(y&&t.slidesPerView==="auto")t.virtual.slidesPerViewAutoSlideSize&&(de=t.virtual.slidesPerViewAutoSlideSize),de&&ce&&(t.roundLengths&&(de=Math.floor(de)),ce.style[e.getDirectionLabel("width")]=`${de}px`);else if(t.slidesPerView==="auto"){ie&&(ce.style[e.getDirectionLabel("width")]="");const ge=getComputedStyle(ce),Ce=ce.style.transform,_e=ce.style.webkitTransform;if(Ce&&(ce.style.transform="none"),_e&&(ce.style.webkitTransform="none"),t.roundLengths)de=e.isHorizontal()?ve(ce,"width",!0):ve(ce,"height",!0);else{const Ge=s(ge,"width"),Ye=s(ge,"padding-left"),oe=s(ge,"padding-right"),g=s(ge,"margin-left"),H=s(ge,"margin-right"),se=ge.getPropertyValue("box-sizing");if(se&&se==="border-box")de=Ge+g+H;else{const{clientWidth:Le,offsetWidth:Be}=ce;de=Ge+Ye+oe+g+H+(Be-Le)}}Ce&&(ce.style.transform=Ce),_e&&(ce.style.webkitTransform=_e),t.roundLengths&&(de=Math.floor(de))}else de=(I-(t.slidesPerView-1)*a)/t.slidesPerView,t.roundLengths&&(de=Math.floor(de)),ce&&(ce.style[e.getDirectionLabel("width")]=`${de}px`);ce&&(ce.swiperSlideSize=de),c.push(de),t.centeredSlides?(o=o+de/2+_/2+a,_===0&&G!==0&&(o=o-I/2-a),G===0&&(o=o-I/2-a),Math.abs(o)<.001&&(o=0),t.roundLengths&&(o=Math.floor(o)),Z%t.slidesPerGroup===0&&x.push(o),u.push(o)):(t.roundLengths&&(o=Math.floor(o)),(Z-Math.min(e.params.slidesPerGroupSkip,Z))%e.params.slidesPerGroup===0&&x.push(o),u.push(o),o=o+de+a),e.virtualSize+=de+a,_=de,Z+=1}}if(e.virtualSize=Math.max(e.virtualSize,I)+P,i&&w&&(t.effect==="slide"||t.effect==="coverflow")&&(r.style.width=`${e.virtualSize+a}px`),t.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+a}px`),re&&e.grid.updateWrapperSize(de,x),!t.centeredSlides){const G=t.slidesPerView!=="auto"&&t.slidesPerView%1!=0,
57ce=t.snapToSlideEdge&&!t.loop&&(t.slidesPerView==="auto"||G);let ge=x.length;if(ce){let _e;if(t.slidesPerView==="auto"){_e=1;let Ge=0;for(let Ye=c.length-1;Ye>=0&&(Ge+=c[Ye]+(Ye<c.length-1?a:0),Ge<=I);Ye-=1)_e=c.length-Ye}else _e=Math.floor(t.slidesPerView);ge=Math.max(T-_e,0)}const Ce=[];for(let _e=0;_e<x.length;_e+=1){let Ge=x[_e];t.roundLengths&&(Ge=Math.floor(Ge)),ce?_e<=ge&&Ce.push(Ge):x[_e]<=e.virtualSize-I&&Ce.push(Ge)}x=Ce,Math.floor(e.virtualSize-I)-Math.floor(x[x.length-1])>1&&(ce||x.push(e.virtualSize-I))}if(y&&t.loop){const G=c[0]+a;if(t.slidesPerGroup>1){const ce=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),ge=G*t.slidesPerGroup;for(let Ce=0;Ce<ce;Ce+=1)x.push(x[x.length-1]+ge)}for(let ce=0;ce<e.virtual.slidesBefore+e.virtual.slidesAfter;ce+=1)t.slidesPerGroup===1&&x.push(x[x.length-1]+G),u.push(u[u.length-1]+G),e.virtualSize+=G}if(x.length===0&&(x=[0]),a!==0){const G=e.isHorizontal()&&i?"marginLeft":e.getDirectionLabel("marginRight");m.filter((ce,ge)=>!(t.cssMode&&!t.loop)||ge!==m.length-1).forEach(ce=>{ce.style[G]=`${a}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let G=0;c.forEach(ge=>{G+=ge+(a||0)}),G-=a;const ce=G>I?G-I:0;x=x.map(ge=>ge<=0?-F:ge>ce?ce+P:ge)}if(t.centerInsufficientSlides){let G=0;if(c.forEach(ce=>{G+=ce+(a||0)}),G-=a,G<I){const ce=(I-G)/2;x.forEach((ge,Ce)=>{x[Ce]=ge-ce}),u.forEach((ge,Ce)=>{u[Ce]=ge+ce})}}if(Object.assign(e,{slides:m,snapGrid:x,slidesGrid:u,slidesSizesGrid:c}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){D(r,"--swiper-centered-offset-before",-x[0]+"px"),D(r,"--swiper-centered-offset-after",e.size/2-c[c.length-1]/2+"px");const G=-e.snapGrid[0],ce=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(ge=>ge+G),e.slidesGrid=e.slidesGrid.map(ge=>ge+ce)}if(T!==l&&e.emit("slidesLengthChange"),x.length!==W&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==ae&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(y||t.cssMode||t.effect!=="slide"&&t.effect!=="fade")){const G=`${t.containerModifierClass}backface-hidden`,ce=e.el.classList.contains(G);T<=t.maxBackfaceHiddenSlides?ce||e.el.classList.add(G):ce&&e.el.classList.remove(G)}},updateAutoHeight:function(e){const s=this,t=[],r=s.virtual&&s.params.virtual.enabled;let n,i=0;typeof e=="number"?s.setTransition(e):e===!0&&s.setTransition(s.params.speed);const w=y=>r?s.slides[s.getSlideIndexByData(y)]:s.slides[y];if(s.params.slidesPerView!=="auto"&&s.params.slidesPerView>1)if(s.params.centeredSlides)(s.visibleSlides||[]).forEach(y=>{t.push(y)});else for(n=0;n<Math.ceil(s.params.slidesPerView);n+=1){const y=s.activeIndex+n;if(y>s.slides.length&&!r)break;t.push(w(y))}else t.push(w(s.activeIndex));for(n=0;n<t.length;n+=1)if(t[n]!==void 0){const y=t[n].offsetHeight;i=y>i?y:i}(i||i===0)&&(s.wrapperEl.style.height=`${i}px`)},updateSlidesOffset:function(){const e=this,s=e.slides,t=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<s.length;r+=1)s[r].swiperSlideOffset=(e.isHorizontal()?s[r].offsetLeft:s[r].offsetTop)-t-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const s=this,t=s.params,{slides:r,rtlTranslate:n,snapGrid:i}=s;if(r.length===0)return;r[0].swiperSlideOffset===void 0&&s.updateSlidesOffset();let w=-e;n&&(w=e),s.visibleSlidesIndexes=[],s.visibleSlides=[];let y=t.spaceBetween;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*s.size:typeof y=="string"&&(y=parseFloat(y));for(let l=0;l<r.length;l+=1){const m=r[l];let T=m.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(T-=r[0].swiperSlideOffset);const x=(w+(t.centeredSlides?s.minTranslate():0)-T)/(m.swiperSlideSize+y),u=(w-i[0]+(t.centeredSlides?s.minTranslate():0)-T)/(m.swiperSlideSize+y),c=-(w-T),F=c+s.slidesSizesGrid[l],P=c>=0&&c<=s.size-s.slidesSizesGrid[l],W=c>=0&&c<s.size-1||F>1&&F<=s.size||c<=0&&F>=s.size;W&&(s.visibleSlides.push(m),s.visibleSlidesIndexes.push(l)),xe(m,W,t.slideVisibleClass),xe(m,P,t.slideFullyVisibleClass),m.progress=n?-x:x,m.originalProgress=n?-u:u}},updateProgress:function(e){const s=this;if(e===void 0){const T=s.rtlTranslate?-1:1;e=s&&s.translate&&s.translate*T||0}const t=s.params,r=s.maxTranslate()-s.minTranslate();let{progress:n,isBeginning:i,isEnd:w,progressLoop:y}=s;const l=i,m=w;if(r===0)n=0,i=!0,w=!0;else{n=(e-s.minTranslate())/r;const T=Math.abs(e-s.minTranslate())<1,x=Math.abs(e-s.maxTranslate())<1;i=T||n<=0,w=x||n>=1,T&&(n=0),x&&(n=1)}
57if(t.loop){const T=s.getSlideIndexByData(0),x=s.getSlideIndexByData(s.slides.length-1),u=s.slidesGrid[T],c=s.slidesGrid[x],F=s.slidesGrid[s.slidesGrid.length-1],P=Math.abs(e);y=P>=u?(P-u)/F:(P+F-c)/F,y>1&&(y-=1)}Object.assign(s,{progress:n,progressLoop:y,isBeginning:i,isEnd:w}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&s.updateSlidesProgress(e),i&&!l&&s.emit("reachBeginning toEdge"),w&&!m&&s.emit("reachEnd toEdge"),(l&&!i||m&&!w)&&s.emit("fromEdge"),s.emit("progress",n)},updateSlidesClasses:function(){const e=this,{slides:s,params:t,slidesEl:r,activeIndex:n}=e,i=e.virtual&&t.virtual.enabled,w=e.grid&&t.grid&&t.grid.rows>1,y=x=>S(r,`.${t.slideClass}${x}, swiper-slide${x}`)[0];let l,m,T;if(i)if(t.loop){let x=n-e.virtual.slidesBefore;x<0&&(x=e.virtual.slides.length+x),x>=e.virtual.slides.length&&(x-=e.virtual.slides.length),l=y(`[data-swiper-slide-index="${x}"]`)}else l=y(`[data-swiper-slide-index="${n}"]`);else w?(l=s.find(x=>x.column===n),T=s.find(x=>x.column===n+1),m=s.find(x=>x.column===n-1)):l=s[n];l&&(w||(T=(function(x,u){const c=[];for(;x.nextElementSibling;){const F=x.nextElementSibling;u?F.matches(u)&&c.push(F):c.push(F),x=F}return c})(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!T&&(T=s[0]),m=(function(x,u){const c=[];for(;x.previousElementSibling;){const F=x.previousElementSibling;u?F.matches(u)&&c.push(F):c.push(F),x=F}return c})(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!m===0&&(m=s[s.length-1]))),s.forEach(x=>{qe(x,x===l,t.slideActiveClass),qe(x,x===T,t.slideNextClass),qe(x,x===m,t.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const s=this,t=s.rtlTranslate?s.translate:-s.translate,{snapGrid:r,params:n,activeIndex:i,realIndex:w,snapIndex:y}=s;let l,m=e;const T=c=>{let F=c-s.virtual.slidesBefore;return F<0&&(F=s.virtual.slides.length+F),F>=s.virtual.slides.length&&(F-=s.virtual.slides.length),F};if(m===void 0&&(m=(function(c){const{slidesGrid:F,params:P}=c,W=c.rtlTranslate?c.translate:-c.translate;let ae;for(let I=0;I<F.length;I+=1)F[I+1]!==void 0?W>=F[I]&&W<F[I+1]-(F[I+1]-F[I])/2?ae=I:W>=F[I]&&W<F[I+1]&&(ae=I+1):W>=F[I]&&(ae=I);return P.normalizeSlideIndex&&(ae<0||ae===void 0)&&(ae=0),ae})(s)),r.indexOf(t)>=0)l=r.indexOf(t);else{const c=Math.min(n.slidesPerGroupSkip,m);l=c+Math.floor((m-c)/n.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),m===i&&!s.params.loop)return void(l!==y&&(s.snapIndex=l,s.emit("snapIndexChange")));if(m===i&&s.params.loop&&s.virtual&&s.params.virtual.enabled)return void(s.realIndex=T(m));const x=s.grid&&n.grid&&n.grid.rows>1;let u;if(s.virtual&&n.virtual.enabled)u=n.loop?T(m):m;else if(x){const c=s.slides.find(P=>P.column===m);let F=parseInt(c.getAttribute("data-swiper-slide-index"),10);Number.isNaN(F)&&(F=Math.max(s.slides.indexOf(c),0)),u=Math.floor(F/n.grid.rows)}else if(s.slides[m]){const c=s.slides[m].getAttribute("data-swiper-slide-index");u=c?parseInt(c,10):m}else u=m;Object.assign(s,{previousSnapIndex:y,snapIndex:l,previousRealIndex:w,realIndex:u,previousIndex:i,activeIndex:m}),s.initialized&&f(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&(w!==u&&s.emit("realIndexChange"),s.emit("slideChange"))},updateClickedSlide:function(e,s){const t=this,r=t.params;let n=e.closest(`.${r.slideClass}, swiper-slide`);!n&&t.isElement&&s&&s.length>
571&&s.includes(e)&&[...s.slice(s.indexOf(e)+1,s.length)].forEach(y=>{!n&&y.matches&&y.matches(`.${r.slideClass}, swiper-slide`)&&(n=y)});let i,w=!1;if(n){for(let y=0;y<t.slides.length;y+=1)if(t.slides[y]===n){w=!0,i=y;break}}if(!n||!w)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=i,r.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},ee={getTranslate:function(e=this.isHorizontal()?"x":"y"){const{params:s,rtlTranslate:t,translate:r,wrapperEl:n}=this;if(s.virtualTranslate)return t?-r:r;if(s.cssMode)return r;let i=J(n,e);return i+=this.cssOverflowAdjustment(),t&&(i=-i),i||0},setTranslate:function(e,s){const t=this,{rtlTranslate:r,params:n,wrapperEl:i,progress:w}=t;let y,l=0,m=0;t.isHorizontal()?l=r?-e:e:m=e,n.roundLengths&&(l=Math.floor(l),m=Math.floor(m)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?l:m,n.cssMode?i[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-l:-m:n.virtualTranslate||(t.isHorizontal()?l-=t.cssOverflowAdjustment():m-=t.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${m}px, 0px)`);const T=t.maxTranslate()-t.minTranslate();y=T===0?0:(e-t.minTranslate())/T,y!==w&&t.updateProgress(e),t.emit("setTranslate",t.translate,s)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,s=this.params.speed,t=!0,r=!0,n){const i=this,{params:w,wrapperEl:y}=i;if(i.animating&&w.preventInteractionOnTransition)return!1;const l=i.minTranslate(),m=i.maxTranslate();let T;if(T=r&&e>l?l:r&&e<m?m:e,i.updateProgress(T),w.cssMode){const x=i.isHorizontal();if(s===0)y[x?"scrollLeft":"scrollTop"]=-T;else{if(!i.support.smoothScroll)return L({swiper:i,targetPosition:-T,side:x?"left":"top"}),!0;y.scrollTo({[x?"left":"top"]:-T,behavior:"smooth"})}return!0}return s===0?(i.setTransition(0),i.setTranslate(T),t&&(i.emit("beforeTransitionStart",s,n),i.emit("transitionEnd"))):(i.setTransition(s),i.setTranslate(T),t&&(i.emit("beforeTransitionStart",s,n),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(x){i&&!i.destroyed&&x.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,t&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}};function M({swiper:e,runCallbacks:s,direction:t,step:r}){const{activeIndex:n,previousIndex:i}=e;let w=t;w||(w=n>i?"next":n<i?"prev":"reset"),e.emit(`transition${r}`),s&&w==="reset"?e.emit(`slideResetTransition${r}`):s&&n!==i&&(e.emit(`slideChangeTransition${r}`),w==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}var R={slideTo:function(e=0,s,t=!0,r,n){typeof e=="string"&&(e=parseInt(e,10));const i=this;let w=e;w<0&&(w=0);const{params:y,snapGrid:l,slidesGrid:m,previousIndex:T,activeIndex:x,rtlTranslate:u,wrapperEl:c,enabled:F}=i;if(!F&&!r&&!n||i.destroyed||i.animating&&y.preventInteractionOnTransition)return!1;s===void 0&&(s=i.params.speed);const P=Math.min(i.params.slidesPerGroupSkip,w);let W=P+Math.floor((w-P)/i.params.slidesPerGroup);W>=l.length&&(W=l.length-1);const ae=-l[W];if(y.normalizeSlideIndex)for(let _=0;_<m.length;_+=1){const Z=-Math.floor(100*ae),re=Math.floor(100*m[_]),de=Math.floor(100*m[_+1]);m[_+1]!==void 0?Z>=re&&Z<de-(de-re)/2?w=_:Z>=re&&Z<de&&(w=_+1):Z>=re&&(w=_)}if(i.initialized&&w!==x&&(!i.allowSlideNext&&(u?ae>i.translate&&ae>i.minTranslate():ae<i.translate&&ae<i.minTranslate())||!i.allowSlidePrev&&ae>i.translate&&ae>i.maxTranslate()&&(x||0)!==w))return!1;let I;w!==(T||0)&&t&&i.emit("beforeSlideChangeStart"),i.updateProgress(ae),I=w>x?"next":w<x?"prev":"reset";const a=i.virtual&&i.params.virtual.enabled;if(!(a&&n)&&(u&&-ae===i.translate||!u&&ae===i.translate))return i.updateActiveIndex(w),y.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),y.effect!=="slide"&&i.setTranslate(ae),I!=="reset"&&(i.transitionStart(t,I),i.transitionEnd(t,I)),!1;if(y.cssMode){const _=i.isHorizontal(),Z=u?ae:-ae;if(s===0)a&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),a&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{c[_?"scrollLeft":"scrollTop"]=Z})):c[_?"scrollLeft":"scrollTop"]=Z,a&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return L({swiper:i,targetPosition:Z,side:_?"left"
57:"top"}),!0;c.scrollTo({[_?"left":"top"]:Z,behavior:"smooth"})}return!0}const o=De().isSafari;return a&&!n&&o&&i.isElement&&i.virtual.update(!1,!1,w),i.setTransition(s),i.setTranslate(ae),i.updateActiveIndex(w),i.updateSlidesClasses(),i.emit("beforeTransitionStart",s,r),i.transitionStart(t,I),s===0?i.transitionEnd(t,I):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(_){i&&!i.destroyed&&_.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(t,I))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,s,t=!0,r){typeof e=="string"&&(e=parseInt(e,10));const n=this;if(n.destroyed)return;s===void 0&&(s=n.params.speed);const i=n.grid&&n.params.grid&&n.params.grid.rows>1;let w=e;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)w+=n.virtual.slidesBefore;else{let y;if(i){const P=w*n.params.grid.rows;y=n.slides.find(W=>1*W.getAttribute("data-swiper-slide-index")===P).column}else y=n.getSlideIndexByData(w);const l=i?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:m,slidesOffsetBefore:T,slidesOffsetAfter:x}=n.params,u=m||!!T||!!x;let c=n.params.slidesPerView;c==="auto"?c=n.slidesPerViewDynamic():(c=Math.ceil(parseFloat(n.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let F=l-y<c;if(u&&(F=F||y<Math.ceil(c/2)),r&&u&&n.params.slidesPerView!=="auto"&&!i&&(F=!1),F){const P=u?y<n.activeIndex?"prev":"next":y-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:P,slideTo:!0,activeSlideIndex:P==="next"?y+1:y-l+1,slideRealIndex:P==="next"?n.realIndex:void 0})}if(i){const P=w*n.params.grid.rows;w=n.slides.find(W=>1*W.getAttribute("data-swiper-slide-index")===P).column}else w=n.getSlideIndexByData(w)}return requestAnimationFrame(()=>{n.slideTo(w,s,t,r)}),n},slideNext:function(e,s=!0,t){const r=this,{enabled:n,params:i,animating:w}=r;if(!n||r.destroyed)return r;e===void 0&&(e=r.params.speed);let y=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(y=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:y,m=r.virtual&&i.virtual.enabled;if(i.loop){if(w&&!m&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,s,t)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,s,t):r.slideTo(r.activeIndex+l,e,s,t)},slidePrev:function(e,s=!0,t){const r=this,{params:n,snapGrid:i,slidesGrid:w,rtlTranslate:y,enabled:l,animating:m}=r;if(!l||r.destroyed)return r;e===void 0&&(e=r.params.speed);const T=r.virtual&&n.virtual.enabled;if(n.loop){if(m&&!T&&n.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function x(ae){return ae<0?-Math.floor(Math.abs(ae)):Math.floor(ae)}const u=x(y?r.translate:-r.translate),c=i.map(ae=>x(ae)),F=n.freeMode&&n.freeMode.enabled;let P=i[c.indexOf(u)-1];if(P===void 0&&(n.cssMode||F)){let ae;i.forEach((I,a)=>{u>=I&&(ae=a)}),ae!==void 0&&(P=F?i[ae]:i[ae>0?ae-1:ae])}let W=0;if(P!==void 0&&(W=w.indexOf(P),W<0&&(W=r.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(W=W-r.slidesPerViewDynamic("previous",!0)+1,W=Math.max(W,0))),n.rewind&&r.isBeginning){const ae=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(ae,e,s,t)}return n.loop&&r.activeIndex===0&&n.cssMode?(requestAnimationFrame(()=>{r.slideTo(W,e,s,t)}),!0):r.slideTo(W,e,s,t)},slideReset:function(e,s=!0,t){const r=this;if(!r.destroyed)return e===void 0&&(e=r.params.speed),r.slideTo(r.activeIndex,e,s,t)},slideToClosest:function(e,s=!0,t,r=.5){const n=this;if(n.destroyed)return;e===void 0&&(e=n.params.speed);let i=n.activeIndex;const w=Math.min(n.params.slidesPerGroupSkip,i),y=w+Math.floor((i-w)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[y]){const m=n.snapGrid[y];l-m>(n.snapGrid[y+1]-m)*r&&(i+=n.params.slidesPerGroup)}else{const m=n.snapGrid[y-1];l-m<=(n.snapGrid[y]-m)*r&&(i-=n.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,n.slidesGrid.length-1),n.slideTo(i,e,
57s,t)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:s,slidesEl:t}=e,r=s.slidesPerView==="auto"?e.slidesPerViewDynamic():s.slidesPerView;let n,i=e.getSlideIndexWhenGrid(e.clickedIndex);const w=e.isElement?"swiper-slide":`.${s.slideClass}`,y=e.grid&&e.params.grid&&e.params.grid.rows>1;if(s.loop){if(e.animating)return;n=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?e.slideToLoop(n):i>(y?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),i=e.getSlideIndex(S(t,`${w}[data-swiper-slide-index="${n}"]`)[0]),O(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}},K={loopCreate:function(e,s){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{S(n,`.${r.slideClass}, swiper-slide`).forEach((u,c)=>{u.setAttribute("data-swiper-slide-index",c)})},w=t.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||w)&&(()=>{const u=S(n,`.${r.slideBlankClass}`);u.forEach(c=>{c.remove()}),u.length>0&&(t.recalcSlides(),t.updateSlides())})();const y=r.slidesPerGroup*(w?r.grid.rows:1),l=t.slides.length%y!==0,m=w&&t.slides.length%r.grid.rows!==0,T=u=>{for(let c=0;c<u;c+=1){const F=t.isElement?A("swiper-slide",[r.slideBlankClass]):A("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(F)}};l?(r.loopAddBlankSlides?(T(y-t.slides.length%y),t.recalcSlides(),t.updateSlides()):b("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),i()):(m&&(r.loopAddBlankSlides?(T(r.grid.rows-t.slides.length%r.grid.rows),t.recalcSlides(),t.updateSlides()):b("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),i());const x=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;t.loopFix({slideRealIndex:e,direction:x?void 0:"next",initial:s})},loopFix:function({slideRealIndex:e,slideTo:s=!0,direction:t,setTranslate:r,activeSlideIndex:n,initial:i,byController:w,byMousewheel:y}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:m,allowSlidePrev:T,allowSlideNext:x,slidesEl:u,params:c}=l,{centeredSlides:F,slidesOffsetBefore:P,slidesOffsetAfter:W,initialSlide:ae}=c,I=F||!!P||!!W;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&c.virtual.enabled)return s&&(I||l.snapIndex!==0?I&&l.snapIndex<c.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=T,l.allowSlideNext=x,void l.emit("loopFix");let a=c.slidesPerView;a==="auto"?a=l.slidesPerViewDynamic():(a=Math.ceil(parseFloat(c.slidesPerView,10)),I&&a%2==0&&(a+=1));const o=c.slidesPerGroupAuto?a:c.slidesPerGroup;let _=I?Math.max(o,Math.ceil(a/2)):o;_%o!==0&&(_+=o-_%o),_+=c.loopAdditionalSlides,l.loopedSlides=_;const Z=l.grid&&c.grid&&c.grid.rows>1;m.length<a+_||l.params.effect==="cards"&&m.length<a+2*_?b("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Z&&c.grid.fill==="row"&&b("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
57const re=[],de=[],ie=Z?Math.ceil(m.length/c.grid.rows):m.length,G=i&&ie-ae<a&&!I;let ce=G?ae:l.activeIndex;n===void 0?n=l.getSlideIndex(m.find(oe=>oe.classList.contains(c.slideActiveClass))):ce=n;const ge=t==="next"||!t,Ce=t==="prev"||!t;let _e=0,Ge=0;const Ye=(Z?m[n].column:n)+(I&&r===void 0?-a/2+.5:0);if(Ye<_){_e=Math.max(_-Ye,o);for(let oe=0;oe<_-Ye;oe+=1){const g=oe-Math.floor(oe/ie)*ie;if(Z){const H=ie-g-1;for(let se=m.length-1;se>=0;se-=1)m[se].column===H&&re.push(se)}else re.push(ie-g-1)}}else if(Ye+a>ie-_){Ge=Math.max(Ye-(ie-2*_),o),G&&(Ge=Math.max(Ge,a-ie+ae+1));for(let oe=0;oe<Ge;oe+=1){const g=oe-Math.floor(oe/ie)*ie;Z?m.forEach((H,se)=>{H.column===g&&de.push(se)}):de.push(g)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&m.length<a+2*_&&(de.includes(n)&&de.splice(de.indexOf(n),1),re.includes(n)&&re.splice(re.indexOf(n),1)),Ce&&re.forEach(oe=>{m[oe].swiperLoopMoveDOM=!0,u.prepend(m[oe]),m[oe].swiperLoopMoveDOM=!1}),ge&&de.forEach(oe=>{m[oe].swiperLoopMoveDOM=!0,u.append(m[oe]),m[oe].swiperLoopMoveDOM=!1}),l.recalcSlides(),c.slidesPerView==="auto"?l.updateSlides():Z&&(re.length>0&&Ce||de.length>0&&ge)&&l.slides.forEach((oe,g)=>{l.grid.updateSlide(g,oe,l.slides)}),c.watchSlidesProgress&&l.updateSlidesOffset(),s){if(re.length>0&&Ce){if(e===void 0){const oe=l.slidesGrid[ce],g=l.slidesGrid[ce+_e]-oe;y?l.setTranslate(l.translate-g):(l.slideTo(ce+Math.ceil(_e),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-g,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-g))}else if(r){const oe=Z?re.length/c.grid.rows:re.length;l.slideTo(l.activeIndex+oe,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(de.length>0&&ge)if(e===void 0){const oe=l.slidesGrid[ce],g=l.slidesGrid[ce-Ge]-oe;y?l.setTranslate(l.translate-g):(l.slideTo(ce-Ge,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-g,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-g))}else{const oe=Z?de.length/c.grid.rows:de.length;l.slideTo(l.activeIndex-oe,0,!1,!0)}}if(l.allowSlidePrev=T,l.allowSlideNext=x,l.controller&&l.controller.control&&!w){const oe={slideRealIndex:e,direction:t,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(g=>{!g.destroyed&&g.params.loop&&g.loopFix({...oe,slideTo:g.params.slidesPerView===c.slidesPerView&&s})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...oe,slideTo:l.controller.control.params.slidesPerView===c.slidesPerView&&s})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:s,slidesEl:t}=e;if(!s.loop||!t||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(n=>{const i=n.swiperSlideIndex===void 0?1*n.getAttribute("data-swiper-slide-index"):n.swiperSlideIndex;r[i]=n}),e.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),r.forEach(n=>{t.append(n)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function Q(e,s,t){const r=Y(),{params:n}=e,i=n.edgeSwipeDetection,w=n.edgeSwipeThreshold;return!i||!(t<=w||t>=r.innerWidth-w)||i==="prevent"&&(s.preventDefault(),!0)}function z(e){const s=this,t=ft();let r=e;r.originalEvent&&(r=r.originalEvent);const n=s.touchEventsData;if(r.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==r.pointerId)return;n.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(n.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart")return void Q(s,r,r.targetTouches[0].pageX);const{params:i,touches:w,enabled:y}=s;if(!y||!i.simulateTouch&&r.pointerType==="mouse"||s.animating&&i.preventInteractionOnTransition)return;!s.animating&&i.cssMode&&i.loop&&s.loopFix();let l=r.target;if(i.touchEventsTarget==="wrapper"&&!(function(ae,I){const a=Y();let o=I.contains(ae);return!o&&a.HTMLSlotElement&&I instanceof HTMLSlotElement&&(o=[...I.assignedElements()].includes(ae),o||(o=(function(_,Z){const re=[Z];for(;re.length>0;){const de=re.shift();if(_===de)return!0;re.push(...de.children,...de.shadowRoot?de.shadowRoot.children:[],...de.assignedElements?de.assignedElements():[])}})(ae,I))),o})(l,s.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||n.isTouched&&n.isMoved)return;const m=!!i.noSwipingClass&&i.noSwipingClass!=="",T=r.composedPath?r.composedPath():r.path;m&&r.target&&r.target.shadowRoot&&T&&(l=T[0]);const x=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,u=!(!r.target||!r.target.shadowRoot);if(i.noSwiping&&(u?(function(ae,I=this){return(function a(o){if(!o||o===ft()||o===Y())return null;o.assignedSlot&&(o=o.assignedSlot);const _=o.closest(ae);return _||o.getRootNode?_||a(o.getRootNode().host):null})(I)})(x,l):l.closest(x)))return void(s.allowClick=!0);if(i.swipeHandler&&!l.closest(i.swipeHandler))return;w.currentX=r.pageX,w.currentY=r.pageY;const c=w.currentX,F=w.currentY;if(!Q(s,r,c))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),w.startX=c,w.startY=F,n.touchStartTime=B(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1);let P=!0;l.matches(n.focusableElements)&&(P=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(n.focusableElements))&&t.activeElement.blur();const W=P&&s.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!W||l.isContentEditable||r.preventDefault(),i.freeMode&&i.freeMode.enabled&&s.freeMode&&s.animating&&!i.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",r)}function v(e){const s=ft(),t=this,r=t.touchEventsData,{params:n,touches:i,rtlTranslate:w,enabled:y}=t;if(!y||!n.simulateTouch&&e.pointerType==="mouse")return;let l,m=e;if(m.originalEvent&&(m=m.originalEvent),m.type==="pointermove"&&(r.touchId!==null||m.pointerId!==r.pointerId))return;if(m.type==="touchmove"){if(l=[...m.changedTouches].find(_=>_.identifier===r.touchId),!l||l.identifier!==r.touchId)return}else l=m;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&t.emit("touchMoveOpposite",m));const T=l.pageX,x=l.pageY;if(m.preventedByNestedSwiper)return i.startX=T,void(i.startY=x);if(!t.allowTouchMove)return m.target.matches(r.focusableElements)||(t.allowClick=!1),void(r.isTouched&&(Object.assign(i,{startX:T,startY:x,currentX:T,currentY:x}),r.touchStartTime=B()));if(n.touchReleaseOnEdges&&!n.loop){if(t.isVertical()){if(x<i.startY&&t.translate<=t.maxTranslate()||x>i.startY&&t.translate>=t.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(w&&(T>i.startX&&-t.translate<=t.maxTranslate()||T<i.startX&&-t.translate>=t.minTranslate())||!w&&(T<i.startX&&t.translate<=t.maxTranslate()||T>i.startX&&t.translate>=t.minTranslate()))return}if(s.activeElement&&s.activeElement.matches(r.focusableElements)&&s.activeElement!==m.target&&m.pointerType!=="mouse"&&s.activeElement.blur(),s.activeElement&&m.target===s.activeElement&&m.target.matches(r.focusableElements))return r.isMoved=!0,void(t.allowClick=!1);r.allowTouchCallbacks&&t.emit("touchMove",m),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=T,i.currentY=x;const u=i.currentX-i.startX,c=i.currentY-i.startY;if(t.params.threshold&&Math.sqrt(u**2+c**2)<t.params.threshold)return;if(r.isScrolling===void 0){let _;t.isHorizontal()&&i.currentY===i.startY||t.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:u*u+c*c>=25&&(_=180*Math.atan2(Math.abs(c),Math.abs(u))/Math.PI,r.isScrolling=t.isHorizontal()?_>n.touchAngle:90-_>n.touchAngle)}if(r.isScrolling&&t.emit("touchMoveOpposite",m),r.startMoving===void 0&&(i.currentX===i.startX&&i.currentY===i.startY||(r.startMoving=!0)),r.isScrolling||m.type==="touchmove"&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;t.allowClick=!1,!n.cssMode&&m.cancelable&&m.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&m.stopPropagation();let F=t.isHorizontal()?u:c,P=t.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;n.oneWayMovement&&(F=Math.abs(F)*(w?1:-1),P=Math.abs(P)*(w?1:-1)),i.diff=F,F*=n.touchRatio,w&&(F=-F,P=-P);const W=t.touchesDirection;t.swipeDirection=F>0?"prev":"next",t.touchesDirection=P>0?"prev":"next";const ae=t.params.loop&&!n.cssMode,I=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!r.isMoved){if(ae&&I&&t.loopFix({direction:t.swipeDirection}),r.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const _=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
57t.wrapperEl.dispatchEvent(_)}r.allowMomentumBounce=!1,!n.grabCursor||t.allowSlideNext!==!0&&t.allowSlidePrev!==!0||t.setGrabCursor(!0),t.emit("sliderFirstMove",m)}if(new Date().getTime(),n._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&W!==t.touchesDirection&&ae&&I&&Math.abs(F)>=1)return Object.assign(i,{startX:T,startY:x,currentX:T,currentY:x,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);t.emit("sliderMove",m),r.isMoved=!0,r.currentTranslate=F+r.startTranslate;let a=!0,o=n.resistanceRatio;if(n.touchReleaseOnEdges&&(o=0),F>0?(ae&&I&&r.allowThresholdMove&&r.currentTranslate>(n.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(n.slidesPerView!=="auto"&&t.slides.length-n.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>t.minTranslate()&&(a=!1,n.resistance&&(r.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+r.startTranslate+F)**o))):F<0&&(ae&&I&&r.allowThresholdMove&&r.currentTranslate<(n.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(n.slidesPerView!=="auto"&&t.slides.length-n.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(n.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),r.currentTranslate<t.maxTranslate()&&(a=!1,n.resistance&&(r.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-r.startTranslate-F)**o))),a&&(m.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),t.allowSlidePrev||t.allowSlideNext||(r.currentTranslate=r.startTranslate),n.threshold>0){if(!(Math.abs(F)>n.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
57if(!r.allowThresholdMove)return r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&t.freeMode||n.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(r.currentTranslate),t.setTranslate(r.currentTranslate))}function N(e){const s=this,t=s.touchEventsData;let r,n=e;if(n.originalEvent&&(n=n.originalEvent),n.type==="touchend"||n.type==="touchcancel"){if(r=[...n.changedTouches].find(o=>o.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||n.pointerId!==t.pointerId)return;r=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(s.browser.isSafari||s.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:i,touches:w,rtlTranslate:y,slidesGrid:l,enabled:m}=s;if(!m||!i.simulateTouch&&n.pointerType==="mouse")return;if(t.allowTouchCallbacks&&s.emit("touchEnd",n),t.allowTouchCallbacks=!1,!t.isTouched)return t.isMoved&&i.grabCursor&&s.setGrabCursor(!1),t.isMoved=!1,void(t.startMoving=!1);i.grabCursor&&t.isMoved&&t.isTouched&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!1);const T=B(),x=T-t.touchStartTime;if(s.allowClick){const o=n.path||n.composedPath&&n.composedPath();s.updateClickedSlide(o&&o[0]||n.target,o),s.emit("tap click",n),x<300&&T-t.lastClickTime<300&&s.emit("doubleTap doubleClick",n)}if(t.lastClickTime=B(),O(()=>{s.destroyed||(s.allowClick=!0)}),!t.isTouched||!t.isMoved||!s.swipeDirection||w.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset)return t.isTouched=!1,t.isMoved=!1,void(t.startMoving=!1);let u;if(t.isTouched=!1,t.isMoved=!1,t.startMoving=!1,u=i.followFinger?y?s.translate:-s.translate:-t.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void s.freeMode.onTouchEnd({currentPos:u});const c=u>=-s.maxTranslate()&&!s.params.loop;let F=0,P=s.slidesSizesGrid[0];for(let o=0;o<l.length;o+=o<i.slidesPerGroupSkip?1:i.slidesPerGroup){const _=o<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;l[o+_]!==void 0?(c||u>=l[o]&&u<l[o+_])&&(F=o,P=l[o+_]-l[o]):(c||u>=l[o])&&(F=o,P=l[l.length-1]-l[l.length-2])}let W=null,ae=null;i.rewind&&(s.isBeginning?ae=i.virtual&&i.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(W=0));const I=(u-l[F])/P,a=F<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(x>i.longSwipesMs){if(!i.longSwipes)return void s.slideTo(s.activeIndex);s.swipeDirection==="next"&&(I>=i.longSwipesRatio?s.slideTo(i.rewind&&s.isEnd?W:F+a):s.slideTo(F)),s.swipeDirection==="prev"&&(I>1-i.longSwipesRatio?s.slideTo(F+a):ae!==null&&I<0&&Math.abs(I)>i.longSwipesRatio?s.slideTo(ae):s.slideTo(F))}else{if(!i.shortSwipes)return void s.slideTo(s.activeIndex);s.navigation&&(n.target===s.navigation.nextEl||n.target===s.navigation.prevEl)?n.target===s.navigation.nextEl?s.slideTo(F+a):s.slideTo(F):(s.swipeDirection==="next"&&s.slideTo(W!==null?W:F+a),s.swipeDirection==="prev"&&s.slideTo(ae!==null?ae:F))}}function q(){const e=this,{params:s,el:t}=e;if(t&&t.offsetWidth===0)return;s.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:n,snapGrid:i}=e,w=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const y=w&&s.loop;!(s.slidesPerView==="auto"||s.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||y?e.params.loop&&!w?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=n,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function X(e){const s=this;s.enabled&&(s.allowClick||(s.params.preventClicks&&e.preventDefault(),s.params.preventClicksPropagation&&s.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function te(){const e=this,{wrapperEl:s,rtlTranslate:t,enabled:r}=e;if(!r)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-s.scrollLeft:e.translate=-s.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();n=i===0?0:(e.translate-e.minTranslate())/i,n!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function pe(e){const s=this;$(s,e.target),s.params.cssMode||s.params.slidesPerView!=="auto"&&!s.params.autoHeight||s.update()}function we(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ye=(e,s)=>{const t=ft(),{params:r,el:n,wrapperEl:i,device:w}=e,y=!!r.nested,l=s==="on"?"addEventListener":"removeEventListener",m=s;
57n&&typeof n!="string"&&(t[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:y}),n[l]("touchstart",e.onTouchStart,{passive:!1}),n[l]("pointerdown",e.onTouchStart,{passive:!1}),t[l]("touchmove",e.onTouchMove,{passive:!1,capture:y}),t[l]("pointermove",e.onTouchMove,{passive:!1,capture:y}),t[l]("touchend",e.onTouchEnd,{passive:!0}),t[l]("pointerup",e.onTouchEnd,{passive:!0}),t[l]("pointercancel",e.onTouchEnd,{passive:!0}),t[l]("touchcancel",e.onTouchEnd,{passive:!0}),t[l]("pointerout",e.onTouchEnd,{passive:!0}),t[l]("pointerleave",e.onTouchEnd,{passive:!0}),t[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&n[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[m](w.ios||w.android?"resize orientationchange observerUpdate":"resize observerUpdate",q,!0):e[m]("observerUpdate",q,!0),n[l]("load",e.onLoad,{capture:!0}))},Ee=(e,s)=>e.grid&&s.grid&&s.grid.rows>1;var Oe={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Pe(e,s){return function(t={}){const r=Object.keys(t)[0],n=t[r];typeof n=="object"&&n!==null?(e[r]===!0&&(e[r]={enabled:!0}),r==="navigation"&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in n&&(typeof e[r]!="object"||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1})),k(s,t)):k(s,t)}}const Ie={eventsEmitter:Te,update:p,translate:ee,transition:{setTransition:function(e,s){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${e}ms`,t.wrapperEl.style.transitionDelay=e===0?"0ms":""),t.emit("setTransition",e,s)},transitionStart:function(e=!0,s){const t=this,{params:r}=t;r.cssMode||(r.autoHeight&&t.updateAutoHeight(),M({swiper:t,runCallbacks:e,direction:s,step:"Start"}))},transitionEnd:function(e=!0,s){const t=this,{params:r}=t;t.animating=!1,r.cssMode||(t.setTransition(0),M({swiper:t,runCallbacks:e,direction:s,step:"End"}))}},slide:R,loop:K,grabCursor:{setGrabCursor:function(e){const s=this;if(!s.params.simulateTouch||s.params.watchOverflow&&s.isLocked||s.params.cssMode)return;const t=s.params.touchEventsTarget==="container"?s.el:s.wrapperEl;s.isElement&&(s.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=e?"grabbing":"grab",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:s}=e;e.onTouchStart=z.bind(e),e.onTouchMove=v.bind(e),e.onTouchEnd=N.bind(e),e.onDocumentTouchStart=we.bind(e),s.cssMode&&(e.onScroll=te.bind(e)),e.onClick=X.bind(e),e.onLoad=pe.bind(e),ye(e,"on")},detachEvents:function(){ye(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:s,initialized:t,params:r,el:n}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const w=ft(),y=r.breakpointsBase!=="window"&&r.breakpointsBase?"container":r.breakpointsBase,l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:w.querySelector(r.breakpointsBase),m=e.getBreakp
vendor: 1,599 bytes, line 57
57oint(i,y,l);if(!m||e.currentBreakpoint===m)return;const T=(m in i?i[m]:void 0)||e.originalParams,x=Ee(e,r),u=Ee(e,T),c=e.params.grabCursor,F=T.grabCursor,P=r.enabled;x&&!u?(n.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!x&&u&&(n.classList.add(`${r.containerModifierClass}grid`),(T.grid.fill&&T.grid.fill==="column"||!T.grid.fill&&r.grid.fill==="column")&&n.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),c&&!F?e.unsetGrabCursor():!c&&F&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(_=>{if(T[_]===void 0)return;const Z=r[_]&&r[_].enabled,re=T[_]&&T[_].enabled;Z&&!re&&e[_].disable(),!Z&&re&&e[_].enable()});const W=T.direction&&T.direction!==r.direction,ae=r.loop&&(T.slidesPerView!==r.slidesPerView||W),I=r.loop;W&&t&&e.changeDirection(),k(e.params,T);const a=e.params.enabled,o=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),P&&!a?e.disable():!P&&a&&e.enable(),e.currentBreakpoint=m,e.emit("_beforeBreakpoint",T),t&&(ae?(e.loopDestroy(),e.loopCreate(s),e.updateSlides()):!I&&o?(e.loopCreate(s),e.updateSlides()):I&&!o&&e.loopDestroy()),e.emit("breakpoint",T)},getBreakpoint:function(e,s="window",t){if(!e||s==="container"&&!t)return;let r=!1;const n=Y(),i=s==="window"?n.innerHeight:t.clientHeight,w=Object.keys(e).map(y=>{if(typeof y=="string"&&y.indexOf("@")===0){const l=parseFloat(y.substr(1));return{value:i*l,point:y}}return{value:y,point:y}});w.sort((y,l)=>
57parseInt(y.value,10)-parseInt(l.value,10));for(let y=0;y<w.length;y+=1){const{point:l,value:m}=w[y];s==="window"?n.matchMedia(`(min-width: ${m}px)`).matches&&(r=l):m<=t.clientWidth&&(r=l)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:s,params:t}=e,{slidesOffsetBefore:r}=t;if(r){const n=e.slides.length-1,i=e.slidesGrid[n]+e.slidesSizesGrid[n]+2*r;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;t.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),t.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),s&&s!==e.isLocked&&(e.isEnd=!1),s!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:s,params:t,rtl:r,el:n,device:i}=e,w=(function(y,l){const m=[];return y.forEach(T=>{typeof T=="object"?Object.keys(T).forEach(x=>{T[x]&&m.push(l+x)}):typeof T=="string"&&m.push(l+T)}),m})(["initialized",t.direction,{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);s.push(...w),n.classList.add(...s),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:s}=this;e&&typeof e!="string"&&(e.classList.remove(...s),this.emitContainerClasses())}}},He={};class Re{constructor(...s){let t,r;s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?r=s[0]:[t,r]=s,r||(r={}),r=k({},r),t&&!r.el&&(r.el=t);const n=ft();if(r.el&&typeof r.el=="string"&&n.querySelectorAll(r.el).length>1){const l=[];return n.querySelectorAll(r.el).forEach(m=>{const T=k({},r,{el:m});l.push(new Re(T))}),l}const i=this;i.__swiper__=!0,i.support=ke(),i.device=je({userAgent:r.userAgent}),i.browser=De(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEach(l=>{typeof l=="function"&&i.modules.indexOf(l)<0&&i.modules.push(l)});const w={};i.modules.forEach(l=>{l({params:r,swiper:i,extendParams:Pe(r,w),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const y=k({},Oe,w);return i.params=k({},y,He,r),i.originalParams=k({},i.params),i.passedParams=k({}
57,r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(l=>{i.on(l,i.params.on[l])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>i.params.direction==="horizontal",isVertical:()=>i.params.direction==="vertical",activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(s){return this.isHorizontal()?s:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[s]}getSlideIndex(s){const{slidesEl:t,params:r}=this,n=he(S(t,`.${r.slideClass}, swiper-slide`)[0]);return he(s)-n}getSlideIndexByData(s){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===s))}getSlideIndexWhenGrid(s){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?s=Math.floor(s/this.params.grid.rows):this.params.grid.fill==="row"&&(s%=Math.ceil(this.slides.length/this.params.grid.rows))),s}recalcSlides(){const{slidesEl:s,params:t}=this;this.slides=S(s,`.${t.slideClass}, swiper-slide`)}enable(){const s=this;s.enabled||(s.enabled=!0,s.params.grabCursor&&s.setGrabCursor(),s.emit("enable"))}disable(){const s=this;s.enabled&&(s.enabled=!1,s.params.grabCursor&&s.unsetGrabCursor(),s.emit("disable"))}setProgress(s,t){const r=this;s=Math.min(Math.max(s,0),1);const n=r.minTranslate(),i=(r.maxTranslate()-n)*s+n;r.translateTo(i,t===void 0?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const t=s.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(s.params.containerModifierClass)===0);s.emit("_containerClasses",t.join(" "))}getSlideClasses(s){const t=this;return t.destroyed?"":s.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const t=[];s.slides.forEach(r=>{const n=s.getSlideClasses(r);t.push({slideEl:r,classNames:n}),s.emit("_slideClass",r,n)}),s.emit("_slideClasses",t)}slidesPerViewDynamic(s="current",t=!1){const{params:r,slides:n,slidesGrid:i,slidesSizesGrid:w,size:y,activeIndex:l}=this;let m=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let T,x=n[l]?Math.ceil(n[l].swiperSlideSize):0;for(let u=l+1;u<n.length;u+=1)n[u]&&!T&&(x+=Math.ceil(n[u].swiperSlideSize),m+=1,x>y&&(T=!0));for(let u=l-1;u>=0;u-=1)n[u]&&!T&&(x+=n[u].swiperSlideSize,m+=1,x>y&&(T=!0))}else if(s==="current")for(let T=l+1;T<n.length;T+=1)(t?i[T]+w[T]-i[l]<y:i[T]-i[l]<y)&&(m+=1);else for(let T=l-1;T>=0;T-=1)i[l]-i[T]<y&&(m+=1);return m}update(){const s=this;if(!s||s.destroyed)return;const{snapGrid:t,params:r}=s;function n(){const w=s.rtlTranslate?-1*s.translate:s.translate,y=Math.min(Math.max(w,s.maxTranslate()),s.minTranslate());s.setTranslate(y),s.updateActiveIndex(),s.updateSlidesClasses()}let i;if(r.breakpoints&&s.setBreakpoint(),[...s.el.querySelectorAll('[loading="lazy"]')].forEach(w=>{w.complete&&$(s,w)}),s.updateSize(),s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)n(),r.autoHeight&&s.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&s.isEnd&&!r.centeredSlides){const w=s.virtual&&r.virtual.enabled?s.virtual.slides:s.slides;i=s.slideTo(w.length-1,0,!1,!0)}else i=s.slideTo(s.activeIndex,0,!1,!0);i||n()}r.watchOverflow&&t!==s.snapGrid&&s.checkOverflow(),s.emit("update")}changeDirection(s,t=!0){const r=this,n=r.params.direction;return s||(s=n==="horizontal"?"vertical":"horizontal"),s===n||s!=="horizontal"&&s!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${s}`),r.emitContainerClasses(),r.params.direction=s,r.slides.forEac
vendor: 2,486 bytes, line 57
57h(i=>{s==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(s){const t=this;t.rtl&&s==="rtl"||!t.rtl&&s==="ltr"||(t.rtl=s==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(s){const t=this;if(t.mounted)return!0;let r=s||t.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):S(r,n())[0];return!i&&t.params.createElements&&(i=A("div",t.params.wrapperClass),r.append(i),S(r,`.${t.params.slideClass}`).forEach(w=>{i.append(w)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||V(r,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||V(r,"direction")==="rtl"),wrongRTL:V(i,"display")==="-webkit-box"}),!0}init(s){const t=this;if(t.initialized||t.mount(s)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?$(t,n):n.addEventListener("load",i=>{$(t,i.target)})}),f(t),t.initialized=!0,f(t),t.emit("init"),t.emit("afterInit"),t}destroy(s=!0,t=!0){const r=this,{params:n,el:i,wrapperEl:w,slides:y}=r;return r.params===void 0||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),w&&w.removeAttribute("style"),y&&y.length&&y.forEac
57h(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),s!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),(function(l){const m=l;Object.keys(m).forEach(T=>{try{m[T]=null}catch{}try{delete m[T]}catch{}})})(r)),r.destroyed=!0),null}static extendDefaults(s){k(He,s)}static get extendedDefaults(){return He}static get defaults(){return Oe}static installModule(s){Re.prototype.__modules__||(Re.prototype.__modules__=[]);const t=Re.prototype.__modules__;typeof s=="function"&&t.indexOf(s)<0&&t.push(s)}static use(s){return Array.isArray(s)?(s.forEach(t=>Re.installModule(t)),Re):(Re.installModule(s),Re)}}function Fe(e,s,t,r){return e.params.createElements&&Object.keys(r).forEach(n=>{if(!t[n]&&t.auto===!0){let i=S(e.el,`.${r[n]}`)[0];i||(i=A("div",r[n]),i.className=r[n],e.el.append(i)),t[n]=i,s[n]=i}}),t}Object.keys(Ie).forEach(e=>
57{Object.keys(Ie[e]).forEach(s=>{Re.prototype[s]=Ie[e][s]})}),Re.use([function({swiper:e,on:s,emit:t}){const r=Y();let n=null,i=null;const w=()=>{e&&!e.destroyed&&e.initialized&&(t("beforeResize"),t("resize"))},y=()=>{e&&!e.destroyed&&e.initialized&&t("orientationchange")};s("init",()=>{e.params.resizeObserver&&r.ResizeObserver!==void 0?e&&!e.destroyed&&e.initialized&&(n=new ResizeObserver(l=>{i=r.requestAnimationFrame(()=>{const{width:m,height:T}=e;let x=m,u=T;l.forEach(({contentBoxSize:c,contentRect:F,target:P})=>{P&&P!==e.el||(x=F?F.width:(c[0]||c).inlineSize,u=F?F.height:(c[0]||c).blockSize)}),x===m&&u===T||w()})}),n.observe(e.el)):(r.addEventListener("resize",w),r.addEventListener("orientationchange",y))}),s("destroy",()=>{i&&r.cancelAnimationFrame(i),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null),r.removeEventListener("resize",w),r.removeEventListener("orientationchange",y)})},function({swiper:e,extendParams:s,on:t,emit:r}){const n=[],i=Y(),w=(y,l={})=>{const m=new(i.MutationObserver||i.WebkitMutationObserver)(T=>{if(e.__preventObserver__)return;if(T.length===1)return void r("observerUpdate",T[0]);const x=function(){r("observerUpdate",T[0])};i.requestAnimationFrame?i.requestAnimationFrame(x):i.setTimeout(x,0)});m.observe(y,{attributes:l.attributes===void 0||l.attributes,childList:e.isElement||(l.childList===void 0||l).childList,characterData:l.characterData===void 0||l.characterData}),n.push(m)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",()=>{if(e.params.observer){if(e.params.observeParents){const y=me(e.hostEl);for(let l=0;l<y.length;l+=1)w(y[l])}w(e.hostEl,{childList:e.params.observeSlideChildren}),w(e.wrapperEl,{attributes:!1})}}),t("destroy",()=>{n.forEach(y=>{y.disconnect()}),n.splice(0,n.length)})}]);const Qe='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Je(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function tt(e){const s=this,{params:t,slidesEl:r}=s;t.loop&&s.loopDestroy();const n=i=>{if(typeof i=="string"){const w=document.createElement("div");be(w,i),r.append(w.children[0]),be(w,"")}else r.append(i)};if(typeof e=="object"&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&n(e[i]);else n(e);s.recalcSlides(),t.loop&&s.loopCreate(),t.observer&&!s.isElement||s.update()}function $e(e){const s=this,{params:t,activeIndex:r,slidesEl:n}=s;t.loop&&s.loopDestroy();let i=r+1;const w=y=>{if(typeof y=="string"){const l=document.createElement("div");be(l,y),n.prepend(l.children[0]),be(l,"")}else n.prepend(y)};if(typeof e=="object"&&"length"in e){for(let y=0;y<e.length;y+=1)e[y]&&w(e[y]);i=r+e.length}else w(e);s.recalcSlides(),t.loop&&s.loopCreate(),t.observer&&!s.isElement||s.update(),s.slideTo(i,0,!1)}function Ue(e,s){const t=this,{params:r,activeIndex:n,slidesEl:i}=t;let w=n;r.loop&&(w-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const y=t.slides.length;if(e<=0)return void t.prependSlide(s);if(e>=y)return void t.appendSlide(s);let l=w>e?w+1:w;const m=[];for(let T=y-1;T>=e;T-=1){const x=t.slides[T];x.remove(),m.unshift(x)}if(typeof s=="object"&&"length"in s){for(let T=0;T<s.length;T+=1)s[T]&&i.append(s[T]);l=w>e?w+s.length:w}else i.append(s);for(let T=0;T<m.length;T+=1)i.append(m[T]);t.recalcSlides(),r.loop&&t.loopCreate(),r.observer&&!t.isElement||t.update(),r.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function Ze(e){const s=this,{params:t,activeIndex:r}=s;let n=r;t.loop&&(n-=s.loopedSlides,s.loopDestroy());let i,w=n;if(typeof e=="object"&&"length"in e){for(let y=0;y<e.length;y+=1)i=e[y],s.slides[i]&&s.slides[i].remove(),i<w&&(w-=1);w=Math.max(w,0)}else i=e,s.slides[i]&&s.slides[i].remove(),i<w&&(w-=1),w=Math.max(w,0);s.recalcSlides(),t.loop&&s.loopCreate(),t.observer&&!s.isElement||s.update(),t.loop?s.slideTo(w+s.loopedSlides,0,!1):s.slideTo(w,0,!1)}function st(){const e=this,s=[];for(let t=0;t<e.slides.length;t+=1)s.push(t);e.removeSlide(s)}function Xe(e){const{effect:s,swiper:t,on:r,setTranslate:n,setTransition:i,overwriteParams:w,perspective:y,recreateShadows:l,getEffectParams:m}=e;let T;r("beforeInit",()=>{if(t.params.effect!==s)return;t.classNames.push(`${t.params.containerModifierClass}${s}`),y&&y()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const x=w?w():{};Object.assign(t.params,x),Object.assign(t.originalParams,x)}),r("setTranslate _virtualUpdated",()=>{t.params.effect===s&&n()}),r("setTransition",(x,u)=>{t.params.effect===s&&i(u)}),r("transitionEnd",()=>{if(t.params.effect===s&&l){if(!m||!m().slideShadows)return;
57t.slides.forEach(x=>{x.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>u.remove())}),l()}}),r("virtualUpdate",()=>{t.params.effect===s&&(t.slides.length||(T=!0),requestAnimationFrame(()=>{T&&t.slides&&t.slides.length&&(n(),T=!1)}))})}function rt(e,s){const t=E(s);return t!==s&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function pt({swiper:e,duration:s,transformElements:t,allSlides:r}){const{activeIndex:n}=e;if(e.params.virtualTranslate&&s!==0){let i,w=!1;i=r?t:t.filter(y=>{const l=y.classList.contains("swiper-slide-transform")?(m=>m.parentElement?m.parentElement:e.slides.find(T=>T.shadowRoot&&T.shadowRoot===m.parentNode))(y):y;return e.getSlideIndex(l)===n}),i.forEach(y=>{Se(y,()=>{if(w||!e||e.destroyed)return;w=!0,e.animating=!1;const l=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(l)})})}}function mt(e,s,t){const r=`swiper-slide-shadow${t?`-${t}`:""}${e?` swiper-slide-shadow-${e}`:""}`,n=E(s);let i=n.querySelector(`.${r.split(" ").join(".")}`);return i||(i=A("div",r.split(" ")),n.append(i)),i}const at=[function({swiper:e,extendParams:s,on:t,emit:r}){let n;s({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const i=ft();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const w=i.createElement("div");function y(m,T){const x=e.params.virtual;if(x.cache&&e.virtual.cache[T])return e.virtual.cache[T];let u;return x.renderSlide?(u=x.renderSlide.call(e,m,T),typeof u=="string"&&(be(w,u),u=w.children[0])):u=e.isElement?A("swiper-slide"):A("div",e.params.slideClass),u.setAttribute("data-swiper-slide-index",T),x.renderSlide||be(u,m),x.cache&&(e.virtual.cache[T]=u),u}function l(m,T,x){const{slidesPerGroup:u,centeredSlides:c,slidesPerView:F,loop:P,initialSlide:W}=e.params;if(T&&!P&&W>0)return;const{addSlidesBefore:ae,addSlidesAfter:I,slidesPerViewAutoSlideSize:a}=e.params.virtual,{from:o,to:_,slides:Z,slidesGrid:re,offset:de}=e.virtual;e.params.cssMode||e.updateActiveIndex();const ie=x===void 0?e.activeIndex||0:x;let G,ce,ge,Ce;if(G=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",F==="auto")if(a){let Ne=e.size;Ne||(Ne=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),ce=Math.max(1,Math.ceil(Ne/a))}else ce=1;else ce=F;c?(ge=Math.floor(ce/2)+u+I,Ce=Math.floor(ce/2)+u+ae):(ge=ce+(u-1)+I,Ce=(P?ce:u)+ae);let _e=ie-Ce,Ge=ie+ge;P||(_e=Math.max(_e,0),Ge=Math.min(Ge,Z.length-1));let Ye=(e.slidesGrid[_e]||0)-(e.slidesGrid[0]||0);function oe(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r("virtualUpdate")}if(P&&ie>=Ce?(_e-=Ce,c||(Ye+=e.slidesGrid[0])):P&&ie<Ce&&(_e=-Ce,c&&(Ye+=e.slidesGrid[0])),Object.assign(e.virtual,{from:_e,to:Ge,offset:Ye,slidesGrid:e.slidesGrid,slidesBefore:Ce,slidesAfter:ge}),o===_e&&_===Ge&&!m)return e.slidesGrid!==re&&Ye!==de&&e.slides.forEach(Ne=>{Ne.style[G]=Ye-Math.abs(e.cssOverflowAdjustment())+"px"}),e.updateProgress(),void r("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:Ye,from:_e,to:Ge,slides:(function(){const Ne=[];for(let ze=_e;ze<=Ge;ze+=1)Ne.push(Z[ze]);return Ne})()}),void(e.params.virtual.renderExternalUpdate?oe():r("virtualUpdate"));const g=[],H=[],se=Ne=>{let ze=Ne;return Ne<0?ze=Z.length+Ne:ze>=Z.length&&(ze-=Z.length),ze};if(m)e.slides.filter(Ne=>Ne.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(Ne=>{Ne.remove()});else for(let Ne=o;Ne<=_;Ne+=1)if(Ne<_e||Ne>Ge){const ze=se(Ne);e.slides.filter(it=>it.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ze}"], swiper-slide[data-swiper-slide-index="${ze}"]`)).forEach(it=>{it.remove()})}const Le=P?-Z.length:0,Be=P?2*Z.length:Z.length;for(let Ne=Le;Ne<Be;Ne+=1)if(Ne>=_e&&Ne<=Ge){const ze=se(Ne);_===void 0||m?H.push(ze):(Ne>_&&H.push(ze),Ne<o&&g.push(ze))}if(H.forEach(Ne=>{e.slidesEl.append(y(Z[Ne],Ne))}),P)for(let Ne=g.length-1;Ne>=0;
57Ne-=1){const ze=g[Ne];e.slidesEl.prepend(y(Z[ze],ze))}else g.sort((Ne,ze)=>ze-Ne),g.forEach(Ne=>{e.slidesEl.prepend(y(Z[Ne],Ne))});S(e.slidesEl,".swiper-slide, swiper-slide").forEach(Ne=>{Ne.style[G]=Ye-Math.abs(e.cssOverflowAdjustment())+"px"}),oe()}t("beforeInit",()=>{if(!e.params.virtual.enabled)return;let m;if(e.passedParams.virtual.slides===void 0){const T=[...e.slidesEl.children].filter(x=>x.matches(`.${e.params.slideClass}, swiper-slide`));T&&T.length&&(e.virtual.slides=[...T],m=!0,T.forEach((x,u)=>{x.setAttribute("data-swiper-slide-index",u),e.virtual.cache[u]=x,x.remove()}))}m||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,l(!1,!0)}),t("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout(()=>{l()},100)):l())}),t("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&D(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:function(m){if(typeof m=="object"&&"length"in m)for(let T=0;T<m.length;T+=1)m[T]&&e.virtual.slides.push(m[T]);else e.virtual.slides.push(m);l(!0)},prependSlide:function(m){const T=e.activeIndex;let x=T+1,u=1;if(Array.isArray(m)){for(let c=0;c<m.length;c+=1)m[c]&&e.virtual.slides.unshift(m[c]);x=T+m.length,u=m.length}else e.virtual.slides.unshift(m);if(e.params.virtual.cache){const c=e.virtual.cache,F={};Object.keys(c).forEach(P=>{const W=c[P],ae=W.getAttribute("data-swiper-slide-index");ae&&W.setAttribute("data-swiper-slide-index",parseInt(ae,10)+u),F[parseInt(P,10)+u]=W}),e.virtual.cache=F}l(!0),e.slideTo(x,0)},removeSlide:function(m){if(m==null)return;let T=e.activeIndex;if(Array.isArray(m))for(let x=m.length-1;x>=0;x-=1)e.params.virtual.cache&&(delete e.virtual.cache[m[x]],Object.keys(e.virtual.cache).forEach(u=>{u>m&&(e.virtual.cache[u-1]=e.virtual.cache[u],e.virtual.cache[u-1].setAttribute("data-swiper-slide-index",u-1),delete e.virtual.cache[u])})),e.virtual.slides.splice(m[x],1),m[x]<T&&(T-=1),T=Math.max(T,0);else e.params.virtual.cache&&(delete e.virtual.cache[m],Object.keys(e.virtual.cache).forEach(x=>{x>m&&(e.virtual.cache[x-1]=e.virtual.cache[x],e.virtual.cache[x-1].setAttribute("data-swiper-slide-index",x-1),delete e.virtual.cache[x])})),e.virtual.slides.splice(m,1),m<T&&(T-=1),T=Math.max(T,0);l(!0),e.slideTo(T,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),l(!0),e.slideTo(0,0)},update:l})},function({swiper:e,extendParams:s,on:t,emit:r}){const n=ft(),i=Y();function w(m){if(!e.enabled)return;const{rtlTranslate:T}=e;let x=m;x.originalEvent&&(x=x.originalEvent);const u=x.keyCode||x.charCode,c=e.params.keyboard.pageUpDown,F=c&&u===33,P=c&&u===34,W=u===37,ae=u===39,I=u===38,a=u===40;if(!e.allowSlideNext&&(e.isHorizontal()&&ae||e.isVertical()&&a||P)||!e.allowSlidePrev&&(e.isHorizontal()&&W||e.isVertical()&&I||F))return!1;if(x.shiftKey||x.altKey||x.ctrlKey||x.metaKey||n.activeElement&&(n.activeElement.isContentEditable||n.activeElement.nodeName&&(n.activeElement.nodeName.toLowerCase()==="input"||n.activeElement.nodeName.toLowerCase()==="textarea")))return;if(e.params.keyboard.onlyInViewport&&(F||P||W||ae||I||a)){let _=!1;if(me(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&me(e.el,`.${e.params.slideActiveClass}`).length===0)return;const Z=e.el,re=Z.clientWidth,de=Z.clientHeight,ie=i.innerWidth,G=i.innerHeight,ce=j(Z);T&&(ce.left-=Z.scrollLeft);const ge=[[ce.left,ce.top],[ce.left+re,ce.top],[ce.left,ce.top+de],[ce.left+re,ce.top+de]];for(let Ce=0;Ce<ge.length;Ce+=1){const _e=ge[Ce];if(_e[0]>=0&&_e[0]<=ie&&_e[1]>=0&&_e[1]<=G){if(_e[0]===0&&_e[1]===0)continue;_=!0}}if(!_)return}const o=e.params.keyboard.speed;e.isHorizontal()?((F||P||W||ae)&&(x.preventDefault?x.preventDefault():x.returnValue=!1),((P||ae)&&!T||(F||W)&&T)&&e.slideNext(o),((F||W)&&!T||(P||ae)&&T)&&e.slidePrev(o)):((F||P||I||a)&&(x.preventDefault?x.preventDefault():x.returnValue=!1),(P||a)&&e.slideNext(o),(F||I)&&e.slidePrev(o)),r("keyPress",u)}function y(){e.keyboard.enabled||(n.addEventListener("keydown",w),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(n.removeEventListener("keydown",w),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),t("init",()=>{e.params.keyboard.enabled&&y()}),t("destroy",()=>{e.keyboard.enabled&&l()}),Object.assign(e.keyboard,{enable:y,disable:l})},function({swiper:e,extendParams:s,on:t,emit:r}){const n=Y();let i;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let w,y=B();const l=[];function m(){e.enabled&&(e.mouseEntered=!0)}function T(){e.enabled&&(e.mouseEntered=!1)}function x(W){return!(e.params.mousewheel.thresholdDelta&&W.delta<e.params.mousewheel.thresholdDelta)&&!(e.params.mousewheel.thresholdTime&&B()-y<e.params.mousewheel.thresholdTime)&&(W.delta>=6&&B()-y<60||(W.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),r("scroll",W.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),r("scroll",W.raw)),y=new n.Date().getTime(),!1))}function u(W){let ae=W,I=!0;if(!e.enabled||W.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const a=e.params.mousewheel;e.params.cssMode&&ae.preventDefault();let o=e.el;e.params.mousewheel.eventsTarget!=="container"&&(o=document.querySelector(e.params.mousewheel.eventsTarget));const _=o&&o.contains(ae.target);if(!e.mouseEntered&&!_&&!a.releaseOnEdges)return!0;ae.originalEvent&&(ae=ae.originalEvent);let Z=0;const re=e.rtlTranslate?-1:1,de=(function(G){let ce=0,ge=0,Ce=0,_e=0;return"detail"in G&&(ge=G.detail),"wheelDelta"in G&&(ge=-G.wheelDelta/120),"wheelDeltaY"in G&&(ge=-G.wheelDeltaY/120
57),"wheelDeltaX"in G&&(ce=-G.wheelDeltaX/120),"axis"in G&&G.axis===G.HORIZONTAL_AXIS&&(ce=ge,ge=0),Ce=10*ce,_e=10*ge,"deltaY"in G&&(_e=G.deltaY),"deltaX"in G&&(Ce=G.deltaX),G.shiftKey&&!Ce&&(Ce=_e,_e=0),(Ce||_e)&&G.deltaMode&&(G.deltaMode===1?(Ce*=40,_e*=40):(Ce*=800,_e*=800)),Ce&&!ce&&(ce=Ce<1?-1:1),_e&&!ge&&(ge=_e<1?-1:1),{spinX:ce,spinY:ge,pixelX:Ce,pixelY:_e}})(ae);if(a.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(de.pixelX)>Math.abs(de.pixelY)))return!0;Z=-de.pixelX*re}else{if(!(Math.abs(de.pixelY)>Math.abs(de.pixelX)))return!0;Z=-de.pixelY}else Z=Math.abs(de.pixelX)>Math.abs(de.pixelY)?-de.pixelX*re:-de.pixelY;if(Z===0)return!0;a.invert&&(Z=-Z);let ie=e.getTranslate()+Z*a.sensitivity;if(ie>=e.minTranslate()&&(ie=e.minTranslate()),ie<=e.maxTranslate()&&(ie=e.maxTranslate()),I=!!e.params.loop||!(ie===e.minTranslate()||ie===e.maxTranslate()),I&&e.params.nested&&ae.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const G={time:B(),delta:Math.abs(Z),direction:Math.sign(Z)},ce=w&&G.time<w.time+500&&G.delta<=w.delta&&G.direction===w.direction;if(!ce){w=void 0;let ge=e.getTranslate()+Z*a.sensitivity;const Ce=e.isBeginning,_e=e.isEnd;if(ge>=e.minTranslate()&&(ge=e.minTranslate()),ge<=e.maxTranslate()&&(ge=e.maxTranslate()),e.setTransition(0),e.setTranslate(ge),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!Ce&&e.isBeginning||!_e&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:G.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(i),i=void 0,l.length>=15&&l.shift();const Ge=l.length?l[l.length-1]:void 0,Ye=l[0];if(l.push(G),Ge&&(G.delta>Ge.delta||G.direction!==Ge.direction))l.splice(0);else if(l.length>=15&&G.time-Ye.time<500&&Ye.delta-G.delta>=1&&G.delta<=6){const oe=Z>0?.8:.2;w=G,l.splice(0),i=O(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,oe)},0)}i||(i=O(()=>{e.destroyed||!e.params||(w=G,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5))},500))}if(ce||r("scroll",ae),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),a.releaseOnEdges&&(ge===e.minTranslate()||ge===e.maxTranslate()))return!0}}else{const G={time:B(),delta:Math.abs(Z),direction:Math.sign(Z),raw:W};l.length>=2&&l.shift();const ce=l.length?l[l.length-1]:void 0;if(l.push(G),ce?(G.direction!==ce.direction||G.delta>ce.delta||G.time>ce.time+150)&&x(G):x(G),(function(ge){const Ce=e.params.mousewheel;if(ge.direction<0){if(e.isEnd&&!e.params.loop&&Ce.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&Ce.releaseOnEdges)return!0;return!1})(G))return!0}return ae.preventDefault?ae.preventDefault():ae.returnValue=!1,!1}function c(W){let ae=e.el;e.params.mousewheel.eventsTarget!=="container"&&(ae=document.querySelector(e.params.mousewheel.eventsTarget)),ae[W]("mouseenter",m),ae[W]("mouseleave",T),ae[W]("wheel",u)}function F(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",u),!0):!e.mousewheel.enabled&&(c("addEventListener"),e.mousewheel.enabled=!0,!0)}function P(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,u),!0):!!e.mousewheel.enabled&&(c("removeEventListener"),e.mousewheel.enabled=!1,!0)}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&P(),e.params.mousewheel.enabled&&F()}),t("destroy",()=>{e.params.cssMode&&F(),e.mousewheel.enabled&&P()}),Object.assign(e.mousewheel,{enable:F,disable:P})},function({swiper:e,extendParams:s,on:t,emit:r}){function n(u){let c;return u&&typeof u=="string"&&e.isElement&&(c=e.el.querySelector(u)||e.hostEl.querySelector(u),c)?c:(u&&(typeof u=="string"&&(c=[...document.querySelectorAll(u)]),e.params.uniqueNavElements&&typeof u=="string"&&c&&c.length>1&&e.el.querySelectorAll(u).length===1?c=e.el.querySelector(u):c&&c.length===1&&(c=c[0])),u&&!c?u:c)}function i(u,c){const F=e.params.navigation;(u=C(u)).forEach(P=>{P&&(P.classList[c?"add":"remove"](...F.disabledClass.split(" ")),P.tagName==="BUTTON"&&(P.disabled=c),e.params.watchOverflow&&e.enabled&&P.classList[e.isLocked?"add":"remove"](F.lockClass))})}function w(){const{nextEl:u,prevEl:c}=e.navigation;if(e.params.loop)return i(c,!1),void i(u,!1);i(c,e.isBeginning&&!e.params.rewind),i(u,e.isEnd&&!e.params.rewind)}function y(u){u.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function l(u){u.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function m(){const u=e.params.navigation;if(e.params.navigation=Fe(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!u.nextEl&&!u.prevEl)return;let c=n(u.nextEl),F=n(u.prevEl);Object.assign(e.navigation,{nextEl:c,prevEl:F}),c=C(c),F=C(F);const P=(W,ae)=>{if(W){if(u.addIcons&&W.matches(".swiper-button-next,.swiper-button-prev")&&!W.querySelector("svg")){const I=document.createElement("div");be(I,Qe),W.appendChild(I.querySelector("svg")),I.remove()}W.addEventListener("click",ae==="next"?l:y)}!e.enabled&&W&&W.classList.add(...u.lockClass.split(" "))};
57c.forEach(W=>P(W,"next")),F.forEach(W=>P(W,"prev"))}function T(){let{nextEl:u,prevEl:c}=e.navigation;u=C(u),c=C(c);const F=(P,W)=>{P.removeEventListener("click",W==="next"?l:y),P.classList.remove(...e.params.navigation.disabledClass.split(" "))};u.forEach(P=>F(P,"next")),c.forEach(P=>F(P,"prev"))}s({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:Qe},t("init",()=>{e.params.navigation.enabled===!1?x():(m(),w())}),t("toEdge fromEdge lock unlock",()=>{w()}),t("destroy",()=>{T()}),t("enable disable",()=>{let{nextEl:u,prevEl:c}=e.navigation;u=C(u),c=C(c),e.enabled?w():[...u,...c].filter(F=>!!F).forEach(F=>F.classList.add(e.params.navigation.lockClass))}),t("click",(u,c)=>{let{nextEl:F,prevEl:P}=e.navigation;F=C(F),P=C(P);const W=c.target;let ae=P.includes(W)||F.includes(W);if(e.isElement&&!ae){const I=c.path||c.composedPath&&c.composedPath();I&&(ae=I.find(a=>F.includes(a)||P.includes(a)))}if(e.params.navigation.hideOnClick&&!ae){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===W||e.pagination.el.contains(W)))return;let I;F.length?I=F[0].classList.contains(e.params.navigation.hiddenClass):P.length&&(I=P[0].classList.contains(e.params.navigation.hiddenClass)),r(I===!0?"navigationShow":"navigationHide"),[...F,...P].filter(a=>!!a).forEach(a=>a.classList.toggle(e.params.navigation.hiddenClass))}});const x=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),T()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),m(),w()},disable:x,update:w,init:m,destroy:T})},function({swiper:e,extendParams:s,on:t,emit:r}){const n="swiper-pagination";let i;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:P=>P,formatFractionTotal:P=>P,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let w=0;function y(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function l(P,W){const{bulletActiveClass:ae}=e.params.pagination;P&&(P=P[(W==="prev"?"previous":"next")+"ElementSibling"])&&(P.classList.add(`${ae}-${W}`),(P=P[(W==="prev"?"previous":"next")+"ElementSibling"])&&P.classList.add(`${ae}-${W}-${W}`))}function m(P){const W=P.target.closest(Je(e.params.pagination.bulletClass));if(!W)return;P.preventDefault();const ae=he(W)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===ae)return;const _=(I=e.realIndex,a=ae,o=e.slides.length,(a%=o)===1+(I%=o)?"next":a===I-1?"previous":void 0);_==="next"?e.slideNext():_==="previous"?e.slidePrev():e.slideToLoop(ae)}else e.slideTo(ae);var I,a,o}function T(){const P=e.rtl,W=e.params.pagination;if(y())return;let ae,I,a=e.pagination.el;a=C(a);const o=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,_=e.params.loop?Math.ceil(o/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(I=e.previousRealIndex||0,ae=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):e.snapIndex!==void 0?(ae=e.snapIndex,I=e.previousSnapIndex):(I=e.previousIndex||0,ae=e.activeIndex||0),W.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const Z=e.pagination.bullets;let re,de,ie;if(W.dynamicBullets&&(i=ve(Z[0],e.isHorizontal()?"width":"height",!0),a.forEach(G=>{G.style[e.isHorizontal()?"width":"height"]=i*(W.dynamicMainBullets+4)+"px"}),W.dynamicMainBullets>1&&I!==void 0&&(w+=ae-(I||0),w>W.dynamicMainBullets-1?w=W.dynamicMainBullets-1:w<0&&(w=0)),re=Math.max(ae-w,0),de=re+(Math.min(Z.length,W.dynamicMainBullets)-1),ie=(de+re)/2),Z.forEach(G=>{const ce=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(ge=>`${W.bulletActiveClass}${ge}`)].map(ge=>typeof ge=="string"&&ge.includes(" ")?ge.split(" "):ge).flat();G.classList.remove(...ce)}),a.length>
571)Z.forEach(G=>{const ce=he(G);ce===ae?G.classList.add(...W.bulletActiveClass.split(" ")):e.isElement&&G.setAttribute("part","bullet"),W.dynamicBullets&&(ce>=re&&ce<=de&&G.classList.add(...`${W.bulletActiveClass}-main`.split(" ")),ce===re&&l(G,"prev"),ce===de&&l(G,"next"))});else{const G=Z[ae];if(G&&G.classList.add(...W.bulletActiveClass.split(" ")),e.isElement&&Z.forEach((ce,ge)=>{ce.setAttribute("part",ge===ae?"bullet-active":"bullet")}),W.dynamicBullets){const ce=Z[re],ge=Z[de];for(let Ce=re;Ce<=de;Ce+=1)Z[Ce]&&Z[Ce].classList.add(...`${W.bulletActiveClass}-main`.split(" "));l(ce,"prev"),l(ge,"next")}}if(W.dynamicBullets){const G=Math.min(Z.length,W.dynamicMainBullets+4),ce=(i*G-i)/2-ie*i,ge=P?"right":"left";Z.forEach(Ce=>{Ce.style[e.isHorizontal()?ge:"top"]=`${ce}px`})}}a.forEach((Z,re)=>{if(W.type==="fraction"&&(Z.querySelectorAll(Je(W.currentClass)).forEach(de=>{de.textContent=W.formatFractionCurrent(ae+1)}),Z.querySelectorAll(Je(W.totalClass)).forEach(de=>{de.textContent=W.formatFractionTotal(_)})),W.type==="progressbar"){let de;de=W.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const ie=(ae+1)/_;let G=1,ce=1;de==="horizontal"?G=ie:ce=ie,Z.querySelectorAll(Je(W.progressbarFillClass)).forEach(ge=>{ge.style.transform=`translate3d(0,0,0) scaleX(${G}) scaleY(${ce})`,ge.style.transitionDuration=`${e.params.speed}ms`})}W.type==="custom"&&W.renderCustom?(be(Z,W.renderCustom(e,ae+1,_)),re===0&&r("paginationRender",Z)):(re===0&&r("paginationRender",Z),r("paginationUpdate",Z)),e.params.watchOverflow&&e.enabled&&Z.classList[e.isLocked?"add":"remove"](W.lockClass)})}function x(){const P=e.params.pagination;if(y())return;const W=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let ae=e.pagination.el;ae=C(ae);let I="";if(P.type==="bullets"){let a=e.params.loop?Math.ceil(W/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&a>W&&(a=W);for(let o=0;o<a;o+=1)P.renderBullet?I+=P.renderBullet.call(e,o,P.bulletClass):I+=`<${P.bulletElement} ${e.isElement?'part="bullet"':""} class="${P.bulletClass}"></${P.bulletElement}>`}P.type==="fraction"&&(I=P.renderFraction?P.renderFraction.call(e,P.currentClass,P.totalClass):`<span class="${P.currentClass}"></span> / <span class="${P.totalClass}"></span>`),P.type==="progressbar"&&(I=P.renderProgressbar?P.renderProgressbar.call(e,P.progressbarFillClass):`<span class="${P.progressbarFillClass}"></span>`),e.pagination.bullets=[],ae.forEach(a=>{P.type!=="custom"&&be(a,I||""),P.type==="bullets"&&e.pagination.bullets.push(...a.querySelectorAll(Je(P.bulletClass)))}),P.type!=="custom"&&r("paginationRender",ae[0])}function u(){e.params.pagination=Fe(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const P=e.params.pagination;if(!P.el)return;let W;typeof P.el=="string"&&e.isElement&&(W=e.el.querySelector(P.el)),W||typeof P.el!="string"||(W=[...document.querySelectorAll(P.el)]),W||(W=P.el),W&&W.length!==0&&(e.params.uniqueNavElements&&typeof P.el=="string"&&Array.isArray(W)&&W.length>1&&(W=[...e.el.querySelectorAll(P.el)],W.length>1&&(W=W.find(ae=>me(ae,".swiper")[0]===e.el))),Array.isArray(W)&&W.length===1&&(W=W[0]),Object.assign(e.pagination,{el:W}),W=C(W),W.forEach(ae=>{P.type==="bullets"&&P.clickable&&ae.classList.add(...(P.clickableClass||"").split(" ")),ae.classList.add(P.modifierClass+P.type),ae.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass),P.type==="bullets"&&P.dynamicBullets&&(ae.classList.add(`${P.modifierClass}${P.type}-dynamic`),w=0,P.dynamicMainBullets<1&&(P.dynamicMainBullets=1)),P.type==="progressbar"&&P.progressbarOpposite&&ae.classList.add(P.progressbarOppositeClass),P.clickable&&ae.addEventListener("click",m),e.enabled||ae.classList.add(P.lockClass)}))}function c(){const P=e.params.pagination;if(y())return;let W=e.pagination.el;W&&(W=C(W),W.forEach(ae=>{ae.classList.remove(P.hiddenClass),ae.classList.remove(P.modifierClass+P.type),ae.classList.remove(e.isHorizontal()?P.horizontalClass:P.verticalClass),P.clickable&&(ae.classList.remove(...(P.clickableClass||"").split(" ")),ae.removeEventListener("click",m))}
57)),e.pagination.bullets&&e.pagination.bullets.forEach(ae=>ae.classList.remove(...P.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const P=e.params.pagination;let{el:W}=e.pagination;W=C(W),W.forEach(ae=>{ae.classList.remove(P.horizontalClass,P.verticalClass),ae.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?F():(u(),x(),T())}),t("activeIndexChange",()=>{e.snapIndex===void 0&&T()}),t("snapIndexChange",()=>{T()}),t("snapGridLengthChange",()=>{x(),T()}),t("destroy",()=>{c()}),t("enable disable",()=>{let{el:P}=e.pagination;P&&(P=C(P),P.forEach(W=>W.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{T()}),t("click",(P,W)=>{const ae=W.target,I=C(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!ae.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&ae===e.navigation.nextEl||e.navigation.prevEl&&ae===e.navigation.prevEl))return;const a=I[0].classList.contains(e.params.pagination.hiddenClass);r(a===!0?"paginationShow":"paginationHide"),I.forEach(o=>o.classList.toggle(e.params.pagination.hiddenClass))}});const F=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:P}=e.pagination;P&&(P=C(P),P.forEach(W=>W.classList.add(e.params.pagination.paginationDisabledClass))),c()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:P}=e.pagination;P&&(P=C(P),P.forEach(W=>W.classList.remove(e.params.pagination.paginationDisabledClass))),u(),x(),T()},disable:F,render:x,update:T,init:u,destroy:c})},function({swiper:e,extendParams:s,on:t,emit:r}){const n=ft();let i,w,y,l,m=!1,T=null,x=null;function u(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:re,rtlTranslate:de}=e,{dragEl:ie,el:G}=re,ce=e.params.scrollbar,ge=e.params.loop?e.progressLoop:e.progress;let Ce=w,_e=(y-w)*ge;de?(_e=-_e,_e>0?(Ce=w-_e,_e=0):-_e+w>y&&(Ce=y+_e)):_e<0?(Ce=w+_e,_e=0):_e+w>y&&(Ce=y-_e),e.isHorizontal()?(ie.style.transform=`translate3d(${_e}px, 0, 0)`,ie.style.width=`${Ce}px`):(ie.style.transform=`translate3d(0px, ${_e}px, 0)`,ie.style.height=`${Ce}px`),ce.hide&&(clearTimeout(T),G.style.opacity=1,T=setTimeout(()=>{G.style.opacity=0,G.style.transitionDuration="400ms"},1e3))}function c(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:re}=e,{dragEl:de,el:ie}=re;de.style.width="",de.style.height="",y=e.isHorizontal()?ie.offsetWidth:ie.offsetHeight,l=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),w=e.params.scrollbar.dragSize==="auto"?y*l:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?de.style.width=`${w}px`:de.style.height=`${w}px`,ie.style.display=l>=1?"none":"",e.params.scrollbar.hide&&(ie.style.opacity=0),e.params.watchOverflow&&e.enabled&&re.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function F(re){return e.isHorizontal()?re.clientX:re.clientY}function P(re){const{scrollbar:de,rtlTranslate:ie}=e,{el:G}=de;let ce;ce=(F(re)-j(G)[e.isHorizontal()?"left":"top"]-(i!==null?i:w/2))/(y-w),ce=Math.max(Math.min(ce,1),0),ie&&(ce=1-ce);const ge=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*ce;e.updateProgress(ge),e.setTranslate(ge),e.updateActiveIndex(),e.updateSlidesClasses()}function W(re){const de=e.params.scrollbar,{scrollbar:ie,wrapperEl:G}=e,{el:ce,dragEl:ge}=ie;m=!0,i=re.target===ge?F(re)-re.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,re.preventDefault(),re.stopPropagation(),G.style.transitionDuration="100ms",ge.style.transitionDuration="100ms",P(re),clearTimeout(x),ce.style.transitionDuration="0ms",de.hide&&(ce.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",re)}function ae(re){const{scrollbar:de,wrapperEl:ie}=e,{el:G,dragEl:ce}=de;m&&(re.preventDefault&&re.cancelable?re.preventDefault():re.returnValue=!1,P(re),ie.style.transitionDuration="0ms",G.style.transitionDuration="0ms",ce.style.transitionDuration="0ms",r("scrollbarDragMove",re))}function I(re){const de=e.params.scrollbar,{scrollbar:ie,wrapperEl:G}=e,{el:ce}=ie;m&&(m=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",G.style.transitionDuration=""),de.hide&&(clearTimeout(x),x=O(()=>{ce.style.opacity=0,ce.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",re),de.snapOnRelease&&e.slideToClosest())}function a(re){const{scrollbar:de,params:ie}=e,G=de.el;if(!G)return;const ce=G,ge=!!ie.passiveListeners&&{passive:!1,capture:!1},Ce=!!ie.passiveListeners&&{passive:!0,capture:!1};if(!ce)return;const _e=re==="on"?"addEventListener":"removeEventListener";ce[_e]("pointerdown",W,ge),n[_e]("pointermove",ae,ge),n[_e]("pointerup",I,Ce)}function o(){const{scrollbar:re,el:de}=e;e.params.scrollbar=Fe(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const ie=e.params.scrollbar;if(!ie.el)return;let G,ce;if(typeof ie.el=="string"&&e.isElement&&(G=e.el.querySelector(ie.el)),G||typeof ie.el!="string")G||(G=ie.el);else if(G=n.querySelectorAll(ie.el),!G.length)return;e.params.uniqueNavElements&&typeof ie.el=="string"&&G.length>1&&de.querySelectorAll(ie.el).length===1&&(G=de.querySelector(ie.el)),G.length>0&&(G=G[0]),G.classList.add(e.isHorizontal()?ie.horizontalClass:ie.verticalClass),G&&(ce=G.querySelector(Je(e.params.scrollbar.dragClass)),ce||(ce=A("div",e.params.scrollbar.dragClass),G.append(ce))),Object.assign(re,{el:G,dragEl:ce}),ie.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&a("on"),G&&G.classList[e.enabled?"remove":"add"](...d(e.params.scrollbar.lockClass))}function _(){const re=e.params.scrollbar,de=e.scrollbar.el;de&&de.classList.remove(...d(e.isHorizontal()?re.horizontalClass:re.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&a("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},t("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const re=e.params.scrollbar;let{el:de}=e.scrollbar;de=C(de),de.forEach(ie=>{ie.classList.remove(re.horizontalClass,re.verticalClass),ie.classList.add(e.isHorizontal()?re.horizontalClass:re.verticalClass)})}),t("init",()=>{e.params.scrollbar.enabled===!1?Z():(o(),c(),u())}),t("update resize observerUpdate lock unlock changeDirection",()=>{c()}),t("setTranslate",()=>{u()}),t("setTransition",(re,de)=>{(function(ie){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${ie}ms`)})(de)}),t("enable disable",()=>{const{el:re}=e.scrollbar;re&&re.classList[e.enabled?"remove":"add"](...d(e.params.scrollbar.lockClass))}),t("destroy",()=>{_()});const Z=()=>{e.el.classList.add(...d(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...d(e.params.scrollbar.scrollbarDisabledClass)),_()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...d(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...d(e.params.scrollbar.scrollbarDisabledClass)),o(),c(),u()},disable:Z,updateSize:c,setTranslate:u,init:o,destroy:_})},function({swiper:e,extendParams:s,on:t}){s({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",n=(w,y)=>{const{rtl:l}=e,m=l?-1:1,T=w.getAttribute("data-swiper-parallax")||"0";let x=w.getAttribute("data-swiper-parallax-x"),u=w.getAttribute("data-swiper-parallax-y");const c=w.getAttribute("data-swiper-parallax-scale"),F=w.getAttribute("data-swiper-parallax-opacity"),P=w.getAttribute("data-swiper-parallax-rotate");if(x||u?(x=x||"0",u=u||"0"):e.isHorizontal()?(x=T,u="0"):(u=T,x="0"),x=x.indexOf("%")>=0?parseInt(x,10)*y*m+"%":x*y*m+"px",u=u.indexOf("%")>
57=0?parseInt(u,10)*y+"%":u*y+"px",F!=null){const ae=F-(F-1)*(1-Math.abs(y));w.style.opacity=ae}let W=`translate3d(${x}, ${u}, 0px)`;c!=null&&(W+=` scale(${c-(c-1)*(1-Math.abs(y))})`),P&&P!=null&&(W+=` rotate(${P*y*-1}deg)`),w.style.transform=W},i=()=>{const{el:w,slides:y,progress:l,snapGrid:m,isElement:T}=e,x=S(w,r);e.isElement&&x.push(...S(e.hostEl,r)),x.forEach(u=>{n(u,l)}),y.forEach((u,c)=>{let F=u.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(F+=Math.ceil(c/2)-l*(m.length-1)),F=Math.min(Math.max(F,-1),1),u.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(P=>{n(P,F)})})};t("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),t("init",()=>{e.params.parallax.enabled&&i()}),t("setTranslate",()=>{e.params.parallax.enabled&&i()}),t("setTransition",(w,y)=>{e.params.parallax.enabled&&((l=e.params.speed)=>{const{el:m,hostEl:T}=e,x=[...m.querySelectorAll(r)];e.isElement&&x.push(...T.querySelectorAll(r)),x.forEach(u=>{let c=parseInt(u.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(c=0),u.style.transitionDuration=`${c}ms`})})(y)})},function({swiper:e,extendParams:s,on:t,emit:r}){const n=Y();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let i,w,y=1,l=!1,m=!1,T={x:0,y:0};const x=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},c={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},F={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let P,W=1;function ae(){if(x.length<2)return 1;const g=x[0].pageX,H=x[0].pageY,se=x[1].pageX,Le=x[1].pageY;return Math.sqrt((se-g)**2+(Le-H)**2)}function I(){const g=e.params.zoom,H=u.imageWrapEl.getAttribute("data-swiper-zoom")||g.maxRatio;if(g.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){const se=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(se,H)}return H}function a(g){const H=e.isElement?"swiper-slide":`.${e.params.slideClass}`;return!!g.target.matches(H)||e.slides.filter(se=>se.contains(g.target)).length>0}function o(g){const H=`.${e.params.zoom.containerClass}`;return!!g.target.matches(H)||[...e.hostEl.querySelectorAll(H)].filter(se=>se.contains(g.target)).length>0}function _(g){if(g.pointerType==="mouse"&&x.splice(0,x.length),!a(g))return;const H=e.params.zoom;if(i=!1,w=!1,x.push(g),!(x.length<2)){if(i=!0,u.scaleStart=ae(),!u.slideEl){u.slideEl=g.target.closest(`.${e.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=e.slides[e.activeIndex]);let se=u.slideEl.querySelector(`.${H.containerClass}`);if(se&&(se=se.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=se,u.imageWrapEl=se?me(u.imageEl,`.${H.containerClass}`)[0]:void 0,!u.imageWrapEl)return void(u.imageEl=void 0);u.maxRatio=I()}if(u.imageEl){const[se,Le]=(function(){if(x.length<2)return{x:null,y:null};const Be=u.imageEl.getBoundingClientRect();return[(x[0].pageX+(x[1].pageX-x[0].pageX)/2-Be.x-n.scrollX)/y,(x[0].pageY+(x[1].pageY-x[0].pageY)/2-Be.y-n.scrollY)/y]})();u.originX=se,u.originY=Le,u.imageEl.style.transitionDuration="0ms"}l=!0}}function Z(g){if(!a(g))return;const H=e.params.zoom,se=e.zoom,Le=x.findIndex(Be=>Be.pointerId===g.pointerId);Le>=0&&(x[Le]=g),x.length<2||(w=!0,u.scaleMove=ae(),u.imageEl&&(se.scale=u.scaleMove/u.scaleStart*y,se.scale>u.maxRatio&&(se.scale=u.maxRatio-1+(se.scale-u.maxRatio+1)**.5),se.scale<H.minRatio&&(se.scale=H.minRatio+1-(H.minRatio-se.scale+1)**.5),u.imageEl.style.transform=`translate3d(0,0,0) scale(${se.scale})`))}function re(g){if(!a(g)||g.pointerType==="mouse"&&g.type==="pointerout")return;const H=e.params.zoom,se=e.zoom,Le=x.findIndex(Be=>Be.pointerId===g.pointerId);Le>=0&&x.splice(Le,1),i&&w&&(i=!1,w=!1,u.imageEl&&(se.scale=Math.max(Math.min(se.scale,u.maxRatio),H.minRatio),u.imageEl.style.transitionDuration=`${e.params.speed}
57ms`,u.imageEl.style.transform=`translate3d(0,0,0) scale(${se.scale})`,y=se.scale,l=!1,se.scale>1&&u.slideEl?u.slideEl.classList.add(`${H.zoomedSlideClass}`):se.scale<=1&&u.slideEl&&u.slideEl.classList.remove(`${H.zoomedSlideClass}`),se.scale===1&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}function de(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function ie(g){const H=g.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!a(g)||!o(g))return;const se=e.zoom;if(!u.imageEl)return;if(!c.isTouched||!u.slideEl)return void(H&&ce(g));if(H)return void ce(g);c.isMoved||(c.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,c.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,c.startX=J(u.imageWrapEl,"x")||0,c.startY=J(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");const Le=c.width*se.scale,Be=c.height*se.scale;if(c.minX=Math.min(u.slideWidth/2-Le/2,0),c.maxX=-c.minX,c.minY=Math.min(u.slideHeight/2-Be/2,0),c.maxY=-c.minY,c.touchesCurrent.x=x.length>0?x[0].pageX:g.pageX,c.touchesCurrent.y=x.length>0?x[0].pageY:g.pageY,Math.max(Math.abs(c.touchesCurrent.x-c.touchesStart.x),Math.abs(c.touchesCurrent.y-c.touchesStart.y))>5&&(e.allowClick=!1),!c.isMoved&&!l&&(e.isHorizontal()&&(Math.floor(c.minX)===Math.floor(c.startX)&&c.touchesCurrent.x<c.touchesStart.x||Math.floor(c.maxX)===Math.floor(c.startX)&&c.touchesCurrent.x>c.touchesStart.x)||!e.isHorizontal()&&(Math.floor(c.minY)===Math.floor(c.startY)&&
57c.touchesCurrent.y<c.touchesStart.y||Math.floor(c.maxY)===Math.floor(c.startY)&&c.touchesCurrent.y>c.touchesStart.y)))return c.isTouched=!1,void de();g.cancelable&&g.preventDefault(),g.stopPropagation(),clearTimeout(P),e.touchEventsData.preventTouchMoveFromPointerMove=!0,P=setTimeout(()=>{e.destroyed||de()}),c.isMoved=!0;const Ne=(se.scale-y)/(u.maxRatio-e.params.zoom.minRatio),{originX:ze,originY:it}=u;c.currentX=c.touchesCurrent.x-c.touchesStart.x+c.startX+Ne*(c.width-2*ze),c.currentY=c.touchesCurrent.y-c.touchesStart.y+c.startY+Ne*(c.height-2*it),c.currentX<c.minX&&(c.currentX=c.minX+1-(c.minX-c.currentX+1)**.8),c.currentX>c.maxX&&(c.currentX=c.maxX-1+(c.currentX-c.maxX+1)**.8),c.currentY<c.minY&&(c.currentY=c.minY+1-(c.minY-c.currentY+1)**.8),c.currentY>c.maxY&&(c.currentY=c.maxY-1+(c.currentY-c.maxY+1)**.8),F.prevPositionX||(F.prevPositionX=c.touchesCurrent.x),F.prevPositionY||(F.prevPositionY=c.touchesCurrent.y),F.prevTime||(F.prevTime=Date.now()),F.x=(c.touchesCurrent.x-F.prevPositionX)/(Date.now()-F.prevTime)/2,F.y=(c.touchesCurrent.y-F.prevPositionY)/(Date.now()-F.prevTime)/2,Math.abs(c.touchesCurrent.x-F.prevPositionX)<2&&(F.x=0),Math.abs(c.touchesCurrent.y-F.prevPositionY)<2&&(F.y=0),F.prevPositionX=c.touchesCurrent.x,F.prevPositionY=c.touchesCurrent.y,F.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`}function G(){const g=e.zoom;u.slideEl&&e.activeIndex!==e.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,0,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),g.scale=1,y=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function ce(g){if(y<=1||!u.imageWrapEl||!a(g)||!o(g))return;const H=n.getComputedStyle(u.imageWrapEl).transform,se=new n.DOMMatrix(H);if(!m)return m=!0,T.x=g.clientX,T.y=g.clientY,c.startX=se.e,c.startY=se.f,c.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,c.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,u.slideWidth=u.slideEl.offsetWidth,void(u.slideHeight=u.slideEl.offsetHeight);const Le=-3*(g.clientX-T.x),Be=-3*(g.clientY-T.y),Ne=c.width*y,ze=c.height*y,it=u.slideWidth,ot=u.slideHeight,ut=Math.min(it/2-Ne/2,0),ct=-ut,vt=Math.min(ot/2-ze/2,0),Ve=-vt,Ke=Math.max(Math.min(c.startX+Le,ct),ut),nt=Math.max(Math.min(c.startY+Be,Ve),vt);u.imageWrapEl.style.transitionDuration="0ms",u.imageWrapEl.style.transform=`translate3d(${Ke}px, ${nt}px, 0)`,T.x=g.clientX,T.y=g.clientY,c.startX=Ke,c.startY=nt,c.currentX=Ke,c.currentY=nt}function ge(g){const H=e.zoom,se=e.params.zoom;if(!u.slideEl){g&&g.target&&(u.slideEl=g.target.closest(`.${e.params.slideClass}, swiper-slide`)),u.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=S(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex]);let St=u.slideEl.querySelector(`.${se.containerClass}`);St&&(St=St.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=St,u.imageWrapEl=St?me(u.imageEl,`.${se.containerClass}`)[0]:void 0}if(!u.imageEl||!u.imageWrapEl)return;let Le,Be,Ne,ze,it,ot,ut,ct,vt,Ve,Ke,nt,bt,xt,wt,lt,yt,At;u.maxRatio=I(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(`${se.zoomedSlideClass}`),c.touchesStart.x===void 0&&g?(Le=g.pageX,Be=g.pageY):(Le=c.touchesStart.x,Be=c.touchesStart.y);const Mt=y,dt=typeof g=="number"?g:null;y===1&&dt&&(Le=void 0,Be=void 0,c.touchesStart.x=void 0,c.touchesStart.y=void 0);const gt=I();H.scale=dt||gt,y=dt||gt,!g||y===1&&dt?(ut=0,ct=0):(yt=u.slideEl.offsetWidth,At=u.slideEl.offsetHeight,Ne=j(u.slideEl).left+n.scrollX,ze=j(u.slideEl).top+n.scrollY,it=Ne+yt/2-Le,ot=ze+At/2-Be,vt=u.imageEl.offsetWidth||u.imageEl.clientWidth,Ve=u.imageEl.offsetHeight||u.imageEl.clientHeight,Ke=vt*H.scale,nt=Ve*H.scale,bt=Math.min(yt/2-Ke/2,0),xt=Math.min(At/2-nt/2,0),wt=-bt,lt=-xt,Mt>0&&dt&&typeof c.currentX=="number"&&typeof c.currentY=="number"?(ut=c.currentX*H.scale/Mt,ct=c.currentY*H.scale/Mt):(ut=it*H.scale,ct=ot*H.scale),ut<bt&&(ut=bt),ut>
57wt&&(ut=wt),ct<xt&&(ct=xt),ct>lt&&(ct=lt)),dt&&H.scale===1&&(u.originX=0,u.originY=0),c.currentX=ut,c.currentY=ct,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${ut}px, ${ct}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${H.scale})`}function Ce(){const g=e.zoom,H=e.params.zoom;if(!u.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=S(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex];let se=u.slideEl.querySelector(`.${H.containerClass}`);se&&(se=se.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=se,u.imageWrapEl=se?me(u.imageEl,`.${H.containerClass}`)[0]:void 0}u.imageEl&&u.imageWrapEl&&(u.maxRatio=I(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),g.scale=1,y=1,c.currentX=void 0,c.currentY=void 0,c.touchesStart.x=void 0,c.touchesStart.y=void 0,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(`${H.zoomedSlideClass}`),u.slideEl=void 0,u.originX=0,u.originY=0,e.params.zoom.panOnMouseMove&&(T={x:0,y:0},m&&(m=!1,c.startX=0,c.startY=0)))}function _e(g){const H=e.zoom;H.scale&&H.scale!==1?Ce():ge(g)}function Ge(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function Ye(){const g=e.zoom;if(g.enabled)return;g.enabled=!0;const{passiveListener:H,activeListenerWithCapture:se}=Ge();e.wrapperEl.addEventListener("pointerdown",_,H),e.wrapperEl.addEventListener("pointermove",Z,se),["pointerup","pointercancel","pointerout"].forEach(Le=>{e.wrapperEl.addEventListener(Le,re,H)}),e.wrapperEl.addEventListener("pointermove",ie,se)}function oe(){const g=e.zoom;if(!g.enabled)return;g.enabled=!1;const{passiveListener:H,activeListenerWithCapture:se}=Ge();e.wrapperEl.removeEventListener("pointerdown",_,H),e.wrapperEl.removeEventListener("pointermove",Z,se),["pointerup","pointercancel","pointerout"].forEach(Le=>{e.wrapperEl.removeEventListener(Le,re,H)}),e.wrapperEl.removeEventListener("pointermove",ie,se)}Object.defineProperty(e.zoom,"scale",{get:()=>W,set(g){if(W!==g){const H=u.imageEl,se=u.slideEl;r("zoomChange",g,H,se)}W=g}}),t("init",()=>{e.params.zoom.enabled&&Ye()}),t("destroy",()=>{oe()}),t("touchStart",(g,H)=>{e.zoom.enabled&&(function(se){const Le=e.device;if(!u.imageEl||c.isTouched)return;Le.android&&se.cancelable&&se.preventDefault(),c.isTouched=!0;const Be=x.length>0?x[0]:se;c.touchesStart.x=Be.pageX,c.touchesStart.y=Be.pageY})(H)}),t("touchEnd",(g,H)=>{e.zoom.enabled&&(function(){const se=e.zoom;if(x.length=0,!u.imageEl)return;if(!c.isTouched||!c.isMoved)return c.isTouched=!1,void(c.isMoved=!1);c.isTouched=!1,c.isMoved=!1;let Le=300,Be=300;
57const Ne=F.x*Le,ze=c.currentX+Ne,it=F.y*Be,ot=c.currentY+it;F.x!==0&&(Le=Math.abs((ze-c.currentX)/F.x)),F.y!==0&&(Be=Math.abs((ot-c.currentY)/F.y));const ut=Math.max(Le,Be);c.currentX=ze,c.currentY=ot;const ct=c.width*se.scale,vt=c.height*se.scale;c.minX=Math.min(u.slideWidth/2-ct/2,0),c.maxX=-c.minX,c.minY=Math.min(u.slideHeight/2-vt/2,0),c.maxY=-c.minY,c.currentX=Math.max(Math.min(c.currentX,c.maxX),c.minX),c.currentY=Math.max(Math.min(c.currentY,c.maxY),c.minY),u.imageWrapEl.style.transitionDuration=`${ut}ms`,u.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`})()}),t("doubleTap",(g,H)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&_e(H)}),t("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&G()}),t("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&G()}),Object.assign(e.zoom,{enable:Ye,disable:oe,in:ge,out:Ce,toggle:_e})},function({swiper:e,extendParams:s,on:t}){function r(i,w){const y=(function(){let T,x,u;return(c,F)=>{for(x=-1,T=c.length;T-x>1;)u=T+x>>1,c[u]<=F?x=u:T=u;return T}})();let l,m;return this.x=i,this.y=w,this.lastIndex=i.length-1,this.interpolate=function(T){return T?(m=y(this.x,T),l=m-1,(T-this.x[l])*(this.y[m]-this.y[l])/(this.x[m]-this.x[l])+this.y[l]):0},this}function n(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},t("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement))return void(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(i=>{if(e.controller.control||(e.controller.control=[]),i&&i.swiper)e.controller.control.push(i.swiper);else if(i){const w=`${e.params.eventsPrefix}init`,y=l=>{e.controller.control.push(l.detail[0]),e.update(),i.removeEventListener(w,y)};i.addEventListener(w,y)}});e.controller.control=e.params.controller.control}),t("update",()=>{n()}),t("resize",()=>{n()}),t("observerUpdate",()=>{n()}),t("setTranslate",(i,w,y)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTranslate(w,y)}),t("setTransition",(i,w,y)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTransition(w,y)}),Object.assign(e.controller,{setTranslate:function(i,w){const y=e.controller.control;let l,m;const T=e.constructor;function x(u){if(u.destroyed)return;const c=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&((function(F){e.controller.spline=e.params.loop?new r(e.slidesGrid,F.slidesGrid):new r(e.snapGrid,F.snapGrid)})(u),m=-e.controller.spline.interpolate(-c)),m&&e.params.controller.by!=="container"||(l=(u.maxTranslate()-u.minTranslate())/(e.maxTranslate()-e.minTranslate()),!Number.isNaN(l)&&Number.isFinite(l)||(l=1),m=(c-e.minTranslate())*l+u.minTranslate()),e.params.controller.inverse&&(m=u.maxTranslate()-m),u.updateProgress(m),u.setTranslate(m,e),u.updateActiveIndex(),u.updateSlidesClasses()}if(Array.isArray(y))for(let u=0;u<y.length;u+=1)y[u]!==w&&y[u]instanceof T&&x(y[u]);else y instanceof T&&w!==y&&x(y)},setTransition:function(i,w){const y=e.constructor,l=e.controller.control;let m;function T(x){x.destroyed||(x.setTransition(i,e),i!==0&&(x.transitionStart(),x.params.autoHeight&&O(()=>{x.updateAutoHeight()}),Se(x.wrapperEl,()=>{l&&x.transitionEnd()})))}if(Array.isArray(l))for(m=0;m<l.length;m+=1)l[m]!==w&&l[m]instanceof y&&T(l[m]);else l instanceof y&&w!==l&&T(l)}})},function({swiper:e,extendParams:s,on:t}){s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,
57scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let r,n,i=null,w=new Date().getTime();function y(ie){const G=i;G.length!==0&&be(G,ie)}function l(ie){(ie=C(ie)).forEach(G=>{G.setAttribute("tabIndex","0")})}function m(ie){(ie=C(ie)).forEach(G=>{G.setAttribute("tabIndex","-1")})}function T(ie,G){(ie=C(ie)).forEach(ce=>{ce.setAttribute("role",G)})}function x(ie,G){(ie=C(ie)).forEach(ce=>{ce.setAttribute("aria-roledescription",G)})}function u(ie,G){(ie=C(ie)).forEach(ce=>{ce.setAttribute("aria-label",G)})}function c(ie){(ie=C(ie)).forEach(G=>{G.setAttribute("aria-disabled",!0)})}function F(ie){(ie=C(ie)).forEach(G=>{G.setAttribute("aria-disabled",!1)})}function P(ie){if(ie.keyCode!==13&&ie.keyCode!==32)return;const G=e.params.a11y,ce=ie.target;if(!e.pagination||!e.pagination.el||ce!==e.pagination.el&&!e.pagination.el.contains(ie.target)||ie.target.matches(Je(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const ge=C(e.navigation.prevEl);C(e.navigation.nextEl).includes(ce)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?y(G.lastSlideMessage):y(G.nextSlideMessage)),ge.includes(ce)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?y(G.firstSlideMessage):y(G.prevSlideMessage))}e.pagination&&ce.matches(Je(e.params.pagination.bulletClass))&&ce.click()}}function W(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function ae(){return W()&&e.params.pagination.clickable}const I=(ie,G,ce)=>{l(ie),ie.tagName!=="BUTTON"&&(T(ie,"button"),ie.addEventListener("keydown",P)),u(ie,ce),(function(ge,Ce){(ge=C(ge)).forEach(_e=>{_e.setAttribute("aria-controls",Ce)})})(ie,G)}
57,a=ie=>{n&&n!==ie.target&&!n.contains(ie.target)&&(r=!0),e.a11y.clicked=!0},o=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},_=ie=>{w=new Date().getTime()},Z=ie=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-w<100)return;const G=ie.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!G||!e.slides.includes(G))return;n=G;const ce=e.virtual&&e.params.virtual.enabled,ge=(ce?parseInt(G.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(G))===e.activeIndex,Ce=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(G);ge||Ce||ie.sourceCapabilities&&ie.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{r||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(G.getAttribute("data-swiper-slide-index"))),0):ce?e.slideTo(e.getSlideIndexWhenGrid(parseInt(G.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(G)),0),r=!1)}))},re=()=>{const ie=e.params.a11y;ie.itemRoleDescriptionMessage&&x(e.slides,ie.itemRoleDescriptionMessage),ie.slideRole&&T(e.slides,ie.slideRole);const G=e.slides.length;ie.slideLabelMessage&&e.slides.forEach((ce,ge)=>{const Ce=e.params.loop?parseInt(ce.getAttribute("data-swiper-slide-index"),10):ge;u(ce,ie.slideLabelMessage.replace(/\{\{index\}\}/,Ce+1).replace(/\{\{slidesLength\}\}/,G))})},de=()=>{const ie=e.params.a11y;e.el.append(i);const G=e.el;ie.containerRoleDescriptionMessage&&x(G,ie.containerRoleDescriptionMessage),ie.containerMessage&&u(G,ie.containerMessage),ie.containerRole&&T(G,ie.containerRole);const ce=e.wrapperEl,ge=ie.id||ce.getAttribute("id")||`swiper-wrapper-${(function(Ye=16){return"x".repeat(Ye).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))})(16)}`;var Ce;Ce=ge,C(ce).forEach(Ye=>{Ye.setAttribute("id",Ce)}),ie.wrapperLiveRegion&&(function(Ye,oe){(Ye=C(Ye)).forEach(g=>{g.setAttribute("aria-live",oe)})})(ce,e.params.autoplay&&e.params.autoplay.enabled?"off":"polite"),re();let{nextEl:_e,prevEl:Ge}=e.navigation?e.navigation:{};_e=C(_e),Ge=C(Ge),_e&&_e.forEach(Ye=>I(Ye,ge,ie.nextSlideMessage)),Ge&&Ge.forEach(Ye=>I(Ye,ge,ie.prevSlideMessage)),ae()&&C(e.pagination.el).forEach(Ye=>{Ye.addEventListener("keydown",P)}),ft().addEventListener("visibilitychange",_),e.el.addEventListener("focus",Z,!0),e.el.addEventListener("pointerdown",a,!0),e.el.addEventListener("pointerup",o,!0)};t("beforeInit",()=>{i=A("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),t("afterInit",()=>{e.params.a11y.enabled&&de()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&re()}),t("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&(function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:ie,prevEl:G}=e.navigation;G&&(e.isBeginning?(c(G),m(G)):(F(G),l(G))),ie&&(e.isEnd?(c(ie),m(ie)):(F(ie),l(ie)))})()}),t("paginationUpdate",()=>{e.params.a11y.enabled&&(function(){const ie=e.params.a11y;W()&&e.pagination.bullets.forEach(G=>{e.params.pagination.clickable&&(l(G),e.params.pagination.renderBullet||(T(G,"button"),u(G,ie.paginationBulletMessage.replace(/\{\{index\}\}/,he(G)+1)))),G.matches(Je(e.params.pagination.bulletActiveClass))?G.setAttribute("aria-current","true"):G.removeAttribute("aria-current")})})()}),t("destroy",()=>{e.params.a11y.enabled&&(function(){i&&i.remove();let{nextEl:ie,prevEl:G}=e.navigation?e.navigation:{};ie=C(ie),G=C(G),ie&&ie.forEach(ce=>ce.removeEventListener("keydown",P)),G&&G.forEach(ce=>ce.removeEventListener("keydown",P)),ae()&&C(e.pagination.el).forEach(ce=>{ce.removeEventListener("keydown",P)}),ft().removeEventListener("visibilitychange",_),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",Z,!0),e.el.removeEventListener("pointerdown",a,!0),e.el.removeEventListener("pointerup",o,!0))})()})},function({swiper:e,extendParams:s,on:t}){s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,n={};const i=T=>T.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),w=T=>{const x=Y();let u;u=T?new URL(T):x.location;const c=u.pathname.slice(1).split("/").filter(P=>P!==""),F=c.length;return{key:c[F-2],value:c[F-1]}},y=(T,x)=>{const u=Y();if(!r||!e.params.history.enabled)return;let c;c=e.params.url?new URL(e.params.url):u.location;const F=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${x}"]`):e.slides[x];let P=i(F.getAttribute("data-history"));if(e.params.history.root.length>0){let ae=e.params.history.root;
57ae[ae.length-1]==="/"&&(ae=ae.slice(0,ae.length-1)),P=`${ae}/${T?`${T}/`:""}${P}`}else c.pathname.includes(T)||(P=`${T?`${T}/`:""}${P}`);e.params.history.keepQuery&&(P+=c.search);const W=u.history.state;W&&W.value===P||(e.params.history.replaceState?u.history.replaceState({value:P},null,P):u.history.pushState({value:P},null,P))},l=(T,x,u)=>{if(x)for(let c=0,F=e.slides.length;c<F;c+=1){const P=e.slides[c];if(i(P.getAttribute("data-history"))===x){const W=e.getSlideIndex(P);e.slideTo(W,T,u)}}else e.slideTo(0,T,u)},m=()=>{n=w(e.params.url),l(e.params.speed,n.value,!1)};t("init",()=>{e.params.history.enabled&&(()=>{const T=Y();if(e.params.history){if(!T.history||!T.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);r=!0,n=w(e.params.url),(n.key||n.value)&&l(0,n.value,e.params.runCallbacksOnInit),e.params.history.replaceState||T.addEventListener("popstate",m)}})()}),t("destroy",()=>{e.params.history.enabled&&(()=>{const T=Y();e.params.history.replaceState||T.removeEventListener("popstate",m)})()}),t("transitionEnd _freeModeNoMomentumRelease",()=>{r&&y(e.params.history.key,e.activeIndex)}),t("slideChange",()=>{r&&e.params.cssMode&&y(e.params.history.key,e.activeIndex)})},function({swiper:e,extendParams:s,emit:t,on:r}){let n=!1;const i=ft(),w=Y();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(m,T){if(e.virtual&&e.params.virtual.enabled){const x=e.slides.find(u=>u.getAttribute("data-hash")===T);return x?parseInt(x.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(S(e.slidesEl,`.${e.params.slideClass}[data-hash="${T}"], swiper-slide[data-hash="${T}"]`)[0])}}});const y=()=>{t("hashChange");const m=i.location.hash.replace("#",""),T=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex];if(m!==(T?T.getAttribute("data-hash"):"")){const x=e.params.hashNavigation.getSlideIndex(e,m);if(x===void 0||Number.isNaN(x))return;e.slideTo(x)}},l=()=>{if(!n||!e.params.hashNavigation.enabled)return;const m=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],T=m?m.getAttribute("data-hash")||m.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&w.history&&w.history.replaceState?(w.history.replaceState(null,null,`#${T}`||""),t("hashSet")):(i.location.hash=T||"",t("hashSet"))};r("init",()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const m=i.location.hash.replace("#","");if(m){const x=e.params.hashNavigation.getSlideIndex(e,m);e.slideTo(x||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&w.addEventListener("hashchange",y)})()}),r("destroy",()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&w.removeEventListener("hashchange",y)}),r("transitionEnd _freeModeNoMomentumRelease",()=>{n&&l()}),r("slideChange",()=>{n&&e.params.cssMode&&l()})},function({swiper:e,extendParams:s,on:t,emit:r,params:n}){let i,w;e.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let y,l,m,T,x,u,c,F=n&&n.autoplay?n.autoplay.delay:3e3,P=n&&n.autoplay?n.autoplay.delay:3e3,W=new Date().getTime();function ae(ge){e&&!e.destroyed&&e.wrapperEl&&ge.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",ae),c||ge.detail&&ge.detail.bySwiperTouchMove||de())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?l=!0:l&&(P=y,l=!1);const ge=e.autoplay.paused?y:W+P-new Date().getTime();e.autoplay.timeLeft=ge,r("autoplayTimeLeft",ge,ge/F),w=requestAnimationFrame(()=>{I()})},a=()=>{let ge=e.params.autoplay.delay;const Ce=(()=>{let _e;if(_e=e.virtual&&e.params.virtual.enabled?e.slides.find(Ge=>Ge.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],!!_e)return parseInt(_e.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(Ce)&&Ce>0&&(ge=Ce),ge},o=ge=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(w),I();let Ce=ge;Ce===void 0&&(Ce=a(),F=Ce,P=Ce),y=Ce;const _e=e.params.speed,Ge=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(_e,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,_e,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(_e,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,_e,!0,!0),r("autoplay")),e.params.cssMode&&(W=new Date().getTime(),requestAnimationFrame(()=>{o()})))};return Ce>0?(clearTimeout(i),i=setTimeout(()=>{Ge()},Ce)):requestAnimationFrame(()=>{Ge()}),Ce},_=()=>{W=new Date().getTime(),e.autoplay.running=!0,o(),r("autoplayStart")},Z=()=>
57{e.autoplay.running=!1,clearTimeout(i),cancelAnimationFrame(w),r("autoplayStop")},re=(ge,Ce)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(i),ge||(u=!0);const _e=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",ae):de()};if(e.autoplay.paused=!0,Ce)return void _e();y=(y||e.params.autoplay.delay)-(new Date().getTime()-W),e.isEnd&&y<0&&!e.params.loop||(y<0&&(y=0),_e())},de=()=>{e.isEnd&&y<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(W=new Date().getTime(),u?(u=!1,o(y)):o(),e.autoplay.paused=!1,r("autoplayResume"))},ie=()=>{if(e.destroyed||!e.autoplay.running)return;const ge=ft();ge.visibilityState==="hidden"&&(u=!0,re(!0)),ge.visibilityState==="visible"&&de()},G=ge=>{ge.pointerType==="mouse"&&(u=!0,c=!0,e.animating||e.autoplay.paused||re(!0))},ce=ge=>{ge.pointerType==="mouse"&&(c=!1,e.autoplay.paused&&de())};t("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",G),e.el.addEventListener("pointerleave",ce)),ft().addEventListener("visibilitychange",ie),_())}),t("destroy",()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",G),e.el.removeEventListener("pointerleave",ce)),ft().removeEventListener("visibilitychange",ie),e.autoplay.running&&Z()}),t("_freeModeStaticRelease",()=>{(T||u)&&de()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?Z():re(!0,!0)}),t("beforeTransitionStart",(ge,Ce,_e)=>{!e.destroyed&&e.autoplay.running&&(_e||!e.params.autoplay.disableOnInteraction?re(!0,!0):Z())}),t("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?Z():(m=!0,T=!1,u=!1,x=setTimeout(()=>{u=!0,T=!0,re(!0)},200)))}),t("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&m){if(clearTimeout(x),clearTimeout(i),e.params.autoplay.disableOnInteraction)return T=!1,void(m=!1);T&&e.params.cssMode&&de(),T=!1,m=!1}}),t("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(y=a(),F=a())}),Object.assign(e.autoplay,{start:_,stop:Z,pause:re,resume:de})},function({swiper:e,extendParams:s,on:t}){s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function i(){const m=e.thumbs.swiper;return!(!m||m.destroyed)&&m.params.virtual&&m.params.virtual.enabled}function w(){const m=e.thumbs.swiper;if(!m||m.destroyed)return;const T=m.clickedIndex,x=m.clickedSlide;if(x&&x.classList.contains(e.params.thumbs.slideThumbActiveClass)||T==null)return;let u;u=m.params.loop?parseInt(m.clickedSlide.getAttribute("data-swiper-slide-index"),10):T,e.params.loop?e.slideToLoop(u):e.slideTo(u)}function y(){const{thumbs:m}=e.params;if(r)return!1;r=!0;const T=e.constructor;if(m.swiper instanceof T){if(m.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=m.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(U(m.swiper)){const x=Object.assign({},m.swiper);Object.assign(x,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new T(x),n=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",w),i()&&e.thumbs.swiper.on("virtualUpdate",()=>{l(!1,{autoScroll:!1})}),!0}function l(m,T){const x=e.thumbs.swiper;if(!x||x.destroyed)return;let u=1;const c=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(u=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),x.slides.forEach(F=>F.classList.remove(c)),x.params.loop||i())for(let F=0;F<u;F+=1)S(x.slidesEl,`[data-swiper-slide-index="${e.realIndex+F}"]`).forEach(P=>{P.classList.add(c)});else for(let F=0;F<u;F+=1)x.slides[e.realIndex+F]&&x.slides[e.realIndex+F].classList.add(c);(T?.autoScroll??1)&&(function(F){const P=e.thumbs.swiper;if(!P||P.destroyed)return;const W=P.params.slidesPerView==="auto"?P.slidesPerViewDynamic():P.params.slidesPerView,ae=e.params.thumbs.autoScrollOffset,I=ae&&!P.params.loop;if(e.realIndex!==P.realIndex||I){const a=P.activeIndex;let o,_;if(P.params.loop){const Z=P.slides.find(re=>re.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);o=P.slides.indexOf(Z),_=e.activeIndex>e.previousIndex?"next":"prev"}else o=e.realIndex,_=o>e.previousIndex?"next":"prev";I&&(o+=_==="next"?ae:-1*ae),P.visibleSlidesIndexes&&P.visibleSlidesIndexes.indexOf(o)<0&&(P.params.centeredSlides?o=o>a?o-Math.floor(W/2)+1:o+Math.floor(W/2)-1:o>a&&P.params.slidesPerGroup,P.slideTo(o,F))}})(m?0:void 0)}e.thumbs={swiper:null},t("beforeInit",()=>{const{thumbs:m}=e.params;if(m&&m.swiper)if(typeof m.swiper=="string"||m.swiper instanceof HTMLElement){const T=ft(),x=()=>{const c=typeof m.swiper=="string"?T.querySelector(m.swiper):m.swiper;if(c&&c.swiper)m.swiper=c.swiper,y(),l(!0);else if(c){const F=`${e.params.eventsPrefix}init`,P=W=>{m.swiper=W.detail[0],c.removeEventListener(F,P),y(),l(!0),m.swiper.update(
57),e.update()};c.addEventListener(F,P)}return c},u=()=>{e.destroyed||x()||requestAnimationFrame(u)};requestAnimationFrame(u)}else y(),l(!0)}),t("slideChange update resize observerUpdate",()=>{l()}),t("setTransition",(m,T)=>{const x=e.thumbs.swiper;x&&!x.destroyed&&x.setTransition(T)}),t("beforeDestroy",()=>{const m=e.thumbs.swiper;m&&!m.destroyed&&n&&m.destroy()}),Object.assign(e.thumbs,{init:y,update:l})},function({swiper:e,extendParams:s,emit:t,once:r}){s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;const n=e.getTranslate();e.setTranslate(n),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;const{touchEventsData:n,touches:i}=e;n.velocities.length===0&&n.velocities.push({position:i[e.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:i[e.isHorizontal()?"currentX":"currentY"],time:B()})},onTouchEnd:function({currentPos:n}){if(e.params.cssMode)return;const{params:i,wrapperEl:w,rtlTranslate:y,snapGrid:l,touchEventsData:m}=e,T=B()-m.touchStartTime;if(n<-e.minTranslate())e.slideTo(e.activeIndex);else if(n>-e.maxTranslate())e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1);else{if(i.freeMode.momentum){if(m.velocities.length>1){const I=m.velocities.pop(),a=m.velocities.pop(),o=I.position-a.position,_=I.time-a.time;e.velocity=o/_,e.velocity/=2,Math.abs(e.velocity)<i.freeMode.minimumVelocity&&(e.velocity=0),(_>150||B()-I.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeMode.momentumVelocityRatio,m.velocities.length=0;let x=1e3*i.freeMode.momentumRatio;const u=e.velocity*x;let c=e.translate+u;y&&(c=-c);let F,P=!1;const W=20*Math.abs(e.velocity)*i.freeMode.momentumBounceRatio;let ae;if(c<e.maxTranslate())i.freeMode.momentumBounce?(c+e.maxTranslate()<-W&&(c=e.maxTranslate()-W),F=e.maxTranslate(),P=!0,m.allowMomentumBounce=!0):c=e.maxTranslate(),i.loop&&i.centeredSlides&&(ae=!0);else if(c>e.minTranslate())i.freeMode.momentumBounce?(c-e.minTranslate()>W&&(c=e.minTranslate()+W),F=e.minTranslate(),P=!0,m.allowMomentumBounce=!0):c=e.minTranslate(),i.loop&&i.centeredSlides&&(ae=!0);else if(i.freeMode.sticky){let I;for(let a=0;a<l.length;a+=1)if(l[a]>-c){I=a;break}c=Math.abs(l[I]-c)<Math.abs(l[I-1]-c)||e.swipeDirection==="next"?l[I]:l[I-1],c=-c}if(ae&&r("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(x=Math.abs(y?(-c-e.translate)/e.velocity:(c-e.translate)/e.velocity),i.freeMode.sticky){const I=Math.abs((y?-c:c)-e.translate),a=e.slidesSizesGrid[e.activeIndex];x=I<a?i.speed:I<2*a?1.5*i.speed:2.5*i.speed}}else if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode.momentumBounce&&P?(e.updateProgress(F),e.setTransition(x),e.setTranslate(c),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Se(w,()=>{e&&!e.destroyed&&m.allowMomentumBounce&&(t("momentumBounce"),e.setTransition(i.speed),setTimeout(()=>{e.setTranslate(F),Se(w,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(t("_freeModeNoMomentumRelease"),e.updateProgress(c),e.setTransition(x),e.setTranslate(c),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Se(w,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(c),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode&&t("_freeModeNoMomentumRelease")}(!i.freeMode.momentum||T>=i.longSwipesMs)&&(t("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function({swiper:e,extendParams:s,on:t}){let r,n,i,w;s({grid:{rows:1,fill:"column"}});const y=()=>{let l=e.params.spaceBetween;return typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l)),l};t("init",()=>{w=e.params.grid&&e.params.grid.rows>1}),t("update",()=>{const{params:l,el:m}=e,T=l.grid&&l.grid.rows>1;w&&!T?(m.classList.remove(`${l.containerModifierClass}grid`,`${l.containerModifierClass}grid-column`),i=1,e.emitContainerClasses()):!w&&T&&(m.classList.add(`${l.containerModifierClass}grid`),l.grid.fill==="column"&&m.classList.add(`${l.containerModifierClass}grid-column`),e.emitContainerClasses()),w=T}),e.grid={initSlides:l=>{const{slidesPerView:m}=e.params,{rows:T,fill:x}=e.params.grid,u=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:l.length;i=Math.floor(u/T),r=Math.floor(u/T)===u/T?u:Math.ceil(u/T)*T,m!=="auto"&&x==="row"&&(r=Math.max(r,m*T)),n=r/T},unsetSlides:()=>
57{e.slides&&e.slides.forEach(l=>{l.swiperSlideGridSet&&(l.style.height="",l.style[e.getDirectionLabel("margin-top")]="")})},updateSlide:(l,m,T)=>{const{slidesPerGroup:x}=e.params,u=y(),{rows:c,fill:F}=e.params.grid,P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:T.length;let W,ae,I;if(F==="row"&&x>1){const a=Math.floor(l/(x*c)),o=l-c*x*a,_=a===0?x:Math.min(Math.ceil((P-a*c*x)/c),x);I=Math.floor(o/_),ae=o-I*_+a*x,W=ae+I*r/c,m.style.order=W}else F==="column"?(ae=Math.floor(l/c),I=l-ae*c,(ae>i||ae===i&&I===c-1)&&(I+=1,I>=c&&(I=0,ae+=1))):(I=Math.floor(l/n),ae=l-I*n);m.row=I,m.column=ae,m.style.height=`calc((100% - ${(c-1)*u}px) / ${c})`,m.style[e.getDirectionLabel("margin-top")]=I!==0?u&&`${u}px`:"",m.swiperSlideGridSet=!0},updateWrapperSize:(l,m)=>{const{centeredSlides:T,roundLengths:x}=e.params,u=y(),{rows:c}=e.params.grid;if(e.virtualSize=(l+u)*r,e.virtualSize=Math.ceil(e.virtualSize/c)-u,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+u}px`),T){const F=[];for(let P=0;P<m.length;P+=1){let W=m[P];x&&(W=Math.floor(W)),m[P]<e.virtualSize+m[0]&&F.push(W)}m.splice(0,m.length),m.push(...F)}}}},function({swiper:e}){Object.assign(e,{appendSlide:tt.bind(e),prependSlide:$e.bind(e),addSlide:Ue.bind(e),removeSlide:Ze.bind(e),removeAllSlides:st.bind(e)})},function({swiper:e,extendParams:s,on:t}){s({fadeEffect:{crossFade:!1}}
57),Xe({effect:"fade",swiper:e,on:t,setTranslate:()=>{const{slides:r}=e;e.params.fadeEffect;for(let n=0;n<r.length;n+=1){const i=e.slides[n];let w=-i.swiperSlideOffset;e.params.virtualTranslate||(w-=e.translate);let y=0;e.isHorizontal()||(y=w,w=0);const l=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i.progress),0):1+Math.min(Math.max(i.progress,-1),0),m=rt(0,i);m.style.opacity=l,m.style.transform=`translate3d(${w}px, ${y}px, 0px)`}},setTransition:r=>{const n=e.slides.map(i=>E(i));n.forEach(i=>{i.style.transitionDuration=`${r}ms`}),pt({swiper:e,duration:r,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:s,on:t}){s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(n,i,w)=>{let y=w?n.querySelector(".swiper-slide-shadow-left"):n.querySelector(".swiper-slide-shadow-top"),l=w?n.querySelector(".swiper-slide-shadow-right"):n.querySelector(".swiper-slide-shadow-bottom");y||(y=A("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(w?"left":"top")).split(" ")),n.append(y)),l||(l=A("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(w?"right":"bottom")).split(" ")),n.append(l)),y&&(y.style.opacity=Math.max(-i,0)),l&&(l.style.opacity=Math.max(i,0))};
vendor: 3,084 bytes, line 57
57Xe({effect:"cube",swiper:e,on:t,setTranslate:()=>{const{el:n,wrapperEl:i,slides:w,width:y,height:l,rtlTranslate:m,size:T,browser:x}=e,u=le(e),c=e.params.cubeEffect,F=e.isHorizontal(),P=e.virtual&&e.params.virtual.enabled;let W,ae=0;c.shadow&&(F?(W=e.wrapperEl.querySelector(".swiper-cube-shadow"),W||(W=A("div","swiper-cube-shadow"),e.wrapperEl.append(W)),W.style.height=`${y}px`):(W=n.querySelector(".swiper-cube-shadow"),W||(W=A("div","swiper-cube-shadow"),n.append(W))));for(let a=0;a<w.length;a+=1){const o=w[a];let _=a;P&&(_=parseInt(o.getAttribute("data-swiper-slide-index"),10));let Z=90*_,re=Math.floor(Z/360);m&&(Z=-Z,re=Math.floor(-Z/360));const de=Math.max(Math.min(o.progress,1),-1);let ie=0,G=0,ce=0;_%4==0?(ie=4*-re*T,ce=0):(_-1)%4==0?(ie=0,ce=4*-re*T):(_-2)%4==0?(ie=T+4*re*T,ce=T):(_-3)%4==0&&(ie=-T,ce=3*T+4*T*re),m&&(ie=-ie),F||(G=ie,ie=0);const ge=`rotateX(${u(F?0:-Z)}deg) rotateY(${u(F?Z:0)}deg) translate3d(${ie}px, ${G}px, ${ce}px)`;de<=1&&de>-1&&(ae=90*_+90*de,m&&(ae=90*-_-90*de)),o.style.transform=ge,c.slideShadows&&r(o,de,F)}if(i.style.transformOrigin=`50% 50% -${T/2}px`,i.style["-webkit-transform-origin"]=`50% 50% -${T/2}px`,c.shadow)if(F)W.style.transform=`translate3d(0px, ${y/2+c.shadowOffset}px, ${-y/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const a=Math.abs(ae)-90*Math.floor(Math.abs(ae)/90),o=1.5-(Math.sin(2*a*Math.PI/360)/2+Math.cos(2*a*Math.PI/360)/2),_=c.shadowScale,Z=c.shadowScale/o,re=c.shadowOffset;W.style.transform=`scale3d(${_}, 1, ${Z}) translate3d(0px, ${l/2+re}px, ${-l/2/Z}px) rotateX(-89.99deg)`}const I=(x.isSafari||x.isWebView)&&x.needPerspectiveFix?-T/2:0;i.style.transform=`translate3d(0px,0,${I}px) rotateX(${u(e.isHorizontal()?0:ae)}deg) rotateY(${u(e.isHorizontal()?-ae:0)}deg)`,i.style.setProperty("--swiper-cube-translate-z",`${I}px`)},setTransition:n=>{const{el:i,slides:w}=e;if(w.forEach(y=>{y.style.transitionDuration=`${n}ms`,y.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(l=>{l.style.transitionDuration=`${n}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const y=i.querySelector(".swiper-cube-shadow");y&&(y.style.transitionDuration=`${n}ms`)}},recreateShadows:()=>{const n=e.isHorizontal();e.slides.forEach(i=>{const w=Math.max(Math.min(i.progress,1),-1);r(i,w,n)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function({swiper:e,extendParams:s,on:t}){s({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(n,i)=>{let w=e.isHorizontal()?n.querySelector(".swiper-slide-shadow-left"):n.querySelector(".swiper-slide-shadow-top"),y=e.isHorizontal()?n.querySelector(".swiper-slide-shadow-right"):n.querySelector(".swiper-slide-shadow-bottom");w||(w=mt("flip",n,e.isHorizontal()?"left":"top")),y||(y=mt("flip",n,e.isHorizontal()?"right":"bottom")),w&&(w.style.opacity=Math.max(-i,0)),y&&(y.style.opacity=Math.max(i,0))};
57Xe({effect:"flip",swiper:e,on:t,setTranslate:()=>{const{slides:n,rtlTranslate:i}=e,w=e.params.flipEffect,y=le(e);for(let l=0;l<n.length;l+=1){const m=n[l];let T=m.progress;e.params.flipEffect.limitRotation&&(T=Math.max(Math.min(m.progress,1),-1));const x=m.swiperSlideOffset;let u=-180*T,c=0,F=e.params.cssMode?-x-e.translate:-x,P=0;e.isHorizontal()?i&&(u=-u):(P=F,F=0,c=-u,u=0),m.style.zIndex=-Math.abs(Math.round(T))+n.length,w.slideShadows&&r(m,T);const W=`translate3d(${F}px, ${P}px, 0px) rotateX(${y(c)}deg) rotateY(${y(u)}deg)`;rt(0,m).style.transform=W}},setTransition:n=>{const i=e.slides.map(w=>E(w));i.forEach(w=>{w.style.transitionDuration=`${n}ms`,w.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(y=>{y.style.transitionDuration=`${n}ms`})}),pt({swiper:e,duration:n,transformElements:i})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(n=>{let i=n.progress;e.params.flipEffect.limitRotation&&(i=Math.max(Math.min(n.progress,1),-1)),r(n,i)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:s,on:t}){s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}
57),Xe({effect:"coverflow",swiper:e,on:t,setTranslate:()=>{const{width:r,height:n,slides:i,slidesSizesGrid:w}=e,y=e.params.coverflowEffect,l=e.isHorizontal(),m=e.translate,T=l?r/2-m:n/2-m,x=l?y.rotate:-y.rotate,u=y.depth,c=le(e);for(let F=0,P=i.length;F<P;F+=1){const W=i[F],ae=w[F],I=(T-W.swiperSlideOffset-ae/2)/ae,a=typeof y.modifier=="function"?y.modifier(I):I*y.modifier;let o=l?x*a:0,_=l?0:x*a,Z=-u*Math.abs(a),re=y.stretch;typeof re=="string"&&re.indexOf("%")!==-1&&(re=parseFloat(y.stretch)/100*ae);let de=l?0:re*a,ie=l?re*a:0,G=1-(1-y.scale)*Math.abs(a);Math.abs(ie)<.001&&(ie=0),Math.abs(de)<.001&&(de=0),Math.abs(Z)<.001&&(Z=0),Math.abs(o)<.001&&(o=0),Math.abs(_)<.001&&(_=0),Math.abs(G)<.001&&(G=0);const ce=`translate3d(${ie}px,${de}px,${Z}px) rotateX(${c(_)}deg) rotateY(${c(o)}deg) scale(${G})`;if(rt(0,W).style.transform=ce,W.style.zIndex=1-Math.abs(Math.round(a)),y.slideShadows){let ge=l?W.querySelector(".swiper-slide-shadow-left"):W.querySelector(".swiper-slide-shadow-top"),Ce=l?W.querySelector(".swiper-slide-shadow-right"):W.querySelector(".swiper-slide-shadow-bottom");ge||(ge=mt("coverflow",W,l?"left":"top")),Ce||(Ce=mt("coverflow",W,l?"right":"bottom")),ge&&(ge.style.opacity=a>0?a:0),Ce&&(Ce.style.opacity=-a>0?-a:0)}}},setTransition:r=>{e.slides.map(n=>E(n)).forEach(n=>{n.style.transitionDuration=`${r}ms`,n.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(i=>{i.style.transitionDuration=`${r}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function({swiper:e,extendParams:s,on:t}){s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=n=>typeof n=="string"?n:`${n}px`;
57Xe({effect:"creative",swiper:e,on:t,setTranslate:()=>{const{slides:n,wrapperEl:i,slidesSizesGrid:w}=e,y=e.params.creativeEffect,{progressMultiplier:l}=y,m=e.params.centeredSlides,T=le(e);if(m){const x=w[0]/2-e.params.slidesOffsetBefore||0;i.style.transform=`translateX(calc(50% - ${x}px))`}for(let x=0;x<n.length;x+=1){const u=n[x],c=u.progress,F=Math.min(Math.max(u.progress,-y.limitProgress),y.limitProgress);let P=F;m||(P=Math.min(Math.max(u.originalProgress,-y.limitProgress),y.limitProgress));const W=u.swiperSlideOffset,ae=[e.params.cssMode?-W-e.translate:-W,0,0],I=[0,0,0];let a=!1;e.isHorizontal()||(ae[1]=ae[0],ae[0]=0);let o={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};F<0?(o=y.next,a=!0):F>0&&(o=y.prev,a=!0),ae.forEach((ce,ge)=>{ae[ge]=`calc(${ce}px + (${r(o.translate[ge])} * ${Math.abs(F*l)}))`}),I.forEach((ce,ge)=>{let Ce=o.rotate[ge]*Math.abs(F*l);I[ge]=Ce}),u.style.zIndex=-Math.abs(Math.round(c))+n.length;const _=ae.join(", "),Z=`rotateX(${T(I[0])}deg) rotateY(${T(I[1])}deg) rotateZ(${T(I[2])}deg)`,re=P<0?`scale(${1+(1-o.scale)*P*l})`:`scale(${1-(1-o.scale)*P*l})`,de=P<0?1+(1-o.opacity)*P*l:1-(1-o.opacity)*P*l,ie=`translate3d(${_}) ${Z} ${re}`;if(a&&o.shadow||!a){let ce=u.querySelector(".swiper-slide-shadow");if(!ce&&o.shadow&&(ce=mt("creative",u)),ce){const ge=y.shadowPerProgress?F*(1/y.limitProgress):F;ce.style.opacity=Math.min(Math.max(Math.abs(ge),0),1)}}const G=rt(0,u);G.style.transform=ie,G.style.opacity=de,o.origin&&(G.style.transformOrigin=o.origin)}},setTransition:n=>{const i=e.slides.map(w=>E(w));i.forEach(w=>{w.style.transitionDuration=`${n}ms`,w.querySelectorAll(".swiper-slide-shadow").forEach(y=>{y.style.transitionDuration=`${n}ms`})}),pt({swiper:e,duration:n,transformElements:i,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:s,on:t}){s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}
57),Xe({effect:"cards",swiper:e,on:t,setTranslate:()=>{const{slides:r,activeIndex:n,rtlTranslate:i}=e,w=e.params.cardsEffect,{startTranslate:y,isTouched:l}=e.touchEventsData,m=i?-e.translate:e.translate;for(let T=0;T<r.length;T+=1){const x=r[T],u=x.progress,c=Math.min(Math.max(u,-4),4);let F=x.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(F-=r[0].swiperSlideOffset);let P=e.params.cssMode?-F-e.translate:-F,W=0;const ae=-100*Math.abs(c);let I=1,a=-w.perSlideRotate*c,o=w.perSlideOffset-.75*Math.abs(c);const _=e.virtual&&e.params.virtual.enabled?e.virtual.from+T:T,Z=(_===n||_===n-1)&&c>0&&c<1&&(l||e.params.cssMode)&&m<y,re=(_===n||_===n+1)&&c<0&&c>-1&&(l||e.params.cssMode)&&m>y;if(Z||re){const G=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;a+=-28*c*G,I+=-.5*G,o+=96*G,W=(w.rotate||e.isHorizontal()?-25:0)*G*Math.abs(c)+"%"}if(P=c<0?`calc(${P}px ${i?"-":"+"} (${o*Math.abs(c)}%))`:c>0?`calc(${P}px ${i?"-":"+"} (-${o*Math.abs(c)}%))`:`${P}px`,!e.isHorizontal()){const G=W;W=P,P=G}const de=c<0?""+(1+(1-I)*c):""+(1-(1-I)*c),ie=` 58 translate3d(${P}, ${W}, ${ae}px) 59 rotateZ(${w.rotate?i?-a:a:0}deg) 60 scale(${de}) 61 `;if(w.slideShadows){let G=x.querySelector(".swiper-slide-shadow");G||(G=mt("cards",x)),G&&(G.style.opacity=Math.min(Math.max((Math.abs(c)-.5)/.5,0),1))}x.style.zIndex=-Math.abs(Math.round(u))+r.length,rt(0,x).style.transform=ie}},setTransition:r=>{const n=e.slides.map(i=>E(i));n.forEach(i=>{i.style.transitionDuration=`${r}ms`,i.querySelectorAll(".swiper-slide-shadow").forEach(w=>{w.style.transitionDuration=`${r}ms`})}),pt({swiper:e,duration:r,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}];return Re.use(at),Re})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.